From c247b8081e9945b7b084ae4b6fac95aa373a80fb Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 3 Dec 2001 23:54:10 +0000 Subject: [PATCH] - Let's not default to any set of extra libraries. This way any kind of builds of pdflib work. And this configure stays simple. --- ext/pdf/config.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4 index c1398642b1c..b59cae49fa9 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=, --with-jpeg-dir=, --with-png-dir= and --with-zlib-dir= See config.log for more information. ]) - ],[ - -ltiff -ljpeg -lpng -lz ]) ;; *)