Ignore:
Timestamp:
01/25/12 16:07:23 (13 years ago)
Author:
tbretz
Message:
Adapted to local version of c++0x check
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r12756 r12768  
    46224622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features without additional flags" >&5
    46234623$as_echo_n "checking if g++ supports C++0x features without additional flags... " >&6; }
    4624 if test "${ac_cv_cxx_compile_cxx0x_native+set}" = set; then :
     4624if test "${ax_cv_cxx_compile_cxx0x_native+set}" = set; then :
    46254625  $as_echo_n "(cached) " >&6
    46264626else
     
    46484648    typedef check<int> check_type;
    46494649    check_type c;
    4650     check_type&& cr = c;
     4650    check_type&& cr = static_cast<check_type&&>(c);
    46514651int
    46524652main ()
     
    46584658_ACEOF
    46594659if ac_fn_cxx_try_compile "$LINENO"; then :
    4660   ac_cv_cxx_compile_cxx0x_native=yes
    4661 else
    4662   ac_cv_cxx_compile_cxx0x_native=no
     4660  ax_cv_cxx_compile_cxx0x_native=yes
     4661else
     4662  ax_cv_cxx_compile_cxx0x_native=no
    46634663fi
    46644664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    46714671
    46724672fi
    4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_native" >&5
    4674 $as_echo "$ac_cv_cxx_compile_cxx0x_native" >&6; }
     4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx0x_native" >&5
     4674$as_echo "$ax_cv_cxx_compile_cxx0x_native" >&6; }
    46754675
    46764676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=c++0x" >&5
    46774677$as_echo_n "checking if g++ supports C++0x features with -std=c++0x... " >&6; }
    4678 if test "${ac_cv_cxx_compile_cxx0x_cxx+set}" = set; then :
     4678if test "${ax_cv_cxx_compile_cxx0x_cxx+set}" = set; then :
    46794679  $as_echo_n "(cached) " >&6
    46804680else
     
    47044704    typedef check<int> check_type;
    47054705    check_type c;
    4706     check_type&& cr = c;
     4706    check_type&& cr = static_cast<check_type&&>(c);
    47074707int
    47084708main ()
     
    47144714_ACEOF
    47154715if ac_fn_cxx_try_compile "$LINENO"; then :
    4716   ac_cv_cxx_compile_cxx0x_cxx=yes
    4717 else
    4718   ac_cv_cxx_compile_cxx0x_cxx=no
     4716  ax_cv_cxx_compile_cxx0x_cxx=yes
     4717else
     4718  ax_cv_cxx_compile_cxx0x_cxx=no
    47194719fi
    47204720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    47284728
    47294729fi
    4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_cxx" >&5
    4731 $as_echo "$ac_cv_cxx_compile_cxx0x_cxx" >&6; }
     4730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx0x_cxx" >&5
     4731$as_echo "$ax_cv_cxx_compile_cxx0x_cxx" >&6; }
    47324732
    47334733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=gnu++0x" >&5
    47344734$as_echo_n "checking if g++ supports C++0x features with -std=gnu++0x... " >&6; }
    4735 if test "${ac_cv_cxx_compile_cxx0x_gxx+set}" = set; then :
     4735if test "${ax_cv_cxx_compile_cxx0x_gxx+set}" = set; then :
    47364736  $as_echo_n "(cached) " >&6
    47374737else
     
    47614761    typedef check<int> check_type;
    47624762    check_type c;
    4763     check_type&& cr = c;
     4763    check_type&& cr = static_cast<check_type&&>(c);
    47644764int
    47654765main ()
     
    47714771_ACEOF
    47724772if ac_fn_cxx_try_compile "$LINENO"; then :
    4773   ac_cv_cxx_compile_cxx0x_gxx=yes
    4774 else
    4775   ac_cv_cxx_compile_cxx0x_gxx=no
     4773  ax_cv_cxx_compile_cxx0x_gxx=yes
     4774else
     4775  ax_cv_cxx_compile_cxx0x_gxx=no
    47764776fi
    47774777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    47854785
    47864786fi
    4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compile_cxx0x_gxx" >&5
    4788 $as_echo "$ac_cv_cxx_compile_cxx0x_gxx" >&6; }
    4789 
    4790   if test "$ac_cv_cxx_compile_cxx0x_native" = yes ||
    4791      test "$ac_cv_cxx_compile_cxx0x_cxx" = yes ||
    4792      test "$ac_cv_cxx_compile_cxx0x_gxx" = yes; then
     4787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx0x_gxx" >&5
     4788$as_echo "$ax_cv_cxx_compile_cxx0x_gxx" >&6; }
     4789
     4790  if test "$ax_cv_cxx_compile_cxx0x_native" = yes ||
     4791     test "$ax_cv_cxx_compile_cxx0x_cxx" = yes ||
     4792     test "$ax_cv_cxx_compile_cxx0x_gxx" = yes; then
    47934793
    47944794$as_echo "#define HAVE_STDCXX_0X /**/" >>confdefs.h
     
    47964796  fi
    47974797
    4798 if test "$ac_cv_cxx_compile_cxx0x_cxx" != yes; then
     4798if test "$ax_cv_cxx_compile_cxx0x_cxx" != yes; then
    47994799   as_fn_error $? "C++0x standard (-std=c++0x) not supported by compiler." "$LINENO" 5
    48004800fi
Note: See TracChangeset for help on using the changeset viewer.