Reverted removing the 'simple c++ program', and instead added a C program, since it works fine, which isn't what we want, but it's better than nothing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
dade1f78cb
commit
c74956453f
14
configure.ac
14
configure.ac
@ -29,6 +29,20 @@ AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
|
||||
# Do a quick check to ensure the c++ compiler works
|
||||
AC_RUN_IFELSE([
|
||||
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
|
||||
echo "Configure aborted."
|
||||
exit
|
||||
])
|
||||
|
||||
dnl =============================================
|
||||
dnl Define debug which enables some cheats
|
||||
dnl This should be DISABLED when doing a release!
|
||||
|
Loading…
Reference in New Issue
Block a user