X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=configure;h=1c088aebf9a954258d4569ba97a5023e0fca4c01;hp=06f014d2746f89275f5b251026b0fb1b9cb3ed41;hb=dee978d1ba016c8f327516f684900f95ee7a2b30;hpb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3 diff --git a/configure b/configure index 06f014d2..1c088aeb 100755 --- a/configure +++ b/configure @@ -1,7 +1,7 @@ #! /bin/sh -# From configure.in Revision: 1.640 . +# From configure.in Revision: 1.642 . # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52.20150926. +# Generated by Autoconf 2.52.20170501. # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. @@ -912,7 +912,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.52.20150926. Invocation command line was +generated by GNU Autoconf 2.52.20170501. Invocation command line was $ $0 $@ @@ -1701,7 +1701,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" int -main () +main (void) { ; @@ -1832,7 +1832,7 @@ else #include "confdefs.h" int -main () +main (void) { ; @@ -1876,7 +1876,7 @@ else #include "confdefs.h" int -main () +main (void) { #ifndef __GNUC__ choke me @@ -1924,7 +1924,7 @@ else #include "confdefs.h" int -main () +main (void) { ; @@ -2004,7 +2004,7 @@ do #include $ac_declaration int -main () +main (void) { exit (42); ; @@ -2035,7 +2035,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext #include "confdefs.h" $ac_declaration int -main () +main (void) { exit (42); ; @@ -2129,7 +2129,7 @@ int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, i int argc; char **argv; int -main () +main (void) { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; @@ -2793,7 +2793,7 @@ else #include "confdefs.h" int -main () +main (void) { #ifndef __GNUC__ choke me @@ -2841,7 +2841,7 @@ else #include "confdefs.h" int -main () +main (void) { ; @@ -2900,7 +2900,7 @@ do #include $ac_declaration int -main () +main (void) { exit (42); ; @@ -2931,7 +2931,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext #include "confdefs.h" $ac_declaration int -main () +main (void) { exit (42); ; @@ -2997,7 +2997,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { printf("Hello world!\n") @@ -5322,7 +5322,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char Gpm_Open (); int -main () +main (void) { Gpm_Open (); ; @@ -5353,7 +5353,7 @@ fi echo "$as_me:5353: result: $ac_cv_lib_gpm_Gpm_Open" >&5 echo "${ECHO_T}$ac_cv_lib_gpm_Gpm_Open" >&6 if test $ac_cv_lib_gpm_Gpm_Open = yes; then - : + with_gpm=yes else if test "$with_gpm" = maybe; then @@ -5417,7 +5417,7 @@ char dlsym (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -5478,7 +5478,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char dlsym (); int -main () +main (void) { dlsym (); ; @@ -5542,7 +5542,7 @@ echo $ECHO_N "checking whether able to link to dl*() functions... $ECHO_C" >&6 #include "confdefs.h" #include int -main () +main (void) { void *obj; @@ -5704,7 +5704,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char Gpm_Wgetch (); int -main () +main (void) { Gpm_Wgetch (); ; @@ -5818,7 +5818,7 @@ fi; #endif int -main () +main (void) { struct mouse_info the_mouse; @@ -5975,7 +5975,7 @@ LIBS="$cf_add_libs" #include "confdefs.h" int -main () +main (void) { ; @@ -6083,7 +6083,7 @@ echo $ECHO_N "checking which $CC option to use... $ECHO_C" >&6 #include "confdefs.h" #include int -main () +main (void) { int x = 1 ; @@ -6193,7 +6193,7 @@ else #include "confdefs.h" int -main () +main (void) { int i; ; @@ -6450,7 +6450,7 @@ CF_EOF #include "confdefs.h" #include int -main () +main (void) { printf("Hello\n"); ; @@ -6621,7 +6621,7 @@ echo $ECHO_N "checking if current CFLAGS link properly... $ECHO_C" >&6 #include "confdefs.h" #include int -main () +main (void) { printf("Hello work\n"); ; @@ -6890,7 +6890,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" #include int -main () +main (void) { printf("Hello"); ; @@ -7695,7 +7695,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -7768,7 +7768,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -8059,7 +8059,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" #include int -main () +main (void) { #ifndef _XOPEN_SOURCE @@ -8092,7 +8092,7 @@ cf_save="$CPPFLAGS" #include "confdefs.h" #include int -main () +main (void) { #ifdef _XOPEN_SOURCE @@ -8144,7 +8144,7 @@ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE" #include "confdefs.h" #include int -main () +main (void) { #ifdef _DEFAULT_SOURCE @@ -8214,7 +8214,7 @@ echo "${as_me:-configure}:8210: testing if the symbol is already defined go no f #include "confdefs.h" #include int -main () +main (void) { #ifndef _POSIX_C_SOURCE @@ -8259,7 +8259,7 @@ cf_want_posix_source=no #include "confdefs.h" #include int -main () +main (void) { #ifdef _POSIX_SOURCE @@ -8302,7 +8302,7 @@ echo "${as_me:-configure}:8298: testing if the second compile does not leave our #include "confdefs.h" #include int -main () +main (void) { #ifndef _POSIX_C_SOURCE @@ -8491,7 +8491,7 @@ else #include int -main () +main (void) { #ifndef _XOPEN_SOURCE @@ -8528,7 +8528,7 @@ cf_save="$CPPFLAGS" #include int -main () +main (void) { #ifdef _XOPEN_SOURCE @@ -8704,7 +8704,7 @@ echo "${as_me:-configure}:8700: testing if the symbol is already defined go no f #include "confdefs.h" #include int -main () +main (void) { #ifndef _POSIX_C_SOURCE @@ -8749,7 +8749,7 @@ cf_want_posix_source=no #include "confdefs.h" #include int -main () +main (void) { #ifdef _POSIX_SOURCE @@ -8792,7 +8792,7 @@ echo "${as_me:-configure}:8788: testing if the second compile does not leave our #include "confdefs.h" #include int -main () +main (void) { #ifndef _POSIX_C_SOURCE @@ -9057,7 +9057,7 @@ echo $ECHO_N "checking if _XOPEN_SOURCE really is set... $ECHO_C" >&6 #include "confdefs.h" #include int -main () +main (void) { #ifndef _XOPEN_SOURCE @@ -9095,7 +9095,7 @@ echo "${ECHO_T}$cf_XOPEN_SOURCE_set" >&6 #include "confdefs.h" #include int -main () +main (void) { #if (_XOPEN_SOURCE - 0) < $cf_XOPEN_SOURCE @@ -9146,7 +9146,7 @@ else #include int -main () +main (void) { #ifndef _XOPEN_SOURCE @@ -9183,7 +9183,7 @@ cf_save="$CPPFLAGS" #include int -main () +main (void) { #ifdef _XOPEN_SOURCE @@ -9354,7 +9354,7 @@ else #include int -main () +main (void) { int x = SIGWINCH ; @@ -9388,7 +9388,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { int x = SIGWINCH ; @@ -9444,7 +9444,7 @@ do #include int -main () +main (void) { #if SIGWINCH != $cf_sigwinch @@ -9499,7 +9499,7 @@ else #include "confdefs.h" #include int -main () +main (void) { char* cs = nl_langinfo(CODESET); ; @@ -9639,7 +9639,7 @@ cat >conftest.$ac_ext <<_ACEOF #endif int -main () +main (void) { wint_t foo = 0; @@ -9682,7 +9682,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { #ifndef _XOPEN_SOURCE_EXTENDED @@ -9725,7 +9725,7 @@ echo $ECHO_N "checking checking for compatible value versus ... $ECHO_C" >&6 #include int -main () +main (void) { #if _XOPEN_SOURCE_EXTENDED- < 0 @@ -9932,7 +9932,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -9992,7 +9992,7 @@ else #include int -main () +main (void) { putwc(0,0); ; @@ -10031,7 +10031,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { putwc(0,0); ; @@ -10067,7 +10067,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { putwc(0,0); ; @@ -10203,7 +10203,7 @@ echo "${as_me:-configure}:10197: testing ... testing $cf_cv_header_path_utf8 ... #include int -main () +main (void) { putwc(0,0); ; @@ -10329,7 +10329,7 @@ echo "${as_me:-configure}:10321: testing ... testing $cf_cv_library_path_utf8 .. #include int -main () +main (void) { putwc(0,0); ; @@ -10432,7 +10432,7 @@ if test -n "$cf_cv_header_path_utf8" ; then #include "confdefs.h" #include int -main () +main (void) { printf("Hello") ; @@ -10551,7 +10551,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { mbstate_t state ; @@ -10586,7 +10586,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { mbstate_t value ; @@ -10650,7 +10650,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { wchar_t state ; @@ -10685,7 +10685,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { wchar_t value ; @@ -10754,7 +10754,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { wint_t state ; @@ -10789,7 +10789,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #endif int -main () +main (void) { wint_t value ; @@ -10900,7 +10900,7 @@ else && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int -main () +main (void) { ; @@ -10976,7 +10976,7 @@ else && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int -main () +main (void) { ; @@ -11015,7 +11015,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int -main () +main (void) { ; @@ -11073,7 +11073,7 @@ else && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int -main () +main (void) { ; @@ -11112,7 +11112,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int -main () +main (void) { ; @@ -11165,7 +11165,7 @@ else #include "confdefs.h" #include int -main () +main (void) { return !fseeko; ; @@ -11196,7 +11196,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext #define _LARGEFILE_SOURCE 1 #include int -main () +main (void) { return !fseeko; ; @@ -11248,7 +11248,7 @@ else #include "confdefs.h" #include int -main () +main (void) { return fseeko && fseeko (stdin, 0, 0); ; @@ -11311,7 +11311,7 @@ else #include int -main () +main (void) { /* if transitional largefile support is setup, this is true */ @@ -12420,7 +12420,7 @@ else #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int -main () +main (void) { int i; for (i = 0; i < 256; i++) @@ -12519,7 +12519,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { if ((signed char *) 0) return 0; @@ -12565,7 +12565,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] ; @@ -12591,7 +12591,7 @@ if { (eval echo "$as_me:12576: \"$ac_compile\"") >&5 #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] ; @@ -12628,7 +12628,7 @@ ac_hi=-1 ac_mid=-1 #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] ; @@ -12665,7 +12665,7 @@ while test "x$ac_lo" != "x$ac_hi"; do #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] ; @@ -12704,7 +12704,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { FILE *f = fopen ("conftest.val", "w"); if (!f) @@ -12887,7 +12887,7 @@ LIBS="$cf_add_libs" #include int -main () +main (void) { int rc = pthread_create(0,0,0,0); @@ -12976,7 +12976,7 @@ char pthread_kill (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -13062,7 +13062,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { #if defined(__GNUC__) @@ -13587,7 +13587,7 @@ echo $ECHO_N "checking if this is really Intel C compiler... $ECHO_C" >&6 #include "confdefs.h" int -main () +main (void) { #ifdef __INTEL_COMPILER @@ -13638,7 +13638,7 @@ echo $ECHO_N "checking if this is really Clang C compiler... $ECHO_C" >&6 #include "confdefs.h" int -main () +main (void) { #ifdef __clang__ @@ -13802,7 +13802,7 @@ echo $ECHO_N "checking if this is really Intel C++ compiler... $ECHO_C" >&6 #include "confdefs.h" int -main () +main (void) { #ifdef __INTEL_COMPILER @@ -13853,7 +13853,7 @@ echo $ECHO_N "checking if this is really Clang C++ compiler... $ECHO_C" >&6 #include "confdefs.h" int -main () +main (void) { #ifdef __clang__ @@ -14180,7 +14180,7 @@ char strlcat (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -14244,7 +14244,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char strlcat (); int -main () +main (void) { strlcat (); ; @@ -14372,7 +14372,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -14635,7 +14635,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char dmalloc_debug (); int -main () +main (void) { dmalloc_debug (); ; @@ -14867,7 +14867,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char debug_malloc (); int -main () +main (void) { debug_malloc (); ; @@ -15270,7 +15270,7 @@ char gettimeofday (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -15334,7 +15334,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char gettimeofday (); int -main () +main (void) { gettimeofday (); ; @@ -15407,7 +15407,7 @@ else #include int -main () +main (void) { double x = rand(); printf("result = %g\n", pow(sin(x),x)) ; @@ -15538,7 +15538,7 @@ else #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int -main () +main (void) { int i; for (i = 0; i < 256; i++) @@ -15595,7 +15595,7 @@ else #include <$ac_hdr> int -main () +main (void) { if ((DIR *) 0) return 0; @@ -15655,7 +15655,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char opendir (); int -main () +main (void) { opendir (); ; @@ -15709,7 +15709,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char opendir (); int -main () +main (void) { opendir (); ; @@ -15758,7 +15758,7 @@ else #include int -main () +main (void) { if ((struct tm *) 0) return 0; @@ -15826,7 +15826,7 @@ char regcomp (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -15889,7 +15889,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char regcomp (); int -main () +main (void) { regcomp (); ; @@ -15967,7 +15967,7 @@ char compile (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -16027,7 +16027,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char compile (); int -main () +main (void) { compile (); ; @@ -16103,7 +16103,7 @@ case $cf_regex_func in #include "confdefs.h" #include <$cf_regex_hdr> int -main () +main (void) { char *p = compile("", "", "", 0); @@ -16145,7 +16145,7 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext #include #include <$cf_regex_hdr> int -main () +main (void) { regex_t *p; @@ -16334,7 +16334,7 @@ cat >conftest.$ac_ext <<_ACEOF #include <$cf_header> int -main () +main (void) { int x = optind; char *y = optarg ; @@ -16396,7 +16396,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" int -main () +main (void) { main (); ; @@ -16454,7 +16454,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char bzero (); int -main () +main (void) { bzero (); ; @@ -16524,7 +16524,7 @@ cat >conftest.$ac_ext <<_ACEOF #endif int -main () +main (void) { ; @@ -16578,7 +16578,7 @@ else #include "confdefs.h" int -main () +main (void) { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus @@ -16737,7 +16737,7 @@ else #include "confdefs.h" inline int foo(void) { return 1; } int -main () +main (void) { ${cf_cv_main_return:-return} foo() ; @@ -16898,7 +16898,7 @@ static void handler(int sig) x = 5; } int -main () +main (void) { signal(SIGINT, handler); x = 1 @@ -17030,7 +17030,7 @@ else #include "confdefs.h" int -main () +main (void) { long x = 1L + 1UL + 1U + 1 ; @@ -17092,7 +17092,7 @@ else #include #include int -main () +main (void) { int x = (int) errno ; @@ -17149,7 +17149,7 @@ else extern int errno; int -main () +main (void) { errno = 2 ; @@ -17334,7 +17334,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -17379,7 +17379,7 @@ EOF fi done -if test "x$ac_cv_func_getopt" = xno && +if test "x$ac_cv_func_getopt" = xno && \ test "x$cf_with_progs$cf_with_tests" != xnono; then { { echo "$as_me:17384: error: getopt is required for building programs" >&5 echo "$as_me: error: getopt is required for building programs" >&2;} @@ -17400,7 +17400,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { char temp[128]; @@ -17458,7 +17458,7 @@ cat >conftest.$ac_ext <<_ACEOF #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" #include int -main () +main (void) { char temp[128]; @@ -17520,7 +17520,7 @@ else #include "confdefs.h" #include int -main () +main (void) { int x = isascii(' ') ; @@ -17565,7 +17565,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #include int -main () +main (void) { struct sigaction act ; @@ -17597,7 +17597,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #include int -main () +main (void) { struct sigaction act ; @@ -17814,7 +17814,7 @@ echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 #include "confdefs.h" #include int -main () +main (void) { struct termios foo; int x = foo.c_iflag ; @@ -17845,7 +17845,7 @@ cat conftest.$ac_ext >&5 #define _POSIX_SOURCE #include int -main () +main (void) { struct termios foo; int x = foo.c_iflag ; @@ -17908,7 +17908,7 @@ cat >conftest.$ac_ext <<_ACEOF #endif int -main () +main (void) { TTY foo; @@ -17957,7 +17957,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #include int -main () +main (void) { va_list ap; @@ -17990,7 +17990,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #include int -main () +main (void) { FILE strbuf; @@ -18029,7 +18029,7 @@ cat >conftest.$ac_ext <<_ACEOF #include #include int -main () +main (void) { FILE strbuf; @@ -18239,7 +18239,7 @@ char mkstemp (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -18314,7 +18314,7 @@ else #include /* If setvbuf has the reversed format, exit 0. */ int -main () +main (void) { /* This call has the arguments reversed. A reversed system may check and see that the address of main @@ -18368,7 +18368,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { if ((intptr_t *) 0) return 0; @@ -18420,7 +18420,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { if ((ssize_t *) 0) return 0; @@ -18474,7 +18474,7 @@ else #include int -main () +main (void) { sigaction_t x ; @@ -18546,7 +18546,7 @@ do #endif int -main () +main (void) { #ifdef TIOCGSIZE @@ -18635,7 +18635,7 @@ char memmove (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -18697,7 +18697,7 @@ char bcopy (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -18829,7 +18829,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -18976,7 +18976,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { static va_list dst; @@ -19027,7 +19027,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { static va_list dst; @@ -19075,7 +19075,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { if ((pid_t *) 0) return 0; @@ -19189,7 +19189,7 @@ char $ac_func (); char (*f) (); int -main () +main (void) { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named @@ -19251,7 +19251,7 @@ else # include #endif /* Some systems only have a dummy stub for fork() */ - int main () + int main (void) { if (fork() < 0) $ac_main_return (1); @@ -19348,7 +19348,7 @@ sparc_address_test (arg) int arg; } int -main () +main (void) { pid_t parent = getpid (); pid_t child; @@ -19476,7 +19476,7 @@ extern "C" builtin and then its argument prototype would still apply. */ char openpty (); int -main () +main (void) { openpty (); ; @@ -19545,7 +19545,7 @@ LIBS="$cf_add_libs" #include <$cf_header> int -main () +main (void) { int x = openpty((int *)0, (int *)0, (char *)0, @@ -19657,7 +19657,7 @@ if test -n "$with_hashed_db/include" ; then #include "confdefs.h" #include int -main () +main (void) { printf("Hello") ; @@ -19811,7 +19811,7 @@ if test -n "$cf_item" ; then #include "confdefs.h" #include int -main () +main (void) { printf("Hello") ; @@ -20017,7 +20017,7 @@ $ac_includes_default #endif int -main () +main (void) { DBT *foo = 0 ; @@ -20097,7 +20097,7 @@ $ac_includes_default #include int -main () +main (void) { char *path = "/tmp/foo"; @@ -20231,7 +20231,7 @@ else #include "confdefs.h" int -main () +main (void) { bool foo = false ; @@ -20263,7 +20263,7 @@ cat >conftest.$ac_ext <<_ACEOF #endif int -main () +main (void) { bool foo = false ; @@ -20315,7 +20315,7 @@ else #include int -main () +main (void) { bool x = false ; @@ -20372,7 +20372,7 @@ echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 #include int -main () +main (void) { std::cout << "Hello World!" << std::endl; @@ -20449,7 +20449,7 @@ LIBS="$cf_add_libs" #include int -main () +main (void) { std::cout << "Hello World!" << std::endl; @@ -20585,7 +20585,7 @@ LIBS="$cf_add_libs" #include <$cf_gpp_libname/builtin.h> int -main () +main (void) { two_arg_error_handler_t foo2 = lib_error_handler ; @@ -20645,7 +20645,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { two_arg_error_handler_t foo2 = lib_error_handler ; @@ -21010,7 +21010,7 @@ echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 using std::endl; using std::cerr; int -main () +main (void) { cerr << "testing" << endl; @@ -21061,7 +21061,7 @@ else #include "confdefs.h" int -main () +main (void) { bool foo = false ; @@ -21093,7 +21093,7 @@ cat >conftest.$ac_ext <<_ACEOF #endif int -main () +main (void) { bool foo = false ; @@ -21145,7 +21145,7 @@ else #include int -main () +main (void) { bool x = false ; @@ -21295,7 +21295,7 @@ cat >conftest.$ac_ext <<_ACEOF #include int -main () +main (void) { ; @@ -21460,7 +21460,7 @@ public: }; int -main () +main (void) { const char* p_UserData = static_cast(0) @@ -22172,7 +22172,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { if ((wchar_t *) 0) return 0; @@ -22218,7 +22218,7 @@ cat >conftest.$ac_ext <<_ACEOF #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)] ; @@ -22244,7 +22244,7 @@ if { (eval echo "$as_me:22229: \"$ac_compile\"") >&5 #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] ; @@ -22281,7 +22281,7 @@ ac_hi=-1 ac_mid=-1 #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)] ; @@ -22318,7 +22318,7 @@ while test "x$ac_lo" != "x$ac_hi"; do #include "confdefs.h" $ac_includes_default int -main () +main (void) { int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] ; @@ -22357,7 +22357,7 @@ else #include "confdefs.h" $ac_includes_default int -main () +main (void) { FILE *f = fopen ("conftest.val", "w"); if (!f) @@ -22854,7 +22854,7 @@ EOF int cf_ldflags_static(FILE *fp); int -main () +main (void) { return cf_ldflags_static(stdin); @@ -23429,8 +23429,10 @@ fi if test "x$cross_compiling" = xyes ; then ADAGEN_LDFLAGS='$(CROSS_LDFLAGS)' + CHECK_BUILD="#" else ADAGEN_LDFLAGS='$(NATIVE_LDFLAGS)' + CHECK_BUILD= fi ac_config_files="$ac_config_files include/MKterm.h.awk include/curses.head:include/curses.h.in include/ncurses_dll.h include/termcap.h include/unctrl.h $SUB_SCRIPTS $SUB_MAKEFILES Makefile" @@ -23514,7 +23516,7 @@ DEFS=-DHAVE_CONFIG_H : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:23517: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:23519: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -23646,7 +23648,7 @@ EOF cat >>$CONFIG_STATUS <>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:23693: error: ambiguous option: $1 + { { echo "$as_me:23695: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} @@ -23709,7 +23711,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:23712: error: unrecognized option: $1 + -*) { { echo "$as_me:23714: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2;} @@ -23728,7 +23730,7 @@ cat >&5 << _ACEOF ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me 2.52.20150926, executed with +This file was extended by $as_me 2.52.20170501, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -23828,7 +23830,7 @@ do "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "include/ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/ncurses_cfg.h:include/ncurses_cfg.hin" ;; - *) { { echo "$as_me:23831: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:23833: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -24175,6 +24177,7 @@ s,@MISC_INSTALL_DATA@,$MISC_INSTALL_DATA,;t t s,@MISC_UNINSTALL_DATA@,$MISC_UNINSTALL_DATA,;t t s,@UNALTERED_SYMS@,$UNALTERED_SYMS,;t t s,@ADAGEN_LDFLAGS@,$ADAGEN_LDFLAGS,;t t +s,@CHECK_BUILD@,$CHECK_BUILD,;t t CEOF EOF @@ -24307,7 +24310,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:24310: creating $ac_file" >&5 + { echo "$as_me:24313: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -24325,7 +24328,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:24328: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:24331: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -24338,7 +24341,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:24341: error: cannot find input file: $f" >&5 + { { echo "$as_me:24344: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -24354,7 +24357,7 @@ cat >>$CONFIG_STATUS <<\EOF if test -n "$ac_seen"; then ac_used=`grep '@datarootdir@' $ac_item` if test -z "$ac_used"; then - { echo "$as_me:24357: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:24360: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used implicitly but not set: $ac_seen" >&2;} @@ -24363,7 +24366,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' $ac_item` if test -n "$ac_seen"; then - { echo "$as_me:24366: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:24369: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&5 echo "$as_me: WARNING: datarootdir was used explicitly but not set: $ac_seen" >&2;} @@ -24400,7 +24403,7 @@ s,@INSTALL@,$ac_INSTALL,;t t ac_init=`egrep '[ ]*'$ac_name'[ ]*=' $ac_file` if test -z "$ac_init"; then ac_seen=`echo "$ac_seen" |sed -e 's,^,'$ac_file':,'` - { echo "$as_me:24403: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:24406: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&5 echo "$as_me: WARNING: Variable $ac_name is used but was not set: $ac_seen" >&2;} @@ -24411,7 +24414,7 @@ $ac_seen" >&2;} egrep -n '@[A-Z_][A-Z_0-9]+@' $ac_file >>$tmp/out if test -s $tmp/out; then ac_seen=`sed -e 's,^,'$ac_file':,' < $tmp/out` - { echo "$as_me:24414: WARNING: Some variables may not be substituted: + { echo "$as_me:24417: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -24460,7 +24463,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:24463: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:24466: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -24471,7 +24474,7 @@ echo "$as_me: creating $ac_file" >&6;} -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:24474: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:24477: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -24484,7 +24487,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:24487: error: cannot find input file: $f" >&5 + { { echo "$as_me:24490: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -24542,7 +24545,7 @@ cat >>$CONFIG_STATUS <<\EOF rm -f $tmp/in if test x"$ac_file" != x-; then if cmp -s $ac_file $tmp/config.h 2>/dev/null; then - { echo "$as_me:24545: $ac_file is unchanged" >&5 + { echo "$as_me:24548: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -24887,7 +24890,7 @@ cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQ (cygdll|msysdll|mingw) test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 -echo "${as_me:-configure}:24890: testing overriding CXX_MODEL to SHARED ..." 1>&5 +echo "${as_me:-configure}:24893: testing overriding CXX_MODEL to SHARED ..." 1>&5 with_shared_cxx=yes ;;