+# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+# 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
+#
# Author : Marc Tajchman (CEA)
# Date : 28/06/2001
# Modified by : Patrick GOLDBRONN (CEA)
# Modified by : Marc Tajchman (CEA)
# Modified by : Mikhail Ponikarov (OCN)
#
-
-
-AC_INIT([Salome2 Project VISU module], [4.1.1], [webmaster.salome@opencascade.com], [salome])
-AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
+AC_INIT([Salome2 Project VISU module], [5.1.2], [webmaster.salome@opencascade.com], [SalomeVISU])
+AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([-Wno-portability])
XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
AC_SUBST(XVERSION)
AC_PROG_MAKE_SET
AC_PROG_INSTALL
+AC_LOCAL_INSTALL
dnl
dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
dnl full-path to the binary instead.
case "$INSTALL" in
*install-sh*)
- INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
+ INSTALL='\${KERNEL_ROOT_DIR}'/adm_local/unix/config_files/install-sh
;;
esac
CHECK_QT
-echo
-echo ---------------------------------------------
-echo testing msg2qm
-echo ---------------------------------------------
-echo
+dnl echo
+dnl echo ---------------------------------------------
+dnl echo testing msg2qm
+dnl echo ---------------------------------------------
+dnl echo
-CHECK_MSG2QM
+dnl CHECK_MSG2QM
echo
echo ---------------------------------------------
echo
echo Configure
-variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok occ_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok Med_ok"
+variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok omniORB_ok occ_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok Med_ok SalomeGUI_ok"
for var in $variables
do
# autoscan, the Makefile list is generated in the output file configure.scan.
# This could be helpfull to update de configuration.
AC_OUTPUT([ \
- ./salome_adm/unix/SALOMEconfig.h \
Makefile \
- ./VISU_version.h \
- ./adm_local/Makefile \
- ./adm_local/unix/Makefile \
- ./adm_local/unix/config_files/Makefile \
- ./bin/Makefile \
- ./bin/VERSION \
- ./doc/Makefile \
- ./doc/salome/Makefile \
- ./doc/salome/gui/Makefile \
- ./doc/salome/gui/VISU/doxyfile \
- ./doc/salome/gui/VISU/doxyfile_idl \
- ./doc/salome/tui/Makefile \
- ./doc/salome/tui/VISU/doxyfile \
- ./doc/salome/tui/VISU/sources/static/tree.js \
- ./idl/Makefile \
- ./resources/VISUCatalog.xml \
- ./resources/Makefile \
- ./src/Makefile \
- ./src/CONVERTOR/Makefile \
- ./src/PIPELINE/Makefile \
- ./src/OBJECT/Makefile \
- ./src/VVTK/Makefile \
- ./src/GUITOOLS/Makefile \
- ./src/VISU_I/Makefile \
- ./src/VISUGUI/Makefile \
- ./src/VISU_SWIG/Makefile \
- ./src/ENGINE/Makefile
+ VISU_version.h \
+ adm_local/Makefile \
+ adm_local/unix/Makefile \
+ adm_local/unix/config_files/Makefile \
+ bin/Makefile \
+ bin/VERSION \
+ doc/Makefile \
+ doc/salome/Makefile \
+ doc/salome/gui/Makefile \
+ doc/salome/gui/VISU/Makefile \
+ doc/salome/gui/VISU/doxyfile \
+ doc/salome/gui/VISU/doxyfile_idl \
+ doc/salome/tui/Makefile \
+ doc/salome/tui/doxyfile \
+ idl/Makefile \
+ resources/VISUCatalog.xml \
+ resources/Makefile \
+ src/Makefile \
+ src/CONVERTOR/Makefile \
+ src/PIPELINE/Makefile \
+ src/OBJECT/Makefile \
+ src/VVTK/Makefile \
+ src/GUITOOLS/Makefile \
+ src/VISU_I/Makefile \
+ src/VISUGUI/Makefile \
+ src/VISU_SWIG/Makefile \
+ src/ENGINE/Makefile
])