On Mon, Feb 03, 2003 at 09:30:47PM +0000, Duncan Simpson wrote:

> 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.

Here is the patch I did to fix this :

diff -u -r1.22 configure.ac
--- configure.ac        14 Jan 2003 01:18:13 -0000      1.22
+++ configure.ac        3 Feb 2003 23:48:22 -0000
@@ -238,7 +238,7 @@
 AC_TYPE_SIZE_T
 AC_TYPE_UID_T
 
-AC_CHECK_FUNCS(snprintf vsnprintf)
+AC_CHECK_FUNCS(snprintf vsnprintf strerror)
 LYX_CHECK_DECL(snprintf, stdio.h)
 LYX_CHECK_DECL(vsnprintf, stdio.h)
 LYX_CHECK_DECL(istreambuf_iterator, iterator)

Why did you need more ?

regards
john

Reply via email to