* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused

variable warning.
This commit is contained in:
Paul Eggert 2006-03-03 20:41:40 +00:00
parent f4d628245a
commit 3ddd7fba50
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-04 Eric Blake <ebb9@byu.net>
* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused
variable warning.
2006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct

View File

@ -1521,6 +1521,7 @@ AC_CACHE_CHECK([whether strerror_r returns char *],
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