]> granicus.if.org Git - php/commitdiff
remember the value of ext_shared passed into the --with-pdflib, since it
authorAnil Madhavapeddy <avsm@php.net>
Fri, 28 Jun 2002 16:47:36 +0000 (16:47 +0000)
committerAnil Madhavapeddy <avsm@php.net>
Fri, 28 Jun 2002 16:47:36 +0000 (16:47 +0000)
gets overwritten by future PHP_ARG_WITH checks in the same m4 fragment

from wilfried@openbsd.org

ext/pdf/config.m4

index a41bffb2351c9917b99fb8b1a40e818189c0cb36..3145d9b0e580d604fe386a1c35ac37bc67057a5f 100644 (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
+