From: markus schnalke Date: Thu, 22 Mar 2012 12:57:24 +0000 (+0100) Subject: Removed remaining absolute mmh program path names from the binaries. X-Git-Tag: mmh-thesis-end~244 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=9d65b803e9cd65249ea2317c2f43495b9eed40bc;ds=sidebyside 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. --- 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.