Annotation of embedaddon/php/ext/date/config0.m4, revision 1.1.1.2
1.1.1.2 ! misho 1: dnl $Id$
1.1 misho 2: dnl config.m4 for date extension
3:
4: sinclude(ext/date/lib/timelib.m4)
5: sinclude(lib/timelib.m4)
6:
7: PHP_DATE_CFLAGS="-I@ext_builddir@/lib"
8: timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c
9: lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c"
10:
11: PHP_NEW_EXTENSION(date, php_date.c $timelib_sources, no,, $PHP_DATE_CFLAGS)
12:
13: PHP_ADD_BUILD_DIR([$ext_builddir/lib], 1)
14: PHP_ADD_INCLUDE([$ext_builddir/lib])
15: PHP_ADD_INCLUDE([$ext_srcdir/lib])
16:
17: PHP_INSTALL_HEADERS([ext/date], [php_date.h lib/timelib.h lib/timelib_structs.h lib/timelib_config.h])
18:
19: cat > $ext_builddir/lib/timelib_config.h <<EOF
20: #ifdef PHP_WIN32
21: # include "config.w32.h"
22: #else
23: # include <php_config.h>
24: #endif
25: EOF
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>