CVS update: php3

From: Date: Tue, 11 May 1999 12:30:43 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5515@lists.php.net to get a copy of this message
Date: Tuesday May 11, 1999 @ 8:30 Author: sas Update of /repository/php3 In directory php:/tmp/cvs-serv10803 Modified Files: acconfig.h config.h.in configure.in Log Message: support for db1 include dirs Index: php3/acconfig.h diff -u php3/acconfig.h:1.91 php3/acconfig.h:1.92 --- php3/acconfig.h:1.91 Sun May 9 13:35:44 1999 +++ php3/acconfig.h Tue May 11 08:30:40 1999 @@ -7,6 +7,8 @@ /* define if you have the specific db library */ +#define NDBM_DB1_NDBM_H 0 +#define NDBM_NDBM_H 0 #define DB2_DB2_DB_H 0 #define DB2_DB_DB2_H 0 #define DB2_DB_H 0 Index: php3/config.h.in diff -u php3/config.h.in:1.153 php3/config.h.in:1.154 --- php3/config.h.in:1.153 Sun May 9 14:08:17 1999 +++ php3/config.h.in Tue May 11 08:30:41 1999 @@ -72,6 +72,8 @@ #define CONFIGURATION_FILE_PATH "php3.ini" #define USE_CONFIG_FILE 1 +#define NDBM_DB1_NDBM_H 0 +#define NDBM_NDBM_H 0 #define DB2_DB2_DB_H 0 #define DB2_DB_DB2_H 0 #define DB2_DB_H 0 Index: php3/configure.in diff -u php3/configure.in:1.352 php3/configure.in:1.353 --- php3/configure.in:1.352 Sun May 9 14:09:50 1999 +++ php3/configure.in Tue May 11 08:30:41 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.352 1999/05/09 18:09:50 sas Exp $ +dnl $Id: configure.in,v 1.353 1999/05/11 12:30:41 sas Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) @@ -2316,10 +2316,22 @@ [ --with-ndbm[=DIR] Include DBA NDBM support],[ if test "$withval" != "no"; then for i in /usr/local /usr $withval; do - if test -f "$i/include/ndbm.h" ; then + if test -f "$i/include/db1/ndbm.h" ; then THIS_PREFIX="$i" + NDBM_EXTRA="NDBM_DB1_NDBM_H" + elif test -f "$i/include/ndbm.h" ; then + THIS_PREFIX="$i" + NDBM_EXTRA="NDBM_NDBM_H" fi done + + if test "$NDBM_EXTRA" != ""; then + eval "AC_DEFINE($NDBM_EXTRA, 1)" + 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" -- 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 (#5515) next »