]> mj.ucw.cz Git - libucw.git/blobdiff - build/check-customs
bopen_safe() in conf2 was leaking file descriptors. I've replaced it
[libucw.git] / build / check-customs
index 813b4db245529d559712954f5889f80cc50d0ecf..c50ca1e7db19b93a3aef976e3212f543d687d057 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 # A script for testing compilability of different configurations
-# (c) 2004--2005 Martin Mares <mj@ucw.cz>
+# (c) 2004--2006 Martin Mares <mj@ucw.cz>
 
 set -e
 
@@ -15,7 +15,7 @@ function try
 
        (
                cd $TDIR
-               if ! ../../configure $@ CC=gcc-3.0 >>log 2>&1 ; then
+               if ! ../../configure $@ CC=gcc-3.4 >>log 2>&1 ; then
                        echo "  CANNOT CONFIGURE"
                        exit 1
                fi
@@ -34,13 +34,14 @@ if [ -n "$1" ] ; then
 else
        try free                                                                        # the free version
        try bare -CONFIG_INDEXER -CONFIG_SEARCH                                         # absolutely stripped version
-       try bare                                                                        # the bare version
+       try bare CONFIG_ALLOW_ANY                                                       # the bare version
        try debug/matcher-test                                                          # bare + custom stats and matchers
-       try centrum/cz ROLE=search                                                      # various Centrum.cz configurations
+       try centrum/cz ROLE=search1-x                                                   # various Centrum.cz configurations
        try centrum/cz ROLE=indexer
        try centrum/cz ROLE=gather
        try centrum/cz ROLE=reap+watson
-       try centrum/cz ROLE=all
+       try centrum/cz ROLE=all CONFIG_PARTMAP_IS_MMAP
+       try centrum/pl ROLE=all
        try debug CONFIG_SHARED                                                         # debugging configuration with shared libs
        try debug                                                                       # debugging configuration
 fi