Magellan Linux

Contents of /trunk/subversion/patches/subversion-1.4.5-neon-configure.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 390 - (show annotations) (download)
Tue Oct 30 18:16:49 2007 UTC (16 years, 6 months ago) by niro
File size: 1237 byte(s)
-added neon configure fix

1 --- subversion-1.3.0/build/ac-macros/neon.m4.orig 2006-02-27 16:13:32.000000000 +0100
2 +++ subversion-1.3.0/build/ac-macros/neon.m4 2006-02-27 16:19:34.000000000 +0100
3 @@ -142,7 +142,7 @@
4 if test -z $svn_allowed_neon_on_system; then
5 echo "You have neon version $NEON_VERSION,"
6 echo "but Subversion needs neon $NEON_LATEST_WORKING_VER."
7 - SVN_DOWNLOAD_NEON()
8 + SVN_DOWNLOAD_NEONFAIL()
9 fi
10
11 else
12 @@ -177,3 +177,23 @@
13 AC_MSG_RESULT([no suitable neon found])
14 svn_lib_neon="no"
15 ])
16 +
17 +dnl SVN_DOWNLOAD_NEONFAIL()
18 +dnl no neon found, print out a message telling the user what to do
19 +AC_DEFUN(SVN_DOWNLOAD_NEONFAIL,
20 +[
21 + echo ""
22 + echo "An appropriate version of neon could not be found, so libsvn_ra_dav"
23 + echo "will not be built. If you want to build libsvn_ra_dav, please either"
24 + echo "install neon ${NEON_LATEST_WORKING_VER} on this system"
25 + echo ""
26 + echo "or"
27 + echo ""
28 + echo "get neon ${NEON_LATEST_WORKING_VER} from:"
29 + echo " ${NEON_URL}"
30 + echo "unpack the archive using tar/gunzip and rename the resulting"
31 + echo "directory from ./neon-${NEON_LATEST_WORKING_VER}/ to ./neon/"
32 + echo ""
33 + AC_MSG_FAILURE([no suitable neon found])
34 + svn_lib_neon="no"
35 +])