about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-02-26 12:40:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-02-26 12:40:53 +0000
commit8b8cc745d952bbeebb474d884b0a63e4ff08400f (patch)
treeed54171ba242d107e48f9cffe259641dc77ee501 /configure.ac
parent67b03b2f2c3ee90b7c5fce5932aa5388e8c10d5f (diff)
downloadzsh-8b8cc745d952bbeebb474d884b0a63e4ff08400f.tar.gz
zsh-8b8cc745d952bbeebb474d884b0a63e4ff08400f.tar.xz
zsh-8b8cc745d952bbeebb474d884b0a63e4ff08400f.zip
19460: Another go at fixing the terminfo configuration problem
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 0a85f5bc8..740e98067 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,8 +620,7 @@ AH_TEMPLATE([HAVE_STRNAMES],
 AH_TEMPLATE([TERM_H_NEEDS_CURSES_H],
 [Define if term.h chokes without curses.h.])
 AC_SEARCH_LIBS(tgetent, [$termcap_curses_order])
-case "$LIBS" in
-*curses*)
+AC_SEARCH_LIBS(tigetflag, [$termcap_curses_order])
 AC_CHECK_HEADERS(curses.h, [],
 [AC_CACHE_CHECK(for Solaris 8 curses.h mistake, ac_cv_header_curses_solaris,
 AC_TRY_COMPILE([#include <curses.h>], [],
@@ -683,8 +682,7 @@ AC_TRY_LINK([#include <curses.h>
 #include <term.h>], [char **test = strnames; printf(*test);],
 AC_DEFINE(HAVE_STRNAMES) strnames=yes, strnames=no)
 AC_MSG_RESULT($strnames)
-]);;
-esac
+])
 
 dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
 dnl libnsl (Network Services Library) to find yp_all