+if test x"${APACHE_VERSION_2}" = xtrue ; then \
+dnl For Apache 2.x APR is needed
+ if test x"${apr_found}" = xyes ; then \
+ APR_INCLUDEDIR=`${apr_config} --includedir`
+ AC_SUBST([APR_INCLUDEDIR])
+ APR_CPPFLAGS=`${apr_config} --cppflags`
+ AC_SUBST([APR_CPPFLAGS])
+ else
+ AC_MSG_ERROR([APR is needed to build mod_suphp for Apache 2.x but was not found])
+ fi
+fi