Only build GUI when the necessary dependencies are found.

Sat Jan 14 18:24:43 2006  Soeren Sandmann  <sandmann@redhat.com>

        * configure.ac, Makefile.am: Only build GUI when the necessary
        dependencies are found.

        * sysprof.c (compute_text_width): Remove unused variable

        * profile.c (build_object_list): Follow next instead of siblings.
This commit is contained in:
Soeren Sandmann
2006-01-14 23:26:34 +00:00
committed by Søren Sandmann Pedersen
parent 9125c4e644
commit 98308836af
7 changed files with 39 additions and 12 deletions

View File

@ -1,7 +1,11 @@
SUBDIRS = $(MODULE_SUBDIR)
DIST_SUBDIRS = module
bin_PROGRAMS = sysprof sysprof-text
bin_PROGRAMS = sysprof-text
if BUILD_GUI
bin_PROGRAMS += sysprof
endif
SYSPROF_CORE = \
binfile.h \
@ -23,6 +27,7 @@ SYSPROF_CORE = \
#
# GUI version
#
if BUILD_GUI
sysprof_SOURCES = \
$(SYSPROF_CORE) \
@ -37,6 +42,8 @@ sysprof_CPPFLAGS = \
sysprof_LDADD = $(GUI_DEP_LIBS)
endif
udevdir = $(sysconfdir)/udev/rules.d
dist_udev_DATA = 60-sysprof.rules