summaryrefslogtreecommitdiff
path: root/configh.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-18 22:29:50 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-18 22:29:50 +0100
commitd3a3ab40b7cfe3aa5adbcbc7895ec48d39dc89c1 (patch)
treece7a1d5a13254ae4d2380f4d6f4149a3cd1bc453 /configh.in
parent1d43ae0b0a01fdd90486c616d5dddd318a8fb9f0 (diff)
Replace setenv() with putenv() on old systems (+937)
Add system check for setenv() function in configure and CMake.
Diffstat (limited to 'configh.in')
-rw-r--r--configh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/configh.in b/configh.in
index 54ade6c6a..54ddf96ac 100644
--- a/configh.in
+++ b/configh.in
@@ -240,6 +240,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?
*/