--- /dev/null
+#
+# Check configure option --disable-glViewer=[yes|no|DIR] taking into account that
+# DISABLE_GLVIEWER may be already set during build_configure,
+# Set DISABLE_GLVIEWER to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_GLVIEWER],[
+
+AC_ARG_WITH(glViewer,
+ [ --disable-glViewer default=no ],
+ disable_glViewer="$withval",disable_glViewer="${DISABLE_GLVIEWER}")
+
+case $disable_glViewer in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(******* DISABLE GLViewer configuration *****)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_GLVIEWER="yes"
+ AC_SUBST(DISABLE_GLVIEWER)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-occViewer=[yes|no|DIR] taking into account that
+# DISABLE_OCCVIEWER may be already set during build_configure,
+# Set DISABLE_OCCVIEWER to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_OCCVIEWER],[
+
+AC_ARG_WITH(occViewer,
+ [ --disable-occViewer default=no ],
+ disable_occViewer="$withval",disable_occViewer="${DISABLE_OCCVIEWER}")
+
+case $disable_occViewer in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(***** DISABLE OCCViewer configuration ******)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_OCCVIEWER="yes"
+ AC_SUBST(DISABLE_OCCVIEWER)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-plot2dViewer=[yes|no|DIR] taking into account that
+# DISABLE_PLOT2DVIEWER may be already set during build_configure,
+# Set DISABLE_PLOT2DVIEWER to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_PLOT2DVIEWER],[
+
+AC_ARG_WITH(plot2dViewer,
+ [ --disable-plot2dViewer default=no ],
+ disable_plot2dViewer="$withval",disable_plot2dViewer="${DISABLE_PLOT2DVIEWER}")
+
+case $disable_plot2dViewer in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(*** DISABLE Plot2dViewer configuration *****)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_PLOT2DVIEWER="yes"
+ AC_SUBST(DISABLE_PLOT2DVIEWER)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-pyConsole=[yes|no|DIR] taking into account that
+# DISABLE_PYCONSOLE may be already set during build_configure,
+# Set DISABLE_PYCONSOLE to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_PYCONSOLE],[
+
+AC_ARG_WITH(pyConsole,
+ [ --disable-pyConsole default=no ],
+ disable_pyConsole="$withval",disable_pyConsole="${DISABLE_PYCONSOLE}")
+
+case $disable_pyConsole in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(***** DISABLE PyConsole configuration ******)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_PYCONSOLE="yes"
+ AC_SUBST(DISABLE_PYCONSOLE)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-salomeObject=[yes|no|DIR] taking into account that
+# DISABLE_SALOMEOBJECT may be already set during build_configure,
+# Set DISABLE_SALOMEOBJECT to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_SALOMEOBJECT],[
+
+AC_ARG_WITH(salomeObject,
+ [ --disable-salomeObject default=no ],
+ disable_salomeObject="$withval",disable_salomeObject="${DISABLE_SALOMEOBJECT}")
+
+case $disable_salomeObject in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(*** DISABLE Salome object configuration ****)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_SALOMEOBJECT="yes"
+ AC_SUBST(DISABLE_SALOMEOBJECT)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-supervGraphViewer=[yes|no|DIR] taking into account that
+# DISABLE_SUPERVGRAPHVIEWER may be already set during build_configure,
+# Set DISABLE_SUPERVGRAPHVIEWER to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_SUPERVGRAPHVIEWER],[
+
+AC_ARG_WITH(supervGraphViewer,
+ [ --disable-supervGraphViewer default=no ],
+ disable_supervGraphViewer="$withval",disable_supervGraphViewer="${DISABLE_SUPERVGRAPHVIEWER}")
+
+case $disable_supervGraphViewer in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(******* DISABLE SupervGraphViewer configuration ********)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_SUPERVGRAPHVIEWER="yes"
+ AC_SUBST(DISABLE_SUPERVGRAPHVIEWER)
+esac
+
+
+])dnl
--- /dev/null
+#
+# Check configure option --disable-vtkViewer=[yes|no|DIR] taking into account that
+# DISABLE_VTKVIEWER may be already set during build_configure,
+# Set DISABLE_VTKVIEWER to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_VTKVIEWER],[
+
+AC_ARG_WITH(vtkViewer,
+ [ --disable-vtkViewer default=no ],
+ disable_vtkViewer="$withval",disable_vtkViewer="${DISABLE_VTKVIEWER}")
+
+case $disable_vtkViewer in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(***** DISABLE VTK Viewer configuration *****)
+# AC_MSG_RESULT(************************************************)
+ DISABLE_VTKVIEWER="yes"
+ AC_SUBST(DISABLE_VTKVIEWER)
+esac
+
+
+])dnl
--- /dev/null
+# Check availability of full Salome binary distribution
+#
+# Author : Marc Tajchman (CEA, 2002)
+#------------------------------------------------------------
+
+AC_DEFUN([CHECK_CORBA_IN_GUI],[
+
+AC_CHECKING(for full SalomeGUI)
+
+SalomeGUI_ok=no
+CORBA_IN_GUI="no"
+
+AC_ARG_WITH(gui,
+ --with-salome_gui=DIR root directory path of full SALOME GUI installation,
+ SALOME_GUI_DIR="$withval",SALOME_GUI_DIR="")
+
+if test "x$SALOME_GUI_DIR" = "x" ; then
+
+# no --with-gui-dir option used
+
+ if test "x$GUI_ROOT_DIR" != "x" ; then
+
+ # SALOME_ROOT_DIR environment variable defined
+ SALOME_GUI_DIR=$GUI_ROOT_DIR
+
+ else
+
+ # search Salome binaries in PATH variable
+ AC_PATH_PROG(TEMP, libSalomeApp.so)
+ if test "x$TEMP" != "x" ; then
+ SALOME_BIN_DIR=`dirname $TEMP`
+ SALOME_GUI_DIR=`dirname $SALOME_BIN_DIR`
+ fi
+
+ fi
+#
+fi
+
+if test -f ${SALOME_GUI_DIR}/lib/salome/libSalomeApp.so ; then
+ SalomeGUI_ok=yes
+ CORBA_IN_GUI=yes
+ AC_MSG_RESULT(Using SALOME GUI distribution in ${SALOME_GUI_DIR})
+
+ if test "x$GUI_ROOT_DIR" == "x" ; then
+ GUI_ROOT_DIR=${SALOME_GUI_DIR}
+ fi
+else
+ AC_MSG_WARN("Cannot find compiled full SALOME GUI distribution")
+fi
+AC_SUBST(CORBA_IN_GUI)
+
+AC_MSG_RESULT(for full SALOME GUI: $SalomeGUI_ok)
+
+])dnl
+
--- /dev/null
+#
+# Check configure option --disable-corba=[yes|no|DIR] taking into account that
+# GUI_DISABLE_CORBA may be already set during build_configure,
+# Set GUI_DISABLE_CORBA to yes|no
+#
+# Author : Edawrd AGAPOV (OCC, 2005)
+#
+
+AC_DEFUN([CHECK_DISABLE_CORBA],[
+
+AC_ARG_WITH(corba,
+ [ --disable-corba default=no ],
+ disable_corba="$withval",disable_corba="${GUI_DISABLE_CORBA}")
+
+case $disable_corba in
+ yes)
+# AC_MSG_RESULT(************************************************)
+# AC_MSG_RESULT(******* DISABLE CORBA configuration ********)
+# AC_MSG_RESULT(************************************************)
+ GUI_DISABLE_CORBA="yes";;
+ *)
+ GUI_DISABLE_CORBA="no"
+esac
+
+AC_SUBST(GUI_DISABLE_CORBA)
+
+])dnl
+++ /dev/null
-# Check availability of full Salome binary distribution
-#
-# Author : Marc Tajchman (CEA, 2002)
-#------------------------------------------------------------
-
-AC_DEFUN([CHECK_FULL_GUI],[
-
-AC_CHECKING(for full SalomeGUI)
-
-SalomeGUI_ok=no
-FULL_GUI="no"
-
-AC_ARG_WITH(gui,
- --with-salome_gui=DIR root directory path of full SALOME GUI installation,
- SALOME_GUI_DIR="$withval",SALOME_GUI_DIR="")
-
-if test "x$SALOME_GUI_DIR" = "x" ; then
-
-# no --with-gui-dir option used
-
- if test "x$GUI_ROOT_DIR" != "x" ; then
-
- # SALOME_ROOT_DIR environment variable defined
- SALOME_GUI_DIR=$GUI_ROOT_DIR
-
- else
-
- # search Salome binaries in PATH variable
- AC_PATH_PROG(TEMP, libSalomeApp.so)
- if test "x$TEMP" != "x" ; then
- SALOME_BIN_DIR=`dirname $TEMP`
- SALOME_GUI_DIR=`dirname $SALOME_BIN_DIR`
- fi
-
- fi
-#
-fi
-
-if test -f ${SALOME_GUI_DIR}/lib/salome/libSalomeApp.so ; then
- SalomeGUI_ok=yes
- FULL_GUI=yes
- AC_MSG_RESULT(Using SALOME GUI distribution in ${SALOME_GUI_DIR})
-
- if test "x$GUI_ROOT_DIR" == "x" ; then
- GUI_ROOT_DIR=${SALOME_GUI_DIR}
- fi
-else
- AC_MSG_WARN("Cannot find compiled full SALOME GUI distribution")
-fi
-AC_SUBST(FULL_GUI)
-
-AC_MSG_RESULT(for full SALOME GUI: $SalomeGUI_ok)
-
-])dnl
-
+++ /dev/null
-#
-# Check configure option --disable-corba=[yes|no|DIR] taking into account that
-# GUI_DISABLE_CORBA may be already set during build_configure,
-# Set GUI_DISABLE_CORBA to yes|no
-#
-# Author : Edawrd AGAPOV (OCC, 2005)
-#
-
-AC_DEFUN([DISABLE_CORBA],[
-
-AC_ARG_WITH(corba,
- [ --disable-corba default=no ],
- disable_corba="$withval",disable_corba="${GUI_DISABLE_CORBA}")
-
-case $disable_corba in
- yes)
-# AC_MSG_RESULT(************************************************)
-# AC_MSG_RESULT(******* DISABLE CORBA configuration ********)
-# AC_MSG_RESULT(************************************************)
- GUI_DISABLE_CORBA="yes";;
- *)
- GUI_DISABLE_CORBA="no"
-esac
-
-AC_SUBST(GUI_DISABLE_CORBA)
-
-])dnl