diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2014-04-07 09:55:17 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-04-08 17:43:07 +0200 |
commit | db749feb97c5753c96e9975b8b751ba9a34ecb3a (patch) | |
tree | e6f164fcd96660a48f15b1555ce9ac929c6206b3 /rules/host-m4.make | |
parent | 5977ca82cc354cdfa22ad6efb29db3726a93be43 (diff) | |
download | ptxdist-db749feb97c5753c96e9975b8b751ba9a34ecb3a.tar.gz ptxdist-db749feb97c5753c96e9975b8b751ba9a34ecb3a.tar.xz |
host-m4: provide a recent version to make the autotools happy
Since commit 5ef597fcaa290267e8cffe33b60b870cda0d52fa the autotools-autoconf
package forces a very specific and recent M4 version. Otherwise it fails
with:
checking for GNU M4 that supports accurate traces...
configure: error: no acceptable m4 could be found in $PATH.
GNU M4 1.4.6 or later is required; 1.4.16 or newer is recommended.
GNU M4 1.4.15 uses a buggy replacement strstr on some systems.
Glibc 2.9 - 2.12 and GNU M4 1.4.11 - 1.4.15 have another strstr bug.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-m4.make')
-rw-r--r-- | rules/host-m4.make | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/rules/host-m4.make b/rules/host-m4.make new file mode 100644 index 000000000..d7a5de3e0 --- /dev/null +++ b/rules/host-m4.make @@ -0,0 +1,36 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Juergen Beisert <jbe@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_M4) += host-m4 + +# +# Paths and names +# +HOST_M4_VERSION := 1.4.17 +HOST_M4_MD5 := 12a3c829301a4fd6586a57d3fcf196dc +HOST_M4 := m4-$(HOST_M4_VERSION) +HOST_M4_SUFFIX := tar.xz +HOST_M4_URL := http://ftp.gnu.org/gnu/m4/$(HOST_M4).$(HOST_M4_SUFFIX) +HOST_M4_SOURCE := $(SRCDIR)/$(HOST_M4).$(HOST_M4_SUFFIX) +HOST_M4_DIR := $(HOST_BUILDDIR)/$(HOST_M4) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +HOST_M4_CONF_TOOL := autoconf + +# vim: syntax=make |