Merge branch 'vuplus-1.6k' of code.vuplus.com:/opt/repository/openembedded into vuplu...
[vuplus_openembedded] / recipes / autoconf / autoconf.inc
1 DESCRIPTION = "A package of M4 macros to produce scripts to \
2 automatically configure sourcecode."
3 LICENSE = "GPL"
4 HOMEPAGE = "http://www.gnu.org/software/autoconf/"
5 SECTION = "devel"
6 DEPENDS += "m4-native"
7 RDEPENDS_${PN} = "m4 perl gnu-config"
8 INC_PR = "r8"
9
10 SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \
11            file://program_prefix.patch;patch=1"
12
13 inherit autotools
14
15 do_configure_prepend () {
16         if ${@['true', 'false'][bb.data.inherits_class('native', d)]}
17         then
18                 export ac_cv_path_PERL="${ac_cv_path_PERL=${bindir}/perl}"
19                 export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}"
20                 export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}"
21         fi
22 }