./configure --help in 2.2.0 CVS wrong

samba-technical at thewrittenword.com samba-technical at thewrittenword.com
Thu Apr 12 07:22:16 GMT 2001

This is against 2.2.0 CVS:

$ ./configure --help
--enable and --with options recognized:
  --with-fhs            use FHS-compliant paths [default=no]
  --with-privatedir=DIR     Where to put smbpasswd ()
  --with-lockdir=DIR     Where to put lock files ()
  --with-swatdir=DIR     Where to put SWAT files ()
  --with-configdir=DIR     Where to put configuration files ()
  --enable-debug        turn on debugging [default=no]

Looking at configure.in, I see things like:

[  --with-privatedir=DIR     Where to put smbpasswd ($privatedir)],
[ case "$withval" in

[  --with-lockdir=DIR     Where to put lock files ($lockdir)],
[ case "$withval" in

Obviously $privatedir, $lockdir, etc. are not being expanded. And,
by looking at configure and how it handles --help, it's impossible for
the variables to be expanded. So, we need *hard-coded* defaults for
the values in parentheses for --help to generate something more useful
than the above.

albert chin (china at thewrittenword.com)

More information about the samba-technical mailing list