… | |
… | |
7904 | |
7904 | |
7905 | $as_echo "#define XFT 1" >>confdefs.h |
7905 | $as_echo "#define XFT 1" >>confdefs.h |
7906 | |
7906 | |
7907 | fi |
7907 | fi |
7908 | fi |
7908 | fi |
|
|
7909 | if test x$support_inheritpixmap = xyes; then |
|
|
7910 | support_xrender=yes |
|
|
7911 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
7912 | set dummy pkg-config; ac_word=$2 |
|
|
7913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
7914 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
7915 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7916 | $as_echo_n "(cached) " >&6 |
|
|
7917 | else |
|
|
7918 | case $PKG_CONFIG in |
|
|
7919 | [\\/]* | ?:[\\/]*) |
|
|
7920 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
7921 | ;; |
|
|
7922 | *) |
|
|
7923 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
7924 | for as_dir in $PATH |
|
|
7925 | do |
|
|
7926 | IFS=$as_save_IFS |
|
|
7927 | test -z "$as_dir" && as_dir=. |
|
|
7928 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
7929 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
7930 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
7931 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
7932 | break 2 |
|
|
7933 | fi |
|
|
7934 | done |
|
|
7935 | done |
|
|
7936 | IFS=$as_save_IFS |
|
|
7937 | |
|
|
7938 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7939 | ;; |
|
|
7940 | esac |
|
|
7941 | fi |
|
|
7942 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7943 | if test -n "$PKG_CONFIG"; then |
|
|
7944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7945 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7946 | else |
|
|
7947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7948 | $as_echo "no" >&6; } |
|
|
7949 | fi |
|
|
7950 | |
|
|
7951 | |
|
|
7952 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then |
|
|
7953 | X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" |
|
|
7954 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" |
|
|
7955 | |
|
|
7956 | save_LIBS="$LIBS" |
|
|
7957 | LIBS="$LIBS $X_LIBS" |
|
|
7958 | ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" |
|
|
7959 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
|
|
7960 | |
|
|
7961 | else |
|
|
7962 | support_xrender=no |
|
|
7963 | fi |
|
|
7964 | |
|
|
7965 | |
|
|
7966 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7967 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7968 | |
|
|
7969 | else |
|
|
7970 | support_xrender=no |
|
|
7971 | fi |
|
|
7972 | |
|
|
7973 | LIBS="$save_LIBS" |
|
|
7974 | fi |
|
|
7975 | |
|
|
7976 | if test x$support_xrender = xyes; then |
|
|
7977 | LIBS="$LIBS -lm" |
|
|
7978 | |
|
|
7979 | $as_echo "#define XRENDER 1" >>confdefs.h |
|
|
7980 | |
|
|
7981 | fi |
|
|
7982 | fi |
7909 | if test x$support_styles = xyes; then |
7983 | if test x$support_styles = xyes; then |
7910 | |
7984 | |
7911 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7985 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
7912 | |
7986 | |
7913 | fi |
7987 | fi |
… | |
… | |
7928 | fi |
8002 | fi |
7929 | if test x$support_inheritpixmap = xyes; then |
8003 | if test x$support_inheritpixmap = xyes; then |
7930 | |
8004 | |
7931 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
8005 | $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h |
7932 | |
8006 | |
7933 | test x$support_xft = xyes && LIBS="$LIBS -lm" |
|
|
7934 | fi |
8007 | fi |
7935 | if test x$support_keepscrolling = xno; then |
8008 | if test x$support_keepscrolling = xno; then |
7936 | |
8009 | |
7937 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
8010 | $as_echo "#define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1" >>confdefs.h |
7938 | |
8011 | |