summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 73269e808a..badbf40bc4 100755
--- a/configure
+++ b/configure
@@ -3060,10 +3060,10 @@ echores "$_sol_scsi_h"
echocheck "termcap"
if test "$_termcap" = auto ; then
cat > $TMPC <<EOF
-int main(void) { return 0; }
+int main(void) { tgetent(); return 0; }
EOF
_termcap=no
- for _ld_tmp in "-ltermcap" "-ltinfo" ; do
+ for _ld_tmp in "-ltermcap" "-ltinfo" "-lncurses"; do
cc_check $_ld_tmp && _ld_termcap="$_ld_tmp" && _termcap=yes && break
done
fi