Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools/compat tools/compat: don't expose HAVE_PTHREAD_H to make



details:   https://anonhg.NetBSD.org/src/rev/af304048f0dc
branches:  trunk
changeset: 376071:af304048f0dc
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue May 30 18:31:55 2023 +0000

description:
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:

 tools/compat/configure.ac |  5 +----
 tools/compat/defs.mk.in   |  4 +---
 2 files changed, 2 insertions(+), 7 deletions(-)

diffs (32 lines):

diff -r 3be012de3759 -r af304048f0dc tools/compat/configure.ac
--- a/tools/compat/configure.ac Tue May 30 18:27:04 2023 +0000
+++ b/tools/compat/configure.ac Tue May 30 18:31:55 2023 +0000
@@ -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 -r 3be012de3759 -r af304048f0dc tools/compat/defs.mk.in
--- a/tools/compat/defs.mk.in   Tue May 30 18:27:04 2023 +0000
+++ b/tools/compat/defs.mk.in   Tue May 30 18:31:55 2023 +0000
@@ -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${NE
 DPADD+=                ${COMPATLIBDIR}/libnbcompat.a
 LDADD+=                -L${COMPATLIBDIR} -lnbcompat @LIBS@
 .endif # ! COMPATLIB_NO_LIB
-
-HAVE_PTHREAD_H=        @HAVE_PTHREAD_H@



Home | Main Index | Thread Index | Old Index