2 # Run this to generate all the initial makefiles, etc.
4 test -n "$srcdir" || srcdir=`dirname "$0"`
5 test -n "$srcdir" || srcdir=.
10 echo -n "checking for ragel... "
12 echo "You need to install ragel... See http://www.complang.org/ragel/"
16 echo -n "checking for pkg-config... "
18 echo "*** No pkg-config found, please install it ***"
22 echo -n "checking for gtkdocize... "
23 if which gtkdocize ; then
24 gtkdocize --copy || exit 1
26 echo "*** No gtkdocize found, skipping documentation ***"
27 echo "EXTRA_DIST = " > gtk-doc.make
30 echo -n "checking for autoreconf... "
32 echo "*** No autoreconf found, please install it ***"
36 echo "running autoreconf --force --install --verbose"
37 autoreconf --force --install --verbose || exit $?
40 echo "running configure $@"
41 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"