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