+2004-06-08 Per Bothner <per@bothner.com>
+
+ * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION.
+
2004-06-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* toplev.c (floor_log2_wide): Correct casts for 64-bit hosts.
/* Define if gcc should use -lunwind. */
#undef USE_LIBUNWIND_EXCEPTIONS
+/* Define if location_t is fileline integer cookie. */
+#undef USE_MAPPED_LOCATION
+
/* Define to be the last portion of registry key on windows hosts. */
#undef WIN32_REGISTRY_KEY
enable only specific categories of checks.
Categories are: misc,tree,rtl,rtlflag,gc,gcac,fold;
default is misc,tree,gc,rtlflag
+ --enable-mapped-location location_t is fileline integer cookie
--enable-coverage=LEVEL
enable compiler\'s code coverage collection.
Use to measure compiler performance and locate
+# Check whether --enable-mapped-location or --disable-mapped-location was given.
+if test "${enable_mapped_location+set}" = set; then
+ enableval="$enable_mapped_location"
+
+else
+ enable_mapped_location=no
+fi;
+
+if test "$enable_mapped_location" = yes ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define USE_MAPPED_LOCATION 1
+_ACEOF
+
+fi
+
# Enable code coverage collection
# Check whether --enable-coverage or --disable-coverage was given.
if test "${enable_coverage+set}" = set; then
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
- echo "configure:5237: version of makeinfo is $ac_prog_version" >&5
+ echo "configure:5254: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*)
AC_SUBST(valgrind_path_defines)
AC_SUBST(valgrind_command)
+AC_ARG_ENABLE(mapped-location,
+[ --enable-mapped-location location_t is fileline integer cookie],,
+enable_mapped_location=no)
+
+if test "$enable_mapped_location" = yes ; then
+ AC_DEFINE(USE_MAPPED_LOCATION, 1,
+[Define if location_t is fileline integer cookie.])
+fi
+
# Enable code coverage collection
AC_ARG_ENABLE(coverage,
[ --enable-coverage[=LEVEL]