aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-09 21:38:13 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-09 21:38:13 +0000
commit2bc7869d54186ebc12e5230f730988c2b34fe4fb (patch)
tree22f9ebdfe1696a7765d43ea885bd60402521c693 /sim/ppc/configure
parent6f07ee29f3c9940abe608e53f8b5659b61a9dec5 (diff)
downloadgdb-2bc7869d54186ebc12e5230f730988c2b34fe4fb.zip
gdb-2bc7869d54186ebc12e5230f730988c2b34fe4fb.tar.gz
gdb-2bc7869d54186ebc12e5230f730988c2b34fe4fb.tar.bz2
Obey --silent
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure83
1 files changed, 49 insertions, 34 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index b607645..9376a73 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -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