]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/system.h
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 30 Jun 1998 11:10:55 +0000 (11:10 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 30 Jun 1998 11:10:55 +0000 (11:10 +0000)
commitd2cabf16295972b2397970e4154e0433dbd01a1a
tree6a1d94fc07040fc795481149a70a21bbded1f9e6
parent70198e3dd05040e173ecac2f997e9ef7d9e868ad
Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary header...

Add the ability to GCC_NEED_DECLARATION{S} for looking in arbitrary
header files when searching for function declarations.  Use this
functionality to check for getrlimit/setrlimit.
        * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second
        argument, which is typically preprocessor code used to draw in
        additional header files when looking for a function declaration.
        (GCC_NEED_DECLARATIONS): Likewise.
        * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit
        and setrlimit, search for them in sys/resource.h.
        * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and
        NEED_DECLARATION_SETRLIMIT.
        * system.h: Prototype getrlimit/setrlimit if necessary.

From-SVN: r20831
gcc/ChangeLog
gcc/acconfig.h
gcc/aclocal.m4
gcc/config.in
gcc/configure
gcc/configure.in
gcc/system.h