Module Name: src
Committed By: sevan
Date: Sat Dec 9 04:23:22 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.87 -r1.88 src/tools/compat/configure
cvs rdiff -u -r1.41 -r1.42 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.87 src/tools/compat/configure:1.88
--- src/tools/compat/configure:1.87 Mon Oct 2 22:21:31 2017
+++ src/tools/compat/configure Sat Dec 9 04:23:22 2017
@@ -4520,6 +4520,19 @@ fi
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_ASPRINTF $ac_have_decl
_ACEOF
+ac_fn_c_check_decl "$LINENO" "asnprintf" "ac_cv_have_decl_asnprintf" "
+#include <stdio.h>
+
+"
+if test "x$ac_cv_have_decl_asnprintf" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ASNPRINTF $ac_have_decl
+_ACEOF
ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "
#include <stdio.h>
@@ -4999,6 +5012,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>
Index: src/tools/compat/nbtool_config.h.in
diff -u src/tools/compat/nbtool_config.h.in:1.41 src/tools/compat/nbtool_config.h.in:1.42
--- src/tools/compat/nbtool_config.h.in:1.41 Mon Oct 2 22:21:31 2017
+++ src/tools/compat/nbtool_config.h.in Sat Dec 9 04:23:22 2017
@@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
-/* $NetBSD: nbtool_config.h.in,v 1.41 2017/10/02 22:21:31 christos Exp $ */
+/* $NetBSD: nbtool_config.h.in,v 1.42 2017/12/09 04:23:22 sevan Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@@ -47,6 +47,10 @@
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
+/* Define to 1 if you have the declaration of `asnprintf', and to 0 if you
+ don't. */
+#undef HAVE_DECL_ASNPRINTF
+
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#undef HAVE_DECL_ASPRINTF