summaryrefslogtreecommitdiff
path: root/user/nfs-utils/posixish.patch
blob: d973bf9c7057e8953b690466280eacdd9269218a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- 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
@@ -20594,9 +20594,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
@@ -20610,27 +20610,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