Update release making notes.
[deliverable/binutils-gdb.git] / gdb / gdbserver / acinclude.m4
... / ...
CommitLineData
1dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE.
2m4_include(../../bfd/bfd.m4)
3
4m4_include(../acx_configure_dir.m4)
5
6# This gets AM_GDB_WARNINGS.
7m4_include(../warning.m4)
8
9dnl This gets autoconf bugfixes
10m4_include(../../config/override.m4)
11
12dnl For ACX_PKGVERSION and ACX_BUGURL.
13m4_include(../../config/acx.m4)
14
15m4_include(../../config/depstand.m4)
16m4_include(../../config/lead-dot.m4)
17
18dnl Needed for common.m4
19dnl For AC_LIB_HAVE_LINKFLAGS.
20m4_include(../../config/lib-ld.m4)
21m4_include(../../config/lib-prefix.m4)
22m4_include(../../config/lib-link.m4)
23dnl codeset.m4 is needed for common.m4, but not for
24dnl anything else in gdbserver.
25m4_include(../../config/codeset.m4)
26m4_include(../../gdbsupport/common.m4)
27
28dnl For libiberty_INIT.
29m4_include(../libiberty.m4)
30
31dnl For GDB_AC_PTRACE.
32m4_include(../ptrace.m4)
33
34m4_include(../ax_cxx_compile_stdcxx.m4)
35
36dnl For GDB_AC_SELFTEST.
37m4_include(../selftest.m4)
38
39m4_include([../../config/ax_pthread.m4])
40
41dnl Check for existence of a type $1 in libthread_db.h
42dnl Based on BFD_HAVE_SYS_PROCFS_TYPE in bfd/bfd.m4.
43
44AC_DEFUN([GDBSERVER_HAVE_THREAD_DB_TYPE],
45[AC_MSG_CHECKING([for $1 in thread_db.h])
46 AC_CACHE_VAL(gdbserver_cv_have_thread_db_type_$1,
47 [AC_TRY_COMPILE([
48#include <thread_db.h>],
49 [$1 avar],
50 gdbserver_cv_have_thread_db_type_$1=yes,
51 gdbserver_cv_have_thread_db_type_$1=no
52 )])
53 if test $gdbserver_cv_have_thread_db_type_$1 = yes; then
54 AC_DEFINE([HAVE_]translit($1, [a-z], [A-Z]), 1,
55 [Define if <thread_db.h> has $1.])
56 fi
57 AC_MSG_RESULT($gdbserver_cv_have_thread_db_type_$1)
58])
This page took 0.023094 seconds and 4 git commands to generate.