Fix build/17104
authorYao Qi <yao@codesourcery.com>
Tue, 1 Jul 2014 00:53:41 +0000 (08:53 +0800)
committerYao Qi <yao@codesourcery.com>
Wed, 13 Aug 2014 09:42:57 +0000 (17:42 +0800)
commit65c749e7c049f9bf944c5fbe9e727b7a8b4ccc7c
tree874a7347a677d4129f43d379e4a73a967c86a2d4
parente20e2464f8ae8803869d788b187cffc522c26155
Fix build/17104

This patch is to fix the build error when GDB is configured as:

  CFLAGS=-Wall ./configure --with-babeltrace; make

This patch adds one line of code in configure test to use local
variable 'pos'.

Note that we append -Werror to CFLAGS to catch the warning related to
assignment to scope.  See more in this thread
https://sourceware.org/ml/gdb-patches/2014-08/msg00045.html

2014-08-13  Yao Qi  <yao@codesourcery.com>

PR build/17104
* configure.ac: Use local variable 'pos'.
* configure: Regenerated.
gdb/ChangeLog
gdb/configure
gdb/configure.ac