2152
2154
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2155
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2156
# We used to keeping the `.' as first argument, in order to
2157
# allow $(mkdir_p) to be used without argument. As in
2158
# $(mkdir_p) $(somedir)
2159
# where $(somedir) is conditionally defined. However this is wrong
2161
# 1. if the package is installed by a user who cannot write `.'
2162
# make install will fail,
2163
# 2. the above comment should most certainly read
2164
# $(mkdir_p) $(DESTDIR)$(somedir)
2165
# so it does not work when $(somedir) is undefined and
2166
# $(DESTDIR) is not.
2167
# To support the latter case, we have to write
2168
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2169
# so the `.' trick is pointless.
2170
mkdir_p='mkdir -p --'
2157
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2158
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2159
if test -z "$MKDIR_P"; then
2160
if test "${ac_cv_path_mkdir+set}" = set; then
2161
echo $ECHO_N "(cached) $ECHO_C" >&6
2172
# On NextStep and OpenStep, the `mkdir' command does not
2173
# recognize any option. It will interpret all options as
2174
# directories to create, and then abort because `.' already
2176
for d in ./-p ./--version;
2178
test -d $d && rmdir $d
2180
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2181
if test -f "$ac_aux_dir/mkinstalldirs"; then
2182
mkdir_p='$(mkinstalldirs)'
2163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2167
test -z "$as_dir" && as_dir=.
2168
for ac_prog in mkdir gmkdir; do
2169
for ac_exec_ext in '' $ac_executable_extensions; do
2170
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2171
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2172
'mkdir (GNU coreutils) '* | \
2173
'mkdir (coreutils) '* | \
2174
'mkdir (fileutils) '4.1*)
2175
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2185
if test "${ac_cv_path_mkdir+set}" = set; then
2186
MKDIR_P="$ac_cv_path_mkdir -p"
2184
mkdir_p='$(install_sh) -d'
2188
# As a last resort, use the slow shell script. Don't cache a
2189
# value for MKDIR_P within a source directory, because that will
2190
# break other packages using the cache if that directory is
2191
# removed, or if the value is a relative name.
2192
test -d ./--version && rmdir ./--version
2193
MKDIR_P="$ac_install_sh -d"
2196
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2197
echo "${ECHO_T}$MKDIR_P" >&6; }
2201
[\\/$]* | ?:[\\/]*) ;;
2202
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2188
2205
for ac_prog in gawk mawk nawk awk
2267
2284
rmdir .tst 2>/dev/null
2269
# test to see if srcdir already configured
2270
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2271
test -f $srcdir/config.status; then
2272
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2286
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2287
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2288
# is not polluted with repeated "-I."
2289
am__isrc=' -I$(srcdir)'
2290
# test to see if srcdir already configured
2291
if test -f $srcdir/config.status; then
2292
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2273
2293
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2274
2294
{ (exit 1); exit 1; }; }
2277
2298
# test whether we have cygpath
7865
7881
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7866
7882
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7867
7883
-e 's:$: $lt_compiler_flag:'`
7868
(eval echo "\"\$as_me:7868: $lt_compile\"" >&5)
7884
(eval echo "\"\$as_me:7884: $lt_compile\"" >&5)
7869
7885
(eval "$lt_compile" 2>conftest.err)
7871
7887
cat conftest.err >&5
7872
echo "$as_me:7872: \$? = $ac_status" >&5
7888
echo "$as_me:7888: \$? = $ac_status" >&5
7873
7889
if (exit $ac_status) && test -s "$ac_outfile"; then
7874
7890
# The compiler can only warn and ignore the option if not recognized
7875
7891
# So say no if there are warnings other than the usual output.
8155
8171
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8156
8172
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8157
8173
-e 's:$: $lt_compiler_flag:'`
8158
(eval echo "\"\$as_me:8158: $lt_compile\"" >&5)
8174
(eval echo "\"\$as_me:8174: $lt_compile\"" >&5)
8159
8175
(eval "$lt_compile" 2>conftest.err)
8161
8177
cat conftest.err >&5
8162
echo "$as_me:8162: \$? = $ac_status" >&5
8178
echo "$as_me:8178: \$? = $ac_status" >&5
8163
8179
if (exit $ac_status) && test -s "$ac_outfile"; then
8164
8180
# The compiler can only warn and ignore the option if not recognized
8165
8181
# So say no if there are warnings other than the usual output.
8259
8275
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8260
8276
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8261
8277
-e 's:$: $lt_compiler_flag:'`
8262
(eval echo "\"\$as_me:8262: $lt_compile\"" >&5)
8278
(eval echo "\"\$as_me:8278: $lt_compile\"" >&5)
8263
8279
(eval "$lt_compile" 2>out/conftest.err)
8265
8281
cat out/conftest.err >&5
8266
echo "$as_me:8266: \$? = $ac_status" >&5
8282
echo "$as_me:8282: \$? = $ac_status" >&5
8267
8283
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8269
8285
# The compiler can only warn and ignore the option if not recognized
13141
13157
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13142
13158
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13143
13159
-e 's:$: $lt_compiler_flag:'`
13144
(eval echo "\"\$as_me:13144: $lt_compile\"" >&5)
13160
(eval echo "\"\$as_me:13160: $lt_compile\"" >&5)
13145
13161
(eval "$lt_compile" 2>conftest.err)
13147
13163
cat conftest.err >&5
13148
echo "$as_me:13148: \$? = $ac_status" >&5
13164
echo "$as_me:13164: \$? = $ac_status" >&5
13149
13165
if (exit $ac_status) && test -s "$ac_outfile"; then
13150
13166
# The compiler can only warn and ignore the option if not recognized
13151
13167
# So say no if there are warnings other than the usual output.
13245
13261
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13246
13262
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13247
13263
-e 's:$: $lt_compiler_flag:'`
13248
(eval echo "\"\$as_me:13248: $lt_compile\"" >&5)
13264
(eval echo "\"\$as_me:13264: $lt_compile\"" >&5)
13249
13265
(eval "$lt_compile" 2>out/conftest.err)
13251
13267
cat out/conftest.err >&5
13252
echo "$as_me:13252: \$? = $ac_status" >&5
13268
echo "$as_me:13268: \$? = $ac_status" >&5
13253
13269
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13255
13271
# The compiler can only warn and ignore the option if not recognized
14843
14859
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14844
14860
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14845
14861
-e 's:$: $lt_compiler_flag:'`
14846
(eval echo "\"\$as_me:14846: $lt_compile\"" >&5)
14862
(eval echo "\"\$as_me:14862: $lt_compile\"" >&5)
14847
14863
(eval "$lt_compile" 2>conftest.err)
14849
14865
cat conftest.err >&5
14850
echo "$as_me:14850: \$? = $ac_status" >&5
14866
echo "$as_me:14866: \$? = $ac_status" >&5
14851
14867
if (exit $ac_status) && test -s "$ac_outfile"; then
14852
14868
# The compiler can only warn and ignore the option if not recognized
14853
14869
# So say no if there are warnings other than the usual output.
14947
14963
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14948
14964
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14949
14965
-e 's:$: $lt_compiler_flag:'`
14950
(eval echo "\"\$as_me:14950: $lt_compile\"" >&5)
14966
(eval echo "\"\$as_me:14966: $lt_compile\"" >&5)
14951
14967
(eval "$lt_compile" 2>out/conftest.err)
14953
14969
cat out/conftest.err >&5
14954
echo "$as_me:14954: \$? = $ac_status" >&5
14970
echo "$as_me:14970: \$? = $ac_status" >&5
14955
14971
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14957
14973
# The compiler can only warn and ignore the option if not recognized
17171
17187
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17172
17188
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17173
17189
-e 's:$: $lt_compiler_flag:'`
17174
(eval echo "\"\$as_me:17174: $lt_compile\"" >&5)
17190
(eval echo "\"\$as_me:17190: $lt_compile\"" >&5)
17175
17191
(eval "$lt_compile" 2>conftest.err)
17177
17193
cat conftest.err >&5
17178
echo "$as_me:17178: \$? = $ac_status" >&5
17194
echo "$as_me:17194: \$? = $ac_status" >&5
17179
17195
if (exit $ac_status) && test -s "$ac_outfile"; then
17180
17196
# The compiler can only warn and ignore the option if not recognized
17181
17197
# So say no if there are warnings other than the usual output.
17461
17477
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17462
17478
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17463
17479
-e 's:$: $lt_compiler_flag:'`
17464
(eval echo "\"\$as_me:17464: $lt_compile\"" >&5)
17480
(eval echo "\"\$as_me:17480: $lt_compile\"" >&5)
17465
17481
(eval "$lt_compile" 2>conftest.err)
17467
17483
cat conftest.err >&5
17468
echo "$as_me:17468: \$? = $ac_status" >&5
17484
echo "$as_me:17484: \$? = $ac_status" >&5
17469
17485
if (exit $ac_status) && test -s "$ac_outfile"; then
17470
17486
# The compiler can only warn and ignore the option if not recognized
17471
17487
# So say no if there are warnings other than the usual output.
17565
17581
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17566
17582
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17567
17583
-e 's:$: $lt_compiler_flag:'`
17568
(eval echo "\"\$as_me:17568: $lt_compile\"" >&5)
17584
(eval echo "\"\$as_me:17584: $lt_compile\"" >&5)
17569
17585
(eval "$lt_compile" 2>out/conftest.err)
17571
17587
cat out/conftest.err >&5
17572
echo "$as_me:17572: \$? = $ac_status" >&5
17588
echo "$as_me:17588: \$? = $ac_status" >&5
17573
17589
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17575
17591
# The compiler can only warn and ignore the option if not recognized
24016
24036
rm -f "$tmp/out12"
24017
24037
# Compute $ac_file's index in $config_headers.
24018
24039
_am_stamp_count=1
24019
24040
for _am_header in $config_headers :; do
24020
24041
case $_am_header in
24021
$ac_file | $ac_file:* )
24042
$_am_arg | $_am_arg:* )
24024
24045
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
24027
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
24028
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24029
X$ac_file : 'X\(//\)[^/]' \| \
24030
X$ac_file : 'X\(//\)$' \| \
24031
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
24048
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24049
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24050
X"$_am_arg" : 'X\(//\)[^/]' \| \
24051
X"$_am_arg" : 'X\(//\)$' \| \
24052
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24033
24054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24064
24085
# some people rename them; so instead we look at the file content.
24065
24086
# Grep'ing the first line is not enough: some people post-process
24066
24087
# each Makefile.in and add a new line on top of each file to say so.
24067
# So let's grep whole file.
24068
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
24088
# Grep'ing the whole file is not good either: AIX grep has a line
24089
# limit of 2048, but all sed's we know have understand at least 4000.
24090
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
24069
24091
dirpart=`$as_dirname -- "$mf" ||
24070
24092
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24071
24093
X"$mf" : 'X\(//\)[^/]' \| \