gfx/harfbuzz/autogen.sh
author ffxbld
Tue, 13 Jun 2017 08:39:45 -0700
changeset 313012 dcc6d7a0dc0056f23d4f0564b708513836961f1a
parent 89681 392319d8c1fada29709b6d561224e874dede2b45
permissions -rwxr-xr-x
No bug, Automated HPKP preload list update from host bld-linux64-spot-381 - a=hpkp-update

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