aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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]"