~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Guillaume Beland
  • Date: 2008-04-08 14:58:27 UTC
  • Revision ID: guillaume@inspiron-20080408145827-2eccz89bbu0335sg
Added DiksMounter plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
 
199
199
AM_CONDITIONAL(ENABLE_TWITTER_PLUGIN, test "x$enable_twitter_plugin" = "xyes")
200
200
 
 
201
dnl - DiskMounter plugin
 
202
AC_ARG_ENABLE([diskmounter-plugin],
 
203
        AS_HELP_STRING([--enable-diskmounter-plugin],[Enable the DiskMounter plugin]),
 
204
        enable_diskmounter_plugin=$enableval,
 
205
        enable_diskmounter_plugin=yes)
 
206
 
 
207
AM_CONDITIONAL(ENABLE_DISKMOUNTER_PLUGIN, test "x$enable_diskmounter_plugin" = "xyes")
 
208
 
 
209
if test "x$enable_diskmounter_plugin" != "xno" ; then
 
210
PKG_CHECK_MODULES(GNOME_VFS_SHARP, 
 
211
                  gnome-vfs-sharp-2.0 >= 2.8.0,
 
212
                  has_diskmounter_deps=yes,
 
213
                  has_diskmounter_deps=no)
 
214
AC_SUBST(GNOME_VFS_SHARP_LIBS)
 
215
fi
 
216
 
 
217
if test "x$has_diskmounter_deps" = "xno" ; then
 
218
        if test "x$enable_diskmounter_plugin" = "xyes" ; then
 
219
                dnl Error out if explicitly asked for the Disk Mounter plugin
 
220
                AC_MSG_ERROR([Could not find gnome-vfs-sharp])
 
221
        fi
 
222
        enable_diskmounter_plugin="no"
 
223
else
 
224
        if test "x$enable_diskmounter_plugin" = "xauto" ; then
 
225
                enable_diskmounter_plugin="yes"
 
226
        fi
 
227
fi
 
228
 
 
229
AM_CONDITIONAL(ENABLE_DISKMOUNTER_PLUGIN, test "x$enable_diskmounter_plugin" = "xyes")
201
230
 
202
231
 
203
232
dnl Plugin install paths
218
247
        Amarok/Makefile
219
248
        Banshee/Makefile
220
249
        Banshee/src/Makefile
 
250
        DiskMounter/Makefile
221
251
        Epiphany/Makefile
222
252
        Evolution/Makefile
223
253
        Evolution/src/Makefile