summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-12-24 13:04:58 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-12-24 13:04:58 +0200
commit548860a1ea062487312538d31026c5801d294860 (patch)
tree3ad5ea46c7fa23753e294b235ea64f1fdf231078 /m4
parent831c04c9070dfd16d05f4f95a558a969ae70e835 (diff)
downloadgawk-548860a1ea062487312538d31026c5801d294860.tar.gz
Upgrade to Autoconf 3.68 and Bison 2.4.3. Make a dist.
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog4
-rw-r--r--m4/readline.m46
2 files changed, 8 insertions, 2 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index ae01e17a..bf65cfd3 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 24 13:00:26 2010 Arnold D. Robbins <arnold@skeeve.com>
+
+ * readline.m4: Updated to work with Autoconf 2.68.
+
2010-12-22 gettextize <bug-gnu-gettext@gnu.org>
* gettext.m4: Upgrade to gettext-0.18.1.
diff --git a/m4/readline.m4 b/m4/readline.m4
index d2523460..2d838afb 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -30,7 +30,9 @@ AC_DEFUN([GNUPG_CHECK_READLINE],
AC_MSG_CHECKING([whether readline via \"$_combo\" is present and sane])
- AC_LINK_IFELSE(AC_LANG_PROGRAM([
+ AC_LINK_IFELSE([
+ AC_LANG([C])
+ AC_LANG_PROGRAM([
#include <stdio.h>
#include <readline/readline.h>
#include <readline/history.h>
@@ -41,7 +43,7 @@ rl_catch_signals=0;
rl_inhibit_completion=0;
rl_attempted_completion_function=NULL;
rl_completion_matches(NULL,NULL);
-]),_found_readline=yes,_found_readline=no)
+]),_found_readline=yes,_found_readline=no])
AC_MSG_RESULT([$_found_readline])