pike.git / src / configure.in

version» Context lines:

pike.git/src/configure.in:5288:   #if defined(__GNUC__)   #if !defined(__aarch64__)   #error Not arm64 architecture   #endif   #else   #error Unsupported compiler   #endif    ], [], [    pike_cv_machine_code_arch=arm64    ], []) +  AC_TRY_COMPILE([ + #if defined(__GNUC__) + #if !defined(__riscv) || __riscv_xlen != 32 + #error Not rv32 architecture + #endif + #else + #error Unsupported compiler + #endif +  ], [], [ +  pike_cv_machine_code_arch=rv32 +  ], []) +  AC_TRY_COMPILE([ + #if defined(__GNUC__) + #if !defined(__riscv) || __riscv_xlen != 64 + #error Not rv64 architecture + #endif + #else + #error Unsupported compiler + #endif +  ], [], [ +  pike_cv_machine_code_arch=rv64 +  ], [])    ])    AC_MSG_RESULT($pike_cv_machine_code_arch)    if test "x$pike_cv_machine_code_arch" = xunknown ; then    with_machine_code="no"    else    with_machine_code="yes"    AC_DEFINE(PIKE_USE_MACHINE_CODE)    fi   fi