2 # test various compilation options
5 # - various configure options
7 # Arguments: anything will be passed to 'make', eg. define CC, D, V
9 # Requirements for full coverage:
10 # - static version of all libs
11 # - 32bit/64bit libraries, also the static variants
24 function check_result() {
30 str="RESULT of target($target) conf($conf): "
43 ./autogen.sh && configure "$conf" || die "configure not working with: $@"
47 echo "VERDICT: $verdict"
50 function build_make_targets() {
58 target="EXTRA_CFLAGS=-m32"
61 target="EXTRA_CFLAGS=-m64"
69 if ! [ -f configure.ac ]; then
70 echo "Please run me from the top directory"
78 conf='--disable-documentation'
81 conf='--disable-backtrace'
84 conf='--disable-convert'
87 echo "---------------------------------------------------"