]> git.saurik.com Git - wxWidgets.git/commitdiff
xlC needs -qunique under AIX only, at least it doesn't accept it at all under Mac...
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jul 2005 18:21:32 +0000 (18:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Jul 2005 18:21:32 +0000 (18:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index b88c06ef4799b732587870b4cf97deaf60b91aee..d144244195dbaa414c0a9da88b832a9ddc13e773 100644 (file)
@@ -1515,9 +1515,9 @@ dnl ------------------------------------------------------------------------
 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