Set --with-tuning=large as a default, add --with-tuning=small.
This commit is contained in:
25
configure
vendored
25
configure
vendored
@@ -1689,7 +1689,7 @@ Optional Packages:
|
||||
--with-libidn2=PATH enable IDN support using GNU libidn2
|
||||
[yes|no(default)|path]
|
||||
--with-cmocka=detect enable CMocka based tests (default is detect)
|
||||
--with-tuning=ARG Specify server tuning (large or default)
|
||||
--with-tuning=ARG Specify server tuning (default or small)
|
||||
--with-dlopen=ARG support dynamically loadable DLZ and DYNDB drivers
|
||||
--with-dnsrps-libname DNSRPS provider library name (librpz.so)
|
||||
--with-dnsrps-dir path to DNSRPS provider library
|
||||
@@ -22033,27 +22033,22 @@ done
|
||||
|
||||
# Check whether --with-tuning was given.
|
||||
if test "${with_tuning+set}" = set; then :
|
||||
withval=$with_tuning; use_tuning="$withval"
|
||||
withval=$with_tuning;
|
||||
else
|
||||
use_tuning="no"
|
||||
with_tuning=no
|
||||
fi
|
||||
|
||||
|
||||
case "$use_tuning" in
|
||||
large)
|
||||
case $with_tuning in #(
|
||||
small) :
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: using small system tuning" >&5
|
||||
$as_echo "$as_me: using small system tuning" >&6;} ;; #(
|
||||
*) :
|
||||
|
||||
$as_echo "#define TUNE_LARGE 1" >>confdefs.h
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using large-system tuning" >&5
|
||||
$as_echo "using large-system tuning" >&6; }
|
||||
;;
|
||||
no|default)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: using default tuning" >&5
|
||||
$as_echo "using default tuning" >&6; }
|
||||
;;
|
||||
yes|*)
|
||||
as_fn_error $? "You must specify \"large\" or \"default\" for --with-tuning." "$LINENO" 5
|
||||
;;
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: using default system tuning" >&5
|
||||
$as_echo "$as_me: using default system tuning" >&6;} ;;
|
||||
esac
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user