gnulib: install the environ module

This should fix compilation on OSX, as reported by Yann Thierry-Mieg.

* m4/environ.m4: New file.
* m4/gnulib-cache.m4, m4/gnulib-comp.m4: Update.
* bin/common_trans.cc [HAVE_SPAWN_H]: Do not define environ.
This commit is contained in:
Alexandre Duret-Lutz 2022-06-30 09:36:59 +02:00
parent db725ffaf8
commit 1fc94ee6f2
4 changed files with 51 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# DO NOT EDIT! GENERATED AUTOMATICALLY!
# Copyright (C) 2002-2020 Free Software Foundation, Inc.
# Copyright (C) 2002-2020, 2022 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -246,6 +246,8 @@ AC_SUBST([LTALLOCA])
AC_LIBOBJ([lstat])
gl_PREREQ_LSTAT
fi
gl_ENVIRON
gl_UNISTD_MODULE_INDICATOR([environ])
gl_SYS_STAT_MODULE_INDICATOR([lstat])
gl_FUNC_MALLOC_GNU
if test $REPLACE_MALLOC = 1; then