diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2006-10-29 14:49:06 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-10-29 14:50:09 -0500 |
commit | bc983700c463671128822e2eb9f74cbe834a1c1b (patch) | |
tree | 7e83014e6fbc77c1b89ecc7055955f0e78d31377 | |
parent | 7442b4086667ed67d9086e817af3d3c081a2b6f1 (diff) | |
download | cairo-bc983700c463671128822e2eb9f74cbe834a1c1b.tar.gz |
[autogen.sh] Make sed script portable
-rwxr-xr-x | autogen.sh | 2 |
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` |