Obey --silent

This commit is contained in:
Michael Meissner 1995-11-09 21:38:13 +00:00
parent 6f07ee29f3
commit 2bc7869d54
3 changed files with 96 additions and 63 deletions

View File

@ -1,5 +1,8 @@
Thu Nov 9 12:22:15 1995 Michael Meissner <meissner@tiktok.cygnus.com>
* configure.in: If --silent, don't output information messages.
* configure: Regenerate.
* configure.in (--enable-sim-alignment): Fix typo in specifing non
strict alignment.
(--enable-sim-switch): Make default on.

83
sim/ppc/configure vendored
View File

@ -457,7 +457,7 @@ if test -n "$enableval"; then
no) sim_cflags="";;
*) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac
if test x"$sim_cflags" != x""; then
if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
echo "Setting sim cflags = $sim_cflags" 6>&1
fi
else
@ -472,7 +472,7 @@ if test -n "$enableval"; then
no) sim_warnings="-w";;
*) sim_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac
if test x"$sim_warnings" != x""; then
if test x"$silent" != x"yes" && test x"$sim_warnings" != x""; then
echo "Setting warning flags = $sim_warnings" 6>&1
fi
else
@ -487,7 +487,7 @@ if test -n "$enableval"; then
no) sim_config="std-config.h";;
*) sim_config="${enableval}";;
esac
if test x"$sim_config" != x""; then
if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
echo "Setting config flags = $sim_config" 6>&1
fi
else
@ -502,7 +502,7 @@ if test -n "$enableval"; then
no) sim_opcode="ppc-opcode-simple";;
*) sim_opcode="ppc-opcode-${enableval}";;
esac
if test x"$sim_opcode" != x""; then
if test x"$silent" != x"yes" && test x"$sim_opcode" != x""; then
echo "Setting opcode flags = $sim_opcode" 6>&1
fi
else
@ -516,11 +516,14 @@ if test -n "$enableval"; then
yes) sim_switch="-s";;
*) sim_switch="";;
esac
if test x"$sim_switch" != x""; then
if test x"$silent" != x"yes" && test x"$sim_switch" != x""; then
echo "Setting switch flags = $sim_switch" 6>&1
fi
else
sim_switch="-s"; echo "Setting switch flags = $sim_switch" 6>&1
sim_switch="-s";
if test x"$silent" != x"yes"; then
echo "Setting switch flags = $sim_switch" 6>&1
fi
fi
# Check whether --enable-sim-duplicate or --disable-sim-duplicate was given.
@ -530,11 +533,14 @@ if test -n "$enableval"; then
yes) sim_dup="-e";;
*) sim_dup="";;
esac
if test x"$sim_dup" != x""; then
if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
echo "Setting duplicate flags = $sim_dup" 6>&1
fi
else
sim_dup="-e"; echo "Setting duplicate flags = $sim_dup" 6>&1
sim_dup="-e"
if test x"$silent" != x"yes"; then
echo "Setting duplicate flags = $sim_dup" 6>&1
fi
fi
# Check whether --enable-sim-filter or --disable-sim-filter was given.
@ -544,11 +550,14 @@ if test -n "$enableval"; then
yes) sim_filter="";;
*) sim_filter="-f $enableval";;
esac
if test x"$sim_filter" != x""; then
if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
echo "Setting filter flags = $sim_filter" 6>&1
fi
else
sim_filter="-f 64"; echo "Setting filter flags = $sim_filter" 6>&1
sim_filter="-f 64"
if test x"$silent" != x"yes"; then
echo "Setting filter flags = $sim_filter" 6>&1
fi
fi
# Check whether --enable-sim-icache or --disable-sim-icache was given.
@ -586,12 +595,15 @@ case "$enableval" in
fi
done;;
esac
if test x"$sim_inline" != x""; then
if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
echo "Setting inline flags = $sim_inline" 6>&1
fi
else
if test x"$GCC" != ""; then
sim_inline="-DDEFAULT_INLINE=2"; echo "Setting inline flags = $sim_inline" 6>&1
sim_inline="-DDEFAULT_INLINE=2"
if test x"$silent" != x"yes"; then
echo "Setting inline flags = $sim_inline" 6>&1
fi
else
sim_inline=""
fi
@ -605,7 +617,7 @@ if test -n "$enableval"; then
no) sim_bswap="-DWITH_BSWAP=0";;
*) sim_bswap="";;
esac
if test x"$sim_bswap" != x""; then
if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
echo "Setting bswap flags = $sim_bswap" 6>&1
fi
else
@ -626,7 +638,7 @@ if test -n "$enableval"; then
l*|L*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
*) sim_endian="";;
esac
if test x"$sim_endian" != x""; then
if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
echo "Setting endian flags = $sim_endian" 6>&1
fi
else
@ -642,7 +654,7 @@ if test -n "$enableval"; then
l*|L*) sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
*) sim_hostendian="";;
esac
if test x"$sim_hostendian" != x""; then
if test x"$silent" != x"yes" && test x"$sim_hostendian" != x""; then
echo "Setting hostendian flags = $sim_hostendian" 6>&1
fi
else
@ -657,11 +669,14 @@ if test -n "$enableval"; then
no) sim_smp="-DWITH_SMP=0";;
*) sim_smp="-DWITH_SMP=$enableval";;
esac
if test x"$sim_smp" != x""; then
if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
echo "Setting smp flags = $sim_smp" 6>&1
fi
else
sim_smp="-DWITH_SMP=0"; echo "Setting smp flags = $sim_smp" 6>&1
sim_smp="-DWITH_SMP=0"
if test x"$silent" != x"yes"; then
echo "Setting smp flags = $sim_smp" 6>&1
fi
fi
# Check whether --enable-sim-bitsize or --disable-sim-bitsize was given.
@ -672,7 +687,7 @@ if test -n "$enableval"; then
no) sim_bitsize="";;
*) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
esac
if test x"$sim_bitsize" != x""; then
if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
echo "Setting bitsize flags = $sim_bitsize" 6>&1
fi
else
@ -687,7 +702,7 @@ if test -n "$enableval"; then
no) sim_hostbitsize="";;
*) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
esac
if test x"$sim_hostbitsize" != x""; then
if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
fi
else
@ -703,7 +718,7 @@ if test -n "$enableval"; then
user | uea) sim_env="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
*) sim_env="";;
esac
if test x"$sim_env" != x""; then
if test x"$silent" != x"yes" && test x"$sim_env" != x""; then
echo "Setting env flags = $sim_env" 6>&1
fi
else
@ -718,7 +733,7 @@ if test -n "$enableval"; then
no) sim_timebase="-DWITH_TIME_BASE=0";;
*) sim_timebase="";;
esac
if test x"$sim_timebase" != x""; then
if test x"$silent" != x"yes" && test x"$sim_timebase" != x""; then
echo "Setting timebase flags = $sim_timebase" 6>&1
fi
else
@ -733,7 +748,7 @@ if test -n "$enableval"; then
no | nonstrict | NONSTRICT) sim_alignment="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
*) sim_alignment="-DWITH_ALIGNMENT=$enableval";;
esac
if test x"$sim_alignment" != x""; then
if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
echo "Setting alignment flags = $sim_alignment" 6>&1
fi
else
@ -748,7 +763,7 @@ if test -n "$enableval"; then
no) sim_trace="-DWITH_TRACE=0";;
*) sim_trace="";;
esac
if test x"$sim_trace" != x""; then
if test x"$silent" != x"yes" && test x"$sim_trace" != x""; then
echo "Setting trace flags = $sim_trace" 6>&1
fi
else
@ -763,7 +778,7 @@ if test -n "$enableval"; then
no) sim_assert="-DWITH_ASSERT=0";;
*) sim_assert="";;
esac
if test x"$sim_assert" != x""; then
if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
echo "Setting assert flags = $sim_assert" 6>&1
fi
else
@ -778,7 +793,7 @@ if test -n "$enableval"; then
no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
*) sim_float="";;
esac
if test x"$sim_float" != x""; then
if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
echo "Setting float flags = $sim_float" 6>&1
fi
else
@ -795,7 +810,7 @@ if test -n "$enableval"; then
memory) sim_mon="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
*) sim_mon="-DWITH_MON='$enableval'";;
esac
if test x"$sim_mon" != x""; then
if test x"$silent" != x"yes" && test x"$sim_mon" != x""; then
echo "Setting monitor flags = $sim_mon" 6>&1
fi
else
@ -810,7 +825,7 @@ if test -n "$enableval"; then
no) sim_func="-DWITH_FUNCTION_UNIT=0";;
*) sim_func="";;
esac
if test x"$sim_func" != x""; then
if test x"$silent" != x"yes" && test x"$sim_func" != x""; then
echo "Setting function-unit flags = $sim_func" 6>&1
fi
else
@ -825,7 +840,7 @@ if test -n "$enableval"; then
no) sim_model="";;
*) sim_model="-DWITH_PPC_MODEL=${enableval}";;
esac
if test x"$sim_model" != x""; then
if test x"$silent" != x"yes" && test x"$sim_model" != x""; then
echo "Setting model flags = $sim_model" 6>&1
fi
else
@ -840,7 +855,7 @@ if test -n "$enableval"; then
no) sim_default_model="";;
*) sim_default_model="-DWITH_DEFAULT_PPC_MODEL=${enableval}";;
esac
if test x"$sim_default_model" != x""; then
if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
echo "Setting default-model flags = $sim_default_model" 6>&1
fi
else
@ -1112,7 +1127,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1116 "configure"
#line 1131 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -1167,7 +1182,7 @@ else
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
#line 1171 "configure"
#line 1186 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
@ -1205,7 +1220,7 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 1209 "configure"
#line 1224 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@ -1219,7 +1234,7 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 1223 "configure"
#line 1238 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@ -1252,7 +1267,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1256 "configure"
#line 1271 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF

View File

@ -9,7 +9,7 @@ AC_ARG_ENABLE(sim-cflags,
no) sim_cflags="";;
*) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac
if test x"$sim_cflags" != x""; then
if test x"$silent" != x"yes" && test x"$sim_cflags" != x""; then
echo "Setting sim cflags = $sim_cflags" 6>&1
fi],[sim_cflags=""])dnl
@ -20,7 +20,7 @@ AC_ARG_ENABLE(sim-warnings,
no) sim_warnings="-w";;
*) sim_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac
if test x"$sim_warnings" != x""; then
if test x"$silent" != x"yes" && test x"$sim_warnings" != x""; then
echo "Setting warning flags = $sim_warnings" 6>&1
fi],[sim_warnings=""])dnl
@ -31,7 +31,7 @@ AC_ARG_ENABLE(sim-config,
no) sim_config="std-config.h";;
*) sim_config="${enableval}";;
esac
if test x"$sim_config" != x""; then
if test x"$silent" != x"yes" && test x"$sim_config" != x""; then
echo "Setting config flags = $sim_config" 6>&1
fi],[sim_config="std-config.h"; echo "Setting config flags = $sim_config" 6>&1])dnl
@ -42,7 +42,7 @@ AC_ARG_ENABLE(sim-opcode,
no) sim_opcode="ppc-opcode-simple";;
*) sim_opcode="ppc-opcode-${enableval}";;
esac
if test x"$sim_opcode" != x""; then
if test x"$silent" != x"yes" && test x"$sim_opcode" != x""; then
echo "Setting opcode flags = $sim_opcode" 6>&1
fi],[sim_opcode="ppc-opcode-simple"; echo "Setting opcode flags = $sim_opcode"])dnl
@ -52,9 +52,12 @@ AC_ARG_ENABLE(sim-switch,
yes) sim_switch="-s";;
*) sim_switch="";;
esac
if test x"$sim_switch" != x""; then
if test x"$silent" != x"yes" && test x"$sim_switch" != x""; then
echo "Setting switch flags = $sim_switch" 6>&1
fi],[sim_switch="-s"; echo "Setting switch flags = $sim_switch" 6>&1])dnl
fi],[sim_switch="-s";
if test x"$silent" != x"yes"; then
echo "Setting switch flags = $sim_switch" 6>&1
fi])dnl
AC_ARG_ENABLE(sim-duplicate,
[ --enable-sim-duplicate Expand (duplicate) semantic functions.],
@ -62,9 +65,12 @@ AC_ARG_ENABLE(sim-duplicate,
yes) sim_dup="-e";;
*) sim_dup="";;
esac
if test x"$sim_dup" != x""; then
if test x"$silent" != x"yes" && test x"$sim_dup" != x""; then
echo "Setting duplicate flags = $sim_dup" 6>&1
fi],[sim_dup="-e"; echo "Setting duplicate flags = $sim_dup" 6>&1])dnl
fi],[sim_dup="-e"
if test x"$silent" != x"yes"; then
echo "Setting duplicate flags = $sim_dup" 6>&1
fi])dnl
AC_ARG_ENABLE(sim-filter,
[ --enable-sim-filter=rule Specify filter rules.],
@ -72,9 +78,12 @@ AC_ARG_ENABLE(sim-filter,
yes) sim_filter="";;
*) sim_filter="-f $enableval";;
esac
if test x"$sim_filter" != x""; then
if test x"$silent" != x"yes" && test x"$sim_filter" != x""; then
echo "Setting filter flags = $sim_filter" 6>&1
fi],[sim_filter="-f 64"; echo "Setting filter flags = $sim_filter" 6>&1])dnl
fi],[sim_filter="-f 64"
if test x"$silent" != x"yes"; then
echo "Setting filter flags = $sim_filter" 6>&1
fi])dnl
AC_ARG_ENABLE(sim-icache,
[ --enable-sim-icache=size Specify instruction cache size.],
@ -106,10 +115,13 @@ case "$enableval" in
fi
done;;
esac
if test x"$sim_inline" != x""; then
if test x"$silent" != x"yes" && test x"$sim_inline" != x""; then
echo "Setting inline flags = $sim_inline" 6>&1
fi],[if test x"$GCC" != ""; then
sim_inline="-DDEFAULT_INLINE=2"; echo "Setting inline flags = $sim_inline" 6>&1
sim_inline="-DDEFAULT_INLINE=2"
if test x"$silent" != x"yes"; then
echo "Setting inline flags = $sim_inline" 6>&1
fi
else
sim_inline=""
fi])dnl
@ -121,7 +133,7 @@ AC_ARG_ENABLE(sim-bswap,
no) sim_bswap="-DWITH_BSWAP=0";;
*) sim_bswap="";;
esac
if test x"$sim_bswap" != x""; then
if test x"$silent" != x"yes" && test x"$sim_bswap" != x""; then
echo "Setting bswap flags = $sim_bswap" 6>&1
fi],[sim_bswap=""])dnl
@ -138,7 +150,7 @@ AC_ARG_ENABLE(sim-endian,
l*|L*) sim_endian="-DWITH_TARGET_BYTE_ORDER=LITTLE_ENDIAN";;
*) sim_endian="";;
esac
if test x"$sim_endian" != x""; then
if test x"$silent" != x"yes" && test x"$sim_endian" != x""; then
echo "Setting endian flags = $sim_endian" 6>&1
fi],[sim_endian=""])dnl
@ -150,7 +162,7 @@ AC_ARG_ENABLE(sim-hostendian,
l*|L*) sim_hostendian="-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN";;
*) sim_hostendian="";;
esac
if test x"$sim_hostendian" != x""; then
if test x"$silent" != x"yes" && test x"$sim_hostendian" != x""; then
echo "Setting hostendian flags = $sim_hostendian" 6>&1
fi],[sim_hostendian=""])dnl
@ -161,9 +173,12 @@ AC_ARG_ENABLE(sim-smp,
no) sim_smp="-DWITH_SMP=0";;
*) sim_smp="-DWITH_SMP=$enableval";;
esac
if test x"$sim_smp" != x""; then
if test x"$silent" != x"yes" && test x"$sim_smp" != x""; then
echo "Setting smp flags = $sim_smp" 6>&1
fi],[sim_smp="-DWITH_SMP=0"; echo "Setting smp flags = $sim_smp" 6>&1])dnl
fi],[sim_smp="-DWITH_SMP=0"
if test x"$silent" != x"yes"; then
echo "Setting smp flags = $sim_smp" 6>&1
fi])dnl
AC_ARG_ENABLE(sim-bitsize,
[ --enable-sim-bitsize=n Specify target bitsize (32 or 64).],
@ -172,7 +187,7 @@ AC_ARG_ENABLE(sim-bitsize,
no) sim_bitsize="";;
*) sim_bitsize="-DWITH_TARGET_WORD_BITSIZE=$enableval";;
esac
if test x"$sim_bitsize" != x""; then
if test x"$silent" != x"yes" && test x"$sim_bitsize" != x""; then
echo "Setting bitsize flags = $sim_bitsize" 6>&1
fi],[sim_bitsize=""])dnl
@ -183,7 +198,7 @@ AC_ARG_ENABLE(sim-hostbitsize,
no) sim_hostbitsize="";;
*) sim_hostbitsize="-DWITH_HOST_WORD_BITSIZE=$enableval";;
esac
if test x"$sim_hostbitsize" != x""; then
if test x"$silent" != x"yes" && test x"$sim_hostbitsize" != x""; then
echo "Setting hostbitsize flags = $sim_hostbitsize" 6>&1
fi],[sim_hostbitsize=""])dnl
@ -195,7 +210,7 @@ AC_ARG_ENABLE(sim-env,
user | uea) sim_env="-DWITH_ENVIRONMENT=USER_ENVIRONMENT";;
*) sim_env="";;
esac
if test x"$sim_env" != x""; then
if test x"$silent" != x"yes" && test x"$sim_env" != x""; then
echo "Setting env flags = $sim_env" 6>&1
fi],[sim_env=""])dnl
@ -206,7 +221,7 @@ AC_ARG_ENABLE(sim-timebase,
no) sim_timebase="-DWITH_TIME_BASE=0";;
*) sim_timebase="";;
esac
if test x"$sim_timebase" != x""; then
if test x"$silent" != x"yes" && test x"$sim_timebase" != x""; then
echo "Setting timebase flags = $sim_timebase" 6>&1
fi],[sim_timebase=""])dnl
@ -217,7 +232,7 @@ AC_ARG_ENABLE(sim-alignment,
no | nonstrict | NONSTRICT) sim_alignment="-DWITH_ALIGNMENT=NONSTRICT_ALIGNMENT";;
*) sim_alignment="-DWITH_ALIGNMENT=$enableval";;
esac
if test x"$sim_alignment" != x""; then
if test x"$silent" != x"yes" && test x"$sim_alignment" != x""; then
echo "Setting alignment flags = $sim_alignment" 6>&1
fi],[sim_alignment=""])dnl
@ -228,7 +243,7 @@ AC_ARG_ENABLE(sim-trace,
no) sim_trace="-DWITH_TRACE=0";;
*) sim_trace="";;
esac
if test x"$sim_trace" != x""; then
if test x"$silent" != x"yes" && test x"$sim_trace" != x""; then
echo "Setting trace flags = $sim_trace" 6>&1
fi],[sim_trace=""])dnl
@ -239,7 +254,7 @@ AC_ARG_ENABLE(sim-assert,
no) sim_assert="-DWITH_ASSERT=0";;
*) sim_assert="";;
esac
if test x"$sim_assert" != x""; then
if test x"$silent" != x"yes" && test x"$sim_assert" != x""; then
echo "Setting assert flags = $sim_assert" 6>&1
fi],[sim_assert=""])dnl
@ -250,7 +265,7 @@ AC_ARG_ENABLE(sim-float,
no | soft) sim_float="-DWITH_FLOATING_POINT=SOFT_FLOATING_POINT";;
*) sim_float="";;
esac
if test x"$sim_float" != x""; then
if test x"$silent" != x"yes" && test x"$sim_float" != x""; then
echo "Setting float flags = $sim_float" 6>&1
fi],[sim_float=""])dnl
@ -263,7 +278,7 @@ AC_ARG_ENABLE(sim-monitor,
memory) sim_mon="-DWITH_MON=MONITOR_LOAD_STORE_UNIT";;
*) sim_mon="-DWITH_MON='$enableval'";;
esac
if test x"$sim_mon" != x""; then
if test x"$silent" != x"yes" && test x"$sim_mon" != x""; then
echo "Setting monitor flags = $sim_mon" 6>&1
fi],[sim_mon=""])dnl
@ -274,7 +289,7 @@ AC_ARG_ENABLE(sim-function-unit,
no) sim_func="-DWITH_FUNCTION_UNIT=0";;
*) sim_func="";;
esac
if test x"$sim_func" != x""; then
if test x"$silent" != x"yes" && test x"$sim_func" != x""; then
echo "Setting function-unit flags = $sim_func" 6>&1
fi],[sim_func=""])dnl
@ -285,7 +300,7 @@ AC_ARG_ENABLE(sim-model,
no) sim_model="";;
*) sim_model="-DWITH_PPC_MODEL=${enableval}";;
esac
if test x"$sim_model" != x""; then
if test x"$silent" != x"yes" && test x"$sim_model" != x""; then
echo "Setting model flags = $sim_model" 6>&1
fi],[sim_model=""])dnl
@ -296,7 +311,7 @@ AC_ARG_ENABLE(sim-default-model,
no) sim_default_model="";;
*) sim_default_model="-DWITH_DEFAULT_PPC_MODEL=${enableval}";;
esac
if test x"$sim_default_model" != x""; then
if test x"$silent" != x"yes" && test x"$sim_default_model" != x""; then
echo "Setting default-model flags = $sim_default_model" 6>&1
fi],[sim_model=""])dnl