[commit] Add some comments to configure.ac
Doug Evans
xdje42@gmail.com
Fri Nov 29 01:14:00 GMT 2013
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),
More information about the Gdb-patches
mailing list