1
if [ -d "$topsrcdir/clang" ]; then
2
# mozilla-central based build
3
export CC=$topsrcdir/clang/bin/clang
4
export CXX=$topsrcdir/clang/bin/clang++
5
elif [ -d "$topsrcdir/../clang" ]; then
6
# comm-central based build
7
export CC=$topsrcdir/../clang/bin/clang
8
export CXX=$topsrcdir/../clang/bin/clang++
10
# SeaMonkey does not have clang installed so need
11
# to set CC and CXX here.
12
export CC=/usr/bin/gcc-4.2
13
export CXX=/usr/bin/g++-4.2
16
ac_add_options --enable-stdcxx-compat
17
ac_add_options --with-ccache