summaryrefslogtreecommitdiff
path: root/libgcc/configure
diff options
context:
space:
mode:
authorRasmus Villemoes <rv@rasmusvillemoes.dk>2018-06-27 12:04:25 +0200
committerRasmus Villemoes <villemoes@gcc.gnu.org>2018-06-27 10:04:25 +0000
commit1765b0231029c0479ddcf5d54e8f4882c5feda94 (patch)
tree12e1333e335da0d5357ee4418e40356b5c9ab765 /libgcc/configure
parented4e2a178609194673c81a038034e16832a0a9be (diff)
downloadgcc-1765b0231029c0479ddcf5d54e8f4882c5feda94.tar.gz
add support for --disable-gcov
For some targets (in my case VxWorks 5.5), libgcov does not compile due to missing functions and macros such as getpid() and F_OK. Incidentally, gcc/Makefile.in already contains comments such as # Install gcov if it was compiled. but there is no logic in place to actually allow gcov to not be compiled. So add an option for disabling build and install of libgcov and the related host tools. From-SVN: r262180
Diffstat (limited to 'libgcc/configure')
-rw-r--r--libgcc/configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/libgcc/configure b/libgcc/configure
index b2f3f870844..79068536175 100644
--- a/libgcc/configure
+++ b/libgcc/configure
@@ -620,6 +620,7 @@ build_cpu
build
with_aix_soname
enable_vtable_verify
+enable_gcov
enable_shared
libgcc_topdir
target_alias
@@ -667,6 +668,7 @@ with_target_subdir
with_cross_host
with_ld
enable_shared
+enable_gcov
enable_vtable_verify
with_aix_soname
enable_version_specific_runtime_libs
@@ -1306,6 +1308,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-shared don't provide a shared libgcc
+ --disable-gcov don't provide libgcov and related host tools
--enable-vtable-verify Enable vtable verification feature
--enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
--enable-maintainer-mode
@@ -2199,6 +2202,15 @@ fi
+# Check whether --enable-gcov was given.
+if test "${enable_gcov+set}" = set; then :
+ enableval=$enable_gcov;
+else
+ enable_gcov=yes
+fi
+
+
+
# Check whether --enable-vtable-verify was given.
if test "${enable_vtable_verify+set}" = set; then :
enableval=$enable_vtable_verify; case "$enableval" in