cvs: /php4/ext/informix config.m4
| From: | Danny Heijl | Date: | Mon, 11 Oct 1999 11:53:39 +0000 |
| Subject: | cvs: /php4/ext/informix config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5462@lists.php.net to get a copy of this message | ||
danny Mon Oct 11 07:53:39 1999 EDT
Modified files:
/php4/ext/informix config.m4
Log:
(configure) Allow IFX_LIBDIR environment variable to specify the
Informix library path to allow linking with the static
libraries (libtool related). (Danny).
path for configure (Danny).
Index: php4/ext/informix/config.m4
diff -u php4/ext/informix/config.m4:1.3 php4/ext/informix/config.m4:1.4
--- php4/ext/informix/config.m4:1.3 Sun Oct 10 13:12:22 1999
+++ php4/ext/informix/config.m4 Mon Oct 11 07:53:08 1999
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.3 1999/10/10 17:12:22 sas Exp $
+dnl $Id: config.m4,v 1.4 1999/10/11 11:53:08 danny Exp $
divert(3)
@@ -18,10 +18,18 @@
else
if test "$withval" = "yes"; then
IFX_INCDIR=$INFORMIXDIR/incl/esql
- IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"
+ if test -z "$IFX_LIBDIR"; then
+ IFX_LIBDIR="-L$INFORMIXDIR/lib -L$INFORMIXDIR/lib/esql"
+ else
+ IFX_LIBDIR=$IFX_LIBDIR
+ fi
else
IFX_INCDIR=$withval/incl/esql
- IFX_LIBDIR="-L$withval/lib -L$withval/lib/esql"
+ if test -z "$IFX_LIBDIR"; then
+ IFX_LIBDIR="-L$withval/lib -L$withval/lib/esql"
+ else
+ IFX_LIBDIR=$IFX_LIBDIR
+ fi
if test "$withval" != "$INFORMIXDIR"; then
INFORMIX_WARNING="
WARNING: You specified Informix base install directory that is different