~xnox/upstart/xdg-runtime-dir-fixes

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Dmitrijs Ledkovs
  • Date: 2013-11-11 10:13:08 UTC
  • Revision ID: dmitrijs.ledkovs@canonical.com-20131111101308-0x1q3q12mkjf5k7r
Introduce TAP output, mark failing tests as TODO, unset environment
variables that cause test suite failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
# Checks for programs.
22
22
AC_PROG_CC
 
23
AC_PROG_CC_C99
 
24
AM_PROG_CC_C_O
23
25
PKG_PROG_PKG_CONFIG([0.22])
24
26
 
25
27
AC_PATH_PROG([NIH_DBUS_TOOL], [nih-dbus-tool])
67
69
                                test "$have_gio" = yes &&
68
70
                                test "$dconf_bridge" = yes])
69
71
 
 
72
AC_CHECK_DECL([TEST_PLAN],[
 
73
have_tap=yes
 
74
AC_REQUIRE_AUX_FILE([tap-driver.sh])
 
75
AC_DEFINE([NIH_TAP_OUTPUT], [1], [Do not abort on test failure])
 
76
],[have_tap=no],[[#include <nih/test.h>]])
 
77
AM_CONDITIONAL([ENABLE_TAP_OUTPUT], [test "$have_tap" = "yes"])
 
78
 
 
79
 
70
80
# Reasons for requiring this library version:
71
81
#
72
82
# 1) RFC 4627, the JSON "memo" (it is *NOT* a standard!) helpfully fails
102
112
AC_CHECK_HEADERS([valgrind/valgrind.h, sys/prctl.h])
103
113
 
104
114
# Checks for typedefs, structures, and compiler characteristics.
105
 
AC_PROG_CC_C99
106
 
AM_PROG_CC_C_O
107
115
NIH_C_THREAD
108
116
 
109
117
AC_CHECK_SIZEOF(int)