From: Javier Jardón Date: Wed, 27 Mar 2013 14:00:36 +0000 (+0000) Subject: build-sys: Use upstream gettext instead glib one X-Git-Url: https://code.delx.au/pulseaudio/commitdiff_plain/b2a0a1575d51621158d914bfef433d893fcf476b build-sys: Use upstream gettext instead glib one --- diff --git a/Makefile.am b/Makefile.am index b0b25534..2a1e9f66 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,6 +19,7 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = \ bootstrap.sh \ + config.rpath \ git-version-gen \ LICENSE \ GPL \ diff --git a/bootstrap.sh b/bootstrap.sh index d0baf950..0ad60ca6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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 diff --git a/configure.ac b/configure.ac index 388fae25..9e33bb98 100644 --- a/configure.ac +++ b/configure.ac @@ -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])