mirror of
https://github.com/troglobit/editline.git
synced 2025-12-10 22:46:50 +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:
@@ -89,7 +89,7 @@ AS_IF([test "x$enable_terminal_bell" = "xyes"],
|
|||||||
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
|
AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes])
|
||||||
|
|
||||||
# Check for a termcap compatible library if enabled
|
# 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_DEFINE(CONFIG_USE_TERMCAP, 1, [Define to use the termcap library for terminal size.])
|
||||||
AC_CHECK_LIB(terminfo, tgetent, , [
|
AC_CHECK_LIB(terminfo, tgetent, , [
|
||||||
AC_CHECK_LIB(termcap, tgetent, , [
|
AC_CHECK_LIB(termcap, tgetent, , [
|
||||||
@@ -100,7 +100,7 @@ AS_IF([test "x$enable_termcap" = "xyes"],
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
]))
|
])])
|
||||||
|
|
||||||
# Generate all files
|
# Generate all files
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
Reference in New Issue
Block a user