summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent1d43ae0b0a01fdd90486c616d5dddd318a8fb9f0 (diff)
Replace setenv() with putenv() on old systems (+937)
Add system check for setenv() function in configure and CMake.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6b64110b0..e519f843d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,6 +620,9 @@ AC_CHECK_FUNCS([strcasecmp strlcat strlcpy])
AC_CHECK_HEADERS([locale.h])
AC_CHECK_FUNCS([localeconv])
+dnl HP-UX 11.11 does not provide setenv()
+AC_CHECK_FUNCS([setenv])
+
dnl FLTK library uses math library functions...
AC_SEARCH_LIBS([pow], [m])