git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34997
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dnl Platform specific tests
dnl ------------------------------------------------------------------------
dnl Platform specific tests
dnl ------------------------------------------------------------------------
-dnl xlC needs -qunique (at least on AIX) so that one source file can be
+dnl xlC needs -qunique under AIX so that one source file can be
dnl compiled to multiple object files and safely linked together.
dnl compiled to multiple object files and safely linked together.
-if test "x$XLCXX" = "xyes"; then
+if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
CXXFLAGS="$CXXFLAGS -qunique"
fi
CXXFLAGS="$CXXFLAGS -qunique"
fi