Replaced atooi() with strtoul(..., 8). That's part of C89 and thus okay for us.
[mmh] / sbr / Makefile.in
index f916cea..5b40ab3 100644 (file)
@@ -17,7 +17,6 @@ etcdir      = @sysconfdir@
 CC       = @CC@
 CFLAGS   = @CFLAGS@
 DEFS     = @DEFS@
-CONFIGDEFS = -DNMHETCDIR='"$(etcdir)"' -DMAILSPOOL='"$(mailspool)"' -DSENDMAILPATH='"$(sendmailpath)"'
 INCLUDES = -I.. -I. -I$(top_srcdir) @CPPFLAGS@
 
 LEX    = @LEX@
@@ -32,11 +31,7 @@ LINTFLAGS = @LINTFLAGS@
 
 LIBOBJS = @LIBOBJS@
 
-mailspool    = @mailspool@
-sendmailpath = @sendmailpath@
-
 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS)
-COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS)
 
 
 
@@ -50,13 +45,13 @@ COMPILE2 = $(CC) -c $(DEFS) $(CONFIGDEFS) $(INCLUDES) $(CFLAGS)
 SIGNAL_H = @SIGNAL_H@
 
 # source for library functions
-SRCS = addrsbr.c ambigsw.c atooi.c brkstring.c  \
+SRCS = addrsbr.c ambigsw.c brkstring.c  \
        check_charset.c closefds.c concat.c context_del.c  \
        context_find.c context_foil.c context_read.c  \
        context_replace.c context_save.c \
        copyip.c cpydata.c cpydgst.c crawl_folders.c  \
        discard.c done.c dtime.c dtimep.c  \
-       error.c ext_hook.c fdcompare.c folder_addmsg.c folder_delmsgs.c  \
+       error.c ext_hook.c folder_addmsg.c folder_delmsgs.c  \
        folder_free.c folder_pack.c folder_read.c  \
        folder_realloc.c gans.c getans.c getanswer.c  \
        getarguments.c getcpy.c getpass.c  \
@@ -65,8 +60,8 @@ SRCS = addrsbr.c ambigsw.c atooi.c brkstring.c  \
        m_convert.c m_draft.c m_getfld.c m_gmprot.c  \
        m_name.c \
        makedir.c mts.c norm_charmap.c  \
-       path.c peekc.c pidwait.c pidstatus.c  \
-       print_help.c print_sw.c print_version.c push.c  \
+       path.c pidwait.c pidstatus.c  \
+       print_help.c print_sw.c print_version.c \
        putenv.c refile.c mhbasename.c  \
        readconfig.c ruserpass.c seq_add.c seq_bits.c  \
        seq_del.c seq_getnum.c seq_list.c seq_nameok.c  \
@@ -143,7 +138,7 @@ Makefile: Makefile.in ../config.status
        cd .. && ./config.status $(subdir)/$@
 
 distdir = ../`cat ../distname`/$(subdir)
-nmhdist: $(DIST)
+mmhdist: $(DIST)
        @echo "Copying distribution files in $(subdir)"
        @for file in $(DIST); do \
          cp -p $(srcdir)/$$file $(distdir); \