activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r886176 - /activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
Date Wed, 02 Dec 2009 15:36:51 GMT
Author: tabish
Date: Wed Dec  2 15:36:51 2009
New Revision: 886176

URL: http://svn.apache.org/viewvc?rev=886176&view=rev
Log:
Update the configure.ac script to better detect platforms not using GCC

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/configure.ac

Modified: activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac?rev=886176&r1=886175&r2=886176&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/configure.ac (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/configure.ac Wed Dec  2 15:36:51 2009
@@ -160,7 +160,7 @@
 
     PLAT_LIBS="-lm -luuid -lsocket -lrt"
 
-    if test "$GCC" = "no"; then
+    if ! test "$GCC" = "yes"; then
        # Assuming Sun Compiler and adding in optimization
        # because autoconf can't seem to figure it out.
        PLAT_CXXFLAGS="-mt -w -O5 -library=stlport4"
@@ -169,7 +169,7 @@
 
   *hpux10* )
 
-    if test "$GCC" = "no"; then
+    if ! test "$GCC" = "yes"; then
        # Assuming aCC Compiler unknown yet if any additional settings are needed.
        PLAT_CXXFLAGS=""
     fi
@@ -177,7 +177,7 @@
 
   *hpux11* )
 
-    if test "$GCC" = "no"; then
+    if ! test "$GCC" = "yes"; then
        # Assuming aCC Compiler unknown yet if any additional settings are needed.
        PLAT_CXXFLAGS="-Wc,-ansi_for_scope,on"
     fi



Mime
View raw message