summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-04-15 13:41:32 -0700
committerRoland McGrath <roland@redhat.com>2010-04-15 13:41:32 -0700
commitd862cc8307a4dff5ab2af63a11ed8823f22dd630 (patch)
tree844b98c6e0d2a081976ed026f3b9a9a8addd76f3
parent134038b7912dd340c9c853a873cb5b8d46e5b5fb (diff)
Fix LOCALEDIR default.
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c00ae183..029ad9ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-15 Roland McGrath <roland@redhat.com>
+
+ * configure.ac (LOCALEDIR): Use $localedir, not $datadir.
+
2009-09-21 Ulrich Drepper <drepper@redhat.com>
* configure.ac: Update for more modern autoconf.
diff --git a/configure.ac b/configure.ac
index ccd79ace..09be421f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ LDFLAGS="$save_LDFLAGS"])
AS_IF([test "x$ac_cv_tls" != xyes],
AC_MSG_ERROR([__thread support required]))
-LOCALEDIR=$datadir
+LOCALEDIR=$localedir
AC_SUBST(LOCALEDIR)
AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")
AH_TEMPLATE([LOCALEDIR], [Directory to place translation files in.])