NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / mknod
index b3329cb..1f647ef 100644 (file)
@@ -1,18 +1,21 @@
 Description:
-mknod(): create various special devices
+mknod() function: create various special devices
 
 Files:
 lib/mknod.c
 m4/mknod.m4
 
 Depends-on:
-mkfifo
-stat
 sys_stat
 extensions
+mkfifo          [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]
+stat            [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]
 
 configure.ac:
 gl_FUNC_MKNOD
+if test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1; then
+  AC_LIBOBJ([mknod])
+fi
 gl_UNISTD_MODULE_INDICATOR([mknod])
 
 Makefile.am: