From 15589c42fa2774d2f8ee650f4f31eb8d3a861316 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 3 Jul 2000 09:24:12 +0000 Subject: Import the most recent ncurses 5.1 prerelease (20000701). Mostly this is intended to resolve the trace() badness once and for all. Obtained from: ftp://dickey.his.com/ncurses/ --- contrib/ncurses/test/configure.in | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'contrib/ncurses/test/configure.in') diff --git a/contrib/ncurses/test/configure.in b/contrib/ncurses/test/configure.in index d963022c0bfd..35e2b47cb9ae 100644 --- a/contrib/ncurses/test/configure.in +++ b/contrib/ncurses/test/configure.in @@ -28,7 +28,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1996,1997,1998 dnl -dnl $Id: configure.in,v 1.27 1999/10/23 20:01:42 tom Exp $ +dnl $Id: configure.in,v 1.29 1999/12/19 03:12:13 tom Exp $ dnl This is a simple configuration-script for the ncurses test programs that dnl allows the test-directory to be separately configured against a reference dnl system (i.e., sysvr4 curses) @@ -129,14 +129,32 @@ unistd.h \ ) AC_CHECK_FUNCS( \ -curses_version \ gettimeofday \ napms \ resizeterm \ strdup \ +use_default_colors \ vsscanf \ +wresize \ ) +dnl Solaris has a data item 'curses_version', which confuses AC_CHECK_FUNCS. +dnl It's a character string "SVR4", not documented. +AC_CACHE_CHECK(for function curses_version, cf_cv_func_curses_version,[ +AC_TRY_RUN([ +#include +int main() +{ + char temp[1024]; + sprintf(temp, "%s\n", curses_version()); + exit(0); +}] +,[cf_cv_func_curses_version=yes] +,[cf_cv_func_curses_version=no] +,[cf_cv_func_curses_version=unknown]) +rm -f core]) +test "$cf_cv_func_curses_version" = yes && AC_DEFINE(HAVE_CURSES_VERSION) + dnl --------------------------------------------------------------------------- dnl [CF_SYS_TIME_SELECT] AC_MSG_CHECKING(if sys/time.h conflicts with sys/select.h) -- cgit v1.2.3