mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* configure.ac: Check for readline.
* signal.c (got_fatal_signal): Do readline cleanup. Print signal number if we can't print the name. Use new autoconf macro HAVE_DECL_SYS_SIGLIST. (get_signal_name): Removed. * ttyio.c (tty_get): Add readline support.
This commit is contained in:
parent
87e3264f77
commit
bfc45cc8bc
7 changed files with 93 additions and 17 deletions
|
@ -706,6 +706,7 @@ dnl Checks for header files.
|
|||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(unistd.h langinfo.h termio.h locale.h getopt.h)
|
||||
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
|
@ -1083,6 +1084,11 @@ if test "$card_support" = yes; then
|
|||
fi
|
||||
AC_SUBST(LIBUSB_LIBS)
|
||||
|
||||
#
|
||||
# Check for readline support
|
||||
#
|
||||
AC_CHECK_LIB(readline, add_history)
|
||||
AC_CHECK_HEADERS([readline/readline.h])
|
||||
|
||||
|
||||
# Allow users to append something to the version string without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue