* [commit] Add some comments to configure.ac
@ 2013-11-29 1:14 Doug Evans
0 siblings, 0 replies; only message in thread
From: Doug Evans @ 2013-11-29 1:14 UTC (permalink / raw)
To: gdb-patches
Hi.
fyi, I committed this.
The style here is consistent with what's used elsewhere in this file.
2013-11-28 Doug Evans <xdje42@gmail.com>
* configure.ac: Add comments delineating libpython and libmcheck.
* configure: Regenerate.
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),
diff --git a/gdb/configure b/gdb/configure
index b38e183..5300b5a 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),
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-28 22:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-29 1:14 [commit] Add some comments to configure.ac Doug Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).