bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH] Fix configure script when --without-fallbacks is passed


From: Tomáš Čech
Subject: [PATCH] Fix configure script when --without-fallbacks is passed
Date: Tue, 20 Oct 2015 17:34:51 +0200

Passing `--without-fallbacks' set variable $with_fallbacks to `no' and
FALLBACK_LIST is set to this value. Fix it.

Signed-off-by: Tomáš Čech <address@hidden>
---
 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index b097064..9aca64f 100644
--- a/configure.in
+++ b/configure.in
@@ -566,7 +566,7 @@ AC_ARG_WITH(fallbacks,
        [with_fallback=$withval],
        [with_fallback=])
 AC_MSG_RESULT($with_fallback)
-FALLBACK_LIST=`echo "$with_fallback" | sed -e 's/,/ /g'`
+FALLBACK_LIST=`test "$with_fallback" != no && echo "$with_fallback" | sed -e 
's/,/ /g'`
 AC_SUBST(FALLBACK_LIST)
 
 AC_MSG_CHECKING(if you want modern xterm or antique)
-- 
2.6.0




reply via email to

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