From 4ae8aed082dab549effe0faafbb019fe858e4d0c Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 15 May 2016 13:50:06 +0200 Subject: [PATCH] Makefile.in: Respect CXXFLAGS if given --- expat/configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expat/configure.ac b/expat/configure.ac index 7e968c46..3b2c99e4 100644 --- a/expat/configure.ac +++ b/expat/configure.ac @@ -77,7 +77,9 @@ if test "$GCC" = yes ; then 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.