~vcs-imports/speech-dispatcher/trunk

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Andrei Kholodnyi
  • Author(s): Rui Batista
  • Date: 2010-09-04 16:16:03 UTC
  • Revision ID: git-v1:9df5c55502546fed016275aaee24f4f6b382c609
Add internationalization support to build infrastructure.

This patch adds intltool/gettext support to the build infrastructure.
From now on, files marked for translation shuld be listed in
po/POTFILES.in.

Documentation for translators is in README.translators.

The INSTALL file is updated with intltool reference.

Reviewed-by: Andrei Kholodnyi <Andrei.Kholodnyi@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
dnl Process this file with autoconf to produce a configure script.
3
3
AC_INIT(configure.in)
4
4
 
 
5
 
 
6
 
5
7
AC_LANG(C)
6
8
 
7
9
dnl progs
18
20
        [],
19
21
        [enable_python=check])
20
22
 
 
23
#
 
24
# Setup GETTEXT
 
25
#
 
26
GETTEXT_PACKAGE=speech-dispatcher
 
27
AC_SUBST(GETTEXT_PACKAGE)
 
28
AM_GLIB_GNU_GETTEXT
 
29
IT_PROG_INTLTOOL([0.40.0])
 
30
 
 
31
 
21
32
dnl Checks for header files.
22
33
AC_HEADER_STDC
23
34
AC_CHECK_HEADERS(limits.h sys/ioctl.h sys/time.h unistd.h)
399
410
AC_SUBST(RPATH)
400
411
AC_SUBST(RDYNAMIC)
401
412
 
402
 
AC_OUTPUT([Makefile src/Makefile src/server/Makefile src/modules/Makefile src/c/Makefile src/c/api/Makefile src/c/clients/Makefile src/c/clients/say/Makefile src/c/clients/spdsend/Makefile src/tests/Makefile src/audio/Makefile src/audio/static_plugins.c config/Makefile config/modules/Makefile config/clients/Makefile doc/Makefile src/python/Makefile src/python/speechd/Makefile src/python/speechd_config/Makefile])
 
413
# Path of installed localization files:
 
414
localedir=${datadir}/locale
 
415
AC_SUBST(localedir)
 
416
 
 
417
AC_OUTPUT([Makefile src/Makefile src/server/Makefile src/modules/Makefile src/c/Makefile src/c/api/Makefile src/c/clients/Makefile src/c/clients/say/Makefile src/c/clients/spdsend/Makefile src/tests/Makefile src/audio/Makefile src/audio/static_plugins.c config/Makefile config/modules/Makefile config/clients/Makefile doc/Makefile src/python/Makefile src/python/speechd/Makefile src/python/speechd_config/Makefile po/Makefile.in])
403
418