/* -*-C-*-
-$Id: acconfig.h,v 11.2 2001/03/01 04:25:48 cph Exp $
+$Id: acconfig.h,v 11.3 2001/03/02 18:03:06 cph Exp $
Copyright (c) 2000-2001 Massachusetts Institute of Technology
/* Define if ncurses library is present. */
#undef HAVE_LIBNCURSES
+/* Define if ncurses library defines `tparam'. */
+#undef LIBNCURSES_DEFINES_TPARAM
+
/* Define if termcap library is present. */
#undef HAVE_LIBTERMCAP
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-AC_REVISION([$Id: configure.in,v 11.5 2001/03/01 04:25:51 cph Exp $])
+AC_REVISION([$Id: configure.in,v 11.6 2001/03/02 18:02:58 cph Exp $])
AC_INIT(boot.c)
AC_CONFIG_HEADER(config.h)
[scheme_cv_lib_ncurses=no])
if test "${scheme_cv_lib_ncurses}" = "yes"; then
AC_CHECK_LIB(ncurses, tparam,
- [scheme_cv_lib_ncurses_has_tparam=yes],
- [scheme_cv_lib_ncurses_has_tparam=no])
+ [scheme_cv_lib_ncurses_defines_tparam=yes],
+ [scheme_cv_lib_ncurses_defines_tparam=no])
fi
AC_CHECK_LIB(curses, tparm,
[scheme_cv_lib_curses=yes],
if test "${scheme_cv_lib_ncurses}" = "yes"; then
AC_DEFINE(HAVE_LIBNCURSES)
QUASI_STATIC_LIBS="${QUASI_STATIC_LIBS} -lncurses"
- if test "${scheme_cv_lib_ncurses_has_tparam}" = "no"; then
+ if test "${scheme_cv_lib_ncurses_defines_tparam}" = "yes"; then
+ AC_DEFINE(LIBNCURSES_DEFINES_TPARAM)
+ else
OPTIONAL_BASES="${OPTIONAL_BASES} terminfo"
fi
elif test "${scheme_cv_lib_curses}" = "yes"; then
/* -*-C-*-
-$Id: tterm.c,v 1.9 2001/03/01 04:25:29 cph Exp $
+$Id: tterm.c,v 1.10 2001/03/02 18:03:17 cph Exp $
Copyright (c) 1990-2001 Massachusetts Institute of Technology
extern short ospeed;
#endif
-extern char * EXFUN (tparam, (char *, char*, int, int, ...));
+#ifndef LIBNCURSES_DEFINES_TPARAM
+ extern char * EXFUN (tparam, (char *, char*, int, int, ...));
+#endif
#ifndef TERMCAP_BUFFER_SIZE
#define TERMCAP_BUFFER_SIZE 2048