On 2013-12-07 08:53, Gary V. Vaughan wrote: > On 6 Dec 2013, at 21:11, Peter Rosin <p...@lysator.liu.se> wrote: >> In my setup, I have to rerun "./bootstrap -fc" after every commit I make >> to my local git libtool repo, which is very annoying. I >> >> inline-source: error: file 'build-aux/funclib.sh' not found >> inline-source: error: file 'build-aux/options-parser' not found >> GEN libtool > > That looks suspiciously like a srcdir vs builddir error to me. If you are > using > a VPATH build, does it work better as an in tree build? Thanks to the magic > of `git clean`, I only exercise VPATH during `make distcheck` these days...
I don't want to "git clean", as I have all sorts of interesting residue stored that I don't want to lose and don't want to move elsewhere. I don't want to build in-tree, that's not as convenient when I test different configure arguments or platforms (sometimes concurrently) using the same git tree. I just want VPATH to work. >> Is it expected that I need to manually rerun bootstrap after every commit? > > Half expected at least, because we display the `git describe` output in the > ./configure header, and that changes with each commit. > > It would certainly be nicer for make to autoreconf successfully without a > manual rebootstrap :-( > > Patches welcome... I've added it to my TODO list to look at after the next > release too, in case no one else has time or inclination before then. The attached patch seems to work for me, ok to push? Cheers, Peter
>From c046322c93af6e05a488ed00154230d27664355e Mon Sep 17 00:00:00 2001 From: Peter Rosin <p...@lysator.liu.se> Date: Sun, 8 Dec 2013 23:48:07 +0100 Subject: [PATCH] maint: fix out-of-tree autoreconf w/o manual rebootstrap build-aux/ltmain.in: Look for funclib.sh and options-parser in the same location ltmain.in is found. Signed-off-by: Peter Rosin <p...@lysator.liu.se> --- build-aux/ltmain.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in index fba05c1..0da8ad7 100644 --- a/build-aux/ltmain.in +++ b/build-aux/ltmain.in @@ -61,8 +61,8 @@ package_revision=@package_revision@ # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. -. "build-aux/funclib.sh" -. "build-aux/options-parser" +. `echo "$0" |${SED-sed} 's|[^/]*$||'`"funclib.sh" +. `echo "$0" |${SED-sed} 's|[^/]*$||'`"options-parser" # Set a version string. scriptversion='(GNU @PACKAGE@) @VERSION@' -- 1.7.9
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool