Move debug testing from all into debug-check target.
[riscv-tests.git] / configure.ac
index da4ff027e0473954522fb55bae305bc9a33154e7..ebfd649795a37a5c2098efee103cc817abeff602 100644 (file)
@@ -1,7 +1,15 @@
 AC_INIT(riscv-tests, 1.0)
 
 cross_compiling=yes
-AC_PROG_CC([riscv-gcc])
+AC_PROG_CC
+
+AC_ARG_WITH(xlen,
+        [AS_HELP_STRING([--with-xlen=XLEN],
+                [Set XLEN, the X-register bit width (default is 64)])],
+        AC_SUBST(XLEN, $withval),
+        AC_SUBST(XLEN, 64)
+        )
+
 
 AC_OUTPUT(
     Makefile