1833042 Members
2385 Online
110049 Solutions
New Discussion

Re: M4

 
SOLVED
Go to solution
Ron Brown_2
Frequent Advisor

M4

Is m4 generally installed by default under HP-UX 11.00? I find the binary in /usr/bin/m4 and m4 directories in a plethora of places, but have been unable to locate any configuration files. What are those and where should they reside? man m4 did not provide much insight.
should work...
7 REPLIES 7
Paula J Frazer-Campbell
Honored Contributor

Re: M4

Hi

M4 does not have config files all its controls are from the command line.

What are you trying to achieve?

Paula



If you can spell SysAdmin then you is one - anon
Francisco J. Soler
Honored Contributor
Solution

Re: M4

Hi,

m4 is a preprocessor for many programs, so there are some programs that use it for configuration purpuoses, to find this configuration files you can search through the file system with:

find / -name "*m4" -print

a good place to find some files is: /usr/newconfig/etc/mail (at least in 10.20)

Regards.
Frank.
Linux?. Yes, of course.
Ron Brown_2
Frequent Advisor

Re: M4

Paula,

This is for sendmail spam processing.
should work...
Paula J Frazer-Campbell
Honored Contributor

Re: M4

Hi
If I remember correctly there is a sendmail m4 config file,

I am not on a server right now so do a search for *m4.

HTH

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: M4

Ron

http://www.sendmail.org/

and search for M4


Paula
If you can spell SysAdmin then you is one - anon
Elena Leontieva
Esteemed Contributor

Re: M4

Since m4 macro package is used to configure sendmail ( sendmail.cf), you may want to check the sendmail Nutshell book.
Donny Jekels
Respected Contributor

Re: M4

GNU `m4' is an implementation of the traditional Unix macro
processor. It is mostly SVR4 compatible, although it has some
extensions (for example, handling more than 9 positional parameters
to macros). `m4' also has built-in functions for including files,
running shell commands, doing arithmetic, etc. Autoconf needs GNU
`m4' for generating `configure' scripts, but not for running them.
GNU `m4' has been originally written by Rene' Seindal, from Denmark.
This release is to be considered as stable.
If GNU `m4' is meant to serve GNU `autoconf', beware that `m4'
should be fully installed *prior to* configuring `autoconf' itself.
In the subdirectory `examples' you will find various m4 files, ranging
from trivial test files to rather advanced macros. If you intend to
use m4 seriously, you might find useful material down there.
See file `BACKLOG' for a summary of pending mail and articles.
See file `COPYING' for copying conditions.
See file `INSTALL' for compilation and installation instructions.
See file `NEWS' for a list of major changes in the current release.
See file `THANKS' for a list of contributors.
By using `./configure --enable-changeword', you get an experimental
feature which allows for changing the syntax of what is a "word" in
`m4'. This might go away, so don't count on it yet.
Send bug reports to `bug-gnu-utils@prep.ai.mit.edu'. A bug report is
an adequate description of the problem: your input, what you expected,
what you got, and why this is wrong. Diffs are welcome, but they only
describe a solution, from which the problem might be uneasy to infer.
"Vision, is the art of seeing the invisible"