From 4ef2807c3a6697731ada43ddad2fa915ed7cfe11 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Fri, 7 Aug 2009 00:11:20 -0400 Subject: [PATCH] Only define PIXMAN_TIMERS if timers are actually enabled [bug 23169] --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ad77b95..a466b86 100644 --- a/configure.ac +++ b/configure.ac @@ -462,7 +462,9 @@ AC_ARG_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]) +if test $enable_timers = yes ; then + AC_DEFINE(PIXMAN_TIMERS, 1, [enable TIMER_BEGIN/TIMER_END macros]) +fi AC_SUBST(PIXMAN_TIMERS) dnl =================================== -- 2.7.4