diff --git a/configure b/configure index c156e9a..5c3ca1e 100755 --- a/configure +++ b/configure @@ -15166,7 +15166,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu CPPFLAGS="$CPPFLAGS -Wall -g -fexceptions" -CXXFLAGS="$CPPFLAGS -Wall -g -fexceptions" +CXXFLAGS="$CXXFLAGS -Wall -g -fexceptions" WXCONFIG=wx-config LIBXMLCONFIG=xml2-config @@ -15250,7 +15250,7 @@ $as_echo "not found" >&6; } fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" -CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS" +CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS" diff --git a/configure.in b/configure.in index ec975ee..94c2530 100644 --- a/configure.in +++ b/configure.in @@ -7,7 +7,7 @@ AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL CPPFLAGS="$CPPFLAGS -Wall -g -fexceptions" -CXXFLAGS="$CPPFLAGS -Wall -g -fexceptions" +CXXFLAGS="$CXXFLAGS -Wall -g -fexceptions" WXCONFIG=wx-config LIBXMLCONFIG=xml2-config @@ -83,7 +83,7 @@ AC_DEFUN([LIBXSLTTEST], LIBXSLTTEST CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" -CXXFLAGS="$CXXFLAGS $WX_CPPFLAGS" +CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS" AC_SUBST(WX_LIBS)