[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix coreutils' "make distcheck": remove AC_CONFIG_LIBOBJ_DIR(lib)
From: |
Jim Meyering |
Subject: |
fix coreutils' "make distcheck": remove AC_CONFIG_LIBOBJ_DIR(lib) |
Date: |
Sat, 07 Oct 2006 18:06:25 +0200 |
[cc'ing bug-automake, in case this is a bug.
I was using both automake-1.9b and the latest from cvs. ]
This problem may be due to the convoluted way in which coreutils
bootstraps into a hierarchy under .#bootmp, and then moves the
files into ./lib and ./m4. See below for details.
2006-10-07 Jim Meyering <address@hidden>
* jm-macros.m4 (gl_MACROS): Remove use of AC_CONFIG_LIBOBJ_DIR(lib).
It is no longer needed, and was causing dependencies to appear
in lib/lib/.deps, which provoked a "make distcheck" failure.
Index: jm-macros.m4
===================================================================
RCS file: /fetish/cu/m4/jm-macros.m4,v
retrieving revision 1.246
diff -u -r1.246 jm-macros.m4
--- jm-macros.m4 29 Sep 2006 15:58:04 -0000 1.246
+++ jm-macros.m4 7 Oct 2006 15:51:26 -0000
@@ -46,8 +46,6 @@
AC_REQUIRE([AC_FUNC_FSEEKO])
- AC_CONFIG_LIBOBJ_DIR([lib])
-
# By default, argmatch should fail calling usage (1).
AC_DEFINE(ARGMATCH_DIE, [usage (1)],
[Define to the function xargmatch calls on failures.])
As I said, the problem was that config.status created (and populated)
lib/lib/.deps. But it did only what automake told it to do.
automake generated lib/Makefile.in containing these lines. Notice
how everything down to "include .deps/xstrtoumax.Po" looks fine.
But then there's an extra lib/ "include lib/.deps/xstrtoumax.Po"
$ grep DEPDIR lib/Makefile.in
DEPDIR = @DEPDIR@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
...
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
@AMDEP_TRUE@@am__include@ @address@hidden/$(DEPDIR)/address@hidden@
...
- fix coreutils' "make distcheck": remove AC_CONFIG_LIBOBJ_DIR(lib),
Jim Meyering <=