aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Schmidt <colins@eecs.berkeley.edu>2016-02-29 10:00:15 -0800
committerColin Schmidt <colins@eecs.berkeley.edu>2016-02-29 10:54:27 -0800
commitaf7bcec998b72b2b91180c83b45151201fa1c150 (patch)
treee632d433c598b38499df4e299b893800ad00e428 /configure
parent9e63c8544ea2e0aea6778defb7b535dbb87b7205 (diff)
downloadriscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.zip
riscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.tar.gz
riscv-tests-af7bcec998b72b2b91180c83b45151201fa1c150.tar.bz2
Separate M, and A from I. Allow disabling of M,A,Ftravis-dev
This allows riscv-tests to be built with a compiler that supports not just RVG.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure50
1 files changed, 50 insertions, 0 deletions
diff --git a/configure b/configure
index d0b558b..1b08516 100755
--- a/configure
+++ b/configure
@@ -583,6 +583,9 @@ PACKAGE_URL=''
ac_subst_vars='LTLIBOBJS
LIBOBJS
+enable_F
+enable_A
+enable_M
OBJEXT
EXEEXT
ac_ct_CC
@@ -631,6 +634,9 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
+enable_M
+enable_A
+enable_F
'
ac_precious_vars='build_alias
host_alias
@@ -1245,6 +1251,14 @@ if test -n "$ac_init_help"; then
esac
cat <<\_ACEOF
+Optional Features:
+ --disable-option-checking ignore unrecognized --enable/--with options
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-M Do no build M tests
+ --disable-A Do no build A tests
+ --disable-F Do not build F tests
+
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
@@ -2515,6 +2529,42 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+# Check whether --enable-M was given.
+if test "${enable_M+set}" = set; then :
+ enableval=$enable_M;
+fi
+
+if test "x$enable_M" != "xno"; then :
+
+ enable_M=yes
+
+
+fi
+
+# Check whether --enable-A was given.
+if test "${enable_A+set}" = set; then :
+ enableval=$enable_A;
+fi
+
+if test "x$enable_A" != "xno"; then :
+
+ enable_A=yes
+
+
+fi
+
+# Check whether --enable-F was given.
+if test "${enable_F+set}" = set; then :
+ enableval=$enable_F;
+fi
+
+if test "x$enable_F" != "xno"; then :
+
+ enable_F=yes
+
+
+fi
+
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF