]> git.donarmstrong.com Git - lilypond.git/blob - cygwin/mknetrel.cross
ba673cb18e287f58b45b3da0a213f17cc8fdf860
[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_c_long_size_t=\${ac_cv_c_long_size_t=no}
11 ac_cv_c_long_time_t=\${ac_cv_c_long_time_t=yes}
12 ac_cv_sizeof___int64=\${ac_cv_sizeof___int64=0}
13 ac_cv_sizeof_char=\${ac_cv_sizeof_char=1}
14 ac_cv_sizeof_char_p=\${ac_cv_sizeof_char_p=4}
15 ac_cv_sizeof_double=\${ac_cv_sizeof_double=8}
16 ac_cv_sizeof_float=\${ac_cv_sizeof_float=4}
17 ac_cv_sizeof_int=\${ac_cv_sizeof_int=4}
18 ac_cv_sizeof_intmax_t=\${ac_cv_sizeof_intmax_t=8}
19 ac_cv_sizeof_intptr_t=\${ac_cv_sizeof_intptr_t=4}
20 ac_cv_sizeof_long=\${ac_cv_sizeof_long=4}
21 ac_cv_sizeof_long_double=\${ac_cv_sizeof_long_double=12}
22 ac_cv_sizeof_long_long=\${ac_cv_sizeof_long_long=8}
23 ac_cv_sizeof_ptrdiff_t=\${ac_cv_sizeof_ptrdiff_t=4}
24 ac_cv_sizeof_short=\${ac_cv_sizeof_short=2}
25 ac_cv_sizeof_size_t=\${ac_cv_sizeof_size_t=4}
26 ac_cv_sizeof_uintptr_t=\${ac_cv_sizeof_uintptr_t=4}
27 ac_cv_sizeof_unsigned___int64=\${ac_cv_sizeof_unsigned___int64=0}
28 ac_cv_sizeof_unsigned_char=\${ac_cv_sizeof_unsigned_char=1}
29 ac_cv_sizeof_unsigned_int=\${ac_cv_sizeof_unsigned_int=4}
30 ac_cv_sizeof_unsigned_long=\${ac_cv_sizeof_unsigned_long=4}
31 ac_cv_sizeof_unsigned_long_long=\${ac_cv_sizeof_unsigned_long_long=8}
32 ac_cv_sizeof_unsigned_short=\${ac_cv_sizeof_unsigned_short=2}
33 ac_cv_sizeof_void_p=\${ac_cv_sizeof_void_p=4}
34 ac_16bit_type=\${ac_16bit_type=short}
35 ac_32bit_type=\${ac_32bit_type=int}
36 ac_64bit_type=\${ac_64bit_type=none}
37 ac_cv_sys_restartable_syscalls=\${ac_cv_sys_restartable_syscalls=yes}
38 ac_cv_sprintf_count=\${ac_cv_sprintf_count=yes}
39 ac_cv_spinlocks=\${ac_cv_spinlocks=no}
40 ac_cv_func_getpgrp_void=\${ac_cv_func_getpgrp_void=yes}
41 ac_cv_func_setvbuf_reversed=\${ac_cv_func_setvbuf_reversed=no}
42 ac_cv_func_mkfifo=yes
43 ac_cv_search_dlopen=\${ac_cv_search_dlopen="none required"}
44 ac_exeext=\${ac_exeext=}
45 ac_cv_exeext=\${ac_cv_exeext=}
46
47 # libtool searches not only in the cross libpath
48 #     /cygwin/usr/lib:/cygwin/usr/lib/w32api:/usr/i686-cygwin/lib
49 # but also in /usr/lib.  there it finds libdl.a and adds -ldl
50 # to LIBS
51 # it seems that libtool is broken wrt cross compilation:
52 #    sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
53 lt_cv_dlopen=\${lt_cv_dlopen="dlopen"}
54 lt_cv_dlopen_libs=\${lt_cv_dlopen_libs="none required"}
55 ## -- will this work?
56 ##libltdl_cv_sys_search_path=\${libltdl_cv_sys_search_path="'"/lib /usr/lib"'"}
57 libltdl_cv_sys_search_path=\${libltdl_cv_sys_search_path="'"$cygwin_prefix/lib"'"}
58 lt_cv_sys_max_cmd_len=${lt_cv_sys_max_cmd_len=8192}
59 ##ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
60 ac_cv_lib_dld_shl_load=\${ac_cv_lib_dld_shl_load=no}
61 ac_cv_lib_dl_dlopen=\${ac_cv_lib_dl_dlopen=no}
62 EOF
63 }
64