changeset 7245:00ece23611e1

(${archlibdir}): Don't run blessmail; instead 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.
author Richard M. Stallman <rms@gnu.org>
date Sun, 01 May 1994 06:43:34 +0000
parents 5420c14c9169
children 7f6b5e9ba2c7
files lib-src/Makefile.in
diffstat 1 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/Makefile.in	Sun May 01 06:41:08 1994 +0000
+++ b/lib-src/Makefile.in	Sun May 01 06:43:34 1994 +0000
@@ -65,7 +65,7 @@
 LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
 YACC=@YACC@
 version=@version@
-configname=@configuration@
+configuration=@configuration@
 
 /* ==================== Where To Install Things ==================== */
 
@@ -159,8 +159,8 @@
 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 @@
 	  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