mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
remember the value of ext_shared passed into the --with-pdflib, since it
gets overwritten by future PHP_ARG_WITH checks in the same m4 fragment from wilfried@openbsd.org
This commit is contained in:
parent
1f6cadcd28
commit
ed6b43582e
@ -4,6 +4,7 @@ dnl
|
||||
|
||||
PHP_ARG_WITH(pdflib,for PDFlib support,
|
||||
[ --with-pdflib[=DIR] Include PDFlib support.])
|
||||
remember_ext_shared=$ext_shared
|
||||
|
||||
if test "$PHP_PDFLIB" != "no"; then
|
||||
|
||||
@ -86,6 +87,7 @@ if test "$PHP_PDFLIB" != "no"; then
|
||||
dnl # The main PDFlib configure
|
||||
dnl #
|
||||
|
||||
ext_shared=$remember_ext_shared
|
||||
case $PHP_PDFLIB in
|
||||
yes)
|
||||
AC_CHECK_LIB(pdf, PDF_show_boxed, [
|
||||
@ -122,3 +124,4 @@ See config.log for more information.
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user