tools/compat: don't expose HAVE_PTHREAD_H to make
Non of the tools Makefiles needs HAVE_PTHREAD_H, so don't AC_SUBST it or provide in defs.mk.
This commit is contained in:
parent
f7d6f1b13f
commit
c578bb77d2
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: configure.ac,v 1.101 2023/05/29 21:30:42 lukem Exp $
|
||||
# $NetBSD: configure.ac,v 1.102 2023/05/30 18:31:55 lukem Exp $
|
||||
#
|
||||
# Autoconf definition file for libnbcompat.
|
||||
#
|
||||
|
@ -321,7 +321,4 @@ main(void)
|
|||
)
|
||||
])
|
||||
|
||||
# Variables substituted via @VARNAME@ in defs.mk.in
|
||||
AC_SUBST(HAVE_PTHREAD_H, $ac_cv_header_pthread_h)
|
||||
|
||||
AC_OUTPUT()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: defs.mk.in,v 1.12 2012/12/02 13:05:14 apb Exp $
|
||||
# $NetBSD: defs.mk.in,v 1.13 2023/05/30 18:31:55 lukem Exp $
|
||||
#
|
||||
# Makefile fragment for building with libnbcompat and associated
|
||||
# include files. It can also be used for building just with
|
||||
|
@ -83,5 +83,3 @@ HOST_CPPFLAGS+= ${COMPATINCFLAGS} -I${NETBSDSRCDIR}/tools/compat \
|
|||
DPADD+= ${COMPATLIBDIR}/libnbcompat.a
|
||||
LDADD+= -L${COMPATLIBDIR} -lnbcompat @LIBS@
|
||||
.endif # ! COMPATLIB_NO_LIB
|
||||
|
||||
HAVE_PTHREAD_H= @HAVE_PTHREAD_H@
|
||||
|
|
Loading…
Reference in New Issue