gfx/harfbuzz/autogen.sh

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/harfbuzz/autogen.sh	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +#!/bin/sh
     1.5 +# Run this to generate all the initial makefiles, etc.
     1.6 +
     1.7 +test -n "$srcdir" || srcdir=`dirname "$0"`
     1.8 +test -n "$srcdir" || srcdir=.
     1.9 +
    1.10 +olddir=`pwd`
    1.11 +cd $srcdir
    1.12 +
    1.13 +echo -n "checking for ragel... "
    1.14 +which ragel || {
    1.15 +	echo "You need to install ragel... See http://www.complang.org/ragel/"
    1.16 +	exit 1
    1.17 +}
    1.18 +
    1.19 +echo -n "checking for pkg-config... "
    1.20 +which pkg-config || {
    1.21 +	echo "*** No pkg-config found, please install it ***"
    1.22 +	exit 1
    1.23 +}
    1.24 +
    1.25 +echo -n "checking for autoreconf... "
    1.26 +which autoreconf || {
    1.27 +	echo "*** No autoreconf found, please install it ***"
    1.28 +	exit 1
    1.29 +}
    1.30 +
    1.31 +echo "running autoreconf --force --install --verbose"
    1.32 +autoreconf --force --install --verbose || exit $?
    1.33 +
    1.34 +cd $olddir
    1.35 +echo "running configure $@"
    1.36 +test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

mercurial