summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-04-20 15:13:29 +0000
committerSascha Schumann <sas@php.net>2000-04-20 15:13:29 +0000
commitdec71471df45521cc689c3204e466742ea4081b0 (patch)
tree8c21559cd989b8e2aa4bc4f44c5e9501a8b341a7
parente223693d0c3445e914fd62ef362b224a5b2988c9 (diff)
downloadphp-git-dec71471df45521cc689c3204e466742ea4081b0.tar.gz
New style
-rw-r--r--ext/calendar/config.m419
1 files changed, 7 insertions, 12 deletions
diff --git a/ext/calendar/config.m4 b/ext/calendar/config.m4
index 467f005fc5..a9798a385f 100644
--- a/ext/calendar/config.m4
+++ b/ext/calendar/config.m4
@@ -1,14 +1,9 @@
dnl $Id$
-AC_MSG_CHECKING(whether to enable calendar conversion support)
-AC_ARG_ENABLE(calendar,
-[ --enable-calendar Enable support for calendar conversion],
- if test "$withval" = "yes"; then
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_CALENDAR,1,[ ])
- PHP_EXTENSION(calendar)
- fi
-[
-],[
- AC_MSG_RESULT(no)
-])
+PHP_ARG_ENABLE(calendar,whether to enable calendar conversion support,
+[ --enable-calendar Enable support for calendar conversion])
+
+if test "$PHP_CALENDAR" = "yes"; then
+ AC_DEFINE(HAVE_CALENDAR,1,[ ])
+ PHP_EXTENSION(calendar)
+fi