aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
diff options
context:
space:
mode:
authorgdbadmin <gdbadmin@sourceware.org>2010-09-01 01:51:07 +0000
committergdbadmin <gdbadmin@sourceware.org>2010-09-01 01:51:07 +0000
commita1723c35ac1fdb9cd0f250546c914122ad39f8c3 (patch)
tree4845de8bff4c6db56119d8dc665a87b0c6577936 /gdb/gdbserver/configure.ac
parent86c80b5af02e66b2d4129c00e0088cb55000dfdb (diff)
downloadgdb-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.zip
gdb-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.tar.gz
gdb-a1723c35ac1fdb9cd0f250546c914122ad39f8c3.tar.bz2
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.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index 33f29cf..bc3bb11 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -36,6 +36,7 @@ AC_ARG_PROGRAM
AC_HEADER_STDC
+AC_FUNC_ALLOCA
AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
proc_service.h sys/procfs.h thread_db.h linux/elf.h dnl
stdlib.h unistd.h dnl