X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=configure.in;h=1db7e72c3a8669f5216704e18e6443ed967e0bb7;hp=03b1c64a952dd0ff59a9ddf08c250f6bb62338c8;hb=fe43d506ce08d1deef9e9e5a6d5fd4f9c9c32e1d;hpb=51a395aaa20e4aa687310bb8cb1616ccf8e8fd0d diff --git a/configure.in b/configure.in index 03b1c64a..1db7e72c 100644 --- a/configure.in +++ b/configure.in @@ -28,14 +28,14 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.679 2019/03/30 21:44:53 tom Exp $ +dnl $Id: configure.in,v 1.682 2019/06/23 21:26:48 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl See https://invisible-island.net/autoconf/ for additional information. dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.52.20170501) -AC_REVISION($Revision: 1.679 $) +AC_REVISION($Revision: 1.682 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -1643,6 +1643,14 @@ wctype.h \ CF_GETOPT_HEADER +CF_CHECK_ENVIRON(environ) +CF_CHECK_GETENV +if test "x$cf_cv_consistent_getenv" = xno && \ + test "x$cf_with_trace" = xyes +then + AC_MSG_WARN(The NCURSES_TRACE environment variable is not supported with this configuration) +fi + # check for ISC (this may also define _POSIX_SOURCE) # Note: even non-Posix ISC needs to declare fd_set if test "x$ISC" = xyes ; then