1 # Copyright (C) 2009-2011 EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 AC_INIT([Salome GENERICSOLVER module],[6.3.1],[webmaster.salome@opencascade.com],[SalomeGENERICSOLVER])
24 AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
29 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
32 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
33 MODULE_NAME=genericsolver
37 dnl Initialize source and build root directories
41 ROOT_SRCDIR=`echo $0 | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"`
47 AC_SUBST(ROOT_BUILDDIR)
50 echo Source root directory : $ROOT_SRCDIR
51 echo Build root directory : $ROOT_BUILDDIR
55 AC_CHECK_PROG(SHELL,sh)
59 echo ---------------------------------------------
61 echo ---------------------------------------------
70 dnl Fix up the INSTALL macro if it s a relative path. We want the
71 dnl full-path to the binary instead.
74 INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
79 echo ---------------------------------------------
81 echo ---------------------------------------------
89 echo ---------------------------------------------
91 echo ---------------------------------------------
97 echo ---------------------------------------------
98 echo default ORB : omniORB
99 echo ---------------------------------------------
107 CORBA=adm_local/unix/$corba
110 echo ---------------------------------------------
112 echo ---------------------------------------------
118 echo ---------------------------------------------
120 echo ---------------------------------------------
126 echo ---------------------------------------------
128 echo ---------------------------------------------
134 echo ---------------------------------------------
135 echo Testing full GUI
136 echo ---------------------------------------------
140 if test "x${CORBA_IN_GUI}" != "xyes"; then
141 echo "failed : For configure GENERICSOLVER module necessary full GUI !"
148 echo ---------------------------------------------
150 echo ---------------------------------------------
154 variables="python_ok omniORB_ok qt_ok Kernel_ok"
156 for var in $variables
158 printf " %10s : " `echo \$var | sed -e "s,_ok,,"`
163 echo "Default ORB : $DEFAULT_ORB"
166 dnl We don t need to say when we re entering directories if we re using
167 dnl GNU make becuase make does it for us.
168 if test "X$GMAKE" = "Xyes"; then
169 AC_SUBST(SETX) SETX=":"
171 AC_SUBST(SETX) SETX="set -x"
174 echo ---------------------------------------------
175 echo generating Makefiles and configure files
176 echo ---------------------------------------------
179 # This list is initiated using autoscan and must be updated manually
180 # when adding a new file <filename>.in to manage. When you execute
181 # autoscan, the Makefile list is generated in the output file configure.scan.
182 # This could be helpful to update de configuration.
184 salome_adm/unix/SALOMEconfig.h \
186 adm_local/unix/Makefile \
187 adm_local/unix/config_files/Makefile \
189 src/GENERICSOLVER/Makefile \
190 src/GENERICSOLVERGUI/Makefile \
192 resources/GENERICSOLVERCatalog.xml \
193 resources/SalomeApp.xml \