]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Define _LINUX_SOURCE_COMPAT for AIX build.
[wxWidgets.git] / configure
index dfac8729a64a312665d80781ea9624bfff0e4e12..39ba6aaf36bbb6f45f7b631d9b96afb3ab505701 100755 (executable)
--- a/configure
+++ b/configure
@@ -19583,8 +19583,12 @@ case "${host}" in
 esac
 
 
-if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
-    CXXFLAGS="-qunique $CXXFLAGS"
+if test "x$USE_AIX" = "x1"; then
+            if test "x$XLCXX" = "xyes"; then
+        CXXFLAGS="-qunique $CXXFLAGS"
+    fi
+
+                                CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
 fi
 
 case "${host}" in