]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix GUI compilation problem in light mode (without CORBA):
authorvsr <vsr@opencascade.com>
Mon, 29 May 2006 13:05:05 +0000 (13:05 +0000)
committervsr <vsr@opencascade.com>
Mon, 29 May 2006 13:05:05 +0000 (13:05 +0000)
- replace --disable-corba option by --disable-corba-gen (as in KERNEL)
- KERNEL module still should be checked

adm_local/unix/config_files/check_disable_Corba.m4
configure.in.base

index c7b73cb7e213cffb44dd755941b59f0caf1eac9a..5c777c3c1684f5c82cb19cd460a3c50e680cb815 100644 (file)
@@ -9,7 +9,7 @@
 AC_DEFUN([CHECK_DISABLE_CORBA],[
 
 AC_ARG_WITH(corba,
-           [  --disable-corba default=no ],
+           [  --disable-corba-gen default=no ],
            disable_corba="$withval",disable_corba="${GUI_DISABLE_CORBA}")
 
 case $disable_corba in
index 0fbcf69ca5a69b973f8b4c46da8af9d2a7b670e0..4b7af75f9f2f7ca8b2835caef598d2932b315b54 100644 (file)
@@ -29,7 +29,7 @@ AC_SUBST(VERSION)
 AC_SUBST(XVERSION)
 
 ########################################################################
-# Check --disable-corba option
+# Check --disable-corba-gen and other --disable-* options
 
 GUI_DISABLE_CORBA="no"
 DISABLE_PYCONSOLE="no"
@@ -43,7 +43,7 @@ DISABLE_SALOMEOBJECT="no"
 for option
 do
   case $option in
-      -disable-corba=yes | --disable-corba=yes | -disable-corba | --disable-corba)
+      -disable-corba-gen=yes | --disable-corba-gen=yes | -disable-corba-gen | --disable-corba-gen)
           GUI_DISABLE_CORBA="yes";;
       -disable-pyConsole=yes | --disable-pyConsole=yes | -disable-pyConsole | --disable-pyConsole)
           DISABLE_PYCONSOLE="yes";;
@@ -436,14 +436,12 @@ echo
 
 CHECK_HTML_GENERATORS
 
-if test "$GUI_DISABLE_CORBA" == "no"; then 
-  echo
-  echo ---------------------------------------------
-  echo Testing Kernel
-  echo ---------------------------------------------
-  echo
-  CHECK_KERNEL
-fi
+echo
+echo ---------------------------------------------
+echo Testing Kernel
+echo ---------------------------------------------
+echo
+CHECK_KERNEL
 
 echo
 echo ---------------------------------------------