Changeset 517


Ignore:
Timestamp:
May 26, 2014 6:10:11 AM (5 years ago)
Author:
kulshres
Message:

regenerate files

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/Makefile.in

    r514 r517  
    9797        $(top_srcdir)/autoconf/ltversion.m4 \
    9898        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    99         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     99        $(top_srcdir)/autoconf/mpi.m4 \
     100        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    100101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    101102        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/Makefile.in

    r514 r517  
    9797        $(top_srcdir)/autoconf/ltversion.m4 \
    9898        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    99         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     99        $(top_srcdir)/autoconf/mpi.m4 \
     100        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    100101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    101102        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/Makefile.in

    r514 r517  
    9292        $(top_srcdir)/autoconf/ltversion.m4 \
    9393        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    94         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     94        $(top_srcdir)/autoconf/mpi.m4 \
     95        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9596am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9697        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/checkpointing/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/clock/Makefile.in

    r514 r517  
    9292        $(top_srcdir)/autoconf/ltversion.m4 \
    9393        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    94         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     94        $(top_srcdir)/autoconf/mpi.m4 \
     95        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9596am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9697        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/cuda/Makefile.in

    r514 r517  
    9292        $(top_srcdir)/autoconf/ltversion.m4 \
    9393        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    94         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     94        $(top_srcdir)/autoconf/mpi.m4 \
     95        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9596am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9697        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/detexam/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/ext_diff_func/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/fixpoint_exam/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/helm/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/hessmat/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/lighthouse/Makefile.in

    r514 r517  
    9696        $(top_srcdir)/autoconf/ltversion.m4 \
    9797        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    98         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     98        $(top_srcdir)/autoconf/mpi.m4 \
     99        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    99100am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    100101        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/lufact/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/ode/Makefile.in

    r514 r517  
    9696        $(top_srcdir)/autoconf/ltversion.m4 \
    9797        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    98         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     98        $(top_srcdir)/autoconf/mpi.m4 \
     99        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    99100am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    100101        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/openmp_exam/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/pow/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/scal/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/sparse/Makefile.in

    r514 r517  
    9797        $(top_srcdir)/autoconf/ltversion.m4 \
    9898        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    99         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     99        $(top_srcdir)/autoconf/mpi.m4 \
     100        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    100101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    101102        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/speelpenning/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/tapesave/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/taylor/Makefile.in

    r514 r517  
    9797        $(top_srcdir)/autoconf/ltversion.m4 \
    9898        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    99         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     99        $(top_srcdir)/autoconf/mpi.m4 \
     100        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    100101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    101102        $(ACLOCAL_M4)
  • trunk/ADOL-C/examples/additional_examples/timing/Makefile.in

    r514 r517  
    102102        $(top_srcdir)/autoconf/ltversion.m4 \
    103103        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    104         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     104        $(top_srcdir)/autoconf/mpi.m4 \
     105        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    105106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    106107        $(ACLOCAL_M4)
  • trunk/ADOL-C/include/Makefile.in

    r514 r517  
    9292        $(top_srcdir)/autoconf/ltversion.m4 \
    9393        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    94         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     94        $(top_srcdir)/autoconf/mpi.m4 \
     95        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9596am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9697        $(ACLOCAL_M4)
  • trunk/ADOL-C/include/adolc/Makefile.in

    r514 r517  
    9595        $(top_srcdir)/autoconf/ltversion.m4 \
    9696        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    97         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     97        $(top_srcdir)/autoconf/mpi.m4 \
     98        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9899am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99100        $(ACLOCAL_M4)
  • trunk/ADOL-C/include/adolc/drivers/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/include/adolc/sparse/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/include/adolc/tapedoc/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/src/Makefile.in

    r514 r517  
    101101        $(top_srcdir)/autoconf/ltversion.m4 \
    102102        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    103         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     103        $(top_srcdir)/autoconf/mpi.m4 \
     104        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    104105am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    105106        $(ACLOCAL_M4)
  • trunk/ADOL-C/src/drivers/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/src/sparse/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/src/tapedoc/Makefile.in

    r514 r517  
    9494        $(top_srcdir)/autoconf/ltversion.m4 \
    9595        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    96         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     96        $(top_srcdir)/autoconf/mpi.m4 \
     97        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    9798am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    9899        $(ACLOCAL_M4)
  • trunk/ADOL-C/test/Makefile.in

    r514 r517  
    9696        $(top_srcdir)/autoconf/ltversion.m4 \
    9797        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    98         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     98        $(top_srcdir)/autoconf/mpi.m4 \
     99        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    99100am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    100101        $(ACLOCAL_M4)
  • trunk/Makefile.in

    r514 r517  
    108108        $(top_srcdir)/autoconf/ltversion.m4 \
    109109        $(top_srcdir)/autoconf/lt~obsolete.m4 \
    110         $(top_srcdir)/autoconf/mpi.m4 $(top_srcdir)/configure.ac
     110        $(top_srcdir)/autoconf/mpi.m4 \
     111        $(top_srcdir)/autoconf/stdcxx_11.m4 $(top_srcdir)/configure.ac
    111112am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    112113        $(ACLOCAL_M4)
  • trunk/aclocal.m4

    r514 r517  
    2020If you have problems, you may need to regenerate the build system entirely.
    2121To do so, use the procedure documented by the package, typically 'autoreconf'.])])
    22 
    23 # ============================================================================
    24 #  http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
    25 # ============================================================================
    26 #
    27 # SYNOPSIS
    28 #
    29 #   AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional])
    30 #
    31 # DESCRIPTION
    32 #
    33 #   Check for baseline language coverage in the compiler for the C++11
    34 #   standard; if necessary, add switches to CXXFLAGS to enable support.
    35 #
    36 #   The first argument, if specified, indicates whether you insist on an
    37 #   extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
    38 #   -std=c++11).  If neither is specified, you get whatever works, with
    39 #   preference for an extended mode.
    40 #
    41 #   The second argument, if specified 'mandatory' or if left unspecified,
    42 #   indicates that baseline C++11 support is required and that the macro
    43 #   should error out if no mode with that support is found.  If specified
    44 #   'optional', then configuration proceeds regardless, after defining
    45 #   HAVE_CXX11 if and only if a supporting mode is found.
    46 #
    47 # LICENSE
    48 #
    49 #   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
    50 #   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
    51 #   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
    52 #
    53 #   Copying and distribution of this file, with or without modification, are
    54 #   permitted in any medium without royalty provided the copyright notice
    55 #   and this notice are preserved. This file is offered as-is, without any
    56 #   warranty.
    57 
    58 #serial 3
    59 
    60 m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [
    61   template <typename T>
    62     struct check
    63     {
    64       static_assert(sizeof(int) <= sizeof(T), "not big enough");
    65     };
    66 
    67     typedef check<check<bool>> right_angle_brackets;
    68 
    69     int a;
    70     decltype(a) b;
    71 
    72     typedef check<int> check_type;
    73     check_type c;
    74     check_type&& cr = static_cast<check_type&&>(c);
    75 
    76     auto d = a;
    77 ])
    78 
    79 AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl
    80   m4_if([$1], [], [],
    81         [$1], [ext], [],
    82         [$1], [noext], [],
    83         [m4_fatal([invalid argument `$1' to AX_CXX_COMPILE_STDCXX_11])])dnl
    84   m4_if([$2], [], [ax_cxx_compile_cxx11_required=true],
    85         [$2], [mandatory], [ax_cxx_compile_cxx11_required=true],
    86         [$2], [optional], [ax_cxx_compile_cxx11_required=false],
    87         [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX_11])])dnl
    88   AC_LANG_PUSH([C++])dnl
    89   ac_success=no
    90   AC_CACHE_CHECK(whether $CXX supports C++11 features by default,
    91   ax_cv_cxx_compile_cxx11,
    92   [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
    93     [ax_cv_cxx_compile_cxx11=yes],
    94     [ax_cv_cxx_compile_cxx11=no])])
    95   if test x$ax_cv_cxx_compile_cxx11 = xyes; then
    96     ac_success=yes
    97   fi
    98 
    99   m4_if([$1], [noext], [], [dnl
    100   if test x$ac_success = xno; then
    101     for switch in -std=gnu++11 -std=gnu++0x; do
    102       cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch])
    103       AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
    104                      $cachevar,
    105         [ac_save_CXXFLAGS="$CXXFLAGS"
    106          CXXFLAGS="$CXXFLAGS $switch"
    107          AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
    108           [eval $cachevar=yes],
    109           [eval $cachevar=no])
    110          CXXFLAGS="$ac_save_CXXFLAGS"])
    111       if eval test x\$$cachevar = xyes; then
    112         CXXFLAGS="$CXXFLAGS $switch"
    113         ac_success=yes
    114         break
    115       fi
    116     done
    117   fi])
    118 
    119   m4_if([$1], [ext], [], [dnl
    120   if test x$ac_success = xno; then
    121     for switch in -std=c++11 -std=c++0x; do
    122       cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch])
    123       AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch,
    124                      $cachevar,
    125         [ac_save_CXXFLAGS="$CXXFLAGS"
    126          CXXFLAGS="$CXXFLAGS $switch"
    127          AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_11_testbody])],
    128           [eval $cachevar=yes],
    129           [eval $cachevar=no])
    130          CXXFLAGS="$ac_save_CXXFLAGS"])
    131       if eval test x\$$cachevar = xyes; then
    132         CXXFLAGS="$CXXFLAGS $switch"
    133         ac_success=yes
    134         break
    135       fi
    136     done
    137   fi])
    138   AC_LANG_POP([C++])
    139   if test x$ax_cxx_compile_cxx11_required = xtrue; then
    140     if test x$ac_success = xno; then
    141       AC_MSG_ERROR([*** A compiler with support for C++11 language features is required.])
    142     fi
    143   else
    144     if test x$ac_success = xno; then
    145       HAVE_CXX11=0
    146       AC_MSG_NOTICE([No compiler with C++11 support was found])
    147     else
    148       HAVE_CXX11=1
    149       AC_DEFINE(HAVE_CXX11,1,
    150                 [define if the compiler supports basic C++11 syntax])
    151     fi
    152 
    153     AC_SUBST(HAVE_CXX11)
    154   fi
    155 ])
    15622
    15723# Copyright (C) 2002-2013 Free Software Foundation, Inc.
     
    12171083m4_include([autoconf/lt~obsolete.m4])
    12181084m4_include([autoconf/mpi.m4])
     1085m4_include([autoconf/stdcxx_11.m4])
Note: See TracChangeset for help on using the changeset viewer.