From 834178ebb0622a3688e11bb313412f442ba0a5f6 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 11 Apr 2006 05:10:15 +0000 Subject: [PATCH] in case when CORBA using is disabled (light configuration) python product is excluded from list of mandatory products --- configure.ac | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 54c7346b0..a82beac33 100644 --- a/configure.ac +++ b/configure.ac @@ -379,7 +379,7 @@ function check_fatal_error { if test x$corba_gen = xtrue; then basic_mandatory_products="cc_ok threads_ok python_ok swig_ok hdf5_ok occ_ok" else - basic_mandatory_products="cc_ok threads_ok python_ok hdf5_ok occ_ok" + basic_mandatory_products="cc_ok threads_ok hdf5_ok occ_ok" fi echo --- General mandatory products - Light configuration: @@ -394,6 +394,13 @@ if test x$corba_gen = xtrue; then check_fatal_error $corba_mandatory_products else echo --- CORBA products not required - option --disable-corba-gen + if test x"$WITH_BATCH" = xyes; then + echo --- BATCH mode mandatory products - default configuration: + summary "python_ok" + check_fatal_error "python_ok" + else + echo --- Python not required - option --enable-batch=no + fi fi echo -- 2.39.2