[Xfce4-commits] [xfce/xfce4-dev-tools] 01/01: Display warning if AC_PROG_INTLTOOL is used (bug #8930)

noreply at xfce.org noreply at xfce.org
Sun Jul 27 16:50:54 CEST 2014


This is an automated email from the git hooks/post-receive script.

jannis pushed a commit to branch master
in repository xfce/xfce4-dev-tools.

commit de3d7f023da850ad8fa834c94b999fb80343c1ec
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun Jul 27 16:46:34 2014 +0200

    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 at gentoo.org>
---
 scripts/xdt-autogen.in.in |   12 ++++++++++++
 1 file changed, 12 insertions(+)

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
 
 
 ##

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list