Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1110 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41708 invoked by uid 1007); 29 Apr 2003 17:31:47 -0000 To: internals@lists.php.net Message-ID: Organization: no Summary: Keywords: User-Agent: tin/1.5.16-20030125 ("Bubbles") (UNIX) (Linux/2.4.21-pre7 (i686)) Date: Tue, 29 Apr 2003 19:09:35 +0200 X-Posted-By: 80.142.35.57 Subject: [PATCH] Small fixes for ext/cpdf/config.m4 From: michael.mauch@gmx.de ((Michael Mauch)) Hi, ext/cpdf/config.m4 has two unquoted arguments for "test", these break configure under some circumstances (see 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)