From: Doug Evans Date: Thu, 28 Nov 2013 22:30:59 +0000 (-0800) Subject: * configure.ac: Add comments delineating libpython and libmcheck. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d344e670e7df167ddc6728fd378388d37a0e3c88;p=binutils-gdb.git * configure.ac: Add comments delineating libpython and libmcheck. * configure: Regenerate. --- 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),