X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=blobdiff_plain;f=configure;h=db0969e934f207736ddc08387717ca6b39a71dc2;hp=d0b558bfc2905c5e6522cc0fa9a5f80cf0027603;hb=5202a2bc1aa46f1c0c4a4f4a84daf8fc11bd15cf;hpb=f4f57d572fb547e6202e16079afcec51208f3085 diff --git a/configure b/configure index d0b558b..db0969e 100755 --- a/configure +++ b/configure @@ -583,6 +583,7 @@ PACKAGE_URL='' ac_subst_vars='LTLIBOBJS LIBOBJS +XLEN OBJEXT EXEEXT ac_ct_CC @@ -631,6 +632,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +with_xlen ' ac_precious_vars='build_alias host_alias @@ -1245,6 +1247,11 @@ if test -n "$ac_init_help"; then esac cat <<\_ACEOF +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-xlen=XLEN Set XLEN, the X-register bit width (default is 64) + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -2515,6 +2522,19 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu + +# Check whether --with-xlen was given. +if test "${with_xlen+set}" = set; then : + withval=$with_xlen; XLEN=$withval + +else + XLEN=64 + + +fi + + + ac_config_files="$ac_config_files Makefile" cat >confcache <<\_ACEOF