From d344e670e7df167ddc6728fd378388d37a0e3c88 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 28 Nov 2013 14:30:59 -0800 Subject: [PATCH] * configure.ac: Add comments delineating libpython and libmcheck. * configure: Regenerate. --- gdb/ChangeLog | 5 +++++ gdb/configure | 8 ++++++++ gdb/configure.ac | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 41c43d48f58..acbff05e31b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-11-28 Doug Evans + + * configure.ac: Add comments delineating python and libmcheck. + * configure: Regenerate. + 2013-11-28 Andrew Burgess Pedro Alves diff --git a/gdb/configure b/gdb/configure index b38e1833068..5300b5ac455 100755 --- a/gdb/configure +++ b/gdb/configure @@ -7962,6 +7962,10 @@ done fi fi +# --------------------- # +# Check for libpython. # +# --------------------- # + @@ -8563,6 +8567,10 @@ fi +# --------------------- # +# 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), diff --git a/gdb/configure.ac b/gdb/configure.ac index 294729305ff..7c37f25edbb 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), -- 2.30.2