]> granicus.if.org Git - mutt/commitdiff
Honor current values of $LIBS and $CPPFLAGS. From Thomas Dickey.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 11 Feb 2002 09:59:43 +0000 (09:59 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 11 Feb 2002 09:59:43 +0000 (09:59 +0000)
configure.in

index 0603ca17617cb40c3b921b847a63e35147a09cc8..b61225ba655f0646cf8e8ded7fb081b96dfbdda3 100644 (file)
@@ -197,6 +197,7 @@ main ()
                         CPPFLAGS="$CPPFLAGS -I${mutt_cv_curses}/include"
                 fi])
 
+       AC_CHECK_FUNC(initscr,,[
        cf_ncurses="ncurses"
        for lib in ncurses ncursesw
        do
@@ -215,6 +216,7 @@ main ()
                fi],
 
                 [CF_CURSES_LIBS])
+               ])
 
         old_LIBS="$LIBS"
         LIBS="$LIBS $MUTTLIBS"