2003-01-09 03:34:10 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# autoconf
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-12-15 15:34:55 +01:00
|
|
|
AUTOCONF_VERSION = 2.65
|
2009-03-23 22:46:43 +01:00
|
|
|
AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.bz2
|
|
|
|
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
|
2007-06-28 15:51:07 +02:00
|
|
|
|
2009-03-23 22:46:43 +01:00
|
|
|
ifeq ($(BR2_ENABLE_DEBUG),y) # install-exec doesn't install aclocal stuff
|
|
|
|
AUTOCONF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
2007-09-17 14:30:31 +02:00
|
|
|
endif
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2009-12-01 12:18:38 +01:00
|
|
|
AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
|
|
|
ac_cv_prog_gnu_m4_gnu=no
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2009-12-04 14:23:39 +01:00
|
|
|
AUTOCONF_DEPENDENCIES = microperl host-m4
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2009-11-01 23:38:33 +01:00
|
|
|
HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
|
|
|
ac_cv_prog_gnu_m4_gnu=no
|
|
|
|
|
|
|
|
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
2003-01-09 03:34:10 +01:00
|
|
|
|
2009-11-01 23:38:33 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,autoconf))
|
|
|
|
$(eval $(call AUTOTARGETS,package,autoconf,host))
|
2009-03-23 22:46:43 +01:00
|
|
|
|
|
|
|
# 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)"
|