* m4/mknod.m4 (gl_FUNC_MKNOD): Move AC_LIBOBJ invocations from here...
* modules/mknod (configure.ac): ... to here.
+2011-05-21 Bruno Haible <bruno@clisp.org>
+
+ mknod: Move AC_LIBOBJ invocations to module description.
+ * m4/mknod.m4 (gl_FUNC_MKNOD): Move AC_LIBOBJ invocations from here...
+ * modules/mknod (configure.ac): ... to here.
+
2011-05-21 Bruno Haible <bruno@clisp.org>
mkfifoat: Move AC_LIBOBJ invocations to module description.
-# serial 3
+# serial 4
# See if we need to provide mknod replacement.
dnl Copyright (C) 2009-2011 Free Software Foundation, Inc.
AC_CHECK_FUNCS_ONCE([mknod])
if test $ac_cv_func_mknod = no; then
HAVE_MKNOD=0
- AC_LIBOBJ([mknod])
else
dnl Detect BSD bug, where mknod requires root privileges to create fifo.
AC_CACHE_CHECK([whether mknod can create fifo without root privileges],
dnl Systems that mishandle trailing slash on mkfifo also goof on mknod.
if test $REPLACE_MKFIFO = 1 || test "$gl_cv_func_mknod_works" != yes; then
REPLACE_MKNOD=1
- AC_LIBOBJ([mknod])
fi
fi
])
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: