1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/orbit2/orbit2.conf
5 # Copyright (C) 2007 - 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 if ! atstage toolchain; then
16 . $base/package/*/*/gnome-conf.in
19 pkginstalled openssl && var_append confopt ' ' '--with-openssl'
22 cat >> config.cache <<-EOT
23 ac_cv_alignof_CORBA_octet=1
24 ac_cv_alignof_CORBA_boolean=1
25 ac_cv_alignof_CORBA_char=1
26 ac_cv_alignof_CORBA_wchar=2
27 ac_cv_alignof_CORBA_short=$arch_sizeof_short
28 ac_cv_alignof_CORBA_long=$arch_sizeof_long
29 ac_cv_alignof_CORBA_long_long=$arch_sizeof_long_long
30 ac_cv_alignof_CORBA_float=4
31 ac_cv_alignof_CORBA_double=8
32 ac_cv_alignof_CORBA_long_double=8
33 ac_cv_alignof_CORBA_struct=1
34 ac_cv_alignof_CORBA_pointer=$arch_sizeof_char_p
38 if atstage cross; then
39 # use a native orbit-idl compiler, hack for now, but should
40 # continoue to work when we build a native orbit-idl in stage 0,
42 var_append makeopt ' ' "IDL_COMPILER=`which orbit-idl-2`"
43 hook_add preconf 5 orbit2_fill_cache
46 var_append GCC_WRAPPER_REMOVE ' ' '-DG_DISABLE_DEPRECATED'