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"
66 # defaults, static library
67 target
="library-test.static"
72 if ! [ -f configure.ac
]; then
73 echo "Please run me from the top directory"
81 conf
='--disable-documentation'
84 conf
='--disable-backtrace'
87 conf
='--disable-convert'
90 conf
='--with-convert=ext2'
93 conf
='--with-convert=ext2,reiserfs'
99 # debugging builds, just the default targets
112 echo "---------------------------------------------------"