activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r596754 - in /activemq/activemq-cpp/tags/activemq-cpp-2.1.2: configure.ac src/examples/Makefile.am
Date Tue, 20 Nov 2007 17:54:13 GMT
Author: tabish
Date: Tue Nov 20 09:54:12 2007
New Revision: 596754

URL: http://svn.apache.org/viewvc?rev=596754&view=rev
Log:
https://issues.apache.org/activemq/browse/AMQCPP-154

Modified:
    activemq/activemq-cpp/tags/activemq-cpp-2.1.2/configure.ac
    activemq/activemq-cpp/tags/activemq-cpp-2.1.2/src/examples/Makefile.am

Modified: activemq/activemq-cpp/tags/activemq-cpp-2.1.2/configure.ac
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/tags/activemq-cpp-2.1.2/configure.ac?rev=596754&r1=596753&r2=596754&view=diff
==============================================================================
--- activemq/activemq-cpp/tags/activemq-cpp-2.1.2/configure.ac (original)
+++ activemq/activemq-cpp/tags/activemq-cpp-2.1.2/configure.ac Tue Nov 20 09:54:12 2007
@@ -112,7 +112,9 @@
     if test "$GCC" = "yes"; then
        PLAT_CXXFLAGS="-ansi -pedantic"
     else
-       PLAT_CXXFLAGS="-mt +w"
+       # Assuming Sun Compiler and adding in optimization
+       # because autoconf can't seem to figure it out.
+       PLAT_CXXFLAGS="-mt +w -O5"
     fi
     PLAT_LIBS="-lm -lpthread -luuid -lsocket -lrt"
     ;;

Modified: activemq/activemq-cpp/tags/activemq-cpp-2.1.2/src/examples/Makefile.am
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/tags/activemq-cpp-2.1.2/src/examples/Makefile.am?rev=596754&r1=596753&r2=596754&view=diff
==============================================================================
--- activemq/activemq-cpp/tags/activemq-cpp-2.1.2/src/examples/Makefile.am (original)
+++ activemq/activemq-cpp/tags/activemq-cpp-2.1.2/src/examples/Makefile.am Tue Nov 20 09:54:12
2007
@@ -21,21 +21,26 @@
 ## Compiler / Linker Info
 ##
 
-INCLUDES = -I$(srcdir)/../main
+##
+## Compiler / Linker Info
+##
 
 ## Main Example
 bin_PROGRAMS = example 
 example_SOURCES = $(main_example_sources)
-example_LDADD= ../main/libactivemq-cpp.la
+example_LDADD= $(AMQ_TEST_LIBS)
+example_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main
 
 ## Simple Async Consumer
 simple_async_consumer_sources = ./consumers/SimpleAsyncConsumer.cpp
 bin_PROGRAMS += simple_async_consumer 
 simple_async_consumer_SOURCES = $(simple_async_consumer_sources)
-simple_async_consumer_LDADD= ../main/libactivemq-cpp.la
+simple_async_consumer_LDADD= $(AMQ_TEST_LIBS)
+simple_async_consumer_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main
 
 ## Simple Producer
 simple_producer_sources = ./producers/SimpleProducer.cpp
 bin_PROGRAMS += simple_producer 
 simple_producer_SOURCES = $(simple_producer_sources)
-simple_producer_LDADD= ../main/libactivemq-cpp.la
+simple_producer_LDADD= $(AMQ_TEST_LIBS)
+simple_producer_CXXFLAGS = $(AMQ_TEST_CXXFLAGS) -I$(srcdir)/../main



Mime
View raw message