mirror of
https://github.com/troglobit/editline.git
synced 2025-06-24 00:01:12 +08:00
Fix #75: autoreconf for autoconf v2.72
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
1eb7924d47
commit
127d995855
@ -5,7 +5,7 @@ AM_SILENT_RULES([yes])
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_SRCDIR([src/editline.c])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_FILES([Makefile libeditline.pc src/Makefile include/Makefile man/Makefile examples/Makefile])
|
||||
|
||||
# Checks for programs.
|
||||
@ -18,7 +18,7 @@ LT_INIT
|
||||
# Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
AC_HEADER_STAT
|
||||
AC_HEADER_STDC
|
||||
|
||||
# Check for malloc.h instead of AC_FUNC_MALLOC/REALLOC AIX and others
|
||||
# mess up the traditional malloc check.
|
||||
AC_CHECK_HEADERS([malloc.h signal.h stdlib.h string.h termcap.h termio.h termios.h sgtty.h unistd.h])
|
||||
@ -62,7 +62,7 @@ AC_ARG_ENABLE(termcap,
|
||||
AS_HELP_STRING([--enable-termcap], [Use termcap library to query terminal size.]))
|
||||
|
||||
AC_ARG_ENABLE([examples],
|
||||
[AC_HELP_STRING([--enable-examples], [Build examples/ directory])],
|
||||
[AS_HELP_STRING([--enable-examples], [Build examples/ directory])],
|
||||
[], [enable_examples=no])
|
||||
|
||||
#
|
||||
@ -100,7 +100,8 @@ AS_IF([test "x$enable_termcap" = "xyes"], [
|
||||
])
|
||||
])
|
||||
])
|
||||
])])
|
||||
])
|
||||
])
|
||||
|
||||
# Generate all files
|
||||
AC_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user