patch-js_src_configure 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- mozjs17.0.0.orig/js/src/configure 2013-03-25 21:34:20.000000000 +0100
  2. +++ mozjs17.0.0/js/src/configure 2014-01-09 18:00:47.000000000 +0100
  3. @@ -6037,39 +6037,6 @@ EOF
  4. HAVE_ARM_SIMD=1
  5. fi
  6. - echo $ac_n "checking for ARM NEON support in compiler""... $ac_c" 1>&6
  7. -echo "configure:6042: checking for ARM NEON support in compiler" >&5
  8. - # We try to link so that this also fails when
  9. - # building with LTO.
  10. - cat > conftest.$ac_ext <<EOF
  11. -#line 6046 "configure"
  12. -#include "confdefs.h"
  13. -
  14. -int main() {
  15. -asm(".fpu neon\n vadd.i8 d0, d0, d0");
  16. -; return 0; }
  17. -EOF
  18. -if { (eval echo configure:6053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  19. - rm -rf conftest*
  20. - result="yes"
  21. -else
  22. - echo "configure: failed program was:" >&5
  23. - cat conftest.$ac_ext >&5
  24. - rm -rf conftest*
  25. - result="no"
  26. -fi
  27. -rm -f conftest*
  28. - echo "$ac_t"""$result"" 1>&6
  29. - if test "$result" = "yes"; then
  30. - cat >> confdefs.pytmp <<\EOF
  31. - (''' HAVE_ARM_NEON ''', ' 1 ')
  32. -EOF
  33. -cat >> confdefs.h <<\EOF
  34. -#define HAVE_ARM_NEON 1
  35. -EOF
  36. -
  37. - HAVE_ARM_NEON=1
  38. - fi
  39. fi # CPU_ARCH = arm