don't run autoreconf at the end of MakeMakefiles as this has a tendency todo the wrong things
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@914 
a5681a0c-68f1-0310-ab6d-
d61299d08faa
 
 
 $aclocal
 libtoolize --copy --force
-autoheader --warnings=all --force  
+autoheader --force  
 $aclocal
-$automake --foreign --add-missing --force-missing --copy --warnings=all
-autoconf --warnings=all --force
-# one again to make every body happy
-
-autoreconf
+$automake --foreign --add-missing --force-missing --copy 
+autoconf --force
 
        test -f perl-piped/Makefile && rm perl-piped/Makefile || true
        test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || true
        test -f perl-shared/Makefile && rm -f perl-shared/Makefile || true 
-       test -f ruby/Makefile && rm -f ruby/Makefile || true 
+       test -f ruby/Makefile && cd ruby && $(MAKE) clean && rm Makefile || true 
 
 ##END##
 
     string_arr a;
     char **calcpr, **p;
     VALUE result, print_results;
-    int i, xsize, ysize;
+    int xsize, ysize;
     double ymin, ymax;
 
     a = string_arr_new(args);