1 dnl Process this file with autoconf to create configure.
4 AC_INIT([intltool], [0.50.2])
5 AC_CONFIG_SRCDIR([intltoolize.in])
7 AM_INIT_AUTOMAKE([foreign])
9 pkgdatadir='${datadir}'"/${PACKAGE}"
10 AC_SUBST(pkgdatadir) dnl automake does not need this, but libtoolize does
11 aclocaldir='${datadir}'/aclocal
14 AC_PATH_PROG(PERL, perl)
15 if test -z "$PERL"; then
16 AC_MSG_ERROR([perl not found])
18 AC_MSG_CHECKING([for perl >= 5.8.1])
19 $PERL -e "use 5.8.1;" > /dev/null 2>&1
20 if test $? -ne 0; then
21 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
23 PERL_VERSION="`$PERL -e \"printf '%vd', $^V\"`"
24 AC_MSG_RESULT([$PERL_VERSION])
26 AC_MSG_CHECKING([for XML::Parser])
27 if `$PERL -e "require XML::Parser" 2>/dev/null`; then
30 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
32 AC_PATH_PROG(BZR, bzr)
41 tests/results/Makefile