Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb #define _KMEMUSER so that the str...
details: https://anonhg.NetBSD.org/src/rev/c9b08a0d35c1
branches: trunk
changeset: 769894:c9b08a0d35c1
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 25 20:26:04 2011 +0000
description:
#define _KMEMUSER so that the struct lwp test works.
diffstat:
external/gpl3/gdb/dist/gdb/configure | 1 +
external/gpl3/gdb/dist/gdb/configure.ac | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r d54a91ad4780 -r c9b08a0d35c1 external/gpl3/gdb/dist/gdb/configure
--- a/external/gpl3/gdb/dist/gdb/configure Sun Sep 25 20:25:08 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/configure Sun Sep 25 20:26:04 2011 +0000
@@ -13009,6 +13009,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/param.h>
+#define _KMEMUSER
#include <sys/lwp.h>
int
main ()
diff -r d54a91ad4780 -r c9b08a0d35c1 external/gpl3/gdb/dist/gdb/configure.ac
--- a/external/gpl3/gdb/dist/gdb/configure.ac Sun Sep 25 20:25:08 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/configure.ac Sun Sep 25 20:26:04 2011 +0000
@@ -1137,6 +1137,7 @@
# See if <sys/lwp.h> defines `struct lwp`.
AC_CACHE_CHECK([for struct lwp], gdb_cv_struct_lwp,
[AC_TRY_COMPILE([#include <sys/param.h>
+#define _KMEMUSER
#include <sys/lwp.h>], [struct lwp l;],
gdb_cv_struct_lwp=yes, gdb_cv_struct_lwp=no)])
if test $gdb_cv_struct_lwp = yes; then
Home |
Main Index |
Thread Index |
Old Index