1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/net/tn5250/files/patch-ac
Maxim Sobolev 90f5154594 - Update to version 0.16.0.
PR:		23628
Submitted by:	Ports Furry
2000-12-19 08:07:57 +00:00

31 lines
716 B
Plaintext

--- configure.in.orig Wed Nov 1 04:09:17 2000
+++ configure.in Sat Dec 16 14:58:58 2000
@@ -56,6 +56,7 @@
if test "$with_slang" != "no"
then
USE_SLANG=1
+ AC_DEFINE_UNQUOTED(USE_CURSES,1)
AC_DEFINE_UNQUOTED(USE_SLANG,1)
else
USE_CURSES=1
@@ -65,7 +66,7 @@
USE_CURSES=1
AC_DEFINE_UNQUOTED(USE_CURSES,1)
])
-if test "$USE_CURSES" = "1"
+if test "$USE_CURSES" = "1" -o "$USE_SLANG" = "1"
then
AC_CHECK_LIB(ncurses, initscr)
if test "$ac_cv_lib_ncurses_initscr" != "yes"
@@ -103,7 +104,9 @@
AC_DEFINE_UNQUOTED(attr_t,int)
fi
AC_MSG_RESULT($HAVE_ATTR_T)
-else
+fi
+if test "$USE_SLANG" = "1"
+then
AC_CHECK_LIB(slang, SLang_init_tty)
if test "$ac_cv_lib_slang_SLang_init_tty" != "yes"
then