Ethereal-dev: Re: [Ethereal-dev] Inconsistent usage of @plugindir@/@PLUGIN_DIR@

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 9 Jan 2003 11:58:46 -0800
On Thu, Jan 09, 2003 at 01:47:16PM -0600, Albert Chin wrote:
> There is inconsistent usage of plugindir in 0.9.8. In most instances,
> Makefile.in has:
>   plugindir = @plugindir@
> and in others (plugins/docsis/Makefile.am):
>   plugindir = @PLUGIN_DIR@
> 
> I presume the correct usage is the latter?

Given that "plugins/docsis/Makefile.am" is the only Makefile.am file
that uses "PLUGIN_DIR", there's no particular reason to presume that
it's the correct usage - and given that configure.in

	1) defines PLUGIN_DIR as "$plugindir"

and

	2) does AC_SUBST on both of them

the two of them should probably function the same, so "correct" is
probably merely an issue of aesthetics, not of correct operation.

Most directory-name variables, at both the Makefile and autoconf level,
have all-lower-case names, so, from an aesthetic point of view, I'd
probably consider "plugindir" rather than "PLUGIN_DIR" correct.