This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add 'getthrds' declaration check in configure for AIX
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Wed, 16 Mar 2011 00:17:45 +0000
- Subject: Re: [PATCH] Add 'getthrds' declaration check in configure for AIX
- References: <1300231553-27938-1-git-send-email-brobecker@adacore.com>
On Tuesday 15 March 2011 23:25:53, Joel Brobecker wrote:
> +# Older versions of AIX do not provide the declaration for the getthrds
> +# function (it appears that it was introduced with AIX 6.x).
> +AC_CHECK_DECLS(getthrds, [], [], [[#include <procinfo.h>]])
> +
Any reason this isn't done close to where we check for AIX
thread support, and decide to whether to build aix-thread.c in the
first place? Look for "AiX thread debugging library" further down.
--
Pedro Alves