diff options
Diffstat (limited to 'configure.in')
-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) |