X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fconfigure.in;h=d99456a06d475a9b0bcde40ea4bee90b7ac49594;hp=97bcb1d7a3840affa8c75c48a43995971b4a3181;hb=aefc1659d732acf7e62c0c78a443d6d8352a3c6e;hpb=d7e4a265b50f6fddbad20ea238fdc05a35cbdc2f;ds=sidebyside diff --git a/test/configure.in b/test/configure.in index 97bcb1d7..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.116 2014/09/05 08:43:30 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 \