PageRenderTime 55ms CodeModel.GetById 50ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/dpkg-cross/cross-config.sh

http://github.com/brinkman83/bashrc
Shell | 54 lines | 43 code | 2 blank | 9 comment | 6 complexity | f46b50065c749abbbbbcc7851cb7d900 MD5 | raw file
 1# read in package-specific and global values.
 2. `dirname $ac_site_file`/cross-config.cache
 3# now ensure the real architecture-dependent values take priority
 4# sh specific configure variables
 5ac_cv_c_char_unsigned=no
 6ac_cv_func_setpgrp_void=yes
 7ac_cv_prog_cc_cross=yes
 8ac_cv_search_clock_gettime=no
 9ac_cv_sizeof_char=1
10ac_cv_sizeof_double=8
11ac_cv_sizeof_float=4
12ac_cv_sizeof_int=4
13ac_cv_sizeof_long=4
14ac_cv_sizeof_long_double=12
15ac_cv_sizeof_long_long=8
16ac_cv_sizeof_short=2
17ac_cv_sizeof_signed_char=1
18ac_cv_sizeof_unsigned_int=4
19ac_cv_sizeof_unsigned_long=4
20ac_cv_sizeof_unsigned_long_long=8
21ac_cv_sizeof_unsigned_short=2
22ac_cv_sizeof_unsigned_short=2
23ac_cv_sizeof_void_p=4
24ac_cv_sizeof_off_t=4
25# DB2, DB3
26db_cv_alignp_t=int
27db_cv_fcntl_f_setfd=yes
28db_cv_mutex=sh/gcc-assembly
29db_cv_spinlocks=sh/gcc
30db_cv_sprintf_count=yes
31# Python
32ac_cv_malloc_zero=yes
33ac_cv_opt_olimit_ok=no
34ac_cv_olimit_ok=no
35
36path=`dirname $ac_site_file`
37# now allow package-specific architecture-independent values to be set
38if [ -d $path/cross-config.d/sh/ ]; then
39for file in `ls $path/cross-config.d/sh/`; do
40	if [ "$file" = "$PACKAGE" -o "$file" = "$PACKAGE_NAME" ]; then
41		[ -d $path/cross-config.d/sh/$file ] || . $path/cross-config.d/sh/$file
42		HAVE_PKG_CACHE=1
43	fi
44done
45fi
46
47if [ -z "$HAVE_PKG_CACHE" ]; then
48	# only needed until the packages provide these directly
49	# using the mechanism above.
50	# parted
51	if [ "$PACKAGE" = "parted" -o "$PACKAGE_NAME" = "GNU parted" ]; then
52		ac_cv_sizeof_off_t=8
53	fi
54fi