summaryrefslogtreecommitdiff
path: root/modules/posix_spawnattr_getschedparam
diff options
context:
space:
mode:
Diffstat (limited to 'modules/posix_spawnattr_getschedparam')
-rw-r--r--modules/posix_spawnattr_getschedparam10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/posix_spawnattr_getschedparam b/modules/posix_spawnattr_getschedparam
index 4aaa7938c2..3a2ba00a1d 100644
--- a/modules/posix_spawnattr_getschedparam
+++ b/modules/posix_spawnattr_getschedparam
@@ -11,14 +11,14 @@ spawn
configure.ac:
gl_POSIX_SPAWN
-if test $HAVE_POSIX_SPAWN = 0 \
- || test $REPLACE_POSIX_SPAWN = 1 \
- || test $gl_cv_func_spawnattr_setschedparam = no; then
- AC_LIBOBJ([spawnattr_getschedparam])
-fi
+gl_CONDITIONAL([GL_COND_OBJ_SPAWNATTR_GETSCHEDPARAM],
+ [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $gl_cv_func_spawnattr_setschedparam = no])
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getschedparam])
Makefile.am:
+if GL_COND_OBJ_SPAWNATTR_GETSCHEDPARAM
+lib_SOURCES += spawnattr_getschedparam.c
+endif
Include:
<spawn.h>