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 libtoolize... "
23 which glibtoolize || which libtoolize || {
24 echo "*** No libtoolize (libtool) found, please install it ***"
27 echo -n "checking for gtkdocize... "
28 if which gtkdocize ; then
29 gtkdocize --copy || exit 1
31 echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
32 echo "EXTRA_DIST = " > gtk-doc.make
35 echo -n "checking for autoreconf... "
37 echo "*** No autoreconf (autoconf) found, please install it ***"
41 echo "running autoreconf --force --install --verbose"
42 autoreconf --force --install --verbose || exit $?
45 echo "running configure $@"
46 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"