]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Change configuration
authornds <nds@opencascade.com>
Fri, 3 Mar 2006 12:56:39 +0000 (12:56 +0000)
committernds <nds@opencascade.com>
Fri, 3 Mar 2006 12:56:39 +0000 (12:56 +0000)
adm_local/unix/config_files/check_GLViewer.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_OCCViewer.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_Plot2dViewer.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_PyConsole.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_SalomeObject.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_SupervGraphViewer.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_VTKViewer.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_corba_in_GUI.m4 [new file with mode: 0755]
adm_local/unix/config_files/check_disable_Corba.m4 [new file with mode: 0644]
adm_local/unix/config_files/check_full_GUI.m4 [deleted file]
adm_local/unix/config_files/disable_Corba.m4 [deleted file]

diff --git a/adm_local/unix/config_files/check_GLViewer.m4 b/adm_local/unix/config_files/check_GLViewer.m4
new file mode 100644 (file)
index 0000000..90a3041
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_OCCViewer.m4 b/adm_local/unix/config_files/check_OCCViewer.m4
new file mode 100644 (file)
index 0000000..cae33b9
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_Plot2dViewer.m4 b/adm_local/unix/config_files/check_Plot2dViewer.m4
new file mode 100644 (file)
index 0000000..a8fb1ad
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_PyConsole.m4 b/adm_local/unix/config_files/check_PyConsole.m4
new file mode 100644 (file)
index 0000000..503646f
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_SalomeObject.m4 b/adm_local/unix/config_files/check_SalomeObject.m4
new file mode 100644 (file)
index 0000000..453dbd7
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_SupervGraphViewer.m4 b/adm_local/unix/config_files/check_SupervGraphViewer.m4
new file mode 100644 (file)
index 0000000..455f021
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_VTKViewer.m4 b/adm_local/unix/config_files/check_VTKViewer.m4
new file mode 100644 (file)
index 0000000..c2adb23
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_corba_in_GUI.m4 b/adm_local/unix/config_files/check_corba_in_GUI.m4
new file mode 100755 (executable)
index 0000000..007dfc6
--- /dev/null
@@ -0,0 +1,55 @@
+#  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
diff --git a/adm_local/unix/config_files/check_disable_Corba.m4 b/adm_local/unix/config_files/check_disable_Corba.m4
new file mode 100644 (file)
index 0000000..c7b73cb
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# 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
diff --git a/adm_local/unix/config_files/check_full_GUI.m4 b/adm_local/unix/config_files/check_full_GUI.m4
deleted file mode 100755 (executable)
index 44f8247..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#  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
diff --git a/adm_local/unix/config_files/disable_Corba.m4 b/adm_local/unix/config_files/disable_Corba.m4
deleted file mode 100644 (file)
index f2f5e9d..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# 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