~ubuntu-branches/ubuntu/natty/pdfmod/natty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-09-29 17:34:49 UTC
  • mfrom: (2.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100929173449-4ezagrzettatjk36
Tags: 0.9.0-1
* New upstream release
* debian/copyright: Document PdfSharp.SharpZipLib/*
* Drop all patches: committed upstream
* No change bump of Standards-Version from 3.8.4 to 3.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
478
478
# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
479
479
#
480
480
AC_DEFUN([GNOME_DOC_INIT],
481
 
[
 
481
[AC_REQUIRE([AC_PROG_LN_S])dnl
 
482
 
482
483
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
483
484
 
 
485
AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
484
486
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
485
487
        [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
486
488
 
487
489
if test "$gdu_cv_have_gdu" = "yes"; then
 
490
        AC_MSG_RESULT([yes])
488
491
        ifelse([$2],,[:],[$2])
489
492
else
 
493
        AC_MSG_RESULT([no])
490
494
        ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
491
495
fi
492
496