File mysql-workbench-gpl-5.2.34-ctemplate-fix.patch of Package mysql-workbench

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -319,7 +319,7 @@ AC_SUBST(CTEMPLATE_LIBS)
 #AM_CONDITIONAL(BUILD_PHP, test "x$enable_php" = "xyes")
 AM_CONDITIONAL(USE_READLINE, test "x$use_readline" = "xyes")
 #AM_CONDITIONAL(BUILD_FASTCGI, test "x$enable_cgi" = "xyes")
-AM_CONDITIONAL(BUILD_CTEMPLATE, test "x$ac_system_ctemplate" = "xyes")
+AM_CONDITIONAL(BUILD_CTEMPLATE, test "x$ac_system_ctemplate" \!= "xyes")
 AM_CONDITIONAL(BUILD_SE, test "x$std_edition" = "xyes")
 AM_CONDITIONAL(BUNDLE_UTILITIES, test "x$bundle_utilities" = "xyes")
 
Index: ext/Makefile.am
===================================================================
--- ext/Makefile.am.orig
+++ ext/Makefile.am
@@ -1,10 +1,5 @@
 
-if BUILD_CTEMPLATE
-else
-ctemplate_dirs=ctemplate 
-endif
-
-SUBDIRS=scintilla/gtk cppconn vsqlite++ $(ctemplate_dirs)
+SUBDIRS=scintilla/gtk cppconn vsqlite++
 
 if BUNDLE_UTILITIES
 all-am:
openSUSE Build Service is sponsored by