From 519c02ad57a0e5ed4b367ecf729b20c1713daea8 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Wed, 18 May 2005 08:32:31 +0000
Subject: locale path

---
 configure.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/configure.in b/configure.in
index 5c8e712..5952580 100644
--- a/configure.in
+++ b/configure.in
@@ -583,6 +583,15 @@ AC_ARG_WITH(
 )
 AC_SUBST(DEFAULT_INIT)
 
+AC_ARG_WITH(
+  locale,
+  [  --with-locale=path      location for nls files (PREFIX/share/fluxbox/nls)],
+  LOCALE_PATH=$with_locale_path,
+  LOCALE_PATH=$prefix/share/fluxbox/nls
+)
+AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files")
+AC_SUBST(LOCALE_PATH)
+
 dnl Determine the return type of signal handlers
 AC_TYPE_SIGNAL
 
@@ -598,6 +607,7 @@ AC_MSG_RESULT([Using '$DEFAULT_MENU' for location menu file.])
 AC_MSG_RESULT([Using '$DEFAULT_STYLE' by default style.])
 AC_MSG_RESULT([Using '$DEFAULT_KEYS' for location keys file.])
 AC_MSG_RESULT([Using '$DEFAULT_INIT' for location init file.])
+AC_MSG_RESULT([Using '$LOCALE_PATH' for nls files.])
 AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
 AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
-- 
cgit v0.11.2