summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-23 00:48:44 +0200
committerMichael Adam <obnox@samba.org>2009-09-23 00:53:47 +0200
commitbb77a2a8ae031d8113e779ab0ac00bdf68f24d51 (patch)
tree117ee781467fd477ddd09fef22fffd81c76fdd7a /source3
parent8b795534bd849bc0d1d442bf1b291059d5266d5c (diff)
downloadsamba-bb77a2a8ae031d8113e779ab0ac00bdf68f24d51.tar.gz
samba-bb77a2a8ae031d8113e779ab0ac00bdf68f24d51.tar.bz2
samba-bb77a2a8ae031d8113e779ab0ac00bdf68f24d51.zip
build: add switch "--with-codepagedir=DIR" to configure.
This is to address bug #6444. Michael
Diffstat (limited to 'source3')
-rw-r--r--source3/m4/check_path.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/m4/check_path.m4 b/source3/m4/check_path.m4
index 0a61733870..5b92049300 100644
--- a/source3/m4/check_path.m4
+++ b/source3/m4/check_path.m4
@@ -278,6 +278,22 @@ AC_ARG_WITH(localedir,
;;
esac])
+#################################################
+# set codepage directory location
+AC_ARG_WITH(codepagedir,
+[AS_HELP_STRING([--with-codepagedir=DIR], [Where to put codepages ($ac_default_prefix/lib/samba)])],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody calls it without argument
+ #
+ AC_MSG_WARN([--with-codepagedir called without argument - will use default])
+ ;;
+ * )
+ codepagedir="$withval"
+ ;;
+ esac])
+
AC_SUBST(configdir)
AC_SUBST(lockdir)