no_tooltool=1
if [[ $topsrcdir == *"mozilla"* ]]; then
  oldtopsrcdir=$topsrcdir
  topsrcdir=$(dirname $topsrcdir)
fi

. "$topsrcdir/build/unix/mozconfig.linux32"

ac_add_options --enable-application=suite

ac_add_options --enable-debug

ac_add_options --enable-tests

export CFLAGS="-gdwarf-2"
export CXXFLAGS="-gdwarf-2"

# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
ac_add_options --enable-debug-symbols="-gdwarf-2"
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) @MOZ_OBJDIR@/_profile/pgo/profileserver.py'

# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1

#Use ccache
ac_add_options --with-ccache=/usr/bin/ccache

. "$topsrcdir/suite/config/mozconfigs/mozconfig.linux.common"

export PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig
. "$topsrcdir/build/unix/mozconfig.gtk"

if [ ! -z "$oldtopsrcdir" ]; then
  topsrcdir=$oldtopsrcdir
  oldtopsrcdir=""
fi

