--- configure.orig 2004-08-20 17:21:50.447958256 +0300 +++ configure 2004-08-20 17:22:30.045938448 +0300 @@ -6629,83 +6629,6 @@ _SAVEDLIBS="$LIBS" -echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient" >&5 -echo $ECHO_N "checking for rc_read_config in -lradiusclient... $ECHO_C" >&6 -if test "${ac_cv_lib_radiusclient_rc_read_config+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lradiusclient $LIBS" -cat >conftest.$ac_ext <<_ACEOF -#line $LINENO "configure" -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char rc_read_config (); -int -main () -{ -rc_read_config (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_radiusclient_rc_read_config=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_radiusclient_rc_read_config=no -fi -rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_rc_read_config" >&5 -echo "${ECHO_T}$ac_cv_lib_radiusclient_rc_read_config" >&6 -if test $ac_cv_lib_radiusclient_rc_read_config = yes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBRADIUSCLIENT 1 -_ACEOF - - LIBS="-lradiusclient $LIBS" - -fi - -if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then - EXTRAS="$EXTRAS check_radius" - RADIUSLIBS="-lradiusclient" - -else - { echo "$as_me:$LINENO: WARNING: Skipping radius plugin" >&5 -echo "$as_me: WARNING: Skipping radius plugin" >&2;} - { echo "$as_me:$LINENO: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&5 -echo "$as_me: WARNING: install radius libs to compile this plugin (see REQUIREMENTS)." >&2;} -fi -LIBS="$_SAVEDLIBS" - -_SAVEDLIBS="$LIBS" - echo "$as_me:$LINENO: checking for main in -lldap" >&5 echo $ECHO_N "checking for main in -lldap... $ECHO_C" >&6 if test "${ac_cv_lib_ldap_main+set}" = set; then