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.1.0], [andre.ribes@edf.fr], [JobManager-Module])
27 AM_INIT_AUTOMAKE([tar-pax])
28 AC_CONFIG_HEADER(jobmanager_config.h)
30 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
31 MODULE_NAME=jobmanager
34 SHORT_VERSION=`echo $VERSION | awk -F. '{printf("%d.%d",$1,$2)}'`
35 AC_SUBST(SHORT_VERSION)
36 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
42 # This function return on stdout the absolute path of the filename in
44 # $ filename="../KERNEL_SRC/configure
45 # $ absfilename=`absolute_path $filename`
46 function absolute_path {
49 apath=`dirname $filename`
56 # Build directory, where the configure script is executed.
58 # Source directory, where the configure script is located.
59 ROOT_SRCDIR=`absolute_path $0`
62 AC_SUBST(ROOT_BUILDDIR)
65 echo Source root directory : $ROOT_SRCDIR
66 echo Build root directory : $ROOT_BUILDDIR
68 # -----------------------------------------------------------------------------
80 AC_CHECK_LIB(dl,dlopen)
89 CHECK_GUI(SALOME_Session_Server,SALOME_Session_Server)
91 AM_CONDITIONAL([SALOME_KERNEL], [test "x$KERNEL_ROOT_DIR" != "x"])
92 AM_CONDITIONAL([HAS_GUI], [test "x$GUI_ROOT_DIR" != "x"])
97 echo "------------------------------------------------------------------------"
98 echo "$PACKAGE $VERSION"
99 echo "------------------------------------------------------------------------"
101 echo "Configuration Options Summary:"
103 echo "Mandatory products:"
104 echo " Qt4 (graphic interface) : $qt_ok"
105 echo " OmniOrb (CORBA) ........ : $omniORB_ok"
106 echo " Boost ........ : $boost_ok"
107 echo " SALOME KERNEL .......... : $Kernel_ok"
108 echo " SALOME GUI ............. : $SalomeGUI_ok"
110 echo "Optional products:"
111 echo " Sphinx (user doc) ...... : $sphinx_ok"
113 echo "------------------------------------------------------------------------"
116 if test "x$omniORB_ok" = "xno"; then
117 AC_MSG_ERROR([OmniOrb is required],1)
119 if test "x$qt_ok" = "xno"; then
120 AC_MSG_ERROR([Qt4 is required],1)
122 if test "x$Kernel_ok" = "xno"; then
123 AC_MSG_ERROR([SALOME KERNEL is required],1)
125 if test "x$SalomeGui_ok" = "xno"; then
126 AC_MSG_ERROR([SALOME GUI is required],1)
134 src/engine/Makefile \
135 src/genericgui/Makefile \
136 src/wrappers/Makefile \
137 src/standalone/Makefile \
138 src/standalone/start_jobmanager.sh \
139 src/salomegui/Makefile \
140 src/salomegui/JOBMANAGER_version.h \
141 src/salomegui/resources/SalomeApp.xml \