diff options
author | foobar <sniper@php.net> | 2005-10-03 20:21:02 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-10-03 20:21:02 +0000 |
commit | 1c667a88e72d00b44c68b5c47952c71492b3d6c3 (patch) | |
tree | 8d2c39fb4a652bcdcd1d9f58e60d4e75f7700d0c | |
parent | 061ff97f6984770f52a182f9b432c14723a1dd01 (diff) | |
download | php-git-1c667a88e72d00b44c68b5c47952c71492b3d6c3.tar.gz |
MFH
-rw-r--r-- | ext/date/config.m4 | 4 | ||||
-rw-r--r-- | ext/date/lib/timelib_structs.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ext/date/config.m4 b/ext/date/config.m4 index 253cc22f6b..9e39d4f7e9 100644 --- a/ext/date/config.m4 +++ b/ext/date/config.m4 @@ -9,7 +9,11 @@ timelib_sources="lib/dow.c lib/parse_date.c lib/parse_tz.c lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c" PHP_NEW_EXTENSION(date, php_date.c $timelib_sources, no,, $PHP_DATE_CFLAGS) + PHP_ADD_BUILD_DIR([$ext_builddir/lib], 1) +PHP_ADD_INCLUDE([$ext_builddir/lib]) +PHP_ADD_INCLUDE([$ext_srcdir/lib]) + PHP_INSTALL_HEADERS([ext/date], [php_date.h lib/timelib.h lib/timelib_structs.h lib/timelib_config.h]) cat > $ext_builddir/lib/timelib_config.h <<EOF diff --git a/ext/date/lib/timelib_structs.h b/ext/date/lib/timelib_structs.h index a32d9f6f0f..7a46c6573c 100644 --- a/ext/date/lib/timelib_structs.h +++ b/ext/date/lib/timelib_structs.h @@ -21,7 +21,7 @@ #ifndef __TIMELIB_STRUCTS_H__ #define __TIMELIB_STRUCTS_H__ -#include "timelib_config.h" +#include <timelib_config.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> |