]> git.donarmstrong.com Git - lilypond.git/blob - cygwin/mknetrel.cross
* SConstruct:
[lilypond.git] / cygwin / mknetrel.cross
1 # -*- shell-script -*-
2
3 #
4 # mknetrel.cross -- set cross.cache for configure
5 #
6
7 crosscache () {
8         cat <<EOF > config.cache
9 ac_cv_c_bigendian=\${ac_cv_c_bigendian=no}
10 ac_cv_sizeof_char=\${ac_cv_sizeof_char=1}
11 ac_cv_sizeof_char_p=\${ac_cv_sizeof_char_p=4}
12 ac_cv_sizeof_double=\${ac_cv_sizeof_double=8}
13 ac_cv_sizeof_float=\${ac_cv_sizeof_float=4}
14 ac_cv_sizeof_int=\${ac_cv_sizeof_int=4}
15 ac_cv_sizeof_long=\${ac_cv_sizeof_long=4}
16 ac_cv_sizeof_long_double=\${ac_cv_sizeof_long_double=12}
17 ac_cv_sizeof_long_long=\${ac_cv_sizeof_long_long=8}
18 ac_cv_sizeof_short=\${ac_cv_sizeof_short=2}
19 ac_cv_sizeof_void_p=\${ac_cv_sizeof_void_p=4}
20 ac_cv_c_long_size_t=\${ac_cv_c_long_size_t=no}
21 ac_cv_c_long_time_t=\${ac_cv_c_long_time_t=yes}
22 ac_16bit_type=\${ac_16bit_type=short}
23 ac_32bit_type=\${ac_32bit_type=int}
24 ac_64bit_type=\${ac_64bit_type=none}
25 ac_cv_sys_restartable_syscalls=\${ac_cv_sys_restartable_syscalls=no}
26 ac_cv_sprintf_count=\${ac_cv_sprintf_count=yes}
27 ac_cv_spinlocks=\${ac_cv_spinlocks=no}
28 ac_cv_func_getpgrp_void=\${ac_cv_func_getpgrp_void=yes}
29 ac_cv_func_setvbuf_reversed=\${ac_cv_func_setvbuf_reversed=no}
30 ac_cv_func_mkfifo=yes
31 ac_cv_search_dlopen=\${ac_cv_search_dlopen="none required"}
32 ac_exeext=\${ac_exeext=}
33 ac_cv_exeext=\${ac_cv_exeext=}
34
35 # libtool searches not only in the cross libpath
36 #     /cygwin/usr/lib:/cygwin/usr/lib/w32api:/usr/i686-cygwin/lib
37 # but also in /usr/lib.  there it finds libdl.a and adds -ldl
38 # to LIBS
39 # it seems that libtool is broken wrt cross compilation:
40 #    sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
41 lt_cv_dlopen=\${lt_cv_dlopen="dlopen"}
42 lt_cv_dlopen_libs=\${lt_cv_dlopen_libs="none required"}
43 ac_cv_lib_dld_shl_load=\${ac_cv_lib_dld_shl_load=no}
44 ac_cv_lib_dl_dlopen=\${ac_cv_lib_dl_dlopen=no}
45 EOF
46 }
47