The modules posix_spawn_file_actions_addclose etc. can produce link errors
regarding the function gl_posix_spawn_file_actions_realloc, which is defined in
lib/spawn_faction_init.c.


2011-09-18  Bruno Haible  <[email protected]>

        posix_spawn_file_actions_add*: Fix module dependencies.
        * modules/posix_spawn_file_actions_addclose (Dependencies): Add
        posix_spawn_file_actions_init.
        * modules/posix_spawn_file_actions_adddup2 (Dependencies): Likewise.
        * modules/posix_spawn_file_actions_addopen (Dependencies): Likewise.

--- modules/posix_spawn_file_actions_addclose.orig      Mon Sep 19 00:38:41 2011
+++ modules/posix_spawn_file_actions_addclose   Mon Sep 19 00:04:18 2011
@@ -9,7 +9,8 @@
 
 Depends-on:
 spawn
-getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
+getdtablesize                 [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
+posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
--- modules/posix_spawn_file_actions_adddup2.orig       Mon Sep 19 00:38:41 2011
+++ modules/posix_spawn_file_actions_adddup2    Mon Sep 19 00:04:18 2011
@@ -9,7 +9,8 @@
 
 Depends-on:
 spawn
-getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
+getdtablesize                 [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
+posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN
--- modules/posix_spawn_file_actions_addopen.orig       Mon Sep 19 00:38:41 2011
+++ modules/posix_spawn_file_actions_addopen    Mon Sep 19 00:04:18 2011
@@ -9,7 +9,8 @@
 
 Depends-on:
 spawn
-getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
+getdtablesize                 [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
+posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test 
$REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN

-- 
In memoriam Bernhard Bästlein <http://en.wikipedia.org/wiki/Bernhard_Bästlein>

Reply via email to