This is our old Q&A Site. Please post any new questions and answers at

The Custom.m4.example file only includes one custom dissector. I thought that this would work:

m4_define([_CUSTOM_AC_OUTPUT_], [plugins/foo/Makefile, plugins/bar/Makefile, plugins/baz/Makefile]

but this causes aclocal to exit with an error and halt the build during ./

aclocal -I ./aclocal-fallback
/usr/bin/ Warning: excess arguments to builtin `define' ignored
/usr/bin/ Warning: excess arguments to builtin `ifdef' ignored
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1

Clearly I have the syntax wrong. What is the correct construct to include multiple custom dissectors in Custom.m4?

asked 04 Feb '15, 05:58

multipleinterfaces's gravatar image

accept rate: 12%

The format is

define(_CUSTOM_AC_OUTPUT_, foo/bar/Makefile foo1/bar1/Makefile )dnl

That is each entry on a separate line and no commas.

permanent link

answered 04 Feb '15, 06:11

Anders's gravatar image

Anders ♦
accept rate: 17%

edited 04 Feb '15, 10:31

Bill%20Meier's gravatar image

Bill Meier ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Feb '15, 05:58

question was seen: 1,706 times

last updated: 04 Feb '15, 10:31

p​o​w​e​r​e​d by O​S​Q​A