1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/pound/pound.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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"
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"