528
543
# Sed expression to map a string onto a valid variable name.
529
544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
546
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
549
test -n "$DJDIR" || exec 7<&0 </dev/null
684
552
# Name of the host.
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
553
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
554
# so uname gets run too.
687
555
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
2945
2824
ac_config_headers="$ac_config_headers config.h"
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2950
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2955
macro_version='2.2.6b'
2956
macro_revision='1.3017'
2970
ltmain="$ac_aux_dir/ltmain.sh"
2972
# Make sure we can run config.sub.
2973
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2974
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2977
$as_echo_n "checking build system type... " >&6; }
2978
if test "${ac_cv_build+set}" = set; then :
2979
$as_echo_n "(cached) " >&6
2981
ac_build_alias=$build_alias
2982
test "x$ac_build_alias" = x &&
2983
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2984
test "x$ac_build_alias" = x &&
2985
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2986
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2987
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2991
$as_echo "$ac_cv_build" >&6; }
2992
case $ac_cv_build in
2994
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2997
ac_save_IFS=$IFS; IFS='-'
3003
# Remember, the first character of IFS is used to create $*,
3004
# except with old shells:
3007
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3011
$as_echo_n "checking host system type... " >&6; }
3012
if test "${ac_cv_host+set}" = set; then :
3013
$as_echo_n "(cached) " >&6
3015
if test "x$host_alias" = x; then
3016
ac_cv_host=$ac_cv_build
3018
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3019
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3024
$as_echo "$ac_cv_host" >&6; }
3027
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3030
ac_save_IFS=$IFS; IFS='-'
3036
# Remember, the first character of IFS is used to create $*,
3037
# except with old shells:
3040
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3043
DEPDIR="${am__leading_dot}deps"
3045
ac_config_commands="$ac_config_commands depfiles"
3048
am_make=${MAKE-make}
3049
cat > confinc << 'END'
3051
@echo this is the am__doit target
3054
# If we don't find an include directive, just comment out the code.
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3056
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3060
# First try GNU make style include.
3061
echo "include confinc" > confmf
3062
# Ignore all kinds of additional output from `make'.
3063
case `$am_make -s -f confmf 2> /dev/null` in #(
3064
*the\ am__doit\ target*)
3070
# Now try BSD make style include.
3071
if test "$am__include" = "#"; then
3072
echo '.include "confinc"' > confmf
3073
case `$am_make -s -f confmf 2> /dev/null` in #(
3074
*the\ am__doit\ target*)
3075
am__include=.include
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3084
$as_echo "$_am_result" >&6; }
3085
rm -f confinc confmf
3087
# Check whether --enable-dependency-tracking was given.
3088
if test "${enable_dependency_tracking+set}" = set; then :
3089
enableval=$enable_dependency_tracking;
3092
if test "x$enable_dependency_tracking" != xno; then
3093
am_depcomp="$ac_aux_dir/depcomp"
3096
if test "x$enable_dependency_tracking" != xno; then
3106
ac_cpp='$CPP $CPPFLAGS'
3107
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110
if test -n "$ac_tool_prefix"; then
3111
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3112
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114
$as_echo_n "checking for $ac_word... " >&6; }
3115
if test "${ac_cv_prog_CC+set}" = set; then :
3116
$as_echo_n "(cached) " >&6
3118
if test -n "$CC"; then
3119
ac_cv_prog_CC="$CC" # Let the user override the test.
3121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125
test -z "$as_dir" && as_dir=.
3126
for ac_exec_ext in '' $ac_executable_extensions; do
3127
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3129
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139
if test -n "$CC"; then
3140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3141
$as_echo "$CC" >&6; }
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144
$as_echo "no" >&6; }
3149
if test -z "$ac_cv_prog_CC"; then
3151
# Extract the first word of "gcc", so it can be a program name with args.
3152
set dummy gcc; ac_word=$2
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154
$as_echo_n "checking for $ac_word... " >&6; }
3155
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3156
$as_echo_n "(cached) " >&6
3158
if test -n "$ac_ct_CC"; then
3159
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165
test -z "$as_dir" && as_dir=.
3166
for ac_exec_ext in '' $ac_executable_extensions; do
3167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168
ac_cv_prog_ac_ct_CC="gcc"
3169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3179
if test -n "$ac_ct_CC"; then
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3181
$as_echo "$ac_ct_CC" >&6; }
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184
$as_echo "no" >&6; }
3187
if test "x$ac_ct_CC" = x; then
2827
# checks for programs.
2829
ac_cpp='$CXXCPP $CPPFLAGS'
2830
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2833
if test -z "$CXX"; then
2834
if test -n "$CCC"; then
3190
case $cross_compiling:$ac_tool_warned in
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194
ac_tool_warned=yes ;;
3202
if test -z "$CC"; then
3203
if test -n "$ac_tool_prefix"; then
3204
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3205
set dummy ${ac_tool_prefix}cc; ac_word=$2
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207
$as_echo_n "checking for $ac_word... " >&6; }
3208
if test "${ac_cv_prog_CC+set}" = set; then :
3209
$as_echo_n "(cached) " >&6
3211
if test -n "$CC"; then
3212
ac_cv_prog_CC="$CC" # Let the user override the test.
3214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218
test -z "$as_dir" && as_dir=.
3219
for ac_exec_ext in '' $ac_executable_extensions; do
3220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221
ac_cv_prog_CC="${ac_tool_prefix}cc"
3222
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232
if test -n "$CC"; then
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234
$as_echo "$CC" >&6; }
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237
$as_echo "no" >&6; }
3243
if test -z "$CC"; then
3244
# Extract the first word of "cc", so it can be a program name with args.
3245
set dummy cc; ac_word=$2
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247
$as_echo_n "checking for $ac_word... " >&6; }
3248
if test "${ac_cv_prog_CC+set}" = set; then :
3249
$as_echo_n "(cached) " >&6
3251
if test -n "$CC"; then
3252
ac_cv_prog_CC="$CC" # Let the user override the test.
3255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259
test -z "$as_dir" && as_dir=.
3260
for ac_exec_ext in '' $ac_executable_extensions; do
3261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3263
ac_prog_rejected=yes
3267
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274
if test $ac_prog_rejected = yes; then
3275
# We found a bogon in the path, so make sure we never use it.
3276
set dummy $ac_cv_prog_CC
3278
if test $# != 0; then
3279
# We chose a different compiler from the bogus one.
3280
# However, it has the same basename, so the bogon will be chosen
3281
# first if we set CC to just the basename; use the full file name.
3283
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3289
if test -n "$CC"; then
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3291
$as_echo "$CC" >&6; }
3293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294
$as_echo "no" >&6; }
3299
if test -z "$CC"; then
3300
if test -n "$ac_tool_prefix"; then
3301
for ac_prog in cl.exe
2837
if test -n "$ac_tool_prefix"; then
2838
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3303
2840
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3304
2841
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3305
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306
2843
$as_echo_n "checking for $ac_word... " >&6; }
3307
if test "${ac_cv_prog_CC+set}" = set; then :
2844
if ${ac_cv_prog_CXX+:} false; then :
3308
2845
$as_echo_n "(cached) " >&6
3310
if test -n "$CC"; then
3311
ac_cv_prog_CC="$CC" # Let the user override the test.
2847
if test -n "$CXX"; then
2848
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3313
2850
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314
2851
for as_dir in $PATH
3681
3211
$as_echo "$ac_cv_objext" >&6; }
3682
3212
OBJEXT=$ac_cv_objext
3683
3213
ac_objext=$OBJEXT
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3215
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3216
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3217
$as_echo_n "(cached) " >&6
3219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220
/* end confdefs.h. */
3233
if ac_fn_cxx_try_compile "$LINENO"; then :
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3243
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3244
if test $ac_compiler_gnu = yes; then
3249
ac_test_CXXFLAGS=${CXXFLAGS+set}
3250
ac_save_CXXFLAGS=$CXXFLAGS
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3252
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3253
if ${ac_cv_prog_cxx_g+:} false; then :
3254
$as_echo_n "(cached) " >&6
3256
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257
ac_cxx_werror_flag=yes
3260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
/* end confdefs.h. */
3271
if ac_fn_cxx_try_compile "$LINENO"; then :
3272
ac_cv_prog_cxx_g=yes
3275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276
/* end confdefs.h. */
3286
if ac_fn_cxx_try_compile "$LINENO"; then :
3289
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292
/* end confdefs.h. */
3302
if ac_fn_cxx_try_compile "$LINENO"; then :
3303
ac_cv_prog_cxx_g=yes
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3313
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3314
if test "$ac_test_CXXFLAGS" = set; then
3315
CXXFLAGS=$ac_save_CXXFLAGS
3316
elif test $ac_cv_prog_cxx_g = yes; then
3317
if test "$GXX" = yes; then
3323
if test "$GXX" = yes; then
3330
ac_cpp='$CPP $CPPFLAGS'
3331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334
DEPDIR="${am__leading_dot}deps"
3336
ac_config_commands="$ac_config_commands depfiles"
3339
am_make=${MAKE-make}
3340
cat > confinc << 'END'
3342
@echo this is the am__doit target
3345
# If we don't find an include directive, just comment out the code.
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3347
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3351
# First try GNU make style include.
3352
echo "include confinc" > confmf
3353
# Ignore all kinds of additional output from `make'.
3354
case `$am_make -s -f confmf 2> /dev/null` in #(
3355
*the\ am__doit\ target*)
3361
# Now try BSD make style include.
3362
if test "$am__include" = "#"; then
3363
echo '.include "confinc"' > confmf
3364
case `$am_make -s -f confmf 2> /dev/null` in #(
3365
*the\ am__doit\ target*)
3366
am__include=.include
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3375
$as_echo "$_am_result" >&6; }
3376
rm -f confinc confmf
3378
# Check whether --enable-dependency-tracking was given.
3379
if test "${enable_dependency_tracking+set}" = set; then :
3380
enableval=$enable_dependency_tracking;
3383
if test "x$enable_dependency_tracking" != xno; then
3384
am_depcomp="$ac_aux_dir/depcomp"
3387
if test "x$enable_dependency_tracking" != xno; then
3397
depcc="$CXX" am_compiler_list=
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3400
$as_echo_n "checking dependency style of $depcc... " >&6; }
3401
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3402
$as_echo_n "(cached) " >&6
3404
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405
# We make a subdir and do the tests there. Otherwise we can end up
3406
# making bogus files that we don't know about and never remove. For
3407
# instance it was reported that on HP-UX the gcc test will end up
3408
# making a dummy file named `D' -- because `-MD' means `put the output
3411
# Copy depcomp to subdir because otherwise we won't find it if we're
3412
# using a relative directory.
3413
cp "$am_depcomp" conftest.dir
3415
# We will build objects and dependencies in a subdirectory because
3416
# it helps to detect inapplicable dependency modes. For instance
3417
# both Tru64's cc and ICC support -MD to output dependencies as a
3418
# side effect of compilation, but ICC will put the dependencies in
3419
# the current directory while Tru64 will put them in the object
3423
am_cv_CXX_dependencies_compiler_type=none
3424
if test "$am_compiler_list" = ""; then
3425
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428
case " $depcc " in #(
3429
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3432
for depmode in $am_compiler_list; do
3433
# Setup a source with many dependencies, because some compilers
3434
# like to wrap large dependency lists on column 80 (with \), and
3435
# we should not choose a depcomp mode which is confused by this.
3437
# We need to recreate these files for each test, as the compiler may
3438
# overwrite some of them when testing with obscure command lines.
3439
# This happens at least with the AIX C compiler.
3441
for i in 1 2 3 4 5 6; do
3442
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3443
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3444
# Solaris 8's {/usr,}/bin/sh.
3445
touch sub/conftst$i.h
3447
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3449
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3450
# mode. It turns out that the SunPro C++ compiler does not properly
3451
# handle `-M -o', and we need to detect this. Also, some Intel
3452
# versions had trouble with output in subdirs
3453
am__obj=sub/conftest.${OBJEXT-o}
3454
am__minus_obj="-o $am__obj"
3457
# This depmode causes a compiler race in universal mode.
3458
test "$am__universal" = false || continue
3461
# after this tag, mechanisms are not by side-effect, so they'll
3462
# only be used when explicitly requested
3463
if test "x$enable_dependency_tracking" = xyes; then
3469
msvisualcpp | msvcmsys)
3470
# This compiler won't grok `-c -o', but also, the minuso test has
3471
# not run yet. These depmodes are late enough in the game, and
3472
# so weak that their functioning should not be impacted.
3473
am__obj=conftest.${OBJEXT-o}
3478
if depmode=$depmode \
3479
source=sub/conftest.c object=$am__obj \
3480
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3481
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3482
>/dev/null 2>conftest.err &&
3483
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3484
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3485
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3486
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3487
# icc doesn't choke on unknown options, it will just issue warnings
3488
# or remarks (even with -Werror). So we grep stderr for any message
3489
# that says an option was ignored or not supported.
3490
# When given -MP, icc 7.0 and 7.1 complain thusly:
3491
# icc: Command line warning: ignoring option '-M'; no argument required
3492
# The diagnosis changed in icc 8.0:
3493
# icc: Command line remark: option '-MP' not supported
3494
if (grep 'ignoring option' conftest.err ||
3495
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3496
am_cv_CXX_dependencies_compiler_type=$depmode
3505
am_cv_CXX_dependencies_compiler_type=none
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3510
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3511
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3514
test "x$enable_dependency_tracking" != xno \
3515
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3516
am__fastdepCXX_TRUE=
3517
am__fastdepCXX_FALSE='#'
3519
am__fastdepCXX_TRUE='#'
3520
am__fastdepCXX_FALSE=
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3527
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3532
macro_version='2.4.2'
3533
macro_revision='1.3337'
3547
ltmain="$ac_aux_dir/ltmain.sh"
3549
# Make sure we can run config.sub.
3550
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3551
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3554
$as_echo_n "checking build system type... " >&6; }
3555
if ${ac_cv_build+:} false; then :
3556
$as_echo_n "(cached) " >&6
3558
ac_build_alias=$build_alias
3559
test "x$ac_build_alias" = x &&
3560
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3561
test "x$ac_build_alias" = x &&
3562
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3563
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3564
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3568
$as_echo "$ac_cv_build" >&6; }
3569
case $ac_cv_build in
3571
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3574
ac_save_IFS=$IFS; IFS='-'
3580
# Remember, the first character of IFS is used to create $*,
3581
# except with old shells:
3584
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3588
$as_echo_n "checking host system type... " >&6; }
3589
if ${ac_cv_host+:} false; then :
3590
$as_echo_n "(cached) " >&6
3592
if test "x$host_alias" = x; then
3593
ac_cv_host=$ac_cv_build
3595
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3596
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3601
$as_echo "$ac_cv_host" >&6; }
3604
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3607
ac_save_IFS=$IFS; IFS='-'
3613
# Remember, the first character of IFS is used to create $*,
3614
# except with old shells:
3617
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3620
# Backslashify metacharacters that are still active within
3621
# double-quoted strings.
3622
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3624
# Same as above, but do not quote variable references.
3625
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3627
# Sed substitution to delay expansion of an escaped shell variable in a
3628
# double_quote_subst'ed string.
3629
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3631
# Sed substitution to delay expansion of an escaped single quote.
3632
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3634
# Sed substitution to avoid accidental globbing in evaled expressions
3635
no_glob_subst='s/\*/\\\*/g'
3637
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3638
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3639
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3642
$as_echo_n "checking how to print strings... " >&6; }
3643
# Test print first, because it will be a builtin if present.
3644
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3645
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3647
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3650
# Use this function as a fallback that always works.
3651
func_fallback_echo ()
3653
eval 'cat <<_LTECHO_EOF
3657
ECHO='func_fallback_echo'
3660
# func_echo_all arg...
3661
# Invoke $ECHO with all args, space-separated.
3668
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3669
$as_echo "printf" >&6; } ;;
3670
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3671
$as_echo "print -r" >&6; } ;;
3672
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3673
$as_echo "cat" >&6; } ;;
3690
ac_cpp='$CPP $CPPFLAGS'
3691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694
if test -n "$ac_tool_prefix"; then
3695
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3696
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698
$as_echo_n "checking for $ac_word... " >&6; }
3699
if ${ac_cv_prog_CC+:} false; then :
3700
$as_echo_n "(cached) " >&6
3702
if test -n "$CC"; then
3703
ac_cv_prog_CC="$CC" # Let the user override the test.
3705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709
test -z "$as_dir" && as_dir=.
3710
for ac_exec_ext in '' $ac_executable_extensions; do
3711
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3713
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723
if test -n "$CC"; then
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725
$as_echo "$CC" >&6; }
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728
$as_echo "no" >&6; }
3733
if test -z "$ac_cv_prog_CC"; then
3735
# Extract the first word of "gcc", so it can be a program name with args.
3736
set dummy gcc; ac_word=$2
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738
$as_echo_n "checking for $ac_word... " >&6; }
3739
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3740
$as_echo_n "(cached) " >&6
3742
if test -n "$ac_ct_CC"; then
3743
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749
test -z "$as_dir" && as_dir=.
3750
for ac_exec_ext in '' $ac_executable_extensions; do
3751
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752
ac_cv_prog_ac_ct_CC="gcc"
3753
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3763
if test -n "$ac_ct_CC"; then
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3765
$as_echo "$ac_ct_CC" >&6; }
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768
$as_echo "no" >&6; }
3771
if test "x$ac_ct_CC" = x; then
3774
case $cross_compiling:$ac_tool_warned in
3776
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3777
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3778
ac_tool_warned=yes ;;
3786
if test -z "$CC"; then
3787
if test -n "$ac_tool_prefix"; then
3788
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3789
set dummy ${ac_tool_prefix}cc; ac_word=$2
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791
$as_echo_n "checking for $ac_word... " >&6; }
3792
if ${ac_cv_prog_CC+:} false; then :
3793
$as_echo_n "(cached) " >&6
3795
if test -n "$CC"; then
3796
ac_cv_prog_CC="$CC" # Let the user override the test.
3798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802
test -z "$as_dir" && as_dir=.
3803
for ac_exec_ext in '' $ac_executable_extensions; do
3804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805
ac_cv_prog_CC="${ac_tool_prefix}cc"
3806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816
if test -n "$CC"; then
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818
$as_echo "$CC" >&6; }
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821
$as_echo "no" >&6; }
3827
if test -z "$CC"; then
3828
# Extract the first word of "cc", so it can be a program name with args.
3829
set dummy cc; ac_word=$2
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831
$as_echo_n "checking for $ac_word... " >&6; }
3832
if ${ac_cv_prog_CC+:} false; then :
3833
$as_echo_n "(cached) " >&6
3835
if test -n "$CC"; then
3836
ac_cv_prog_CC="$CC" # Let the user override the test.
3839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843
test -z "$as_dir" && as_dir=.
3844
for ac_exec_ext in '' $ac_executable_extensions; do
3845
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3847
ac_prog_rejected=yes
3851
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858
if test $ac_prog_rejected = yes; then
3859
# We found a bogon in the path, so make sure we never use it.
3860
set dummy $ac_cv_prog_CC
3862
if test $# != 0; then
3863
# We chose a different compiler from the bogus one.
3864
# However, it has the same basename, so the bogon will be chosen
3865
# first if we set CC to just the basename; use the full file name.
3867
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3873
if test -n "$CC"; then
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875
$as_echo "$CC" >&6; }
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878
$as_echo "no" >&6; }
3883
if test -z "$CC"; then
3884
if test -n "$ac_tool_prefix"; then
3885
for ac_prog in cl.exe
3887
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890
$as_echo_n "checking for $ac_word... " >&6; }
3891
if ${ac_cv_prog_CC+:} false; then :
3892
$as_echo_n "(cached) " >&6
3894
if test -n "$CC"; then
3895
ac_cv_prog_CC="$CC" # Let the user override the test.
3897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901
test -z "$as_dir" && as_dir=.
3902
for ac_exec_ext in '' $ac_executable_extensions; do
3903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3905
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915
if test -n "$CC"; then
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917
$as_echo "$CC" >&6; }
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920
$as_echo "no" >&6; }
3924
test -n "$CC" && break
3927
if test -z "$CC"; then
3929
for ac_prog in cl.exe
3931
# Extract the first word of "$ac_prog", so it can be a program name with args.
3932
set dummy $ac_prog; ac_word=$2
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934
$as_echo_n "checking for $ac_word... " >&6; }
3935
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3936
$as_echo_n "(cached) " >&6
3938
if test -n "$ac_ct_CC"; then
3939
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945
test -z "$as_dir" && as_dir=.
3946
for ac_exec_ext in '' $ac_executable_extensions; do
3947
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948
ac_cv_prog_ac_ct_CC="$ac_prog"
3949
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3959
if test -n "$ac_ct_CC"; then
3960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3961
$as_echo "$ac_ct_CC" >&6; }
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964
$as_echo "no" >&6; }
3968
test -n "$ac_ct_CC" && break
3971
if test "x$ac_ct_CC" = x; then
3974
case $cross_compiling:$ac_tool_warned in
3976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3978
ac_tool_warned=yes ;;
3987
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989
as_fn_error $? "no acceptable C compiler found in \$PATH
3990
See \`config.log' for more details" "$LINENO" 5; }
3992
# Provide some information about the compiler.
3993
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3996
for ac_option in --version -v -V -qversion; do
3997
{ { ac_try="$ac_compiler $ac_option >&5"
3999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000
*) ac_try_echo=$ac_try;;
4002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003
$as_echo "$ac_try_echo"; } >&5
4004
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4006
if test -s conftest.err; then
4008
... rest of stderr output deleted ...
4009
10q' conftest.err >conftest.er1
4010
cat conftest.er1 >&5
4012
rm -f conftest.er1 conftest.err
4013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014
test $ac_status = 0; }
3684
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3685
4018
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3686
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4019
if ${ac_cv_c_compiler_gnu+:} false; then :
3687
4020
$as_echo_n "(cached) " >&6
3689
4022
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175
if test -n "$ac_tool_prefix"; then
5176
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5177
set dummy ${ac_tool_prefix}ar; ac_word=$2
5178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179
$as_echo_n "checking for $ac_word... " >&6; }
5180
if test "${ac_cv_prog_AR+set}" = set; then :
5640
if test -n "$ac_tool_prefix"; then
5641
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5642
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5644
$as_echo_n "checking for $ac_word... " >&6; }
5645
if ${ac_cv_prog_DLLTOOL+:} false; then :
5646
$as_echo_n "(cached) " >&6
5648
if test -n "$DLLTOOL"; then
5649
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5655
test -z "$as_dir" && as_dir=.
5656
for ac_exec_ext in '' $ac_executable_extensions; do
5657
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5659
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668
DLLTOOL=$ac_cv_prog_DLLTOOL
5669
if test -n "$DLLTOOL"; then
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5671
$as_echo "$DLLTOOL" >&6; }
5673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674
$as_echo "no" >&6; }
5679
if test -z "$ac_cv_prog_DLLTOOL"; then
5680
ac_ct_DLLTOOL=$DLLTOOL
5681
# Extract the first word of "dlltool", so it can be a program name with args.
5682
set dummy dlltool; ac_word=$2
5683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684
$as_echo_n "checking for $ac_word... " >&6; }
5685
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5686
$as_echo_n "(cached) " >&6
5688
if test -n "$ac_ct_DLLTOOL"; then
5689
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5695
test -z "$as_dir" && as_dir=.
5696
for ac_exec_ext in '' $ac_executable_extensions; do
5697
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5699
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5709
if test -n "$ac_ct_DLLTOOL"; then
5710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5711
$as_echo "$ac_ct_DLLTOOL" >&6; }
5713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714
$as_echo "no" >&6; }
5717
if test "x$ac_ct_DLLTOOL" = x; then
5720
case $cross_compiling:$ac_tool_warned in
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724
ac_tool_warned=yes ;;
5726
DLLTOOL=$ac_ct_DLLTOOL
5729
DLLTOOL="$ac_cv_prog_DLLTOOL"
5732
test -z "$DLLTOOL" && DLLTOOL=dlltool
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5744
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5745
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5746
$as_echo_n "(cached) " >&6
5748
lt_cv_sharedlib_from_linklib_cmd='unknown'
5751
cygwin* | mingw* | pw32* | cegcc*)
5752
# two different shell functions defined in ltmain.sh
5753
# decide which to use based on capabilities of $DLLTOOL
5754
case `$DLLTOOL --help 2>&1` in
5755
*--identify-strict*)
5756
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5759
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5764
# fallback: assume linklib IS sharedlib
5765
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5771
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5772
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5773
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5782
if test -n "$ac_tool_prefix"; then
5785
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5786
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
$as_echo_n "checking for $ac_word... " >&6; }
5789
if ${ac_cv_prog_AR+:} false; then :
5181
5790
$as_echo_n "(cached) " >&6
5183
5792
if test -n "$AR"; then