X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=configure.in;h=b09f46baf07e00cd6a429338d4a1814da63aa2c3;hb=d7a04a4e113b3d08aa0fde66ee658b7abe02e714;hp=0591642939b1222a6856272b84812a40560ce6e9;hpb=9c567e5bb78debf56e2e2c1644f252de58a80d50;p=pkg%2Fabook.git diff --git a/configure.in b/configure.in index 0591642..b09f46b 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl abook configure.in AC_INIT(abook.c) -AM_INIT_AUTOMAKE(abook, 0.4.16-cvs) +AM_INIT_AUTOMAKE(abook, 2002-03-11) AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST @@ -46,6 +46,12 @@ dnl -------------------------- dnl end of (n)curses detection dnl -------------------------- +AC_LIB_READLINE + +if test x$ac_cv_lib_readline = xno -o x$ac_cv_lib_readline_history = xno; then + AC_MSG_ERROR([*** readline library not found or it doesn't support history ***]) +fi + AC_CHECK_FUNCS(resizeterm) AC_CHECK_FUNC(snprintf, [AC_DEFINE(HAVE_SNPRINTF)],)