Re: select self-tests causes build failures under mingw

2008-11-18 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> I think it may be simpler to simply avoid using gnulib --with-tests when >> importing multiple gnulib instances into one project. It doesn't really >> seem to work reliably. > > I agree with this conclusion, and add some documen

Re: select self-tests causes build failures under mingw

2008-11-18 Thread Bruno Haible
Simon Josefsson wrote: > I think it may be simpler to simply avoid using gnulib --with-tests when > importing multiple gnulib instances into one project. It doesn't really > seem to work reliably. I agree with this conclusion, and add some documentation about it: 2008-11-18 Bruno Haible <[EMAI

Re: select self-tests causes build failures under mingw

2008-11-18 Thread Bruno Haible
Simon Josefsson wrote: > > First of all, would this be fixed by moving the define into lib/time.in.h? > > If the generated time.h file is placed in gl/tests/, then I think it > would work. But if it ends up in gl/ the src/*.c files will #include > it, and there will be the same problem again. Ye

Re: select self-tests causes build failures under mingw

2008-11-18 Thread Simon Josefsson
Paolo Bonzini <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> Paolo Bonzini <[EMAIL PROTECTED]> writes: >> Maybe gnulib self-tests directories should have their own configure.ac and config.h, although I fear the build-times of having 6 CONFIG_SUBDIR statements in GnuTLS...

Re: select self-tests causes build failures under mingw

2008-11-17 Thread Paolo Bonzini
Simon Josefsson wrote: > Paolo Bonzini <[EMAIL PROTECTED]> writes: > >>> Maybe gnulib self-tests directories should have their own configure.ac >>> and config.h, although I fear the build-times of having 6 CONFIG_SUBDIR >>> statements in GnuTLS... I'd probably prefer to disable the gnulib >>> sel

Re: select self-tests causes build failures under mingw

2008-11-17 Thread Simon Josefsson
Paolo Bonzini <[EMAIL PROTECTED]> writes: >> Maybe gnulib self-tests directories should have their own configure.ac >> and config.h, although I fear the build-times of having 6 CONFIG_SUBDIR >> statements in GnuTLS... I'd probably prefer to disable the gnulib >> self-tests. Even the move to 3 CO

Re: select self-tests causes build failures under mingw

2008-11-17 Thread Paolo Bonzini
> Maybe gnulib self-tests directories should have their own configure.ac > and config.h, although I fear the build-times of having 6 CONFIG_SUBDIR > statements in GnuTLS... I'd probably prefer to disable the gnulib > self-tests. Even the move to 3 CONFIG_SUBDIR's causes significant > slow-down.

Re: select self-tests causes build failures under mingw

2008-11-17 Thread Simon Josefsson
Paolo Bonzini <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> GnuTLS fails to build under mingw (see output below), and the reason is >> that the select-tests module depends on gettimeofday module, which under >> mingw does this: >> >> AC_DEFINE([localtime], [rpl_localtime], >> [Def

Re: select self-tests causes build failures under mingw

2008-11-17 Thread Paolo Bonzini
Simon Josefsson wrote: > GnuTLS fails to build under mingw (see output below), and the reason is > that the select-tests module depends on gettimeofday module, which under > mingw does this: > > AC_DEFINE([localtime], [rpl_localtime], > [Define to rpl_localtime if the replacement function sh

select self-tests causes build failures under mingw

2008-11-17 Thread Simon Josefsson
GnuTLS fails to build under mingw (see output below), and the reason is that the select-tests module depends on gettimeofday module, which under mingw does this: AC_DEFINE([localtime], [rpl_localtime], [Define to rpl_localtime if the replacement function should be used.]) This re-definition