From ca72865733ea59a29a3bdeab25b767b67b18d3b8 Mon Sep 17 00:00:00 2001
From: Axel Naumann <Axel.Naumann@cern.ch>
Date: Fri, 4 May 2012 13:04:26 +0000
Subject: [PATCH] Fix for current Ubuntus etc: ncurses needs termcap

git-svn-id: http://root.cern.ch/svn/root/trunk@44119 27541ba8-7e3a-0410-8455-c3a389f83636
---
 cint/configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cint/configure b/cint/configure
index e66151717e5..5df81eee97b 100755
--- a/cint/configure
+++ b/cint/configure
@@ -671,6 +671,7 @@ if [ "$READLINELIB" != "" ]; then
             for d in $EXTRA_LIB_DIR /usr/local/lib /usr/lib /sw/lib /sw/lib/ncurses; do 
                 if [ -f ${d}/libncurses$ext ]; then
                     CURSESLIB=${d}/libncurses$ext
+                    DEFAULTLIBS="$DEFAULTLIBS -ltermcap"
                     NCURSES=n
                     break 2
                 elif [ -f ${d}/libcurses$ext ]; then
-- 
GitLab