projects
/
platform
/
upstream
/
libdrm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: Allow forcible disabling of Cairo support
[platform/upstream/libdrm.git]
/
tests
/
modetest
/
Makefile.am
diff --git
a/tests/modetest/Makefile.am
b/tests/modetest/Makefile.am
index
b5ec771
..
065ae13
100644
(file)
--- a/
tests/modetest/Makefile.am
+++ b/
tests/modetest/Makefile.am
@@
-1,8
+1,7
@@
AM_CFLAGS = \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)/libkms/ \
AM_CFLAGS = \
-I$(top_srcdir)/include/drm \
-I$(top_srcdir)/libkms/ \
- -I$(top_srcdir) \
- $(CAIRO_CFLAGS)
+ -I$(top_srcdir)
noinst_PROGRAMS = \
modetest
noinst_PROGRAMS = \
modetest
@@
-12,5
+11,9
@@
modetest_SOURCES = \
modetest_LDADD = \
$(top_builddir)/libdrm.la \
modetest_LDADD = \
$(top_builddir)/libdrm.la \
- $(top_builddir)/libkms/libkms.la \
- $(CAIRO_LIBS)
+ $(top_builddir)/libkms/libkms.la
+
+if HAVE_CAIRO
+AM_CFLAGS += $(CAIRO_CFLAGS)
+modetest_LDADD += $(CAIRO_LIBS)
+endif