Avoid unnecessary compilation units, through conditional dependencies.
[gnulib.git] / modules / posix_spawn_file_actions_addclose
index 80b1c91..d24a0c9 100644 (file)
@@ -9,7 +9,7 @@ m4/posix_spawn.m4
 
 Depends-on:
 spawn
-getdtablesize
+getdtablesize   [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1]
 
 configure.ac:
 gl_POSIX_SPAWN