Add some of Adam's suggestions to the TODO list.
[ttfautohint.git] / autogen.sh
blobf207aa7410b83402568fa1cd0a5e97fa89be1fbf
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
7 olddir=`pwd`
8 cd $srcdir
10 AUTORECONF=`which autoreconf`
11 if test -z $AUTORECONF; then
12 echo "*** No autoreconf found, please install it ***"
13 exit 1
14 else
15 autoreconf --force --install || exit $?
18 cd $olddir
19 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"