activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQCPP-51) Autoconf is not properly setting CXXFLAGS on Linux
Date Tue, 23 Jan 2007 23:07:02 GMT

     [ https://issues.apache.org/activemq/browse/AMQCPP-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nathan Mittler updated AMQCPP-51:
---------------------------------

    Fix Version/s: 2.0

> Autoconf is not properly setting CXXFLAGS on Linux
> --------------------------------------------------
>
>                 Key: AMQCPP-51
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-51
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Albert Strasheim
>         Assigned To: Nathan Mittler
>             Fix For: 2.0
>
>
> I'm running Fedora Core 6 with autoconf 2.59 and automake 1.9.6.
> It seems the CXXFLAGS stuff in configure.ac isn't actually setting CXXFLAGS used to compile.
> If you check the generated src/main/Makefile, you'll only see:
> {noformat}
> CXXFLAGS = -D HAVE_ACTIVEMQ_CONFIG
> {noformat}
> and when running make you get
> {noformat}
> make  all-recursive
> make[1]: Entering directory `/home/albert/work/activemq-cpp'
> Making all in src/main
> make[2]: Entering directory `/home/albert/work/activemq-cpp/src/main'
> if g++ -DHAVE_CONFIG_H -I. -I. -I../..     -D HAVE_ACTIVEMQ_CONFIG -MT ActiveMQConsumer.o
-MD -MP -MF ".deps/ActiveMQConsumer.Tpo" -c -o ActiveMQConsumer.o `test -f 'activemq/core/ActiveMQConsumer.cpp'
|| echo './'`activemq/core/ActiveMQConsumer.cpp; \
>         then mv -f ".deps/ActiveMQConsumer.Tpo" ".deps/ActiveMQConsumer.Po"; else rm
-f ".deps/ActiveMQConsumer.Tpo"; exit 1; fi
> {noformat}
> which is missing all the options specified in configure.ac.
> By the way, you might consider adding -g and -O2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message