diff options
Diffstat (limited to 'ext/pdf/config.m4')
| -rw-r--r-- | ext/pdf/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdf/config.m4 b/ext/pdf/config.m4 index c1da40cc04..ebf13b6afc 100644 --- a/ext/pdf/config.m4 +++ b/ext/pdf/config.m4 @@ -13,7 +13,7 @@ if test "$PHP_PDFLIB" != "no"; then PHP_SUBST(PDFLIB_SHARED_LIBADD) PHP_EXTENSION(pdf, $ext_shared) - case "$PHP_PDFLIB" in + case $PHP_PDFLIB in yes) AC_CHECK_LIB(pdf, PDF_show_boxed, [ AC_DEFINE(HAVE_PDFLIB,1,[ ]) @@ -30,7 +30,7 @@ if test "$PHP_PDFLIB" != "no"; then PHP_ADD_LIBRARY(z,, PDFLIB_SHARED_LIBADD) ;; *) - test -f $PHP_PDFLIB/include/pdflib.h && PDFLIB_INCLUDE="$PHP_PDFLIB/include" + test -f $PHP_PDFLIB/include/pdflib.h && PDFLIB_INCLUDE=$PHP_PDFLIB/include if test -n "$PDFLIB_INCLUDE" ; then if test "$PHP_ZLIB" = "no"; then |
