Avoid unnecessary compilation units, through conditional dependencies.
[gnulib.git] / modules / mkfifoat
index 2bc7e65..705fb4f 100644 (file)
@@ -7,12 +7,12 @@ lib/mknodat.c
 m4/mkfifoat.m4
 
 Depends-on:
+sys_stat
 extensions
 fcntl-h
-mkfifo
-mknod
-openat
-sys_stat
+mkfifo          [test $HAVE_MKFIFOAT = 0]
+mknod           [test $HAVE_MKNODAT = 0]
+openat          [test $HAVE_MKFIFOAT = 0 || test $HAVE_MKNODAT = 0]
 
 configure.ac:
 gl_FUNC_MKFIFOAT