svn rev #25777: trunk/src/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Mar 19 00:40:53 EDT 2012


http://src.mit.edu/fisheye/changelog/krb5/?cs=25777
Commit By: ghudson
Log Message:
ticket: 7095
target_version: 1.10.2
tags: pullup

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.


Changed Files:
U   trunk/src/configure.in
Modified: trunk/src/configure.in
===================================================================
--- trunk/src/configure.in	2012-03-16 13:57:55 UTC (rev 25776)
+++ trunk/src/configure.in	2012-03-19 04:40:52 UTC (rev 25777)
@@ -1245,6 +1245,12 @@
 
 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(.
 



More information about the cvs-krb5 mailing list