aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-05-06 17:11:14 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-05-06 17:11:14 +0000
commit876473f485e1b00e0652553adb0f9f3f1b7372f6 (patch)
tree9854c4aef5836809f5024aeb9e7db735b7372753 /src
parent166f22520a64e1d89485bc380c9ad186e880ead7 (diff)
applied the cpp-flags check to the cxx-check as well
svn path=/trunk/externals/zexy/; revision=11245
Diffstat (limited to 'src')
-rw-r--r--src/acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/src/acinclude.m4 b/src/acinclude.m4
index f546de5..613f7e3 100644
--- a/src/acinclude.m4
+++ b/src/acinclude.m4
@@ -35,8 +35,8 @@ EOF
if $CC $CFLAGS [$1] -o conftest.o conftest.c > /dev/null 2>&1
then
AC_MSG_RESULT([yes])
- AC_CHECK_CPPFLAGS([$1])
CFLAGS="${CFLAGS} [$1]"
+ AC_CHECK_CPPFLAGS([$1])
[$2]
else
AC_MSG_RESULT([no])
@@ -60,6 +60,7 @@ if $CXX $CPPFLAGS $CXXFLAGS -o conftest.o conftest.c++ [$1] > /dev/null 2>&1
then
AC_MSG_RESULT([yes])
CXXFLAGS="${CXXFLAGS} [$1]"
+ AC_CHECK_CPPFLAGS([$1])
[$2]
else
AC_MSG_RESULT([no])