harfbuzz/autogen.sh

20 lines
399 B
Bash
Raw Normal View History

2009-11-02 22:28:39 +01:00
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.
2009-11-02 22:28:39 +01:00
olddir=`pwd`
2009-11-02 22:28:39 +01:00
cd $srcdir
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
echo "*** No autoreconf found, please install it ***"
exit 1
else
autoreconf --force --install || exit $?
2009-11-02 22:28:39 +01:00
fi
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"