Line 0
Link Here
|
|
|
1 |
--- configure.orig 2017-06-13 11:59:12.000000000 +0200 |
2 |
+++ configure 2017-06-15 09:41:01.000000000 +0200 |
3 |
@@ -15885,17 +15885,14 @@ |
4 |
|
5 |
case "$host" in |
6 |
mips* | powerpc* ) |
7 |
- as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_cannot continue" "$LINENO" 5 |
8 |
- _-latomic" | $as_tr_sh` |
9 |
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 |
10 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 |
11 |
$as_echo_n "checking whether the linker accepts -latomic... " >&6; } |
12 |
-if eval \${$as_CACHEVAR+:} false; then : |
13 |
+if ${ax_cv_check_ldflags___latomic+:} false; then : |
14 |
$as_echo_n "(cached) " >&6 |
15 |
else |
16 |
|
17 |
ax_check_save_flags=$LDFLAGS |
18 |
- LDFLAGS="$LDFLAGS cannot continue" "$LINENO" 5 |
19 |
- -latomic" |
20 |
+ LDFLAGS="$LDFLAGS -latomic" |
21 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22 |
/* end confdefs.h. */ |
23 |
|
24 |
@@ -15908,21 +15905,21 @@ |
25 |
} |
26 |
_ACEOF |
27 |
if ac_fn_cxx_try_link "$LINENO"; then : |
28 |
- eval "$as_CACHEVAR=yes" |
29 |
+ ax_cv_check_ldflags___latomic=yes |
30 |
else |
31 |
- eval "$as_CACHEVAR=no" |
32 |
+ ax_cv_check_ldflags___latomic=no |
33 |
fi |
34 |
rm -f core conftest.err conftest.$ac_objext \ |
35 |
conftest$ac_exeext conftest.$ac_ext |
36 |
LDFLAGS=$ax_check_save_flags |
37 |
fi |
38 |
-eval ac_res=\$$as_CACHEVAR |
39 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
40 |
-$as_echo "$ac_res" >&6; } |
41 |
-if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : |
42 |
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5 |
43 |
+$as_echo "$ax_cv_check_ldflags___latomic" >&6; } |
44 |
+if test "x$ax_cv_check_ldflags___latomic" = xyes; then : |
45 |
: |
46 |
else |
47 |
- as_fn_error $? "Unable to link against libatomic |
48 |
+ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5 |
49 |
+ |
50 |
fi |
51 |
|
52 |
LDFLAGS="-latomic $LDFLAGS" |