projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dec2e3
)
Only define PIXMAN_TIMERS if timers are actually enabled [bug 23169]
author
Søren Sandmann Pedersen
<sandmann@redhat.com>
Fri, 7 Aug 2009 04:11:20 +0000
(
00:11
-0400)
committer
Søren Sandmann Pedersen
<sandmann@redhat.com>
Fri, 7 Aug 2009 04:11:20 +0000
(
00:11
-0400)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
ad77b95
..
a466b86
100644
(file)
--- 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 ===================================