Mercurial > hg > octave-nkf
diff configure.ac @ 17888:11a6c7445a71
fix m4 quoting in test and improve warning messages for stl_algo.h problem
* acinclude.m4 (OCTAVE_CHECK_BROKEN_STL_ALGO_H): Quote [012] in case
statement. Improve warning messages.
* configure.ac: Also warn if local patched version of bits/stl_algo.h
will be used.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Nov 2013 12:28:46 -0500 |
parents | 0d660785098e |
children | 82f096e1a805 |
line wrap: on
line diff
--- a/configure.ac +++ b/configure.ac @@ -381,6 +381,11 @@ AM_CONDITIONAL([AMCOND_HAVE_BROKEN_STL_ALGO_H], [test $octave_cv_broken_stl_algo_h = yes]) +if test $octave_cv_broken_stl_algo_h = yes; then + warn_stl_algo_h="Found nth_element broken in g++ $GXX_VERSION. Attempting to repair by using local patched version of bits/stl_algo.h." + OCTAVE_CONFIGURE_WARNING([warn_stl_algo_h]) +fi + ### Determine the compiler flag necessary to create dependencies ## Assume GCC.