Quoth winfried szukalski in private email:
> Referring to your 'configure' line:
> >configure --enable-pop --enable-buffy-size
> >--with-sharedir="/cs/share/mutt" --with-included-gettext
> >--prefix="./subdir"
> 
> You can see: you did not set '--with-docdir=MY_DOCDIR'. So 'configure'
> used by default '--with-docdir=/usr/local/doc'.

Hmm.  So what exactly is the difference between the --with-*dir options
and the --*dir options to configure?  From configure --help:

>Directory and file names:
>  [...]
>  --bindir=DIR            user executables in DIR [EPREFIX/bin]
>  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
>  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
>  --datadir=DIR           read-only architecture-independent data in DIR
>                          [PREFIX/share]
>  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
>  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
>                          [PREFIX/com]
>  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
>  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
>  --includedir=DIR        C header files in DIR [PREFIX/include]
>  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
>  --infodir=DIR           info documentation in DIR [PREFIX/info]
>  --mandir=DIR            man documentation in DIR [PREFIX/man]
>  --srcdir=DIR            find the sources in DIR [configure dir or ..]
>[...]
>--enable and --with options recognized:
>  [...]
>  --with-libdir=PATH       specify where to put arch dependent files
>  --with-sharedir=PATH       specify where to put arch independent files
>  --with-docdir=PATH       specify where to put the documentation

When would one use, e.g. --with-sharedir as opposed to --datadir and
--sharedstatedir ?  Why are there two different types of configure
options for this sort of thing?

-- 
-=-Don [EMAIL PROTECTED]=-=-<http://www.cs.brown.edu/~dpb/>-=-
When you don't know what you are doing, do it neatly.

Reply via email to