diff options
author | simonb <simonb> | 2006-07-03 08:54:12 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-07-03 08:54:12 (GMT) |
commit | 7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8 (patch) | |
tree | ec0498a408e549b48a579312e3bcf5f970d801e4 | |
parent | 864ba10163084f4c98b5e3ea7faa7511f4b9c274 (diff) | |
download | fluxbox-7d2f7740d1dddf1017c0610ccbdd3fe9527c29d8.zip fluxbox-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.in | 7 |
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 | ) |
584 | AC_SUBST(DEFAULT_INIT) | 584 | AC_SUBST(DEFAULT_INIT) |
585 | 585 | ||
586 | # we have to expand locale_path in the config.h file, but NOT in the makefiles! | ||
586 | AC_ARG_WITH( | 587 | AC_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 | ) |
592 | AC_DEFINE_UNQUOTED(LOCALEPATH, "$LOCALE_PATH", "location for nls files") | ||
593 | AC_SUBST(LOCALE_PATH) | 596 | AC_SUBST(LOCALE_PATH) |
594 | 597 | ||
595 | AC_SUBST(program_prefix) | 598 | AC_SUBST(program_prefix) |