[PATCH] Small fixes for ext/cpdf/config.m4

php.internals

(Michael Mauch)

23 years ago
Hi, ext/cpdf/config.m4 has two unquoted arguments for "test", these break configure under some circumstances (see <BAD2323D.2A3F4%ldg@ulysium.net> in php-install). Regards... Michael --- ext/cpdf/config.m4.orig Sat Jan 4 20:53:53 2003 +++ ext/cpdf/config.m4 Tue Apr 29 19:01:17 2003 @@ -23,7 +23,7 @@ LIBS="$LIBS -L$CPDF_JPEG_DIR/lib" ],) AC_CHECK_LIB(jpeg,jpeg_read_header, ,[AC_MSG_ERROR(Problem with libjpeg.(a|so). Please check config.log for more information.)],) - if test -z $CPDF_JPEG_DIR; then + if test -z "$CPDF_JPEG_DIR"; then PHP_ADD_LIBRARY(jpeg) else PHP_ADD_LIBRARY_WITH_PATH(jpeg, $CPDF_JPEG_DIR/lib) @@ -48,7 +48,7 @@ LIBS="$LIBS -L$CPDF_TIFF_DIR/lib" ],) AC_CHECK_LIB(tiff,TIFFOpen, ,[AC_MSG_ERROR(Problem with libtiff.(a|so). Please check config.log for more information.)],) - if test -z $CPDF_TIFF_DIR; then + if test -z "$CPDF_TIFF_DIR"; then PHP_ADD_LIBRARY(tiff) else PHP_ADD_LIBRARY_WITH_PATH(tiff, $CPDF_TIFF_DIR/lib)