pread: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 15:12:12 +0000 (17:12 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:37 +0000 (00:06 +0200)
* m4/pread.m4 (gl_FUNC_PREAD): Move AC_LIBOBJ invocation from here...
* modules/pread (configure.ac): ... to here.

ChangeLog
m4/pread.m4
modules/pread

index cad7c70e89824948fd402467bad98c3f02d04f15..edb2ee8314e2fd4056c3efda5fba144c3621bc1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
+       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  <bruno@clisp.org>
 
        posix_spawn*: Move AC_LIBOBJ invocations to module description.
index 92e8da3603310e2f344a637843832139ad942452..09a970760a2c68aa8e32fcdaaab57457fa3ad7f0 100644 (file)
@@ -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
 ])
index 5fcb47ca2464ce9d5d6eb712d0a7bd1ded272fea..537563a9dcf088f7c687ff12e5cf066eac769753 100644 (file)
@@ -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: