~ps-jenkins/account-plugins/trusty-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Alberto Mardegan
  • Date: 2013-06-12 05:49:46 UTC
  • mto: This revision was merged to the branch mainline in revision 117.
  • Revision ID: alberto.mardegan@canonical.com-20130612054946-cpu3c5ihmsql57bn
Force installation of QML plugins if specified at configuration time

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
                              [build without support for QML plugins for Ubuntu Touch])])
61
61
 
62
62
AS_IF([test "x$enable_qml_plugins" != "xno"],
63
 
      [PKG_CHECK_EXISTS([OnlineAccountsPlugin], [have_uoa_plugin=yes],
64
 
                        [have_uoa_plugin=no])],
65
 
      [have_uoa_plugin=no])
66
 
 
67
 
AS_IF([test "x$have_uoa_plugin" = "xyes"],
68
 
      [PKG_CHECK_MODULES([OnlineAccountsPlugin], [OnlineAccountsPlugin >= 0.1])],
69
 
      [AS_IF([test "x$enable_qml_plugins" = "xyes"],
70
 
             [AC_MSG_ERROR([QML plugins enabled but required dependencies were not found])])])
 
63
      [have_uoa_plugin=yes])
71
64
 
72
65
AM_CONDITIONAL([ENABLE_QML_PLUGINS],
73
66
               [test "x$have_uoa_plugin" = "xyes"])