From: Bruno Haible Date: Sat, 21 May 2011 15:12:12 +0000 (+0200) Subject: pread: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e585fc6b5f908f3e783fa23a1dfc492b82af8298;p=pspp pread: Move AC_LIBOBJ invocations to module description. * m4/pread.m4 (gl_FUNC_PREAD): Move AC_LIBOBJ invocation from here... * modules/pread (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index cad7c70e89..edb2ee8314 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-21 Bruno Haible + + pread: Move AC_LIBOBJ invocations to module description. + * m4/pread.m4 (gl_FUNC_PREAD): Move AC_LIBOBJ invocation from here... + * modules/pread (configure.ac): ... to here. + 2011-05-21 Bruno Haible posix_spawn*: Move AC_LIBOBJ invocations to module description. diff --git a/m4/pread.m4 b/m4/pread.m4 index 92e8da3603..09a970760a 100644 --- a/m4/pread.m4 +++ b/m4/pread.m4 @@ -1,4 +1,4 @@ -# pread.m4 serial 4 +# pread.m4 serial 5 dnl Copyright (C) 2009-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, @@ -82,7 +82,4 @@ changequote([,])dnl else HAVE_PREAD=0 fi - if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then - AC_LIBOBJ([pread]) - fi ]) diff --git a/modules/pread b/modules/pread index 5fcb47ca24..537563a9dc 100644 --- a/modules/pread +++ b/modules/pread @@ -13,6 +13,9 @@ read [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] configure.ac: gl_FUNC_PREAD +if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then + AC_LIBOBJ([pread]) +fi gl_UNISTD_MODULE_INDICATOR([pread]) Makefile.am: