bug in configure.in

Herb Lewis herb at chomps.engr.sgi.com
Mon Apr 2 22:46:27 GMT 2001


The following lines exist in configure.in and contain a bug. I'm not
sure of the original intent so I hesitate to change it. If you have
a value set for CFLAGS, this code in effect duplicates the contents. 
Who made this change and what was the intention?

# compile with optimization and without debugging by default
OPTIM=${CFLAGS-"-O"}

AC_ARG_ENABLE(debug, [  --enable-debug        turn on debugging
[default=no]],
    [if eval "test x$enable_debug = xyes"; then
        OPTIM="-g"
    fi])

CFLAGS="${CFLAGS:=} $OPTIM"


-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba-technical mailing list