diff -ruN mtools-4.0.44-orig/Makefile.in mtools-4.0.44/Makefile.in --- mtools-4.0.44-orig/Makefile.in 2022-10-09 04:55:19.000000000 -0500 +++ mtools-4.0.44/Makefile.in 2024-06-02 15:28:04.000000000 -0500 @@ -145,7 +145,7 @@ # $(CXX) $(CXXFLAGS) -c $< mtools: $(OBJS_MTOOLS) - $(LINK) $(OBJS_MTOOLS) -o $@ $(ALLLIBS) + $(LINK) $(OBJS_MTOOLS) -o $@ $(ALLLIBS) -liconv mkmanifest: $(OBJS_MKMANIFEST) $(LINK) $(OBJS_MKMANIFEST) -o $@ $(ALLLIBS) diff -ruN mtools-4.0.44-orig/config.c mtools-4.0.44/config.c --- mtools-4.0.44-orig/config.c 2023-06-04 15:24:26.000000000 -0500 +++ mtools-4.0.44/config.c 2024-06-02 14:24:05.000000000 -0500 @@ -868,13 +868,7 @@ memcpy(devices, const_devices, nr_const_devices*sizeof(struct device)); - (void) ((parse(CONF_FILE,1) | - parse(LOCAL_CONF_FILE,1) | - parse(SYS_CONF_FILE,1)) || - (parse(OLD_CONF_FILE,1) | - parse(OLD_LOCAL_CONF_FILE,1))); - /* the old-name configuration files only get executed if none of the - * new-name config files were used */ + parse(SYS_CONF_FILE,1); homedir = get_homedir(); if ( homedir ){ diff -ruN mtools-4.0.44-orig/mtools.5 mtools-4.0.44/mtools.5 --- mtools-4.0.44-orig/mtools.5 2024-06-02 02:50:16.000000000 -0500 +++ mtools-4.0.44/mtools.5 2024-06-02 14:24:52.000000000 -0500 @@ -33,9 +33,6 @@ \&\fR\&\f(CW\(if/etc/mtools.conf\(is\fR is the system-wide configuration file, and \fR\&\f(CW\(if~/.mtoolsrc\(is\fR is the user's private configuration file. .PP -On some systems, the system-wide configuration file is called -\&\fR\&\f(CW\(if/etc/default/mtools.conf\(is\fR instead. -.PP .SS \ \ General\ configuration\ file\ syntax .PP The configuration files is made up of sections. Each section starts diff -ruN mtools-4.0.44-orig/mtools.info mtools-4.0.44/mtools.info --- mtools-4.0.44-orig/mtools.info 2024-06-02 02:51:24.000000000 -0500 +++ mtools-4.0.44/mtools.info 2024-06-02 14:25:11.000000000 -0500 @@ -566,9 +566,6 @@ '/etc/mtools.conf' is the system-wide configuration file, and '~/.mtoolsrc' is the user's private configuration file. - On some systems, the system-wide configuration file is called -'/etc/default/mtools.conf' instead. -  File: mtools.info, Node: general syntax, Next: default values, Prev: configuration file location, Up: Configuration diff -ruN mtools-4.0.44-orig/mtools.texi mtools-4.0.44/mtools.texi --- mtools-4.0.44-orig/mtools.texi 2024-06-01 16:42:51.000000000 -0500 +++ mtools-4.0.44/mtools.texi 2024-06-02 14:25:25.000000000 -0500 @@ -641,9 +641,6 @@ @file{@value{SYSCONFDIR}mtools.conf} is the system-wide configuration file, and @file{~/.mtoolsrc} is the user's private configuration file. -On some systems, the system-wide configuration file is called -@file{/etc/default/mtools.conf} instead. - @node general syntax, default values, configuration file location, Configuration @subsection General configuration file syntax diff -ruN mtools-4.0.44-orig/mtoolsPaths.h mtools-4.0.44/mtoolsPaths.h --- mtools-4.0.44-orig/mtoolsPaths.h 2022-09-24 03:43:03.000000000 -0500 +++ mtools-4.0.44/mtoolsPaths.h 2024-06-02 14:26:19.000000000 -0500 @@ -22,22 +22,8 @@ */ -#define CONF_FILE "/etc/mtools.conf" - - -#define OLD_CONF_FILE "/etc/mtools" - - - -#define LOCAL_CONF_FILE "/etc/default/mtools.conf" -/* Use this if you like to keep the configuration file in a non-standard - * place such as /etc/default, /opt/etc, /usr/etc, /usr/local/etc ... - */ - #define SYS_CONF_FILE SYSCONFDIR "/mtools.conf" -#define OLD_LOCAL_CONF_FILE "/etc/default/mtools" - #define CFG_FILE1 "/.mtoolsrc"