Imported Upstream version 1.8.1
[platform/upstream/harfbuzz.git] / autogen.sh
index a267f29..fd5c198 100755 (executable)
@@ -7,11 +7,11 @@ 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 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 || {
@@ -19,17 +19,22 @@ which pkg-config || {
        exit 1
 }
 
+echo -n "checking for libtoolize... "
+which glibtoolize || which libtoolize || {
+       echo "*** No libtoolize (libtool) 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 "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
        echo "EXTRA_DIST = " > gtk-doc.make
 fi
 
 echo -n "checking for autoreconf... "
 which autoreconf || {
-       echo "*** No autoreconf found, please install it ***"
+       echo "*** No autoreconf (autoconf) found, please install it ***"
        exit 1
 }
 
@@ -37,5 +42,7 @@ echo "running autoreconf --force --install --verbose"
 autoreconf --force --install --verbose || exit $?
 
 cd $olddir
-echo "running configure $@"
-test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
+test -n "$NOCONFIGURE" || {
+       echo "running configure $@"
+       "$srcdir/configure" "$@"
+}