diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 15:55:44 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 16:13:13 -0500 |
commit | 35656e95217a20309c0a0f16bf0c89a49a549177 (patch) | |
tree | 14b29a99593a98996dd1ccea1fe17603c48eab52 | |
parent | 99d8e879938c947588332a9cc579d378ccc2a855 (diff) | |
download | gdb-35656e95217a20309c0a0f16bf0c89a49a549177.zip gdb-35656e95217a20309c0a0f16bf0c89a49a549177.tar.gz gdb-35656e95217a20309c0a0f16bf0c89a49a549177.tar.bz2 |
sim: allow the assert configure option everywhere
Currently ports have to call SIM_AC_OPTION_ASSERT explicitly in order
to make the configure flag available, which none of them do. There's
no real reason to not allow this flag for all ports, so move it to the
common sim macro. This way we get standard behavior across all ports.
56 files changed, 626 insertions, 54 deletions
diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index b4e6425..3e9826b 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/aarch64/configure b/sim/aarch64/configure index 0385962..74358fd 100755 --- a/sim/aarch64/configure +++ b/sim/aarch64/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 2d34e16..7220500 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/arm/configure b/sim/arm/configure index e929ba2..cf8a451 100755 --- a/sim/arm/configure +++ b/sim/arm/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index c9def60..3ba38f3 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/avr/configure b/sim/avr/configure index a1ecf4a..eda7aab 100755 --- a/sim/avr/configure +++ b/sim/avr/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 8d0cc2b..ef177ad 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/bfin/configure b/sim/bfin/configure index d97ffd5..09a8e3a 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -757,6 +757,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1416,6 +1417,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12869,7 +12871,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12872 "configure" +#line 12874 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12975,7 +12977,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12978 "configure" +#line 12980 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13329,6 +13331,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index a19e56e..ae03459 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * acinclude.m4 (SIM_AC_COMMON): Call SIM_AC_OPTION_ASSERT. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * acinclude.m4 (SIM_AC_COMMON): Delete sim_link_files and sim_link_links. (SIM_AC_OUTPUT): Delete AC_LINK_FILES call. diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4 index d5b4b98..675c595 100644 --- a/sim/common/acinclude.m4 +++ b/sim/common/acinclude.m4 @@ -223,6 +223,7 @@ if test x"$silent" != x"yes" && test x"$sim_profile" != x""; then fi],[sim_profile="-DPROFILE=1 -DWITH_PROFILE=-1"])dnl AC_SUBST(sim_profile) +SIM_AC_OPTION_ASSERT SIM_AC_OPTION_INLINE ACX_PKGVERSION([SIM]) diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index b935412..bd7fb2a 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/cr16/configure b/sim/cr16/configure index 10de0a3..1d02641 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 0420390..2583d8b 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/cris/configure b/sim/cris/configure index 1f1793d..7b5d765 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -755,6 +755,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1411,6 +1412,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12860,7 +12862,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12863 "configure" +#line 12865 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12966,7 +12968,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12969 "configure" +#line 12971 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13320,6 +13322,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index ef3a844..20cde46 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/d10v/configure b/sim/d10v/configure index e929ba2..cf8a451 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index a988972..2ff4bcc 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/erc32/configure b/sim/erc32/configure index 2344ad5..857e093 100755 --- a/sim/erc32/configure +++ b/sim/erc32/configure @@ -754,6 +754,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1400,6 +1401,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined @@ -12829,7 +12831,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12832 "configure" +#line 12834 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12935,7 +12937,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12938 "configure" +#line 12940 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13289,6 +13291,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index ab37d0a..7be18a3 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/frv/configure b/sim/frv/configure index 8717177..7d1726f 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -756,6 +756,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1410,6 +1411,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12855,7 +12857,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12858 "configure" +#line 12860 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12961,7 +12963,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12964 "configure" +#line 12966 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13315,6 +13317,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index ebe6b2f..9d9fde5 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/ft32/configure b/sim/ft32/configure index 3d976b9..5d4ebc4 100755 --- a/sim/ft32/configure +++ b/sim/ft32/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index eadf3ac..fa83702 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/h8300/configure b/sim/h8300/configure index 17c4e1d..8536049 100755 --- a/sim/h8300/configure +++ b/sim/h8300/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1400,6 +1401,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12834,7 +12836,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12837 "configure" +#line 12839 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12940,7 +12942,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12943 "configure" +#line 12945 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13294,6 +13296,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 90efcd4..f3872a0 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/iq2000/configure b/sim/iq2000/configure index d304c2d..a4b398d 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -755,6 +755,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1408,6 +1409,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12852,7 +12854,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12855 "configure" +#line 12857 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12958,7 +12960,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12961 "configure" +#line 12963 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13312,6 +13314,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 5d8c586..3086517 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/lm32/configure b/sim/lm32/configure index 77608f1..7838a83 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -755,6 +755,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1408,6 +1409,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12852,7 +12854,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12855 "configure" +#line 12857 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12958,7 +12960,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12961 "configure" +#line 12963 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13312,6 +13314,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index c0df2e8..0f50701 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/m32c/configure b/sim/m32c/configure index f736b51..77515c2 100755 --- a/sim/m32c/configure +++ b/sim/m32c/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1401,6 +1402,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-werror treat compile warnings as errors @@ -12835,7 +12837,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12838 "configure" +#line 12840 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12941,7 +12943,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12944 "configure" +#line 12946 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13295,6 +13297,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 272c9c2..1bc70e1 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/m32r/configure b/sim/m32r/configure index 4f68a42..492d3af 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -757,6 +757,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1410,6 +1411,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12854,7 +12856,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12857 "configure" +#line 12859 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12960,7 +12962,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12963 "configure" +#line 12965 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13314,6 +13316,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index 0b4e936..3c71597 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 70d343f..d0328fe 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12845,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12848 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12951,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12954 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13305,6 +13307,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index 07c013d..87a759a 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/mcore/configure b/sim/mcore/configure index e929ba2..cf8a451 100755 --- a/sim/mcore/configure +++ b/sim/mcore/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 35bd241..f9c6ad4 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/microblaze/configure b/sim/microblaze/configure index e929ba2..cf8a451 100755 --- a/sim/microblaze/configure +++ b/sim/microblaze/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 0518a57..2de22d1 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_SMP): Delete call. * configure: Regenerate. diff --git a/sim/mips/configure b/sim/mips/configure index d107d6a..3e792d2 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -765,6 +765,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1426,6 +1427,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-alignment=align @@ -12875,7 +12877,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12878 "configure" +#line 12880 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12981,7 +12983,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12984 "configure" +#line 12986 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13335,6 +13337,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 9e1318b..f8c3892 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 99256e6..a9baee6 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1406,6 +1407,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12851,7 +12853,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12854 "configure" +#line 12856 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12957,7 +12959,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12960 "configure" +#line 12962 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13311,6 +13313,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 870f5ff..605c9c4 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/moxie/configure b/sim/moxie/configure index 9b3e431..514ea40 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -753,6 +753,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1405,6 +1406,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12847,7 +12849,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12850 "configure" +#line 12852 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12953,7 +12955,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12956 "configure" +#line 12958 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13307,6 +13309,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index cd1bec4..5d5e7ce 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/msp430/configure b/sim/msp430/configure index 514cce5..5409bac 100755 --- a/sim/msp430/configure +++ b/sim/msp430/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1403,6 +1404,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12842,7 +12844,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12845 "configure" +#line 12847 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12948,7 +12950,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12951 "configure" +#line 12953 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13302,6 +13304,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index 2959187..6707b6c 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/rl78/configure b/sim/rl78/configure index 669005f..64e3f31 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1398,6 +1399,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined @@ -12827,7 +12829,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12830 "configure" +#line 12832 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12933,7 +12935,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12936 "configure" +#line 12938 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13287,6 +13289,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 909e282..ecc5a37 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/rx/configure b/sim/rx/configure index 77af0a9..c8767cf 100755 --- a/sim/rx/configure +++ b/sim/rx/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1400,6 +1401,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --disable-cycle-accurate @@ -12832,7 +12834,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12835 "configure" +#line 12837 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12938,7 +12940,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12941 "configure" +#line 12943 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13292,6 +13294,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index df8317f..d897ae0 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/sh/configure b/sim/sh/configure index e929ba2..cf8a451 100755 --- a/sim/sh/configure +++ b/sim/sh/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1404,6 +1405,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12846,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12849 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12952,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12955 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13306,6 +13308,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index 8e6ef55..0c47bec 100644 --- a/sim/sh64/ChangeLog +++ b/sim/sh64/ChangeLog @@ -4,6 +4,10 @@ 2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure: Regenerate. + +2016-01-10 Mike Frysinger <vapier@gentoo.org> + * configure.ac (SIM_AC_OPTION_INLINE): Delete call. * configure: Regenerate. diff --git a/sim/sh64/configure b/sim/sh64/configure index 74ec2938..19d76f1 100755 --- a/sim/sh64/configure +++ b/sim/sh64/configure @@ -755,6 +755,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1408,6 +1409,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12852,7 +12854,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12855 "configure" +#line 12857 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12958,7 +12960,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12961 "configure" +#line 12963 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13312,6 +13314,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 5a083e7..35c4108 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -14,6 +14,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger <vapier@gentoo.org> + + * configure: Regenerate. + 2016-01-09 Mike Frysinger <vapier@gentoo.org> * config.in, configure: Regenerate. diff --git a/sim/v850/configure b/sim/v850/configure index 2b45b19..66d6962 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -752,6 +752,7 @@ enable_sim_debug enable_sim_stdio enable_sim_trace enable_sim_profile +enable_sim_assert enable_sim_inline with_pkgversion with_bugurl @@ -1405,6 +1406,7 @@ Optional Features: --enable-sim-trace=opts Enable tracing of simulated programs --enable-sim-profile=opts Enable profiling flags + --enable-sim-assert Specify whether to perform random assertions --enable-sim-inline=inlines Specify which functions should be inlined --enable-sim-endian=endian @@ -12848,7 +12850,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12851 "configure" +#line 12853 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12954,7 +12956,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12957 "configure" +#line 12959 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13308,6 +13310,21 @@ fi +# Check whether --enable-sim-assert was given. +if test "${enable_sim_assert+set}" = set; then : + enableval=$enable_sim_assert; case "${enableval}" in + yes) sim_assert="-DWITH_ASSERT=1";; + no) sim_assert="-DWITH_ASSERT=0";; + *) as_fn_error "\"--enable-sim-assert does not take a value\"" "$LINENO" 5; sim_assert="";; +esac +if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then + echo "Setting assert flags = $sim_assert" 6>&1 +fi +else + sim_assert="" +fi + + sim_inline="-DDEFAULT_INLINE=0" # Check whether --enable-sim-inline was given. if test "${enable_sim_inline+set}" = set; then : |