Re: bootstrap/autogen.sh and git submodules

2019-03-03 Thread Bernhard Voelker
On 3/3/19 7:03 PM, Bruno Haible wrote: > 2) A submodule has to be upgraded occasionally. bootstrap/autogen.sh does > not help doing this. I have to keep a command in a cheat-sheet: >$ (cd gnulib && git fetch && git merge origin/master); git add gnulib Additionally to updating gnulib

Re: bootstrap/autogen.sh and git submodules

2019-03-03 Thread Bruno Haible
Hi Gary, > ... entirely sufficient for: > > 1. running on a freshly cloned working copy to set everything up ready for > ./configure && make > > 2. rebootstrapping after updating submodules Yes, it is sufficient for the "simple" cases. What the current bootstrap is not good at: * Keeping t

Re: bootstrap/autogen.sh and git submodules

2019-03-03 Thread Tim Rühsen
On 03.03.19 19:03, Bruno Haible wrote: > Hi, > > When gnulib is used in a package, often the maintainers of that package > use it via a git submodule, because that enables them to upgrade to newer > versions of gnulib when they want to (and have a failsafe build between > these upgrades), rather t

Re: bootstrap/autogen.sh and git submodules

2019-03-03 Thread Gary V. Vaughan
> On Mar 3, 2019, at 10:03 AM, Bruno Haible wrote: > > Hi, > > When gnulib is used in a package, often the maintainers of that package > use it via a git submodule, because that enables them to upgrade to newer > versions of gnulib when they want to (and have a failsafe build between > these u

Re: [PATCH] Fix pointer comparison

2019-03-03 Thread Bruno Haible
Hi Michal, > it may make one think that the pointer is an int. > Use explicit comparison against NULL (or !ptr). I agree with you. Use of '0' to designate a NULL pointer is confusing to most of us. > lib/alloca.c | 10 +- > tests/test-tsearch.c | 2 +- Applied. > lib/getloada

bootstrap/autogen.sh and git submodules

2019-03-03 Thread Bruno Haible
Hi, When gnulib is used in a package, often the maintainers of that package use it via a git submodule, because that enables them to upgrade to newer versions of gnulib when they want to (and have a failsafe build between these upgrades), rather than having to adapt to gnulib changes at any moment