1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

Make tunable for modulesdir

This patch is for Samba4. It adds configure tunable for modulesdir -
location, where modules should be installed. In the case, when no
FHS compliance is used and libdir is redefined, modulesdir still
points to $PREFIX/modules. In some installations it may be not desired.
I'd rather set it myself :)

So, here is the patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Timur I. Bakeyev 2009-06-07 12:34:54 +00:00 committed by Stefan Metzmacher
parent c41a12f8ba
commit 11332e106c

View File

@ -48,6 +48,22 @@ else
])
fi
#################################################
# set modules directory location
AC_ARG_WITH(modulesdir,
[AS_HELP_STRING([--with-modulesdir=DIR],[Where to put dynamically loadable modules ($modulesdir)])],
[ case "$withval" in
yes|no)
#
# Just in case anybody calls it without argument
#
AC_MSG_WARN([--with-modulesdir called without argument - will use default])
;;
* )
modulesdir="$withval"
;;
esac])
#################################################
# set private directory location
AC_ARG_WITH(privatedir,