From d3a3ab40b7cfe3aa5adbcbc7895ec48d39dc89c1 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 18 Mar 2024 22:29:50 +0100 Subject: Replace setenv() with putenv() on old systems (+937) Add system check for setenv() function in configure and CMake. --- configh.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configh.in') diff --git a/configh.in b/configh.in index 54ade6c6a..54ddf96ac 100644 --- a/configh.in +++ b/configh.in @@ -239,6 +239,14 @@ #define USE_POLL 0 +/* + * HAVE_SETENV: + * + * Whether or not POSIX setenv() is available from stdlib.h. + */ + +#define HAVE_SETENV 0 + /* * Do we have various image libraries? */ -- cgit v1.2.3