X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=configure.in;h=342eb4180a7eeacd14ac49208af4b3e37f0b42b8;hp=c9d338563466de626f2dfd6bd8cd6247f786ff8a;hb=c066a043f79860daf37234db3509156a3fc9205f;hpb=febd96e724a673b84f5db8f48dfb71c805c7f5e6 diff --git a/configure.in b/configure.in index c9d3385..342eb41 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl YAZ Toolkit dnl (c) Index Data 1994-1998 dnl See the file LICENSE for details. -dnl $Id: configure.in,v 1.5 1998-11-09 13:39:46 adam Exp $ +dnl $Id: configure.in,v 1.6 1999-03-11 11:12:07 adam Exp $ AC_INIT(include/yaz-version.h) dnl dnl ------ Checking programs @@ -43,6 +43,13 @@ if test "$checkBoth" = "1"; then fi AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, main, [LIBS="$LIBS -lnsl"])) dnl +dnl ------ GNU Readline +AC_CHECK_LIB(readline, readline, [LIBS="$LIBS -lreadline"]) +AC_CHECK_LIB(history, add_history, [LIBS="$LIBS -lhistory"]) +if test "$ac_cv_lib_readline_readline" = "yes"; then + AC_CHECK_HEADERS(readline/readline.h readline/history.h) +fi +dnl dnl ------ Headers AC_STDC_HEADERS if test "$ac_cv_header_stdc" = "no"; then