$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+
+
+library_list=$(find src/lib/ -mindepth 1 -maxdepth 1 -type d -print | sort)
+
+echo
+echo Library configure status report
+echo -------------------------------
+
+for library in $library_list; do
+ library_name="$(basename $library)"
+ library_print="$(echo "$library_name ........................" | cut -c 1-25)"
+ library_status="OK"
+
+ if test -r $library/configure.ac; then
+ if test -r $library/config.report; then
+ library_status=$(cat $library/config.report)
+ fi
+ fi
+
+ echo "$library_print $library_status"
+done
+
+
+module_list=$(find src/modules/ -type d -name 'rlm_*' -print | sort)
+
+echo
+echo Module configure status report
+echo ------------------------------
+
+for module in $module_list; do
+ module_name="$(basename $module)"
+ module_print="$(echo "$module_name ........................" | cut -c 1-25)"
+ module_status="OK"
+
+ if test -r $module/configure.ac; then
+ if test -r $module/config.report; then
+ module_status=$(cat $module/config.report)
+ fi
+ fi
+
+ $as_echo "$module_print $module_status"
+done
+
ac_unique_file="base.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
version
mod_ldflags
mod_cflags
+targetname
LIBCURL
LIBCURL_CPPFLAGS
_libcurl_config
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for libfreeradius-curl
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-libfreeradius-curl was given.
if test "${with_libfreeradius_curl+set}" = set; then :
withval=$with_libfreeradius_curl;
-
ac_config_headers="$ac_config_headers config.h"
-if test x$with_libfreeradius_curl != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_libfreeradius_curl" != xno; then
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
fi
fi
- targetname=libfreeradius-curl
version="$libcurl_cv_lib_curl_version"
+
+ targetname=libfreeradius-curl
else
targetname=
echo \*\*\* module libfreeradius-curl is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-libfreeradius-curl to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building libfreeradius-curl." >&5
$as_echo "$as_me: WARNING: silently not building libfreeradius-curl." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-curl requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: libfreeradius-curl requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
-mod_ldflags="$LIBCURL"
-mod_cflags="$LIBCURL_CPPFLAGS"
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+rm "config.report.tmp"
+mod_ldflags="$LIBCURL"
+mod_cflags="$LIBCURL_CPPFLAGS"
+
+
+
ac_config_files="$ac_config_files all.mk"
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
ac_unique_file="json.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
CPP
OBJEXT
EXEEXT
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for libfreeradius-json
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-libfreeradius-json was given.
if test "${with_libfreeradius_json+set}" = set; then :
withval=$with_libfreeradius_json;
-ac_config_headers="$ac_config_headers config.h"
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
-if test x$with_libfreeradius_json != xno; then
+if test x"$with_libfreeradius_json" != xno; then
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
fail="$fail json-c >= 0.13"
fi
+
targetname=libfreeradius-json
else
targetname=
echo \*\*\* module libfreeradius-json is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-libfreeradius-json to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building libfreeradius-json." >&5
$as_echo "$as_me: WARNING: silently not building libfreeradius-json." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-json requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: libfreeradius-json requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
+
+if test x"$fail" = x""; then :
+
$as_echo "#define HAVE_JSON 1" >>confdefs.h
+
fi
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+ac_config_headers="$ac_config_headers config.h"
ac_config_files="$ac_config_files all.mk"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
fi
-
ac_unique_file="base.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for libfreeradius-kafka
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-libfreeradius-kafka was given.
if test "${with_libfreeradius_kafka+set}" = set; then :
withval=$with_libfreeradius_kafka;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_modname_useropt != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_libfreeradius_kafka" != xno; then
+
+
rdkafka_include_dir=
fail="$fail libhirdkafka"
fi
- targetname=libfreeradius-kafka
+
+ targetname=libfreeradius-kafka
else
- targetname=
- echo \*\*\* module libfreeradius-kafka is disabled.
+ targetname=
+ echo \*\*\* module libfreeradius-kafka is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-libfreeradius-kafka to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building libfreeradius-kafka." >&5
$as_echo "$as_me: WARNING: silently not building libfreeradius-kafka." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-kafka requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: libfreeradius-kafka requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-kafka requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: libfreeradius-kafka requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="base.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
SASL
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for libfreeradius-ldap
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-libfreeradius-ldap was given.
if test "${with_libfreeradius_ldap+set}" = set; then :
withval=$with_libfreeradius_ldap;
-
-fail=
SMART_LIBS=
SMART_CLFAGS=
SASL=
-if test x$with_libfreeradius_ldap != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_libfreeradius_ldap" != xno; then
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
fi
fi
+
targetname=libfreeradius-ldap
else
targetname=
echo \*\*\* module libfreeradius-ldap is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-libfreeradius-ldap to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building libfreeradius-ldap." >&5
$as_echo "$as_me: WARNING: silently not building libfreeradius-ldap." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-ldap requires: $fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: libfreeradius-ldap requires: $fail." >&2;}
- if test x"$headersuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $headersuggestion" >&5
-$as_echo "$as_me: WARNING: $headersuggestion" >&2;}
- fi
- if test x"$libsuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libsuggestion" >&5
-$as_echo "$as_me: WARNING: $libsuggestion" >&2;}
- fi
- targetname=""
+$as_echo "$as_me: WARNING: FAILURE: libfreeradius-ldap requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
$as_echo "#define WITH_EDIR 1" >>confdefs.h
ac_config_headers="$ac_config_headers config.h"
-
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="redis.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for libfreeradius-redis
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-libfreeradius-redis was given.
if test "${with_libfreeradius_redis+set}" = set; then :
withval=$with_libfreeradius_redis;
-
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_libfreeradius_redis != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_libfreeradius_redis" != xno; then
+
+
redis_include_dir=
fail="$fail libhiredis"
fi
- targetname=libfreeradius-redis
+
+ targetname=libfreeradius-redis
else
- targetname=
- echo \*\*\* module libfreeradius-redis is disabled.
+ targetname=
+ echo \*\*\* module libfreeradius-redis is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-libfreeradius-redis to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building libfreeradius-redis." >&5
$as_echo "$as_me: WARNING: silently not building libfreeradius-redis." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-redis requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: libfreeradius-redis requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: libfreeradius-redis requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: libfreeradius-redis requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_cache build without rlm_cache
+ --without-rlm_cache build without module to cache attributes
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_cache
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_cache was given.
if test "${with_rlm_cache+set}" = set; then :
withval=$with_rlm_cache;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_cache != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_cache" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- mysubdirs=
- if test "x$EXPERIMENTAL" = "xyes"; then
- for foo in `find ./drivers -name configure -print`; do
- bar=`echo $foo | sed 's%/configure$%%g'`
- mysubdirs="$mysubdirs $bar"
- done
- else
- for foo in `cat stable`; do
- mysubdirs="$mysubdirs ./drivers/$foo"
- done
- fi
+mysubdirs=
+if test "x$EXPERIMENTAL" = "xyes"; then
+ for foo in `find ./drivers -name configure -print`; do
+ bar=`echo $foo | sed 's%/configure$%%g'`
+ mysubdirs="$mysubdirs $bar"
+ done
+else
+ for foo in `cat stable`; do
+ mysubdirs="$mysubdirs ./drivers/$foo"
+ done
+fi
- ln -s ../../../install-sh install-sh
+ln -s ../../../install-sh install-sh
- ac_aux_dir=
+ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
subdirs="$subdirs $mysubdirs"
- rm install-sh
+rm install-sh
targetname=rlm_cache
else
targetname=
echo \*\*\* module rlm_cache is disabled.
+
+
+fr_status="disabled"
+
fi
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_cache." >&5
+$as_echo "$as_me: WARNING: silently not building rlm_cache." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_cache requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_cache requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
ac_config_files="$ac_config_files all.mk"
ac_unique_file="rlm_cache_memcached.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
CPP
OBJEXT
EXEEXT
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_cache_memcached
- build without rlm_cache_memcached
+ build without memcached support for rlm_cache
--with-libmemcached-include-dir=DIR
Directory where the libmemcached includes may be
found
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_cache_memcached
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_cache_memcached was given.
if test "${with_rlm_cache_memcached+set}" = set; then :
withval=$with_rlm_cache_memcached;
-if test x$with_rlm_cache_memcached != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_cache_memcached" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-
- libmemcached_include_dir=
+libmemcached_include_dir=
# Check whether --with-libmemcached-include-dir was given.
if test "${with_libmemcached_include_dir+set}" = set; then :
withval=$with_libmemcached_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need libmemcached-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libmemcached_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libmemcached-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libmemcached_include_dir="$withval"
+ ;;
+ esac
fi
- libmemcached_lib_dir=
+libmemcached_lib_dir=
# Check whether --with-libmemcached-lib-dir was given.
if test "${with_libmemcached_lib_dir+set}" = set; then :
withval=$with_libmemcached_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need libmemcached-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libmemcached_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libmemcached-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libmemcached_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-libmemcached-dir was given.
if test "${with_libmemcached_dir+set}" = set; then :
withval=$with_libmemcached_dir; case "$withval" in
- no)
- as_fn_error $? "Need libmemcached-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libmemcached_lib_dir="$withval/lib"
- libmemcached_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libmemcached-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libmemcached_lib_dir="$withval/lib"
+ libmemcached_include_dir="$withval/include"
+ ;;
+ esac
fi
- have_json="yes"
- smart_try_dir="$libmemcached_include_dir"
+smart_try_dir="$libmemcached_include_dir"
smart_prefix=
- if test "x$ac_cv_header_libmemcached_memcached_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmemcached headers not found. Use --with-libmemcached-include-dir=<path>." >&5
+if test "x$ac_cv_header_libmemcached_memcached_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmemcached headers not found. Use --with-libmemcached-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: libmemcached headers not found. Use --with-libmemcached-include-dir=<path>." >&2;}
- fail='memcached.h'
- fi
+
+fail="$fail memcached.h"
+
+fi
fi
- smart_try_dir="$libmemcached_lib_dir"
+smart_try_dir="$libmemcached_lib_dir"
sm_lib_safe=`echo "memcached" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_memcached_memcached" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmemcached libraries not found. Use --with-libmemcached-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_memcached_memcached" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmemcached libraries not found. Use --with-libmemcached-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libmemcached libraries not found. Use --with-libmemcached-lib-dir=<path>." >&2;}
- fail="libmemcached $fail"
- else
- for ac_func in \
- memcached \
- memcached_free \
- memcached_get \
- memcached_set \
- memcached_delete \
- libmemcached_check_configuration \
+
+fail="$fail libmemcached"
+
+else
+ for ac_func in \
+ memcached \
+ memcached_free \
+ memcached_get \
+ memcached_set \
+ memcached_delete \
+ libmemcached_check_configuration \
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
_ACEOF
else
- fail="memached functions"
+
+
+fail="$fail memcached functions"
+
+
fi
done
- fi
+fi
+
targetname=rlm_cache_memcached
else
targetname=
echo \*\*\* module rlm_cache_memcached is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_cache_memcached to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_cache_memcached." >&5
$as_echo "$as_me: WARNING: silently not building rlm_cache_memcached." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_cache_memcached requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_cache_memcached requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$LIBCURL $SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
-
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_couchbase.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
CPP
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_couchbase build without rlm_couchbase
+ --without-rlm_couchbase build without couchbase database support
--with-libcouchbase-include-dir=DIR
Directory where the libcouchbase includes may be
found
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_couchbase
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_couchbase was given.
if test "${with_rlm_couchbase+set}" = set; then :
withval=$with_rlm_couchbase;
fi
-ac_config_headers="$ac_config_headers config.h"
-if test x$with_rlm_couchbase != xno; then
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
- ac_ext=c
+
+
+if test x"$with_rlm_couchbase" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-
- libcouchbase_include_dir=
+libcouchbase_include_dir=
# Check whether --with-libcouchbase-include-dir was given.
if test "${with_libcouchbase_include_dir+set}" = set; then :
withval=$with_libcouchbase_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need libcouchbase-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libcouchbase_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libcouchbase-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libcouchbase_include_dir="$withval"
+ ;;
+ esac
fi
- libcouchbase_lib_dir=
+libcouchbase_lib_dir=
# Check whether --with-libcouchbase-lib-dir was given.
if test "${with_libcouchbase_lib_dir+set}" = set; then :
withval=$with_libcouchbase_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need libcouchbase-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libcouchbase_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libcouchbase-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libcouchbase_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-libcouchbase-dir was given.
if test "${with_libcouchbase_dir+set}" = set; then :
withval=$with_libcouchbase_dir; case "$withval" in
- no)
- as_fn_error $? "Need libcouchbase-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- libcouchbase_lib_dir="$withval/lib"
- libcouchbase_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need libcouchbase-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ libcouchbase_lib_dir="$withval/lib"
+ libcouchbase_include_dir="$withval/include"
+ ;;
+ esac
fi
- have_couchbase="yes"
- smart_try_dir="$libcouchbase_include_dir"
+smart_try_dir="$libcouchbase_include_dir"
smart_prefix=
- if test "x$ac_cv_header_libcouchbase_couchbase_h" != "xyes"; then
- have_couchbase="no"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcouchbase headers not found. Use --with-libcouchbase-include-dir=<path>." >&5
+if test "x$ac_cv_header_libcouchbase_couchbase_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcouchbase headers not found. Use --with-libcouchbase-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: libcouchbase headers not found. Use --with-libcouchbase-include-dir=<path>." >&2;}
- fi
+
+fail="$fail couchbase.h"
+
+fi
- smart_try_dir="$libcouchbase_lib_dir"
+smart_try_dir="$libcouchbase_lib_dir"
sm_lib_safe=`echo "couchbase" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_couchbase_lcb_get_version" != "xyes"; then
- have_couchbase="no"
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcouchbase libraries not found. Use --with-libcouchbase-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_couchbase_lcb_get_version" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libcouchbase libraries not found. Use --with-libcouchbase-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libcouchbase libraries not found. Use --with-libcouchbase-lib-dir=<path>." >&2;}
- fi
- if test x"$have_couchbase" != x"yes"; then
- fail="$fail libcouchbase"
- fi
+fail="$fail libcouchbase"
+
+fi
targetname=rlm_couchbase
else
targetname=
echo \*\*\* module rlm_couchbase is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_couchbase to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_couchbase." >&5
$as_echo "$as_me: WARNING: silently not building rlm_couchbase." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_couchbase requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_couchbase requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="${SMART_LIBS}"
mod_cflags="${SMART_CPPFLAGS}"
+ac_config_headers="$ac_config_headers config.h"
ac_config_files="$ac_config_files all.mk"
enable_option_checking=no
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
eaptypes
+targetname
subdirs
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_eap build without rlm_eap
+ --without-rlm_eap build without EAP functionality
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_eap
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_eap was given.
if test "${with_rlm_eap+set}" = set; then :
withval=$with_rlm_eap;
-fail=
SMART_LIBS=
SMART_CLFAGS=
+eapsubdirs=
+
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
-if test x$with_rlm_eap != xno; then
- ac_ext=c
+if test x"$with_rlm_eap" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- eapsubdirs=
- for foo in `find ./types -name configure -print`; do
- bar=`echo $foo | sed 's%/configure$%%g'`
- eapsubdirs="$eapsubdirs $bar"
- done
+for foo in `find ./types -name configure -print`; do
+ bar=`echo $foo | sed 's%/configure$%%g'`
+ eapsubdirs="$eapsubdirs $bar"
+done
- ln -s ../../../install-sh install-sh
+ln -s ../../../install-sh install-sh
- ac_aux_dir=
+ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
subdirs="$subdirs $eapsubdirs"
- rm install-sh
+rm install-sh
targetname=rlm_eap
else
targetname=
echo \*\*\* module rlm_eap is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_eap to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_eap." >&5
$as_echo "$as_me: WARNING: silently not building rlm_eap." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_eap requires: $fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_eap requires: $fail." >&2;}
- if test x"$headersuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $headersuggestion" >&5
-$as_echo "$as_me: WARNING: $headersuggestion" >&2;}
- fi
- if test x"$libsuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libsuggestion" >&5
-$as_echo "$as_me: WARNING: $libsuggestion" >&2;}
- fi
- targetname=""
- eapsubdirs=""
+$as_echo "$as_me: WARNING: FAILURE: rlm_eap requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
+
+if test x"$fail" != x""; then :
+ eapsubdirs=""
fi
+
eaptypes=types
if test x"$eapsubdirs" = x""; then
eaptypes=""
ac_unique_file="rlm_idn.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
CPP
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_idn build without rlm_idn
+ --without-rlm_idn build without support for internationalized domain
+ names
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_idn
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_idn was given.
if test "${with_rlm_idn+set}" = set; then :
withval=$with_rlm_idn;
-if test x$with_rlm_idn != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_idn" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_idn_idna_to_ascii_8z" != "xyes"; then
- fail="$fail libidn"
- fi
+if test "x$ac_cv_lib_idn_idna_to_ascii_8z" != "xyes"; then
+
+fail="$fail libidn"
+
+fi
smart_prefix=
- if test "$ac_cv_header_idna_h" != "yes"; then
- fail="$fail idna.h"
- fi
+if test "$ac_cv_header_idna_h" != "yes"; then
+
+fail="$fail idna.h"
+
+fi
+
+
targetname=rlm_idn
else
targetname=
echo \*\*\* module rlm_idn is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_idn to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_idn." >&5
$as_echo "$as_me: WARNING: silently not building rlm_idn." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_idn requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_idn requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="${SMART_LIBS}"
mod_cflags="${SMART_CPPFLAGS}"
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
ac_unique_file="rlm_krb5.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
krb5_config
CPP
OBJEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_krb5 build without rlm_krb5
- --with-rlm-krb5-dir=DIR Directory for krb5 files
+ --without-rlm_krb5 build without Kerberos support
+ --with-rlm-krb5-dir=DIR directory where krb5 files are installed
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_krb5
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_krb5 was given.
if test "${with_rlm_krb5+set}" = set; then :
withval=$with_rlm_krb5;
-if test x$with_rlm_krb5 != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_krb5" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- rlm_krb5_dir=
+rlm_krb5_dir=
# Check whether --with-rlm-krb5-dir was given.
if test "${with_rlm_krb5_dir+set}" = set; then :
- withval=$with_rlm_krb5_dir; case "$withval" in
- no)
+ withval=$with_rlm_krb5_dir; case "$withval" in
+ no)
as_fn_error $? "Need rlm-krb5-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
rlm_krb5_dir="$withval"
;;
- esac
-
+ esac
fi
- # Extract the first word of "krb5-config", so it can be a program name with args.
+# Extract the first word of "krb5-config", so it can be a program name with args.
set dummy krb5-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
fi
- if test "$krb5_config" != 'not-found'; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config CFLAGS" >&5
+if test "$krb5_config" != 'not-found'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config CFLAGS" >&5
$as_echo_n "checking krb5-config CFLAGS... " >&6; }
- SMART_CPPFLAGS=$($krb5_config --cflags)
- SMART_CPPFLAGS=$(echo "$SMART_CPPFLAGS" | sed 's/-I[ ]*/-isystem /g')
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$SMART_CPPFLAGS\"" >&5
+ SMART_CPPFLAGS=$($krb5_config --cflags)
+ SMART_CPPFLAGS=$(echo "$SMART_CPPFLAGS" | sed 's/-I[ ]*/-isystem /g')
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$SMART_CPPFLAGS\"" >&5
$as_echo "\"$SMART_CPPFLAGS\"" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config LDFLAGS" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config LDFLAGS" >&5
$as_echo_n "checking krb5-config LDFLAGS... " >&6; }
- SMART_LIBS=$($krb5_config --libs)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SMART_LIBS}" >&5
+ SMART_LIBS=$($krb5_config --libs)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SMART_LIBS}" >&5
$as_echo "${SMART_LIBS}" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config reported version" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config reported version" >&5
$as_echo_n "checking krb5-config reported version... " >&6; }
- krb5_version_raw=$($krb5_config --version)
+ krb5_version_raw=$($krb5_config --version)
- krb5_version=$(echo "$krb5_version_raw" | head -n 1 | \
- awk '{split($(4),v,"."); if (v["3"] == "") v["3"] = "0"; print v["1"]v["2"]v["3"] }')
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${krb5_version_raw} ($krb5_version)" >&5
+ krb5_version=$(echo "$krb5_version_raw" | head -n 1 | \
+ awk '{split($(4),v,"."); if (v["3"] == "") v["3"] = "0"; print v["1"]v["2"]v["3"] }')
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${krb5_version_raw} ($krb5_version)" >&5
$as_echo "${krb5_version_raw} ($krb5_version)" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config reported vendor" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking krb5-config reported vendor" >&5
$as_echo_n "checking krb5-config reported vendor... " >&6; }
- krb5_vendor=$($krb5_config --vendor)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${krb5_vendor}" >&5
+ krb5_vendor=$($krb5_config --vendor)
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${krb5_vendor}" >&5
$as_echo "${krb5_vendor}" >&6; }
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking canonical API type" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking canonical API type" >&5
$as_echo_n "checking canonical API type... " >&6; }
- if test "$krb5_vendor" = "Massachusetts Institute of Technology" || \
- echo "$krb5_vendor" | grep -i 'MIT' > /dev/null 2>&1 || \
- echo "$krb5_version_raw" | grep -i 'MIT' > /dev/null 2>&1 ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: MIT" >&5
+ if test "$krb5_vendor" = "Massachusetts Institute of Technology" || \
+ echo "$krb5_vendor" | grep -i 'MIT' > /dev/null 2>&1 || \
+ echo "$krb5_version_raw" | grep -i 'MIT' > /dev/null 2>&1 ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: MIT" >&5
$as_echo "MIT" >&6; }
- krb5_api_type='mit'
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: HEIMDAL" >&5
-$as_echo "HEIMDAL" >&6; }
- krb5_api_type='heimdal'
- fi
+ krb5_api_type='mit'
else
- smart_try_dir="$rlm_krb5_dir/include"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: HEIMDAL" >&5
+$as_echo "HEIMDAL" >&6; }
+ krb5_api_type='heimdal'
+ fi
+else
+ smart_try_dir="$rlm_krb5_dir/include"
smart_prefix=
- if test "$ac_cv_header_krb5_h" != "yes"; then
- fail="$fail krb5.h"
- fi
+ if test "$ac_cv_header_krb5_h" != "yes"; then
+
+fail="$fail krb5.h"
- krb5libcrypto=
- smart_try_dir="$rlm_krb5_dir/lib"
+ fi
+
+ krb5libcrypto=
+ smart_try_dir="$rlm_krb5_dir/lib"
sm_lib_safe=`echo "k5crypto" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_k5crypto_krb5_encrypt_data" = xyes; then
- krb5libcrypto="-lk5crypto"
- fi
+ if test "x$ac_cv_lib_k5crypto_krb5_encrypt_data" = xyes; then
+ krb5libcrypto="-lk5crypto"
+ fi
- if test "x$krb5libcrypto" = x; then
+ if test "x$krb5libcrypto" = x; then
sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_crypto_DH_new" = xyes; then
- krb5libcrypto="-lcrypto"
- fi
+ if test "x$ac_cv_lib_crypto_DH_new" = xyes; then
+ krb5libcrypto="-lcrypto"
fi
+ fi
- if test "x$krb5libcrypto" = x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&5
+ if test "x$krb5libcrypto" = x; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&5
$as_echo "$as_me: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&2;}
- fi
+ fi
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_com_err_set_com_err_hook" != xyes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the comm_err library isn't found!" >&5
+ if test "x$ac_cv_lib_com_err_set_com_err_hook" != xyes; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the comm_err library isn't found!" >&5
$as_echo "$as_me: WARNING: the comm_err library isn't found!" >&2;}
- fi
+ fi
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_krb5_krb5_verify_user_opt" = xyes; then
- krb5_api_type='heimdal'
- else
- krb5_api_type='mit'
+ if test "x$ac_cv_lib_krb5_krb5_verify_user_opt" = xyes; then
+ krb5_api_type='heimdal'
+ else
+ krb5_api_type='mit'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_krb5_krb5_get_init_creds_password" != xyes; then
- fail="$fail krb5"
- fi
- fi
+ if test "x$ac_cv_lib_krb5_krb5_get_init_creds_password" != xyes; then
+
+fail="$fail krb5"
+ fi
fi
- LDFLAGS="${LDFLAGS} ${SMART_LIBS}"
- CFLAGS="${CFLAGS} ${SMART_CPPFLAGS}"
+fi
+
+LDFLAGS="${LDFLAGS} ${SMART_LIBS}"
+CFLAGS="${CFLAGS} ${SMART_CPPFLAGS}"
- for ac_func in krb5_get_error_message krb5_free_error_string krb5_free_error_message
+for ac_func in krb5_get_error_message krb5_free_error_string krb5_free_error_message
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
fi
done
- if test "x$ac_cv_func_krb5_get_error_message" = xyes; then
- krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_GET_ERROR_MESSAGE"
- fi
- if test "x$ac_cv_func_krb5_free_error_message" = xyes; then
- krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_MESSAGE"
- fi
- if test "x$ac_cv_func_krb5_free_error_string" = xyes; then
- krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_STRING"
- fi
+if test "x$ac_cv_func_krb5_get_error_message" = xyes; then
+ krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_GET_ERROR_MESSAGE"
+fi
+if test "x$ac_cv_func_krb5_free_error_message" = xyes; then
+ krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_MESSAGE"
+fi
+if test "x$ac_cv_func_krb5_free_error_string" = xyes; then
+ krb5mod_cflags="${krb5mod_cflags} -DHAVE_KRB5_FREE_ERROR_STRING"
+fi
- if test "$krb5threadsafe" != "no"; then
- krb5threadsafe=
+if test "$krb5threadsafe" != "no"; then
+ krb5threadsafe=
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then
- if test "$cross_compiling" = yes; then :
+ if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then
+ if test "$cross_compiling" = yes; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
else
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi
- fi
- else
- krb5threadsafe=""
fi
+else
+ krb5threadsafe=""
+fi
- if test "$krb5_api_type" = "mit"; then
+if test "$krb5_api_type" = "mit"; then
ac_safe=`echo "com_err.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "$ac_cv_header_com_err_h" != "yes"; then
+ if test "$ac_cv_header_com_err_h" != "yes"; then
ac_safe=`echo "et/com_err.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "$ac_cv_header_et_com_err_h" != "yes"; then
- fail="$fail com_err.h"
- else
- krb5mod_cflags="$krb5mod_cflags -DET_COMM_ERR "
- fi
+ if test "$ac_cv_header_et_com_err_h" != "yes"; then
+
+fail="$fail com_err.h"
+
+ else
+ krb5mod_cflags="$krb5mod_cflags -DET_COMM_ERR "
fi
- else
- krb5mod_cflags="$krb5mod_cflags -DHEIMDAL_KRB5"
fi
+else
+ krb5mod_cflags="$krb5mod_cflags -DHEIMDAL_KRB5"
+fi
+
+
targetname=rlm_krb5
else
targetname=
echo \*\*\* module rlm_krb5 is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_krb5 to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_krb5." >&5
$as_echo "$as_me: WARNING: silently not building rlm_krb5." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_krb5 requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_krb5 requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$krb5mod_ldflags $krb5libcrypto $SMART_LIBS"
mod_cflags="$krb5mod_cflags $krb5threadsafe $SMART_CPPFLAGS"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
lua_ldflags
lua_cflags
+targetname
LUA_LIB
EGREP
GREP
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_lua
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_lua was given.
if test "${with_rlm_lua+set}" = set; then :
withval=$with_rlm_lua;
-if test x$with_rlm_lua != xno; then
- ac_ext=c
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_lua" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Check whether --with-lua-include-dir was given.
if test "${with_lua_include_dir+set}" = set; then :
withval=$with_lua_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need lua-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- lua_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need lua-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ lua_include_dir="$withval"
+ ;;
+ esac
fi
- if test "x$lua_include_dir" != "x"; then
- LUA_INCLUDE="-I$lua_include_dir"
- fi
+if test "x$lua_include_dir" != "x"; then
+ LUA_INCLUDE="-I$lua_include_dir"
+fi
# Check whether --with-lua-lib-dir was given.
if test "${with_lua_lib_dir+set}" = set; then :
withval=$with_lua_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need lua-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- lua_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need lua-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ lua_lib_dir="$withval"
+ ;;
+ esac
fi
- if test "x$lua_lib_dir" != "x"; then
- LDFLAGS="-L$lua_lib_dir"
- fi
+if test "x$lua_lib_dir" != "x"; then
+ LDFLAGS="-L$lua_lib_dir"
+fi
- LUA_COMPAT_VERSION=5.1
+LUA_COMPAT_VERSION=5.1
- LUA_VERSION=jit-2.0
+LUA_VERSION=jit-2.0
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
$as_echo "$as_me: WARNING: cannot find Lua includes" >&2;}
fi
- if test "x$ac_cv_header_lua_h" = "xno"; then
- LUA_VERSION=5.2
+if test "x$ac_cv_header_lua_h" = "xno"; then
+ LUA_VERSION=5.2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LUA_VERSION is defined" >&5
$as_echo_n "checking if LUA_VERSION is defined... " >&6; }
$as_echo "$as_me: WARNING: cannot find Lua includes" >&2;}
fi
- fi
+fi
+
+if test "x$ac_cv_header_lua_h" = "xno"; then
+
+fail="$fail lua.h"
+
+else
+ if test "x$ax_header_version_match" = "xno"; then
+
+fail="$fail correct header version"
- if test "x$ac_cv_header_lua_h" = "xno"; then
- fail="lua.h"
else
- if test "x$ax_header_version_match" = "xno"; then
- fail="lua.h version"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking ldflags" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking ldflags" >&5
$as_echo_n "checking ldflags... " >&6; }
if ${_cv_lua_ldflags+:} false; then :
$as_echo_n "(cached) " >&6
else
- if test "x$ac_cv_header_luajit_h" = "xno"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Falling back to Lua 5.2, for optimal performance rebuild with LuaJIT 2.x.x" >&5
+ if test "x$ac_cv_header_luajit_h" = "xno"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Falling back to Lua 5.2, for optimal performance rebuild with LuaJIT 2.x.x" >&5
$as_echo "$as_me: Falling back to Lua 5.2, for optimal performance rebuild with LuaJIT 2.x.x" >&6;}
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: Found LuaJIT headers, module will perform optimally" >&5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Found LuaJIT headers, module will perform optimally" >&5
$as_echo "$as_me: Found LuaJIT headers, module will perform optimally" >&6;}
- LUA_VERSION=jit-5.1
- fi
+ LUA_VERSION=jit-5.1
+ fi
$as_echo "$as_me: WARNING: cannot find Lua libs" >&2;}
fi
- if test "x$_ax_found_lua_libs" = 'xno' && test "x$lua_lib_dir" = "x"; then
- { ac_cv_search_dlopen=; unset ac_cv_search_dlopen;}
- { ac_cv_search_exp=; unset ac_cv_search_exp;}
- { ac_cv_search_lua_load=; unset ac_cv_search_lua_load;}
+ if test "x$_ax_found_lua_libs" = 'xno' && test "x$lua_lib_dir" = "x"; then
+ { ac_cv_search_dlopen=; unset ac_cv_search_dlopen;}
+ { ac_cv_search_exp=; unset ac_cv_search_exp;}
+ { ac_cv_search_lua_load=; unset ac_cv_search_lua_load;}
- LDFLAGS="-L/usr/local/lib/"
+ LDFLAGS="-L/usr/local/lib/"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if LUA_VERSION is defined" >&5
$as_echo "$as_me: WARNING: cannot find Lua libs" >&2;}
fi
- fi
+ fi
- if test "x$_ax_found_lua_libs" != 'xyes'; then
- fail="Lua libs"
- fi
- _cv_lua_ldflags="$LUA_LIB $LDFLAGS"
+ if test "x$_ax_found_lua_libs" != 'xyes'; then
+
+fail="$fail lua libraries"
+
+ fi
+ _cv_lua_ldflags="$LUA_LIB $LDFLAGS"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_lua_ldflags" >&5
$as_echo "$_cv_lua_ldflags" >&6; }
- fi
fi
+fi
- lua_cflags="$LUA_INCLUDE"
- lua_ldflags="$_cv_lua_ldflags"
+lua_cflags="$LUA_INCLUDE"
+lua_ldflags="$_cv_lua_ldflags"
- if test "x$_ax_found_lua_libs" = 'xyes'; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Lua Library:" >&5
+if test "x$_ax_found_lua_libs" = 'xyes'; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Lua Library:" >&5
$as_echo "$as_me: Lua Library:" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua version.......... : $ax_cv_lua_version" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua version.......... : $ax_cv_lua_version" >&5
$as_echo "$as_me: Using Lua version.......... : $ax_cv_lua_version" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua header version... : $ax_cv_lua_header_version" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua header version... : $ax_cv_lua_header_version" >&5
$as_echo "$as_me: Using Lua header version... : $ax_cv_lua_header_version" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua headers.......... : $lua_cflags" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua headers.......... : $lua_cflags" >&5
$as_echo "$as_me: Using Lua headers.......... : $lua_cflags" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua lib.............. : $lua_ldflags" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Using Lua lib.............. : $lua_ldflags" >&5
$as_echo "$as_me: Using Lua lib.............. : $lua_ldflags" >&6;}
- fi
+fi
+
- targetname=rlm_lua # keep this! Don't change!
+ targetname=rlm_lua
else
- targetname= # keep this! Don't change!
- echo \*\*\* module rlm_lua is disabled. # keep this! Don't change!
+ targetname=
+ echo \*\*\* module rlm_lua is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_lua to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_lua." >&5
$as_echo "$as_me: WARNING: silently not building rlm_lua." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_lua requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_lua requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
- # keep this! Don't change!
ac_config_headers="$ac_config_headers config.h"
ac_config_files="$ac_config_files all.mk rlm_lua.mk libfreeradius-lua.mk"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
- # keep this! Don't change!
ac_unique_file="rlm_mruby.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
CPP
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_mruby build without rlm_mruby
+ --without-rlm_mruby build without support for embedded mRuby scripts
--with-mruby-include-dir=DIR
Directory where the mruby includes may be found
--with-mruby-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_mruby
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_mruby was given.
if test "${with_rlm_mruby+set}" = set; then :
withval=$with_rlm_mruby;
-if test x$with_rlm_mruby != xno; then
- ac_ext=c
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_mruby" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- mruby_include_dir=
+mruby_include_dir=
# Check whether --with-mruby-incude-dir was given.
if test "${with_mruby_incude_dir+set}" = set; then :
withval=$with_mruby_incude_dir; case "$withval" in
- no)
- as_fn_error $? "Need mruby-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- mruby_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need mruby-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ mruby_include_dir="$withval"
+ ;;
+ esac
fi
- mruby_lib_dir=
+mruby_lib_dir=
# Check whether --with-mruby-lib-dir was given.
if test "${with_mruby_lib_dir+set}" = set; then :
withval=$with_mruby_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need mruby-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- mruby_lib_dir="$withval"
+ no)
+ as_fn_error $? "Need mruby-lib-dir" "$LINENO" 5
+ ;;
+ yes)
;;
- esac
+ *)
+ mruby_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-mruby-dir was given.
if test "${with_mruby_dir+set}" = set; then :
withval=$with_mruby_dir; case "$withval" in
- no)
- as_fn_error $? "Need mruby-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- mruby_lib_dir="$withval/lib"
- mruby_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need mruby-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ mruby_lib_dir="$withval/lib"
+ mruby_include_dir="$withval/include"
+ ;;
+ esac
fi
- smart_try_dir="$mruby_include_dir /usr/include"
+smart_try_dir="$mruby_include_dir /usr/include"
smart_prefix=
- if test "x$ac_cv_header_mruby_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby.h not found. Use --with-mruby-include-dir=<path>." >&5
+if test "x$ac_cv_header_mruby_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby.h not found. Use --with-mruby-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: mruby.h not found. Use --with-mruby-include-dir=<path>." >&2;}
- fail="$fail mruby.h"
- fi
+
+fail="$fail mruby.h"
+
+fi
smart_prefix=
- if test "x$ac_cv_header_mruby_compile_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby/compile.h not found. Use --with-mruby-include-dir=<path>." >&5
+if test "x$ac_cv_header_mruby_compile_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby/compile.h not found. Use --with-mruby-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: mruby/compile.h not found. Use --with-mruby-include-dir=<path>." >&2;}
- fail="$fail mruby/compile.h"
- fi
+
+fail="$fail mruby/compile.h"
+
+fi
smart_prefix=
- if test "x$ac_cv_header_mruby_array_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby/array.h not found. Use --with-mruby-include-dir=<path>." >&5
+if test "x$ac_cv_header_mruby_array_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby/array.h not found. Use --with-mruby-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: mruby/array.h not found. Use --with-mruby-include-dir=<path>." >&2;}
- fail="$fail mruby/array.h"
- fi
- old_LIBS=$LIBS
- LIBS="$LIBS -lmruby -lm"
- smart_try_dir="$mruby_lib_dir /usr/lib"
+fail="$fail mruby/array.h"
+
+fi
+
+old_LIBS=$LIBS
+LIBS="$LIBS -lmruby -lm"
+smart_try_dir="$mruby_lib_dir /usr/lib"
sm_lib_safe=`echo "mruby" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- LIBS=$old_LIBS
- if test "x$ac_cv_lib_mruby_mrb_run" = "xyes"; then
- mod_ldflags="${SMART_LIBS}"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby libraries not found. Use --with-mruby-lib-dir=<path>." >&5
+LIBS=$old_LIBS
+if test "x$ac_cv_lib_mruby_mrb_run" = "xyes"; then
+ mod_ldflags="${SMART_LIBS}"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: mruby libraries not found. Use --with-mruby-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: mruby libraries not found. Use --with-mruby-lib-dir=<path>." >&2;}
- fail="$fail libmruby"
- fi
+
+fail="$fail libmruby"
+
+fi
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_m_fmod" = "xyes"; then
- mod_ldflags="${mod_ldflags} ${SMART_LIBS}"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: m library not found." >&5
+if test "x$ac_cv_lib_m_fmod" = "xyes"; then
+ mod_ldflags="${mod_ldflags} ${SMART_LIBS}"
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: m library not found." >&5
$as_echo "$as_me: WARNING: m library not found." >&2;}
- fail="$fail libm"
- fi
+
+fail="$fail libm"
+
+fi
+
targetname=rlm_mruby
else
targetname=
echo \*\*\* module rlm_mruby is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_mruby to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_mruby." >&5
$as_echo "$as_me: WARNING: silently not building rlm_mruby." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_mruby requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_mruby requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
-mod_cflags="${SMART_CPPFLAGS}"
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+mod_cflags="${SMART_CPPFLAGS}"
+
+
+
ac_config_files="$ac_config_files all.mk"
ac_unique_file="rlm_mschap.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
mschap_sources
+targetname
CPP
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_mschap build without rlm_mschap
+ --without-rlm_mschap build without MS-CHAP and MS-CHAPv2 authentication
--with-winbind-include-dir=DIR
Directory where the winbind includes may be found
--with-winbind-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_mschap
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_mschap was given.
if test "${with_rlm_mschap+set}" = set; then :
withval=$with_rlm_mschap;
-if test x$with_rlm_mschap != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_mschap" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- winbind_include_dir=
+winbind_include_dir=
# Check whether --with-winbind-include-dir was given.
if test "${with_winbind_include_dir+set}" = set; then :
withval=$with_winbind_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_include_dir="$withval"
;;
esac
fi
- winbind_lib_dir=
+winbind_lib_dir=
# Check whether --with-winbind-lib-dir was given.
if test "${with_winbind_lib_dir+set}" = set; then :
withval=$with_winbind_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_lib_dir="$withval"
;;
esac
# Check whether --with-winbind-dir was given.
if test "${with_winbind_dir+set}" = set; then :
withval=$with_winbind_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_lib_dir="$withval/lib"
winbind_include_dir="$withval/include"
;;
- mschap_sources=
+mschap_sources=
smart_prefix=
- if test "x$ac_cv_header_membership_h" = "xyes"; then
+if test "x$ac_cv_header_membership_h" = "xyes"; then
$as_echo "#define HAVE_MEMBERSHIP_H 1" >>confdefs.h
- mschap_sources="$mschap_sources opendir.c"
- mod_ldflags="-F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks -framework DirectoryService"
- fi
+ mschap_sources="$mschap_sources opendir.c"
+ mod_ldflags="-F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks -framework DirectoryService"
- smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
+if echo "$fr_features" | grep -q "+opendirectory+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""with opendirectory support" >> config.report.tmp
+ fr_features="$fr_features +opendirectory+"
+fi
+
+else
+
+if echo "$fr_features" | grep -q "+opendirectory+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without opendirectory support" >> config.report.tmp
+ fr_features="$fr_features +opendirectory+"
+fi
+
+fi
+
+smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
ac_safe=`echo "wbclient.h" | sed 'y%./+-%__pm%'`
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
smart_prefix=
- if test "x$ac_cv_header_wbclient_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&5
+if test "x$ac_cv_header_wbclient_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
$as_echo "$as_me: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&2;}
- fi
+
+if echo "$fr_features" | grep -q "+wbclient+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without direct winbind support" >> config.report.tmp
+ fr_features="$fr_features +wbclient+"
+fi
+
+fi
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
smart_prefix=
- if test "x$ac_cv_header_core_ntstatus_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&5
+if test "x$ac_cv_header_core_ntstatus_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
$as_echo "$as_me: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&2;}
- fi
+if echo "$fr_features" | grep -q "+wbclient+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without direct winbind support" >> config.report.tmp
+ fr_features="$fr_features +wbclient+"
+fi
- if test "x$ac_cv_header_wbclient_h" = "xyes" && \
- test "x$ac_cv_header_core_ntstatus_h" = "xyes"; then
+fi
- smart_try_dir="$winbind_lib_dir"
+
+if test "x$ac_cv_header_wbclient_h" = "xyes" && \
+ test "x$ac_cv_header_core_ntstatus_h" = "xyes"; then
+
+ smart_try_dir="$winbind_lib_dir"
sm_lib_safe=`echo "wbclient" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_wbclient_wbcCtxAuthenticateUserEx" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&5
+ if test "x$ac_cv_lib_wbclient_wbcCtxAuthenticateUserEx" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&5
$as_echo "$as_me: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&2;}
- else
- mschap_sources="$mschap_sources auth_wbclient.c"
+
+if echo "$fr_features" | grep -q "+wbclient+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without direct winbind support" >> config.report.tmp
+ fr_features="$fr_features +wbclient+"
+fi
+
+ else
+ mschap_sources="$mschap_sources auth_wbclient.c"
$as_echo "#define WITH_AUTH_WINBIND 1" >>confdefs.h
- fi
- fi
- targetname=rlm_mschap
+if echo "$fr_features" | grep -q "+wbclient+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""with direct winbind support" >> config.report.tmp
+ fr_features="$fr_features +wbclient+"
+fi
+
+ fi
+fi
+
+
+ targetname=rlm_mschap
else
- targetname=
- echo \*\*\* module rlm_mschap is disabled.
+ targetname=
+ echo \*\*\* module rlm_mschap is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_mschap to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_mschap." >&5
$as_echo "$as_me: WARNING: silently not building rlm_mschap." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_mschap requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_mschap requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$mod_ldflags $SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
ac_unique_file="rlm_opendirectory.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
CPP
OBJEXT
EXEEXT
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_opendirectory
- build without rlm_opendirectory
+ build without support for OpenDirectory
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_opendirectory
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_opendirectory was given.
if test "${with_rlm_opendirectory+set}" = set; then :
withval=$with_rlm_opendirectory;
-if test x$with_rlm_opendirectory != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_opendirectory" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- mod_ldflags="${mod_ldflags} -F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks -framework DirectoryService"
+mod_ldflags="${mod_ldflags} -F /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks -framework DirectoryService"
smart_prefix=
- if test "$ac_cv_header_membership_h" != "yes"; then
- fail="$fail membership.h"
- else
- ac_fn_c_check_decl "$LINENO" "mbr_check_service_membership" "ac_cv_have_decl_mbr_check_service_membership" "#include <membership.h>
+if test "$ac_cv_header_membership_h" != "yes"; then
+
+fail="$fail membership.h"
+
+else
+ ac_fn_c_check_decl "$LINENO" "mbr_check_service_membership" "ac_cv_have_decl_mbr_check_service_membership" "#include <membership.h>
"
if test "x$ac_cv_have_decl_mbr_check_service_membership" = xyes; then :
ac_have_decl=1
mod_cflags="${mod_cflags} -DHAVE_DECL_MBR_CHECK_SERVICE_MEMBERSHIP"
fi
- ac_fn_c_check_decl "$LINENO" "mbr_check_membership_refresh" "ac_cv_have_decl_mbr_check_membership_refresh" "#include <membership.h>
+ ac_fn_c_check_decl "$LINENO" "mbr_check_membership_refresh" "ac_cv_have_decl_mbr_check_membership_refresh" "#include <membership.h>
"
if test "x$ac_cv_have_decl_mbr_check_membership_refresh" = xyes; then :
ac_have_decl=1
mod_cflags="${mod_cflags} -DHAVE_DECL_MBR_CHECK_MEMBERSHIP_REFRESH"
fi
- fi
+fi
+
+
targetname=rlm_opendirectory
else
targetname=
echo \*\*\* module rlm_opendirectory is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_opendirectory to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_opendirectory." >&5
$as_echo "$as_me: WARNING: silently not building rlm_opendirectory." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_opendirectory requires: $fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_opendirectory requires: $fail." >&2;}
- targetname=""
+$as_echo "$as_me: WARNING: FAILURE: rlm_opendirectory requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
EGREP
GREP
CPP
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_pam build without rlm_pam
+ --without-rlm_pam build without PAM authentication
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_pam
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_pam was given.
if test "${with_rlm_pam+set}" = set; then :
withval=$with_rlm_pam;
-if test x$with_rlm_pam != xno; then
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_pam" != xno; then
+
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
$as_echo_n "checking for pam_start in -lpam... " >&6; }
if ${ac_cv_lib_pam_pam_start+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lpam $mod_ldflags
- $LIBS"
+ $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
mod_ldflags="-lpam $mod_ldflags"
else
- fail=$fail" libpam"
+
+fail="$fail libpam"
+
fi
for ac_header in \
- security/pam_appl.h \
- pam/pam_appl.h \
+ security/pam_appl.h \
+ pam/pam_appl.h \
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
done
- mod_cflags="-I."
+mod_cflags="-I."
+
targetname=rlm_pam
else
targetname=
echo \*\*\* module rlm_pam is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_pam to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_pam." >&5
$as_echo "$as_me: WARNING: silently not building rlm_pam." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_pam requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_pam requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
ac_unique_file="rlm_perl.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
PERL
CPP
OBJEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_perl build without rlm_perl
+ --without-rlm_perl build without support for embedded Perl functions
--with-perl=[PATH] absolute path to perl executable
Some influential environment variables:
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_perl
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_perl was given.
if test "${with_rlm_perl+set}" = set; then :
withval=$with_rlm_perl;
-if test x$with_rlm_perl != xno; then
- ac_ext=c
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_perl" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-
if test -z "$PERL"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether perl executable path has been provided" >&5
- if test "$PERL" = "not-found" -o ! -x "$PERL"; then
- fail=$fail" perl"
- else
- old_CFLAGS="${CFLAGS}"
- old_LIBS="${LIBS}"
+if test "$PERL" = "not-found" -o ! -x "$PERL"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: Calling ExtUtils::Embed to get 'ccopts'" >&5
+fail="$fail perl"
+
+else
+ old_CFLAGS="${CFLAGS}"
+ old_LIBS="${LIBS}"
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Calling ExtUtils::Embed to get 'ccopts'" >&5
$as_echo "$as_me: Calling ExtUtils::Embed to get 'ccopts'" >&6;}
- perl_cflags=$($PERL -MExtUtils::Embed -e ccopts)
+ perl_cflags=$($PERL -MExtUtils::Embed -e ccopts)
- { $as_echo "$as_me:${as_lineno-$LINENO}: ExtUtil's ccopts were \"${perl_cflags}\"" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: ExtUtil's ccopts were \"${perl_cflags}\"" >&5
$as_echo "$as_me: ExtUtil's ccopts were \"${perl_cflags}\"" >&6;}
- mod_cflags=`echo $perl_cflags | sed -e '\
- s/-I */-isystem /g;\
- s/-arch ^ *//g;\
- s/ / /g;\
- s/^ *//;\
- s/ *$//;\
- s/-fstack-clash-protection[[:blank:]]*//g; \
- '`
+ mod_cflags=`echo $perl_cflags | sed -e '\
+ s/-I */-isystem /g;\
+ s/-arch ^ *//g;\
+ s/ / /g;\
+ s/^ *//;\
+ s/ *$//;\
+ s/-fstack-clash-protection[[:blank:]]*//g; \
+ '`
- { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ccopts are \"${mod_cflags}\"" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ccopts are \"${mod_cflags}\"" >&5
$as_echo "$as_me: Sanitized ccopts are \"${mod_cflags}\"" >&6;}
- CFLAGS="${mod_cflags} ${CFLAGS}"
+ CFLAGS="${mod_cflags} ${CFLAGS}"
- { $as_echo "$as_me:${as_lineno-$LINENO}: Calling ExtUtils::Embed to get 'ldflags'" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Calling ExtUtils::Embed to get 'ldflags'" >&5
$as_echo "$as_me: Calling ExtUtils::Embed to get 'ldflags'" >&6;}
- perl_ldflags=$($PERL -MExtUtils::Embed -e ldopts)
+ perl_ldflags=$($PERL -MExtUtils::Embed -e ldopts)
- { $as_echo "$as_me:${as_lineno-$LINENO}: ExtUtil's ldopts were \"${perl_ldflags}\"" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: ExtUtil's ldopts were \"${perl_ldflags}\"" >&5
$as_echo "$as_me: ExtUtil's ldopts were \"${perl_ldflags}\"" >&6;}
- mod_ldflags=`echo $perl_ldflags | sed -e '\
- s/-arch ^ *//g;\
- s/ / /g;\
- s/^ *//;\
- s/ *$//;\
- '`
+ mod_ldflags=`echo $perl_ldflags | sed -e '\
+ s/-arch ^ *//g;\
+ s/ / /g;\
+ s/^ *//;\
+ s/ *$//;\
+ '`
- { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ldopts are \"${mod_ldflags}\"" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ldopts are \"${mod_ldflags}\"" >&5
$as_echo "$as_me: Sanitized ldopts are \"${mod_ldflags}\"" >&6;}
- LIBS="${mod_ldflags} ${LIBS}"
+ LIBS="${mod_ldflags} ${LIBS}"
- smart_try_dir=
+ smart_try_dir=
smart_prefix=
- if test "x$ac_cv_header_EXTERN_h" != "xyes"; then
- fail="$fail EXTERN.h"
- targetname=
- fi
+ if test "x$ac_cv_header_EXTERN_h" != "xyes"; then
+
+fail="$fail EXTERN.h"
+
+ fi
smart_prefix=
- if test "x$ac_cv_header_perl_h" != "xyes"; then
- fail="$fail EXTERN.h"
- targetname=
- fi
+ if test "x$ac_cv_header_perl_h" != "xyes"; then
+
+fail="$fail EXTERN.h"
+
+ fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to boot_DynaLoader" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to boot_DynaLoader" >&5
$as_echo_n "checking we can link to boot_DynaLoader... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
- extern char boot_DynaLoader();
- boot_DynaLoader();
+ extern char boot_DynaLoader();
+ boot_DynaLoader();
;
return 0;
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
$as_echo "$LINKS" >&6; }
- if test "x$LINKS" = "xno"; then
- fail="$fail libperl.so"
- targetname=
- fi
+ if test "x$LINKS" = "xno"; then
+
+fail="$fail libperl.so"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to Perl_hv_store()" >&5
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to Perl_hv_store()" >&5
$as_echo_n "checking we can link to Perl_hv_store()... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
- extern char Perl_hv_store();
- Perl_hv_store();
+ extern char Perl_hv_store();
+ Perl_hv_store();
;
return 0;
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
$as_echo "$LINKS" >&6; }
- if test "x$LINKS" = "xno"; then
- fail="$fail libperl.so"
- targetname=
- fi
+ if test "x$LINKS" = "xno"; then
- CFLAGS="$old_CFLAGS"
- LIBS="$old_LIBS"
+fail="$fail libperl.so"
- targetname=rlm_perl
fi
+
+ CFLAGS="$old_CFLAGS"
+ LIBS="$old_LIBS"
+fi
+
+
+ targetname=rlm_perl
else
- targetname=
- echo \*\*\* module rlm_perl is disabled.
+ targetname=
+ echo \*\*\* module rlm_perl is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_perl to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_perl." >&5
$as_echo "$as_me: WARNING: silently not building rlm_perl." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_perl requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_perl requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
- targetname=
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+rm "config.report.tmp"
-ac_config_headers="$ac_config_headers config.h"
+
+ac_config_headers="$ac_config_headers config.h"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_python.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
PYTHON_CONFIG_BIN
CPP
OBJEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_python build without rlm_python
- --with-rlm-python-config-bin=PATH Path to python-config binary
+ --without-rlm_python build without support for embedded Python functions
+ --with-rlm-python-config-bin=PATH
+ path to python-config binary
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_python
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_python was given.
if test "${with_rlm_python+set}" = set; then :
withval=$with_rlm_python;
-if test x$with_rlm_python != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_python" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- PYHTON_BIN=
+PYHTON_BIN=
# Check whether --with-rlm-python-config-bin was given.
if test "${with_rlm_python_config_bin+set}" = set; then :
- withval=$with_rlm_python_config_bin; case "$withval" in
- no)
+ withval=$with_rlm_python_config_bin; case "$withval" in
+ no)
as_fn_error $? "Need rlm-python-config-bin" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
PYTHON_CONFIG_BIN="$withval"
;;
- esac
-
+ esac
fi
- if test "x$PYTHON_CONFIG_BIN" = x; then
- for ac_prog in python3-config
+if test "x$PYTHON_CONFIG_BIN" = x; then
+ for ac_prog in python3-config
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
done
test -n "$PYTHON_CONFIG_BIN" || PYTHON_CONFIG_BIN="not-found"
- fi
+fi
- if test "x$PYTHON_CONFIG_BIN" = "xnot-found"; then
- fail="python-config"
- else
- old_CFLAGS="$CFLAGS"
- old_LDFLAGS="$LDFLAGS"
+if test "x$PYTHON_CONFIG_BIN" = "xnot-found"; then
+
+fail="$fail python-config"
- unset CFLAGS
- unset LDFLAGS
+else
+ old_CFLAGS="$CFLAGS"
+ old_LDFLAGS="$LDFLAGS"
+
+ unset CFLAGS
+ unset LDFLAGS
- if ${PYTHON_CONFIG_BIN} --help 2>&1 | grep '\-\-embed'; then
- PYTHON_CONFIG_EMBED="--embed"
- else
- PYTHON_CONFIG_EMBED=""
- fi
+ if ${PYTHON_CONFIG_BIN} --help 2>&1 | grep '\-\-embed'; then
+ PYTHON_CONFIG_EMBED="--embed"
+ else
+ PYTHON_CONFIG_EMBED=""
+ fi
- python_cflags=`${PYTHON_CONFIG_BIN} --cflags ${PYTHON_CONFIG_EMBED}`
- { $as_echo "$as_me:${as_lineno-$LINENO}: ${PYTHON_CONFIG_BIN}'s cflags were \"${python_cflags}\"" >&5
+ python_cflags=`${PYTHON_CONFIG_BIN} --cflags ${PYTHON_CONFIG_EMBED}`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: ${PYTHON_CONFIG_BIN}'s cflags were \"${python_cflags}\"" >&5
$as_echo "$as_me: ${PYTHON_CONFIG_BIN}'s cflags were \"${python_cflags}\"" >&6;}
- mod_cflags=`echo " $python_cflags" | sed -e '\
- s/ -I/ -isystem/g;\
- s/ -isysroot[ =]\{0,1\}[^-]*/ /g;\
- s/ -O[^[[:blank:]]]*/ /g;\
- s/ -Wp,-D_FORTIFY_SOURCE=[[:digit:]]/ /g;\
- s/ -g[^ ]*/ /g;\
- s/ -W[^ ]*/ /g;\
- s/ -DNDEBUG[[:blank:]]*/ /g;\
- s/ -frecord-gcc-switches/ /g;\
- s/ -fstack-clash-protection[[:blank:]]*/ /g;\
- s/ -specs=[^ ]*/ /g;\
- s/ -ffat-lto-objects/ /g;
- '`
- { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized cflags were \"${mod_cflags}\"" >&5
+ mod_cflags=`echo " $python_cflags" | sed -e '\
+ s/ -I/ -isystem/g;\
+ s/ -isysroot[ =]\{0,1\}[^-]*/ /g;\
+ s/ -O[^[[:blank:]]]*/ /g;\
+ s/ -Wp,-D_FORTIFY_SOURCE=[[:digit:]]/ /g;\
+ s/ -g[^ ]*/ /g;\
+ s/ -W[^ ]*/ /g;\
+ s/ -DNDEBUG[[:blank:]]*/ /g;\
+ s/ -frecord-gcc-switches/ /g;\
+ s/ -fstack-clash-protection[[:blank:]]*/ /g;\
+ s/ -specs=[^ ]*/ /g;\
+ s/ -ffat-lto-objects/ /g;
+ '`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized cflags were \"${mod_cflags}\"" >&5
$as_echo "$as_me: Sanitized cflags were \"${mod_cflags}\"" >&6;}
- python_ldflags=`${PYTHON_CONFIG_BIN} --ldflags ${PYTHON_CONFIG_EMBED}`
- { $as_echo "$as_me:${as_lineno-$LINENO}: ${PYTHON_CONFIG_BIN}'s ldflags were \"${python_ldflags}\"" >&5
+ python_ldflags=`${PYTHON_CONFIG_BIN} --ldflags ${PYTHON_CONFIG_EMBED}`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: ${PYTHON_CONFIG_BIN}'s ldflags were \"${python_ldflags}\"" >&5
$as_echo "$as_me: ${PYTHON_CONFIG_BIN}'s ldflags were \"${python_ldflags}\"" >&6;}
- mod_ldflags=`echo $python_ldflags | sed -e '\
- s/-Wl,-O[[:digit:]][[:blank:]]*//g;\
- s/-Wl,-Bsymbolic-functions[[:blank:]]*//g;\
- s/-Xlinker -export-dynamic//g;\
- s/-Wl,-stack_size,[[:digit:]]*[[:blank:]]//g;
- '`
- { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ldflags were \"${mod_ldflags}\"" >&5
+ mod_ldflags=`echo $python_ldflags | sed -e '\
+ s/-Wl,-O[[:digit:]][[:blank:]]*//g;\
+ s/-Wl,-Bsymbolic-functions[[:blank:]]*//g;\
+ s/-Xlinker -export-dynamic//g;\
+ s/-Wl,-stack_size,[[:digit:]]*[[:blank:]]//g;
+ '`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Sanitized ldflags were \"${mod_ldflags}\"" >&5
$as_echo "$as_me: Sanitized ldflags were \"${mod_ldflags}\"" >&6;}
- python_lib=`echo "${mod_ldflags}" | grep -o -E '\-lpython[0-9.]+' | sed -e 's/-l//'`
+ python_lib=`echo "${mod_ldflags}" | grep -o -E '\-lpython[0-9.]+' | sed -e 's/-l//'`
- { $as_echo "$as_me:${as_lineno-$LINENO}: Python library is \"${python_lib}\"" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: Python library is \"${python_lib}\"" >&5
$as_echo "$as_me: Python library is \"${python_lib}\"" >&6;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to python libraries" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking we can link to python libraries" >&5
$as_echo_n "checking we can link to python libraries... " >&6; }
- CFLAGS=${mod_cflags}
- LDFLAGS=${mod_ldflags}
+ CFLAGS=${mod_cflags}
+ LDFLAGS=${mod_ldflags}
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- #include <Python.h>
+ #include <Python.h>
int
main ()
{
- Py_SetProgramName("test")
+ Py_SetProgramName("test")
;
return 0;
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINKS" >&5
$as_echo "$LINKS" >&6; }
- if test "x$LINKS" = "xno"; then
- fail="$fail working python libraries"
- targetname=
- fi
+ if test "x$LINKS" = "xno"; then
- CFLAGS=$old_CFLAGS
- LDFLAGS=$old_LDFLAGS
+fail="$fail working python libraries"
- targetname="rlm_python"
fi
+
+ CFLAGS=$old_CFLAGS
+ LDFLAGS=$old_LDFLAGS
+fi
+
+
+ targetname=rlm_python
else
targetname=
echo \*\*\* module rlm_python is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_python to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_python." >&5
$as_echo "$as_me: WARNING: silently not building rlm_python." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_python requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_python requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
EGREP
GREP
CPP
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_radutmp build without rlm_radutmp
+ --without-rlm_radutmp build without ability to maintain utmp-style
+ sessions
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_radutmp
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_radutmp was given.
if test "${with_rlm_radutmp+set}" = set; then :
withval=$with_rlm_radutmp;
-if test x$with_rlm_radutmp != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_radutmp" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
done
+
targetname=rlm_radutmp
else
targetname=
echo \*\*\* module rlm_radutmp is disabled.
+
+
+fr_status="disabled"
+
+fi
+
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_radutmp." >&5
+$as_echo "$as_me: WARNING: silently not building rlm_radutmp." >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_radutmp requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_radutmp requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
ac_unique_file="rlm_securid.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_securid build without rlm_securid
+ --without-rlm_securid build without support for RSA SecurID token checking
--with-rlm-securid-include-dir=DIR
Directory where the securid includes may be found
--with-rlm-securid-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_securid
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
+
# Check whether --with-rlm_securid was given.
if test "${with_rlm_securid+set}" = set; then :
withval=$with_rlm_securid;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_securid != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_securid" != xno; then
- securid_include_dir=
+
+securid_include_dir=
# Check whether --with-rlm-securid-include-dir was given.
if test "${with_rlm_securid_include_dir+set}" = set; then :
withval=$with_rlm_securid_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need rlm-securid-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
securid_include_dir="$withval"
;;
esac
fi
- securid_lib_dir=
+securid_lib_dir=
# Check whether --with-rlm-securid-lib-dir was given.
if test "${with_rlm_securid_lib_dir+set}" = set; then :
withval=$with_rlm_securid_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need rlm-securid-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
securid_lib_dir="$withval"
;;
esac
# Check whether --with-rlm-securid-dir was given.
if test "${with_rlm_securid_dir+set}" = set; then :
withval=$with_rlm_securid_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need rlm-securid-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
securid_lib_dir="$withval/lib"
securid_include_dir="$withval/inc"
- ;;
+ ;;
esac
fi
- smart_try_dir="$securid_include_dir"
- ac_ext=c
+smart_try_dir="$securid_include_dir"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
smart_prefix=
- if test "x$ac_cv_header_acexport_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: securid headers not found. Use --with-rlm-securid-include-dir=<path>." >&5
+if test "x$ac_cv_header_acexport_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: securid headers not found. Use --with-rlm-securid-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: securid headers not found. Use --with-rlm-securid-include-dir=<path>." >&2;}
- fail="$fail acexport.h"
- fi
+
+fail="$fail acexport.h"
+
+fi
- smart_try_dir="$securid_lib_dir"
+smart_try_dir="$securid_lib_dir"
sm_lib_safe=`echo "aceclnt" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_aceclnt_SD_Init" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: securid libraries not found. Use --with-rlm-securid-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_aceclnt_SD_Init" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: securid libraries not found. Use --with-rlm-securid-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: securid libraries not found. Use --with-rlm-securid-lib-dir=<path>." >&2;}
- fail="$fail libaceclnt"
- fi
- targetname=rlm_securid
+fail="$fail libaceclnt"
+
+fi
+
+
+ targetname=rlm_securid
else
- targetname=
- echo \*\*\* module rlm_securid is disabled.
+ targetname=
+ echo \*\*\* module rlm_securid is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_securid to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_securid." >&5
$as_echo "$as_me: WARNING: silently not building rlm_securid." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_securid requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_securid requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_securid requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_securid requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sigtran.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_sigtran build without rlm_sigtran
+ --without-rlm_sigtran build without Sigtran functionality for EAP-SIM and
+ EAP-AKA
--with-sigtran-include-dir=DIR
Directory where osmocore and osmosccp may be found
--with-sigtran-dir=DIR Base directory where osmocore and osmosccp are
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sigtran
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sigtran was given.
if test "${with_rlm_sigtran+set}" = set; then :
withval=$with_rlm_sigtran;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sigtran != xno; then
- sigtran_include_dir=
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sigtran" != xno; then
+
+
+
+sigtran_include_dir=
# Check whether --with-sigtran-include-dir was given.
if test "${with_sigtran_include_dir+set}" = set; then :
withval=$with_sigtran_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need sigtran-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
sigtran_lib_dir="$withval"
;;
esac
# Check whether --with-sigtran-dir was given.
if test "${with_sigtran_dir+set}" = set; then :
withval=$with_sigtran_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need sigtran-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
sigtran_lib_dir="$withval/lib"
sigtran_include_dir="$withval/include"
;;
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
smart_prefix=
- if test "x$ac_cv_header_osmocom_core_msgb_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocomcore headers not found. Use --with-sigtran-include-dir=<path>." >&5
+if test "x$ac_cv_header_osmocom_core_msgb_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocomcore headers not found. Use --with-sigtran-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: libosmocomcore headers not found. Use --with-sigtran-include-dir=<path>." >&2;}
- fail="$fail osmocom/core/msgb.h"
- fi
+
+fail="$fail osmocom/core/msgb.h"
+
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config libosmo-sccp include paths" >&5
$as_echo "no" >&6; }
fi
- old_cflags="$CFLAGS"
- CFLAGS="${CFLAGS} -include stdint.h -include osmocom/core/linuxlist.h"
+old_cflags="$CFLAGS"
+CFLAGS="${CFLAGS} -include stdint.h -include osmocom/core/linuxlist.h"
ac_safe=`echo "osmocom/sccp/sccp.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_osmocom_sccp_sccp_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocom-sccp headers not found. Use --with-sigtran-include-dir=<path>." >&5
+if test "x$ac_cv_header_osmocom_sccp_sccp_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocom-sccp headers not found. Use --with-sigtran-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: libosmocom-sccp headers not found. Use --with-sigtran-include-dir=<path>." >&2;}
- fail="$fail osmocom/sccp/sccp.h"
- fi
- CFLAGS="$old_cflags"
+
+fail="$fail osmocom/sccp/sccp.h"
+
+fi
+CFLAGS="$old_cflags"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_osmocore_msgb_alloc" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocore libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_osmocore_msgb_alloc" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libosmocore libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libosmocore libraries not found. Use --with-sigtran-lib-dir=<path>." >&2;}
- fail="$fail libosmocore"
- fi
+
+fail="$fail libosmocore"
+
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config libosmo-sccp linker paths" >&5
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_sccp_sccp_connection_connect" != "xyes" -a "x$ac_cv_lib_osmo_sccp_sccp_connection_connect" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsccp libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_sccp_sccp_connection_connect" != "xyes" -a "x$ac_cv_lib_osmo_sccp_sccp_connection_connect" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libsccp libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libsccp libraries not found. Use --with-sigtran-lib-dir=<path>." >&2;}
- fail="$fail lib$NAMESCCP"
- fi
+
+fail="$fail libsccp"
+
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config libosmo-xua linker paths" >&5
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_xua_xua_msg_alloc" != "xyes" -a "x$ac_cv_lib_osmo_xua_xua_msg_alloc" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxua libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_xua_xua_msg_alloc" != "xyes" -a "x$ac_cv_lib_osmo_xua_xua_msg_alloc" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libxua libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libxua libraries not found. Use --with-sigtran-lib-dir=<path>." >&2;}
- fail="$fail lib$NAMEXUA"
- fi
+
+fail="$fail libxua"
+
+fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config libosmo-mtp linker paths" >&5
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_mtp_mtp_pcap_write_header" != "xyes" -a "x$ac_cv_lib_osmo_mtp_mtp_pcap_write_header" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmtp libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_mtp_mtp_pcap_write_header" != "xyes" -a "x$ac_cv_lib_osmo_mtp_mtp_pcap_write_header" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmtp libraries not found. Use --with-sigtran-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: libmtp libraries not found. Use --with-sigtran-lib-dir=<path>." >&2;}
- fail="$fail lib$NAMEMTP"
- fi
- targetname=rlm_sigtran
+
+fail="$fail libmtp"
+
+fi
+
+
+ targetname=rlm_sigtran
else
- targetname=
- echo \*\*\* module rlm_sigtran is disabled.
+ targetname=
+ echo \*\*\* module rlm_sigtran is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sigtran to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sigtran." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sigtran." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sigtran requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sigtran requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sigtran requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sigtran requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS $(pkg-config --libs-only-other libosmocore) $(pkg-config --libs-only-other libosmo-sccp) $(pkg-config --libs-only-other libosmo-xua) $(pkg-config --libs-only-other libosmo-mtp) $(net-snmp-config --agent-libs 2>&-) -lsctp"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
enable_option_checking=no
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
subdirs
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_sql build without rlm_sql
+ --without-rlm_sql build without SQL database functionality
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql was given.
if test "${with_rlm_sql+set}" = set; then :
withval=$with_rlm_sql;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- mysubdirs=
- if test "x$EXPERIMENTAL" = "xyes"; then
- for foo in `find ./drivers -name configure -print`; do
- bar=`echo $foo | sed 's%/configure$%%g'`
- mysubdirs="$mysubdirs $bar"
- done
- else
- for foo in `cat stable`; do
- mysubdirs="$mysubdirs ./drivers/$foo"
- done
- fi
+mysubdirs=
+if test "x$EXPERIMENTAL" = "xyes"; then
+ for foo in `find ./drivers -name configure -print`; do
+ bar=`echo $foo | sed 's%/configure$%%g'`
+ mysubdirs="$mysubdirs $bar"
+ done
+else
+ for foo in `cat stable`; do
+ mysubdirs="$mysubdirs ./drivers/$foo"
+ done
+fi
- ln -s ../../../install-sh install-sh
+ln -s ../../../install-sh install-sh
- ac_aux_dir=
+ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
ac_aux_dir=$ac_dir
subdirs="$subdirs $mysubdirs"
- rm install-sh
+rm install-sh
targetname=rlm_sql
else
targetname=
echo \*\*\* module rlm_sql is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql requires: $fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql requires: $fail." >&2;}
- if test x"$headersuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $headersuggestion" >&5
-$as_echo "$as_me: WARNING: $headersuggestion" >&2;}
- fi
- if test x"$libsuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libsuggestion" >&5
-$as_echo "$as_me: WARNING: $libsuggestion" >&2;}
- fi
- targetname=""
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_cassandra.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_cassandra
- build without rlm_sql_cassandra
+ build without Cassandra database support
--with-cassandra-include-dir=DIR
Directory where the cassandra includes may be found
--with-cassandra-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_cassandra
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_cassandra was given.
if test "${with_rlm_sql_cassandra+set}" = set; then :
withval=$with_rlm_sql_cassandra;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_cassandra != xno; then
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
- cassandra_include_dir=
+
+
+if test x"$with_rlm_sql_cassandra" != xno; then
+
+
+
+cassandra_include_dir=
# Check whether --with-cassandra-include-dir was given.
if test "${with_cassandra_include_dir+set}" = set; then :
withval=$with_cassandra_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need cassandra-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
cassandra_include_dir="$withval"
;;
esac
fi
- cassandra_lib_dir=
+cassandra_lib_dir=
# Check whether --with-cassandra-lib-dir was given.
if test "${with_cassandra_lib_dir+set}" = set; then :
withval=$with_cassandra_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need cassandra-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
cassandra_lib_dir="$withval"
;;
esac
# Check whether --with-cassandra-dir was given.
if test "${with_cassandra_dir+set}" = set; then :
withval=$with_cassandra_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need cassandra-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
cassandra_lib_dir="$withval/lib"
cassandra_include_dir="$withval/include"
;;
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- smart_try_dir="$cassandra_lib_dir"
+smart_try_dir="$cassandra_lib_dir"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- LDFLAGS="$SMART_LIBS"
- if test "x$ac_cv_lib_cassandra_cass_statement_new_n" != "xyes"
- then
+LDFLAGS="$SMART_LIBS"
+if test "x$ac_cv_lib_cassandra_cass_statement_new_n" != "xyes"
+then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cassandra libraries not found. Use --with-cassandra-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: Cassandra libraries not found. Use --with-cassandra-lib-dir=<path>." >&2;}
- fail="$fail libcassandra (>= 2.0)"
- fi
+
+fail="$fail libcassandra (>= 2.0)"
+
+fi
- smart_try_dir="$cassandra_include_dir"
+smart_try_dir="$cassandra_include_dir"
ac_safe=`echo "cassandra.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_cassandra_h" != "xyes"; then
+if test "x$ac_cv_header_cassandra_h" != "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cassandra headers not found. Use --with-cassandra-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: Cassandra headers not found. Use --with-cassandra-include-dir=<path>." >&2;}
- fail="$fail cassandra.h"
- fi
- CFLAGS="$SMART_CPPFLAGS"
- targetname=rlm_sql_cassandra
+fail="$fail cassandra.h"
+
+fi
+CFLAGS="$SMART_CPPFLAGS"
+
+
+ targetname=rlm_sql_cassandra
else
- targetname=
- echo \*\*\* module rlm_sql_cassandra is disabled.
+ targetname=
+ echo \*\*\* module rlm_sql_cassandra is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_cassandra to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_cassandra." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_cassandra." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_cassandra requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_cassandra requires:$fail." >&2;};
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: available from https://github.com/datastax/cpp-driver" >&5
-$as_echo "$as_me: WARNING: available from https://github.com/datastax/cpp-driver" >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_cassandra requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_cassandra requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
+
+if test x"$fail" != x""; then :
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: available from https://github.com/datastax/cpp-driver" >&5
+$as_echo "$as_me: WARNING: available from https://github.com/datastax/cpp-driver" >&2;};
+
+fi
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
ac_unique_file="rlm_sql_db2.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
sql_ibmdb2_cflags
sql_ibmdb2_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_sql_db2 build without rlm_sql_db2
+ --without-rlm_sql_db2 build without IBM DB2 database support
--with-ibmdb2-include-dir=DIR
Directory where the IBM-DB2 includes may be found
--with-ibmdb2-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_db2
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_db2 was given.
if test "${with_rlm_sql_db2+set}" = set; then :
withval=$with_rlm_sql_db2;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_db2 != xno; then
- ibmdb2_include_dir=
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_db2" != xno; then
+
+
+ibmdb2_include_dir=
# Check whether --with-ibmdb2-include-dir was given.
if test "${with_ibmdb2_include_dir+set}" = set; then :
withval=$with_ibmdb2_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need ibmdb2-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- ibmdb2_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need ibmdb2-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ ibmdb2_include_dir="$withval"
+ ;;
+ esac
fi
- ibmdb2_lib_dir=
+ibmdb2_lib_dir=
# Check whether --with-ibmdb2-lib-dir was given.
if test "${with_ibmdb2_lib_dir+set}" = set; then :
withval=$with_ibmdb2_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need ibmdb2-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- ibmdb2_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need ibmdb2-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ ibmdb2_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-ibmdb2-dir was given.
if test "${with_ibmdb2_dir+set}" = set; then :
withval=$with_ibmdb2_dir; case "$withval" in
- no)
- as_fn_error $? "Need ibmdb2-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- ibmdb2_lib_dir="$withval/lib"
- ibmdb2_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need ibmdb2-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ ibmdb2_lib_dir="$withval/lib"
+ ibmdb2_include_dir="$withval/include"
+ ;;
+ esac
fi
- smart_try_dir="$ibmdb2_lib_dir /usr/local/db2/lib /usr/IBMdb2/V7.1/lib"
- ac_ext=c
+smart_try_dir="$ibmdb2_lib_dir /usr/local/db2/lib /usr/IBMdb2/V7.1/lib"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_db2_SQLConnect" != xyes; then
- fail="$fail libdb2"
- fi
+if test "x$ac_cv_lib_db2_SQLConnect" != xyes; then
+
+fail="$fail libdb2"
- smart_try_dir="$ibmdb2_include_dir /usr/local/db2/include /usr/IBMdb2/V7.1/include"
+fi
+
+smart_try_dir="$ibmdb2_include_dir /usr/local/db2/include /usr/IBMdb2/V7.1/include"
ac_safe=`echo "sqlcli.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_sqlcli_h" != xyes; then
- fail="$fail sqlcli.h"
- fi
+if test "x$ac_cv_header_sqlcli_h" != xyes; then
+
+fail="$fail sqlcli.h"
+
+fi
+
targetname=rlm_sql_db2
else
targetname=
echo \*\*\* module rlm_sql_db2 is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_db2 to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_db2." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_db2." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_db2 requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_db2 requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_db2 requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_db2 requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
sql_ibmdb2_ldflags="$SMART_LIBS"
sql_ibmdb2_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_firebird.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_firebird
- build without rlm_sql_firebird
+ build without Firebird database support
--with-firebird-include-dir=DIR
Directory where the firebird includes may be found
--with-firebird-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_firebird
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_firebird was given.
if test "${with_rlm_sql_firebird+set}" = set; then :
withval=$with_rlm_sql_firebird;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_firebird != xno; then
- firebird_include_dir=
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_firebird" != xno; then
+
+
+firebird_include_dir=
# Check whether --with-firebird-include-dir was given.
if test "${with_firebird_include_dir+set}" = set; then :
withval=$with_firebird_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need firebird-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- firebird_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need firebird-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ firebird_include_dir="$withval"
+ ;;
+ esac
fi
- firebird_lib_dir=
+firebird_lib_dir=
# Check whether --with-firebird-lib-dir was given.
if test "${with_firebird_lib_dir+set}" = set; then :
withval=$with_firebird_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need firebird-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- firebird_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need firebird-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ firebird_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-firebird-dir was given.
if test "${with_firebird_dir+set}" = set; then :
withval=$with_firebird_dir; case "$withval" in
- no)
- as_fn_error $? "Need firebird-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- firebird_lib_dir="$withval/lib"
- firebird_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need firebird-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ firebird_lib_dir="$withval/lib"
+ firebird_include_dir="$withval/include"
+ ;;
+ esac
fi
- smart_try_dir="$firebird_lib_dir /usr/lib/firebird2/lib /usr/local/firebird/lib"
- ac_ext=c
+smart_try_dir="$firebird_lib_dir /usr/lib/firebird2/lib /usr/local/firebird/lib"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_fbclient_isc_attach_database" != xyes; then
- fail="$fail libfbclient"
- fi
+if test "x$ac_cv_lib_fbclient_isc_attach_database" != xyes; then
+
+fail="$fail libfbclient"
- smart_try_dir="$firebird_include_dir /usr/lib/firebird2/include /usr/local/firebird/include"
+fi
+
+smart_try_dir="$firebird_include_dir /usr/lib/firebird2/include /usr/local/firebird/include"
ac_safe=`echo "ibase.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_ibase_h" != xyes; then
- fail="$fail ibase.h"
- fi
+if test "x$ac_cv_header_ibase_h" != xyes; then
+
+fail="$fail ibase.h"
+
+fi
+
targetname=rlm_sql_firebird
else
targetname=
echo \*\*\* module rlm_sql_firebird is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_firebird to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_firebird." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_firebird." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_firebird requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_firebird requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_firebird requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_firebird requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_freetds.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_freetds
- build without rlm_sql_freetds
+ build without MS-SQL and Sybase database support
--with-freetds-include-dir=DIR
Directory where the freetds includes may be found
--with-freetds-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_freetds
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_freetds was given.
if test "${with_rlm_sql_freetds+set}" = set; then :
withval=$with_rlm_sql_freetds;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_freetds != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_freetds" != xno; then
+
- freetds_include_dir=
+freetds_include_dir=
# Check whether --with-freetds-include-dir was given.
if test "${with_freetds_include_dir+set}" = set; then :
withval=$with_freetds_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need freetds-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
freetds_include_dir="$withval"
;;
esac
fi
- freetds_lib_dir=
+freetds_lib_dir=
# Check whether --with-freetds-lib-dir was given.
if test "${with_freetds_lib_dir+set}" = set; then :
withval=$with_freetds_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need freetds-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
freetds_lib_dir="$withval"
;;
esac
# Check whether --with-freetds-dir was given.
if test "${with_freetds_dir+set}" = set; then :
withval=$with_freetds_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need freetds-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
freetds_lib_dir="$withval/lib"
freetds_include_dir="$withval/include"
;;
- smart_try_dir="$freetds_include_dir"
- ac_ext=c
+smart_try_dir="$freetds_include_dir"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
smart_prefix=
- if test "x$ac_cv_header_ctpublic_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetds headers not found. Use --with-freetds-include-dir=<path>." >&5
+if test "x$ac_cv_header_ctpublic_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetds headers not found. Use --with-freetds-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: freetds headers not found. Use --with-freetds-include-dir=<path>." >&2;}
- fail="$fail ctpublic.h"
- fi
+
+fail="$fail ctpublic.h"
+
+fi
- smart_try_dir="$freetds_lib_dir"
+smart_try_dir="$freetds_lib_dir"
sm_lib_safe=`echo "ct" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_ct_ct_command" != "xyes"
- then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetds libraries not found. Use --with-freetds-lib-dir=<path>." >&5
+if test "x$ac_cv_lib_ct_ct_command" != "xyes"
+then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: freetds libraries not found. Use --with-freetds-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: freetds libraries not found. Use --with-freetds-lib-dir=<path>." >&2;}
- fail="$fail libct"
- fi
- targetname=rlm_sql_freetds
+fail="$fail libct"
+
+fi
+
+
+ targetname=rlm_sql_freetds
else
- targetname=
- echo \*\*\* module rlm_sql_freetds is disabled.
+ targetname=
+ echo \*\*\* module rlm_sql_freetds is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_freetds to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_freetds." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_freetds." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_freetds requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_freetds requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_freetds requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_freetds requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_mysql.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
MYSQL_CONFIG
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_sql_mysql build without rlm_sql_mysql
+ --without-rlm_sql_mysql build without MySQL and MariaDB database support
--with-mysql-include-dir=DIR
Directory where the mysql includes may be found
--with-mysql-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_mysql
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_mysql was given.
if test "${with_rlm_sql_mysql+set}" = set; then :
withval=$with_rlm_sql_mysql;
fi
-ac_config_headers="$ac_config_headers config.h"
-
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_mysql != xno; then
- mysql_include_dir=
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_mysql" != xno; then
+
+
+
+mysql_include_dir=
# Check whether --with-mysql-include-dir was given.
if test "${with_mysql_include_dir+set}" = set; then :
withval=$with_mysql_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need mysql-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
mysql_include_dir="$withval"
;;
esac
fi
- mysql_lib_dir=
+mysql_lib_dir=
# Check whether --with-mysql-lib-dir was given.
if test "${with_mysql_lib_dir+set}" = set; then :
withval=$with_mysql_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need mysql-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
mysql_lib_dir="$withval"
;;
esac
# Check whether --with-mysql-dir was given.
if test "${with_mysql_dir+set}" = set; then :
withval=$with_mysql_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need mysql-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
mysql_lib_dir="$withval/lib"
mysql_include_dir="$withval/include"
;;
fi
- mysql_with_threads=yes
+mysql_with_threads=yes
# Check whether --with-threads was given.
if test "${with_threads+set}" = set; then :
withval=$with_threads; case "$withval" in
- no)
+ no)
mysql_with_threads=no
;;
- *)
+ *)
;;
esac
fi
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- # Extract the first word of "mysql_config", so it can be a program name with args.
+# Extract the first word of "mysql_config", so it can be a program name with args.
set dummy mysql_config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
- if test "x$MYSQL_CONFIG" = "xyes"; then
- mysql_libs="$(mysql_config --libs_r)"
- old_LIBS="$LIBS"
- LIBS="$mysql_libs $LIBS"
+if test "x$MYSQL_CONFIG" = "xyes"; then
+ mysql_libs="$(mysql_config --libs_r)"
+ old_LIBS="$LIBS"
+ LIBS="$mysql_libs $LIBS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient_r (using mysql_config)" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient_r (using mysql_config)" >&5
$as_echo_n "checking for mysql_init in -lmysqlclient_r (using mysql_config)... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- LIBS="$old_LIBS"
- if test "x$have_libmysqlclient_r" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ LIBS="$old_LIBS"
+ if test "x$have_libmysqlclient_r" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- have_a_libmysqlclient='yes'
- SMART_LIBS="$mysql_libs $SMART_LIBS"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ have_a_libmysqlclient='yes'
+ SMART_LIBS="$mysql_libs $SMART_LIBS"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- fi
+ fi
- if test "x$have_a_libmysqlclient" != "xyes"; then
- mysql_libs="$(mysql_config --libs)"
- old_LIBS="$LIBS"
- LIBS="$mysql_libs $LIBS"
+ if test "x$have_a_libmysqlclient" != "xyes"; then
+ mysql_libs="$(mysql_config --libs)"
+ old_LIBS="$LIBS"
+ LIBS="$mysql_libs $LIBS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient (using mysql_config)" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_init in -lmysqlclient (using mysql_config)" >&5
$as_echo_n "checking for mysql_init in -lmysqlclient (using mysql_config)... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- LIBS="$old_LIBS"
- if test "x$have_libmysqlclient" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ LIBS="$old_LIBS"
+ if test "x$have_libmysqlclient" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- have_a_libmysqlclient=yes
- SMART_LIBS="$mysql_libs $SMART_LIBS"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ have_a_libmysqlclient=yes
+ SMART_LIBS="$mysql_libs $SMART_LIBS"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- fi
fi
fi
+fi
- if test "x$have_a_libmysqlclient" != "xyes"; then
- smart_try_dir="$mysql_lib_dir /usr/lib /usr/lib/mysql /usr/local/lib/mysql /usr/local/mysql/lib/mysql"
+if test "x$have_a_libmysqlclient" != "xyes"; then
+ smart_try_dir="$mysql_lib_dir /usr/lib /usr/lib/mysql /usr/local/lib/mysql /usr/local/mysql/lib/mysql"
sm_lib_safe=`echo "mysqlclient_r" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_mysqlclient_r_mysql_init" = "xyes"; then
- have_a_libmysqlclient='yes'
- fi
+ if test "x$ac_cv_lib_mysqlclient_r_mysql_init" = "xyes"; then
+ have_a_libmysqlclient='yes'
fi
+fi
- if test "x$have_a_libmysqlclient" != "xyes"; then
- smart_try_dir="$mysql_lib_dir /usr/lib /usr/lib/mysql /usr/local/lib/mysql /usr/local/mysql/lib/mysql"
+if test "x$have_a_libmysqlclient" != "xyes"; then
+ smart_try_dir="$mysql_lib_dir /usr/lib /usr/lib/mysql /usr/local/lib/mysql /usr/local/mysql/lib/mysql"
sm_lib_safe=`echo "mysqlclient" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_mysqlclient_mysql_init" = "xyes"; then
- have_a_libmysqlclient='yes'
- fi
+ if test "x$ac_cv_lib_mysqlclient_mysql_init" = "xyes"; then
+ have_a_libmysqlclient='yes'
fi
+fi
- if test "x$have_a_libmysqlclient" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>." >&5
+if test "x$have_a_libmysqlclient" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: MySQL libraries not found. Use --with-mysql-lib-dir=<path>." >&2;}
- fail="$fail libmysqlclient || libmysqlclient_r"
- fi
- if test "x$MYSQL_CONFIG" = "xyes"; then
- mod_cflags="$(mysql_config --cflags)"
- old_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $mod_cflags"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql.h (using mysql_config --cflags)" >&5
+fail="$fail libmysqlclient || libmysqlclient_r"
+
+fi
+
+if test "x$MYSQL_CONFIG" = "xyes"; then
+ mod_cflags="$(mysql_config --cflags)"
+ old_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS $mod_cflags"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql.h (using mysql_config --cflags)" >&5
$as_echo_n "checking for mysql.h (using mysql_config --cflags)... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <mysql.h>
int
have_mysql_h=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test "x$have_mysql_h" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ if test "x$have_mysql_h" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
$as_echo "#define HAVE_MYSQL_H /**/" >>confdefs.h
- SMART_CPPFLAGS="$SMART_CPPFLAGS $mod_cflags"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ SMART_CPPFLAGS="$SMART_CPPFLAGS $mod_cflags"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- mod_cflags="$(mysql_config --include)"
- CFLAGS="$old_CFLAGS $mod_cflags"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql.h (using mysql_config --include)" >&5
+ mod_cflags="$(mysql_config --include)"
+ CFLAGS="$old_CFLAGS $mod_cflags"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql.h (using mysql_config --include)" >&5
$as_echo_n "checking for mysql.h (using mysql_config --include)... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <mysql.h>
int
have_mysql_h=yes
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- if test "x$have_mysql_h" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ if test "x$have_mysql_h" = "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
$as_echo "#define HAVE_MYSQL_H /**/" >>confdefs.h
- SMART_CPPFLAGS="$SMART_CPPFLAGS $mod_cflags"
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ SMART_CPPFLAGS="$SMART_CPPFLAGS $mod_cflags"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
- fi
fi
- CFLAGS="$old_CFLAGS"
- fi
+ fi
+ CFLAGS="$old_CFLAGS"
+fi
- if test "x$have_mysql_h" != "xyes"; then
- smart_try_dir="$mysql_include_dir /usr/local/include /usr/local/mysql/include"
+if test "x$have_mysql_h" != "xyes"; then
+ smart_try_dir="$mysql_include_dir /usr/local/include /usr/local/mysql/include"
ac_safe=`echo "mysql/mysql.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_mysql_mysql_h" = "xyes"; then
+ if test "x$ac_cv_header_mysql_mysql_h" = "xyes"; then
$as_echo "#define HAVE_MYSQL_MYSQL_H /**/" >>confdefs.h
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>." >&5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: MySQL headers not found. Use --with-mysql-include-dir=<path>." >&2;}
- fail="$fail mysql.h"
- fi
- fi
- targetname=rlm_sql_mysql
+fail="$fail mysql.h"
+
+ fi
+fi
+
+
+ targetname=rlm_sql_mysql
else
- targetname=
- echo \*\*\* module rlm_sql_mysql is disabled.
+ targetname=
+ echo \*\*\* module rlm_sql_mysql is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_mysql to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_mysql." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_mysql." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_mysql requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_mysql requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_mysql requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_mysql requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
+ac_config_headers="$ac_config_headers config.h"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_oracle.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_oracle
- build without rlm_sql_oracle
+ build without Oracle database support
--with-oracle-include-dir=DIR
Directory where the oracle includes may be found
--with-oracle-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_oracle
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_oracle was given.
if test "${with_rlm_sql_oracle+set}" = set; then :
withval=$with_rlm_sql_oracle;
oracle_supported_versions="19 18 12 11"
-fail=
+
mod_ldflags=
mod_cflags=
-if test x$with_rlm_sql_oracle != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_oracle" != xno; then
- oracle_include_dir=
+
+oracle_include_dir=
# Check whether --with-oracle-include-dir was given.
if test "${with_oracle_include_dir+set}" = set; then :
withval=$with_oracle_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need oracle-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- oracle_include_dir="$withval"
- ;;
+ no)
+ as_fn_error $? "Need oracle-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ oracle_include_dir="$withval"
+ ;;
esac
fi
- oracle_lib_dir=
+oracle_lib_dir=
# Check whether --with-oracle-lib-dir was given.
if test "${with_oracle_lib_dir+set}" = set; then :
withval=$with_oracle_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need oracle-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- oracle_lib_dir="$withval"
- ;;
+ no)
+ as_fn_error $? "Need oracle-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ oracle_lib_dir="$withval"
+ ;;
esac
fi
# Check whether --with-oracle-dir was given.
if test "${with_oracle_dir+set}" = set; then :
withval=$with_oracle_dir; case "$withval" in
- no)
- as_fn_error $? "Need oracle-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- oracle_lib_dir="$withval/lib"
- oracle_include_dir="$withval/include"
- ;;
+ no)
+ as_fn_error $? "Need oracle-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ oracle_lib_dir="$withval/lib"
+ oracle_include_dir="$withval/include"
+ ;;
esac
fi
- smart_try_dir="$oracle_include_dir /usr/local/instaclient/include"
+smart_try_dir="$oracle_include_dir /usr/local/instaclient/include"
- if test "x$ORACLE_HOME" != "x"; then
+if test "x$ORACLE_HOME" != "x"; then
smart_try_dir="${smart_try_dir} ${ORACLE_HOME}/include"
- fi
+fi
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
smart_prefix=
- if test "x$ac_cv_header_oci_h" != "xyes"; then
+if test "x$ac_cv_header_oci_h" != "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oracle headers not found. Use --with-oracle-include-dir=<path> or set ORACLE_HOME." >&5
$as_echo "$as_me: WARNING: oracle headers not found. Use --with-oracle-include-dir=<path> or set ORACLE_HOME." >&2;}
- fail="$fail oci.h"
- fi
+fail="$fail oci.h"
+
+fi
- old_LIBS="$LIBS"
- if test "x$oracle_lib_dir" != "x" ; then
+old_LIBS="$LIBS"
+
+if test "x$oracle_lib_dir" != "x" ; then
lib_path="${oracle_lib_dir} "
- elif test "x$ORACLE_HOME" != "x" ; then
+elif test "x$ORACLE_HOME" != "x" ; then
lib_path="${ORACLE_HOME}/lib "
- fi
+fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle supported versions: ${oracle_supported_versions}" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle supported versions: ${oracle_supported_versions}" >&5
$as_echo "$as_me: WARNING: Oracle supported versions: ${oracle_supported_versions}" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle version >= 12 needs -laio" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oracle version >= 12 needs -laio" >&5
$as_echo "$as_me: WARNING: Oracle version >= 12 needs -laio" >&2;}
- for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
+for path in $lib_path "/usr/local/instaclient/lib" "" "/opt/lib"; do
for oracle_version in ${oracle_supported_versions} ""; do
- if test "$path" != ""; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version} in $path" >&5
+ if test "$path" != ""; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version} in $path" >&5
$as_echo_n "checking for OCIInitialize in nnz${oracle_version} in $path... " >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version}" >&5
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OCIInitialize in nnz${oracle_version}" >&5
$as_echo_n "checking for OCIInitialize in nnz${oracle_version}... " >&6; }
- fi
+ fi
- LIBS="$old_LIBS -L$path -Wl,-rpath,$path -lclntsh -lnnz${oracle_version}"
+ LIBS="$old_LIBS -L$path -Wl,-rpath,$path -lclntsh -lnnz${oracle_version}"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <oci.h>
- static OCIEnv *p_env;
- static OCIError *p_err;
- static OCISvcCtx *p_svc;
- static OCIStmt *p_sql;
- static OCIDefine *p_dfn = (OCIDefine *) 0;
- static OCIBind *p_bnd = (OCIBind *) 0;
+ static OCIEnv *p_env;
+ static OCIError *p_err;
+ static OCISvcCtx *p_svc;
+ static OCIStmt *p_sql;
+ static OCIDefine *p_dfn = (OCIDefine *) 0;
+ static OCIBind *p_bnd = (OCIBind *) 0;
int
main ()
{
- int p_bvi;
- char p_sli[20];
- int rc;
- char errbuf[100];
- int errcode;
+ int p_bvi;
+ char p_sli[20];
+ int rc;
+ char errbuf[100];
+ int errcode;
- rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0, /* Initialize OCI */
- (dvoid * (*)(dvoid *, size_t)) 0,
- (dvoid * (*)(dvoid *, dvoid *, size_t))0,
- (void (*)(dvoid *, dvoid *)) 0 );
+ rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0, /* Initialize OCI */
+ (dvoid * (*)(dvoid *, size_t)) 0,
+ (dvoid * (*)(dvoid *, dvoid *, size_t))0,
+ (void (*)(dvoid *, dvoid *)) 0 );
;
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- if test "x$mod_ldflags" != "x"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+
+ if test "x$mod_ldflags" != "x"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
- break
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ break
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
done
if test "x$mod_ldflags" != "x"; then
break
fi
- done
+done
- LIBS="$old_LIBS"
+LIBS="$old_LIBS"
- if test "x$mod_ldflags" = "x"; then
+if test "x$mod_ldflags" = "x"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oracle libraries not found. Use --with-oracle-lib-dir=<path> or set ORACLE_HOME." >&5
$as_echo "$as_me: WARNING: oracle libraries not found. Use --with-oracle-lib-dir=<path> or set ORACLE_HOME." >&2;}
- fail="$fail libclntsh libnnz[9-12]"
- fi
- targetname=rlm_sql_oracle
+fail="$fail libclntsh libnnz[9-12]"
+]
+fi
+
+
+ targetname=rlm_sql_oracle
else
- targetname=
- echo \*\*\* module rlm_sql_oracle is disabled.
+ targetname=
+ echo \*\*\* module rlm_sql_oracle is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_oracle to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_oracle." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_oracle." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_oracle requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_oracle requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_oracle requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_oracle requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_sql_postgresql.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_postgresql
- build without rlm_sql_postgresql
- --with-rlm-sql-postgresql-lib-dir=DIR Directory for PostgreSQL library files
- --with-rlm-sql-postgresql-include-dir=DIR Directory for PostgreSQL include files
+ build without PostgreSQL database support
+ --with-rlm-sql-postgresql-lib-dir=DIR
+ Directory for PostgreSQL library files
+ --with-rlm-sql-postgresql-include-dir=DIR
+ Directory for PostgreSQL include files
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_postgresql
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_postgresql was given.
if test "${with_rlm_sql_postgresql+set}" = set; then :
withval=$with_rlm_sql_postgresql;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_postgresql != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_postgresql" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- rlm_sql_postgresql_lib_dir=
+rlm_sql_postgresql_lib_dir=
# Check whether --with-rlm-sql-postgresql-lib-dir was given.
if test "${with_rlm_sql_postgresql_lib_dir+set}" = set; then :
- withval=$with_rlm_sql_postgresql_lib_dir; case "$withval" in
- no)
+ withval=$with_rlm_sql_postgresql_lib_dir; case "$withval" in
+ no)
as_fn_error $? "Need rlm-sql-postgresql-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
rlm_sql_postgresql_lib_dir="$withval"
;;
- esac
-
+ esac
fi
- rlm_sql_postgresql_include_dir=
+rlm_sql_postgresql_include_dir=
# Check whether --with-rlm-sql-postgresql-include-dir was given.
if test "${with_rlm_sql_postgresql_include_dir+set}" = set; then :
- withval=$with_rlm_sql_postgresql_include_dir; case "$withval" in
- no)
+ withval=$with_rlm_sql_postgresql_include_dir; case "$withval" in
+ no)
as_fn_error $? "Need rlm-sql-postgresql-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
rlm_sql_postgresql_include_dir="$withval"
;;
- esac
-
+ esac
fi
- smart_try_dir="$rlm_sql_postgresql_include_dir /usr/include/postgresql /usr/local/pgsql/include /usr/include/pgsql"
+smart_try_dir="$rlm_sql_postgresql_include_dir /usr/include/postgresql /usr/local/pgsql/include /usr/include/pgsql"
smart_prefix=
- if test "x$ac_cv_header_libpqmfe_h" != "xyes"; then
- fail="$fail libpq-fe.h"
- else
- CPPFLAGS="$SMART_CPPFLAGS"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_SINGLE_TUPLE" >&5
+if test "x$ac_cv_header_libpqmfe_h" != "xyes"; then
+
+fail="$fail libpq-fe.h"
+
+else
+ CPPFLAGS="$SMART_CPPFLAGS"
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_SINGLE_TUPLE" >&5
$as_echo_n "checking for PGRES_SINGLE_TUPLE... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <libpq-fe.h>
int
main ()
{
- if (PGRES_SINGLE_TUPLE) return 0;
- return 1;
+ if (PGRES_SINGLE_TUPLE) return 0;
+ return 1;
;
return 0;
$as_echo "#define HAVE_PGRES_SINGLE_TUPLE 1" >>confdefs.h
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $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 "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_COPY_BOTH" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_COPY_BOTH" >&5
$as_echo_n "checking for PGRES_COPY_BOTH... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <libpq-fe.h>
int
main ()
{
- if (PGRES_COPY_BOTH) return 0;
- return 1;
+ if (PGRES_COPY_BOTH) return 0;
+ return 1;
;
return 0;
$as_echo "#define HAVE_PGRES_COPY_BOTH 1" >>confdefs.h
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $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 "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_PIPELINE_SYNC" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PGRES_PIPELINE_SYNC" >&5
$as_echo_n "checking for PGRES_PIPELINE_SYNC... " >&6; }
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <libpq-fe.h>
int
main ()
{
- if (PGRES_PIPELINE_SYNC) return 0;
- return 1;
+ if (PGRES_PIPELINE_SYNC) return 0;
+ return 1;
;
return 0;
$as_echo "#define HAVE_PGRES_PIPELINE_SYNC 1" >>confdefs.h
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ { $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 "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- fi
+fi
- smart_try_dir="$rlm_sql_postgresql_lib_dir /usr/lib /usr/local/pgsql/lib"
+smart_try_dir="$rlm_sql_postgresql_lib_dir /usr/lib /usr/local/pgsql/lib"
sm_lib_safe=`echo "pq" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_pq_PQconnectdb" != "xyes"; then
- fail="$fail libpq"
- fi
- for ac_func in \
- PQinitOpenSSL \
- PQinitSSL \
+if test "x$ac_cv_lib_pq_PQconnectdb" != "xyes"; then
+
+fail="$fail libpq"
+
+fi
+for ac_func in \
+ PQinitOpenSSL \
+ PQinitSSL \
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
done
+
+
targetname=rlm_sql_postgresql
else
targetname=
echo \*\*\* module rlm_sql_postgresql is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_postgresql to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_postgresql." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_postgresql." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_postgresql requires: $fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_postgresql requires: $fail." >&2;}
- if test x"$headersuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $headersuggestion" >&5
-$as_echo "$as_me: WARNING: $headersuggestion" >&2;}
- fi
- if test x"$libsuggestion" != x; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $libsuggestion" >&5
-$as_echo "$as_me: WARNING: $libsuggestion" >&2;}
- fi
- targetname=""
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_postgresql requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_headers="$ac_config_headers config.h"
ac_config_files="$ac_config_files all.mk"
ac_unique_file="rlm_sql_sqlite.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_sqlite
- build without rlm_sql_sqlite
+ build without SQLite database support
--with-sqlite-include-dir=DIR
Directory where the sqlite includes may be found
--with-sqlite-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_sqlite
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_sqlite was given.
if test "${with_rlm_sql_sqlite+set}" = set; then :
withval=$with_rlm_sql_sqlite;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_sqlite != xno; then
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
- sqlite_include_dir=
+
+
+if test x"$with_rlm_sql_sqlite" != xno; then
+
+
+
+sqlite_include_dir=
# Check whether --with-sqlite-include-dir was given.
if test "${with_sqlite_include_dir+set}" = set; then :
withval=$with_sqlite_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need sqlite-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
sqlite_include_dir="$withval"
;;
esac
fi
- sqlite_lib_dir=
+sqlite_lib_dir=
# Check whether --with-sqlite-lib-dir was given.
if test "${with_sqlite_lib_dir+set}" = set; then :
withval=$with_sqlite_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need sqlite-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
sqlite_lib_dir="$withval"
;;
esac
# Check whether --with-sqlite-dir was given.
if test "${with_sqlite_dir+set}" = set; then :
withval=$with_sqlite_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need sqlite-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
sqlite_lib_dir="$withval/lib"
sqlite_include_dir="$withval/include"
;;
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- smart_try_dir="$sqlite_lib_dir"
+smart_try_dir="$sqlite_lib_dir"
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- LDFLAGS="$SMART_LIBS"
- if test "x$ac_cv_lib_sqlite3_sqlite3_open" != "xyes"
- then
+
+LDFLAGS="$SMART_LIBS"
+if test "x$ac_cv_lib_sqlite3_sqlite3_open" != "xyes"
+then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sqlite libraries not found. Use --with-sqlite-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: Sqlite libraries not found. Use --with-sqlite-lib-dir=<path>." >&2;}
- fail="$fail libsqlite3"
- else
+
+fail="$fail libsqlite3"
+
+else
for ac_func in \
sqlite3_prepare_v2 \
sqlite3_open_v2 \
fi
done
- fi
+fi
- smart_try_dir="$sqlite_include_dir"
+smart_try_dir="$sqlite_include_dir"
ac_safe=`echo "sqlite3.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_sqlite3_h" != "xyes"; then
+
+if test "x$ac_cv_header_sqlite3_h" != "xyes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sqlite headers not found. Use --with-sqlite-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: Sqlite headers not found. Use --with-sqlite-include-dir=<path>." >&2;}
- fail="$fail sqlite.h"
- fi
- CFLAGS="$SMART_CPPFLAGS"
- ac_fn_c_check_type "$LINENO" "sqlite3_int64" "ac_cv_type_sqlite3_int64" "#include <sqlite3.h>
+
+fail="$fail sqlite.h"
+
+fi
+
+CFLAGS="$SMART_CPPFLAGS"
+ac_fn_c_check_type "$LINENO" "sqlite3_int64" "ac_cv_type_sqlite3_int64" "#include <sqlite3.h>
"
if test "x$ac_cv_type_sqlite3_int64" = xyes; then :
fi
- targetname=rlm_sql_sqlite
+
+ targetname=rlm_sql_sqlite
else
- targetname=
- echo \*\*\* module rlm_sql_sqlite is disabled.
+ targetname=
+ echo \*\*\* module rlm_sql_sqlite is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_sqlite to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_sqlite." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_sqlite." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_sqlite requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_sqlite requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_sqlite requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_sqlite requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
-ac_config_headers="$ac_config_headers config.h"
-
+ac_config_headers="$ac_config_headers config.h"
ac_config_files="$ac_config_files all.mk"
ac_unique_file="rlm_sql_unixodbc.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--without-rlm_sql_unixodbc
- build without rlm_sql_unixodbc
+ build without ODBC database connectivity
--with-unixodbc-include-dir=DIR
Directory where the unixODBC includes may be found
--with-unixodbc-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_sql_unixodbc
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_sql_unixodbc was given.
if test "${with_rlm_sql_unixodbc+set}" = set; then :
withval=$with_rlm_sql_unixodbc;
-fail=
SMART_LIBS=
SMART_CLFAGS=
-if test x$with_rlm_sql_unixodbc != xno; then
- unixodbc_include_dir=
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_sql_unixodbc" != xno; then
+
+
+unixodbc_include_dir=
# Check whether --with-unixodbc-include-dir was given.
if test "${with_unixodbc_include_dir+set}" = set; then :
withval=$with_unixodbc_include_dir; case "$withval" in
- no)
- as_fn_error $? "Need unixodbc-include-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- unixodbc_include_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need unixodbc-include-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ unixodbc_include_dir="$withval"
+ ;;
+ esac
fi
- unixodbc_lib_dir=
+unixodbc_lib_dir=
# Check whether --with-unixodbc-lib-dir was given.
if test "${with_unixodbc_lib_dir+set}" = set; then :
withval=$with_unixodbc_lib_dir; case "$withval" in
- no)
- as_fn_error $? "Need unixodbc-lib-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- unixodbc_lib_dir="$withval"
- ;;
- esac
+ no)
+ as_fn_error $? "Need unixodbc-lib-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ unixodbc_lib_dir="$withval"
+ ;;
+ esac
fi
# Check whether --with-unixodbc-dir was given.
if test "${with_unixodbc_dir+set}" = set; then :
withval=$with_unixodbc_dir; case "$withval" in
- no)
- as_fn_error $? "Need unixodbc-dir" "$LINENO" 5
- ;;
- yes)
- ;;
- *)
- unixodbc_lib_dir="$withval/lib"
- unixodbc_include_dir="$withval/include"
- ;;
- esac
+ no)
+ as_fn_error $? "Need unixodbc-dir" "$LINENO" 5
+ ;;
+ yes)
+ ;;
+ *)
+ unixodbc_lib_dir="$withval/lib"
+ unixodbc_include_dir="$withval/include"
+ ;;
+ esac
fi
- smart_try_dir="$unixodbc_lib_dir /usr/local/unixodbc/lib"
- ac_ext=c
+smart_try_dir="$unixodbc_lib_dir /usr/local/unixodbc/lib"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_odbc_SQLConnect" != xyes; then
- fail="$fail libodbc"
- fi
+if test "x$ac_cv_lib_odbc_SQLConnect" != xyes; then
+
+fail="$fail libodbc"
- smart_try_dir="$unixodbc_include_dir /usr/local/unixodbc/include"
+fi
+
+smart_try_dir="$unixodbc_include_dir /usr/local/unixodbc/include"
ac_safe=`echo "sql.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_sql_h" != xyes; then
- fail="$fail sql.h"
- fi
+if test "x$ac_cv_header_sql_h" != xyes; then
+
+fail="$fail sql.h"
+
+fi
+
targetname=rlm_sql_unixodbc
else
targetname=
echo \*\*\* module rlm_sql_unixodbc is disabled.
+
+
+fr_status="disabled"
+
fi
-if test "x$fail" != x; then
- if test "x${enable_strict_dependencies}" = xyes; then
+if test x"$fail" != x""; then
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_sql_unixodbc to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_sql_unixodbc." >&5
$as_echo "$as_me: WARNING: silently not building rlm_sql_unixodbc." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_unixodbc requires:$fail." >&5
-$as_echo "$as_me: WARNING: FAILURE: rlm_sql_unixodbc requires:$fail." >&2;};
- targetname=
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_sql_unixodbc requires: $fail." >&5
+$as_echo "$as_me: WARNING: FAILURE: rlm_sql_unixodbc requires: $fail." >&2;};
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
+
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_unique_file="rlm_unbound.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_unbound build without rlm_unbound
- --with-rlm-unbound-lib-dir=DIR directory for libunbound library files
- --with-rlm-unbound-include-dir=DIR directory for libunbound include files
+ --without-rlm_unbound build without DNS lookups with unbound
+ --with-rlm-unbound-lib-dir=DIR
+ directory for libunbound library files
+ --with-rlm-unbound-include-dir=DIR
+ directory for libunbound include files
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_unbound
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_unbound was given.
if test "${with_rlm_unbound+set}" = set; then :
withval=$with_rlm_unbound;
-if test x$with_rlm_unbound != xno; then
- rlm_unbound_lib_dir=
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_unbound" != xno; then
+
+
+rlm_unbound_lib_dir=
# Check whether --with-rlm-unbound-lib-dir was given.
if test "${with_rlm_unbound_lib_dir+set}" = set; then :
- withval=$with_rlm_unbound_lib_dir; case "$withval" in
- no)
+ withval=$with_rlm_unbound_lib_dir; case "$withval" in
+ no)
as_fn_error $? "Need rlm-unbound-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
rlm_unbound_lib_dir="$withval"
;;
- esac
-
+ esac
fi
- rlm_unbound_include_dir=
+rlm_unbound_include_dir=
# Check whether --with-rlm-unbound-include-dir was given.
if test "${with_rlm_unbound_include_dir+set}" = set; then :
- withval=$with_rlm_unbound_include_dir; case "$withval" in
- no)
+ withval=$with_rlm_unbound_include_dir; case "$withval" in
+ no)
as_fn_error $? "Need rlm-unbound-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
rlm_unbound_include_dir="$withval"
;;
- esac
-
+ esac
fi
- smart_try_dir=$rlm_unbound_lib_dir
- ac_ext=c
+smart_try_dir=$rlm_unbound_lib_dir
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_unbound_ub_ctx_create_ub_event" != "xyes"; then
- fail="$fail libunbound"
- fi
+if test "x$ac_cv_lib_unbound_ub_ctx_create_ub_event" != "xyes"; then
- smart_try_dir=$rlm_unbound_include_dir
+fail="$fail libunbound"
+
+fi
+
+smart_try_dir=$rlm_unbound_include_dir
ac_safe=`echo "unbound.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "$ac_cv_header_unbound_h" != "yes"; then
- fail="$fail unbound.h"
- fi
+if test "$ac_cv_header_unbound_h" != "yes"; then
- smart_try_dir=$rlm_unbound_include_dir
+fail="$fail unbound.h"
+
+fi
+
+smart_try_dir=$rlm_unbound_include_dir
ac_safe=`echo "unbound-event.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "$ac_cv_header_unboundmevent_h" != "yes"; then
- fail="$fail unbound-event.h"
- fi
+if test "$ac_cv_header_unboundmevent_h" != "yes"; then
+
+fail="$fail unbound-event.h"
+
+fi
+
targetname=rlm_unbound
else
targetname=
echo \*\*\* module rlm_unbound is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_unbound to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_unbound." >&5
$as_echo "$as_me: WARNING: silently not building rlm_unbound." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_unbound requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_unbound requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="${SMART_LIBS}"
mod_cflags="${SMART_CFLAGS}"
ac_config_headers="$ac_config_headers config.h"
-
-
ac_config_files="$ac_config_files all.mk"
cat >confcache <<\_ACEOF
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
EGREP
GREP
CPP
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_unix build without rlm_unix
+ --without-rlm_unix build without support for checking UNIX
+ authentication methods
Some influential environment variables:
CC C compiler command
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_unix
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_unix was given.
if test "${with_rlm_unix+set}" = set; then :
withval=$with_rlm_unix;
-if test x$with_rlm_unix != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_unix" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system password file" >&5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for system password file" >&5
$as_echo_n "checking for system password file... " >&6; }
- if test -f /etc/passwd; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: /etc/passwd" >&5
+if test -f /etc/passwd; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: /etc/passwd" >&5
$as_echo "/etc/passwd" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no /etc/passwd file." >&5
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no /etc/passwd file." >&5
$as_echo "no /etc/passwd file." >&6; }
- fail=$fail" /etc/passwd"
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for system shadow password file" >&5
+fail="$fail /etc/passwd"
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for system shadow password file" >&5
$as_echo_n "checking for system shadow password file... " >&6; }
- if test -f /etc/shadow; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: /etc/shadow" >&5
+if test -f /etc/shadow; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: /etc/shadow" >&5
$as_echo "/etc/shadow" >&6; }
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no /etc/shadow file." >&5
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no /etc/shadow file." >&5
$as_echo "no /etc/shadow file." >&6; }
- fi
+fi
done
- for ac_func in getspnam getusershell getpwnam
+for ac_func in getspnam getusershell getpwnam
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
done
- if test "$ac_cv_func_getpwnam" != "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no getpwnam" >&5
+if test "$ac_cv_func_getpwnam" != "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no getpwnam" >&5
$as_echo "no getpwnam" >&6; }
- fail=$fail" getpwnam"
- fi
- if test "$ac_cv_header_pwd_h" != "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pwd.h" >&5
+fail="$fail getpwnam"
+
+fi
+
+if test "$ac_cv_header_pwd_h" != "yes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no pwd.h" >&5
$as_echo "no pwd.h" >&6; }
- fail=$fail" pwd.h"
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspnam in -lshadow" >&5
+fail="$fail pwd.h"
+
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspnam in -lshadow" >&5
$as_echo_n "checking for getspnam in -lshadow... " >&6; }
if ${ac_cv_lib_shadow_getspnam+:} false; then :
$as_echo_n "(cached) " >&6
$as_echo "$ac_cv_lib_shadow_getspnam" >&6; }
if test "x$ac_cv_lib_shadow_getspnam" = xyes; then :
- mod_ldflags="${mod_ldflags} -lshadow"
- $as_echo "#define HAVE_GETSPNAM 1" >>confdefs.h
+ mod_ldflags="${mod_ldflags} -lshadow"
+ $as_echo "#define HAVE_GETSPNAM 1" >>confdefs.h
fi
- targetname=rlm_unix
+ targetname=rlm_unix
else
targetname=
echo \*\*\* module rlm_unix is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_unix to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_unix." >&5
$as_echo "$as_me: WARNING: silently not building rlm_unix." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_unix requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_unix requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
fi
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
+fi
+
+rm "config.report.tmp"
+
+
+
+
ac_unique_file="rlm_winbind.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_cflags
mod_ldflags
+targetname
CPP
OBJEXT
EXEEXT
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_winbind build without rlm_winbind
+ --without-rlm_winbind build without support for password authentication
+ with winbind
--with-winbind-include-dir=DIR
Directory where the winbind includes may be found
--with-winbind-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_winbind
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_winbind was given.
if test "${with_rlm_winbind+set}" = set; then :
withval=$with_rlm_winbind;
-if test x$with_rlm_winbind != xno; then
- ac_ext=c
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_winbind" != xno; then
+
+
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- winbind_include_dir=
+winbind_include_dir=
# Check whether --with-winbind-include-dir was given.
if test "${with_winbind_include_dir+set}" = set; then :
withval=$with_winbind_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_include_dir="$withval"
;;
esac
fi
- winbind_lib_dir=
+winbind_lib_dir=
# Check whether --with-winbind-lib-dir was given.
if test "${with_winbind_lib_dir+set}" = set; then :
withval=$with_winbind_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_lib_dir="$withval"
;;
esac
# Check whether --with-winbind-dir was given.
if test "${with_winbind_dir+set}" = set; then :
withval=$with_winbind_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need winbind-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
winbind_lib_dir="$withval/lib"
winbind_include_dir="$withval/include"
;;
- smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
+smart_try_dir="$winbind_include_dir /usr/include/samba-4.0"
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <wbclient.h>
int
smart_prefix=
- if test "x$ac_cv_header_wbclient_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&5
+if test "x$ac_cv_header_wbclient_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: wbclient.h not found. Use --with-winbind-include-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
$as_echo "$as_me: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&2;}
- fail="$fail wbclient.h"
- fi
+
+fail="$fail wbclient.h"
+
+fi
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
/* end confdefs.h. */
#include <stdint.h>
- #include <stdbool.h>
+ #include <stdbool.h>
#include <core/ntstatus.h>
int
smart_prefix=
- if test "x$ac_cv_header_core_ntstatus_h" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&5
+if test "x$ac_cv_header_core_ntstatus_h" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: core/ntstatus.h not found. Use --with-winbind-include-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&5
$as_echo "$as_me: WARNING: silently building without support for direct authentication via winbind. requires: libwbclient" >&2;}
- fail="$fail core/ntstatus.h"
- fi
+
+fail="$fail core/ntstatus.h"
+
+fi
- if test "x$ac_cv_header_wbclient_h" = "xyes" && \
- test "x$ac_cv_header_core_ntstatus_h" = "xyes"; then
+if test "x$ac_cv_header_wbclient_h" = "xyes" && \
+ test "x$ac_cv_header_core_ntstatus_h" = "xyes"; then
- smart_try_dir="$winbind_lib_dir"
+ smart_try_dir="$winbind_lib_dir"
sm_lib_safe=`echo "wbclient" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_wbclient_wbcCtxAuthenticateUserEx" != "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&5
+ if test "x$ac_cv_lib_wbclient_wbcCtxAuthenticateUserEx" != "xyes"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: winbind libraries not found. Use --with-winbind-lib-dir=<path>." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&5
$as_echo "$as_me: WARNING: Samba must be version 4.2.1 or higher to use this feature." >&2;}
- fail="$fail libwbclient"
- fi
- fi
- targetname=rlm_winbind
+fail="$fail libwbclient"
+
+ fi
+fi
+
+
+ targetname=rlm_winbind
else
- targetname=
- echo \*\*\* module rlm_winbind is disabled.
+ targetname=
+ echo \*\*\* module rlm_winbind is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
+ targetname=""
+
+
if test x"${enable_strict_dependencies}" = x"yes"; then
as_fn_error $? "set --without-rlm_winbind to disable it explicitly." "$LINENO" 5
else
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_winbind." >&5
$as_echo "$as_me: WARNING: silently not building rlm_winbind." >&2;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_winbind requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_winbind requires: $fail." >&2;};
- targetname=""
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$mod_ldflags $SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"
ac_unique_file="rlm_yubikey.c"
ac_subst_vars='LTLIBOBJS
LIBOBJS
-targetname
mod_ldflags
mod_cflags
+targetname
OBJEXT
EXEEXT
ac_ct_CC
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --without-rlm_yubikey build without rlm_yubikey
+ --without-rlm_yubikey build without support for Yubikey token
+ authentication
--with-yubikey-include-dir=DIR
Directory where the yubikey includes may be found
--with-yubikey-lib-dir=DIR
## Autoconf initialization. ##
## ------------------------ ##
+echo
+echo Running tests for rlm_yubikey
+echo
+
+
# ac_fn_c_try_compile LINENO
# --------------------------
# Try to compile conftest.$ac_ext, and return whether this succeeded.
+
# Check whether --with-rlm_yubikey was given.
if test "${with_rlm_yubikey+set}" = set; then :
withval=$with_rlm_yubikey;
-if test x$with_rlm_yubikey != xno; then
+
+fail=
+fr_status=
+fr_features=
+: > "config.report"
+: > "config.report.tmp"
+
+
+
+if test x"$with_rlm_yubikey" != xno; then
- yubikey_include_dir=
+
+
+yubikey_include_dir=
# Check whether --with-yubikey-include-dir was given.
if test "${with_yubikey_include_dir+set}" = set; then :
withval=$with_yubikey_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need yubikey-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
yubikey_include_dir="$withval"
;;
esac
fi
- yubikey_lib_dir=
+yubikey_lib_dir=
# Check whether --with-yubikey-lib-dir was given.
if test "${with_yubikey_lib_dir+set}" = set; then :
withval=$with_yubikey_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need yubikey-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
yubikey_lib_dir="$withval"
;;
esac
# Check whether --with-yubikey-dir was given.
if test "${with_yubikey_dir+set}" = set; then :
withval=$with_yubikey_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need yubikey-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
yubikey_lib_dir="$withval/lib"
yubikey_include_dir="$withval/include"
;;
- ykclient_include_dir=
+ykclient_include_dir=
# Check whether --with-ykclient-include-dir was given.
if test "${with_ykclient_include_dir+set}" = set; then :
withval=$with_ykclient_include_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need ykclient-include-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
ykclient_include_dir="$withval"
;;
esac
fi
- ykclient_lib_dir=
+ykclient_lib_dir=
# Check whether --with-ykclient-lib-dir was given.
if test "${with_ykclient_lib_dir+set}" = set; then :
withval=$with_ykclient_lib_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need ykclient-lib-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
ykclient_lib_dir="$withval"
;;
esac
# Check whether --with-ykclient-dir was given.
if test "${with_ykclient_dir+set}" = set; then :
withval=$with_ykclient_dir; case "$withval" in
- no)
+ no)
as_fn_error $? "Need ykclient-dir" "$LINENO" 5
;;
- yes)
+ yes)
;;
- *)
+ *)
ykclient_lib_dir="$withval/lib"
ykclient_include_dir="$withval/include"
;;
- have_yubikey="yes"
- smart_try_dir="$yubikey_include_dir"
- ac_ext=c
+have_yubikey="yes"
+smart_try_dir="$yubikey_include_dir"
+ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
smart_prefix=
- if test "x$ac_cv_header_yubikey_h" != "xyes"; then
+if test "x$ac_cv_header_yubikey_h" != "xyes"; then
have_ykclient="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: yubikey headers not found. Use --with-yubikey-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: yubikey headers not found. Use --with-yubikey-include-dir=<path>." >&2;}
- fi
+fi
- smart_try_dir="$yubikey_lib_dir"
+smart_try_dir="$yubikey_lib_dir"
sm_lib_safe=`echo "yubikey" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_yubikey_yubikey_aes_decrypt" != "xyes"; then
+if test "x$ac_cv_lib_yubikey_yubikey_aes_decrypt" != "xyes"; then
have_yubikey="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: yubikey libraries not found. Use --with-yubikey-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: yubikey libraries not found. Use --with-yubikey-lib-dir=<path>." >&2;}
- fi
+fi
- if test "x$have_yubikey" = "xyes"; then
+if test "x$have_yubikey" = "xyes"; then
$as_echo "#define HAVE_YUBIKEY 1" >>confdefs.h
- else
+else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without yubikey token decryption support. requires: yubikey" >&5
$as_echo "$as_me: WARNING: silently building without yubikey token decryption support. requires: yubikey" >&2;}
- fi
+
+if echo "$fr_features" | grep -q "+yubikey+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without yubikey token decryption support" >> config.report.tmp
+ fr_features="$fr_features +yubikey+"
+fi
+
+fi
- have_ykclient="yes"
- smart_try_dir="$ykclient_include_dir"
+have_ykclient="yes"
+smart_try_dir="$ykclient_include_dir"
ac_safe=`echo "ykclient.h" | sed 'y%./+-%__pm%'`
smart_prefix=
- if test "x$ac_cv_header_ykclient_h" != "xyes"; then
+if test "x$ac_cv_header_ykclient_h" != "xyes"; then
have_ykclient="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ykclient headers not found. Use --with-ykclient-include-dir=<path>." >&5
$as_echo "$as_me: WARNING: ykclient headers not found. Use --with-ykclient-include-dir=<path>." >&2;}
- fi
+fi
- smart_try_dir="$ykclient_lib_dir"
+smart_try_dir="$ykclient_lib_dir"
sm_lib_safe=`echo "ykclient" | sed 'y%./+-%__p_%'`
SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS"
fi
- if test "x$ac_cv_lib_ykclient_ykclient_request_process" != "xyes"; then
+if test "x$ac_cv_lib_ykclient_ykclient_request_process" != "xyes"; then
have_ykclient="no"
fi
if test "x$ac_cv_lib_ykclient_ykclient_request" = "xyes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&5
$as_echo "$as_me: WARNING: libykclient missing ykclient_request_process. A later version of libykclient is required." >&2;}
else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ykclient libraries not found. Use --with-ykclient-lib-dir=<path>." >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ykclient libraries not found. Use --with-ykclient-lib-dir=<path>." >&5
$as_echo "$as_me: WARNING: ykclient libraries not found. Use --with-ykclient-lib-dir=<path>." >&2;}
fi
- fi
+fi
- if test "x$have_ykclient" = "xyes"; then
+if test "x$have_ykclient" = "xyes"; then
$as_echo "#define HAVE_YKCLIENT 1" >>confdefs.h
- else
+else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently building without yubicloud support. requires: ykclient" >&5
$as_echo "$as_me: WARNING: silently building without yubicloud support. requires: ykclient" >&2;}
- fi
- targetname=rlm_yubikey
+if echo "$fr_features" | grep -q "+ykclient+"; then :
+else :
+ fr_report_prefix=""
+ if test x"$fr_features" != x""; then
+ fr_report_prefix=" "
+ fi
+ $as_echo "$fr_report_prefix""without yubicloud support" >> config.report.tmp
+ fr_features="$fr_features +ykclient+"
+fi
+
+fi
+
+
+ targetname=rlm_yubikey
else
- targetname=
- echo \*\*\* module rlm_yubikey is disabled.
+ targetname=
+ echo \*\*\* module rlm_yubikey is disabled.
+
+
+fr_status="disabled"
+
fi
if test x"$fail" != x""; then
- if test x"${enable_strict_dependencies}" = x"yes"; then
- as_fn_error $? "set --without-rlm_yubikey to disable it explicitly." "$LINENO" 5
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_yubikey." >&5
+ targetname=""
+
+
+ if test x"${enable_strict_dependencies}" = x"yes"; then
+ as_fn_error $? "set --without-rlm_yubikey to disable it explicitly." "$LINENO" 5
+ else
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_yubikey." >&5
$as_echo "$as_me: WARNING: silently not building rlm_yubikey." >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_yubikey requires: $fail." >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_yubikey requires: $fail." >&5
$as_echo "$as_me: WARNING: FAILURE: rlm_yubikey requires: $fail." >&2;};
- targetname=""
- fi
+ fail="$(echo $fail)"
+
+
+fr_status="skipping (requires $fail)"
+
+ fr_features=
+
+ fi
+
+else
+
+
+fr_status="OK"
+
+fi
+
+if test x"$fr_features" = x""; then
+ $as_echo "$fr_status" > "config.report"
+else
+ $as_echo_n "$fr_status ... " > "config.report"
+ cat "config.report.tmp" >> "config.report"
fi
+rm "config.report.tmp"
+
+
+
+
mod_ldflags="$SMART_LIBS"
mod_cflags="$SMART_CPPFLAGS"