… | |
… | |
4353 | ac_prog_cxx_stdcxx=no |
4353 | ac_prog_cxx_stdcxx=no |
4354 | if test x$ac_prog_cxx_stdcxx = xno |
4354 | if test x$ac_prog_cxx_stdcxx = xno |
4355 | then : |
4355 | then : |
4356 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
4356 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
4357 | printf %s "checking for $CXX option to enable C++11 features... " >&6; } |
4357 | printf %s "checking for $CXX option to enable C++11 features... " >&6; } |
4358 | if test ${ac_cv_prog_cxx_cxx11+y} |
4358 | if test ${ac_cv_prog_cxx_11+y} |
4359 | then : |
4359 | then : |
4360 | printf %s "(cached) " >&6 |
4360 | printf %s "(cached) " >&6 |
4361 | else $as_nop |
4361 | else $as_nop |
4362 | ac_cv_prog_cxx_cxx11=no |
4362 | ac_cv_prog_cxx_11=no |
4363 | ac_save_CXX=$CXX |
4363 | ac_save_CXX=$CXX |
4364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4365 | /* end confdefs.h. */ |
4365 | /* end confdefs.h. */ |
4366 | $ac_cxx_conftest_cxx11_program |
4366 | $ac_cxx_conftest_cxx11_program |
4367 | _ACEOF |
4367 | _ACEOF |
… | |
… | |
4399 | fi |
4399 | fi |
4400 | if test x$ac_prog_cxx_stdcxx = xno |
4400 | if test x$ac_prog_cxx_stdcxx = xno |
4401 | then : |
4401 | then : |
4402 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
4402 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
4403 | printf %s "checking for $CXX option to enable C++98 features... " >&6; } |
4403 | printf %s "checking for $CXX option to enable C++98 features... " >&6; } |
4404 | if test ${ac_cv_prog_cxx_cxx98+y} |
4404 | if test ${ac_cv_prog_cxx_98+y} |
4405 | then : |
4405 | then : |
4406 | printf %s "(cached) " >&6 |
4406 | printf %s "(cached) " >&6 |
4407 | else $as_nop |
4407 | else $as_nop |
4408 | ac_cv_prog_cxx_cxx98=no |
4408 | ac_cv_prog_cxx_98=no |
4409 | ac_save_CXX=$CXX |
4409 | ac_save_CXX=$CXX |
4410 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4410 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4411 | /* end confdefs.h. */ |
4411 | /* end confdefs.h. */ |
4412 | $ac_cxx_conftest_cxx98_program |
4412 | $ac_cxx_conftest_cxx98_program |
4413 | _ACEOF |
4413 | _ACEOF |
… | |
… | |
5084 | fi |
5084 | fi |
5085 | |
5085 | |
5086 | if test x$GXX = xyes; then |
5086 | if test x$GXX = xyes; then |
5087 | if test $support_warnings = yes; then |
5087 | if test $support_warnings = yes; then |
5088 | save_CXXFLAGS="$CXXFLAGS" |
5088 | save_CXXFLAGS="$CXXFLAGS" |
5089 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" |
5089 | for warning in \ |
|
|
5090 | -Wall \ |
|
|
5091 | -Wno-parentheses \ |
|
|
5092 | -Wno-reorder \ |
|
|
5093 | -Wno-sign-compare \ |
|
|
5094 | -Wno-unused-value \ |
|
|
5095 | ; do |
|
|
5096 | CXXFLAGS="$CXXFLAGS $warning" |
|
|
5097 | done |
5090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5098 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5091 | /* end confdefs.h. */ |
5099 | /* end confdefs.h. */ |
5092 | |
5100 | |
5093 | int |
5101 | int |
5094 | main (void) |
5102 | main (void) |