Imported Upstream version 0.9.35
[platform/upstream/harfbuzz.git] / autogen.sh
index 47640c3..a267f29 100755 (executable)
@@ -7,12 +7,26 @@ test -n "$srcdir" || srcdir=.
 olddir=`pwd`
 cd $srcdir
 
+echo -n "checking for ragel... "
+which ragel || {
+       echo "You need to install ragel... See http://www.complang.org/ragel/"
+       exit 1
+}
+
 echo -n "checking for pkg-config... "
 which pkg-config || {
        echo "*** No pkg-config found, please install it ***"
        exit 1
 }
 
+echo -n "checking for gtkdocize... "
+if which gtkdocize ; then
+       gtkdocize --copy || exit 1
+else
+       echo "*** No gtkdocize found, skipping documentation ***"
+       echo "EXTRA_DIST = " > gtk-doc.make
+fi
+
 echo -n "checking for autoreconf... "
 which autoreconf || {
        echo "*** No autoreconf found, please install it ***"