]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix a bug of CHECK_SALOME_GUI check procedure
authorvsr <vsr@opencascade.com>
Mon, 30 Oct 2006 08:13:02 +0000 (08:13 +0000)
committervsr <vsr@opencascade.com>
Mon, 30 Oct 2006 08:13:02 +0000 (08:13 +0000)
adm_local/unix/config_files/check_GUI.m4

index ff090e7b9b843f8e6b63eb3e3fb934fcf5e5a0b8..e0b0e24ae518b443656bf99cf25bbc9c1279b6bb 100755 (executable)
@@ -27,14 +27,14 @@ if test "x${SALOME_GUI_DIR}" = "x" ; then
     # search Salome binaries in PATH variable
     AC_PATH_PROG(TEMP, $1)
     if test "x${TEMP}" != "x" ; then
-      AC_MSG_RESULT(libLightApp.so was found at : ${TEMP})
+      AC_MSG_RESULT($1 was found at : ${TEMP})
       SALOME_BIN_DIR=`dirname ${TEMP}`
       SALOME_GUI_DIR=`cd ${SALOME_BIN_DIR}/../..; pwd`
     fi
   fi
 fi
 
-if test -f ${SALOME_GUI_DIR}/lib${LIB_LOCATION_SUFFIX}/salome/$1 ; then
+if test -f ${SALOME_GUI_DIR}/bin/salome/$1 ; then
   SalomeGUI_ok=yes
   AC_MSG_RESULT(Using SALOME GUI distribution in ${SALOME_GUI_DIR})
 
@@ -58,6 +58,6 @@ AC_MSG_RESULT(for $2: ${SalomeGUI_ok})
 ])dnl
 
 AC_DEFUN([CHECK_SALOME_GUI],[
-  CHECK_GUI([libLightApp.so],
+  CHECK_GUI([SUITApp],
             [SALOME GUI])
-])dnl
\ No newline at end of file
+])dnl