From 7eb8133189bb621f04cfcba788a3867169120e14 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 23 Sep 2009 00:48:44 +0200 Subject: [PATCH] build: add switch "--with-codepagedir=DIR" to configure. This is to address bug #6444. Michael --- 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 0a61733..5b92049 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) -- 1.6.0.4