CVS update: php3

From: Date: Sun, 09 May 1999 16:54:34 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-5440@lists.php.net to get a copy of this message
Date: Sunday May 9, 1999 @ 12:54 Author: sas Update of /repository/php3 In directory php:/tmp/cvs-serv19674 Modified Files: Makefile.in configure.in Log Message: - add dba_sync() - move id parameter to the last place where possible - add DB2 support Index: php3/Makefile.in diff -u php3/Makefile.in:1.305 php3/Makefile.in:1.306 --- php3/Makefile.in:1.305 Sun May 9 08:46:26 1999 +++ php3/Makefile.in Sun May 9 12:54:33 1999 @@ -24,7 +24,7 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.305 1999/05/09 12:46:26 sas Exp $ +# $Id: Makefile.in,v 1.306 1999/05/09 16:54:33 sas Exp $ # prefix = @prefix@ @@ -96,7 +96,7 @@ functions/gettext.c functions/php3_mckcrypt.c \ functions/yp.c functions/dba.c functions/dba_gdbm.c \ functions/dba_dbm.c functions/dba_ndbm.c functions/dba_cdb.c \ - functions/mcrypt.c + functions/mcrypt.c functions/dba_db2.c FUNCTIONS = $(FUNCTIONS_SOURCE:.c=.o) Index: php3/configure.in diff -u php3/configure.in:1.348 php3/configure.in:1.349 --- php3/configure.in:1.348 Sat May 8 17:46:49 1999 +++ php3/configure.in Sun May 9 12:54:33 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.348 1999/05/08 21:46:49 jah Exp $ +dnl $Id: configure.in,v 1.349 1999/05/09 16:54:33 sas Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) @@ -2334,6 +2334,30 @@ fi ]) AC_MSG_CHECKING(for DBA NDBM support) +AC_DBA_STD_RESULT + +AC_ARG_WITH(db2, +[ --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/db.h" ; then + THIS_PREFIX="$i" + fi + done + + for LIB in db db2 c; do + old_LFLAGS="$LFLAGS" + LFLAGS="-L$THIS_PREFIX/lib $LFLAGS" + AC_CHECK_LIB($LIB, db_appinit, [AC_DEFINE(DBA_DB2,1) THIS_LIBS="-l$LIB"]) + LFLAGS="$old_LFLAGS" + done + + AC_DBA_STD_ASSIGN + AC_DBA_STD_CHECK + AC_DBA_STD_ATTACH + fi +]) +AC_MSG_CHECKING(for DBA DB2 support) AC_DBA_STD_RESULT AC_ARG_WITH(dbm, -- 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 (#5440) next »