blob: d5e4732aa764998b89eacb1000a7e099b43a6ba0 (
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
27
28
29
30
|
# $NetBSD: autoconf.mk,v 1.2 2002/10/02 18:56:47 dillo 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
.if ${AUTOCONF_REQD:M2.1[0-9]*} == ""
BUILD_DEPENDS+= autoconf>=${AUTOCONF_REQD}:../../devel/autoconf-devel
AUTOCONF= ${LOCALBASE}/bin/autoconf
AUTORECONF= ${LOCALBASE}/bin/autoreconf
AUTOHEADER= ${LOCALBASE}/bin/autoheader
.else
BUILD_DEPENDS+= autoconf>=${AUTOCONF_REQD}:../../devel/autoconf
AUTOCONF= ${LOCALBASE}/bin/autoconf
AUTORECONF= ${LOCALBASE}/bin/autoreconf
AUTOHEADER= ${LOCALBASE}/bin/autoheader
.endif
.endif # AUTOCONF_MK
|