Bug 469392 MOZILLA_1_9_1_BRANCH define doesn't work in C++ code. r=KaiRo
authorMark Banner <bugzilla@standard8.plus.com>
Sat, 13 Dec 2008 20:59:46 +0000
changeset 1410 c5884855549ce858f825e36cbabb39a165b2771a
parent 1409 fec43f0aa0fdfacf79ae707b68d1267ed688dca5
child 1411 726f0e1c36d16730e5919ba77197da0b7b2180e2
push idunknown
push userunknown
push dateunknown
reviewersKaiRo
bugs469392
Bug 469392 MOZILLA_1_9_1_BRANCH define doesn't work in C++ code. r=KaiRo
configure.in
--- a/configure.in
+++ b/configure.in
@@ -1596,16 +1596,17 @@ MOZILLA_VERSION=`$PERL $MOZILLA_SRCDIR/c
 changequote(,)
 MOZILLA_BRANCH_VERSION=`echo ${MOZILLA_VERSION} | sed -e 's/\(^[0-9]\.[0-9]\.[0-9]\).*/\1/;'`
 changequote([,])
 
 MOZILLA_1_9_1_BRANCH=
 
 if test "$MOZILLA_BRANCH_VERSION" = "1.9.1"; then
     MOZILLA_1_9_1_BRANCH=1
+    AC_DEFINE(MOZILLA_1_9_1_BRANCH)
 fi
 
 AC_SUBST(MOZILLA_1_9_1_BRANCH)
 
 dnl Get version of various core apps from the version files.
 THUNDERBIRD_VERSION=`cat $topsrcdir/mail/config/version.txt`
 SUNBIRD_VERSION=`cat $topsrcdir/calendar/sunbird/config/version.txt`
 SEAMONKEY_VERSION=`cat $topsrcdir/suite/config/version.txt`