From f151f7ca3866adabc4525c4af357d281ccfadfe3 Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 6 Sep 2003 11:20:46 +0000 Subject: [PATCH] * Do not distribute xlib.scm if X11 support wasn't found. * Ditto for motif.scm, xaw.scm and xwidgets.scm. git-svn-id: svn://svn.zoy.org/elk/trunk@101 55e467fa-43c5-0310-a8a2-de718669efc6 --- scm/Makefile.am | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/scm/Makefile.am b/scm/Makefile.am index e1e7a05..ab5099e 100644 --- a/scm/Makefile.am +++ b/scm/Makefile.am @@ -12,7 +12,7 @@ SCM_FILES = \ describe.scm \ $(gdbmtest_scm) \ initscheme.scm \ - motif.scm \ + $(motif_scm) \ oops.scm \ parse.scm \ pp.scm \ @@ -26,11 +26,23 @@ SCM_FILES = \ toplevel.scm \ trace.scm \ unix.scm \ - xlib.scm \ - xaw.scm \ - xwidgets.scm \ + $(xlib_scm) \ + $(xaw_scm) \ + $(xwidgets_scm) \ $(NULL) if HAVE_GDBM gdbmtest_scm = gdbmtest.scm endif +if HAVE_X11 +xlib_scm = xlib.scm +endif +if HAVE_XAW +xaw_scm = xaw.scm +xwidgets_scm = xwidgets.scm +endif +if HAVE_MOTIF +motif_scm = motif.scm +xwidgets_scm = xwidgets.scm +endif +