summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-15 19:23:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:25 -0500
commit76ec239ccd53f0e37569d85af4363123eea7db1a (patch)
treedc7da9e196794012b130a4a30cff4958fc7b62b9 /source4/build/m4
parenta5b6b170a3d8e9cb7ffbd0f47ed2ea46e646efea (diff)
downloadsamba-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.m413
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)