(Justin removed some unneeded changes in Makefile.in.)
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94697
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 2.0.36
+ *) Allow VPATH builds to succeed when configured from an empty
+ directory. [Thom May <thom@planetarytramp.net>]
+
*) Fix 'control reaches end of non-void function' warning in
server/log.c. [Ben Collins-Sussman <sussman@collab.net>]
mkdir -p conftestdir/somedir >/dev/null 2>&1
if test -d conftestdir/somedir; then
ac_cv_mkdir_p=yes
+ mkdir_p="mkdir -p"
else
ac_cv_mkdir_p=no
+ mkdir_p="$top_srcdir/build/mkdir.sh"
fi
rm -rf conftestdir
])
abs_srcdir="`(cd $srcdir && pwd)`"
- APACHE_MKDIR_P_CHECK
echo creating config_vars.mk
- if test "$ac_cv_mkdir_p" = "yes"; then
- mkdir_p="mkdir -p"
- else
- mkdir_p="$top_srcdir/build/mkdir.sh"
- fi
test -d build || $mkdir_p build
> build/config_vars.mk
for i in $APACHE_VAR_SUBST; do
nl='
'
+dnl Check that mkdir -p works
+APACHE_MKDIR_P_CHECK
dnl ## Run configure for packages Apache uses
;;
esac
+dnl Ensure that docs/conf is created.
+test -d docs/conf||$mkdir_p docs/conf
+
AC_OUTPUT($APACHE_OUTPUT_FILES docs/conf/httpd-std.conf include/ap_config_layout.h support/apxs support/apachectl support/dbmmanage support/envvars-std support/log_server_status support/logresolve.pl support/phf_abuse_log.cgi support/split-logfile build/rules.mk,[true],[
APACHE_GEN_MAKEFILES
])