/usr/local/mysql dir-specification is now optional (existence autodetected)
authorshort <>
Sun, 23 Jun 2002 15:49:08 +0000 (15:49 +0000)
committershort <>
Sun, 23 Jun 2002 15:49:08 +0000 (15:49 +0000)
+LIBS="-lz" for Apache
 - needed by CSacek (it has default --enable-compression)

bin/vellumweb-build

index b4987a7..bc1acee 100755 (executable)
@@ -85,7 +85,8 @@ pushd $modssl
 popd
 
 pushd $php
-       ./configure --with-mysql=/usr/local/mysql --with-apache=../$httpd \
+       ./configure --with-apache=../$httpd \
+               --with-mysql`d=/usr/local/mysql && test -d $d && echo =$d` \
                --enable-track-vars \
                --enable-memory-limit=yes \
                --enable-debug=no
@@ -111,7 +112,8 @@ pushd $csacek
 popd
 
 pushd $httpd
-       OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" ./configure --prefix=$prefix \
+       # we need -lz for CSacek w/o its --disable-compression
+       OPTIM="$CFLAGS" SSL_BASE="$PWD/../$openssl" LIBS="-lz" ./configure --prefix=$prefix \
                        --enable-module=ssl \
                        --activate-module=src/modules/php4/libphp4.a \
                        --activate-module=src/modules/perl/libperl.a \