Wireshark-dev: Re: [Wireshark-dev] configure.in:1562 missing plugins/Custom.m4

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 14 Nov 2008 18:17:44 -0800

On Nov 14, 2008, at 5:14 PM, Michael A. McCartney wrote:

Michael A. McCartney wrote:

Building on RHL4, upgraded to latest source
and now get the following...

$ ./autogen.sh
Checking for python.
aclocal -I ./aclocal-fallback
configure.in:1562: file `plugins/Custom.m4' does not exist

@@ -1559,7 +1559,7 @@
dnl Save the cacheable configure results to config.cache before recursing
AC_CACHE_SAVE

-sinclude(plugins/Custom.m4) dnl
+####sinclude(plugins/Custom.m4) dnl

To quote

	http://www.gnu.org/software/m4/manual/m4.html

section 9.1:

If file does not exist, is a directory, or cannot otherwise be read, the expansion is void, and include will fail with an error while sinclude is silent. The empty string counts as a file that does not exist.

What part of "is silent" does the version of M4 that comes with RHL4 not understand? What does "m4 --version" print on your RHL4 system?

(It works on my Mac OS X 10.5.x system, with GNU M4 1.4.6, even without plugins/Custom.m4; presumably the intent is to allow somebody to create a Custom.m4 file if they need it for a plugin, and have it be included if it's present, without *requiring* it to be there.)