The following patchlet fixes compiling with glibc 2.3.1 which dies because the strerror declaration in src/config.h fails to match that in string.h (which adds throw(); to the end and is therefore different). There is of course some impact on the configure script not included in the patchlet. AFAICS this patchlet can not break anything, because it only kills the declaration if you have one already.
--- configure.ac.dist Mon Feb 3 21:11:29 2003 +++ configure.ac Mon Feb 3 21:22:20 2003 @@ -243,6 +243,7 @@ LYX_CHECK_DECL(vsnprintf, stdio.h) LYX_CHECK_DECL(istreambuf_iterator, iterator) LYX_CHECK_DECL(mkstemp,[unistd.h stdlib.h]) +LYX_CHECK_DECL(strerror,[errno.h string.h strings.h]) dnl This is a slight hack: the tests generated by autoconf 2.52 do not dnl work correctly because of some conflict with stdlib.h with g++ 2.96 --- src/config.h.in.dist Mon Feb 3 21:19:36 2003 +++ src/config.h.in Mon Feb 3 21:15:20 2003 @@ -432,10 +432,12 @@ #endif #ifdef HAVE_MKSTEMP +#ifndef HAVE_DECL_MKSTEMP #if defined(__cplusplus) extern "C" #endif int mkstemp(char*); +#endif #endif #ifdef __EMX__ -- Duncan (-: "software industry, the: unique industry where selling substandard goods is legal and you can charge extra for fixing the problems."