d2be9be63d
When building autoconf for the target, we already passed EMACS="no" to prevent autoconf from building Emacs mode files. But we weren't doing that when building autoconf for the host. This causes problems when 'emacs' is not really emacs, but a sort of clone like Jove. So we also pass EMACS="no" when building host-autoconf to avoid autoconf ./configure script from detecting emacs and then use it to build .elc files from .el source code. Reported-by: Spielmann Werner <Werner.Spielmann@swarovski.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
30 lines
1014 B
Makefile
30 lines
1014 B
Makefile
#############################################################
|
|
#
|
|
# autoconf
|
|
#
|
|
#############################################################
|
|
|
|
AUTOCONF_VERSION = 2.68
|
|
AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf
|
|
|
|
AUTOCONF_LICENSE = GPLv3+ with exceptions
|
|
AUTOCONF_LICENSE_FILES = COPYINGv3 COPYING.EXCEPTION
|
|
|
|
AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
|
ac_cv_prog_gnu_m4_gnu=no
|
|
|
|
AUTOCONF_DEPENDENCIES = host-m4 perl
|
|
|
|
HOST_AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
|
|
ac_cv_prog_gnu_m4_gnu=no
|
|
|
|
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
|
|
# variables used by other packages
|
|
AUTOCONF = $(HOST_DIR)/usr/bin/autoconf
|
|
AUTOHEADER = $(HOST_DIR)/usr/bin/autoheader
|
|
AUTORECONF = $(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" AUTOPOINT=/bin/true $(HOST_DIR)/usr/bin/autoreconf -f -i -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)"
|