~ubuntu-branches/debian/wheezy/foxtrotgps/wheezy

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Daniel Baumann
  • Date: 2012-02-14 06:13:28 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120214061328-zo4mu0rvgz06q5nw
Tags: 1.1.0-1
* Using compression level 9 also for binary packages.
* Merging upstream version 1.1.0:
  - includes osb2tango and poi2osm (Closes: #647986).
* Removing curl.patch, included upstream.
* Updating to debhelper version 9.
* Updating years in copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
21
 
 
22
dnl AM_GCONF_SOURCE_2
 
23
dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
 
24
dnl  (i.e. pass to gconftool-2
 
25
dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
 
26
dnl  you should install foo.schemas files
 
27
dnl
 
28
 
 
29
AC_DEFUN([AM_GCONF_SOURCE_2],
 
30
[
 
31
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
 
32
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 
33
  else
 
34
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
 
35
  fi
 
36
 
 
37
  AC_ARG_WITH([gconf-source],
 
38
              AC_HELP_STRING([--with-gconf-source=sourceaddress],
 
39
                             [Config database for installing schema files.]),
 
40
              [GCONF_SCHEMA_CONFIG_SOURCE="$withval"],)
 
41
 
 
42
  AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
 
43
  AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
 
44
 
 
45
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
 
46
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
 
47
  fi
 
48
 
 
49
  AC_ARG_WITH([gconf-schema-file-dir],
 
50
              AC_HELP_STRING([--with-gconf-schema-file-dir=dir],
 
51
                             [Directory for installing schema files.]),
 
52
              [GCONF_SCHEMA_FILE_DIR="$withval"],)
 
53
 
 
54
  AC_SUBST(GCONF_SCHEMA_FILE_DIR)
 
55
  AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
 
56
 
 
57
  AC_ARG_ENABLE(schemas-install,
 
58
        AC_HELP_STRING([--disable-schemas-install],
 
59
                       [Disable the schemas installation]),
 
60
     [case ${enableval} in
 
61
       yes|no) ;;
 
62
       *) AC_MSG_ERROR([bad value ${enableval} for --enable-schemas-install]) ;;
 
63
      esac])
 
64
  AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
 
65
])
 
66
 
22
67
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
23
68
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
24
69
#