~ubuntu-branches/ubuntu/hardy/evince/hardy-security

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-04-08 23:52:57 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20080408235257-0rd70trs4y6gxf9z
Tags: 2.22.1.1-0ubuntu1
* New upstream version:
  Bug fixes:
  -  Fix build in FreeBSD 
  -  Fixes djvu backend links 
* debian/control.in, debian/patches/01_launchpad.patch:
  - updated to the launchpad integration changes
* debian/patches/99_autoreconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
848
848
AC_SUBST(INTLTOOL_SERVICE_RULE)
849
849
AC_SUBST(INTLTOOL_POLICY_RULE)
850
850
 
 
851
# Check the gettext tools to make sure they are GNU
 
852
AC_PATH_PROG(XGETTEXT, xgettext)
 
853
AC_PATH_PROG(MSGMERGE, msgmerge)
 
854
AC_PATH_PROG(MSGFMT, msgfmt)
 
855
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
856
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
857
fi
 
858
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
859
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
860
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
861
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
862
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
 
863
fi
 
864
 
851
865
# Use the tools built into the package, not the ones that are installed.
852
866
AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract')
853
867
AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge')