From 46ad1fdac9995f3a11f2af71c64223ff83cfb942 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Mon, 8 Nov 2010 13:01:58 +0000 Subject: [PATCH] Removed dependency on VISU module --- adm_local/unix/config_files/check_visu.m4 | 58 ----------------------- configure.in | 21 -------- configure.in.base | 21 -------- 3 files changed, 100 deletions(-) delete mode 100644 adm_local/unix/config_files/check_visu.m4 diff --git a/adm_local/unix/config_files/check_visu.m4 b/adm_local/unix/config_files/check_visu.m4 deleted file mode 100644 index 9aa8803e..00000000 --- a/adm_local/unix/config_files/check_visu.m4 +++ /dev/null @@ -1,58 +0,0 @@ -# Check availability of Salome's VISU binary distribution -# -# Author : Jerome Roy (CEA, 2003) -# - -AC_DEFUN([CHECK_VISU],[ - -AC_CHECKING(for Visu) - -Visu_ok=no - -AC_ARG_WITH(visu, - [ --with-visu=DIR root directory path of VISU build or installation], - VISU_DIR="$withval",VISU_DIR="") - -if test "x$VISU_DIR" = "x" ; then - -# no --with-visu-dir option used - - if test "x$VISU_ROOT_DIR" != "x" ; then - - # VISU_ROOT_DIR environment variable defined - VISU_DIR=$VISU_ROOT_DIR - - else - - # search Visu binaries in PATH variable - AC_PATH_PROG(TEMP, runSalome) - if test "x$TEMP" != "x" ; then - VISU_BIN_DIR=`dirname $TEMP` - VISU_DIR=`dirname $VISU_BIN_DIR` - fi - - fi -# -fi - -if test -f ${VISU_DIR}/bin/salome/visu.py ; then - Visu_ok=yes - AC_MSG_RESULT(Using Visu module distribution in ${VISU_DIR}) - - if test "x$VISU_ROOT_DIR" = "x" ; then - VISU_ROOT_DIR=${VISU_DIR} - fi - if test "x$VISU_SITE_DIR" = "x" ; then - VISU_SITE_DIR=${VISU_ROOT_DIR} - fi - AC_SUBST(VISU_ROOT_DIR) - AC_SUBST(VISU_SITE_DIR) - -else - AC_MSG_WARN("Cannot find compiled Visu module distribution") -fi - -AC_MSG_RESULT(for Visu: $Visu_ok) - -])dnl - diff --git a/configure.in b/configure.in index 4bf96dee..6ff06f36 100644 --- a/configure.in +++ b/configure.in @@ -146,13 +146,6 @@ echo CHECK_SALOME_GUI -echo -echo --------------------------------------------- -echo Testing Visu -echo --------------------------------------------- -echo - -CHECK_VISU echo echo --------------------------------------------- echo Summary @@ -172,20 +165,6 @@ echo echo "Default ORB : $DEFAULT_ORB" echo -echo -echo --------------------------------------------- -echo RunTime Dependencies -echo --------------------------------------------- -echo -variables="Visu_ok" - -for var in $variables -do - printf " %10s : " `echo \$var | sed -e "s,_ok,,"` - eval echo \$$var -done - - dnl generals files which could be included in every makefile diff --git a/configure.in.base b/configure.in.base index fd489c87..46f5ed04 100644 --- a/configure.in.base +++ b/configure.in.base @@ -146,13 +146,6 @@ echo CHECK_SALOME_GUI -echo -echo --------------------------------------------- -echo Testing Visu -echo --------------------------------------------- -echo - -CHECK_VISU echo echo --------------------------------------------- echo Summary @@ -172,20 +165,6 @@ echo echo "Default ORB : $DEFAULT_ORB" echo -echo -echo --------------------------------------------- -echo RunTime Dependencies -echo --------------------------------------------- -echo -variables="Visu_ok" - -for var in $variables -do - printf " %10s : " `echo \$var | sed -e "s,_ok,,"` - eval echo \$$var -done - - dnl generals files which could be included in every makefile -- 2.39.2