]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
images in the notebook work under MSW too (with or without XPM)
[wxWidgets.git] / configure
index 183914e022aeea799b90c24fe9c1da5b82ce175c..b4490d25186a45f6ff35bc1bda0e4794133ebb07 100755 (executable)
--- a/configure
+++ b/configure
@@ -6653,14 +6653,14 @@ EOF
 esac
 
 if test "x$GCC" = xyes; then
-  CFLAGS="${CFLAGS} -Wall"
+  CFLAGS="${CFLAGS} -Wall -Wno-unused -Wno-uninitialized -D_REENTRANT -DLEX_SCANNER"
 fi
 
 if test "x$GXX" = xyes; then
   if test "$wxUSE_MOTIF" = 1; then
-    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+    CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused -D_REENTRANT"
   else
-    CXXFLAGS="${CXXFLAGS} -Wall"
+    CXXFLAGS="${CXXFLAGS} -Wall -D_REENTRANT"
   fi
 fi