~ubuntu-branches/ubuntu/maverick/gnome-power-manager/maverick-proposed

« back to all changes in this revision

Viewing changes to m4/gnome-doc-utils.m4

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2010-09-27 13:49:07 UTC
  • mfrom: (2.1.58 upstream)
  • Revision ID: james.westby@ubuntu.com-20100927134907-wqfzfqsosqb0w2ev
Tags: 2.32.0-0ubuntu1
* New upstream release
* debian/watch:
  - Fix version matcher to work

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
42
42
 
43
 
AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
44
43
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
45
44
        [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
46
45
 
47
46
if test "$gdu_cv_have_gdu" = "yes"; then
48
 
        AC_MSG_RESULT([yes])
49
47
        ifelse([$2],,[:],[$2])
50
48
else
51
 
        AC_MSG_RESULT([no])
52
49
        ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
53
50
fi
54
51