diff options
author | Rainer Schaaf <rjs@php.net> | 2004-11-13 23:42:08 +0000 |
---|---|---|
committer | Rainer Schaaf <rjs@php.net> | 2004-11-13 23:42:08 +0000 |
commit | 189654d882393eb134fc8b812961b5e93bd63e76 (patch) | |
tree | 9abb4f61fee2ccbdb742426473333225487b1903 | |
parent | 4ac12414261adc44d3279b9be0e5a543ee893ea4 (diff) | |
download | php-git-189654d882393eb134fc8b812961b5e93bd63e76.tar.gz |
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.
-rw-r--r-- | ext/pdf/config.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4 index 3c8cee6596..484ef87d39 100644 --- a/ext/pdf/config.m4 +++ b/ext/pdf/config.m4 @@ -111,6 +111,13 @@ 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 @@ -129,6 +136,13 @@ 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 |