aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
commitda83b6857bf0a67b15fc75d31a0b6802ac9baffe (patch)
tree399e9f1ec800b5405f9b494060481a8420480caf /m4
parente149eb882355f427d43928324145c971a0562c5e (diff)
parent8aa14c5f3cf78f90b589785a9ffe5f7f02050b37 (diff)
downloadegawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.gz
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.bz2
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.zip
Merge branch 'master' into comment
Diffstat (limited to 'm4')
-rw-r--r--m4/ChangeLog8
-rw-r--r--m4/readline.m46
2 files changed, 14 insertions, 0 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog
index 59ddc228..3996eb53 100644
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -1,3 +1,11 @@
+2013-08-29 Arnold D. Robbins <arnold@skeeve.com>
+
+ * readline.m4: Add additional code to check for history_list()
+ function. Patterned after checks in:
+ http://ftp.samba.org/pub/unpacked/samba_3_current/source4/lib/smbreadline/readline.m4
+ Thanks to Larry Baker (larry.baker@stanfordalumni.org) for the
+ pointer.
+
2013-05-09 Arnold D. Robbins <arnold@skeeve.com>
* 4.1.0: Release tar ball made.
diff --git a/m4/readline.m4 b/m4/readline.m4
index 76605af8..f24e95bf 100644
--- a/m4/readline.m4
+++ b/m4/readline.m4
@@ -72,6 +72,12 @@ dnl action if cross compiling:
AC_DEFINE(HAVE_LIBREADLINE,1,
[Define to 1 if you have a fully functional readline library.])
AC_SUBST(LIBREADLINE,$_combo)
+
+ AC_CHECK_LIB(readline, history_list,
+ [AC_DEFINE(HAVE_HISTORY_LIST, 1, [Do we have history_list?])],
+ [],
+ [$_combo])
+
break
fi
done