Module Name: src
Committed By: christos
Date: Sat Jan 7 21:31:07 UTC 2017
Modified Files:
src/tools/compat: configure nbtool_config.h.in
Log Message:
regen
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/tools/compat/configure
cvs rdiff -u -r1.39 -r1.40 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/configure
diff -u src/tools/compat/configure:1.85 src/tools/compat/configure:1.86
--- src/tools/compat/configure:1.85 Wed Oct 19 17:55:26 2016
+++ src/tools/compat/configure Sat Jan 7 16:31:07 2017
@@ -4113,7 +4113,7 @@ done
for ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \
- stdint.h util.h resolv.h arpa/nameser.h
+ libgen.h stdint.h util.h resolv.h arpa/nameser.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -4507,6 +4507,374 @@ fi
# Global variable decls.
+ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_asprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ASPRINTF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_vasprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_VASPRINTF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "vasnprintf" "ac_cv_have_decl_vasnprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_vasnprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_VASNPRINTF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_VSNPRINTF $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "fgetln" "ac_cv_have_decl_fgetln" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_fgetln" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_FGETLN $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "fparseln
+ getdelim" "ac_cv_have_decl_fparseln__getdelim" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_fparseln__getdelim" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_FPARSELN__GETDELIM $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_getline" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETLINE $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_snprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SNPRINTF $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "atoll" "ac_cv_have_decl_atoll" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_atoll" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ATOLL $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "heapsort" "ac_cv_have_decl_heapsort" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_heapsort" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_HEAPSORT $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "mkdtemp" "ac_cv_have_decl_mkdtemp" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_mkdtemp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_MKDTEMP $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "mkstemp" "ac_cv_have_decl_mkstemp" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_mkstemp" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_MKSTEMP $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "reallocarr" "ac_cv_have_decl_reallocarr" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_reallocarr" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_REALLOCARR $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_setenv" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SETENV $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "strtoi" "ac_cv_have_decl_strtoi" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_strtoi" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRTOI $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "strtoll" "ac_cv_have_decl_strtoll" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_strtoll" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRTOLL $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "strtou" "ac_cv_have_decl_strtou" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_strtou" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRTOU $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "setprogname" "ac_cv_have_decl_setprogname" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_setprogname" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_SETPROGNAME $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" "
+#include <stdlib.h>
+
+"
+if test "x$ac_cv_have_decl_getprogname" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETPROGNAME $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "
+#include <libgen.h>
+
+"
+if test "x$ac_cv_have_decl_basename" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_BASENAME $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "dirname" "ac_cv_have_decl_dirname" "
+#include <libgen.h>
+
+"
+if test "x$ac_cv_have_decl_dirname" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_DIRNAME $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "raise_default_signal" "ac_cv_have_decl_raise_default_signal" "
+#include <util.h>
+
+"
+if test "x$ac_cv_have_decl_raise_default_signal" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_RAISE_DEFAULT_SIGNAL $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "
+#include <unistd.h>
+
+"
+if test "x$ac_cv_have_decl_issetugid" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ISSETUGID $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "pread" "ac_cv_have_decl_pread" "
+#include <unistd.h>
+
+"
+if test "x$ac_cv_have_decl_pread" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PREAD $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "pwrite" "ac_cv_have_decl_pwrite" "
+#include <unistd.h>
+
+"
+if test "x$ac_cv_have_decl_pwrite" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_PWRITE $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "strmode" "ac_cv_have_decl_strmode" "
+#include <unistd.h>
+#include <string.h>
+
+"
+if test "x$ac_cv_have_decl_strmode" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRMODE $ac_have_decl
+_ACEOF
+
+
+ac_fn_c_check_decl "$LINENO" "isblank" "ac_cv_have_decl_isblank" "
+#include <ctype.h>
+
+"
+if test "x$ac_cv_have_decl_isblank" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ISBLANK $ac_have_decl
+_ACEOF
+
+
+
ac_fn_c_check_decl "$LINENO" "optind" "ac_cv_have_decl_optind" "
#include <stdio.h>
#include <stdlib.h>
@@ -4606,6 +4974,8 @@ else
# ifdef _MSC_VER
# include <malloc.h>
# define alloca _alloca
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
+# include <stdlib.h>
# else
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
@@ -4898,6 +5268,19 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRNLEN $ac_have_decl
_ACEOF
+ac_fn_c_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" "
+#include <string.h>
+
+"
+if test "x$ac_cv_have_decl_strsep" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRSEP $ac_have_decl
+_ACEOF
ac_fn_c_check_decl "$LINENO" "strsuftoll" "ac_cv_have_decl_strsuftoll" "#include <stdlib.h>
"
Index: src/tools/compat/nbtool_config.h.in
diff -u src/tools/compat/nbtool_config.h.in:1.39 src/tools/compat/nbtool_config.h.in:1.40
--- src/tools/compat/nbtool_config.h.in:1.39 Wed Oct 19 17:55:26 2016
+++ src/tools/compat/nbtool_config.h.in Sat Jan 7 16:31:07 2017
@@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
-/* $NetBSD: nbtool_config.h.in,v 1.39 2016/10/19 21:55:26 christos Exp $ */
+/* $NetBSD: nbtool_config.h.in,v 1.40 2017/01/07 21:31:07 christos Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@@ -47,6 +47,18 @@
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
+/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_ASPRINTF
+
+/* Define to 1 if you have the declaration of `atoll', and to 0 if you don't.
+ */
+#undef HAVE_DECL_ATOLL
+
+/* Define to 1 if you have the declaration of `basename', and to 0 if you
+ don't. */
+#undef HAVE_DECL_BASENAME
+
/* Define to 1 if you have the declaration of `be16dec', and to 0 if you
don't. */
#undef HAVE_DECL_BE16DEC
@@ -95,6 +107,10 @@
don't. */
#undef HAVE_DECL_BSWAP64
+/* Define to 1 if you have the declaration of `dirname', and to 0 if you
+ don't. */
+#undef HAVE_DECL_DIRNAME
+
/* Define to 1 if you have the declaration of `err', and to 0 if you don't. */
#undef HAVE_DECL_ERR
@@ -106,10 +122,26 @@
*/
#undef HAVE_DECL_ERRX
+/* Define to 1 if you have the declaration of `fgetln', and to 0 if you don't.
+ */
+#undef HAVE_DECL_FGETLN
+
+/* Define to 1 if you have the declaration of `fparseln getdelim', and to 0 if
+ you don't. */
+#undef HAVE_DECL_FPARSELN__GETDELIM
+
/* Define to 1 if you have the declaration of `fstatvfs', and to 0 if you
don't. */
#undef HAVE_DECL_FSTATVFS
+/* Define to 1 if you have the declaration of `getline', and to 0 if you
+ don't. */
+#undef HAVE_DECL_GETLINE
+
+/* Define to 1 if you have the declaration of `getprogname', and to 0 if you
+ don't. */
+#undef HAVE_DECL_GETPROGNAME
+
/* Define to 1 if you have the declaration of `gid_from_group', and to 0 if
you don't. */
#undef HAVE_DECL_GID_FROM_GROUP
@@ -118,6 +150,10 @@
you don't. */
#undef HAVE_DECL_GROUP_FROM_GID
+/* Define to 1 if you have the declaration of `heapsort', and to 0 if you
+ don't. */
+#undef HAVE_DECL_HEAPSORT
+
/* Define to 1 if you have the declaration of `htobe16', and to 0 if you
don't. */
#undef HAVE_DECL_HTOBE16
@@ -142,6 +178,14 @@
don't. */
#undef HAVE_DECL_HTOLE64
+/* Define to 1 if you have the declaration of `isblank', and to 0 if you
+ don't. */
+#undef HAVE_DECL_ISBLANK
+
+/* Define to 1 if you have the declaration of `issetugid', and to 0 if you
+ don't. */
+#undef HAVE_DECL_ISSETUGID
+
/* Define to 1 if you have the declaration of `lchflags', and to 0 if you
don't. */
#undef HAVE_DECL_LCHFLAGS
@@ -194,6 +238,14 @@
you don't. */
#undef HAVE_DECL_MI_VECTOR_HASH
+/* Define to 1 if you have the declaration of `mkdtemp', and to 0 if you
+ don't. */
+#undef HAVE_DECL_MKDTEMP
+
+/* Define to 1 if you have the declaration of `mkstemp', and to 0 if you
+ don't. */
+#undef HAVE_DECL_MKSTEMP
+
/* Define to 1 if you have the declaration of `optind', and to 0 if you don't.
*/
#undef HAVE_DECL_OPTIND
@@ -202,6 +254,10 @@
don't. */
#undef HAVE_DECL_OPTRESET
+/* Define to 1 if you have the declaration of `pread', and to 0 if you don't.
+ */
+#undef HAVE_DECL_PREAD
+
/* Define to 1 if you have the declaration of `pwcache_groupdb', and to 0 if
you don't. */
#undef HAVE_DECL_PWCACHE_GROUPDB
@@ -210,6 +266,22 @@
you don't. */
#undef HAVE_DECL_PWCACHE_USERDB
+/* Define to 1 if you have the declaration of `pwrite', and to 0 if you don't.
+ */
+#undef HAVE_DECL_PWRITE
+
+/* Define to 1 if you have the declaration of `raise_default_signal', and to 0
+ if you don't. */
+#undef HAVE_DECL_RAISE_DEFAULT_SIGNAL
+
+/* Define to 1 if you have the declaration of `reallocarr', and to 0 if you
+ don't. */
+#undef HAVE_DECL_REALLOCARR
+
+/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't.
+ */
+#undef HAVE_DECL_SETENV
+
/* Define to 1 if you have the declaration of `setgroupent', and to 0 if you
don't. */
#undef HAVE_DECL_SETGROUPENT
@@ -218,6 +290,14 @@
don't. */
#undef HAVE_DECL_SETPASSENT
+/* Define to 1 if you have the declaration of `setprogname', and to 0 if you
+ don't. */
+#undef HAVE_DECL_SETPROGNAME
+
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_SNPRINTF
+
/* Define to 1 if you have the declaration of `strlcat', and to 0 if you
don't. */
#undef HAVE_DECL_STRLCAT
@@ -226,6 +306,10 @@
don't. */
#undef HAVE_DECL_STRLCPY
+/* Define to 1 if you have the declaration of `strmode', and to 0 if you
+ don't. */
+#undef HAVE_DECL_STRMODE
+
/* Define to 1 if you have the declaration of `strndup', and to 0 if you
don't. */
#undef HAVE_DECL_STRNDUP
@@ -234,10 +318,26 @@
don't. */
#undef HAVE_DECL_STRNLEN
+/* Define to 1 if you have the declaration of `strsep', and to 0 if you don't.
+ */
+#undef HAVE_DECL_STRSEP
+
/* Define to 1 if you have the declaration of `strsuftoll', and to 0 if you
don't. */
#undef HAVE_DECL_STRSUFTOLL
+/* Define to 1 if you have the declaration of `strtoi', and to 0 if you don't.
+ */
+#undef HAVE_DECL_STRTOI
+
+/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
+ don't. */
+#undef HAVE_DECL_STRTOLL
+
+/* Define to 1 if you have the declaration of `strtou', and to 0 if you don't.
+ */
+#undef HAVE_DECL_STRTOU
+
/* Define to 1 if you have the declaration of `sys_signame', and to 0 if you
don't. */
#undef HAVE_DECL_SYS_SIGNAME
@@ -250,6 +350,14 @@
don't. */
#undef HAVE_DECL_USER_FROM_UID
+/* Define to 1 if you have the declaration of `vasnprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_VASNPRINTF
+
+/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_VASPRINTF
+
/* Define to 1 if you have the declaration of `verrc', and to 0 if you don't.
*/
#undef HAVE_DECL_VERRC
@@ -258,6 +366,10 @@
*/
#undef HAVE_DECL_VERRX
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_VSNPRINTF
+
/* Define to 1 if you have the declaration of `vwarnc', and to 0 if you don't.
*/
#undef HAVE_DECL_VWARNC