summaryrefslogtreecommitdiff
path: root/configfrag.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configfrag.ac')
-rw-r--r--configfrag.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configfrag.ac b/configfrag.ac
index 77b00248..1be36cb8 100644
--- a/configfrag.ac
+++ b/configfrag.ac
@@ -129,6 +129,17 @@ AC_ARG_ENABLE([kmsg],
AM_CONDITIONAL([enable_kmsg], [false])
[fi]
+
+AC_ARG_ENABLE([gdb-stub],
+ AS_HELP_STRING([--enable-gdb-stub], [enable the use of the GDB stub]))
+[if [ x"$enable_gdb_stub" = xyes ]; then]
+ AC_DEFINE([MACH_GDB_STUB], [1], [Use GDB stub?])
+ AM_CONDITIONAL([enable_gdb_stub], [true])
+[else]
+ AM_CONDITIONAL([enable_gdb_stub], [false])
+[fi]
+
+
#
# Set up `SYSTYPE/SYSTYPE' and `SYSTYPE/include/mach/SYSTYPE' links.
#