From 393c9290adc27e6d85b780c2434f51f95ea6df5b Mon Sep 17 00:00:00 2001 From: David Levine Date: Thu, 22 Mar 2012 19:40:17 -0500 Subject: [PATCH 1/1] Moved NMH_READLINE to after our setting of CFLAGS, because AC_SEARCH_LIBS messes with them. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]) -- 1.7.10.4