mkbd: turn into module
[gtk-doc.git] / autogen.sh
blob27d402558cea6ebe06fd3f0d3e2e3fa476351050
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 --verbose || exit $?
18 cd "$olddir"
19 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"