[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] Re: warning in AC_CHECK_DECL
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] Re: warning in AC_CHECK_DECL |
Date: |
Mon, 24 Apr 2006 13:56:11 +0200 |
User-agent: |
KMail/1.5 |
Paul Eggert wrote on 2006-02-17:
> > Either we need to update the various gnulib macros
> > borrowed from CVS autoconf to override bugs in autoconf 2.59, or we need
> > to release autoconf 2.60.
>
> We should do both, since we can't assume 2.60 will be adopted right
> away. What changes need to be made, for this particular issue, to
> both programs?
I brought over Eric's change to gnulib:
2006-03-04 Eric Blake <address@hidden>
* strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
*** m4/strerror_r.m4.bak 2005-01-26 17:51:26.000000000 +0100
--- m4/strerror_r.m4 2006-04-24 00:36:14.000000000 +0200
***************
*** 25,30 ****
--- 25,31 ----
char buf[100];
char x = *strerror_r (0, buf, sizeof buf);
char *p = strerror_r (0, buf, sizeof buf);
+ return !p || x;
]])],
ac_cv_func_strerror_r_char_p=yes)
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-gnulib] Re: warning in AC_CHECK_DECL,
Bruno Haible <=