Make the XlibConf.h we generate compatible with the config.h the configure

script of libX11 generates.  That way if we choose to permanently generate
a config.h, we could just use it.
This commit is contained in:
cube 2008-10-27 20:24:10 +00:00
parent 2566edbdf7
commit e292797f3d
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2008/09/13 04:32:30 cube Exp $
# $NetBSD: Makefile,v 1.6 2008/10/27 20:24:10 cube Exp $
.include <bsd.own.mk>
@ -92,7 +92,7 @@ FILESDIR= ${X11LIBDIR}
XlibConf.h: XlibConf.h.in
${_MKTARGET_CREATE}
${TOOL_SED} 's/#undef XTHREADS/#define XTHREADS 1/; \
${TOOL_SED} 's/#undef XTHREADS/#define XTHREADS/; \
s/#undef XUSE_MTSAFE_API/#define XUSE_MTSAFE_API/ ' \
< ${.ALLSRC} > ${.TARGET}