From 32032d4d589003e7cba256e74df85ae370465f30 Mon Sep 17 00:00:00 2001 From: dmv Date: Thu, 20 Dec 2007 07:07:59 +0000 Subject: [PATCH] NPAL 18245 --- configure.ac | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 11b66b04b..225945781 100644 --- a/configure.ac +++ b/configure.ac @@ -194,6 +194,12 @@ echo ENABLE_PTHREADS +SMESH_WITH_GUI=yes + +AM_CONDITIONAL(SMESH_ENABLE_GUI, [test "${SMESH_WITH_GUI}" = "yes"]) + +if test "${SMESH_WITH_GUI}" = "yes"; then + echo echo --------------------------------------------- echo testing msg2qm @@ -202,6 +208,8 @@ echo CHECK_MSG2QM +fi + if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then echo echo --------------------------------------------- @@ -242,10 +250,6 @@ dnl CHECK_MICO fi -SMESH_WITH_GUI=yes - -AM_CONDITIONAL(SMESH_ENABLE_GUI, [test "${SMESH_WITH_GUI}" = "yes"]) - if test "${SMESH_WITH_GUI}" = "yes"; then echo echo --------------------------------------------- @@ -316,6 +320,8 @@ echo CHECK_CAS +if test "${SMESH_WITH_GUI}" = "yes"; then + echo echo --------------------------------------------- echo Testing qwt @@ -324,6 +330,8 @@ echo CHECK_QWT +fi + echo echo --------------------------------------------- echo Testing html generators @@ -365,7 +373,13 @@ echo --------------------------------------------- echo echo Configure +if test "${SMESH_WITH_GUI}" = "yes"; then variables="cc_ok fortran_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok occ_ok doxygen_ok graphviz_ok qwt_ok Kernel_ok Geom_ok Med_ok" +fi + +if test "${SMESH_WITH_GUI}" = "no"; then +variables="cc_ok fortran_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok hdf5_ok omniORB_ok occ_ok doxygen_ok graphviz_ok Kernel_ok Geom_ok Med_ok" +fi for var in $variables do