1 # Copyright (C) 2009 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
20 # Author : André RIBES (EDF)
22 # -----------------------------------------------------------------------------
24 AC_INIT([JOBMANAGER project], [0.1], [andre.ribes@edf.fr], [JobManager-Module])
25 AM_INIT_AUTOMAKE([tar-pax])
26 AC_CONFIG_HEADER(jobmanager_config.h)
28 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
29 MODULE_NAME=jobmanager
38 # This function return on stdout the absolute path of the filename in
40 # $ filename="../KERNEL_SRC/configure
41 # $ absfilename=`absolute_path $filename`
42 function absolute_path {
45 apath=`dirname $filename`
52 # Build directory, where the configure script is executed.
54 # Source directory, where the configure script is located.
55 ROOT_SRCDIR=`absolute_path $0`
58 AC_SUBST(ROOT_BUILDDIR)
61 echo Source root directory : $ROOT_SRCDIR
62 echo Build root directory : $ROOT_BUILDDIR
64 # -----------------------------------------------------------------------------
76 AC_CHECK_LIB(dl,dlopen)
84 CHECK_GUI(SALOME_Session_Server,SALOME_Session_Server)
86 AM_CONDITIONAL([SALOME_KERNEL], [test "x$KERNEL_ROOT_DIR" != "x"])
87 AM_CONDITIONAL([HAS_GUI], [test "x$GUI_ROOT_DIR" != "x"])
92 echo "------------------------------------------------------------------------"
93 echo "$PACKAGE $VERSION"
94 echo "------------------------------------------------------------------------"
96 echo "Configuration Options Summary:"
98 echo "Mandatory products:"
99 echo " Qt4 (graphic interface) : $qt_ok"
100 echo " OmniOrb (CORBA) ........ : $omniORB_ok"
101 echo " SALOME KERNEL .......... : $Kernel_ok"
102 echo " SALOME GUI ............. : $SalomeGUI_ok"
104 echo "Optional products:"
105 echo " Sphinx (user doc) ...... : $sphinx_ok"
107 echo "------------------------------------------------------------------------"
110 if test "x$omniORB_ok" = "xno"; then
111 AC_MSG_ERROR([OmniOrb is required],1)
113 if test "x$qt_ok" = "xno"; then
114 AC_MSG_ERROR([Qt4 is required],1)
116 if test "x$Kernel_ok" = "xno"; then
117 AC_MSG_ERROR([SALOME KERNEL is required],1)
119 if test "x$SalomeGui_ok" = "xno"; then
120 AC_MSG_ERROR([SALOME GUI is required],1)
127 src/engine/Makefile \
128 src/genericgui/Makefile \
129 src/wrappers/Makefile \
130 src/standalone/Makefile \
131 src/standalone/start_jobmanager.sh \
132 src/salomegui/Makefile \