Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
17887:3252b366bb5d | 17888:11a6c7445a71 |
---|---|
378 AC_SUBST(GXX_VERSION) | 378 AC_SUBST(GXX_VERSION) |
379 | 379 |
380 OCTAVE_CHECK_BROKEN_STL_ALGO_H | 380 OCTAVE_CHECK_BROKEN_STL_ALGO_H |
381 AM_CONDITIONAL([AMCOND_HAVE_BROKEN_STL_ALGO_H], | 381 AM_CONDITIONAL([AMCOND_HAVE_BROKEN_STL_ALGO_H], |
382 [test $octave_cv_broken_stl_algo_h = yes]) | 382 [test $octave_cv_broken_stl_algo_h = yes]) |
383 | |
384 if test $octave_cv_broken_stl_algo_h = yes; then | |
385 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." | |
386 OCTAVE_CONFIGURE_WARNING([warn_stl_algo_h]) | |
387 fi | |
383 | 388 |
384 ### Determine the compiler flag necessary to create dependencies | 389 ### Determine the compiler flag necessary to create dependencies |
385 | 390 |
386 ## Assume GCC. | 391 ## Assume GCC. |
387 INCLUDE_DEPS=yes | 392 INCLUDE_DEPS=yes |