Re: versioning config.cache

2009-05-01 Thread Bob Friesenhahn
On Fri, 1 May 2009, Eric Blake wrote: In the grand scheme of things, 'if test... fi' and 'case ... esac' are both shell builtins, so no change in efficiency on the number of processes The 'test' command is not always a shell builtin, although it usually is these days. That is why there is a

Re: versioning config.cache

2009-05-01 Thread Harlan Stenn
Eric Blake wrote: > According to Dave Hart on 5/1/2009 9:15 AM: > >> Since this variable is under your complete control, I would have written > >> > >> if test $ntp_cache_flush = 1; then > >> ... > >> fi > >> > >> rather than a case statement. > > > > That's a fine choice. I think for my purpose

Re: versioning config.cache

2009-05-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dave Hart on 5/1/2009 9:15 AM: >> Since this variable is under your complete control, I would have written >> >> if test $ntp_cache_flush = 1; then >> ... >> fi >> >> rather than a case statement. > > That's a fine choice. I think for m

Re: versioning config.cache

2009-05-01 Thread Dave Hart
Eric Blake wrote: > According to Dave Hart on 5/1/2009 5:37 AM: >> I wanted a >> version number to bump that would cause configure to ignore >> config.cache results from prior versions. > > Interesting concept.  However, I'm worried about one thing - it is also > possible to invalidate the cache b

Re: X11R7

2009-05-01 Thread Patrick Welche
On Fri, May 01, 2009 at 10:15:28AM -0400, Thomas Dickey wrote: > On Fri, 1 May 2009, Patrick Welche wrote: > >> I haven't seen breakages without this patch, but it seems logical to me... > > supposedly "X11R7" moved everything back into non-specific paths such as > /usr/bin My system (NetBSD) has

Re: X11R7

2009-05-01 Thread Thomas Dickey
On Fri, 1 May 2009, Patrick Welche wrote: I haven't seen breakages without this patch, but it seems logical to me... supposedly "X11R7" moved everything back into non-specific paths such as /usr/bin -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net _

X11R7

2009-05-01 Thread Patrick Welche
I haven't seen breakages without this patch, but it seems logical to me... Thoughts? Patrick diff --git a/lib/autoconf/libs.m4 b/lib/autoconf/libs.m4 index cbc4218..8f7729b 100644 --- a/lib/autoconf/libs.m4 +++ b/lib/autoconf/libs.m4 @@ -236,21 +236,25 @@ m4_define([_AC_PATH_X_DIRECT], # Check X

Re: versioning config.cache

2009-05-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dave Hart on 5/1/2009 5:37 AM: > I added -Winit-self unwisely to NTP's configure.ac without a test, > resulting in spectacular failure for those with old-enough gcc [1]. > For those users, invalid results were cached left and right if they

versioning config.cache

2009-05-01 Thread Dave Hart
I added -Winit-self unwisely to NTP's configure.ac without a test, resulting in spectacular failure for those with old-enough gcc [1]. For those users, invalid results were cached left and right if they enabled config.cache. At the time I repaired my mistake, I wanted a version number to bump that