kumquat-buildroot/package/m4/m4.mk
Thomas Petazzoni adc8542d95 m4: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:39 +01:00

24 lines
603 B
Makefile

#############################################################
#
# m4
#
#############################################################
M4_VERSION = 1.4.9
M4_SOURCE = m4-$(M4_VERSION).tar.bz2
M4_SITE = $(BR2_GNU_MIRROR)/m4
ifeq ($(BR2_ENABLE_DEBUG),y) # no install-exec
M4_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
endif
M4_CONF_ENV = gl_cv_func_gettimeofday_clobber=no
ifneq ($(BR2_USE_WCHAR),y)
M4_CONF_ENV += gt_cv_c_wchar_t=no gl_cv_absolute_wchar_h=__fpending.h
endif
HOST_M4_CONF_OPT = --disable-static
$(eval $(call AUTOTARGETS,package,m4))
$(eval $(call AUTOTARGETS,package,m4,host))