Fixed C++ compiler detection in the 'configure' script.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user