Hi all. I'm on a GNU/Linux system with autoconf 2.69, automake 1.15.1, gettext 0.19.8.1, latest gnulib checked out from Git.
I'm seeing an issue when using the getloadavg gnulib module. The problem is that I find a line in my root Makefile.in which attempts to include the lib/.deps/getloadavg.Po file. This causes the distcheck target to fail, because after we run "make distclean" in the lib subdirectory that .Po file is gone. This causes any further attempt to recursively re-invoke make against the root Makefile to fail with: Makefile:1021: lib/.deps/getloadavg.Po: No such file or directory I clean my local Git repository so all gnulib files are gone. After I run ./bootstrap, in my ./lib/Makefile.in I see this which is fine: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getloadavg.Po@am__quote@ But I also see this in my ./Makefile.in which causes the breakage: @AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/getloadavg.Po@am__quote@ Note how it's looking at lib/$(DEPDIR)/getloadavg.Po. This is wrong and I can't figure out where this line comes from. None of the other source files added in lib/ have this problem; they are not added to the root ./Makefile.in. There's nothing in my Makefile.am or configure.ac that does anything special with getloadavg (I do call the recommended m4 macros in configure.ac of course). All I can assume is that something about the m4/getloadavg.m4 file is causing this to happen somehow. Anyone have any hints as to how to figure out what's happening here?