summaryrefslogtreecommitdiff
path: root/ext/cpdf
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-03-12 16:53:19 +0000
committerSascha Schumann <sas@php.net>2002-03-12 16:53:19 +0000
commit283b860c588726231efd4c4f1a2a4e65cac18eae (patch)
tree3ef8d8eb62014ee243275d98372aef1180949a3e /ext/cpdf
parent06473e08a525543b30259b55841621b3f8b6eea7 (diff)
downloadphp-git-283b860c588726231efd4c4f1a2a4e65cac18eae.tar.gz
php_new_extension
Diffstat (limited to 'ext/cpdf')
-rw-r--r--ext/cpdf/Makefile.in5
-rw-r--r--ext/cpdf/config.m44
2 files changed, 2 insertions, 7 deletions
diff --git a/ext/cpdf/Makefile.in b/ext/cpdf/Makefile.in
deleted file mode 100644
index 7a74ccdba5..0000000000
--- a/ext/cpdf/Makefile.in
+++ /dev/null
@@ -1,5 +0,0 @@
-
-LTLIBRARY_NAME = libcpdf.la
-LTLIBRARY_SOURCES = cpdf.c
-
-include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/cpdf/config.m4 b/ext/cpdf/config.m4
index 4a0bec453d..fb6dc71931 100644
--- a/ext/cpdf/config.m4
+++ b/ext/cpdf/config.m4
@@ -9,7 +9,7 @@ AC_ARG_WITH(cpdflib,
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 @@ AC_ARG_WITH(cpdflib,
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