~ubuntu-branches/ubuntu/quantal/epiphany-extensions/quantal

« back to all changes in this revision

Viewing changes to m4/intltool.m4

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-09-18 14:08:05 UTC
  • mfrom: (1.1.36 upstream)
  • Revision ID: james.westby@ubuntu.com-20090918140805-fa8kka5uo6u5l5io
Tags: 2.27.92-0ubuntu1
* new upstream 2.27.92 ships ships epiphany-webkit extensions only
  - update debian/control - move from epiphany-browser to -webkit
  - update debian/rules - drop link creation that tried to support -browser
    and -webkit parts and run dh_pysupport on epiphany-webkit dir
  - update debian/rules - use really-all extensions
  - add debian/patches/02_greasemonkey_web_view.patch - fix greasemonkey
    extension being broken by bad web_view lookup - bgo 595814

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
76
76
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
77
77
 
78
 
AC_SUBST(INTLTOOL_DESKTOP_RULE)
79
 
AC_SUBST(INTLTOOL_DIRECTORY_RULE)
80
 
AC_SUBST(INTLTOOL_KEYS_RULE)
81
 
AC_SUBST(INTLTOOL_PROP_RULE)
82
 
AC_SUBST(INTLTOOL_OAF_RULE)
83
 
AC_SUBST(INTLTOOL_PONG_RULE)
84
 
AC_SUBST(INTLTOOL_SERVER_RULE)
85
 
AC_SUBST(INTLTOOL_SHEET_RULE)
86
 
AC_SUBST(INTLTOOL_SOUNDLIST_RULE)
87
 
AC_SUBST(INTLTOOL_UI_RULE)
88
 
AC_SUBST(INTLTOOL_XAM_RULE)
89
 
AC_SUBST(INTLTOOL_KBD_RULE)
90
 
AC_SUBST(INTLTOOL_XML_RULE)
91
 
AC_SUBST(INTLTOOL_XML_NOMERGE_RULE)
92
 
AC_SUBST(INTLTOOL_CAVES_RULE)
93
 
AC_SUBST(INTLTOOL_SCHEMAS_RULE)
94
 
AC_SUBST(INTLTOOL_THEME_RULE)
95
 
AC_SUBST(INTLTOOL_SERVICE_RULE)
96
 
AC_SUBST(INTLTOOL_POLICY_RULE)
 
78
_IT_SUBST(INTLTOOL_DESKTOP_RULE)
 
79
_IT_SUBST(INTLTOOL_DIRECTORY_RULE)
 
80
_IT_SUBST(INTLTOOL_KEYS_RULE)
 
81
_IT_SUBST(INTLTOOL_PROP_RULE)
 
82
_IT_SUBST(INTLTOOL_OAF_RULE)
 
83
_IT_SUBST(INTLTOOL_PONG_RULE)
 
84
_IT_SUBST(INTLTOOL_SERVER_RULE)
 
85
_IT_SUBST(INTLTOOL_SHEET_RULE)
 
86
_IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
 
87
_IT_SUBST(INTLTOOL_UI_RULE)
 
88
_IT_SUBST(INTLTOOL_XAM_RULE)
 
89
_IT_SUBST(INTLTOOL_KBD_RULE)
 
90
_IT_SUBST(INTLTOOL_XML_RULE)
 
91
_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
 
92
_IT_SUBST(INTLTOOL_CAVES_RULE)
 
93
_IT_SUBST(INTLTOOL_SCHEMAS_RULE)
 
94
_IT_SUBST(INTLTOOL_THEME_RULE)
 
95
_IT_SUBST(INTLTOOL_SERVICE_RULE)
 
96
_IT_SUBST(INTLTOOL_POLICY_RULE)
97
97
 
98
98
# Check the gettext tools to make sure they are GNU
99
99
AC_PATH_PROG(XGETTEXT, xgettext)
110
110
    AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
111
111
fi
112
112
 
113
 
AC_PATH_PROG(INTLTOOL_PERL, [perl])
 
113
AC_PATH_PROG(INTLTOOL_PERL, perl)
114
114
if test -z "$INTLTOOL_PERL"; then
115
 
   AC_MSG_ERROR([perl not found; required for intltool])
 
115
   AC_MSG_ERROR([perl not found])
116
116
fi
117
 
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
118
 
   AC_MSG_ERROR([perl 5.x required for intltool])
 
117
AC_MSG_CHECKING([for perl >= 5.8.1])
 
118
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
119
if test $? -ne 0; then
 
120
   AC_MSG_ERROR([perl 5.8.1 is required for intltool])
 
121
else
 
122
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
123
   AC_MSG_RESULT([$IT_PERL_VERSION])
119
124
fi
120
125
if test "x$2" != "xno-xml"; then
121
126
   AC_MSG_CHECKING([for XML::Parser])
193
198
])dnl
194
199
])
195
200
 
 
201
# _IT_SUBST(VARIABLE)
 
202
# -------------------
 
203
# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
 
204
#
 
205
AC_DEFUN([_IT_SUBST],
 
206
[
 
207
AC_SUBST([$1])
 
208
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
 
209
]
 
210
)
 
211
 
196
212
# deprecated macros
197
213
AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
198
214
# A hint is needed for aclocal from Automake <= 1.9.4: