summaryrefslogtreecommitdiff
path: root/net-im/zephyr/files/patch-configure
blob: ae217286a4f6bfd79a852aea143b376b1b7634f2 (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
51
52
53
--- ./configure.orig	2010-11-06 19:01:04.000000000 -0400
+++ ./configure	2011-02-21 14:30:09.000000000 -0500
@@ -20412,13 +20412,13 @@
 
    LIBZEPHYR_LIBS="$LIBZEPHYR_LIBS $KRB5_LIBS"
    # the zephyr library needs -lresolv if it's built with krb5
-   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lc" >&5
 $as_echo_n "checking for res_send in -lresolv... " >&6; }
 if test "${ac_cv_lib_resolv_res_send+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lresolv  $LIBS"
+LIBS="-lc  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -20449,7 +20449,7 @@
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
 $as_echo "$ac_cv_lib_resolv_res_send" >&6; }
 if test "x$ac_cv_lib_resolv_res_send" = x""yes; then :
-  LIBZEPHYR_LIBS="-lresolv $LIBZEPHYR_LIBS"
+  LIBZEPHYR_LIBS="$LIBZEPHYR_LIBS"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
 $as_echo_n "checking for __res_send in -lresolv... " >&6; }
@@ -20567,13 +20567,13 @@
 	CPPFLAGS="$CPPFLAGS -I$hesiod/include"
 	LDFLAGS="$LDFLAGS -L$hesiod/lib"
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_resolve in -lhesiod" >&5
-$as_echo_n "checking for hes_resolve in -lhesiod... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_resolve in -lc" >&5
+$as_echo_n "checking for hes_resolve in -lc... " >&6; }
 if test "${ac_cv_lib_hesiod_hes_resolve+set}" = set; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lhesiod $LIBS $LIBS"
+LIBS="-lc $LIBS $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -20609,7 +20609,7 @@
   as_fn_error $? "Hesiod library not found" "$LINENO" 5
 fi
 
-	HESIOD_LIBS="-lhesiod"
+	HESIOD_LIBS="-lc"
 	$as_echo "#define HAVE_HESIOD 1" >>confdefs.h
 
 fi