repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: b96411bcc2a5f64c35a3e84cf47299a01a67a909:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit b96411bcc2a5f64c35a3e84cf47299a01a67a909
Author: Emanuele Giaquinta 
Date:   Sun Oct 31 08:29:19 2010 +0000

    *** empty log message ***

diff --git a/config.h.in b/config.h.in
index a77ce1d2c34792153c1158d65c4e71d1b755b52a..
index ..977920870d42547c11013f6150feaa926df24b98 100644
--- a/config.h.in
+++ b/config.h.in
@@ -436,6 +436,9 @@
 /* Define ONLY iff Xlib.h supports it */
 #undef XLIB_ILLEGAL_ACCESS

+/* Define to enable xrender support */
+#undef XRENDER
+
 /* Support Xterm style scrollbars */
 #undef XTERM_SCROLLBAR

diff --git a/configure b/configure
index c6f97142e2e6f3195ebb9363eb263d575653c720..
index ..cd6894c4e0a7bf9ebd496d7b05232367d6846c82 100755
--- a/configure
+++ b/configure
@@ -7906,6 +7906,80 @@ $as_echo "#define XFT 1" >>confdefs.h

   fi
 fi
+if test x$support_inheritpixmap = xyes; then
+  support_xrender=yes
+  # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
+  $as_echo_n "(cached) " >&6
+else
+  case $PKG_CONFIG in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+  ;;
+  *)
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+  ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
+    X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS"
+    CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`"
+
+    save_LIBS="$LIBS"
+    LIBS="$LIBS $X_LIBS"
+    ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
+if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
+
+else
+  support_xrender=no
+fi
+
+
+    ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
+if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
+
+else
+  support_xrender=no
+fi
+
+    LIBS="$save_LIBS"
+  fi
+
+  if test x$support_xrender = xyes; then
+    LIBS="$LIBS -lm"
+
+$as_echo "#define XRENDER 1" >>confdefs.h
+
+  fi
+fi
 if test x$support_styles = xyes; then

 $as_echo "#define ENABLE_STYLES 1" >>confdefs.h
@@ -7930,7 +8004,6 @@ if test x$support_inheritpixmap = xyes; then

 $as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h

-  test x$support_xft = xyes && LIBS="$LIBS -lm"
 fi
 if test x$support_keepscrolling = xno; then

-----END OF PAGE-----