xref: /php-src/ext/calendar/config.m4 (revision f66feaec)
1PHP_ARG_ENABLE([calendar],
2  [whether to enable calendar conversion support],
3  [AS_HELP_STRING([--enable-calendar],
4    [Enable support for calendar conversion])])
5
6if test "$PHP_CALENDAR" = "yes"; then
7  AC_DEFINE([HAVE_CALENDAR], [1],
8    [Define to 1 if the PHP extension 'calendar' is available.])
9  PHP_NEW_EXTENSION([calendar],
10    [calendar.c dow.c french.c gregor.c jewish.c julian.c easter.c cal_unix.c],
11    [$ext_shared])
12fi
13