~ubuntu-branches/ubuntu/precise/gnomeradio/precise-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Namuri
  • Date: 2008-05-12 00:36:27 UTC
  • mfrom: (2.1.5 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080512003627-m4r405wwqc2e3xgv
Tags: 1.7-6
* debian/changelog: sync with the one from ubuntu.
* debian/patches/prefs.c.patch: fixed. In 1.7-6 I've uploaded a wrong
  version of the patch, now it's the right one that Cesare Tirabassi
  has included in the ubuntu's package. (Closes: #468796, #462891)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl GNOME_DOC_INIT([MINIMUM-VERSION])
 
2
 
 
3
AC_DEFUN([GNOME_DOC_INIT],
 
4
[
 
5
dnl Only apply the version check if we're not configuring ourselves!
 
6
if test "x$PACKAGE" != "xgnome-doc-utils"; then
 
7
  GDU_REQUIRED_VERSION=0.3.2
 
8
  if test -n "$1"; then
 
9
    GDU_REQUIRED_VERSION=$1
 
10
  fi
 
11
 
 
12
  PKG_CHECK_MODULES([GDU_MODULE_VERSION_CHECK],[gnome-doc-utils >= $GDU_REQUIRED_VERSION])
 
13
fi
 
14
 
 
15
AC_ARG_WITH([help-dir],
 
16
  AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),,
 
17
  [with_help_dir='${datadir}/gnome/help'])
 
18
HELP_DIR="$with_help_dir"
 
19
AC_SUBST(HELP_DIR)
 
20
 
 
21
AC_ARG_WITH([omf-dir],
 
22
  AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),,
 
23
  [with_omf_dir='${datadir}/omf'])
 
24
OMF_DIR="$with_omf_dir"
 
25
AC_SUBST(OMF_DIR)
 
26
 
 
27
AC_ARG_WITH([help-formats],
 
28
  AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),,
 
29
  [with_help_formats=''])
 
30
DOC_USER_FORMATS="$with_help_formats"
 
31
AC_SUBST(DOC_USER_FORMATS)
 
32
 
 
33
AC_ARG_ENABLE([scrollkeeper],
 
34
        [AC_HELP_STRING([--disable-scrollkeeper],
 
35
                        [do not make updates to the scrollkeeper database])],,
 
36
        enable_scrollkeeper=yes)
 
37
AM_CONDITIONAL(ENABLE_SK, test "x$enable_scrollkeeper" = "xyes")
 
38
 
 
39
])