| | 89 | |
| | 90 | # Check the gettext tools to make sure they are GNU |
| | 91 | AC_PATH_PROG(XGETTEXT, xgettext) |
| | 92 | AC_PATH_PROG(MSGMERGE, msgmerge) |
| | 93 | AC_PATH_PROG(MSGFMT, msgfmt) |
| | 94 | if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
| | 95 | AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) |
| | 96 | fi |
| | 97 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
| | 98 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
| | 99 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
| | 100 | if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
| | 101 | AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) |
| | 102 | fi |