configure.in change

Gerald Carter gcarter at valinux.com
Fri Apr 6 14:02:03 GMT 2001


On Thu, 05 Apr 2001 21:22:37 Herb Lewis wrote:
> This is what I propose for configure.in (and configure)
> 
> Without --enable-debug CFLAGS will be set to -O if undefined else
> it will prepend -O to environment CFLAGS. One "drawback" to this
> is if the environment has -g set then you will not "optimize
> by default" as the comment says. Presumably if the environment

Sounds fine to me.

> With --enable-debug CFLAGS will be set to -g if undefined else
> it will have -g appended to the end of its environment definition.
> -g typically overrides any -O setting and since it is last it will
> override any -g[n] settings as well (at least with IRIX compilers).

Sounds like an acceptable fix.  Thanks Herb.





Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list