This patch adds a new --enable-float switch to the configuration
script. By default, the floating-point paths are off, and nothing
changes in the Pixman code.
---
 configure.ac |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index dbff2a6..06cca81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -575,6 +575,20 @@ if test $enable_timers = yes ; then
 fi
 AC_SUBST(PIXMAN_TIMERS)
 
+dnl ==============================================
+dnl Float
+
+AC_ARG_ENABLE(float,
+   [AC_HELP_STRING([--enable-float],
+                  [enable floating-point paths [default=no]])],
+   [enable_float=$enableval], [enable_float=no])
+
+if test $enable_float = yes ; then
+   AC_DEFINE(USE_FLOAT, 1, [enable floating-point paths])
+fi
+
+AM_CONDITIONAL(USE_FLOAT, test $enable_float = yes)
+
 dnl ===================================
 dnl GTK+
 
-- 
1.6.3.3

_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to