X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=autogen.sh;h=dcfe69a35f855b83dddab0d84a9359907288297d;hb=ee60a8350334e39e304228f227d393d136d3193b;hp=a419852aba38aaef29360fa90894c6f90846543f;hpb=4b41c85861f46f9986a1e5292125a955a7e64e33;p=hildon diff --git a/autogen.sh b/autogen.sh index a419852..dcfe69a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -31,6 +31,14 @@ fi } } +(gtkdocize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have gtk-doc installed to compile $PROJECT." + echo "Install the appropriate package for your distribution," + echo "or get the source tarball at http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/" + DIE=1 +} + (automake --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`automake' installed." @@ -40,7 +48,6 @@ fi NO_AUTOMAKE=yes } - # if no automake, don't bother testing for aclocal test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { echo @@ -75,6 +82,9 @@ if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then fi fi +echo "Running gtkdocize..." +gtkdocize || exit $? + echo "Running aclocal $ACLOCAL_FLAGS ..." aclocal $ACLOCAL_FLAGS || { echo