From: Greg Hudson Date: Mon, 19 Mar 2012 04:40:52 +0000 (+0000) Subject: Make localedir work in build with autoconf 2.5x X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6abd6ef1d125af12dcf061d677e4315195be4e27;p=krb5.git Make localedir work in build with autoconf 2.5x autoconf 2.5x does not define localedir, so we have to detect that and do it ourselves. ticket: 7095 target_version: 1.10.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25777 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/configure.in b/src/configure.in index 1c8279b03..0a7ec6b18 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1245,6 +1245,12 @@ AC_SUBST([VERTO_VERSION]) AC_PATH_PROG(GROFF, groff) +# Make localedir work in autoconf 2.5x. +if test "${localedir+set}" != set; then + localedir='$(datadir)/locale' +fi +AC_SUBST(localedir) + AC_CONFIG_FILES(krb5-config, [chmod +x krb5-config]) V5_AC_OUTPUT_MAKEFILE(.