OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | diff --git a/configure b/configure |
| 2 | index a57297d..98857ae 100755 |
| 3 | --- a/configure |
| 4 | +++ b/configure |
| 5 | @@ -35053,6 +35053,8 @@ fi |
| 6 | |
| 7 | if test "$with_threads" = pthreads; then |
| 8 | |
| 9 | +cat >> /dev/null << end_pthread_attr_getstack_check_part1 |
| 10 | + |
| 11 | { $as_echo "$as_me:$LINENO: checking whether pthread_attr_getstack works for the main thread" >&5 |
| 12 | $as_echo_n "checking whether pthread_attr_getstack works for the main thread... " >&6; } |
| 13 | old_CFLAGS="$CFLAGS" |
| 14 | @@ -35121,12 +35123,15 @@ $as_echo "$ac_try_echo") >&5 |
| 15 | ac_status=$? |
| 16 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 17 | (exit $ac_status); }; }; then |
| 18 | + |
| 19 | +end_pthread_attr_getstack_check_part1 |
| 20 | works=yes |
| 21 | |
| 22 | cat >>confdefs.h <<\_ACEOF |
| 23 | #define PTHREAD_ATTR_GETSTACK_WORKS 1 |
| 24 | _ACEOF |
| 25 | |
| 26 | +cat >> /dev/null << end_pthread_attr_getstack_check_part2 |
| 27 | else |
| 28 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| 29 | $as_echo "$as_me: failed program was:" >&5 |
| 30 | @@ -35138,6 +35143,7 @@ fi |
| 31 | rm -rf conftest.dSYM |
| 32 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| 33 | fi |
| 34 | +end_pthread_attr_getstack_check_part2 |
| 35 | |
| 36 | |
| 37 | CFLAGS="$old_CFLAGS" |
| 38 | diff --git a/configure.in b/configure.in |
| 39 | index 217ac83..c4c16fc 100644 |
| 40 | --- a/configure.in |
| 41 | +++ b/configure.in |
| 42 | @@ -854,7 +854,7 @@ main (void) |
| 43 | }]])], |
| 44 | [guile_cv_use_csqrt=yes], |
| 45 | [guile_cv_use_csqrt="no, glibc 2.3 bug"], |
| 46 | - [guile_cv_use_csqrt="yes, hopefully (cross-compiling)"])]) |
| 47 | + [guile_cv_use_csqrt="no, Ben NanoNote (cross-compiling)"])]) |
| 48 | case $guile_cv_use_csqrt in |
| 49 | yes*) |
| 50 | AC_DEFINE(HAVE_USABLE_CSQRT, 1, [Define to 1 if csqrt is bug-free]) |
| 51 |
