From: short <> Date: Sun, 23 Jun 2002 15:49:08 +0000 (+0000) Subject: /usr/local/mysql dir-specification is now optional (existence autodetected) X-Git-Tag: bp_liverpm~136 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=d6430a3f772eae9f8b6690beccc76d04a1648772 /usr/local/mysql dir-specification is now optional (existence autodetected) +LIBS="-lz" for Apache - needed by CSacek (it has default --enable-compression) --- diff --git a/bin/vellumweb-build b/bin/vellumweb-build index b4987a7..bc1acee 100755 --- a/bin/vellumweb-build +++ b/bin/vellumweb-build @@ -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 \