# HG changeset patch # User Bruno Haible # Date 1305989662 -7200 # Node ID 6645dea6c6005036b9e5d9beeb8d543df6486d72 # Parent 925e4e76213b1723cd3758aa1a6ff43cd2a73746 pipe-posix: Move AC_LIBOBJ invocations to module description. * m4/pipe.m4 (gl_FUNC_PIPE): Move AC_LIBOBJ invocation from here... * modules/pipe-posix (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + pipe-posix: Move AC_LIBOBJ invocations to module description. + * m4/pipe.m4 (gl_FUNC_PIPE): Move AC_LIBOBJ invocation from here... + * modules/pipe-posix (configure.ac): ... to here. + 2011-05-21 Bruno Haible openat: Respect rules for use of AC_LIBOBJ. diff --git a/m4/pipe.m4 b/m4/pipe.m4 --- a/m4/pipe.m4 +++ b/m4/pipe.m4 @@ -1,4 +1,4 @@ -# pipe.m4 serial 1 +# pipe.m4 serial 2 dnl Copyright (C) 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -11,6 +11,5 @@ AC_CHECK_FUNCS_ONCE([pipe]) if test $ac_cv_func_pipe != yes; then HAVE_PIPE=0 - AC_LIBOBJ([pipe]) fi ]) diff --git a/modules/pipe-posix b/modules/pipe-posix --- a/modules/pipe-posix +++ b/modules/pipe-posix @@ -10,6 +10,9 @@ configure.ac: gl_FUNC_PIPE +if test $HAVE_PIPE = 0; then + AC_LIBOBJ([pipe]) +fi gl_UNISTD_MODULE_INDICATOR([pipe]) Makefile.am: