activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r499211 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
Date Wed, 24 Jan 2007 02:15:55 GMT
Author: nmittler
Date: Tue Jan 23 18:15:55 2007
New Revision: 499211

URL: http://svn.apache.org/viewvc?view=rev&rev=499211
Log:
[AMQCPP-49] - removed -ansi for building on cygwin

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

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac?view=diff&rev=499211&r1=499210&r2=499211
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/configure.ac Tue Jan 23 18:15:55 2007
@@ -86,20 +86,20 @@
 AM_PATH_CPPUNIT(1.10.2, cppunit=yes, cppunit=no; AC_MSG_RESULT([no. Unit and Integration
tests disabled])) 
 AM_CONDITIONAL(BUILD_CPPUNIT_TESTS, test x$cppunit = xyes)
 
-CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long"
+CXXFLAGS="$CXXFLAGS -W -Wall -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long"
 # CPPUNIT_CXXFLAGS="$CPPUNIT_CXXFLAGS -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized"
 LIBS="$LIBS"
 
 case "${host_os}" in
 
   *darwin* ) ## Mac OS X configuration
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="-ansi -pedantic $CXXFLAGS" 
     LIBS="$LIBS"
     ;;
 
   *cygwin* ) ## Cygwin configuration
     # LIBS="-lwinmm -lm";
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="$CXXFLAGS -Wno-uninitialized" 
     LIBS="$LIBS -lm -lpthread -luuid -lrpcrt4"
     ;;
     
@@ -107,7 +107,7 @@
     AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
                 AC_MSG_ERROR([libpthread not found!]))
 
-    CXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="-ansi -pedantic  $CXXFLAGS"
     LIBS="$LIBS -lm -lpthread -luuid -lsocket -lrt"
     ;;
     
@@ -116,7 +116,7 @@
     AC_CHECK_LIB(pthread, pthread_create,[have_pthread="yes"],
                 AC_MSG_ERROR([libpthread not found!]))
 
-    CXXFLAGS="$CXXFLAGS" 
+    CXXFLAGS="-ansi -pedantic  $CXXFLAGS" 
     LIBS="$LIBS -lm -lpthread -luuid"
 esac
 



Mime
View raw message