]> granicus.if.org Git - php/commitdiff
- Make it work with PDFLib 5 again (And the check for PDFLib 6 is gone).
authorDerick Rethans <derick@php.net>
Mon, 29 Nov 2004 09:13:39 +0000 (09:13 +0000)
committerDerick Rethans <derick@php.net>
Mon, 29 Nov 2004 09:13:39 +0000 (09:13 +0000)
ext/pdf/config.m4

index 484ef87d3920615b70638ac204a92e68ac9d8f25..3c8cee6596df78daef1d541aa43b61ca8bf5bf9c 100644 (file)
@@ -111,13 +111,6 @@ Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DI
 See config.log for more information.
 ])
       ])
-      AC_CHECK_LIB(pdf, PDF_load_font, [
-        AC_MSG_ERROR([
-This PDFlib extension only works up to PDFlib 4.0.x.
-For newer PDFlib version please use the PECL package:
-  pecl.php.net/packages/pdflib
-        ])
-      ],[])
     ;;
     *)
       if test -f "$PHP_PDFLIB/include/pdflib.h" ; then
@@ -136,13 +129,6 @@ See config.log for more information.
         ],[
           -L$PHP_PDFLIB/lib $PDF_SHARED_LIBADD
         ])
-        AC_CHECK_LIB(pdf, PDF_load_font, [
-          AC_MSG_ERROR([
-This PDFlib extension only works up to PDFlib 4.0.x.
-For newer PDFlib version please use the PECL package:
-  pecl.php.net/packages/pdflib
-        ])
-        ],[])
       else
         AC_MSG_ERROR([pdflib.h not found! Check the path passed to --with-pdflib=<PATH>. PATH should be the install prefix directory.])
       fi