gfx/harfbuzz/autogen.sh
author Dão Gottwald <dao@mozilla.com>
Sat, 08 Nov 2014 20:30:00 +0100
changeset 235082 11deca361be25acccbaa336f870ed2a1c9d871dc
parent 90072 392319d8c1fada29709b6d561224e874dede2b45
child 364927 ea39ecf49414c920b402938cd1ddef62dbb18c01
permissions -rwxr-xr-x
Bug 1093368 - Customize mode theme picker shouldn't pass the default theme object to LightweightThemeManager.previewTheme. r=jaws, a=lsblakk

#!/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" "$@"