Changeset 12768 for trunk/FACT++/configure
- Timestamp:
- 01/25/12 16:07:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r12756 r12768 4622 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features without additional flags" >&5 4623 4623 $as_echo_n "checking if g++ supports C++0x features without additional flags... " >&6; } 4624 if test "${a c_cv_cxx_compile_cxx0x_native+set}" = set; then :4624 if test "${ax_cv_cxx_compile_cxx0x_native+set}" = set; then : 4625 4625 $as_echo_n "(cached) " >&6 4626 4626 else … … 4648 4648 typedef check<int> check_type; 4649 4649 check_type c; 4650 check_type&& cr = c;4650 check_type&& cr = static_cast<check_type&&>(c); 4651 4651 int 4652 4652 main () … … 4658 4658 _ACEOF 4659 4659 if ac_fn_cxx_try_compile "$LINENO"; then : 4660 a c_cv_cxx_compile_cxx0x_native=yes4661 else 4662 a c_cv_cxx_compile_cxx0x_native=no4660 ax_cv_cxx_compile_cxx0x_native=yes 4661 else 4662 ax_cv_cxx_compile_cxx0x_native=no 4663 4663 fi 4664 4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 4671 4671 4672 4672 fi 4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $a c_cv_cxx_compile_cxx0x_native" >&54674 $as_echo "$a c_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; } 4675 4675 4676 4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=c++0x" >&5 4677 4677 $as_echo_n "checking if g++ supports C++0x features with -std=c++0x... " >&6; } 4678 if test "${a c_cv_cxx_compile_cxx0x_cxx+set}" = set; then :4678 if test "${ax_cv_cxx_compile_cxx0x_cxx+set}" = set; then : 4679 4679 $as_echo_n "(cached) " >&6 4680 4680 else … … 4704 4704 typedef check<int> check_type; 4705 4705 check_type c; 4706 check_type&& cr = c;4706 check_type&& cr = static_cast<check_type&&>(c); 4707 4707 int 4708 4708 main () … … 4714 4714 _ACEOF 4715 4715 if ac_fn_cxx_try_compile "$LINENO"; then : 4716 a c_cv_cxx_compile_cxx0x_cxx=yes4717 else 4718 a c_cv_cxx_compile_cxx0x_cxx=no4716 ax_cv_cxx_compile_cxx0x_cxx=yes 4717 else 4718 ax_cv_cxx_compile_cxx0x_cxx=no 4719 4719 fi 4720 4720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 4728 4728 4729 4729 fi 4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $a c_cv_cxx_compile_cxx0x_cxx" >&54731 $as_echo "$a c_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; } 4732 4732 4733 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ supports C++0x features with -std=gnu++0x" >&5 4734 4734 $as_echo_n "checking if g++ supports C++0x features with -std=gnu++0x... " >&6; } 4735 if test "${a c_cv_cxx_compile_cxx0x_gxx+set}" = set; then :4735 if test "${ax_cv_cxx_compile_cxx0x_gxx+set}" = set; then : 4736 4736 $as_echo_n "(cached) " >&6 4737 4737 else … … 4761 4761 typedef check<int> check_type; 4762 4762 check_type c; 4763 check_type&& cr = c;4763 check_type&& cr = static_cast<check_type&&>(c); 4764 4764 int 4765 4765 main () … … 4771 4771 _ACEOF 4772 4772 if ac_fn_cxx_try_compile "$LINENO"; then : 4773 a c_cv_cxx_compile_cxx0x_gxx=yes4774 else 4775 a c_cv_cxx_compile_cxx0x_gxx=no4773 ax_cv_cxx_compile_cxx0x_gxx=yes 4774 else 4775 ax_cv_cxx_compile_cxx0x_gxx=no 4776 4776 fi 4777 4777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext … … 4785 4785 4786 4786 fi 4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $a c_cv_cxx_compile_cxx0x_gxx" >&54788 $as_echo "$a c_cv_cxx_compile_cxx0x_gxx" >&6; }4789 4790 if test "$a c_cv_cxx_compile_cxx0x_native" = yes ||4791 test "$a c_cv_cxx_compile_cxx0x_cxx" = yes ||4792 test "$a c_cv_cxx_compile_cxx0x_gxx" = yes; then4787 { $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 4793 4793 4794 4794 $as_echo "#define HAVE_STDCXX_0X /**/" >>confdefs.h … … 4796 4796 fi 4797 4797 4798 if test "$a c_cv_cxx_compile_cxx0x_cxx" != yes; then4798 if test "$ax_cv_cxx_compile_cxx0x_cxx" != yes; then 4799 4799 as_fn_error $? "C++0x standard (-std=c++0x) not supported by compiler." "$LINENO" 5 4800 4800 fi
Note:
See TracChangeset
for help on using the changeset viewer.