summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2006-10-29 14:49:06 -0500
committerBehdad Esfahbod <behdad@behdad.org>2006-10-29 14:50:09 -0500
commitbc983700c463671128822e2eb9f74cbe834a1c1b (patch)
tree7e83014e6fbc77c1b89ecc7055955f0e78d31377
parent7442b4086667ed67d9086e817af3d3c081a2b6f1 (diff)
downloadcairo-bc983700c463671128822e2eb9f74cbe834a1c1b.tar.gz
[autogen.sh] Make sed script portable
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 37db90e0e..2deaa9374 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`