From: Alan T. DeKok Date: Fri, 11 Jun 2021 12:12:47 +0000 (-0400) Subject: add AC_ARG_WITH([]modname, ...) X-Git-Tag: release_3_0_24~210 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8742e3da4649833257a19b7162189b69a7df12b;p=thirdparty%2Ffreeradius-server.git add AC_ARG_WITH([]modname, ...) --- diff --git a/src/modules/rlm_cache/configure b/src/modules/rlm_cache/configure index 31fb9421a1..e6382e91ee 100755 --- a/src/modules/rlm_cache/configure +++ b/src/modules/rlm_cache/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_cache ' ac_precious_vars='build_alias host_alias @@ -1248,6 +1249,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_cache build rlm_cache. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1732,6 +1738,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_cache was given. +if test "${with_rlm_cache+set}" = set; then : + withval=$with_rlm_cache; +fi + + if test x$with_rlm_cache != xno; then ac_ext=c diff --git a/src/modules/rlm_cache/configure.ac b/src/modules/rlm_cache/configure.ac index b88a8ab328..5b6b9d6e16 100644 --- a/src/modules/rlm_cache/configure.ac +++ b/src/modules/rlm_cache/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_cache]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure index 93e3b08a1c..ecb7f11ca5 100755 --- a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure +++ b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_cache_memcached with_libmemcached_include_dir with_libmemcached_lib_dir with_libmemcached_dir @@ -1256,6 +1257,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_cache_memcached build rlm_cache_memcached. (default=yes) --with-libmemcached-include-dir=DIR Directory where the libmemcached includes may be found @@ -1897,6 +1899,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_cache_memcached was given. +if test "${with_rlm_cache_memcached+set}" = set; then : + withval=$with_rlm_cache_memcached; +fi + + if test x$with_rlm_cache_memcached != xno; then ac_ext=c diff --git a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure.ac b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure.ac index 5fe56bd7f0..3c47e9db51 100644 --- a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure.ac +++ b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_cache_memcached.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_cache_memcached]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_couchbase/configure b/src/modules/rlm_couchbase/configure index 9725a10b92..1e1bd898da 100755 --- a/src/modules/rlm_couchbase/configure +++ b/src/modules/rlm_couchbase/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_couchbase with_jsonc_include_dir with_jsonc_lib_dir with_jsonc_dir @@ -1259,6 +1260,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_couchbase build rlm_couchbase. (default=yes) --with-jsonc-include-dir=DIR Directory where the json-c includes may be found --with-jsonc-lib-dir=DIR @@ -1907,6 +1909,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_config_headers="$ac_config_headers config.h" + +# Check whether --with-rlm_couchbase was given. +if test "${with_rlm_couchbase+set}" = set; then : + withval=$with_rlm_couchbase; +fi + + if test x$with_rlm_couchbase != xno; then ac_ext=c diff --git a/src/modules/rlm_couchbase/configure.ac b/src/modules/rlm_couchbase/configure.ac index 8791425ff5..9d5b8a8a73 100644 --- a/src/modules/rlm_couchbase/configure.ac +++ b/src/modules/rlm_couchbase/configure.ac @@ -4,6 +4,9 @@ AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_couchbase]) AC_CONFIG_HEADER(config.h) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_counter/configure b/src/modules/rlm_counter/configure index 9917864a2d..c254e7ac3e 100755 --- a/src/modules/rlm_counter/configure +++ b/src/modules/rlm_counter/configure @@ -640,6 +640,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_counter ' ac_precious_vars='build_alias host_alias @@ -1253,6 +1254,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_counter build rlm_counter. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1885,6 +1891,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_counter was given. +if test "${with_rlm_counter+set}" = set; then : + withval=$with_rlm_counter; +fi + + if test x$with_rlm_counter != xno; then ac_ext=c diff --git a/src/modules/rlm_counter/configure.ac b/src/modules/rlm_counter/configure.ac index 2d74b35245..5185f8f2fa 100644 --- a/src/modules/rlm_counter/configure.ac +++ b/src/modules/rlm_counter/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_counter.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_counter]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_eap/configure b/src/modules/rlm_eap/configure index 903e93d353..4aff92daff 100755 --- a/src/modules/rlm_eap/configure +++ b/src/modules/rlm_eap/configure @@ -639,6 +639,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap ' ac_precious_vars='build_alias host_alias @@ -1251,6 +1252,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap build rlm_eap. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1735,6 +1741,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_eap was given. +if test "${with_rlm_eap+set}" = set; then : + withval=$with_rlm_eap; +fi + + if test x$with_rlm_eap != xno; then ac_ext=c diff --git a/src/modules/rlm_eap/configure.ac b/src/modules/rlm_eap/configure.ac index 4fa52b8518..48cc972cc5 100644 --- a/src/modules/rlm_eap/configure.ac +++ b/src/modules/rlm_eap/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_eap]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/configure b/src/modules/rlm_eap/types/rlm_eap_fast/configure index f68299bc7e..b360af6bf9 100755 --- a/src/modules/rlm_eap/types/rlm_eap_fast/configure +++ b/src/modules/rlm_eap/types/rlm_eap_fast/configure @@ -640,6 +640,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap_fast with_openssl_lib_dir with_openssl_include_dir ' @@ -1258,6 +1259,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap_fast build rlm_eap_fast. (default=yes) --with-openssl-lib-dir=DIR directory for LDAP library files --with-openssl-include-dir=DIR directory for LDAP include files @@ -1829,6 +1831,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu mod_ldflags= mod_cflags= + +# Check whether --with-rlm_eap_fast was given. +if test "${with_rlm_eap_fast+set}" = set; then : + withval=$with_rlm_eap_fast; +fi + + if test x$with_rlm_eap_fast != xno; then openssl_lib_dir= diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/configure.ac b/src/modules/rlm_eap/types/rlm_eap_fast/configure.ac index e52e754590..46d32a78d5 100644 --- a/src/modules/rlm_eap/types/rlm_eap_fast/configure.ac +++ b/src/modules/rlm_eap/types/rlm_eap_fast/configure.ac @@ -12,6 +12,9 @@ AC_DEFUN(modname,[rlm_eap_fast]) mod_ldflags= mod_cflags= +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure index 41bafc6ddf..8671d86c1d 100755 --- a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure +++ b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap_ikev2 with_eap_ikev2_include_dir with_eap_ikev2_lib_dir with_eap_ikev2_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap_ikev2 build rlm_eap_ikev2. (default=yes) --with-eap-ikev2-include-dir=DIR Directory where the eap-ikev2 includes may be found --with-eap-ikev2-lib-dir=DIR @@ -1788,6 +1790,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_eap_ikev2 was given. +if test "${with_rlm_eap_ikev2+set}" = set; then : + withval=$with_rlm_eap_ikev2; +fi + + if test x$with_rlm_eap_ikev2 != xno; then eap_ikev2_include_dir= diff --git a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure.ac b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure.ac index b5676af1c1..cd354a4139 100644 --- a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure.ac +++ b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_eap_ikev2.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_eap_ikev2]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-eap-ikev2-include-dir=DIR eap_ikev2_include_dir= diff --git a/src/modules/rlm_eap/types/rlm_eap_pwd/configure b/src/modules/rlm_eap/types/rlm_eap_pwd/configure index 6e535f2cdf..b4b5bc085f 100755 --- a/src/modules/rlm_eap/types/rlm_eap_pwd/configure +++ b/src/modules/rlm_eap/types/rlm_eap_pwd/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap_pwd with_openssl_lib_dir with_openssl_include_dir ' @@ -1253,6 +1254,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap_pwd build rlm_eap_pwd. (default=yes) --with-openssl-lib-dir=DIR directory for LDAP library files --with-openssl-include-dir=DIR directory for LDAP include files @@ -1853,6 +1855,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu mod_ldflags= mod_cflags= + +# Check whether --with-rlm_eap_pwd was given. +if test "${with_rlm_eap_pwd+set}" = set; then : + withval=$with_rlm_eap_pwd; +fi + + if test x$with_rlm_eap_pwd != xno; then openssl_lib_dir= diff --git a/src/modules/rlm_eap/types/rlm_eap_pwd/configure.ac b/src/modules/rlm_eap/types/rlm_eap_pwd/configure.ac index 34c2240fc1..3775e9d5c8 100644 --- a/src/modules/rlm_eap/types/rlm_eap_pwd/configure.ac +++ b/src/modules/rlm_eap/types/rlm_eap_pwd/configure.ac @@ -12,6 +12,9 @@ AC_DEFUN(modname,[rlm_eap_pwd]) mod_ldflags= mod_cflags= +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_eap/types/rlm_eap_sim/configure b/src/modules/rlm_eap/types/rlm_eap_sim/configure index 5240c399fe..ef5f2bac1f 100755 --- a/src/modules/rlm_eap/types/rlm_eap_sim/configure +++ b/src/modules/rlm_eap/types/rlm_eap_sim/configure @@ -629,6 +629,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap_sim ' ac_precious_vars='build_alias host_alias @@ -1236,6 +1237,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap_sim build rlm_eap_sim. (default=yes) + Report bugs to the package provider. _ACEOF ac_status=$? @@ -1671,6 +1677,13 @@ fail= mod_ldflags= mod_cflags= + +# Check whether --with-rlm_eap_sim was given. +if test "${with_rlm_eap_sim+set}" = set; then : + withval=$with_rlm_eap_sim; +fi + + if test x$with_rlm_eap_sim != xno; then targetname=rlm_eap_sim diff --git a/src/modules/rlm_eap/types/rlm_eap_sim/configure.ac b/src/modules/rlm_eap/types/rlm_eap_sim/configure.ac index e5a31735c4..e24a2faaec 100644 --- a/src/modules/rlm_eap/types/rlm_eap_sim/configure.ac +++ b/src/modules/rlm_eap/types/rlm_eap_sim/configure.ac @@ -13,6 +13,9 @@ fail= mod_ldflags= mod_cflags= +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then targetname=modname diff --git a/src/modules/rlm_eap/types/rlm_eap_tnc/configure b/src/modules/rlm_eap/types/rlm_eap_tnc/configure index bf5ddfa2ba..92da810c75 100755 --- a/src/modules/rlm_eap/types/rlm_eap_tnc/configure +++ b/src/modules/rlm_eap/types/rlm_eap_tnc/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_eap_tnc with_eap_tnc_include_dir with_eap_tnc_lib_dir with_eap_tnc_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_eap_tnc build rlm_eap_tnc. (default=yes) --with-eap-tnc-include-dir=DIR Directory where the libtnc includes may be found --with-eap-tnc-lib-dir=DIR @@ -1787,6 +1789,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_eap_tnc was given. +if test "${with_rlm_eap_tnc+set}" = set; then : + withval=$with_rlm_eap_tnc; +fi + + if test x$with_rlm_eap_tnc != xno; then eap_tnc_include_dir= diff --git a/src/modules/rlm_eap/types/rlm_eap_tnc/configure.ac b/src/modules/rlm_eap/types/rlm_eap_tnc/configure.ac index 32aa1c0397..e1991830b5 100644 --- a/src/modules/rlm_eap/types/rlm_eap_tnc/configure.ac +++ b/src/modules/rlm_eap/types/rlm_eap_tnc/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_eap_tnc.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_eap_tnc]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-eap-tnc-include-dir=DIR eap_tnc_include_dir= diff --git a/src/modules/rlm_example/configure b/src/modules/rlm_example/configure index cb3666edbc..280e00dd85 100755 --- a/src/modules/rlm_example/configure +++ b/src/modules/rlm_example/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_example ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_example build rlm_example. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1815,6 +1821,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_example was given. +if test "${with_rlm_example+set}" = set; then : + withval=$with_rlm_example; +fi + + if test x$with_rlm_example != xno; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/src/modules/rlm_example/configure.ac b/src/modules/rlm_example/configure.ac index 2459e41c40..c899ffc071 100644 --- a/src/modules/rlm_example/configure.ac +++ b/src/modules/rlm_example/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_example.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_example]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC AC_PROG_CPP diff --git a/src/modules/rlm_idn/configure b/src/modules/rlm_idn/configure index 7b0fa25a87..7b25ba14d6 100755 --- a/src/modules/rlm_idn/configure +++ b/src/modules/rlm_idn/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_idn ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_idn build rlm_idn. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1815,6 +1821,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_idn was given. +if test "${with_rlm_idn+set}" = set; then : + withval=$with_rlm_idn; +fi + + if test x$with_rlm_idn != xno; then ac_ext=c diff --git a/src/modules/rlm_idn/configure.ac b/src/modules/rlm_idn/configure.ac index bfc2ae2b51..f69fe764c0 100644 --- a/src/modules/rlm_idn/configure.ac +++ b/src/modules/rlm_idn/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_idn.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_idn]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_ippool/configure b/src/modules/rlm_ippool/configure index 38f49ce93b..c911010098 100755 --- a/src/modules/rlm_ippool/configure +++ b/src/modules/rlm_ippool/configure @@ -642,6 +642,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_ippool ' ac_precious_vars='build_alias host_alias @@ -1255,6 +1256,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_ippool build rlm_ippool. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1887,6 +1893,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_ippool was given. +if test "${with_rlm_ippool+set}" = set; then : + withval=$with_rlm_ippool; +fi + + if test x$with_rlm_ippool != xno; then ac_ext=c diff --git a/src/modules/rlm_ippool/configure.ac b/src/modules/rlm_ippool/configure.ac index 733108d2bc..be14b9780b 100644 --- a/src/modules/rlm_ippool/configure.ac +++ b/src/modules/rlm_ippool/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_ippool.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_ippool]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_krb5/configure b/src/modules/rlm_krb5/configure index 672ef9283e..991131b531 100755 --- a/src/modules/rlm_krb5/configure +++ b/src/modules/rlm_krb5/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_krb5 with_rlm_krb5_dir ' ac_precious_vars='build_alias @@ -1255,6 +1256,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_krb5 build rlm_krb5. (default=yes) --with-rlm-krb5-dir=DIR Directory for krb5 files Some influential environment variables: @@ -1931,6 +1933,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_krb5 was given. +if test "${with_rlm_krb5+set}" = set; then : + withval=$with_rlm_krb5; +fi + + if test x$with_rlm_krb5 != xno; then ac_ext=c diff --git a/src/modules/rlm_krb5/configure.ac b/src/modules/rlm_krb5/configure.ac index efc9f29d7f..a0f510cfb3 100644 --- a/src/modules/rlm_krb5/configure.ac +++ b/src/modules/rlm_krb5/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_krb5.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_krb5]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_ldap/configure b/src/modules/rlm_ldap/configure index 4d9cc51484..ded503f6ee 100755 --- a/src/modules/rlm_ldap/configure +++ b/src/modules/rlm_ldap/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_ldap with_rlm_ldap_lib_dir with_rlm_ldap_include_dir ' @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_ldap build rlm_ldap. (default=yes) --with-rlm-ldap-lib-dir=DIR directory for LDAP library files --with-rlm-ldap-include-dir=DIR directory for LDAP include files @@ -1855,6 +1857,14 @@ fail= SMART_LIBS= SMART_CLFAGS= SASL= + + +# Check whether --with-rlm_ldap was given. +if test "${with_rlm_ldap+set}" = set; then : + withval=$with_rlm_ldap; +fi + + if test x$with_rlm_ldap != xno; then ac_ext=c diff --git a/src/modules/rlm_ldap/configure.ac b/src/modules/rlm_ldap/configure.ac index b014b706b7..fe718a0242 100644 --- a/src/modules/rlm_ldap/configure.ac +++ b/src/modules/rlm_ldap/configure.ac @@ -7,6 +7,10 @@ fail= SMART_LIBS= SMART_CLFAGS= SASL= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_mschap/configure b/src/modules/rlm_mschap/configure index 83f302c7c1..dec56aaf31 100755 --- a/src/modules/rlm_mschap/configure +++ b/src/modules/rlm_mschap/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_mschap with_winbind_include_dir with_winbind_lib_dir with_winbind_dir @@ -1257,6 +1258,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_mschap build rlm_mschap. (default=yes) --with-winbind-include-dir=DIR Directory where the winbind includes may be found --with-winbind-lib-dir=DIR @@ -1828,6 +1830,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_mschap was given. +if test "${with_rlm_mschap+set}" = set; then : + withval=$with_rlm_mschap; +fi + + if test x$with_rlm_mschap != xno; then ac_ext=c diff --git a/src/modules/rlm_mschap/configure.ac b/src/modules/rlm_mschap/configure.ac index f4b40d72f4..581a3267d4 100644 --- a/src/modules/rlm_mschap/configure.ac +++ b/src/modules/rlm_mschap/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_mschap.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_mschap]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_opendirectory/configure b/src/modules/rlm_opendirectory/configure index f501ca140c..b85c9fd1b3 100755 --- a/src/modules/rlm_opendirectory/configure +++ b/src/modules/rlm_opendirectory/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_opendirectory ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_opendirectory build rlm_opendirectory. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1815,6 +1821,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_opendirectory was given. +if test "${with_rlm_opendirectory+set}" = set; then : + withval=$with_rlm_opendirectory; +fi + + if test x$with_rlm_opendirectory != xno; then ac_ext=c diff --git a/src/modules/rlm_opendirectory/configure.ac b/src/modules/rlm_opendirectory/configure.ac index a094ffb5f7..49676109dc 100644 --- a/src/modules/rlm_opendirectory/configure.ac +++ b/src/modules/rlm_opendirectory/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_opendirectory.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_opendirectory]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_pam/configure b/src/modules/rlm_pam/configure index fe3e25e5f8..5adcf9b366 100755 --- a/src/modules/rlm_pam/configure +++ b/src/modules/rlm_pam/configure @@ -676,6 +676,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_pam ' ac_precious_vars='build_alias host_alias @@ -1289,6 +1290,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_pam build rlm_pam. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -2014,6 +2020,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_pam was given. +if test "${with_rlm_pam+set}" = set; then : + withval=$with_rlm_pam; +fi + + if test x$with_rlm_pam != xno; then ac_ext=c diff --git a/src/modules/rlm_pam/configure.ac b/src/modules/rlm_pam/configure.ac index 2045906602..820ff53832 100644 --- a/src/modules/rlm_pam/configure.ac +++ b/src/modules/rlm_pam/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_pam.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_pam]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_perl/configure b/src/modules/rlm_perl/configure index 11f25acb5e..aa1e4e9dbf 100755 --- a/src/modules/rlm_perl/configure +++ b/src/modules/rlm_perl/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_perl with_perl ' ac_precious_vars='build_alias @@ -1256,6 +1257,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_perl build rlm_perl. (default=yes) --with-perl=[PATH] absolute path to perl executable Some influential environment variables: @@ -1863,6 +1865,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_perl was given. +if test "${with_rlm_perl+set}" = set; then : + withval=$with_rlm_perl; +fi + + if test x$with_rlm_perl != xno; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/src/modules/rlm_perl/configure.ac b/src/modules/rlm_perl/configure.ac index 4b3ff420f7..e45a31b21d 100644 --- a/src/modules/rlm_perl/configure.ac +++ b/src/modules/rlm_perl/configure.ac @@ -5,6 +5,9 @@ AC_DEFUN(modname,[rlm_perl]) m4_include([ax_with_prog.m4]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC AC_PROG_CPP diff --git a/src/modules/rlm_python/configure b/src/modules/rlm_python/configure index 90511a8c93..d7d6bc9454 100755 --- a/src/modules/rlm_python/configure +++ b/src/modules/rlm_python/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_python with_rlm_python_bin with_rlm_python_lib_dir with_rlm_python_include_dir @@ -1257,6 +1258,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_python build rlm_python. (default=yes) --with-rlm-python-bin=PATH Path to python binary --with-rlm-python-lib-dir=DIR Directory for Python library files --with-rlm-python-include-dir=DIR Directory for Python include files @@ -1893,6 +1895,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_python was given. +if test "${with_rlm_python+set}" = set; then : + withval=$with_rlm_python; +fi + + if test x$with_rlm_python != xno; then ac_ext=c diff --git a/src/modules/rlm_python/configure.ac b/src/modules/rlm_python/configure.ac index ae1fbac31e..08ecb62518 100644 --- a/src/modules/rlm_python/configure.ac +++ b/src/modules/rlm_python/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_python.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_python]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_python3/configure b/src/modules/rlm_python3/configure index 363bf59e1f..76deb92616 100755 --- a/src/modules/rlm_python3/configure +++ b/src/modules/rlm_python3/configure @@ -588,17 +588,7 @@ LIBOBJS targetname mod_cflags mod_ldflags -AWK PYTHON3_CONFIG_BIN -pkgpyexecdir -pyexecdir -pkgpythondir -pythondir -PYTHON_PLATFORM -PYTHON_EXEC_PREFIX -PYTHON_PREFIX -PYTHON_VERSION -PYTHON CPP OBJEXT EXEEXT @@ -648,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_python3 with_rlm_python3_config_bin ' ac_precious_vars='build_alias @@ -658,8 +649,7 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -CPP -PYTHON' +CPP' # Initialize some variables set by options. @@ -1266,6 +1256,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_python3 build rlm_python3. (default=yes) --with-rlm-python3-config-bin=PATH Path to python-config3 binary Some influential environment variables: @@ -1277,7 +1268,6 @@ Some influential environment variables: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor - PYTHON the Python interpreter Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1901,6 +1891,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_python3 was given. +if test "${with_rlm_python3+set}" = set; then : + withval=$with_rlm_python3; +fi + + if test x$with_rlm_python3 != xno; then ac_ext=c @@ -2830,267 +2827,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - if test -n "$PYTHON"; then - # If the user set $PYTHON, use it and don't search something else. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.0" >&5 -$as_echo_n "checking whether $PYTHON version is >= 3.0... " >&6; } - prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0] -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator -for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] -sys.exit(sys.hexversion < minverhex)" - if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 - ($PYTHON -c "$prog") >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - as_fn_error $? "Python interpreter is too old" "$LINENO" 5 -fi - am_display_PYTHON=$PYTHON - else - # Otherwise, try each interpreter until we find one that satisfies - # VERSION. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.0" >&5 -$as_echo_n "checking for a Python interpreter with version >= 3.0... " >&6; } -if ${am_cv_pathless_PYTHON+:} false; then : - $as_echo_n "(cached) " >&6 -else - - for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do - test "$am_cv_pathless_PYTHON" = none && break - prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0] -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator -for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] -sys.exit(sys.hexversion < minverhex)" - if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 - ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then : - break -fi - done -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5 -$as_echo "$am_cv_pathless_PYTHON" >&6; } - # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. - if test "$am_cv_pathless_PYTHON" = none; then - PYTHON=: - else - # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. -set dummy $am_cv_pathless_PYTHON; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_PYTHON+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $PYTHON in - [\\/]* | ?:[\\/]*) - ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -PYTHON=$ac_cv_path_PYTHON -if test -n "$PYTHON"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 -$as_echo "$PYTHON" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi - am_display_PYTHON=$am_cv_pathless_PYTHON - fi - - - if test "$PYTHON" = :; then - : - else - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 -$as_echo_n "checking for $am_display_PYTHON version... " >&6; } -if ${am_cv_python_version+:} false; then : - $as_echo_n "(cached) " >&6 -else - am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 -$as_echo "$am_cv_python_version" >&6; } - PYTHON_VERSION=$am_cv_python_version - - - - PYTHON_PREFIX='${prefix}' - - PYTHON_EXEC_PREFIX='${exec_prefix}' - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 -$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } -if ${am_cv_python_platform+:} false; then : - $as_echo_n "(cached) " >&6 -else - am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 -$as_echo "$am_cv_python_platform" >&6; } - PYTHON_PLATFORM=$am_cv_python_platform - - - # Just factor out some code duplication. - am_python_setup_sysconfig="\ -import sys -# Prefer sysconfig over distutils.sysconfig, for better compatibility -# with python 3.x. See automake bug#10227. -try: - import sysconfig -except ImportError: - can_use_sysconfig = 0 -else: - can_use_sysconfig = 1 -# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs: -# -try: - from platform import python_implementation - if python_implementation() == 'CPython' and sys.version[:3] == '2.7': - can_use_sysconfig = 0 -except ImportError: - pass" - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 -$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } -if ${am_cv_python_pythondir+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$prefix" = xNONE - then - am_py_prefix=$ac_default_prefix - else - am_py_prefix=$prefix - fi - am_cv_python_pythondir=`$PYTHON -c " -$am_python_setup_sysconfig -if can_use_sysconfig: - sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'}) -else: - from distutils import sysconfig - sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix') -sys.stdout.write(sitedir)"` - case $am_cv_python_pythondir in - $am_py_prefix*) - am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` - am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` - ;; - *) - case $am_py_prefix in - /usr|/System*) ;; - *) - am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 -$as_echo "$am_cv_python_pythondir" >&6; } - pythondir=$am_cv_python_pythondir - - - - pkgpythondir=\${pythondir}/$PACKAGE - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 -$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } -if ${am_cv_python_pyexecdir+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test "x$exec_prefix" = xNONE - then - am_py_exec_prefix=$am_py_prefix - else - am_py_exec_prefix=$exec_prefix - fi - am_cv_python_pyexecdir=`$PYTHON -c " -$am_python_setup_sysconfig -if can_use_sysconfig: - sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'}) -else: - from distutils import sysconfig - sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix') -sys.stdout.write(sitedir)"` - case $am_cv_python_pyexecdir in - $am_py_exec_prefix*) - am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` - am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` - ;; - *) - case $am_py_exec_prefix in - /usr|/System*) ;; - *) - am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 -$as_echo "$am_cv_python_pyexecdir" >&6; } - pyexecdir=$am_cv_python_pyexecdir - - - - pkgpyexecdir=\${pyexecdir}/$PACKAGE - - - - fi - - - PYTHON3_CONFIG_BIN= # Check whether --with-rlm-python3-config-bin was given. @@ -3180,83 +2916,7 @@ $as_echo "$as_me: ${PYTHON3_CONFIG_BIN}'s cflags were \"${python3_cflags}\"" >&6 { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized cflags were \"${mod_cflags}\"" >&5 $as_echo "$as_me: Sanitized cflags were \"${mod_cflags}\"" >&6;} - for ac_prog in gawk mawk nawk awk -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_AWK+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$AWK"; then - ac_cv_prog_AWK="$AWK" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -AWK=$ac_cv_prog_AWK -if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -$as_echo "$AWK" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$AWK" && break -done - - - - - # Used to indicate true or false condition - ax_compare_version=false - - # Convert the two version strings to be compared into a format that - # allows a simple string comparison. The end result is that a version - # string of the form 1.12.5-r617 will be converted to the form - # 0001001200050617. In other words, each number is zero padded to four - # digits, and non digits are removed. - - ax_compare_version_A=`echo "${PYTHON_VERSION}" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ - -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ - -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ - -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ - -e 's/[^0-9]//g'` - - - ax_compare_version_B=`echo "3.8" | sed -e 's/\([0-9]*\)/Z\1Z/g' \ - -e 's/Z\([0-9]\)Z/Z0\1Z/g' \ - -e 's/Z\([0-9][0-9]\)Z/Z0\1Z/g' \ - -e 's/Z\([0-9][0-9][0-9]\)Z/Z0\1Z/g' \ - -e 's/[^0-9]//g'` - - - ax_compare_version=`echo "x$ax_compare_version_A -x$ax_compare_version_B" | sed 's/^ *//' | sort -r | sed "s/x${ax_compare_version_A}/true/;s/x${ax_compare_version_B}/false/;1q"` - - - - if test "$ax_compare_version" = "true" ; then - EMBED="--embed" - fi - + AX_COMPARE_VERSION(${PYTHON_VERSION}, ge, 3.8, EMBED="--embed", ) python3_ldflags=`${PYTHON3_CONFIG_BIN} --ldflags $EMBED` { $as_echo "$as_me:${as_lineno-$LINENO}: ${PYTHON3_CONFIG_BIN}'s ldflags were \"$python3_ldflags}\"" >&5 @@ -3309,7 +2969,11 @@ ac_config_headers="$ac_config_headers config.h" -ac_config_files="$ac_config_files all.mk" + + unset ac_cv_env_LIBS_set + unset ac_cv_env_LIBS_value + + ac_config_files="$ac_config_files all.mk" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -3889,7 +3553,6 @@ gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' -AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF @@ -4584,3 +4247,4 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi + diff --git a/src/modules/rlm_python3/configure.ac b/src/modules/rlm_python3/configure.ac index 9c90ec2d00..74d54bf5bc 100644 --- a/src/modules/rlm_python3/configure.ac +++ b/src/modules/rlm_python3/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_python3.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_python3]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_radutmp/configure b/src/modules/rlm_radutmp/configure index 64ac92b320..2bfb8570f4 100755 --- a/src/modules/rlm_radutmp/configure +++ b/src/modules/rlm_radutmp/configure @@ -676,6 +676,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_radutmp ' ac_precious_vars='build_alias host_alias @@ -1289,6 +1290,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_radutmp build rlm_radutmp. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1968,6 +1974,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_radutmp was given. +if test "${with_rlm_radutmp+set}" = set; then : + withval=$with_rlm_radutmp; +fi + + if test x$with_rlm_radutmp != xno; then ac_ext=c diff --git a/src/modules/rlm_radutmp/configure.ac b/src/modules/rlm_radutmp/configure.ac index 214b0abcc1..e597105f94 100644 --- a/src/modules/rlm_radutmp/configure.ac +++ b/src/modules/rlm_radutmp/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_radutmp.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_radutmp]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_CHECK_HEADERS(sys/mman.h) diff --git a/src/modules/rlm_realm/configure b/src/modules/rlm_realm/configure index f370607012..13e202aa10 100755 --- a/src/modules/rlm_realm/configure +++ b/src/modules/rlm_realm/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_realm ' ac_precious_vars='build_alias host_alias @@ -1251,6 +1252,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_realm build rlm_realm. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1816,6 +1822,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_realm was given. +if test "${with_rlm_realm+set}" = set; then : + withval=$with_rlm_realm; +fi + + if test x$with_rlm_realm != xno; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/src/modules/rlm_realm/configure.ac b/src/modules/rlm_realm/configure.ac index df0081bfbc..281b3ea5c3 100644 --- a/src/modules/rlm_realm/configure.ac +++ b/src/modules/rlm_realm/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_realm.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_realm]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC AC_PROG_CPP diff --git a/src/modules/rlm_redis/configure b/src/modules/rlm_redis/configure index 6ba8b5d614..12357e127e 100755 --- a/src/modules/rlm_redis/configure +++ b/src/modules/rlm_redis/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_redis with_redis_include_dir with_redis_lib_dir with_redis_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_redis build rlm_redis. (default=yes) --with-redis-include-dir=DIR Directory where the redis includes may be found --with-redis-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_redis was given. +if test "${with_rlm_redis+set}" = set; then : + withval=$with_rlm_redis; +fi + + if test x$with_rlm_redis != xno; then diff --git a/src/modules/rlm_redis/configure.ac b/src/modules/rlm_redis/configure.ac index d7b8ca2cdb..93ecd3d651 100644 --- a/src/modules/rlm_redis/configure.ac +++ b/src/modules/rlm_redis/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_redis]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_rediswho/configure b/src/modules/rlm_rediswho/configure index cfc8dd4b3b..f906a222e8 100755 --- a/src/modules/rlm_rediswho/configure +++ b/src/modules/rlm_rediswho/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_rediswho with_redis_include_dir with_redis_lib_dir with_redis_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_rediswho build rlm_rediswho. (default=yes) --with-redis-include-dir=DIR Directory where the redis includes may be found --with-redis-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_rediswho was given. +if test "${with_rlm_rediswho+set}" = set; then : + withval=$with_rlm_rediswho; +fi + + if test x$with_rlm_rediswho != xno; then diff --git a/src/modules/rlm_rediswho/configure.ac b/src/modules/rlm_rediswho/configure.ac index 741b26cec2..e3336743a5 100644 --- a/src/modules/rlm_rediswho/configure.ac +++ b/src/modules/rlm_rediswho/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_rediswho]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_rest/configure b/src/modules/rlm_rest/configure index 04891c695e..2a97662fad 100755 --- a/src/modules/rlm_rest/configure +++ b/src/modules/rlm_rest/configure @@ -641,6 +641,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_rest with_libcurl with_jsonc_include_dir with_jsonc_lib_dir @@ -1261,6 +1262,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_rest build rlm_rest. (default=yes) --with-libcurl=PREFIX look for the curl library in PREFIX/lib and headers in PREFIX/include --with-jsonc-include-dir=DIR @@ -1941,6 +1943,13 @@ ac_config_headers="$ac_config_headers config.h" + +# Check whether --with-rlm_rest was given. +if test "${with_rlm_rest+set}" = set; then : + withval=$with_rlm_rest; +fi + + if test x$with_rlm_rest != xno; then ac_ext=c diff --git a/src/modules/rlm_rest/configure.ac b/src/modules/rlm_rest/configure.ac index 958da818dc..c1ad03d0df 100644 --- a/src/modules/rlm_rest/configure.ac +++ b/src/modules/rlm_rest/configure.ac @@ -5,6 +5,9 @@ AC_DEFUN(modname,[rlm_rest]) AC_CONFIG_HEADER(config.h) m4_include([m4/libcurl_check_config.m4]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_ruby/configure b/src/modules/rlm_ruby/configure index 15868ab662..92bc11eae5 100755 --- a/src/modules/rlm_ruby/configure +++ b/src/modules/rlm_ruby/configure @@ -648,6 +648,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_ruby with_ruby ' ac_precious_vars='build_alias @@ -1266,6 +1267,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_ruby build rlm_ruby. (default=yes) --with-ruby=[PATH] absolute path to ruby executable Some influential environment variables: @@ -2060,6 +2062,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu targetname=rlm_ruby mod_cflags= mod_ldflags= + + +# Check whether --with-rlm_ruby was given. +if test "${with_rlm_ruby+set}" = set; then : + withval=$with_rlm_ruby; +fi + + if test x$with_rlm_ruby != xno; then ac_ext=c ac_cpp='$CPP $CPPFLAGS' diff --git a/src/modules/rlm_ruby/configure.ac b/src/modules/rlm_ruby/configure.ac index 93063823bc..998921b2a7 100644 --- a/src/modules/rlm_ruby/configure.ac +++ b/src/modules/rlm_ruby/configure.ac @@ -16,6 +16,10 @@ m4_include([ax_ruby_devel.m4]) targetname=modname mod_cflags= mod_ldflags= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC AC_PROG_CPP diff --git a/src/modules/rlm_securid/configure b/src/modules/rlm_securid/configure index e553fb2538..88d6871019 100755 --- a/src/modules/rlm_securid/configure +++ b/src/modules/rlm_securid/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_securid with_rlm_securid_include_dir with_rlm_securid_lib_dir with_rlm_securid_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_securid build rlm_securid. (default=yes) --with-rlm-securid-include-dir=DIR Directory where the securid includes may be found --with-rlm-securid-lib-dir=DIR @@ -1791,6 +1793,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_securid was given. +if test "${with_rlm_securid+set}" = set; then : + withval=$with_rlm_securid; +fi + + if test x$with_rlm_securid != xno; then diff --git a/src/modules/rlm_securid/configure.ac b/src/modules/rlm_securid/configure.ac index fb8031e194..a42943fc69 100644 --- a/src/modules/rlm_securid/configure.ac +++ b/src/modules/rlm_securid/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_securid]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_smsotp/configure b/src/modules/rlm_smsotp/configure index 5010379078..c90bc60810 100755 --- a/src/modules/rlm_smsotp/configure +++ b/src/modules/rlm_smsotp/configure @@ -676,6 +676,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_smsotp ' ac_precious_vars='build_alias host_alias @@ -1289,6 +1290,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_smsotp build rlm_smsotp. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1968,6 +1974,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_smsotp was given. +if test "${with_rlm_smsotp+set}" = set; then : + withval=$with_rlm_smsotp; +fi + + if test x$with_rlm_smsotp != xno; then ac_ext=c diff --git a/src/modules/rlm_smsotp/configure.ac b/src/modules/rlm_smsotp/configure.ac index 689820dc4a..5fc5b5c5b7 100644 --- a/src/modules/rlm_smsotp/configure.ac +++ b/src/modules/rlm_smsotp/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_smsotp.c) AC_REVISION($Revision: 0.1 $) AC_DEFUN(modname,[rlm_smsotp]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_sql/configure b/src/modules/rlm_sql/configure index 201ea07ff9..422e5baf64 100755 --- a/src/modules/rlm_sql/configure +++ b/src/modules/rlm_sql/configure @@ -638,6 +638,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql build rlm_sql. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1734,6 +1740,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql was given. +if test "${with_rlm_sql+set}" = set; then : + withval=$with_rlm_sql; +fi + + if test x$with_rlm_sql != xno; then ac_ext=c diff --git a/src/modules/rlm_sql/configure.ac b/src/modules/rlm_sql/configure.ac index aa20f8f34b..8626dd3fdc 100644 --- a/src/modules/rlm_sql/configure.ac +++ b/src/modules/rlm_sql/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure index 86c9a9ebd5..0eeffda80a 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_db2 with_ibmdb2_include_dir with_ibmdb2_lib_dir with_ibmdb2_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_db2 build rlm_sql_db2. (default=yes) --with-ibmdb2-include-dir=DIR Directory where the IBM-DB2 includes may be found --with-ibmdb2-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_db2 was given. +if test "${with_rlm_sql_db2+set}" = set; then : + withval=$with_rlm_sql_db2; +fi + + if test x$with_rlm_sql_db2 != xno; then ibmdb2_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac index 75c851a135..44f84aa27e 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_db2]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-ibmdb2-include-dir diff --git a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure index 9b9fe6611e..ffdfca36f1 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_firebird with_firebird_include_dir with_firebird_lib_dir with_firebird_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_firebird build rlm_sql_firebird. (default=yes) --with-firebird-include-dir=DIR Directory where the firebird includes may be found --with-firebird-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_firebird was given. +if test "${with_rlm_sql_firebird+set}" = set; then : + withval=$with_rlm_sql_firebird; +fi + + if test x$with_rlm_sql_firebird != xno; then firebird_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac index 4da57b308e..4c2fd7ba9e 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_firebird]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-firebird-include-dir firebird_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure index ea383dabd0..501daaeb02 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_freetds with_freetds_include_dir with_freetds_lib_dir with_freetds_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_freetds build rlm_sql_freetds. (default=yes) --with-freetds-include-dir=DIR Directory where the freetds includes may be found --with-freetds-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_freetds was given. +if test "${with_rlm_sql_freetds+set}" = set; then : + withval=$with_rlm_sql_freetds; +fi + + if test x$with_rlm_sql_freetds != xno; then diff --git a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure.ac index 29a63bab2f..1ebc6e600e 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_freetds]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure index 12cb3488e5..99d0bbc3f3 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_iodbc with_iodbc_include_dir with_iodbc_lib_dir with_iodbc_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_iodbc build rlm_sql_iodbc. (default=yes) --with-iodbc-include-dir=DIR Directory where the Iodbc includes may be found --with-iodbc-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_iodbc was given. +if test "${with_rlm_sql_iodbc+set}" = set; then : + withval=$with_rlm_sql_iodbc; +fi + + if test x$with_rlm_sql_iodbc != xno; then iodbc_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac index ba6304fdcd..d26ac9c431 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_iodbc]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-iodbc-include-dir diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure index 11decee071..8ddcba052b 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_mongo with_mongoc_lib_dir with_mongoc_include_dir with_bson_lib_dir @@ -1255,6 +1256,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_mongo build rlm_sql_mongo. (default=yes) --with-mongoc-lib-dir Path of libmongoc libraries --with-mongoc-include-dir Path of libmongoc includes @@ -1823,6 +1825,13 @@ fail= mongoc_ldflags= mongoc_cflags= + +# Check whether --with-rlm_sql_mongo was given. +if test "${with_rlm_sql_mongo+set}" = set; then : + withval=$with_rlm_sql_mongo; +fi + + if test x$with_rlm_sql_mongo != xno; then diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure.ac index 3c9262476f..abaee00f81 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure.ac @@ -6,6 +6,9 @@ fail= mongoc_ldflags= mongoc_cflags= +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_ARG_WITH(mongoc_lib_dir, [AC_HELP_STRING([--with-mongoc-lib-dir], diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure index 2cf8280d8f..7ed19587c3 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_mysql with_mysql_include_dir with_mysql_lib_dir with_mysql_dir @@ -1256,6 +1257,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_mysql build rlm_sql_mysql. (default=yes) --with-mysql-include-dir=DIR Directory where the mysql includes may be found --with-mysql-lib-dir=DIR @@ -1795,6 +1797,14 @@ ac_config_headers="$ac_config_headers config.h" fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_mysql was given. +if test "${with_rlm_sql_mysql+set}" = set; then : + withval=$with_rlm_sql_mysql; +fi + + if test x$with_rlm_sql_mysql != xno; then mysql_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac index fbe57b6c1d..df36da77bf 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac @@ -7,6 +7,10 @@ AC_CONFIG_HEADER(config.h) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ dnl # Check for command line options diff --git a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure index bb330e11ad..5a8123851a 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_oracle with_oracle_include_dir with_oracle_lib_dir with_oracle_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_oracle build rlm_sql_oracle. (default=yes) --with-oracle-include-dir=DIR Directory where the oracle includes may be found --with-oracle-lib-dir=DIR @@ -1791,6 +1793,14 @@ oracle_supported_versions="19 18 12 11 10 9" fail= mod_ldflags= mod_cflags= + + +# Check whether --with-rlm_sql_oracle was given. +if test "${with_rlm_sql_oracle+set}" = set; then : + withval=$with_rlm_sql_oracle; +fi + + if test x$with_rlm_sql_oracle != xno; then diff --git a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac index 2a97fd6764..3b45da582a 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac @@ -6,6 +6,10 @@ oracle_supported_versions="19 18 12 11 10 9" fail= mod_ldflags= mod_cflags= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure index bfae32bb50..ab9967d542 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_postgresql with_rlm_sql_postgresql_lib_dir with_rlm_sql_postgresql_include_dir ' @@ -1253,6 +1254,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_postgresql build rlm_sql_postgresql. (default=yes) --with-rlm-sql-postgresql-lib-dir=DIR Directory for PostgreSQL library files --with-rlm-sql-postgresql-include-dir=DIR Directory for PostgreSQL include files @@ -1853,6 +1855,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_postgresql was given. +if test "${with_rlm_sql_postgresql+set}" = set; then : + withval=$with_rlm_sql_postgresql; +fi + + if test x$with_rlm_sql_postgresql != xno; then ac_ext=c diff --git a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac index 4f9a890ba0..74610aeadb 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure.ac @@ -5,6 +5,10 @@ AC_DEFUN(modname,[rlm_sql_postgresql]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure index 1c546c3691..6ea76be4e1 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_sqlite with_sqlite_include_dir with_sqlite_lib_dir with_sqlite_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_sqlite build rlm_sql_sqlite. (default=yes) --with-sqlite-include-dir=DIR Directory where the sqlite includes may be found --with-sqlite-lib-dir=DIR @@ -1911,6 +1913,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_sqlite was given. +if test "${with_rlm_sql_sqlite+set}" = set; then : + withval=$with_rlm_sql_sqlite; +fi + + if test x$with_rlm_sql_sqlite != xno; then diff --git a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure.ac index 29d0b63640..add95771da 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_sqlite]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ diff --git a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure index 1ae086aeb3..f6a6157ebb 100755 --- a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure +++ b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_unixodbc with_unixodbc_include_dir with_unixodbc_lib_dir with_unixodbc_dir @@ -1254,6 +1255,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_unixodbc build rlm_sql_unixodbc. (default=yes) --with-unixodbc-include-dir=DIR Directory where the unixODBC includes may be found --with-unixodbc-lib-dir=DIR @@ -1790,6 +1792,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fail= SMART_LIBS= SMART_CLFAGS= + + +# Check whether --with-rlm_sql_unixodbc was given. +if test "${with_rlm_sql_unixodbc+set}" = set; then : + withval=$with_rlm_sql_unixodbc; +fi + + if test x$with_rlm_sql_unixodbc != xno; then unixodbc_include_dir= diff --git a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac index 35453879e3..f10279fe1f 100644 --- a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac +++ b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure.ac @@ -6,6 +6,10 @@ AC_DEFUN(modname,[rlm_sql_unixodbc]) fail= SMART_LIBS= SMART_CLFAGS= + +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-unixodbc-include-dir diff --git a/src/modules/rlm_sql_map/configure b/src/modules/rlm_sql_map/configure index 3214bcc617..08c49a2631 100755 --- a/src/modules/rlm_sql_map/configure +++ b/src/modules/rlm_sql_map/configure @@ -629,6 +629,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sql_map ' ac_precious_vars='build_alias host_alias @@ -1236,6 +1237,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sql_map build rlm_sql_map. (default=yes) + Report bugs to the package provider. _ACEOF ac_status=$? @@ -1667,6 +1673,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_sql_map was given. +if test "${with_rlm_sql_map+set}" = set; then : + withval=$with_rlm_sql_map; +fi + + if test x$with_rlm_sql_map != xno; then diff --git a/src/modules/rlm_sql_map/configure.ac b/src/modules/rlm_sql_map/configure.ac index fb6459f774..df19649ea5 100644 --- a/src/modules/rlm_sql_map/configure.ac +++ b/src/modules/rlm_sql_map/configure.ac @@ -9,6 +9,9 @@ AC_INIT(rlm_sql_map.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_sql_map]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl This module doesn't need any autoconf test which is not already diff --git a/src/modules/rlm_sqlcounter/configure b/src/modules/rlm_sqlcounter/configure index 4c5ce71d29..72a475c392 100755 --- a/src/modules/rlm_sqlcounter/configure +++ b/src/modules/rlm_sqlcounter/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sqlcounter ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sqlcounter build rlm_sqlcounter. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1769,6 +1775,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_sqlcounter was given. +if test "${with_rlm_sqlcounter+set}" = set; then : + withval=$with_rlm_sqlcounter; +fi + + if test x$with_rlm_sqlcounter != xno; then ac_ext=c diff --git a/src/modules/rlm_sqlcounter/configure.ac b/src/modules/rlm_sqlcounter/configure.ac index 63aafd0120..293eebf818 100644 --- a/src/modules/rlm_sqlcounter/configure.ac +++ b/src/modules/rlm_sqlcounter/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_sqlcounter.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_sqlcounter]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_sqlhpwippool/configure b/src/modules/rlm_sqlhpwippool/configure index 38d85f5885..9e434c9f85 100755 --- a/src/modules/rlm_sqlhpwippool/configure +++ b/src/modules/rlm_sqlhpwippool/configure @@ -637,6 +637,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sqlhpwippool ' ac_precious_vars='build_alias host_alias @@ -1250,6 +1251,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sqlhpwippool build rlm_sqlhpwippool. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1769,6 +1775,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_sqlhpwippool was given. +if test "${with_rlm_sqlhpwippool+set}" = set; then : + withval=$with_rlm_sqlhpwippool; +fi + + if test x$with_rlm_sqlhpwippool != xno; then ac_ext=c diff --git a/src/modules/rlm_sqlhpwippool/configure.ac b/src/modules/rlm_sqlhpwippool/configure.ac index 1c02a13510..64222c0b84 100644 --- a/src/modules/rlm_sqlhpwippool/configure.ac +++ b/src/modules/rlm_sqlhpwippool/configure.ac @@ -2,6 +2,9 @@ AC_INIT(rlm_sqlhpwippool.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_sqlhpwippool]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_sqlippool/configure b/src/modules/rlm_sqlippool/configure index cb8000e399..6d07b2c4a6 100755 --- a/src/modules/rlm_sqlippool/configure +++ b/src/modules/rlm_sqlippool/configure @@ -629,6 +629,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_sqlippool ' ac_precious_vars='build_alias host_alias @@ -1236,6 +1237,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_sqlippool build rlm_sqlippool. (default=yes) + Report bugs to the package provider. _ACEOF ac_status=$? @@ -1667,6 +1673,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_sqlippool was given. +if test "${with_rlm_sqlippool+set}" = set; then : + withval=$with_rlm_sqlippool; +fi + + if test x$with_rlm_sqlippool != xno; then diff --git a/src/modules/rlm_sqlippool/configure.ac b/src/modules/rlm_sqlippool/configure.ac index 6c0309e05f..a3dbed2d9c 100644 --- a/src/modules/rlm_sqlippool/configure.ac +++ b/src/modules/rlm_sqlippool/configure.ac @@ -9,6 +9,9 @@ AC_INIT(rlm_sqlippool.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_sqlippool]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl This module doesn't need any autoconf test which is not already diff --git a/src/modules/rlm_unbound/configure b/src/modules/rlm_unbound/configure index 9a8659e736..4d92d5b127 100755 --- a/src/modules/rlm_unbound/configure +++ b/src/modules/rlm_unbound/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_unbound with_rlm_unbound_lib_dir with_rlm_unbound_include_dir ' @@ -1253,6 +1254,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_unbound build rlm_unbound. (default=yes) --with-rlm-unbound-lib-dir=DIR directory for libunbound library files --with-rlm-unbound-include-dir=DIR directory for libunbound include files @@ -1783,6 +1785,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_unbound was given. +if test "${with_rlm_unbound+set}" = set; then : + withval=$with_rlm_unbound; +fi + + if test x$with_rlm_unbound != xno; then rlm_unbound_lib_dir= diff --git a/src/modules/rlm_unbound/configure.ac b/src/modules/rlm_unbound/configure.ac index e57745dc45..c91b37a3c4 100644 --- a/src/modules/rlm_unbound/configure.ac +++ b/src/modules/rlm_unbound/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_unbound.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_unbound]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl extra argument: --with-rlm-unbound-lib-dir rlm_unbound_lib_dir= diff --git a/src/modules/rlm_unix/configure b/src/modules/rlm_unix/configure index 1b38ac1198..8ad9a34042 100755 --- a/src/modules/rlm_unix/configure +++ b/src/modules/rlm_unix/configure @@ -676,6 +676,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_unix ' ac_precious_vars='build_alias host_alias @@ -1289,6 +1290,11 @@ if test -n "$ac_init_help"; then cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_unix build rlm_unix. (default=yes) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -2081,6 +2087,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_unix was given. +if test "${with_rlm_unix+set}" = set; then : + withval=$with_rlm_unix; +fi + + if test x$with_rlm_unix != xno; then ac_ext=c diff --git a/src/modules/rlm_unix/configure.ac b/src/modules/rlm_unix/configure.ac index 25f47365f5..797b6f3092 100644 --- a/src/modules/rlm_unix/configure.ac +++ b/src/modules/rlm_unix/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_unix.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_unix]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then AC_PROG_CC diff --git a/src/modules/rlm_yubikey/configure b/src/modules/rlm_yubikey/configure index 593c9528b1..146d432ed6 100755 --- a/src/modules/rlm_yubikey/configure +++ b/src/modules/rlm_yubikey/configure @@ -636,6 +636,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_rlm_yubikey with_yubikey_include_dir with_yubikey_lib_dir with_yubikey_dir @@ -1257,6 +1258,7 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-rlm_yubikey build rlm_yubikey. (default=yes) --with-yubikey-include-dir=DIR Directory where the yubikey includes may be found --with-yubikey-lib-dir=DIR @@ -1795,6 +1797,13 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-rlm_yubikey was given. +if test "${with_rlm_yubikey+set}" = set; then : + withval=$with_rlm_yubikey; +fi + + if test x$with_rlm_yubikey != xno; then diff --git a/src/modules/rlm_yubikey/configure.ac b/src/modules/rlm_yubikey/configure.ac index d21703c73c..8f895bb8f4 100644 --- a/src/modules/rlm_yubikey/configure.ac +++ b/src/modules/rlm_yubikey/configure.ac @@ -3,6 +3,9 @@ AC_INIT(rlm_yubikey.c) AC_REVISION($Revision$) AC_DEFUN(modname,[rlm_yubikey]) +AC_ARG_WITH([]modname, +[ --with-[]modname build []modname. (default=yes)]) + if test x$with_[]modname != xno; then dnl ############################################################ dnl # Check for command line options