mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
fix bug that prevent --mandir from overriding the defaults given in the --with-fhs macro
This commit is contained in:
parent
25d91f8d8c
commit
824218d086
@ -28,7 +28,6 @@ AC_ARG_WITH(fhs,
|
||||
logfilebase="\${VARDIR}"
|
||||
lockdir="\${VARDIR}/locks"
|
||||
piddir="\${VARDIR}/locks"
|
||||
mandir="\${prefix}/man"
|
||||
privatedir="\${prefix}/private"
|
||||
swatdir="\${prefix}/swat")
|
||||
|
||||
@ -80,23 +79,6 @@ AC_ARG_WITH(piddir,
|
||||
;;
|
||||
esac])
|
||||
|
||||
#################################################
|
||||
# set pid directory location
|
||||
AC_ARG_WITH(piddir,
|
||||
[ --with-mandir=DIR Where to put man pages ($ac_default_prefix/man)],
|
||||
[ case "$withval" in
|
||||
yes|no)
|
||||
#
|
||||
# Just in case anybody calls it without argument
|
||||
#
|
||||
AC_MSG_WARN([--with-mandir called without argument - will use default])
|
||||
;;
|
||||
* )
|
||||
piddir="$withval"
|
||||
;;
|
||||
esac])
|
||||
|
||||
|
||||
#################################################
|
||||
# set SWAT directory location
|
||||
AC_ARG_WITH(swatdir,
|
||||
@ -167,7 +149,6 @@ done
|
||||
AC_SUBST(configdir)
|
||||
AC_SUBST(lockdir)
|
||||
AC_SUBST(piddir)
|
||||
AC_SUBST(mandir)
|
||||
AC_SUBST(logfilebase)
|
||||
AC_SUBST(privatedir)
|
||||
AC_SUBST(swatdir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user