From 9d65b803e9cd65249ea2317c2f43495b9eed40bc Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 22 Mar 2012 13:57:24 +0100 Subject: [PATCH] Removed remaining absolute mmh program path names from the binaries. The mmh bindir must to be in PATH, but we are able to move the programs now. The etcdir is still compiled into the binaries. --- config/Makefile.in | 2 +- config/config.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/Makefile.in b/config/Makefile.in index eb70b5a..8f21039 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -24,7 +24,7 @@ CC = @CC@ CFLAGS = @CFLAGS@ DEFS = @DEFS@ INCLUDES = -I.. -I$(top_srcdir) @CPPFLAGS@ -CONFIGDEFS = -DNMHBINDIR='"$(bindir)"' -DNMHETCDIR='"$(etcdir)"' \ +CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' \ -DSENDMAILPATH='"$(sendmailpath)"' \ -DMAILSPOOL='"$(mailspool)"' diff --git a/config/config.c b/config/config.c index 90c1410..0e725ee 100644 --- a/config/config.c +++ b/config/config.c @@ -116,7 +116,7 @@ char *mimetypequeryproc = "file -b --mime"; ** also invoked by the spost program to process an "Fcc", or by ** comp/repl/forw/dist to refile a draft message. */ -char *fileproc = NMHBINDIR"/refile"; +char *fileproc = "refile"; /* ** This is the default program invoked by a "list" or "display" response @@ -149,7 +149,7 @@ char *rmmproc = NULL; /* ** This program is called after comp, et. al., have built a draft */ -char *whatnowproc = NMHBINDIR"/whatnow"; +char *whatnowproc = "whatnow"; /* ** This is the sendmail interface to use for sending mail. -- 1.7.10.4