* ext.h: Provide prototypes for unsetenv and setenv if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13454
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Test if prototypes needed for setenv and unsetenv.
+
+ * ext.h: Provide prototypes for unsetenv and setenv if needed.
+
2001-06-19 Ezra Peisach <epeisach@mit.edu>
* utility.c (printsub): Ensure variable set before use.
AC_DEFINE(SETPGRP_TWOARG)
fi
dnl
+KRB5_NEED_PROTO([#include <stdlib.h>],unsetenv,1)
+KRB5_NEED_PROTO([#include <stdlib.h>],setenv,1)
KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
extern int needtermstat;
#endif
+#ifdef NEED_UNSETENV_PROTO
+extern void unsetenv(const char *);
+#endif
+#ifdef NEED_SETENV_PROTO
+extern void setenv(const char *, const char *, int);
+#endif