summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGiovanni Scafora <linuxmania@gmail.com>2007-04-01 02:07:37 +0200
committerDan McGee <dan@archlinux.org>2007-04-01 02:30:35 +0200
commitf044e23a60fa7e3346bd6125444d2c5e4846c158 (patch)
treec9bd860662a0322d218720cede74f28d060b4f77 /configure.ac
parent583b4b10a3ba273110e0d8dd3be5feca575c1d52 (diff)
downloadpacman-f044e23a60fa7e3346bd6125444d2c5e4846c158.tar.gz
pacman-f044e23a60fa7e3346bd6125444d2c5e4846c158.tar.xz
Gettext support in makepkg
Add gettext support to makepkg. Still to do- figure out for sure what textdomain the translations should go in (perhaps share with pacman?), and ensure this doesn't break anything. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 81ef899f..2872c38e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -203,6 +203,11 @@ AC_DEFINE_UNQUOTED([PM_EXT_PKG], "$pkgext", [The file extension used by pacman p
dnl Set database file extension
AC_DEFINE_UNQUOTED([PM_EXT_DB], "$dbext", [The file extension used by pacman databases])
+dnl Set up localedir substitution, double eval to get full path
+localedir="$(eval echo ${localedir})"
+LOCALEDIR="$(eval echo ${localedir})"
+AC_SUBST(LOCALEDIR)
+
dnl ==========================================================================
AC_OUTPUT([