From kde-core-devel Sun Oct 06 15:49:55 2002 From: Stephan Kulow Date: Sun, 06 Oct 2002 15:49:55 +0000 To: kde-core-devel Subject: Re: config.h genration broken for kdelibs? X-MARC-Message: https://marc.info/?l=kde-core-devel&m=103391947022762 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