From: David Levine Date: Fri, 23 Mar 2012 00:40:17 +0000 (-0500) Subject: Moved NMH_READLINE to after our setting of CFLAGS, because X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=393c9290adc27e6d85b780c2434f51f95ea6df5b;p=mmh Moved NMH_READLINE to after our setting of CFLAGS, because AC_SEARCH_LIBS messes with them. --- diff --git a/configure.ac b/configure.ac index d7268ab..49221ff 100644 --- a/configure.ac +++ b/configure.ac @@ -113,8 +113,6 @@ AS_IF([test x"$with_mts" = x"smtp"], [MTS="smtp"], [MTS="smtp"]) AC_SUBST([MTS])dnl -NMH_READLINE - dnl What should be the default pager? AC_ARG_WITH([pager], AS_HELP_STRING([--with-pager=PAGER],[specify the default pager])) @@ -431,6 +429,8 @@ AC_CHECK_FUNC([modf], , AC_CHECK_LIB([m], [modf])) dnl Checks for network libraries (nsl, socket) NMH_CHECK_NETLIBS +NMH_READLINE + termcap_curses_order="termcap curses ncurses" for lib in $termcap_curses_order; do AC_CHECK_LIB(${lib}, tgetent, [TERMLIB="-l$lib"; break])