Salome HOME
Issue 0020194: EDF 977 ALL: Get rid of warnings PACKAGE_VERSION already defined
[modules/kernel.git] / salome_adm / unix / SALOMEconfig.ref.in
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 /* Debug mode ??? */
24 #ifndef DEBUG
25 # define DEBUG
26 #endif
27
28 /* CORBA headers include rules */
29 #ifndef CORBA_CLIENT_HEADER
30 # define QUOTE(x)  #x
31 # define CORBA_CLIENT_HEADER(x)  QUOTE(x@IDL_CLN_H@)
32 # define CORBA_SERVER_HEADER(x)  QUOTE(x@IDL_SRV_H@)
33 #endif
34
35 /* Platform definition */
36 #ifndef @MACHINE@
37   #define @MACHINE@
38 #endif
39
40 /* A path to a rcp-like command */
41 #ifndef RCP
42 # define RCP "@RCP@"
43 #endif
44
45 /* A path to a rm-like command */
46 #ifndef RM
47 # define RM "@RM@"
48 #endif
49
50 /* A path to a cp-like command */
51 #ifndef CP
52 #define CP "@CP@"
53 #endif
54
55 /* A path to a rsh-like command */
56 #ifndef RSH
57 #define RSH "@RSH@"
58 #endif
59
60 /* A path to a scp-like command */
61 #ifndef SCP
62 #define SCP "@SCP@"
63 #endif
64
65 /* A path to a sh-like command */
66 #ifndef SH
67 #define SH "@SH@"
68 #endif
69
70 /* A path to a ssh-like command */
71 #ifndef SSH
72 #define SSH "@SSH@"
73 #endif
74
75 // This is only to suppress warning messages with defines redefined (cause of omniORB that exports these names)
76 #ifdef PACKAGE
77 #undef PACKAGE
78 #endif
79 #ifdef PACKAGE_BUGREPORT
80 #undef PACKAGE_BUGREPORT
81 #endif
82 #ifdef PACKAGE_NAME
83 #undef PACKAGE_NAME
84 #endif
85 #ifdef PACKAGE_STRING
86 #undef PACKAGE_STRING
87 #endif
88 #ifdef PACKAGE_TARNAME
89 #undef PACKAGE_TARNAME
90 #endif
91 #ifdef PACKAGE_VERSION
92 #undef PACKAGE_VERSION
93 #endif
94 #ifdef VERSION
95 #undef VERSION
96 #endif
97
98 #ifdef _POSIX_C_SOURCE
99 #undef _POSIX_C_SOURCE
100 #endif