summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-05-20 21:07:23 +0000
committerSascha Schumann <sas@php.net>2001-05-20 21:07:23 +0000
commit7dfce52fdc73147b783b50e2ef3ff9944b84f02c (patch)
tree6709900b2cd391719aaa0a4f36c67d90452a030b /acinclude.m4
parente4f7a85acbed73c5de3ec7112bcb1d6e62085c6d (diff)
downloadphp-git-7dfce52fdc73147b783b50e2ef3ff9944b84f02c.tar.gz
Catch 'mkdir -p' brokeness on IRIX
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 5fe38e5a38..d627235a22 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -366,7 +366,9 @@ AC_DEFUN(PHP_MKDIR_P_CHECK,[
AC_CACHE_CHECK(for working mkdir -p, ac_cv_mkdir_p,[
test -d conftestdir && rm -rf conftestdir
mkdir -p conftestdir/somedir >/dev/null 2>&1
- if test -d conftestdir/somedir; then
+dnl `mkdir -p' must be quiet about creating existing directories
+ mkdir -p conftestdir/somedir >/dev/null 2>&1
+ if test "$?" = "0" && test -d conftestdir/somedir; then
ac_cv_mkdir_p=yes
else
ac_cv_mkdir_p=no