@@ -589,6 +589,7 @@ ac_subst_vars='LTLIBOBJS
589589LIBOBJS
590590subdirs
591591HEADERS
592+ MKDIR_P
592593DOXYGEN
593594RM
594595INSTALL_DATA
@@ -1948,6 +1949,48 @@ $as_echo "no" >&6; }
19481949fi
19491950
19501951
1952+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for a thread-safe mkdir -p" >&5
1953+ $as_echo_n " checking for a thread-safe mkdir -p... " >&6 ; }
1954+ if test -z " $MKDIR_P " ; then
1955+ if ${ac_cv_path_mkdir+: } false ; then :
1956+ $as_echo_n " (cached) " >&6
1957+ else
1958+ as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
1959+ for as_dir in $PATH$PATH_SEPARATOR /opt/sfw/bin
1960+ do
1961+ IFS=$as_save_IFS
1962+ test -z " $as_dir " && as_dir=.
1963+ for ac_prog in mkdir gmkdir; do
1964+ for ac_exec_ext in ' ' $ac_executable_extensions ; do
1965+ as_fn_executable_p " $as_dir /$ac_prog$ac_exec_ext " || continue
1966+ case ` " $as_dir /$ac_prog$ac_exec_ext " --version 2>&1 ` in # (
1967+ ' mkdir (GNU coreutils) ' * | \
1968+ ' mkdir (coreutils) ' * | \
1969+ ' mkdir (fileutils) ' 4.1* )
1970+ ac_cv_path_mkdir=$as_dir /$ac_prog$ac_exec_ext
1971+ break 3;;
1972+ esac
1973+ done
1974+ done
1975+ done
1976+ IFS=$as_save_IFS
1977+
1978+ fi
1979+
1980+ test -d ./--version && rmdir ./--version
1981+ if test " ${ac_cv_path_mkdir+set} " = set ; then
1982+ MKDIR_P=" $ac_cv_path_mkdir -p"
1983+ else
1984+ # As a last resort, use the slow shell script. Don't cache a
1985+ # value for MKDIR_P within a source directory, because that will
1986+ # break other packages using the cache if that directory is
1987+ # removed, or if the value is a relative name.
1988+ MKDIR_P=" $ac_install_sh -d"
1989+ fi
1990+ fi
1991+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: $MKDIR_P " >&5
1992+ $as_echo " $MKDIR_P " >&6 ; }
1993+
19511994
19521995# Okay, no cppcheck found, maybe we have sonar
19531996if test -z " $CODECHECK "
@@ -2665,6 +2708,7 @@ gives unlimited permission to copy, distribute and modify it."
26652708ac_pwd='$ac_pwd '
26662709srcdir='$srcdir '
26672710INSTALL='$INSTALL '
2711+ MKDIR_P='$MKDIR_P '
26682712test -n " \$ AWK" || AWK=awk
26692713_ACEOF
26702714
@@ -3105,6 +3149,11 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
31053149 [\\ /$]* | ? :[\\ /]* ) ac_INSTALL=$INSTALL ;;
31063150 * ) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
31073151 esac
3152+ ac_MKDIR_P=$MKDIR_P
3153+ case $MKDIR_P in
3154+ [\\ /$]* | ? :[\\ /]* ) ;;
3155+ * /* ) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3156+ esac
31083157_ACEOF
31093158
31103159cat >> $CONFIG_STATUS << \_ACEOF || ac_write_fail=1
@@ -3159,6 +3208,7 @@ s&@builddir@&$ac_builddir&;t t
31593208s&@abs_builddir@&$ac_abs_builddir &;t t
31603209s&@abs_top_builddir@&$ac_abs_top_builddir &;t t
31613210s&@INSTALL@&$ac_INSTALL &;t t
3211+ s&@MKDIR_P@&$ac_MKDIR_P &;t t
31623212$ac_datarootdir_hack
31633213"
31643214eval sed \"\$ ac_sed_extra\" "$ac_file_inputs " | $AWK -f "$ac_tmp /subs.awk" \
0 commit comments