~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to build/ac-macros/apr.m4

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
  AC_MSG_NOTICE([Apache Portable Runtime (APR) library configuration])
34
34
 
35
 
  APR_FIND_APR("$abs_srcdir/apr", "$abs_builddir/apr", 1, [1 0])
 
35
  APR_FIND_APR("", "", 1, [1 0])
36
36
 
37
37
  if test $apr_found = "no"; then
38
38
    AC_MSG_WARN([APR not found])
40
40
  fi
41
41
 
42
42
  if test $apr_found = "reconfig"; then
43
 
    SVN_EXTERNAL_PROJECT([apr])
 
43
    AC_MSG_ERROR([Unexpected APR reconfig])
44
44
  fi
45
45
 
46
46
  dnl check APR version number against regex  
88
88
    AC_MSG_ERROR([apr-config --includes failed])
89
89
  fi
90
90
 
91
 
  SVN_APR_PREFIX="`$apr_config --prefix`"
92
 
  if test $? -ne 0; then
93
 
    AC_MSG_ERROR([apr-config --prefix failed])
94
 
  fi
95
 
 
96
91
  if test "$enable_all_static" = "yes"; then
97
92
    SVN_APR_LIBS="`$apr_config --link-ld --libs`"
98
93
    if test $? -ne 0; then
111
106
    AC_MSG_ERROR([apr-config --shlib-path-var failed])
112
107
  fi
113
108
 
114
 
  AC_SUBST(SVN_APR_PREFIX)
115
109
  AC_SUBST(SVN_APR_CONFIG, ["$apr_config"])
116
110
  AC_SUBST(SVN_APR_INCLUDES)
117
111
  AC_SUBST(SVN_APR_LIBS)
123
117
AC_DEFUN(SVN_DOWNLOAD_APR,
124
118
[
125
119
  echo "The Apache Portable Runtime (APR) library cannot be found."
126
 
  echo "Please install APR on this system and supply the appropriate"
127
 
  echo "--with-apr option to 'configure'"
128
 
  echo ""
129
 
  echo "or"
130
 
  echo ""
131
 
  echo "get it with SVN and put it in a subdirectory of this source:"
132
 
  echo ""
133
 
  echo "   svn co \\"
134
 
  echo "    http://svn.apache.org/repos/asf/apr/apr/branches/1.3.x \\"
135
 
  echo "    apr"
136
 
  echo ""
137
 
  echo "Run that right here in the top level of the Subversion tree."
138
 
  echo "Afterwards, run apr/buildconf in that subdirectory and"
139
 
  echo "then run configure again here."
140
 
  echo ""
141
 
  echo "Whichever of the above you do, you probably need to do"
142
 
  echo "something similar for apr-util, either providing both"
143
 
  echo "--with-apr and --with-apr-util to 'configure', or"
144
 
  echo "getting both from SVN with:"
145
 
  echo ""
146
 
  echo "   svn co \\"
147
 
  echo "    http://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x \\"
148
 
  echo "    apr-util"
149
 
  echo ""
150
 
  AC_MSG_ERROR([no suitable apr found])
 
120
  echo "Please install APR on this system and configure Subversion"
 
121
  echo "with the appropriate --with-apr option."
 
122
  echo ""
 
123
  echo "You probably need to do something similar with the Apache"
 
124
  echo "Portable Runtime Utility (APRUTIL) library and then configure"
 
125
  echo "Subversion with both the --with-apr and --with-apr-util options."
 
126
  echo ""
 
127
  AC_MSG_ERROR([no suitable APR found])
151
128
])