From d6186968eaaa0ae4da5605d1f14c1eb38d5f7ad5 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 19 Mar 2012 04:40:52 +0000 Subject: [PATCH] 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. (backported from commit 6abd6ef1d125af12dcf061d677e4315195be4e27) ticket: 7095 version_fixed: 1.10.2 --- src/configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/configure.in b/src/configure.in index 8c786764e1..81eca47937 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1240,6 +1240,12 @@ AC_SUBST([VERTO_CFLAGS]) AC_SUBST([VERTO_LIBS]) AC_SUBST([VERTO_VERSION]) +# 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(. -- 2.47.2