[php-src] master: date: Add new timelib/duration.c source file to autoconf (#23077)

From: Date: Thu, 06 Aug 2026 14:26:03 +0000
Subject: [php-src] master: date: Add new timelib/duration.c source file to autoconf (#23077)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-140512@lists.php.net to get a copy of this message
Author: Tim Düsterhus (TimWolla) Committer: GitHub (web-flow) Pusher: TimWolla Date: 2026-08-06T16:26:00+02:00 Commit: https://github.com/php/php-src/commit/054b24f5c4378d274089f4a00ddc65a0b46d08fb Raw diff: https://github.com/php/php-src/commit/054b24f5c4378d274089f4a00ddc65a0b46d08fb.diff date: Add new timelib/duration.c source file to autoconf (#23077) Following php/php-src#23063. Changed paths: M ext/date/config.w32 M ext/date/config0.m4 Diff: diff --git a/ext/date/config.w32 b/ext/date/config.w32 index 150fb1498f35..78cca036d380 100644 --- a/ext/date/config.w32 +++ b/ext/date/config.w32 @@ -2,7 +2,7 @@ EXTENSION("date", "php_date.c", false, "/Iext/date/lib /DHAVE_TIMELIB_CONFIG_H=1"); PHP_DATE = "yes"; -ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_posix.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date"); +ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c duration.c parse_date.c parse_posix.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date"); ADD_FLAG('CFLAGS_DATE', "/wd4244"); diff --git a/ext/date/config0.m4 b/ext/date/config0.m4 index 5018f258ab2a..4853882465e0 100644 --- a/ext/date/config0.m4 +++ b/ext/date/config0.m4 @@ -14,7 +14,7 @@ PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -I@ext_builddir@/lib" AX_CHECK_COMPILE_FLAG([-fwrapv], [PHP_TIMELIB_CFLAGS="$PHP_TIMELIB_CFLAGS -fwrapv"]) -timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c +timelib_sources="lib/astro.c lib/dow.c lib/duration.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c" PHP_NEW_EXTENSION([date],

« previous php.cvs (#140512) next »