diff options
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 |