| > There is something I like better in
| 
| >         ./configure --prefix=/usr bindir=/bin
| 
| > over
| 
| >         ./configure --prefix=/usr --bindir=/bin
| 
| What's wrong with:
| 
|           ./configure prefix=/usr bindir=/bin
| 
| ? :-)

I'm very much in favor of such things, mainly because it simplifies
considerably configure and its use, which is a good thing.

Nevertheless, since Richard will certainly not accept such changes, I
proposed something in between, i.e., what's really specific, what
really changes a lot of things shall remain as an option.  And prefix
is definitely something with a ``big'' meaning.  In addition, I don't
think we'll discover later that we needed another foo_prefix option,
so it is less important to have an open scheme for --prefix and
--exec-prefix.  In addition, it is good that --perfix is rejected,
*that*'s one of the most important options.

In fact, something I've always hated in the original --help of
configure was the fact that --prefix and --*dir seemed to have the
same status:

| Directory:
|   --prefix=PREFIX         install architecture-independent files in PREFIX
|                           [/usr/local]
|   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
|                           [same as prefix]
|   --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 ..]

This is why I changed it into:

| Installation directories:
|   --prefix=PREFIX         install architecture-independent files in PREFIX
|                           [/usr/local]
|   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
|                           [PREFIX]
| 
| By default, `make install' will install all the files in
| `/usr/local/bin', `/usr/local/lib' etc.  You can specify
| an installation prefix other than `/usr/local' using `--prefix',
| for instance `--prefix=$HOME'.
| 
| For better control, use the options below.
| 
| Fine tuning of the installation directories:
|   --bindir=DIR           user executables [EPREFIX/bin]
|   --sbindir=DIR          system admin executables [EPREFIX/sbin]
|   --libexecdir=DIR       program executables [EPREFIX/libexec]
|   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
|   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
|   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
|   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
|   --libdir=DIR           object code libraries [EPREFIX/lib]
|   --includedir=DIR       C header files [PREFIX/include]
|   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
|   --infodir=DIR          info documentation [PREFIX/info]
|   --mandir=DIR           man documentation [PREFIX/man]

This is also why I know suggest this --help:

| Installation directories:
|   --prefix=PREFIX         install architecture-independent files in PREFIX
|                           [/usr/local]
|   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
|                           [PREFIX]
| 
| By default, `make install' will install all the files in
| `/usr/local/bin', `/usr/local/lib' etc.  You can specify
| an installation prefix other than `/usr/local' using `--prefix',
| for instance `--prefix=$HOME'.
| 
| For better control, assign the following variables.
| 
| Directory variables:
|  bindir           user executables [EPREFIX/bin]
|  sbindir          system admin executables [EPREFIX/sbin]
|  libexecdir       program executables [EPREFIX/libexec]
|  datadir          read-only architecture-independent data [PREFIX/share]
|  sysconfdir       read-only single-machine data [PREFIX/etc]
|  sharedstatedir   modifiable architecture-independent data [PREFIX/com]
|  localstatedir    modifiable single-machine data [PREFIX/var]
|  libdir           object code libraries [EPREFIX/lib]
|  includedir       C header files [PREFIX/include]
|  oldincludedir    C header files for non-gcc [/usr/include]
|  infodir          info documentation [PREFIX/info]
|  mandir           man documentation [PREFIX/man]

        Akim

Reply via email to