summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1998-04-30 13:38:50 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1998-04-30 13:38:50 +0000
commit3db95473a42bf0c3dc2fc15855c6baf687bd50df (patch)
tree10ccb031e228be989009e92a5f822af9e0db94f6
parent11a4c45b78e72c4038a24023eea5c243c0624ca9 (diff)
Ajout de HAVE_PUTENV
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1948 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-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