33
33
AC_MSG_NOTICE([Apache Portable Runtime (APR) library configuration])
35
APR_FIND_APR("$abs_srcdir/apr", "$abs_builddir/apr", 1, [1 0])
35
APR_FIND_APR("", "", 1, [1 0])
37
37
if test $apr_found = "no"; then
38
38
AC_MSG_WARN([APR not found])
88
88
AC_MSG_ERROR([apr-config --includes failed])
91
SVN_APR_PREFIX="`$apr_config --prefix`"
92
if test $? -ne 0; then
93
AC_MSG_ERROR([apr-config --prefix failed])
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
123
117
AC_DEFUN(SVN_DOWNLOAD_APR,
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'"
131
echo "get it with SVN and put it in a subdirectory of this source:"
134
echo " http://svn.apache.org/repos/asf/apr/apr/branches/1.3.x \\"
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."
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:"
147
echo " http://svn.apache.org/repos/asf/apr/apr-util/branches/1.3.x \\"
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."
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."
127
AC_MSG_ERROR([no suitable APR found])