This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Cleanup configure.in (8/n)


On my build, this causes GDB to end up picking up the headers from tcl/generic/regex.h, which error out because it hasn't included "regguts.h":

In file included from /home/kdienes/source/cygnus.cygnus/src/gdb/gdb_regex.h:29,
from /home/kdienes/source/cygnus.cygnus/src/gdb/cli/cli-decode.h:22,
from /home/kdienes/source/cygnus.cygnus/src/gdb/gdbtk/generic/gdbtk- hooks.c:34:
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:145: parse error before `re_void'
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:145: warning: type defaults to `int' in declaration of `re_void'
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:145: warning: data definition has no type or storage class
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:314: parse error before `_ANSI_ARGS_'
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:323: parse error before `_ANSI_ARGS_'
/home/kdienes/source/cygnus.cygnus/src/tcl/generic/regex.h:326: parse error before `_ANSI_ARGS_'
In file included from /home/kdienes/source/cygnus.cygnus/src/gdb/gdbtk/generic/gdbtk- hooks.c:34:

On Thursday, January 2, 2003, at 02:36 PM, Mark Kettenis wrote:

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* configure.in: Rewrite check for GNU regex and the
	--without-included regex option, and move it into the "Checks for
	library functions" section.  This makes us use the system regex
	again by default on systems with version 2 of the GNU C library.
	This was apparently broken.
	* gdb_regex.h [!USE_INCLUDED_REGEX] (_REGEX_RE_COMP): Define.
	* acconfig.h (USE_INCLUDED_REGEX): Remove.
	* config.in, configure: Regenerated.






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]