commit | 4ae8aed082dab549effe0faafbb019fe858e4d0c | [log] [tgz] |
---|---|---|
author | Sebastian Pipping <sebastian@pipping.org> | Sun May 15 13:50:06 2016 +0200 |
committer | Sebastian Pipping <sebastian@pipping.org> | Sun May 15 13:50:06 2016 +0200 |
tree | 6533dc40c6d6b9df772d2aafc5889dc2456a1db0 | |
parent | d10262c9efe1685ed2002e4182f91dfa17a265e7 [diff] |
Makefile.in: Respect CXXFLAGS if given
diff --git a/expat/configure.ac b/expat/configure.ac index 7e968c4..3b2c99e 100644 --- a/expat/configure.ac +++ b/expat/configure.ac
@@ -77,7 +77,9 @@ AC_TRY_LINK( , , AC_MSG_RESULT(yes), AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS") + if test "x$CXXFLAGS" = x ; then CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'` + fi fi dnl Checks for header files.