From 421129c9b2ae62557ef0afdcd82c0da750a1e000 Mon Sep 17 00:00:00 2001 From: konablend Date: Fri, 7 Sep 2012 20:10:37 +0000 Subject: Add autotools { autoconf, automake, libtool } as contribs. Primarily necessary for OSX platform after Xcode 4.2.x, but also useful for any platform which is missing or has obsolete versions. 1. add configure option: --enable-local-autotools 2. --enable-local-autotools is automatically TRUE when any of { autoconf, automake, libtool } are not found in path. 3. --enable-local-autotools causes contribs of { m4, autoconf, automake, lib tool } to be built 4. add m4 to contrib (prerequisite for autoconf) 5. add autoconf to contrib (prerequisite for automaker and many contribs) 6. add automake to contrib (prerequisite for many contribs) 7. add libtool to contrib (prerequisite for many contribs) 8. All contribs (except the autotools themselves) automatically mark autotools as a prerequisite. 9. $(AUTOTOOL_MODULES) is available if other non-contrib modules need to mark as prerequisite. 10. PATH is automatically prefixed with contrib/bin for all modules, all targets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4933 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/autoconf/module.defs | 4 ++++ contrib/autoconf/module.rules | 2 ++ contrib/automake/module.defs | 4 ++++ contrib/automake/module.rules | 2 ++ contrib/libtool/module.defs | 4 ++++ contrib/libtool/module.rules | 2 ++ contrib/m4/module.defs | 4 ++++ contrib/m4/module.rules | 2 ++ 8 files changed, 24 insertions(+) create mode 100644 contrib/autoconf/module.defs create mode 100644 contrib/autoconf/module.rules create mode 100644 contrib/automake/module.defs create mode 100644 contrib/automake/module.rules create mode 100644 contrib/libtool/module.defs create mode 100644 contrib/libtool/module.rules create mode 100644 contrib/m4/module.defs create mode 100644 contrib/m4/module.rules (limited to 'contrib') diff --git a/contrib/autoconf/module.defs b/contrib/autoconf/module.defs new file mode 100644 index 000000000..c1c4140d9 --- /dev/null +++ b/contrib/autoconf/module.defs @@ -0,0 +1,4 @@ +$(eval $(call import.MODULE.defs,AUTOCONF,autoconf,M4)) +$(eval $(call import.CONTRIB.defs,AUTOCONF)) + +AUTOCONF.FETCH.url = http://download.handbrake.fr/handbrake/contrib/autoconf-2.69.tar.bz2 diff --git a/contrib/autoconf/module.rules b/contrib/autoconf/module.rules new file mode 100644 index 000000000..3132ae5a0 --- /dev/null +++ b/contrib/autoconf/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,AUTOCONF)) +$(eval $(call import.CONTRIB.rules,AUTOCONF)) diff --git a/contrib/automake/module.defs b/contrib/automake/module.defs new file mode 100644 index 000000000..e553257da --- /dev/null +++ b/contrib/automake/module.defs @@ -0,0 +1,4 @@ +$(eval $(call import.MODULE.defs,AUTOMAKE,automake,AUTOCONF)) +$(eval $(call import.CONTRIB.defs,AUTOMAKE)) + +AUTOMAKE.FETCH.url = http://download.handbrake.fr/handbrake/contrib/automake-1.12.3.tar.bz2 diff --git a/contrib/automake/module.rules b/contrib/automake/module.rules new file mode 100644 index 000000000..a33554e9c --- /dev/null +++ b/contrib/automake/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,AUTOMAKE)) +$(eval $(call import.CONTRIB.rules,AUTOMAKE)) diff --git a/contrib/libtool/module.defs b/contrib/libtool/module.defs new file mode 100644 index 000000000..492a36e70 --- /dev/null +++ b/contrib/libtool/module.defs @@ -0,0 +1,4 @@ +$(eval $(call import.MODULE.defs,LIBTOOL,libtool,AUTOCONF AUTOMAKE)) +$(eval $(call import.CONTRIB.defs,LIBTOOL)) + +LIBTOOL.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libtool-2.4.2.tar.bz2 diff --git a/contrib/libtool/module.rules b/contrib/libtool/module.rules new file mode 100644 index 000000000..875b4594e --- /dev/null +++ b/contrib/libtool/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,LIBTOOL)) +$(eval $(call import.CONTRIB.rules,LIBTOOL)) diff --git a/contrib/m4/module.defs b/contrib/m4/module.defs new file mode 100644 index 000000000..1fd5b0aa4 --- /dev/null +++ b/contrib/m4/module.defs @@ -0,0 +1,4 @@ +$(eval $(call import.MODULE.defs,M4,m4)) +$(eval $(call import.CONTRIB.defs,M4)) + +M4.FETCH.url = http://download.handbrake.fr/handbrake/contrib/m4-1.4.16.tar.bz2 diff --git a/contrib/m4/module.rules b/contrib/m4/module.rules new file mode 100644 index 000000000..69c279563 --- /dev/null +++ b/contrib/m4/module.rules @@ -0,0 +1,2 @@ +$(eval $(call import.MODULE.rules,M4)) +$(eval $(call import.CONTRIB.rules,M4)) -- cgit v1.2.3