On 08/27/2017 05:23 PM, Mathieu Lirzin wrote: > Michael Haubenwallner writes: >> On 08/24/2017 11:35 AM, Mathieu Lirzin wrote: >> >>> Instead of this dummy target, I would rather prefer adding the dirstamp >>> dependency for each explicit object file separately. this should be computed >>> from the '%libsources' variable. However after a quick look in the code, it >>> seems that this variable is not properly populated by the >>> 'scan_autoconf_traces' subroutine. It only contains the files that are >>> explicitely defined by scanning the AC_LIBSOURCE macro and not by AC_LIBOBJ or >>> AC_LIBSOURCES in 'configure.ac'. >>> >>> Michael: Are you interested in looking into this? >>> >> >> Here's an attempt to use the explicit AC_LIBSOURCE values to depend on the >> LIBOBJDIR dirstamp. IMHO, tracing AC_LIBOBJ would not provide additional >> information over AC_LIBSOURCE, as AC_LIBOBJ by itself uses AC_LIBSOURCE. > > I stand corrected. This is indeed working properly since > 'scan_autoconf_traces' doesn't simply scan "configure.ac" but the output > 'autoconf --trace=...'. > >> >From 4465bb9e31c12a8f59c199c61aaef17966e1ffc4 Mon Sep 17 00:00:00 2001 >> From: Michael Haubenwallner >> Date: Wed, 16 Aug 2017 18:16:12 +0200 >> Subject: [PATCH] automake: Depend on LIBOBJDIR for LIBOBJS. >> >> This change fixes automake bug#27781. >> >> * bin/automake.in: Add Makefile dependency on LIBOBJDIR/dirstamp for >> each LIBOBJS/ALLOCA source file found. >> --- > > This patch can't be applied on the 'minor' branch, which corresponds to > the branch of the next release (I know this is confusing [1]). Could > resend it after rebasing onto the 'minor' branch? > Here we go, also removing t/libobj-no-dependency-tracking.sh from XFAIL_TESTS. Thanks, /haubi/