diff options
author | Sam Hartman <hartmans@mit.edu> | 1996-01-19 00:01:30 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@mit.edu> | 1996-01-19 00:01:30 +0000 |
commit | 671787e2b4910be41223d0f7961acea87ad498ce (patch) | |
tree | 40edcb367acaed5ca7c2ffb5bf1ddeadda83a01d | |
parent | f8aa3d32a9427efc79dafa129a44f0d4064686ef (diff) | |
download | krb5-671787e2b4910be41223d0f7961acea87ad498ce.tar.gz krb5-671787e2b4910be41223d0f7961acea87ad498ce.tar.xz krb5-671787e2b4910be41223d0f7961acea87ad498ce.zip |
Deal with sys_errlist
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7337 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 8 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/configure.in | 2 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/ftpd.c | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 971c87146e..7daf4888c6 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,11 @@ +Thu Jan 18 18:39:06 1996 Sam Hartman <hartmans@zygorthian-space-raiders.MIT.EDU> + + * configure.in: Check for crypt in -lcrypt + + * ftpd.c: Conditionalize sys_errlist + + * configure.in: Check to declare sys_errlist. + Thu Jan 18 14:55:42 1996 Sam Hartman <hartmans@tertius.mit.edu> * ftpd.c : Only return an unable to acquire credentials error if all possible services fail. diff --git a/src/appl/gssftp/ftpd/configure.in b/src/appl/gssftp/ftpd/configure.in index 9b4fd1f6ba..67e001f701 100644 --- a/src/appl/gssftp/ftpd/configure.in +++ b/src/appl/gssftp/ftpd/configure.in @@ -7,10 +7,12 @@ KRB5_SIGTYPE CHECK_UTMP CHECK_SIGPROCMASK CHECK_WAIT_TYPE +DECLARE_SYS_ERRLIST AC_FUNC_VFORK AC_CHECK_HEADERS(unistd.h stdlib.h string.h) AC_REPLACE_FUNCS(getdtablesize) AC_HAVE_FUNCS(getcwd getusershell seteuid setreuid setresuid) +AC_CHECK_LIB(crypt,crypt) dnl dnl dnl copied from appl/bsd/configure.in AC_MSG_CHECKING([setenv]) diff --git a/src/appl/gssftp/ftpd/ftpd.c b/src/appl/gssftp/ftpd/ftpd.c index a5d014a4ba..375fa19ea0 100644 --- a/src/appl/gssftp/ftpd/ftpd.c +++ b/src/appl/gssftp/ftpd/ftpd.c @@ -92,7 +92,9 @@ static char sccsid[] = "@(#)ftpd.c 5.40 (Berkeley) 7/2/91"; #endif #define strerror(error) (sys_errlist[error]) +#ifdef NEED_SYS_ERRLIST extern char *sys_errlist[]; +#endif extern char *mktemp (); |