]> mj.ucw.cz Git - libucw.git/blobdiff - lib/autoconf.cfg
Radix sort bit width is now controlled by the configure script.
[libucw.git] / lib / autoconf.cfg
index 43e4a7ec6ce94d1b861afb5b815c9a3c88fa6ef5..4bd1661781c42f5e0079dfa71381856450595136 100644 (file)
@@ -205,6 +205,10 @@ if ($gccver == 3000) {
        Append("CWARNS" => "-Wundef -Wredundant-decls -Wno-pointer-sign -Wdisabled-optimization -Wno-missing-field-initializers");
        Append("CWARNS_OFF" => "-Wno-pointer-sign");
        Append("COPT" => "-finline-limit=5000 --param large-function-insns=5000 --param inline-unit-growth=200 --param large-function-growth=400");
+} elsif ($gccver == 4002) {
+       Append("CWARNS" => "-Wundef -Wredundant-decls -Wno-pointer-sign -Wdisabled-optimization -Wno-missing-field-initializers");
+       Append("CWARNS_OFF" => "-Wno-pointer-sign");
+       Append("COPT" => "-finline-limit=5000 --param large-function-insns=5000 --param inline-unit-growth=200 --param large-function-growth=400 -fgnu89-inline");
 } else {
        Warn "Don't know anything about this GCC version, using default switches.\n";
 }
@@ -252,6 +256,12 @@ if (IsSet("CONFIG_LARGE_FILES") && IsSet("CONFIG_LINUX")) {
 # Decide how will lib/partmap.c work
 Set("PARTMAP_IS_MMAP") if IsSet("CPU_64BIT_POINTERS");
 
+# Option for lib/mempool.c
+Set("POOL_IS_MMAP");
+
+# FIXME
+Set("CONFIG_UCW_RADIX_SORTER_BITS" => 12);
+
 # If debugging memory allocations:
 #LIBS+=-lefence
 #CDEBUG+=-DDEBUG_DMALLOC