config.h genration broken for kdelibs?

Stephan Kulow coolo at kde.org
Sun Oct 6 16:49:55 BST 2002


On Sonntag, 6. Oktober 2002 16:49, Marc Mutz wrote:
> Hi!
>
> I get tons of these constructs in config.h with current CVS kdelibs:
>
> --begin--
> #if !defined(HAVE_USLEEP_PROTO)
> #ifdef __cplusplus
> extern "C"
> #endif
> int usleep (unsigned int);
> #endif
>
>
> /* Define if you have the usleep prototype */
> #define HAVE_USLEEP_PROTO 1
> --end--
>
> Of course, they will break as soon as the fake prototype conflicts with
> the real one, which is the case here for at least unsetenv().
>
> automake 1.5, autoconf 2.52
autoconf 2.54 puts the prototype behind the HAVE_USLEEP and that's
what it's supposed to do.

I wonder why noone else has this problem as autoconf 2.52 isn't really
seldom.

Greetings, Stephan





More information about the kde-core-devel mailing list