~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Charles Kerr
  • Date: 2012-07-06 20:11:40 UTC
  • Revision ID: charles.kerr@canonical.com-20120706201140-q0n8a8jo68dpsmwu
if tests aren't explicitly requested, don't fail the build if dbus-test-runner isn't installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
    if test "x$enable_tests" = "xyes"; then
138
138
        PKG_CHECK_MODULES([TEST_SERVICE],[indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
139
139
                                          dbustest-1 >= $DBUSTEST_REQUIRED_VERSION
140
 
                                          dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION])
 
140
                                          dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION],
 
141
                                          [enable_tests="yes"],
 
142
                                          [enable_tests="no"])
141
143
    fi
142
144
fi
143
145
AM_CONDITIONAL([BUILD_TESTS],[test "x$enable_tests" = "xyes"])