… | |
… | |
6281 | fi |
6281 | fi |
6282 | |
6282 | |
6283 | |
6283 | |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
6284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 |
6285 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
6285 | $as_echo_n "checking for gdk-pixbuf... " >&6; } |
6286 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-xlib-2.0; then |
6286 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then |
6287 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --cflags`" |
6287 | PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`" |
6288 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --libs`" |
6288 | PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`" |
6289 | support_pixbuf=yes |
6289 | support_pixbuf=yes |
6290 | fi |
6290 | fi |
6291 | |
6291 | |
6292 | if test x$support_pixbuf = xyes; then |
6292 | if test x$support_pixbuf = xyes; then |
6293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
6293 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
… | |
… | |
6396 | |
6396 | |
6397 | |
6397 | |
6398 | |
6398 | |
6399 | |
6399 | |
6400 | for ac_header in \ |
6400 | for ac_header in \ |
6401 | sys/byteorder.h \ |
|
|
6402 | sys/ioctl.h \ |
6401 | sys/ioctl.h \ |
6403 | sys/sockio.h \ |
6402 | sys/sockio.h \ |
6404 | sys/strredir.h \ |
6403 | sys/strredir.h \ |
6405 | stdint.h \ |
6404 | stdint.h \ |
6406 | wchar.h \ |
6405 | wchar.h \ |
… | |
… | |
7743 | |
7742 | |
7744 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7743 | $as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h |
7745 | |
7744 | |
7746 | fi |
7745 | fi |
7747 | |
7746 | |
7748 | if test x$support_xft = xyes; then |
7747 | if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then |
|
|
7748 | rxvt_have_xrender=no |
7749 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7749 | # Extract the first word of "pkg-config", so it can be a program name with args. |
7750 | set dummy pkg-config; ac_word=$2 |
7750 | set dummy pkg-config; ac_word=$2 |
7751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7752 | $as_echo_n "checking for $ac_word... " >&6; } |
7752 | $as_echo_n "checking for $ac_word... " >&6; } |
7753 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7753 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
… | |
… | |
7785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7786 | $as_echo "no" >&6; } |
7786 | $as_echo "no" >&6; } |
7787 | fi |
7787 | fi |
7788 | |
7788 | |
7789 | |
7789 | |
|
|
7790 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
|
|
7791 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
|
|
7792 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
|
|
7793 | rxvt_have_xrender=yes |
|
|
7794 | |
|
|
7795 | save_LIBS="$LIBS" |
|
|
7796 | LIBS="$LIBS $X_LIBS" |
|
|
7797 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
|
|
7798 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
|
|
7799 | |
|
|
7800 | else |
|
|
7801 | rxvt_have_xrender=no |
|
|
7802 | fi |
|
|
7803 | |
|
|
7804 | |
|
|
7805 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7806 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7807 | |
|
|
7808 | else |
|
|
7809 | rxvt_have_xrender=no |
|
|
7810 | fi |
|
|
7811 | |
|
|
7812 | LIBS="$save_LIBS" |
|
|
7813 | fi |
|
|
7814 | fi |
|
|
7815 | |
|
|
7816 | if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then |
|
|
7817 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
7818 | set dummy pkg-config; ac_word=$2 |
|
|
7819 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7820 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7821 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7822 | $as_echo_n "(cached) " >&6 |
|
|
7823 | else |
|
|
7824 | case $PKG_CONFIG in |
|
|
7825 | [\\/]* | ?:[\\/]*) |
|
|
7826 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7827 | ;; |
|
|
7828 | *) |
|
|
7829 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7830 | for as_dir in $PATH |
|
|
7831 | do |
|
|
7832 | IFS=$as_save_IFS |
|
|
7833 | test -z "$as_dir" && as_dir=. |
|
|
7834 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7835 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7836 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7837 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7838 | break 2 |
|
|
7839 | fi |
|
|
7840 | done |
|
|
7841 | done |
|
|
7842 | IFS=$as_save_IFS |
|
|
7843 | |
|
|
7844 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7845 | ;; |
|
|
7846 | esac |
|
|
7847 | fi |
|
|
7848 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7849 | if test -n "$PKG_CONFIG"; then |
|
|
7850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7851 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7852 | else |
|
|
7853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7854 | $as_echo "no" >&6; } |
|
|
7855 | fi |
|
|
7856 | |
|
|
7857 | |
7790 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7858 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
7791 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7859 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
7792 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7860 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
7793 | else |
7861 | else |
7794 | # Extract the first word of "xft-config", so it can be a program name with args. |
7862 | # Extract the first word of "xft-config", so it can be a program name with args. |
… | |
… | |
7836 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7904 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
7837 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7905 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
7838 | fi |
7906 | fi |
7839 | fi |
7907 | fi |
7840 | |
7908 | |
|
|
7909 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then |
|
|
7910 | X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS" |
|
|
7911 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`" |
|
|
7912 | fi |
|
|
7913 | |
7841 | save_LIBS="$LIBS" |
7914 | save_LIBS="$LIBS" |
7842 | LIBS="$LIBS $X_LIBS" |
7915 | LIBS="$LIBS $X_LIBS" |
7843 | for ac_header in X11/Xft/Xft.h |
7916 | for ac_header in X11/Xft/Xft.h |
7844 | do : |
7917 | do : |
7845 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
7918 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" |
… | |
… | |
7894 | : |
7967 | : |
7895 | else |
7968 | else |
7896 | support_xft=no |
7969 | support_xft=no |
7897 | fi |
7970 | fi |
7898 | |
7971 | |
|
|
7972 | for ac_header in fontconfig/fontconfig.h |
|
|
7973 | do : |
|
|
7974 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7975 | if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then : |
|
|
7976 | cat >>confdefs.h <<_ACEOF |
|
|
7977 | #define HAVE_FONTCONFIG_FONTCONFIG_H 1 |
|
|
7978 | _ACEOF |
|
|
7979 | |
|
|
7980 | else |
|
|
7981 | support_xft=no |
|
|
7982 | fi |
|
|
7983 | |
|
|
7984 | done |
|
|
7985 | |
|
|
7986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5 |
|
|
7987 | $as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; } |
|
|
7988 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
|
|
7989 | $as_echo_n "(cached) " >&6 |
|
|
7990 | else |
|
|
7991 | ac_check_lib_save_LIBS=$LIBS |
|
|
7992 | LIBS="-lfontconfig $LIBS" |
|
|
7993 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7994 | /* end confdefs.h. */ |
|
|
7995 | |
|
|
7996 | /* Override any GCC internal prototype to avoid an error. |
|
|
7997 | Use char because int might match the return type of a GCC |
|
|
7998 | builtin and then its argument prototype would still apply. */ |
|
|
7999 | #ifdef __cplusplus |
|
|
8000 | extern "C" |
|
|
8001 | #endif |
|
|
8002 | char FcPatternGet (); |
|
|
8003 | int |
|
|
8004 | main () |
|
|
8005 | { |
|
|
8006 | return FcPatternGet (); |
|
|
8007 | ; |
|
|
8008 | return 0; |
|
|
8009 | } |
|
|
8010 | _ACEOF |
|
|
8011 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8012 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
8013 | else |
|
|
8014 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
8015 | fi |
|
|
8016 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8017 | conftest$ac_exeext conftest.$ac_ext |
|
|
8018 | LIBS=$ac_check_lib_save_LIBS |
|
|
8019 | fi |
|
|
8020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
8021 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
8022 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
|
|
8023 | : |
|
|
8024 | else |
|
|
8025 | support_xft=no |
|
|
8026 | fi |
|
|
8027 | |
7899 | LIBS="$save_LIBS" |
8028 | LIBS="$save_LIBS" |
7900 | |
8029 | |
7901 | if test x$support_xft = xyes; then |
8030 | if test x$support_xft = xyes; then |
7902 | |
8031 | |
7903 | $as_echo "#define XFT 1" >>confdefs.h |
8032 | $as_echo "#define XFT 1" >>confdefs.h |
7904 | |
8033 | |
7905 | fi |
8034 | fi |
7906 | fi |
8035 | fi |
|
|
8036 | if test x$support_styles = xyes; then |
|
|
8037 | |
|
|
8038 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
|
|
8039 | |
|
|
8040 | fi |
|
|
8041 | if test x$support_iso14755 = xyes; then |
|
|
8042 | |
|
|
8043 | $as_echo "#define ISO_14755 1" >>confdefs.h |
|
|
8044 | |
|
|
8045 | fi |
|
|
8046 | if test x$support_8bitctrls = xyes; then |
|
|
8047 | |
|
|
8048 | $as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h |
|
|
8049 | |
|
|
8050 | fi |
|
|
8051 | if test x$support_fading = xyes; then |
|
|
8052 | |
|
|
8053 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
|
|
8054 | |
|
|
8055 | fi |
7907 | if test x$support_inheritpixmap = xyes; then |
8056 | if test x$support_inheritpixmap = xyes; then |
7908 | support_xrender=yes |
|
|
7909 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
7910 | set dummy pkg-config; ac_word=$2 |
|
|
7911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7912 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7913 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7914 | $as_echo_n "(cached) " >&6 |
|
|
7915 | else |
|
|
7916 | case $PKG_CONFIG in |
|
|
7917 | [\\/]* | ?:[\\/]*) |
|
|
7918 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7919 | ;; |
|
|
7920 | *) |
|
|
7921 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7922 | for as_dir in $PATH |
|
|
7923 | do |
|
|
7924 | IFS=$as_save_IFS |
|
|
7925 | test -z "$as_dir" && as_dir=. |
|
|
7926 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7927 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7928 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7929 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7930 | break 2 |
|
|
7931 | fi |
|
|
7932 | done |
|
|
7933 | done |
|
|
7934 | IFS=$as_save_IFS |
|
|
7935 | |
|
|
7936 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7937 | ;; |
|
|
7938 | esac |
|
|
7939 | fi |
|
|
7940 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7941 | if test -n "$PKG_CONFIG"; then |
|
|
7942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7943 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7944 | else |
|
|
7945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7946 | $as_echo "no" >&6; } |
|
|
7947 | fi |
|
|
7948 | |
|
|
7949 | |
|
|
7950 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
|
|
7951 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
|
|
7952 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
|
|
7953 | |
|
|
7954 | save_LIBS="$LIBS" |
|
|
7955 | LIBS="$LIBS $X_LIBS" |
|
|
7956 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
|
|
7957 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
|
|
7958 | |
|
|
7959 | else |
|
|
7960 | support_xrender=no |
|
|
7961 | fi |
|
|
7962 | |
|
|
7963 | |
|
|
7964 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7965 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7966 | |
|
|
7967 | else |
|
|
7968 | support_xrender=no |
|
|
7969 | fi |
|
|
7970 | |
|
|
7971 | LIBS="$save_LIBS" |
|
|
7972 | fi |
|
|
7973 | |
|
|
7974 | if test x$support_xrender = xyes; then |
8057 | if test x$rxvt_have_xrender = xyes; then |
7975 | LIBS="$LIBS -lm" |
8058 | LIBS="$LIBS -lm" |
7976 | |
8059 | |
7977 | $as_echo "#define XRENDER 1" >>confdefs.h |
8060 | $as_echo "#define XRENDER 1" >>confdefs.h |
7978 | |
8061 | |
7979 | fi |
8062 | fi |
7980 | fi |
|
|
7981 | if test x$support_styles = xyes; then |
|
|
7982 | |
|
|
7983 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
|
|
7984 | |
|
|
7985 | fi |
|
|
7986 | if test x$support_iso14755 = xyes; then |
|
|
7987 | |
|
|
7988 | $as_echo "#define ISO_14755 1" >>confdefs.h |
|
|
7989 | |
|
|
7990 | fi |
|
|
7991 | if test x$support_8bitctrls = xyes; then |
|
|
7992 | |
|
|
7993 | $as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h |
|
|
7994 | |
|
|
7995 | fi |
|
|
7996 | if test x$support_fading = xyes; then |
|
|
7997 | |
|
|
7998 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
|
|
7999 | |
|
|
8000 | fi |
|
|
8001 | if test x$support_inheritpixmap = xyes; then |
|
|
8002 | |
8063 | |
8003 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
8064 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
8004 | |
8065 | |
8005 | fi |
8066 | fi |
8006 | if test x$support_keepscrolling = xno; then |
8067 | if test x$support_keepscrolling = xno; then |