1// $Id$ 2// vim:ft=javascript 3 4EXTENSION("date", "php_date.c", false, "-Iext/date/lib"); 5ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date"); 6AC_DEFINE('HAVE_DATE', 1, 'Have date/time support'); 7 8ADD_FLAG('CFLAGS_DATE', "/wd4244"); 9 10var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true); 11tl_config.WriteLine("#include \"config.w32.h\""); 12tl_config.Close(); 13 14PHP_INSTALL_HEADERS("ext/date/", "php_date.h lib/timelib.h lib/timelib_structs.h lib/timelib_config.h"); 15