CVS update: php3

From: Date: Tue, 11 May 1999 13:06:35 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5522@lists.php.net to get a copy of this message
Date: Tuesday May 11, 1999 @ 9:06 Author: sas Update of /repository/php3 In directory php:/tmp/cvs-serv28046 Modified Files: configure.in Log Message: dig up FreeBSD db2 port Index: php3/configure.in diff -u php3/configure.in:1.353 php3/configure.in:1.354 --- php3/configure.in:1.353 Tue May 11 08:30:41 1999 +++ php3/configure.in Tue May 11 09:06:35 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.353 1999/05/11 12:30:41 sas Exp $ +dnl $Id: configure.in,v 1.354 1999/05/11 13:06:35 sas Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) @@ -2329,9 +2329,9 @@ eval "AC_DEFINE($NDBM_EXTRA, 1)" fi - if test "$NDBM_EXTRA" = "NDBM_DB1_NDBM_H" ; then - CFLAGS="-I$THIS_PREFIX/include/db1 $CFLAGS" - fi + if test "$NDBM_EXTRA" = "NDBM_DB1_NDBM_H" ; then + CFLAGS="-I$THIS_PREFIX/include/db1 $CFLAGS" + fi for LIB in gdbm db1 ndbm c; do old_LFLAGS="$LFLAGS" @@ -2352,8 +2352,11 @@ [ --with-db2[=DIR] Include DBA DB2 support],[ if test "$withval" != "no"; then for i in /usr/local /usr $withval; do - if test -f "$i/include/db2/db.h"; then + if test -f "$i/db2/db.h"; then THIS_PREFIX="$i" + DB2_EXTRA="db2" + elif test -f "$i/include/db2/db.h"; then + THIS_PREFIX="$i" DB2_EXTRA="DB2_DB2_DB_H" elif test -f "$i/include/db/db2.h"; then THIS_PREFIX="$i" @@ -2367,10 +2370,15 @@ fi done + if test "$DB2_EXTRA" = "db2" ; then + DBA_INCLUDE="$DBA_INCLUDE -I$THIS_PREFIX/db2" + DB2_EXTRA="DB2_DB_H" + fi + if test "$DB2_EXTRA" != ""; then eval "AC_DEFINE($DB2_EXTRA, 1)" fi - + for LIB in db db2 c; do old_LFLAGS="$LFLAGS" LFLAGS="-L$THIS_PREFIX/lib $LFLAGS" -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5522) next »