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