Module Name:    src
Committed By:   kre
Date:           Thu Oct 31 17:05:05 UTC 2024

Modified Files:
        src/tools/compat: compat_defs.h configure.ac

Log Message:
Include shquote() in configure tests


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/tools/compat/compat_defs.h
cvs rdiff -u -r1.107 -r1.108 src/tools/compat/configure.ac

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.122 src/tools/compat/compat_defs.h:1.123
--- src/tools/compat/compat_defs.h:1.122	Fri Jul 21 22:05:04 2023
+++ src/tools/compat/compat_defs.h	Thu Oct 31 17:05:05 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: compat_defs.h,v 1.122 2023/07/21 22:05:04 lukem Exp $	*/
+/*	$NetBSD: compat_defs.h,v 1.123 2024/10/31 17:05:05 kre Exp $	*/
 
 #ifndef	__NETBSD_COMPAT_DEFS_H__
 #define	__NETBSD_COMPAT_DEFS_H__
@@ -518,6 +518,9 @@ int pwcache_groupdb(int (*)(int), void (
     struct group * (*)(const char *), struct group * (*)(gid_t));
 #endif
 
+#if !HAVE_DECL_SHQUOTE
+size_t		shquote(const char *, char *, size_t);
+#endif
 #if !HAVE_DECL_STRLCAT
 size_t		strlcat(char *, const char *, size_t);
 #endif

Index: src/tools/compat/configure.ac
diff -u src/tools/compat/configure.ac:1.107 src/tools/compat/configure.ac:1.108
--- src/tools/compat/configure.ac:1.107	Thu Jul 20 16:21:23 2023
+++ src/tools/compat/configure.ac	Thu Oct 31 17:05:05 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: configure.ac,v 1.107 2023/07/20 16:21:23 lukem Exp $
+#	$NetBSD: configure.ac,v 1.108 2024/10/31 17:05:05 kre Exp $
 #
 # Autoconf definition file for libnbcompat.
 #
@@ -184,7 +184,7 @@ AC_CHECK_DECLS([asprintf, asnprintf, vas
 ])
 
 AC_CHECK_DECLS([atoll, heapsort, mkdtemp, mkstemp, reallocarr, reallocarray,
-	getsubopt, setenv, strtoi, strtoll, strtou, setprogname,
+	getsubopt, setenv, strtoi, strtoll, strtou, setprogname, shquote,
 	getprogname],,, [
 #include <stdlib.h>
 ])

Reply via email to