cvs: php4 /ext/standard basic_functions.c config.m4
| From: | Hartmut Holzgraefe | Date: | Thu, 24 Oct 2002 20:04:17 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15397@lists.php.net to get a copy of this message | ||
hholzgra Thu Oct 24 16:04:17 2002 EDT
Modified files:
/php4/ext/standard basic_functions.c config.m4
Log:
trying to fix #20063
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.535 php4/ext/standard/basic_functions.c:1.536
--- php4/ext/standard/basic_functions.c:1.535 Mon Oct 21 15:24:48 2002
+++ php4/ext/standard/basic_functions.c Thu Oct 24 16:04:16 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.535 2002/10/21 19:24:48 hholzgra Exp $ */
+/* $Id: basic_functions.c,v 1.536 2002/10/24 20:04:16 hholzgra Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -73,7 +73,7 @@
# include <sys/mman.h>
#endif
-#ifdef HAVE_GETOPT_LONG
+#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
Index: php4/ext/standard/config.m4
diff -u php4/ext/standard/config.m4:1.45 php4/ext/standard/config.m4:1.46
--- php4/ext/standard/config.m4:1.45 Thu Oct 24 08:21:06 2002
+++ php4/ext/standard/config.m4 Thu Oct 24 16:04:16 2002
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.45 2002/10/24 12:21:06 sas Exp $ -*- sh -*-
+dnl $Id: config.m4,v 1.46 2002/10/24 20:04:16 hholzgra Exp $ -*- sh -*-
divert(3)dnl
@@ -224,6 +224,8 @@
])
AC_FUNC_FNMATCH
+
+AC_CHECK_HEADERS(getopt.h)
AC_CHECK_FUNCS(glob strfmon getopt_long getopt_long_only)