]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
unsetenv: Remove support for OSF/1.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2025 10:46:57 +0000 (12:46 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2025 10:47:12 +0000 (12:47 +0200)
* m4/setenv.m4 (gl_FUNC_UNSETENV): Remove workaround for OSF/1.

ChangeLog
m4/setenv.m4

index f1a88b220513a04be8360c92f5d339de3df657bc..befb9aed0352f27181c54c9025ec4da1a65c6204 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-09-09  Bruno Haible  <bruno@clisp.org>
 
+       unsetenv: Remove support for OSF/1.
+       * m4/setenv.m4 (gl_FUNC_UNSETENV): Remove workaround for OSF/1.
+
        remainderl-ieee: Remove support for OSF/1.
        * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Don't test against OSF/1 bug.
 
index 727e35aff3935066edba8239ad640e39d6d28126..3961275028f2aba12fc7eec7de0371b4f405f64c 100644 (file)
@@ -1,5 +1,5 @@
 # setenv.m4
-# serial 35
+# serial 36
 dnl Copyright (C) 2001-2004, 2006-2025 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -85,8 +85,6 @@ AC_DEFUN([gl_FUNC_UNSETENV],
       [AC_COMPILE_IFELSE(
          [AC_LANG_PROGRAM(
             [[
-#undef _BSD
-#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
 #include <stdlib.h>
 extern
 #ifdef __cplusplus