+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.
-# 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,
])
])
-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])
])
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])
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])