From ec7ce052a7a42bb5eca40e8b002fa3cd0e2f8c01 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 4 Apr 2001 02:31:35 +0000 Subject: [PATCH] * configure.in: Add checks for unsetenv and getenv. Compile setenv.o if any of setenv, unsetenv, or getenv are missing. [pullup from krb5-1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13141 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ChangeLog | 6 ++++++ src/clients/configure.in | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/clients/ChangeLog b/src/clients/ChangeLog index b70201b7e..406cc1f8e 100644 --- a/src/clients/ChangeLog +++ b/src/clients/ChangeLog @@ -1,3 +1,9 @@ +2001-04-03 Tom Yu + + * configure.in: Add checks for unsetenv and getenv. Compile + setenv.o if any of setenv, unsetenv, or getenv are + missing. [pullup from krb5-1-2-2-branch] + 2000-03-24 Ken Raeburn * configure.in: Check for alpha*-dec-osf* instead of diff --git a/src/clients/configure.in b/src/clients/configure.in index a2de91490..5617168a3 100644 --- a/src/clients/configure.in +++ b/src/clients/configure.in @@ -3,8 +3,9 @@ CONFIG_RULES AC_PROG_INSTALL KRB5_BUILD_PROGRAM AC_HEADER_STDARG -AC_CHECK_FUNCS(getusershell lstat setenv inet_ntop getipnodebyaddr) -if test $ac_cv_func_setenv = no ; then +AC_CHECK_FUNCS(getusershell lstat setenv unsetenv getenv inet_ntop getipnodebyaddr) +if test $ac_cv_func_setenv = no || test $ac_cv_func_unsetenv = no \ + || test $ac_cv_func_getenv = no; then SETENVOBJ=setenv.o else SETENVOBJ= -- 2.26.2