-if test "x$with_toolkit" != "xgtk"; then
- PKG_CHECK_MODULES(MODEST_WPEDITOR,wpeditor,have_wpeditor=true,have_wpeditor=false)
- if test "x$have_wpeditor" == "xfalse"; then
- PKG_CHECK_MODULES(MODEST_WPEDITOR,libwpeditor-plus,have_libwpeditorplus=true,have_libwpeditorplus=false)
- if test "x$have_libwpeditorplus" == "xtrue"; then
- wpeditor="libwpeditor-plus"
- AC_DEFINE_UNQUOTED(MODEST_HAVE_LIBWPEDITOR_PLUS, 1, ["Whether libwpeditor-plus is used."])
- else
- AC_MSG_ERROR([you need to have either wpeditor or libwpeditor-plus installed])
- fi
+PKG_CHECK_MODULES(MODEST_WPEDITOR,wpeditor,have_wpeditor=true,have_wpeditor=false)
+if test "x$have_wpeditor" == "xfalse"; then
+ PKG_CHECK_MODULES(MODEST_WPEDITOR,libwpeditor-plus,have_libwpeditorplus=true,have_libwpeditorplus=false)
+ if test "x$have_libwpeditorplus" == "xtrue"; then
+ wpeditor="libwpeditor-plus"
+ AC_DEFINE_UNQUOTED(MODEST_HAVE_LIBWPEDITOR_PLUS, 1, ["Whether libwpeditor-plus is used."])