From ecaa9d9a354980e1f1388d004e1864e1290bf825 Mon Sep 17 00:00:00 2001 From: Raja R Harinath Date: Sun, 8 Nov 1998 21:45:33 +0000 Subject: [PATCH] Don't build if not BUILD_GNOME_SUPPORT. * Makefile.am (support): Don't build if not BUILD_GNOME_SUPPORT. --- ChangeLog | 4 ++++ Makefile.am | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7c07713e..bbccb00e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1998-11-08 Raja R Harinath + + * Makefile.am (support): Don't build if not BUILD_GNOME_SUPPORT. + 1998-11-02 Martin Baulig * include/glibtop/parameter.h: Added `GLIBTOP_PARAM_REQUIRED'. diff --git a/Makefile.am b/Makefile.am index b5bb98ac..53fb49a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,11 @@ else examples_SUBDIRS = endif -SUBDIRS = po intl support macros misc include sysdeps lib src \ +if BUILD_GNOME_SUPPORT +support = support +endif + +SUBDIRS = po intl $(support) macros misc include sysdeps lib src \ $(examples_SUBDIRS) include_HEADERS = glibtop.h @@ -27,7 +31,7 @@ bin_SCRIPTS = $(top_builddir)/libgtop-config ## to automatically rebuild aclocal.m4 if any of the macros in ## `macros/' change -@MAINT@include macros/macros.dep +@MAINT@ include macros/macros.dep @MAINT@macros/macros.dep: macros/Makefile.am @MAINT@ cd macros && $(MAKE) macros.dep