summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonb <simonb>2006-07-03 08:54:12 (GMT)
committersimonb <simonb>2006-07-03 08:54:12 (GMT)
commit7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8 (patch)
treeec0498a408e549b48a579312e3bcf5f970d801e4
parent864ba10163084f4c98b5e3ea7faa7511f4b9c274 (diff)
downloadfluxbox_lack-7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8.zip
fluxbox_lack-7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8.tar.bz2
LOCALE_PATH needed some extra magic to give an expanded value in the
config.h file, but unexpanded through the make install process
-rw-r--r--configure.in7
1 files 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(
583) 583)
584AC_SUBST(DEFAULT_INIT) 584AC_SUBST(DEFAULT_INIT)
585 585
586# we have to expand locale_path in the config.h file, but NOT in the makefiles!
586AC_ARG_WITH( 587AC_ARG_WITH(
587 locale, 588 locale,
588 [ --with-locale=path location for nls files (PREFIX/share/fluxbox/nls)], 589 [ --with-locale=path location for nls files (PREFIX/share/fluxbox/nls)],
589 LOCALE_PATH=$with_locale_path, 590 LOCALE_PATH=$with_locale_path
591 AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files")
592 ,
590 LOCALE_PATH=\$\(prefix\)/share/fluxbox/nls 593 LOCALE_PATH=\$\(prefix\)/share/fluxbox/nls
594 AC_DEFINE_UNQUOTED(LOCALEPATH, "$prefix/share/fluxbox/nls", "location for nls files")
591) 595)
592AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files")
593AC_SUBST(LOCALE_PATH) 596AC_SUBST(LOCALE_PATH)
594 597
595AC_SUBST(program_prefix) 598AC_SUBST(program_prefix)