diff --git a/src/run_autoconfig b/src/run_autoconfig index 0f2e4b02456e584038fd845b1aee834e77695d8b..9af9301548d5ec2fb1c6519fce66d8640bc0766b 100755 --- a/src/run_autoconfig +++ b/src/run_autoconfig @@ -7,12 +7,10 @@ need_to_make_depend=no find . -type d -print|egrep -v '/(CVS)|(RCS)$'| while read dir; do - if [ -f $dir/Makefile.am ]; then - if [ -f $dir/configure.in ]; then - # aclocal needs to be run before autoconf - echo "Running aclocal in $dir" - (cd $dir ; aclocal) - fi + if [ -f $dir/Makefile.am -a -f $dir/configure.in ]; then + # aclocal needs to be run before autoconf + echo "Running aclocal in $dir" + (cd $dir ; aclocal) echo "Running automake in $dir" (cd $dir ; automake) fi