gfx/harfbuzz/autogen.sh
author Dan Mosedale <dmose@meer.net>
Fri, 07 Nov 2014 13:59:09 -0800
changeset 226083 1b52d3719b7f25ca1448cd44ccc2f7b3306e7c36
parent 86802 392319d8c1fada29709b6d561224e874dede2b45
child 430409 ea39ecf49414c920b402938cd1ddef62dbb18c01
permissions -rwxr-xr-x
Bug 1093931 - Update Loop mocha unit test framework to v2.0.1, which supports Promises, r=Standard8

#!/bin/sh
# Run this to generate all the initial makefiles, etc.

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

echo -n "checking for ragel... "
which ragel || {
	echo "You need to install ragel... See http://www.complang.org/ragel/"
	exit 1
}

echo -n "checking for pkg-config... "
which pkg-config || {
	echo "*** No pkg-config found, please install it ***"
	exit 1
}

echo -n "checking for autoreconf... "
which autoreconf || {
	echo "*** No autoreconf found, please install it ***"
	exit 1
}

echo "running autoreconf --force --install --verbose"
autoreconf --force --install --verbose || exit $?

cd $olddir
echo "running configure $@"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"