]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: merge from OCC_debug_for_3_2_0b1_18avr06
authorprascle <prascle>
Tue, 18 Apr 2006 14:20:50 +0000 (14:20 +0000)
committerprascle <prascle>
Tue, 18 Apr 2006 14:20:50 +0000 (14:20 +0000)
14 files changed:
DEPRECATED/configure.in.base
INSTALL
bin/VERSION
doc/salome/tui/KERNEL/doxyfile
doc/salome/tui/KERNEL/sources/static/tree.js
resources/CatalogResources.xml
resources/KERNELCatalog.xml
salome_adm/unix/DEPRECATED/make_commence.in
salome_adm/unix/DEPRECATED/make_conclude.in
salome_adm/unix/config_files/check_Kernel.m4
salome_adm/unix/config_files/check_qt.m4
salome_adm/unix/config_files/python.m4
salome_adm/unix/make_common_starter.am
src/Basics/Makefile.am

index 81cde052a3b3759aa490a6538cca2bca69ef0aaa..d2debb47f506d99ed88b0c551cc95dd3c33a27e6 100644 (file)
@@ -410,7 +410,7 @@ else
 fi
 
 # make other build directories
-for rep in salome_adm adm_local doc bin/salome include/salome lib/salome share/salome/resources idl
+for rep in salome_adm adm_local doc bin/salome include/salome lib${LIB_LOCATION_SUFFIX}/salome share/salome/resources idl
 do
 #   if test ! -d $rep ; then
 #      eval mkdir $rep
diff --git a/INSTALL b/INSTALL
index 0e419e00a0f1666ed945e7b2a1896d943aed49ea..3bcbb6f16c9a15371c6b3c1f9746b346a8c37291 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
-This is the version 3.2.0a2 of KERNEL
+This is the version 3.2.0b1 of KERNEL
 Previous versions :
         - 3.1.0
         - 3.0.0
index e0bb8eee329e9a05ad1fcc011c11b71b7a9d79b2..544b3b9b3c870b61cb77f0151a5ac4b36ad110b0 100755 (executable)
@@ -1 +1 @@
-THIS IS SALOME - KERNEL VERSION: 3.2.0a2
+THIS IS SALOME - KERNEL VERSION: 3.2.0b1
index c19b684b2f6f2e967aed2364537a9567e0283d7f..91f994ed5db2fc01260dce656307f296872c5b71 100755 (executable)
@@ -3,7 +3,7 @@
 #---------------------------------------------------------------------------
 # General configuration options
 #---------------------------------------------------------------------------
-PROJECT_NAME           = "SALOME v.3.2.0a2"
+PROJECT_NAME           = "SALOME v.3.2.0b1"
 PROJECT_NUMBER         = id#1.1
 OUTPUT_DIRECTORY       = ../
 OUTPUT_LANGUAGE        = English
index b48bce54606832b5a58eeda56e2b9a8f6492cdc1..d7579b20fd5a6f1ef9c27b2321cae54f3aa0b53f 100755 (executable)
@@ -1,4 +1,4 @@
-foldersTree = gFld("<b>SALOME v.3.2.0a2 </b>", "", "")
+foldersTree = gFld("<b>SALOME v.3.2.0b1 </b>", "", "")
      insDoc(foldersTree, gLnk("Main Page", "", "main.html"))
 
 aux1 = insFld(foldersTree, gFld("TUI Reference Guide", ""))
index 6bfa60e64e2d5767dc225bb0af40b738208d421d..06a7f5905d61a2b67abe5c71759ae8a95c6e9a34 100644 (file)
@@ -3,44 +3,44 @@
 
 <machine hostname="is111790" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" protocol="r" mode="i" nbOfNodes="1" nbOfProcPerNode="1" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" >
 <modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
-<modules modulePath="/export/home/LGLS/Products/MED_3.2.0a2" moduleName="MED" />
-<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0a2" moduleName="GEOM" />
-<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0a2" moduleName="SMESH" />
-<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0a2" moduleName="SUPERV" />
-<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0a2" moduleName="VISU" />
+<modules modulePath="/export/home/LGLS/Products/MED_3.2.0b1" moduleName="MED" />
+<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0b1" moduleName="GEOM" />
+<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0b1" moduleName="SMESH" />
+<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0b1" moduleName="SUPERV" />
+<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0b1" moduleName="VISU" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" />
 </machine>
 
 <machine hostname="is111915" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" protocol="r" mode="i" nbOfNodes="1" nbOfProcPerNode="1" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" >
 <modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
-<modules modulePath="/export/home/LGLS/Products/MED_3.2.0a2" moduleName="MED" />
-<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0a2" moduleName="GEOM" />
-<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0a2" moduleName="SMESH" />
-<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0a2" moduleName="SUPERV" />
-<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0a2" moduleName="VISU" />
+<modules modulePath="/export/home/LGLS/Products/MED_3.2.0b1" moduleName="MED" />
+<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0b1" moduleName="GEOM" />
+<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0b1" moduleName="SMESH" />
+<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0b1" moduleName="SUPERV" />
+<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0b1" moduleName="VISU" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" />
 </machine>
 
 <machine hostname="is111918" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" protocol="r" mode="i" nbOfNodes="1" nbOfProcPerNode="1" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" >
 <modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
-<modules modulePath="/export/home/LGLS/Products/MED_3.2.0a2" moduleName="MED" />
-<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0a2" moduleName="GEOM" />
-<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0a2" moduleName="SMESH" />
-<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0a2" moduleName="SUPERV" />
-<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0a2" moduleName="VISU" />
+<modules modulePath="/export/home/LGLS/Products/MED_3.2.0b1" moduleName="MED" />
+<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0b1" moduleName="GEOM" />
+<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0b1" moduleName="SMESH" />
+<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0b1" moduleName="SUPERV" />
+<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0b1" moduleName="VISU" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" />
 </machine>
 
 <machine hostname="is111996" OS="LINUX" CPUFreqMHz="2992" memInMB="1024" protocol="r" mode="i" nbOfNodes="1" nbOfProcPerNode="1" preReqFilePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL/salome.sh" >
 <modules modulePath="/home/secher/SALOME2_INSTALL/KERNEL_INSTALL" moduleName="KERNEL" />
-<modules modulePath="/export/home/LGLS/Products/MED_3.2.0a2" moduleName="MED" />
-<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0a2" moduleName="GEOM" />
-<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0a2" moduleName="SMESH" />
-<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0a2" moduleName="SUPERV" />
-<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0a2" moduleName="VISU" />
+<modules modulePath="/export/home/LGLS/Products/MED_3.2.0b1" moduleName="MED" />
+<modules modulePath="/export/home/LGLS/Products/GEOM_3.2.0b1" moduleName="GEOM" />
+<modules modulePath="/export/home/LGLS/Products/SMESH_3.2.0b1" moduleName="SMESH" />
+<modules modulePath="/export/home/LGLS/Products/SUPERV_3.2.0b1" moduleName="SUPERV" />
+<modules modulePath="/export/home/LGLS/Products/VISU_3.2.0b1" moduleName="VISU" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYCOMPO_INSTALL" moduleName="MYCOMPO" />
 <modules modulePath="/home/secher/SALOME2_INSTALL/MYMPICOMPO_INSTALL" moduleName="MYMPICOMPO" />
 </machine>
index 5094f806f67a4decf8da960c746de6de871a0dc2..e7b57b298b2d0941782be42d0569434deb445804 100644 (file)
@@ -16,7 +16,7 @@
                <component-username>Salome</component-username>
                <component-type>Other</component-type>
                <component-author>NRI</component-author>
-               <component-version>3.2.0a2</component-version>
+               <component-version>3.2.0b1</component-version>
                <component-comment>GUI Neutral Context</component-comment>
                <component-multistudy>1</component-multistudy>
 
@@ -27,7 +27,7 @@
                <component-username>SalomeTestComponent</component-username>
                <component-type>Other</component-type>
                <component-author>NRI</component-author>
-               <component-version>3.2.0a2</component-version>
+               <component-version>3.2.0b1</component-version>
                <component-comment>GUI Neutral Context</component-comment>
                <component-multistudy>1</component-multistudy>
                <constraint>'linux' ~ OS</constraint>
@@ -37,7 +37,7 @@
                <component-username>SALOME_TestComponentPy</component-username>
                <component-type>Other</component-type>
                <component-author>NRI</component-author>
-               <component-version>3.2.0a2</component-version>
+               <component-version>3.2.0b1</component-version>
                <component-comment>GUI Neutral Context</component-comment>
                <component-multistudy>1</component-multistudy>
                <constraint>'linux' ~ OS</constraint>
index 5517078df46b7f1050e5540de9395d95cd72d980..55199bf365de265547ccb23d1346052f1bb216ee 100644 (file)
@@ -12,9 +12,8 @@ HAVE_SSTREAM=@HAVE_SSTREAM@
 
 LIBS=@LIBS@ 
 LIBSFORBIN=@LIBS@
-# LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker -L$(top_builddir)/lib/salome
-LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome
-LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib/salome
+LDFLAGS=@LDFLAGS@  -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
+LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
 # add libstdc++ to link c++ library with libtool !
 LDFLAGS+= @STDLIB@
 LDFLAGSFORBIN+= @STDLIB@
@@ -69,8 +68,8 @@ PYTHONHOME = @PYTHONHOME@
 PYTHON_INCLUDES = @PYTHON_INCLUDES@
 PYTHON_LIBS = @PYTHON_LIBS@
 PYTHON_VERSION = @PYTHON_VERSION@
-PYTHON_SITE = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages
-PYTHON_SITE_INSTALL = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome
+PYTHON_SITE = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages
+PYTHON_SITE_INSTALL = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome
 
 # QT
 QT_ROOT = @QT_ROOT@
@@ -123,12 +122,6 @@ HDF5_MT_LIBS=@HDF5_MT_LIBS@
 OCC_INCLUDES=@CAS_CPPFLAGS@
 OCC_CXXFLAGS=@CAS_CXXFLAGS@
 
-#OCC_KERNEL_LIBS=@CAS_KERNEL@
-#OCC_OCAF_LIBS=@CAS_OCAF@
-#OCC_VIEWER_LIBS=@CAS_VIEWER@
-#OCC_MODELER_LIBS=@CAS_MODELER@
-#OCC_DATAEXCHANGE_LIBS=@CAS_DATAEXCHANGE@
-#OCC_LIBS=@CAS_LDFLAGS@
 CAS_KERNEL=@CAS_KERNEL@
 CAS_MATH=@CAS_MATH@
 CAS_OCAF=@CAS_OCAF@
@@ -218,16 +211,21 @@ INSTALL_DATA=@INSTALL_DATA@
 # create a symbolic link (or a copie ?)
 LN_S=@LN_S@
 
+KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@
+KERNEL_SITE_DIR=@KERNEL_SITE_DIR@
+KERNEL_LDFLAGS=@KERNEL_LDFLAGS@
+KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@
+
 ## Installation points
 prefix=@prefix@
 exec_prefix=@exec_prefix@
-bindir=@bindir@/salome
-libdir=@libdir@/salome
+bindir=@exec_prefix@/bin/salome
+libdir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/salome
 # warning : if user give this path in configure we could have salome/salome :-(
 includedir=@includedir@/salome
 datadir=@datadir@/salome
 idldir=${prefix}/idl/salome
-sharedpydir=@libdir@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
+sharedpydir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
 incmakedir=${prefix}/salome_adm/unix
 
 docdir=${prefix}/doc/salome
index a668346284c35de9c194f8926704d1f4eee7204e..bc8abf6ac78fcbf119f3d45e8634007b0fc7ca7f 100644 (file)
@@ -35,10 +35,10 @@ LIB_OBJ_F    = $(patsubst %.f,   %.lo, $(filter %.f, $(LIB_SRC)))
 # all libtool obj file in library
 LIB_OBJ = $(LIB_OBJ_CXX) $(LIB_OBJ_CC) $(LIB_OBJ_C) $(LIB_CLIENT_OBJ:%.o=%.lo) $(LIB_SERVER_OBJ:%.o=%.lo) $(LIB_SWIG_OBJ) $(LIB_OBJ_F)
 
-# LIB_BUILD = $(LIB:%.la=$(top_builddir)/lib/salome/%.la)
-LIB_BUILD = $(patsubst %.la, $(top_builddir)/lib/salome/%.la, $(filter %.la, $(LIB)))
-LIB_BUILD_A = $(patsubst %.a, $(top_builddir)/lib/salome/%.a, $(filter %.a, $(LIB)))
-LIB_BUILD_SO = $(patsubst %.so, $(top_builddir)/lib/salome/%.so, $(filter %.so, $(LIB)))
+# LIB_BUILD = $(LIB:%.la=$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la)
+LIB_BUILD = $(patsubst %.la, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la, $(filter %.la, $(LIB)))
+LIB_BUILD_A = $(patsubst %.a, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.a, $(filter %.a, $(LIB)))
+LIB_BUILD_SO = $(patsubst %.so, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.so, $(filter %.so, $(LIB)))
 
 ifneq ($(findstring cmodule.la,$(filter %.la, $(LIB))),)
 LIB_SWIG = $(patsubst %cmodule.la,%.so, $(filter %.la, $(LIB)))
@@ -49,7 +49,7 @@ endif
 lib: $(LIB_BUILD) $(LIB_BUILD_SO) $(LIB_CLIENT_PY)
 # we don't build static library !
 
-$(LIB_BUILD): $(top_builddir)/lib/salome/%.la: %.la
+$(LIB_BUILD): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la: %.la
        -$(RM) $@
        -$(RM) $(patsubst %.la, %.so, $@)
        -$(RM) $(patsubst %.la, %.a, $@)
@@ -60,14 +60,14 @@ $(LIB_BUILD): $(top_builddir)/lib/salome/%.la: %.la
              $(patsubst %.la, %.so, $@).0 || true
 
        if test "X$(LIB_SWIG)" != "X"; then \
-          ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib/salome/_$(LIB_SWIG) || true;\
+          ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/_$(LIB_SWIG) || true;\
        fi;
 
-$(LIB_BUILD_A): $(top_builddir)/lib/salome/%.a: %.a
+$(LIB_BUILD_A): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.a: %.a
        -$(RM) $@
        ln -sf $(CURDIR)/$< $@ || true
 
-$(LIB_BUILD_SO): $(top_builddir)/lib/salome/%.so: %.so
+$(LIB_BUILD_SO): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.so: %.so
        -$(RM) $@
        ln -sf $(CURDIR)/$< $@ || true
 
@@ -127,7 +127,7 @@ $(DEST_UI_PY_FILES): $(top_builddir)/bin/salome/%: %
 
 # copy pyqt files in $(PYTHON_SHARED_SITE)
 #
-PYTHON_SHARED_SITE=$(top_builddir)/lib/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
+PYTHON_SHARED_SITE=$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
 
 $(PYTHON_SHARED_SITE):
        $(INSTALL) -d  $@
@@ -316,10 +316,10 @@ clean: mostlyclean
        -$(RM) $(LIB) $(TEST_PROGS) $(BIN) $(CLEAN)
        -$(RM) TAGS *~ *# core *.core 
        -$(RM) -r .libs
-       -$(RM) $(top_builddir)/lib/salome/$(LIB)
+       -$(RM) $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB)
        -$(RM) $(patsubst %,$(top_builddir)/bin/salome/%, $(BIN))
-       -$(RM) $(patsubst %.la, %.so, $(top_builddir)/lib/salome/$(LIB))
-       -$(RM) $(patsubst %.la, %.a, $(top_builddir)/lib/salome/$(LIB))
+       -$(RM) $(patsubst %.la, %.so, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB))
+       -$(RM) $(patsubst %.la, %.a, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB))
 # remove idl generated files (sources)
        -$(RM) $(LIB_CLIENT_SRC) $(LIB_SERVER_SRC) $(BIN_CLIENT_SRC) $(BIN_SERVER_SRC)
 # remove idl generated files (headers)
index fc07131da2f47636052c2a4a6a3905b3e5a0d970..f53e49027549a8e470d7382b9c59f34e4b00f0e9 100644 (file)
@@ -4,50 +4,57 @@
 #
 
 AC_DEFUN([CHECK_KERNEL],[
+AC_REQUIRE([AC_LINKER_OPTIONS])dnl
 
 AC_CHECKING(for Kernel)
 
 Kernel_ok=no
 
-AC_ARG_WITH(kernel,
-           [  --with-kernel=DIR               root directory path of KERNEL build or installation],
-           KERNEL_DIR="$withval",KERNEL_DIR="")
-
-if test "x$KERNEL_DIR" = "x" ; then
-
-# no --with-kernel-dir option used
+KERNEL_LDFLAGS=""
+KERNEL_CXXFLAGS=""
 
-   if test "x$KERNEL_ROOT_DIR" != "x" ; then
+AC_ARG_WITH(kernel,
+           [--with-kernel=DIR  root directory path of KERNEL build or installation],
+           [KERNEL_DIR="$withval"],
+           [KERNEL_DIR=""])
 
+if test "x${KERNEL_DIR}" = "x" ; then
+  AC_MSG_RESULT(for \${KERNEL_ROOT_DIR}: ${KERNEL_ROOT_DIR})
+  # no --with-kernel-dir option used
+  if test "x${KERNEL_ROOT_DIR}" != "x" ; then
     # KERNEL_ROOT_DIR environment variable defined
-      KERNEL_DIR=$KERNEL_ROOT_DIR
-
-   else
-
+    KERNEL_DIR=${KERNEL_ROOT_DIR}
+  else
     # search Kernel binaries in PATH variable
-      AC_PATH_PROG(TEMP, runSalome)
-      if test "x$TEMP" != "x" ; then
-         KERNEL_BIN_DIR=`dirname $TEMP`
-         KERNEL_DIR=`dirname $KERNEL_BIN_DIR`
-      fi
-      
-   fi
-# 
+    AC_PATH_PROG(TEMP,runSalome)
+    if test "x${TEMP}" != "x" ; then
+      AC_MSG_RESULT(runSalome was found at : ${TEMP})
+      KERNEL_BIN_DIR=`dirname ${TEMP}`
+      KERNEL_DIR=`cd ${KERNEL_BIN_DIR}/../..; pwd`
+    fi
+  fi
 fi
 
 if test -f ${KERNEL_DIR}/bin/salome/runSalome ; then
-   Kernel_ok=yes
    AC_MSG_RESULT(Using Kernel module distribution in ${KERNEL_DIR})
+   Kernel_ok=yes
 
-   if test "x$KERNEL_ROOT_DIR" = "x" ; then
+   if test "x${KERNEL_ROOT_DIR}" = "x" ; then
       KERNEL_ROOT_DIR=${KERNEL_DIR}
    fi
-   if test "x$KERNEL_SITE_DIR" = "x" ; then
+
+   if test "x${KERNEL_SITE_DIR}" = "x" ; then
       KERNEL_SITE_DIR=${KERNEL_ROOT_DIR}
    fi
+
    AC_SUBST(KERNEL_ROOT_DIR)
    AC_SUBST(KERNEL_SITE_DIR)
 
+   KERNEL_LDFLAGS=-L${KERNEL_DIR}/lib${LIB_LOCATION_SUFFIX}/salome
+   KERNEL_CXXFLAGS=-I${KERNEL_DIR}/include/salome
+
+   AC_SUBST(KERNEL_LDFLAGS)
+   AC_SUBST(KERNEL_CXXFLAGS)
 else
    AC_MSG_WARN("Cannot find compiled Kernel module distribution")
 fi
index ba72a02d4b6c95fcf41399b0b5a32141cadb44ed..ab5348319f74ebd2bcf6e7cfd168e4f63b5791bd 100644 (file)
@@ -28,7 +28,7 @@ AC_REQUIRE([AC_PROG_CXXCPP])dnl
 AC_REQUIRE([CHECK_OPENGL])dnl
 AC_REQUIRE([AC_LINKER_OPTIONS])dnl
 
-AC_CHECKING(for QT)
+AC_CHECKING(for Qt)
 
 if test "x$OpenGL_ok" != "xyes" ; then
    AC_MSG_WARN(Qt needs OpenGL correct configuration, check configure output)
@@ -173,7 +173,7 @@ AC_SUBST(QT_VERS)
 
 AC_LANG_RESTORE
 
-AC_MSG_RESULT(for qt: $qt_ok)
+AC_MSG_RESULT(for Qt: $qt_ok)
 
 # Save cache
 AC_CACHE_SAVE
index 0a04ff3c7fde055472c919f80572dfe98bfbc7a3..0f3e0cf8415fd06efb75e76bb5cd2179c36e4abe 100644 (file)
@@ -36,6 +36,8 @@ dnl a `module'.
 
 AC_DEFUN([CHECK_PYTHON],
  [
+  python_ok=yes
   AC_ARG_WITH(python,
    [AC_HELP_STRING([--with-python=DIR],[root directory path of python installation])],
    [PYTHON="$withval/bin/python"
@@ -62,8 +64,9 @@ AC_DEFUN([CHECK_PYTHON],
 
   PY_MAKEFILE=${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python$PYTHON_VERSION/config/Makefile
   if test ! -f "$PY_MAKEFILE"; then
-     AC_MSG_ERROR([*** Couldn't find ${PY_MAKEFILE}.  Maybe you are
+     AC_MSG_WARN([*** Couldn't find ${PY_MAKEFILE}.  Maybe you are
 *** missing the development portion of the python installation])
+     python_ok=no
   fi
 
   AC_SUBST(PYTHON_INCLUDES)
@@ -162,5 +165,7 @@ dnl python_site_given=no]
      AC_MSG_RESULT(no)
   fi
 
-  python_ok=yes
-  AC_MSG_RESULT(looks good)])
+  if test "$python_ok" == "yes"; then
+      AC_MSG_RESULT(looks good)
+  fi
+])
index c19d256e7a213ab830133e1ab8999d2044734859..220be3f5ead6e451916d02ff1c63a12c43584db7 100644 (file)
@@ -8,7 +8,7 @@
 
 # Standard directory for installation
 salomeincludedir   = $(includedir)/@PACKAGE@
-libdir             = $(prefix)/lib/@PACKAGE@
+libdir             = $(prefix)/lib@LIB_LOCATION_SUFFIX@/@PACKAGE@
 bindir             = $(prefix)/bin/@PACKAGE@
 salomescriptdir    = $(bindir)
 
index 0203ea726cf2d23874e7a37f2fbf3995b5a79daa..a1a961e94d11536ce995c7179800157ce3ed6766 100644 (file)
 #  Module : SALOME
 #  $Header$
 
-salomeincludedir            = $(includedir)/@PACKAGE@
+include $(top_srcdir)/salome_adm/unix/make_common_starter.am
+
 salomeinclude_HEADERS       = BasicsGenericDestructor.hxx
 
-libdir                      = $(prefix)/lib/@PACKAGE@
 lib_LTLIBRARIES             = libSALOMEBasics.la
 libSALOMEBasics_la_SOURCES  = \
        BasicsGenericDestructor.cxx \