Eric Blake wrote: > OK to apply? Looks ok.
I applied your changes to unsetenv.c, strtol.c (shared with GNU gettext) and unicodeio.c (for which I'm responsible), and this extra patch: 2006-06-17 Bruno Haible <[EMAIL PROTECTED]> * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test whether errno is declared. Assume <errno.h> declares errno. *** setenv.m4 18 Jan 2005 13:07:56 -0000 1.5 --- setenv.m4 17 Jun 2006 16:09:36 -0000 *************** *** 1,5 **** ! # setenv.m4 serial 5 ! dnl Copyright (C) 2001-2004 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. --- 1,5 ---- ! # setenv.m4 serial 6 ! dnl Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. *************** *** 57,63 **** AC_CHECK_HEADERS_ONCE(unistd.h) AC_CHECK_HEADERS(search.h) AC_CHECK_FUNCS(tsearch) - gt_CHECK_VAR_DECL([#include <errno.h>], errno) gt_CHECK_VAR_DECL([#include <unistd.h>], environ) ]) --- 57,62 ---- *************** *** 65,70 **** AC_DEFUN([gl_PREREQ_UNSETENV], [ AC_CHECK_HEADERS_ONCE(unistd.h) - gt_CHECK_VAR_DECL([#include <errno.h>], errno) gt_CHECK_VAR_DECL([#include <unistd.h>], environ) ]) --- 64,68 ----