Changeset 3593


Ignore:
Timestamp:
Jan 20, 2017, 7:31:37 AM (7 years ago)
Author:
Peter
Message:

replace option --without-cxx11 with --enable-cxx11 and also change the default to 'disabled'. refs #878

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r3591 r3593  
    8787AC_PROG_CXX
    8888
    89 AC_ARG_WITH([cxx11],
    90             [AS_HELP_STRING([--without-cxx11],
    91                             [build with no disable C++11 support])],
     89AC_ARG_ENABLE([cxx11],
     90              [AS_HELP_STRING([--enable-cxx11],
     91                              [build with C++11 support (if available)])],
    9292            [],
    93             [with_cxx11=yes])
     93            [enable_cxx11=no])
    9494
    9595# if CXX11 is wanted look for rvalue support
    9696yat_have_rvalue=no
    9797yat_have_atomic=no
    98 AS_VAR_IF([with_cxx11], [no], [], [
     98AS_VAR_IF([enable_cxx11], [yes], [
    9999  YAT_CXX_RVALUE([yat_have_rvalue=yes
    100100                  AC_DEFINE([YAT_HAVE_RVALUE], [1],
Note: See TracChangeset for help on using the changeset viewer.