075de81f04
This is part of the japanese category retirement. CATEGORIES adjusted.
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
$NetBSD: patch-ab,v 1.1.1.1 2002/05/31 13:00:24 seb Exp $
|
|
|
|
--- configure.in.orig Sun Jul 29 14:07:49 2001
|
|
+++ configure.in
|
|
@@ -17,7 +17,6 @@
|
|
|
|
dnl Checks for libraries.
|
|
AC_CHECK_LIB(xcurses, initscr, [have_xcurses=yes], [have_xcurses=no])
|
|
-AC_CHECK_LIB(ncurses, initscr, [have_ncurses=yes], [have_ncurses=no])
|
|
AC_CHECK_LIB(curses, initscr, [have_curses=yes], [have_curses=no])
|
|
AC_CHECK_LIB(termcap, tgetent, [have_termcap=yes], [have_termcap=no])
|
|
AC_CHECK_LIB(termlib, tgetent, [have_termlib=yes], [have_termlib=no])
|
|
@@ -44,19 +43,6 @@
|
|
if test "x$TERMLIBS" = x; then
|
|
if test $have_xcurses = yes; then
|
|
TERMLIBS="-lxcurses"
|
|
- SAVE_LIBS=$LIBS
|
|
- LIBS="$LIBS $TERMLIBS"
|
|
- AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
|
|
- [termok=yes], [termok=no])
|
|
- LIBS=$SAVE_LIBS
|
|
- if test $termok = no; then TERMLIBS=""; fi
|
|
- fi
|
|
-fi
|
|
-
|
|
-dnl -- Try ncurses.
|
|
-if test "x$TERMLIBS" = x; then
|
|
- if test $have_ncurses = yes; then
|
|
- TERMLIBS="-lncurses"
|
|
SAVE_LIBS=$LIBS
|
|
LIBS="$LIBS $TERMLIBS"
|
|
AC_TRY_LINK(, [tgetent(0,0); tgetflag(0); tgetnum(0); tgetstr(0,0);],
|