small fix
[platform/upstream/gstreamer.git] / autogen.sh
index f8f681f..bbde5e6 100755 (executable)
@@ -31,7 +31,12 @@ version_check "automake" "$AUTOMAKE" "ftp://ftp.gnu.org/pub/gnu/automake/" 1 5 |
 version_check "libtool" "" "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1
 version_check "pkg-config" "" "http://www.freedesktop.org/software/pkgconfig" 0 8 0 || DIE=1
 
+die_check $DIE
+
 autoconf_2.52d_check || DIE=1
+aclocal_check || DIE=1
+
+die_check $DIE
 
 CONFIGURE_DEF_OPT='--enable-maintainer-mode --enable-plugin-builddir --enable-debug --enable-DEBUG'
 # if no arguments specified then this will be printed
@@ -45,7 +50,7 @@ fi
 
 toplevel_check $srcfile
 
-tool_run "aclocal" "-I m4 -I common/m4 $ACLOCAL_FLAGS"
+tool_run "$aclocal" "-I m4 -I common/m4 $ACLOCAL_FLAGS"
 
 # FIXME : why does libtoolize keep complaining about aclocal ?