3 for compiler in gcc cc icc; do
5 # arrgh, "which" gives no err code on solaris
7 if [ -x "$path" ]; then
9 if $compiler -v 2>&1 | grep gcc.version > /dev/null; then
18 if [ $compiler = gcc -o $isgcc = 0 ]; then
19 test_tree samba_3_0 source $compiler
20 test_tree rsync . $compiler
21 test_tree distcc . $compiler
22 test_tree ccache . $compiler
23 test_tree talloc . $compiler
24 test_tree tdb . $compiler
25 test_tree ldb . $compiler
26 test_tree lorikeet-heimdal . $compiler
28 # only attempt samba4 if we have perl
29 if which perl > /dev/null; then
30 # C99 structure initialisation not supported with vendor cc
31 if [ $compiler -ne "cc" ]; then
32 test_tree samba4 source $compiler
34 test_tree smb-build . $compiler
41 # by default build ppp only on SunOS or Linux systems
43 if [ "$system" = Linux -o "$system" = SunOS ]; then