2288
2287
echo timestamp > conftest.file
2289
# Reject unsafe characters in $srcdir or the absolute working directory
2290
# name. Accept space and tab only in the latter.
2294
*[\\\"\#\$\&\'\`$am_lf]*)
2295
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2296
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2297
{ (exit 1); exit 1; }; };;
2300
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2301
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2302
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2303
{ (exit 1); exit 1; }; };;
2306
2288
# Do `set' in a subshell so we don't clobber the current shell's
2307
2289
# arguments. Must try -L first in case configure is actually a
2308
2290
# symlink; some systems play weird games with the mod time of symlinks
2309
2291
# (eg FreeBSD returns the mod time of the symlink's containing
2312
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2294
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2313
2295
if test "$*" = "X"; then
2314
2296
# -L didn't work.
2315
set X `ls -t "$srcdir/configure" conftest.file`
2297
set X `ls -t $srcdir/configure conftest.file`
2317
2299
rm -f conftest.file
2318
2300
if test "$*" != "X $srcdir/configure conftest.file" \
2356
2338
# expand $ac_aux_dir to an absolute path
2357
2339
am_aux_dir=`cd $ac_aux_dir && pwd`
2359
if test x"${MISSING+set}" != xset; then
2362
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2364
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2341
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2367
2342
# Use eval to expand $SHELL
2368
2343
if eval "$MISSING --run true"; then
2369
2344
am_missing_run="$MISSING --run "
2373
2348
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2376
if test x"${install_sh}" != xset; then
2379
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2381
install_sh="\${SHELL} $am_aux_dir/install-sh"
2385
# Installed binaries are usually stripped using `strip' when the user
2386
# run `make install-strip'. However `strip' might not be the right
2387
# tool to use in cross-compilation environments, therefore Automake
2388
# will honor the `STRIP' environment variable to overrule this program.
2389
if test "$cross_compiling" != no; then
2390
if test -n "$ac_tool_prefix"; then
2391
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2392
set dummy ${ac_tool_prefix}strip; ac_word=$2
2393
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2394
$as_echo_n "checking for $ac_word... " >&6; }
2395
if test "${ac_cv_prog_STRIP+set}" = set; then
2396
$as_echo_n "(cached) " >&6
2398
if test -n "$STRIP"; then
2399
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2401
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2405
test -z "$as_dir" && as_dir=.
2406
for ac_exec_ext in '' $ac_executable_extensions; do
2407
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2408
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2409
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2418
STRIP=$ac_cv_prog_STRIP
2419
if test -n "$STRIP"; then
2420
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2421
$as_echo "$STRIP" >&6; }
2423
{ $as_echo "$as_me:$LINENO: result: no" >&5
2424
$as_echo "no" >&6; }
2429
if test -z "$ac_cv_prog_STRIP"; then
2431
# Extract the first word of "strip", so it can be a program name with args.
2432
set dummy strip; ac_word=$2
2433
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2434
$as_echo_n "checking for $ac_word... " >&6; }
2435
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2436
$as_echo_n "(cached) " >&6
2438
if test -n "$ac_ct_STRIP"; then
2439
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445
test -z "$as_dir" && as_dir=.
2446
for ac_exec_ext in '' $ac_executable_extensions; do
2447
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448
ac_cv_prog_ac_ct_STRIP="strip"
2449
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2459
if test -n "$ac_ct_STRIP"; then
2460
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2461
$as_echo "$ac_ct_STRIP" >&6; }
2463
{ $as_echo "$as_me:$LINENO: result: no" >&5
2464
$as_echo "no" >&6; }
2467
if test "x$ac_ct_STRIP" = x; then
2470
case $cross_compiling:$ac_tool_warned in
2472
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2473
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2474
ac_tool_warned=yes ;;
2479
STRIP="$ac_cv_prog_STRIP"
2483
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2485
2351
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2486
2352
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2487
2353
if test -z "$MKDIR_P"; then
2665
2531
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2533
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2535
# Installed binaries are usually stripped using `strip' when the user
2536
# run `make install-strip'. However `strip' might not be the right
2537
# tool to use in cross-compilation environments, therefore Automake
2538
# will honor the `STRIP' environment variable to overrule this program.
2539
if test "$cross_compiling" != no; then
2540
if test -n "$ac_tool_prefix"; then
2541
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2542
set dummy ${ac_tool_prefix}strip; ac_word=$2
2543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2544
$as_echo_n "checking for $ac_word... " >&6; }
2545
if test "${ac_cv_prog_STRIP+set}" = set; then
2546
$as_echo_n "(cached) " >&6
2548
if test -n "$STRIP"; then
2549
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555
test -z "$as_dir" && as_dir=.
2556
for ac_exec_ext in '' $ac_executable_extensions; do
2557
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2558
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2559
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568
STRIP=$ac_cv_prog_STRIP
2569
if test -n "$STRIP"; then
2570
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2571
$as_echo "$STRIP" >&6; }
2573
{ $as_echo "$as_me:$LINENO: result: no" >&5
2574
$as_echo "no" >&6; }
2579
if test -z "$ac_cv_prog_STRIP"; then
2581
# Extract the first word of "strip", so it can be a program name with args.
2582
set dummy strip; ac_word=$2
2583
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2584
$as_echo_n "checking for $ac_word... " >&6; }
2585
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2586
$as_echo_n "(cached) " >&6
2588
if test -n "$ac_ct_STRIP"; then
2589
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2591
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595
test -z "$as_dir" && as_dir=.
2596
for ac_exec_ext in '' $ac_executable_extensions; do
2597
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598
ac_cv_prog_ac_ct_STRIP="strip"
2599
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2608
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2609
if test -n "$ac_ct_STRIP"; then
2610
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2611
$as_echo "$ac_ct_STRIP" >&6; }
2613
{ $as_echo "$as_me:$LINENO: result: no" >&5
2614
$as_echo "no" >&6; }
2617
if test "x$ac_ct_STRIP" = x; then
2620
case $cross_compiling:$ac_tool_warned in
2622
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2623
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2624
ac_tool_warned=yes ;;
2629
STRIP="$ac_cv_prog_STRIP"
2633
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2667
2635
# We need awk for the "check" target. The system "awk" is bad on
2668
2636
# some platforms.
2669
2637
# Always define AMTAR for backward compatibility.
2963
2931
_am_result=none
2964
2932
# First try GNU make style include.
2965
2933
echo "include confinc" > confmf
2966
# Ignore all kinds of additional output from `make'.
2967
case `$am_make -s -f confmf 2> /dev/null` in #(
2968
*the\ am__doit\ target*)
2934
# We grep out `Entering directory' and `Leaving directory'
2935
# messages which can occur if `w' ends up in MAKEFLAGS.
2936
# In particular we don't look at `^make:' because GNU make might
2937
# be invoked under some other name (usually "gmake"), in which
2938
# case it prints its new name instead of `make'.
2939
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2974
2944
# Now try BSD make style include.
2975
2945
if test "$am__include" = "#"; then
2976
2946
echo '.include "confinc"' > confmf
2977
case `$am_make -s -f confmf 2> /dev/null` in #(
2978
*the\ am__doit\ target*)
2979
am__include=.include
2947
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2948
am__include=.include
3992
3955
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3994
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3995
# mode. It turns out that the SunPro C++ compiler does not properly
3996
# handle `-M -o', and we need to detect this. Also, some Intel
3997
# versions had trouble with output in subdirs
3998
am__obj=sub/conftest.${OBJEXT-o}
3999
am__minus_obj="-o $am__obj"
4000
3957
case $depmode in
4002
# This depmode causes a compiler race in universal mode.
4003
test "$am__universal" = false || continue
4006
3959
# after this tag, mechanisms are not by side-effect, so they'll
4007
3960
# only be used when explicitly requested
4014
msvisualcpp | msvcmsys)
4015
# This compiler won't grok `-c -o', but also, the minuso test has
4016
# not run yet. These depmodes are late enough in the game, and
4017
# so weak that their functioning should not be impacted.
4018
am__obj=conftest.${OBJEXT-o}
3969
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3970
# mode. It turns out that the SunPro C++ compiler does not properly
3971
# handle `-M -o', and we need to detect this.
4023
3972
if depmode=$depmode \
4024
source=sub/conftest.c object=$am__obj \
3973
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4025
3974
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4026
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3975
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4027
3976
>/dev/null 2>conftest.err &&
4028
3977
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4029
3978
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4030
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3979
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4031
3980
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4032
3981
# icc doesn't choke on unknown options, it will just issue warnings
4033
3982
# or remarks (even with -Werror). So we grep stderr for any message
5654
5598
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5656
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5657
# mode. It turns out that the SunPro C++ compiler does not properly
5658
# handle `-M -o', and we need to detect this. Also, some Intel
5659
# versions had trouble with output in subdirs
5660
am__obj=sub/conftest.${OBJEXT-o}
5661
am__minus_obj="-o $am__obj"
5662
5600
case $depmode in
5664
# This depmode causes a compiler race in universal mode.
5665
test "$am__universal" = false || continue
5668
5602
# after this tag, mechanisms are not by side-effect, so they'll
5669
5603
# only be used when explicitly requested
5676
msvisualcpp | msvcmsys)
5677
# This compiler won't grok `-c -o', but also, the minuso test has
5678
# not run yet. These depmodes are late enough in the game, and
5679
# so weak that their functioning should not be impacted.
5680
am__obj=conftest.${OBJEXT-o}
5612
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5613
# mode. It turns out that the SunPro C++ compiler does not properly
5614
# handle `-M -o', and we need to detect this.
5685
5615
if depmode=$depmode \
5686
source=sub/conftest.c object=$am__obj \
5616
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5687
5617
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5688
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5618
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5689
5619
>/dev/null 2>conftest.err &&
5690
5620
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5691
5621
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5692
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5622
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5693
5623
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5694
5624
# icc doesn't choke on unknown options, it will just issue warnings
5695
5625
# or remarks (even with -Werror). So we grep stderr for any message
6608
6538
lt_cv_nm_interface="BSD nm"
6609
6539
echo "int some_variable = 0;" > conftest.$ac_ext
6610
(eval echo "\"\$as_me:6610: $ac_compile\"" >&5)
6540
(eval echo "\"\$as_me:6540: $ac_compile\"" >&5)
6611
6541
(eval "$ac_compile" 2>conftest.err)
6612
6542
cat conftest.err >&5
6613
(eval echo "\"\$as_me:6613: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6543
(eval echo "\"\$as_me:6543: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6614
6544
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6615
6545
cat conftest.err >&5
6616
(eval echo "\"\$as_me:6616: output\"" >&5)
6546
(eval echo "\"\$as_me:6546: output\"" >&5)
6617
6547
cat conftest.out >&5
6618
6548
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6619
6549
lt_cv_nm_interface="MS dumpbin"
9116
9046
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9117
9047
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9118
9048
-e 's:$: $lt_compiler_flag:'`
9119
(eval echo "\"\$as_me:9119: $lt_compile\"" >&5)
9049
(eval echo "\"\$as_me:9049: $lt_compile\"" >&5)
9120
9050
(eval "$lt_compile" 2>conftest.err)
9122
9052
cat conftest.err >&5
9123
echo "$as_me:9123: \$? = $ac_status" >&5
9053
echo "$as_me:9053: \$? = $ac_status" >&5
9124
9054
if (exit $ac_status) && test -s "$ac_outfile"; then
9125
9055
# The compiler can only warn and ignore the option if not recognized
9126
9056
# So say no if there are warnings other than the usual output.
9455
9385
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9456
9386
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9457
9387
-e 's:$: $lt_compiler_flag:'`
9458
(eval echo "\"\$as_me:9458: $lt_compile\"" >&5)
9388
(eval echo "\"\$as_me:9388: $lt_compile\"" >&5)
9459
9389
(eval "$lt_compile" 2>conftest.err)
9461
9391
cat conftest.err >&5
9462
echo "$as_me:9462: \$? = $ac_status" >&5
9392
echo "$as_me:9392: \$? = $ac_status" >&5
9463
9393
if (exit $ac_status) && test -s "$ac_outfile"; then
9464
9394
# The compiler can only warn and ignore the option if not recognized
9465
9395
# So say no if there are warnings other than the usual output.
9560
9490
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9561
9491
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9562
9492
-e 's:$: $lt_compiler_flag:'`
9563
(eval echo "\"\$as_me:9563: $lt_compile\"" >&5)
9493
(eval echo "\"\$as_me:9493: $lt_compile\"" >&5)
9564
9494
(eval "$lt_compile" 2>out/conftest.err)
9566
9496
cat out/conftest.err >&5
9567
echo "$as_me:9567: \$? = $ac_status" >&5
9497
echo "$as_me:9497: \$? = $ac_status" >&5
9568
9498
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9570
9500
# The compiler can only warn and ignore the option if not recognized
9615
9545
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9616
9546
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9617
9547
-e 's:$: $lt_compiler_flag:'`
9618
(eval echo "\"\$as_me:9618: $lt_compile\"" >&5)
9548
(eval echo "\"\$as_me:9548: $lt_compile\"" >&5)
9619
9549
(eval "$lt_compile" 2>out/conftest.err)
9621
9551
cat out/conftest.err >&5
9622
echo "$as_me:9622: \$? = $ac_status" >&5
9552
echo "$as_me:9552: \$? = $ac_status" >&5
9623
9553
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9625
9555
# The compiler can only warn and ignore the option if not recognized
12858
12788
# FIXME: we rely on the cache variable name because
12859
12789
# there is no other way.
12860
12790
set dummy $CC
12861
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12862
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12863
if test "$am_t" != yes; then
12791
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12792
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
12864
12793
# Losing compiler, so override with the script.
12865
12794
# FIXME: It is wrong to rewrite CC.
12866
12795
# But if we don't then we get into trouble of one sort or another.
12863
if test x"$cross_compiling" = xyes; then
12864
for ac_prog in gcc cc
12866
# Extract the first word of "$ac_prog", so it can be a program name with args.
12867
set dummy $ac_prog; ac_word=$2
12868
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12869
$as_echo_n "checking for $ac_word... " >&6; }
12870
if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
12871
$as_echo_n "(cached) " >&6
12873
if test -n "$CC_FOR_BUILD"; then
12874
ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
12876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877
for as_dir in $PATH
12880
test -z "$as_dir" && as_dir=.
12881
for ac_exec_ext in '' $ac_executable_extensions; do
12882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883
ac_cv_prog_CC_FOR_BUILD="$ac_prog"
12884
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12893
CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
12894
if test -n "$CC_FOR_BUILD"; then
12895
{ $as_echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
12896
$as_echo "$CC_FOR_BUILD" >&6; }
12898
{ $as_echo "$as_me:$LINENO: result: no" >&5
12899
$as_echo "no" >&6; }
12903
test -n "$CC_FOR_BUILD" && break
12934
12910
# Check whether --enable-largefile was given.
12935
12911
if test "${enable_largefile+set}" = set; then
12936
12912
enableval=$enable_largefile;
23548
23524
case $ac_file$ac_mode in
23549
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23550
# Autoconf 2.62 quotes --file arguments for eval, but not when files
23551
# are listed without --file. Let's play safe and only enable the eval
23552
# if we detect the quoting.
23553
case $CONFIG_FILES in
23554
*\'*) eval set x "$CONFIG_FILES" ;;
23555
*) set x $CONFIG_FILES ;;
23560
# Strip MF so we end up with the name of the file.
23561
mf=`echo "$mf" | sed -e 's/:.*$//'`
23562
# Check whether this is an Automake generated Makefile or not.
23563
# We used to match only the files named `Makefile.in', but
23564
# some people rename them; so instead we look at the file content.
23565
# Grep'ing the first line is not enough: some people post-process
23566
# each Makefile.in and add a new line on top of each file to say so.
23567
# Grep'ing the whole file is not good either: AIX grep has a line
23568
# limit of 2048, but all sed's we know have understand at least 4000.
23569
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23570
dirpart=`$as_dirname -- "$mf" ||
23525
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
23526
# Strip MF so we end up with the name of the file.
23527
mf=`echo "$mf" | sed -e 's/:.*$//'`
23528
# Check whether this is an Automake generated Makefile or not.
23529
# We used to match only the files named `Makefile.in', but
23530
# some people rename them; so instead we look at the file content.
23531
# Grep'ing the first line is not enough: some people post-process
23532
# each Makefile.in and add a new line on top of each file to say so.
23533
# Grep'ing the whole file is not good either: AIX grep has a line
23534
# limit of 2048, but all sed's we know have understand at least 4000.
23535
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23536
dirpart=`$as_dirname -- "$mf" ||
23571
23537
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23572
23538
X"$mf" : 'X\(//\)[^/]' \| \
23573
23539
X"$mf" : 'X\(//\)$' \| \
23596
# Extract the definition of DEPDIR, am__include, and am__quote
23597
# from the Makefile without running `make'.
23598
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23599
test -z "$DEPDIR" && continue
23600
am__include=`sed -n 's/^am__include = //p' < "$mf"`
23601
test -z "am__include" && continue
23602
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23603
# When using ansi2knr, U may be empty or an underscore; expand it
23604
U=`sed -n 's/^U = //p' < "$mf"`
23605
# Find all dependency output files, they are included files with
23606
# $(DEPDIR) in their names. We invoke sed twice because it is the
23607
# simplest approach to changing $(DEPDIR) to its actual value in the
23609
for file in `sed -n "
23610
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23611
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23612
# Make sure the directory exists.
23613
test -f "$dirpart/$file" && continue
23614
fdir=`$as_dirname -- "$file" ||
23562
# Extract the definition of DEPDIR, am__include, and am__quote
23563
# from the Makefile without running `make'.
23564
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23565
test -z "$DEPDIR" && continue
23566
am__include=`sed -n 's/^am__include = //p' < "$mf"`
23567
test -z "am__include" && continue
23568
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23569
# When using ansi2knr, U may be empty or an underscore; expand it
23570
U=`sed -n 's/^U = //p' < "$mf"`
23571
# Find all dependency output files, they are included files with
23572
# $(DEPDIR) in their names. We invoke sed twice because it is the
23573
# simplest approach to changing $(DEPDIR) to its actual value in the
23575
for file in `sed -n "
23576
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23577
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23578
# Make sure the directory exists.
23579
test -f "$dirpart/$file" && continue
23580
fdir=`$as_dirname -- "$file" ||
23615
23581
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23616
23582
X"$file" : 'X\(//\)[^/]' \| \
23617
23583
X"$file" : 'X\(//\)$' \| \