diff options
author | Bo Yang <boyang@suse.de> | 2008-10-30 13:02:41 +0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-11-18 10:06:54 +0100 |
commit | fa9d2d249965eb163bd3453ed645a6e14ac84686 (patch) | |
tree | e0caa1e4b66229feb50ca42409d0d60c4e2f1e07 /source/m4 | |
parent | 3a5c6370a6dcfa162f2a49db6f5e63bc725207b2 (diff) | |
download | samba-fa9d2d249965eb163bd3453ed645a6e14ac84686.tar.gz samba-fa9d2d249965eb163bd3453ed645a6e14ac84686.tar.xz samba-fa9d2d249965eb163bd3453ed645a6e14ac84686.zip |
i18n/l10n pam_winbind
(cherry picked from commit 1ec66e9db4b8b8c928d48aa3aa5c1cf618c722c1)
Diffstat (limited to 'source/m4')
-rw-r--r-- | source/m4/check_path.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/m4/check_path.m4 b/source/m4/check_path.m4 index 7aa8c213e07..59771b011b9 100644 --- a/source/m4/check_path.m4 +++ b/source/m4/check_path.m4 @@ -29,6 +29,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)])], @@ -224,6 +225,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) @@ -239,6 +257,7 @@ AC_SUBST(cachedir) AC_SUBST(rootsbindir) AC_SUBST(pammodulesdir) AC_SUBST(modulesdir) +AC_SUBST(localedir) ################################################# # set prefix for 'make test' |