aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 949c73d..af31113 100644
--- a/configure.ac
+++ b/configure.ac
@@ -157,4 +157,15 @@ AS_IF([test "x$with_guile" != xdefault],
[AC_SUBST(with_guile,--with-guile=$with_guile)],
[AC_SUBST(with_guile,"")])
+AC_ARG_ENABLE(gdb,
+ [AS_HELP_STRING([--disable-gdb],
+ [Don't build GDB, as it's not upstream])],
+ [],
+ [enable_gdb=yes]
+ )
+
+AS_IF([test "x$enable_gdb" != xno],
+ [AC_SUBST(enable_gdb, --enable-gdb)],
+ [AC_SUBST(enable_gdb, --disable-gdb)])
+
AC_OUTPUT