From: Thomas E. Dickey Date: Sun, 26 Feb 2023 00:59:11 +0000 (+0000) Subject: ncurses 6.4 - patch 20230225 X-Git-Tag: v6.5~65 X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff_plain;h=6315e1a380ecdb706d4f6518d2e8c7eb0db8fbe2 ncurses 6.4 - patch 20230225 + build-fixes for rpm test-packages. + add/user configure check for clock_gettime(), to supersede gettimeofday(). --- diff --git a/Ada95/aclocal.m4 b/Ada95/aclocal.m4 index 14160e4b..76367b00 100644 --- a/Ada95/aclocal.m4 +++ b/Ada95/aclocal.m4 @@ -29,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey dnl -dnl $Id: aclocal.m4,v 1.200 2023/02/18 22:48:17 tom Exp $ +dnl $Id: aclocal.m4,v 1.201 2023/02/25 13:45:56 tom Exp $ dnl Macros used in NCURSES Ada95 auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -632,7 +632,7 @@ AC_SUBST(HAVE_STDNORETURN_H) AC_SUBST(STDC_NORETURN) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20 +dnl CF_CC_ENV_FLAGS version: 11 updated: 2023/02/20 11:15:46 dnl --------------- dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content dnl into CC. This will not help with broken scripts that wrap the compiler @@ -673,7 +673,7 @@ case "$CC" in AC_MSG_WARN(your environment uses the CC variable to hold CFLAGS/CPPFLAGS options) # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[[ ]]* / /g' -e 's/[[ ]]*[[ ]]-[[^ ]].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", [substr]([$]0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -1393,15 +1393,31 @@ fi AC_SUBST(EXTRA_CFLAGS) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_FUNC_GETTIME version: 1 updated: 2023/02/18 17:41:25 +dnl CF_FUNC_GETTIME version: 2 updated: 2023/02/25 08:45:56 dnl --------------- +dnl Check for gettimeofday or clock_gettime. In 2023, the former is still more +dnl widely supported, but "deprecated" (2008), so we will use the latter if it +dnl is available, to reduce compiler warnings. AC_DEFUN([CF_FUNC_GETTIME],[ +AC_CACHE_CHECK(for clock_gettime,cf_cv_func_clock_gettime,[ + AC_TRY_LINK([#include ], + [struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts], + [cf_cv_func_clock_gettime=yes], + [cf_cv_func_clock_gettime=no]) +]) + +if test "$cf_cv_func_clock_gettime" = yes +then + AC_DEFINE(HAVE_CLOCK_GETTIME,1,[Define to 1 if we have clock_gettime function]) +else AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]),[ AC_CHECK_LIB(bsd, gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]) CF_ADD_LIB(bsd))])dnl CLIX: bzero, select, gettimeofday +fi ])dnl dnl --------------------------------------------------------------------------- dnl CF_GCC_ATTRIBUTES version: 24 updated: 2021/03/20 12:00:25 @@ -3296,7 +3312,7 @@ int main(void) # ifdef __NCURSES_H fprintf(fp, "old\\n"); # else - #error __NCURSES_H is not defined + make an error # endif #endif ${cf_cv_main_return:-return}(0); diff --git a/Ada95/configure b/Ada95/configure index 55ed2862..64aefa5e 100755 --- a/Ada95/configure +++ b/Ada95/configure @@ -2257,7 +2257,7 @@ echo "${ECHO_T}broken" >&6 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -6120,7 +6120,7 @@ int main(void) # ifdef __NCURSES_H fprintf(fp, "old\\n"); # else - #error __NCURSES_H is not defined + make an error # endif #endif ${cf_cv_main_return:-return}(0); @@ -8834,7 +8834,7 @@ int main(void) # ifdef __NCURSES_H fprintf(fp, "old\\n"); # else - #error __NCURSES_H is not defined + make an error # endif #endif ${cf_cv_main_return:-return}(0); @@ -10920,7 +10920,7 @@ int main(void) # ifdef __NCURSES_H fprintf(fp, "old\\n"); # else - #error __NCURSES_H is not defined + make an error # endif #endif ${cf_cv_main_return:-return}(0); @@ -16478,13 +16478,64 @@ fi ;; (*) -echo "$as_me:16481: checking for gettimeofday" >&5 +echo "$as_me:16481: checking for clock_gettime" >&5 +echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6 +if test "${cf_cv_func_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >"conftest.$ac_ext" <<_ACEOF +#line 16488 "configure" +#include "confdefs.h" +#include +int +main (void) +{ +struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:16501: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:16504: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:16507: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:16510: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_clock_gettime=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +cf_cv_func_clock_gettime=no +fi +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + +fi +echo "$as_me:16521: result: $cf_cv_func_clock_gettime" >&5 +echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6 + +if test "$cf_cv_func_clock_gettime" = yes +then + +cat >>confdefs.h <<\EOF +#define HAVE_CLOCK_GETTIME 1 +EOF + +else +echo "$as_me:16532: checking for gettimeofday" >&5 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 if test "${ac_cv_func_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 16487 "configure" +#line 16538 "configure" #include "confdefs.h" #define gettimeofday autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -16515,16 +16566,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:16518: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16569: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16521: \$? = $ac_status" >&5 + echo "$as_me:16572: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:16524: \"$ac_try\"") >&5 + { (eval echo "$as_me:16575: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16527: \$? = $ac_status" >&5 + echo "$as_me:16578: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_gettimeofday=yes else @@ -16534,7 +16585,7 @@ ac_cv_func_gettimeofday=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:16537: result: $ac_cv_func_gettimeofday" >&5 +echo "$as_me:16588: result: $ac_cv_func_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 if test "$ac_cv_func_gettimeofday" = yes; then @@ -16544,7 +16595,7 @@ EOF else -echo "$as_me:16547: checking for gettimeofday in -lbsd" >&5 +echo "$as_me:16598: checking for gettimeofday in -lbsd" >&5 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -16552,7 +16603,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 16555 "configure" +#line 16606 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16571,16 +16622,16 @@ gettimeofday (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:16574: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16625: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16577: \$? = $ac_status" >&5 + echo "$as_me:16628: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:16580: \"$ac_try\"") >&5 + { (eval echo "$as_me:16631: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16583: \$? = $ac_status" >&5 + echo "$as_me:16634: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_bsd_gettimeofday=yes else @@ -16591,7 +16642,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16594: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "$as_me:16645: result: $ac_cv_lib_bsd_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 if test "$ac_cv_lib_bsd_gettimeofday" = yes; then @@ -16617,19 +16668,20 @@ LIBS="$cf_add_libs" fi +fi fi ;; esac ### Checks for header files. -echo "$as_me:16626: checking for signed char" >&5 +echo "$as_me:16678: checking for signed char" >&5 echo $ECHO_N "checking for signed char... $ECHO_C" >&6 if test "${ac_cv_type_signed_char+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 16632 "configure" +#line 16684 "configure" #include "confdefs.h" $ac_includes_default int @@ -16644,16 +16696,16 @@ if (sizeof (signed char)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16647: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16699: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16650: \$? = $ac_status" >&5 + echo "$as_me:16702: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16653: \"$ac_try\"") >&5 + { (eval echo "$as_me:16705: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16656: \$? = $ac_status" >&5 + echo "$as_me:16708: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_signed_char=yes else @@ -16663,10 +16715,10 @@ ac_cv_type_signed_char=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:16666: result: $ac_cv_type_signed_char" >&5 +echo "$as_me:16718: result: $ac_cv_type_signed_char" >&5 echo "${ECHO_T}$ac_cv_type_signed_char" >&6 -echo "$as_me:16669: checking size of signed char" >&5 +echo "$as_me:16721: checking size of signed char" >&5 echo $ECHO_N "checking size of signed char... $ECHO_C" >&6 if test "${ac_cv_sizeof_signed_char+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -16675,7 +16727,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >"conftest.$ac_ext" <<_ACEOF -#line 16678 "configure" +#line 16730 "configure" #include "confdefs.h" $ac_includes_default int @@ -16687,21 +16739,21 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16690: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16742: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16693: \$? = $ac_status" >&5 + echo "$as_me:16745: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16696: \"$ac_try\"") >&5 + { (eval echo "$as_me:16748: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16699: \$? = $ac_status" >&5 + echo "$as_me:16751: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 16704 "configure" +#line 16756 "configure" #include "confdefs.h" $ac_includes_default int @@ -16713,16 +16765,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16716: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16768: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16719: \$? = $ac_status" >&5 + echo "$as_me:16771: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16722: \"$ac_try\"") >&5 + { (eval echo "$as_me:16774: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16725: \$? = $ac_status" >&5 + echo "$as_me:16777: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else @@ -16738,7 +16790,7 @@ cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 16741 "configure" +#line 16793 "configure" #include "confdefs.h" $ac_includes_default int @@ -16750,16 +16802,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16753: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16805: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16756: \$? = $ac_status" >&5 + echo "$as_me:16808: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16759: \"$ac_try\"") >&5 + { (eval echo "$as_me:16811: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16762: \$? = $ac_status" >&5 + echo "$as_me:16814: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else @@ -16775,7 +16827,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` cat >"conftest.$ac_ext" <<_ACEOF -#line 16778 "configure" +#line 16830 "configure" #include "confdefs.h" $ac_includes_default int @@ -16787,16 +16839,16 @@ int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16790: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16842: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16793: \$? = $ac_status" >&5 + echo "$as_me:16845: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16796: \"$ac_try\"") >&5 + { (eval echo "$as_me:16848: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16799: \$? = $ac_status" >&5 + echo "$as_me:16851: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid else @@ -16809,12 +16861,12 @@ done ac_cv_sizeof_signed_char=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:16812: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:16864: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >"conftest.$ac_ext" <<_ACEOF -#line 16817 "configure" +#line 16869 "configure" #include "confdefs.h" $ac_includes_default int @@ -16830,15 +16882,15 @@ fclose (f); } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:16833: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16885: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16836: \$? = $ac_status" >&5 + echo "$as_me:16888: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:16838: \"$ac_try\"") >&5 + { (eval echo "$as_me:16890: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16841: \$? = $ac_status" >&5 + echo "$as_me:16893: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_sizeof_signed_char=`cat conftest.val` else @@ -16854,7 +16906,7 @@ else ac_cv_sizeof_signed_char=0 fi fi -echo "$as_me:16857: result: $ac_cv_sizeof_signed_char" >&5 +echo "$as_me:16909: result: $ac_cv_sizeof_signed_char" >&5 echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6 cat >>confdefs.h <&5 +echo "$as_me:16918: checking for $ac_hdr that defines DIR" >&5 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 16872 "configure" +#line 16924 "configure" #include "confdefs.h" #include #include <$ac_hdr> @@ -16884,16 +16936,16 @@ return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:16887: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:16939: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:16890: \$? = $ac_status" >&5 + echo "$as_me:16942: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:16893: \"$ac_try\"") >&5 + { (eval echo "$as_me:16945: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16896: \$? = $ac_status" >&5 + echo "$as_me:16948: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_Header=yes" else @@ -16903,7 +16955,7 @@ eval "$as_ac_Header=no" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:16906: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:16958: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 + echo "$as_me:16971: checking for opendir in -ldir" >&5 echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6 if test "${ac_cv_lib_dir_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -16924,7 +16976,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldir $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 16927 "configure" +#line 16979 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16943,16 +16995,16 @@ opendir (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:16946: \"$ac_link\"") >&5 +if { (eval echo "$as_me:16998: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:16949: \$? = $ac_status" >&5 + echo "$as_me:17001: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:16952: \"$ac_try\"") >&5 + { (eval echo "$as_me:17004: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:16955: \$? = $ac_status" >&5 + echo "$as_me:17007: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dir_opendir=yes else @@ -16963,14 +17015,14 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:16966: result: $ac_cv_lib_dir_opendir" >&5 +echo "$as_me:17018: result: $ac_cv_lib_dir_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6 if test "$ac_cv_lib_dir_opendir" = yes; then LIBS="$LIBS -ldir" fi else - echo "$as_me:16973: checking for opendir in -lx" >&5 + echo "$as_me:17025: checking for opendir in -lx" >&5 echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6 if test "${ac_cv_lib_x_opendir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -16978,7 +17030,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lx $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 16981 "configure" +#line 17033 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -16997,16 +17049,16 @@ opendir (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:17000: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17052: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17003: \$? = $ac_status" >&5 + echo "$as_me:17055: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:17006: \"$ac_try\"") >&5 + { (eval echo "$as_me:17058: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17009: \$? = $ac_status" >&5 + echo "$as_me:17061: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_x_opendir=yes else @@ -17017,7 +17069,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:17020: result: $ac_cv_lib_x_opendir" >&5 +echo "$as_me:17072: result: $ac_cv_lib_x_opendir" >&5 echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6 if test "$ac_cv_lib_x_opendir" = yes; then LIBS="$LIBS -lx" @@ -17025,13 +17077,13 @@ fi fi -echo "$as_me:17028: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:17080: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 17034 "configure" +#line 17086 "configure" #include "confdefs.h" #include #include @@ -17047,16 +17099,16 @@ return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:17050: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17102: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17053: \$? = $ac_status" >&5 + echo "$as_me:17105: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:17056: \"$ac_try\"") >&5 + { (eval echo "$as_me:17108: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17059: \$? = $ac_status" >&5 + echo "$as_me:17111: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_header_time=yes else @@ -17066,7 +17118,7 @@ ac_cv_header_time=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:17069: result: $ac_cv_header_time" >&5 +echo "$as_me:17121: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -17084,13 +17136,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return="return" -echo "$as_me:17087: checking for an ANSI C-conforming const" >&5 +echo "$as_me:17139: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 17093 "configure" +#line 17145 "configure" #include "confdefs.h" int @@ -17148,16 +17200,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:17151: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:17203: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17154: \$? = $ac_status" >&5 + echo "$as_me:17206: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:17157: \"$ac_try\"") >&5 + { (eval echo "$as_me:17209: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17160: \$? = $ac_status" >&5 + echo "$as_me:17212: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_c_const=yes else @@ -17167,7 +17219,7 @@ ac_cv_c_const=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:17170: result: $ac_cv_c_const" >&5 +echo "$as_me:17222: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -17179,7 +17231,7 @@ fi ### Checks for external-data -echo "$as_me:17182: checking if data-only library module links" >&5 +echo "$as_me:17234: checking if data-only library module links" >&5 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 if test "${cf_cv_link_dataonly+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17187,20 +17239,20 @@ else rm -f conftest.a cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:17245: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17196: \$? = $ac_status" >&5 + echo "$as_me:17248: \$? = $ac_status" >&5 (exit "$ac_status"); } ; then mv conftest.o data.o && \ ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null fi rm -f conftest.$ac_ext data.o cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:17268: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:17219: \$? = $ac_status" >&5 + echo "$as_me:17271: \$? = $ac_status" >&5 (exit "$ac_status"); }; then mv conftest.o func.o && \ ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null @@ -17229,7 +17281,7 @@ EOF cf_cv_link_dataonly=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 17232 "configure" +#line 17284 "configure" #include "confdefs.h" int main(void) @@ -17240,15 +17292,15 @@ else _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:17243: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17295: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17246: \$? = $ac_status" >&5 + echo "$as_me:17298: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:17248: \"$ac_try\"") >&5 + { (eval echo "$as_me:17300: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17251: \$? = $ac_status" >&5 + echo "$as_me:17303: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_link_dataonly=yes else @@ -17263,7 +17315,7 @@ fi fi -echo "$as_me:17266: result: $cf_cv_link_dataonly" >&5 +echo "$as_me:17318: result: $cf_cv_link_dataonly" >&5 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 if test "$cf_cv_link_dataonly" = no ; then @@ -17282,23 +17334,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:17285: checking for $ac_header" >&5 +echo "$as_me:17337: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 17291 "configure" +#line 17343 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:17295: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:17347: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:17301: \$? = $ac_status" >&5 + echo "$as_me:17353: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -17317,7 +17369,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:17320: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:17372: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:17382: checking for working mkstemp" >&5 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 if test "${cf_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17338,7 +17390,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_mkstemp=maybe else cat >"conftest.$ac_ext" <<_ACEOF -#line 17341 "configure" +#line 17393 "configure" #include "confdefs.h" $ac_includes_default @@ -17373,15 +17425,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:17376: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17428: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17379: \$? = $ac_status" >&5 + echo "$as_me:17431: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:17381: \"$ac_try\"") >&5 + { (eval echo "$as_me:17433: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17384: \$? = $ac_status" >&5 + echo "$as_me:17436: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_mkstemp=yes @@ -17396,16 +17448,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:17399: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:17451: result: $cf_cv_func_mkstemp" >&5 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 if test "x$cf_cv_func_mkstemp" = xmaybe ; then - echo "$as_me:17402: checking for mkstemp" >&5 + echo "$as_me:17454: checking for mkstemp" >&5 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 if test "${ac_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 17408 "configure" +#line 17460 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -17436,16 +17488,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:17439: \"$ac_link\"") >&5 +if { (eval echo "$as_me:17491: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:17442: \$? = $ac_status" >&5 + echo "$as_me:17494: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:17445: \"$ac_try\"") >&5 + { (eval echo "$as_me:17497: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:17448: \$? = $ac_status" >&5 + echo "$as_me:17500: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_mkstemp=yes else @@ -17455,7 +17507,7 @@ ac_cv_func_mkstemp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:17458: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:17510: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -17484,7 +17536,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- unset cf_TEMP_gnat # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. set dummy $cf_prog_gnat; ac_word=$2 -echo "$as_me:17487: checking for $ac_word" >&5 +echo "$as_me:17539: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17501,7 +17553,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" - echo "$as_me:17504: found $ac_dir/$ac_word" >&5 + echo "$as_me:17556: found $ac_dir/$ac_word" >&5 break fi done @@ -17513,10 +17565,10 @@ fi cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat if test -n "$cf_TEMP_gnat"; then - echo "$as_me:17516: result: $cf_TEMP_gnat" >&5 + echo "$as_me:17568: result: $cf_TEMP_gnat" >&5 echo "${ECHO_T}$cf_TEMP_gnat" >&6 else - echo "$as_me:17519: result: no" >&5 + echo "$as_me:17571: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -17526,7 +17578,7 @@ fi unset cf_cv_gnat_version unset cf_TEMP_gnat -echo "$as_me:17529: checking for $cf_prog_gnat version" >&5 +echo "$as_me:17581: checking for $cf_prog_gnat version" >&5 echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17537,7 +17589,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:17540: result: $cf_cv_gnat_version" >&5 +echo "$as_me:17592: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version @@ -17566,7 +17618,7 @@ else cd conftest.src for cf_gprconfig in Ada C do - echo "$as_me:17569: checking for gprconfig name for $cf_gprconfig" >&5 + echo "$as_me:17621: checking for gprconfig name for $cf_gprconfig" >&5 echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test "$cf_gprconfig" = C then @@ -17585,10 +17637,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test -n "$cf_gprconfig_value" then eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" - echo "$as_me:17588: result: $cf_gprconfig_value" >&5 + echo "$as_me:17640: result: $cf_gprconfig_value" >&5 echo "${ECHO_T}$cf_gprconfig_value" >&6 else - echo "$as_me:17591: result: missing" >&5 + echo "$as_me:17643: result: missing" >&5 echo "${ECHO_T}missing" >&6 cf_ada_config="#" break @@ -17601,7 +17653,7 @@ echo "${ECHO_T}missing" >&6 if test "x$cf_ada_config" != "x#" then -echo "$as_me:17604: checking for gnat version" >&5 +echo "$as_me:17656: checking for gnat version" >&5 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17612,7 +17664,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:17615: result: $cf_cv_gnat_version" >&5 +echo "$as_me:17667: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no @@ -17621,7 +17673,7 @@ case "$cf_cv_gnat_version" in cf_cv_prog_gnat_correct=yes ;; (*) - { echo "$as_me:17624: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + { echo "$as_me:17676: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} cf_cv_prog_gnat_correct=no ;; @@ -17629,7 +17681,7 @@ esac # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 -echo "$as_me:17632: checking for $ac_word" >&5 +echo "$as_me:17684: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_M4_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17644,7 +17696,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_M4_exists="yes" -echo "$as_me:17647: found $ac_dir/$ac_word" >&5 +echo "$as_me:17699: found $ac_dir/$ac_word" >&5 break done @@ -17653,20 +17705,20 @@ fi fi M4_exists=$ac_cv_prog_M4_exists if test -n "$M4_exists"; then - echo "$as_me:17656: result: $M4_exists" >&5 + echo "$as_me:17708: result: $M4_exists" >&5 echo "${ECHO_T}$M4_exists" >&6 else - echo "$as_me:17659: result: no" >&5 + echo "$as_me:17711: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$ac_cv_prog_M4_exists" = no; then cf_cv_prog_gnat_correct=no - { echo "$as_me:17665: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + { echo "$as_me:17717: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:17669: checking if GNAT works" >&5 + echo "$as_me:17721: checking if GNAT works" >&5 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 rm -rf ./conftest* ./*~conftest* @@ -17694,7 +17746,7 @@ else fi rm -rf ./conftest* ./*~conftest* - echo "$as_me:17697: result: $cf_cv_prog_gnat_correct" >&5 + echo "$as_me:17749: result: $cf_cv_prog_gnat_correct" >&5 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 fi else @@ -17704,7 +17756,7 @@ fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:17707: checking optimization options for ADAFLAGS" >&5 + echo "$as_me:17759: checking optimization options for ADAFLAGS" >&5 echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 case "$CFLAGS" in (*-g*) @@ -17721,10 +17773,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 ;; esac - echo "$as_me:17724: result: $ADAFLAGS" >&5 + echo "$as_me:17776: result: $ADAFLAGS" >&5 echo "${ECHO_T}$ADAFLAGS" >&6 -echo "$as_me:17727: checking if GNATPREP supports -T option" >&5 +echo "$as_me:17779: checking if GNATPREP supports -T option" >&5 echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 if test "${cf_cv_gnatprep_opt_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17734,11 +17786,11 @@ cf_cv_gnatprep_opt_t=no gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes fi -echo "$as_me:17737: result: $cf_cv_gnatprep_opt_t" >&5 +echo "$as_me:17789: result: $cf_cv_gnatprep_opt_t" >&5 echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" -echo "$as_me:17741: checking if GNAT supports generics" >&5 +echo "$as_me:17793: checking if GNAT supports generics" >&5 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 case "$cf_cv_gnat_version" in (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) @@ -17748,7 +17800,7 @@ case "$cf_cv_gnat_version" in cf_gnat_generics=no ;; esac -echo "$as_me:17751: result: $cf_gnat_generics" >&5 +echo "$as_me:17803: result: $cf_gnat_generics" >&5 echo "${ECHO_T}$cf_gnat_generics" >&6 if test "$cf_gnat_generics" = yes @@ -17760,7 +17812,7 @@ else cf_generic_objects= fi -echo "$as_me:17763: checking if GNAT supports SIGINT" >&5 +echo "$as_me:17815: checking if GNAT supports SIGINT" >&5 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 if test "${cf_cv_gnat_sigint+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -17808,7 +17860,7 @@ fi rm -rf ./conftest* ./*~conftest* fi -echo "$as_me:17811: result: $cf_cv_gnat_sigint" >&5 +echo "$as_me:17863: result: $cf_cv_gnat_sigint" >&5 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 if test "$cf_cv_gnat_sigint" = yes ; then @@ -17821,7 +17873,7 @@ cf_gnat_libraries=no cf_gnat_projects=no if test "$enable_gnat_projects" != no ; then -echo "$as_me:17824: checking if GNAT supports project files" >&5 +echo "$as_me:17876: checking if GNAT supports project files" >&5 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 case "$cf_cv_gnat_version" in (3.[0-9]*) @@ -17884,15 +17936,15 @@ CF_EOF esac ;; esac -echo "$as_me:17887: result: $cf_gnat_projects" >&5 +echo "$as_me:17939: result: $cf_gnat_projects" >&5 echo "${ECHO_T}$cf_gnat_projects" >&6 fi # enable_gnat_projects if test "$cf_gnat_projects" = yes then - echo "$as_me:17893: checking if GNAT supports libraries" >&5 + echo "$as_me:17945: checking if GNAT supports libraries" >&5 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 - echo "$as_me:17895: result: $cf_gnat_libraries" >&5 + echo "$as_me:17947: result: $cf_gnat_libraries" >&5 echo "${ECHO_T}$cf_gnat_libraries" >&6 fi @@ -17912,7 +17964,7 @@ then then USE_GNAT_MAKE_GPR="" else - { echo "$as_me:17915: WARNING: use old makefile rules since tools are missing" >&5 + { echo "$as_me:17967: WARNING: use old makefile rules since tools are missing" >&5 echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} fi fi @@ -17924,7 +17976,7 @@ else USE_GNAT_LIBRARIES="#" fi -echo "$as_me:17927: checking for ada-compiler" >&5 +echo "$as_me:17979: checking for ada-compiler" >&5 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 # Check whether --with-ada-compiler or --without-ada-compiler was given. @@ -17935,12 +17987,12 @@ else cf_ada_compiler=gnatmake fi; -echo "$as_me:17938: result: $cf_ada_compiler" >&5 +echo "$as_me:17990: result: $cf_ada_compiler" >&5 echo "${ECHO_T}$cf_ada_compiler" >&6 cf_ada_package=terminal_interface -echo "$as_me:17943: checking for ada-include" >&5 +echo "$as_me:17995: checking for ada-include" >&5 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 # Check whether --with-ada-include or --without-ada-include was given. @@ -17976,7 +18028,7 @@ case ".$withval" in withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:17979: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:18031: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -17985,10 +18037,10 @@ esac fi eval ADA_INCLUDE="$withval" -echo "$as_me:17988: result: $ADA_INCLUDE" >&5 +echo "$as_me:18040: result: $ADA_INCLUDE" >&5 echo "${ECHO_T}$ADA_INCLUDE" >&6 -echo "$as_me:17991: checking for ada-objects" >&5 +echo "$as_me:18043: checking for ada-objects" >&5 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 # Check whether --with-ada-objects or --without-ada-objects was given. @@ -18024,7 +18076,7 @@ case ".$withval" in withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:18027: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:18079: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -18033,10 +18085,10 @@ esac fi eval ADA_OBJECTS="$withval" -echo "$as_me:18036: result: $ADA_OBJECTS" >&5 +echo "$as_me:18088: result: $ADA_OBJECTS" >&5 echo "${ECHO_T}$ADA_OBJECTS" >&6 -echo "$as_me:18039: checking if an Ada95 shared-library should be built" >&5 +echo "$as_me:18091: checking if an Ada95 shared-library should be built" >&5 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. @@ -18046,14 +18098,14 @@ if test "${with_ada_sharedlib+set}" = set; then else with_ada_sharedlib=no fi; -echo "$as_me:18049: result: $with_ada_sharedlib" >&5 +echo "$as_me:18101: result: $with_ada_sharedlib" >&5 echo "${ECHO_T}$with_ada_sharedlib" >&6 if test "x$with_ada_sharedlib" != xno then if test "x$cf_gnat_projects" != xyes then - { echo "$as_me:18056: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + { echo "$as_me:18108: WARNING: disabling shared-library since GNAT projects are not supported" >&5 echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} with_ada_sharedlib=no fi @@ -18073,7 +18125,7 @@ fi # allow the Ada binding to be renamed -echo "$as_me:18076: checking for ada-libname" >&5 +echo "$as_me:18128: checking for ada-libname" >&5 echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 # Check whether --with-ada-libname or --without-ada-libname was given. @@ -18089,16 +18141,16 @@ case "x$ADA_LIBNAME" in ;; esac -echo "$as_me:18092: result: $ADA_LIBNAME" >&5 +echo "$as_me:18144: result: $ADA_LIBNAME" >&5 echo "${ECHO_T}$ADA_LIBNAME" >&6 else - { { echo "$as_me:18096: error: No usable Ada compiler found" >&5 + { { echo "$as_me:18148: error: No usable Ada compiler found" >&5 echo "$as_me: error: No usable Ada compiler found" >&2;} { (exit 1); exit 1; }; } fi else - { { echo "$as_me:18101: error: The Ada compiler is needed for this package" >&5 + { { echo "$as_me:18153: error: The Ada compiler is needed for this package" >&5 echo "$as_me: error: The Ada compiler is needed for this package" >&2;} { (exit 1); exit 1; }; } fi @@ -18138,7 +18190,7 @@ elif test "$includedir" != "/usr/include"; then fi ### Build up pieces for makefile rules -echo "$as_me:18141: checking default library suffix" >&5 +echo "$as_me:18193: checking default library suffix" >&5 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -18149,10 +18201,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 (shared) DFT_ARG_SUFFIX='' ;; esac test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" -echo "$as_me:18152: result: $DFT_ARG_SUFFIX" >&5 +echo "$as_me:18204: result: $DFT_ARG_SUFFIX" >&5 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 -echo "$as_me:18155: checking default library-dependency suffix" >&5 +echo "$as_me:18207: checking default library-dependency suffix" >&5 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 case X$DFT_LWR_MODEL in @@ -18235,10 +18287,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" fi -echo "$as_me:18238: result: $DFT_DEP_SUFFIX" >&5 +echo "$as_me:18290: result: $DFT_DEP_SUFFIX" >&5 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 -echo "$as_me:18241: checking default object directory" >&5 +echo "$as_me:18293: checking default object directory" >&5 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -18254,7 +18306,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 DFT_OBJ_SUBDIR='obj_s' ;; esac esac -echo "$as_me:18257: result: $DFT_OBJ_SUBDIR" >&5 +echo "$as_me:18309: result: $DFT_OBJ_SUBDIR" >&5 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 ### Set up low-level terminfo dependencies for makefiles. @@ -18396,7 +18448,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:18399: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:18451: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL @@ -18577,7 +18629,7 @@ cat >>"$CONFIG_STATUS" <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:18580: error: ambiguous option: $1 + { { echo "$as_me:18632: 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;} @@ -18596,7 +18648,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:18599: error: unrecognized option: $1 + -*) { { echo "$as_me:18651: 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;} @@ -18671,7 +18723,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:18674: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:18726: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -19032,7 +19084,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:19035: creating $ac_file" >&5 + { echo "$as_me:19087: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -19050,7 +19102,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:19053: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:19105: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; @@ -19063,7 +19115,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:19066: error: cannot find input file: $f" >&5 + { { echo "$as_me:19118: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -19079,7 +19131,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:19082: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:19134: 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;} @@ -19088,7 +19140,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:19091: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:19143: 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;} @@ -19133,7 +19185,7 @@ cat >>"$CONFIG_STATUS" <<\EOF 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:19136: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:19188: 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;} @@ -19144,7 +19196,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:19147: WARNING: Some variables may not be substituted: + { echo "$as_me:19199: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -19193,7 +19245,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:19196: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:19248: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -19204,7 +19256,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:19207: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:19259: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -19217,7 +19269,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:19220: error: cannot find input file: $f" >&5 + { { echo "$as_me:19272: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -19275,7 +19327,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:19278: $ac_file is unchanged" >&5 + { echo "$as_me:19330: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff --git a/NEWS b/NEWS index 6162122d..381da49d 100644 --- a/NEWS +++ b/NEWS @@ -26,7 +26,7 @@ -- sale, use or other dealings in this Software without prior written -- -- authorization. -- ------------------------------------------------------------------------------- --- $Id: NEWS,v 1.3911 2023/02/18 22:39:36 tom Exp $ +-- $Id: NEWS,v 1.3914 2023/02/25 22:58:50 tom Exp $ ------------------------------------------------------------------------------- This is a log of changes that ncurses has gone through since Zeyd started @@ -46,6 +46,11 @@ See the AUTHORS file for the corresponding full names. Changes through 1.9.9e did not credit all contributions; it is not possible to add this information. +20230225 + + build-fixes for rpm test-packages. + + add/user configure check for clock_gettime(), to supersede + gettimeofday(). + 20230218 + configure-script improvements: + recent msys2 headers work with _DEFAULT_SOURCE; amend check diff --git a/VERSION b/VERSION index b17f2e44..485074ee 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5:0:10 6.4 20230218 +5:0:10 6.4 20230225 diff --git a/aclocal.m4 b/aclocal.m4 index ca315814..7116d86e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -29,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: aclocal.m4,v 1.1030 2023/02/18 22:45:17 tom Exp $ +dnl $Id: aclocal.m4,v 1.1032 2023/02/25 13:45:56 tom Exp $ dnl Macros used in NCURSES auto-configuration script. dnl dnl These macros are maintained separately from NCURSES. The copyright on @@ -894,7 +894,7 @@ AC_SUBST(HAVE_STDNORETURN_H) AC_SUBST(STDC_NORETURN) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20 +dnl CF_CC_ENV_FLAGS version: 11 updated: 2023/02/20 11:15:46 dnl --------------- dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content dnl into CC. This will not help with broken scripts that wrap the compiler @@ -935,7 +935,7 @@ case "$CC" in AC_MSG_WARN(your environment uses the CC variable to hold CFLAGS/CPPFLAGS options) # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[[ ]]* / /g' -e 's/[[ ]]*[[ ]]-[[^ ]].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", [substr]([$]0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -2620,15 +2620,31 @@ else fi ]) dnl --------------------------------------------------------------------------- -dnl CF_FUNC_GETTIME version: 1 updated: 2023/02/18 17:41:25 +dnl CF_FUNC_GETTIME version: 2 updated: 2023/02/25 08:45:56 dnl --------------- +dnl Check for gettimeofday or clock_gettime. In 2023, the former is still more +dnl widely supported, but "deprecated" (2008), so we will use the latter if it +dnl is available, to reduce compiler warnings. AC_DEFUN([CF_FUNC_GETTIME],[ +AC_CACHE_CHECK(for clock_gettime,cf_cv_func_clock_gettime,[ + AC_TRY_LINK([#include ], + [struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts], + [cf_cv_func_clock_gettime=yes], + [cf_cv_func_clock_gettime=no]) +]) + +if test "$cf_cv_func_clock_gettime" = yes +then + AC_DEFINE(HAVE_CLOCK_GETTIME,1,[Define to 1 if we have clock_gettime function]) +else AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]),[ AC_CHECK_LIB(bsd, gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]) CF_ADD_LIB(bsd))])dnl CLIX: bzero, select, gettimeofday +fi ])dnl dnl --------------------------------------------------------------------------- dnl CF_FUNC_GETTTYNAM version: 2 updated: 2023/01/05 18:06:28 diff --git a/c++/cursslk.cc b/c++/cursslk.cc index b0dd4ab0..7b898cef 100644 --- a/c++/cursslk.cc +++ b/c++/cursslk.cc @@ -1,6 +1,6 @@ // * this is for making emacs happy: -*-Mode: C++;-*- /**************************************************************************** - * Copyright 2019-2020,2022 Thomas E. Dickey * + * Copyright 2019-2022,2023 Thomas E. Dickey * * Copyright 1998-2005,2012 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -36,7 +36,7 @@ #include "cursslk.h" #include "cursesapp.h" -MODULE_ID("$Id: cursslk.cc,v 1.20 2022/02/26 17:57:23 tom Exp $") +MODULE_ID("$Id: cursslk.cc,v 1.21 2023/02/25 23:36:06 tom Exp $") Soft_Label_Key_Set::Soft_Label_Key& Soft_Label_Key_Set::Soft_Label_Key::operator=(char *text) @@ -58,7 +58,9 @@ void Soft_Label_Key_Set::init() { if (num_labels > 12) num_labels = 12; - slk_array = new Soft_Label_Key[num_labels]; + if (num_labels < 0) + num_labels = 0; + slk_array = new Soft_Label_Key[num_labels + 1]; for(int i=0; i < num_labels; i++) { slk_array[i].num = i+1; } diff --git a/configure b/configure index 0de9e024..6664a8aa 100755 --- a/configure +++ b/configure @@ -2721,7 +2721,7 @@ echo "${ECHO_T}broken" >&6 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -19162,159 +19162,17 @@ fi ;; (*) - -echo "$as_me:19166: checking for gettimeofday" >&5 -echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 -if test "${ac_cv_func_gettimeofday+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >"conftest.$ac_ext" <<_ACEOF -#line 19172 "configure" -#include "confdefs.h" -#define gettimeofday autoconf_temporary -#include /* least-intrusive standard header which defines gcc2 __stub macros */ -#undef gettimeofday - -#ifdef __cplusplus -extern "C" -#endif - -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettimeofday (void); - -int -main (void) -{ - -/* The GNU C library defines stubs for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) -#error found stub for gettimeofday -#endif - - return gettimeofday (); - ; - return 0; -} -_ACEOF -rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19203: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:19206: \$? = $ac_status" >&5 - (exit "$ac_status"); } && - { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19209: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:19212: \$? = $ac_status" >&5 - (exit "$ac_status"); }; }; then - ac_cv_func_gettimeofday=yes -else - echo "$as_me: failed program was:" >&5 -cat "conftest.$ac_ext" >&5 -ac_cv_func_gettimeofday=no -fi -rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" -fi -echo "$as_me:19222: result: $ac_cv_func_gettimeofday" >&5 -echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 -if test "$ac_cv_func_gettimeofday" = yes; then - -cat >>confdefs.h <<\EOF -#define HAVE_GETTIMEOFDAY 1 -EOF - -else - -echo "$as_me:19232: checking for gettimeofday in -lbsd" >&5 -echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 -if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lbsd $LIBS" -cat >"conftest.$ac_ext" <<_ACEOF -#line 19240 "configure" -#include "confdefs.h" - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char gettimeofday (); -int -main (void) -{ -gettimeofday (); - ; - return 0; -} -_ACEOF -rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19259: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:19262: \$? = $ac_status" >&5 - (exit "$ac_status"); } && - { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19265: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:19268: \$? = $ac_status" >&5 - (exit "$ac_status"); }; }; then - ac_cv_lib_bsd_gettimeofday=yes -else - echo "$as_me: failed program was:" >&5 -cat "conftest.$ac_ext" >&5 -ac_cv_lib_bsd_gettimeofday=no -fi -rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:19279: result: $ac_cv_lib_bsd_gettimeofday" >&5 -echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 -if test "$ac_cv_lib_bsd_gettimeofday" = yes; then - -cat >>confdefs.h <<\EOF -#define HAVE_GETTIMEOFDAY 1 -EOF - -cf_add_libs="$LIBS" -# reverse order -cf_add_0lib= -for cf_add_1lib in -lbsd; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done -# filter duplicates -for cf_add_1lib in $cf_add_0lib; do - for cf_add_2lib in $cf_add_libs; do - if test "x$cf_add_1lib" = "x$cf_add_2lib"; then - cf_add_1lib= - break - fi - done - test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs" -done -LIBS="$cf_add_libs" - -fi - -fi - ;; esac -echo "$as_me:19310: checking if -lm needed for math functions" >&5 +echo "$as_me:19168: checking if -lm needed for math functions" >&5 echo $ECHO_N "checking if -lm needed for math functions... $ECHO_C" >&6 if test "${cf_cv_need_libm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19317 "configure" +#line 19175 "configure" #include "confdefs.h" #include @@ -19330,16 +19188,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19333: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19191: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19336: \$? = $ac_status" >&5 + echo "$as_me:19194: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19339: \"$ac_try\"") >&5 + { (eval echo "$as_me:19197: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19342: \$? = $ac_status" >&5 + echo "$as_me:19200: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_need_libm=no else @@ -19349,7 +19207,7 @@ cf_cv_need_libm=yes fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19352: result: $cf_cv_need_libm" >&5 +echo "$as_me:19210: result: $cf_cv_need_libm" >&5 echo "${ECHO_T}$cf_cv_need_libm" >&6 if test "$cf_cv_need_libm" = yes @@ -19357,14 +19215,14 @@ then cf_save_LIBS="$LIBS" LIBS="$LIBS -lm" - echo "$as_me:19360: checking if -lm is available for math functions" >&5 + echo "$as_me:19218: checking if -lm is available for math functions" >&5 echo $ECHO_N "checking if -lm is available for math functions... $ECHO_C" >&6 if test "${cf_cv_have_libm+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19367 "configure" +#line 19225 "configure" #include "confdefs.h" #include @@ -19380,16 +19238,16 @@ double x = rand(); printf("result = %g\\n", pow(sin(x),x)) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19383: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19241: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19386: \$? = $ac_status" >&5 + echo "$as_me:19244: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19389: \"$ac_try\"") >&5 + { (eval echo "$as_me:19247: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19392: \$? = $ac_status" >&5 + echo "$as_me:19250: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_libm=yes else @@ -19399,7 +19257,7 @@ cf_cv_have_libm=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19402: result: $cf_cv_have_libm" >&5 +echo "$as_me:19260: result: $cf_cv_have_libm" >&5 echo "${ECHO_T}$cf_cv_have_libm" >&6 LIBS="$cf_save_LIBS" @@ -19421,13 +19279,13 @@ EOF fi ### Checks for header files. -echo "$as_me:19424: checking whether time.h and sys/time.h may both be included" >&5 +echo "$as_me:19282: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19430 "configure" +#line 19288 "configure" #include "confdefs.h" #include #include @@ -19443,16 +19301,16 @@ return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19446: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19304: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19449: \$? = $ac_status" >&5 + echo "$as_me:19307: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19452: \"$ac_try\"") >&5 + { (eval echo "$as_me:19310: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19455: \$? = $ac_status" >&5 + echo "$as_me:19313: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_header_time=yes else @@ -19462,7 +19320,7 @@ ac_cv_header_time=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:19465: result: $ac_cv_header_time" >&5 +echo "$as_me:19323: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6 if test $ac_cv_header_time = yes; then @@ -19477,7 +19335,7 @@ cf_regex_libs= case "$host_os" in (mingw*) # -lsystre -ltre -lintl -liconv - echo "$as_me:19480: checking for regcomp in -lsystre" >&5 + echo "$as_me:19338: checking for regcomp in -lsystre" >&5 echo $ECHO_N "checking for regcomp in -lsystre... $ECHO_C" >&6 if test "${ac_cv_lib_systre_regcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19485,7 +19343,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lsystre $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19488 "configure" +#line 19346 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19504,16 +19362,16 @@ regcomp (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19507: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19365: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19510: \$? = $ac_status" >&5 + echo "$as_me:19368: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19513: \"$ac_try\"") >&5 + { (eval echo "$as_me:19371: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19516: \$? = $ac_status" >&5 + echo "$as_me:19374: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_systre_regcomp=yes else @@ -19524,11 +19382,11 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19527: result: $ac_cv_lib_systre_regcomp" >&5 +echo "$as_me:19385: result: $ac_cv_lib_systre_regcomp" >&5 echo "${ECHO_T}$ac_cv_lib_systre_regcomp" >&6 if test "$ac_cv_lib_systre_regcomp" = yes; then - echo "$as_me:19531: checking for libiconv_open in -liconv" >&5 + echo "$as_me:19389: checking for libiconv_open in -liconv" >&5 echo $ECHO_N "checking for libiconv_open in -liconv... $ECHO_C" >&6 if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19536,7 +19394,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-liconv $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19539 "configure" +#line 19397 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19555,16 +19413,16 @@ libiconv_open (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19558: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19416: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19561: \$? = $ac_status" >&5 + echo "$as_me:19419: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19564: \"$ac_try\"") >&5 + { (eval echo "$as_me:19422: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19567: \$? = $ac_status" >&5 + echo "$as_me:19425: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_iconv_libiconv_open=yes else @@ -19575,7 +19433,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19578: result: $ac_cv_lib_iconv_libiconv_open" >&5 +echo "$as_me:19436: result: $ac_cv_lib_iconv_libiconv_open" >&5 echo "${ECHO_T}$ac_cv_lib_iconv_libiconv_open" >&6 if test "$ac_cv_lib_iconv_libiconv_open" = yes; then @@ -19597,7 +19455,7 @@ LIBS="$cf_add_libs" fi - echo "$as_me:19600: checking for libintl_gettext in -lintl" >&5 + echo "$as_me:19458: checking for libintl_gettext in -lintl" >&5 echo $ECHO_N "checking for libintl_gettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_libintl_gettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19605,7 +19463,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19608 "configure" +#line 19466 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19624,16 +19482,16 @@ libintl_gettext (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19627: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19485: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19630: \$? = $ac_status" >&5 + echo "$as_me:19488: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19633: \"$ac_try\"") >&5 + { (eval echo "$as_me:19491: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19636: \$? = $ac_status" >&5 + echo "$as_me:19494: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_intl_libintl_gettext=yes else @@ -19644,7 +19502,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19647: result: $ac_cv_lib_intl_libintl_gettext" >&5 +echo "$as_me:19505: result: $ac_cv_lib_intl_libintl_gettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_libintl_gettext" >&6 if test "$ac_cv_lib_intl_libintl_gettext" = yes; then @@ -19666,7 +19524,7 @@ LIBS="$cf_add_libs" fi - echo "$as_me:19669: checking for tre_regcomp in -ltre" >&5 + echo "$as_me:19527: checking for tre_regcomp in -ltre" >&5 echo $ECHO_N "checking for tre_regcomp in -ltre... $ECHO_C" >&6 if test "${ac_cv_lib_tre_tre_regcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19674,7 +19532,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ltre $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19677 "configure" +#line 19535 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19693,16 +19551,16 @@ tre_regcomp (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19696: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19554: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19699: \$? = $ac_status" >&5 + echo "$as_me:19557: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19702: \"$ac_try\"") >&5 + { (eval echo "$as_me:19560: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19705: \$? = $ac_status" >&5 + echo "$as_me:19563: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_tre_tre_regcomp=yes else @@ -19713,7 +19571,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19716: result: $ac_cv_lib_tre_tre_regcomp" >&5 +echo "$as_me:19574: result: $ac_cv_lib_tre_tre_regcomp" >&5 echo "${ECHO_T}$ac_cv_lib_tre_tre_regcomp" >&6 if test "$ac_cv_lib_tre_tre_regcomp" = yes; then @@ -19755,7 +19613,7 @@ LIBS="$cf_add_libs" else - echo "$as_me:19758: checking for regcomp in -lgnurx" >&5 + echo "$as_me:19616: checking for regcomp in -lgnurx" >&5 echo $ECHO_N "checking for regcomp in -lgnurx... $ECHO_C" >&6 if test "${ac_cv_lib_gnurx_regcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19763,7 +19621,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lgnurx $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19766 "configure" +#line 19624 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19782,16 +19640,16 @@ regcomp (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19785: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19643: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19788: \$? = $ac_status" >&5 + echo "$as_me:19646: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19791: \"$ac_try\"") >&5 + { (eval echo "$as_me:19649: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19794: \$? = $ac_status" >&5 + echo "$as_me:19652: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_gnurx_regcomp=yes else @@ -19802,7 +19660,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19805: result: $ac_cv_lib_gnurx_regcomp" >&5 +echo "$as_me:19663: result: $ac_cv_lib_gnurx_regcomp" >&5 echo "${ECHO_T}$ac_cv_lib_gnurx_regcomp" >&6 if test "$ac_cv_lib_gnurx_regcomp" = yes; then @@ -19830,13 +19688,13 @@ fi ;; (*) cf_regex_libs="regex re" - echo "$as_me:19833: checking for regcomp" >&5 + echo "$as_me:19691: checking for regcomp" >&5 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 if test "${ac_cv_func_regcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19839 "configure" +#line 19697 "configure" #include "confdefs.h" #define regcomp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -19867,16 +19725,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19870: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19728: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19873: \$? = $ac_status" >&5 + echo "$as_me:19731: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19876: \"$ac_try\"") >&5 + { (eval echo "$as_me:19734: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19879: \$? = $ac_status" >&5 + echo "$as_me:19737: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_regcomp=yes else @@ -19886,7 +19744,7 @@ ac_cv_func_regcomp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19889: result: $ac_cv_func_regcomp" >&5 +echo "$as_me:19747: result: $ac_cv_func_regcomp" >&5 echo "${ECHO_T}$ac_cv_func_regcomp" >&6 if test "$ac_cv_func_regcomp" = yes; then cf_regex_func=regcomp @@ -19895,7 +19753,7 @@ else for cf_regex_lib in $cf_regex_libs do as_ac_Lib=`echo "ac_cv_lib_$cf_regex_lib''_regcomp" | $as_tr_sh` -echo "$as_me:19898: checking for regcomp in -l$cf_regex_lib" >&5 +echo "$as_me:19756: checking for regcomp in -l$cf_regex_lib" >&5 echo $ECHO_N "checking for regcomp in -l$cf_regex_lib... $ECHO_C" >&6 if eval "test \"\${$as_ac_Lib+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19903,7 +19761,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-l$cf_regex_lib $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19906 "configure" +#line 19764 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -19922,16 +19780,16 @@ regcomp (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19925: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19783: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19928: \$? = $ac_status" >&5 + echo "$as_me:19786: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19931: \"$ac_try\"") >&5 + { (eval echo "$as_me:19789: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19934: \$? = $ac_status" >&5 + echo "$as_me:19792: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_Lib=yes" else @@ -19942,7 +19800,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:19945: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 +echo "$as_me:19803: result: `eval echo '${'"$as_ac_Lib"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Lib"'}'`" >&6 if test "`eval echo '${'"$as_ac_Lib"'}'`" = yes; then @@ -19974,13 +19832,13 @@ fi esac if test "$cf_regex_func" = no ; then - echo "$as_me:19977: checking for compile" >&5 + echo "$as_me:19835: checking for compile" >&5 echo $ECHO_N "checking for compile... $ECHO_C" >&6 if test "${ac_cv_func_compile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19983 "configure" +#line 19841 "configure" #include "confdefs.h" #define compile autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20011,16 +19869,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20014: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19872: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20017: \$? = $ac_status" >&5 + echo "$as_me:19875: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20020: \"$ac_try\"") >&5 + { (eval echo "$as_me:19878: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20023: \$? = $ac_status" >&5 + echo "$as_me:19881: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_compile=yes else @@ -20030,13 +19888,13 @@ ac_cv_func_compile=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:20033: result: $ac_cv_func_compile" >&5 +echo "$as_me:19891: result: $ac_cv_func_compile" >&5 echo "${ECHO_T}$ac_cv_func_compile" >&6 if test "$ac_cv_func_compile" = yes; then cf_regex_func=compile else - echo "$as_me:20039: checking for compile in -lgen" >&5 + echo "$as_me:19897: checking for compile in -lgen" >&5 echo $ECHO_N "checking for compile in -lgen... $ECHO_C" >&6 if test "${ac_cv_lib_gen_compile+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20044,7 +19902,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lgen $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 20047 "configure" +#line 19905 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -20063,16 +19921,16 @@ compile (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20066: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19924: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20069: \$? = $ac_status" >&5 + echo "$as_me:19927: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20072: \"$ac_try\"") >&5 + { (eval echo "$as_me:19930: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20075: \$? = $ac_status" >&5 + echo "$as_me:19933: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_gen_compile=yes else @@ -20083,7 +19941,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:20086: result: $ac_cv_lib_gen_compile" >&5 +echo "$as_me:19944: result: $ac_cv_lib_gen_compile" >&5 echo "${ECHO_T}$ac_cv_lib_gen_compile" >&6 if test "$ac_cv_lib_gen_compile" = yes; then @@ -20111,11 +19969,11 @@ fi fi if test "$cf_regex_func" = no ; then - { echo "$as_me:20114: WARNING: cannot find regular expression library" >&5 + { echo "$as_me:19972: WARNING: cannot find regular expression library" >&5 echo "$as_me: WARNING: cannot find regular expression library" >&2;} fi -echo "$as_me:20118: checking for regular-expression headers" >&5 +echo "$as_me:19976: checking for regular-expression headers" >&5 echo $ECHO_N "checking for regular-expression headers... $ECHO_C" >&6 if test "${cf_cv_regex_hdrs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20127,7 +19985,7 @@ case "$cf_regex_func" in for cf_regex_hdr in regexp.h regexpr.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 20130 "configure" +#line 19988 "configure" #include "confdefs.h" #include <$cf_regex_hdr> int @@ -20144,16 +20002,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20147: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20005: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20150: \$? = $ac_status" >&5 + echo "$as_me:20008: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20153: \"$ac_try\"") >&5 + { (eval echo "$as_me:20011: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20156: \$? = $ac_status" >&5 + echo "$as_me:20014: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -20170,7 +20028,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" for cf_regex_hdr in regex.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 20173 "configure" +#line 20031 "configure" #include "confdefs.h" #include #include <$cf_regex_hdr> @@ -20190,16 +20048,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20193: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20051: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20196: \$? = $ac_status" >&5 + echo "$as_me:20054: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20199: \"$ac_try\"") >&5 + { (eval echo "$as_me:20057: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20202: \$? = $ac_status" >&5 + echo "$as_me:20060: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_regex_hdrs=$cf_regex_hdr @@ -20215,11 +20073,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" esac fi -echo "$as_me:20218: result: $cf_cv_regex_hdrs" >&5 +echo "$as_me:20076: result: $cf_cv_regex_hdrs" >&5 echo "${ECHO_T}$cf_cv_regex_hdrs" >&6 case "$cf_cv_regex_hdrs" in - (no) { echo "$as_me:20222: WARNING: no regular expression header found" >&5 + (no) { echo "$as_me:20080: WARNING: no regular expression header found" >&5 echo "$as_me: WARNING: no regular expression header found" >&2;} ;; (regex.h) cat >>confdefs.h <<\EOF @@ -20256,23 +20114,23 @@ wctype.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:20259: checking for $ac_header" >&5 +echo "$as_me:20117: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20265 "configure" +#line 20123 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:20269: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:20127: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:20275: \$? = $ac_status" >&5 + echo "$as_me:20133: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -20291,7 +20149,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:20294: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:20152: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:20165: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20313 "configure" +#line 20171 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:20317: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:20175: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:20323: \$? = $ac_status" >&5 + echo "$as_me:20181: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -20339,7 +20197,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:20342: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:20200: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:20210: checking for header declaring getopt variables" >&5 echo $ECHO_N "checking for header declaring getopt variables... $ECHO_C" >&6 if test "${cf_cv_getopt_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20359,7 +20217,7 @@ cf_cv_getopt_header=none for cf_header in stdio.h stdlib.h unistd.h getopt.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 20362 "configure" +#line 20220 "configure" #include "confdefs.h" #include <$cf_header> @@ -20372,16 +20230,16 @@ int x = optind; char *y = optarg; (void)x; (void)y } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20375: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20233: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20378: \$? = $ac_status" >&5 + echo "$as_me:20236: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20381: \"$ac_try\"") >&5 + { (eval echo "$as_me:20239: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20384: \$? = $ac_status" >&5 + echo "$as_me:20242: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_getopt_header=$cf_header break @@ -20393,7 +20251,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:20396: result: $cf_cv_getopt_header" >&5 +echo "$as_me:20254: result: $cf_cv_getopt_header" >&5 echo "${ECHO_T}$cf_cv_getopt_header" >&6 if test "$cf_cv_getopt_header" != none ; then @@ -20410,14 +20268,14 @@ EOF fi -echo "$as_me:20413: checking if external environ is declared" >&5 +echo "$as_me:20271: checking if external environ is declared" >&5 echo $ECHO_N "checking if external environ is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_environ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20420 "configure" +#line 20278 "configure" #include "confdefs.h" $ac_includes_default @@ -20430,16 +20288,16 @@ void* x = (void*) environ; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20433: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20291: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20436: \$? = $ac_status" >&5 + echo "$as_me:20294: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20439: \"$ac_try\"") >&5 + { (eval echo "$as_me:20297: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20442: \$? = $ac_status" >&5 + echo "$as_me:20300: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_dcl_environ=yes else @@ -20450,7 +20308,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20453: result: $cf_cv_dcl_environ" >&5 +echo "$as_me:20311: result: $cf_cv_dcl_environ" >&5 echo "${ECHO_T}$cf_cv_dcl_environ" >&6 if test "$cf_cv_dcl_environ" = no ; then @@ -20465,14 +20323,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:20468: checking if external environ exists" >&5 +echo "$as_me:20326: checking if external environ exists" >&5 echo $ECHO_N "checking if external environ exists... $ECHO_C" >&6 if test "${cf_cv_have_environ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20475 "configure" +#line 20333 "configure" #include "confdefs.h" #undef environ @@ -20487,16 +20345,16 @@ environ = 2 } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20490: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20348: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20493: \$? = $ac_status" >&5 + echo "$as_me:20351: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20496: \"$ac_try\"") >&5 + { (eval echo "$as_me:20354: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20499: \$? = $ac_status" >&5 + echo "$as_me:20357: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_environ=yes else @@ -20507,7 +20365,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:20510: result: $cf_cv_have_environ" >&5 +echo "$as_me:20368: result: $cf_cv_have_environ" >&5 echo "${ECHO_T}$cf_cv_have_environ" >&6 if test "$cf_cv_have_environ" = yes ; then @@ -20520,13 +20378,13 @@ EOF fi -echo "$as_me:20523: checking for getenv" >&5 +echo "$as_me:20381: checking for getenv" >&5 echo $ECHO_N "checking for getenv... $ECHO_C" >&6 if test "${ac_cv_func_getenv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20529 "configure" +#line 20387 "configure" #include "confdefs.h" #define getenv autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20557,16 +20415,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20560: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20418: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20563: \$? = $ac_status" >&5 + echo "$as_me:20421: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20566: \"$ac_try\"") >&5 + { (eval echo "$as_me:20424: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20569: \$? = $ac_status" >&5 + echo "$as_me:20427: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_getenv=yes else @@ -20576,19 +20434,19 @@ ac_cv_func_getenv=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:20579: result: $ac_cv_func_getenv" >&5 +echo "$as_me:20437: result: $ac_cv_func_getenv" >&5 echo "${ECHO_T}$ac_cv_func_getenv" >&6 for ac_func in putenv setenv strdup do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:20585: checking for $ac_func" >&5 +echo "$as_me:20443: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20591 "configure" +#line 20449 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -20619,16 +20477,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20622: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20480: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20625: \$? = $ac_status" >&5 + echo "$as_me:20483: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20628: \"$ac_try\"") >&5 + { (eval echo "$as_me:20486: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20631: \$? = $ac_status" >&5 + echo "$as_me:20489: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -20638,7 +20496,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:20641: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:20499: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:20509: checking if getenv returns consistent values" >&5 echo $ECHO_N "checking if getenv returns consistent values... $ECHO_C" >&6 if test "${cf_cv_consistent_getenv+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20658,7 +20516,7 @@ if test "$cross_compiling" = yes; then cf_cv_consistent_getenv=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 20661 "configure" +#line 20519 "configure" #include "confdefs.h" $ac_includes_default @@ -20763,15 +20621,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:20766: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20624: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20769: \$? = $ac_status" >&5 + echo "$as_me:20627: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:20771: \"$ac_try\"") >&5 + { (eval echo "$as_me:20629: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20774: \$? = $ac_status" >&5 + echo "$as_me:20632: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_consistent_getenv=yes else @@ -20784,7 +20642,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:20787: result: $cf_cv_consistent_getenv" >&5 +echo "$as_me:20645: result: $cf_cv_consistent_getenv" >&5 echo "${ECHO_T}$cf_cv_consistent_getenv" >&6 if test "x$cf_cv_consistent_getenv" = xno @@ -20799,18 +20657,18 @@ fi if test "x$cf_cv_consistent_getenv" = xno && \ test "x$cf_with_trace" = xyes then - { echo "$as_me:20802: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 + { echo "$as_me:20660: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&5 echo "$as_me: WARNING: The NCURSES_TRACE environment variable is not supported with this configuration" >&2;} fi -echo "$as_me:20806: checking if sys/time.h works with sys/select.h" >&5 +echo "$as_me:20664: checking if sys/time.h works with sys/select.h" >&5 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 if test "${cf_cv_sys_time_select+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20813 "configure" +#line 20671 "configure" #include "confdefs.h" #include @@ -20830,16 +20688,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20833: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20691: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20836: \$? = $ac_status" >&5 + echo "$as_me:20694: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20839: \"$ac_try\"") >&5 + { (eval echo "$as_me:20697: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20842: \$? = $ac_status" >&5 + echo "$as_me:20700: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_sys_time_select=yes else @@ -20851,7 +20709,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20854: result: $cf_cv_sys_time_select" >&5 +echo "$as_me:20712: result: $cf_cv_sys_time_select" >&5 echo "${ECHO_T}$cf_cv_sys_time_select" >&6 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF @@ -20866,13 +20724,13 @@ ac_link='$CC -o "conftest$ac_exeext" $CFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ex ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_main_return="return" -echo "$as_me:20869: checking for an ANSI C-conforming const" >&5 +echo "$as_me:20727: checking for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20875 "configure" +#line 20733 "configure" #include "confdefs.h" int @@ -20930,16 +20788,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20933: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20791: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20936: \$? = $ac_status" >&5 + echo "$as_me:20794: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20939: \"$ac_try\"") >&5 + { (eval echo "$as_me:20797: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20942: \$? = $ac_status" >&5 + echo "$as_me:20800: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_c_const=yes else @@ -20949,7 +20807,7 @@ ac_cv_c_const=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20952: result: $ac_cv_c_const" >&5 +echo "$as_me:20810: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6 if test $ac_cv_c_const = no; then @@ -20959,7 +20817,7 @@ EOF fi -echo "$as_me:20962: checking for inline" >&5 +echo "$as_me:20820: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6 if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20967,7 +20825,7 @@ else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >"conftest.$ac_ext" <<_ACEOF -#line 20970 "configure" +#line 20828 "configure" #include "confdefs.h" #ifndef __cplusplus static $ac_kw int static_foo () {return 0; } @@ -20976,16 +20834,16 @@ $ac_kw int foo () {return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20979: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20837: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20982: \$? = $ac_status" >&5 + echo "$as_me:20840: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20985: \"$ac_try\"") >&5 + { (eval echo "$as_me:20843: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20988: \$? = $ac_status" >&5 + echo "$as_me:20846: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_c_inline=$ac_kw; break else @@ -20996,7 +20854,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:20999: result: $ac_cv_c_inline" >&5 +echo "$as_me:20857: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6 case $ac_cv_c_inline in inline | yes) ;; @@ -21022,7 +20880,7 @@ if test "$ac_cv_c_inline" != no ; then : elif test "$GCC" = yes then - echo "$as_me:21025: checking if $CC supports options to tune inlining" >&5 + echo "$as_me:20883: checking if $CC supports options to tune inlining" >&5 echo $ECHO_N "checking if $CC supports options to tune inlining... $ECHO_C" >&6 if test "${cf_cv_gcc_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21031,7 +20889,7 @@ else cf_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS --param max-inline-insns-single=1200" cat >"conftest.$ac_ext" <<_ACEOF -#line 21034 "configure" +#line 20892 "configure" #include "confdefs.h" inline int foo(void) { return 1; } int @@ -21043,16 +20901,16 @@ ${cf_cv_main_return:-return} foo() } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:21046: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20904: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21049: \$? = $ac_status" >&5 + echo "$as_me:20907: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21052: \"$ac_try\"") >&5 + { (eval echo "$as_me:20910: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21055: \$? = $ac_status" >&5 + echo "$as_me:20913: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_gcc_inline=yes else @@ -21064,7 +20922,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" CFLAGS=$cf_save_CFLAGS fi -echo "$as_me:21067: result: $cf_cv_gcc_inline" >&5 +echo "$as_me:20925: result: $cf_cv_gcc_inline" >&5 echo "${ECHO_T}$cf_cv_gcc_inline" >&6 if test "$cf_cv_gcc_inline" = yes ; then @@ -21170,7 +21028,7 @@ fi fi fi -echo "$as_me:21173: checking for signal global datatype" >&5 +echo "$as_me:21031: checking for signal global datatype" >&5 echo $ECHO_N "checking for signal global datatype... $ECHO_C" >&6 if test "${cf_cv_sig_atomic_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21182,7 +21040,7 @@ else "int" do cat >"conftest.$ac_ext" <<_ACEOF -#line 21185 "configure" +#line 21043 "configure" #include "confdefs.h" #include @@ -21206,16 +21064,16 @@ signal(SIGINT, handler); } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:21209: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21067: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21212: \$? = $ac_status" >&5 + echo "$as_me:21070: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21215: \"$ac_try\"") >&5 + { (eval echo "$as_me:21073: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21218: \$? = $ac_status" >&5 + echo "$as_me:21076: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_sig_atomic_t=$cf_type else @@ -21229,7 +21087,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:21232: result: $cf_cv_sig_atomic_t" >&5 +echo "$as_me:21090: result: $cf_cv_sig_atomic_t" >&5 echo "${ECHO_T}$cf_cv_sig_atomic_t" >&6 test "$cf_cv_sig_atomic_t" != no && cat >>confdefs.h <&5 +echo "$as_me:21099: checking for type of chtype" >&5 echo $ECHO_N "checking for type of chtype... $ECHO_C" >&6 if test "${cf_cv_typeof_chtype+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21248,7 +21106,7 @@ else cf_cv_typeof_chtype=long else cat >"conftest.$ac_ext" <<_ACEOF -#line 21251 "configure" +#line 21109 "configure" #include "confdefs.h" $ac_includes_default @@ -21283,15 +21141,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:21286: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21144: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21289: \$? = $ac_status" >&5 + echo "$as_me:21147: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:21291: \"$ac_try\"") >&5 + { (eval echo "$as_me:21149: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21294: \$? = $ac_status" >&5 + echo "$as_me:21152: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_typeof_chtype=`cat cf_test.out` else @@ -21306,7 +21164,7 @@ fi fi -echo "$as_me:21309: result: $cf_cv_typeof_chtype" >&5 +echo "$as_me:21167: result: $cf_cv_typeof_chtype" >&5 echo "${ECHO_T}$cf_cv_typeof_chtype" >&6 cat >>confdefs.h <&5 +echo "$as_me:21179: checking if unsigned literals are legal" >&5 echo $ECHO_N "checking if unsigned literals are legal... $ECHO_C" >&6 if test "${cf_cv_unsigned_literals+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21328 "configure" +#line 21186 "configure" #include "confdefs.h" int @@ -21337,16 +21195,16 @@ long x = 1L + 1UL + 1U + 1 } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:21340: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21198: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21343: \$? = $ac_status" >&5 + echo "$as_me:21201: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21346: \"$ac_try\"") >&5 + { (eval echo "$as_me:21204: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21349: \$? = $ac_status" >&5 + echo "$as_me:21207: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_unsigned_literals=yes else @@ -21358,7 +21216,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:21361: result: $cf_cv_unsigned_literals" >&5 +echo "$as_me:21219: result: $cf_cv_unsigned_literals" >&5 echo "${ECHO_T}$cf_cv_unsigned_literals" >&6 cf_cv_1UL="1" @@ -21374,14 +21232,14 @@ test "$cf_cv_typeof_mmask_t" = unsigned && cf_cv_typeof_mmask_t="" ### Checks for external-data -echo "$as_me:21377: checking if external errno is declared" >&5 +echo "$as_me:21235: checking if external errno is declared" >&5 echo $ECHO_N "checking if external errno is declared... $ECHO_C" >&6 if test "${cf_cv_dcl_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21384 "configure" +#line 21242 "configure" #include "confdefs.h" $ac_includes_default @@ -21395,16 +21253,16 @@ int x = (int) errno; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:21398: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21256: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21401: \$? = $ac_status" >&5 + echo "$as_me:21259: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21404: \"$ac_try\"") >&5 + { (eval echo "$as_me:21262: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21407: \$? = $ac_status" >&5 + echo "$as_me:21265: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_dcl_errno=yes else @@ -21415,7 +21273,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:21418: result: $cf_cv_dcl_errno" >&5 +echo "$as_me:21276: result: $cf_cv_dcl_errno" >&5 echo "${ECHO_T}$cf_cv_dcl_errno" >&6 if test "$cf_cv_dcl_errno" = no ; then @@ -21430,14 +21288,14 @@ fi # It's possible (for near-UNIX clones) that the data doesn't exist -echo "$as_me:21433: checking if external errno exists" >&5 +echo "$as_me:21291: checking if external errno exists" >&5 echo $ECHO_N "checking if external errno exists... $ECHO_C" >&6 if test "${cf_cv_have_errno+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21440 "configure" +#line 21298 "configure" #include "confdefs.h" #undef errno @@ -21452,16 +21310,16 @@ errno = 2 } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21455: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21313: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21458: \$? = $ac_status" >&5 + echo "$as_me:21316: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21461: \"$ac_try\"") >&5 + { (eval echo "$as_me:21319: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21464: \$? = $ac_status" >&5 + echo "$as_me:21322: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_errno=yes else @@ -21472,7 +21330,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21475: result: $cf_cv_have_errno" >&5 +echo "$as_me:21333: result: $cf_cv_have_errno" >&5 echo "${ECHO_T}$cf_cv_have_errno" >&6 if test "$cf_cv_have_errno" = yes ; then @@ -21485,7 +21343,7 @@ EOF fi -echo "$as_me:21488: checking if data-only library module links" >&5 +echo "$as_me:21346: checking if data-only library module links" >&5 echo $ECHO_N "checking if data-only library module links... $ECHO_C" >&6 if test "${cf_cv_link_dataonly+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21493,20 +21351,20 @@ else rm -f conftest.a cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:21357: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21502: \$? = $ac_status" >&5 + echo "$as_me:21360: \$? = $ac_status" >&5 (exit "$ac_status"); } ; then mv conftest.o data.o && \ ( $AR $ARFLAGS conftest.a data.o ) 2>&5 1>/dev/null fi rm -f conftest.$ac_ext data.o cat >conftest.$ac_ext <&5 + if { (eval echo "$as_me:21380: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21525: \$? = $ac_status" >&5 + echo "$as_me:21383: \$? = $ac_status" >&5 (exit "$ac_status"); }; then mv conftest.o func.o && \ ( $AR $ARFLAGS conftest.a func.o ) 2>&5 1>/dev/null @@ -21535,7 +21393,7 @@ EOF cf_cv_link_dataonly=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 21538 "configure" +#line 21396 "configure" #include "confdefs.h" int main(void) @@ -21546,15 +21404,15 @@ else _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:21549: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21407: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21552: \$? = $ac_status" >&5 + echo "$as_me:21410: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:21554: \"$ac_try\"") >&5 + { (eval echo "$as_me:21412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21557: \$? = $ac_status" >&5 + echo "$as_me:21415: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_link_dataonly=yes else @@ -21569,7 +21427,7 @@ fi fi -echo "$as_me:21572: result: $cf_cv_link_dataonly" >&5 +echo "$as_me:21430: result: $cf_cv_link_dataonly" >&5 echo "${ECHO_T}$cf_cv_link_dataonly" >&6 if test "$cf_cv_link_dataonly" = no ; then @@ -21583,6 +21441,199 @@ fi ### Checks for library functions. +echo "$as_me:21444: checking for clock_gettime" >&5 +echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6 +if test "${cf_cv_func_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >"conftest.$ac_ext" <<_ACEOF +#line 21451 "configure" +#include "confdefs.h" +#include +int +main (void) +{ +struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21464: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:21467: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21470: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:21473: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_clock_gettime=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +cf_cv_func_clock_gettime=no +fi +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + +fi +echo "$as_me:21484: result: $cf_cv_func_clock_gettime" >&5 +echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6 + +if test "$cf_cv_func_clock_gettime" = yes +then + +cat >>confdefs.h <<\EOF +#define HAVE_CLOCK_GETTIME 1 +EOF + +else +echo "$as_me:21495: checking for gettimeofday" >&5 +echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 +if test "${ac_cv_func_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >"conftest.$ac_ext" <<_ACEOF +#line 21501 "configure" +#include "confdefs.h" +#define gettimeofday autoconf_temporary +#include /* least-intrusive standard header which defines gcc2 __stub macros */ +#undef gettimeofday + +#ifdef __cplusplus +extern "C" +#endif + +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gettimeofday (void); + +int +main (void) +{ + +/* The GNU C library defines stubs for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) +#error found stub for gettimeofday +#endif + + return gettimeofday (); + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21532: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:21535: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21538: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:21541: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_func_gettimeofday=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +ac_cv_func_gettimeofday=no +fi +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +fi +echo "$as_me:21551: result: $ac_cv_func_gettimeofday" >&5 +echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 +if test "$ac_cv_func_gettimeofday" = yes; then + +cat >>confdefs.h <<\EOF +#define HAVE_GETTIMEOFDAY 1 +EOF + +else + +echo "$as_me:21561: checking for gettimeofday in -lbsd" >&5 +echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 +if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lbsd $LIBS" +cat >"conftest.$ac_ext" <<_ACEOF +#line 21569 "configure" +#include "confdefs.h" + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char gettimeofday (); +int +main (void) +{ +gettimeofday (); + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:21588: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:21591: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:21594: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:21597: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + ac_cv_lib_bsd_gettimeofday=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +ac_cv_lib_bsd_gettimeofday=no +fi +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" +LIBS=$ac_check_lib_save_LIBS +fi +echo "$as_me:21608: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 +if test "$ac_cv_lib_bsd_gettimeofday" = yes; then + +cat >>confdefs.h <<\EOF +#define HAVE_GETTIMEOFDAY 1 +EOF + +cf_add_libs="$LIBS" +# reverse order +cf_add_0lib= +for cf_add_1lib in -lbsd; do cf_add_0lib="$cf_add_1lib $cf_add_0lib"; done +# filter duplicates +for cf_add_1lib in $cf_add_0lib; do + for cf_add_2lib in $cf_add_libs; do + if test "x$cf_add_1lib" = "x$cf_add_2lib"; then + cf_add_1lib= + break + fi + done + test -n "$cf_add_1lib" && cf_add_libs="$cf_add_1lib $cf_add_libs" +done +LIBS="$cf_add_libs" + +fi + +fi +fi + for ac_func in \ fpathconf \ getcwd \ @@ -21613,13 +21664,13 @@ vsnprintf \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:21616: checking for $ac_func" >&5 +echo "$as_me:21667: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21622 "configure" +#line 21673 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -21650,16 +21701,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21653: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21704: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21656: \$? = $ac_status" >&5 + echo "$as_me:21707: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21659: \"$ac_try\"") >&5 + { (eval echo "$as_me:21710: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21662: \$? = $ac_status" >&5 + echo "$as_me:21713: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -21669,7 +21720,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21672: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:21723: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:21733: checking if _PATH_TTYS is defined in ttyent.h" >&5 echo $ECHO_N "checking if _PATH_TTYS is defined in ttyent.h... $ECHO_C" >&6 if test "${cf_cv_PATH_TTYS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21689 "configure" +#line 21740 "configure" #include "confdefs.h" #include @@ -21701,16 +21752,16 @@ FILE *fp = fopen(_PATH_TTYS, "r"); (void)fp } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:21704: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21755: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:21707: \$? = $ac_status" >&5 + echo "$as_me:21758: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21710: \"$ac_try\"") >&5 + { (eval echo "$as_me:21761: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21713: \$? = $ac_status" >&5 + echo "$as_me:21764: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_PATH_TTYS=yes else @@ -21720,7 +21771,7 @@ cf_cv_PATH_TTYS=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:21723: result: $cf_cv_PATH_TTYS" >&5 +echo "$as_me:21774: result: $cf_cv_PATH_TTYS" >&5 echo "${ECHO_T}$cf_cv_PATH_TTYS" >&6 if test $cf_cv_PATH_TTYS = no @@ -21742,7 +21793,7 @@ fi if test $cf_cv_PATH_TTYS != no then - echo "$as_me:21745: checking if _PATH_TTYS file exists" >&5 + echo "$as_me:21796: checking if _PATH_TTYS file exists" >&5 echo $ECHO_N "checking if _PATH_TTYS file exists... $ECHO_C" >&6 if test "${cf_cv_have_PATH_TTYS+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21752,7 +21803,7 @@ else cf_cv_have_PATH_TTYS=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 21755 "configure" +#line 21806 "configure" #include "confdefs.h" $ac_includes_default @@ -21765,15 +21816,15 @@ int main(void) { } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:21768: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21819: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21771: \$? = $ac_status" >&5 + echo "$as_me:21822: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:21773: \"$ac_try\"") >&5 + { (eval echo "$as_me:21824: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21776: \$? = $ac_status" >&5 + echo "$as_me:21827: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_PATH_TTYS=yes else @@ -21785,7 +21836,7 @@ fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:21788: result: $cf_cv_have_PATH_TTYS" >&5 +echo "$as_me:21839: result: $cf_cv_have_PATH_TTYS" >&5 echo "${ECHO_T}$cf_cv_have_PATH_TTYS" >&6 test "$cf_cv_have_PATH_TTYS" = no && cf_cv_PATH_TTYS=no fi @@ -21797,14 +21848,14 @@ cat >>confdefs.h <<\EOF #define HAVE_PATH_TTYS 1 EOF - echo "$as_me:21800: checking for getttynam" >&5 + echo "$as_me:21851: checking for getttynam" >&5 echo $ECHO_N "checking for getttynam... $ECHO_C" >&6 if test "${cf_cv_func_getttynam+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21807 "configure" +#line 21858 "configure" #include "confdefs.h" #include int @@ -21816,16 +21867,16 @@ struct ttyent *fp = getttynam("/dev/tty"); (void)fp } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21819: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21870: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21822: \$? = $ac_status" >&5 + echo "$as_me:21873: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21825: \"$ac_try\"") >&5 + { (eval echo "$as_me:21876: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21828: \$? = $ac_status" >&5 + echo "$as_me:21879: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_getttynam=yes else @@ -21835,7 +21886,7 @@ cf_cv_func_getttynam=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21838: result: $cf_cv_func_getttynam" >&5 +echo "$as_me:21889: result: $cf_cv_func_getttynam" >&5 echo "${ECHO_T}$cf_cv_func_getttynam" >&6 test "$cf_cv_func_getttynam" = yes && cat >>confdefs.h <<\EOF #define HAVE_GETTTYNAM 1 @@ -21845,7 +21896,7 @@ fi if test "x$ac_cv_func_getopt" = xno && \ test "x$cf_with_progs$cf_with_tests" != xnono; then - { { echo "$as_me:21848: error: getopt is required for building programs" >&5 + { { echo "$as_me:21899: error: getopt is required for building programs" >&5 echo "$as_me: error: getopt is required for building programs" >&2;} { (exit 1); exit 1; }; } fi @@ -21854,7 +21905,7 @@ if test "x$with_safe_sprintf" = xyes then if test "x$ac_cv_func_vsnprintf" = xyes then - { echo "$as_me:21857: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 + { echo "$as_me:21908: WARNING: will use vsnprintf instead of safe-sprintf option" >&5 echo "$as_me: WARNING: will use vsnprintf instead of safe-sprintf option" >&2;} else @@ -21867,14 +21918,14 @@ fi if test "x$with_getcap" = "xyes" ; then -echo "$as_me:21870: checking for terminal-capability database functions" >&5 +echo "$as_me:21921: checking for terminal-capability database functions" >&5 echo $ECHO_N "checking for terminal-capability database functions... $ECHO_C" >&6 if test "${cf_cv_cgetent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21877 "configure" +#line 21928 "configure" #include "confdefs.h" $ac_includes_default @@ -21894,16 +21945,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21897: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21948: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21900: \$? = $ac_status" >&5 + echo "$as_me:21951: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21903: \"$ac_try\"") >&5 + { (eval echo "$as_me:21954: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21906: \$? = $ac_status" >&5 + echo "$as_me:21957: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cgetent=yes else @@ -21914,7 +21965,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21917: result: $cf_cv_cgetent" >&5 +echo "$as_me:21968: result: $cf_cv_cgetent" >&5 echo "${ECHO_T}$cf_cv_cgetent" >&6 if test "$cf_cv_cgetent" = yes @@ -21924,14 +21975,14 @@ cat >>confdefs.h <<\EOF #define HAVE_BSD_CGETENT 1 EOF -echo "$as_me:21927: checking if cgetent uses const parameter" >&5 +echo "$as_me:21978: checking if cgetent uses const parameter" >&5 echo $ECHO_N "checking if cgetent uses const parameter... $ECHO_C" >&6 if test "${cf_cv_cgetent_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21934 "configure" +#line 21985 "configure" #include "confdefs.h" #pragma GCC diagnostic error "-Wincompatible-pointer-types-discards-qualifiers" @@ -21954,16 +22005,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21957: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22008: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21960: \$? = $ac_status" >&5 + echo "$as_me:22011: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21963: \"$ac_try\"") >&5 + { (eval echo "$as_me:22014: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21966: \$? = $ac_status" >&5 + echo "$as_me:22017: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cgetent_const=yes else @@ -21974,7 +22025,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21977: result: $cf_cv_cgetent_const" >&5 +echo "$as_me:22028: result: $cf_cv_cgetent_const" >&5 echo "${ECHO_T}$cf_cv_cgetent_const" >&6 if test "$cf_cv_cgetent_const" = yes then @@ -21988,14 +22039,14 @@ fi fi -echo "$as_me:21991: checking for isascii" >&5 +echo "$as_me:22042: checking for isascii" >&5 echo $ECHO_N "checking for isascii... $ECHO_C" >&6 if test "${cf_cv_have_isascii+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21998 "configure" +#line 22049 "configure" #include "confdefs.h" #include int @@ -22007,16 +22058,16 @@ int x = isascii(' ') } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22010: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22061: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22013: \$? = $ac_status" >&5 + echo "$as_me:22064: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22016: \"$ac_try\"") >&5 + { (eval echo "$as_me:22067: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22019: \$? = $ac_status" >&5 + echo "$as_me:22070: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_isascii=yes else @@ -22027,7 +22078,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22030: result: $cf_cv_have_isascii" >&5 +echo "$as_me:22081: result: $cf_cv_have_isascii" >&5 echo "${ECHO_T}$cf_cv_have_isascii" >&6 test "$cf_cv_have_isascii" = yes && cat >>confdefs.h <<\EOF @@ -22035,10 +22086,10 @@ cat >>confdefs.h <<\EOF EOF if test "$ac_cv_func_sigaction" = yes; then -echo "$as_me:22038: checking whether sigaction needs _POSIX_SOURCE" >&5 +echo "$as_me:22089: checking whether sigaction needs _POSIX_SOURCE" >&5 echo $ECHO_N "checking whether sigaction needs _POSIX_SOURCE... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 22041 "configure" +#line 22092 "configure" #include "confdefs.h" #include @@ -22052,16 +22103,16 @@ struct sigaction act } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22055: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22106: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22058: \$? = $ac_status" >&5 + echo "$as_me:22109: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22061: \"$ac_try\"") >&5 + { (eval echo "$as_me:22112: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22064: \$? = $ac_status" >&5 + echo "$as_me:22115: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then sigact_bad=no else @@ -22069,7 +22120,7 @@ else cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 22072 "configure" +#line 22123 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -22084,16 +22135,16 @@ struct sigaction act } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22087: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22138: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22090: \$? = $ac_status" >&5 + echo "$as_me:22141: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22093: \"$ac_try\"") >&5 + { (eval echo "$as_me:22144: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22096: \$? = $ac_status" >&5 + echo "$as_me:22147: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then sigact_bad=yes @@ -22109,11 +22160,11 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:22112: result: $sigact_bad" >&5 +echo "$as_me:22163: result: $sigact_bad" >&5 echo "${ECHO_T}$sigact_bad" >&6 fi -echo "$as_me:22116: checking if nanosleep really works" >&5 +echo "$as_me:22167: checking if nanosleep really works" >&5 echo $ECHO_N "checking if nanosleep really works... $ECHO_C" >&6 if test "${cf_cv_func_nanosleep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22123,7 +22174,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_nanosleep=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 22126 "configure" +#line 22177 "configure" #include "confdefs.h" $ac_includes_default @@ -22149,15 +22200,15 @@ int main(void) { _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:22152: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22203: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22155: \$? = $ac_status" >&5 + echo "$as_me:22206: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:22157: \"$ac_try\"") >&5 + { (eval echo "$as_me:22208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22160: \$? = $ac_status" >&5 + echo "$as_me:22211: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_nanosleep=yes else @@ -22169,7 +22220,7 @@ fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:22172: result: $cf_cv_func_nanosleep" >&5 +echo "$as_me:22223: result: $cf_cv_func_nanosleep" >&5 echo "${ECHO_T}$cf_cv_func_nanosleep" >&6 test "$cf_cv_func_nanosleep" = "yes" && @@ -22186,23 +22237,23 @@ sys/termio.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:22189: checking for $ac_header" >&5 +echo "$as_me:22240: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22195 "configure" +#line 22246 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:22199: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:22250: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:22205: \$? = $ac_status" >&5 + echo "$as_me:22256: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -22221,7 +22272,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:22224: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:22275: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 + echo "$as_me:22292: checking whether termios.h needs _POSIX_SOURCE" >&5 echo $ECHO_N "checking whether termios.h needs _POSIX_SOURCE... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 22244 "configure" +#line 22295 "configure" #include "confdefs.h" #include int @@ -22253,16 +22304,16 @@ struct termios foo; int x = foo.c_iflag = 1; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22256: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22307: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22259: \$? = $ac_status" >&5 + echo "$as_me:22310: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22262: \"$ac_try\"") >&5 + { (eval echo "$as_me:22313: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22265: \$? = $ac_status" >&5 + echo "$as_me:22316: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then termios_bad=no else @@ -22270,7 +22321,7 @@ else cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 22273 "configure" +#line 22324 "configure" #include "confdefs.h" #define _POSIX_SOURCE @@ -22284,16 +22335,16 @@ struct termios foo; int x = foo.c_iflag = 2; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22287: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22338: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22290: \$? = $ac_status" >&5 + echo "$as_me:22341: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22293: \"$ac_try\"") >&5 + { (eval echo "$as_me:22344: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22296: \$? = $ac_status" >&5 + echo "$as_me:22347: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then termios_bad=unknown else @@ -22309,19 +22360,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" - echo "$as_me:22312: result: $termios_bad" >&5 + echo "$as_me:22363: result: $termios_bad" >&5 echo "${ECHO_T}$termios_bad" >&6 fi fi -echo "$as_me:22317: checking for tcgetattr" >&5 +echo "$as_me:22368: checking for tcgetattr" >&5 echo $ECHO_N "checking for tcgetattr... $ECHO_C" >&6 if test "${cf_cv_have_tcgetattr+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22324 "configure" +#line 22375 "configure" #include "confdefs.h" #include @@ -22349,16 +22400,16 @@ tcgetattr(1, &foo); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22352: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22403: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22355: \$? = $ac_status" >&5 + echo "$as_me:22406: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22358: \"$ac_try\"") >&5 + { (eval echo "$as_me:22409: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22361: \$? = $ac_status" >&5 + echo "$as_me:22412: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_tcgetattr=yes else @@ -22368,21 +22419,21 @@ cf_cv_have_tcgetattr=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22371: result: $cf_cv_have_tcgetattr" >&5 +echo "$as_me:22422: result: $cf_cv_have_tcgetattr" >&5 echo "${ECHO_T}$cf_cv_have_tcgetattr" >&6 test "$cf_cv_have_tcgetattr" = yes && cat >>confdefs.h <<\EOF #define HAVE_TCGETATTR 1 EOF -echo "$as_me:22378: checking for vsscanf function or workaround" >&5 +echo "$as_me:22429: checking for vsscanf function or workaround" >&5 echo $ECHO_N "checking for vsscanf function or workaround... $ECHO_C" >&6 if test "${cf_cv_func_vsscanf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22385 "configure" +#line 22436 "configure" #include "confdefs.h" #include @@ -22398,16 +22449,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22401: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22452: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22404: \$? = $ac_status" >&5 + echo "$as_me:22455: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22407: \"$ac_try\"") >&5 + { (eval echo "$as_me:22458: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22410: \$? = $ac_status" >&5 + echo "$as_me:22461: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_vsscanf=vsscanf else @@ -22415,7 +22466,7 @@ else cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 22418 "configure" +#line 22469 "configure" #include "confdefs.h" #include @@ -22437,16 +22488,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22440: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22491: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22443: \$? = $ac_status" >&5 + echo "$as_me:22494: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22446: \"$ac_try\"") >&5 + { (eval echo "$as_me:22497: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22449: \$? = $ac_status" >&5 + echo "$as_me:22500: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_vsscanf=vfscanf else @@ -22454,7 +22505,7 @@ else cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 22457 "configure" +#line 22508 "configure" #include "confdefs.h" #include @@ -22476,16 +22527,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22479: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22530: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22482: \$? = $ac_status" >&5 + echo "$as_me:22533: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22485: \"$ac_try\"") >&5 + { (eval echo "$as_me:22536: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22488: \$? = $ac_status" >&5 + echo "$as_me:22539: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_vsscanf=_doscan else @@ -22500,7 +22551,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22503: result: $cf_cv_func_vsscanf" >&5 +echo "$as_me:22554: result: $cf_cv_func_vsscanf" >&5 echo "${ECHO_T}$cf_cv_func_vsscanf" >&6 case "$cf_cv_func_vsscanf" in @@ -22526,23 +22577,23 @@ unistd.h \ do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:22529: checking for $ac_header" >&5 +echo "$as_me:22580: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22535 "configure" +#line 22586 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:22539: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:22590: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:22545: \$? = $ac_status" >&5 + echo "$as_me:22596: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -22561,7 +22612,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:22564: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:22615: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:22625: checking for working mkstemp" >&5 echo $ECHO_N "checking for working mkstemp... $ECHO_C" >&6 if test "${cf_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22582,7 +22633,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_mkstemp=maybe else cat >"conftest.$ac_ext" <<_ACEOF -#line 22585 "configure" +#line 22636 "configure" #include "confdefs.h" $ac_includes_default @@ -22617,15 +22668,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:22620: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22671: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22623: \$? = $ac_status" >&5 + echo "$as_me:22674: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:22625: \"$ac_try\"") >&5 + { (eval echo "$as_me:22676: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22628: \$? = $ac_status" >&5 + echo "$as_me:22679: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_mkstemp=yes @@ -22640,16 +22691,16 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:22643: result: $cf_cv_func_mkstemp" >&5 +echo "$as_me:22694: result: $cf_cv_func_mkstemp" >&5 echo "${ECHO_T}$cf_cv_func_mkstemp" >&6 if test "x$cf_cv_func_mkstemp" = xmaybe ; then - echo "$as_me:22646: checking for mkstemp" >&5 + echo "$as_me:22697: checking for mkstemp" >&5 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6 if test "${ac_cv_func_mkstemp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22652 "configure" +#line 22703 "configure" #include "confdefs.h" #define mkstemp autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -22680,16 +22731,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22683: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22734: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22686: \$? = $ac_status" >&5 + echo "$as_me:22737: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22689: \"$ac_try\"") >&5 + { (eval echo "$as_me:22740: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22692: \$? = $ac_status" >&5 + echo "$as_me:22743: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_mkstemp=yes else @@ -22699,7 +22750,7 @@ ac_cv_func_mkstemp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22702: result: $ac_cv_func_mkstemp" >&5 +echo "$as_me:22753: result: $ac_cv_func_mkstemp" >&5 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6 fi @@ -22720,21 +22771,21 @@ else fi if test "x$cross_compiling" = xyes ; then - { echo "$as_me:22723: WARNING: cross compiling: assume setvbuf params not reversed" >&5 + { echo "$as_me:22774: WARNING: cross compiling: assume setvbuf params not reversed" >&5 echo "$as_me: WARNING: cross compiling: assume setvbuf params not reversed" >&2;} else - echo "$as_me:22726: checking whether setvbuf arguments are reversed" >&5 + echo "$as_me:22777: checking whether setvbuf arguments are reversed" >&5 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then - { { echo "$as_me:22732: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:22783: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >"conftest.$ac_ext" <<_ACEOF -#line 22737 "configure" +#line 22788 "configure" #include "confdefs.h" #include /* If setvbuf has the reversed format, exit 0. */ @@ -22751,15 +22802,15 @@ main (void) } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:22754: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22805: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22757: \$? = $ac_status" >&5 + echo "$as_me:22808: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:22759: \"$ac_try\"") >&5 + { (eval echo "$as_me:22810: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22762: \$? = $ac_status" >&5 + echo "$as_me:22813: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_setvbuf_reversed=yes else @@ -22772,7 +22823,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi rm -f core ./core.* ./*.core fi -echo "$as_me:22775: result: $ac_cv_func_setvbuf_reversed" >&5 +echo "$as_me:22826: result: $ac_cv_func_setvbuf_reversed" >&5 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6 if test $ac_cv_func_setvbuf_reversed = yes; then @@ -22783,13 +22834,13 @@ EOF fi fi -echo "$as_me:22786: checking for intptr_t" >&5 +echo "$as_me:22837: checking for intptr_t" >&5 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6 if test "${ac_cv_type_intptr_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22792 "configure" +#line 22843 "configure" #include "confdefs.h" $ac_includes_default int @@ -22804,16 +22855,16 @@ if (sizeof (intptr_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22807: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22858: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22810: \$? = $ac_status" >&5 + echo "$as_me:22861: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22813: \"$ac_try\"") >&5 + { (eval echo "$as_me:22864: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22816: \$? = $ac_status" >&5 + echo "$as_me:22867: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_intptr_t=yes else @@ -22823,7 +22874,7 @@ ac_cv_type_intptr_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:22826: result: $ac_cv_type_intptr_t" >&5 +echo "$as_me:22877: result: $ac_cv_type_intptr_t" >&5 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6 if test "$ac_cv_type_intptr_t" = yes; then : @@ -22835,13 +22886,13 @@ EOF fi -echo "$as_me:22838: checking for ssize_t" >&5 +echo "$as_me:22889: checking for ssize_t" >&5 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 if test "${ac_cv_type_ssize_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22844 "configure" +#line 22895 "configure" #include "confdefs.h" $ac_includes_default int @@ -22856,16 +22907,16 @@ if (sizeof (ssize_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22859: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22910: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22862: \$? = $ac_status" >&5 + echo "$as_me:22913: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22865: \"$ac_try\"") >&5 + { (eval echo "$as_me:22916: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22868: \$? = $ac_status" >&5 + echo "$as_me:22919: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_ssize_t=yes else @@ -22875,7 +22926,7 @@ ac_cv_type_ssize_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:22878: result: $ac_cv_type_ssize_t" >&5 +echo "$as_me:22929: result: $ac_cv_type_ssize_t" >&5 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 if test "$ac_cv_type_ssize_t" = yes; then : @@ -22887,14 +22938,14 @@ EOF fi -echo "$as_me:22890: checking for type sigaction_t" >&5 +echo "$as_me:22941: checking for type sigaction_t" >&5 echo $ECHO_N "checking for type sigaction_t... $ECHO_C" >&6 if test "${cf_cv_type_sigaction+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22897 "configure" +#line 22948 "configure" #include "confdefs.h" #include @@ -22907,16 +22958,16 @@ sigaction_t x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22910: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22961: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22913: \$? = $ac_status" >&5 + echo "$as_me:22964: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22916: \"$ac_try\"") >&5 + { (eval echo "$as_me:22967: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22919: \$? = $ac_status" >&5 + echo "$as_me:22970: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_type_sigaction=yes else @@ -22927,14 +22978,14 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:22930: result: $cf_cv_type_sigaction" >&5 +echo "$as_me:22981: result: $cf_cv_type_sigaction" >&5 echo "${ECHO_T}$cf_cv_type_sigaction" >&6 test "$cf_cv_type_sigaction" = yes && cat >>confdefs.h <<\EOF #define HAVE_TYPE_SIGACTION 1 EOF -echo "$as_me:22937: checking declaration of size-change" >&5 +echo "$as_me:22988: checking declaration of size-change" >&5 echo $ECHO_N "checking declaration of size-change... $ECHO_C" >&6 if test "${cf_cv_sizechange+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22955,7 +23006,7 @@ do fi cat >"conftest.$ac_ext" <<_ACEOF -#line 22958 "configure" +#line 23009 "configure" #include "confdefs.h" #include #ifdef HAVE_TERMIOS_H @@ -23005,16 +23056,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:23008: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23059: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23011: \$? = $ac_status" >&5 + echo "$as_me:23062: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:23014: \"$ac_try\"") >&5 + { (eval echo "$as_me:23065: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23017: \$? = $ac_status" >&5 + echo "$as_me:23068: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_sizechange=yes else @@ -23033,7 +23084,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:23036: result: $cf_cv_sizechange" >&5 +echo "$as_me:23087: result: $cf_cv_sizechange" >&5 echo "${ECHO_T}$cf_cv_sizechange" >&6 if test "$cf_cv_sizechange" != no ; then @@ -23051,13 +23102,13 @@ EOF esac fi -echo "$as_me:23054: checking for memmove" >&5 +echo "$as_me:23105: checking for memmove" >&5 echo $ECHO_N "checking for memmove... $ECHO_C" >&6 if test "${ac_cv_func_memmove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23060 "configure" +#line 23111 "configure" #include "confdefs.h" #define memmove autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -23088,16 +23139,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23091: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23142: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23094: \$? = $ac_status" >&5 + echo "$as_me:23145: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23097: \"$ac_try\"") >&5 + { (eval echo "$as_me:23148: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23100: \$? = $ac_status" >&5 + echo "$as_me:23151: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_memmove=yes else @@ -23107,19 +23158,19 @@ ac_cv_func_memmove=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23110: result: $ac_cv_func_memmove" >&5 +echo "$as_me:23161: result: $ac_cv_func_memmove" >&5 echo "${ECHO_T}$ac_cv_func_memmove" >&6 if test "$ac_cv_func_memmove" = yes; then : else -echo "$as_me:23116: checking for bcopy" >&5 +echo "$as_me:23167: checking for bcopy" >&5 echo $ECHO_N "checking for bcopy... $ECHO_C" >&6 if test "${ac_cv_func_bcopy+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23122 "configure" +#line 23173 "configure" #include "confdefs.h" #define bcopy autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -23150,16 +23201,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23153: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23204: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23156: \$? = $ac_status" >&5 + echo "$as_me:23207: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23159: \"$ac_try\"") >&5 + { (eval echo "$as_me:23210: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23162: \$? = $ac_status" >&5 + echo "$as_me:23213: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_bcopy=yes else @@ -23169,11 +23220,11 @@ ac_cv_func_bcopy=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23172: result: $ac_cv_func_bcopy" >&5 +echo "$as_me:23223: result: $ac_cv_func_bcopy" >&5 echo "${ECHO_T}$ac_cv_func_bcopy" >&6 if test "$ac_cv_func_bcopy" = yes; then - echo "$as_me:23176: checking if bcopy does overlapping moves" >&5 + echo "$as_me:23227: checking if bcopy does overlapping moves" >&5 echo $ECHO_N "checking if bcopy does overlapping moves... $ECHO_C" >&6 if test "${cf_cv_good_bcopy+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23183,7 +23234,7 @@ else cf_cv_good_bcopy=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 23186 "configure" +#line 23237 "configure" #include "confdefs.h" $ac_includes_default @@ -23199,15 +23250,15 @@ int main(void) { _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:23202: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23253: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23205: \$? = $ac_status" >&5 + echo "$as_me:23256: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:23207: \"$ac_try\"") >&5 + { (eval echo "$as_me:23258: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23210: \$? = $ac_status" >&5 + echo "$as_me:23261: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_good_bcopy=yes else @@ -23220,7 +23271,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:23223: result: $cf_cv_good_bcopy" >&5 +echo "$as_me:23274: result: $cf_cv_good_bcopy" >&5 echo "${ECHO_T}$cf_cv_good_bcopy" >&6 else @@ -23247,13 +23298,13 @@ tty >/dev/null 2>&1 || { for ac_func in posix_openpt do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:23250: checking for $ac_func" >&5 +echo "$as_me:23301: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23256 "configure" +#line 23307 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -23284,16 +23335,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23287: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23338: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23290: \$? = $ac_status" >&5 + echo "$as_me:23341: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23293: \"$ac_try\"") >&5 + { (eval echo "$as_me:23344: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23296: \$? = $ac_status" >&5 + echo "$as_me:23347: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -23303,7 +23354,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23306: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:23357: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:23367: checking if poll really works" >&5 echo $ECHO_N "checking if poll really works... $ECHO_C" >&6 if test "${cf_cv_working_poll+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23323,7 +23374,7 @@ if test "$cross_compiling" = yes; then cf_cv_working_poll=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 23326 "configure" +#line 23377 "configure" #include "confdefs.h" $ac_includes_default @@ -23376,15 +23427,15 @@ int main(void) { } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:23379: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23430: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23382: \$? = $ac_status" >&5 + echo "$as_me:23433: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:23384: \"$ac_try\"") >&5 + { (eval echo "$as_me:23435: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23387: \$? = $ac_status" >&5 + echo "$as_me:23438: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_working_poll=yes else @@ -23396,21 +23447,21 @@ fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:23399: result: $cf_cv_working_poll" >&5 +echo "$as_me:23450: result: $cf_cv_working_poll" >&5 echo "${ECHO_T}$cf_cv_working_poll" >&6 test "$cf_cv_working_poll" = "yes" && cat >>confdefs.h <<\EOF #define HAVE_WORKING_POLL 1 EOF -echo "$as_me:23406: checking for va_copy" >&5 +echo "$as_me:23457: checking for va_copy" >&5 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6 if test "${cf_cv_have_va_copy+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23413 "configure" +#line 23464 "configure" #include "confdefs.h" #include @@ -23427,16 +23478,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23430: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23481: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23433: \$? = $ac_status" >&5 + echo "$as_me:23484: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23436: \"$ac_try\"") >&5 + { (eval echo "$as_me:23487: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23439: \$? = $ac_status" >&5 + echo "$as_me:23490: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_va_copy=yes else @@ -23446,7 +23497,7 @@ cf_cv_have_va_copy=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23449: result: $cf_cv_have_va_copy" >&5 +echo "$as_me:23500: result: $cf_cv_have_va_copy" >&5 echo "${ECHO_T}$cf_cv_have_va_copy" >&6 if test "$cf_cv_have_va_copy" = yes; @@ -23458,14 +23509,14 @@ EOF else # !cf_cv_have_va_copy -echo "$as_me:23461: checking for __va_copy" >&5 +echo "$as_me:23512: checking for __va_copy" >&5 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6 if test "${cf_cv_have___va_copy+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23468 "configure" +#line 23519 "configure" #include "confdefs.h" #include @@ -23482,16 +23533,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23485: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23536: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23488: \$? = $ac_status" >&5 + echo "$as_me:23539: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23491: \"$ac_try\"") >&5 + { (eval echo "$as_me:23542: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23494: \$? = $ac_status" >&5 + echo "$as_me:23545: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have___va_copy=yes else @@ -23501,7 +23552,7 @@ cf_cv_have___va_copy=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23504: result: $cf_cv_have___va_copy" >&5 +echo "$as_me:23555: result: $cf_cv_have___va_copy" >&5 echo "${ECHO_T}$cf_cv_have___va_copy" >&6 if test "$cf_cv_have___va_copy" = yes @@ -23513,14 +23564,14 @@ EOF else # !cf_cv_have___va_copy -echo "$as_me:23516: checking for __builtin_va_copy" >&5 +echo "$as_me:23567: checking for __builtin_va_copy" >&5 echo $ECHO_N "checking for __builtin_va_copy... $ECHO_C" >&6 if test "${cf_cv_have___builtin_va_copy+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23523 "configure" +#line 23574 "configure" #include "confdefs.h" #include @@ -23537,16 +23588,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23540: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23591: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23543: \$? = $ac_status" >&5 + echo "$as_me:23594: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23546: \"$ac_try\"") >&5 + { (eval echo "$as_me:23597: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23549: \$? = $ac_status" >&5 + echo "$as_me:23600: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have___builtin_va_copy=yes else @@ -23556,7 +23607,7 @@ cf_cv_have___builtin_va_copy=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23559: result: $cf_cv_have___builtin_va_copy" >&5 +echo "$as_me:23610: result: $cf_cv_have___builtin_va_copy" >&5 echo "${ECHO_T}$cf_cv_have___builtin_va_copy" >&6 test "$cf_cv_have___builtin_va_copy" = yes && @@ -23574,14 +23625,14 @@ case "${cf_cv_have_va_copy}${cf_cv_have___va_copy}${cf_cv_have___builtin_va_copy ;; (*) - echo "$as_me:23577: checking if we can simply copy va_list" >&5 + echo "$as_me:23628: checking if we can simply copy va_list" >&5 echo $ECHO_N "checking if we can simply copy va_list... $ECHO_C" >&6 if test "${cf_cv_pointer_va_list+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23584 "configure" +#line 23635 "configure" #include "confdefs.h" #include @@ -23598,16 +23649,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23601: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23652: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23604: \$? = $ac_status" >&5 + echo "$as_me:23655: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23607: \"$ac_try\"") >&5 + { (eval echo "$as_me:23658: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23610: \$? = $ac_status" >&5 + echo "$as_me:23661: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_pointer_va_list=yes else @@ -23617,19 +23668,19 @@ cf_cv_pointer_va_list=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23620: result: $cf_cv_pointer_va_list" >&5 +echo "$as_me:23671: result: $cf_cv_pointer_va_list" >&5 echo "${ECHO_T}$cf_cv_pointer_va_list" >&6 if test "$cf_cv_pointer_va_list" = no then - echo "$as_me:23625: checking if we can copy va_list indirectly" >&5 + echo "$as_me:23676: checking if we can copy va_list indirectly" >&5 echo $ECHO_N "checking if we can copy va_list indirectly... $ECHO_C" >&6 if test "${cf_cv_array_va_list+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23632 "configure" +#line 23683 "configure" #include "confdefs.h" #include @@ -23646,16 +23697,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23649: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23700: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23652: \$? = $ac_status" >&5 + echo "$as_me:23703: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23655: \"$ac_try\"") >&5 + { (eval echo "$as_me:23706: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23658: \$? = $ac_status" >&5 + echo "$as_me:23709: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_array_va_list=yes else @@ -23665,7 +23716,7 @@ cf_cv_array_va_list=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23668: result: $cf_cv_array_va_list" >&5 +echo "$as_me:23719: result: $cf_cv_array_va_list" >&5 echo "${ECHO_T}$cf_cv_array_va_list" >&6 test "$cf_cv_array_va_list" = yes && cat >>confdefs.h <<\EOF @@ -23676,13 +23727,13 @@ EOF ;; esac -echo "$as_me:23679: checking for pid_t" >&5 +echo "$as_me:23730: checking for pid_t" >&5 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 if test "${ac_cv_type_pid_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23685 "configure" +#line 23736 "configure" #include "confdefs.h" $ac_includes_default int @@ -23697,16 +23748,16 @@ if (sizeof (pid_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:23700: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:23751: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:23703: \$? = $ac_status" >&5 + echo "$as_me:23754: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:23706: \"$ac_try\"") >&5 + { (eval echo "$as_me:23757: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23709: \$? = $ac_status" >&5 + echo "$as_me:23760: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_pid_t=yes else @@ -23716,7 +23767,7 @@ ac_cv_type_pid_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:23719: result: $ac_cv_type_pid_t" >&5 +echo "$as_me:23770: result: $ac_cv_type_pid_t" >&5 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 if test "$ac_cv_type_pid_t" = yes; then : @@ -23731,23 +23782,23 @@ fi for ac_header in unistd.h vfork.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:23734: checking for $ac_header" >&5 +echo "$as_me:23785: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23740 "configure" +#line 23791 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:23744: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:23795: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23750: \$? = $ac_status" >&5 + echo "$as_me:23801: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -23766,7 +23817,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:23769: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:23820: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:23833: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23788 "configure" +#line 23839 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -23816,16 +23867,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23819: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23870: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23822: \$? = $ac_status" >&5 + echo "$as_me:23873: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23825: \"$ac_try\"") >&5 + { (eval echo "$as_me:23876: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23828: \$? = $ac_status" >&5 + echo "$as_me:23879: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -23835,7 +23886,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:23838: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:23889: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 + echo "$as_me:23901: checking for working fork" >&5 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 if test "${ac_cv_func_fork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23870,15 +23921,15 @@ else } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:23873: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23924: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23876: \$? = $ac_status" >&5 + echo "$as_me:23927: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:23878: \"$ac_try\"") >&5 + { (eval echo "$as_me:23929: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23881: \$? = $ac_status" >&5 + echo "$as_me:23932: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_fork_works=yes else @@ -23890,7 +23941,7 @@ fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:23893: result: $ac_cv_func_fork_works" >&5 +echo "$as_me:23944: result: $ac_cv_func_fork_works" >&5 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 fi @@ -23904,12 +23955,12 @@ if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_fork_works=yes ;; esac - { echo "$as_me:23907: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 + { echo "$as_me:23958: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then - echo "$as_me:23912: checking for working vfork" >&5 + echo "$as_me:23963: checking for working vfork" >&5 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 if test "${ac_cv_func_vfork_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23918,7 +23969,7 @@ else ac_cv_func_vfork_works=cross else cat >"conftest.$ac_ext" <<_ACEOF -#line 23921 "configure" +#line 23972 "configure" #include "confdefs.h" /* Thanks to Paul Eggert for this test. */ #include @@ -24015,15 +24066,15 @@ main (void) } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:24018: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24069: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24021: \$? = $ac_status" >&5 + echo "$as_me:24072: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:24023: \"$ac_try\"") >&5 + { (eval echo "$as_me:24074: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24026: \$? = $ac_status" >&5 + echo "$as_me:24077: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_vfork_works=yes else @@ -24035,13 +24086,13 @@ fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi fi -echo "$as_me:24038: result: $ac_cv_func_vfork_works" >&5 +echo "$as_me:24089: result: $ac_cv_func_vfork_works" >&5 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=ac_cv_func_vfork - { echo "$as_me:24044: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 + { echo "$as_me:24095: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;} fi @@ -24066,7 +24117,7 @@ EOF fi -echo "$as_me:24069: checking if fopen accepts explicit binary mode" >&5 +echo "$as_me:24120: checking if fopen accepts explicit binary mode" >&5 echo $ECHO_N "checking if fopen accepts explicit binary mode... $ECHO_C" >&6 if test "${cf_cv_fopen_bin_r+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24076,7 +24127,7 @@ else cf_cv_fopen_bin_r=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 24079 "configure" +#line 24130 "configure" #include "confdefs.h" $ac_includes_default @@ -24111,15 +24162,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:24114: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24165: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24117: \$? = $ac_status" >&5 + echo "$as_me:24168: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:24119: \"$ac_try\"") >&5 + { (eval echo "$as_me:24170: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24122: \$? = $ac_status" >&5 + echo "$as_me:24173: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_fopen_bin_r=yes else @@ -24132,7 +24183,7 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi fi -echo "$as_me:24135: result: $cf_cv_fopen_bin_r" >&5 +echo "$as_me:24186: result: $cf_cv_fopen_bin_r" >&5 echo "${ECHO_T}$cf_cv_fopen_bin_r" >&6 test "x$cf_cv_fopen_bin_r" != xno && cat >>confdefs.h <<\EOF @@ -24141,7 +24192,7 @@ EOF # special check for test/ditto.c -echo "$as_me:24144: checking for openpty in -lutil" >&5 +echo "$as_me:24195: checking for openpty in -lutil" >&5 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 if test "${ac_cv_lib_util_openpty+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24149,7 +24200,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 24152 "configure" +#line 24203 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -24168,16 +24219,16 @@ openpty (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:24171: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24222: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24174: \$? = $ac_status" >&5 + echo "$as_me:24225: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:24177: \"$ac_try\"") >&5 + { (eval echo "$as_me:24228: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24180: \$? = $ac_status" >&5 + echo "$as_me:24231: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_util_openpty=yes else @@ -24188,7 +24239,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:24191: result: $ac_cv_lib_util_openpty" >&5 +echo "$as_me:24242: result: $ac_cv_lib_util_openpty" >&5 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 if test "$ac_cv_lib_util_openpty" = yes; then cf_cv_lib_util=yes @@ -24196,7 +24247,7 @@ else cf_cv_lib_util=no fi -echo "$as_me:24199: checking for openpty header" >&5 +echo "$as_me:24250: checking for openpty header" >&5 echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 if test "${cf_cv_func_openpty+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24223,7 +24274,7 @@ LIBS="$cf_add_libs" for cf_header in pty.h libutil.h util.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 24226 "configure" +#line 24277 "configure" #include "confdefs.h" #include <$cf_header> @@ -24240,16 +24291,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:24243: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24294: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24246: \$? = $ac_status" >&5 + echo "$as_me:24297: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:24249: \"$ac_try\"") >&5 + { (eval echo "$as_me:24300: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24252: \$? = $ac_status" >&5 + echo "$as_me:24303: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_openpty=$cf_header @@ -24267,7 +24318,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" fi -echo "$as_me:24270: result: $cf_cv_func_openpty" >&5 +echo "$as_me:24321: result: $cf_cv_func_openpty" >&5 echo "${ECHO_T}$cf_cv_func_openpty" >&6 if test "$cf_cv_func_openpty" != no ; then @@ -24340,7 +24391,7 @@ if test -n "$with_hashed_db/include" ; then CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" cat >"conftest.$ac_ext" <<_ACEOF -#line 24343 "configure" +#line 24394 "configure" #include "confdefs.h" #include int @@ -24352,16 +24403,16 @@ printf("Hello") } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:24355: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24406: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24358: \$? = $ac_status" >&5 + echo "$as_me:24409: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:24361: \"$ac_try\"") >&5 + { (eval echo "$as_me:24412: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24364: \$? = $ac_status" >&5 + echo "$as_me:24415: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -24378,7 +24429,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:24381: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:24432: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" @@ -24414,7 +24465,7 @@ if test -n "$with_hashed_db/lib" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:24417: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:24468: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -24425,7 +24476,7 @@ fi else case "$with_hashed_db" in (./*|../*|/*) - { echo "$as_me:24428: WARNING: no such directory $with_hashed_db" >&5 + { echo "$as_me:24479: WARNING: no such directory $with_hashed_db" >&5 echo "$as_me: WARNING: no such directory $with_hashed_db" >&2;} ;; (*) @@ -24497,7 +24548,7 @@ if test -n "$cf_item" ; then CPPFLAGS="${CPPFLAGS}-I$cf_add_incdir" cat >"conftest.$ac_ext" <<_ACEOF -#line 24500 "configure" +#line 24551 "configure" #include "confdefs.h" #include int @@ -24509,16 +24560,16 @@ printf("Hello") } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:24512: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24563: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24515: \$? = $ac_status" >&5 + echo "$as_me:24566: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:24518: \"$ac_try\"") >&5 + { (eval echo "$as_me:24569: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24521: \$? = $ac_status" >&5 + echo "$as_me:24572: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -24535,7 +24586,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" if test "$cf_have_incdir" = no ; then test -n "$verbose" && echo " adding $cf_add_incdir to include-path" 1>&6 -echo "${as_me:-configure}:24538: testing adding $cf_add_incdir to include-path ..." 1>&5 +echo "${as_me:-configure}:24589: testing adding $cf_add_incdir to include-path ..." 1>&5 CPPFLAGS="$CPPFLAGS -I$cf_add_incdir" @@ -24615,7 +24666,7 @@ if test -n "$cf_item" ; then if test "$cf_have_libdir" = no ; then test -n "$verbose" && echo " adding $cf_add_libdir to library-path" 1>&6 -echo "${as_me:-configure}:24618: testing adding $cf_add_libdir to library-path ..." 1>&5 +echo "${as_me:-configure}:24669: testing adding $cf_add_libdir to library-path ..." 1>&5 LDFLAGS="-L$cf_add_libdir $LDFLAGS" fi @@ -24632,23 +24683,23 @@ fi fi esac -echo "$as_me:24635: checking for db.h" >&5 +echo "$as_me:24686: checking for db.h" >&5 echo $ECHO_N "checking for db.h... $ECHO_C" >&6 if test "${ac_cv_header_db_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 24641 "configure" +#line 24692 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:24645: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:24696: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:24651: \$? = $ac_status" >&5 + echo "$as_me:24702: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -24667,11 +24718,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:24670: result: $ac_cv_header_db_h" >&5 +echo "$as_me:24721: result: $ac_cv_header_db_h" >&5 echo "${ECHO_T}$ac_cv_header_db_h" >&6 if test "$ac_cv_header_db_h" = yes; then -echo "$as_me:24674: checking for version of db" >&5 +echo "$as_me:24725: checking for version of db" >&5 echo $ECHO_N "checking for version of db... $ECHO_C" >&6 if test "${cf_cv_hashed_db_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24682,10 +24733,10 @@ cf_cv_hashed_db_version=unknown for cf_db_version in 1 2 3 4 5 6 do -echo "${as_me:-configure}:24685: testing checking for db version $cf_db_version ..." 1>&5 +echo "${as_me:-configure}:24736: testing checking for db version $cf_db_version ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 24688 "configure" +#line 24739 "configure" #include "confdefs.h" $ac_includes_default @@ -24715,16 +24766,16 @@ DBT *foo = 0 } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:24718: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24769: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24721: \$? = $ac_status" >&5 + echo "$as_me:24772: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:24724: \"$ac_try\"") >&5 + { (eval echo "$as_me:24775: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24727: \$? = $ac_status" >&5 + echo "$as_me:24778: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_hashed_db_version=$cf_db_version @@ -24738,16 +24789,16 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:24741: result: $cf_cv_hashed_db_version" >&5 +echo "$as_me:24792: result: $cf_cv_hashed_db_version" >&5 echo "${ECHO_T}$cf_cv_hashed_db_version" >&6 if test "$cf_cv_hashed_db_version" = unknown ; then - { { echo "$as_me:24745: error: Cannot determine version of db" >&5 + { { echo "$as_me:24796: error: Cannot determine version of db" >&5 echo "$as_me: error: Cannot determine version of db" >&2;} { (exit 1); exit 1; }; } else -echo "$as_me:24750: checking for db libraries" >&5 +echo "$as_me:24801: checking for db libraries" >&5 echo $ECHO_N "checking for db libraries... $ECHO_C" >&6 if test "${cf_cv_hashed_db_libs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -24777,10 +24828,10 @@ LIBS="$cf_add_libs" fi -echo "${as_me:-configure}:24780: testing checking for library $cf_db_libs ..." 1>&5 +echo "${as_me:-configure}:24831: testing checking for library $cf_db_libs ..." 1>&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 24783 "configure" +#line 24834 "configure" #include "confdefs.h" $ac_includes_default @@ -24835,16 +24886,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:24838: \"$ac_link\"") >&5 +if { (eval echo "$as_me:24889: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:24841: \$? = $ac_status" >&5 + echo "$as_me:24892: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:24844: \"$ac_try\"") >&5 + { (eval echo "$as_me:24895: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24847: \$? = $ac_status" >&5 + echo "$as_me:24898: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then if test -n "$cf_db_libs" ; then @@ -24864,11 +24915,11 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -echo "$as_me:24867: result: $cf_cv_hashed_db_libs" >&5 +echo "$as_me:24918: result: $cf_cv_hashed_db_libs" >&5 echo "${ECHO_T}$cf_cv_hashed_db_libs" >&6 if test "$cf_cv_hashed_db_libs" = unknown ; then - { { echo "$as_me:24871: error: Cannot determine library for db" >&5 + { { echo "$as_me:24922: error: Cannot determine library for db" >&5 echo "$as_me: error: Cannot determine library for db" >&2;} { (exit 1); exit 1; }; } elif test "$cf_cv_hashed_db_libs" != default ; then @@ -24894,7 +24945,7 @@ fi else - { { echo "$as_me:24897: error: Cannot find db.h" >&5 + { { echo "$as_me:24948: error: Cannot find db.h" >&5 echo "$as_me: error: Cannot find db.h" >&2;} { (exit 1); exit 1; }; } @@ -24909,7 +24960,7 @@ fi # Just in case, check if the C compiler has a bool type. -echo "$as_me:24912: checking if we should include stdbool.h" >&5 +echo "$as_me:24963: checking if we should include stdbool.h" >&5 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 if test "${cf_cv_header_stdbool_h+set}" = set; then @@ -24917,7 +24968,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then else cat >"conftest.$ac_ext" <<_ACEOF -#line 24920 "configure" +#line 24971 "configure" #include "confdefs.h" int @@ -24929,23 +24980,23 @@ bool foo = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:24932: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:24983: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24935: \$? = $ac_status" >&5 + echo "$as_me:24986: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:24938: \"$ac_try\"") >&5 + { (eval echo "$as_me:24989: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24941: \$? = $ac_status" >&5 + echo "$as_me:24992: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_header_stdbool_h=0 else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 24948 "configure" +#line 24999 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -24961,16 +25012,16 @@ bool foo = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:24964: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25015: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:24967: \$? = $ac_status" >&5 + echo "$as_me:25018: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:24970: \"$ac_try\"") >&5 + { (eval echo "$as_me:25021: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:24973: \$? = $ac_status" >&5 + echo "$as_me:25024: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_header_stdbool_h=1 else @@ -24984,13 +25035,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:24987: result: yes" >&5 +then echo "$as_me:25038: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:24989: result: no" >&5 +else echo "$as_me:25040: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:24993: checking for builtin bool type" >&5 +echo "$as_me:25044: checking for builtin bool type" >&5 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 if test "${cf_cv_cc_bool_type+set}" = set; then @@ -24998,7 +25049,7 @@ if test "${cf_cv_cc_bool_type+set}" = set; then else cat >"conftest.$ac_ext" <<_ACEOF -#line 25001 "configure" +#line 25052 "configure" #include "confdefs.h" #include @@ -25013,16 +25064,16 @@ bool x = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25016: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25067: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25019: \$? = $ac_status" >&5 + echo "$as_me:25070: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25022: \"$ac_try\"") >&5 + { (eval echo "$as_me:25073: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25025: \$? = $ac_status" >&5 + echo "$as_me:25076: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cc_bool_type=1 else @@ -25035,9 +25086,9 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if test "$cf_cv_cc_bool_type" = 1 -then echo "$as_me:25038: result: yes" >&5 +then echo "$as_me:25089: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:25040: result: no" >&5 +else echo "$as_me:25091: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -25054,10 +25105,10 @@ if test -n "$GXX" ; then cf_save="$LIBS" LIBS="$LIBS $CXXLIBS" - echo "$as_me:25057: checking if we already have C++ library" >&5 + echo "$as_me:25108: checking if we already have C++ library" >&5 echo $ECHO_N "checking if we already have C++ library... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 25060 "configure" +#line 25111 "configure" #include "confdefs.h" #include @@ -25071,16 +25122,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:25074: \"$ac_link\"") >&5 +if { (eval echo "$as_me:25125: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25077: \$? = $ac_status" >&5 + echo "$as_me:25128: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:25080: \"$ac_try\"") >&5 + { (eval echo "$as_me:25131: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25083: \$? = $ac_status" >&5 + echo "$as_me:25134: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_have_libstdcpp=yes else @@ -25089,7 +25140,7 @@ cat "conftest.$ac_ext" >&5 cf_have_libstdcpp=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" - echo "$as_me:25092: result: $cf_have_libstdcpp" >&5 + echo "$as_me:25143: result: $cf_have_libstdcpp" >&5 echo "${ECHO_T}$cf_have_libstdcpp" >&6 LIBS="$cf_save" @@ -25108,7 +25159,7 @@ echo "${ECHO_T}$cf_have_libstdcpp" >&6 ;; esac - echo "$as_me:25111: checking for library $cf_stdcpp_libname" >&5 + echo "$as_me:25162: checking for library $cf_stdcpp_libname" >&5 echo $ECHO_N "checking for library $cf_stdcpp_libname... $ECHO_C" >&6 if test "${cf_cv_libstdcpp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25134,7 +25185,7 @@ done LIBS="$cf_add_libs" cat >"conftest.$ac_ext" <<_ACEOF -#line 25137 "configure" +#line 25188 "configure" #include "confdefs.h" #include @@ -25148,16 +25199,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:25151: \"$ac_link\"") >&5 +if { (eval echo "$as_me:25202: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25154: \$? = $ac_status" >&5 + echo "$as_me:25205: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:25157: \"$ac_try\"") >&5 + { (eval echo "$as_me:25208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25160: \$? = $ac_status" >&5 + echo "$as_me:25211: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_libstdcpp=yes else @@ -25169,7 +25220,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save" fi -echo "$as_me:25172: result: $cf_cv_libstdcpp" >&5 +echo "$as_me:25223: result: $cf_cv_libstdcpp" >&5 echo "${ECHO_T}$cf_cv_libstdcpp" >&6 test "$cf_cv_libstdcpp" = yes && { cf_add_libs="$CXXLIBS" @@ -25191,7 +25242,7 @@ CXXLIBS="$cf_add_libs" fi fi - echo "$as_me:25194: checking whether $CXX understands -c and -o together" >&5 + echo "$as_me:25245: checking whether $CXX understands -c and -o together" >&5 echo $ECHO_N "checking whether $CXX understands -c and -o together... $ECHO_C" >&6 if test "${cf_cv_prog_CXX_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25206,15 +25257,15 @@ CF_EOF # We do the test twice because some compilers refuse to overwrite an # existing .o file with -o, though they will create one. ac_try='$CXX $CXXFLAGS $CPPFLAGS -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -if { (eval echo "$as_me:25209: \"$ac_try\"") >&5 +if { (eval echo "$as_me:25260: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25212: \$? = $ac_status" >&5 + echo "$as_me:25263: \$? = $ac_status" >&5 (exit "$ac_status"); } && - test -f conftest2.$ac_objext && { (eval echo "$as_me:25214: \"$ac_try\"") >&5 + test -f conftest2.$ac_objext && { (eval echo "$as_me:25265: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25217: \$? = $ac_status" >&5 + echo "$as_me:25268: \$? = $ac_status" >&5 (exit "$ac_status"); }; then eval cf_cv_prog_CXX_c_o=yes @@ -25225,10 +25276,10 @@ rm -rf ./conftest* fi if test "$cf_cv_prog_CXX_c_o" = yes; then - echo "$as_me:25228: result: yes" >&5 + echo "$as_me:25279: result: yes" >&5 echo "${ECHO_T}yes" >&6 else - echo "$as_me:25231: result: no" >&5 + echo "$as_me:25282: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -25248,7 +25299,7 @@ case "$cf_cv_system_name" in ;; esac if test "$GXX" = yes; then - echo "$as_me:25251: checking for lib$cf_gpp_libname" >&5 + echo "$as_me:25302: checking for lib$cf_gpp_libname" >&5 echo $ECHO_N "checking for lib$cf_gpp_libname... $ECHO_C" >&6 cf_save="$LIBS" @@ -25269,7 +25320,7 @@ done LIBS="$cf_add_libs" cat >"conftest.$ac_ext" <<_ACEOF -#line 25272 "configure" +#line 25323 "configure" #include "confdefs.h" #include <$cf_gpp_libname/builtin.h> @@ -25283,16 +25334,16 @@ two_arg_error_handler_t foo2 = lib_error_handler } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:25286: \"$ac_link\"") >&5 +if { (eval echo "$as_me:25337: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25289: \$? = $ac_status" >&5 + echo "$as_me:25340: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:25292: \"$ac_try\"") >&5 + { (eval echo "$as_me:25343: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25295: \$? = $ac_status" >&5 + echo "$as_me:25346: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cxx_library=yes @@ -25329,7 +25380,7 @@ else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 25332 "configure" +#line 25383 "configure" #include "confdefs.h" #include @@ -25343,16 +25394,16 @@ two_arg_error_handler_t foo2 = lib_error_handler } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:25346: \"$ac_link\"") >&5 +if { (eval echo "$as_me:25397: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:25349: \$? = $ac_status" >&5 + echo "$as_me:25400: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:25352: \"$ac_try\"") >&5 + { (eval echo "$as_me:25403: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25355: \$? = $ac_status" >&5 + echo "$as_me:25406: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cxx_library=yes @@ -25385,7 +25436,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save" - echo "$as_me:25388: result: $cf_cxx_library" >&5 + echo "$as_me:25439: result: $cf_cxx_library" >&5 echo "${ECHO_T}$cf_cxx_library" >&6 fi @@ -25401,7 +25452,7 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS "conftest.$ac_ext" >&5' ac_link='$CXX -o "conftest$ac_exeext" $CXXFLAGS $CPPFLAGS $LDFLAGS "conftest.$ac_ext" $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return="return" -echo "$as_me:25404: checking how to run the C++ preprocessor" >&5 +echo "$as_me:25455: checking how to run the C++ preprocessor" >&5 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then @@ -25418,18 +25469,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >"conftest.$ac_ext" <<_ACEOF -#line 25421 "configure" +#line 25472 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:25426: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25477: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25432: \$? = $ac_status" >&5 + echo "$as_me:25483: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25452,17 +25503,17 @@ rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >"conftest.$ac_ext" <<_ACEOF -#line 25455 "configure" +#line 25506 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:25459: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25510: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25465: \$? = $ac_status" >&5 + echo "$as_me:25516: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25499,7 +25550,7 @@ fi else ac_cv_prog_CXXCPP=$CXXCPP fi -echo "$as_me:25502: result: $CXXCPP" >&5 +echo "$as_me:25553: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6 ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes @@ -25509,18 +25560,18 @@ do # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >"conftest.$ac_ext" <<_ACEOF -#line 25512 "configure" +#line 25563 "configure" #include "confdefs.h" #include Syntax error _ACEOF -if { (eval echo "$as_me:25517: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25568: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25523: \$? = $ac_status" >&5 + echo "$as_me:25574: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25543,17 +25594,17 @@ rm -f conftest.err "conftest.$ac_ext" # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >"conftest.$ac_ext" <<_ACEOF -#line 25546 "configure" +#line 25597 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:25550: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25601: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25556: \$? = $ac_status" >&5 + echo "$as_me:25607: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25581,7 +25632,7 @@ rm -f conftest.err "conftest.$ac_ext" if $ac_preproc_ok; then : else - { { echo "$as_me:25584: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 + { { echo "$as_me:25635: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi @@ -25596,23 +25647,23 @@ ac_main_return="return" for ac_header in typeinfo do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -echo "$as_me:25599: checking for $ac_header" >&5 +echo "$as_me:25650: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 25605 "configure" +#line 25656 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:25609: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25660: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25615: \$? = $ac_status" >&5 + echo "$as_me:25666: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25631,7 +25682,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:25634: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:25685: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:25698: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 25653 "configure" +#line 25704 "configure" #include "confdefs.h" #include <$ac_header> _ACEOF -if { (eval echo "$as_me:25657: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:25708: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:25663: \$? = $ac_status" >&5 + echo "$as_me:25714: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_cxx_preproc_warn_flag @@ -25679,7 +25730,7 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:25682: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 +echo "$as_me:25733: result: `eval echo '${'"$as_ac_Header"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_Header"'}'`" >&6 if test "`eval echo '${'"$as_ac_Header"'}'`" = yes; then cat >>confdefs.h <&5 + echo "$as_me:25744: checking if iostream uses std-namespace" >&5 echo $ECHO_N "checking if iostream uses std-namespace... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 25696 "configure" +#line 25747 "configure" #include "confdefs.h" #include @@ -25710,16 +25761,16 @@ cerr << "testing" << endl; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25713: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25764: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25716: \$? = $ac_status" >&5 + echo "$as_me:25767: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25719: \"$ac_try\"") >&5 + { (eval echo "$as_me:25770: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25722: \$? = $ac_status" >&5 + echo "$as_me:25773: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_iostream_namespace=yes else @@ -25728,7 +25779,7 @@ cat "conftest.$ac_ext" >&5 cf_iostream_namespace=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" - echo "$as_me:25731: result: $cf_iostream_namespace" >&5 + echo "$as_me:25782: result: $cf_iostream_namespace" >&5 echo "${ECHO_T}$cf_iostream_namespace" >&6 if test "$cf_iostream_namespace" = yes ; then @@ -25739,7 +25790,7 @@ EOF fi fi -echo "$as_me:25742: checking if we should include stdbool.h" >&5 +echo "$as_me:25793: checking if we should include stdbool.h" >&5 echo $ECHO_N "checking if we should include stdbool.h... $ECHO_C" >&6 if test "${cf_cv_header_stdbool_h+set}" = set; then @@ -25747,7 +25798,7 @@ if test "${cf_cv_header_stdbool_h+set}" = set; then else cat >"conftest.$ac_ext" <<_ACEOF -#line 25750 "configure" +#line 25801 "configure" #include "confdefs.h" int @@ -25759,23 +25810,23 @@ bool foo = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25762: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25813: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25765: \$? = $ac_status" >&5 + echo "$as_me:25816: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25768: \"$ac_try\"") >&5 + { (eval echo "$as_me:25819: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25771: \$? = $ac_status" >&5 + echo "$as_me:25822: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_header_stdbool_h=0 else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 25778 "configure" +#line 25829 "configure" #include "confdefs.h" #ifndef __BEOS__ @@ -25791,16 +25842,16 @@ bool foo = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25794: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25845: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25797: \$? = $ac_status" >&5 + echo "$as_me:25848: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25800: \"$ac_try\"") >&5 + { (eval echo "$as_me:25851: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25803: \$? = $ac_status" >&5 + echo "$as_me:25854: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_header_stdbool_h=1 else @@ -25814,13 +25865,13 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if test "$cf_cv_header_stdbool_h" = 1 -then echo "$as_me:25817: result: yes" >&5 +then echo "$as_me:25868: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:25819: result: no" >&5 +else echo "$as_me:25870: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:25823: checking for builtin bool type" >&5 +echo "$as_me:25874: checking for builtin bool type" >&5 echo $ECHO_N "checking for builtin bool type... $ECHO_C" >&6 if test "${cf_cv_builtin_bool+set}" = set; then @@ -25828,7 +25879,7 @@ if test "${cf_cv_builtin_bool+set}" = set; then else cat >"conftest.$ac_ext" <<_ACEOF -#line 25831 "configure" +#line 25882 "configure" #include "confdefs.h" #include @@ -25843,16 +25894,16 @@ bool x = false } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25846: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25897: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25849: \$? = $ac_status" >&5 + echo "$as_me:25900: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25852: \"$ac_try\"") >&5 + { (eval echo "$as_me:25903: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25855: \$? = $ac_status" >&5 + echo "$as_me:25906: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_builtin_bool=1 else @@ -25865,19 +25916,19 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi if test "$cf_cv_builtin_bool" = 1 -then echo "$as_me:25868: result: yes" >&5 +then echo "$as_me:25919: result: yes" >&5 echo "${ECHO_T}yes" >&6 -else echo "$as_me:25870: result: no" >&5 +else echo "$as_me:25921: result: no" >&5 echo "${ECHO_T}no" >&6 fi -echo "$as_me:25874: checking for bool" >&5 +echo "$as_me:25925: checking for bool" >&5 echo $ECHO_N "checking for bool... $ECHO_C" >&6 if test "${ac_cv_type_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 25880 "configure" +#line 25931 "configure" #include "confdefs.h" $ac_includes_default @@ -25912,16 +25963,16 @@ if (sizeof (bool)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25915: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:25966: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25918: \$? = $ac_status" >&5 + echo "$as_me:25969: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25921: \"$ac_try\"") >&5 + { (eval echo "$as_me:25972: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25924: \$? = $ac_status" >&5 + echo "$as_me:25975: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_bool=yes else @@ -25931,10 +25982,10 @@ ac_cv_type_bool=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:25934: result: $ac_cv_type_bool" >&5 +echo "$as_me:25985: result: $ac_cv_type_bool" >&5 echo "${ECHO_T}$ac_cv_type_bool" >&6 -echo "$as_me:25937: checking size of bool" >&5 +echo "$as_me:25988: checking size of bool" >&5 echo $ECHO_N "checking size of bool... $ECHO_C" >&6 if test "${ac_cv_sizeof_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -25943,7 +25994,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >"conftest.$ac_ext" <<_ACEOF -#line 25946 "configure" +#line 25997 "configure" #include "confdefs.h" $ac_includes_default @@ -25975,21 +26026,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:25978: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26029: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:25981: \$? = $ac_status" >&5 + echo "$as_me:26032: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:25984: \"$ac_try\"") >&5 + { (eval echo "$as_me:26035: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:25987: \$? = $ac_status" >&5 + echo "$as_me:26038: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 25992 "configure" +#line 26043 "configure" #include "confdefs.h" $ac_includes_default @@ -26021,16 +26072,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26024: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26075: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26027: \$? = $ac_status" >&5 + echo "$as_me:26078: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26030: \"$ac_try\"") >&5 + { (eval echo "$as_me:26081: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26033: \$? = $ac_status" >&5 + echo "$as_me:26084: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else @@ -26046,7 +26097,7 @@ cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 26049 "configure" +#line 26100 "configure" #include "confdefs.h" $ac_includes_default @@ -26078,16 +26129,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26081: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26132: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26084: \$? = $ac_status" >&5 + echo "$as_me:26135: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26087: \"$ac_try\"") >&5 + { (eval echo "$as_me:26138: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26090: \$? = $ac_status" >&5 + echo "$as_me:26141: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else @@ -26103,7 +26154,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` cat >"conftest.$ac_ext" <<_ACEOF -#line 26106 "configure" +#line 26157 "configure" #include "confdefs.h" $ac_includes_default @@ -26135,16 +26186,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26138: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26189: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26141: \$? = $ac_status" >&5 + echo "$as_me:26192: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26144: \"$ac_try\"") >&5 + { (eval echo "$as_me:26195: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26147: \$? = $ac_status" >&5 + echo "$as_me:26198: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid else @@ -26157,12 +26208,12 @@ done ac_cv_sizeof_bool=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:26160: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:26211: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >"conftest.$ac_ext" <<_ACEOF -#line 26165 "configure" +#line 26216 "configure" #include "confdefs.h" $ac_includes_default @@ -26198,15 +26249,15 @@ fclose (f); } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:26201: \"$ac_link\"") >&5 +if { (eval echo "$as_me:26252: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26204: \$? = $ac_status" >&5 + echo "$as_me:26255: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:26206: \"$ac_try\"") >&5 + { (eval echo "$as_me:26257: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26209: \$? = $ac_status" >&5 + echo "$as_me:26260: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_sizeof_bool=`cat conftest.val` else @@ -26222,13 +26273,13 @@ else ac_cv_sizeof_bool=0 fi fi -echo "$as_me:26225: result: $ac_cv_sizeof_bool" >&5 +echo "$as_me:26276: result: $ac_cv_sizeof_bool" >&5 echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 cat >>confdefs.h <&5 +echo "$as_me:26282: checking for type of bool" >&5 echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 if test "${cf_cv_type_of_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26247,7 +26298,7 @@ else else cat >"conftest.$ac_ext" <<_ACEOF -#line 26250 "configure" +#line 26301 "configure" #include "confdefs.h" $ac_includes_default @@ -26288,15 +26339,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:26291: \"$ac_link\"") >&5 +if { (eval echo "$as_me:26342: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26294: \$? = $ac_status" >&5 + echo "$as_me:26345: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:26296: \"$ac_try\"") >&5 + { (eval echo "$as_me:26347: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26299: \$? = $ac_status" >&5 + echo "$as_me:26350: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_type_of_bool=`cat cf_test.out` if test -z "$cf_cv_type_of_bool"; then @@ -26313,19 +26364,19 @@ fi rm -f cf_test.out fi -echo "$as_me:26316: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:26367: result: $cf_cv_type_of_bool" >&5 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 if test "$cf_cv_type_of_bool" = unknown ; then case .$NCURSES_BOOL in (.auto|.) NCURSES_BOOL=unsigned;; esac - { echo "$as_me:26323: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:26374: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} cf_cv_type_of_bool=$NCURSES_BOOL fi -echo "$as_me:26328: checking for special defines needed for etip.h" >&5 +echo "$as_me:26379: checking for special defines needed for etip.h" >&5 echo $ECHO_N "checking for special defines needed for etip.h... $ECHO_C" >&6 cf_save_CXXFLAGS="$CXXFLAGS" cf_result="none" @@ -26343,7 +26394,7 @@ do test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}" test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}" cat >"conftest.$ac_ext" <<_ACEOF -#line 26346 "configure" +#line 26397 "configure" #include "confdefs.h" #include @@ -26357,16 +26408,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26360: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26411: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26363: \$? = $ac_status" >&5 + echo "$as_me:26414: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26366: \"$ac_try\"") >&5 + { (eval echo "$as_me:26417: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26369: \$? = $ac_status" >&5 + echo "$as_me:26420: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then test -n "$cf_math" && cat >>confdefs.h <&5 +echo "$as_me:26441: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 CXXFLAGS="$cf_save_CXXFLAGS" if test -n "$CXX"; then -echo "$as_me:26395: checking if $CXX accepts override keyword" >&5 +echo "$as_me:26446: checking if $CXX accepts override keyword" >&5 echo $ECHO_N "checking if $CXX accepts override keyword... $ECHO_C" >&6 if test "${cf_cv_cpp_override+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26409,7 +26460,7 @@ ac_main_return="return" cf_cv_cpp_override=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 26412 "configure" +#line 26463 "configure" #include "confdefs.h" class base @@ -26428,15 +26479,15 @@ int main(void) { } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:26431: \"$ac_link\"") >&5 +if { (eval echo "$as_me:26482: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26434: \$? = $ac_status" >&5 + echo "$as_me:26485: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:26436: \"$ac_try\"") >&5 + { (eval echo "$as_me:26487: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26439: \$? = $ac_status" >&5 + echo "$as_me:26490: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cpp_override=yes else @@ -26455,7 +26506,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return="return" fi -echo "$as_me:26458: result: $cf_cv_cpp_override" >&5 +echo "$as_me:26509: result: $cf_cv_cpp_override" >&5 echo "${ECHO_T}$cf_cv_cpp_override" >&6 fi test "$cf_cv_cpp_override" = yes && @@ -26464,7 +26515,7 @@ cat >>confdefs.h <<\EOF EOF if test -n "$CXX"; then -echo "$as_me:26467: checking if $CXX accepts parameter initialization" >&5 +echo "$as_me:26518: checking if $CXX accepts parameter initialization" >&5 echo $ECHO_N "checking if $CXX accepts parameter initialization... $ECHO_C" >&6 if test "${cf_cv_cpp_param_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26481,7 +26532,7 @@ ac_main_return="return" cf_cv_cpp_param_init=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 26484 "configure" +#line 26535 "configure" #include "confdefs.h" class TEST { @@ -26500,15 +26551,15 @@ int main(void) { } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:26503: \"$ac_link\"") >&5 +if { (eval echo "$as_me:26554: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:26506: \$? = $ac_status" >&5 + echo "$as_me:26557: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:26508: \"$ac_try\"") >&5 + { (eval echo "$as_me:26559: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26511: \$? = $ac_status" >&5 + echo "$as_me:26562: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cpp_param_init=yes else @@ -26527,7 +26578,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return="return" fi -echo "$as_me:26530: result: $cf_cv_cpp_param_init" >&5 +echo "$as_me:26581: result: $cf_cv_cpp_param_init" >&5 echo "${ECHO_T}$cf_cv_cpp_param_init" >&6 fi test "$cf_cv_cpp_param_init" = yes && @@ -26537,7 +26588,7 @@ EOF if test -n "$CXX"; then -echo "$as_me:26540: checking if $CXX accepts static_cast" >&5 +echo "$as_me:26591: checking if $CXX accepts static_cast" >&5 echo $ECHO_N "checking if $CXX accepts static_cast... $ECHO_C" >&6 if test "${cf_cv_cpp_static_cast+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26551,7 +26602,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return="return" cat >"conftest.$ac_ext" <<_ACEOF -#line 26554 "configure" +#line 26605 "configure" #include "confdefs.h" class NCursesPanel @@ -26595,16 +26646,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26598: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26649: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26601: \$? = $ac_status" >&5 + echo "$as_me:26652: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26604: \"$ac_try\"") >&5 + { (eval echo "$as_me:26655: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26607: \$? = $ac_status" >&5 + echo "$as_me:26658: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_cpp_static_cast=yes else @@ -26622,7 +26673,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_main_return="return" fi -echo "$as_me:26625: result: $cf_cv_cpp_static_cast" >&5 +echo "$as_me:26676: result: $cf_cv_cpp_static_cast" >&5 echo "${ECHO_T}$cf_cv_cpp_static_cast" >&6 fi @@ -26671,13 +26722,13 @@ else else if test "$cf_cv_header_stdbool_h" = 1 ; then -echo "$as_me:26674: checking for bool" >&5 +echo "$as_me:26725: checking for bool" >&5 echo $ECHO_N "checking for bool... $ECHO_C" >&6 if test "${ac_cv_type_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 26680 "configure" +#line 26731 "configure" #include "confdefs.h" $ac_includes_default @@ -26712,16 +26763,16 @@ if (sizeof (bool)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26715: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26766: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26718: \$? = $ac_status" >&5 + echo "$as_me:26769: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26721: \"$ac_try\"") >&5 + { (eval echo "$as_me:26772: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26724: \$? = $ac_status" >&5 + echo "$as_me:26775: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_bool=yes else @@ -26731,10 +26782,10 @@ ac_cv_type_bool=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:26734: result: $ac_cv_type_bool" >&5 +echo "$as_me:26785: result: $ac_cv_type_bool" >&5 echo "${ECHO_T}$ac_cv_type_bool" >&6 -echo "$as_me:26737: checking size of bool" >&5 +echo "$as_me:26788: checking size of bool" >&5 echo $ECHO_N "checking size of bool... $ECHO_C" >&6 if test "${ac_cv_sizeof_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -26743,7 +26794,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >"conftest.$ac_ext" <<_ACEOF -#line 26746 "configure" +#line 26797 "configure" #include "confdefs.h" $ac_includes_default @@ -26775,21 +26826,21 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= 0)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26778: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26829: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26781: \$? = $ac_status" >&5 + echo "$as_me:26832: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26784: \"$ac_try\"") >&5 + { (eval echo "$as_me:26835: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26787: \$? = $ac_status" >&5 + echo "$as_me:26838: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 26792 "configure" +#line 26843 "configure" #include "confdefs.h" $ac_includes_default @@ -26821,16 +26872,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26824: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26875: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26827: \$? = $ac_status" >&5 + echo "$as_me:26878: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26830: \"$ac_try\"") >&5 + { (eval echo "$as_me:26881: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26833: \$? = $ac_status" >&5 + echo "$as_me:26884: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else @@ -26846,7 +26897,7 @@ cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 26849 "configure" +#line 26900 "configure" #include "confdefs.h" $ac_includes_default @@ -26878,16 +26929,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) >= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26881: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26932: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26884: \$? = $ac_status" >&5 + echo "$as_me:26935: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26887: \"$ac_try\"") >&5 + { (eval echo "$as_me:26938: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26890: \$? = $ac_status" >&5 + echo "$as_me:26941: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else @@ -26903,7 +26954,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` cat >"conftest.$ac_ext" <<_ACEOF -#line 26906 "configure" +#line 26957 "configure" #include "confdefs.h" $ac_includes_default @@ -26935,16 +26986,16 @@ int _array_ [1 - 2 * !((sizeof (bool)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:26938: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:26989: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:26941: \$? = $ac_status" >&5 + echo "$as_me:26992: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:26944: \"$ac_try\"") >&5 + { (eval echo "$as_me:26995: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:26947: \$? = $ac_status" >&5 + echo "$as_me:26998: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid else @@ -26957,12 +27008,12 @@ done ac_cv_sizeof_bool=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:26960: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:27011: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >"conftest.$ac_ext" <<_ACEOF -#line 26965 "configure" +#line 27016 "configure" #include "confdefs.h" $ac_includes_default @@ -26998,15 +27049,15 @@ fclose (f); } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:27001: \"$ac_link\"") >&5 +if { (eval echo "$as_me:27052: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27004: \$? = $ac_status" >&5 + echo "$as_me:27055: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:27006: \"$ac_try\"") >&5 + { (eval echo "$as_me:27057: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27009: \$? = $ac_status" >&5 + echo "$as_me:27060: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_sizeof_bool=`cat conftest.val` else @@ -27022,13 +27073,13 @@ else ac_cv_sizeof_bool=0 fi fi -echo "$as_me:27025: result: $ac_cv_sizeof_bool" >&5 +echo "$as_me:27076: result: $ac_cv_sizeof_bool" >&5 echo "${ECHO_T}$ac_cv_sizeof_bool" >&6 cat >>confdefs.h <&5 +echo "$as_me:27082: checking for type of bool" >&5 echo $ECHO_N "checking for type of bool... $ECHO_C" >&6 if test "${cf_cv_type_of_bool+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27047,7 +27098,7 @@ else else cat >"conftest.$ac_ext" <<_ACEOF -#line 27050 "configure" +#line 27101 "configure" #include "confdefs.h" $ac_includes_default @@ -27088,15 +27139,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:27091: \"$ac_link\"") >&5 +if { (eval echo "$as_me:27142: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:27094: \$? = $ac_status" >&5 + echo "$as_me:27145: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:27096: \"$ac_try\"") >&5 + { (eval echo "$as_me:27147: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27099: \$? = $ac_status" >&5 + echo "$as_me:27150: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_type_of_bool=`cat cf_test.out` if test -z "$cf_cv_type_of_bool"; then @@ -27113,26 +27164,26 @@ fi rm -f cf_test.out fi -echo "$as_me:27116: result: $cf_cv_type_of_bool" >&5 +echo "$as_me:27167: result: $cf_cv_type_of_bool" >&5 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 if test "$cf_cv_type_of_bool" = unknown ; then case .$NCURSES_BOOL in (.auto|.) NCURSES_BOOL=unsigned;; esac - { echo "$as_me:27123: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 + { echo "$as_me:27174: WARNING: Assuming $NCURSES_BOOL for type of bool" >&5 echo "$as_me: WARNING: Assuming $NCURSES_BOOL for type of bool" >&2;} cf_cv_type_of_bool=$NCURSES_BOOL fi else - echo "$as_me:27129: checking for fallback type of bool" >&5 + echo "$as_me:27180: checking for fallback type of bool" >&5 echo $ECHO_N "checking for fallback type of bool... $ECHO_C" >&6 case "$host_cpu" in (i?86) cf_cv_type_of_bool=char ;; (*) cf_cv_type_of_bool=int ;; esac - echo "$as_me:27135: result: $cf_cv_type_of_bool" >&5 + echo "$as_me:27186: result: $cf_cv_type_of_bool" >&5 echo "${ECHO_T}$cf_cv_type_of_bool" >&6 fi fi @@ -27161,7 +27212,7 @@ if test -f "${srcdir}/Ada95/Makefile.in" ; then if test "$cf_with_ada" != "no" ; then if test "$with_libtool" != "no"; then - { echo "$as_me:27164: WARNING: libtool does not support Ada - disabling feature" >&5 + { echo "$as_me:27215: WARNING: libtool does not support Ada - disabling feature" >&5 echo "$as_me: WARNING: libtool does not support Ada - disabling feature" >&2;} cf_with_ada=no fi @@ -27178,7 +27229,7 @@ cf_upper_prog_gnat=`echo "${cf_prog_gnat}" | sed y%abcdefghijklmnopqrstuvwxyz./- unset cf_TEMP_gnat # Extract the first word of "$cf_prog_gnat", so it can be a program name with args. set dummy $cf_prog_gnat; ac_word=$2 -echo "$as_me:27181: checking for $ac_word" >&5 +echo "$as_me:27232: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_cf_TEMP_gnat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27195,7 +27246,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. if $as_executable_p "$ac_dir/$ac_word"; then ac_cv_path_cf_TEMP_gnat="$ac_dir/$ac_word" - echo "$as_me:27198: found $ac_dir/$ac_word" >&5 + echo "$as_me:27249: found $ac_dir/$ac_word" >&5 break fi done @@ -27207,10 +27258,10 @@ fi cf_TEMP_gnat=$ac_cv_path_cf_TEMP_gnat if test -n "$cf_TEMP_gnat"; then - echo "$as_me:27210: result: $cf_TEMP_gnat" >&5 + echo "$as_me:27261: result: $cf_TEMP_gnat" >&5 echo "${ECHO_T}$cf_TEMP_gnat" >&6 else - echo "$as_me:27213: result: no" >&5 + echo "$as_me:27264: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -27220,7 +27271,7 @@ fi unset cf_cv_gnat_version unset cf_TEMP_gnat -echo "$as_me:27223: checking for $cf_prog_gnat version" >&5 +echo "$as_me:27274: checking for $cf_prog_gnat version" >&5 echo $ECHO_N "checking for $cf_prog_gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27231,7 +27282,7 @@ cf_cv_gnat_version=`$cf_prog_gnat --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:27234: result: $cf_cv_gnat_version" >&5 +echo "$as_me:27285: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no eval cf_TEMP_gnat=$cf_cv_gnat_version; unset cf_cv_gnat_version @@ -27260,7 +27311,7 @@ else cd conftest.src for cf_gprconfig in Ada C do - echo "$as_me:27263: checking for gprconfig name for $cf_gprconfig" >&5 + echo "$as_me:27314: checking for gprconfig name for $cf_gprconfig" >&5 echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test "$cf_gprconfig" = C then @@ -27279,10 +27330,10 @@ echo $ECHO_N "checking for gprconfig name for $cf_gprconfig... $ECHO_C" >&6 if test -n "$cf_gprconfig_value" then eval "cf_ada_config_$cf_gprconfig=$cf_gprconfig_value" - echo "$as_me:27282: result: $cf_gprconfig_value" >&5 + echo "$as_me:27333: result: $cf_gprconfig_value" >&5 echo "${ECHO_T}$cf_gprconfig_value" >&6 else - echo "$as_me:27285: result: missing" >&5 + echo "$as_me:27336: result: missing" >&5 echo "${ECHO_T}missing" >&6 cf_ada_config="#" break @@ -27295,7 +27346,7 @@ echo "${ECHO_T}missing" >&6 if test "x$cf_ada_config" != "x#" then -echo "$as_me:27298: checking for gnat version" >&5 +echo "$as_me:27349: checking for gnat version" >&5 echo $ECHO_N "checking for gnat version... $ECHO_C" >&6 if test "${cf_cv_gnat_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27306,7 +27357,7 @@ cf_cv_gnat_version=`${cf_ada_make:-gnatmake} --version 2>&1 | \ sed -e '2,$d' -e 's/[^0-9 \.]//g' -e 's/^[ ]*//' -e 's/ .*//'` fi -echo "$as_me:27309: result: $cf_cv_gnat_version" >&5 +echo "$as_me:27360: result: $cf_cv_gnat_version" >&5 echo "${ECHO_T}$cf_cv_gnat_version" >&6 test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no @@ -27315,7 +27366,7 @@ case "$cf_cv_gnat_version" in cf_cv_prog_gnat_correct=yes ;; (*) - { echo "$as_me:27318: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 + { echo "$as_me:27369: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&5 echo "$as_me: WARNING: Unsupported GNAT version $cf_cv_gnat_version. We require 3.11 or better. Disabling Ada95 binding." >&2;} cf_cv_prog_gnat_correct=no ;; @@ -27323,7 +27374,7 @@ esac # Extract the first word of "m4", so it can be a program name with args. set dummy m4; ac_word=$2 -echo "$as_me:27326: checking for $ac_word" >&5 +echo "$as_me:27377: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_M4_exists+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27338,7 +27389,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_M4_exists="yes" -echo "$as_me:27341: found $ac_dir/$ac_word" >&5 +echo "$as_me:27392: found $ac_dir/$ac_word" >&5 break done @@ -27347,20 +27398,20 @@ fi fi M4_exists=$ac_cv_prog_M4_exists if test -n "$M4_exists"; then - echo "$as_me:27350: result: $M4_exists" >&5 + echo "$as_me:27401: result: $M4_exists" >&5 echo "${ECHO_T}$M4_exists" >&6 else - echo "$as_me:27353: result: no" >&5 + echo "$as_me:27404: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$ac_cv_prog_M4_exists" = no; then cf_cv_prog_gnat_correct=no - { echo "$as_me:27359: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 + { echo "$as_me:27410: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&5 echo "$as_me: WARNING: Ada95 binding required program m4 not found. Ada95 binding disabled" >&2;} fi if test "$cf_cv_prog_gnat_correct" = yes; then - echo "$as_me:27363: checking if GNAT works" >&5 + echo "$as_me:27414: checking if GNAT works" >&5 echo $ECHO_N "checking if GNAT works... $ECHO_C" >&6 rm -rf ./conftest* ./*~conftest* @@ -27388,7 +27439,7 @@ else fi rm -rf ./conftest* ./*~conftest* - echo "$as_me:27391: result: $cf_cv_prog_gnat_correct" >&5 + echo "$as_me:27442: result: $cf_cv_prog_gnat_correct" >&5 echo "${ECHO_T}$cf_cv_prog_gnat_correct" >&6 fi else @@ -27400,7 +27451,7 @@ fi ADAFLAGS="$ADAFLAGS -gnatpn" - echo "$as_me:27403: checking optimization options for ADAFLAGS" >&5 + echo "$as_me:27454: checking optimization options for ADAFLAGS" >&5 echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 case "$CFLAGS" in (*-g*) @@ -27417,10 +27468,10 @@ echo $ECHO_N "checking optimization options for ADAFLAGS... $ECHO_C" >&6 ;; esac - echo "$as_me:27420: result: $ADAFLAGS" >&5 + echo "$as_me:27471: result: $ADAFLAGS" >&5 echo "${ECHO_T}$ADAFLAGS" >&6 -echo "$as_me:27423: checking if GNATPREP supports -T option" >&5 +echo "$as_me:27474: checking if GNATPREP supports -T option" >&5 echo $ECHO_N "checking if GNATPREP supports -T option... $ECHO_C" >&6 if test "${cf_cv_gnatprep_opt_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27430,11 +27481,11 @@ cf_cv_gnatprep_opt_t=no gnatprep -T 2>/dev/null >/dev/null && cf_cv_gnatprep_opt_t=yes fi -echo "$as_me:27433: result: $cf_cv_gnatprep_opt_t" >&5 +echo "$as_me:27484: result: $cf_cv_gnatprep_opt_t" >&5 echo "${ECHO_T}$cf_cv_gnatprep_opt_t" >&6 test "$cf_cv_gnatprep_opt_t" = yes && GNATPREP_OPTS="-T $GNATPREP_OPTS" -echo "$as_me:27437: checking if GNAT supports generics" >&5 +echo "$as_me:27488: checking if GNAT supports generics" >&5 echo $ECHO_N "checking if GNAT supports generics... $ECHO_C" >&6 case "$cf_cv_gnat_version" in (3.1[1-9]*|3.[2-9]*|[4-9].*|[1-9][0-9].[0-9]*|20[0-9][0-9]) @@ -27444,7 +27495,7 @@ case "$cf_cv_gnat_version" in cf_gnat_generics=no ;; esac -echo "$as_me:27447: result: $cf_gnat_generics" >&5 +echo "$as_me:27498: result: $cf_gnat_generics" >&5 echo "${ECHO_T}$cf_gnat_generics" >&6 if test "$cf_gnat_generics" = yes @@ -27456,7 +27507,7 @@ else cf_generic_objects= fi -echo "$as_me:27459: checking if GNAT supports SIGINT" >&5 +echo "$as_me:27510: checking if GNAT supports SIGINT" >&5 echo $ECHO_N "checking if GNAT supports SIGINT... $ECHO_C" >&6 if test "${cf_cv_gnat_sigint+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27504,7 +27555,7 @@ fi rm -rf ./conftest* ./*~conftest* fi -echo "$as_me:27507: result: $cf_cv_gnat_sigint" >&5 +echo "$as_me:27558: result: $cf_cv_gnat_sigint" >&5 echo "${ECHO_T}$cf_cv_gnat_sigint" >&6 if test "$cf_cv_gnat_sigint" = yes ; then @@ -27517,7 +27568,7 @@ cf_gnat_libraries=no cf_gnat_projects=no if test "$enable_gnat_projects" != no ; then -echo "$as_me:27520: checking if GNAT supports project files" >&5 +echo "$as_me:27571: checking if GNAT supports project files" >&5 echo $ECHO_N "checking if GNAT supports project files... $ECHO_C" >&6 case "$cf_cv_gnat_version" in (3.[0-9]*) @@ -27580,15 +27631,15 @@ CF_EOF esac ;; esac -echo "$as_me:27583: result: $cf_gnat_projects" >&5 +echo "$as_me:27634: result: $cf_gnat_projects" >&5 echo "${ECHO_T}$cf_gnat_projects" >&6 fi # enable_gnat_projects if test "$cf_gnat_projects" = yes then - echo "$as_me:27589: checking if GNAT supports libraries" >&5 + echo "$as_me:27640: checking if GNAT supports libraries" >&5 echo $ECHO_N "checking if GNAT supports libraries... $ECHO_C" >&6 - echo "$as_me:27591: result: $cf_gnat_libraries" >&5 + echo "$as_me:27642: result: $cf_gnat_libraries" >&5 echo "${ECHO_T}$cf_gnat_libraries" >&6 fi @@ -27608,7 +27659,7 @@ then then USE_GNAT_MAKE_GPR="" else - { echo "$as_me:27611: WARNING: use old makefile rules since tools are missing" >&5 + { echo "$as_me:27662: WARNING: use old makefile rules since tools are missing" >&5 echo "$as_me: WARNING: use old makefile rules since tools are missing" >&2;} fi fi @@ -27620,7 +27671,7 @@ else USE_GNAT_LIBRARIES="#" fi -echo "$as_me:27623: checking for ada-compiler" >&5 +echo "$as_me:27674: checking for ada-compiler" >&5 echo $ECHO_N "checking for ada-compiler... $ECHO_C" >&6 # Check whether --with-ada-compiler or --without-ada-compiler was given. @@ -27631,12 +27682,12 @@ else cf_ada_compiler=gnatmake fi; -echo "$as_me:27634: result: $cf_ada_compiler" >&5 +echo "$as_me:27685: result: $cf_ada_compiler" >&5 echo "${ECHO_T}$cf_ada_compiler" >&6 cf_ada_package=terminal_interface -echo "$as_me:27639: checking for ada-include" >&5 +echo "$as_me:27690: checking for ada-include" >&5 echo $ECHO_N "checking for ada-include... $ECHO_C" >&6 # Check whether --with-ada-include or --without-ada-include was given. @@ -27672,7 +27723,7 @@ case ".$withval" in withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:27675: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:27726: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -27681,10 +27732,10 @@ esac fi eval ADA_INCLUDE="$withval" -echo "$as_me:27684: result: $ADA_INCLUDE" >&5 +echo "$as_me:27735: result: $ADA_INCLUDE" >&5 echo "${ECHO_T}$ADA_INCLUDE" >&6 -echo "$as_me:27687: checking for ada-objects" >&5 +echo "$as_me:27738: checking for ada-objects" >&5 echo $ECHO_N "checking for ada-objects... $ECHO_C" >&6 # Check whether --with-ada-objects or --without-ada-objects was given. @@ -27720,7 +27771,7 @@ case ".$withval" in withval=`echo "$withval" | sed -e s%NONE%$cf_path_syntax%` ;; (*) - { { echo "$as_me:27723: error: expected a pathname, not \"$withval\"" >&5 + { { echo "$as_me:27774: error: expected a pathname, not \"$withval\"" >&5 echo "$as_me: error: expected a pathname, not \"$withval\"" >&2;} { (exit 1); exit 1; }; } ;; @@ -27729,10 +27780,10 @@ esac fi eval ADA_OBJECTS="$withval" -echo "$as_me:27732: result: $ADA_OBJECTS" >&5 +echo "$as_me:27783: result: $ADA_OBJECTS" >&5 echo "${ECHO_T}$ADA_OBJECTS" >&6 -echo "$as_me:27735: checking if an Ada95 shared-library should be built" >&5 +echo "$as_me:27786: checking if an Ada95 shared-library should be built" >&5 echo $ECHO_N "checking if an Ada95 shared-library should be built... $ECHO_C" >&6 # Check whether --with-ada-sharedlib or --without-ada-sharedlib was given. @@ -27742,14 +27793,14 @@ if test "${with_ada_sharedlib+set}" = set; then else with_ada_sharedlib=no fi; -echo "$as_me:27745: result: $with_ada_sharedlib" >&5 +echo "$as_me:27796: result: $with_ada_sharedlib" >&5 echo "${ECHO_T}$with_ada_sharedlib" >&6 if test "x$with_ada_sharedlib" != xno then if test "x$cf_gnat_projects" != xyes then - { echo "$as_me:27752: WARNING: disabling shared-library since GNAT projects are not supported" >&5 + { echo "$as_me:27803: WARNING: disabling shared-library since GNAT projects are not supported" >&5 echo "$as_me: WARNING: disabling shared-library since GNAT projects are not supported" >&2;} with_ada_sharedlib=no fi @@ -27769,7 +27820,7 @@ fi # allow the Ada binding to be renamed -echo "$as_me:27772: checking for ada-libname" >&5 +echo "$as_me:27823: checking for ada-libname" >&5 echo $ECHO_N "checking for ada-libname... $ECHO_C" >&6 # Check whether --with-ada-libname or --without-ada-libname was given. @@ -27785,7 +27836,7 @@ case "x$ADA_LIBNAME" in ;; esac -echo "$as_me:27788: result: $ADA_LIBNAME" >&5 +echo "$as_me:27839: result: $ADA_LIBNAME" >&5 echo "${ECHO_T}$ADA_LIBNAME" >&6 fi @@ -27796,13 +27847,13 @@ fi # do this "late" to avoid conflict with header-checks if test "x$with_widec" = xyes ; then - echo "$as_me:27799: checking for wchar_t" >&5 + echo "$as_me:27850: checking for wchar_t" >&5 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6 if test "${ac_cv_type_wchar_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 27805 "configure" +#line 27856 "configure" #include "confdefs.h" $ac_includes_default int @@ -27817,16 +27868,16 @@ if (sizeof (wchar_t)) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:27820: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:27871: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27823: \$? = $ac_status" >&5 + echo "$as_me:27874: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:27826: \"$ac_try\"") >&5 + { (eval echo "$as_me:27877: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27829: \$? = $ac_status" >&5 + echo "$as_me:27880: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_type_wchar_t=yes else @@ -27836,10 +27887,10 @@ ac_cv_type_wchar_t=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:27839: result: $ac_cv_type_wchar_t" >&5 +echo "$as_me:27890: result: $ac_cv_type_wchar_t" >&5 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6 -echo "$as_me:27842: checking size of wchar_t" >&5 +echo "$as_me:27893: checking size of wchar_t" >&5 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6 if test "${ac_cv_sizeof_wchar_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -27848,7 +27899,7 @@ else if test "$cross_compiling" = yes; then # Depending upon the size, compute the lo and hi bounds. cat >"conftest.$ac_ext" <<_ACEOF -#line 27851 "configure" +#line 27902 "configure" #include "confdefs.h" $ac_includes_default int @@ -27860,21 +27911,21 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= 0)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:27863: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:27914: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27866: \$? = $ac_status" >&5 + echo "$as_me:27917: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:27869: \"$ac_try\"") >&5 + { (eval echo "$as_me:27920: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27872: \$? = $ac_status" >&5 + echo "$as_me:27923: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=0 ac_mid=0 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 27877 "configure" +#line 27928 "configure" #include "confdefs.h" $ac_includes_default int @@ -27886,16 +27937,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:27889: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:27940: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27892: \$? = $ac_status" >&5 + echo "$as_me:27943: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:27895: \"$ac_try\"") >&5 + { (eval echo "$as_me:27946: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27898: \$? = $ac_status" >&5 + echo "$as_me:27949: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid; break else @@ -27911,7 +27962,7 @@ cat "conftest.$ac_ext" >&5 ac_hi=-1 ac_mid=-1 while :; do cat >"conftest.$ac_ext" <<_ACEOF -#line 27914 "configure" +#line 27965 "configure" #include "confdefs.h" $ac_includes_default int @@ -27923,16 +27974,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) >= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:27926: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:27977: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27929: \$? = $ac_status" >&5 + echo "$as_me:27980: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:27932: \"$ac_try\"") >&5 + { (eval echo "$as_me:27983: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27935: \$? = $ac_status" >&5 + echo "$as_me:27986: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_lo=$ac_mid; break else @@ -27948,7 +27999,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" while test "x$ac_lo" != "x$ac_hi"; do ac_mid=`expr '(' "$ac_hi" - "$ac_lo" ')' / 2 + "$ac_lo"` cat >"conftest.$ac_ext" <<_ACEOF -#line 27951 "configure" +#line 28002 "configure" #include "confdefs.h" $ac_includes_default int @@ -27960,16 +28011,16 @@ int _array_ [1 - 2 * !((sizeof (wchar_t)) <= $ac_mid)] } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:27963: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:28014: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:27966: \$? = $ac_status" >&5 + echo "$as_me:28017: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:27969: \"$ac_try\"") >&5 + { (eval echo "$as_me:28020: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:27972: \$? = $ac_status" >&5 + echo "$as_me:28023: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_hi=$ac_mid else @@ -27982,12 +28033,12 @@ done ac_cv_sizeof_wchar_t=$ac_lo else if test "$cross_compiling" = yes; then - { { echo "$as_me:27985: error: cannot run test program while cross compiling" >&5 + { { echo "$as_me:28036: error: cannot run test program while cross compiling" >&5 echo "$as_me: error: cannot run test program while cross compiling" >&2;} { (exit 1); exit 1; }; } else cat >"conftest.$ac_ext" <<_ACEOF -#line 27990 "configure" +#line 28041 "configure" #include "confdefs.h" $ac_includes_default int @@ -28003,15 +28054,15 @@ fclose (f); } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:28006: \"$ac_link\"") >&5 +if { (eval echo "$as_me:28057: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28009: \$? = $ac_status" >&5 + echo "$as_me:28060: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:28011: \"$ac_try\"") >&5 + { (eval echo "$as_me:28062: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28014: \$? = $ac_status" >&5 + echo "$as_me:28065: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_sizeof_wchar_t=`cat conftest.val` else @@ -28027,7 +28078,7 @@ else ac_cv_sizeof_wchar_t=0 fi fi -echo "$as_me:28030: result: $ac_cv_sizeof_wchar_t" >&5 +echo "$as_me:28081: result: $ac_cv_sizeof_wchar_t" >&5 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6 cat >>confdefs.h <&6 -echo "${as_me:-configure}:28043: testing test failed (assume 2) ..." 1>&5 +echo "${as_me:-configure}:28094: testing test failed (assume 2) ..." 1>&5 sed /SIZEOF_WCHAR_T/d confdefs.h >confdefs.tmp mv confdefs.tmp confdefs.h @@ -28058,7 +28109,7 @@ fi ### chooses to split module lists into libraries. ### ### (see CF_LIB_RULES). -echo "$as_me:28061: checking for library subsets" >&5 +echo "$as_me:28112: checking for library subsets" >&5 echo $ECHO_N "checking for library subsets... $ECHO_C" >&6 LIB_SUBSETS= @@ -28112,7 +28163,7 @@ fi test "x$with_widec" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+widechar" test "x$with_ext_funcs" = xyes && LIB_SUBSETS="${LIB_SUBSETS}+ext_funcs" -echo "$as_me:28115: result: $LIB_SUBSETS" >&5 +echo "$as_me:28166: result: $LIB_SUBSETS" >&5 echo "${ECHO_T}$LIB_SUBSETS" >&6 ### Construct the list of include-directories to be generated @@ -28143,7 +28194,7 @@ elif test "$includedir" != "/usr/include"; then fi ### Build up pieces for makefile rules -echo "$as_me:28146: checking default library suffix" >&5 +echo "$as_me:28197: checking default library suffix" >&5 echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -28154,10 +28205,10 @@ echo $ECHO_N "checking default library suffix... $ECHO_C" >&6 (shared) DFT_ARG_SUFFIX='' ;; esac test -n "$LIB_SUFFIX" && DFT_ARG_SUFFIX="${LIB_SUFFIX}${DFT_ARG_SUFFIX}" -echo "$as_me:28157: result: $DFT_ARG_SUFFIX" >&5 +echo "$as_me:28208: result: $DFT_ARG_SUFFIX" >&5 echo "${ECHO_T}$DFT_ARG_SUFFIX" >&6 -echo "$as_me:28160: checking default library-dependency suffix" >&5 +echo "$as_me:28211: checking default library-dependency suffix" >&5 echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 case X$DFT_LWR_MODEL in @@ -28240,10 +28291,10 @@ echo $ECHO_N "checking default library-dependency suffix... $ECHO_C" >&6 DFT_LIB_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_LIB_SUFFIX}" DFT_DEP_SUFFIX="${LIB_SUFFIX}${EXTRA_SUFFIX}${DFT_DEP_SUFFIX}" fi -echo "$as_me:28243: result: $DFT_DEP_SUFFIX" >&5 +echo "$as_me:28294: result: $DFT_DEP_SUFFIX" >&5 echo "${ECHO_T}$DFT_DEP_SUFFIX" >&6 -echo "$as_me:28246: checking default object directory" >&5 +echo "$as_me:28297: checking default object directory" >&5 echo $ECHO_N "checking default object directory... $ECHO_C" >&6 case $DFT_LWR_MODEL in @@ -28259,11 +28310,11 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6 DFT_OBJ_SUBDIR='obj_s' ;; esac esac -echo "$as_me:28262: result: $DFT_OBJ_SUBDIR" >&5 +echo "$as_me:28313: result: $DFT_OBJ_SUBDIR" >&5 echo "${ECHO_T}$DFT_OBJ_SUBDIR" >&6 if test "x$cf_with_cxx" = xyes ; then -echo "$as_me:28266: checking c++ library-dependency suffix" >&5 +echo "$as_me:28317: checking c++ library-dependency suffix" >&5 echo $ECHO_N "checking c++ library-dependency suffix... $ECHO_C" >&6 if test "$with_libtool" != "no"; then # libtool thinks it can make c++ shared libraries (perhaps only g++) @@ -28356,7 +28407,7 @@ else fi fi -echo "$as_me:28359: result: $CXX_LIB_SUFFIX" >&5 +echo "$as_me:28410: result: $CXX_LIB_SUFFIX" >&5 echo "${ECHO_T}$CXX_LIB_SUFFIX" >&6 fi @@ -28532,19 +28583,19 @@ fi if test -n "$LDFLAGS_STATIC" && test -n "$LDFLAGS_SHARED" then - echo "$as_me:28535: checking if linker supports switching between static/dynamic" >&5 + echo "$as_me:28586: checking if linker supports switching between static/dynamic" >&5 echo $ECHO_N "checking if linker supports switching between static/dynamic... $ECHO_C" >&6 rm -f libconftest.a cat >conftest.$ac_ext < int cf_ldflags_static(FILE *fp) { return fflush(fp); } EOF - if { (eval echo "$as_me:28544: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:28595: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:28547: \$? = $ac_status" >&5 + echo "$as_me:28598: \$? = $ac_status" >&5 (exit "$ac_status"); } ; then ( $AR $ARFLAGS libconftest.a conftest.o ) 2>&5 1>/dev/null ( eval $RANLIB libconftest.a ) 2>&5 >/dev/null @@ -28555,10 +28606,10 @@ EOF LIBS="$LDFLAGS_STATIC -L`pwd` -lconftest $LDFLAGS_DYNAMIC $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 28558 "configure" +#line 28609 "configure" #include "confdefs.h" -#line 28561 "configure" +#line 28612 "configure" #include int cf_ldflags_static(FILE *fp); @@ -28573,16 +28624,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:28576: \"$ac_link\"") >&5 +if { (eval echo "$as_me:28627: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:28579: \$? = $ac_status" >&5 + echo "$as_me:28630: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:28582: \"$ac_try\"") >&5 + { (eval echo "$as_me:28633: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:28585: \$? = $ac_status" >&5 + echo "$as_me:28636: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then # some linkers simply ignore the -dynamic @@ -28605,7 +28656,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" rm -f libconftest.* LIBS="$cf_save_LIBS" - echo "$as_me:28608: result: $cf_ldflags_static" >&5 + echo "$as_me:28659: result: $cf_ldflags_static" >&5 echo "${ECHO_T}$cf_ldflags_static" >&6 if test "$cf_ldflags_static" != yes @@ -28621,7 +28672,7 @@ fi ;; esac -echo "$as_me:28624: checking where we will install curses.h" >&5 +echo "$as_me:28675: checking where we will install curses.h" >&5 echo $ECHO_N "checking where we will install curses.h... $ECHO_C" >&6 includesubdir= @@ -28631,7 +28682,7 @@ if test "$with_overwrite" = no && \ then includesubdir="/ncurses${USE_LIB_SUFFIX}" fi -echo "$as_me:28634: result: ${includedir}${includesubdir}" >&5 +echo "$as_me:28685: result: ${includedir}${includesubdir}" >&5 echo "${ECHO_T}${includedir}${includesubdir}" >&6 ### Resolve a conflict between normal and wide-curses by forcing applications @@ -28639,7 +28690,7 @@ echo "${ECHO_T}${includedir}${includesubdir}" >&6 if test "$with_overwrite" != no ; then if test "$NCURSES_LIBUTF8" = 1 ; then NCURSES_LIBUTF8='defined(HAVE_LIBUTF8_H)' - { echo "$as_me:28642: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 + { echo "$as_me:28693: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&5 echo "$as_me: WARNING: Wide-character applications must define HAVE_LIBUTF8_H to include curses.h" >&2;} fi fi @@ -28667,7 +28718,7 @@ EOF # pkgsrc uses these -echo "$as_me:28670: checking for desired basename for form library" >&5 +echo "$as_me:28721: checking for desired basename for form library" >&5 echo $ECHO_N "checking for desired basename for form library... $ECHO_C" >&6 # Check whether --with-form-libname or --without-form-libname was given. @@ -28687,10 +28738,10 @@ case "x$FORM_NAME" in ;; esac -echo "$as_me:28690: result: $FORM_NAME" >&5 +echo "$as_me:28741: result: $FORM_NAME" >&5 echo "${ECHO_T}$FORM_NAME" >&6 -echo "$as_me:28693: checking for desired basename for menu library" >&5 +echo "$as_me:28744: checking for desired basename for menu library" >&5 echo $ECHO_N "checking for desired basename for menu library... $ECHO_C" >&6 # Check whether --with-menu-libname or --without-menu-libname was given. @@ -28710,10 +28761,10 @@ case "x$MENU_NAME" in ;; esac -echo "$as_me:28713: result: $MENU_NAME" >&5 +echo "$as_me:28764: result: $MENU_NAME" >&5 echo "${ECHO_T}$MENU_NAME" >&6 -echo "$as_me:28716: checking for desired basename for panel library" >&5 +echo "$as_me:28767: checking for desired basename for panel library" >&5 echo $ECHO_N "checking for desired basename for panel library... $ECHO_C" >&6 # Check whether --with-panel-libname or --without-panel-libname was given. @@ -28733,10 +28784,10 @@ case "x$PANEL_NAME" in ;; esac -echo "$as_me:28736: result: $PANEL_NAME" >&5 +echo "$as_me:28787: result: $PANEL_NAME" >&5 echo "${ECHO_T}$PANEL_NAME" >&6 -echo "$as_me:28739: checking for desired basename for cxx library" >&5 +echo "$as_me:28790: checking for desired basename for cxx library" >&5 echo $ECHO_N "checking for desired basename for cxx library... $ECHO_C" >&6 # Check whether --with-cxx-libname or --without-cxx-libname was given. @@ -28756,13 +28807,13 @@ case "x$CXX_NAME" in ;; esac -echo "$as_me:28759: result: $CXX_NAME" >&5 +echo "$as_me:28810: result: $CXX_NAME" >&5 echo "${ECHO_T}$CXX_NAME" >&6 ### Construct the list of subdirectories for which we'll customize makefiles ### with the appropriate compile-rules. -echo "$as_me:28765: checking for src modules" >&5 +echo "$as_me:28816: checking for src modules" >&5 echo $ECHO_N "checking for src modules... $ECHO_C" >&6 # dependencies and linker-arguments for test-programs @@ -28831,7 +28882,7 @@ eval TEST_ROOT="\$${cf_map_lib_basename}_NAME" fi fi done -echo "$as_me:28834: result: $cf_cv_src_modules" >&5 +echo "$as_me:28885: result: $cf_cv_src_modules" >&5 echo "${ECHO_T}$cf_cv_src_modules" >&6 TEST_ARGS="-L${LIB_DIR} $TEST_ARGS" @@ -28992,7 +29043,7 @@ case "$cf_cv_system_name" in (*-D_XOPEN_SOURCE_EXTENDED*) test -n "$verbose" && echo " moving _XOPEN_SOURCE_EXTENDED to work around g++ problem" 1>&6 -echo "${as_me:-configure}:28995: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 +echo "${as_me:-configure}:29046: testing moving _XOPEN_SOURCE_EXTENDED to work around g++ problem ..." 1>&5 CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED" CPPFLAGS=`echo "x$CPPFLAGS" | sed -e 's/^.//' -e 's/-D_XOPEN_SOURCE_EXTENDED//'` @@ -29003,7 +29054,7 @@ esac # Help to automatically enable the extended curses features when using either # the *-config or the ".pc" files by adding defines. -echo "$as_me:29006: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 +echo "$as_me:29057: checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script" >&5 echo $ECHO_N "checking for defines to add to ncurses${USE_CFG_SUFFIX}-config script... $ECHO_C" >&6 PKG_CFLAGS= for cf_loop1 in $CPPFLAGS_after_XOPEN @@ -29019,7 +29070,7 @@ do done test "$cf_found" = no && PKG_CFLAGS="$PKG_CFLAGS $cf_loop1" done -echo "$as_me:29022: result: $PKG_CFLAGS" >&5 +echo "$as_me:29073: result: $PKG_CFLAGS" >&5 echo "${ECHO_T}$PKG_CFLAGS" >&6 # AC_CHECK_SIZEOF demands a literal parameter, no variables. So we do this. @@ -29080,7 +29131,7 @@ then cf_filter_syms=$cf_dft_filter_syms test -n "$verbose" && echo " will map symbols to ABI=$cf_cv_abi_default" 1>&6 -echo "${as_me:-configure}:29083: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5 +echo "${as_me:-configure}:29134: testing will map symbols to ABI=$cf_cv_abi_default ..." 1>&5 fi @@ -29107,7 +29158,7 @@ fi # This is used for the *-config script and *.pc data files. -echo "$as_me:29110: checking for linker search path" >&5 +echo "$as_me:29161: checking for linker search path" >&5 echo $ECHO_N "checking for linker search path... $ECHO_C" >&6 if test "${cf_cv_ld_searchpath+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -29155,7 +29206,7 @@ then cf_pathlist="$cf_pathlist /lib /usr/lib" ;; (*) - { echo "$as_me:29158: WARNING: problem with Solaris architecture" >&5 + { echo "$as_me:29209: WARNING: problem with Solaris architecture" >&5 echo "$as_me: WARNING: problem with Solaris architecture" >&2;} ;; esac @@ -29196,7 +29247,7 @@ done test -z "$cf_cv_ld_searchpath" && cf_cv_ld_searchpath=/usr/lib fi -echo "$as_me:29199: result: $cf_cv_ld_searchpath" >&5 +echo "$as_me:29250: result: $cf_cv_ld_searchpath" >&5 echo "${ECHO_T}$cf_cv_ld_searchpath" >&6 LD_SEARCHPATH=`echo "$cf_cv_ld_searchpath"|sed -e 's/ /|/g'` @@ -29286,7 +29337,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:29289: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:29340: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL @@ -29467,7 +29518,7 @@ cat >>"$CONFIG_STATUS" <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:29470: error: ambiguous option: $1 + { { echo "$as_me:29521: 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;} @@ -29486,7 +29537,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:29489: error: unrecognized option: $1 + -*) { { echo "$as_me:29540: 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;} @@ -29616,7 +29667,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:29619: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:29670: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -30130,7 +30181,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:30133: creating $ac_file" >&5 + { echo "$as_me:30184: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -30148,7 +30199,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:30151: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:30202: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; @@ -30161,7 +30212,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:30164: error: cannot find input file: $f" >&5 + { { echo "$as_me:30215: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -30177,7 +30228,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:30180: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:30231: 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;} @@ -30186,7 +30237,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:30189: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:30240: 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;} @@ -30231,7 +30282,7 @@ cat >>"$CONFIG_STATUS" <<\EOF 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:30234: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:30285: 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;} @@ -30242,7 +30293,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:30245: WARNING: Some variables may not be substituted: + { echo "$as_me:30296: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -30291,7 +30342,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:30294: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:30345: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -30302,7 +30353,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:30305: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:30356: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -30315,7 +30366,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:30318: error: cannot find input file: $f" >&5 + { { echo "$as_me:30369: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -30373,7 +30424,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:30376: $ac_file is unchanged" >&5 + { echo "$as_me:30427: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ @@ -30760,7 +30811,7 @@ cf_ITEM=`echo "$cf_item" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQ (cygdll|msysdll|mingw|msvcdll) test "x$with_shared_cxx" = xno && test -n "$verbose" && echo " overriding CXX_MODEL to SHARED" 1>&6 -echo "${as_me:-configure}:30763: testing overriding CXX_MODEL to SHARED ..." 1>&5 +echo "${as_me:-configure}:30814: testing overriding CXX_MODEL to SHARED ..." 1>&5 with_shared_cxx=yes ;; diff --git a/configure.in b/configure.in index 06997aab..c332e045 100644 --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ dnl*************************************************************************** dnl dnl Author: Thomas E. Dickey 1995-on dnl -dnl $Id: configure.in,v 1.756 2023/02/18 22:33:23 tom Exp $ +dnl $Id: configure.in,v 1.757 2023/02/25 19:50:10 tom Exp $ dnl Process this file with autoconf to produce a configure script. dnl dnl For additional information, see @@ -38,7 +38,7 @@ dnl https://invisible-island.net/autoconf/my-autoconf.html dnl dnl --------------------------------------------------------------------------- AC_PREREQ(2.52.20210101) -AC_REVISION($Revision: 1.756 $) +AC_REVISION($Revision: 1.757 $) AC_INIT(ncurses/base/lib_initscr.c) AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin) @@ -1750,7 +1750,6 @@ case "$cf_cv_system_name" in CF_CHECK_LIBSSP ;; (*) - CF_FUNC_GETTIME ;; esac @@ -1824,6 +1823,7 @@ CF_ERRNO CF_LINK_DATAONLY ### Checks for library functions. +CF_FUNC_GETTIME AC_CHECK_FUNCS( \ fpathconf \ getcwd \ diff --git a/dist.mk b/dist.mk index 5e7fae0a..909f7256 100644 --- a/dist.mk +++ b/dist.mk @@ -26,7 +26,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: dist.mk,v 1.1527 2023/02/18 12:14:07 tom Exp $ +# $Id: dist.mk,v 1.1528 2023/02/25 12:58:46 tom Exp $ # Makefile for creating ncurses distributions. # # This only needs to be used directly as a makefile by developers, but @@ -38,7 +38,7 @@ SHELL = /bin/sh # These define the major/minor/patch versions of ncurses. NCURSES_MAJOR = 6 NCURSES_MINOR = 4 -NCURSES_PATCH = 20230218 +NCURSES_PATCH = 20230225 # We don't append the patch to the version, since this only applies to releases VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR) diff --git a/include/nc_mingw.h b/include/nc_mingw.h index 6729b29d..1bfc4b0d 100644 --- a/include/nc_mingw.h +++ b/include/nc_mingw.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 2018-2020,2023 Thomas E. Dickey * * Copyright 2008-2010,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -31,7 +31,7 @@ * Author: Thomas Dickey, 2008-on * ****************************************************************************/ -/* $Id: nc_mingw.h,v 1.9 2020/07/11 22:13:19 tom Exp $ */ +/* $Id: nc_mingw.h,v 1.10 2023/02/25 19:59:24 tom Exp $ */ #ifndef NC_MINGW_H #define NC_MINGW_H 1 @@ -50,9 +50,6 @@ #undef sleep #define sleep(n) Sleep((n) * 1000) -#undef gettimeofday -#define gettimeofday(tv,tz) _nc_gettimeofday(tv,tz) - #if HAVE_SYS_TIME_H #include /* for struct timeval */ #endif @@ -67,10 +64,12 @@ extern "C" { #include +#if !HAVE_CLOCK_GETTIME && !HAVE_GETTIMEOFDAY NCURSES_EXPORT(int) _nc_gettimeofday(struct timeval *, void *); - #undef HAVE_GETTIMEOFDAY -#define HAVE_GETTIMEOFDAY 1 +#define HAVE_GETTIMEOFDAY 2 +#define gettimeofday(tv,tz) _nc_gettimeofday(tv,tz) +#endif #define SIGHUP 1 #define SIGKILL 9 diff --git a/include/nc_win32.h b/include/nc_win32.h index 790e8dfe..e67b8e04 100644 --- a/include/nc_win32.h +++ b/include/nc_win32.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 2018-2020,2023 Thomas E. Dickey * * Copyright 2008-2010,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -31,7 +31,7 @@ * Author: Thomas Dickey, 2008-on * ****************************************************************************/ -/* $Id: nc_win32.h,v 1.9 2020/09/13 00:17:30 tom Exp $ */ +/* $Id: nc_win32.h,v 1.10 2023/02/25 20:09:23 tom Exp $ */ #ifndef NC_WIN32_H #define NC_WIN32_H 1 @@ -79,9 +79,11 @@ extern "C" { #include +#if !HAVE_CLOCK_GETTIME && !HAVE_GETTIMEOFDAY #undef HAVE_GETTIMEOFDAY -#define HAVE_GETTIMEOFDAY 1 +#define HAVE_GETTIMEOFDAY 2 extern NCURSES_EXPORT(int) _nc_gettimeofday(struct timeval *, void *); +#endif #undef wcwidth #define wcwidth(ucs) _nc_wcwidth((wchar_t)(ucs)) diff --git a/include/ncurses_defs b/include/ncurses_defs index 16e73018..1b1c70e2 100644 --- a/include/ncurses_defs +++ b/include/ncurses_defs @@ -1,6 +1,6 @@ -# $Id: ncurses_defs,v 1.102 2022/08/20 16:36:11 tom Exp $ +# $Id: ncurses_defs,v 1.103 2023/02/25 15:51:21 tom Exp $ ############################################################################## -# Copyright 2018-2021,2022 Thomas E. Dickey # +# Copyright 2018-2022,2023 Thomas E. Dickey # # Copyright 2000-2016,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -51,6 +51,7 @@ HAVE_BSD_STRING_H HAVE_BTOWC HAVE_BUILTIN_H HAVE_CHGAT 1 +HAVE_CLOCK_GETTIME HAVE_COLOR_CONTENT 1 HAVE_COLOR_SET 1 HAVE_CONSISTENT_GETENV @@ -122,6 +123,7 @@ HAVE_MVVLINE 1 HAVE_MVWIN 1 HAVE_MVWVLINE 1 HAVE_NANOSLEEP +HAVE_NAPMS 1 HAVE_NC_ALLOC_H HAVE_NEWPAD 1 HAVE_PANEL_H @@ -147,8 +149,8 @@ HAVE_SCR_DUMP 1 HAVE_SELECT HAVE_SETBUF HAVE_SETBUFFER -HAVE_SETFSUID HAVE_SETENV +HAVE_SETFSUID HAVE_SETUPTERM 1 HAVE_SETVBUF HAVE_SGTTY_H @@ -215,9 +217,9 @@ HAVE_WCSTOMBS HAVE_WCTOB HAVE_WCTOMB HAVE_WCTYPE_H -HAVE_WMEMCHR HAVE_WINSDELLN 1 HAVE_WINSSTR 1 +HAVE_WMEMCHR HAVE_WORKING_POLL HAVE_WRESIZE HAVE_WSYNCDOWN 1 diff --git a/ncurses/curses.priv.h b/ncurses/curses.priv.h index 2d536d2d..b0ab21bf 100644 --- a/ncurses/curses.priv.h +++ b/ncurses/curses.priv.h @@ -35,7 +35,7 @@ ****************************************************************************/ /* - * $Id: curses.priv.h,v 1.656 2023/02/12 00:13:11 tom Exp $ + * $Id: curses.priv.h,v 1.660 2023/02/25 21:24:20 tom Exp $ * * curses.priv.h * @@ -732,9 +732,18 @@ extern NCURSES_EXPORT(void) _nc_set_read_thread(bool); #endif -#if HAVE_GETTIMEOFDAY +#if HAVE_CLOCK_GETTIME # define PRECISE_GETTIME 1 +# define GetClockTime(t) clock_gettime(CLOCK_REALTIME, t) +# define TimeType struct timespec +# define TimeScale 1000000000L /* 1e9 */ +# define sub_secs tv_nsec +#elif HAVE_GETTIMEOFDAY +# define PRECISE_GETTIME 1 +# define GetClockTime(t) gettimeofday(t, 0) # define TimeType struct timeval +# define TimeScale 1000000L /* 1e6 */ +# define sub_secs tv_usec #else # define PRECISE_GETTIME 0 # define TimeType time_t diff --git a/ncurses/tinfo/lib_win32util.c b/ncurses/tinfo/lib_win32util.c index 1482916d..b37c19d7 100644 --- a/ncurses/tinfo/lib_win32util.c +++ b/ncurses/tinfo/lib_win32util.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2020,2021 Thomas E. Dickey * + * Copyright 2020-2021,2023 Thomas E. Dickey * * Copyright 1998-2009,2010 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -34,7 +34,7 @@ #include -MODULE_ID("$Id: lib_win32util.c,v 1.2 2021/09/04 10:54:35 tom Exp $") +MODULE_ID("$Id: lib_win32util.c,v 1.3 2023/02/25 20:07:48 tom Exp $") #ifdef _NC_WINDOWS #include @@ -68,10 +68,10 @@ _nc_console_checkmintty(int fd, LPHANDLE pMinTTY) T((T_CALLED("lib_winhelper::_nc_console_checkmintty(%d, %p)"), fd, pMinTTY)); if (handle != INVALID_HANDLE_VALUE) { - dw = GetFileType(handle); + dw = GetFileType(handle); if (dw == FILE_TYPE_PIPE) { if (GetNamedPipeInfo(handle, 0, 0, 0, 0)) { - ULONG pPid; + ULONG pPid; /* Requires NT6 */ if (GetNamedPipeServerProcessId(handle, &pPid)) { TCHAR buf[MAX_PATH]; @@ -79,8 +79,7 @@ _nc_console_checkmintty(int fd, LPHANDLE pMinTTY) /* These security attributes may allow us to create a remote thread in mintty to manipulate the terminal state remotely */ - HANDLE pHandle = OpenProcess( - PROCESS_CREATE_THREAD + HANDLE pHandle = OpenProcess(PROCESS_CREATE_THREAD | PROCESS_QUERY_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_WRITE @@ -88,20 +87,19 @@ _nc_console_checkmintty(int fd, LPHANDLE pMinTTY) FALSE, pPid); if (pMinTTY) - *pMinTTY = INVALID_HANDLE_VALUE; + *pMinTTY = INVALID_HANDLE_VALUE; if (pHandle != INVALID_HANDLE_VALUE) { - if ((len = GetProcessImageFileName( - pHandle, + if ((len = GetProcessImageFileName(pHandle, buf, (DWORD) array_length(buf)))) { TCHAR *pos = _tcsrchr(buf, _T('\\')); if (pos) { - pos++; + pos++; if (_tcsnicmp(pos, _TEXT("mintty.exe"), 10) == 0) { if (pMinTTY) - *pMinTTY = pHandle; + *pMinTTY = pHandle; code = 1; } } @@ -114,7 +112,8 @@ _nc_console_checkmintty(int fd, LPHANDLE pMinTTY) returnCode(code); } #endif /* _NC_CHECK_MINTTY */ - + +#if HAVE_GETTIMEOFDAY == 2 #define JAN1970 116444736000000000LL /* the value for 01/01/1970 00:00 */ NCURSES_EXPORT(int) @@ -130,5 +129,6 @@ _nc_gettimeofday(struct timeval *tv, void *tz GCC_UNUSED) tv->tv_sec = (long) ((data.since1601 - JAN1970) / 10000000LL); return (0); } +#endif // HAVE_GETTIMEOFDAY == 2 #endif // _NC_WINDOWS diff --git a/ncurses/tty/lib_twait.c b/ncurses/tty/lib_twait.c index a7604b3e..c698110a 100644 --- a/ncurses/tty/lib_twait.c +++ b/ncurses/tty/lib_twait.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018,2020 Thomas E. Dickey * + * Copyright 2018-2020,2023 Thomas E. Dickey * * Copyright 1998-2015,2016 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -76,8 +76,11 @@ #endif #undef CUR -MODULE_ID("$Id: lib_twait.c,v 1.75 2020/02/29 15:46:00 anonymous.maarten Exp $") +MODULE_ID("$Id: lib_twait.c,v 1.79 2023/02/25 21:59:30 tom Exp $") +/* + * Returns an elapsed time, in milliseconds (if possible). + */ static long _nc_gettime(TimeType * t0, int first) { @@ -85,18 +88,20 @@ _nc_gettime(TimeType * t0, int first) #if PRECISE_GETTIME TimeType t1; - gettimeofday(&t1, (struct timezone *) 0); - if (first) { + if (GetClockTime(&t1) == -1) { + *t0 = t1; + res = first ? 0 : 1; + } else if (first) { *t0 = t1; res = 0; } else { /* .tv_sec and .tv_usec are unsigned, be careful when subtracting */ - if (t0->tv_usec > t1.tv_usec) { - t1.tv_usec += 1000000; /* Convert 1s in 1e6 microsecs */ + if (t0->sub_secs > t1.sub_secs) { + t1.sub_secs += TimeScale; t1.tv_sec--; } - res = (t1.tv_sec - t0->tv_sec) * 1000 - + (t1.tv_usec - t0->tv_usec) / 1000; + res = (t1.tv_sec - t0->tv_sec) * 1000L + + (t1.sub_secs - t0->sub_secs) / (TimeScale / 1000L); } #else time_t t1 = time((time_t *) 0); diff --git a/ncurses/win32con/gettimeofday.c b/ncurses/win32con/gettimeofday.c index 94be7b56..603a6f46 100644 --- a/ncurses/win32con/gettimeofday.c +++ b/ncurses/win32con/gettimeofday.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2020 Thomas E. Dickey * + * Copyright 2020,2023 Thomas E. Dickey * * Copyright 2008-2010,2014 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -36,8 +36,9 @@ #include -MODULE_ID("$Id: gettimeofday.c,v 1.6 2020/07/11 21:03:53 tom Exp $") +MODULE_ID("$Id: gettimeofday.c,v 1.7 2023/02/25 20:05:36 tom Exp $") +#if HAVE_GETTIMEOFDAY == 2 #define JAN1970 116444736000000000LL /* the value for 01/01/1970 00:00 */ NCURSES_EXPORT(int) @@ -53,3 +54,4 @@ gettimeofday(struct timeval *tv, void *tz GCC_UNUSED) tv->tv_sec = (long) ((data.since1601 - JAN1970) / 10000000LL); return (0); } +#endif // HAVE_GETTIMEOFDAY == 2 diff --git a/package/debian-mingw/changelog b/package/debian-mingw/changelog index dc25cc7f..4c2c0b23 100644 --- a/package/debian-mingw/changelog +++ b/package/debian-mingw/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.4+20230218) unstable; urgency=low +ncurses6 (6.4+20230225) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sat, 18 Feb 2023 07:14:07 -0500 + -- Thomas E. Dickey Sat, 25 Feb 2023 07:58:46 -0500 ncurses6 (5.9+20131005) unstable; urgency=low diff --git a/package/debian-mingw64/changelog b/package/debian-mingw64/changelog index dc25cc7f..4c2c0b23 100644 --- a/package/debian-mingw64/changelog +++ b/package/debian-mingw64/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.4+20230218) unstable; urgency=low +ncurses6 (6.4+20230225) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sat, 18 Feb 2023 07:14:07 -0500 + -- Thomas E. Dickey Sat, 25 Feb 2023 07:58:46 -0500 ncurses6 (5.9+20131005) unstable; urgency=low diff --git a/package/debian/changelog b/package/debian/changelog index 46fdab2d..890537bf 100644 --- a/package/debian/changelog +++ b/package/debian/changelog @@ -1,8 +1,8 @@ -ncurses6 (6.4+20230218) unstable; urgency=low +ncurses6 (6.4+20230225) unstable; urgency=low * latest weekly patch - -- Thomas E. Dickey Sat, 18 Feb 2023 07:14:07 -0500 + -- Thomas E. Dickey Sat, 25 Feb 2023 07:58:46 -0500 ncurses6 (5.9+20120608) unstable; urgency=low diff --git a/package/mingw-ncurses.nsi b/package/mingw-ncurses.nsi index 8ca261b1..f88ca81f 100644 --- a/package/mingw-ncurses.nsi +++ b/package/mingw-ncurses.nsi @@ -1,4 +1,4 @@ -; $Id: mingw-ncurses.nsi,v 1.566 2023/02/18 12:14:07 tom Exp $ +; $Id: mingw-ncurses.nsi,v 1.567 2023/02/25 12:58:46 tom Exp $ ; TODO add examples ; TODO bump ABI to 6 @@ -10,7 +10,7 @@ !define VERSION_MAJOR "6" !define VERSION_MINOR "4" !define VERSION_YYYY "2023" -!define VERSION_MMDD "0218" +!define VERSION_MMDD "0225" !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD} !define MY_ABI "5" diff --git a/package/mingw-ncurses.spec b/package/mingw-ncurses.spec index 013f7eb8..b0f04687 100644 --- a/package/mingw-ncurses.spec +++ b/package/mingw-ncurses.spec @@ -3,11 +3,11 @@ Summary: shared libraries for terminal handling Name: mingw32-ncurses6 Version: 6.4 -Release: 20230218 +Release: 20230225 License: X11 Group: Development/Libraries -Source: ncurses-%{version}-%{release}.tgz -# URL: https://invisible-island.net/ncurses/ +URL: https://invisible-island.net/ncurses/ +Source: https://invisible-island.net/archives/ncurses/ncurses-%{version}-%{release}.tgz BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc @@ -128,9 +128,6 @@ for name in $RPM_BUILD_ROOT%{mingw64_bindir}/*-config; \ done popd -%clean -rm -rf $RPM_BUILD_ROOT - %files -n mingw32-ncurses6 %defattr(-,root,root,-) %{_bindir}/%{mingw32_target}-* @@ -147,6 +144,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Feb 25 2023 Thomas Dickey +- amend URLs per rpmlint + * Sun Jun 30 2019 Thomas E. Dickey - use tic-path and infocmp-path options for fallbacks diff --git a/package/ncurses.spec b/package/ncurses.spec index a3f6d56d..37c152b6 100644 --- a/package/ncurses.spec +++ b/package/ncurses.spec @@ -1,11 +1,11 @@ Summary: shared libraries for terminal handling Name: ncurses6 Version: 6.4 -Release: 20230218 +Release: 20230225 License: X11 Group: Development/Libraries -Source: ncurses-%{version}-%{release}.tgz -# URL: https://invisible-island.net/ncurses/ +URL: https://invisible-island.net/ncurses/ +Source: https://invisible-island.net/archives/ncurses/ncurses-%{version}-%{release}.tgz %global MY_ABI 6 @@ -124,14 +124,6 @@ rm -f test/ncurses %endif %endif -%clean -if rm -rf $RPM_BUILD_ROOT; then - echo OK -else - find $RPM_BUILD_ROOT -type f | grep -F -v /.nfs && exit 1 -fi -exit 0 - %files %defattr(-,root,root,-) %{_bindir}/* @@ -140,6 +132,9 @@ exit 0 %changelog +* Sat Feb 25 2023 Thomas Dickey +- amend URLs per rpmlint + * Sat Oct 16 2021 Thomas Dickey - disable rpath to address QA_RPATHS=1 warning. diff --git a/package/ncursest.spec b/package/ncursest.spec index bc40854a..9f24ffd6 100644 --- a/package/ncursest.spec +++ b/package/ncursest.spec @@ -1,7 +1,7 @@ Summary: Curses library with POSIX thread support. Name: ncursest6 Version: 6.4 -Release: 20230218 +Release: 20230225 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz diff --git a/test/aclocal.m4 b/test/aclocal.m4 index 93285193..538ead13 100644 --- a/test/aclocal.m4 +++ b/test/aclocal.m4 @@ -27,7 +27,7 @@ dnl sale, use or other dealings in this Software without prior written * dnl authorization. * dnl*************************************************************************** dnl -dnl $Id: aclocal.m4,v 1.212 2023/02/18 22:50:36 tom Exp $ +dnl $Id: aclocal.m4,v 1.213 2023/02/25 13:45:56 tom Exp $ dnl dnl Author: Thomas E. Dickey dnl @@ -449,7 +449,7 @@ AC_SUBST(HAVE_STDNORETURN_H) AC_SUBST(STDC_NORETURN) ])dnl dnl --------------------------------------------------------------------------- -dnl CF_CC_ENV_FLAGS version: 10 updated: 2020/12/31 18:40:20 +dnl CF_CC_ENV_FLAGS version: 11 updated: 2023/02/20 11:15:46 dnl --------------- dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content dnl into CC. This will not help with broken scripts that wrap the compiler @@ -490,7 +490,7 @@ case "$CC" in AC_MSG_WARN(your environment uses the CC variable to hold CFLAGS/CPPFLAGS options) # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[[ ]]* / /g' -e 's/[[ ]]*[[ ]]-[[^ ]].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", [substr]([$]0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -1684,15 +1684,31 @@ rm -f core]) test "$cf_cv_func_curses_version" = yes && AC_DEFINE(HAVE_CURSES_VERSION,1,[Define to 1 if we have curses_version function]) ]) dnl --------------------------------------------------------------------------- -dnl CF_FUNC_GETTIME version: 1 updated: 2023/02/18 17:41:25 +dnl CF_FUNC_GETTIME version: 2 updated: 2023/02/25 08:45:56 dnl --------------- +dnl Check for gettimeofday or clock_gettime. In 2023, the former is still more +dnl widely supported, but "deprecated" (2008), so we will use the latter if it +dnl is available, to reduce compiler warnings. AC_DEFUN([CF_FUNC_GETTIME],[ +AC_CACHE_CHECK(for clock_gettime,cf_cv_func_clock_gettime,[ + AC_TRY_LINK([#include ], + [struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts], + [cf_cv_func_clock_gettime=yes], + [cf_cv_func_clock_gettime=no]) +]) + +if test "$cf_cv_func_clock_gettime" = yes +then + AC_DEFINE(HAVE_CLOCK_GETTIME,1,[Define to 1 if we have clock_gettime function]) +else AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]),[ AC_CHECK_LIB(bsd, gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY,1,[Define to 1 if we have gettimeofday function]) CF_ADD_LIB(bsd))])dnl CLIX: bzero, select, gettimeofday +fi ])dnl dnl --------------------------------------------------------------------------- dnl CF_FUNC_OPENPTY version: 6 updated: 2021/01/01 13:31:04 diff --git a/test/color_content.c b/test/color_content.c index c9aaf2fa..d08dffb0 100644 --- a/test/color_content.c +++ b/test/color_content.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2018-2022,2023 Thomas E. Dickey * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: color_content.c,v 1.18 2022/12/10 22:28:50 tom Exp $ + * $Id: color_content.c,v 1.19 2023/02/25 16:48:02 tom Exp $ */ #define NEED_TIME_H @@ -58,10 +58,8 @@ static int x_opt; static MYCOLOR *expected; -#if HAVE_GETTIMEOFDAY -static struct timeval initial_time; -static struct timeval finish_time; -#endif +static TimeType initial_time; +static TimeType finish_time; static void failed(const char *msg) @@ -175,9 +173,7 @@ setup_test(void) } else { failed("This demo requires a color terminal"); } -#if HAVE_GETTIMEOFDAY - gettimeofday(&initial_time, 0); -#endif + GetClockTime(&initial_time); } static void @@ -213,16 +209,6 @@ finish_test(void) endwin(); } -#if HAVE_GETTIMEOFDAY -static double -seconds(struct timeval *mark) -{ - double result = (double) mark->tv_sec; - result += ((double) mark->tv_usec / 1e6); - return result; -} -#endif - static void usage(int ok) { @@ -328,12 +314,8 @@ main(int argc, char *argv[]) addch('\n'); } printw("DONE: "); -#if HAVE_GETTIMEOFDAY - gettimeofday(&finish_time, 0); - printw("%.03f seconds", - seconds(&finish_time) - - seconds(&initial_time)); -#endif + GetClockTime(&finish_time); + printw("%.03f seconds", ElapsedSeconds(&finish_time, &initial_time)); finish_test(); } diff --git a/test/configure b/test/configure index a7a33fb5..aac2dedd 100755 --- a/test/configure +++ b/test/configure @@ -2305,7 +2305,7 @@ echo "${ECHO_T}broken" >&6 echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} # humor him... cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` - cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'` + cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"` CC="$cf_prog" for cf_arg in $cf_flags do @@ -18562,13 +18562,64 @@ EOF fi -echo "$as_me:18565: checking for gettimeofday" >&5 +echo "$as_me:18565: checking for clock_gettime" >&5 +echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6 +if test "${cf_cv_func_clock_gettime+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >"conftest.$ac_ext" <<_ACEOF +#line 18572 "configure" +#include "confdefs.h" +#include +int +main (void) +{ +struct timespec ts; + int rc = clock_gettime(CLOCK_REALTIME, &ts); (void) rc; (void)ts + ; + return 0; +} +_ACEOF +rm -f "conftest.$ac_objext" "conftest$ac_exeext" +if { (eval echo "$as_me:18585: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:18588: \$? = $ac_status" >&5 + (exit "$ac_status"); } && + { ac_try='test -s "conftest$ac_exeext"' + { (eval echo "$as_me:18591: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:18594: \$? = $ac_status" >&5 + (exit "$ac_status"); }; }; then + cf_cv_func_clock_gettime=yes +else + echo "$as_me: failed program was:" >&5 +cat "conftest.$ac_ext" >&5 +cf_cv_func_clock_gettime=no +fi +rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" + +fi +echo "$as_me:18605: result: $cf_cv_func_clock_gettime" >&5 +echo "${ECHO_T}$cf_cv_func_clock_gettime" >&6 + +if test "$cf_cv_func_clock_gettime" = yes +then + +cat >>confdefs.h <<\EOF +#define HAVE_CLOCK_GETTIME 1 +EOF + +else +echo "$as_me:18616: checking for gettimeofday" >&5 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 if test "${ac_cv_func_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 18571 "configure" +#line 18622 "configure" #include "confdefs.h" #define gettimeofday autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18599,16 +18650,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:18602: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18653: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18605: \$? = $ac_status" >&5 + echo "$as_me:18656: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:18608: \"$ac_try\"") >&5 + { (eval echo "$as_me:18659: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18611: \$? = $ac_status" >&5 + echo "$as_me:18662: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_gettimeofday=yes else @@ -18618,7 +18669,7 @@ ac_cv_func_gettimeofday=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:18621: result: $ac_cv_func_gettimeofday" >&5 +echo "$as_me:18672: result: $ac_cv_func_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 if test "$ac_cv_func_gettimeofday" = yes; then @@ -18628,7 +18679,7 @@ EOF else -echo "$as_me:18631: checking for gettimeofday in -lbsd" >&5 +echo "$as_me:18682: checking for gettimeofday in -lbsd" >&5 echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -18636,7 +18687,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 18639 "configure" +#line 18690 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -18655,16 +18706,16 @@ gettimeofday (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:18658: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18709: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18661: \$? = $ac_status" >&5 + echo "$as_me:18712: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:18664: \"$ac_try\"") >&5 + { (eval echo "$as_me:18715: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18667: \$? = $ac_status" >&5 + echo "$as_me:18718: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_bsd_gettimeofday=yes else @@ -18675,7 +18726,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:18678: result: $ac_cv_lib_bsd_gettimeofday" >&5 +echo "$as_me:18729: result: $ac_cv_lib_bsd_gettimeofday" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6 if test "$ac_cv_lib_bsd_gettimeofday" = yes; then @@ -18701,6 +18752,7 @@ LIBS="$cf_add_libs" fi +fi fi for ac_func in \ @@ -18713,13 +18765,13 @@ tsearch \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:18716: checking for $ac_func" >&5 +echo "$as_me:18768: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 18722 "configure" +#line 18774 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18750,16 +18802,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:18753: \"$ac_link\"") >&5 +if { (eval echo "$as_me:18805: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18756: \$? = $ac_status" >&5 + echo "$as_me:18808: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:18759: \"$ac_try\"") >&5 + { (eval echo "$as_me:18811: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18762: \$? = $ac_status" >&5 + echo "$as_me:18814: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -18769,7 +18821,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:18772: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:18824: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:18835: checking if we can use termcap.h" >&5 echo $ECHO_N "checking if we can use termcap.h... $ECHO_C" >&6 if test "${cf_cv_have_termcap_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 18790 "configure" +#line 18842 "configure" #include "confdefs.h" #include @@ -18808,16 +18860,16 @@ return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:18811: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18863: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18814: \$? = $ac_status" >&5 + echo "$as_me:18866: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:18817: \"$ac_try\"") >&5 + { (eval echo "$as_me:18869: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18820: \$? = $ac_status" >&5 + echo "$as_me:18872: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_termcap_h=yes else @@ -18827,7 +18879,7 @@ cf_cv_have_termcap_h=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:18830: result: $cf_cv_have_termcap_h" >&5 +echo "$as_me:18882: result: $cf_cv_have_termcap_h" >&5 echo "${ECHO_T}$cf_cv_have_termcap_h" >&6 if test "x$cf_cv_have_termcap_h" = xyes then @@ -18837,14 +18889,14 @@ cat >>confdefs.h <<\EOF EOF else -echo "$as_me:18840: checking if we can use ncurses/termcap.h" >&5 +echo "$as_me:18892: checking if we can use ncurses/termcap.h" >&5 echo $ECHO_N "checking if we can use ncurses/termcap.h... $ECHO_C" >&6 if test "${cf_cv_have_ncurses_termcap_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 18847 "configure" +#line 18899 "configure" #include "confdefs.h" #include @@ -18865,16 +18917,16 @@ return 0; } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:18868: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:18920: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:18871: \$? = $ac_status" >&5 + echo "$as_me:18923: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:18874: \"$ac_try\"") >&5 + { (eval echo "$as_me:18926: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18877: \$? = $ac_status" >&5 + echo "$as_me:18929: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_have_ncurses_termcap_h=yes else @@ -18884,7 +18936,7 @@ cf_cv_have_ncurses_termcap_h=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:18887: result: $cf_cv_have_ncurses_termcap_h" >&5 +echo "$as_me:18939: result: $cf_cv_have_ncurses_termcap_h" >&5 echo "${ECHO_T}$cf_cv_have_ncurses_termcap_h" >&6 test "x$cf_cv_have_ncurses_termcap_h" = xyes && cat >>confdefs.h <<\EOF @@ -18894,7 +18946,7 @@ EOF fi if test "x$ac_cv_func_getopt" = xno; then - { { echo "$as_me:18897: error: getopt is required for building programs" >&5 + { { echo "$as_me:18949: error: getopt is required for building programs" >&5 echo "$as_me: error: getopt is required for building programs" >&2;} { (exit 1); exit 1; }; } fi @@ -18913,13 +18965,13 @@ wcstombs \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:18916: checking for $ac_func" >&5 +echo "$as_me:18968: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 18922 "configure" +#line 18974 "configure" #include "confdefs.h" #define $ac_func autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -18950,16 +19002,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:18953: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19005: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:18956: \$? = $ac_status" >&5 + echo "$as_me:19008: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:18959: \"$ac_try\"") >&5 + { (eval echo "$as_me:19011: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:18962: \$? = $ac_status" >&5 + echo "$as_me:19014: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then eval "$as_ac_var=yes" else @@ -18969,7 +19021,7 @@ eval "$as_ac_var=no" fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:18972: result: `eval echo '${'"$as_ac_var"'}'`" >&5 +echo "$as_me:19024: result: `eval echo '${'"$as_ac_var"'}'`" >&5 echo "${ECHO_T}`eval echo '${'"$as_ac_var"'}'`" >&6 if test "`eval echo '${'"$as_ac_var"'}'`" = yes; then cat >>confdefs.h <&5 +echo "$as_me:19036: checking definition to turn on extended curses functions" >&5 echo $ECHO_N "checking definition to turn on extended curses functions... $ECHO_C" >&6 if test "${cf_cv_need_xopen_extension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -18989,7 +19041,7 @@ else cf_cv_need_xopen_extension=unknown cat >"conftest.$ac_ext" <<_ACEOF -#line 18992 "configure" +#line 19044 "configure" #include "confdefs.h" $ac_includes_default @@ -19021,16 +19073,16 @@ make an error /* prefer to fall-through on the second checks */ } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19024: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19076: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19027: \$? = $ac_status" >&5 + echo "$as_me:19079: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19030: \"$ac_try\"") >&5 + { (eval echo "$as_me:19082: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19033: \$? = $ac_status" >&5 + echo "$as_me:19085: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_need_xopen_extension=none else @@ -19040,7 +19092,7 @@ cat "conftest.$ac_ext" >&5 for cf_try_xopen_extension in _XOPEN_SOURCE_EXTENDED NCURSES_WIDECHAR do cat >"conftest.$ac_ext" <<_ACEOF -#line 19043 "configure" +#line 19095 "configure" #include "confdefs.h" #define $cf_try_xopen_extension 1 @@ -19065,16 +19117,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19068: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19120: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19071: \$? = $ac_status" >&5 + echo "$as_me:19123: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19074: \"$ac_try\"") >&5 + { (eval echo "$as_me:19126: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19077: \$? = $ac_status" >&5 + echo "$as_me:19129: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_need_xopen_extension=$cf_try_xopen_extension; break else @@ -19088,7 +19140,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19091: result: $cf_cv_need_xopen_extension" >&5 +echo "$as_me:19143: result: $cf_cv_need_xopen_extension" >&5 echo "${ECHO_T}$cf_cv_need_xopen_extension" >&6 case "$cf_cv_need_xopen_extension" in @@ -19100,7 +19152,7 @@ case "$cf_cv_need_xopen_extension" in ;; esac -echo "$as_me:19103: checking for term.h" >&5 +echo "$as_me:19155: checking for term.h" >&5 echo $ECHO_N "checking for term.h... $ECHO_C" >&6 if test "${cf_cv_term_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19121,7 +19173,7 @@ esac for cf_header in $cf_header_list do cat >"conftest.$ac_ext" <<_ACEOF -#line 19124 "configure" +#line 19176 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19135,16 +19187,16 @@ WINDOW *x; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19138: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19190: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19141: \$? = $ac_status" >&5 + echo "$as_me:19193: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19144: \"$ac_try\"") >&5 + { (eval echo "$as_me:19196: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19147: \$? = $ac_status" >&5 + echo "$as_me:19199: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_term_header=$cf_header break @@ -19163,7 +19215,7 @@ case "$cf_cv_term_header" in for cf_header in ncurses/term.h ncursesw/term.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 19166 "configure" +#line 19218 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19181,16 +19233,16 @@ WINDOW *x; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19184: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19236: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19187: \$? = $ac_status" >&5 + echo "$as_me:19239: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19190: \"$ac_try\"") >&5 + { (eval echo "$as_me:19242: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19193: \$? = $ac_status" >&5 + echo "$as_me:19245: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_term_header=$cf_header break @@ -19205,7 +19257,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" esac fi -echo "$as_me:19208: result: $cf_cv_term_header" >&5 +echo "$as_me:19260: result: $cf_cv_term_header" >&5 echo "${ECHO_T}$cf_cv_term_header" >&6 case "$cf_cv_term_header" in @@ -19232,7 +19284,7 @@ EOF ;; esac -echo "$as_me:19235: checking for unctrl.h" >&5 +echo "$as_me:19287: checking for unctrl.h" >&5 echo $ECHO_N "checking for unctrl.h... $ECHO_C" >&6 if test "${cf_cv_unctrl_header+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19253,7 +19305,7 @@ esac for cf_header in $cf_header_list do cat >"conftest.$ac_ext" <<_ACEOF -#line 19256 "configure" +#line 19308 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19267,16 +19319,16 @@ WINDOW *x; (void)x } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19270: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19322: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19273: \$? = $ac_status" >&5 + echo "$as_me:19325: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19276: \"$ac_try\"") >&5 + { (eval echo "$as_me:19328: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19279: \$? = $ac_status" >&5 + echo "$as_me:19331: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_unctrl_header=$cf_header break @@ -19289,12 +19341,12 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" done fi -echo "$as_me:19292: result: $cf_cv_unctrl_header" >&5 +echo "$as_me:19344: result: $cf_cv_unctrl_header" >&5 echo "${ECHO_T}$cf_cv_unctrl_header" >&6 case "$cf_cv_unctrl_header" in (no) - { echo "$as_me:19297: WARNING: unctrl.h header not found" >&5 + { echo "$as_me:19349: WARNING: unctrl.h header not found" >&5 echo "$as_me: WARNING: unctrl.h header not found" >&2;} ;; esac @@ -19388,10 +19440,10 @@ do cf_tr_func=`echo "$cf_func" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%` - echo "$as_me:19391: checking for ${cf_func}" >&5 + echo "$as_me:19443: checking for ${cf_func}" >&5 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 -echo "${as_me:-configure}:19394: testing ${cf_func} ..." 1>&5 +echo "${as_me:-configure}:19446: testing ${cf_func} ..." 1>&5 if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19400,7 +19452,7 @@ else eval cf_result='$ac_cv_func_'$cf_func if test ".$cf_result" != ".no"; then cat >"conftest.$ac_ext" <<_ACEOF -#line 19403 "configure" +#line 19455 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -19433,16 +19485,16 @@ if (foo + 1234L > 5678L) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19436: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19488: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19439: \$? = $ac_status" >&5 + echo "$as_me:19491: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19442: \"$ac_try\"") >&5 + { (eval echo "$as_me:19494: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19445: \$? = $ac_status" >&5 + echo "$as_me:19497: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -19458,7 +19510,7 @@ fi # use the computed/retrieved cache-value: eval 'cf_result=$cf_cv_func_'$cf_func - echo "$as_me:19461: result: $cf_result" >&5 + echo "$as_me:19513: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" != no; then cat >>confdefs.h <&5 + echo "$as_me:19528: checking for ${cf_func}" >&5 echo $ECHO_N "checking for ${cf_func}... $ECHO_C" >&6 -echo "${as_me:-configure}:19479: testing ${cf_func} ..." 1>&5 +echo "${as_me:-configure}:19531: testing ${cf_func} ..." 1>&5 if eval "test \"\${cf_cv_func_$cf_func+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19485,7 +19537,7 @@ else eval cf_result='$ac_cv_func_'$cf_func if test ".$cf_result" != ".no"; then cat >"conftest.$ac_ext" <<_ACEOF -#line 19488 "configure" +#line 19540 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -19518,16 +19570,16 @@ if (foo + 1234L > 5678L) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19521: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19573: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19524: \$? = $ac_status" >&5 + echo "$as_me:19576: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19527: \"$ac_try\"") >&5 + { (eval echo "$as_me:19579: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19530: \$? = $ac_status" >&5 + echo "$as_me:19582: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -19543,7 +19595,7 @@ fi # use the computed/retrieved cache-value: eval 'cf_result=$cf_cv_func_'$cf_func - echo "$as_me:19546: result: $cf_result" >&5 + echo "$as_me:19598: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" != no; then cat >>confdefs.h <"conftest.$ac_ext" <<_ACEOF -#line 19570 "configure" +#line 19622 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19587,21 +19639,21 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19590: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19642: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19593: \$? = $ac_status" >&5 + echo "$as_me:19645: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19596: \"$ac_try\"") >&5 + { (eval echo "$as_me:19648: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19599: \$? = $ac_status" >&5 + echo "$as_me:19651: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then test -n "$verbose" && echo " prototype $cf_ret func($cf_arg value)" 1>&6 -echo "${as_me:-configure}:19604: testing prototype $cf_ret func($cf_arg value) ..." 1>&5 +echo "${as_me:-configure}:19656: testing prototype $cf_ret func($cf_arg value) ..." 1>&5 cat >>confdefs.h <&5 +echo "$as_me:19676: checking for ncurses extended functions" >&5 echo $ECHO_N "checking for ncurses extended functions... $ECHO_C" >&6 if test "${cf_cv_ncurses_ext_funcs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19631 "configure" +#line 19683 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19643,16 +19695,16 @@ int x = NCURSES_EXT_FUNCS } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19646: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19698: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19649: \$? = $ac_status" >&5 + echo "$as_me:19701: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19652: \"$ac_try\"") >&5 + { (eval echo "$as_me:19704: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19655: \$? = $ac_status" >&5 + echo "$as_me:19707: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_ncurses_ext_funcs=defined else @@ -19660,7 +19712,7 @@ else cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 19663 "configure" +#line 19715 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19685,16 +19737,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19688: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19740: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19691: \$? = $ac_status" >&5 + echo "$as_me:19743: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19694: \"$ac_try\"") >&5 + { (eval echo "$as_me:19746: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19697: \$? = $ac_status" >&5 + echo "$as_me:19749: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_ncurses_ext_funcs=yes else @@ -19708,7 +19760,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:19711: result: $cf_cv_ncurses_ext_funcs" >&5 +echo "$as_me:19763: result: $cf_cv_ncurses_ext_funcs" >&5 echo "${ECHO_T}$cf_cv_ncurses_ext_funcs" >&6 test "$cf_cv_ncurses_ext_funcs" = yes && cat >>confdefs.h <<\EOF @@ -19722,11 +19774,11 @@ then if test -n "$cf_cv_ncurses_version" && test "x$cf_cv_ncurses_version" != xno then cf_define_xpg5=no - echo "$as_me:19725: checking if _XPG5 should be defined to enable wide-characters" >&5 + echo "$as_me:19777: checking if _XPG5 should be defined to enable wide-characters" >&5 echo $ECHO_N "checking if _XPG5 should be defined to enable wide-characters... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 19729 "configure" +#line 19781 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19739,16 +19791,16 @@ int x = _XPG5 } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19742: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19794: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19745: \$? = $ac_status" >&5 + echo "$as_me:19797: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19748: \"$ac_try\"") >&5 + { (eval echo "$as_me:19800: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19751: \$? = $ac_status" >&5 + echo "$as_me:19803: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else @@ -19757,7 +19809,7 @@ cat "conftest.$ac_ext" >&5 cf_save_cppflags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -D_XPG5" cat >"conftest.$ac_ext" <<_ACEOF -#line 19760 "configure" +#line 19812 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19770,16 +19822,16 @@ int x = _XPG5 } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19773: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19825: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19776: \$? = $ac_status" >&5 + echo "$as_me:19828: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19779: \"$ac_try\"") >&5 + { (eval echo "$as_me:19831: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19782: \$? = $ac_status" >&5 + echo "$as_me:19834: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_define_xpg5=yes else @@ -19790,7 +19842,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" CPPFLAGS="$cf_save_cppflags" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" - echo "$as_me:19793: result: $cf_define_xpg5" >&5 + echo "$as_me:19845: result: $cf_define_xpg5" >&5 echo "${ECHO_T}$cf_define_xpg5" >&6 if test "$cf_define_xpg5" = yes @@ -19799,14 +19851,14 @@ echo "${ECHO_T}$cf_define_xpg5" >&6 fi fi - echo "$as_me:19802: checking for wide-character functions" >&5 + echo "$as_me:19854: checking for wide-character functions" >&5 echo $ECHO_N "checking for wide-character functions... $ECHO_C" >&6 if test "${cf_cv_widechar_funcs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19809 "configure" +#line 19861 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19823,16 +19875,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19826: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19878: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19829: \$? = $ac_status" >&5 + echo "$as_me:19881: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19832: \"$ac_try\"") >&5 + { (eval echo "$as_me:19884: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19835: \$? = $ac_status" >&5 + echo "$as_me:19887: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_widechar_funcs=yes else @@ -19843,7 +19895,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19846: result: $cf_cv_widechar_funcs" >&5 +echo "$as_me:19898: result: $cf_cv_widechar_funcs" >&5 echo "${ECHO_T}$cf_cv_widechar_funcs" >&6 if test "$cf_cv_widechar_funcs" != no ; then @@ -19864,14 +19916,14 @@ EOF fi -echo "$as_me:19867: checking if $cf_cv_screen library uses pthreads" >&5 +echo "$as_me:19919: checking if $cf_cv_screen library uses pthreads" >&5 echo $ECHO_N "checking if $cf_cv_screen library uses pthreads... $ECHO_C" >&6 if test "${cf_cv_use_pthreads+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19874 "configure" +#line 19926 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -19889,16 +19941,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:19892: \"$ac_link\"") >&5 +if { (eval echo "$as_me:19944: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:19895: \$? = $ac_status" >&5 + echo "$as_me:19947: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:19898: \"$ac_try\"") >&5 + { (eval echo "$as_me:19950: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19901: \$? = $ac_status" >&5 + echo "$as_me:19953: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_use_pthreads=yes else @@ -19909,21 +19961,21 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:19912: result: $cf_cv_use_pthreads" >&5 +echo "$as_me:19964: result: $cf_cv_use_pthreads" >&5 echo "${ECHO_T}$cf_cv_use_pthreads" >&6 test $cf_cv_use_pthreads = yes && cat >>confdefs.h <<\EOF #define USE_PTHREADS 1 EOF -echo "$as_me:19919: checking if sys/time.h works with sys/select.h" >&5 +echo "$as_me:19971: checking if sys/time.h works with sys/select.h" >&5 echo $ECHO_N "checking if sys/time.h works with sys/select.h... $ECHO_C" >&6 if test "${cf_cv_sys_time_select+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 19926 "configure" +#line 19978 "configure" #include "confdefs.h" #include @@ -19943,16 +19995,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:19946: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:19998: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:19949: \$? = $ac_status" >&5 + echo "$as_me:20001: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:19952: \"$ac_try\"") >&5 + { (eval echo "$as_me:20004: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:19955: \$? = $ac_status" >&5 + echo "$as_me:20007: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_sys_time_select=yes else @@ -19964,7 +20016,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:19967: result: $cf_cv_sys_time_select" >&5 +echo "$as_me:20019: result: $cf_cv_sys_time_select" >&5 echo "${ECHO_T}$cf_cv_sys_time_select" >&6 test "$cf_cv_sys_time_select" = yes && cat >>confdefs.h <<\EOF @@ -19973,7 +20025,7 @@ EOF # special check for test/ditto.c -echo "$as_me:19976: checking for openpty in -lutil" >&5 +echo "$as_me:20028: checking for openpty in -lutil" >&5 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 if test "${ac_cv_lib_util_openpty+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -19981,7 +20033,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lutil $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 19984 "configure" +#line 20036 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -20000,16 +20052,16 @@ openpty (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20003: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20055: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20006: \$? = $ac_status" >&5 + echo "$as_me:20058: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20009: \"$ac_try\"") >&5 + { (eval echo "$as_me:20061: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20012: \$? = $ac_status" >&5 + echo "$as_me:20064: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_util_openpty=yes else @@ -20020,7 +20072,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:20023: result: $ac_cv_lib_util_openpty" >&5 +echo "$as_me:20075: result: $ac_cv_lib_util_openpty" >&5 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 if test "$ac_cv_lib_util_openpty" = yes; then cf_cv_lib_util=yes @@ -20028,7 +20080,7 @@ else cf_cv_lib_util=no fi -echo "$as_me:20031: checking for openpty header" >&5 +echo "$as_me:20083: checking for openpty header" >&5 echo $ECHO_N "checking for openpty header... $ECHO_C" >&6 if test "${cf_cv_func_openpty+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20055,7 +20107,7 @@ LIBS="$cf_add_libs" for cf_header in pty.h libutil.h util.h do cat >"conftest.$ac_ext" <<_ACEOF -#line 20058 "configure" +#line 20110 "configure" #include "confdefs.h" #include <$cf_header> @@ -20072,16 +20124,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20075: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20127: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20078: \$? = $ac_status" >&5 + echo "$as_me:20130: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20081: \"$ac_try\"") >&5 + { (eval echo "$as_me:20133: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20084: \$? = $ac_status" >&5 + echo "$as_me:20136: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_openpty=$cf_header @@ -20099,7 +20151,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" fi -echo "$as_me:20102: result: $cf_cv_func_openpty" >&5 +echo "$as_me:20154: result: $cf_cv_func_openpty" >&5 echo "${ECHO_T}$cf_cv_func_openpty" >&6 if test "$cf_cv_func_openpty" != no ; then @@ -20133,7 +20185,7 @@ TEST_LIBS="$cf_add_libs" fi fi -echo "$as_me:20136: checking for function curses_version" >&5 +echo "$as_me:20188: checking for function curses_version" >&5 echo $ECHO_N "checking for function curses_version... $ECHO_C" >&6 if test "${cf_cv_func_curses_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20143,7 +20195,7 @@ if test "$cross_compiling" = yes; then cf_cv_func_curses_version=unknown else cat >"conftest.$ac_ext" <<_ACEOF -#line 20146 "configure" +#line 20198 "configure" #include "confdefs.h" $ac_includes_default @@ -20159,15 +20211,15 @@ int main(void) _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:20162: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20214: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20165: \$? = $ac_status" >&5 + echo "$as_me:20217: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:20167: \"$ac_try\"") >&5 + { (eval echo "$as_me:20219: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20170: \$? = $ac_status" >&5 + echo "$as_me:20222: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_func_curses_version=yes @@ -20182,14 +20234,14 @@ rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftes fi rm -f core fi -echo "$as_me:20185: result: $cf_cv_func_curses_version" >&5 +echo "$as_me:20237: result: $cf_cv_func_curses_version" >&5 echo "${ECHO_T}$cf_cv_func_curses_version" >&6 test "$cf_cv_func_curses_version" = yes && cat >>confdefs.h <<\EOF #define HAVE_CURSES_VERSION 1 EOF -echo "$as_me:20192: checking for alternate character set array" >&5 +echo "$as_me:20244: checking for alternate character set array" >&5 echo $ECHO_N "checking for alternate character set array... $ECHO_C" >&6 if test "${cf_cv_curses_acs_map+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20199,7 +20251,7 @@ cf_cv_curses_acs_map=unknown for name in acs_map _acs_map __acs_map ${NCURSES_WRAP_PREFIX}acs_map do cat >"conftest.$ac_ext" <<_ACEOF -#line 20202 "configure" +#line 20254 "configure" #include "confdefs.h" #include <${cf_cv_ncurses_header:-curses.h}> @@ -20215,16 +20267,16 @@ ${name}['k'] = ACS_PLUS } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20218: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20270: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20221: \$? = $ac_status" >&5 + echo "$as_me:20273: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20224: \"$ac_try\"") >&5 + { (eval echo "$as_me:20276: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20227: \$? = $ac_status" >&5 + echo "$as_me:20279: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_curses_acs_map=$name; break else @@ -20235,7 +20287,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -echo "$as_me:20238: result: $cf_cv_curses_acs_map" >&5 +echo "$as_me:20290: result: $cf_cv_curses_acs_map" >&5 echo "${ECHO_T}$cf_cv_curses_acs_map" >&6 test "$cf_cv_curses_acs_map" != unknown && @@ -20245,7 +20297,7 @@ EOF if test "$cf_enable_widec" = yes; then -echo "$as_me:20248: checking for wide alternate character set array" >&5 +echo "$as_me:20300: checking for wide alternate character set array" >&5 echo $ECHO_N "checking for wide alternate character set array... $ECHO_C" >&6 if test "${cf_cv_curses_wacs_map+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20255,7 +20307,7 @@ else for name in wacs_map _wacs_map __wacs_map _nc_wacs _wacs_char do cat >"conftest.$ac_ext" <<_ACEOF -#line 20258 "configure" +#line 20310 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20271,16 +20323,16 @@ void *foo = &(${name}['k']); (void)foo } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20274: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20326: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20277: \$? = $ac_status" >&5 + echo "$as_me:20329: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20280: \"$ac_try\"") >&5 + { (eval echo "$as_me:20332: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20283: \$? = $ac_status" >&5 + echo "$as_me:20335: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_curses_wacs_map=$name break @@ -20291,7 +20343,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" done fi -echo "$as_me:20294: result: $cf_cv_curses_wacs_map" >&5 +echo "$as_me:20346: result: $cf_cv_curses_wacs_map" >&5 echo "${ECHO_T}$cf_cv_curses_wacs_map" >&6 test "$cf_cv_curses_wacs_map" != unknown && @@ -20299,7 +20351,7 @@ cat >>confdefs.h <&5 +echo "$as_me:20354: checking for wide alternate character constants" >&5 echo $ECHO_N "checking for wide alternate character constants... $ECHO_C" >&6 if test "${cf_cv_curses_wacs_symbols+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -20309,7 +20361,7 @@ cf_cv_curses_wacs_symbols=no if test "$cf_cv_curses_wacs_map" != unknown then cat >"conftest.$ac_ext" <<_ACEOF -#line 20312 "configure" +#line 20364 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20326,16 +20378,16 @@ cchar_t *foo = WACS_PLUS; } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20329: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20381: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20332: \$? = $ac_status" >&5 + echo "$as_me:20384: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20335: \"$ac_try\"") >&5 + { (eval echo "$as_me:20387: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20338: \$? = $ac_status" >&5 + echo "$as_me:20390: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_curses_wacs_symbols=yes else @@ -20345,7 +20397,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" else cat >"conftest.$ac_ext" <<_ACEOF -#line 20348 "configure" +#line 20400 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20361,16 +20413,16 @@ cchar_t *foo = WACS_PLUS; (void)foo } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:20364: \"$ac_link\"") >&5 +if { (eval echo "$as_me:20416: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:20367: \$? = $ac_status" >&5 + echo "$as_me:20419: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:20370: \"$ac_try\"") >&5 + { (eval echo "$as_me:20422: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20373: \$? = $ac_status" >&5 + echo "$as_me:20425: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_curses_wacs_symbols=yes else @@ -20381,7 +20433,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi fi -echo "$as_me:20384: result: $cf_cv_curses_wacs_symbols" >&5 +echo "$as_me:20436: result: $cf_cv_curses_wacs_symbols" >&5 echo "${ECHO_T}$cf_cv_curses_wacs_symbols" >&6 test "$cf_cv_curses_wacs_symbols" != no && @@ -20391,10 +20443,10 @@ EOF fi -echo "$as_me:20394: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5 +echo "$as_me:20446: checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}" >&5 echo $ECHO_N "checking for type attr_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 20397 "configure" +#line 20449 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20412,16 +20464,16 @@ attr_t foo } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20415: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20467: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20418: \$? = $ac_status" >&5 + echo "$as_me:20470: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20421: \"$ac_try\"") >&5 + { (eval echo "$as_me:20473: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20424: \$? = $ac_status" >&5 + echo "$as_me:20476: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -20430,7 +20482,7 @@ cat "conftest.$ac_ext" >&5 cf_result=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:20433: result: $cf_result" >&5 +echo "$as_me:20485: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -20451,14 +20503,14 @@ fi if test "$cf_enable_widec" = yes; then # This is needed on Tru64 5.0 to declare mbstate_t -echo "$as_me:20454: checking if we must include wchar.h to declare mbstate_t" >&5 +echo "$as_me:20506: checking if we must include wchar.h to declare mbstate_t" >&5 echo $ECHO_N "checking if we must include wchar.h to declare mbstate_t... $ECHO_C" >&6 if test "${cf_cv_mbstate_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20461 "configure" +#line 20513 "configure" #include "confdefs.h" #include @@ -20476,23 +20528,23 @@ mbstate_t state } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20479: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20531: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20482: \$? = $ac_status" >&5 + echo "$as_me:20534: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20485: \"$ac_try\"") >&5 + { (eval echo "$as_me:20537: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20488: \$? = $ac_status" >&5 + echo "$as_me:20540: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_mbstate_t=no else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 20495 "configure" +#line 20547 "configure" #include "confdefs.h" #include @@ -20511,16 +20563,16 @@ mbstate_t value } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20514: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20566: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20517: \$? = $ac_status" >&5 + echo "$as_me:20569: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20520: \"$ac_try\"") >&5 + { (eval echo "$as_me:20572: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20523: \$? = $ac_status" >&5 + echo "$as_me:20575: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_mbstate_t=yes else @@ -20532,7 +20584,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20535: result: $cf_cv_mbstate_t" >&5 +echo "$as_me:20587: result: $cf_cv_mbstate_t" >&5 echo "${ECHO_T}$cf_cv_mbstate_t" >&6 if test "$cf_cv_mbstate_t" = yes ; then @@ -20555,14 +20607,14 @@ if test "$cf_cv_mbstate_t" != unknown ; then fi # This is needed on Tru64 5.0 to declare wchar_t -echo "$as_me:20558: checking if we must include wchar.h to declare wchar_t" >&5 +echo "$as_me:20610: checking if we must include wchar.h to declare wchar_t" >&5 echo $ECHO_N "checking if we must include wchar.h to declare wchar_t... $ECHO_C" >&6 if test "${cf_cv_wchar_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20565 "configure" +#line 20617 "configure" #include "confdefs.h" #include @@ -20580,23 +20632,23 @@ wchar_t state } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20583: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20635: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20586: \$? = $ac_status" >&5 + echo "$as_me:20638: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20589: \"$ac_try\"") >&5 + { (eval echo "$as_me:20641: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20592: \$? = $ac_status" >&5 + echo "$as_me:20644: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_wchar_t=no else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 20599 "configure" +#line 20651 "configure" #include "confdefs.h" #include @@ -20615,16 +20667,16 @@ wchar_t value } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20618: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20670: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20621: \$? = $ac_status" >&5 + echo "$as_me:20673: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20624: \"$ac_try\"") >&5 + { (eval echo "$as_me:20676: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20627: \$? = $ac_status" >&5 + echo "$as_me:20679: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_wchar_t=yes else @@ -20636,7 +20688,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20639: result: $cf_cv_wchar_t" >&5 +echo "$as_me:20691: result: $cf_cv_wchar_t" >&5 echo "${ECHO_T}$cf_cv_wchar_t" >&6 if test "$cf_cv_wchar_t" = yes ; then @@ -20659,14 +20711,14 @@ if test "$cf_cv_wchar_t" != unknown ; then fi # This is needed on Tru64 5.0 to declare wint_t -echo "$as_me:20662: checking if we must include wchar.h to declare wint_t" >&5 +echo "$as_me:20714: checking if we must include wchar.h to declare wint_t" >&5 echo $ECHO_N "checking if we must include wchar.h to declare wint_t... $ECHO_C" >&6 if test "${cf_cv_wint_t+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 20669 "configure" +#line 20721 "configure" #include "confdefs.h" #include @@ -20684,23 +20736,23 @@ wint_t state } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20687: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20739: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20690: \$? = $ac_status" >&5 + echo "$as_me:20742: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20693: \"$ac_try\"") >&5 + { (eval echo "$as_me:20745: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20696: \$? = $ac_status" >&5 + echo "$as_me:20748: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_wint_t=no else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 cat >"conftest.$ac_ext" <<_ACEOF -#line 20703 "configure" +#line 20755 "configure" #include "confdefs.h" #include @@ -20719,16 +20771,16 @@ wint_t value } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20722: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20774: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20725: \$? = $ac_status" >&5 + echo "$as_me:20777: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20728: \"$ac_try\"") >&5 + { (eval echo "$as_me:20780: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20731: \$? = $ac_status" >&5 + echo "$as_me:20783: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_wint_t=yes else @@ -20740,7 +20792,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:20743: result: $cf_cv_wint_t" >&5 +echo "$as_me:20795: result: $cf_cv_wint_t" >&5 echo "${ECHO_T}$cf_cv_wint_t" >&6 if test "$cf_cv_wint_t" = yes ; then @@ -20764,10 +20816,10 @@ fi if test "$NCURSES_OK_MBSTATE_T" = 0 ; then -echo "$as_me:20767: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5 +echo "$as_me:20819: checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}" >&5 echo $ECHO_N "checking for type mbstate_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 20770 "configure" +#line 20822 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20785,16 +20837,16 @@ mbstate_t foo } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20788: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20840: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20791: \$? = $ac_status" >&5 + echo "$as_me:20843: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20794: \"$ac_try\"") >&5 + { (eval echo "$as_me:20846: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20797: \$? = $ac_status" >&5 + echo "$as_me:20849: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -20803,7 +20855,7 @@ cat "conftest.$ac_ext" >&5 cf_result=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:20806: result: $cf_result" >&5 +echo "$as_me:20858: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -20825,10 +20877,10 @@ fi if test "$NCURSES_OK_WCHAR_T" = 0 ; then -echo "$as_me:20828: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5 +echo "$as_me:20880: checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}" >&5 echo $ECHO_N "checking for type wchar_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 20831 "configure" +#line 20883 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20846,16 +20898,16 @@ wchar_t foo } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20849: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20901: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20852: \$? = $ac_status" >&5 + echo "$as_me:20904: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20855: \"$ac_try\"") >&5 + { (eval echo "$as_me:20907: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20858: \$? = $ac_status" >&5 + echo "$as_me:20910: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -20864,7 +20916,7 @@ cat "conftest.$ac_ext" >&5 cf_result=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:20867: result: $cf_result" >&5 +echo "$as_me:20919: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -20886,10 +20938,10 @@ fi if test "$NCURSES_OK_WINT_T" = 0 ; then -echo "$as_me:20889: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5 +echo "$as_me:20941: checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}" >&5 echo $ECHO_N "checking for type wint_t in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 20892 "configure" +#line 20944 "configure" #include "confdefs.h" #ifndef _XOPEN_SOURCE_EXTENDED @@ -20907,16 +20959,16 @@ wint_t foo } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20910: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:20962: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20913: \$? = $ac_status" >&5 + echo "$as_me:20965: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:20916: \"$ac_try\"") >&5 + { (eval echo "$as_me:20968: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:20919: \$? = $ac_status" >&5 + echo "$as_me:20971: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -20925,7 +20977,7 @@ cat "conftest.$ac_ext" >&5 cf_result=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:20928: result: $cf_result" >&5 +echo "$as_me:20980: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -20954,11 +21006,11 @@ boolnames \ boolfnames \ ttytype do -echo "$as_me:20957: checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 +echo "$as_me:21009: checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}" >&5 echo $ECHO_N "checking for data $cf_data declaration in ${cf_cv_ncurses_header:-curses.h}... $ECHO_C" >&6 cat >"conftest.$ac_ext" <<_ACEOF -#line 20961 "configure" +#line 21013 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -20991,16 +21043,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:20994: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:21046: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:20997: \$? = $ac_status" >&5 + echo "$as_me:21049: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:21000: \"$ac_try\"") >&5 + { (eval echo "$as_me:21052: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21003: \$? = $ac_status" >&5 + echo "$as_me:21055: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes @@ -21010,7 +21062,7 @@ cat "conftest.$ac_ext" >&5 cf_result=no fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" -echo "$as_me:21013: result: $cf_result" >&5 +echo "$as_me:21065: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -21022,14 +21074,14 @@ cf_result=`echo "have_curses_data_$cf_data" | sed y%abcdefghijklmnopqrstuvwxyz./ EOF else - echo "$as_me:21025: checking for data $cf_data in library" >&5 + echo "$as_me:21077: checking for data $cf_data in library" >&5 echo $ECHO_N "checking for data $cf_data in library... $ECHO_C" >&6 # BSD linkers insist on making weak linkage, but resolve at runtime. if test "$cross_compiling" = yes; then # cross-compiling cat >"conftest.$ac_ext" <<_ACEOF -#line 21032 "configure" +#line 21084 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -21068,16 +21120,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21071: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21123: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21074: \$? = $ac_status" >&5 + echo "$as_me:21126: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21077: \"$ac_try\"") >&5 + { (eval echo "$as_me:21129: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21080: \$? = $ac_status" >&5 + echo "$as_me:21132: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes else @@ -21089,7 +21141,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" else cat >"conftest.$ac_ext" <<_ACEOF -#line 21092 "configure" +#line 21144 "configure" #include "confdefs.h" #ifdef HAVE_XCURSES @@ -21121,15 +21173,15 @@ int main(void) } _ACEOF rm -f "conftest$ac_exeext" -if { (eval echo "$as_me:21124: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21176: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21127: \$? = $ac_status" >&5 + echo "$as_me:21179: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='"./conftest$ac_exeext"' - { (eval echo "$as_me:21129: \"$ac_try\"") >&5 + { (eval echo "$as_me:21181: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21132: \$? = $ac_status" >&5 + echo "$as_me:21184: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_result=yes @@ -21141,7 +21193,7 @@ cf_result=no fi rm -f core ./core.* ./*.core "conftest$ac_exeext" "conftest.$ac_objext" "conftest.$ac_ext" fi - echo "$as_me:21144: result: $cf_result" >&5 + echo "$as_me:21196: result: $cf_result" >&5 echo "${ECHO_T}$cf_result" >&6 if test "$cf_result" = yes ; then @@ -21158,7 +21210,7 @@ done if test -n "$with_screen" && test "x$with_screen" = "xpdcurses" then - echo "$as_me:21161: checking for X" >&5 + echo "$as_me:21213: checking for X" >&5 echo $ECHO_N "checking for X... $ECHO_C" >&6 # Check whether --with-x or --without-x was given. @@ -21262,17 +21314,17 @@ if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. cat >"conftest.$ac_ext" <<_ACEOF -#line 21265 "configure" +#line 21317 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:21269: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:21321: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:21275: \$? = $ac_status" >&5 + echo "$as_me:21327: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -21305,7 +21357,7 @@ if test "$ac_x_libraries" = no; then ac_save_LIBS=$LIBS LIBS="-lXt $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21308 "configure" +#line 21360 "configure" #include "confdefs.h" #include int @@ -21317,16 +21369,16 @@ XtMalloc (0) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21320: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21372: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21323: \$? = $ac_status" >&5 + echo "$as_me:21375: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21326: \"$ac_try\"") >&5 + { (eval echo "$as_me:21378: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21329: \$? = $ac_status" >&5 + echo "$as_me:21381: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then LIBS=$ac_save_LIBS # We can link X programs with no special library path. @@ -21364,7 +21416,7 @@ fi fi # $with_x != no if test "$have_x" != yes; then - echo "$as_me:21367: result: $have_x" >&5 + echo "$as_me:21419: result: $have_x" >&5 echo "${ECHO_T}$have_x" >&6 no_x=yes else @@ -21374,7 +21426,7 @@ else # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes \ ac_x_includes=$x_includes ac_x_libraries=$x_libraries" - echo "$as_me:21377: result: libraries $x_libraries, headers $x_includes" >&5 + echo "$as_me:21429: result: libraries $x_libraries, headers $x_includes" >&5 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 fi @@ -21401,11 +21453,11 @@ else # others require no space. Words are not sufficient . . . . case `(uname -sr) 2>/dev/null` in "SunOS 5"*) - echo "$as_me:21404: checking whether -R must be followed by a space" >&5 + echo "$as_me:21456: checking whether -R must be followed by a space" >&5 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" cat >"conftest.$ac_ext" <<_ACEOF -#line 21408 "configure" +#line 21460 "configure" #include "confdefs.h" int @@ -21417,16 +21469,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21420: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21472: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21423: \$? = $ac_status" >&5 + echo "$as_me:21475: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21426: \"$ac_try\"") >&5 + { (eval echo "$as_me:21478: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21429: \$? = $ac_status" >&5 + echo "$as_me:21481: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_R_nospace=yes else @@ -21436,13 +21488,13 @@ ac_R_nospace=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test $ac_R_nospace = yes; then - echo "$as_me:21439: result: no" >&5 + echo "$as_me:21491: result: no" >&5 echo "${ECHO_T}no" >&6 X_LIBS="$X_LIBS -R$x_libraries" else LIBS="$ac_xsave_LIBS -R $x_libraries" cat >"conftest.$ac_ext" <<_ACEOF -#line 21445 "configure" +#line 21497 "configure" #include "confdefs.h" int @@ -21454,16 +21506,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21457: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21509: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21460: \$? = $ac_status" >&5 + echo "$as_me:21512: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21463: \"$ac_try\"") >&5 + { (eval echo "$as_me:21515: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21466: \$? = $ac_status" >&5 + echo "$as_me:21518: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_R_space=yes else @@ -21473,11 +21525,11 @@ ac_R_space=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" if test $ac_R_space = yes; then - echo "$as_me:21476: result: yes" >&5 + echo "$as_me:21528: result: yes" >&5 echo "${ECHO_T}yes" >&6 X_LIBS="$X_LIBS -R $x_libraries" else - echo "$as_me:21480: result: neither works" >&5 + echo "$as_me:21532: result: neither works" >&5 echo "${ECHO_T}neither works" >&6 fi fi @@ -21497,7 +21549,7 @@ echo "${ECHO_T}neither works" >&6 # the Alpha needs dnet_stub (dnet does not exist). ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" cat >"conftest.$ac_ext" <<_ACEOF -#line 21500 "configure" +#line 21552 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21516,22 +21568,22 @@ XOpenDisplay (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21519: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21571: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21522: \$? = $ac_status" >&5 + echo "$as_me:21574: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21525: \"$ac_try\"") >&5 + { (eval echo "$as_me:21577: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21528: \$? = $ac_status" >&5 + echo "$as_me:21580: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then : else echo "$as_me: failed program was:" >&5 cat "conftest.$ac_ext" >&5 -echo "$as_me:21534: checking for dnet_ntoa in -ldnet" >&5 +echo "$as_me:21586: checking for dnet_ntoa in -ldnet" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21539,7 +21591,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21542 "configure" +#line 21594 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21558,16 +21610,16 @@ dnet_ntoa (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21561: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21613: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21564: \$? = $ac_status" >&5 + echo "$as_me:21616: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21567: \"$ac_try\"") >&5 + { (eval echo "$as_me:21619: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21570: \$? = $ac_status" >&5 + echo "$as_me:21622: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dnet_dnet_ntoa=yes else @@ -21578,14 +21630,14 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21581: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +echo "$as_me:21633: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 if test "$ac_cv_lib_dnet_dnet_ntoa" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - echo "$as_me:21588: checking for dnet_ntoa in -ldnet_stub" >&5 + echo "$as_me:21640: checking for dnet_ntoa in -ldnet_stub" >&5 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21593,7 +21645,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21596 "configure" +#line 21648 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21612,16 +21664,16 @@ dnet_ntoa (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21615: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21667: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21618: \$? = $ac_status" >&5 + echo "$as_me:21670: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21621: \"$ac_try\"") >&5 + { (eval echo "$as_me:21673: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21624: \$? = $ac_status" >&5 + echo "$as_me:21676: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dnet_stub_dnet_ntoa=yes else @@ -21632,7 +21684,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21635: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +echo "$as_me:21687: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 if test "$ac_cv_lib_dnet_stub_dnet_ntoa" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" @@ -21651,13 +21703,13 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" # on Irix 5.2, according to T.E. Dickey. # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. - echo "$as_me:21654: checking for gethostbyname" >&5 + echo "$as_me:21706: checking for gethostbyname" >&5 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 if test "${ac_cv_func_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21660 "configure" +#line 21712 "configure" #include "confdefs.h" #define gethostbyname autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -21688,16 +21740,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21691: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21743: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21694: \$? = $ac_status" >&5 + echo "$as_me:21746: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21697: \"$ac_try\"") >&5 + { (eval echo "$as_me:21749: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21700: \$? = $ac_status" >&5 + echo "$as_me:21752: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_gethostbyname=yes else @@ -21707,11 +21759,11 @@ ac_cv_func_gethostbyname=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21710: result: $ac_cv_func_gethostbyname" >&5 +echo "$as_me:21762: result: $ac_cv_func_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 if test $ac_cv_func_gethostbyname = no; then - echo "$as_me:21714: checking for gethostbyname in -lnsl" >&5 + echo "$as_me:21766: checking for gethostbyname in -lnsl" >&5 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21719,7 +21771,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21722 "configure" +#line 21774 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21738,16 +21790,16 @@ gethostbyname (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21741: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21793: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21744: \$? = $ac_status" >&5 + echo "$as_me:21796: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21747: \"$ac_try\"") >&5 + { (eval echo "$as_me:21799: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21750: \$? = $ac_status" >&5 + echo "$as_me:21802: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_nsl_gethostbyname=yes else @@ -21758,14 +21810,14 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21761: result: $ac_cv_lib_nsl_gethostbyname" >&5 +echo "$as_me:21813: result: $ac_cv_lib_nsl_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 if test "$ac_cv_lib_nsl_gethostbyname" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - echo "$as_me:21768: checking for gethostbyname in -lbsd" >&5 + echo "$as_me:21820: checking for gethostbyname in -lbsd" >&5 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21773,7 +21825,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21776 "configure" +#line 21828 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21792,16 +21844,16 @@ gethostbyname (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21795: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21847: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21798: \$? = $ac_status" >&5 + echo "$as_me:21850: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21801: \"$ac_try\"") >&5 + { (eval echo "$as_me:21853: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21804: \$? = $ac_status" >&5 + echo "$as_me:21856: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_bsd_gethostbyname=yes else @@ -21812,7 +21864,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21815: result: $ac_cv_lib_bsd_gethostbyname" >&5 +echo "$as_me:21867: result: $ac_cv_lib_bsd_gethostbyname" >&5 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 if test "$ac_cv_lib_bsd_gethostbyname" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" @@ -21828,13 +21880,13 @@ fi # variants that don't use the nameserver (or something). -lsocket # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. - echo "$as_me:21831: checking for connect" >&5 + echo "$as_me:21883: checking for connect" >&5 echo $ECHO_N "checking for connect... $ECHO_C" >&6 if test "${ac_cv_func_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21837 "configure" +#line 21889 "configure" #include "confdefs.h" #define connect autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -21865,16 +21917,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21868: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21920: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21871: \$? = $ac_status" >&5 + echo "$as_me:21923: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21874: \"$ac_try\"") >&5 + { (eval echo "$as_me:21926: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21877: \$? = $ac_status" >&5 + echo "$as_me:21929: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_connect=yes else @@ -21884,11 +21936,11 @@ ac_cv_func_connect=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:21887: result: $ac_cv_func_connect" >&5 +echo "$as_me:21939: result: $ac_cv_func_connect" >&5 echo "${ECHO_T}$ac_cv_func_connect" >&6 if test $ac_cv_func_connect = no; then - echo "$as_me:21891: checking for connect in -lsocket" >&5 + echo "$as_me:21943: checking for connect in -lsocket" >&5 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 if test "${ac_cv_lib_socket_connect+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21896,7 +21948,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $X_EXTRA_LIBS $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 21899 "configure" +#line 21951 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -21915,16 +21967,16 @@ connect (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21918: \"$ac_link\"") >&5 +if { (eval echo "$as_me:21970: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21921: \$? = $ac_status" >&5 + echo "$as_me:21973: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21924: \"$ac_try\"") >&5 + { (eval echo "$as_me:21976: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21927: \$? = $ac_status" >&5 + echo "$as_me:21979: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_socket_connect=yes else @@ -21935,7 +21987,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:21938: result: $ac_cv_lib_socket_connect" >&5 +echo "$as_me:21990: result: $ac_cv_lib_socket_connect" >&5 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 if test "$ac_cv_lib_socket_connect" = yes; then X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" @@ -21944,13 +21996,13 @@ fi fi # Guillermo Gomez says -lposix is necessary on A/UX. - echo "$as_me:21947: checking for remove" >&5 + echo "$as_me:21999: checking for remove" >&5 echo $ECHO_N "checking for remove... $ECHO_C" >&6 if test "${ac_cv_func_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 21953 "configure" +#line 22005 "configure" #include "confdefs.h" #define remove autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -21981,16 +22033,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:21984: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22036: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:21987: \$? = $ac_status" >&5 + echo "$as_me:22039: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:21990: \"$ac_try\"") >&5 + { (eval echo "$as_me:22042: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:21993: \$? = $ac_status" >&5 + echo "$as_me:22045: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_remove=yes else @@ -22000,11 +22052,11 @@ ac_cv_func_remove=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22003: result: $ac_cv_func_remove" >&5 +echo "$as_me:22055: result: $ac_cv_func_remove" >&5 echo "${ECHO_T}$ac_cv_func_remove" >&6 if test $ac_cv_func_remove = no; then - echo "$as_me:22007: checking for remove in -lposix" >&5 + echo "$as_me:22059: checking for remove in -lposix" >&5 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 if test "${ac_cv_lib_posix_remove+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22012,7 +22064,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lposix $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 22015 "configure" +#line 22067 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -22031,16 +22083,16 @@ remove (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22034: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22086: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22037: \$? = $ac_status" >&5 + echo "$as_me:22089: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22040: \"$ac_try\"") >&5 + { (eval echo "$as_me:22092: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22043: \$? = $ac_status" >&5 + echo "$as_me:22095: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_posix_remove=yes else @@ -22051,7 +22103,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:22054: result: $ac_cv_lib_posix_remove" >&5 +echo "$as_me:22106: result: $ac_cv_lib_posix_remove" >&5 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 if test "$ac_cv_lib_posix_remove" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" @@ -22060,13 +22112,13 @@ fi fi # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. - echo "$as_me:22063: checking for shmat" >&5 + echo "$as_me:22115: checking for shmat" >&5 echo $ECHO_N "checking for shmat... $ECHO_C" >&6 if test "${ac_cv_func_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22069 "configure" +#line 22121 "configure" #include "confdefs.h" #define shmat autoconf_temporary #include /* least-intrusive standard header which defines gcc2 __stub macros */ @@ -22097,16 +22149,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22100: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22152: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22103: \$? = $ac_status" >&5 + echo "$as_me:22155: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22106: \"$ac_try\"") >&5 + { (eval echo "$as_me:22158: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22109: \$? = $ac_status" >&5 + echo "$as_me:22161: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_func_shmat=yes else @@ -22116,11 +22168,11 @@ ac_cv_func_shmat=no fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" fi -echo "$as_me:22119: result: $ac_cv_func_shmat" >&5 +echo "$as_me:22171: result: $ac_cv_func_shmat" >&5 echo "${ECHO_T}$ac_cv_func_shmat" >&6 if test $ac_cv_func_shmat = no; then - echo "$as_me:22123: checking for shmat in -lipc" >&5 + echo "$as_me:22175: checking for shmat in -lipc" >&5 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 if test "${ac_cv_lib_ipc_shmat+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22128,7 +22180,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lipc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 22131 "configure" +#line 22183 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -22147,16 +22199,16 @@ shmat (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22150: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22202: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22153: \$? = $ac_status" >&5 + echo "$as_me:22205: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22156: \"$ac_try\"") >&5 + { (eval echo "$as_me:22208: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22159: \$? = $ac_status" >&5 + echo "$as_me:22211: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_ipc_shmat=yes else @@ -22167,7 +22219,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:22170: result: $ac_cv_lib_ipc_shmat" >&5 +echo "$as_me:22222: result: $ac_cv_lib_ipc_shmat" >&5 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 if test "$ac_cv_lib_ipc_shmat" = yes; then X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" @@ -22185,7 +22237,7 @@ fi # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry - echo "$as_me:22188: checking for IceConnectionNumber in -lICE" >&5 + echo "$as_me:22240: checking for IceConnectionNumber in -lICE" >&5 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22193,7 +22245,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 22196 "configure" +#line 22248 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -22212,16 +22264,16 @@ IceConnectionNumber (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22215: \"$ac_link\"") >&5 +if { (eval echo "$as_me:22267: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22218: \$? = $ac_status" >&5 + echo "$as_me:22270: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22221: \"$ac_try\"") >&5 + { (eval echo "$as_me:22273: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22224: \$? = $ac_status" >&5 + echo "$as_me:22276: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_ICE_IceConnectionNumber=yes else @@ -22232,7 +22284,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:22235: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +echo "$as_me:22287: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 if test "$ac_cv_lib_ICE_IceConnectionNumber" = yes; then X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" @@ -22279,16 +22331,16 @@ then then test -n "$verbose" && echo " repairing CFLAGS: $CFLAGS" 1>&6 -echo "${as_me:-configure}:22282: testing repairing CFLAGS: $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:22334: testing repairing CFLAGS: $CFLAGS ..." 1>&5 CFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CFLAGS" 1>&6 -echo "${as_me:-configure}:22287: testing ... fixed $CFLAGS ..." 1>&5 +echo "${as_me:-configure}:22339: testing ... fixed $CFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:22291: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:22343: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; @@ -22327,16 +22379,16 @@ then then test -n "$verbose" && echo " repairing CPPFLAGS: $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:22330: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:22382: testing repairing CPPFLAGS: $CPPFLAGS ..." 1>&5 CPPFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $CPPFLAGS" 1>&6 -echo "${as_me:-configure}:22335: testing ... fixed $CPPFLAGS ..." 1>&5 +echo "${as_me:-configure}:22387: testing ... fixed $CPPFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:22339: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:22391: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; @@ -22375,23 +22427,23 @@ then then test -n "$verbose" && echo " repairing LDFLAGS: $LDFLAGS" 1>&6 -echo "${as_me:-configure}:22378: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:22430: testing repairing LDFLAGS: $LDFLAGS ..." 1>&5 LDFLAGS="$cf_temp_flags" test -n "$verbose" && echo " ... fixed $LDFLAGS" 1>&6 -echo "${as_me:-configure}:22383: testing ... fixed $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:22435: testing ... fixed $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ... extra $EXTRA_CFLAGS" 1>&6 -echo "${as_me:-configure}:22387: testing ... extra $EXTRA_CFLAGS ..." 1>&5 +echo "${as_me:-configure}:22439: testing ... extra $EXTRA_CFLAGS ..." 1>&5 fi ;; esac fi -echo "$as_me:22394: checking if you want to turn on gcc warnings" >&5 +echo "$as_me:22446: checking if you want to turn on gcc warnings" >&5 echo $ECHO_N "checking if you want to turn on gcc warnings... $ECHO_C" >&6 # Check whether --enable-warnings or --disable-warnings was given. @@ -22408,7 +22460,7 @@ else enable_warnings=no fi; -echo "$as_me:22411: result: $enable_warnings" >&5 +echo "$as_me:22463: result: $enable_warnings" >&5 echo "${ECHO_T}$enable_warnings" >&6 if test "$enable_warnings" = "yes" then @@ -22431,10 +22483,10 @@ cat > conftest.i <&5 + { echo "$as_me:22486: checking for $CC __attribute__ directives..." >&5 echo "$as_me: checking for $CC __attribute__ directives..." >&6;} cat > "conftest.$ac_ext" < #include "confdefs.h" #include "conftest.h" @@ -22484,12 +22536,12 @@ EOF ;; esac - if { (eval echo "$as_me:22487: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:22539: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22490: \$? = $ac_status" >&5 + echo "$as_me:22542: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:22492: result: ... $cf_attribute" >&5 + test -n "$verbose" && echo "$as_me:22544: result: ... $cf_attribute" >&5 echo "${ECHO_T}... $cf_attribute" >&6 cat conftest.h >>confdefs.h case "$cf_attribute" in @@ -22567,7 +22619,7 @@ do done cat >"conftest.$ac_ext" <<_ACEOF -#line 22570 "configure" +#line 22622 "configure" #include "confdefs.h" #include @@ -22582,26 +22634,26 @@ String foo = malloc(1); free((void*)foo) } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22585: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22637: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22588: \$? = $ac_status" >&5 + echo "$as_me:22640: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22591: \"$ac_try\"") >&5 + { (eval echo "$as_me:22643: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22594: \$? = $ac_status" >&5 + echo "$as_me:22646: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then -echo "$as_me:22597: checking for X11/Xt const-feature" >&5 +echo "$as_me:22649: checking for X11/Xt const-feature" >&5 echo $ECHO_N "checking for X11/Xt const-feature... $ECHO_C" >&6 if test "${cf_cv_const_x_string+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22604 "configure" +#line 22656 "configure" #include "confdefs.h" #define _CONST_X_STRING /* X11R7.8 (perhaps) */ @@ -22618,16 +22670,16 @@ String foo = malloc(1); *foo = 0 } _ACEOF rm -f "conftest.$ac_objext" -if { (eval echo "$as_me:22621: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:22673: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22624: \$? = $ac_status" >&5 + echo "$as_me:22676: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest.$ac_objext"' - { (eval echo "$as_me:22627: \"$ac_try\"") >&5 + { (eval echo "$as_me:22679: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22630: \$? = $ac_status" >&5 + echo "$as_me:22682: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_cv_const_x_string=no @@ -22642,7 +22694,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi -echo "$as_me:22645: result: $cf_cv_const_x_string" >&5 +echo "$as_me:22697: result: $cf_cv_const_x_string" >&5 echo "${ECHO_T}$cf_cv_const_x_string" >&6 LIBS="$cf_save_LIBS_CF_CONST_X_STRING" @@ -22671,7 +22723,7 @@ fi rm -f "conftest.$ac_objext" "conftest.$ac_ext" fi cat > "conftest.$ac_ext" <&5 + { echo "$as_me:22742: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" EXTRA_CFLAGS="$EXTRA_CFLAGS -Wall" @@ -22703,12 +22755,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} wd981 do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:22706: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:22758: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22709: \$? = $ac_status" >&5 + echo "$as_me:22761: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:22711: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:22763: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt" fi @@ -22716,7 +22768,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 CFLAGS="$cf_save_CFLAGS" elif test "$GCC" = yes && test "$GCC_VERSION" != "unknown" then - { echo "$as_me:22719: checking for $CC warning options..." >&5 + { echo "$as_me:22771: checking for $CC warning options..." >&5 echo "$as_me: checking for $CC warning options..." >&6;} cf_save_CFLAGS="$CFLAGS" cf_warn_CONST="" @@ -22739,12 +22791,12 @@ echo "$as_me: checking for $CC warning options..." >&6;} Wundef Wno-inline $cf_gcc_warnings $cf_warn_CONST Wno-unknown-pragmas do CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt" - if { (eval echo "$as_me:22742: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:22794: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:22745: \$? = $ac_status" >&5 + echo "$as_me:22797: \$? = $ac_status" >&5 (exit "$ac_status"); }; then - test -n "$verbose" && echo "$as_me:22747: result: ... -$cf_opt" >&5 + test -n "$verbose" && echo "$as_me:22799: result: ... -$cf_opt" >&5 echo "${ECHO_T}... -$cf_opt" >&6 case "$cf_opt" in (Winline) @@ -22752,7 +22804,7 @@ echo "${ECHO_T}... -$cf_opt" >&6 ([34].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:22755: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:22807: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -22762,7 +22814,7 @@ echo "${as_me:-configure}:22755: testing feature is broken in gcc $GCC_VERSION . ([12].*) test -n "$verbose" && echo " feature is broken in gcc $GCC_VERSION" 1>&6 -echo "${as_me:-configure}:22765: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 +echo "${as_me:-configure}:22817: testing feature is broken in gcc $GCC_VERSION ..." 1>&5 continue;; esac @@ -22779,7 +22831,7 @@ fi fi -echo "$as_me:22782: checking if you want to use dmalloc for testing" >&5 +echo "$as_me:22834: checking if you want to use dmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dmalloc for testing... $ECHO_C" >&6 # Check whether --with-dmalloc or --without-dmalloc was given. @@ -22801,7 +22853,7 @@ EOF else with_dmalloc= fi; -echo "$as_me:22804: result: ${with_dmalloc:-no}" >&5 +echo "$as_me:22856: result: ${with_dmalloc:-no}" >&5 echo "${ECHO_T}${with_dmalloc:-no}" >&6 case ".$with_cflags" in @@ -22915,23 +22967,23 @@ fi esac if test "$with_dmalloc" = yes ; then - echo "$as_me:22918: checking for dmalloc.h" >&5 + echo "$as_me:22970: checking for dmalloc.h" >&5 echo $ECHO_N "checking for dmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 22924 "configure" +#line 22976 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:22928: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:22980: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:22934: \$? = $ac_status" >&5 + echo "$as_me:22986: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -22950,11 +23002,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:22953: result: $ac_cv_header_dmalloc_h" >&5 +echo "$as_me:23005: result: $ac_cv_header_dmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dmalloc_h" >&6 if test "$ac_cv_header_dmalloc_h" = yes; then -echo "$as_me:22957: checking for dmalloc_debug in -ldmalloc" >&5 +echo "$as_me:23009: checking for dmalloc_debug in -ldmalloc" >&5 echo $ECHO_N "checking for dmalloc_debug in -ldmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dmalloc_dmalloc_debug+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -22962,7 +23014,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 22965 "configure" +#line 23017 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -22981,16 +23033,16 @@ dmalloc_debug (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:22984: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23036: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:22987: \$? = $ac_status" >&5 + echo "$as_me:23039: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:22990: \"$ac_try\"") >&5 + { (eval echo "$as_me:23042: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:22993: \$? = $ac_status" >&5 + echo "$as_me:23045: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dmalloc_dmalloc_debug=yes else @@ -23001,7 +23053,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:23004: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 +echo "$as_me:23056: result: $ac_cv_lib_dmalloc_dmalloc_debug" >&5 echo "${ECHO_T}$ac_cv_lib_dmalloc_dmalloc_debug" >&6 if test "$ac_cv_lib_dmalloc_dmalloc_debug" = yes; then cat >>confdefs.h <&5 +echo "$as_me:23071: checking if you want to use dbmalloc for testing" >&5 echo $ECHO_N "checking if you want to use dbmalloc for testing... $ECHO_C" >&6 # Check whether --with-dbmalloc or --without-dbmalloc was given. @@ -23038,7 +23090,7 @@ EOF else with_dbmalloc= fi; -echo "$as_me:23041: result: ${with_dbmalloc:-no}" >&5 +echo "$as_me:23093: result: ${with_dbmalloc:-no}" >&5 echo "${ECHO_T}${with_dbmalloc:-no}" >&6 case ".$with_cflags" in @@ -23152,23 +23204,23 @@ fi esac if test "$with_dbmalloc" = yes ; then - echo "$as_me:23155: checking for dbmalloc.h" >&5 + echo "$as_me:23207: checking for dbmalloc.h" >&5 echo $ECHO_N "checking for dbmalloc.h... $ECHO_C" >&6 if test "${ac_cv_header_dbmalloc_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >"conftest.$ac_ext" <<_ACEOF -#line 23161 "configure" +#line 23213 "configure" #include "confdefs.h" #include _ACEOF -if { (eval echo "$as_me:23165: \"$ac_cpp "conftest.$ac_ext"\"") >&5 +if { (eval echo "$as_me:23217: \"$ac_cpp "conftest.$ac_ext"\"") >&5 (eval $ac_cpp "conftest.$ac_ext") 2>conftest.er1 ac_status=$? $EGREP -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 - echo "$as_me:23171: \$? = $ac_status" >&5 + echo "$as_me:23223: \$? = $ac_status" >&5 (exit "$ac_status"); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag @@ -23187,11 +23239,11 @@ else fi rm -f conftest.err "conftest.$ac_ext" fi -echo "$as_me:23190: result: $ac_cv_header_dbmalloc_h" >&5 +echo "$as_me:23242: result: $ac_cv_header_dbmalloc_h" >&5 echo "${ECHO_T}$ac_cv_header_dbmalloc_h" >&6 if test "$ac_cv_header_dbmalloc_h" = yes; then -echo "$as_me:23194: checking for debug_malloc in -ldbmalloc" >&5 +echo "$as_me:23246: checking for debug_malloc in -ldbmalloc" >&5 echo $ECHO_N "checking for debug_malloc in -ldbmalloc... $ECHO_C" >&6 if test "${ac_cv_lib_dbmalloc_debug_malloc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23199,7 +23251,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-ldbmalloc $LIBS" cat >"conftest.$ac_ext" <<_ACEOF -#line 23202 "configure" +#line 23254 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -23218,16 +23270,16 @@ debug_malloc (); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23221: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23273: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23224: \$? = $ac_status" >&5 + echo "$as_me:23276: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23227: \"$ac_try\"") >&5 + { (eval echo "$as_me:23279: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23230: \$? = $ac_status" >&5 + echo "$as_me:23282: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then ac_cv_lib_dbmalloc_debug_malloc=yes else @@ -23238,7 +23290,7 @@ fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:23241: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 +echo "$as_me:23293: result: $ac_cv_lib_dbmalloc_debug_malloc" >&5 echo "${ECHO_T}$ac_cv_lib_dbmalloc_debug_malloc" >&6 if test "$ac_cv_lib_dbmalloc_debug_malloc" = yes; then cat >>confdefs.h <&5 +echo "$as_me:23308: checking if you want to use valgrind for testing" >&5 echo $ECHO_N "checking if you want to use valgrind for testing... $ECHO_C" >&6 # Check whether --with-valgrind or --without-valgrind was given. @@ -23275,7 +23327,7 @@ EOF else with_valgrind= fi; -echo "$as_me:23278: result: ${with_valgrind:-no}" >&5 +echo "$as_me:23330: result: ${with_valgrind:-no}" >&5 echo "${ECHO_T}${with_valgrind:-no}" >&6 case ".$with_cflags" in @@ -23388,7 +23440,7 @@ fi ;; esac -echo "$as_me:23391: checking if you want to perform memory-leak testing" >&5 +echo "$as_me:23443: checking if you want to perform memory-leak testing" >&5 echo $ECHO_N "checking if you want to perform memory-leak testing... $ECHO_C" >&6 # Check whether --enable-leaks or --disable-leaks was given. @@ -23399,7 +23451,7 @@ else enable_leaks=yes fi; if test "x$enable_leaks" = xno; then with_no_leaks=yes; else with_no_leaks=no; fi -echo "$as_me:23402: result: $with_no_leaks" >&5 +echo "$as_me:23454: result: $with_no_leaks" >&5 echo "${ECHO_T}$with_no_leaks" >&6 if test "$enable_leaks" = no ; then @@ -23417,7 +23469,7 @@ fi LD_RPATH_OPT= if test "x$cf_cv_enable_rpath" != xno then - echo "$as_me:23420: checking for an rpath option" >&5 + echo "$as_me:23472: checking for an rpath option" >&5 echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 case "$cf_cv_system_name" in (irix*) @@ -23448,12 +23500,12 @@ echo $ECHO_N "checking for an rpath option... $ECHO_C" >&6 (*) ;; esac - echo "$as_me:23451: result: $LD_RPATH_OPT" >&5 + echo "$as_me:23503: result: $LD_RPATH_OPT" >&5 echo "${ECHO_T}$LD_RPATH_OPT" >&6 case "x$LD_RPATH_OPT" in (x-R*) - echo "$as_me:23456: checking if we need a space after rpath option" >&5 + echo "$as_me:23508: checking if we need a space after rpath option" >&5 echo $ECHO_N "checking if we need a space after rpath option... $ECHO_C" >&6 cf_save_LIBS="$LIBS" @@ -23474,7 +23526,7 @@ done LIBS="$cf_add_libs" cat >"conftest.$ac_ext" <<_ACEOF -#line 23477 "configure" +#line 23529 "configure" #include "confdefs.h" int @@ -23486,16 +23538,16 @@ main (void) } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23489: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23541: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23492: \$? = $ac_status" >&5 + echo "$as_me:23544: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23495: \"$ac_try\"") >&5 + { (eval echo "$as_me:23547: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23498: \$? = $ac_status" >&5 + echo "$as_me:23550: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_rpath_space=no else @@ -23505,14 +23557,14 @@ cf_rpath_space=yes fi rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" LIBS="$cf_save_LIBS" - echo "$as_me:23508: result: $cf_rpath_space" >&5 + echo "$as_me:23560: result: $cf_rpath_space" >&5 echo "${ECHO_T}$cf_rpath_space" >&6 test "$cf_rpath_space" = yes && LD_RPATH_OPT="$LD_RPATH_OPT " ;; esac fi -echo "$as_me:23515: checking if rpath-hack should be disabled" >&5 +echo "$as_me:23567: checking if rpath-hack should be disabled" >&5 echo $ECHO_N "checking if rpath-hack should be disabled... $ECHO_C" >&6 # Check whether --enable-rpath-hack or --disable-rpath-hack was given. @@ -23530,22 +23582,22 @@ else fi; if test "x$enable_rpath_hack" = xno; then cf_disable_rpath_hack=yes; else cf_disable_rpath_hack=no; fi -echo "$as_me:23533: result: $cf_disable_rpath_hack" >&5 +echo "$as_me:23585: result: $cf_disable_rpath_hack" >&5 echo "${ECHO_T}$cf_disable_rpath_hack" >&6 if test "$enable_rpath_hack" = yes ; then -echo "$as_me:23538: checking for updated LDFLAGS" >&5 +echo "$as_me:23590: checking for updated LDFLAGS" >&5 echo $ECHO_N "checking for updated LDFLAGS... $ECHO_C" >&6 if test -n "$LD_RPATH_OPT" ; then - echo "$as_me:23541: result: maybe" >&5 + echo "$as_me:23593: result: maybe" >&5 echo "${ECHO_T}maybe" >&6 for ac_prog in ldd do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo "$as_me:23548: checking for $ac_word" >&5 +echo "$as_me:23600: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_cf_ldd_prog+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -23560,7 +23612,7 @@ for ac_dir in $ac_dummy; do test -z "$ac_dir" && ac_dir=. $as_executable_p "$ac_dir/$ac_word" || continue ac_cv_prog_cf_ldd_prog="$ac_prog" -echo "$as_me:23563: found $ac_dir/$ac_word" >&5 +echo "$as_me:23615: found $ac_dir/$ac_word" >&5 break done @@ -23568,10 +23620,10 @@ fi fi cf_ldd_prog=$ac_cv_prog_cf_ldd_prog if test -n "$cf_ldd_prog"; then - echo "$as_me:23571: result: $cf_ldd_prog" >&5 + echo "$as_me:23623: result: $cf_ldd_prog" >&5 echo "${ECHO_T}$cf_ldd_prog" >&6 else - echo "$as_me:23574: result: no" >&5 + echo "$as_me:23626: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23585,7 +23637,7 @@ test -n "$cf_ldd_prog" || cf_ldd_prog="no" cf_rpath_oops= cat >"conftest.$ac_ext" <<_ACEOF -#line 23588 "configure" +#line 23640 "configure" #include "confdefs.h" #include int @@ -23597,16 +23649,16 @@ printf("Hello"); } _ACEOF rm -f "conftest.$ac_objext" "conftest$ac_exeext" -if { (eval echo "$as_me:23600: \"$ac_link\"") >&5 +if { (eval echo "$as_me:23652: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:23603: \$? = $ac_status" >&5 + echo "$as_me:23655: \$? = $ac_status" >&5 (exit "$ac_status"); } && { ac_try='test -s "conftest$ac_exeext"' - { (eval echo "$as_me:23606: \"$ac_try\"") >&5 + { (eval echo "$as_me:23658: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:23609: \$? = $ac_status" >&5 + echo "$as_me:23661: \$? = $ac_status" >&5 (exit "$ac_status"); }; }; then cf_rpath_oops=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} ' not found' | sed -e 's% =>.*$%%' |sort | uniq` cf_rpath_list=`"$cf_ldd_prog" "conftest$ac_exeext" | ${FGREP-fgrep} / | sed -e 's%^.*[ ]/%/%' -e 's%/[^/][^/]*$%%' |sort | uniq` @@ -23634,7 +23686,7 @@ rm -f "conftest.$ac_objext" "conftest$ac_exeext" "conftest.$ac_ext" then test -n "$verbose" && echo " ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src" 1>&6 -echo "${as_me:-configure}:23637: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 +echo "${as_me:-configure}:23689: testing ...adding -L$cf_rpath_dir/lib to LDFLAGS for $cf_rpath_src ..." 1>&5 LDFLAGS="$LDFLAGS -L$cf_rpath_dir/lib" break @@ -23646,11 +23698,11 @@ echo "${as_me:-configure}:23637: testing ...adding -L$cf_rpath_dir/lib to LDFLAG test -n "$verbose" && echo " ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me:-configure}:23649: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:23701: testing ...checking EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me:-configure}:23653: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:23705: testing ...checking LDFLAGS $LDFLAGS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LDFLAGS @@ -23687,7 +23739,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me:-configure}:23690: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me:-configure}:23742: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -23700,11 +23752,11 @@ LDFLAGS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LDFLAGS $LDFLAGS" 1>&6 -echo "${as_me:-configure}:23703: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:23755: testing ...checked LDFLAGS $LDFLAGS ..." 1>&5 test -n "$verbose" && echo " ...checking LIBS $LIBS" 1>&6 -echo "${as_me:-configure}:23707: testing ...checking LIBS $LIBS ..." 1>&5 +echo "${as_me:-configure}:23759: testing ...checking LIBS $LIBS ..." 1>&5 cf_rpath_dst= for cf_rpath_src in $LIBS @@ -23741,7 +23793,7 @@ do then test -n "$verbose" && echo " ...Filter $cf_rpath_src ->$cf_rpath_tmp" 1>&6 -echo "${as_me:-configure}:23744: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 +echo "${as_me:-configure}:23796: testing ...Filter $cf_rpath_src ->$cf_rpath_tmp ..." 1>&5 EXTRA_LDFLAGS="$cf_rpath_tmp $EXTRA_LDFLAGS" fi @@ -23754,14 +23806,14 @@ LIBS=$cf_rpath_dst test -n "$verbose" && echo " ...checked LIBS $LIBS" 1>&6 -echo "${as_me:-configure}:23757: testing ...checked LIBS $LIBS ..." 1>&5 +echo "${as_me:-configure}:23809: testing ...checked LIBS $LIBS ..." 1>&5 test -n "$verbose" && echo " ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS" 1>&6 -echo "${as_me:-configure}:23761: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 +echo "${as_me:-configure}:23813: testing ...checked EXTRA_LDFLAGS $EXTRA_LDFLAGS ..." 1>&5 else - echo "$as_me:23764: result: no" >&5 + echo "$as_me:23816: result: no" >&5 echo "${ECHO_T}no" >&6 fi @@ -23851,7 +23903,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:23854: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:23906: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >"$CONFIG_STATUS" <<_ACEOF #! $SHELL @@ -24032,7 +24084,7 @@ cat >>"$CONFIG_STATUS" <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:24035: error: ambiguous option: $1 + { { echo "$as_me:24087: 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;} @@ -24051,7 +24103,7 @@ Try \`$0 --help' for more information." >&2;} ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:24054: error: unrecognized option: $1 + -*) { { echo "$as_me:24106: 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;} @@ -24101,7 +24153,7 @@ do "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; "ncurses_cfg.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ncurses_cfg.h:ncurses_tst.hin" ;; - *) { { echo "$as_me:24104: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:24156: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -24409,7 +24461,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:24412: creating $ac_file" >&5 + { echo "$as_me:24464: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -24427,7 +24479,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:24430: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:24482: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; @@ -24440,7 +24492,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:24443: error: cannot find input file: $f" >&5 + { { echo "$as_me:24495: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -24456,7 +24508,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:24459: WARNING: datarootdir was used implicitly but not set: + { echo "$as_me:24511: 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;} @@ -24465,7 +24517,7 @@ $ac_seen" >&2;} fi ac_seen=`grep '${datarootdir}' "$ac_item"` if test -n "$ac_seen"; then - { echo "$as_me:24468: WARNING: datarootdir was used explicitly but not set: + { echo "$as_me:24520: 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;} @@ -24510,7 +24562,7 @@ cat >>"$CONFIG_STATUS" <<\EOF 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:24513: WARNING: Variable $ac_name is used but was not set: + { echo "$as_me:24565: 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;} @@ -24521,7 +24573,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:24524: WARNING: Some variables may not be substituted: + { echo "$as_me:24576: WARNING: Some variables may not be substituted: $ac_seen" >&5 echo "$as_me: WARNING: Some variables may not be substituted: $ac_seen" >&2;} @@ -24570,7 +24622,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:24573: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:24625: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -24581,7 +24633,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:24584: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:24636: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -24594,7 +24646,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} echo "$srcdir/$f" else # /dev/null tree - { { echo "$as_me:24597: error: cannot find input file: $f" >&5 + { { echo "$as_me:24649: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -24652,7 +24704,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:24655: $ac_file is unchanged" >&5 + { echo "$as_me:24707: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ diff --git a/test/demo_altkeys.c b/test/demo_altkeys.c index ed36b4c1..ea6a7e64 100644 --- a/test/demo_altkeys.c +++ b/test/demo_altkeys.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2018-2022,2023 Thomas E. Dickey * * Copyright 2005-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -27,7 +27,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: demo_altkeys.c,v 1.16 2022/12/10 23:31:31 tom Exp $ + * $Id: demo_altkeys.c,v 1.17 2023/02/25 18:08:02 tom Exp $ * * Demonstrate the define_key() function. * Thomas Dickey - 2005/10/22 @@ -96,9 +96,7 @@ main(int argc, char *argv[]) { int n; int ch; -#if HAVE_GETTIMEOFDAY - struct timeval previous; -#endif + TimeType previous; while ((ch = getopt(argc, argv, OPTS_COMMON)) != -1) { switch (ch) { @@ -147,31 +145,16 @@ main(int argc, char *argv[]) } } -#if HAVE_GETTIMEOFDAY - gettimeofday(&previous, 0); -#endif + GetClockTime(&previous); while ((ch = getch()) != ERR) { bool escaped = (ch >= MY_KEYS); const char *name = keyname(escaped ? (ch - MY_KEYS) : ch); -#if HAVE_GETTIMEOFDAY - int secs, msecs; - struct timeval current; - - gettimeofday(¤t, 0); - secs = (int) (current.tv_sec - previous.tv_sec); - msecs = (int) ((current.tv_usec - previous.tv_usec) / 1000); - if (msecs < 0) { - msecs += 1000; - --secs; - } - if (msecs >= 1000) { - secs += msecs / 1000; - msecs %= 1000; - } - printw("%6d.%03d ", secs, msecs); + TimeType current; + + GetClockTime(¤t); + printw("%6.03f ", ElapsedSeconds(&previous, ¤t)); previous = current; -#endif printw("Keycode %d, name %s%s\n", ch, escaped ? "ESC-" : "", diff --git a/test/dots_termcap.c b/test/dots_termcap.c index 679c9928..65786c41 100644 --- a/test/dots_termcap.c +++ b/test/dots_termcap.c @@ -30,7 +30,7 @@ /* * Author: Thomas E. Dickey * - * $Id: dots_termcap.c,v 1.31 2023/01/07 17:21:48 tom Exp $ + * $Id: dots_termcap.c,v 1.32 2023/02/25 18:11:21 tom Exp $ * * A simple demo of the termcap interface. */ @@ -150,11 +150,19 @@ ranf(void) return ((double) r / 32768.); } +/* + * napms is a curses function which happens to be usable without initializing + * the screen, but if this program happened to be build with a "real" termcap + * library, there is nothing like napms. + */ +#if HAVE_NAPMS +#define my_napms(ms) napms(ms) +#else static void my_napms(int ms) { if (ms > 0) { -#if defined(_NC_WINDOWS) || !HAVE_GETTIMEOFDAY +#if defined(_NC_WINDOWS) Sleep((unsigned int) ms); #else struct timeval data; @@ -164,6 +172,7 @@ my_napms(int ms) #endif } } +#endif static int get_number(NCURSES_CONST char *cap, const char *env) diff --git a/test/foldkeys.c b/test/foldkeys.c index 99471716..bb3801e2 100644 --- a/test/foldkeys.c +++ b/test/foldkeys.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2021,2022 Thomas E. Dickey * + * Copyright 2018-2022,2023 Thomas E. Dickey * * Copyright 2006-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -30,7 +30,7 @@ /* * Author: Thomas E. Dickey, 2006 * - * $Id: foldkeys.c,v 1.11 2022/12/10 23:31:31 tom Exp $ + * $Id: foldkeys.c,v 1.12 2023/02/25 16:51:01 tom Exp $ * * Demonstrate a method for altering key definitions at runtime. * @@ -217,9 +217,7 @@ int main(int argc, char *argv[]) { int ch; -#if HAVE_GETTIMEOFDAY - struct timeval previous; -#endif + TimeType previous; while ((ch = getopt(argc, argv, OPTS_COMMON)) != -1) { switch (ch) { @@ -250,32 +248,17 @@ main(int argc, char *argv[]) demo_foldkeys(); -#if HAVE_GETTIMEOFDAY - gettimeofday(&previous, 0); -#endif + GetClockTime(&previous); while ((ch = getch()) != ERR) { bool escaped = (ch >= MY_KEYS); const char *name = keyname(escaped ? (ch - MY_KEYS) : ch); + TimeType current; -#if HAVE_GETTIMEOFDAY - int secs, msecs; - struct timeval current; - - gettimeofday(¤t, 0); - secs = (int) (current.tv_sec - previous.tv_sec); - msecs = (int) ((current.tv_usec - previous.tv_usec) / 1000); - if (msecs < 0) { - msecs += 1000; - --secs; - } - if (msecs >= 1000) { - secs += msecs / 1000; - msecs %= 1000; - } - printw("%6d.%03d ", secs, msecs); + GetClockTime(¤t); + printw("%6.03f ", ElapsedSeconds(&previous, ¤t)); previous = current; -#endif + printw("Keycode %d, name %s%s\n", ch, escaped ? "ESC-" : "", diff --git a/test/ncurses.c b/test/ncurses.c index afa631ad..fed8b9be 100644 --- a/test/ncurses.c +++ b/test/ncurses.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2021,2022 Thomas E. Dickey * + * Copyright 2018-2022,2023 Thomas E. Dickey * * Copyright 1998-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * @@ -41,24 +41,24 @@ AUTHOR Author: Eric S. Raymond 1993 Thomas E. Dickey (beginning revision 1.27 in 1996). -$Id: ncurses.c,v 1.532 2022/12/04 00:40:11 tom Exp $ +$Id: ncurses.c,v 1.534 2023/02/25 19:30:27 tom Exp $ ***************************************************************************/ +#define NEED_TIME_H 1 #include #ifdef __hpux #undef mvwdelch /* HPUX 11.23 macro will not compile */ #endif -#if HAVE_GETTIMEOFDAY #if HAVE_SYS_TIME_H && HAVE_SYS_TIME_SELECT #include #endif + #if HAVE_SYS_SELECT_H #include #endif -#endif #if USE_LIBPANEL #include @@ -5600,10 +5600,8 @@ panner(WINDOW *pad, int (*pgetc) (WINDOW *), bool colored) { -#if HAVE_GETTIMEOFDAY - struct timeval before, after; + TimeType before, after; bool timing = TRUE; -#endif bool pan_lines = FALSE; bool scrollers = TRUE; int basex = 0; @@ -5649,13 +5647,11 @@ panner(WINDOW *pad, pending_pan = FALSE; break; -#if HAVE_GETTIMEOFDAY case 't': timing = !timing; if (!timing) panner_legend(LINES - 1); break; -#endif case 's': scrollers = !scrollers; break; @@ -5828,9 +5824,7 @@ panner(WINDOW *pad, MvAddCh(porty - 1, portx - 1, ACS_LRCORNER); if (!pending_pan) { -#if HAVE_GETTIMEOFDAY - gettimeofday(&before, 0); -#endif + GetClockTime(&before); wnoutrefresh(stdscr); pnoutrefresh(pad, @@ -5840,17 +5834,12 @@ panner(WINDOW *pad, portx - (pymax > porty) - 1); doupdate(); -#if HAVE_GETTIMEOFDAY -#define TIMEVAL2S(data) ((double) data.tv_sec + ((double) data.tv_usec / 1.0e6)) if (timing) { - double elapsed; - gettimeofday(&after, 0); - elapsed = (TIMEVAL2S(after) - TIMEVAL2S(before)); + GetClockTime(&after); move(LINES - 1, COLS - 12); - printw("Secs: %2.03f", elapsed); + printw("Secs: %6.03f", ElapsedSeconds(&before, &after)); refresh(); } -#endif } } while diff --git a/test/package/mingw-ncurses-examples.spec b/test/package/mingw-ncurses-examples.spec index cad43d1d..bfadd10e 100644 --- a/test/package/mingw-ncurses-examples.spec +++ b/test/package/mingw-ncurses-examples.spec @@ -4,14 +4,14 @@ Summary: ncurses-examples - example/test programs from ncurses %global AppProgram ncurses-examples %global AppVersion MAJOR.MINOR %global AppRelease YYYYMMDD -# $Id: mingw-ncurses-examples.spec,v 1.10 2021/06/17 21:11:12 tom Exp $ +# $Id: mingw-ncurses-examples.spec,v 1.11 2023/02/25 23:10:34 tom Exp $ Name: mingw32-ncurses6-examples Version: %{AppVersion} Release: %{AppRelease} License: X11 Group: Development/Libraries -Source: ncurses-examples-%{release}.tgz -# URL: https://invisible-island.net/ncurses/ +URL: https://invisible-island.net/ncurses/%{AppProgram}.html +Source: https://invisible-island.net/archives/%{AppProgram}/%{AppProgram}-%{release}.tgz BuildRequires: mingw32-ncurses6 @@ -56,6 +56,9 @@ This package is used for testing ABI 6 with cross-compiles to MinGW. %global mingw32_datadir %{mingw32_datadir}/%{AppProgram} %global mingw64_datadir %{mingw64_datadir}/%{AppProgram} +%global mingw32_libexec %{mingw32_libexecdir}/%{AppProgram} +%global mingw64_libexec %{mingw64_libexecdir}/%{AppProgram} + %define CFG_OPTS \\\ --enable-echo \\\ --enable-warnings \\\ @@ -96,26 +99,24 @@ pushd BUILD-W64 %{mingw64_make} install DESTDIR=$RPM_BUILD_ROOT popd -%clean -if rm -rf $RPM_BUILD_ROOT; then - echo OK -else - find $RPM_BUILD_ROOT -type f | grep -F -v /.nfs && exit 1 -fi -exit 0 - -%defattr(-,root,root,-) - %files -n mingw32-ncurses6-examples +%defattr(-,root,root,-) %{mingw32_bindir}/* %{mingw32_datadir}/* +%{mingw32_libexec}/* %files -n mingw64-ncurses6-examples +%defattr(-,root,root,-) %{mingw64_bindir}/* %{mingw64_datadir}/* +%{mingw64_libexec}/* %changelog +* Sat Feb 25 2023 Thomas Dickey +- use libexecdir for programs rather than subdir of bindir +- amend URLs per rpmlint + * Sat Nov 16 2019 Thomas Dickey - modify clean-rule to work around Fedora NFS bugs. diff --git a/test/package/ncurses-examples.spec b/test/package/ncurses-examples.spec index 1a045edc..8f1a3cbe 100644 --- a/test/package/ncurses-examples.spec +++ b/test/package/ncurses-examples.spec @@ -3,15 +3,14 @@ Summary: example/test programs from ncurses %global AltProgram ncursest-examples %global AppVersion MAJOR.MINOR %global AppRelease YYYYMMDD -# $Id: ncurses-examples.spec,v 1.21 2021/12/19 00:13:46 tom Exp $ +# $Id: ncurses-examples.spec,v 1.22 2023/02/25 23:10:49 tom Exp $ Name: %{AppProgram} Version: %{AppVersion} Release: %{AppRelease} License: MIT Group: Applications/Development -URL: ftp://ftp.invisible-island.net/pub/%{AppProgram} -Source0: %{AppProgram}-%{AppRelease}.tgz -Packager: Thomas Dickey +URL: https://invisible-island.net/ncurses/%{AppProgram}.html +Source: https://invisible-island.net/archives/%{AppProgram}/%{AppProgram}-%{release}.tgz %description These are the example/test programs from the ncurses MAJOR.MINOR distribution, @@ -83,14 +82,6 @@ pushd BUILD-%{AltProgram} make install PACKAGE=%{AltProgram} DESTDIR=$RPM_BUILD_ROOT popd -%clean -if rm -rf $RPM_BUILD_ROOT; then - echo OK -else - find $RPM_BUILD_ROOT -type f | grep -F -v /.nfs && exit 1 -fi -exit 0 - %files -n %{AppProgram} %defattr(-,root,root) %{_bindir}/%{AppProgram} @@ -106,6 +97,9 @@ exit 0 %changelog # each patch should add its ChangeLog entries here +* Sat Feb 25 2023 Thomas Dickey +- amend URLs per rpmlint + * Sat Dec 18 2021 Thomas Dickey - use libexecdir for programs rather than subdir of bindir diff --git a/test/pair_content.c b/test/pair_content.c index 24cf5689..2b759a82 100644 --- a/test/pair_content.c +++ b/test/pair_content.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright 2018-2020,2022 Thomas E. Dickey * + * Copyright 2018-2022,2023 Thomas E. Dickey * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: pair_content.c,v 1.21 2022/12/10 22:28:50 tom Exp $ + * $Id: pair_content.c,v 1.22 2023/02/25 16:43:56 tom Exp $ */ #define NEED_TIME_H @@ -57,10 +57,8 @@ static int x_opt; static MYPAIR *expected; -#if HAVE_GETTIMEOFDAY -static struct timeval initial_time; -static struct timeval finish_time; -#endif +static TimeType initial_time; +static TimeType finish_time; static GCC_NORETURN void finish(int code) @@ -171,9 +169,7 @@ setup_test(void) } else { failed("This demo requires a color terminal"); } -#if HAVE_GETTIMEOFDAY - gettimeofday(&initial_time, 0); -#endif + GetClockTime(&initial_time); } static void @@ -206,16 +202,6 @@ finish_test(void) endwin(); } -#if HAVE_GETTIMEOFDAY -static double -seconds(struct timeval *mark) -{ - double result = (double) mark->tv_sec; - result += ((double) mark->tv_usec / 1e6); - return result; -} -#endif - static void usage(int ok) { @@ -321,12 +307,8 @@ main(int argc, char *argv[]) addch('\n'); } printw("DONE: "); -#if HAVE_GETTIMEOFDAY - gettimeofday(&finish_time, 0); - printw("%.03f seconds", - seconds(&finish_time) - - seconds(&initial_time)); -#endif + GetClockTime(&finish_time); + printw("%.03f seconds", ElapsedSeconds(&initial_time, &finish_time)); finish_test(); } diff --git a/test/tclock.c b/test/tclock.c index 75b6570f..1a749628 100644 --- a/test/tclock.c +++ b/test/tclock.c @@ -1,4 +1,4 @@ -/* $Id: tclock.c,v 1.47 2022/12/10 23:23:27 tom Exp $ */ +/* $Id: tclock.c,v 1.48 2023/02/25 16:42:22 tom Exp $ */ #define NEED_TIME_H #include @@ -133,6 +133,8 @@ VERSION_COMMON() int main(int argc, char *argv[]) { + static TimeType initial; + int i, cx, cy; double cr, mradius, hradius, mangle, hangle; double sangle, sradius, hours; @@ -147,10 +149,7 @@ main(int argc, char *argv[]) char szChar[20]; char *text; short my_bg = COLOR_BLACK; -#if HAVE_GETTIMEOFDAY - struct timeval current; -#endif - double fraction = 0.0; + TimeType current; #if HAVE_USE_DEFAULT_COLORS bool d_option = FALSE; #endif @@ -236,11 +235,9 @@ main(int argc, char *argv[]) hdx = A2X(hangle, hradius); hdy = A2Y(hangle, hradius); -#if HAVE_GETTIMEOFDAY - gettimeofday(¤t, 0); - fraction = ((double) current.tv_usec / 1.0e6); -#endif - sangle = ((t->tm_sec + fraction) * (2.0 * PI) / 60.0); + GetClockTime(¤t); + + sangle = (ElapsedSeconds(&initial, ¤t) * (2.0 * PI) / 60.0); sdx = A2X(sangle, sradius); sdy = A2Y(sangle, sradius); diff --git a/test/test.priv.h b/test/test.priv.h index a08a7be1..a572b5c2 100644 --- a/test/test.priv.h +++ b/test/test.priv.h @@ -30,7 +30,7 @@ /**************************************************************************** * Author: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: test.priv.h,v 1.207 2023/01/07 17:15:50 tom Exp $ */ +/* $Id: test.priv.h,v 1.210 2023/02/25 21:26:04 tom Exp $ */ #ifndef __TEST_PRIV_H #define __TEST_PRIV_H 1 @@ -75,6 +75,10 @@ #define HAVE_CHGAT 0 #endif +#ifndef HAVE_CLOCK_GETTIME +#define HAVE_CLOCK_GETTIME 0 +#endif + #ifndef HAVE_COLOR_CONTENT #define HAVE_COLOR_CONTENT 0 #endif @@ -1083,6 +1087,26 @@ extern int TABSIZE; #endif #endif +#if HAVE_CLOCK_GETTIME +# define GetClockTime(t) clock_gettime(CLOCK_REALTIME, t) +# define TimeType struct timespec +# define TimeScale 1000000000L /* 1e9 */ +# define ElapsedSeconds(b,e) \ + (double) (((e)->tv_sec - (b)->tv_sec) \ + + ((e)->tv_nsec - (b)->tv_nsec) / TimeScale) +#elif HAVE_GETTIMEOFDAY +# define GetClockTime(t) gettimeofday(t, 0) +# define TimeType struct timeval +# define TimeScale 1000000L /* 1e6 */ +# define ElapsedSeconds(b,e) \ + (double) (((e)->tv_sec - (b)->tv_sec) \ + + ((e)->tv_usec - (b)->tv_usec) / TimeScale) +#else +# define TimeType time_t +# define GetClockTime(t) time((time_t*)0) +# define ElapsedSeconds(b,e) (double)((e) - (b)) +#endif + /* * Ultrix 3.1 */