From b2be46bf3065bec5eecb32607b909e010ffdd9b5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 19 Mar 2010 02:01:17 +0100 Subject: [PATCH] Fix link errors on Solaris 8. --- ChangeLog | 13 +++++++++++++ modules/iconv-h-tests | 2 +- modules/search-tests | 2 +- modules/signal-tests | 2 +- modules/spawn-tests | 2 +- modules/stdio-tests | 2 +- modules/sys_select-tests | 2 +- modules/sys_socket-tests | 2 +- modules/sys_time-tests | 2 +- modules/wchar-tests | 2 +- 10 files changed, 22 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e29ad37f5..58be46ae6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2010-03-18 Bruno Haible + + Fix link errors on Solaris 8. + * modules/iconv-h-tests (test_iconv_h_c___LDADD): Add LIB_NANOSLEEP. + * modules/search-tests (test_search_c___LDADD): Likewise. + * modules/signal-tests (test_signal_c___LDADD): Likewise. + * modules/spawn-tests (test_spawn_c___LDADD): Likewise. + * modules/stdio-tests (test_stdio_c___LDADD): Likewise. + * modules/sys_select-tests (test_sys_select_c___LDADD): Likewise. + * modules/sys_socket-tests (test_sys_socket_c___LDADD): Likewise. + * modules/sys_time-tests (test_sys_time_c___LDADD): Likewise. + * modules/wchar-tests (test_wchar_c___LDADD): Likewise. + 2010-03-18 Bruno Haible Fix bug introduced on 2010-03-14. diff --git a/modules/iconv-h-tests b/modules/iconv-h-tests index e00dd32d22..8f23ad1f30 100644 --- a/modules/iconv-h-tests +++ b/modules/iconv-h-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-iconv-h-c++ check_PROGRAMS += test-iconv-h-c++ test_iconv_h_c___SOURCES = test-iconv-h-c++.cc -test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) +test_iconv_h_c___LDADD = $(LDADD) $(LIBINTL) $(LIBICONV) $(LIB_NANOSLEEP) endif diff --git a/modules/search-tests b/modules/search-tests index 8172fcb40a..09445ab7d5 100644 --- a/modules/search-tests +++ b/modules/search-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-search-c++ check_PROGRAMS += test-search-c++ test_search_c___SOURCES = test-search-c++.cc -test_search_c___LDADD = $(LDADD) $(LIBINTL) +test_search_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/signal-tests b/modules/signal-tests index 9c79b0100c..7c3e150831 100644 --- a/modules/signal-tests +++ b/modules/signal-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-signal-c++ check_PROGRAMS += test-signal-c++ test_signal_c___SOURCES = test-signal-c++.cc test-signal-c++2.cc -test_signal_c___LDADD = $(LDADD) $(LIBINTL) +test_signal_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/spawn-tests b/modules/spawn-tests index f416226dcc..18dfae2f7b 100644 --- a/modules/spawn-tests +++ b/modules/spawn-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-spawn-c++ check_PROGRAMS += test-spawn-c++ test_spawn_c___SOURCES = test-spawn-c++.cc -test_spawn_c___LDADD = $(LDADD) $(LIBINTL) +test_spawn_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/stdio-tests b/modules/stdio-tests index 327780d668..6330181869 100644 --- a/modules/stdio-tests +++ b/modules/stdio-tests @@ -17,5 +17,5 @@ if ANSICXX TESTS += test-stdio-c++ check_PROGRAMS += test-stdio-c++ test_stdio_c___SOURCES = test-stdio-c++.cc test-stdio-c++2.cc -test_stdio_c___LDADD = $(LDADD) $(LIBINTL) +test_stdio_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/sys_select-tests b/modules/sys_select-tests index 227bfc1634..6e7a5be14b 100644 --- a/modules/sys_select-tests +++ b/modules/sys_select-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-sys_select-c++ check_PROGRAMS += test-sys_select-c++ test_sys_select_c___SOURCES = test-sys_select-c++.cc -test_sys_select_c___LDADD = $(LDADD) $(LIBINTL) +test_sys_select_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/sys_socket-tests b/modules/sys_socket-tests index 07ea2f6c36..14af735c37 100644 --- a/modules/sys_socket-tests +++ b/modules/sys_socket-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-sys_socket-c++ check_PROGRAMS += test-sys_socket-c++ test_sys_socket_c___SOURCES = test-sys_socket-c++.cc -test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) +test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP) endif diff --git a/modules/sys_time-tests b/modules/sys_time-tests index 722499e8b5..67e8fa6561 100644 --- a/modules/sys_time-tests +++ b/modules/sys_time-tests @@ -15,5 +15,5 @@ if ANSICXX TESTS += test-sys_time-c++ check_PROGRAMS += test-sys_time-c++ test_sys_time_c___SOURCES = test-sys_time-c++.cc -test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) +test_sys_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif diff --git a/modules/wchar-tests b/modules/wchar-tests index 14ed4c483f..63d6c1ec22 100644 --- a/modules/wchar-tests +++ b/modules/wchar-tests @@ -16,5 +16,5 @@ if ANSICXX TESTS += test-wchar-c++ check_PROGRAMS += test-wchar-c++ test_wchar_c___SOURCES = test-wchar-c++.cc -test_wchar_c___LDADD = $(LDADD) $(LIBINTL) +test_wchar_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP) endif -- 2.30.2