[PATCH] Add 'getthrds' declaration check in configure for AIX

Pedro Alves pedro@codesourcery.com
Wed Mar 16 02:30:00 GMT 2011


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



More information about the Gdb-patches mailing list