]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
also need FR_INIT_MODULE from v4
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 4 Oct 2022 20:00:54 +0000 (21:00 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Tue, 4 Oct 2022 20:11:31 +0000 (21:11 +0100)
49 files changed:
m4/fr_init_module.m4
src/modules/rlm_cache/configure
src/modules/rlm_cache/drivers/rlm_cache_memcached/configure
src/modules/rlm_cache/drivers/rlm_cache_redis/configure
src/modules/rlm_couchbase/configure
src/modules/rlm_counter/configure
src/modules/rlm_eap/configure
src/modules/rlm_eap/types/rlm_eap_fast/configure
src/modules/rlm_eap/types/rlm_eap_ikev2/configure
src/modules/rlm_eap/types/rlm_eap_pwd/configure
src/modules/rlm_eap/types/rlm_eap_sim/configure
src/modules/rlm_eap/types/rlm_eap_tnc/configure
src/modules/rlm_example/configure
src/modules/rlm_idn/configure
src/modules/rlm_ippool/configure
src/modules/rlm_json/configure
src/modules/rlm_krb5/configure
src/modules/rlm_ldap/configure
src/modules/rlm_mschap/configure
src/modules/rlm_opendirectory/configure
src/modules/rlm_pam/configure
src/modules/rlm_perl/configure
src/modules/rlm_python/configure
src/modules/rlm_python3/configure
src/modules/rlm_radutmp/configure
src/modules/rlm_realm/configure
src/modules/rlm_redis/configure
src/modules/rlm_rediswho/configure
src/modules/rlm_rest/configure
src/modules/rlm_ruby/configure
src/modules/rlm_securid/configure
src/modules/rlm_smsotp/configure
src/modules/rlm_sql/configure
src/modules/rlm_sql/drivers/rlm_sql_db2/configure
src/modules/rlm_sql/drivers/rlm_sql_firebird/configure
src/modules/rlm_sql/drivers/rlm_sql_freetds/configure
src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
src/modules/rlm_sql/drivers/rlm_sql_mongo/configure
src/modules/rlm_sql/drivers/rlm_sql_mysql/configure
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure
src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure
src/modules/rlm_sql_map/configure
src/modules/rlm_sqlcounter/configure
src/modules/rlm_sqlippool/configure
src/modules/rlm_unbound/configure
src/modules/rlm_unix/configure
src/modules/rlm_yubikey/configure

index d0e2b1a471d227a1107bde18a6887c1154303cff..91ac4ff818e9365390b74fc77a29b7385674b2d2 100644 (file)
@@ -1,9 +1,16 @@
-dnl Macro to set the module name for use later on.
+dnl Macro to set the module name and other useful common functions
+dnl
+dnl Usages:
+dnl   FR_INIT_MODULE([rlm_example])
+dnl   FR_INIT_MODULE([rlm_example], [the example module])
 dnl
 AC_DEFUN([FR_INIT_MODULE],
 [
-AC_DEFUN([modname],$1)
+  AC_DEFUN([modname],$1)
+  AC_DEFUN([modname_useropt],[m4_bpatsubst([]modname,[[-+.]],[_])])
 
-AC_ARG_WITH([$1],
-[AS_HELP_STRING([--without-$1],[build without ]ifelse([$2],[],[$1],[$2]))])
+  AC_ARG_WITH([$1],
+    [AS_HELP_STRING([--without-$1],[build without ]ifelse([$2],[],[$1],[$2]))])
 ])
+
+AC_DEFUN([FR_INIT_LIBRARY], m4_defn([FR_INIT_MODULE]))
index 15399ab13446d220f2d29b3f630be3a4e70de4a3..d75f9d86032ead77c38b5052e62a38af068ec85b 100755 (executable)
@@ -1755,6 +1755,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_cache was given.
 if test "${with_rlm_cache+set}" = set; then :
   withval=$with_rlm_cache;
@@ -1774,7 +1775,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_cache" != xno; then
 
 
 ac_ext=c
index 1ee23b0508550449573bb56416cd3468db3b732d..b0654a6128de6837c5a1b2eeada5fc49c75a8823 100755 (executable)
@@ -1920,6 +1920,7 @@ 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;
@@ -1936,7 +1937,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_cache_memcached" != xno; then
 
 
 ac_ext=c
index 0dc70c3033219ac66592a0d1c062be7429b329a8..b3f8451e3e18b8b041cb36d44671c236841067c6 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_cache_redis was given.
 if test "${with_rlm_cache_redis+set}" = set; then :
   withval=$with_rlm_cache_redis;
@@ -1829,7 +1830,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_cache_redis" != xno; then
 
 
 
index b02c8f2b5c3947c610893315eccfa077d6bd1845..46774776539057331657edc331b941bd82996973 100755 (executable)
@@ -1927,6 +1927,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_couchbase was given.
 if test "${with_rlm_couchbase+set}" = set; then :
   withval=$with_rlm_couchbase;
@@ -1943,7 +1944,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_couchbase" != xno; then
 
 
 ac_ext=c
index 17bf724d4e9ec4080a1a0ac7226b8b5e93c2889d..59b66eaa04a187281558f9f7d9f0b5dd8cce83a6 100755 (executable)
@@ -1911,6 +1911,7 @@ 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;
@@ -1927,7 +1928,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_counter" != xno; then
 
 
 ac_ext=c
index 6d31fd03f0354a2f046e8aae1bd705fd2dc40810..a87f8b0c7ab02b449ae6b10f0e470e557ca93fca 100755 (executable)
@@ -1758,6 +1758,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_eap was given.
 if test "${with_rlm_eap+set}" = set; then :
   withval=$with_rlm_eap;
@@ -1777,7 +1778,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap" != xno; then
 
 
 ac_ext=c
index b38cb89968efa191967e35f3aa12fd68ed489ae5..5aeb696db38e7cde6e0120299977ea436bf50475 100755 (executable)
@@ -1850,6 +1850,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_eap_fast was given.
 if test "${with_rlm_eap_fast+set}" = set; then :
   withval=$with_rlm_eap_fast;
@@ -1869,7 +1870,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap_fast" != xno; then
 
 
 openssl_lib_dir=
index ba3cec3c789cc15bc03f037f0b6f46494c4d7a52..e125aa608994e1174268abe58d975a189cfdfd72 100755 (executable)
@@ -1810,6 +1810,7 @@ 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;
@@ -1826,7 +1827,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap_ikev2" != xno; then
 
 
 eap_ikev2_include_dir=
index a5987f319c36c3f660b40606166664e496a5fce8..d108e97e60988fd877362b22118ef807f99e24a1 100755 (executable)
@@ -1874,6 +1874,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_eap_pwd was given.
 if test "${with_rlm_eap_pwd+set}" = set; then :
   withval=$with_rlm_eap_pwd;
@@ -1893,7 +1894,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap_pwd" != xno; then
 
 
 
index c55a59c60db841086ef9911468e20b3de932b091..aa7d6cacd41a8a13a9ca4187b549ef7c6a69357b 100755 (executable)
@@ -1693,6 +1693,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_eap_sim was given.
 if test "${with_rlm_eap_sim+set}" = set; then :
   withval=$with_rlm_eap_sim;
@@ -1712,7 +1713,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap_sim" != xno; then
 
 
 
index 7b1852c39ef916ff6be34d41b3b742e5dc4bbbf8..cbb7d203835c37c3fc832dc528afc737c93a55c9 100755 (executable)
@@ -1809,6 +1809,7 @@ 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;
@@ -1825,7 +1826,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_eap_tnc" != xno; then
 
 
 eap_tnc_include_dir=
index 678b5a9a810c71424e518be83e8c6799e25fac7d..594d1e5e6df4071f32721419ca379d3b10beacb6 100755 (executable)
@@ -1841,6 +1841,7 @@ 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;
@@ -1857,7 +1858,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_example" != xno; then
 
 
 ac_ext=c
index ea4fefbdcd45f911de533e30c6ff1c9d35d53822..bdde91a5740d793b21dd5403eac494bccda63f4c 100755 (executable)
@@ -1841,6 +1841,7 @@ 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;
@@ -1857,7 +1858,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_idn" != xno; then
 
 
 ac_ext=c
index d45eb2c46d75e9fbbd0156113b9149c1d1613d48..9cfa7457d7db8bf3469917810ed921129a889c94 100755 (executable)
@@ -1913,6 +1913,7 @@ 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;
@@ -1929,7 +1930,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_ippool" != xno; then
 
 
 ac_ext=c
index af728dca04660934e9b047c1f2b3ec9bfab407cc..3530a1749909be5233f7f2c445c92b7248015c94 100755 (executable)
@@ -1916,6 +1916,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_json was given.
 if test "${with_rlm_json+set}" = set; then :
   withval=$with_rlm_json;
@@ -1934,7 +1935,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_json" != xno; then
 
 
 ac_ext=c
index ca1b20778b705323716775d92e0a94bdd4df3042..c7df3357668366e0f190b9528f9b75efeab8887b 100755 (executable)
@@ -1953,6 +1953,7 @@ 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;
@@ -1969,7 +1970,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_krb5" != xno; then
 
 
 ac_ext=c
index 521e0ffc661549a7de2d97324e3ae83ed7fab032..685c29fa043a2a84b83bb172fb9708fd5da2eb11 100755 (executable)
@@ -1875,6 +1875,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_ldap was given.
 if test "${with_rlm_ldap+set}" = set; then :
   withval=$with_rlm_ldap;
@@ -1895,7 +1896,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_ldap" != xno; then
 
 
 
index be9f792ef476f9f3586e9a77ede6bf66963efada..fe001f1dce3954e3e979b306dd017c1c9b48c8a4 100755 (executable)
@@ -1850,6 +1850,7 @@ 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;
@@ -1866,7 +1867,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_mschap" != xno; then
 
 
 ac_ext=c
index f6fe40ac1899975d705de7461c80d962511042f1..e44a9ff71d2b501c68f601723c61bedafbf1c3c6 100755 (executable)
@@ -1842,6 +1842,7 @@ 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;
@@ -1858,7 +1859,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_opendirectory" != xno; then
 
 
 ac_ext=c
index 7c0cc18b5cbe455cb7fdc97896f2ab02cefae571..3045bddaf5ca004cf4a4c66d3beca29f46c8c8d9 100755 (executable)
@@ -2040,6 +2040,7 @@ 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;
@@ -2056,7 +2057,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_pam" != xno; then
 
 
 ac_ext=c
index ca70c4497a5d2ff4bc1dddbf275eee27df038792..6ad58dd05552fb76a98a22e6186dade092f4c8df 100755 (executable)
@@ -1846,6 +1846,7 @@ 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;
@@ -1862,7 +1863,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_perl" != xno; then
 
 
 ac_ext=c
index 69708f39c39d0bf96af8e8728738d16578a43405..636acb13c80ec748a0d48596f97e0549d11d5178 100755 (executable)
@@ -1918,6 +1918,7 @@ 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;
@@ -1934,7 +1935,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_python" != xno; then
 
 
 ac_ext=c
index 014b1efb7d981dc631053d394eba32e7f6977392..0effe07cc9bd4c3e95df0c247628612353d575b3 100755 (executable)
@@ -1932,6 +1932,7 @@ 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;
@@ -1948,7 +1949,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_python3" != xno; then
 
 
 ac_ext=c
index e77bea135eed3a76233e30a9cb71d355ac51e4f3..54b23c99a7c2bccce65a82342e2376dccf0f9076 100755 (executable)
@@ -1994,6 +1994,7 @@ 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;
@@ -2010,7 +2011,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_radutmp" != xno; then
 
 
 ac_ext=c
index 2ff2bd190cd792395af911a3628192763ec9ee49..1620face6dfca4f70b33d4e28e5ccf8628116bc6 100755 (executable)
@@ -1842,6 +1842,7 @@ 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;
@@ -1858,7 +1859,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_realm" != xno; then
 
 
 ac_ext=c
index 22a5d952175b5ba228e0dec4efe9995be0a35c7c..fabc984072de7897dff3095baab212eb779995e3 100755 (executable)
@@ -1809,6 +1809,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_redis was given.
 if test "${with_rlm_redis+set}" = set; then :
   withval=$with_rlm_redis;
@@ -1828,7 +1829,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_redis" != xno; then
 
 
 
index ebcd3bdfe4bd52b649ed8841e840859596dc8e01..af7b490e0a7dd08bbf3158f53e60c1ca4eb3bf3a 100755 (executable)
@@ -1809,6 +1809,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_rediswho was given.
 if test "${with_rlm_rediswho+set}" = set; then :
   withval=$with_rlm_rediswho;
@@ -1828,7 +1829,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_rediswho" != xno; then
 
 
 
index c1673d8ea23c2989005bf6ccb589207b42b63e0e..a0f8b0def09d6e5d3a282665ae00cdf7ecab5366 100755 (executable)
@@ -1923,6 +1923,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_rest was given.
 if test "${with_rlm_rest+set}" = set; then :
   withval=$with_rlm_rest;
@@ -1939,7 +1940,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_rest" != xno; then
 
 
 ac_ext=c
index 31ae74d54e9f1103381c92eba569d2995ca67ef6..87f61d6e49cb409051740a998678d01f5b5c6c20 100755 (executable)
@@ -1856,6 +1856,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_ruby was given.
 if test "${with_rlm_ruby+set}" = set; then :
   withval=$with_rlm_ruby;
@@ -1875,7 +1876,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_ruby" != xno; then
 
 
 ac_ext=c
index 4ca5fcf909022e4a15eea8428d4578cae4f7900e..2752c98e14eb06cfa531b42434ac66079573dc41 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_securid was given.
 if test "${with_rlm_securid+set}" = set; then :
   withval=$with_rlm_securid;
@@ -1829,7 +1830,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_securid" != xno; then
 
 
 
index 0abe03cbf899175427fd32d138a8269ee4900fd2..cb684e0aa817c5ed6ab53440291804a186ef9bf5 100755 (executable)
@@ -1994,6 +1994,7 @@ 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;
@@ -2010,7 +2011,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_smsotp" != xno; then
 
 
 ac_ext=c
index 5482cacf5cd80be079455cb6af621d43d559bcec..ce623fb8dbb853e821fe800e92ea6e6278dcc6a2 100755 (executable)
@@ -1757,6 +1757,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql was given.
 if test "${with_rlm_sql+set}" = set; then :
   withval=$with_rlm_sql;
@@ -1776,7 +1777,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql" != xno; then
 
 
 ac_ext=c
index 41037177329d8416a608d4fcfd410dbfb17b5bc6..0c36ba8f88fdf9788844e2bf27d0a973dbee872a 100755 (executable)
@@ -1809,6 +1809,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_db2 was given.
 if test "${with_rlm_sql_db2+set}" = set; then :
   withval=$with_rlm_sql_db2;
@@ -1828,7 +1829,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_db2" != xno; then
 
 
 ibmdb2_include_dir=
index 124006470c82b9a4003db7eff3ac7ae6140362c9..d7baa6a0af283703ae83dd40f85dd00f60f05c39 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_firebird was given.
 if test "${with_rlm_sql_firebird+set}" = set; then :
   withval=$with_rlm_sql_firebird;
@@ -1829,7 +1830,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_firebird" != xno; then
 
 
 firebird_include_dir=
index 0e53cd30576e390f7924bcce11bbdc7ae59bf40b..35a00f9217e07cb8fc3d956c62595e390c475e45 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_freetds was given.
 if test "${with_rlm_sql_freetds+set}" = set; then :
   withval=$with_rlm_sql_freetds;
@@ -1829,7 +1830,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_freetds" != xno; then
 
 
 
index dbd256b28707b16c4d1f555a3b5658f900c51077..0fb563cea3f893bcf621b20604e0a81be45392b8 100755 (executable)
@@ -1809,6 +1809,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_iodbc was given.
 if test "${with_rlm_sql_iodbc+set}" = set; then :
   withval=$with_rlm_sql_iodbc;
@@ -1828,7 +1829,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_iodbc" != xno; then
 
 
 iodbc_include_dir=
index afdba7ab4179c293920e3d267d55f27cf87a24bc..378fc3118e7d28176efb133baabc99b9b2f8b785 100755 (executable)
@@ -1841,6 +1841,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_mongo was given.
 if test "${with_rlm_sql_mongo+set}" = set; then :
   withval=$with_rlm_sql_mongo;
@@ -1860,7 +1861,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_mongo" != xno; then
 
 
 
index 065d33268166d58e8dddf98c00a7d4907b573f06..b2f4f9d1deb19c0704a13131a64f1e12d5e53df0 100755 (executable)
@@ -1812,6 +1812,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_mysql was given.
 if test "${with_rlm_sql_mysql+set}" = set; then :
   withval=$with_rlm_sql_mysql;
@@ -1831,7 +1832,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_mysql" != xno; then
 
 
 
index ae4cf68c18d78ad4d058fc5398da2877a59769b6..4fa63c328f05722ac33b941f5723ccfdbe419a7e 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_oracle was given.
 if test "${with_rlm_sql_oracle+set}" = set; then :
   withval=$with_rlm_sql_oracle;
@@ -1830,7 +1831,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_oracle" != xno; then
 
 
 
index 5bf327d5e5ca0a4c50974db95e10d7b3fca1e8dd..c22d6542892f47f63cc9fb87dad512b0ced24086 100755 (executable)
@@ -1875,6 +1875,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_postgresql was given.
 if test "${with_rlm_sql_postgresql+set}" = set; then :
   withval=$with_rlm_sql_postgresql;
@@ -1894,7 +1895,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_postgresql" != xno; then
 
 
 ac_ext=c
index eb287b2f4b647b17d49bbd9b8c2c0d2144cd3067..3e15470d51c065b3773fb0d197c8c309fbc35db8 100755 (executable)
@@ -1931,6 +1931,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_sqlite was given.
 if test "${with_rlm_sql_sqlite+set}" = set; then :
   withval=$with_rlm_sql_sqlite;
@@ -1950,7 +1951,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_sqlite" != xno; then
 
 
 
index 508d93b652e43f8a6d9f5ca432d28e3303eb57b7..f9201782527120ca4dd1f113bc74ede40ea47bd7 100755 (executable)
@@ -1810,6 +1810,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
 # Check whether --with-rlm_sql_unixodbc was given.
 if test "${with_rlm_sql_unixodbc+set}" = set; then :
   withval=$with_rlm_sql_unixodbc;
@@ -1829,7 +1830,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_unixodbc" != xno; then
 
 
 unixodbc_include_dir=
index 61ea1f991e6753d68f4e7727f54e9030a2fabdf7..b9ca1bf53614aa534ee883c159deb1bb19fecd8f 100755 (executable)
@@ -1693,6 +1693,7 @@ 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;
@@ -1709,7 +1710,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sql_map" != xno; then
 
 
 
index 6c1fd6ca97ed5e70e6ebe183b6e1026094114014..c057c1767c3807fe1a76a3ba3e05da18c60da387 100755 (executable)
@@ -1796,6 +1796,7 @@ 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;
@@ -1812,7 +1813,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sqlcounter" != xno; then
 
 
 ac_ext=c
index 028c5fa1c2e404c3ffae6f8cb04a7e46ca8e0173..b5ded19456466eea27379535e23dd5c909598538 100755 (executable)
@@ -1693,6 +1693,7 @@ 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;
@@ -1709,7 +1710,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_sqlippool" != xno; then
 
 
 
index 058927d1074726e39ea5359a9bd7dd35140a0972..eba8578b113bf36caf6f8b58f797e060f52ae391 100755 (executable)
@@ -1807,6 +1807,7 @@ 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;
@@ -1823,7 +1824,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_unbound" != xno; then
 
 
 rlm_unbound_lib_dir=
index 02648a5cbe9670fb0f3b90c5644d6ab69ee02208..a3751223889798dba7b205f43243e0adb955b431 100755 (executable)
@@ -2107,6 +2107,7 @@ 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;
@@ -2123,7 +2124,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_unix" != xno; then
 
 
 ac_ext=c
index 64c49c3a5df53a383bf02e58b3cf0d91ff297401..7c345f2f8af31ef8f76301df73735cae0a4124d3 100755 (executable)
@@ -1817,6 +1817,7 @@ 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;
@@ -1833,7 +1834,7 @@ fr_features=
 
 
 
-if test x"$with_modname_useropt" != xno; then
+if test x"$with_rlm_yubikey" != xno; then