aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2013-11-28 14:30:59 -0800
committerDoug Evans <xdje42@gmail.com>2013-11-28 14:30:59 -0800
commitd344e670e7df167ddc6728fd378388d37a0e3c88 (patch)
tree073a5c8fee4b25202295a517044fece6066d0f64 /gdb/configure.ac
parenteebc056c8e1ae9bc015645acf861bde0eff8335a (diff)
downloadgdb-d344e670e7df167ddc6728fd378388d37a0e3c88.zip
gdb-d344e670e7df167ddc6728fd378388d37a0e3c88.tar.gz
gdb-d344e670e7df167ddc6728fd378388d37a0e3c88.tar.bz2
* configure.ac: Add comments delineating libpython and libmcheck.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 2947293..7c37f25 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -712,6 +712,10 @@ else
fi
fi
+# --------------------- #
+# Check for libpython. #
+# --------------------- #
+
dnl Utility to simplify finding libpython.
dnl $1 = pythonX.Y
dnl $2 = the shell variable to assign the result to
@@ -1050,6 +1054,10 @@ AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_CPPFLAGS)
AC_SUBST(PYTHON_LIBS)
+# --------------------- #
+# Check for libmcheck. #
+# --------------------- #
+
# Enable -lmcheck by default (it provides cheap-enough memory mangling),
# but turn it off if Python is enabled with threads, since -lmcheck is
# not thread safe (http://sourceware.org/bugzilla/show_bug.cgi?id=9939),