"Resolution" of issue https://bugs.gentoo.org/627868, as suggested in RedHat bug https://bugzilla.redhat.com/show_bug.cgi?id=1426109. --- a/configure.ac +++ b/configure.ac @@ -324,7 +324,6 @@ dnl Checking for libresolv if test ${gm_platform} = "linux" ; then - AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv) LDAP_LIBS="${LDAP_LIBS} -lresolv" fi found_ldap="yes" --- a/configure +++ b/configure @@ -18873,48 +18873,6 @@ LDAP_LIBS="$LDAP_LIBS -lsasl2" if test ${gm_platform} = "linux" ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_gethostbyaddr in -lresolv" >&5 -$as_echo_n "checking for res_gethostbyaddr in -lresolv... " >&6; } -if ${ac_cv_lib_resolv_res_gethostbyaddr+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lresolv -lresolv $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char res_gethostbyaddr (); -int -main () -{ -return res_gethostbyaddr (); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_link "$LINENO"; then : - ac_cv_lib_resolv_res_gethostbyaddr=yes -else - ac_cv_lib_resolv_res_gethostbyaddr=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_gethostbyaddr" >&5 -$as_echo "$ac_cv_lib_resolv_res_gethostbyaddr" >&6; } -if test "x$ac_cv_lib_resolv_res_gethostbyaddr" = xyes; then : - LIBS="-lresolv $LIBS" -else - as_fn_error $? "You need the libresolv library to compile Ekiga" "$LINENO" 5 -fi - LDAP_LIBS="${LDAP_LIBS} -lresolv" fi found_ldap="yes"