From: Hartmut Holzgraefe Date: Thu, 24 Oct 2002 20:04:16 +0000 (+0000) Subject: trying to fix #20063 X-Git-Tag: php-4.3.0pre2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e28eaf550772da4f011b686e984bc5c0da7a432;p=php trying to fix #20063 --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index a9ff8571cf..c0a11fb27a 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -73,7 +73,7 @@ # include #endif -#ifdef HAVE_GETOPT_LONG +#ifdef HAVE_GETOPT_H #include #endif diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 69758bbe82..b85ef6c7ee 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -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