diff options
author | Timur I. Bakeyev <timur@com.bat.ru> | 2009-06-07 12:34:54 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-08 13:20:51 +0200 |
commit | 11332e106c8654f798177e089b332263bfb81e18 (patch) | |
tree | edcb40f2f45b3070f200ed621564f920cd1b8899 /source4/build | |
parent | c41a12f8ba75f0d3fce336ee1f779391782413db (diff) | |
download | samba-11332e106c8654f798177e089b332263bfb81e18.tar.gz samba-11332e106c8654f798177e089b332263bfb81e18.tar.bz2 samba-11332e106c8654f798177e089b332263bfb81e18.zip |
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>
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/m4/check_path.m4 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4 index 1751a89e5f..08a304b0d0 100644 --- a/source4/build/m4/check_path.m4 +++ b/source4/build/m4/check_path.m4 @@ -49,6 +49,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, [AS_HELP_STRING([--with-privatedir=DIR],[Where to put sam.ldb and other private files containing key material ($ac_default_prefix/private)])], |