cvs: /php4 acconfig.h.in configure.in

From: Date: Sun, 19 Dec 1999 20:09:11 +0000
Subject: cvs: /php4 acconfig.h.in configure.in
Groups: php.version4 
Request: Send a blank email to php-version4+get-8178@lists.php.net to get a copy of this message
sas Sun Dec 19 15:09:11 1999 EDT Modified files: /php4 acconfig.h.in configure.in Log: Fix broken sprintf handling in PHP Index: php4/acconfig.h.in diff -u php4/acconfig.h.in:1.29 php4/acconfig.h.in:1.30 --- php4/acconfig.h.in:1.29 Sun Dec 19 09:39:40 1999 +++ php4/acconfig.h.in Sun Dec 19 15:08:40 1999 @@ -122,4 +122,8 @@ /* Define if struct sockaddr contains the field sa_len */ #undef HAVE_SOCKADDR_SA_LEN -#define sprintf zend_sprintf +#undef BROKEN_SPRINTF + +#if BROKEN_SPRINTF +#define sprintf php_sprintf +#endif Index: php4/configure.in diff -u php4/configure.in:1.70 php4/configure.in:1.71 --- php4/configure.in:1.70 Sun Dec 19 08:59:29 1999 +++ php4/configure.in Sun Dec 19 15:08:40 1999 @@ -1,4 +1,4 @@ -dnl ## $Id: configure.in,v 1.70 1999/12/19 13:59:29 sas Exp $ -*- sh -*- +dnl ## $Id: configure.in,v 1.71 1999/12/19 20:08:40 sas Exp $ -*- sh -*- dnl ## Process this file with autoconf to produce a configure script. divert(0) @@ -373,11 +373,7 @@ AC_REPLACE_FUNCS(strlcat strlcpy getopt) AC_FUNC_UTIME_NULL AC_FUNC_ALLOCA -dnl## OLDLIBS=$LIBS; LIBS="" -dnl This is also defined/used in libzend. To avoid a redefinition -dnl we use that version -dnl AC_BROKEN_SPRINTF -dnl## LIBS=$OLDLIBS +AC_BROKEN_SPRINTF dnl AIX keeps in_addr_t in /usr/include/netinet/in.h dnl AC_MSG_CHECKING(for in_addr_t)

« previous php.version4 (#8178) next »