summaryrefslogtreecommitdiff
path: root/package/m4/m4.mk
blob: 1e891c50f74ce75afb6c165c5d964a45e422c5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# m4
#
#############################################################

M4_VERSION = 1.4.16
M4_SOURCE = m4-$(M4_VERSION).tar.bz2
M4_SITE = $(BR2_GNU_MIRROR)/m4
M4_LICENSE = GPLv3+
M4_LICENSE_FILES = COPYING
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))
$(eval $(call AUTOTARGETS,host))