/* From enable developer */
@ISC_LIST_CHECKINIT@
+/* Large system tuning */
+@TUNE_LARGE@
+
/* Avoid warnings with strlen() */
#ifdef _WIN64
#define strlen(x) (unsigned int) strlen(x)
"HAVE_READLINE",
"ISC_LIST_CHECKINIT",
"PREFER_GOSTASN1",
- "WITH_IDN");
+ "WITH_IDN",
+ "TUNE_LARGE");
# for platform.h
"python",
"readline",
"tests",
+ "tuning",
"vcredist");
# general arguments
" with-idn[=PATH] build with IDN kit support yes|no|path\n",
" with-iconv[=PATH] path of the iconv DLL [default=same than idn]\n",
" with-vcredist[=PATH] visual C++ redistributable package yes|path\n",
+" with-tuning=OPTION tune for plaform size (large|default)\n",
" with-cross-compile 32 / 64 bit build / host plaforms\n");
# Parse arguments
my $use_vcredist = "yes";
my $vcredist_path = " --infer-- ";
my $cross_compile = "no";
+my $tuning = "default";
# no arguments -> usage
if ($val =~ /^yes$/i) {
$cross_compile = "yes";
}
+ } elsif ($key =~ /^tuning$/i) {
+ if ($val =~ /^large$/i) {
+ $tuning = "large";
+ }
} else {
$want_unknown = "yes";
if ($val eq "no") {
$configvar{"VCREDIST_PATH"} = "$vcredist_path";
}
+# tuning
+if ($tuning eq "large") {
+ $configdefh{"TUNE_LARGE"} = 1;
+}
+
# setup config.h with %configdefh
sub setupconfigh {