diff --git a/tools/compat/configure.ac b/tools/compat/configure.ac index fac6a69d1e76..9e37e0c23686 100644 --- a/tools/compat/configure.ac +++ b/tools/compat/configure.ac @@ -1,4 +1,4 @@ -# $NetBSD: configure.ac,v 1.106 2023/07/20 15:15:23 lukem Exp $ +# $NetBSD: configure.ac,v 1.107 2023/07/20 16:21:23 lukem Exp $ # # Autoconf definition file for libnbcompat. # @@ -228,7 +228,7 @@ AC_CHECK_FUNCS(atoll asprintf asnprintf basename devname dirfd dirname \ dprintf esetfunc fgetln flock fpurge __fpurge futimes getline \ getopt getopt_long group_from_gid gid_from_group \ heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \ - mkdtemp poll pread putc_unlocked pwcache_userdb pwcache_groupdb \ + mkdtemp poll posix_spawn pread putc_unlocked pwcache_userdb pwcache_groupdb \ pwrite raise_default_signal random reallocarr reallocarray setenv \ setgroupent setprogname setpassent \ snprintb_m snprintf strlcat strlcpy strmode \ diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile index e56c1bde2cf6..d7acc3820674 100644 --- a/usr.bin/xinstall/Makefile +++ b/usr.bin/xinstall/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2023/06/03 09:09:19 lukem Exp $ +# $NetBSD: Makefile,v 1.31 2023/07/20 16:21:23 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/6/93 .include @@ -11,7 +11,6 @@ MAN= install.1 CPPFLAGS+= -I${NETBSDSRCDIR}/usr.sbin/mtree .if (${HOSTPROG:U} == "") -CPPFLAGS+= -DHAVE_POSIX_SPAWN DPADD+= ${LIBUTIL} LDADD+= -lutil .endif diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index 097066dc9bcc..2fb7e010b0be 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -1,4 +1,4 @@ -/* $NetBSD: xinstall.c,v 1.126 2020/10/30 20:05:00 rillig Exp $ */ +/* $NetBSD: xinstall.c,v 1.127 2023/07/20 16:21:23 lukem Exp $ */ /* * Copyright (c) 1987, 1993 @@ -64,6 +64,7 @@ #include "nbtool_config.h" #else #define HAVE_FUTIMES 1 +#define HAVE_POSIX_SPAWN 1 #define HAVE_STRUCT_STAT_ST_FLAGS 1 #endif @@ -77,7 +78,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\ #if 0 static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93"; #else -__RCSID("$NetBSD: xinstall.c,v 1.126 2020/10/30 20:05:00 rillig Exp $"); +__RCSID("$NetBSD: xinstall.c,v 1.127 2023/07/20 16:21:23 lukem Exp $"); #endif #endif /* not lint */