* configure.in: Determine which help translations user wants to
install, based on USE_NLS, LINGUAS and ALL_LINGUAS. * doc/Makefile.am: Set SUBDIR to the list of the requested translations.
Этот коммит содержится в:
родитель
e06b8d8704
Коммит
effd36c053
@ -1,5 +1,10 @@
|
||||
2002-11-28 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* configure.in: Determine which help translations user wants to
|
||||
install, based on USE_NLS, LINGUAS and ALL_LINGUAS.
|
||||
* doc/Makefile.am: Set SUBDIR to the list of the requested
|
||||
translations.
|
||||
|
||||
* acinclude.m4 (MC_EXTFS_CHECKS): New macro.
|
||||
(MC_WITH_VFS): Call MC_EXTFS_CHECKS.
|
||||
* configure.in: Generate vfs/extfs/uzip.
|
||||
|
20
configure.in
20
configure.in
@ -83,6 +83,26 @@ if test "x$USE_INCLUDED_LIBINTL" = xyes; then
|
||||
CPPFLAGS="$CPPFLAGS -I\$(top_builddir)/intl -I\$(top_srcdir)/intl"
|
||||
fi
|
||||
|
||||
dnl Determine which help translations we want to install.
|
||||
ALL_DOC_LINGUAS="es hu it pl ru"
|
||||
|
||||
DOC_LINGUAS=
|
||||
if test "x$USE_NLS" = xyes; then
|
||||
langs="${LINGUAS-$ALL_LINGUAS}"
|
||||
else
|
||||
langs=
|
||||
fi
|
||||
|
||||
for h_lang in $ALL_DOC_LINGUAS; do
|
||||
for lang in $langs; do
|
||||
if test "$lang" = "$h_lang"; then
|
||||
DOC_LINGUAS="$DOC_LINGUAS $lang"
|
||||
break
|
||||
fi
|
||||
done
|
||||
done
|
||||
AC_SUBST(DOC_LINGUAS)
|
||||
|
||||
dnl
|
||||
dnl Hack to make extraconf.h visible even if compiling outside srcdir.
|
||||
dnl
|
||||
|
@ -1,4 +1,5 @@
|
||||
SUBDIRS = es hu it pl ru
|
||||
DIST_SUBDIRS = es hu it pl ru
|
||||
SUBDIRS = $(DOC_LINGUAS)
|
||||
|
||||
if USE_MCFS
|
||||
man_MANS = mc.1 mcedit.1 mcserv.8
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user