[PATCH] ./config.status: test: =: unary operator expected
| From: | Melvyn Sopacua | Date: | Fri, 06 Sep 2002 15:51:25 +0000 |
| Subject: | [PATCH] ./config.status: test: =: unary operator expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-88012@lists.php.net to get a copy of this message | ||
Hi,
small fix, for when variables are not set:
Index: configure.in
===================================================================
RCS file: /repository/php4/configure.in,v
retrieving revision 1.371
diff -u -r1.371 configure.in
--- configure.in 4 Sep 2002 18:47:21 -0000 1.371
+++ configure.in 6 Sep 2002 15:50:24 -0000
@@ -1145,7 +1145,7 @@
dnl rm -f main/internal_functions.c.old
dnl fi
- if test $UNAME = "FreeBSD" && test $PHP_SAPI = "apache2filter"
&& test $TSRM_PTH != "pth-config" ; then
+ if test "$UNAME" = "FreeBSD" && test $PHP_SAPI =
"apache2filter" && test "$TSRM_PTH" != "pth-config" ; then
echo "+--------------------------------------------------------------------+"
echo "| *** WARNING *** |"
echo "| |"
--
Melvyn.