Commit 42551ffd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Tools: add m4

parent 9b01e561
......@@ -56,6 +56,7 @@ fi
check autoconf 2.67
check automake 1.11
check m4
check libtool 2.2
check pkg-config
check cmake
......
......@@ -16,6 +16,9 @@ AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.bz2
AUTOMAKE_VERSION=1.11.2
AUTOMAKE_URL=$(GNU)/automake/automake-$(AUTOMAKE_VERSION).tar.gz
M4_VERSION=1.4.16
M4_URL=$(GNU)/m4/m4-$(M4_VERSION).tar.gz
PKGCFG_VERSION=0.27.1-1
#PKGCFG_URL=http://downloads.videolan.org/pub/videolan/testing/contrib/pkg-config-$(PKGCFG_VERSION).tar.gz
PKGCFG_URL=http://sourceforge.net/projects/pkgconfiglite/files/$(PKGCFG_VERSION)/pkg-config-lite-$(PKGCFG_VERSION).tar.gz/download
......
......@@ -162,6 +162,23 @@ CLEAN_FILE += .automake
CLEAN_PKG += automake
DISTCLEAN_PKG += automake-$(AUTOMAKE_VERSION).tar.gz
# m4
m4-$(M4_VERSION).tar.gz:
$(call download,$(M4_URL))
m4: m4-$(M4_VERSION).tar.gz
$(UNPACK)
$(MOVE)
.m4: m4 .autoconf
(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
touch $@
CLEAN_FILE += .m4
CLEAN_PKG += m4
DISTCLEAN_PKG += m4-$(M4_VERSION).tar.gz
# pkg-config
pkg-config-$(PKGCFG_VERSION).tar.gz:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment