AM_CONDITIONAL(USE_GCC_INLINE_ASM, test $have_gcc_inline_asm = yes)
+dnl ==============================================
+dnl Timers
+
+AC_ARG_ENABLE(timers,
+ [AC_HELP_STRING([--enable-timers],
+ [enable TIMER_BEGIN and TIMER_END macros [default=no]])],
+ [enable_timers=$enableval], [enable_timers=no])
+
+AC_DEFINE(PIXMAN_TIMERS, 1, [enable TIMER_BEGIN/TIMER_END macros])
+AC_SUBST(PIXMAN_TIMERS)
+
dnl ===================================
dnl GTK+
pixman_region16_data_t *empty_data,
pixman_region16_data_t *broken_data);
-#ifdef PIXMAN_TIMING
+#ifdef PIXMAN_TIMERS
/* Timing */
static inline uint64_t
timer##tname.total += OIL_STAMP() - begin##tname; \
}
-#endif /* PIXMAN_TIMING */
+#endif /* PIXMAN_TIMERS */
typedef struct pixman_implementation_t pixman_implementation_t;