From 4b77671de3cdcdd7ffbf36e71decdd9cee5d0581 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 6 May 2009 10:06:27 +0000 Subject: [PATCH] Issue 0020343: [WNT] Do not compile DSC_User and DSC_Python --- configure.ac | 3 +++ src/DSC/Makefile.am | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 844d28f58..1a596d082 100644 --- a/configure.ac +++ b/configure.ac @@ -403,6 +403,9 @@ echo CHECK_HTML_GENERATORS +# Additional conditional to avoid compilation of non-portable code +AM_CONDITIONAL(WINDOWS, 0) + echo echo ============================================================ echo Summary diff --git a/src/DSC/Makefile.am b/src/DSC/Makefile.am index 46a9e4106..1a512d102 100644 --- a/src/DSC/Makefile.am +++ b/src/DSC/Makefile.am @@ -23,10 +23,19 @@ # Author : André RIBES (EDF) # Module : KERNEL # + +SUBDIRS_COMMON = DSC_Basic + +if !WINDOWS + SUBDIRS_ADD = DSC_User DSC_Python +endif + if WITH_PACO_PARALLEL -SUBDIR_PAR = ParallelDSC + SUBDIR_PAR = ParallelDSC endif -SUBDIRS = DSC_Basic DSC_User $(SUBDIR_PAR) DSC_Python +SUBDIRS = $(SUBDIRS_COMMON) $(SUBDIRS_ADD) $(SUBDIR_PAR) EXTRA_DIST= DSC.dox + +DIST_SUBDIRS = DSC_Basic DSC_User DSC_Python ParallelDSC -- 2.39.2