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

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 ./autogen.sh.

aclocal -I ./aclocal-fallback
/usr/bin/m4:configure.ac:2976: Warning: excess arguments to builtin `define' ignored
/usr/bin/m4:configure.ac:2976: 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

multipleinte...
1.3k152340
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 ♦
4.6k952
accept rate: 17%

edited 04 Feb '15, 10:31

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×173
×158
×110
×2
×2

question asked: 04 Feb '15, 05:58

question was seen: 1,628 times

last updated: 04 Feb '15, 10:31

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