]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - autogen.sh
Make XServerXVNC extend XServerLocal
[sojka/lightdm.git] / autogen.sh
index 77900f60cd5fe5b035e5f8ee3f83e2e21b252291..ab1e8aa9fa035d7eb5dc3ed7e46c7a1fcec36afa 100755 (executable)
@@ -2,10 +2,20 @@
 # Run this to generate all the initial makefiles, etc.
 
 libtoolize --force --copy
-intltoolize --force
+intltoolize --force --copy
 gtkdocize --copy
 aclocal
 autoconf
 autoheader
 automake --add-missing --copy --foreign
-./configure $@
+
+YELP=`which yelp-build`
+if test -z $YELP; then
+  echo "*** The tools to build the documentation are not found,"
+  echo "    please install the yelp-tools package ***"
+  exit 1
+fi
+
+if [ -z "$NOCONFIGURE" ]; then
+    ./configure $@
+fi