build-sys: Use upstream gettext instead glib one

This commit is contained in:
Javier Jardón 2013-03-27 14:00:36 +00:00 committed by Arun Raghavan
parent 3086d01dd7
commit b2a0a1575d
3 changed files with 6 additions and 3 deletions

View file

@ -19,6 +19,7 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
bootstrap.sh \
config.rpath \
git-version-gen \
LICENSE \
GPL \

View file

@ -68,7 +68,6 @@ if ! pkg-config --version &>/dev/null; then
fi
# Other necessary programs
glib-gettextize --version >/dev/null || DIE=1
intltoolize --version >/dev/null || DIE=1
$LIBTOOLIZE --version >/dev/null || DIE=1
test "$DIE" = 1 && exit 1
@ -85,7 +84,7 @@ else
rm -f config.cache
rm -f Makefile.am~ configure.ac~
glib-gettextize --copy --force
autopoint --force
test -f Makefile.am~ && mv Makefile.am~ Makefile.am
test -f configure.ac~ && mv configure.ac~ configure.ac

View file

@ -97,10 +97,13 @@ PKG_PROG_PKG_CONFIG
if test "x$enable_nls" != "xno"; then
IT_PROG_INTLTOOL([0.35.0])
AM_GNU_GETTEXT_VERSION([0.18.1])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=pulseaudio
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
AM_GLIB_GNU_GETTEXT
pulselocaledir='${prefix}/${DATADIRNAME}/locale'
AX_DEFINE_DIR(PULSE_LOCALEDIR, pulselocaledir, [Gettext locale dir])