ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.169 by sf-exg, Sun Nov 7 14:13:40 2021 UTC vs.
Revision 1.172 by sf-exg, Wed Nov 24 17:50:20 2021 UTC

4353ac_prog_cxx_stdcxx=no 4353ac_prog_cxx_stdcxx=no
4354if test x$ac_prog_cxx_stdcxx = xno 4354if test x$ac_prog_cxx_stdcxx = xno
4355then : 4355then :
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
4357printf %s "checking for $CXX option to enable C++11 features... " >&6; } 4357printf %s "checking for $CXX option to enable C++11 features... " >&6; }
4358if test ${ac_cv_prog_cxx_cxx11+y} 4358if test ${ac_cv_prog_cxx_11+y}
4359then : 4359then :
4360 printf %s "(cached) " >&6 4360 printf %s "(cached) " >&6
4361else $as_nop 4361else $as_nop
4362 ac_cv_prog_cxx_cxx11=no 4362 ac_cv_prog_cxx_11=no
4363ac_save_CXX=$CXX 4363ac_save_CXX=$CXX
4364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4364cat 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
4399fi 4399fi
4400if test x$ac_prog_cxx_stdcxx = xno 4400if test x$ac_prog_cxx_stdcxx = xno
4401then : 4401then :
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
4403printf %s "checking for $CXX option to enable C++98 features... " >&6; } 4403printf %s "checking for $CXX option to enable C++98 features... " >&6; }
4404if test ${ac_cv_prog_cxx_cxx98+y} 4404if test ${ac_cv_prog_cxx_98+y}
4405then : 4405then :
4406 printf %s "(cached) " >&6 4406 printf %s "(cached) " >&6
4407else $as_nop 4407else $as_nop
4408 ac_cv_prog_cxx_cxx98=no 4408 ac_cv_prog_cxx_98=no
4409ac_save_CXX=$CXX 4409ac_save_CXX=$CXX
4410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4410cat 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
4726ac_cpp='$CXXCPP $CPPFLAGS' 4726ac_cpp='$CXXCPP $CPPFLAGS'
4727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4727ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4728ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4729ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4730 4730
4731
4732if test "$ac_prog_cxx_stdcxx" != cxx11; then
4733 as_fn_error $? "the compiler does not support C++11" "$LINENO" 5
4734fi
4735 4731
4736LINKER="$CXX" 4732LINKER="$CXX"
4737if test x$GCC = xyes && test x$GXX = xyes; then 4733if test x$GCC = xyes && test x$GXX = xyes; then
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5
4739printf %s "checking for working libsupc++... " >&6; } 4735printf %s "checking for working libsupc++... " >&6; }
5084fi 5080fi
5085 5081
5086if test x$GXX = xyes; then 5082if test x$GXX = xyes; then
5087 if test $support_warnings = yes; then 5083 if test $support_warnings = yes; then
5088 save_CXXFLAGS="$CXXFLAGS" 5084 save_CXXFLAGS="$CXXFLAGS"
5089 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-unused-value" 5085 for warning in \
5086 -Wall \
5087 -Wno-parentheses \
5088 -Wno-reorder \
5089 -Wno-sign-compare \
5090 -Wno-unused-value \
5091 ; do
5092 CXXFLAGS="$CXXFLAGS $warning"
5093 done
5090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5091/* end confdefs.h. */ 5095/* end confdefs.h. */
5092 5096
5093int 5097int
5094main (void) 5098main (void)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines