]> granicus.if.org Git - php/commitdiff
- Hopefully this fixes the "test: argument expected" error on solaris..
authorJani Taskinen <jani@php.net>
Fri, 3 Aug 2007 10:45:23 +0000 (10:45 +0000)
committerJani Taskinen <jani@php.net>
Fri, 3 Aug 2007 10:45:23 +0000 (10:45 +0000)
acinclude.m4

index 52fd0363fd1c8fe020aa4b919ee7cc6cd6acce7e..04877282693bd498b2512024471b37881ff338bd 100644 (file)
@@ -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