Skip to content
Snippets Groups Projects
Commit 83019e7a authored by Brian Tarricone's avatar Brian Tarricone
Browse files

also support the newer IT_PROG_INTLTOOL macro

(Old svn revision: 30408)
parent 1bc99454
No related branches found
No related tags found
No related merge requests found
2009-07-27 Brian Tarricone <brian@tarricone.org>
* scripts/xdt-autogen.in: Also support newer IT_PROG_INTLTOOL
macro.
2009-05-04 Brian Tarricone <bjt23@cornell.edu>
* m4macros/xdt-features.m4: Add a bunch more compiler warning
......
4.6.2
=====
- Also support the newer IT_PROG_INTLTOOL macro
4.6.0
=====
- Replace grep -P with awk and thus make the script more portable. Properly
detect changed ChangeLogs in SVN. This should get rid the empty lines when
committing several changed ChangeLogs (bug #4716).
4.5.93
======
- Remove unreliable and not really needed intltool auto-patch.
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment