summaryrefslogtreecommitdiff
path: root/source3/m4
diff options
context:
space:
mode:
authorBo Yang <boyang@suse.de>2008-10-30 17:53:52 +0800
committerGünther Deschner <gd@samba.org>2008-11-13 12:43:58 +0100
commita8722a190b65ddd4e6e958c6e8b28b268531d130 (patch)
treee6ab1d49079ab5182de95ceb163f2c5db6b8b4ea /source3/m4
parent5e25f5f4f2b5b8dfd31206ebdc295c00870effe9 (diff)
downloadsamba-a8722a190b65ddd4e6e958c6e8b28b268531d130.tar.gz
samba-a8722a190b65ddd4e6e958c6e8b28b268531d130.tar.bz2
samba-a8722a190b65ddd4e6e958c6e8b28b268531d130.zip
i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/m4')
-rw-r--r--source3/m4/check_path.m419
1 files changed, 19 insertions, 0 deletions
diff --git a/source3/m4/check_path.m4 b/source3/m4/check_path.m4
index 0cff397c93..da6c922233 100644
--- a/source3/m4/check_path.m4
+++ b/source3/m4/check_path.m4
@@ -30,6 +30,7 @@ swatdir="\${prefix}/swat"
codepagedir="\${MODULESDIR}"
statedir="\${LOCKDIR}"
cachedir="\${LOCKDIR}"
+localedir="\${prefix}/share/locale"
AC_ARG_WITH(fhs,
[AS_HELP_STRING([--with-fhs],[Use FHS-compliant paths (default=no)])],
@@ -242,6 +243,23 @@ AC_ARG_WITH(mandir,
;;
esac])
+################################################
+# set locale directory location
+AC_ARG_WITH(localedir,
+[ --with-localedir=DIR Where to put po files ($ac_default_prefix/share/locale)],
+[ case "$withval" in
+ yes|no)
+ #
+ # Just in case anybody does it
+ #
+ AC_MSG_WARN([--with-localedir called without argument - will use default])
+ ;;
+ *)
+ localedir="$withval"
+ ;;
+ esac])
+
+
AC_SUBST(configdir)
AC_SUBST(lockdir)
AC_SUBST(piddir)
@@ -258,6 +276,7 @@ AC_SUBST(cachedir)
AC_SUBST(rootsbindir)
AC_SUBST(pammodulesdir)
AC_SUBST(modulesdir)
+AC_SUBST(localedir)
#################################################
# set prefix for 'make test'