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.