summaryrefslogtreecommitdiff
path: root/m4/readline.m4
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-11-17 12:28:10 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2020-11-17 12:36:14 +0900
commit41d753e21eaae3e4332e841de2f40e7055f2a68c (patch)
tree94687b963eb5a3625f11a54694bf6e133f8edfa6 /m4/readline.m4
parent4764c5a3a4d704b3b42bafc5eba3996579030703 (diff)
downloadlibgpg-error-41d753e21eaae3e4332e841de2f40e7055f2a68c.tar.gz
build: Update to new autoconf constructs.
* configure.ac Replace AC_GNU_SOURCE to Use AC_USE_SYSTEM_EXTENSIONS. Replace AC_HELP_STRING to AS_HELP_STRING. * m4/estream.m4: Replace AC_TRY_LINK to AC_LINK_IFELSE. * m4/gnupg-misc.m4: Replace AC_TRY_COMPILE to AC_COMPILE_IFELSE. * m4/libtool.m4: Use AC_LANG_PUSH/AC_LANG_POP instead of AC_LANG_SAVE/AC_LANG_RESTORE. * m4/readline.m4: Replace AC_HELP_STRING to AS_HELP_STRING. Fix quote for _combo. * m4/threadlib.m4: Replace AC_HELP_STRING to AS_HELP_STRING. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'm4/readline.m4')
-rw-r--r--m4/readline.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/readline.m4 b/m4/readline.m4
index 0c9619d..2ffbc7b 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -14,7 +14,7 @@ dnl found, and sets @LIBREADLINE@ to the necessary libraries.
AC_DEFUN([GNUPG_CHECK_READLINE],
[
AC_ARG_WITH(readline,
- AC_HELP_STRING([--with-readline=DIR],
+ AS_HELP_STRING([--with-readline=DIR],
[look for the readline library in DIR]),
[_do_readline=$withval],[_do_readline=yes])
@@ -30,7 +30,7 @@ AC_DEFUN([GNUPG_CHECK_READLINE],
_combo="-lreadline${_termcap:+ $_termcap}"
LIBS="$LIBS $_combo"
- AC_MSG_CHECKING([whether readline via \"$_combo\" is present and sane])
+ AC_MSG_CHECKING([whether readline via "$_combo" is present and sane])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h>