blob: 1f9ca847af375058b3160f659775424075da8c37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# This file is generated from preconfigure.ac by Autoconf. DO NOT EDIT!
# Local preconfigure fragment for cpu/sysdeps/i386.
case "$machine" in
i[4567]86)
base_machine=i386
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC uses the i386 ILP32 data model" >&5
printf %s "checking whether $CC uses the i386 ILP32 data model... " >&6; }
if test ${mcpu_cv_i386_ilp32+y}
then :
printf %s "(cached) " >&6
else case e in #(
e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#ifndef __i386__
# error not i386
#endif
typedef char mcpu_int_must_be_4[(sizeof(int) == 4) ? 1 : -1];
typedef char mcpu_long_must_be_4[(sizeof(long) == 4) ? 1 : -1];
typedef char mcpu_ptr_must_be_4[(sizeof(void *) == 4) ? 1 : -1];
int main( void ) { return 0; }
_ACEOF
if ac_fn_c_try_compile "$LINENO"
then :
mcpu_cv_i386_ilp32=yes
else case e in #(
e) mcpu_cv_i386_ilp32=no ;;
esac
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $mcpu_cv_i386_ilp32" >&5
printf "%s\n" "$mcpu_cv_i386_ilp32" >&6; }
if test "$mcpu_cv_i386_ilp32" != yes; then
as_fn_error $? "Not supported HOST $host: compiler does not use i386 ILP32 data model" "$LINENO" 5
fi
machine=i386/$machine
MCPU_HOST_DATA_MODEL=ILP32
;;
esac
|