From 6abd6ef1d125af12dcf061d677e4315195be4e27 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 19 Mar 2012 04:40:52 +0000 Subject: 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 --- src/configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/configure.in b/src/configure.in index 1c8279b030..0a7ec6b186 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(. -- cgit