diff options
| author | Theodore Tso <tytso@mit.edu> | 1994-10-27 06:03:53 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1994-10-27 06:03:53 +0000 |
| commit | 1210930e6c0bedb70fed2c8918eb91a128139e95 (patch) | |
| tree | 67739ebb27e71a145c99dd4b752b092c5b93df87 /src/util/reconf | |
| parent | e1b993fff76b6eb057cec769d5a88eb73fbed48f (diff) | |
| download | krb5-1210930e6c0bedb70fed2c8918eb91a128139e95.tar.gz krb5-1210930e6c0bedb70fed2c8918eb91a128139e95.tar.xz krb5-1210930e6c0bedb70fed2c8918eb91a128139e95.zip | |
autoreconf.local is a locally modified version of autoreconf that will
only rebuild configure files if they need to be (i.e., if configure.in
or aclocal.4 are more recently updated than configure).
reconf has been modified to use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4584 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/reconf')
| -rw-r--r-- | src/util/reconf | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/util/reconf b/src/util/reconf index 3d76fb8fd..a71b71736 100644 --- a/src/util/reconf +++ b/src/util/reconf @@ -1,17 +1,18 @@ #!/bin/sh -for i in `find . -name configure.in -print` +force= + +usage="Usage: ./config.status [--recheck] [--version] [--help]" +for option do - config=`echo $i | sed -e 's/.in$//'` - if test ! -f $config || \ - find $i -newer $config -print | grep configure.in > /dev/null - then - dir=`dirname $i` - topdir=`echo $dir | sed -e 's;/[^/]*;/..;g'` - echo "cd $dir; $topdir/util/autoconf/autoconf --topdir=$topdir --macrodir=$topdir/util/autoconf" - ( cd $dir; $topdir/util/autoconf/autoconf --topdir=$topdir --macrodir=$topdir/util/autoconf ) - fi + case "$option" in + --force | -f) + echo "Remaking all configuration files" + force=--force ;; + -help | --help | --hel | --he | --h) + echo "$usage"; exit 0 ;; + *) echo "$usage"; exit 1 ;; + esac done -cd include/krb5 -../../util/autoconf/autoheader --macrodir=../../util/autoconf +./util/autoreconf.local -m util/autoconf -l . --verbose $force |
