# HG changeset patch # User Bruno Haible # Date 1311633575 -7200 # Node ID 27fad4bab4966a43167392f60a9459b59f75f1e4 # Parent 284a8cc10af0f8241036015dddcc2a872c68a89e 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-07-25 Bruno Haible + 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. diff --git a/m4/fcntl.m4 b/m4/fcntl.m4 --- a/m4/fcntl.m4 +++ b/m4/fcntl.m4 @@ -92,5 +92,4 @@ else REPLACE_FCNTL=1 fi - AC_LIBOBJ([fcntl]) ]) diff --git a/modules/fcntl b/modules/fcntl --- a/modules/fcntl +++ b/modules/fcntl @@ -13,6 +13,9 @@ 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: