Bug 631493 - missing Firefox version in SeaMonkey's useragent string on OSX. r=khuey, a=NPOTB/khuey DONTBUILD
authorJustin Wood <Callek@gmail.com>
Sun, 06 Feb 2011 13:05:04 -0500
changeset 62084 71eb12acc8d3c63fded73c6dbd82e96c2a7a6e22
parent 62083 16cc18d74a8c43eb530479a72b2a3de028df81e4
child 62085 18a59f6f099be4ee334f3f8d363cb5d6d93a32fb
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewerskhuey, NPOTB, khuey
bugs631493
milestone2.0b12pre
Bug 631493 - missing Firefox version in SeaMonkey's useragent string on OSX. r=khuey, a=NPOTB/khuey DONTBUILD
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1937,17 +1937,21 @@ if test "$_python_res" != 0; then
     AC_MSG_ERROR([Python $PYTHON_VERSION or higher (but not Python 3.x) is required.])
 fi
 AC_MSG_RESULT([yes])
 
 dnl Get mozilla version from central milestone file
 MOZILLA_VERSION=`$PERL $srcdir/config/milestone.pl -topsrcdir $srcdir`
 
 dnl Get version of various core apps from the version files.
-FIREFOX_VERSION=`cat $topsrcdir/browser/config/version.txt`
+FIREFOX_VERSION=`cat $_topsrcdir/browser/config/version.txt`
+
+if test -z "$FIREFOX_VERSION"; then
+    AC_MSG_ERROR([FIREFOX_VERSION is unexpectedly blank.])
+fi
 
 AC_DEFINE_UNQUOTED(MOZILLA_VERSION,"$MOZILLA_VERSION")
 AC_DEFINE_UNQUOTED(MOZILLA_VERSION_U,$MOZILLA_VERSION)
 
 dnl ========================================================
 dnl System overrides of the defaults for target
 dnl ========================================================