CVS update: php3
| From: | sas | Date: | Sat, 26 Jun 1999 13:32:34 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-7578@lists.php.net to get a copy of this message | ||
Date: Saturday June 26, 1999 @ 9:32
Author: sas
Update of /repository/php3
In directory php:/tmp/cvs-serv30920
Modified Files:
configure.in Makefile.in ChangeLog
Log Message:
incorporate #1600
Index: php3/configure.in
diff -u php3/configure.in:1.407 php3/configure.in:1.408
--- php3/configure.in:1.407 Fri Jun 25 19:33:54 1999
+++ php3/configure.in Sat Jun 26 09:32:33 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.407 1999/06/25 23:33:54 sas Exp $
+dnl $Id: configure.in,v 1.408 1999/06/26 13:32:33 sas Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -31,6 +31,15 @@
AC_PROG_LN_S
AC_PATH_PROG(PERL_PATH, perl)
+dnl Make flex scanners use const if they can, even if __STDC__ is not
+dnl true, for compilers like Sun's that only set __STDC__ true in
+dnl "limit-to-ANSI-standard" mode, not in "ANSI-compatible" mode
+AC_C_CONST
+if test "$ac_cv_c_const" = "yes" ; then
+ LEX_CFLAGS="-DYY_USE_CONST"
+fi
+AC_SUBST(LEX_CFLAGS)
+
dnl Ugly hack to get around a problem with gcc on AIX.
if test "$CC" = "gcc" -a "$ac_cv_prog_cc_g" = "yes" -a \
"
uname -sv" = "AIX 4"; then
Index: php3/Makefile.in
diff -u php3/Makefile.in:1.327 php3/Makefile.in:1.328
--- php3/Makefile.in:1.327 Fri Jun 25 19:33:54 1999
+++ php3/Makefile.in Sat Jun 26 09:32:33 1999
@@ -24,7 +24,7 @@
# +----------------------------------------------------------------------+
#
-# $Id: Makefile.in,v 1.327 1999/06/25 23:33:54 sas Exp $
+# $Id: Makefile.in,v 1.328 1999/06/26 13:32:33 sas Exp $
#
prefix = @prefix@
@@ -55,6 +55,7 @@
APXS_EXP = @APXS_EXP@
WARNING_LEVEL = @WARNING_LEVEL@
DBF_OBJS=dbase/dbf_head.o dbase/dbf_rec.o dbase/dbf_misc.o dbase/dbf_ndx.o
+LEX_CFLAGS = -w$(WARNING_LEVEL) @LEX_CFLAGS@
SOURCE = language-parser.tab.c language-scanner.c main.c php3_hash.c operators.c \
variables.c token_cache.c stack.c internal_functions.c \
@@ -142,7 +143,7 @@
bison -p php -v -d $(srcdir)/language-parser.y -o language-parser.tab.c
language-scanner.o:
- $(CC) $(CFLAGS) -w$(WARNING_LEVEL) -c language-scanner.c
+ $(CC) $(CFLAGS) $(LEX_CFLAGS) -c language-scanner.c
language-scanner.c: $(srcdir)/language-scanner.lex
flex -Pphp -olanguage-scanner.c -i $(srcdir)/language-scanner.lex
@@ -151,7 +152,7 @@
bison -p cfg -v -d $(srcdir)/configuration-parser.y -o configuration-parser.tab.c
configuration-scanner.o:
- $(CC) $(CFLAGS) -w$(WARNING_LEVEL) -c configuration-scanner.c
+ $(CC) $(CFLAGS) $(LEX_CFLAGS) -c configuration-scanner.c
configuration-scanner.c: $(srcdir)/configuration-scanner.lex
flex -Pcfg -oconfiguration-scanner.c -i $(srcdir)/configuration-scanner.lex
Index: php3/ChangeLog
diff -u php3/ChangeLog:1.701 php3/ChangeLog:1.702
--- php3/ChangeLog:1.701 Fri Jun 25 18:37:28 1999
+++ php3/ChangeLog Sat Jun 26 09:32:33 1999
@@ -1,6 +1,7 @@
PHP 3.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
??, Version 3.0.11
+- decrease lexer memory footprint (see #1600) (alanc@soar.berkeley.edu, Sascha)
- add dbase_replace_record() (Greg <greg@darkphoton.com>, Sascha)
- bringing preg_split() behavior in line with split() (Andrey)
- fix APXS build on AIX (Rasmus)