summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-07-21 00:29:45 +0000
committerClint Adams <clint@users.sourceforge.net>2008-07-21 00:29:45 +0000
commitdd96cace750cfb6f90b4769c1cb9648bd895596a (patch)
tree692e9b02d32dcecabdd802898f8bc5c688c14a36 /configure.ac
parenta6d838f902aa6348db8565871507596fa3bbacc6 (diff)
downloadzsh-dd96cace750cfb6f90b4769c1cb9648bd895596a.tar.gz
zsh-dd96cace750cfb6f90b4769c1cb9648bd895596a.tar.xz
zsh-dd96cace750cfb6f90b4769c1cb9648bd895596a.zip
25318: allow parameter to be tied to a gdbm database.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c4b424389..c8ccee518 100644
--- a/configure.ac
+++ b/configure.ac
@@ -563,7 +563,7 @@ AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \
 		 utmp.h utmpx.h sys/types.h pwd.h grp.h poll.h sys/mman.h \
 		 netinet/in_systm.h pcre.h langinfo.h wchar.h stddef.h \
 		 sys/stropts.h iconv.h ncurses.h ncursesw/ncurses.h \
-		 ncurses/ncurses.h)
+		 ncurses/ncurses.h gdbm.h)
 if test x$dynamic = xyes; then
   AC_CHECK_HEADERS(dlfcn.h)
   AC_CHECK_HEADERS(dl.h)
@@ -834,6 +834,8 @@ elif test x$zsh_cv_decl_ospeed_must_define = xyes; then
   AC_DEFINE(MUST_DEFINE_OSPEED)
 fi
 
+AC_CHECK_LIB(gdbm, gdbm_open)
+
 dnl --------------
 dnl CHECK TYPEDEFS
 dnl --------------
@@ -1130,7 +1132,8 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
 	       wctomb iconv \
 	       grantpt unlockpt ptsname \
 	       htons ntohs \
-	       regcomp regexec regerror regfree)
+	       regcomp regexec regerror regfree \
+	       gdbm_open)
 AC_FUNC_STRCOLL
 
 if test x$enable_cap = xyes; then