small fix
[platform/upstream/gstreamer.git] / autogen.sh
index 20fe9c3..bbde5e6 100755 (executable)
@@ -11,9 +11,6 @@ if test ! -d common;
 then 
   echo "+ getting common/ from cvs"
   cvs co common 
-else
-  echo "+ updating common/ from cvs"
-  cd common; cvs update -dP; cd ..
 fi
 
 # source helper functions
@@ -34,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
@@ -48,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 ?