diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-01-09 17:41:59 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-01-09 17:41:59 -0800 |
commit | b462e1f80b6839233076234347561e3d143e39ce (patch) | |
tree | 2f4d291bc9597345f11c2cdc41e1ca5c2aed9839 | |
parent | b029a9c67b345bb1133e8e33dee6bb5c42558478 (diff) | |
download | riscv-isa-sim-b462e1f80b6839233076234347561e3d143e39ce.zip riscv-isa-sim-b462e1f80b6839233076234347561e3d143e39ce.tar.gz riscv-isa-sim-b462e1f80b6839233076234347561e3d143e39ce.tar.bz2 |
Don't look for a simulator when cross compiling
-rwxr-xr-x | configure | 120 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 0 insertions, 121 deletions
@@ -593,9 +593,6 @@ subprojects EGREP GREP CPP -RUNFLAGS -ac_ct_RUN -RUN stow INSTALL_DATA INSTALL_SCRIPT @@ -3516,123 +3513,6 @@ fi - if test "${build}" != "${host}" ; then : - - if test -n "$ac_tool_prefix"; then - for ac_prog in isa-run run - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_RUN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$RUN"; then - ac_cv_prog_RUN="$RUN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_RUN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -RUN=$ac_cv_prog_RUN -if test -n "$RUN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUN" >&5 -$as_echo "$RUN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$RUN" && break - done -fi -if test -z "$RUN"; then - ac_ct_RUN=$RUN - for ac_prog in isa-run run -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_prog_ac_ct_RUN+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_RUN"; then - ac_cv_prog_ac_ct_RUN="$ac_ct_RUN" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_prog_ac_ct_RUN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - -fi -fi -ac_ct_RUN=$ac_cv_prog_ac_ct_RUN -if test -n "$ac_ct_RUN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RUN" >&5 -$as_echo "$ac_ct_RUN" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_RUN" && break -done - - if test "x$ac_ct_RUN" = x; then - RUN="no" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - RUN=$ac_ct_RUN - fi -fi - - if test ${RUN} = "no" ; then : - - as_fn_error $? "Cannot find simulator for target ${target_alias}" "$LINENO" 5 - -fi - -else - - RUN="" - -fi - - - - #------------------------------------------------------------------------- # Checks for header files #------------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 084028f..be5588e 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,6 @@ AC_CHECK_TOOL([RANLIB],[ranlib]) # via the makefile. MCPPBS_PROG_INSTALL -MCPPBS_PROG_RUN #------------------------------------------------------------------------- # Checks for header files |