diff options
Diffstat (limited to 'ext/date/config0.m4')
-rw-r--r-- | ext/date/config0.m4 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/date/config0.m4 b/ext/date/config0.m4 index f1a4e5154e..e464156571 100644 --- a/ext/date/config0.m4 +++ b/ext/date/config0.m4 @@ -1,8 +1,14 @@ dnl $Id$ dnl config.m4 for date extension -sinclude(ext/date/lib/timelib.m4) -sinclude(lib/timelib.m4) +dnl Check for headers needed by timelib +AC_CHECK_HEADERS([ \ +strings.h \ +io.h +]) + +dnl Check for strtoll, atoll +AC_CHECK_FUNCS(strtoll atoll) PHP_DATE_CFLAGS="-I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1" timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c |