OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR libstdc++/52839
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
configure
diff --git
a/libstdc++-v3/configure
b/libstdc++-v3/configure
index
9e5731f
..
0e9e28a
100755
(executable)
--- a/
libstdc++-v3/configure
+++ b/
libstdc++-v3/configure
@@
-3025,7
+3025,8
@@
test -n "$target_alias" &&
target_alias=${target_alias-$host_alias}
# Handy for debugging:
target_alias=${target_alias-$host_alias}
# Handy for debugging:
-#AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
+{ $as_echo "$as_me:${as_lineno-$LINENO}: $build / $host / $target / $host_alias / $target_alias" >&5
+$as_echo "$as_me: $build / $host / $target / $host_alias / $target_alias" >&6;}; sleep 5
if test "$build" != "$host"; then
# We are being configured with some form of cross compiler.
if test "$build" != "$host"; then
# We are being configured with some form of cross compiler.
@@
-11497,7
+11498,7
@@
else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 1150
0
"configure"
+#line 1150
1
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
#include "confdefs.h"
#if HAVE_DLFCN_H
@@
-11603,7
+11604,7
@@
else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 1160
6
"configure"
+#line 1160
7
"configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
#include "confdefs.h"
#if HAVE_DLFCN_H
@@
-14961,7
+14962,7
@@
fi
#
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
cat > conftest.$ac_ext << EOF
#
# Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
cat > conftest.$ac_ext << EOF
-#line 1496
4
"configure"
+#line 1496
5
"configure"
struct S { ~S(); };
void bar();
void foo()
struct S { ~S(); };
void bar();
void foo()
@@
-15296,7
+15297,7
@@
$as_echo "$glibcxx_cv_atomic_long_long" >&6; }
# Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF
# Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF
-#line 15
299
"configure"
+#line 15
300
"configure"
int main()
{
typedef bool atomic_type;
int main()
{
typedef bool atomic_type;
@@
-15331,7
+15332,7
@@
$as_echo "$glibcxx_cv_atomic_bool" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 1533
4
"configure"
+#line 1533
5
"configure"
int main()
{
typedef short atomic_type;
int main()
{
typedef short atomic_type;
@@
-15366,7
+15367,7
@@
$as_echo "$glibcxx_cv_atomic_short" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 153
69
"configure"
+#line 153
70
"configure"
int main()
{
// NB: _Atomic_word not necessarily int.
int main()
{
// NB: _Atomic_word not necessarily int.
@@
-15402,7
+15403,7
@@
$as_echo "$glibcxx_cv_atomic_int" >&6; }
rm -f conftest*
cat > conftest.$ac_ext << EOF
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 1540
5
"configure"
+#line 1540
6
"configure"
int main()
{
typedef long long atomic_type;
int main()
{
typedef long long atomic_type;
@@
-15446,11
+15447,10
@@
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- # Set atomicity_dir to builtins if all
of above tests pas
s.
+ # Set atomicity_dir to builtins if all
but the long long test above passe
s.
if test $glibcxx_cv_atomic_bool = yes \
&& test $glibcxx_cv_atomic_short = yes \
if test $glibcxx_cv_atomic_bool = yes \
&& test $glibcxx_cv_atomic_short = yes \
- && test $glibcxx_cv_atomic_int = yes \
- && test $glibcxx_cv_atomic_long_long = yes ; then
+ && test $glibcxx_cv_atomic_int = yes; then
$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
$as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h