Index: subversion/libsvn_ra_neon/session.c
===================================================================
--- subversion/libsvn_ra_neon/session.c.orig
+++ subversion/libsvn_ra_neon/session.c
@@ -885,6 +885,17 @@ svn_ra_neon__open(svn_ra_session_t *sess
           }
 #endif
       }
+#ifdef SVN_NEON_0_29
+    else
+      {
+        /* If we do not have any proxy specified for this host and
+           we're running a new enough neon implementation, we use
+           neon's session proxy autodetection (via libproxy). */
+        ne_session_system_proxy(sess, 0);
+        ne_session_system_proxy(sess2, 0);
+      }
+#endif
+
 
     if (!timeout)
       timeout = DEFAULT_HTTP_TIMEOUT;
Index: build/ac-macros/neon.m4
===================================================================
--- build/ac-macros/neon.m4.orig
+++ build/ac-macros/neon.m4
@@ -69,6 +69,11 @@ AC_DEFUN(SVN_LIB_NEON,
                            [Define to 1 if you have Neon 0.28 or later.])
       fi
 
+      if test -n ["`echo "$NEON_VERSION" | grep '^0\.29\.'`"] ; then
+        AC_DEFINE_UNQUOTED([SVN_NEON_0_29], [1],
+                           [Define to 1 if you have Neon 0.29 or later.])
+      fi
+
       for svn_allowed_neon in $NEON_ALLOWED_LIST; do
         if test -n "`echo "$NEON_VERSION" | grep "^$svn_allowed_neon"`" ||
            test "$svn_allowed_neon" = "any"; then
@@ -160,6 +165,11 @@ AC_DEFUN(SVN_NEON_CONFIG,
                            [Define to 1 if you have Neon 0.28 or later.])
       fi
 
+      if test -n ["`echo "$NEON_VERSION" | grep '^0\.29\.'`"] ; then
+        AC_DEFINE_UNQUOTED([SVN_NEON_0_29], [1],
+                           [Define to 1 if you have Neon 0.29 or later.])
+      fi
+
       for svn_allowed_neon in $NEON_ALLOWED_LIST; do
         if test -n "`echo "$NEON_VERSION" | grep "^$svn_allowed_neon"`" ||
            test "$svn_allowed_neon" = "any"; then