summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-12-03 23:54:10 +0000
committerfoobar <sniper@php.net>2001-12-03 23:54:10 +0000
commitc247b8081e9945b7b084ae4b6fac95aa373a80fb (patch)
tree21a0b4ec4ba45e297a052e479fd04623a0120ebe
parent7b03b7571bb934c6309e58675a3c89f55c3e41c9 (diff)
downloadphp-git-c247b8081e9945b7b084ae4b6fac95aa373a80fb.tar.gz
- Let's not default to any set of extra libraries. This way any kind of
builds of pdflib work. And this configure stays simple.
-rw-r--r--ext/pdf/config.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4
index c1398642b1..b59cae49fa 100644
--- a/ext/pdf/config.m4
+++ b/ext/pdf/config.m4
@@ -85,7 +85,7 @@ if test "$PHP_PDFLIB" != "no"; then
case $PHP_PDFLIB in
yes)
- PHP_CHECK_LIBRARY(pdf, PDF_show_boxed, [
+ AC_CHECK_LIB(pdf, PDF_show_boxed, [
AC_DEFINE(HAVE_PDFLIB,1,[ ])
PHP_ADD_LIBRARY(pdf,, PDFLIB_SHARED_LIBADD)
],[
@@ -94,8 +94,6 @@ PDFlib extension requires at least pdflib 3.x. You may also need libtiff, libjpe
Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
See config.log for more information.
])
- ],[
- -ltiff -ljpeg -lpng -lz
])
;;
*)