# This file is generated from preconfigure.ac by Autoconf. DO NOT EDIT! # Local preconfigure fragment for cpu/sysdeps/x86_64. test -n "$base_machine" || case "$machine" in x86_64) base_machine=x86_64 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC uses the x86_64 x32 data model by default" >&5 printf %s "checking whether $CC uses the x86_64 x32 data model by default... " >&6; } if test ${mcpu_cv_x86_64_x32+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __ILP32__ # error not x32 #endif int main( void ) { return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : mcpu_cv_x86_64_x32=yes else case e in #( e) mcpu_cv_x86_64_x32=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_x86_64_x32" >&5 printf "%s\n" "$mcpu_cv_x86_64_x32" >&6; } if test "$mcpu_cv_x86_64_x32" = yes; then machine=x86_64/x32 MCPU_HOST_DATA_MODEL=ILP32 else { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC uses the x86_64 LP64 data model" >&5 printf %s "checking whether $CC uses the x86_64 LP64 data model... " >&6; } if test ${mcpu_cv_x86_64_lp64+y} then : printf %s "(cached) " >&6 else case e in #( e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ typedef char mcpu_int_must_be_4[(sizeof(int) == 4) ? 1 : -1]; typedef char mcpu_long_must_be_8[(sizeof(long) == 8) ? 1 : -1]; typedef char mcpu_ptr_must_be_8[(sizeof(void *) == 8) ? 1 : -1]; int main( void ) { return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO" then : mcpu_cv_x86_64_lp64=yes else case e in #( e) mcpu_cv_x86_64_lp64=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_x86_64_lp64" >&5 printf "%s\n" "$mcpu_cv_x86_64_lp64" >&6; } if test "$mcpu_cv_x86_64_lp64" != yes; then as_fn_error $? "Not supported HOST $host: unsupported x86_64 data model" "$LINENO" 5 fi machine=x86_64/64 MCPU_HOST_DATA_MODEL=LP64 fi ;; esac