2.26.1
[platform/upstream/at-spi2-core.git] / autogen.sh
index aff1175..4576400 100755 (executable)
@@ -1,11 +1,18 @@
 #!/bin/sh
 
+test -n "$srcdir" || srcdir=`dirname "$0"`
+test -n "$srcdir" || srcdir=.
+
+olddir=`pwd`
+cd "$srcdir"
+
 # run gtkdocize
 gtkdocize || exit 1
 
-intltoolize --force --copy --automake || exit 1
-
 # gnome-autogen.sh runs configure, so do likewise.
 autoreconf -vif
-test -n "$NOCONFIGURE" || ./configure "$@"
+
+cd "$olddir"
+
+test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"