cvs: php4 /ext/cpdf config.m4
| From: | Jani Taskinen | Date: | Wed, 30 Apr 2003 10:22:57 +0000 |
| Subject: | cvs: php4 /ext/cpdf config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20599@lists.php.net to get a copy of this message | ||
sniper Wed Apr 30 06:22:57 2003 EDT
Modified files:
/php4/ext/cpdf config.m4
Log:
Add some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de>
Index: php4/ext/cpdf/config.m4
diff -u php4/ext/cpdf/config.m4:1.12 php4/ext/cpdf/config.m4:1.13
--- php4/ext/cpdf/config.m4:1.12 Tue Dec 10 16:53:02 2002
+++ php4/ext/cpdf/config.m4 Wed Apr 30 06:22:56 2003
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.12 2002/12/10 21:53:02 helly Exp $
+dnl $Id: config.m4,v 1.13 2003/04/30 10:22:56 sniper Exp $
AC_DEFUN(CPDF_TEMP_SUBST,[
old_LIBS=$LIBS
@@ -11,7 +11,7 @@
AC_ARG_WITH(jpeg-dir,
[ --with-jpeg-dir[=DIR] CPDF: Set the path to libjpeg install prefix.],[
for i in $withval /usr/local /usr; do
- if test -f $i/lib/libjpeg.$SHLIB_SUFFIX_NAME -o -f $i/lib/libjpeg.a; then
+ if test -f "$i/lib/libjpeg.$SHLIB_SUFFIX_NAME" -o -f
"$i/lib/libjpeg.a"; then
CPDF_JPEG_DIR=$i
break;
fi
@@ -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)
@@ -36,7 +36,7 @@
AC_ARG_WITH(tiff-dir,
[ --with-tiff-dir[=DIR] CPDF: Set the path to libtiff install prefix.],[
for i in $withval /usr/local /usr; do
- if test -f $i/lib/libtiff.$SHLIB_SUFFIX_NAME -o -f $i/lib/libtiff.a; then
+ if test -f "$i/lib/libtiff.$SHLIB_SUFFIX_NAME" -o -f
"$i/lib/libtiff.a"; then
CPDF_TIFF_DIR=$i
break;
fi
@@ -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)
@@ -68,7 +68,7 @@
CPDF_JPEG_TEST
CPDF_TIFF_TEST
for i in $withval /usr /usr/local; do
- if test -f $i/include/cpdflib.h; then
+ if test -f "$i/include/cpdflib.h"; then
CPDFLIB_INCLUDE=$i/include
AC_MSG_CHECKING(for cpdflib.h)
AC_MSG_RESULT([in $i/include])