~ubuntu-branches/ubuntu/vivid/gnome-desktop3/vivid

« back to all changes in this revision

Viewing changes to m4/glibtests.m4

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2014-10-31 07:46:09 UTC
  • mfrom: (1.6.5) (32.1.1 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141031074609-gb280wdsxsgldc91
Tags: 3.14.1-1ubuntu1
* Merge with Debian, Remaining changes:
  - debian/patches:
    + 04_compute_average_color.patch: Compute the avergage color in
      gnome-desktop itself, not in unity to fix some races (LP #963140)
    + tweak_color_computation.patch, Patch from Gord, no patch header,
      no bug link.
    + git_revert_draw_background.patch
    + ubuntu_language.patch, Ported relevant bits from g-c-c 
      52_region_language.patch, as required for gnome 3.8 region panel
    + ubuntu_language_list_from_SUPPORTED.patch,
      adds api to get list of available languages from SUPPORTED file.
      To be used by gnome 3.8 region panel language installation.
  - debian/libgnome-desktop-3-10.symbols:
    + Add symbols included in Ubuntu patches
  - debian/control.in:
    + Mark gnome-desktop3-data Multi-Arch: foreign

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl GLIB_TESTS
 
2
dnl
 
3
 
 
4
AC_DEFUN([GLIB_TESTS],
 
5
[
 
6
  AC_ARG_ENABLE(installed-tests,
 
7
                AS_HELP_STRING([--enable-installed-tests],
 
8
                               [Enable installation of some test cases]),
 
9
                [case ${enableval} in
 
10
                  yes) ENABLE_INSTALLED_TESTS="1"  ;;
 
11
                  no)  ENABLE_INSTALLED_TESTS="" ;;
 
12
                  *) AC_MSG_ERROR([bad value ${enableval} for --enable-installed-tests]) ;;
 
13
                 esac])
 
14
  AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], test "$ENABLE_INSTALLED_TESTS" = "1")
 
15
  AC_ARG_ENABLE(always-build-tests,
 
16
                AS_HELP_STRING([--enable-always-build-tests],
 
17
                               [Enable always building tests during 'make all']),
 
18
                [case ${enableval} in
 
19
                  yes) ENABLE_ALWAYS_BUILD_TESTS="1"  ;;
 
20
                  no)  ENABLE_ALWAYS_BUILD_TESTS="" ;;
 
21
                  *) AC_MSG_ERROR([bad value ${enableval} for --enable-always-build-tests]) ;;
 
22
                 esac])
 
23
  AM_CONDITIONAL([ENABLE_ALWAYS_BUILD_TESTS], test "$ENABLE_ALWAYS_BUILD_TESTS" = "1")
 
24
  if test "$ENABLE_INSTALLED_TESTS" = "1"; then
 
25
    AC_SUBST(installed_test_metadir, [${datadir}/installed-tests/]AC_PACKAGE_NAME)
 
26
    AC_SUBST(installed_testdir, [${libexecdir}/installed-tests/]AC_PACKAGE_NAME)
 
27
  fi
 
28
])