cvs: php4(PHP_4_2_0) /ext/mcal config.m4
| From: | Jani Taskinen | Date: | Mon, 24 Jun 2002 11:37:15 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/mcal config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12496@lists.php.net to get a copy of this message | ||
sniper Mon Jun 24 07:37:15 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/mcal config.m4
Log:
Fix the shared build properly.
Index: php4/ext/mcal/config.m4
diff -u php4/ext/mcal/config.m4:1.11.2.2 php4/ext/mcal/config.m4:1.11.2.3
--- php4/ext/mcal/config.m4:1.11.2.2 Mon Jun 24 04:44:41 2002
+++ php4/ext/mcal/config.m4 Mon Jun 24 07:37:15 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.11.2.2 2002/06/24 08:44:41 derick Exp $
+dnl $Id: config.m4,v 1.11.2.3 2002/06/24 11:37:15 sniper Exp $
dnl
PHP_ARG_WITH(mcal,for MCAL support,
@@ -42,7 +42,8 @@
fi
PHP_ADD_INCLUDE($MCAL_INCLUDE)
- PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD)
+ PHP_ADD_LIBPATH($MCAL_LIBRARY,MCAL_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_DEFER(mcal,[],MCAL_SHARED_LIBADD)
PHP_SUBST(MCAL_SHARED_LIBADD)
AC_DEFINE(HAVE_MCAL,1,[ ])
PHP_EXTENSION(mcal,$ext_shared)