Fixed C++ compiler detection in the 'configure' script.

This commit is contained in:
stainless
2001-09-04 00:48:14 +00:00
parent 09bf8429df
commit 4830aa3afc
3 changed files with 5 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ dnl See also: remarks supplied in the debug checking area below
AC_INIT(init.asm)
echo -- Where is our compiler, and who are we compiling for?
CFLAGS="-pipe -I. -Wall"
CXXFLAGS=$CFLAGS
AC_PROG_CC
AC_PROG_CXX
AC_PATH_PROG(NASMPATH,nasm,[AC_MSG_ERROR(nasm 0.98 is required)])
@@ -179,6 +180,7 @@ dnl Checks for library functions.
AC_SUBST(ZSNESEXE)
AC_SUBST(GL_DRAW)
AC_SUBST(NFLAGS)
CXXFLAGS=$CFLAGS
AC_OUTPUT(Makefile)
echo
echo You may now run make to compile $ZSNESEXE