summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2001-07-02 12:10:31 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2001-07-02 12:10:31 +0000
commitae47eb4d1fbf4bf48afc525e05d783d13a8a73da (patch)
tree8ecaa958750022746044b78b9d8b92b589281342
parent280f52c6c8555af288105bec7a393c00f42f2ead (diff)
Test -lncurses if all else fails (PR#388)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7a9228045..3a89a102c 100755
--- a/configure
+++ b/configure
@@ -526,7 +526,7 @@ fi
# For the terminfo module
if test "$withcurses" = "yes"; then
- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap"; do
+ for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do
if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then
echo "termcap functions found (with libraries '$libs')"
echo "#define HAS_TERMCAP" >> s.h