]> git.eshelyaron.com Git - emacs.git/commitdiff
(${archlibdir}): Don't run blessmail; instead
authorRichard M. Stallman <rms@gnu.org>
Sun, 1 May 1994 06:43:34 +0000 (06:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 1 May 1994 06:43:34 +0000 (06:43 +0000)
print advice to run it, if it has anything significant to do.
And only if MOVEMAIL_NEEDS_BLESSING.
(blessmail): Use emacs, not temacs.
(configuration): Renamed from configname.

lib-src/Makefile.in

index 94cb500bfff2ddb773bcd564044cb8f6e8342659..bd1b0be4d443de63e11a34a0627b9a59d34532a7 100644 (file)
@@ -65,7 +65,7 @@ ALLOCA=@ALLOCA@
 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
 YACC=@YACC@
 version=@version@
-configname=@configuration@
+configuration=@configuration@
 
 /* ==================== Where To Install Things ==================== */
 
@@ -159,8 +159,8 @@ CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -Demacs -DHAVE_CONFIG_H \
 all: ${UTILITIES} ${INSTALLABLES}
 
 #ifdef MOVEMAIL_NEEDS_BLESSING
-blessmail: ../src/temacs
-       ../src/temacs -batch -l blessmail.el
+blessmail: ../src/emacs
+       ../src/emacs -batch -l blessmail.el
        chmod +x blessmail
 #endif
 
@@ -179,7 +179,14 @@ ${archlibdir}: all BLESSMAIL
          done ; \
        fi
 #ifdef MOVEMAIL_NEEDS_BLESSING
-       ./blessmail ${archlibdir}/movemail
+/* Don't charge ahead and do it!  Let the installer decide.
+         ./blessmail ${archlibdir}/movemail  */
+       @if [ "`wc -l blessmail`" != "      2 blessmail" ] ; then \
+         dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
+         echo Assuming $$dir is really the mail spool directory, you should; \
+         echo run  ./blessmail ${archlibdir}/movemail; \
+         echo as root, to make  movemail  setuid or setgid.; \
+       fi
 #endif
 
 /* We don't need to install `wakeup' explicitly, because it will be