From 7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 3 Jul 2006 08:54:12 +0000 Subject: LOCALE_PATH needed some extra magic to give an expanded value in the config.h file, but unexpanded through the make install process --- configure.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index f86455e..49b9f6f 100644 --- a/configure.in +++ b/configure.in @@ -583,13 +583,16 @@ AC_ARG_WITH( ) AC_SUBST(DEFAULT_INIT) +# we have to expand locale_path in the config.h file, but NOT in the makefiles! AC_ARG_WITH( locale, [ --with-locale=path location for nls files (PREFIX/share/fluxbox/nls)], - LOCALE_PATH=$with_locale_path, + LOCALE_PATH=$with_locale_path + AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files") + , LOCALE_PATH=\$\(prefix\)/share/fluxbox/nls + AC_DEFINE_UNQUOTED(LOCALEPATH, "$prefix/share/fluxbox/nls", "location for nls files") ) -AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files") AC_SUBST(LOCALE_PATH) AC_SUBST(program_prefix) -- cgit v0.11.2