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:
parent
4d38013a5a
commit
a71229dd18
@ -28,6 +28,7 @@ dnl ===================
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
AC_LANG(C++)
|
||||
|
||||
# Do a quick check to ensure the c++ compiler works
|
||||
AC_RUN_IFELSE([
|
||||
@ -37,7 +38,7 @@ int main() { return 0; }
|
||||
echo
|
||||
echo "Compiling a simple program failed, so something is broken with"
|
||||
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 "Configure aborted."
|
||||
exit
|
||||
|
Loading…
x
Reference in New Issue
Block a user