package UCW::Configure::LibUCW;
use UCW::Configure;
+use strict;
+use warnings;
+
# Determine page size
Test("CPU_PAGE_SIZE", "Determining page size", sub {
my $p;
Set("CONFIG_UCW_RADIX_SORTER_BITS" => 12);
}
+PostConfig {
+ AtWrite {
+ UCW::Configure::C::ConfigHeader("ucw/autoconf.h", [
+ # Excluded symbols (danger of collision)
+ '^CONFIG_DEBUG$' => 0,
+
+ # Included symbols
+ '^CONFIG_' => 1,
+ '^CPU_' => 1,
+ '^(SHERLOCK|UCW)_VERSION(_|$)' => 1,
+
+ ]);
+ } if Get("CONFIG_INSTALL_API");
+};
+
# We succeeded
1;