diff options
| author | lukem <lukem@NetBSD.org> | 2023-05-30 18:31:55 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2023-05-30 18:31:55 +0000 |
| commit | 9c61759d099bd04b84529e53d84254a55e438c0e (patch) | |
| tree | 9a48d4a672b896dd174aa74465d527c7847312fb /tools | |
| parent | f4be9f9936fc281d693089928bc2383ab16bd6a1 (diff) | |
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.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/compat/configure.ac | 5 | ||||
| -rw-r--r-- | tools/compat/defs.mk.in | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/tools/compat/configure.ac b/tools/compat/configure.ac index 2f16d9f695b..315ab4ae1b5 100644 --- a/tools/compat/configure.ac +++ b/tools/compat/configure.ac @@ -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() diff --git a/tools/compat/defs.mk.in b/tools/compat/defs.mk.in index eb5a48a67d1..25f705fba78 100644 --- a/tools/compat/defs.mk.in +++ b/tools/compat/defs.mk.in @@ -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@ |
