compilers="gcc cc icc"
fi
-for compiler in gcc cc icc; do
+for compiler in $compilers; do
+ echo "working with compiler $compiler"
# arrgh, "which" gives no err code on solaris
path=`which $compiler`
if [ -x "$path" ]; then
# We do not want to build with the same compiler twice
# cc is a symlink to gcc on some systems
- cur_compiler_sum="`sum $path`"
+ cur_compiler_sum="`sum $path | sed 's/ .*//'`"
test x"$cur_compiler_sum" = x"" && {
cur_compiler_sum="$path"
}
TDB_NO_FSYNC=1
export TDB_NO_FSYNC
- test_tree samba_4_0_test source4 $compiler
+ test_tree samba_4_0_test . $compiler
TDB_NO_FSYNC=0
export TDB_NO_FSYNC
TDB_NO_FSYNC=1
export TDB_NO_FSYNC
- test_tree samba_3_current source $compiler
- test_tree samba_3_next source $compiler
- test_tree samba_3_master source $compiler
+ test_tree samba_3_current source3 $compiler
+ test_tree samba_3_next source3 $compiler
+ test_tree samba_3_master source3 $compiler
TDB_NO_FSYNC=0
export TDB_NO_FSYNC