cvs: php4 / acinclude.m4
| From: | Sascha Schumann | Date: | Sun, 20 May 2001 21:07:23 +0000 |
| Subject: | cvs: php4 / acinclude.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5871@lists.php.net to get a copy of this message | ||
sas Sun May 20 14:07:23 2001 EDT
Modified files:
/php4 acinclude.m4
Log:
Catch 'mkdir -p' brokeness on IRIX
Index: php4/acinclude.m4
diff -u php4/acinclude.m4:1.127 php4/acinclude.m4:1.128
--- php4/acinclude.m4:1.127 Sat May 19 13:21:58 2001
+++ php4/acinclude.m4 Sun May 20 14:07:23 2001
@@ -1,4 +1,4 @@
-dnl $Id: acinclude.m4,v 1.127 2001/05/19 20:21:58 sas Exp $
+dnl $Id: acinclude.m4,v 1.128 2001/05/20 21:07:23 sas Exp $
dnl
dnl This file contains local autoconf functions.
@@ -366,7 +366,9 @@
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