Module Name:    src
Committed By:   lukem
Date:           Tue May 30 18:31:55 UTC 2023

Modified Files:
        src/tools/compat: configure.ac defs.mk.in

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/tools/compat/configure.ac
cvs rdiff -u -r1.12 -r1.13 src/tools/compat/defs.mk.in

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/configure.ac
diff -u src/tools/compat/configure.ac:1.101 src/tools/compat/configure.ac:1.102
--- src/tools/compat/configure.ac:1.101	Mon May 29 21:30:42 2023
+++ src/tools/compat/configure.ac	Tue May 30 18:31:55 2023
@@ -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()

Index: src/tools/compat/defs.mk.in
diff -u src/tools/compat/defs.mk.in:1.12 src/tools/compat/defs.mk.in:1.13
--- src/tools/compat/defs.mk.in:1.12	Sun Dec  2 13:05:14 2012
+++ src/tools/compat/defs.mk.in	Tue May 30 18:31:55 2023
@@ -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@

Reply via email to