On September 6, 2012 at 2:41 PM Eric Blake <[email protected]> wrote:
> On 09/06/2012 01:11 AM, Bernhard Voelker wrote: > > I'll be busy with replacing a dying hard disk this weekend > > anyway ;-( ... > This patch should do it (although I didn't really stress-test it, but > just whipped something up for the purposes of a fast reply). If you > like it, I'll turn it into a formal patch before committing. > > diff --git i/configure.ac w/configure.ac > index d087c33..e1aa6ca 100644 > --- i/configure.ac > +++ w/configure.ac > @@ -75,7 +75,11 @@ AC_ARG_ENABLE([gcc-warnings], > *) AC_MSG_ERROR([bad value $enableval for gcc-warnings > option]) ;; > esac > gl_gcc_warnings=$enableval], > - [gl_gcc_warnings=no] > + [if test -d "$srcdir"/.git; then > + gl_gcc_warnings=yes > + else > + gl_gcc_warnings=no > + fi] > ) Thanks for working on that. Unfortunately, I currently cannot test that (see above), although it looks okay for me. Have a nice day, Berny
