Backport of r1243797 and r1243799 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1243800 13f79535-47bb-0310-9956-
ffa450edef68
if test "x$with_included_apr" = "xyes"; then
apr_found=reconfig
- if test ! -d srclib/apr && ! -d $srcdir/srclib/apr; then
+ if test ! -d srclib/apr && test ! -d $srcdir/srclib/apr; then
AC_MSG_ERROR([Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.])
fi
else
apu_found=obsolete
elif test "x$with_included_apr" = "xyes"; then
apu_found=reconfig
- if test ! -d srclib/apr-util && ! -d $srcdir/srclib/apr-util; then
+ if test ! -d srclib/apr-util && test ! -d $srcdir/srclib/apr-util; then
AC_MSG_ERROR([Bundled APR-Util requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.])
fi
else