Applied Dominique's patch to check for a C++ compiler.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
cosmosninja 2008-01-14 21:00:15 +00:00
parent 4d38013a5a
commit a71229dd18

View File

@ -28,6 +28,7 @@ dnl ===================
AC_PROG_CC AC_PROG_CC
AC_PROG_CPP AC_PROG_CPP
AC_PROG_CXX AC_PROG_CXX
AC_LANG(C++)
# Do a quick check to ensure the c++ compiler works # Do a quick check to ensure the c++ compiler works
AC_RUN_IFELSE([ AC_RUN_IFELSE([
@ -37,7 +38,7 @@ int main() { return 0; }
echo echo
echo "Compiling a simple program failed, so something is broken with" echo "Compiling a simple program failed, so something is broken with"
echo "the building process. Please check that your system is setup" echo "the building process. Please check that your system is setup"
echo "so it can compile C code." echo "so it can compile C++ code."
echo echo
echo "Configure aborted." echo "Configure aborted."
exit exit