Install manifest
[platform/upstream/atk.git] / autogen.sh
index 99c398e..b18261c 100755 (executable)
@@ -7,10 +7,15 @@ test -n "$srcdir" || srcdir=.
 olddir=`pwd`
 cd "$srcdir"
 
-GTKDOCIZE=`which gtkdocize`
 if test -z $GTKDOCIZE; then
-        echo "*** No GTK-Doc found, please install it ***"
-        exit 1
+        echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
+        rm -f gtk-doc.make
+        cat > gtk-doc.make <<EOF
+EXTRA_DIST =
+CLEANFILES =
+EOF
+else
+        gtkdocize || exit $?
 fi
 
 AUTORECONF=`which autoreconf`
@@ -19,10 +24,8 @@ if test -z $AUTORECONF; then
         exit 1
 fi
 
-mkdir -p m4
-
-gtkdocize || exit $?
-autoreconf --force --install --verbose || exit $?
+autoreconf --verbose --force --install -Wno-portability || exit 1
 
 cd "$olddir"
+
 test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"