--- suX/configure 2013/04/10 00:05:17 1.4.2.1 +++ suX/configure 2015/06/17 14:01:32 1.4.2.3 @@ -593,6 +593,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +GROUP EGREP GREP CPP @@ -662,6 +663,7 @@ ac_user_opts=' enable_option_checking enable_static enable_debug +with_group ' ac_precious_vars='build_alias host_alias @@ -1290,6 +1292,11 @@ Optional Features: --enable-static Build static program --enable-debug Build program with debug information and additional messages +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-group= Permitted group for suX + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -3318,9 +3325,9 @@ _ACEOF fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfgLoadConfig in -laitcfg" >&5 -$as_echo_n "checking for cfgLoadConfig in -laitcfg... " >&6; } -if test "${ac_cv_lib_aitcfg_cfgLoadConfig+set}" = set; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_getAttribute in -laitcfg" >&5 +$as_echo_n "checking for cfg_getAttribute in -laitcfg... " >&6; } +if test "${ac_cv_lib_aitcfg_cfg_getAttribute+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS @@ -3334,27 +3341,27 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext #ifdef __cplusplus extern "C" #endif -char cfgLoadConfig (); +char cfg_getAttribute (); int main () { -return cfgLoadConfig (); +return cfg_getAttribute (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_aitcfg_cfgLoadConfig=yes + ac_cv_lib_aitcfg_cfg_getAttribute=yes else - ac_cv_lib_aitcfg_cfgLoadConfig=no + ac_cv_lib_aitcfg_cfg_getAttribute=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfgLoadConfig" >&5 -$as_echo "$ac_cv_lib_aitcfg_cfgLoadConfig" >&6; } -if test "x$ac_cv_lib_aitcfg_cfgLoadConfig" = x""yes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitcfg_cfg_getAttribute" >&5 +$as_echo "$ac_cv_lib_aitcfg_cfg_getAttribute" >&6; } +if test "x$ac_cv_lib_aitcfg_cfg_getAttribute" = x""yes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBAITCFG 1 _ACEOF @@ -3882,6 +3889,19 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5 $as_echo "$DEBUG" >&6; } + +GROUP="www" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking suX execution group" >&5 +$as_echo_n "checking suX execution group... " >&6; } + +# Check whether --with-group was given. +if test "${with_group+set}" = set; then : + withval=$with_group; GROUP=$withval +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROUP" >&5 +$as_echo "$GROUP" >&6; } + ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile src/Makefile"