mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00
configure.ac: fix autoconf-2.72
compatibility
`autoconf-2.72` slightly changed `AS_IF`/`AC_CHECL_LIB` definitions and exposed the bug of missng quoting around the arguments: editline> ./configure: line 13944: syntax error near unexpected token `;;' editline> ./configure: line 13944: ` ;;' The change adds quoting as suggested by https://savannah.gnu.org/support/index.php?110990
This commit is contained in:
parent
7633fbceee
commit
f444a316f5
@ -89,7 +89,7 @@ AS_IF([test "x$enable_terminal_bell" = "xyes"],
|
||||
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
|
||||
|
||||
# Check for a termcap compatible library if enabled
|
||||
AS_IF([test "x$enable_termcap" = "xyes"],
|
||||
AS_IF([test "x$enable_termcap" = "xyes"], [
|
||||
AC_DEFINE(CONFIG_USE_TERMCAP, 1, [Define to use the termcap library for terminal size.])
|
||||
AC_CHECK_LIB(terminfo, tgetent, , [
|
||||
AC_CHECK_LIB(termcap, tgetent, , [
|
||||
@ -100,7 +100,7 @@ AS_IF([test "x$enable_termcap" = "xyes"],
|
||||
])
|
||||
])
|
||||
])
|
||||
]))
|
||||
])])
|
||||
|
||||
# Generate all files
|
||||
AC_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user