Login  Register

CXXFLAGS in configure.in

Posted by Xiaowen Wang on May 04, 2002; 3:36pm
URL: http://quantlib.414.s1.nabble.com/CXXFLAGS-in-configure-in-tp2035.html

Hi:
As of the most recent CVS checkout, the configure.in
(head version 1.81) has the following script for
customizing CXXFLAGS:

if test "$GXX" = yes; then
    CXXFLAGS="-g -O3 -pedantic -Wall"
else
    CXXFLAGS=""
fi

This script won't allow for customized CXXFLAGS.
Changing to the following will do:

if test "$GXX" = yes -a -z "$CXXFLAGS"; then
    CXXFLAGS="-g -O3 -pedantic -Wall"
fi

Xiaowen

__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com