diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-15 00:16:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-15 00:16:49 +0000 |
commit | 5286fdef17e1307977f191a7d5e2e64816bd9f47 (patch) | |
tree | 3855887d7a1e631dd200350e9b16ba5c47a7adb9 /configure.ac | |
parent | d772837424bd433831d5e115f7092fabf490e811 (diff) | |
download | fsf-binutils-gdb-5286fdef17e1307977f191a7d5e2e64816bd9f47.zip fsf-binutils-gdb-5286fdef17e1307977f191a7d5e2e64816bd9f47.tar.gz fsf-binutils-gdb-5286fdef17e1307977f191a7d5e2e64816bd9f47.tar.bz2 |
Sync toplevel files with GCC
2012-11-13 Richard Henderson <rth@redhat.com>
* configure.ac: Move libsanitizer logic to subdirectory.
* configure: Regenerate.
2012-11-13 Dodji Seketeli <dodji@redhat.com>
* configure.ac: Enable libsanitizer just on x86 linux for now.
* configure: Re-generate.
2012-11-13 David Edelsohn <dje.gcc@gmail.com>
* configure.ac: Merge libquadmath sections.
* configure: Regenerate.
2012-11-12 Wei Mi <wmi@google.com>
* configure.ac: Add libsanitizer to target_libraries.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Regenerate.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index c346c2c..91ccb3d 100644 --- a/configure.ac +++ b/configure.ac @@ -160,6 +160,7 @@ target_libraries="target-libgcc \ target-libitm \ target-libstdc++-v3 \ target-libmudflap \ + target-libsanitizer \ target-libssp \ target-libquadmath \ target-libgfortran \ @@ -537,8 +538,27 @@ if test -d ${srcdir}/libitm; then fi fi +# Disable libsanitizer on unsupported systems. +if test -d ${srcdir}/libsanitizer; then + if test x$enable_libsanitizer = x; then + AC_MSG_CHECKING([for libsanitizer support]) + if (srcdir=${srcdir}/libsanitizer; \ + . ${srcdir}/configure.tgt; \ + test -n "$UNSUPPORTED") + then + AC_MSG_RESULT([no]) + noconfigdirs="$noconfigdirs target-libsanitizer" + else + AC_MSG_RESULT([yes]) + fi + fi +fi + # Disable libquadmath for some systems. case "${target}" in + avr-*-*) + noconfigdirs="$noconfigdirs target-libquadmath" + ;; # libquadmath is unused on AIX and libquadmath build process use of # LD_LIBRARY_PATH can break AIX bootstrap. powerpc-*-aix* | rs6000-*-aix*) @@ -563,13 +583,6 @@ case "${target}" in ;; esac -# Disable libquadmath for some systems. -case "${target}" in - avr-*-*) - noconfigdirs="$noconfigdirs target-libquadmath" - ;; -esac - # Disable libstdc++-v3 for some systems. # Allow user to override this if they pass --enable-libstdc++-v3 if test "${ENABLE_LIBSTDCXX}" = "default" ; then |