diff options
author | Bruno Haible <bruno@clisp.org> | 2010-03-07 16:10:57 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-03-07 16:10:57 +0100 |
commit | 979260e3a53de91ae4792e57a6bb801a723a4539 (patch) | |
tree | 38f36e3d8d26b12aabcc3308f2d724965fd26e2e /modules/posix_spawnattr_getschedparam | |
parent | 3753983927e2b3036817bb59293dffee6001b5f4 (diff) | |
download | gnulib-979260e3a53de91ae4792e57a6bb801a723a4539.tar.gz |
Ensure posix_spawnattr_{get,set}sched{policy,param} are defined.
Diffstat (limited to 'modules/posix_spawnattr_getschedparam')
-rw-r--r-- | modules/posix_spawnattr_getschedparam | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/posix_spawnattr_getschedparam b/modules/posix_spawnattr_getschedparam index 4691523503..e93479a50b 100644 --- a/modules/posix_spawnattr_getschedparam +++ b/modules/posix_spawnattr_getschedparam @@ -11,7 +11,9 @@ spawn configure.ac: gl_POSIX_SPAWN -if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then +if test $HAVE_POSIX_SPAWN = 0 \ + || test $REPLACE_POSIX_SPAWN = 1 \ + || test $gl_cv_func_spawnattr_setschedparam = no; then gl_REPLACE_SPAWN_H AC_LIBOBJ([spawnattr_getschedparam]) fi |