summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/s-templ.h8
-rwxr-xr-xconfigure5
2 files changed, 13 insertions, 0 deletions
diff --git a/config/s-templ.h b/config/s-templ.h
index efe73cafd..5e75cc913 100644
--- a/config/s-templ.h
+++ b/config/s-templ.h
@@ -178,3 +178,11 @@
/* Define HAS_MKTIME if you have mktime(). */
+#define HAS_SETSID
+
+/* Define HAS_SETSID if you have setsid(). */
+
+#define HAS_PUTENV
+
+/* Define HAS_PUTENV if you have putenv(). */
+
diff --git a/configure b/configure
index 38b6cf7f1..a0a312b81 100755
--- a/configure
+++ b/configure
@@ -572,6 +572,11 @@ if sh ./hasgot setsid; then
echo "#define HAS_SETSID" >> s.h
fi
+if sh ./hasgot putenv; then
+ echo "putenv() found."
+ echo "#define HAS_PUTENV" >> s.h
+fi
+
# Determine if the debugger is supported
if test "$has_sockets" = "yes"; then