1 # Copyright (C) 2009-2012 CEA/DEN, 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
21 # Author : André RIBES (EDF)
23 # -----------------------------------------------------------------------------
25 AC_INIT([JOBMANAGER project], [7.0.0], [andre.ribes@edf.fr], [JobManager-Module])
26 AM_INIT_AUTOMAKE([tar-pax])
27 AC_CONFIG_HEADER(jobmanager_config.h)
29 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
30 MODULE_NAME=jobmanager
33 SHORT_VERSION=`echo $VERSION | awk -F. '{printf("%d.%d",$1,$2)}'`
34 AC_SUBST(SHORT_VERSION)
35 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
41 # This function return on stdout the absolute path of the filename in
43 # $ filename="../KERNEL_SRC/configure
44 # $ absfilename=`absolute_path $filename`
45 function absolute_path {
48 apath=`dirname $filename`
55 # Build directory, where the configure script is executed.
57 # Source directory, where the configure script is located.
58 ROOT_SRCDIR=`absolute_path $0`
61 AC_SUBST(ROOT_BUILDDIR)
64 echo Source root directory : $ROOT_SRCDIR
65 echo Build root directory : $ROOT_BUILDDIR
67 # -----------------------------------------------------------------------------
79 AC_CHECK_LIB(dl,dlopen)
88 CHECK_GUI(SALOME_Session_Server,SALOME_Session_Server)
90 AM_CONDITIONAL([SALOME_KERNEL], [test "x$KERNEL_ROOT_DIR" != "x"])
91 AM_CONDITIONAL([HAS_GUI], [test "x$GUI_ROOT_DIR" != "x"])
96 echo "------------------------------------------------------------------------"
97 echo "$PACKAGE $VERSION"
98 echo "------------------------------------------------------------------------"
100 echo "Configuration Options Summary:"
102 echo "Mandatory products:"
103 echo " Qt4 (graphic interface) : $qt_ok"
104 echo " OmniOrb (CORBA) ........ : $omniORB_ok"
105 echo " Boost ........ : $boost_ok"
106 echo " SALOME KERNEL .......... : $Kernel_ok"
107 echo " SALOME GUI ............. : $SalomeGUI_ok"
109 echo "Optional products:"
110 echo " Sphinx (user doc) ...... : $sphinx_ok"
112 echo "------------------------------------------------------------------------"
115 if test "x$omniORB_ok" = "xno"; then
116 AC_MSG_ERROR([OmniOrb is required],1)
118 if test "x$qt_ok" = "xno"; then
119 AC_MSG_ERROR([Qt4 is required],1)
121 if test "x$Kernel_ok" = "xno"; then
122 AC_MSG_ERROR([SALOME KERNEL is required],1)
124 if test "x$SalomeGui_ok" = "xno"; then
125 AC_MSG_ERROR([SALOME GUI is required],1)
133 src/engine/Makefile \
134 src/genericgui/Makefile \
135 src/wrappers/Makefile \
136 src/standalone/Makefile \
137 src/standalone/start_jobmanager.sh \
138 src/salomegui/Makefile \
139 src/salomegui/JOBMANAGER_version.h \
140 src/salomegui/resources/SalomeApp.xml \