diff options
author | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-09-26 09:26:30 +0000 |
---|---|---|
committer | Bernhard Rosenkraenzer <bero@arklinux.org> | 2001-09-26 09:26:30 +0000 |
commit | 7c7cf07dccd88838e6e4fd67778859581e7abe58 (patch) | |
tree | 866264cf3c335c8f6623eed74ce73ec9a6c95db9 /autogen.sh | |
parent | ffc15b1799ac9ec3d8979d61d16f8d9169bd5c4f (diff) | |
download | grep-7c7cf07dccd88838e6e4fd67778859581e7abe58.tar.gz |
Fix autoconf detection
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # We want to support both legacy and current autoconf - this is a bit ugly... -AC_VERSION=`autoconf --version 2>&1 |cut -d' ' -f3 |sed -e "s/\.//;s/[a-z]//"` +AC_VERSION=`autoconf --version 2>&1 |head -n1 |sed -e "s/.* //;s/\.//;s/[a-z]//"` if test -z "$AC_VERSION"; then echo "Warning: Couldn't determine autoconf version. Assuming a current version." AC_VERSION=252 |