aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/configure.ac
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-07-31 17:46:33 +0000
committerPedro Alves <palves@redhat.com>2008-07-31 17:46:33 +0000
commitec56be1b4dc25ec39c32ceab997747ad651c9d22 (patch)
treee8e6a4734fbf53dc0cc3be40f360b1fe6e8fe9e5 /gdb/gdbserver/configure.ac
parent5e06a3d1d5dcd15d8a883d3dde9fd90a5a5b8790 (diff)
downloadgdb-ec56be1b4dc25ec39c32ceab997747ad651c9d22.zip
gdb-ec56be1b4dc25ec39c32ceab997747ad651c9d22.tar.gz
gdb-ec56be1b4dc25ec39c32ceab997747ad651c9d22.tar.bz2
* configure.ac: Check for memmem declaration.
* server.c [HAVE_MALLOC_H]: Include malloc.h. (disable_packet_vCont, disable_packet_Tthread, disable_packet_qC) (disable_packet_qfThreadInfo): Unconditionally compile. * server.h [!HAVE_DECL_MEMMEM]: Declare memmem. * configure, config.in: Regenerate.
Diffstat (limited to 'gdb/gdbserver/configure.ac')
-rw-r--r--gdb/gdbserver/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac
index 7cfbaf6..e6b4bc5 100644
--- a/gdb/gdbserver/configure.ac
+++ b/gdb/gdbserver/configure.ac
@@ -61,7 +61,7 @@ AC_TRY_LINK([
[AC_MSG_RESULT(no)])
fi
-AC_CHECK_DECLS([strerror, perror])
+AC_CHECK_DECLS([strerror, perror, memmem])
AC_CHECK_TYPES(socklen_t, [], [],
[#include <sys/types.h>