From: Bruno Haible Date: Sat, 21 May 2011 16:03:38 +0000 (+0200) Subject: read: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2454 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=f159f0b2521ec176a7bfd25e1e153b870d0fb0e8;p=gnulib.git read: Move AC_LIBOBJ invocations to module description. * m4/read.m4 (gl_FUNC_READ): Move AC_LIBOBJ invocation from here... * modules/read (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index dd102d4d3..02c6a7c4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-21 Bruno Haible + read: Move AC_LIBOBJ invocations to module description. + * m4/read.m4 (gl_FUNC_READ): Move AC_LIBOBJ invocation from here... + * modules/read (configure.ac): ... to here. + +2011-05-21 Bruno Haible + rawmemchr: Move AC_LIBOBJ invocations to module description. * m4/rawmemchr.m4 (gl_FUNC_RAWMEMCHR): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_RAWMEMCHR invocations diff --git a/m4/read.m4 b/m4/read.m4 index 032761f1b..310e5ebcf 100644 --- a/m4/read.m4 +++ b/m4/read.m4 @@ -1,4 +1,4 @@ -# read.m4 serial 1 +# read.m4 serial 2 dnl Copyright (C) 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, @@ -14,7 +14,6 @@ AC_DEFUN([gl_FUNC_READ], gl_NONBLOCKING_IO if test $gl_cv_have_nonblocking != yes; then REPLACE_READ=1 - AC_LIBOBJ([read]) fi ]) ]) diff --git a/modules/read b/modules/read index 85a9e02bb..12d97c75f 100644 --- a/modules/read +++ b/modules/read @@ -10,6 +10,9 @@ unistd configure.ac: gl_FUNC_READ +if test $REPLACE_READ = 1; then + AC_LIBOBJ([read]) +fi gl_UNISTD_MODULE_INDICATOR([read]) Makefile.am: