mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 09:00:33 -04:00
45 lines
1.4 KiB
Text
45 lines
1.4 KiB
Text
--- configure.orig 2012-08-06 11:16:36.000000000 +0000
|
|
+++ configure 2012-08-12 14:57:44.000000000 +0000
|
|
@@ -14468,13 +14468,13 @@
|
|
fi
|
|
|
|
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5
|
|
-$as_echo_n "checking for res_query in -lresolv... " >&6; }
|
|
-if ${ac_cv_lib_resolv_res_query+:} false; then :
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lc" >&5
|
|
+$as_echo_n "checking for res_query in -lc... " >&6; }
|
|
+if ${ac_cv_lib_c_res_query+:} false; 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. */
|
|
|
|
@@ -14494,18 +14494,18 @@
|
|
}
|
|
_ACEOF
|
|
if ac_fn_c_try_link "$LINENO"; then :
|
|
- ac_cv_lib_resolv_res_query=yes
|
|
+ ac_cv_lib_c_res_query=yes
|
|
else
|
|
- ac_cv_lib_resolv_res_query=no
|
|
+ ac_cv_lib_c_res_query=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_query" >&5
|
|
-$as_echo "$ac_cv_lib_resolv_res_query" >&6; }
|
|
-if test "x$ac_cv_lib_resolv_res_query" = xyes; then :
|
|
- LIBRESOLV=-lresolv
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_query" >&5
|
|
+$as_echo "$ac_cv_lib_c_res_query" >&6; }
|
|
+if test "x$ac_cv_lib_c_res_query" = xyes; then :
|
|
+ LIBRESOLV=-lc
|
|
fi
|
|
|
|
|