aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-04 12:11:03 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-04 12:11:03 +0000
commit609b0a7674e0ea02a61ab5f6beec890499c7296b (patch)
treeb9a9b6d9fd00720e765466e3d4ddd108311ce445 /src
parentf776fc58f1fd492f583bdbd97fceffd851bae41d (diff)
fixed AC_CHECK_CFLAG test (use .c instead of .c++)
svn path=/trunk/externals/zexy/; revision=6074
Diffstat (limited to 'src')
-rw-r--r--src/acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acinclude.m4 b/src/acinclude.m4
index 4a7ae76..772fecf 100644
--- a/src/acinclude.m4
+++ b/src/acinclude.m4
@@ -33,12 +33,12 @@ fi
AC_DEFUN([AC_CHECK_CFLAGS],
[
AC_MSG_CHECKING([whether $CC accepts "$1"])
-cat > conftest.c++ << EOF
+cat > conftest.c << EOF
int main(){
return 0;
}
EOF
-if $CC $CFLAGS -o conftest.o conftest.c++ [$1] > /dev/null 2>&1
+if $CC $CFLAGS [$1] -o conftest.o conftest.c > /dev/null 2>&1
then
AC_MSG_RESULT([yes])
CFLAGS="${CFLAGS} [$1]"