From: Theodore Tso Date: Thu, 18 Aug 1994 18:56:21 +0000 (+0000) Subject: Fixes for Solaris: X-Git-Tag: krb5-1.0-beta4.3~150 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41c4b85309ce1070d9d5b0c1f99bf3227089d169;p=krb5.git Fixes for Solaris: Added NEED_SYS_FCNTL_H Added $(LIBS) to link line in Makefile git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4183 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/movemail/ChangeLog b/src/appl/movemail/ChangeLog index b4eb64071..be04345b5 100644 --- a/src/appl/movemail/ChangeLog +++ b/src/appl/movemail/ChangeLog @@ -1,3 +1,10 @@ +Thu Aug 18 14:54:33 1994 Theodore Y. Ts'o (tytso@dcl) + + * configure.in: + * movemail.c: Add NEED_SYS_FCNTL_H + + * Makefile.in: Add $(LIBS) declaration on link line. + Tue Aug 9 21:11:54 1994 Tom Yu (tlyu@dragons-lair) * Makefile.in: diff --git a/src/appl/movemail/Makefile.in b/src/appl/movemail/Makefile.in index 7577737de..58fb5c544 100644 --- a/src/appl/movemail/Makefile.in +++ b/src/appl/movemail/Makefile.in @@ -11,7 +11,7 @@ KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DB HESIODLIB = movemail: movemail.o - $(CC) $(CFLAGS) -o movemail movemail.o $(KLIB) $(HESIODLIB) + $(CC) $(CFLAGS) -o movemail movemail.o $(KLIB) $(HESIODLIB) $(LIBS) all:: movemail diff --git a/src/appl/movemail/configure.in b/src/appl/movemail/configure.in index a8efe1da8..7d5419244 100644 --- a/src/appl/movemail/configure.in +++ b/src/appl/movemail/configure.in @@ -6,5 +6,6 @@ KRB_INCLUDE AC_HAVE_LIBRARY(socket) AC_HAVE_LIBRARY(nsl) AC_PROG_INSTALL +CHECK_FCNTL WITH_KRB5ROOT AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/appl/movemail/movemail.c b/src/appl/movemail/movemail.c index ee05d1539..3068493da 100644 --- a/src/appl/movemail/movemail.c +++ b/src/appl/movemail/movemail.c @@ -55,6 +55,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include +#ifdef NEED_SYS_FCNTL_H +#include +#endif #define NO_SHORTNAMES /* Tell config not to load remap.h */ /* #include "../src/config.h" */