You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Dale Ghent <da...@elemental.org> on 2001/01/28 16:56:11 UTC
Re: cvs commit: apr CHANGES configure.in
On 28 Jan 2001 fielding@apache.org wrote:
| + *) Replace configure --with-optim option by using the environment
| + variable OPTIM instead. This is needed because configure options
| + do not support multiple flags separated by spaces. [Roy Fielding]
| +
Sure it can support multiple flags. If I do:
./configure --with-optim="-O2 -O2"
It will work...
make[4]: Entering directory
`/local/src/apache-dev/httpd-2.0/srclib/apr/lib'
/bin/sh /local/src/apache-dev/httpd-2.0/srclib/apr/libtool --mode=compile
--silent gcc -DSOLARIS2=8 -pthreads -pthreads -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -O2 -O2 -I../include -I../include/arch/unix
-I../include/arch/unix -c apr_pools.c && touch apr_pools.lo
/dale
Re: cvs commit: apr CHANGES configure.in
Posted by "Roy T. Fielding" <fi...@ebuilt.com>.
> Sure it can support multiple flags. If I do:
>
> ./configure --with-optim="-O2 -O2"
>
> It will work...
Hmmm... it wasn't working for me -- something was stripping the
double-quotes off the comand-line arguments, such that the
command-line could not be reconstructed faithfully, and thus
config.nice was getting invalid arguments. I tried to fix that
in the macro that created config.nice, but the quotes were
being stripped earlier somewhere (I assume the option reader).
This may have been a problem in the httpd configure only, but
consensus on the list was that we should be using OPTIM anyway.
....Roy