[vte] build: Try to fix the --without-pcre2 build



commit 8d234271b43ad7cd76a9fb2422059149497a578a
Author: Christian Persch <chpe gnome org>
Date:   Wed Nov 18 22:04:04 2015 +0100

    build: Try to fix the --without-pcre2 build
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758306

 src/vtegtk.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/vtegtk.cc b/src/vtegtk.cc
index bae620e..433e433 100644
--- a/src/vtegtk.cc
+++ b/src/vtegtk.cc
@@ -1926,9 +1926,10 @@ vte_terminal_search_set_regex (VteTerminal *terminal,
                                VteRegex    *regex,
                                guint32      flags)
 {
+#ifdef WITH_PCRE2
         g_return_if_fail(VTE_IS_TERMINAL(terminal));
-
         terminal->pvt->search_set_regex(regex, flags);
+#endif
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]