From 545c64cdd4bd9009720cb2ca4975844890a03a4b Mon Sep 17 00:00:00 2001 From: kre Date: Thu, 31 Oct 2024 17:06:17 +0000 Subject: [PATCH] Regen for added shquote() --- tools/compat/configure | 13 +++++++++++++ tools/compat/nbtool_config.h.in | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/tools/compat/configure b/tools/compat/configure index a856f2fb53c6..9fea05685fb7 100755 --- a/tools/compat/configure +++ b/tools/compat/configure @@ -4931,6 +4931,19 @@ fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_SETPROGNAME $ac_have_decl _ACEOF +ac_fn_c_check_decl "$LINENO" "shquote" "ac_cv_have_decl_shquote" " +#include + +" +if test "x$ac_cv_have_decl_shquote" = xyes; then : + ac_have_decl=1 +else + ac_have_decl=0 +fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SHQUOTE $ac_have_decl +_ACEOF ac_fn_c_check_decl "$LINENO" "getprogname" "ac_cv_have_decl_getprogname" " #include diff --git a/tools/compat/nbtool_config.h.in b/tools/compat/nbtool_config.h.in index 5de8842de353..af5755479194 100644 --- a/tools/compat/nbtool_config.h.in +++ b/tools/compat/nbtool_config.h.in @@ -1,6 +1,6 @@ /* nbtool_config.h.in. Generated from configure.ac by autoheader. */ -/* $NetBSD: nbtool_config.h.in,v 1.56 2023/07/20 16:22:30 lukem Exp $ */ +/* $NetBSD: nbtool_config.h.in,v 1.57 2024/10/31 17:06:17 kre Exp $ */ #ifndef __NETBSD_NBTOOL_CONFIG_H__ #define __NETBSD_NBTOOL_CONFIG_H__ @@ -314,6 +314,10 @@ don't. */ #undef HAVE_DECL_SETPROGNAME +/* Define to 1 if you have the declaration of `shquote', and to 0 if you + don't. */ +#undef HAVE_DECL_SHQUOTE + /* Define to 1 if you have the declaration of `snprintf', and to 0 if you don't. */ #undef HAVE_DECL_SNPRINTF