* configure.in: Fix quoting bugs.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 5 May 2012 10:34:06 +0000 (12:34 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 5 May 2012 10:34:06 +0000 (12:34 +0200)
ChangeLog
configure.in

index 7ed97f5..a30ecc1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-05  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * configure.in: Fix quoting bugs.
+
 2012-05-04  Glenn Morris  <rgm@gnu.org>
 
        * configure.in (INFO_EXT, INFO_OPTS): New output variables.
index 81e8765..5fe1432 100644 (file)
@@ -2919,7 +2919,7 @@ case "$opsys" in
   ##  option to use it.
   darwin) LIBS_TERMCAP="-lncurses" ;;
 
-  gnu*) [ "x$LIBS_TERMCAP" = x ] && LIBS_TERMCAP="-lncurses" ;;
+  gnu*) test -z "$LIBS_TERMCAP" && LIBS_TERMCAP="-lncurses" ;;
 
   freebsd)
     AC_MSG_CHECKING([whether FreeBSD is new enough to use terminfo])
@@ -2941,7 +2941,7 @@ fail;
     ;;
 
   netbsd)
-    if [ "x$LIBS_TERMCAP" != "x-lterminfo" ]; then
+    if test "x$LIBS_TERMCAP" != "x-lterminfo"; then
       TERMINFO=no
       LIBS_TERMCAP="-ltermcap"
     fi