summaryrefslogtreecommitdiffstats
path: root/autogen
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 18:55:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-07-01 18:55:29 +0000
commit76ee648cfe906d3f6ec9fdfd35ae09b0223d6457 (patch)
tree49924a725b43387a5709465ea6fd8f44c04d5d02 /autogen
parentb0b84addc4175c4d2f7c30a9c0e58cb01aa068e8 (diff)
downloadrtems-76ee648cfe906d3f6ec9fdfd35ae09b0223d6457.tar.bz2
Patch from Ralf Corsepius to enhance autogen's behavior.
Diffstat (limited to 'autogen')
-rw-r--r--autogen7
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen b/autogen
index 0e768388ab..3c3888b1c1 100644
--- a/autogen
+++ b/autogen
@@ -69,8 +69,10 @@ generate)
cd $dir;
aclocal -I $aclocal_dir;
autoconf;
- test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
test -f Makefile.am && automake $verbose ;
+ test -n "`grep CONFIG_HEADER configure.in`" && autoheader ;
+ test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \
+ && echo timestamp > stamp-h.in
)
done
;;
@@ -103,6 +105,9 @@ clean)
find . -name '*.rej' -print | xargs rm -f
find . -name 'config.status' -print | xargs rm -f
find . -name 'config.log' -print | xargs rm -f
+ find . -name 'config.cache' -print | xargs rm -f
find . -name '.deps' -print | xargs rm -rf
+ find . -name '.libs' -print | xargs rm -rf
+ find . -name 'stamp-h.in' | xargs rm -rf
;;
esac