Ticket #52281: remove-intltool-perl-hack.patch

File remove-intltool-perl-hack.patch, 985 bytes (added by gwhitney, 8 years ago)

patch for intltool as suggested by cal@...; the patch-configure.diff may now be dropped

  • m4/intltool.m4

    old new if test -z "$xgversion" -o -z "$mmversio 
    131131    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
    132132fi
    133133
    134 AC_PATH_PROG(INTLTOOL_PERL, perl)
    135 if test -z "$INTLTOOL_PERL"; then
    136    AC_MSG_ERROR([perl not found])
    137 fi
    138 AC_MSG_CHECKING([for perl >= 5.8.1])
    139 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
    140 if test $? -ne 0; then
    141    AC_MSG_ERROR([perl 5.8.1 is required for intltool])
    142 else
    143    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
    144    AC_MSG_RESULT([$IT_PERL_VERSION])
    145 fi
    146 if test "x$2" != "xno-xml"; then
    147    AC_MSG_CHECKING([for XML::Parser])
    148    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
    149        AC_MSG_RESULT([ok])
    150    else
    151        AC_MSG_ERROR([XML::Parser perl module is required for intltool])
    152    fi
    153 fi
    154 
    155134# Substitute ALL_LINGUAS so we can use it in po/Makefile
    156135AC_SUBST(ALL_LINGUAS)
    157136