Index: configure.in
===================================================================
--- configure.in	(revision 19615)
+++ configure.in	(working copy)
@@ -383,8 +383,6 @@
 AC_MSG_CHECKING([Whether to write dependencies into .pc files])
 case $enable_explicit_deps in
   auto)
-    export SED
-    deplibs_check_method=`(./libtool --config; echo 'eval echo $deplibs_check_method') | sh`
     if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
       enable_explicit_deps=yes  
     else
@@ -733,13 +731,9 @@
     dnl Now we check to see if our libtool supports shared lib deps
     dnl (in a rather ugly way even)
     if $dynworks; then
-        pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
-        pixbuf_deplibs_check=`$pixbuf_libtool_config | \
-            grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
-            sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
-        if test "x$pixbuf_deplibs_check" = "xnone" || \
-           test "x$pixbuf_deplibs_check" = "xunknown" || \
-           test "x$pixbuf_deplibs_check" = "x"; then
+        if test "x$deplibs_check_method" = "xnone" || \
+           test "x$deplibs_check_method" = "xunknown" || \
+           test "x$deplibs_check_method" = "x"; then
             dynworks=false
         fi
     fi
