Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!frmug!renux.frmug.fr.net!keltia.frmug.fr.net!roberto From: roberto@keltia.frmug.fr.net (Ollivier Robert) Newsgroups: comp.os.386bsd.bugs Subject: [FreeBSD 1.0E] m4 seems a little broken Date: 27 Oct 1993 17:15:20 GMT Organization: Private FreeBSD Usenet Site Lines: 49 Distribution: world Message-ID: <2amabm$37d@keltia.frmug.fr.net> NNTP-Posting-Host: keltia.frmug.fr.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Summary: UCB m4 chokes on sendmail 8.x m4 files Keywords: Sendmail M4 X-Newsreader: TIN [version 1.2 PL2] [486DX-33, 16 MB, 640 MB SCSI + 1542B, FreeBSD 1.0E, sendmail 8.6.2] Hello everyone, It seems that a problem exists in current FreeBSD's m4 (from UCB 4.4BSD I guess). It chokes on new sendmail's .m4 files (m4/proto.m4). There is a two-level definition of three symbols _LOCAL_, _SMTP_ and _RELAY_: extract of cf/m4/proto.m4 ------------------------------------------------------------ ifdef(`confSMTP_MAILER',, `define(`confSMTP_MAILER', `smtp')')dnl ifdef(`confLOCAL_MAILER',, `define(`confLOCAL_MAILER', `local')')dnl ifdef(`confRELAY_MAILER',, `define(`confRELAY_MAILER', `ifdef(`_MAILER_smtp_', `relay', `ifdef(`_MAILER_uucp', `suucp', `unknown')')')')dnl define(`_SMTP_', `confSMTP_MAILER')dnl for readability only define(`_LOCAL_', `confLOCAL_MAILER')dnl for readability only define(`_RELAY_', `confRELAY_MAILER')dnl for readability only ------------------------------------------------------------ With current m4, the three symbols are never replaced by their real value and the .cf file is broken (sendmail complaints of inexistent mailer _LOCAL_ and so on). Allman's answer to my request was : ------------------------------------------------------------ Your problem with _LOCAL_ et al appears to be a bug in your version of M4. If it's what I suspect, M4 is refusing to accept the changecom request in cf/m4/cf.m4 -- there's really nothing I can do about that. I suggest getting a newer version of M4. ------------------------------------------------------------ and replacing m4 with GNU m4 1.0.3 wiped away the problem. -rw-r--r-- 1 ftp 239537 Dec 20 1992 /sources/gnu/m4-1.0.3.tar.gz I'm not a m4 guru so I can't dig into m4's source to finds where is the problem but that simple fix should be enough to get sendmail working. Anyway, FreeBSD is a great piece of software, especially the VM system which has been fixed in several ways and runs more smoothly than 386BSD has ever runned on my computer, thanks ! -- Ollivier ROBERT Ollivier.Robert@keltia.frmug.fr.net A FreeBSD & PERL addict... PGP 2.3a Public Key on request