diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2010-04-30 02:24:11 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-02 09:37:15 +0200 |
commit | e411497c3a364add13105a91a79b5a96b18378e9 (patch) | |
tree | 464f6edd54459a718c62ae4312aca1be688bc1bc | |
parent | 21a74f14628d08141603ec8e6ba0756fedee7eca (diff) |
autoconf: add AUTOHEADER variable
autoheader is used by autoreconf, therefor we need to give the right
path to this tools for host/target autoreconfiguration.
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/autoconf/autoconf.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index d82c2c5c7..b7c1fe4d1 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -17,7 +17,7 @@ AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \ AUTOCONF_DEPENDENCIES = microperl host-m4 HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \ - ac_cv_prog_gnu_m4_gnu=no + ac_cv_prog_gnu_m4_gnu=no HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool @@ -26,4 +26,5 @@ $(eval $(call AUTOTARGETS,package,autoconf,host)) # variables used by other packages AUTOCONF:=$(HOST_DIR)/usr/bin/autoconf -AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" $(HOST_DIR)/usr/bin/autoreconf -v -f -i -I "$(ACLOCAL_DIR)" +AUTOHEADER:=$(HOST_DIR)/usr/bin/autoheader +AUTORECONF=$(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOHEADER="$(AUTOHEADER)" $(HOST_DIR)/usr/bin/autoreconf -v -f -i -I "$(ACLOCAL_DIR)" |