2001-03-06  Jakub Jelinek  <jakub@redhat.com>

	* resolv/Depend: New file.
	* resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
	when libpthread is built.
This commit is contained in:
Andreas Jaeger 2001-03-07 07:41:33 +00:00
parent ffb555a1e4
commit e10546cb67
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-03-06 Jakub Jelinek <jakub@redhat.com>
* resolv/Depend: New file.
* resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
when libpthread is built.
2001-03-06 Andreas Jaeger <aj@suse.de> 2001-03-06 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/fpu/libm-test-ulps: Add some deltas. * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.

1
resolv/Depend Normal file
View File

@ -0,0 +1 @@
linuxthreads

View File

@ -35,7 +35,10 @@ tests = tst-aton
include ../Makeconfig include ../Makeconfig
extra-libs := libresolv libanl libnss_dns extra-libs := libresolv libnss_dns
ifeq ($(have-thread-library),yes)
extra-libs += libanl
endif
extra-libs-others = $(extra-libs) extra-libs-others = $(extra-libs)
libresolv-routines := gethnamaddr res_comp res_debug \ libresolv-routines := gethnamaddr res_comp res_debug \
res_data res_mkquery res_query res_send \ res_data res_mkquery res_query res_send \
@ -54,7 +57,7 @@ ifneq ($(build-static-nss),yes)
libnss_dns-inhibit-o = $(filter-out .os,$(object-suffixes)) libnss_dns-inhibit-o = $(filter-out .os,$(object-suffixes))
endif endif
ifeq (yes,$(build-shared)) ifeq (yesyes,$(build-shared)$(have-thread-library))
tests: $(objpfx)ga_test tests: $(objpfx)ga_test
endif endif