]> Savannah Git Hosting - gnulib.git/commitdiff
Fix link errors on AIX.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Nov 2020 22:24:12 +0000 (23:24 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Nov 2020 22:24:12 +0000 (23:24 +0100)
* modules/clean-temp (Link): Link with $(LIBTHREAD).
* modules/getumask (Link): Link with $(LIBTHREAD).
* modules/getumask-tests (Makefile.am): Link test-getumask with
$(LIBTHREAD).
* modules/supersede (Link): Link with $(LIBTHREAD).
* modules/supersede-tests (Makefile.am): Link test-supersede with
$(LIBTHREAD).
* modules/fatal-signal (Link): New section.
* modules/execute (Link): New section.
* modules/csharpexec (Link): Link with $(LIBTHREAD).
* modules/javaexec (Link): Link with $(LIBTHREAD).
* modules/spawn-pipe (Link): New section.
* modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-main with
$(LIBTHREAD).
* modules/csharpcomp (Link): Link with $(LIBTHREAD).
* modules/javacomp (Link): Link with $(LIBTHREAD).
* modules/javaversion (Link): Link with $(LIBTHREAD).
* modules/pipe-filter-gi (Link): New section.
* modules/pipe-filter-gi-tests (Makefile.am): Link test-pipe-filter-gi1,
test-pipe-filter-gi2-main with $(LIBTHREAD).
* modules/pipe-filter-ii (Link): New section.
* modules/pipe-filter-ii-tests (Makefile.am): Link test-pipe-filter-ii1,
test-pipe-filter-ii2-main with $(LIBTHREAD).
* modules/term-style-control (Link): New section.
* modules/term-style-control-tests (Makefile.am): Link
test-term-style-control-hello, test-term-style-control-yes with
$(LIBTHREAD).
* modules/wait-process (Link): New section.
* modules/nonblocking-pipe-tests (Makefile.am): Link
test-nonblocking-pipe-main with $(LIBTHREAD).
* modules/nonblocking-socket-tests (Makefile.am): Link
test-nonblocking-socket-main with $(LIBTHREAD).

24 files changed:
ChangeLog
modules/clean-temp
modules/csharpcomp
modules/csharpexec
modules/execute
modules/fatal-signal
modules/getumask
modules/getumask-tests
modules/javacomp
modules/javaexec
modules/javaversion
modules/nonblocking-pipe-tests
modules/nonblocking-socket-tests
modules/pipe-filter-gi
modules/pipe-filter-gi-tests
modules/pipe-filter-ii
modules/pipe-filter-ii-tests
modules/spawn-pipe
modules/spawn-pipe-tests
modules/supersede
modules/supersede-tests
modules/term-style-control
modules/term-style-control-tests
modules/wait-process

index c8f4ffaac0b1f77cb5949fb8eefac1a083cfbe42..5f14b87ea08bfd97d4a5aa53078240cf103eefbf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,39 @@
+2020-11-17  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on AIX.
+       * modules/clean-temp (Link): Link with $(LIBTHREAD).
+       * modules/getumask (Link): Link with $(LIBTHREAD).
+       * modules/getumask-tests (Makefile.am): Link test-getumask with
+       $(LIBTHREAD).
+       * modules/supersede (Link): Link with $(LIBTHREAD).
+       * modules/supersede-tests (Makefile.am): Link test-supersede with
+       $(LIBTHREAD).
+       * modules/fatal-signal (Link): New section.
+       * modules/execute (Link): New section.
+       * modules/csharpexec (Link): Link with $(LIBTHREAD).
+       * modules/javaexec (Link): Link with $(LIBTHREAD).
+       * modules/spawn-pipe (Link): New section.
+       * modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-main with
+       $(LIBTHREAD).
+       * modules/csharpcomp (Link): Link with $(LIBTHREAD).
+       * modules/javacomp (Link): Link with $(LIBTHREAD).
+       * modules/javaversion (Link): Link with $(LIBTHREAD).
+       * modules/pipe-filter-gi (Link): New section.
+       * modules/pipe-filter-gi-tests (Makefile.am): Link test-pipe-filter-gi1,
+       test-pipe-filter-gi2-main with $(LIBTHREAD).
+       * modules/pipe-filter-ii (Link): New section.
+       * modules/pipe-filter-ii-tests (Makefile.am): Link test-pipe-filter-ii1,
+       test-pipe-filter-ii2-main with $(LIBTHREAD).
+       * modules/term-style-control (Link): New section.
+       * modules/term-style-control-tests (Makefile.am): Link
+       test-term-style-control-hello, test-term-style-control-yes with
+       $(LIBTHREAD).
+       * modules/wait-process (Link): New section.
+       * modules/nonblocking-pipe-tests (Makefile.am): Link
+       test-nonblocking-pipe-main with $(LIBTHREAD).
+       * modules/nonblocking-socket-tests (Makefile.am): Link
+       test-nonblocking-socket-main with $(LIBTHREAD).
+
 2020-11-16  Bruno Haible  <bruno@clisp.org>
 
        Fix link errors on platforms with libunistring.
index 2794b93f75353136aa9e00d74e7b90a9d5d78b12..8551ce5f69c78e0440195d610ce61188b56a02ed 100644 (file)
@@ -38,6 +38,7 @@ Include:
 
 Link:
 $(LIB_GETRANDOM)
+$(LIBTHREAD)
 
 License:
 GPL
index 62163f6a6ca368135516641e7b47d32da2306216..a880a12d4f3b6e1eff1e5968d4cd23c3eb01bc31 100644 (file)
@@ -29,6 +29,7 @@ Include:
 
 Link:
 $(LIB_MBRTOWC)
+$(LIBTHREAD)
 
 License:
 GPL
index 714e0b9d3cde6e18b743351bbe580b1be76194fd..853ec0b2c1b7425fa03ceb4e5fb2444410e9b5fd 100644 (file)
@@ -29,6 +29,7 @@ Include:
 
 Link:
 $(LIB_MBRTOWC)
+$(LIBTHREAD)
 
 License:
 GPL
index caf7c8438d2e77cbd1dfec6f7e108bb4dc3c5b94..857a1883dc2c227de42468e497b6a787c71a8c82 100644 (file)
@@ -39,6 +39,9 @@ lib_SOURCES += execute.h execute.c w32spawn.h
 Include:
 "execute.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index 6c49f2b60fe99996d5e53c029b603a806b928141..c56956c5758b05abeb0d7a9118c788dbb5c3b8f0 100644 (file)
@@ -27,6 +27,9 @@ lib_SOURCES += fatal-signal.h fatal-signal.c
 Include:
 "fatal-signal.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index 61d71d0b3c9dc9e1fc5043843cd59265a62cd981..0f21808711c7b153ea825cd87974e140461c0b79 100644 (file)
@@ -29,6 +29,7 @@ Include:
 Link:
 $(LIB_GETRANDOM)
 $(LIB_CLOCK_GETTIME)
+$(LIBTHREAD)
 
 License:
 GPL
index 29b91c7027730b9ad640bebf2ee24d366812df52..0f617dab5b62b3da3016c0e508e5d8d21c9aef24 100644 (file)
@@ -10,4 +10,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-getumask
 check_PROGRAMS += test-getumask
-test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL)
+test_getumask_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD)
index 5f8f60f55df0cfd87b6375e227c8cd72050c4f26..838aa2b6330f434a87a0523bf8e21fe867a1b188 100644 (file)
@@ -44,6 +44,7 @@ Include:
 Link:
 $(LIB_MBRTOWC)
 $(LIB_GETRANDOM)
+$(LIBTHREAD)
 
 License:
 GPL
index 773093e81d888c1a6c8bf52813ecd3c02fbe9068..8322a4842b2cfeed93dce812070a3e10b0bc7ea0 100644 (file)
@@ -30,6 +30,7 @@ Include:
 
 Link:
 $(LIB_MBRTOWC)
+$(LIBTHREAD)
 
 License:
 GPL
index d1e426c93a56c3c7d5cf03e26862e24a66ec7530..ebec3eafb4ba4984c06da08286b0bcd5b130faf5 100644 (file)
@@ -27,6 +27,7 @@ Include:
 
 Link:
 $(LIB_MBRTOWC)
+$(LIBTHREAD)
 
 License:
 GPL
index fa3b771f77fc0ed0c229271633adc367a084c789..93ed45f929a831c0ee037ebeb1058bee3d8e9a36 100644 (file)
@@ -32,4 +32,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-nonblocking-pipe.sh
 check_PROGRAMS += test-nonblocking-pipe-main test-nonblocking-pipe-child
-test_nonblocking_pipe_main_LDADD = $(LDADD) @LIBINTL@
+test_nonblocking_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
index 2eb883ed334e1271cb50e596a080f5d9f2fff109..e2545ea082b4939efa43cef872da1ca2e648e787 100644 (file)
@@ -42,5 +42,5 @@ configure.ac:
 Makefile.am:
 TESTS += test-nonblocking-socket.sh
 check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child
-test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@
+test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@ $(LIBTHREAD)
 test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET)
index bdf47ed9afb3e5901ee994bff2c8e87d4be66a4a..84e6cb3966d2cde61dbc87eb08ab8ef897f567ef 100644 (file)
@@ -29,6 +29,9 @@ lib_SOURCES += pipe-filter-gi.c pipe-filter-aux.c
 Include:
 "pipe-filter.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index ef6ace3c66fe2886abe5a01e7137b43a2648711f..6cca323eed1fa3e19a70993e3501b8d154725e78 100644 (file)
@@ -19,5 +19,5 @@ configure.ac:
 Makefile.am:
 TESTS += test-pipe-filter-gi1.sh test-pipe-filter-gi2.sh
 check_PROGRAMS += test-pipe-filter-gi1 test-pipe-filter-gi2-main test-pipe-filter-gi2-child
-test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@
-test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@
+test_pipe_filter_gi1_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
+test_pipe_filter_gi2_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
index f8822193fcbef3ae8cf77df1b3ca3c74ac4fc8d4..65a0a02547807088b7d9aaf0d0a0381cdd78687c 100644 (file)
@@ -29,6 +29,9 @@ lib_SOURCES += pipe-filter-ii.c pipe-filter-aux.c
 Include:
 "pipe-filter.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index 63d35abed9c296e600a86cce5591226c04f9f864..48d4674b01aa65dedb7a04502f9b7370d1986e5a 100644 (file)
@@ -18,5 +18,5 @@ configure.ac:
 Makefile.am:
 TESTS += test-pipe-filter-ii1.sh test-pipe-filter-ii2.sh
 check_PROGRAMS += test-pipe-filter-ii1 test-pipe-filter-ii2-main test-pipe-filter-ii2-child
-test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@
-test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@
+test_pipe_filter_ii1_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
+test_pipe_filter_ii2_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
index 4868c57adffb2ac39d8bc9e45404cda76bd8dca1..ff19236cf925ec0e14b2965f9d0ddd8e737edb26 100644 (file)
@@ -45,6 +45,9 @@ lib_SOURCES += spawn-pipe.h spawn-pipe.c w32spawn.h
 Include:
 "spawn-pipe.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index f7831d5e4d4636d9e1563ff8564eb5b735611e86..9a6c0bccd1d6eb5a5f2d874f3d5cda909c0c3ac7 100644 (file)
@@ -12,7 +12,7 @@ configure.ac:
 Makefile.am:
 TESTS += test-spawn-pipe.sh
 check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
-test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@
+test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
 # The test-spawn-pipe-child program must be a real executable, not a libtool
 # wrapper script, and should link against as few libraries as possible.
 # Therefore don't link it against any libraries other than -lc.
index 38f52fa647a01205c9738e3d1b6584060e10aed9..d15430229ea85348cdecb7d5330c462d62c4704d 100644 (file)
@@ -35,6 +35,7 @@ Include:
 Link:
 $(LIB_GETRANDOM)
 $(LIB_CLOCK_GETTIME)
+$(LIBTHREAD)
 
 License:
 GPL
index 75c886bff822c05f8f0d03f984ab42dba1de6ab6..7224d2e31e9676ab5188c28d2a00f409d83c5946 100644 (file)
@@ -19,4 +19,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-supersede
 check_PROGRAMS += test-supersede
-test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL)
+test_supersede_LDADD = $(LDADD) $(LIB_ACL) $(LIB_CLOCK_GETTIME) $(LIB_GETRANDOM) $(LIBINTL) $(LIBTHREAD)
index 0a2f935596b0cde043ac19651f62c20a6792c1bf..a6fdd5ba3e85833f5b12b34f74186a0eed65f182 100644 (file)
@@ -24,6 +24,9 @@ lib_SOURCES += term-style-control.c
 Include:
 "term-style-control.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL
 
index 908d9fe9de3c30f9556d4dec3acc33cf0165743b..921c42fadd867f13ccefaa94f341b1dcd471110b 100644 (file)
@@ -13,5 +13,5 @@ Makefile.am:
 TESTS += test-term-style-control-hello
 check_PROGRAMS += test-term-style-control-hello
 noinst_PROGRAMS += test-term-style-control-yes
-test_term_style_control_hello_LDADD = $(LDADD) @LIBINTL@
-test_term_style_control_yes_LDADD = $(LDADD) @LIBINTL@
+test_term_style_control_hello_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
+test_term_style_control_yes_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
index 71b363aab95d5d3ece3647386ac1a5d092d46a0b..7ffe8322ce7d618a52bc8dc42bcb0ee869864e95 100644 (file)
@@ -28,6 +28,9 @@ lib_SOURCES += wait-process.h wait-process.c
 Include:
 "wait-process.h"
 
+Link:
+$(LIBTHREAD)
+
 License:
 GPL