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
],[
-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