diff options
author | Michael Adam <obnox@samba.org> | 2009-09-23 00:48:44 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-23 00:53:47 +0200 |
commit | bb77a2a8ae031d8113e779ab0ac00bdf68f24d51 (patch) | |
tree | 117ee781467fd477ddd09fef22fffd81c76fdd7a | |
parent | 8b795534bd849bc0d1d442bf1b291059d5266d5c (diff) | |
download | samba-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
-rw-r--r-- | source3/m4/check_path.m4 | 16 |
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) |