X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fconfigure.in;h=d99456a06d475a9b0bcde40ea4bee90b7ac49594;hp=c88e3627c4ace7dca79e04f974ccb6acbeec5989;hb=762520a7930d7f698d542628d3c04bc201f7dac2;hpb=0dc2639645b2cc67271247405709161df24a771f diff --git a/test/configure.in b/test/configure.in index c88e3627..d99456a0 100644 --- a/test/configure.in +++ b/test/configure.in @@ -28,7 +28,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1996, etc. dnl -dnl $Id: configure.in,v 1.115 2014/07/19 23:05:32 tom Exp $ +dnl $Id: configure.in,v 1.117 2014/09/20 21:03:23 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) @@ -175,9 +175,14 @@ unistd.h \ CF_GETOPT_HEADER AC_CHECK_FUNCS( \ +getopt \ gettimeofday \ ) +if test "x$ac_cv_func_getopt" = xno; then + AC_MSG_ERROR(getopt is required for building programs) +fi + if test "$cf_enable_widec" = yes; then AC_CHECK_FUNCS( \ mblen \ @@ -220,6 +225,7 @@ tigetstr \ typeahead \ use_default_colors \ use_env \ +use_extended_names \ use_screen \ use_window \ vid_puts \