Mercurial > octave
comparison configure.ac @ 28527:9e7b2625e574 stable
ov-java.cc: Set reaper thread to use default stack size (bug #58641).
* m4/acinclude.m4 (OCTAVE_CHECK_BROKEN_PTHREAD_STACKSIZE): New configure test.
* configure.ac: Run new configure test.
* ov-java.cc (initialize_jvm): Set jdk.lang.processReaperUseDefaultStackSize to
true if the new configure test failed (work around a glibc bug).
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 26 Jun 2020 18:44:35 +0200 |
parents | a36309586b0c |
children | d5311ca8f945 844b3b9bab7a |
comparison
equal
deleted
inserted
replaced
28525:286fe9352cd6 | 28527:9e7b2625e574 |
---|---|
560 XTRA_CXXFLAGS="$XTRA_CXXFLAGS $PTHREAD_CFLAGS" | 560 XTRA_CXXFLAGS="$XTRA_CXXFLAGS $PTHREAD_CFLAGS" |
561 dnl Set these for any other tests that may require them. | 561 dnl Set these for any other tests that may require them. |
562 dnl They will be reset before output files are generated. | 562 dnl They will be reset before output files are generated. |
563 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" | 563 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
564 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" | 564 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
565 | |
566 dnl Check if glibc uses wrong stack size | |
567 OCTAVE_CHECK_BROKEN_PTHREAD_STACKSIZE | |
568 AM_CONDITIONAL([OCTAVE_CHECK_BROKEN_PTHREAD_STACKSIZE], | |
569 [test $octave_cv_broken_pthread_stacksize = yes]) | |
570 | |
565 | 571 |
566 ### Test whether the compiler supports OpenMP. | 572 ### Test whether the compiler supports OpenMP. |
567 dnl This is enabled by default to allow the option of using OpenMP in | 573 dnl This is enabled by default to allow the option of using OpenMP in |
568 dnl loadable modules. | 574 dnl loadable modules. |
569 | 575 |