diff options
Diffstat (limited to 'sim/frv/configure')
-rwxr-xr-x | sim/frv/configure | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sim/frv/configure b/sim/frv/configure index 38b2b7d..4108eb5 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -3726,7 +3726,7 @@ if test "${enable_sim_scache+set}" = set; then case "${enableval}" in yes) sim_scache="-DWITH_SCACHE=${default_sim_scache}";; no) sim_scache="-DWITH_SCACHE=0" ;; - [0-9]*) sim_cache=${enableval};; + [0-9]*) sim_scache="-DWITH_SCACHE=${enableval}";; *) { echo "configure: error: "Bad value $enableval passed to --enable-sim-scache"" 1>&2; exit 1; }; sim_scache="";; esac @@ -3776,8 +3776,8 @@ fi cgen_maint=no +cgen=guile cgendir='$(srcdir)/../../cgen' - # Check whether --enable-cgen-maint or --disable-cgen-maint was given. if test "${enable_cgen_maint+set}" = set; then enableval="$enable_cgen_maint" @@ -3789,6 +3789,7 @@ if test "${enable_cgen_maint+set}" = set; then # Having a `share' directory might be more appropriate for the .scm, # .cpu, etc. files. cgendir=${cgen_maint}/lib/cgen + cgen=guile ;; esac fi @@ -3823,6 +3824,11 @@ fi +cgen_breaks="" +if grep CGEN_MAINT $srcdir/Makefile.in >/dev/null; then +cgen_breaks="break cgen_rtx_error"; +fi + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -4035,6 +4041,7 @@ s%@CGEN_MAINT@%$CGEN_MAINT%g s%@cgendir@%$cgendir%g s%@cgen@%$cgen%g s%@sim_trapdump@%$sim_trapdump%g +s%@cgen_breaks@%$cgen_breaks%g CEOF EOF |