diff --git a/configure.ac b/configure.ac
index 6f641e32f0d9e802f6fff72cde7388b7a3521769..af177fdb4dbc1879112c27ecffa9c33c62c678ef 100644 (file)
--- a/configure.ac
+++ b/configure.ac
[NO_SETENV=YesPlease])
AC_SUBST(NO_SETENV)
#
+# Define NO_UNSETENV if you don't have unsetenv in the C library.
+AC_CHECK_FUNC(unsetenv,
+[NO_UNSETENV=],
+[NO_UNSETENV=YesPlease])
+AC_SUBST(NO_UNSETENV)
+#
# Define NO_MKDTEMP if you don't have mkdtemp in the C library.
AC_CHECK_FUNC(mkdtemp,
[NO_MKDTEMP=],