Module Name: src Committed By: tls Date: Sun Aug 10 06:57:39 UTC 2014
Modified Files: src/tools/compat [tls-earlyentropy]: compat_defs.h configure configure.ac nbtool_config.h.in Log Message: Rebase. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.95.2.1 src/tools/compat/compat_defs.h cvs rdiff -u -r1.80 -r1.80.2.1 src/tools/compat/configure cvs rdiff -u -r1.81 -r1.81.2.1 src/tools/compat/configure.ac cvs rdiff -u -r1.34 -r1.34.2.1 src/tools/compat/nbtool_config.h.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/compat/compat_defs.h diff -u src/tools/compat/compat_defs.h:1.95 src/tools/compat/compat_defs.h:1.95.2.1 --- src/tools/compat/compat_defs.h:1.95 Thu Jan 9 16:08:46 2014 +++ src/tools/compat/compat_defs.h Sun Aug 10 06:57:39 2014 @@ -1,32 +1,34 @@ -/* $NetBSD: compat_defs.h,v 1.95 2014/01/09 16:08:46 apb Exp $ */ +/* $NetBSD: compat_defs.h,v 1.95.2.1 2014/08/10 06:57:39 tls Exp $ */ #ifndef __NETBSD_COMPAT_DEFS_H__ #define __NETBSD_COMPAT_DEFS_H__ - -/* Work around some complete brain damage. */ /* - * Linux: <features.h> turns on _POSIX_SOURCE by default, even though the - * program (not the OS) should do that. Preload <features.h> to keep any - * of this crap from being pulled in, and undefine _POSIX_SOURCE. + * On NetBSD, ensure that _NETBSD_SOURCE does not get defined, so that + * accidental attempts to use NetBSD-specific features instead of more + * portable features is likely to be noticed when the tools are built + * on NetBSD. Define enough other feature test macros to expose the + * features we need. */ - -#if defined(__linux__) && HAVE_FEATURES_H -#include <features.h> -#define __USE_ISOC99 1 -#endif - -/* So _NETBSD_SOURCE doesn't end up defined. Define enough to pull in standard - defs. Other platforms may need similiar defines. */ #ifdef __NetBSD__ #define _ISOC99_SOURCE #define _POSIX_SOURCE 1 #define _POSIX_C_SOURCE 200112L #define _XOPEN_SOURCE 600 -#else +#endif /* __NetBSD__ */ + +/* + * Linux: <features.h> turns on _POSIX_SOURCE by default, even though the + * program (not the OS) should do that. Preload <features.h> and + * then override some of the feature test macros. + */ + +#if defined(__linux__) && HAVE_FEATURES_H +#include <features.h> #undef _POSIX_SOURCE #undef _POSIX_C_SOURCE -#endif +#define __USE_ISOC99 1 +#endif /* __linux__ && HAVE_FEATURES_H */ /* System headers needed for (re)definitions below. */ @@ -258,6 +260,18 @@ void warn(const char *, ...); void warnx(const char *, ...); void vwarnx(const char *, va_list); #endif +#if !HAVE_DECL_WARNC +void warnc(int, const char *, ...); +#endif +#if !HAVE_DECL_VWARNC +void vwarnc(int, const char *, va_list); +#endif +#if !HAVE_DECL_ERRC +void errc(int, int, const char *, ...); +#endif +#if !HAVE_DECL_VERRC +void verrc(int, int, const char *, va_list); +#endif #if !HAVE_ESETFUNC void (*esetfunc(void (*)(int, const char *, ...)))(int, const char *, ...); Index: src/tools/compat/configure diff -u src/tools/compat/configure:1.80 src/tools/compat/configure:1.80.2.1 --- src/tools/compat/configure:1.80 Thu Jan 9 11:27:31 2014 +++ src/tools/compat/configure Sun Aug 10 06:57:39 2014 @@ -5794,13 +5794,246 @@ EOF fi -echo "$as_me:5797: checking whether htobe16 is declared" >&5 +echo "$as_me:5797: checking whether errc is declared" >&5 +echo $ECHO_N "checking whether errc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_errc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5803 "configure" +#include "confdefs.h" + +#ifdef HAVE_ERR_H +#include <err.h> +#endif + +int +main () +{ +#ifndef errc + char *p = (char *) errc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5822: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5825: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5828: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5831: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_errc=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_have_decl_errc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:5841: result: $ac_cv_have_decl_errc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_errc" >&6 +if test $ac_cv_have_decl_errc = yes; then + +cat >>confdefs.h <<EOF +#define HAVE_DECL_ERRC 1 +EOF + +else + cat >>confdefs.h <<EOF +#define HAVE_DECL_ERRC 0 +EOF + +fi +echo "$as_me:5855: checking whether verrc is declared" >&5 +echo $ECHO_N "checking whether verrc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_verrc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5861 "configure" +#include "confdefs.h" + +#ifdef HAVE_ERR_H +#include <err.h> +#endif + +int +main () +{ +#ifndef verrc + char *p = (char *) verrc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5880: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5883: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5886: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5889: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_verrc=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_have_decl_verrc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:5899: result: $ac_cv_have_decl_verrc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_verrc" >&6 +if test $ac_cv_have_decl_verrc = yes; then + +cat >>confdefs.h <<EOF +#define HAVE_DECL_VERRC 1 +EOF + +else + cat >>confdefs.h <<EOF +#define HAVE_DECL_VERRC 0 +EOF + +fi +echo "$as_me:5913: checking whether warnc is declared" >&5 +echo $ECHO_N "checking whether warnc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_warnc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5919 "configure" +#include "confdefs.h" + +#ifdef HAVE_ERR_H +#include <err.h> +#endif + +int +main () +{ +#ifndef warnc + char *p = (char *) warnc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5938: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5941: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:5944: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:5947: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_warnc=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_have_decl_warnc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:5957: result: $ac_cv_have_decl_warnc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_warnc" >&6 +if test $ac_cv_have_decl_warnc = yes; then + +cat >>confdefs.h <<EOF +#define HAVE_DECL_WARNC 1 +EOF + +else + cat >>confdefs.h <<EOF +#define HAVE_DECL_WARNC 0 +EOF + +fi +echo "$as_me:5971: checking whether vwarnc is declared" >&5 +echo $ECHO_N "checking whether vwarnc is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_vwarnc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line 5977 "configure" +#include "confdefs.h" + +#ifdef HAVE_ERR_H +#include <err.h> +#endif + +int +main () +{ +#ifndef vwarnc + char *p = (char *) vwarnc; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:5996: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:5999: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:6002: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:6005: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_vwarnc=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_have_decl_vwarnc=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:6015: result: $ac_cv_have_decl_vwarnc" >&5 +echo "${ECHO_T}$ac_cv_have_decl_vwarnc" >&6 +if test $ac_cv_have_decl_vwarnc = yes; then + +cat >>confdefs.h <<EOF +#define HAVE_DECL_VWARNC 1 +EOF + +else + cat >>confdefs.h <<EOF +#define HAVE_DECL_VWARNC 0 +EOF + +fi + +echo "$as_me:6030: checking whether htobe16 is declared" >&5 echo $ECHO_N "checking whether htobe16 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htobe16+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5803 "configure" +#line 6036 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5816,16 +6049,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5819: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6052: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5822: \$? = $ac_status" >&5 + echo "$as_me:6055: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5825: \"$ac_try\"") >&5 + { (eval echo "$as_me:6058: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5828: \$? = $ac_status" >&5 + echo "$as_me:6061: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htobe16=yes else @@ -5835,7 +6068,7 @@ ac_cv_have_decl_htobe16=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5838: result: $ac_cv_have_decl_htobe16" >&5 +echo "$as_me:6071: result: $ac_cv_have_decl_htobe16" >&5 echo "${ECHO_T}$ac_cv_have_decl_htobe16" >&6 if test $ac_cv_have_decl_htobe16 = yes; then @@ -5849,13 +6082,13 @@ else EOF fi -echo "$as_me:5852: checking whether htobe32 is declared" >&5 +echo "$as_me:6085: checking whether htobe32 is declared" >&5 echo $ECHO_N "checking whether htobe32 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htobe32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5858 "configure" +#line 6091 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5871,16 +6104,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5874: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6107: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5877: \$? = $ac_status" >&5 + echo "$as_me:6110: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5880: \"$ac_try\"") >&5 + { (eval echo "$as_me:6113: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5883: \$? = $ac_status" >&5 + echo "$as_me:6116: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htobe32=yes else @@ -5890,7 +6123,7 @@ ac_cv_have_decl_htobe32=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5893: result: $ac_cv_have_decl_htobe32" >&5 +echo "$as_me:6126: result: $ac_cv_have_decl_htobe32" >&5 echo "${ECHO_T}$ac_cv_have_decl_htobe32" >&6 if test $ac_cv_have_decl_htobe32 = yes; then @@ -5904,13 +6137,13 @@ else EOF fi -echo "$as_me:5907: checking whether htobe64 is declared" >&5 +echo "$as_me:6140: checking whether htobe64 is declared" >&5 echo $ECHO_N "checking whether htobe64 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htobe64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5913 "configure" +#line 6146 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5926,16 +6159,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5929: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6162: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5932: \$? = $ac_status" >&5 + echo "$as_me:6165: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5935: \"$ac_try\"") >&5 + { (eval echo "$as_me:6168: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5938: \$? = $ac_status" >&5 + echo "$as_me:6171: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htobe64=yes else @@ -5945,7 +6178,7 @@ ac_cv_have_decl_htobe64=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:5948: result: $ac_cv_have_decl_htobe64" >&5 +echo "$as_me:6181: result: $ac_cv_have_decl_htobe64" >&5 echo "${ECHO_T}$ac_cv_have_decl_htobe64" >&6 if test $ac_cv_have_decl_htobe64 = yes; then @@ -5959,13 +6192,13 @@ else EOF fi -echo "$as_me:5962: checking whether htole16 is declared" >&5 +echo "$as_me:6195: checking whether htole16 is declared" >&5 echo $ECHO_N "checking whether htole16 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htole16+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 5968 "configure" +#line 6201 "configure" #include "confdefs.h" #include <sys/types.h> @@ -5981,16 +6214,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:5984: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6217: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:5987: \$? = $ac_status" >&5 + echo "$as_me:6220: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:5990: \"$ac_try\"") >&5 + { (eval echo "$as_me:6223: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:5993: \$? = $ac_status" >&5 + echo "$as_me:6226: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htole16=yes else @@ -6000,7 +6233,7 @@ ac_cv_have_decl_htole16=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6003: result: $ac_cv_have_decl_htole16" >&5 +echo "$as_me:6236: result: $ac_cv_have_decl_htole16" >&5 echo "${ECHO_T}$ac_cv_have_decl_htole16" >&6 if test $ac_cv_have_decl_htole16 = yes; then @@ -6014,13 +6247,13 @@ else EOF fi -echo "$as_me:6017: checking whether htole32 is declared" >&5 +echo "$as_me:6250: checking whether htole32 is declared" >&5 echo $ECHO_N "checking whether htole32 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htole32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6023 "configure" +#line 6256 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6036,16 +6269,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6039: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6272: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6042: \$? = $ac_status" >&5 + echo "$as_me:6275: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6045: \"$ac_try\"") >&5 + { (eval echo "$as_me:6278: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6048: \$? = $ac_status" >&5 + echo "$as_me:6281: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htole32=yes else @@ -6055,7 +6288,7 @@ ac_cv_have_decl_htole32=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6058: result: $ac_cv_have_decl_htole32" >&5 +echo "$as_me:6291: result: $ac_cv_have_decl_htole32" >&5 echo "${ECHO_T}$ac_cv_have_decl_htole32" >&6 if test $ac_cv_have_decl_htole32 = yes; then @@ -6069,13 +6302,13 @@ else EOF fi -echo "$as_me:6072: checking whether htole64 is declared" >&5 +echo "$as_me:6305: checking whether htole64 is declared" >&5 echo $ECHO_N "checking whether htole64 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_htole64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6078 "configure" +#line 6311 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6091,16 +6324,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6094: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6327: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6097: \$? = $ac_status" >&5 + echo "$as_me:6330: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6100: \"$ac_try\"") >&5 + { (eval echo "$as_me:6333: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6103: \$? = $ac_status" >&5 + echo "$as_me:6336: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_htole64=yes else @@ -6110,7 +6343,7 @@ ac_cv_have_decl_htole64=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6113: result: $ac_cv_have_decl_htole64" >&5 +echo "$as_me:6346: result: $ac_cv_have_decl_htole64" >&5 echo "${ECHO_T}$ac_cv_have_decl_htole64" >&6 if test $ac_cv_have_decl_htole64 = yes; then @@ -6124,13 +6357,13 @@ else EOF fi -echo "$as_me:6127: checking whether be16toh is declared" >&5 +echo "$as_me:6360: checking whether be16toh is declared" >&5 echo $ECHO_N "checking whether be16toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be16toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6133 "configure" +#line 6366 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6146,16 +6379,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6149: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6382: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6152: \$? = $ac_status" >&5 + echo "$as_me:6385: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6155: \"$ac_try\"") >&5 + { (eval echo "$as_me:6388: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6158: \$? = $ac_status" >&5 + echo "$as_me:6391: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be16toh=yes else @@ -6165,7 +6398,7 @@ ac_cv_have_decl_be16toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6168: result: $ac_cv_have_decl_be16toh" >&5 +echo "$as_me:6401: result: $ac_cv_have_decl_be16toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_be16toh" >&6 if test $ac_cv_have_decl_be16toh = yes; then @@ -6179,13 +6412,13 @@ else EOF fi -echo "$as_me:6182: checking whether be32toh is declared" >&5 +echo "$as_me:6415: checking whether be32toh is declared" >&5 echo $ECHO_N "checking whether be32toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be32toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6188 "configure" +#line 6421 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6201,16 +6434,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6204: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6437: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6207: \$? = $ac_status" >&5 + echo "$as_me:6440: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6210: \"$ac_try\"") >&5 + { (eval echo "$as_me:6443: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6213: \$? = $ac_status" >&5 + echo "$as_me:6446: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be32toh=yes else @@ -6220,7 +6453,7 @@ ac_cv_have_decl_be32toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6223: result: $ac_cv_have_decl_be32toh" >&5 +echo "$as_me:6456: result: $ac_cv_have_decl_be32toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_be32toh" >&6 if test $ac_cv_have_decl_be32toh = yes; then @@ -6234,13 +6467,13 @@ else EOF fi -echo "$as_me:6237: checking whether be64toh is declared" >&5 +echo "$as_me:6470: checking whether be64toh is declared" >&5 echo $ECHO_N "checking whether be64toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be64toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6243 "configure" +#line 6476 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6256,16 +6489,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6259: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6492: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6262: \$? = $ac_status" >&5 + echo "$as_me:6495: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6265: \"$ac_try\"") >&5 + { (eval echo "$as_me:6498: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6268: \$? = $ac_status" >&5 + echo "$as_me:6501: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be64toh=yes else @@ -6275,7 +6508,7 @@ ac_cv_have_decl_be64toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6278: result: $ac_cv_have_decl_be64toh" >&5 +echo "$as_me:6511: result: $ac_cv_have_decl_be64toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_be64toh" >&6 if test $ac_cv_have_decl_be64toh = yes; then @@ -6289,13 +6522,13 @@ else EOF fi -echo "$as_me:6292: checking whether le16toh is declared" >&5 +echo "$as_me:6525: checking whether le16toh is declared" >&5 echo $ECHO_N "checking whether le16toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le16toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6298 "configure" +#line 6531 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6311,16 +6544,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6314: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6547: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6317: \$? = $ac_status" >&5 + echo "$as_me:6550: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6320: \"$ac_try\"") >&5 + { (eval echo "$as_me:6553: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6323: \$? = $ac_status" >&5 + echo "$as_me:6556: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le16toh=yes else @@ -6330,7 +6563,7 @@ ac_cv_have_decl_le16toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6333: result: $ac_cv_have_decl_le16toh" >&5 +echo "$as_me:6566: result: $ac_cv_have_decl_le16toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_le16toh" >&6 if test $ac_cv_have_decl_le16toh = yes; then @@ -6344,13 +6577,13 @@ else EOF fi -echo "$as_me:6347: checking whether le32toh is declared" >&5 +echo "$as_me:6580: checking whether le32toh is declared" >&5 echo $ECHO_N "checking whether le32toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le32toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6353 "configure" +#line 6586 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6366,16 +6599,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6369: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6602: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6372: \$? = $ac_status" >&5 + echo "$as_me:6605: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6375: \"$ac_try\"") >&5 + { (eval echo "$as_me:6608: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6378: \$? = $ac_status" >&5 + echo "$as_me:6611: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le32toh=yes else @@ -6385,7 +6618,7 @@ ac_cv_have_decl_le32toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6388: result: $ac_cv_have_decl_le32toh" >&5 +echo "$as_me:6621: result: $ac_cv_have_decl_le32toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_le32toh" >&6 if test $ac_cv_have_decl_le32toh = yes; then @@ -6399,13 +6632,13 @@ else EOF fi -echo "$as_me:6402: checking whether le64toh is declared" >&5 +echo "$as_me:6635: checking whether le64toh is declared" >&5 echo $ECHO_N "checking whether le64toh is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le64toh+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6408 "configure" +#line 6641 "configure" #include "confdefs.h" #include <sys/types.h> @@ -6421,16 +6654,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6424: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6657: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6427: \$? = $ac_status" >&5 + echo "$as_me:6660: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6430: \"$ac_try\"") >&5 + { (eval echo "$as_me:6663: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6433: \$? = $ac_status" >&5 + echo "$as_me:6666: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le64toh=yes else @@ -6440,7 +6673,7 @@ ac_cv_have_decl_le64toh=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6443: result: $ac_cv_have_decl_le64toh" >&5 +echo "$as_me:6676: result: $ac_cv_have_decl_le64toh" >&5 echo "${ECHO_T}$ac_cv_have_decl_le64toh" >&6 if test $ac_cv_have_decl_le64toh = yes; then @@ -6455,13 +6688,13 @@ EOF fi -echo "$as_me:6458: checking whether bswap16 is declared" >&5 +echo "$as_me:6691: checking whether bswap16 is declared" >&5 echo $ECHO_N "checking whether bswap16 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_bswap16+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6464 "configure" +#line 6697 "configure" #include "confdefs.h" #include <machine/bswap.h> @@ -6477,16 +6710,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6480: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6713: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6483: \$? = $ac_status" >&5 + echo "$as_me:6716: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6486: \"$ac_try\"") >&5 + { (eval echo "$as_me:6719: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6489: \$? = $ac_status" >&5 + echo "$as_me:6722: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_bswap16=yes else @@ -6496,7 +6729,7 @@ ac_cv_have_decl_bswap16=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6499: result: $ac_cv_have_decl_bswap16" >&5 +echo "$as_me:6732: result: $ac_cv_have_decl_bswap16" >&5 echo "${ECHO_T}$ac_cv_have_decl_bswap16" >&6 if test $ac_cv_have_decl_bswap16 = yes; then @@ -6510,13 +6743,13 @@ else EOF fi -echo "$as_me:6513: checking whether bswap32 is declared" >&5 +echo "$as_me:6746: checking whether bswap32 is declared" >&5 echo $ECHO_N "checking whether bswap32 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_bswap32+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6519 "configure" +#line 6752 "configure" #include "confdefs.h" #include <machine/bswap.h> @@ -6532,16 +6765,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6535: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6768: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6538: \$? = $ac_status" >&5 + echo "$as_me:6771: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6541: \"$ac_try\"") >&5 + { (eval echo "$as_me:6774: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6544: \$? = $ac_status" >&5 + echo "$as_me:6777: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_bswap32=yes else @@ -6551,7 +6784,7 @@ ac_cv_have_decl_bswap32=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6554: result: $ac_cv_have_decl_bswap32" >&5 +echo "$as_me:6787: result: $ac_cv_have_decl_bswap32" >&5 echo "${ECHO_T}$ac_cv_have_decl_bswap32" >&6 if test $ac_cv_have_decl_bswap32 = yes; then @@ -6565,13 +6798,13 @@ else EOF fi -echo "$as_me:6568: checking whether bswap64 is declared" >&5 +echo "$as_me:6801: checking whether bswap64 is declared" >&5 echo $ECHO_N "checking whether bswap64 is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_bswap64+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6574 "configure" +#line 6807 "configure" #include "confdefs.h" #include <machine/bswap.h> @@ -6587,16 +6820,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6590: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6593: \$? = $ac_status" >&5 + echo "$as_me:6826: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6596: \"$ac_try\"") >&5 + { (eval echo "$as_me:6829: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6599: \$? = $ac_status" >&5 + echo "$as_me:6832: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_bswap64=yes else @@ -6606,7 +6839,7 @@ ac_cv_have_decl_bswap64=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6609: result: $ac_cv_have_decl_bswap64" >&5 +echo "$as_me:6842: result: $ac_cv_have_decl_bswap64" >&5 echo "${ECHO_T}$ac_cv_have_decl_bswap64" >&6 if test $ac_cv_have_decl_bswap64 = yes; then @@ -6621,13 +6854,13 @@ EOF fi -echo "$as_me:6624: checking whether be16enc is declared" >&5 +echo "$as_me:6857: checking whether be16enc is declared" >&5 echo $ECHO_N "checking whether be16enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be16enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6630 "configure" +#line 6863 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6643,16 +6876,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6646: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6879: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6649: \$? = $ac_status" >&5 + echo "$as_me:6882: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6652: \"$ac_try\"") >&5 + { (eval echo "$as_me:6885: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6655: \$? = $ac_status" >&5 + echo "$as_me:6888: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be16enc=yes else @@ -6662,7 +6895,7 @@ ac_cv_have_decl_be16enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6665: result: $ac_cv_have_decl_be16enc" >&5 +echo "$as_me:6898: result: $ac_cv_have_decl_be16enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_be16enc" >&6 if test $ac_cv_have_decl_be16enc = yes; then @@ -6676,13 +6909,13 @@ else EOF fi -echo "$as_me:6679: checking whether le16enc is declared" >&5 +echo "$as_me:6912: checking whether le16enc is declared" >&5 echo $ECHO_N "checking whether le16enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le16enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6685 "configure" +#line 6918 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6698,16 +6931,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6701: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6934: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6704: \$? = $ac_status" >&5 + echo "$as_me:6937: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6707: \"$ac_try\"") >&5 + { (eval echo "$as_me:6940: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6710: \$? = $ac_status" >&5 + echo "$as_me:6943: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le16enc=yes else @@ -6717,7 +6950,7 @@ ac_cv_have_decl_le16enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6720: result: $ac_cv_have_decl_le16enc" >&5 +echo "$as_me:6953: result: $ac_cv_have_decl_le16enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_le16enc" >&6 if test $ac_cv_have_decl_le16enc = yes; then @@ -6731,13 +6964,13 @@ else EOF fi -echo "$as_me:6734: checking whether be16dec is declared" >&5 +echo "$as_me:6967: checking whether be16dec is declared" >&5 echo $ECHO_N "checking whether be16dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be16dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6740 "configure" +#line 6973 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6753,16 +6986,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6756: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:6989: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6759: \$? = $ac_status" >&5 + echo "$as_me:6992: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6762: \"$ac_try\"") >&5 + { (eval echo "$as_me:6995: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6765: \$? = $ac_status" >&5 + echo "$as_me:6998: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be16dec=yes else @@ -6772,7 +7005,7 @@ ac_cv_have_decl_be16dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6775: result: $ac_cv_have_decl_be16dec" >&5 +echo "$as_me:7008: result: $ac_cv_have_decl_be16dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_be16dec" >&6 if test $ac_cv_have_decl_be16dec = yes; then @@ -6786,13 +7019,13 @@ else EOF fi -echo "$as_me:6789: checking whether le16dec is declared" >&5 +echo "$as_me:7022: checking whether le16dec is declared" >&5 echo $ECHO_N "checking whether le16dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le16dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6795 "configure" +#line 7028 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6808,16 +7041,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6811: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7044: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6814: \$? = $ac_status" >&5 + echo "$as_me:7047: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6817: \"$ac_try\"") >&5 + { (eval echo "$as_me:7050: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6820: \$? = $ac_status" >&5 + echo "$as_me:7053: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le16dec=yes else @@ -6827,7 +7060,7 @@ ac_cv_have_decl_le16dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6830: result: $ac_cv_have_decl_le16dec" >&5 +echo "$as_me:7063: result: $ac_cv_have_decl_le16dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_le16dec" >&6 if test $ac_cv_have_decl_le16dec = yes; then @@ -6841,13 +7074,13 @@ else EOF fi -echo "$as_me:6844: checking whether be32enc is declared" >&5 +echo "$as_me:7077: checking whether be32enc is declared" >&5 echo $ECHO_N "checking whether be32enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be32enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6850 "configure" +#line 7083 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6863,16 +7096,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6866: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7099: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6869: \$? = $ac_status" >&5 + echo "$as_me:7102: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6872: \"$ac_try\"") >&5 + { (eval echo "$as_me:7105: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6875: \$? = $ac_status" >&5 + echo "$as_me:7108: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be32enc=yes else @@ -6882,7 +7115,7 @@ ac_cv_have_decl_be32enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6885: result: $ac_cv_have_decl_be32enc" >&5 +echo "$as_me:7118: result: $ac_cv_have_decl_be32enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_be32enc" >&6 if test $ac_cv_have_decl_be32enc = yes; then @@ -6896,13 +7129,13 @@ else EOF fi -echo "$as_me:6899: checking whether le32enc is declared" >&5 +echo "$as_me:7132: checking whether le32enc is declared" >&5 echo $ECHO_N "checking whether le32enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le32enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6905 "configure" +#line 7138 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6918,16 +7151,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6921: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7154: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6924: \$? = $ac_status" >&5 + echo "$as_me:7157: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6927: \"$ac_try\"") >&5 + { (eval echo "$as_me:7160: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6930: \$? = $ac_status" >&5 + echo "$as_me:7163: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le32enc=yes else @@ -6937,7 +7170,7 @@ ac_cv_have_decl_le32enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6940: result: $ac_cv_have_decl_le32enc" >&5 +echo "$as_me:7173: result: $ac_cv_have_decl_le32enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_le32enc" >&6 if test $ac_cv_have_decl_le32enc = yes; then @@ -6951,13 +7184,13 @@ else EOF fi -echo "$as_me:6954: checking whether be32dec is declared" >&5 +echo "$as_me:7187: checking whether be32dec is declared" >&5 echo $ECHO_N "checking whether be32dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be32dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 6960 "configure" +#line 7193 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -6973,16 +7206,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:6976: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7209: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:6979: \$? = $ac_status" >&5 + echo "$as_me:7212: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:6982: \"$ac_try\"") >&5 + { (eval echo "$as_me:7215: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:6985: \$? = $ac_status" >&5 + echo "$as_me:7218: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be32dec=yes else @@ -6992,7 +7225,7 @@ ac_cv_have_decl_be32dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:6995: result: $ac_cv_have_decl_be32dec" >&5 +echo "$as_me:7228: result: $ac_cv_have_decl_be32dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_be32dec" >&6 if test $ac_cv_have_decl_be32dec = yes; then @@ -7006,13 +7239,13 @@ else EOF fi -echo "$as_me:7009: checking whether le32dec is declared" >&5 +echo "$as_me:7242: checking whether le32dec is declared" >&5 echo $ECHO_N "checking whether le32dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le32dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7015 "configure" +#line 7248 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -7028,16 +7261,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7031: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7264: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7034: \$? = $ac_status" >&5 + echo "$as_me:7267: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7037: \"$ac_try\"") >&5 + { (eval echo "$as_me:7270: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7040: \$? = $ac_status" >&5 + echo "$as_me:7273: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le32dec=yes else @@ -7047,7 +7280,7 @@ ac_cv_have_decl_le32dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7050: result: $ac_cv_have_decl_le32dec" >&5 +echo "$as_me:7283: result: $ac_cv_have_decl_le32dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_le32dec" >&6 if test $ac_cv_have_decl_le32dec = yes; then @@ -7061,13 +7294,13 @@ else EOF fi -echo "$as_me:7064: checking whether be64enc is declared" >&5 +echo "$as_me:7297: checking whether be64enc is declared" >&5 echo $ECHO_N "checking whether be64enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be64enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7070 "configure" +#line 7303 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -7083,16 +7316,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7086: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7319: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7089: \$? = $ac_status" >&5 + echo "$as_me:7322: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7092: \"$ac_try\"") >&5 + { (eval echo "$as_me:7325: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7095: \$? = $ac_status" >&5 + echo "$as_me:7328: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be64enc=yes else @@ -7102,7 +7335,7 @@ ac_cv_have_decl_be64enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7105: result: $ac_cv_have_decl_be64enc" >&5 +echo "$as_me:7338: result: $ac_cv_have_decl_be64enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_be64enc" >&6 if test $ac_cv_have_decl_be64enc = yes; then @@ -7116,13 +7349,13 @@ else EOF fi -echo "$as_me:7119: checking whether le64enc is declared" >&5 +echo "$as_me:7352: checking whether le64enc is declared" >&5 echo $ECHO_N "checking whether le64enc is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le64enc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7125 "configure" +#line 7358 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -7138,16 +7371,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7141: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7374: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7144: \$? = $ac_status" >&5 + echo "$as_me:7377: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7147: \"$ac_try\"") >&5 + { (eval echo "$as_me:7380: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7150: \$? = $ac_status" >&5 + echo "$as_me:7383: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le64enc=yes else @@ -7157,7 +7390,7 @@ ac_cv_have_decl_le64enc=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7160: result: $ac_cv_have_decl_le64enc" >&5 +echo "$as_me:7393: result: $ac_cv_have_decl_le64enc" >&5 echo "${ECHO_T}$ac_cv_have_decl_le64enc" >&6 if test $ac_cv_have_decl_le64enc = yes; then @@ -7171,13 +7404,13 @@ else EOF fi -echo "$as_me:7174: checking whether be64dec is declared" >&5 +echo "$as_me:7407: checking whether be64dec is declared" >&5 echo $ECHO_N "checking whether be64dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_be64dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7180 "configure" +#line 7413 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -7193,16 +7426,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7196: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7429: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7199: \$? = $ac_status" >&5 + echo "$as_me:7432: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7202: \"$ac_try\"") >&5 + { (eval echo "$as_me:7435: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7205: \$? = $ac_status" >&5 + echo "$as_me:7438: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_be64dec=yes else @@ -7212,7 +7445,7 @@ ac_cv_have_decl_be64dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7215: result: $ac_cv_have_decl_be64dec" >&5 +echo "$as_me:7448: result: $ac_cv_have_decl_be64dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_be64dec" >&6 if test $ac_cv_have_decl_be64dec = yes; then @@ -7226,13 +7459,13 @@ else EOF fi -echo "$as_me:7229: checking whether le64dec is declared" >&5 +echo "$as_me:7462: checking whether le64dec is declared" >&5 echo $ECHO_N "checking whether le64dec is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_le64dec+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7235 "configure" +#line 7468 "configure" #include "confdefs.h" #include <sys/endian.h> @@ -7248,16 +7481,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7251: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7484: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7254: \$? = $ac_status" >&5 + echo "$as_me:7487: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7257: \"$ac_try\"") >&5 + { (eval echo "$as_me:7490: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7260: \$? = $ac_status" >&5 + echo "$as_me:7493: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_le64dec=yes else @@ -7267,7 +7500,7 @@ ac_cv_have_decl_le64dec=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7270: result: $ac_cv_have_decl_le64dec" >&5 +echo "$as_me:7503: result: $ac_cv_have_decl_le64dec" >&5 echo "${ECHO_T}$ac_cv_have_decl_le64dec" >&6 if test $ac_cv_have_decl_le64dec = yes; then @@ -7282,13 +7515,13 @@ EOF fi -echo "$as_me:7285: checking whether fstatvfs is declared" >&5 +echo "$as_me:7518: checking whether fstatvfs is declared" >&5 echo $ECHO_N "checking whether fstatvfs is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_fstatvfs+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7291 "configure" +#line 7524 "configure" #include "confdefs.h" #include <sys/statvfs.h> @@ -7304,16 +7537,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7307: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7540: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7310: \$? = $ac_status" >&5 + echo "$as_me:7543: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7313: \"$ac_try\"") >&5 + { (eval echo "$as_me:7546: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7316: \$? = $ac_status" >&5 + echo "$as_me:7549: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_fstatvfs=yes else @@ -7323,7 +7556,7 @@ ac_cv_have_decl_fstatvfs=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7326: result: $ac_cv_have_decl_fstatvfs" >&5 +echo "$as_me:7559: result: $ac_cv_have_decl_fstatvfs" >&5 echo "${ECHO_T}$ac_cv_have_decl_fstatvfs" >&6 if test $ac_cv_have_decl_fstatvfs = yes; then @@ -7338,13 +7571,13 @@ EOF fi -echo "$as_me:7341: checking whether setgroupent is declared" >&5 +echo "$as_me:7574: checking whether setgroupent is declared" >&5 echo $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_setgroupent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7347 "configure" +#line 7580 "configure" #include "confdefs.h" #include <sys/types.h> @@ -7363,16 +7596,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7366: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7599: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7369: \$? = $ac_status" >&5 + echo "$as_me:7602: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7372: \"$ac_try\"") >&5 + { (eval echo "$as_me:7605: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7375: \$? = $ac_status" >&5 + echo "$as_me:7608: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_setgroupent=yes else @@ -7382,7 +7615,7 @@ ac_cv_have_decl_setgroupent=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7385: result: $ac_cv_have_decl_setgroupent" >&5 +echo "$as_me:7618: result: $ac_cv_have_decl_setgroupent" >&5 echo "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6 if test $ac_cv_have_decl_setgroupent = yes; then @@ -7396,13 +7629,13 @@ else EOF fi -echo "$as_me:7399: checking whether setpassent is declared" >&5 +echo "$as_me:7632: checking whether setpassent is declared" >&5 echo $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6 if test "${ac_cv_have_decl_setpassent+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF -#line 7405 "configure" +#line 7638 "configure" #include "confdefs.h" #include <sys/types.h> @@ -7421,16 +7654,16 @@ main () } _ACEOF rm -f conftest.$ac_objext -if { (eval echo "$as_me:7424: \"$ac_compile\"") >&5 +if { (eval echo "$as_me:7657: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - echo "$as_me:7427: \$? = $ac_status" >&5 + echo "$as_me:7660: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:7430: \"$ac_try\"") >&5 + { (eval echo "$as_me:7663: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7433: \$? = $ac_status" >&5 + echo "$as_me:7666: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_have_decl_setpassent=yes else @@ -7440,7 +7673,7 @@ ac_cv_have_decl_setpassent=no fi rm -f conftest.$ac_objext conftest.$ac_ext fi -echo "$as_me:7443: result: $ac_cv_have_decl_setpassent" >&5 +echo "$as_me:7676: result: $ac_cv_have_decl_setpassent" >&5 echo "${ECHO_T}$ac_cv_have_decl_setpassent" >&6 if test $ac_cv_have_decl_setpassent = yes; then @@ -7458,7 +7691,7 @@ fi # regcomp() and regexec() are also names of functions in the old V8 # regexp package. To avoid them, we need to find out who has regfree(). -echo "$as_me:7461: checking for regfree in -lregex" >&5 +echo "$as_me:7694: checking for regfree in -lregex" >&5 echo $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6 if test "${ac_cv_lib_regex_regfree+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7466,7 +7699,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lregex $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 7469 "configure" +#line 7702 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7485,16 +7718,16 @@ regfree (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7488: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7721: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7491: \$? = $ac_status" >&5 + echo "$as_me:7724: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7494: \"$ac_try\"") >&5 + { (eval echo "$as_me:7727: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7497: \$? = $ac_status" >&5 + echo "$as_me:7730: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_regex_regfree=yes else @@ -7505,7 +7738,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:7508: result: $ac_cv_lib_regex_regfree" >&5 +echo "$as_me:7741: result: $ac_cv_lib_regex_regfree" >&5 echo "${ECHO_T}$ac_cv_lib_regex_regfree" >&6 if test $ac_cv_lib_regex_regfree = yes; then cat >>confdefs.h <<EOF @@ -7516,7 +7749,7 @@ EOF fi -echo "$as_me:7519: checking for library containing regfree" >&5 +echo "$as_me:7752: checking for library containing regfree" >&5 echo $ECHO_N "checking for library containing regfree... $ECHO_C" >&6 if test "${ac_cv_search_regfree+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7524,7 +7757,7 @@ else ac_func_search_save_LIBS=$LIBS ac_cv_search_regfree=no cat >conftest.$ac_ext <<_ACEOF -#line 7527 "configure" +#line 7760 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7543,16 +7776,16 @@ regfree (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7546: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7779: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7549: \$? = $ac_status" >&5 + echo "$as_me:7782: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7552: \"$ac_try\"") >&5 + { (eval echo "$as_me:7785: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7555: \$? = $ac_status" >&5 + echo "$as_me:7788: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_regfree="none required" else @@ -7564,7 +7797,7 @@ if test "$ac_cv_search_regfree" = no; th for ac_lib in rx posix; do LIBS="-l$ac_lib $ac_func_search_save_LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 7567 "configure" +#line 7800 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7583,16 +7816,16 @@ regfree (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7586: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7819: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7589: \$? = $ac_status" >&5 + echo "$as_me:7822: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7592: \"$ac_try\"") >&5 + { (eval echo "$as_me:7825: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7595: \$? = $ac_status" >&5 + echo "$as_me:7828: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_search_regfree="-l$ac_lib" break @@ -7605,14 +7838,14 @@ rm -f conftest.$ac_objext conftest$ac_ex fi LIBS=$ac_func_search_save_LIBS fi -echo "$as_me:7608: result: $ac_cv_search_regfree" >&5 +echo "$as_me:7841: result: $ac_cv_search_regfree" >&5 echo "${ECHO_T}$ac_cv_search_regfree" >&6 if test "$ac_cv_search_regfree" != no; then test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS" fi -echo "$as_me:7615: checking for clock_gettime in -lrt" >&5 +echo "$as_me:7848: checking for clock_gettime in -lrt" >&5 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -7620,7 +7853,7 @@ else ac_check_lib_save_LIBS=$LIBS LIBS="-lrt $LIBS" cat >conftest.$ac_ext <<_ACEOF -#line 7623 "configure" +#line 7856 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ @@ -7639,16 +7872,16 @@ clock_gettime (); } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7642: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7875: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7645: \$? = $ac_status" >&5 + echo "$as_me:7878: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7648: \"$ac_try\"") >&5 + { (eval echo "$as_me:7881: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7651: \$? = $ac_status" >&5 + echo "$as_me:7884: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_rt_clock_gettime=yes else @@ -7659,7 +7892,7 @@ fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -echo "$as_me:7662: result: $ac_cv_lib_rt_clock_gettime" >&5 +echo "$as_me:7895: result: $ac_cv_lib_rt_clock_gettime" >&5 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6 if test $ac_cv_lib_rt_clock_gettime = yes; then cat >>confdefs.h <<EOF @@ -7673,13 +7906,13 @@ fi for ac_func in fparseln do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` -echo "$as_me:7676: checking for $ac_func" >&5 +echo "$as_me:7909: 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 7682 "configure" +#line 7915 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. */ @@ -7710,16 +7943,16 @@ f = $ac_func; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:7713: \"$ac_link\"") >&5 +if { (eval echo "$as_me:7946: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7716: \$? = $ac_status" >&5 + echo "$as_me:7949: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:7719: \"$ac_try\"") >&5 + { (eval echo "$as_me:7952: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7722: \$? = $ac_status" >&5 + echo "$as_me:7955: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else @@ -7729,22 +7962,22 @@ eval "$as_ac_var=no" fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext fi -echo "$as_me:7732: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "$as_me:7965: 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 <<EOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 EOF - echo "$as_me:7739: checking if fparseln seems to work" >&5 + echo "$as_me:7972: checking if fparseln seems to work" >&5 echo $ECHO_N "checking if fparseln seems to work... $ECHO_C" >&6 if test "$cross_compiling" = yes; then - { echo "$as_me:7742: WARNING: cross compiling: not checking farseln" >&5 + { echo "$as_me:7975: WARNING: cross compiling: not checking farseln" >&5 echo "$as_me: WARNING: cross compiling: not checking farseln" >&2;} else cat >conftest.$ac_ext <<_ACEOF -#line 7747 "configure" +#line 7980 "configure" #include "confdefs.h" #define _NETBSD_SOURCE @@ -7773,23 +8006,23 @@ main(void) _ACEOF rm -f conftest$ac_exeext -if { (eval echo "$as_me:7776: \"$ac_link\"") >&5 +if { (eval echo "$as_me:8009: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - echo "$as_me:7779: \$? = $ac_status" >&5 + echo "$as_me:8012: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (eval echo "$as_me:7781: \"$ac_try\"") >&5 + { (eval echo "$as_me:8014: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? - echo "$as_me:7784: \$? = $ac_status" >&5 + echo "$as_me:8017: \$? = $ac_status" >&5 (exit $ac_status); }; }; then - echo "$as_me:7786: result: yes" >&5 + echo "$as_me:8019: result: yes" >&5 echo "${ECHO_T}yes" >&6 else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 -echo "$as_me:7792: result: no" >&5 +echo "$as_me:8025: result: no" >&5 echo "${ECHO_T}no" >&6 cat >>confdefs.h <<\EOF @@ -7885,7 +8118,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:7888: creating $CONFIG_STATUS" >&5 +{ echo "$as_me:8121: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL @@ -8057,7 +8290,7 @@ cat >>$CONFIG_STATUS <<\EOF echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header - { { echo "$as_me:8060: error: ambiguous option: $1 + { { echo "$as_me:8293: 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;} @@ -8076,7 +8309,7 @@ Try \`$0 --help' for more information." ac_need_defaults=false;; # This is an error. - -*) { { echo "$as_me:8079: error: unrecognized option: $1 + -*) { { echo "$as_me:8312: 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;} @@ -8113,7 +8346,7 @@ do # Handling of arguments. "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;; "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;; - *) { { echo "$as_me:8116: error: invalid argument: $ac_config_target" >&5 + *) { { echo "$as_me:8349: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac @@ -8314,7 +8547,7 @@ done; } esac if test x"$ac_file" != x-; then - { echo "$as_me:8317: creating $ac_file" >&5 + { echo "$as_me:8550: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi @@ -8332,7 +8565,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:8335: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8568: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -8345,7 +8578,7 @@ echo "$as_me: error: cannot find input f echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:8348: error: cannot find input file: $f" >&5 + { { echo "$as_me:8581: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8405,7 +8638,7 @@ for ac_file in : $CONFIG_HEADERS; do tes * ) ac_file_in=$ac_file.in ;; esac - test x"$ac_file" != x- && { echo "$as_me:8408: creating $ac_file" >&5 + test x"$ac_file" != x- && { echo "$as_me:8641: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the @@ -8416,7 +8649,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:8419: error: cannot find input file: $f" >&5 + test -f "$f" || { { echo "$as_me:8652: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo $f;; @@ -8429,7 +8662,7 @@ echo "$as_me: error: cannot find input f echo $srcdir/$f else # /dev/null tree - { { echo "$as_me:8432: error: cannot find input file: $f" >&5 + { { echo "$as_me:8665: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; @@ -8546,7 +8779,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:8549: $ac_file is unchanged" >&5 + { echo "$as_me:8782: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ Index: src/tools/compat/configure.ac diff -u src/tools/compat/configure.ac:1.81 src/tools/compat/configure.ac:1.81.2.1 --- src/tools/compat/configure.ac:1.81 Thu Jan 9 11:26:58 2014 +++ src/tools/compat/configure.ac Sun Aug 10 06:57:39 2014 @@ -1,4 +1,4 @@ -# $NetBSD: configure.ac,v 1.81 2014/01/09 11:26:58 apb Exp $ +# $NetBSD: configure.ac,v 1.81.2.1 2014/08/10 06:57:39 tls Exp $ # # Autoconf definition file for libnbcompat. # @@ -176,6 +176,12 @@ AC_CHECK_DECLS([lchflags, lchmod, lchown #include <unistd.h> ]) +AC_CHECK_DECLS([errc, verrc, warnc, vwarnc],,, [ +#ifdef HAVE_ERR_H +#include <err.h> +#endif +]) + AC_CHECK_DECLS([htobe16, htobe32, htobe64, htole16, htole32, htole64, be16toh, be32toh, be64toh, le16toh, le32toh, le64toh],,, [#include <sys/types.h>]) Index: src/tools/compat/nbtool_config.h.in diff -u src/tools/compat/nbtool_config.h.in:1.34 src/tools/compat/nbtool_config.h.in:1.34.2.1 --- src/tools/compat/nbtool_config.h.in:1.34 Thu Jan 9 11:30:01 2014 +++ src/tools/compat/nbtool_config.h.in Sun Aug 10 06:57:39 2014 @@ -1,6 +1,6 @@ /* nbtool_config.h.in. Generated automatically from configure.ac by autoheader. */ -/* $NetBSD: nbtool_config.h.in,v 1.34 2014/01/09 11:30:01 apb Exp $ */ +/* $NetBSD: nbtool_config.h.in,v 1.34.2.1 2014/08/10 06:57:39 tls Exp $ */ #ifndef __NETBSD_NBTOOL_CONFIG_H__ #define __NETBSD_NBTOOL_CONFIG_H__ @@ -91,6 +91,10 @@ don't. */ #undef HAVE_DECL_BSWAP64 +/* Define to 1 if you have the declaration of `errc', and to 0 if you don't. + */ +#undef HAVE_DECL_ERRC + /* Define to 1 if you have the declaration of `fstatvfs', and to 0 if you don't. */ #undef HAVE_DECL_FSTATVFS @@ -223,6 +227,18 @@ don't. */ #undef HAVE_DECL_USER_FROM_UID +/* Define to 1 if you have the declaration of `verrc', and to 0 if you don't. + */ +#undef HAVE_DECL_VERRC + +/* Define to 1 if you have the declaration of `vwarnc', and to 0 if you don't. + */ +#undef HAVE_DECL_VWARNC + +/* Define to 1 if you have the declaration of `warnc', and to 0 if you don't. + */ +#undef HAVE_DECL_WARNC + /* Define if you have the `devname' function. */ #undef HAVE_DEVNAME