posix_spawn*: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 15:09:28 +0000 (17:09 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:37 +0000 (00:06 +0200)
* 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.

ChangeLog
m4/posix_spawn.m4
modules/posix_spawn
modules/posix_spawnp

index 951ff38..cad7c70 100644 (file)
--- 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...
index 63e9473..1d17050 100644 (file)
@@ -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])
 ])
index 54e08d8..ec8eac1 100644 (file)
@@ -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])
 
index ec6accb..7e52c67 100644 (file)
@@ -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])