diff src/auto/configure @ 2700:7c46737918cb v7.3.117

updated for version 7.3.117 Problem: On some systems --as-needed does not work, because the "tinfo" library is included indirectly from "ncurses". (Charles Campbell) Solution: In configure prefer using "tinfo" instead of "ncurses".
author Bram Moolenaar <bram@vim.org>
date Wed, 09 Feb 2011 17:42:57 +0100
parents b803b2776880
children 820f12659c50
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -9886,9 +9886,9 @@ rm -f core conftest.err conftest.$ac_obj
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: empty: automatic terminal library selection" >&5
 $as_echo "empty: automatic terminal library selection" >&6; }
-              case "`uname -s 2>/dev/null`" in
-	OSF1|SCO_SV)	tlibs="ncurses curses termlib termcap";;
-	*)	tlibs="ncurses termlib termcap curses";;
+                case "`uname -s 2>/dev/null`" in
+	OSF1|SCO_SV)	tlibs="tinfo ncurses curses termlib termcap";;
+	*)	tlibs="tinfo ncurses termlib termcap curses";;
   esac
   for libname in $tlibs; do
     as_ac_Lib=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`