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.175 by root, Mon Jan 2 17:16:42 2023 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)
6840 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6844 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6841fi 6845fi
6842 6846
6843 6847
6844 6848
6845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libptytty" >&5 6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libptytty (using pkg-config)" >&5
6846printf %s "checking for libptytty... " >&6; } 6850printf %s "checking for libptytty (using pkg-config)... " >&6; }
6847 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libptytty; then 6851 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libptytty; then
6848 PTYTTY_CFLAGS="`$PKG_CONFIG --cflags libptytty`" 6852 PTYTTY_CFLAGS="`$PKG_CONFIG --cflags libptytty`"
6849 PTYTTY_LIBS="`$PKG_CONFIG --libs libptytty`" 6853 PTYTTY_LIBS="`$PKG_CONFIG --libs libptytty`"
6850 6854
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6868PIXBUF_CFLAGS= 6872PIXBUF_CFLAGS=
6869PIXBUF_LIBS= 6873PIXBUF_LIBS=
6870 6874
6871if test x$support_pixbuf = xyes; then 6875if test x$support_pixbuf = xyes; then
6872 6876
6873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5 6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0 (using pkg-config)" >&5
6874printf %s "checking for gdk-pixbuf-2.0... " >&6; } 6878printf %s "checking for gdk-pixbuf-2.0 (using pkg-config)... " >&6; }
6875 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then 6879 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6876 PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`" 6880 PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`"
6877 PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`" 6881 PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`"
6878 6882
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6898STARTUP_NOTIFICATION_CFLAGS= 6902STARTUP_NOTIFICATION_CFLAGS=
6899STARTUP_NOTIFICATION_LIBS= 6903STARTUP_NOTIFICATION_LIBS=
6900 6904
6901if test x$support_startup_notification = xyes; then 6905if test x$support_startup_notification = xyes; then
6902 6906
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5 6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0 (using pkg-config)" >&5
6904printf %s "checking for libstartup-notification-1.0... " >&6; } 6908printf %s "checking for libstartup-notification-1.0 (using pkg-config)... " >&6; }
6905 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then 6909 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6906 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`" 6910 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`"
6907 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`" 6911 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`"
6908 6912
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6924 6928
6925 6929
6926 6930
6927if test x$support_frills = xyes; then 6931if test x$support_frills = xyes; then
6928 6932
6929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5 6933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmu (using pkg-config)" >&5
6930printf %s "checking for xmu... " >&6; } 6934printf %s "checking for xmu (using pkg-config)... " >&6; }
6931 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then 6935 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then
6932 XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`" 6936 XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`"
6933 XMU_LIBS="`$PKG_CONFIG --libs xmu`" 6937 XMU_LIBS="`$PKG_CONFIG --libs xmu`"
6934 6938
6935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7459 support_image=yes 7463 support_image=yes
7460fi 7464fi
7461if test x$support_xft = xyes || test x$support_image = xyes; then 7465if test x$support_xft = xyes || test x$support_image = xyes; then
7462 rxvt_have_xrender=no 7466 rxvt_have_xrender=no
7463 7467
7464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5 7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender (using pkg-config)" >&5
7465printf %s "checking for xrender... " >&6; } 7469printf %s "checking for xrender (using pkg-config)... " >&6; }
7466 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then 7470 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7467 XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`" 7471 XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`"
7468 XRENDER_LIBS="`$PKG_CONFIG --libs xrender`" 7472 XRENDER_LIBS="`$PKG_CONFIG --libs xrender`"
7469 7473
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7502 7506
7503fi 7507fi
7504 7508
7505if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7509if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7506 7510
7507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5 7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft (using pkg-config)" >&5
7508printf %s "checking for fontconfig xft... " >&6; } 7512printf %s "checking for fontconfig xft (using pkg-config)... " >&6; }
7509 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then 7513 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then
7510 XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`" 7514 XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`"
7511 XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`" 7515 XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`"
7512 7516
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826printf "%s\n" "no" >&6; } 7830printf "%s\n" "no" >&6; }
7827fi 7831fi
7828 7832
7829 7833
7834
7835
7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xext (using pkg-config)" >&5
7837printf %s "checking for xext (using pkg-config)... " >&6; }
7838 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xext; then
7839 XEXT_CFLAGS="`$PKG_CONFIG --cflags xext`"
7840 XEXT_LIBS="`$PKG_CONFIG --libs xext`"
7841
7842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7843printf "%s\n" "ok" >&6; }
7844 :
7845 else
7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7847printf "%s\n" "no" >&6; }
7848
7849 as_fn_error $? "unable to find xext, required for perl" "$LINENO" 5
7850
7851 fi
7852
7853
7854 X_LIBS="$XEXT_LIBS $X_LIBS"
7855 CPPFLAGS="$CPPFLAGS $XEXT_CFLAGS"
7830 7856
7831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PERL suitability" >&5 7857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $PERL suitability" >&5
7832printf %s "checking for $PERL suitability... " >&6; } 7858printf %s "checking for $PERL suitability... " >&6; }
7833 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then 7859 if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then
7834 7860

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines