Changeset d27e9e802c904c8eba80437b76f98b4b1da73877

Show
Ignore:
Timestamp:
04/22/08 00:56:08 (4 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
50183758a59a59a19aa78d60798db2460bde39ed
Parents:
512b8d8057e540dc629241a60041a72eabb14354
git-committer:
Lincoln de Sousa <lincoln@…> (04/22/08 00:56:08)
Message:

Things added by autotools

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • m4/intltool.m4

    r512b8d8 rd27e9e8  
    8787AC_SUBST(INTLTOOL_SERVICE_RULE) 
    8888AC_SUBST(INTLTOOL_POLICY_RULE) 
     89 
     90# Check the gettext tools to make sure they are GNU 
     91AC_PATH_PROG(XGETTEXT, xgettext) 
     92AC_PATH_PROG(MSGMERGE, msgmerge) 
     93AC_PATH_PROG(MSGFMT, msgfmt) 
     94if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 
     95    AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) 
     96fi 
     97xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 
     98mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 
     99mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 
     100if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 
     101    AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) 
     102fi 
    89103 
    90104# Use the tools built into the package, not the ones that are installed.