2202
2204
echo timestamp > conftest.file
2205
# Reject unsafe characters in $srcdir or the absolute working directory
2206
# name. Accept space and tab only in the latter.
2210
*[\\\"\#\$\&\'\`$am_lf]*)
2211
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2212
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2213
{ (exit 1); exit 1; }; };;
2216
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2217
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2218
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2219
{ (exit 1); exit 1; }; };;
2203
2222
# Do `set' in a subshell so we don't clobber the current shell's
2204
2223
# arguments. Must try -L first in case configure is actually a
2205
2224
# symlink; some systems play weird games with the mod time of symlinks
2206
2225
# (eg FreeBSD returns the mod time of the symlink's containing
2209
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2228
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2210
2229
if test "$*" = "X"; then
2211
2230
# -L didn't work.
2212
set X `ls -t $srcdir/configure conftest.file`
2231
set X `ls -t "$srcdir/configure" conftest.file`
2214
2233
rm -f conftest.file
2215
2234
if test "$*" != "X $srcdir/configure conftest.file" \
2253
2272
# expand $ac_aux_dir to an absolute path
2254
2273
am_aux_dir=`cd $ac_aux_dir && pwd`
2256
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2275
if test x"${MISSING+set}" != xset; then
2278
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2280
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2257
2283
# Use eval to expand $SHELL
2258
2284
if eval "$MISSING --run true"; then
2259
2285
am_missing_run="$MISSING --run "
2263
2289
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2292
if test x"${install_sh}" != xset; then
2295
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2297
install_sh="\${SHELL} $am_aux_dir/install-sh"
2301
# Installed binaries are usually stripped using `strip' when the user
2302
# run `make install-strip'. However `strip' might not be the right
2303
# tool to use in cross-compilation environments, therefore Automake
2304
# will honor the `STRIP' environment variable to overrule this program.
2305
if test "$cross_compiling" != no; then
2306
if test -n "$ac_tool_prefix"; then
2307
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2308
set dummy ${ac_tool_prefix}strip; ac_word=$2
2309
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2310
$as_echo_n "checking for $ac_word... " >&6; }
2311
if test "${ac_cv_prog_STRIP+set}" = set; then
2312
$as_echo_n "(cached) " >&6
2314
if test -n "$STRIP"; then
2315
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321
test -z "$as_dir" && as_dir=.
2322
for ac_exec_ext in '' $ac_executable_extensions; do
2323
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2325
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334
STRIP=$ac_cv_prog_STRIP
2335
if test -n "$STRIP"; then
2336
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2337
$as_echo "$STRIP" >&6; }
2339
{ $as_echo "$as_me:$LINENO: result: no" >&5
2340
$as_echo "no" >&6; }
2345
if test -z "$ac_cv_prog_STRIP"; then
2347
# Extract the first word of "strip", so it can be a program name with args.
2348
set dummy strip; ac_word=$2
2349
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2350
$as_echo_n "checking for $ac_word... " >&6; }
2351
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2352
$as_echo_n "(cached) " >&6
2354
if test -n "$ac_ct_STRIP"; then
2355
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361
test -z "$as_dir" && as_dir=.
2362
for ac_exec_ext in '' $ac_executable_extensions; do
2363
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2364
ac_cv_prog_ac_ct_STRIP="strip"
2365
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2375
if test -n "$ac_ct_STRIP"; then
2376
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2377
$as_echo "$ac_ct_STRIP" >&6; }
2379
{ $as_echo "$as_me:$LINENO: result: no" >&5
2380
$as_echo "no" >&6; }
2383
if test "x$ac_ct_STRIP" = x; then
2386
case $cross_compiling:$ac_tool_warned in
2388
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2389
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2390
ac_tool_warned=yes ;;
2395
STRIP="$ac_cv_prog_STRIP"
2399
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2266
2401
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2267
2402
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2268
2403
if test -z "$MKDIR_P"; then
2446
2581
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2448
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2450
# Installed binaries are usually stripped using `strip' when the user
2451
# run `make install-strip'. However `strip' might not be the right
2452
# tool to use in cross-compilation environments, therefore Automake
2453
# will honor the `STRIP' environment variable to overrule this program.
2454
if test "$cross_compiling" != no; then
2455
if test -n "$ac_tool_prefix"; then
2456
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2457
set dummy ${ac_tool_prefix}strip; ac_word=$2
2458
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2459
$as_echo_n "checking for $ac_word... " >&6; }
2460
if test "${ac_cv_prog_STRIP+set}" = set; then
2461
$as_echo_n "(cached) " >&6
2463
if test -n "$STRIP"; then
2464
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2466
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470
test -z "$as_dir" && as_dir=.
2471
for ac_exec_ext in '' $ac_executable_extensions; do
2472
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2474
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483
STRIP=$ac_cv_prog_STRIP
2484
if test -n "$STRIP"; then
2485
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2486
$as_echo "$STRIP" >&6; }
2488
{ $as_echo "$as_me:$LINENO: result: no" >&5
2489
$as_echo "no" >&6; }
2494
if test -z "$ac_cv_prog_STRIP"; then
2496
# Extract the first word of "strip", so it can be a program name with args.
2497
set dummy strip; ac_word=$2
2498
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2499
$as_echo_n "checking for $ac_word... " >&6; }
2500
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2501
$as_echo_n "(cached) " >&6
2503
if test -n "$ac_ct_STRIP"; then
2504
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510
test -z "$as_dir" && as_dir=.
2511
for ac_exec_ext in '' $ac_executable_extensions; do
2512
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2513
ac_cv_prog_ac_ct_STRIP="strip"
2514
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2524
if test -n "$ac_ct_STRIP"; then
2525
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2526
$as_echo "$ac_ct_STRIP" >&6; }
2528
{ $as_echo "$as_me:$LINENO: result: no" >&5
2529
$as_echo "no" >&6; }
2532
if test "x$ac_ct_STRIP" = x; then
2535
case $cross_compiling:$ac_tool_warned in
2537
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2538
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539
ac_tool_warned=yes ;;
2544
STRIP="$ac_cv_prog_STRIP"
2548
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2550
2583
# We need awk for the "check" target. The system "awk" is bad on
2551
2584
# some platforms.
2552
2585
# Always define AMTAR for backward compatibility.
3600
3633
_am_result=none
3601
3634
# First try GNU make style include.
3602
3635
echo "include confinc" > confmf
3603
# We grep out `Entering directory' and `Leaving directory'
3604
# messages which can occur if `w' ends up in MAKEFLAGS.
3605
# In particular we don't look at `^make:' because GNU make might
3606
# be invoked under some other name (usually "gmake"), in which
3607
# case it prints its new name instead of `make'.
3608
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3636
# Ignore all kinds of additional output from `make'.
3637
case `$am_make -s -f confmf 2> /dev/null` in #(
3638
*the\ am__doit\ target*)
3613
3644
# Now try BSD make style include.
3614
3645
if test "$am__include" = "#"; then
3615
3646
echo '.include "confinc"' > confmf
3616
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3617
am__include=.include
3647
case `$am_make -s -f confmf 2> /dev/null` in #(
3648
*the\ am__doit\ target*)
3649
am__include=.include
3692
3730
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3732
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3733
# mode. It turns out that the SunPro C++ compiler does not properly
3734
# handle `-M -o', and we need to detect this. Also, some Intel
3735
# versions had trouble with output in subdirs
3736
am__obj=sub/conftest.${OBJEXT-o}
3737
am__minus_obj="-o $am__obj"
3694
3738
case $depmode in
3740
# This depmode causes a compiler race in universal mode.
3741
test "$am__universal" = false || continue
3696
3744
# after this tag, mechanisms are not by side-effect, so they'll
3697
3745
# only be used when explicitly requested
3752
msvisualcpp | msvcmsys)
3753
# This compiler won't grok `-c -o', but also, the minuso test has
3754
# not run yet. These depmodes are late enough in the game, and
3755
# so weak that their functioning should not be impacted.
3756
am__obj=conftest.${OBJEXT-o}
3706
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3707
# mode. It turns out that the SunPro C++ compiler does not properly
3708
# handle `-M -o', and we need to detect this.
3709
3761
if depmode=$depmode \
3710
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3762
source=sub/conftest.c object=$am__obj \
3711
3763
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3712
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3764
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3713
3765
>/dev/null 2>conftest.err &&
3714
3766
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3715
3767
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3716
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3768
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3717
3769
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3718
3770
# icc doesn't choke on unknown options, it will just issue warnings
3719
3771
# or remarks (even with -Werror). So we grep stderr for any message
4372
4424
lt_cv_nm_interface="BSD nm"
4373
4425
echo "int some_variable = 0;" > conftest.$ac_ext
4374
(eval echo "\"\$as_me:4374: $ac_compile\"" >&5)
4426
(eval echo "\"\$as_me:4426: $ac_compile\"" >&5)
4375
4427
(eval "$ac_compile" 2>conftest.err)
4376
4428
cat conftest.err >&5
4377
(eval echo "\"\$as_me:4377: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4429
(eval echo "\"\$as_me:4429: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4378
4430
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4379
4431
cat conftest.err >&5
4380
(eval echo "\"\$as_me:4380: output\"" >&5)
4432
(eval echo "\"\$as_me:4432: output\"" >&5)
4381
4433
cat conftest.out >&5
4382
4434
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4383
4435
lt_cv_nm_interface="MS dumpbin"
7436
7488
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7437
7489
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7438
7490
-e 's:$: $lt_compiler_flag:'`
7439
(eval echo "\"\$as_me:7439: $lt_compile\"" >&5)
7491
(eval echo "\"\$as_me:7491: $lt_compile\"" >&5)
7440
7492
(eval "$lt_compile" 2>conftest.err)
7442
7494
cat conftest.err >&5
7443
echo "$as_me:7443: \$? = $ac_status" >&5
7495
echo "$as_me:7495: \$? = $ac_status" >&5
7444
7496
if (exit $ac_status) && test -s "$ac_outfile"; then
7445
7497
# The compiler can only warn and ignore the option if not recognized
7446
7498
# So say no if there are warnings other than the usual output.
7775
7827
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7776
7828
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7777
7829
-e 's:$: $lt_compiler_flag:'`
7778
(eval echo "\"\$as_me:7778: $lt_compile\"" >&5)
7830
(eval echo "\"\$as_me:7830: $lt_compile\"" >&5)
7779
7831
(eval "$lt_compile" 2>conftest.err)
7781
7833
cat conftest.err >&5
7782
echo "$as_me:7782: \$? = $ac_status" >&5
7834
echo "$as_me:7834: \$? = $ac_status" >&5
7783
7835
if (exit $ac_status) && test -s "$ac_outfile"; then
7784
7836
# The compiler can only warn and ignore the option if not recognized
7785
7837
# So say no if there are warnings other than the usual output.
7880
7932
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7881
7933
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7882
7934
-e 's:$: $lt_compiler_flag:'`
7883
(eval echo "\"\$as_me:7883: $lt_compile\"" >&5)
7935
(eval echo "\"\$as_me:7935: $lt_compile\"" >&5)
7884
7936
(eval "$lt_compile" 2>out/conftest.err)
7886
7938
cat out/conftest.err >&5
7887
echo "$as_me:7887: \$? = $ac_status" >&5
7939
echo "$as_me:7939: \$? = $ac_status" >&5
7888
7940
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7890
7942
# The compiler can only warn and ignore the option if not recognized
7935
7987
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7936
7988
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7937
7989
-e 's:$: $lt_compiler_flag:'`
7938
(eval echo "\"\$as_me:7938: $lt_compile\"" >&5)
7990
(eval echo "\"\$as_me:7990: $lt_compile\"" >&5)
7939
7991
(eval "$lt_compile" 2>out/conftest.err)
7941
7993
cat out/conftest.err >&5
7942
echo "$as_me:7942: \$? = $ac_status" >&5
7994
echo "$as_me:7994: \$? = $ac_status" >&5
7943
7995
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7945
7997
# The compiler can only warn and ignore the option if not recognized
14522
14582
case $ac_file$ac_mode in
14523
"depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14524
# are listed without --file. Let's play safe and only enable the eval
14525
# if we detect the quoting.
14526
case $CONFIG_FILES in
14527
*\'*) eval set x "$CONFIG_FILES" ;;
14528
*) set x $CONFIG_FILES ;;
14533
# Strip MF so we end up with the name of the file.
14534
mf=`echo "$mf" | sed -e 's/:.*$//'`
14535
# Check whether this is an Automake generated Makefile or not.
14536
# We used to match only the files named `Makefile.in', but
14537
# some people rename them; so instead we look at the file content.
14538
# Grep'ing the first line is not enough: some people post-process
14539
# each Makefile.in and add a new line on top of each file to say so.
14540
# Grep'ing the whole file is not good either: AIX grep has a line
14541
# limit of 2048, but all sed's we know have understand at least 4000.
14542
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14543
dirpart=`$as_dirname -- "$mf" ||
14583
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14584
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14585
# are listed without --file. Let's play safe and only enable the eval
14586
# if we detect the quoting.
14587
case $CONFIG_FILES in
14588
*\'*) eval set x "$CONFIG_FILES" ;;
14589
*) set x $CONFIG_FILES ;;
14594
# Strip MF so we end up with the name of the file.
14595
mf=`echo "$mf" | sed -e 's/:.*$//'`
14596
# Check whether this is an Automake generated Makefile or not.
14597
# We used to match only the files named `Makefile.in', but
14598
# some people rename them; so instead we look at the file content.
14599
# Grep'ing the first line is not enough: some people post-process
14600
# each Makefile.in and add a new line on top of each file to say so.
14601
# Grep'ing the whole file is not good either: AIX grep has a line
14602
# limit of 2048, but all sed's we know have understand at least 4000.
14603
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14604
dirpart=`$as_dirname -- "$mf" ||
14544
14605
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14545
14606
X"$mf" : 'X\(//\)[^/]' \| \
14546
14607
X"$mf" : 'X\(//\)$' \| \
14569
# Extract the definition of DEPDIR, am__include, and am__quote
14570
# from the Makefile without running `make'.
14571
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14572
test -z "$DEPDIR" && continue
14573
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14574
test -z "am__include" && continue
14575
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14576
# When using ansi2knr, U may be empty or an underscore; expand it
14577
U=`sed -n 's/^U = //p' < "$mf"`
14578
# Find all dependency output files, they are included files with
14579
# $(DEPDIR) in their names. We invoke sed twice because it is the
14580
# simplest approach to changing $(DEPDIR) to its actual value in the
14582
for file in `sed -n "
14583
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14584
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14585
# Make sure the directory exists.
14586
test -f "$dirpart/$file" && continue
14587
fdir=`$as_dirname -- "$file" ||
14630
# Extract the definition of DEPDIR, am__include, and am__quote
14631
# from the Makefile without running `make'.
14632
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14633
test -z "$DEPDIR" && continue
14634
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14635
test -z "am__include" && continue
14636
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14637
# When using ansi2knr, U may be empty or an underscore; expand it
14638
U=`sed -n 's/^U = //p' < "$mf"`
14639
# Find all dependency output files, they are included files with
14640
# $(DEPDIR) in their names. We invoke sed twice because it is the
14641
# simplest approach to changing $(DEPDIR) to its actual value in the
14643
for file in `sed -n "
14644
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14645
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14646
# Make sure the directory exists.
14647
test -f "$dirpart/$file" && continue
14648
fdir=`$as_dirname -- "$file" ||
14588
14649
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14589
14650
X"$file" : 'X\(//\)[^/]' \| \
14590
14651
X"$file" : 'X\(//\)$' \| \