xref: /netbsd-src/tools/autoconf/Makefile (revision b042dd28fea8028cb7ec7680fe56b7ca214ed438)
1#	$NetBSD: Makefile,v 1.6 2013/08/07 17:50:55 apb Exp $
2
3MODULE=		autoconf
4
5CONFIGURE_ARGS=	--program-prefix=${_TOOL_PREFIX}
6
7.include "${.CURDIR}/../Makefile.gnuhost"
8
9# This value of M4=... makes our ${TOOL_M4} emulate GNU M4.
10# Makefile.gnuhost stores a different value of M4=... in CONFIGURE_ENV,
11# so we have to append to CONFIGURE_ENV *after* including
12# Makefile.gnuhost.
13#
14CONFIGURE_ENV+=	M4=${TOOL_M4:Q}" -g -D__gnu__"
15