* m4/fcntl.m4 (gl_REPLACE_FCNTL): Don't invoke AC_LIBOBJ.
* modules/fcntl (configure.ac): Invoke AC_LIBOBJ.
2011-07-25 Bruno Haible <bruno@clisp.org>
+ fcntl: Move AC_LIBOBJ invocation to module description.
+ * m4/fcntl.m4 (gl_REPLACE_FCNTL): Don't invoke AC_LIBOBJ.
+ * modules/fcntl (configure.ac): Invoke AC_LIBOBJ.
+
fcntl: Remove call-in from fchdir.m4.
* m4/fcntl.m4 (gl_FUNC_FCNTL): Conditionally invoke gl_TEST_FCHDIR.
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Don't invoke gl_REPLACE_FCNTL.
else
REPLACE_FCNTL=1
fi
- AC_LIBOBJ([fcntl])
])
configure.ac:
gl_FUNC_FCNTL
+if test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1; then
+ AC_LIBOBJ([fcntl])
+fi
gl_FCNTL_MODULE_INDICATOR([fcntl])
Makefile.am: