bug-coreutils
[Top][All Lists]
Advanced

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

Re: FYI: work with latest gnulib-tool


From: Paul Eggert
Subject: Re: FYI: work with latest gnulib-tool
Date: Thu, 12 Oct 2006 14:51:03 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> This change is required to bootstrap using today's gnulib-tool.
>
> * Makefile.am (libcoreutils_a_LIBADD): Append $(LIBOBJS),
> to accommodate the latest version of gnulib-tool.
> (libcoreutils_a_DEPENDENCIES): Likewise.

I also needed the following change, which I installed into gnulib.

2006-10-12  Paul Eggert  <address@hidden>

        * modules/error (Makefile.am): Distribute files through
        EXTRA_DIST, not lib_SOURCES.

--- lib/error.~1.9.~    2006-10-12 14:30:39.000000000 -0700
+++ lib/error   2006-10-12 14:39:01.000000000 -0700
@@ -12,7 +12,7 @@ configure.ac:
 gl_ERROR
 
 Makefile.am:
-lib_SOURCES += error.h error.c
+EXTRA_DIST += error.h error.c
 
 Include:
 "error.h"


Without the change, coreutils ./bootstrap failed as follows.
I am using Automake 1.9.6 and Autoconf 2.60.

  ./bootstrap: automake --add-missing --copy --force-missing ...
  configure.ac: installing `build-aux/install-sh'
  configure.ac: installing `build-aux/missing'
  doc/Makefile.am:21: installing `build-aux/mdate-sh'
  doc/Makefile.am:21: installing `build-aux/texinfo.tex'
  lib/gnulib.mk:18: automatically discovered file `error.h' should not be 
explicitly mentioned
  lib/Makefile.am:20:   `lib/gnulib.mk' included from here
  lib/gnulib.mk:18: automatically discovered file `error.c' should not be 
explicitly mentioned
  lib/Makefile.am:20:   `lib/gnulib.mk' included from here




reply via email to

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