httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristian Gafton <>
Subject Re: apache/linux modules
Date Tue, 03 Feb 1998 01:29:33 GMT
On Mon, 2 Feb 1998, Jim Jagielski wrote:

> As an example, php3 uses autoconf. For reasons, I prefer php3 NOT
> use GD and GDBM. However, what I must do is let ./configure do it's
> work and then hand edit stuff to remove all traces of gdbm and

That means a badly written script. You should be able to do
--with-gd=no and --with-gdbm=no. If you can not do that, the configure.i
is broken and it should be fixed.

> libgd in various places. Ugg. Not only that, but the command line
> to run configure for my setup is ugly:

Whoa, and you finger hurt when typing that, right ? :-)

> CC='gcc -D_POSIX_SOURCE' LIBS='-lposix -lbsd' ./configure \
>    --with-apache=/staff/jim/src/CVS/apache-1.3/ \
>    --with-config-file-path=/usr/local/apache/conf \
>    --with-exec-dir=/usr/local/apache/php-bin \
>    --enable-debug=no --enable-safe-mode=yes \
>    --with-system-regex --disable-debug

--enable-debug is no by default, unless changed (which means
is broken)
--disable-debug is the same thing as --enable-debug=no, thus redundant
--with-system-regex: the configure should check for the validity of the
system regex and use it, thus making this flag unnecessary
--with-config-file-path=/usr/local/apache/conf: that is a pretty
'standard' path (given thet apache default setup is to install in
/usr/local) so php's should take a look there by default.

> This is easier?? :) :)

As you imagine, a badly written set can become scary... I am
still not convinced, because the above line could have only two arguments.

You'renot gonna make me stop by showing me a broken configure and telling
me how hard is to work with...

Cristian Gafton   --   --   Red Hat Software, Inc.
 UNIX is user friendly. It's just selective about who its friends are.

View raw message