Salome HOME
Add missing vtk libraries
[modules/kernel.git] / salome_adm / unix / config_files / check_corba.m4
1 dnl Copyright (C) 2007-2012  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
23 AC_DEFUN([CHECK_CORBA],[
24
25 if test x"$DEFAULT_ORB" = x"omniORB"
26 then
27
28   #  Contient le nom de l'ORB
29   ORB=omniorb
30
31   AC_MSG_RESULT(default orb : omniORB)
32   IDL=$OMNIORB_IDL
33   AC_SUBST(IDL)
34
35   CORBA_ROOT=$OMNIORB_ROOT
36   CORBA_INCLUDES=$OMNIORB_INCLUDES
37   CORBA_CXXFLAGS=$OMNIORB_CXXFLAGS
38   CORBA_LIBS=$OMNIORB_LIBS
39   IDLCXXFLAGS=$OMNIORB_IDLCXXFLAGS
40   PACOIDLCXXFLAGS=$OMNIORB_PACOIDLCXXFLAGS
41   IDLPYFLAGS=$OMNIORB_IDLPYFLAGS
42
43   AC_SUBST(CORBA_ROOT)
44   AC_SUBST(CORBA_INCLUDES)
45   AC_SUBST(CORBA_CXXFLAGS)
46   AC_SUBST(CORBA_LIBS)
47   AC_SUBST(IDLCXXFLAGS)
48   AC_SUBST(PACOIDLCXXFLAGS)
49   AC_SUBST(IDLPYFLAGS)
50
51   IDL_CLN_H=$OMNIORB_IDL_CLN_H
52   IDL_CLN_CXX=$OMNIORB_IDL_CLN_CXX
53   IDL_CLN_OBJ=$OMNIORB_IDL_CLN_OBJ
54
55   AC_SUBST(IDL_CLN_H)
56   AC_SUBST(IDL_CLN_CXX)
57   AC_SUBST(IDL_CLN_OBJ)
58
59   IDL_SRV_H=$OMNIORB_IDL_SRV_H
60   IDL_SRV_CXX=$OMNIORB_IDL_SRV_CXX
61   IDL_SRV_OBJ=$OMNIORB_IDL_SRV_OBJ
62
63   AC_SUBST(IDL_SRV_H)
64   AC_SUBST(IDL_SRV_CXX)
65   AC_SUBST(IDL_SRV_OBJ)
66
67 else
68     AC_MSG_RESULT($DEFAULT_ORB unknown orb)
69
70 fi
71
72 ])dnl
73 dnl