aboutsummaryrefslogtreecommitdiff
path: root/libatomic/configure
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-05-03 08:59:43 -0700
committerRichard Henderson <rth@gcc.gnu.org>2012-05-03 08:59:43 -0700
commit0fe5522f8b18c88338bf33765ab0bf85580eb75c (patch)
tree4afab8cfb305ee2e16344f861e2fc5f1fa93ca64 /libatomic/configure
parent644ffefd9b62c0023e707beaa1d95213e2816611 (diff)
downloadgcc-0fe5522f8b18c88338bf33765ab0bf85580eb75c.zip
gcc-0fe5522f8b18c88338bf33765ab0bf85580eb75c.tar.gz
gcc-0fe5522f8b18c88338bf33765ab0bf85580eb75c.tar.bz2
acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation failure in gcc_no_link path.
* acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation failure in gcc_no_link path. * configure: Rebuild. From-SVN: r187102
Diffstat (limited to 'libatomic/configure')
-rwxr-xr-xlibatomic/configure80
1 files changed, 72 insertions, 8 deletions
diff --git a/libatomic/configure b/libatomic/configure
index db43ea1..1a08315 100755
--- a/libatomic/configure
+++ b/libatomic/configure
@@ -652,6 +652,7 @@ CCAS
am__fastdepCC_FALSE
am__fastdepCC_TRUE
CCDEPMODE
+am__nodep
AMDEPBACKSLASH
AMDEP_FALSE
AMDEP_TRUE
@@ -3037,11 +3038,11 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
# We need awk for the "check" target. The system "awk" is bad on
# some platforms.
-# Always define AMTAR for backward compatibility.
+# Always define AMTAR for backward compatibility. Yes, it's still used
+# in the wild :-( We should find a proper way to deprecate it ...
+AMTAR='$${TAR-tar}'
-AMTAR=${AMTAR-"${am_missing_run}tar"}
-
-am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
@@ -3939,6 +3940,7 @@ fi
if test "x$enable_dependency_tracking" != xno; then
am_depcomp="$ac_aux_dir/depcomp"
AMDEPBACKSLASH='\'
+ am__nodep='_no'
fi
if test "x$enable_dependency_tracking" != xno; then
AMDEP_TRUE=
@@ -3963,6 +3965,7 @@ else
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
+ rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
@@ -4022,7 +4025,7 @@ else
break
fi
;;
- msvisualcpp | msvcmsys)
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
# This compiler won't grok `-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
@@ -4097,6 +4100,7 @@ else
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
+ rm -rf conftest.dir
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
@@ -4154,7 +4158,7 @@ else
break
fi
;;
- msvisualcpp | msvcmsys)
+ msvc7 | msvc7msys | msvisualcpp | msvcmsys)
# This compiler won't grok `-c -o', but also, the minuso test has
# not run yet. These depmodes are late enough in the game, and
# so weak that their functioning should not be impacted.
@@ -10998,7 +11002,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11001 "configure"
+#line 11005 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11104,7 +11108,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11107 "configure"
+#line 11111 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12129,6 +12133,8 @@ _ACEOF
else
eval libat_cv_have_at_ldst_1=yes
fi
+ else
+ eval libat_cv_have_at_ldst_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12194,6 +12200,8 @@ _ACEOF
else
eval libat_cv_have_at_ldst_2=yes
fi
+ else
+ eval libat_cv_have_at_ldst_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12259,6 +12267,8 @@ _ACEOF
else
eval libat_cv_have_at_ldst_4=yes
fi
+ else
+ eval libat_cv_have_at_ldst_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12324,6 +12334,8 @@ _ACEOF
else
eval libat_cv_have_at_ldst_8=yes
fi
+ else
+ eval libat_cv_have_at_ldst_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12389,6 +12401,8 @@ _ACEOF
else
eval libat_cv_have_at_ldst_16=yes
fi
+ else
+ eval libat_cv_have_at_ldst_16=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12453,6 +12467,8 @@ _ACEOF
else
eval libat_cv_have_at_tas_1=yes
fi
+ else
+ eval libat_cv_have_at_tas_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12516,6 +12532,8 @@ _ACEOF
else
eval libat_cv_have_at_tas_2=yes
fi
+ else
+ eval libat_cv_have_at_tas_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12579,6 +12597,8 @@ _ACEOF
else
eval libat_cv_have_at_tas_4=yes
fi
+ else
+ eval libat_cv_have_at_tas_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12642,6 +12662,8 @@ _ACEOF
else
eval libat_cv_have_at_tas_8=yes
fi
+ else
+ eval libat_cv_have_at_tas_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12705,6 +12727,8 @@ _ACEOF
else
eval libat_cv_have_at_tas_16=yes
fi
+ else
+ eval libat_cv_have_at_tas_16=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12769,6 +12793,8 @@ _ACEOF
else
eval libat_cv_have_at_exch_1=yes
fi
+ else
+ eval libat_cv_have_at_exch_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12832,6 +12858,8 @@ _ACEOF
else
eval libat_cv_have_at_exch_2=yes
fi
+ else
+ eval libat_cv_have_at_exch_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12895,6 +12923,8 @@ _ACEOF
else
eval libat_cv_have_at_exch_4=yes
fi
+ else
+ eval libat_cv_have_at_exch_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -12958,6 +12988,8 @@ _ACEOF
else
eval libat_cv_have_at_exch_8=yes
fi
+ else
+ eval libat_cv_have_at_exch_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13021,6 +13053,8 @@ _ACEOF
else
eval libat_cv_have_at_exch_16=yes
fi
+ else
+ eval libat_cv_have_at_exch_16=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13086,6 +13120,8 @@ _ACEOF
else
eval libat_cv_have_at_cas_1=yes
fi
+ else
+ eval libat_cv_have_at_cas_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13150,6 +13186,8 @@ _ACEOF
else
eval libat_cv_have_at_cas_2=yes
fi
+ else
+ eval libat_cv_have_at_cas_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13214,6 +13252,8 @@ _ACEOF
else
eval libat_cv_have_at_cas_4=yes
fi
+ else
+ eval libat_cv_have_at_cas_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13278,6 +13318,8 @@ _ACEOF
else
eval libat_cv_have_at_cas_8=yes
fi
+ else
+ eval libat_cv_have_at_cas_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13342,6 +13384,8 @@ _ACEOF
else
eval libat_cv_have_at_cas_16=yes
fi
+ else
+ eval libat_cv_have_at_cas_16=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13408,6 +13452,8 @@ _ACEOF
else
eval libat_cv_have_at_fadd_1=yes
fi
+ else
+ eval libat_cv_have_at_fadd_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13473,6 +13519,8 @@ _ACEOF
else
eval libat_cv_have_at_fadd_2=yes
fi
+ else
+ eval libat_cv_have_at_fadd_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13538,6 +13586,8 @@ _ACEOF
else
eval libat_cv_have_at_fadd_4=yes
fi
+ else
+ eval libat_cv_have_at_fadd_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13603,6 +13653,8 @@ _ACEOF
else
eval libat_cv_have_at_fadd_8=yes
fi
+ else
+ eval libat_cv_have_at_fadd_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13668,6 +13720,8 @@ _ACEOF
else
eval libat_cv_have_at_fadd_16=yes
fi
+ else
+ eval libat_cv_have_at_fadd_16=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13738,6 +13792,8 @@ _ACEOF
else
eval libat_cv_have_at_fop_1=yes
fi
+ else
+ eval libat_cv_have_at_fop_1=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13807,6 +13863,8 @@ _ACEOF
else
eval libat_cv_have_at_fop_2=yes
fi
+ else
+ eval libat_cv_have_at_fop_2=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13876,6 +13934,8 @@ _ACEOF
else
eval libat_cv_have_at_fop_4=yes
fi
+ else
+ eval libat_cv_have_at_fop_4=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -13945,6 +14005,8 @@ _ACEOF
else
eval libat_cv_have_at_fop_8=yes
fi
+ else
+ eval libat_cv_have_at_fop_8=no
fi
CFLAGS="$old_CFLAGS"
fi
@@ -14014,6 +14076,8 @@ _ACEOF
else
eval libat_cv_have_at_fop_16=yes
fi
+ else
+ eval libat_cv_have_at_fop_16=no
fi
CFLAGS="$old_CFLAGS"
fi