[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"test: argument expected" fix

From: Larry Jones
Subject: "test: argument expected" fix
Date: Sun, 2 Feb 2003 23:35:53 -0500 (EST)

Since 2.53, I've been getting "test: argument expected" errors on AIX
from generated configure scripts.  I finally got around to tracking down
the source and fixing it:

Index: lib/autoconf/general.m4
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/general.m4,v
retrieving revision 1.811
diff -u -r1.811 general.m4
--- lib/autoconf/general.m4     12 Nov 2002 10:54:46 -0000      1.811
+++ lib/autoconf/general.m4     3 Feb 2003 04:29:48 -0000
@@ -495,7 +495,7 @@
 dnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.
   _AS_ECHO_N([checking for prefix by ])
   AC_PATH_PROG(ac_prefix_program, [$1])
-  if test -n $ac_prefix_program; then
+  if test -n "$ac_prefix_program"; then

-Larry Jones

What a stupid world. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]