harfbuzz/autogen.sh

20 lines
399 B
Bash
Raw Normal View History

2009-11-02 21:28:39 +00: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 21:28:39 +00:00
olddir=`pwd`
2009-11-02 21:28:39 +00: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 21:28:39 +00:00
fi
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"