From 13453366a30b6ca096341c9ecad538a3f92ca815 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Thu, 10 Jul 2003 14:42:50 +0000
Subject: [PATCH] Don't bail out if unsetenv is not found.

---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index feb6b7b..9ac7613 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,12 +64,13 @@ AC_PREFIX_DEFAULT([`pwd`])
 AC_CHECK_LIB([m],[main],,
              [AC_MSG_ERROR([no math library, exiting...!])] )
 
-AC_CHECK_FUNCS([alarm pow sqrt strdup strchr strstr unsetenv],,
+AC_CHECK_FUNCS([alarm pow sqrt strdup strchr strstr],,
 	       [AC_MSG_ERROR([Sorry, these are needed..])])
 
 AC_FUNC_MALLOC
 AC_FUNC_VPRINTF
 
+AC_CHECK_FUNCS([unsetenv])
 AC_CHECK_FUNCS([getopt_long],[],
 	[AC_LIBOBJ([getopt])
 	AC_LIBOBJ([getopt1])
-- 
GitLab