[gegl] build: fixing problem with --enable-debug



commit 924cf00dcf93ea8f43094dd144789842c2c8ae17
Author: Victor Oliveira <victormatheus gmail com>
Date:   Sun Mar 25 15:13:38 2012 -0300

    build: fixing problem with --enable-debug

 gegl/buffer/gegl-buffer-cl-cache.c |    1 +
 gegl/opencl/gegl-cl-color.c        |    1 +
 gegl/opencl/gegl-cl-init.c         |    4 +++-
 3 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-cl-cache.c b/gegl/buffer/gegl-buffer-cl-cache.c
index 9cef900..a13d21a 100644
--- a/gegl/buffer/gegl-buffer-cl-cache.c
+++ b/gegl/buffer/gegl-buffer-cl-cache.c
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <glib.h>
 
 #include "gegl.h"
diff --git a/gegl/opencl/gegl-cl-color.c b/gegl/opencl/gegl-cl-color.c
index bc20f8e..20b91db 100644
--- a/gegl/opencl/gegl-cl-color.c
+++ b/gegl/opencl/gegl-cl-color.c
@@ -1,3 +1,4 @@
+#include "config.h"
 #include "gegl.h"
 #include "gegl/gegl-debug.h"
 #include "gegl-cl-color.h"
diff --git a/gegl/opencl/gegl-cl-init.c b/gegl/opencl/gegl-cl-init.c
index 5af6ea9..a5df1a3 100644
--- a/gegl/opencl/gegl-cl-init.c
+++ b/gegl/opencl/gegl-cl-init.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #define __GEGL_CL_INIT_MAIN__
 #include "gegl-cl-init.h"
 #undef __GEGL_CL_INIT_MAIN__
@@ -184,7 +186,7 @@ gegl_cl_init (GError **error)
 
       if (!module)
         {
-          g_message ("Unable to load OpenCL library");
+          GEGL_NOTE (GEGL_DEBUG_OPENCL, "Unable to load OpenCL library");
           return FALSE;
         }
 



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