Merge lp:~dobey/intltool/m4esyscmd-support into lp:intltool

Proposed by dobey
Status: Superseded
Proposed branch: lp:~dobey/intltool/m4esyscmd-support
Merge into: lp:intltool
Diff against target: None lines
To merge this branch: bzr merge lp:~dobey/intltool/m4esyscmd-support
Reviewer Review Type Date Requested Status
intltool Developers Pending
Review via email: mp+8649@code.launchpad.net

This proposal has been superseded by a proposal from 2009-07-12.

To post a comment you must log in.
lp:~dobey/intltool/m4esyscmd-support updated
697. By dobey

 Move the m4_esyscmd handling into the AC_INIT handler

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'intltool-update.in'
2--- intltool-update.in 2009-04-21 01:58:31 +0000
3+++ intltool-update.in 2009-07-12 19:32:45 +0000
4@@ -1156,6 +1156,16 @@
5 $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/);
6 }
7
8+ # Handle m4_esyscmd
9+ # FIXME: We should do this in a more generic way that works for all vars
10+ if ($version =~ /\s*m4_esyscmd\([\[]?([^\)\]]+)/m)
11+ {
12+ my $cwd = getcwd ();
13+ chdir ("$SRCDIR/..");
14+ $version = qx($1);
15+ chdir ($cwd);
16+ }
17+
18 # \s makes this not work, why?
19 $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m;
20

Subscribers

People subscribed via source and target branches

to all changes: