Salome HOME
To see which hdf5 we're using in configure log
[modules/kernel.git] / salome_adm / unix / config_files / check_corba.m4
1 dnl  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 dnl
3 dnl  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 dnl  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 dnl
6 dnl  This library is free software; you can redistribute it and/or
7 dnl  modify it under the terms of the GNU Lesser General Public
8 dnl  License as published by the Free Software Foundation; either
9 dnl  version 2.1 of the License.
10 dnl
11 dnl  This library is distributed in the hope that it will be useful,
12 dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 dnl  Lesser General Public License for more details.
15 dnl
16 dnl  You should have received a copy of the GNU Lesser General Public
17 dnl  License along with this library; if not, write to the Free Software
18 dnl  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 dnl
20 dnl  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 dnl
22 AC_DEFUN([CHECK_CORBA],[
23
24 if test x"$DEFAULT_ORB" = x"omniORB"
25 then
26
27   #  Contient le nom de l'ORB
28   ORB=omniorb
29
30   AC_MSG_RESULT(default orb : omniORB)
31   IDL=$OMNIORB_IDL
32   AC_SUBST(IDL)
33
34   CORBA_ROOT=$OMNIORB_ROOT
35   CORBA_INCLUDES=$OMNIORB_INCLUDES
36   CORBA_CXXFLAGS=$OMNIORB_CXXFLAGS
37   CORBA_LIBS=$OMNIORB_LIBS
38   IDLCXXFLAGS=$OMNIORB_IDLCXXFLAGS
39   IDLPYFLAGS=$OMNIORB_IDLPYFLAGS
40
41   AC_SUBST(CORBA_ROOT)
42   AC_SUBST(CORBA_INCLUDES)
43   AC_SUBST(CORBA_CXXFLAGS)
44   AC_SUBST(CORBA_LIBS)
45   AC_SUBST(IDLCXXFLAGS)
46   AC_SUBST(IDLPYFLAGS)
47
48   IDL_CLN_H=$OMNIORB_IDL_CLN_H
49   IDL_CLN_CXX=$OMNIORB_IDL_CLN_CXX
50   IDL_CLN_OBJ=$OMNIORB_IDL_CLN_OBJ
51
52   AC_SUBST(IDL_CLN_H)
53   AC_SUBST(IDL_CLN_CXX)
54   AC_SUBST(IDL_CLN_OBJ)
55
56   IDL_SRV_H=$OMNIORB_IDL_SRV_H
57   IDL_SRV_CXX=$OMNIORB_IDL_SRV_CXX
58   IDL_SRV_OBJ=$OMNIORB_IDL_SRV_OBJ
59
60   AC_SUBST(IDL_SRV_H)
61   AC_SUBST(IDL_SRV_CXX)
62   AC_SUBST(IDL_SRV_OBJ)
63
64 else
65     AC_MSG_RESULT($DEFAULT_ORB unknown orb)
66
67 fi
68
69 ])dnl
70 dnl