diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2000-10-03 21:28:20 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2000-10-03 21:28:20 +0000 |
| commit | ed3bd328e638d4883273fdf558f4d7cbfaf36b28 (patch) | |
| tree | f1abc6a958824125ace6597321fba1b87189d508 /src | |
| parent | 4494d0384966882d60625e4a9527c20537d532ac (diff) | |
| download | krb5-ed3bd328e638d4883273fdf558f4d7cbfaf36b28.tar.gz krb5-ed3bd328e638d4883273fdf558f4d7cbfaf36b28.tar.xz krb5-ed3bd328e638d4883273fdf558f4d7cbfaf36b28.zip | |
* reconf: Look for autoconf 2.12 or later. Don't use "grep -q", it's not
portable enough.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12719 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/ChangeLog | 5 | ||||
| -rw-r--r-- | src/util/reconf | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/util/ChangeLog b/src/util/ChangeLog index b1cb6234a..f8873f6e2 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Ken Raeburn <raeburn@mit.edu> + + * reconf: Look for autoconf 2.12 or later. Don't use "grep -q", + it's not portable enough. + 2000-06-30 Tom Yu <tlyu@mit.edu> * Makefile.in (all-unix, clean_unix): Removed util/db2 include diff --git a/src/util/reconf b/src/util/reconf index 9251467ea..5d6533dc1 100644 --- a/src/util/reconf +++ b/src/util/reconf @@ -21,15 +21,16 @@ do esac done - +# Currently (2000-10-03) we need 2.12 or later, and 2.13 is current. +pat="version 2.1[23456789]" if test ! -f $autoreconfprog ; then - if autoreconf --version | grep -q "version 2.[123456789]" && \ - autoconf --version | grep -q "version 2.[123456789]" && \ - autoheader --version | grep -q "version 2.[123456789]" ; then + if autoreconf --version | grep "$pat" >/dev/null && \ + autoconf --version | grep "$pat" >/dev/null && \ + autoheader --version | grep "$pat" >/dev/null; then autoreconf=autoreconf echo "Using" `autoconf --version` "found in your path..." else - echo "Couldn't find autoconf 2.1 or higher in your path." + echo "Couldn't find autoconf 2.12 or higher in your path." echo " " echo "Please cd to util/autoconf, and type the commands" echo "'configure' and then 'make'; then cd back to the top" |
