configure: set 'infodir'

This turns --infodir from an ignored option into a real one
This commit is contained in:
David Bremner 2018-05-21 13:08:50 -07:00
parent db666126cd
commit 7e3575c0ca

9
configure vendored
View file

@ -139,6 +139,7 @@ Fine tuning of some installation directories is available:
--libdir=DIR Install libraries to DIR [PREFIX/lib] --libdir=DIR Install libraries to DIR [PREFIX/lib]
--includedir=DIR Install header files to DIR [PREFIX/include] --includedir=DIR Install header files to DIR [PREFIX/include]
--mandir=DIR Install man pages to DIR [PREFIX/share/man] --mandir=DIR Install man pages to DIR [PREFIX/share/man]
--infodir=DIR Install man pages to DIR [PREFIX/share/man]
--sysconfdir=DIR Read-only single-machine data [PREFIX/etc] --sysconfdir=DIR Read-only single-machine data [PREFIX/etc]
--emacslispdir=DIR Emacs code [PREFIX/share/emacs/site-lisp] --emacslispdir=DIR Emacs code [PREFIX/share/emacs/site-lisp]
--emacsetcdir=DIR Emacs miscellaneous files [PREFIX/share/emacs/site-lisp] --emacsetcdir=DIR Emacs miscellaneous files [PREFIX/share/emacs/site-lisp]
@ -162,7 +163,6 @@ configure-script calling conventions, but don't do anything yet:
--build=<cpu>-<vendor>-<os> Currently ignored --build=<cpu>-<vendor>-<os> Currently ignored
--host=<cpu>-<vendor>-<os> Currently ignored --host=<cpu>-<vendor>-<os> Currently ignored
--infodir=DIR Currently ignored
--datadir=DIR Currently ignored --datadir=DIR Currently ignored
--localstatedir=DIR Currently ignored --localstatedir=DIR Currently ignored
--libexecdir=DIR Currently ignored --libexecdir=DIR Currently ignored
@ -185,6 +185,8 @@ for option; do
INCLUDEDIR="${option#*=}" INCLUDEDIR="${option#*=}"
elif [ "${option%%=*}" = '--mandir' ] ; then elif [ "${option%%=*}" = '--mandir' ] ; then
MANDIR="${option#*=}" MANDIR="${option#*=}"
elif [ "${option%%=*}" = '--infodir' ] ; then
INFODIR="${option#*=}"
elif [ "${option%%=*}" = '--sysconfdir' ] ; then elif [ "${option%%=*}" = '--sysconfdir' ] ; then
SYSCONFDIR="${option#*=}" SYSCONFDIR="${option#*=}"
elif [ "${option%%=*}" = '--emacslispdir' ] ; then elif [ "${option%%=*}" = '--emacslispdir' ] ; then
@ -265,8 +267,6 @@ for option; do
true true
elif [ "${option%%=*}" = '--host' ] ; then elif [ "${option%%=*}" = '--host' ] ; then
true true
elif [ "${option%%=*}" = '--infodir' ] ; then
true
elif [ "${option%%=*}" = '--datadir' ] ; then elif [ "${option%%=*}" = '--datadir' ] ; then
true true
elif [ "${option%%=*}" = '--localstatedir' ] ; then elif [ "${option%%=*}" = '--localstatedir' ] ; then
@ -1068,6 +1068,9 @@ includedir = ${INCLUDEDIR:=\$(prefix)/include}
# The directory to which man pages should be installed # The directory to which man pages should be installed
mandir = ${MANDIR:=\$(prefix)/share/man} mandir = ${MANDIR:=\$(prefix)/share/man}
# The directory to which man pages should be installed
infodir = ${INFODIR:=\$(prefix)/share/info}
# The directory to which read-only (configuration) files should be installed # The directory to which read-only (configuration) files should be installed
sysconfdir = ${SYSCONFDIR:=\$(prefix)/etc} sysconfdir = ${SYSCONFDIR:=\$(prefix)/etc}