From 83019e7af8e87b2010b4f1fcb27135814722bdb6 Mon Sep 17 00:00:00 2001 From: Brian Tarricone Date: Tue, 28 Jul 2009 02:14:55 +0000 Subject: also support the newer IT_PROG_INTLTOOL macro (Old svn revision: 30408) --- scripts/xdt-autogen.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/xdt-autogen.in b/scripts/xdt-autogen.in index eb8a97f..d842a12 100644 --- a/scripts/xdt-autogen.in +++ b/scripts/xdt-autogen.in @@ -161,7 +161,7 @@ EOF ## test -z "${XDT_PROG_INTLTOOLIZE}" && XDT_PROG_INTLTOOLIZE="intltoolize" for configure_file in $CONFIGURE_FILES; do - if grep "^AC_PROG_INTLTOOL" "${configure_file}" >/dev/null 2>&1; then + if grep -E "^(AC|IT)_PROG_INTLTOOL" "${configure_file}" >/dev/null 2>&1; then (${XDT_PROG_INTLTOOLIZE} --version) /dev/null 2>&1 || { cat >&2 </dev/null 2>&1; then + if grep -E "^(AC|IT)_PROG_INTLTOOL" "${configure_file}" >/dev/null 2>&1; then (echo "Running ${XDT_PROG_INTLTOOLIZE} --automake --copy --force" && cd "${source_dir}" && ${XDT_PROG_INTLTOOLIZE} --automake --copy --force) || exit 1 -- cgit v1.2.1