Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: gdb/gdbserver/acinclude.m4

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/gdbserver/Makefile.in ('k') | gdb/gdbserver/ax.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE. 1 dnl gdb/gdbserver/configure.in uses BFD_HAVE_SYS_PROCFS_TYPE.
2 sinclude(../../bfd/bfd.m4) 2 sinclude(../../bfd/bfd.m4)
3 3
4 sinclude(../acx_configure_dir.m4) 4 sinclude(../acx_configure_dir.m4)
5 5
6 # This gets GDB_AC_LIBMCHECK.
7 sinclude(../libmcheck.m4)
8
6 dnl This gets autoconf bugfixes 9 dnl This gets autoconf bugfixes
7 sinclude(../../config/override.m4) 10 sinclude(../../config/override.m4)
8 11
9 dnl For ACX_PKGVERSION and ACX_BUGURL. 12 dnl For ACX_PKGVERSION and ACX_BUGURL.
10 sinclude(../../config/acx.m4) 13 sinclude(../../config/acx.m4)
11 14
15 m4_include(../../config/depstand.m4)
16 m4_include(../../config/lead-dot.m4)
17
18 dnl codeset.m4 is needed for common.m4, but not for
19 dnl anything else in gdbserver.
20 m4_include(../../config/codeset.m4)
21 m4_include(../common/common.m4)
22
12 dnl Check for existence of a type $1 in libthread_db.h 23 dnl Check for existence of a type $1 in libthread_db.h
13 dnl Based on BFD_HAVE_SYS_PROCFS_TYPE in bfd/bfd.m4. 24 dnl Based on BFD_HAVE_SYS_PROCFS_TYPE in bfd/bfd.m4.
14 25
15 AC_DEFUN([GDBSERVER_HAVE_THREAD_DB_TYPE], 26 AC_DEFUN([GDBSERVER_HAVE_THREAD_DB_TYPE],
16 [AC_MSG_CHECKING([for $1 in thread_db.h]) 27 [AC_MSG_CHECKING([for $1 in thread_db.h])
17 AC_CACHE_VAL(gdbserver_cv_have_thread_db_type_$1, 28 AC_CACHE_VAL(gdbserver_cv_have_thread_db_type_$1,
18 [AC_TRY_COMPILE([ 29 [AC_TRY_COMPILE([
19 #include <thread_db.h>], 30 #include <thread_db.h>],
20 [$1 avar], 31 [$1 avar],
21 gdbserver_cv_have_thread_db_type_$1=yes, 32 gdbserver_cv_have_thread_db_type_$1=yes,
22 gdbserver_cv_have_thread_db_type_$1=no 33 gdbserver_cv_have_thread_db_type_$1=no
23 )]) 34 )])
24 if test $gdbserver_cv_have_thread_db_type_$1 = yes; then 35 if test $gdbserver_cv_have_thread_db_type_$1 = yes; then
25 AC_DEFINE([HAVE_]translit($1, [a-z], [A-Z]), 1, 36 AC_DEFINE([HAVE_]translit($1, [a-z], [A-Z]), 1,
26 [Define if <thread_db.h> has $1.]) 37 [Define if <thread_db.h> has $1.])
27 fi 38 fi
28 AC_MSG_RESULT($gdbserver_cv_have_thread_db_type_$1) 39 AC_MSG_RESULT($gdbserver_cv_have_thread_db_type_$1)
29 ]) 40 ])
OLDNEW
« no previous file with comments | « gdb/gdbserver/Makefile.in ('k') | gdb/gdbserver/ax.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698