diff options
author | Tom Yu <tlyu@mit.edu> | 1996-06-03 02:10:00 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1996-06-03 02:10:00 +0000 |
commit | 23608a038158b81c8a68068eb38fa19acdc285ef (patch) | |
tree | 786b2ab565b8dab2c0d85f26fc89993671bc2ed9 /src/appl | |
parent | 4267f3e040a4c484c08540a83cd505a9c485e096 (diff) | |
download | krb5-23608a038158b81c8a68068eb38fa19acdc285ef.tar.gz krb5-23608a038158b81c8a68068eb38fa19acdc285ef.tar.xz krb5-23608a038158b81c8a68068eb38fa19acdc285ef.zip |
* configure.in, Makefile.in: only link getdtablesize.o if needed
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8205 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r-- | src/appl/gssftp/ftpd/ChangeLog | 4 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/Makefile.in | 4 | ||||
-rw-r--r-- | src/appl/gssftp/ftpd/configure.in | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/src/appl/gssftp/ftpd/ChangeLog b/src/appl/gssftp/ftpd/ChangeLog index 63ec4a4db..bea3f2a3f 100644 --- a/src/appl/gssftp/ftpd/ChangeLog +++ b/src/appl/gssftp/ftpd/ChangeLog @@ -1,3 +1,7 @@ +Sun Jun 2 22:08:17 1996 Tom Yu <tlyu@mit.edu> + + * configure.in, Makefile.in: only link getdtablesize.o if needed + Thu Mar 28 21:07:20 1996 Ken Raeburn <raeburn@cygnus.com> * ftpcmd.y: Define unix for HP-UX. diff --git a/src/appl/gssftp/ftpd/Makefile.in b/src/appl/gssftp/ftpd/Makefile.in index 16dfeb157..68ceb468a 100644 --- a/src/appl/gssftp/ftpd/Makefile.in +++ b/src/appl/gssftp/ftpd/Makefile.in @@ -11,10 +11,10 @@ SRCS = ftpd.c ftpcmd.y logwtmp.c popen.c vers.c \ $(srcdir)../ftp/glob.c \ $(srcdir)../ftp/radix.c \ $(srcdir)../ftp/secure.c \ - $(srcdir)../../bsd/getdtablesize.c $(SETENVSRC) + $(GETDTABLESIZESRC) $(SETENVSRC) OBJS = ftpd.o ftpcmd.o glob.o popen.o logwtmp.o vers.o radix.o \ - secure.o getdtablesize.o $(SETENVOBJ) + secure.o $(GETDTABLESIZEOBJ) $(SETENVOBJ) KLIB = -lgssapi_krb5 -lkrb5 -lcrypto $(COMERRLIB) DEPKLIB = $(TOPLIBD)/gssapi/libgssapi_krb5.a $(TOPLIBD)/libkrb5.a \ diff --git a/src/appl/gssftp/ftpd/configure.in b/src/appl/gssftp/ftpd/configure.in index a91cce0c3..0bb213de8 100644 --- a/src/appl/gssftp/ftpd/configure.in +++ b/src/appl/gssftp/ftpd/configure.in @@ -11,6 +11,11 @@ DECLARE_SYS_ERRLIST AC_FUNC_VFORK AC_HEADER_STDARG AC_CHECK_HEADERS(unistd.h stdlib.h string.h) +AC_CHECK_FUNC(getdtablesize,, +[GETDTABLESIZESRC='$(srcdir)/../bsd/getdtablesize.c' +GETDTABLESIZEOBJ=getdtablesize.o +AC_SUBST([GETDTABLESIZESRC]) +AC_SUBST([GETDTABLESIZEOBJ])]) AC_REPLACE_FUNCS(getdtablesize) AC_HAVE_FUNCS(getcwd getusershell seteuid setreuid setresuid) AC_CHECK_LIB(crypt,crypt) dnl |