X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=autogen.sh;h=8a0d91517951e01e40e857c163961c7ba9699a62;hb=735d2fafc4b643ffc8a95a2da9fb52f5e099fadc;hp=f19db1ffe6b296ec85cc7c9a596e9d8512bfcff1;hpb=4da26a107e4eebff76a85d3341a4b97a87b94d51;p=hildon diff --git a/autogen.sh b/autogen.sh index f19db1f..8a0d915 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 @@ -55,7 +62,7 @@ if test "$DIE" -eq 1; then exit 1 fi -if test -z "$*"; then +if [ -z "$*" -a "x$NOCONFIGURE" = "x" ]; then echo "**Warning**: I am going to run \`configure' with no arguments." echo "If you wish to pass any to it, please specify them on the" echo \`$0\'" command line."