diff options
author | Brian Tarricone <brian@tarricone.org> | 2009-07-28 02:14:55 +0000 |
---|---|---|
committer | Brian Tarricone <brian@tarricone.org> | 2009-07-28 02:14:55 +0000 |
commit | 83019e7af8e87b2010b4f1fcb27135814722bdb6 (patch) | |
tree | c342bc540a7df8a2071d88d958ad38f4887ac303 /scripts | |
parent | 1bc99454e7874a1f8dde35ab3e899e4b537f9ac1 (diff) | |
download | xfce4-dev-tools-83019e7af8e87b2010b4f1fcb27135814722bdb6.tar.gz |
also support the newer IT_PROG_INTLTOOL macro
(Old svn revision: 30408)
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xdt-autogen.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 >/dev/null 2>&1 || { cat >&2 <<EOF xdt-autogen: You must have "intltool" installed on your system. @@ -345,7 +345,7 @@ for configure_file in ${CONFIGURE_FILES}; do fi fi - 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 (echo "Running ${XDT_PROG_INTLTOOLIZE} --automake --copy --force" && cd "${source_dir}" && ${XDT_PROG_INTLTOOLIZE} --automake --copy --force) || exit 1 |