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:
Anil Madhavapeddy 2002-06-28 16:47:36 +00:00
parent 1f6cadcd28
commit ed6b43582e

View File

@ -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