From f4b4a76f0aba21fcd1ed092981b64959bd39271c Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Wed, 25 Jun 2003 15:20:30 +0000
Subject: [PATCH] Add GRAPE to SUBDIRS if conditional GRAPE is true.

---
 Makefile.am | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 588a62c..b114971 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,12 @@
-SUBDIRS = BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT
+if GRAPE
+ SUBDIRS = BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT GRAPE
+else 
+ SUBDIRS = BLAS ALBERT_UTIL SOLVER PLOT_ANSI ALBERT
+endif
 
-EXTRA_DIST = DEMO
+ACLOCAL_AMFLAGS  = -I ./m4
+
+EXTRA_DIST = DEMO m4/check-package.m4
 
 # This target only makes sense for maintainers!!
 cvs-clean:
-- 
GitLab