diff options
author | Cory Fields <theuni-nospam-@xbmc.org> | 2013-03-08 23:16:23 -0500 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2013-03-11 00:16:02 -0400 |
commit | 592d4c0b147ab05f2822c7ba5f4e9112784b6ce1 (patch) | |
tree | 690a46b49e80cc55c4329d5aebdfea917b0fc800 /tools/depends/bootstrap | |
parent | cdf099d0f824a787904d828c5573c70bf8489738 (diff) |
depends: add mess of depends
Diffstat (limited to 'tools/depends/bootstrap')
-rwxr-xr-x | tools/depends/bootstrap | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/depends/bootstrap b/tools/depends/bootstrap new file mode 100755 index 0000000000..d9e14e783f --- /dev/null +++ b/tools/depends/bootstrap @@ -0,0 +1,12 @@ +#!/bin/sh + +# Some platforms may not have m4/autoconf. If not, build temporary copies in +# order to bootstrap. +DEPENDS=`dirname $0` +export PATH=$DEPENDS/pre-build-deps/bin:$PATH +which m4 >/dev/null 2>/dev/null || make -C $DEPENDS/pre-depends/m4-pre-depends +which autoconf >/dev/null 2>/dev/null || make -C $DEPENDS/pre-depends/autoconf-pre-depends +which autoconf >/dev/null 2>/dev/null || \ + (echo "autoconf was not found and could not be built. Aborting." && exit 1) + +autoconf -f |