]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
- remove msg2qm checking
authorTMA salome <tma.salome@opencascade.com>
Wed, 16 Jun 2010 08:38:57 +0000 (08:38 +0000)
committerTMA salome <tma.salome@opencascade.com>
Wed, 16 Jun 2010 08:38:57 +0000 (08:38 +0000)
- add clean_configure script

adm_local/unix/config_files/check_msg2qm.m4 [deleted file]
clean_configure [new file with mode: 0755]
configure.in
configure.in.base

diff --git a/adm_local/unix/config_files/check_msg2qm.m4 b/adm_local/unix/config_files/check_msg2qm.m4
deleted file mode 100755 (executable)
index 30e6376..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# Check availability of Qt's msg2qm tool binary distribution
-#
-# Author : Jerome Roy (CEA, 2003)
-#
-
-AC_DEFUN([CHECK_MSG2QM],[
-AC_CHECKING(for msg2qm)
-
-msg2qm_ok=no
-
-AC_ARG_WITH(msg2qm,
-           [ --with-msg2qm=root_directory_path_of_MSG2QM_installation],
-           MSG2QM_DIR="$withval",MSG2QM_DIR="")
-
-if test "x$MSG2QM_DIR" == "x" ; then
-   # no --with-MSG2QM-dir option used
-   if test "x$MSG2QM_ROOT" != "x" ; then
-      # MSG2QM_ROOT environment variable defined
-      MSG2QM_DIR=$MSG2QM_ROOT
-   else
-      # search MSG2QM binaries in PATH variable
-      AC_PATH_PROG(TEMP, msg2qm)
-      if test "x$TEMP" != "x" ; then
-         MSG2QM_DIR=`dirname $TEMP`
-      fi
-   fi
-fi
-
-# look for msg2qm in ${MSG2QM_DIR} directory
-if test -f ${MSG2QM_DIR}/msg2qm ; then
-   msg2qm_ok=yes
-   MSG2QM="${MSG2QM_DIR}/msg2qm"
-   AC_MSG_RESULT(Using MSG2QM executable in ${MSG2QM_DIR})
-else
-   # if not found, look for msg2qm in ${MSG2QM_DIR}/bin directory
-   if test -f ${MSG2QM_DIR}/bin/msg2qm ; then
-      msg2qm_ok=yes
-      MSG2QM="${MSG2QM_DIR}/bin/msg2qm"
-      AC_MSG_RESULT(Using MSG2QM executable in ${MSG2QM_DIR}/bin)
-   fi
-fi
-
-if test "$msg2qm_ok" == "no"; then
-   # At last, let's have a look in SALOME (until V2.2.X)
-   SALOME_MSG2QM=${KERNEL_ROOT_DIR}/bin/salome/msg2qm   
-   if test -f $SALOME_MSG2QM ; then
-      msg2qm_ok=yes
-      MSG2QM=${SALOME_MSG2QM}
-      AC_MSG_RESULT(Using MSG2QM executable provided with SALOME KERNEL)
-   else
-      AC_MSG_WARN("Cannot find MSG2QM executable in SALOME")
-   fi
-fi
-
-AC_SUBST(MSG2QM)
-AC_MSG_RESULT(for MSG2QM: $msg2qm_ok)
-])dnl
diff --git a/clean_configure b/clean_configure
new file mode 100755 (executable)
index 0000000..e71a8bc
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D
+#
+#  This library is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU Lesser General Public
+#  License as published by the Free Software Foundation; either
+#  version 2.1 of the License.
+#
+#  This library is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public
+#  License along with this library; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+#  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+rm -Rf aclocal.m4 autom4te.cache/ configure configure.in_* salome_adm
+find . -name "*~" -print -exec rm {} \;
+find . -name "*.pyc" -print -exec rm {} \;
index 67eb32c36962f5381b38845c0487df8671cacf0e..5350eb97253a7116217d360b4c595ee8ff7581a6 100644 (file)
@@ -146,14 +146,6 @@ echo
 
 CHECK_SALOME_GUI
 
-echo
-echo ---------------------------------------------
-echo testing msg2qm
-echo ---------------------------------------------
-echo
-
-CHECK_MSG2QM
-
 echo
 echo ---------------------------------------------
 echo Testing Pal
@@ -176,7 +168,7 @@ echo ---------------------------------------------
 echo
 
 echo Configure
-variables="python_ok threads_ok OpenGL_ok qt_ok omniORB_ok Kernel_ok  SalomeGUI_ok msg2qm_ok"
+variables="python_ok threads_ok OpenGL_ok qt_ok omniORB_ok Kernel_ok  SalomeGUI_ok"
 
 for var in $variables
 do
index 41efeccf5ee3feb976b0f421d25da828f0721639..0f2558cfe0c5b0b6908f3795c126f79173898b9a 100644 (file)
@@ -146,14 +146,6 @@ echo
 
 CHECK_SALOME_GUI
 
-echo
-echo ---------------------------------------------
-echo testing msg2qm
-echo ---------------------------------------------
-echo
-
-CHECK_MSG2QM
-
 echo
 echo ---------------------------------------------
 echo Testing Pal
@@ -176,7 +168,7 @@ echo ---------------------------------------------
 echo
 
 echo Configure
-variables="python_ok threads_ok OpenGL_ok qt_ok omniORB_ok Kernel_ok  SalomeGUI_ok msg2qm_ok"
+variables="python_ok threads_ok OpenGL_ok qt_ok omniORB_ok Kernel_ok  SalomeGUI_ok"
 
 for var in $variables
 do