diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2014-07-27 16:46:34 +0200 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2014-07-27 16:46:34 +0200 |
commit | de3d7f023da850ad8fa834c94b999fb80343c1ec (patch) | |
tree | a55f4a4e684d8fd8a76f0d99492a26625af35d50 /scripts | |
parent | 6d6fadcba4619c556a4b2eb7abc3d7c5fb2c0279 (diff) | |
download | xfce4-dev-tools-de3d7f023da850ad8fa834c94b999fb80343c1ec.tar.gz |
Display warning if AC_PROG_INTLTOOL is used (bug #8930)
Similar to AC_PROG_LIBTOOL, which has been replaced with LT_PREREQ
and LT_INIT, AC_PROG_INTLTOOL has been replaced with IT_PROG_INTLTOOL.
This commit makes xdt-autogen recommend intltool >= 0.35.0 and displays
a warning if AC_PROG_INTLTOOL is still being used in a configure script
template.
Original patch by Samuli Suominen <ssuominen@gentoo.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xdt-autogen.in.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/xdt-autogen.in.in b/scripts/xdt-autogen.in.in index d359ba7..3eca0d5 100644 --- a/scripts/xdt-autogen.in.in +++ b/scripts/xdt-autogen.in.in @@ -401,6 +401,18 @@ EOF break; fi; done +for configure_ac_file in $CONFIGURE_AC_FILES; do + if grep -q "^AC_PROG_INTLTOOL" "${configure_ac_file}"; then + cat >&2 <<EOF +xdt-autogen: It is recommended to use IT_PROG_INTLTOOL([0.35.0]) + in your configure.ac file and remove AC_PROG_INTLTOOL + + See http://bugzilla.xfce.org/show_bug.cgi?id=8930 for + more information. + +EOF + fi; +done ## |