aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--resolv/Makefile3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 47b6f6a..4e4ed20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-07 Andreas Jaeger <aj@suse.de>
+
+ * resolv/Makefile (routines): Only build gai_sigqueue when threads
+ are available.
+
2001-03-07 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (_dl_sysdep_message): Remove.
diff --git a/resolv/Makefile b/resolv/Makefile
index 46ca2e0..a37277a 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -29,7 +29,7 @@ distribute := ../conf/portability.h mapv4v6addr.h mapv4v6hostent.h \
Banner res_hconf.h res_debug.h README gai_misc.h ga_test.c
routines := herror inet_addr inet_ntop inet_pton nsap_addr res_init \
- res_hconf res_libc gai_sigqueue
+ res_hconf res_libc
tests = tst-aton
@@ -38,6 +38,7 @@ include ../Makeconfig
extra-libs := libresolv libnss_dns
ifeq ($(have-thread-library),yes)
extra-libs += libanl
+routines += gai_sigqueue
endif
extra-libs-others = $(extra-libs)
libresolv-routines := gethnamaddr res_comp res_debug \