]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Move the mkdir_p check outside of the cache check so that we will always
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 18 Apr 2002 17:29:59 +0000 (17:29 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 18 Apr 2002 17:29:59 +0000 (17:29 +0000)
set that variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94699 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4

index 5828c035c9cf8baeb9d4d5977213b4aa2efc7d2d..40c47bca86fb916c8927c46dbf082e44ce9acb0c 100644 (file)
@@ -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