bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getloadavg module broken


From: Jim Meyering
Subject: Re: getloadavg module broken
Date: Fri, 19 May 2006 00:08:46 +0200

Bruno Haible <address@hidden> wrote:
> Hi Jim,
>
> The module description of module 'getloadavg' appears to be missing the
> lib/getloadavg.c source file.
>
> To reproduce:
> $ ./gnulib-tool --dir=/smb/orlando/gnuprog/testdir --create-testdir 
> `./gnulib-tool --list`
> ...
> checking for working getline function... yes
> configure: error: ././getloadavg.c is missing
>
> This is with autoconf-2.59 and automake-1.9.6.

Hi Bruno,

That is because it's looking in the wrong place.
This patch fixes the immediate problem, but may cause
trouble for people who put the libobj directory elsewhere.
If any of you know of such a package, please let me know.

Index: modules/getloadavg
===================================================================
RCS file: /sources/gnulib/gnulib/modules/getloadavg,v
retrieving revision 1.11
diff -u -p -r1.11 getloadavg
--- modules/getloadavg  26 Feb 2006 08:45:03 -0000      1.11
+++ modules/getloadavg  18 May 2006 22:05:42 -0000
@@ -13,6 +13,7 @@ stdbool
 fcntl-safer
 
 configure.ac:
+AC_CONFIG_LIBOBJ_DIR([lib])
 AC_FUNC_GETLOADAVG
 
 Makefile.am:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]