Revert r192297.
From-SVN: r192394
This commit is contained in:
parent
e6ed43b0bc
commit
3b06f98418
17
ChangeLog
17
ChangeLog
@ -1,20 +1,3 @@
|
||||
2012-10-05 Pavel Chupin <pavel.v.chupin@intel.com>
|
||||
|
||||
Fix missing gthr-default.h issue on separate libstdc++ configure
|
||||
* libstdc++-v3/acinclude.m4: Define glibcxx_thread_h.
|
||||
* libstdc++-v3/include/Makefile.am: Use glibcxx_thread_h.
|
||||
* libstdc++-v3/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/configure: Regenerate.
|
||||
* libstdc++-v3/doc/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/include/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/libsupc++/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/po/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/python/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/src/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/src/c++11/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/src/c++98/Makefile.in: Regenerate.
|
||||
* libstdc++-v3/testsuite/Makefile.in: Regenerate.
|
||||
|
||||
2012-10-10 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* MAINTAINERS: Adjust for changed surename.
|
||||
|
@ -244,7 +244,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -3305,16 +3305,10 @@ dnl having to write complex code (the sed commands to clean the macro
|
||||
dnl namespace are complex and fragile enough as it is). We must also
|
||||
dnl add a relative path so that -I- is supported properly.
|
||||
dnl
|
||||
dnl Substs:
|
||||
dnl glibcxx_thread_h
|
||||
dnl
|
||||
AC_DEFUN([GLIBCXX_ENABLE_THREADS], [
|
||||
AC_MSG_CHECKING([for thread model used by GCC])
|
||||
target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
|
||||
AC_MSG_RESULT([$target_thread_file])
|
||||
|
||||
glibcxx_thread_h=gthr-$target_thread_file.h
|
||||
AC_SUBST(glibcxx_thread_h)
|
||||
])
|
||||
|
||||
|
||||
|
24
libstdc++-v3/configure
vendored
24
libstdc++-v3/configure
vendored
@ -708,7 +708,6 @@ BASIC_FILE_H
|
||||
CSTDIO_H
|
||||
SECTION_FLAGS
|
||||
WERROR
|
||||
glibcxx_thread_h
|
||||
glibcxx_PCHFLAGS
|
||||
GLIBCXX_BUILD_PCH_FALSE
|
||||
GLIBCXX_BUILD_PCH_TRUE
|
||||
@ -11513,7 +11512,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11516 "configure"
|
||||
#line 11515 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11619,7 +11618,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11622 "configure"
|
||||
#line 11621 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -15033,7 +15032,7 @@ fi
|
||||
#
|
||||
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15036 "configure"
|
||||
#line 15035 "configure"
|
||||
struct S { ~S(); };
|
||||
void bar();
|
||||
void foo()
|
||||
@ -15161,9 +15160,6 @@ $as_echo_n "checking for thread model used by GCC... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
|
||||
$as_echo "$target_thread_file" >&6; }
|
||||
|
||||
glibcxx_thread_h=gthr-$target_thread_file.h
|
||||
|
||||
|
||||
|
||||
|
||||
ac_ext=cpp
|
||||
@ -15371,7 +15367,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
|
||||
# Fake what AC_TRY_COMPILE does.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15374 "configure"
|
||||
#line 15370 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef bool atomic_type;
|
||||
@ -15406,7 +15402,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15409 "configure"
|
||||
#line 15405 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef short atomic_type;
|
||||
@ -15441,7 +15437,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15444 "configure"
|
||||
#line 15440 "configure"
|
||||
int main()
|
||||
{
|
||||
// NB: _Atomic_word not necessarily int.
|
||||
@ -15477,7 +15473,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15480 "configure"
|
||||
#line 15476 "configure"
|
||||
int main()
|
||||
{
|
||||
typedef long long atomic_type;
|
||||
@ -15556,7 +15552,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 15559 "configure"
|
||||
#line 15555 "configure"
|
||||
int main()
|
||||
{
|
||||
_Decimal32 d1;
|
||||
@ -15598,7 +15594,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
# unnecessary for this test.
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15601 "configure"
|
||||
#line 15597 "configure"
|
||||
template<typename T1, typename T2>
|
||||
struct same
|
||||
{ typedef T2 type; };
|
||||
@ -15632,7 +15628,7 @@ $as_echo "$enable_int128" >&6; }
|
||||
rm -f conftest*
|
||||
|
||||
cat > conftest.$ac_ext << EOF
|
||||
#line 15635 "configure"
|
||||
#line 15631 "configure"
|
||||
template<typename T1, typename T2>
|
||||
struct same
|
||||
{ typedef T2 type; };
|
||||
|
@ -218,7 +218,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -1148,7 +1148,7 @@ ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/gthr-posix.h \
|
||||
-e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
|
||||
< $< > $@
|
||||
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/libgcc/${glibcxx_thread_h} \
|
||||
${host_builddir}/gthr-default.h: ${toplevel_builddir}/libgcc/gthr-default.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
|
@ -216,7 +216,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
@ -1546,7 +1545,7 @@ ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/libgcc/gthr-posix.h \
|
||||
-e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \
|
||||
< $< > $@
|
||||
|
||||
${host_builddir}/gthr-default.h: ${toplevel_srcdir}/libgcc/${glibcxx_thread_h} \
|
||||
${host_builddir}/gthr-default.h: ${toplevel_builddir}/libgcc/gthr-default.h \
|
||||
stamp-${host_alias}
|
||||
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
|
||||
-e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \
|
||||
|
@ -276,7 +276,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -216,7 +216,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -240,7 +240,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -266,7 +266,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -233,7 +233,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -249,7 +249,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
@ -216,7 +216,6 @@ glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_thread_h = @glibcxx_thread_h@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
|
Loading…
Reference in New Issue
Block a user