rjs Sat Nov 13 18:42:08 2004 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/pdf config.m4 Log: fixed Bug #29297 Configure now only allows to work with PDFlib up to PDFlib 4, as newer PDFlib versions need the code from the PDFlib PECL module. http://cvs.php.net/diff.php/php-src/ext/pdf/config.m4?r1=1.35.2.4&r2=1.35.2.5&ty=u Index: php-src/ext/pdf/config.m4 diff -u php-src/ext/pdf/config.m4:1.35.2.4 php-src/ext/pdf/config.m4:1.35.2.5 --- php-src/ext/pdf/config.m4:1.35.2.4 Mon Sep 13 13:12:13 2004 +++ php-src/ext/pdf/config.m4 Sat Nov 13 18:42:08 2004 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.35.2.4 2004/09/13 17:12:13 rjs Exp $ +dnl $Id: config.m4,v 1.35.2.5 2004/11/13 23:42:08 rjs Exp $ dnl PHP_ARG_WITH(pdflib,for PDFlib support, @@ -111,6 +111,13 @@ 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 @@ -129,6 +136,13 @@ ],[ -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
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php