* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / pound / pound.conf
blob282c470828e97d413d8e9c523580dcc69de8e023
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/pound/pound.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 if [ $prefix_auto = 1 ]; then
13         if [ "$SDECFG_PKG_POUND_PREFIX" ]; then
14           prefix="$SDECFG_PKG_POUND_PREFIX"
15         else
16           prefix="opt/pound"
17         fi
18         set_confopt
21 atstage native || hook_add preconf 5 "echo 'ac_cv_func_malloc_0_nonnull=yes' >> config.cache"
23 if [ $pkg = "pound" ]; then
24         # by default enabled options
25         [ "$SDECFG_PKG_POUND_DAEMON" == 0 ] &&
26                 var_append extraconfopt " " "--disable-daemon"
28         [ "$SDECFG_PKG_POUND_SUPER" == 0 ] &&
29                 var_append extraconfopt " " "--disable-super"
31         # by default disabled options
32         [ "$SDECFG_PKG_POUND_MSWEBDAV" == 1 ] &&
33                 var_append extraconfopt " " "--enable-msdav"
35         [ "$SDECFG_PKG_POUND_UNSAFE" == 1 ] &&
36                 var_append extraconfopt " " "--enable-unsafe"