Commit cc9a6fef authored by Thomas Roessler's avatar Thomas Roessler

Honor current values of $LIBS and $CPPFLAGS. From Thomas Dickey.

parent f2b0c160
...@@ -197,6 +197,7 @@ main () ...@@ -197,6 +197,7 @@ main ()
CPPFLAGS="$CPPFLAGS -I${mutt_cv_curses}/include" CPPFLAGS="$CPPFLAGS -I${mutt_cv_curses}/include"
fi]) fi])
AC_CHECK_FUNC(initscr,,[
cf_ncurses="ncurses" cf_ncurses="ncurses"
for lib in ncurses ncursesw for lib in ncurses ncursesw
do do
...@@ -215,6 +216,7 @@ main () ...@@ -215,6 +216,7 @@ main ()
fi], fi],
[CF_CURSES_LIBS]) [CF_CURSES_LIBS])
])
old_LIBS="$LIBS" old_LIBS="$LIBS"
LIBS="$LIBS $MUTTLIBS" LIBS="$LIBS $MUTTLIBS"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment