summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--m4/posix_spawn.m47
-rw-r--r--modules/posix_spawn3
-rw-r--r--modules/posix_spawnp3
4 files changed, 15 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 951ff389b0..cad7c70e89 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-05-21 Bruno Haible <bruno@clisp.org>
+ posix_spawn*: Move AC_LIBOBJ invocations to module description.
+ * m4/posix_spawn.m4 (gl_PREREQ_POSIX_SPAWN_INTERNAL): Renamed from
+ gl_POSIX_SPAWN_INTERNAL. Move AC_LIBOBJ invocation from here...
+ * modules/posix_spawn (configure.ac): ... to here.
+ * modules/posix_spawnp (configure.ac): ... and here.
+
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
popen: Move AC_LIBOBJ invocations to module description.
* m4/popen.m4 (gl_FUNC_POPEN): Move AC_LIBOBJ and gl_PREREQ_POPEN
invocations from here...
diff --git a/m4/posix_spawn.m4 b/m4/posix_spawn.m4
index 63e9473680..1d17050fbb 100644
--- a/m4/posix_spawn.m4
+++ b/m4/posix_spawn.m4
@@ -1,4 +1,4 @@
-# posix_spawn.m4 serial 8
+# posix_spawn.m4 serial 9
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -391,10 +391,9 @@ main (int argc, char *argv[])
])
])
-AC_DEFUN([gl_POSIX_SPAWN_INTERNAL],
+# Prerequisites of lib/spawni.c.
+AC_DEFUN([gl_PREREQ_POSIX_SPAWN_INTERNAL],
[
- AC_LIBOBJ([spawni])
- dnl Prerequisites of lib/spawni.c.
AC_CHECK_HEADERS([paths.h])
AC_CHECK_FUNCS([confstr sched_setparam sched_setscheduler setegid seteuid vfork])
])
diff --git a/modules/posix_spawn b/modules/posix_spawn
index 54e08d8413..ec8eac1825 100644
--- a/modules/posix_spawn
+++ b/modules/posix_spawn
@@ -13,7 +13,8 @@ configure.ac:
gl_POSIX_SPAWN
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
AC_LIBOBJ([spawn])
- gl_POSIX_SPAWN_INTERNAL
+ AC_LIBOBJ([spawni])
+ gl_PREREQ_POSIX_SPAWN_INTERNAL
fi
gl_SPAWN_MODULE_INDICATOR([posix_spawn])
diff --git a/modules/posix_spawnp b/modules/posix_spawnp
index ec6accb82d..7e52c674ce 100644
--- a/modules/posix_spawnp
+++ b/modules/posix_spawnp
@@ -13,7 +13,8 @@ configure.ac:
gl_POSIX_SPAWN
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
AC_LIBOBJ([spawnp])
- gl_POSIX_SPAWN_INTERNAL
+ AC_LIBOBJ([spawni])
+ gl_PREREQ_POSIX_SPAWN_INTERNAL
fi
gl_SPAWN_MODULE_INDICATOR([posix_spawnp])