]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
NPAL 18245
authordmv <dmv@opencascade.com>
Thu, 20 Dec 2007 07:07:59 +0000 (07:07 +0000)
committerdmv <dmv@opencascade.com>
Thu, 20 Dec 2007 07:07:59 +0000 (07:07 +0000)
configure.ac

index 11b66b04b4d7fa84cba144f9be2bbd821a6abf9d..225945781fb2e74937879b43300f46277986cd87 100644 (file)
@@ -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