Comment 156 for bug 233901

Revision history for this message
In , Jehan-procaccia (jehan-procaccia) wrote :

How can I check the compilation options used ?
there's the URL "about:buildconfig" in firefox, but is there an equivalent in thunderbid ?
The only way I could try to figure out which options have been used, is to get the source RPM and check spec files:
On my fedora core 5 I took thunderbird-1.5-6.src.rpm
the SOURCE directory contains a thunderbird-mozconfig which is finally converted to .mozconfig in the top source dir (mozilla) , it contains:
. $topsrcdir/mail/config/mozconfig

ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-pthreads
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-installer
ac_add_options --enable-optimize="$RPM_OPT_FLAGS"
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-xprint
ac_add_options --disable-strip
ac_add_options --enable-pango
ac_add_options --enable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-canvas

export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1

and $topsrcdir/mail/config/mozconfig contains:
$ cat mail/config/mozconfig
# This file specifies the build flags for Thunderbird. You can use it by adding:
# . $topsrcdir/mail/config/mozconfig
# to the top of your mozconfig file.

mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --enable-application=mail

ldap options (--disable-ldap) or autoconfig options (--enable-extensions=pref) don't appear anywhere in those files !?
However, I do confirm that autoconfig and autoconfig through ldapcalls (getLDAPAttributes) does work fine in thunderbird (not in firefox :-( ) . The only solution I see that in the defaults, --disable-ldap is not used and --enable-extensions=pref is set .

Please let me know how to check for sure, which compilation options (set and defaults) have been used in thunderbird and in firefox .
thanks.