From 34165083a911ffb9bf2c6938e3466285d553cfd8 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 3 Aug 2006 06:52:37 +0000 Subject: support Oniguruma for regex. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1113 ee746299-78ed-0310-b773-934348b2243d --- src/about.c | 3 +++ src/prefs_filter_edit.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/about.c b/src/about.c index 2b780fa1..cecf5fbe 100644 --- a/src/about.c +++ b/src/about.c @@ -164,6 +164,9 @@ static void about_create(void) #endif #if USE_GTKSPELL " GtkSpell" +#endif +#if USE_ONIGURUMA + " Oniguruma" #endif ""); diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c index dc80ddeb..5a057c12 100644 --- a/src/prefs_filter_edit.c +++ b/src/prefs_filter_edit.c @@ -521,7 +521,7 @@ CondHBox *prefs_filter_edit_cond_hbox_create(FilterCondEdit *cond_edit) PF_MATCH_EQUAL); MENUITEM_ADD(menu, menuitem, _("is not"), PF_MATCH_NOT_EQUAL); -#ifndef G_OS_WIN32 +#if defined(USE_ONIGURUMA) || defined(HAVE_REGCOMP) MENUITEM_ADD(menu, menuitem, _("match to regex"), PF_MATCH_REGEX); MENUITEM_ADD(menu, menuitem, _("doesn't match to regex"), -- cgit v1.2.3