]> granicus.if.org Git - php/commitdiff
trying to fix #20063
authorHartmut Holzgraefe <hholzgra@php.net>
Thu, 24 Oct 2002 20:04:16 +0000 (20:04 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Thu, 24 Oct 2002 20:04:16 +0000 (20:04 +0000)
ext/standard/basic_functions.c
ext/standard/config.m4

index a9ff8571cfed7e647dc183b470514f0b2011392f..c0a11fb27afd914e205286f2e8da481af52e8afb 100644 (file)
@@ -73,7 +73,7 @@
 # include <sys/mman.h>
 #endif
 
-#ifdef HAVE_GETOPT_LONG
+#ifdef HAVE_GETOPT_H
 #include <getopt.h>
 #endif
 
index 69758bbe8226ca414123a046b546b54db274ba60..b85ef6c7ee5be20b37696fc774db584f2ab559e0 100644 (file)
@@ -225,6 +225,8 @@ AC_ARG_WITH(regex,
 
 AC_FUNC_FNMATCH        
 
+AC_CHECK_HEADERS(getopt.h)
+
 AC_CHECK_FUNCS(glob strfmon getopt_long getopt_long_only)
 
 if test "$PHP_SAPI" = "cgi"; then