Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChemicalSpaceEvaluator
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Exclude_Hydrogens_annealWithBondGraph
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_contraction-expansion
        Gui_displays_atomic_force_velocity
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        stable
      
      
      
| Line |   | 
|---|
| 1 | dnl @synopsis AC_CXX_HAVE_VALARRAY
 | 
|---|
| 2 | dnl
 | 
|---|
| 3 | dnl If the compiler has valarray<T>, define HAVE_VALARRAY.
 | 
|---|
| 4 | dnl
 | 
|---|
| 5 | dnl @category Cxx
 | 
|---|
| 6 | dnl @author Todd Veldhuizen
 | 
|---|
| 7 | dnl @author Luc Maisonobe <luc@spaceroots.org>
 | 
|---|
| 8 | dnl @version 2004-02-04
 | 
|---|
| 9 | dnl @license AllPermissive
 | 
|---|
| 10 | 
 | 
|---|
| 11 | AC_DEFUN([AC_CXX_HAVE_VALARRAY],
 | 
|---|
| 12 | [AC_CACHE_CHECK(whether the compiler has valarray<T>,
 | 
|---|
| 13 | ac_cv_cxx_have_valarray,
 | 
|---|
| 14 | [AC_REQUIRE([AC_CXX_NAMESPACES])
 | 
|---|
| 15 |  AC_LANG_SAVE
 | 
|---|
| 16 |  AC_LANG_CPLUSPLUS
 | 
|---|
| 17 |  AC_TRY_COMPILE([#include <valarray>
 | 
|---|
| 18 | #ifdef HAVE_NAMESPACES
 | 
|---|
| 19 | using namespace std;
 | 
|---|
| 20 | #endif],[valarray<float> x(100); return 0;],
 | 
|---|
| 21 |  ac_cv_cxx_have_valarray=yes, ac_cv_cxx_have_valarray=no)
 | 
|---|
| 22 |  AC_LANG_RESTORE
 | 
|---|
| 23 | ])
 | 
|---|
| 24 | if test "$ac_cv_cxx_have_valarray" = yes; then
 | 
|---|
| 25 |   AC_DEFINE(HAVE_VALARRAY,,[define if the compiler has valarray<T>])
 | 
|---|
| 26 | fi
 | 
|---|
| 27 | ])
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.