summaryrefslogtreecommitdiff
path: root/m4/setenv.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-06-17 16:10:06 +0000
committerBruno Haible <bruno@clisp.org>2006-06-17 16:10:06 +0000
commit152216017ac118bff9d9e39bb499dbac33fe55b3 (patch)
treea07b5272133dc1ec9861bc2ec6600664a186e173 /m4/setenv.m4
parentcb72b5d9086e0ae3d9d5c787fd4af500d31f31c9 (diff)
downloadgnulib-152216017ac118bff9d9e39bb499dbac33fe55b3.tar.gz
Assume errno.h declares errno.
Diffstat (limited to 'm4/setenv.m4')
-rw-r--r--m4/setenv.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/m4/setenv.m4 b/m4/setenv.m4
index 4c76be1ff6..623fcf2b55 100644
--- a/m4/setenv.m4
+++ b/m4/setenv.m4
@@ -1,5 +1,5 @@
-# setenv.m4 serial 5
-dnl Copyright (C) 2001-2004 Free Software Foundation, Inc.
+# 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,7 +57,6 @@ AC_DEFUN([gl_PREREQ_SETENV],
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)
])
@@ -65,6 +64,5 @@ AC_DEFUN([gl_PREREQ_SETENV],
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)
])