summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-03-10 14:32:47 +0000
committerfoobar <sniper@php.net>2003-03-10 14:32:47 +0000
commit70f97c1713434a33c9ae01a17f50d9d3492de0f1 (patch)
treebaa995d9a075f4e5e19608f45f0679aa2b93f0a0 /acinclude.m4
parentefe1b0154df79202506f06ead9bd327f67428a47 (diff)
downloadphp-git-70f97c1713434a33c9ae01a17f50d9d3492de0f1.tar.gz
- Always use the shtool mkdir.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m422
1 files changed, 2 insertions, 20 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 0f8cc2ee30..3603104789 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -28,7 +28,7 @@ AC_DEFUN([PHP_DEFINE],[
dnl PHP_INIT_BUILD_SYSTEM
dnl
AC_DEFUN([PHP_INIT_BUILD_SYSTEM],[
-mkdir include >/dev/null 2>&1
+$php_shtool mkdir include
> Makefile.objects
> Makefile.fragments
dnl We need to play tricks here to avoid matching the grep line itself
@@ -660,21 +660,6 @@ AC_DEFUN([PHP_SUBST_OLD],[
AC_SUBST($1)
])
-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
-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
- fi
- rm -rf conftestdir
- ])
-])
-
AC_DEFUN([PHP_TM_GMTOFF],[
AC_CACHE_CHECK([for tm_gmtoff in struct tm], ac_cv_struct_tm_gmtoff,
[AC_TRY_COMPILE([#include <sys/types.h>
@@ -1267,10 +1252,7 @@ AC_DEFUN([PHP_ADD_BUILD_DIR],[
])
AC_DEFUN([PHP_GEN_BUILD_DIRS],[
- PHP_MKDIR_P_CHECK
- if test "$ac_cv_mkdir_p" = "yes"; then
- mkdir -p $BUILD_DIR
- fi
+ $php_shtool mkdir -p $BUILD_DIR
])
dnl