diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-12-15 19:23:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:25 -0500 |
commit | 76ec239ccd53f0e37569d85af4363123eea7db1a (patch) | |
tree | dc7da9e196794012b130a4a30cff4958fc7b62b9 /source4/build/m4 | |
parent | a5b6b170a3d8e9cb7ffbd0f47ed2ea46e646efea (diff) | |
download | samba-76ec239ccd53f0e37569d85af4363123eea7db1a.tar.gz samba-76ec239ccd53f0e37569d85af4363123eea7db1a.tar.bz2 samba-76ec239ccd53f0e37569d85af4363123eea7db1a.zip |
r12266: add --with-libdir option to overwrite the result that is set by --with-fhs=yes/no
metze
(This used to be commit 8e3b0a99979021540a7fc741c441c6cc647755fe)
Diffstat (limited to 'source4/build/m4')
-rw-r--r-- | source4/build/m4/check_path.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/build/m4/check_path.m4 b/source4/build/m4/check_path.m4 index 3e46c16cbf..ae9aa07594 100644 --- a/source4/build/m4/check_path.m4 +++ b/source4/build/m4/check_path.m4 @@ -121,6 +121,19 @@ AC_ARG_WITH(swatdir, ;; esac]) +################################################# +# set lib directory location +AC_ARG_WITH(libdir, +[ --with-libdir=DIR Where to put modules files (\$libdir)], +[ case "$withval" in + yes|no) + AC_MSG_WARN([--with-libdir called without argument - will use default]) + ;; + * ) + libdir="$withval" + ;; + esac]) + AC_SUBST(configdir) AC_SUBST(lockdir) AC_SUBST(piddir) |