mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Let's not default to any set of extra libraries. This way any kind of
builds of pdflib work. And this configure stays simple.
This commit is contained in:
parent
7b03b7571b
commit
c247b8081e
1 changed files with 1 additions and 3 deletions
|
@ -85,7 +85,7 @@ if test "$PHP_PDFLIB" != "no"; then
|
||||||
|
|
||||||
case $PHP_PDFLIB in
|
case $PHP_PDFLIB in
|
||||||
yes)
|
yes)
|
||||||
PHP_CHECK_LIBRARY(pdf, PDF_show_boxed, [
|
AC_CHECK_LIB(pdf, PDF_show_boxed, [
|
||||||
AC_DEFINE(HAVE_PDFLIB,1,[ ])
|
AC_DEFINE(HAVE_PDFLIB,1,[ ])
|
||||||
PHP_ADD_LIBRARY(pdf,, PDFLIB_SHARED_LIBADD)
|
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=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
|
Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
|
||||||
See config.log for more information.
|
See config.log for more information.
|
||||||
])
|
])
|
||||||
],[
|
|
||||||
-ltiff -ljpeg -lpng -lz
|
|
||||||
])
|
])
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue