mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 20:55:25 +08:00
* configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION.
From-SVN: r82809
This commit is contained in:
parent
898c05b8bd
commit
74ee164271
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -542,6 +542,9 @@
|
||||
/* 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
|
||||
|
||||
|
19
gcc/configure
vendored
19
gcc/configure
vendored
@ -869,6 +869,7 @@ Optional Features:
|
||||
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
|
||||
@ -4583,6 +4584,22 @@ fi
|
||||
|
||||
|
||||
|
||||
# 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
|
||||
@ -5234,7 +5251,7 @@ if test "${gcc_cv_prog_makeinfo_modern+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]*)
|
||||
|
@ -513,6 +513,15 @@ fi
|
||||
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]
|
||||
|
Loading…
Reference in New Issue
Block a user