Module Name: src
Committed By: christos
Date: Mon Oct 2 22:21:31 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.86 -r1.87 src/tools/compat/configure
cvs rdiff -u -r1.40 -r1.41 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.86 src/tools/compat/configure:1.87
--- src/tools/compat/configure:1.86 Sat Jan 7 16:31:07 2017
+++ src/tools/compat/configure Mon Oct 2 18:21:31 2017
@@ -4097,7 +4097,7 @@ fi
fi
-for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h \
+for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \
getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h rpc/types.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -4572,19 +4572,44 @@ 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" "
+ac_fn_c_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" "
#include <stdio.h>
"
-if test "x$ac_cv_have_decl_fparseln__getdelim" = xyes; then :
+if test "x$ac_cv_have_decl_fparseln" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_FPARSELN__GETDELIM $ac_have_decl
+#define HAVE_DECL_FPARSELN $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_fpurge" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_FPURGE $ac_have_decl
+_ACEOF
+ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_getdelim" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETDELIM $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "
#include <stdio.h>
@@ -4974,8 +4999,6 @@ 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>
Index: src/tools/compat/nbtool_config.h.in
diff -u src/tools/compat/nbtool_config.h.in:1.40 src/tools/compat/nbtool_config.h.in:1.41
--- src/tools/compat/nbtool_config.h.in:1.40 Sat Jan 7 16:31:07 2017
+++ src/tools/compat/nbtool_config.h.in Mon Oct 2 18:21:31 2017
@@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
-/* $NetBSD: nbtool_config.h.in,v 1.40 2017/01/07 21:31:07 christos Exp $ */
+/* $NetBSD: nbtool_config.h.in,v 1.41 2017/10/02 22:21:31 christos Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@@ -126,14 +126,22 @@
*/
#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 `fparseln', and to 0 if you
+ don't. */
+#undef HAVE_DECL_FPARSELN
+
+/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't.
+ */
+#undef HAVE_DECL_FPURGE
/* 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 `getdelim', and to 0 if you
+ don't. */
+#undef HAVE_DECL_GETDELIM
+
/* Define to 1 if you have the declaration of `getline', and to 0 if you
don't. */
#undef HAVE_DECL_GETLINE
@@ -613,6 +621,9 @@
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
+/* Define to 1 if you have the <stdio_ext.h> header file. */
+#undef HAVE_STDIO_EXT_H
+
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H