[cairo-commit] autogen.sh

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Oct 29 11:50:13 PST 2006


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

New commits:
diff-tree bc983700c463671128822e2eb9f74cbe834a1c1b (from 7442b4086667ed67d9086e817af3d3c081a2b6f1)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Oct 29 14:49:06 2006 -0500

    [autogen.sh] Make sed script portable

diff --git a/autogen.sh b/autogen.sh
index 37db90e..2deaa93 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -36,7 +36,7 @@ if test "X$CONFIGURE_IN" = X; then
 fi
 
 extract_version() {
-	grep "^ *$1" $CONFIGURE_IN | sed 's/.*(\[\?\([^])]\+\)]\?).*/\1/'
+	grep "^ *$1" $CONFIGURE_IN | sed 's/.*(\[*\([^])]*\)]*).*/\1/'
 }
 
 autoconf_min_vers=`extract_version AC_PREREQ`


More information about the cairo-commit mailing list