summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-02-23 19:29:15 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-02-23 19:29:24 -0800
commitcb70c9bc43267577859a3674ca9de9be396ba69e (patch)
treecaff0c2227255fbb9666e529d8027052ba7f27ae
parentccd3584f0330db8dac90b9313c33ab8b5b2ec6af (diff)
Add --with-locale-lib-dir configure option to set locale lib install dir
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index db294245..0076a8b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -395,7 +395,10 @@ X11_LOCALEDATADIR="${X11_DATADIR}/locale"
AC_DEFINE_DIR(XLOCALEDATADIR, X11_LOCALEDATADIR, [Location of libX11 locale data])
AC_SUBST(X11_LOCALEDATADIR)
-X11_LOCALELIBDIR="${X11_LIBDIR}/locale"
+AC_ARG_WITH(locale-lib-dir, AS_HELP_STRING([--with-locale-lib-dir=DIR],
+ [Directory where locale libraries files are installed (default: $libdir/X11/locale)]),
+ [ X11_LOCALELIBDIR="$withval" ],
+ [ X11_LOCALELIBDIR="${X11_LIBDIR}/locale" ])
AC_DEFINE_DIR(XLOCALELIBDIR, X11_LOCALELIBDIR, [Location of libX11 locale libraries])
AC_SUBST(X11_LOCALELIBDIR)