]> git.pond.sub.org Git - empserver/commitdiff
m4: Make MY_WITH_TERMINFO consistent with MY_WITH_READLINE
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Dec 2015 20:36:38 +0000 (21:36 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 09:22:29 +0000 (11:22 +0200)
Tweak help text and failure message.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
m4/my_terminfo.m4

index 844bda3e5bf0402d4161c7ffa15a8ede09b1d5e5..f4d33bdfef0335d2782572ad99eebc5c2887ce5a 100644 (file)
@@ -14,11 +14,11 @@ AC_DEFUN([MY_WITH_TERMINFO],
 [
        AC_ARG_WITH([terminfo],
                AS_HELP_STRING([--with-terminfo],
 [
        AC_ARG_WITH([terminfo],
                AS_HELP_STRING([--with-terminfo],
-                       [use terminfo for highlighting (default check)]))
+                       [use terminfo for highlighting @<:@default check@:>@]))
        if test "x$with_terminfo" != xno; then
                MY_CURSES_TERMINFO
                if test "$have_terminfo$with_terminfo" = noyes
        if test "x$with_terminfo" != xno; then
                MY_CURSES_TERMINFO
                if test "$have_terminfo$with_terminfo" = noyes
-               then AC_MSG_FAILURE([Can't satisfy --with-terminfo])
+               then AC_MSG_FAILURE([--with-terminfo was given, but test for terminfo failed])
                fi
                with_terminfo="$have_terminfo"
        fi
                fi
                with_terminfo="$have_terminfo"
        fi