cvs: /php4/ext/calendar config.m4
| From: | Sascha Schumann | Date: | Thu, 20 Apr 2000 15:13:59 +0000 |
| Subject: | cvs: /php4/ext/calendar config.m4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-13802@lists.php.net to get a copy of this message | ||
sas Thu Apr 20 08:13:59 2000 EDT
Modified files:
/php4/ext/calendar config.m4
Log:
New style
Index: php4/ext/calendar/config.m4
diff -u php4/ext/calendar/config.m4:1.2 php4/ext/calendar/config.m4:1.3
--- php4/ext/calendar/config.m4:1.2 Wed Apr 19 08:53:09 2000
+++ php4/ext/calendar/config.m4 Thu Apr 20 08:13:29 2000
@@ -1,14 +1,9 @@
-dnl $Id: config.m4,v 1.2 2000/04/19 15:53:09 andrei Exp $
+dnl $Id: config.m4,v 1.3 2000/04/20 15:13:29 sas Exp $
-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