7 for compiler in gcc cc icc; do
9 # arrgh, "which" gives no err code on solaris
10 path=`which $compiler`
11 if [ -x "$path" ]; then
13 if $compiler -v 2>&1 | grep gcc.version > /dev/null; then
22 if [ $compiler = gcc -o $isgcc = 0 ]; then
24 test_tree lorikeet-heimdal . $compiler
26 # only attempt samba4 if we have perl
27 if which perl > /dev/null; then
28 test_tree samba4 source $compiler
31 test_tree samba_3_0 source $compiler
33 # by default build ppp only on SunOS or Linux systems
34 if [ "$system" = Linux -o "$system" = SunOS ]; then
35 test_tree ppp . $compiler
41 # only attempt pidl if we have perl
42 if which perl > /dev/null; then
43 test_tree pidl source cc build install test