* Makefile.in:
authorTom Yu <tlyu@mit.edu>
Wed, 10 Aug 1994 02:03:13 +0000 (02:03 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 10 Aug 1994 02:03:13 +0000 (02:03 +0000)
* configure.in: make install fixes

* movemail.c: fix spelling error

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4110 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/movemail/ChangeLog [new file with mode: 0644]
src/appl/movemail/Makefile.in
src/appl/movemail/configure.in
src/appl/movemail/movemail.c

diff --git a/src/appl/movemail/ChangeLog b/src/appl/movemail/ChangeLog
new file mode 100644 (file)
index 0000000..b4eb640
--- /dev/null
@@ -0,0 +1,7 @@
+Tue Aug  9 21:11:54 1994  Tom Yu  (tlyu@dragons-lair)
+
+       * Makefile.in:
+       * configure.in: make install fixes
+
+       * movemail.c: fix spelling error
+
index e06202afbc4a8134f99c6baba6a492402592876d..7577737de4bc656a5849f177d7602387482d8c8b 100644 (file)
@@ -1,4 +1,5 @@
 CFLAGS = $(CCOPTS) -DKERBEROS -DKRB5 -DMAIL_USE_POP $(DEFS) $(LOCALINCLUDE)
+COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
 LDFLAGS = -g
 
 OBJS = movemail.o movemail-mmdf.o
@@ -18,7 +19,7 @@ clean::
        $(RM) movemail
 
 install::
-       cp movemail ${DESTDIR}$(CLIENT_BINDIR)/movemail
+       $(INSTALL_PROGRAM) movemail ${DESTDIR}$(CLIENT_BINDIR)/movemail
 
 movemail.o:    $(srcdir)/movemail.c
 
index 71269d478047daf5647ae4fc1a89082cca5bb3fc..6b79b53c8078873d619c98715d4112028d7ec872 100644 (file)
@@ -3,4 +3,6 @@ WITH_CCOPTS
 AC_SET_BUILDTOP
 CONFIG_RULES
 KRB_INCLUDE
+AC_PROG_INSTALL
+WITH_KRB5ROOT
 AC_OUTPUT(Makefile,[EXTRA_RULES])
index 9435d0a174de0797a2c96c86b11c091fd4bd489e..1fa4a4b2ed3475f30e99f224bc2d3c2a12362bcb 100644 (file)
@@ -547,7 +547,7 @@ char *host;
 #ifdef KERBEROS
     hostname = malloc(strlen(hp->h_name)+1);
     if (!hostname) {
-           sprintf(ErrMsg, "Couldn't allocate space for hostname");
+           sprintf(Errmsg, "Couldn't allocate space for hostname");
            return(NOTOK);
     }
     strcpy(hostname, hp->h_name);