|
| 1 | +From 356304ff347445bf23c31b90279bb1656573a019 Mon Sep 17 00:00:00 2001 |
| 2 | + |
| 3 | +Date: Mon, 6 Oct 2025 17:02:34 +0800 |
| 4 | +Subject: [PATCH] BACKPORT: fix syntax error in configure.ac file |
| 5 | + |
| 6 | +https://github.com/troglobit/editline/commit/127d9958552b51c1a906b1781aa0ef2eb7bdb9b2 |
| 7 | +--- |
| 8 | + configure.ac | 9 +++++---- |
| 9 | + 1 file changed, 5 insertions(+), 4 deletions(-) |
| 10 | + |
| 11 | +diff --git a/configure.ac b/configure.ac |
| 12 | +index 6f5b032..6cb7958 100644 |
| 13 | +--- a/configure.ac |
| 14 | ++++ b/configure.ac |
| 15 | +@@ -5,7 +5,7 @@ AM_SILENT_RULES([yes]) |
| 16 | + |
| 17 | + AC_CONFIG_MACRO_DIR([m4]) |
| 18 | + AC_CONFIG_SRCDIR([src/editline.c]) |
| 19 | +-AC_CONFIG_HEADER([config.h]) |
| 20 | ++AC_CONFIG_HEADERS([config.h]) |
| 21 | + AC_CONFIG_FILES([Makefile libeditline.pc src/Makefile include/Makefile man/Makefile examples/Makefile]) |
| 22 | + |
| 23 | + # Checks for programs. |
| 24 | +@@ -18,7 +18,7 @@ LT_INIT |
| 25 | + # Checks for header files. |
| 26 | + AC_HEADER_DIRENT |
| 27 | + AC_HEADER_STAT |
| 28 | +-AC_HEADER_STDC |
| 29 | ++ |
| 30 | + # Check for malloc.h instead of AC_FUNC_MALLOC/REALLOC AIX and others |
| 31 | + # mess up the traditional malloc check. |
| 32 | + AC_CHECK_HEADERS([malloc.h signal.h stdlib.h string.h termcap.h termio.h termios.h sgtty.h unistd.h]) |
| 33 | +@@ -83,7 +83,7 @@ AS_IF([test "x$enable_terminal_bell" = "xyes"], |
| 34 | + AC_DEFINE(CONFIG_TERMINAL_BELL, 1, [Define to enable terminal bell on completion.])) |
| 35 | + |
| 36 | + # Check for a termcap compatible library if enabled |
| 37 | +-AS_IF([test "x$enable_termcap" = "xyes"], |
| 38 | ++AS_IF([test "x$enable_termcap" = "xyes"], [ |
| 39 | + AC_DEFINE(CONFIG_USE_TERMCAP, 1, [Define to use the termcap library for terminal size.]) |
| 40 | + AC_CHECK_LIB(terminfo, tgetent, , [ |
| 41 | + AC_CHECK_LIB(termcap, tgetent, , [ |
| 42 | +@@ -94,7 +94,8 @@ AS_IF([test "x$enable_termcap" = "xyes"], |
| 43 | + ]) |
| 44 | + ]) |
| 45 | + ]) |
| 46 | +- ])) |
| 47 | ++ ]) |
| 48 | ++ ]) |
| 49 | + |
| 50 | + # Generate all files |
| 51 | + AC_OUTPUT |
| 52 | +-- |
| 53 | +2.51.0 |
| 54 | + |
0 commit comments