symlink: Update regarding AIX.
[gnulib.git] / modules / posix_spawnattr_getschedpolicy
index 9663e37..47f15f9 100644 (file)
@@ -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_setschedpolicy = no; then
   gl_REPLACE_SPAWN_H
   AC_LIBOBJ([spawnattr_getschedpolicy])
 fi