cvs: php4 /ext/cpdf Makefile.in config.m4
| From: | Sascha Schumann | Date: | Tue, 12 Mar 2002 16:52:54 +0000 |
| Subject: | cvs: php4 /ext/cpdf Makefile.in config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10036@lists.php.net to get a copy of this message | ||
sas Tue Mar 12 11:52:54 2002 EDT
Removed files:
/php4/ext/cpdf Makefile.in
Modified files:
/php4/ext/cpdf config.m4
Log:
php_new_extension
Index: php4/ext/cpdf/config.m4
diff -u php4/ext/cpdf/config.m4:1.8 php4/ext/cpdf/config.m4:1.9
--- php4/ext/cpdf/config.m4:1.8 Fri Nov 30 13:59:27 2001
+++ php4/ext/cpdf/config.m4 Tue Mar 12 11:52:54 2002
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.8 2001/11/30 18:59:27 sniper Exp $
+dnl $Id: config.m4,v 1.9 2002/03/12 16:52:54 sas Exp $
AC_MSG_CHECKING(for cpdflib support)
AC_ARG_WITH(cpdflib,
@@ -9,7 +9,7 @@
AC_MSG_RESULT(no) ;;
yes)
AC_MSG_RESULT(yes)
- PHP_EXTENSION(cpdf)
+ PHP_NEW_EXTENSION(cpdf, cpdf.c)
AC_CHECK_LIB(cpdf, cpdf_open, [AC_DEFINE(HAVE_CPDFLIB,1,[Whether you have cpdflib])],
[AC_MSG_ERROR([Cpdf module requires cpdflib >= 2.])])
PHP_ADD_LIBRARY(cpdf)
@@ -20,7 +20,7 @@
test -f $withval/include/cpdflib.h && CPDFLIB_INCLUDE=$withval/include
if test -n "$CPDFLIB_INCLUDE" ; then
AC_MSG_RESULT(yes)
- PHP_EXTENSION(cpdf)
+ PHP_EXTENSION(cpdf, cpdf.c)
old_LIBS=$LIBS
old_withval=$withval