1919
1921
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1922
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1923
# We used to keeping the `.' as first argument, in order to
1924
# allow $(mkdir_p) to be used without argument. As in
1925
# $(mkdir_p) $(somedir)
1926
# where $(somedir) is conditionally defined. However this is wrong
1928
# 1. if the package is installed by a user who cannot write `.'
1929
# make install will fail,
1930
# 2. the above comment should most certainly read
1931
# $(mkdir_p) $(DESTDIR)$(somedir)
1932
# so it does not work when $(somedir) is undefined and
1933
# $(DESTDIR) is not.
1934
# To support the latter case, we have to write
1935
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1936
# so the `.' trick is pointless.
1937
mkdir_p='mkdir -p --'
1924
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1925
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1926
if test -z "$MKDIR_P"; then
1927
if test "${ac_cv_path_mkdir+set}" = set; then
1928
echo $ECHO_N "(cached) $ECHO_C" >&6
1939
# On NextStep and OpenStep, the `mkdir' command does not
1940
# recognize any option. It will interpret all options as
1941
# directories to create, and then abort because `.' already
1943
for d in ./-p ./--version;
1945
test -d $d && rmdir $d
1947
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1948
if test -f "$ac_aux_dir/mkinstalldirs"; then
1949
mkdir_p='$(mkinstalldirs)'
1930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1934
test -z "$as_dir" && as_dir=.
1935
for ac_prog in mkdir gmkdir; do
1936
for ac_exec_ext in '' $ac_executable_extensions; do
1937
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1938
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1939
'mkdir (GNU coreutils) '* | \
1940
'mkdir (coreutils) '* | \
1941
'mkdir (fileutils) '4.1*)
1942
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1952
if test "${ac_cv_path_mkdir+set}" = set; then
1953
MKDIR_P="$ac_cv_path_mkdir -p"
1951
mkdir_p='$(install_sh) -d'
1955
# As a last resort, use the slow shell script. Don't cache a
1956
# value for MKDIR_P within a source directory, because that will
1957
# break other packages using the cache if that directory is
1958
# removed, or if the value is a relative name.
1959
test -d ./--version && rmdir ./--version
1960
MKDIR_P="$ac_install_sh -d"
1963
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1964
echo "${ECHO_T}$MKDIR_P" >&6; }
1968
[\\/$]* | ?:[\\/]*) ;;
1969
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1955
1972
for ac_prog in gawk mawk nawk awk
2034
2051
rmdir .tst 2>/dev/null
2036
# test to see if srcdir already configured
2037
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2038
test -f $srcdir/config.status; then
2039
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2053
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2054
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2055
# is not polluted with repeated "-I."
2056
am__isrc=' -I$(srcdir)'
2057
# test to see if srcdir already configured
2058
if test -f $srcdir/config.status; then
2059
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2040
2060
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2041
2061
{ (exit 1); exit 1; }; }
2044
2065
# test whether we have cygpath
8009
8033
rm -f "$tmp/out12"
8010
8034
# Compute $ac_file's index in $config_headers.
8011
8036
_am_stamp_count=1
8012
8037
for _am_header in $config_headers :; do
8013
8038
case $_am_header in
8014
$ac_file | $ac_file:* )
8039
$_am_arg | $_am_arg:* )
8017
8042
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8020
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
8021
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8022
X$ac_file : 'X\(//\)[^/]' \| \
8023
X$ac_file : 'X\(//\)$' \| \
8024
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
8045
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8046
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8047
X"$_am_arg" : 'X\(//\)[^/]' \| \
8048
X"$_am_arg" : 'X\(//\)$' \| \
8049
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8026
8051
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8057
8082
# some people rename them; so instead we look at the file content.
8058
8083
# Grep'ing the first line is not enough: some people post-process
8059
8084
# each Makefile.in and add a new line on top of each file to say so.
8060
# So let's grep whole file.
8061
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8085
# Grep'ing the whole file is not good either: AIX grep has a line
8086
# limit of 2048, but all sed's we know have understand at least 4000.
8087
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8062
8088
dirpart=`$as_dirname -- "$mf" ||
8063
8089
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8064
8090
X"$mf" : 'X\(//\)[^/]' \| \
8209
8235
echo "* Debug : $ac_cv_debug"
8210
8236
if test "x$ac_cv_debug" = "xyes" -a "x$GCC" != "xyes"; then
8211
echo "* Since you use non-gcc compiler, please"
8212
echo "* set debug CFLAGS manually(if you want to)"
8237
echo "* Since you are not using gcc compatible compiler, please"
8238
echo "* set debug CFLAGS manually (if you want to)"
8214
8240
echo "* Native KDE support : $ac_cv_no_native_kde"
8215
8241
echo "* XPM background support : $ac_cv_xpm_supported"