summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-09-04 03:06:58 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-09-04 03:06:58 +0100
commitf92c7c2b25b37bb7c64411222089b7198d6f6c7d (patch)
tree7316efd1eed2d45a6b6c5baffdf9de5c6b543eb9 /autogen.sh
parent097c4ac022be6e1b86c0acf3e6a4f06d784dd661 (diff)
[autogen] Check build/ for versions.
Add the build/*.mk to extract_version() so that it correctly identifies our requirements.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index a69007e11..011db93c8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -29,7 +29,7 @@ if test "X$CONFIGURE_IN" = X; then
fi
extract_version() {
- grep "^ *$1" $CONFIGURE_IN | sed 's/.*(\[*\([^])]*\)]*).*/\1/'
+ grep "^ *$1" -r $CONFIGURE_IN build | sed 's/.*(\[*\([^])]*\)]*).*/\1/'
}
autoconf_min_vers=`extract_version AC_PREREQ`