--- nfs-utils-2.3.3/configure.old	2018-09-06 18:10:07.000000000 +0000
+++ nfs-utils-2.3.3/configure	2019-01-10 16:01:32.110000000 +0000
@@ -20596,9 +20596,9 @@
   fi
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_querydomain in -lresolv" >&5
-$as_echo_n "checking for __res_querydomain in -lresolv... " >&6; }
-if ${ac_cv_lib_resolv___res_querydomain+:} false; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_querydomain in -lresolv" >&5
+$as_echo_n "checking for res_querydomain in -lresolv... " >&6; }
+if ${ac_cv_lib_resolv_res_querydomain+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
@@ -20612,27 +20612,27 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char __res_querydomain ();
+char res_querydomain ();
 int
 main ()
 {
-return __res_querydomain ();
+return res_querydomain ();
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_resolv___res_querydomain=yes
+  ac_cv_lib_resolv_res_querydomain=yes
 else
-  ac_cv_lib_resolv___res_querydomain=no
+  ac_cv_lib_resolv_res_querydomain=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_querydomain" >&5
-$as_echo "$ac_cv_lib_resolv___res_querydomain" >&6; }
-if test "x$ac_cv_lib_resolv___res_querydomain" = xyes; then :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_querydomain" >&5
+$as_echo "$ac_cv_lib_resolv_res_querydomain" >&6; }
+if test "x$ac_cv_lib_resolv_res_querydomain" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBRESOLV 1
 _ACEOF