aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
committerAndrew Cagney <cagney@redhat.com>1998-11-25 22:13:53 +0000
commitc8623080cb217735f4f7460186e9a1ad910b4a3b (patch)
tree595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/configure.in
parenta6a5d3492796f75b03b92f86226b2741ee468f0d (diff)
downloadgdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.zip
gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.gz
gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.bz2
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in11
1 files changed, 5 insertions, 6 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 767e0da..b3b9298 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -300,12 +300,11 @@ AC_ARG_ENABLE(build-warnings,
case "${enableval}" in
yes) ;;
no) build_warnings="-w";;
-dnl ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
-dnl build_warnings="${build_warnings} ${t}";;
-dnl *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
-dnl build_warnings="${t} ${build_warnings}";;
-dnl *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
- *) ;;
+ ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
+ build_warnings="${build_warnings} ${t}";;
+ *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
+ build_warnings="${t} ${build_warnings}";;
+ *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac],[build_warnings=""])dnl
if test "x${build_warnings}" != x -a "x$GCC" = xyes