diff options
author | Caroline Tice <cmtice@google.com> | 2015-01-29 16:47:25 +0000 |
---|---|---|
committer | Caroline Tice <cmtice@google.com> | 2015-01-29 16:47:25 +0000 |
commit | e891346c048081ea611070a032e97b7bf9324331 (patch) | |
tree | b291b238bd219c3eba51ebaf83d374c8d3201171 /libstdc++-v3/configure | |
parent | ceab433ebc813abb45267f0f31b23ae02d579ec1 (diff) |
Committing generated configure & Makefile.in pieces of
VTV Cygwin patch (from Patrick Wollgast). Forgot to
commit these with the rest of the patch.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@220254 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 45 |
1 files changed, 34 insertions, 11 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 7bd1ede852e..07e7773ef48 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -674,6 +674,8 @@ ENABLE_VTABLE_VERIFY_TRUE VTV_CXXLINKFLAGS VTV_PCH_CXXFLAGS VTV_CXXFLAGS +VTV_CYGMIN_FALSE +VTV_CYGMIN_TRUE ENABLE_WERROR_FALSE ENABLE_WERROR_TRUE ENABLE_PYTHONDIR_FALSE @@ -11537,7 +11539,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11540 "configure" +#line 11542 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11643,7 +11645,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11646 "configure" +#line 11648 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15063,7 +15065,7 @@ fi # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 15066 "configure" +#line 15068 "configure" struct S { ~S(); }; void bar(); void foo() @@ -15415,7 +15417,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15418 "configure" +#line 15420 "configure" int main() { typedef bool atomic_type; @@ -15450,7 +15452,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15453 "configure" +#line 15455 "configure" int main() { typedef short atomic_type; @@ -15485,7 +15487,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15488 "configure" +#line 15490 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15521,7 +15523,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15524 "configure" +#line 15526 "configure" int main() { typedef long long atomic_type; @@ -15600,7 +15602,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15603 "configure" +#line 15605 "configure" int main() { _Decimal32 d1; @@ -15642,7 +15644,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15645 "configure" +#line 15647 "configure" template<typename T1, typename T2> struct same { typedef T2 type; }; @@ -15676,7 +15678,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15679 "configure" +#line 15681 "configure" template<typename T1, typename T2> struct same { typedef T2 type; }; @@ -17458,7 +17460,24 @@ $as_echo_n "checking for vtable verify support... " >&6; } $as_echo "$enable_vtable_verify" >&6; } if test $enable_vtable_verify = yes; then - VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end" + case ${target_os} in + cygwin*|mingw32*) + VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end" + vtv_cygmin="yes" + ;; + *) + VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end" + vtv_cygmin="no" + ;; + esac + if test $vtv_cygmin = yes; then + VTV_CYGMIN_TRUE= + VTV_CYGMIN_FALSE='#' +else + VTV_CYGMIN_TRUE='#' + VTV_CYGMIN_FALSE= +fi + VTV_PCH_CXXFLAGS="-fvtable-verify=std" VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs" else @@ -79781,6 +79800,10 @@ if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then as_fn_error "conditional \"ENABLE_WERROR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then + as_fn_error "conditional \"VTV_CYGMIN\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 |