gfx/harfbuzz/autogen.sh
author Jonathan Kew <jfkthame@gmail.com>
Tue, 14 Feb 2012 08:03:01 +0000
changeset 86785 392319d8c1fada29709b6d561224e874dede2b45
parent 57946 af5a5452cda4fd6e83e9d797f484feb0e2429393
child 319682 ea39ecf49414c920b402938cd1ddef62dbb18c01
permissions -rwxr-xr-x
bug 695857 - update harfbuzz code and adapt gfx/thebes for revised harfbuzz API. r=jdaggett harfbuzz library code from upstream harfbuzz-ng commit f51e167436a51b890ffe3f7f7920498fa287acd9; replaced HB_SCRIPT_* with MOZ_SCRIPT_* codes in gfx; adapted for changes to HB function signatures.

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