X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.in;h=eafe5151f42a9f6747e4701bd17a3e5c8247f3bb;hp=6d22bddab796a064f07bf8ebf5472f18fc34e795;hb=a9d22903ab440da5d0b4d994d9de49ff2cf663d4;hpb=9ad7a458e335c2738f54335f64902604287b547f diff --git a/configure.in b/configure.in index 6d22bdd..eafe515 100644 --- a/configure.in +++ b/configure.in @@ -246,7 +246,7 @@ main () AC_CHECK_FUNC(initscr,,[ cf_ncurses="ncurses" - for lib in ncurses ncursesw + for lib in ncursesw ncurses do AC_CHECK_LIB($lib, waddnwstr, [cf_ncurses="$lib"; break]) done @@ -892,7 +892,7 @@ AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]) break ]) done - test x$ac_dbcreate = xyes && break + test x$ac_cv_dbcreate = xyes && break fi fi done @@ -918,7 +918,7 @@ AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache], [Enable header caching]) LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$BDB_LIB" AC_DEFINE(HAVE_DB4, 1, [Sleepycat DB4 Support]) else - AC_MSG_ERROR(You need QDBM, GDBM or Sleepycat DB4 for --enable-hcache) + AC_MSG_ERROR([You need one of: QDBM, GDBM or Sleepycat DB4 for --enable-hcache]) fi fi]) dnl -- end cache --