[PHP4BETA] CVS update: php4
| From: | andrey | Date: | Sat, 08 May 1999 18:16:29 +0000 |
| Subject: | [PHP4BETA] CVS update: php4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-691@lists.php.net to get a copy of this message | ||
Date: Saturday May 8, 1999 @ 14:16
Author: andrey
Update of /repository/php4
In directory php:/tmp/cvs-serv2841
Modified Files:
configure.in.in genif.sh
Log Message:
-fixed configure.in.in to use genif.sh instead of genif.pl
-fixed genif.sh
-updated php3_mysql.h to have phpext_mysql_ptr
Index: php4/configure.in.in
diff -u php4/configure.in.in:1.25 php4/configure.in.in:1.26
--- php4/configure.in.in:1.25 Mon May 3 23:42:19 1999
+++ php4/configure.in.in Sat May 8 14:16:29 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in.in,v 1.25 1999/05/04 03:42:19 zeev Exp $ -*- sh -*-
+dnl $Id: configure.in.in,v 1.26 1999/05/08 18:16:29 andrey Exp $ -*- sh -*-
dnl Process this file with autoconf to produce a configure script.
@@ -876,7 +876,7 @@
echo "creating internal_functions.c"
extensions=\
grep '^s.@EXT_SUBDIRS@' \$0|sed -e 's/^.*@% *//' -e
's/%.*$//'\
mv -f internal_functions.c internal_functions.c.old 2>/dev/null
-perl $srcdir/genif.pl $srcdir/internal_functions.c.in \$srcdir \$extensions >
internal_functions.c
+sh $srcdir/genif.sh $srcdir/internal_functions.c.in \$srcdir \$extensions > internal_functions.c
if cmp internal_functions.c.old internal_functions.c > /dev/null 2>&1; then
echo "internal_functions.c is unchanged"
mv internal_functions.c.old internal_functions.c
Index: php4/genif.sh
diff -u php4/genif.sh:1.1 php4/genif.sh:1.2
--- php4/genif.sh:1.1 Thu May 6 16:52:19 1999
+++ php4/genif.sh Sat May 8 14:16:29 1999
@@ -1,6 +1,6 @@
#! /bin/sh
-# $Id: genif.sh,v 1.1 1999/05/06 20:52:19 sas Exp $
+# $Id: genif.sh,v 1.2 1999/05/08 18:16:29 andrey Exp $
# replacement for genif.pl
infile="$1"
@@ -16,8 +16,7 @@
cmd1='echo $data | grep @EXT_INCLUDE_CODE@ > /dev/null 2>&1'
cmd2='echo $data | grep @EXT_MODULE_PTRS@ > /dev/null 2>&1'
-while read ; do
- data="$REPLY"
+while read data; do
if eval $cmd1 ; then
for ext in $* ; do
for pre in php3 php php4 zend; do
--
PHP 4 Beta