[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/koffice/1.6/koffice/krita
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2006-11-19 15:57:25
Message-ID: 1163951845.192692.25066.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 606191 by rempt:
Fix for bug 125446 (still needs somehow to be ported to CMake)
M +5 -0 colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cc
M +5 -0 colorspaces/rgb_f32/kis_rgb_f32_colorspace.cc
M +7 -0 configure.in.in
--- branches/koffice/1.6/koffice/krita/colorspaces/rgb_f16half/kis_rgb_f16half_colorspace.cc \
#606190:606191 @@ -38,6 +38,11 @@
#include "kis_integer_maths.h"
+#ifndef HAVE_POWF
+#undef powf
+#define powf pow
+#endif
+
//#define HALF_MAX ((half)1.0f) //temp
#define EPSILON HALF_EPSILON
--- branches/koffice/1.6/koffice/krita/colorspaces/rgb_f32/kis_rgb_f32_colorspace.cc \
#606190:606191 @@ -39,6 +39,11 @@
#include "kis_integer_maths.h"
+#ifndef HAVE_POWF
+#undef powf
+#define powf pow
+#endif
+
#define FLOAT_MAX 1.0f //temp
#define EPSILON 1e-6
--- branches/koffice/1.6/koffice/krita/configure.in.in #606190:606191
@@ -99,3 +99,10 @@
# --- End of OpenGL check ---
+# Check for powf.
+
+AC_CHECK_FUNC(powf, [have_powf="yes"], [AC_CHECK_LIB(m, powf, [have_powf="yes"], \
[have_powf="no"])]) +
+if test "$have_powf" = 'yes'; then
+ AC_DEFINE([HAVE_POWF], 1, [Define to 1 if your system has powf in <maths.h>])
+fi
\ No newline at end of file
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic