From: Jani Taskinen Date: Fri, 3 Aug 2007 10:45:23 +0000 (+0000) Subject: - Hopefully this fixes the "test: argument expected" error on solaris.. X-Git-Tag: php-5.2.4RC2~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82559ff7e51424ec37780006f1c03735f59ea445;p=php - Hopefully this fixes the "test: argument expected" error on solaris.. --- diff --git a/acinclude.m4 b/acinclude.m4 index 52fd0363fd..0487728269 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2708,7 +2708,7 @@ AC_DEFUN([PHP_CHECK_CONFIGURE_OPTIONS],[ esac fi is_arg_set=php_[]`echo [$]arg_name | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ-' 'abcdefghijklmnopqrstuvwxyz_'` - if eval test -z "\$$is_arg_set"; then + if eval test "x\$$is_arg_set" = "x"; then PHP_UNKNOWN_CONFIGURE_OPTIONS="$PHP_UNKNOWN_CONFIGURE_OPTIONS [$]arg" fi