Support GTK+ 3 cell properties
[gtk-doc.git] / autogen.sh
blob23de3f3f53939813e42f65975b94b87f6b322ea6
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 if gnome-doc-prepare --version < /dev/null > /dev/null 2>&1; then
11 echo "* Running gnome-doc-prepare"
12 gnome-doc-prepare --copy --force --automake
13 else
14 touch gnome-doc-utils.make
17 AUTORECONF=`which autoreconf`
18 if test -z $AUTORECONF; then
19 echo "*** No autoreconf found, please install it ***"
20 exit 1
21 else
22 autoreconf --force --install --verbose || exit $?
25 cd "$olddir"
26 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"