[cairo-commit] autogen.sh

Chris Wilson ickle at kemper.freedesktop.org
Wed Sep 3 19:08:41 PDT 2008


 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f92c7c2b25b37bb7c64411222089b7198d6f6c7d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Sep 4 03:06:58 2008 +0100

    [autogen] Check build/ for versions.
    
    Add the build/*.mk to extract_version() so that it correctly identifies
    our requirements.

diff --git a/autogen.sh b/autogen.sh
index a69007e..011db93 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`


More information about the cairo-commit mailing list