From: ThorstenB Date: Sat, 11 Jun 2011 13:29:50 +0000 (+0200) Subject: issue #61: built-in svn broken for automake builds X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8778b232c8a9ea21748798cf80945c962e41bbd;p=flightgear.git issue #61: built-in svn broken for automake builds Thanks to "j...@flygarna.se" --- 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)