diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-06 14:58:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-07 19:48:59 +0100 |
commit | f7a562a590493904cf10b4fb9af3b42fb3f8a3a2 (patch) | |
tree | a339f723c948d5f53e542d388644abe8d4544acb /util | |
parent | 7a95b2745ae619f6ca4631f3cdb03e12203126f3 (diff) |
[configure] Don't attempt to build GTK+ utilities on system without GTK+
Diffstat (limited to 'util')
-rw-r--r-- | util/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/Makefile.am b/util/Makefile.am index 103bc7106..ca259512b 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -24,10 +24,13 @@ backtrace_symbols_la_LIBADD = -lbfd -liberty #malloc_stats_la_LIBADD = $(backtrace_symbols_la_LIBADD) backtrace-symbols.lo -noinst_PROGRAMS = font-view +noinst_PROGRAMS = +if HAVE_GTK +noinst_PROGRAMS += font-view font_view_CFLAGS = $(gtk_CFLAGS) font_view_LDADD = ../src/libcairo.la $(gtk_LIBS) +endif EXTRA_DIST += \ COPYING \ |