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