srcdir=`dirname $0`
-if [ stepmake/aclocal.m4 -nt aclocal.m4 ]; then
+if [ ! -f aclocal.m4 -o stepmake/aclocal.m4 -nt aclocal.m4 ]; then
echo "stepmake/aclocal.m4 is newer. Copying file."
cp -f stepmake/aclocal.m4 aclocal.m4
fi
-if [ stepmake/autogen.sh -nt autogen.sh ]; then
+if [ ! -f autogen.sh -o stepmake/autogen.sh -nt autogen.sh ]; then
echo "stepmake/autogen.sh is newer. Copying file."
cp -f stepmake/autogen.sh autogen.sh
exec ./autogen.sh
echo
fi
-for coin in `find $srcdir -name configure.in -print`
+for coin in $srcdir/configure.in #`find $srcdir -name configure.in -print`
do
dr=`dirname $coin`
echo processing $dr