From: Justin Erenkrantz Date: Thu, 18 Apr 2002 17:29:59 +0000 (+0000) Subject: Move the mkdir_p check outside of the cache check so that we will always X-Git-Tag: 2.0.36~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dce8d7788ff318905028689e3373df24f5d9b28d;p=thirdparty%2Fapache%2Fhttpd.git Move the mkdir_p check outside of the cache check so that we will always set that variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94699 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index 5828c035c9c..40c47bca86f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -28,13 +28,16 @@ AC_DEFUN(APACHE_MKDIR_P_CHECK,[ 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 ]) + if test "$ac_cv_mkdir_p" = "yes"; then + mkdir_p="mkdir -p" + else + mkdir_p="$top_srcdir/build/mkdir.sh" + fi ]) dnl APACHE_GEN_CONFIG_VARS