@@ -640,6 +640,7 @@ UNIVERSAL_ARCH_FLAGS
640640BASECFLAGS
641641OPT
642642LN
643+ MKDIR_P
643644INSTALL_DATA
644645INSTALL_SCRIPT
645646INSTALL_PROGRAM
@@ -5356,6 +5357,48 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
53565357
53575358test -z " $INSTALL_DATA " && INSTALL_DATA=' ${INSTALL} -m 644'
53585359
5360+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for a thread-safe mkdir -p" >&5
5361+ $as_echo_n " checking for a thread-safe mkdir -p... " >&6 ; }
5362+ if test -z " $MKDIR_P " ; then
5363+ if ${ac_cv_path_mkdir+: } false ; then :
5364+ $as_echo_n " (cached) " >&6
5365+ else
5366+ as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
5367+ for as_dir in $PATH$PATH_SEPARATOR /opt/sfw/bin
5368+ do
5369+ IFS=$as_save_IFS
5370+ test -z " $as_dir " && as_dir=.
5371+ for ac_prog in mkdir gmkdir; do
5372+ for ac_exec_ext in ' ' $ac_executable_extensions ; do
5373+ { test -f " $as_dir /$ac_prog$ac_exec_ext " && $as_test_x " $as_dir /$ac_prog$ac_exec_ext " ; } || continue
5374+ case ` " $as_dir /$ac_prog$ac_exec_ext " --version 2>&1 ` in # (
5375+ ' mkdir (GNU coreutils) ' * | \
5376+ ' mkdir (coreutils) ' * | \
5377+ ' mkdir (fileutils) ' 4.1* )
5378+ ac_cv_path_mkdir=$as_dir /$ac_prog$ac_exec_ext
5379+ break 3;;
5380+ esac
5381+ done
5382+ done
5383+ done
5384+ IFS=$as_save_IFS
5385+
5386+ fi
5387+
5388+ test -d ./--version && rmdir ./--version
5389+ if test " ${ac_cv_path_mkdir+set} " = set ; then
5390+ MKDIR_P=" $ac_cv_path_mkdir -p"
5391+ else
5392+ # As a last resort, use the slow shell script. Don't cache a
5393+ # value for MKDIR_P within a source directory, because that will
5394+ # break other packages using the cache if that directory is
5395+ # removed, or if the value is a relative name.
5396+ MKDIR_P=" $ac_install_sh -d"
5397+ fi
5398+ fi
5399+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $MKDIR_P " >&5
5400+ $as_echo " $MKDIR_P " >&6 ; }
5401+
53595402
53605403# Not every filesystem supports hard links
53615404
@@ -14479,6 +14522,7 @@ gives unlimited permission to copy, distribute and modify it."
1447914522ac_pwd='$ac_pwd '
1448014523srcdir='$srcdir '
1448114524INSTALL='$INSTALL '
14525+ MKDIR_P='$MKDIR_P '
1448214526test -n " \$ AWK" || AWK=awk
1448314527_ACEOF
1448414528
@@ -15047,6 +15091,11 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1504715091 [\\ /$]* | ? :[\\ /]* ) ac_INSTALL=$INSTALL ;;
1504815092 * ) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1504915093 esac
15094+ ac_MKDIR_P=$MKDIR_P
15095+ case $MKDIR_P in
15096+ [\\ /$]* | ? :[\\ /]* ) ;;
15097+ * /* ) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15098+ esac
1505015099_ACEOF
1505115100
1505215101cat >> $CONFIG_STATUS << \_ACEOF || ac_write_fail=1
@@ -15101,6 +15150,7 @@ s&@builddir@&$ac_builddir&;t t
1510115150s&@abs_builddir@&$ac_abs_builddir &;t t
1510215151s&@abs_top_builddir@&$ac_abs_top_builddir &;t t
1510315152s&@INSTALL@&$ac_INSTALL &;t t
15153+ s&@MKDIR_P@&$ac_MKDIR_P &;t t
1510415154$ac_datarootdir_hack
1510515155"
1510615156eval sed \"\$ ac_sed_extra\" "$ac_file_inputs " | $AWK -f "$ac_tmp /subs.awk" \
0 commit comments