cvs: /php4 strtok_r.c /php4 configure.in
| From: | Sascha Schumann | Date: | Fri, 26 Nov 1999 13:34:32 +0000 |
| Subject: | cvs: /php4 strtok_r.c /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6920@lists.php.net to get a copy of this message | ||
sas Fri Nov 26 08:34:32 1999 EDT
Added files:
/php4 strtok_r.c
Modified files:
/php4 configure.in
Log:
Add strtok_r replacement function from FreeBSD-current.
Index: php4/configure.in
diff -u php4/configure.in:1.39 php4/configure.in:1.40
--- php4/configure.in:1.39 Tue Nov 23 14:54:51 1999
+++ php4/configure.in Fri Nov 26 08:34:02 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.39 1999/11/23 19:54:51 sas Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.40 1999/11/26 13:34:02 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -335,7 +335,7 @@
vsnprintf \
)
-AC_REPLACE_FUNCS(strlcat strlcpy)
+AC_REPLACE_FUNCS(strlcat strlcpy strtok_r getopt)
AC_FUNC_UTIME_NULL
AC_FUNC_ALLOCA
dnl## OLDLIBS=$LIBS; LIBS=""
@@ -343,7 +343,6 @@
dnl we use that version
dnl AC_BROKEN_SPRINTF
dnl## LIBS=$OLDLIBS
-AC_REPLACE_FUNCS(getopt)
dnl AIX keeps in_addr_t in /usr/include/netinet/in.h
dnl AC_MSG_CHECKING(for in_addr_t)