Process the scrollbar window in the timeout
[hildon] / autogen.sh
index f19db1f..8a0d915 100755 (executable)
@@ -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."