Bug 480515 Thunderbird 3.0 failed to build on Solaris r=kairo
authorGinn Chen <ginn.chen@sun.com>
Tue, 10 Mar 2009 14:22:55 +0800
changeset 2166 79edd99d8d93f8113b172528e85d280c9ee689fe
parent 2165 b01a650a5ef463560e3eb2cba32dee7926831e20
child 2167 bb5b6688c2ba2c7a296efebe9083c13a75c95440
push idunknown
push userunknown
push dateunknown
reviewerskairo
bugs480515
Bug 480515 Thunderbird 3.0 failed to build on Solaris r=kairo
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1606,17 +1606,17 @@ case "$host" in
     HOST_OPTIMIZE_FLAGS="${HOST_OPTIMIZE_FLAGS=-O2}"
     ;;
 esac
 
 dnl Get mozilla version from central milestone file
 MOZILLA_VERSION=`$PERL $MOZILLA_SRCDIR/config/milestone.pl -topsrcdir $MOZILLA_SRCDIR`
 
 changequote(,)
-MOZILLA_BRANCH_VERSION=`echo ${MOZILLA_VERSION} | sed -e 's/\(^[0-9]\.[0-9]\.[0-9]\).*/\1/;'`
+MOZILLA_BRANCH_VERSION=`echo ${MOZILLA_VERSION} | sed -e 's/^\([0-9]\.[0-9]\.[0-9]\).*/\1/;'`
 changequote([,])
 
 MOZILLA_1_9_1_BRANCH=
 
 dnl Set the Gecko 1.9.1 branch version
 if test "$MOZILLA_BRANCH_VERSION" = "1.9.1"; then
     MOZILLA_1_9_1_BRANCH=1
     AC_DEFINE(MOZILLA_1_9_1_BRANCH)