-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Anyone know how to write an m4 macro to accepts an arbitrary list of parameters?
Here is an example for what I want to implement:
ADD_OBJECTS_TO_LAYOUT(`LAYOUT_1', (`OBJ_ID_SQUARE', `COLOR_ID_RED'))
ADD_OBJECTS_TO_LAYOUT(`LAYOUT_2', (`OBJ_ID_SQUARE', `COLOR_ID_RED'), (`OBJ_ID_CIRCLE', `COLOR_ID_GREEN'))
ADD_OBJECTS_TO_LAYOUT(`LAYOUT_3'…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
does anyone know how to initialise the 16-bit timers in M4-64/32?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm new to m4 and am trying to set up a macro which allows the user to specify the location of a library at configure-time ./configure --with-mylib=/path/to/lib.so.
In the m4 macro using AC_ARG_WITH, I'll check that the given file actually exists, and then store the path to said lib. MYLIB_PATH=esyscmd([dirname…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hi
I'm currently trying to configure sendmail fo the first time and setup a mail server on a small embedded computer ( running a custom linux distribution ).
I'm having an issue with the m4 macros:
I'm trying to convert this:
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi
I'm currently trying to configure sendmail fo the first time and setup a mail server on a small embedded computer ( running a custom linux distribution ).
I'm having an issue with the m4 macros:
I'm trying to convert this:
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro…
>>> More