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
CHECK_MSG2QM
+fi
+
if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then
echo
echo ---------------------------------------------
fi
-SMESH_WITH_GUI=yes
-
-AM_CONDITIONAL(SMESH_ENABLE_GUI, [test "${SMESH_WITH_GUI}" = "yes"])
-
if test "${SMESH_WITH_GUI}" = "yes"; then
echo
echo ---------------------------------------------
CHECK_CAS
+if test "${SMESH_WITH_GUI}" = "yes"; then
+
echo
echo ---------------------------------------------
echo Testing qwt
CHECK_QWT
+fi
+
echo
echo ---------------------------------------------
echo Testing html generators
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