From a8778b232c8a9ea21748798cf80945c962e41bbd Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Sat, 11 Jun 2011 15:29:50 +0200 Subject: [PATCH] issue #61: built-in svn broken for automake builds Thanks to "j...@flygarna.se" --- configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b64b972ff..693740442 100644 --- a/configure.ac +++ b/configure.ac @@ -826,8 +826,11 @@ if test "x$with_libsvn" = "xyes"; then AC_CHECK_HEADERS([svn_client.h]) if test "x$ac_cv_header_svn_client_h" = "xyes"; then echo "TerraSync will use libsvn" - AC_SEARCH_LIBS(svn_client_checkout, svn_client-1) - AC_SEARCH_LIBS(svn_cmdline_init, svn_subr-1) + AC_SEARCH_LIBS(svn_client_checkout, svn_client-1, + [AC_DEFINE([HAVE_LIBSVN_CLIENT_1], [1], [Define to 1 if you have libsvn_client-1])], + [AC_MSG_ERROR(svn_client-1 library not found.)],) + AC_SEARCH_LIBS(svn_cmdline_init, svn_subr-1, , [AC_MSG_ERROR(svn_subr-1 library not found.)],) + AC_SEARCH_LIBS(svn_ra_initialize, svn_ra-1, , [AC_MSG_ERROR(svn_ra-1 library not found.)],) svn_LIBS=$LIBS svn_CPPFLAGS=$CPPFLAGS AC_SUBST(svn_LIBS) -- 2.39.5