summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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)