diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
commit | c8623080cb217735f4f7460186e9a1ad910b4a3b (patch) | |
tree | 595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/configure.in | |
parent | a6a5d3492796f75b03b92f86226b2741ee468f0d (diff) | |
download | gdb-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.in | 11 |
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 |