include alloca.h if available.
authorgdbadmin <gdbadmin@sourceware.org>
Wed, 1 Sep 2010 01:51:07 +0000 (01:51 +0000)
committergdbadmin <gdbadmin@sourceware.org>
Wed, 1 Sep 2010 01:51:07 +0000 (01:51 +0000)
commita1723c35ac1fdb9cd0f250546c914122ad39f8c3
tree4845de8bff4c6db56119d8dc665a87b0c6577936
parent86c80b5af02e66b2d4129c00e0088cb55000dfdb
include alloca.h if available.

On LynxOS, alloca is defined in allocal.h.  This fixes one warning that
occurs when building GDBserver for LynxOS.

gdb/gdbserver/ChangeLog:

        * configure.ac: Add configure check for alloca.
        * configure, config.in: Regenerate.
        * server.h: Include alloca.h if it exists.
        * gdbreplay.c: Include alloca.h if it exists.
gdb/ChangeLog
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/server.h