summaryrefslogtreecommitdiff
path: root/mk/autoconf.mk
blob: a0010d2b4e636d16cb7c8440ef2d9c1ff6ac4efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: autoconf.mk,v 1.8 2005/05/22 19:11:12 jlam Exp $
#
# makefile fragment for packages that use autoconf
# AUTOCONF_REQD can be set to the minimum version required.
# It adds a build dependency on the appropriate autoconf package
# and sets the following variables:
#	AUTOCONF:	autoconf binary to use
#	AUTORECONF:	autoreconf binary to use
#	AUTOHEADER:	autoheader binary to use
#

.if !defined(AUTOCONF_MK)
AUTOCONF_MK=	# defined

# minimal required version
AUTOCONF_REQD?= 2.50

.include "../../mk/bsd.prefs.mk"

.if empty(AUTOCONF_REQD:M2.1[0-9]*)
USE_TOOLS+=		autoconf
.else
USE_TOOLS+=		autoconf213
.endif

.endif # AUTOCONF_MK