Add 'getthrds' declaration check in configure for AIX
authorJoel Brobecker <brobecker@gnat.com>
Thu, 17 Mar 2011 13:19:10 +0000 (13:19 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 17 Mar 2011 13:19:10 +0000 (13:19 +0000)
commitd645e32eb8b60a84a2b0bf8a02e782289e992641
treebf26cdafe9160702dc3e7bae448708b16c164dac
parenta5f21126be4081334129fb251980d8825f872bdb
Add 'getthrds' declaration check in configure for AIX

On newer versions of AIX (6.x and later), this function is actually
declared in procinfo.h, thus causing a compilation warning when we
re-declare it ourselves. This patch adds a configure check for that
function allowing us to declare the function only if the declaration
isn't already present in one of procinfo system header.

gdb/ChangeLog:

        PR gdb/12116:
        * configure.ac: Add getthrds declaration check.
        * configure, config.in: Regenerate.
        * aix-thread.c (getthrds): Declare only if not already declared
        in procinfo.h.  More declaration out of get_signaled_thread to
        global scope.
gdb/ChangeLog
gdb/aix-thread.c
gdb/config.in
gdb/configure
gdb/configure.ac
This page took 0.0670500000000001 seconds and 4 git commands to generate.