… | |
… | |
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 |
… | |
… | |
4726 | ac_cpp='$CXXCPP $CPPFLAGS' |
4726 | ac_cpp='$CXXCPP $CPPFLAGS' |
4727 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4727 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4728 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4728 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4729 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4729 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4730 | |
4730 | |
4731 | |
|
|
4732 | if test "$ac_prog_cxx_stdcxx" != cxx11; then |
|
|
4733 | as_fn_error $? "the compiler does not support C++11" "$LINENO" 5 |
|
|
4734 | fi |
|
|
4735 | |
4731 | |
4736 | LINKER="$CXX" |
4732 | LINKER="$CXX" |
4737 | if test x$GCC = xyes && test x$GXX = xyes; then |
4733 | if 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 |
4739 | printf %s "checking for working libsupc++... " >&6; } |
4735 | printf %s "checking for working libsupc++... " >&6; } |
… | |
… | |
5084 | fi |
5080 | fi |
5085 | |
5081 | |
5086 | if test x$GXX = xyes; then |
5082 | if 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 | |
5093 | int |
5097 | int |
5094 | main (void) |
5098 | main (void) |
… | |
… | |
6840 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
6844 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
6841 | fi |
6845 | fi |
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 |
6846 | printf %s "checking for libptytty... " >&6; } |
6850 | printf %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 |
… | |
… | |
6868 | PIXBUF_CFLAGS= |
6872 | PIXBUF_CFLAGS= |
6869 | PIXBUF_LIBS= |
6873 | PIXBUF_LIBS= |
6870 | |
6874 | |
6871 | if test x$support_pixbuf = xyes; then |
6875 | if 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 |
6874 | printf %s "checking for gdk-pixbuf-2.0... " >&6; } |
6878 | printf %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 |
… | |
… | |
6898 | STARTUP_NOTIFICATION_CFLAGS= |
6902 | STARTUP_NOTIFICATION_CFLAGS= |
6899 | STARTUP_NOTIFICATION_LIBS= |
6903 | STARTUP_NOTIFICATION_LIBS= |
6900 | |
6904 | |
6901 | if test x$support_startup_notification = xyes; then |
6905 | if 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 |
6904 | printf %s "checking for libstartup-notification-1.0... " >&6; } |
6908 | printf %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 | |
6927 | if test x$support_frills = xyes; then |
6931 | if 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 |
6930 | printf %s "checking for xmu... " >&6; } |
6934 | printf %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 |
7460 | fi |
7464 | fi |
7461 | if test x$support_xft = xyes || test x$support_image = xyes; then |
7465 | if 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 |
7465 | printf %s "checking for xrender... " >&6; } |
7469 | printf %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 | |
7503 | fi |
7507 | fi |
7504 | |
7508 | |
7505 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
7509 | if 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 |
7508 | printf %s "checking for fontconfig xft... " >&6; } |
7512 | printf %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 |
7826 | printf "%s\n" "no" >&6; } |
7830 | printf "%s\n" "no" >&6; } |
7827 | fi |
7831 | fi |
7828 | |
7832 | |
7829 | |
7833 | |
|
|
7834 | |
|
|
7835 | |
|
|
7836 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xext (using pkg-config)" >&5 |
|
|
7837 | printf %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 |
|
|
7843 | printf "%s\n" "ok" >&6; } |
|
|
7844 | : |
|
|
7845 | else |
|
|
7846 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7847 | printf "%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 |
7832 | printf %s "checking for $PERL suitability... " >&6; } |
7858 | printf %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 | |