configure 503 KB
Newer Older
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
# Try some XSI features
xsi_shell=no
( _lt_dummy="a/b/c"
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
      = c,a/b,b/c, \
    && eval 'test $(( 1 + 1 )) -eq 2 \
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  && xsi_shell=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
$as_echo "$xsi_shell" >&6; }


{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
lt_shell_append=no
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
    >/dev/null 2>&1 \
  && lt_shell_append=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
$as_echo "$lt_shell_append" >&6; }


if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  lt_unset=unset
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5026
else
5027
  lt_unset=false
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5028
5029
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5030
5031
5032



5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044

# test EBCDIC or ASCII
case `echo X|tr X '\101'` in
 A) # ASCII based system
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  lt_SP2NL='tr \040 \012'
  lt_NL2SP='tr \015\012 \040\040'
  ;;
 *) # EBCDIC based system
  lt_SP2NL='tr \100 \n'
  lt_NL2SP='tr \r\n \100\100'
  ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5045
5046
5047
esac


5048
5049
5050
5051
5052
5053
5054
5055
5056
5057







{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
if ${lt_cv_to_host_file_cmd+:} false; then :
5058
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5059
else
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
  case $host in
  *-*-mingw* )
    case $build in
      *-*-mingw* ) # actually msys
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        ;;
      *-*-cygwin* )
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        ;;
      * ) # otherwise, assume *nix
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        ;;
    esac
    ;;
  *-*-cygwin* )
    case $build in
      *-*-mingw* ) # actually msys
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        ;;
      *-*-cygwin* )
        lt_cv_to_host_file_cmd=func_convert_file_noop
        ;;
      * ) # otherwise, assume *nix
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        ;;
    esac
    ;;
  * ) # unhandled hosts (and "normal" native builds)
    lt_cv_to_host_file_cmd=func_convert_file_noop
    ;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5091
5092
5093

fi

5094
5095
5096
to_host_file_cmd=$lt_cv_to_host_file_cmd
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5097

5098
5099
5100
5101
5102
5103
5104




{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
if ${lt_cv_to_tool_file_cmd+:} false; then :
5105
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5106
else
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
  #assume ordinary cross tools, or native build.
lt_cv_to_tool_file_cmd=func_convert_file_noop
case $host in
  *-*-mingw* )
    case $build in
      *-*-mingw* ) # actually msys
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        ;;
    esac
    ;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5118
5119
5120

fi

5121
5122
5123
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5124
5125


5126
5127
5128
5129
5130
5131



{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
$as_echo_n "checking for $LD option to reload object files... " >&6; }
if ${lt_cv_ld_reload_flag+:} false; then :
5132
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5133
else
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
  lt_cv_ld_reload_flag='-r'
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
$as_echo "$lt_cv_ld_reload_flag" >&6; }
reload_flag=$lt_cv_ld_reload_flag
case $reload_flag in
"" | " "*) ;;
*) reload_flag=" $reload_flag" ;;
esac
reload_cmds='$LD$reload_flag -o $output$reload_objs'
case $host_os in
  cygwin* | mingw* | pw32* | cegcc*)
    if test "$GCC" != yes; then
      reload_cmds=false
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5148
    fi
5149
5150
5151
5152
5153
5154
5155
5156
    ;;
  darwin*)
    if test "$GCC" = yes; then
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
    else
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
    fi
    ;;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5157
5158
esac

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5159
5160


Emmanuel Bertin's avatar
Emmanuel Bertin committed
5161

5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172





if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
set dummy ${ac_tool_prefix}objdump; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_OBJDUMP+:} false; then :
5173
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5174
else
5175
5176
5177
5178
5179
  if test -n "$OBJDUMP"; then
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5180
5181
5182
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
5183
    for ac_exec_ext in '' $ac_executable_extensions; do
5184
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185
5186
5187
5188
5189
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
5190
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5191
5192
5193
IFS=$as_save_IFS

fi
5194
5195
5196
5197
5198
fi
OBJDUMP=$ac_cv_prog_OBJDUMP
if test -n "$OBJDUMP"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
$as_echo "$OBJDUMP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5199
else
5200
5201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5202
5203
fi

5204

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5205
fi
5206
5207
5208
5209
5210
5211
5212
if test -z "$ac_cv_prog_OBJDUMP"; then
  ac_ct_OBJDUMP=$OBJDUMP
  # Extract the first word of "objdump", so it can be a program name with args.
set dummy objdump; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5213
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5214
else
5215
5216
  if test -n "$ac_ct_OBJDUMP"; then
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5217
else
5218
5219
5220
5221
5222
5223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5224
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225
5226
5227
5228
5229
5230
5231
5232
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5233
5234
fi
fi
5235
5236
5237
5238
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
if test -n "$ac_ct_OBJDUMP"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
$as_echo "$ac_ct_OBJDUMP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5239
else
5240
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5242
fi
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254

  if test "x$ac_ct_OBJDUMP" = x; then
    OBJDUMP="false"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    OBJDUMP=$ac_ct_OBJDUMP
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5255
else
5256
  OBJDUMP="$ac_cv_prog_OBJDUMP"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5257
fi
5258
5259
5260
5261
5262
5263

test -z "$OBJDUMP" && OBJDUMP=objdump




Emmanuel Bertin's avatar
Emmanuel Bertin committed
5264
5265
5266
5267
5268





5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5270
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5271
if ${lt_cv_deplibs_check_method+:} false; then :
5272
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
else
  lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_deplibs_check_method='unknown'
# Need to set the preceding variable on all platforms that support
# interlibrary dependencies.
# 'none' -- dependencies not supported.
# `unknown' -- same as none, but documents that we really don't know.
# 'pass_all' -- all dependencies passed with no checks.
# 'test_compile' -- check by making test program.
# 'file_magic [[regex]]' -- check by looking for files in library path
# which responds to the $file_magic_cmd with a given extended regex.
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.

case $host_os in
5289
aix[4-9]*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
  lt_cv_deplibs_check_method=pass_all
  ;;

beos*)
  lt_cv_deplibs_check_method=pass_all
  ;;

bsdi[45]*)
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  lt_cv_file_magic_cmd='/usr/bin/file -L'
  lt_cv_file_magic_test_file=/shlib/libc.so
  ;;

cygwin*)
  # func_win32_libid is a shell function defined in ltmain.sh
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  lt_cv_file_magic_cmd='func_win32_libid'
  ;;

mingw* | pw32*)
  # Base MSYS/MinGW do not provide the 'file' command needed by
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  # unless we find 'file', for example because we are cross-compiling.
5313
5314
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5315
5316
5317
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    lt_cv_file_magic_cmd='func_win32_libid'
  else
5318
5319
    # Keep this pattern in sync with the one in func_win32_libid.
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5320
5321
5322
5323
    lt_cv_file_magic_cmd='$OBJDUMP -f'
  fi
  ;;

5324
5325
5326
5327
5328
5329
cegcc*)
  # use the weaker test based on 'objdump'. See mingw*.
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  lt_cv_file_magic_cmd='$OBJDUMP -f'
  ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5330
5331
5332
5333
5334
darwin* | rhapsody*)
  lt_cv_deplibs_check_method=pass_all
  ;;

freebsd* | dragonfly*)
5335
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
    case $host_cpu in
    i*86 )
      # Not sure whether the presence of OpenBSD here was a mistake.
      # Let's accept both of them until this is cleared up.
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
      lt_cv_file_magic_cmd=/usr/bin/file
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
      ;;
    esac
  else
    lt_cv_deplibs_check_method=pass_all
  fi
  ;;

gnu*)
  lt_cv_deplibs_check_method=pass_all
  ;;

5354
5355
5356
5357
haiku*)
  lt_cv_deplibs_check_method=pass_all
  ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5358
5359
5360
5361
5362
5363
5364
5365
hpux10.20* | hpux11*)
  lt_cv_file_magic_cmd=/usr/bin/file
  case $host_cpu in
  ia64*)
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    ;;
  hppa*64*)
5366
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5367
5368
5369
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    ;;
  *)
5370
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    ;;
  esac
  ;;

interix[3-9]*)
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  ;;

irix5* | irix6* | nonstopux*)
  case $LD in
  *-32|*"-32 ") libmagic=32-bit;;
  *-n32|*"-n32 ") libmagic=N32;;
  *-64|*"-64 ") libmagic=64-bit;;
  *) libmagic=never-match;;
  esac
  lt_cv_deplibs_check_method=pass_all
  ;;

5391
# This must be glibc/ELF.
5392
linux* | k*bsd*-gnu | kopensolaris*-gnu)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5393
5394
5395
5396
  lt_cv_deplibs_check_method=pass_all
  ;;

netbsd*)
5397
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  else
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  fi
  ;;

newos6*)
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  lt_cv_file_magic_cmd=/usr/bin/file
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  ;;

5410
5411
*nto* | *qnx*)
  lt_cv_deplibs_check_method=pass_all
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5412
5413
5414
  ;;

openbsd*)
5415
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  else
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  fi
  ;;

osf3* | osf4* | osf5*)
  lt_cv_deplibs_check_method=pass_all
  ;;

rdos*)
  lt_cv_deplibs_check_method=pass_all
  ;;

solaris*)
  lt_cv_deplibs_check_method=pass_all
  ;;

5434
5435
5436
5437
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  lt_cv_deplibs_check_method=pass_all
  ;;

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
sysv4 | sysv4.3*)
  case $host_vendor in
  motorola)
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    ;;
  ncr)
    lt_cv_deplibs_check_method=pass_all
    ;;
  sequent)
    lt_cv_file_magic_cmd='/bin/file'
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
    ;;
  sni)
    lt_cv_file_magic_cmd='/bin/file'
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
    lt_cv_file_magic_test_file=/lib/libc.so
    ;;
  siemens)
    lt_cv_deplibs_check_method=pass_all
    ;;
  pc)
    lt_cv_deplibs_check_method=pass_all
    ;;
  esac
  ;;

5465
tpf*)
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5466
5467
5468
5469
5470
  lt_cv_deplibs_check_method=pass_all
  ;;
esac

fi
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5472
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487

file_magic_glob=
want_nocaseglob=no
if test "$build" = "$host"; then
  case $host_os in
  mingw* | pw32*)
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
      want_nocaseglob=yes
    else
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
    fi
    ;;
  esac
fi

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
file_magic_cmd=$lt_cv_file_magic_cmd
deplibs_check_method=$lt_cv_deplibs_check_method
test -z "$deplibs_check_method" && deplibs_check_method=unknown




















5511
5512
5513
5514
5515
5516
5517
5518


if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_DLLTOOL+:} false; then :
5519
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5520
else
5521
5522
5523
5524
5525
  if test -n "$DLLTOOL"; then
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5526
do
5527
5528
5529
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5530
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531
5532
5533
5534
5535
5536
5537
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5538
5539
5540

fi
fi
5541
5542
5543
5544
5545
5546
5547
DLLTOOL=$ac_cv_prog_DLLTOOL
if test -n "$DLLTOOL"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
$as_echo "$DLLTOOL" >&6; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5548
5549
5550
5551
fi


fi
5552
5553
5554
5555
5556
5557
5558
5559
if test -z "$ac_cv_prog_DLLTOOL"; then
  ac_ct_DLLTOOL=$DLLTOOL
  # Extract the first word of "dlltool", so it can be a program name with args.
set dummy dlltool; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5560
else
5561
5562
5563
5564
5565
  if test -n "$ac_ct_DLLTOOL"; then
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5566
do
5567
5568
5569
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5570
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571
5572
5573
5574
5575
5576
5577
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5578

5579
5580
5581
5582
5583
5584
fi
fi
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
if test -n "$ac_ct_DLLTOOL"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
$as_echo "$ac_ct_DLLTOOL" >&6; }
5585
else
5586
5587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5588
5589
fi

5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
  if test "x$ac_ct_DLLTOOL" = x; then
    DLLTOOL="false"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    DLLTOOL=$ac_ct_DLLTOOL
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5601
else
5602
  DLLTOOL="$ac_cv_prog_DLLTOOL"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5603
5604
fi

5605
test -z "$DLLTOOL" && DLLTOOL=dlltool
5606

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5607
5608
5609



5610
5611
5612
5613
5614
5615
5616
5617
5618






{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5619
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5620
else
5621
  lt_cv_sharedlib_from_linklib_cmd='unknown'
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5622

5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
case $host_os in
cygwin* | mingw* | pw32* | cegcc*)
  # two different shell functions defined in ltmain.sh
  # decide which to use based on capabilities of $DLLTOOL
  case `$DLLTOOL --help 2>&1` in
  *--identify-strict*)
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
    ;;
  *)
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
    ;;
  esac
  ;;
*)
  # fallback: assume linklib IS sharedlib
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
  ;;
esac
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5641
5642

fi
5643
5644
5645
5646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5647
5648


5649

Emmanuel Bertin's avatar
Emmanuel Bertin committed
5650
5651
5652



5653

5654
5655
5656
5657
5658
5659
5660
5661
5662
if test -n "$ac_tool_prefix"; then
  for ac_prog in ar
  do
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_AR+:} false; then :
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5663
else
5664
5665
5666
5667
5668
5669
5670
5671
5672
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5673
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5674
5675
5676
5677
5678
5679
5680
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5681
5682

fi
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
fi
AR=$ac_cv_prog_AR
if test -n "$AR"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
$as_echo "$AR" >&6; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi


    test -n "$AR" && break
  done
fi
if test -z "$AR"; then
  ac_ct_AR=$AR
  for ac_prog in ar
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_ac_ct_AR+:} false; then :
  $as_echo_n "(cached) " >&6
else
  if test -n "$ac_ct_AR"; then
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5717
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
    ac_cv_prog_ac_ct_AR="$ac_prog"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
  done
IFS=$as_save_IFS

fi
fi
ac_ct_AR=$ac_cv_prog_ac_ct_AR
if test -n "$ac_ct_AR"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
$as_echo "$ac_ct_AR" >&6; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$ac_ct_AR" && break
done

  if test "x$ac_ct_AR" = x; then
    AR="false"
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
    AR=$ac_ct_AR
  fi
fi

: ${AR=ar}
: ${AR_FLAGS=cru}











{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
$as_echo_n "checking for archiver @FILE support... " >&6; }
if ${lt_cv_ar_at_file+:} false; then :
  $as_echo_n "(cached) " >&6
else
  lt_cv_ar_at_file=no
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5774
5775
5776
5777
5778
/* end confdefs.h.  */

int
main ()
{
5779
5780

  ;
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5781
5782
5783
  return 0;
}
_ACEOF
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
if ac_fn_c_try_compile "$LINENO"; then :
  echo conftest.$ac_objext > conftest.lst
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  (eval $lt_ar_try) 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
      if test "$ac_status" -eq 0; then
	# Ensure the archiver fails upon bogus file names.
	rm -f conftest.$ac_objext libconftest.a
	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
  (eval $lt_ar_try) 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }
	if test "$ac_status" -ne 0; then
          lt_cv_ar_at_file=@
        fi
      fi
      rm -f conftest.* libconftest.a
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5805
5806

fi
5807
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5808
5809

fi
5810
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
$as_echo "$lt_cv_ar_at_file" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5812

5813
5814
5815
5816
if test "x$lt_cv_ar_at_file" = xno; then
  archiver_list_spec=
else
  archiver_list_spec=$lt_cv_ar_at_file
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5817
5818
5819
5820
5821
5822
5823
5824
fi







5825
5826
5827
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5829
$as_echo_n "checking for $ac_word... " >&6; }
5830
if ${ac_cv_prog_STRIP+:} false; then :
5831
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5832
else
5833
5834
  if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5835
5836
5837
5838
5839
5840
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
5841
    for ac_exec_ext in '' $ac_executable_extensions; do
5842
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5843
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5844
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5845
5846
5847
    break 2
  fi
done
5848
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5849
5850
5851
5852
IFS=$as_save_IFS

fi
fi
5853
5854
5855
5856
STRIP=$ac_cv_prog_STRIP
if test -n "$STRIP"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
$as_echo "$STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5857
else
5858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5859
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5860
5861
5862
5863
fi


fi
5864
5865
5866
5867
if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5869
$as_echo_n "checking for $ac_word... " >&6; }
5870
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5871
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5872
else
5873
5874
  if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5875
5876
5877
5878
5879
5880
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
5881
    for ac_exec_ext in '' $ac_executable_extensions; do
5882
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5883
    ac_cv_prog_ac_ct_STRIP="strip"
5884
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5885
5886
5887
    break 2
  fi
done
5888
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5889
5890
5891
5892
IFS=$as_save_IFS

fi
fi
5893
5894
5895
5896
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
if test -n "$ac_ct_STRIP"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
$as_echo "$ac_ct_STRIP" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5897
else
5898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5899
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5900
5901
fi

5902
5903
  if test "x$ac_ct_STRIP" = x; then
    STRIP=":"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5904
5905
5906
  else
    case $cross_compiling:$ac_tool_warned in
yes:)
5907
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5909
5910
ac_tool_warned=yes ;;
esac
5911
    STRIP=$ac_ct_STRIP
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5912
  fi
5913
5914
else
  STRIP="$ac_cv_prog_STRIP"
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5915
5916
fi

5917
test -z "$STRIP" && STRIP=:
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5918
5919
5920
5921
5922
5923






5924
5925
5926
5927
5928
5929
5930
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_prog_RANLIB+:} false; then :
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5931
else
5932
5933
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5934
else
5935
5936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5937
do
5938
5939
5940
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
    for ac_exec_ext in '' $ac_executable_extensions; do
5941
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942
5943
5944
5945
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5946
done
5947
5948
  done
IFS=$as_save_IFS
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5949
5950
5951

fi
fi
5952
5953
5954
5955
RANLIB=$ac_cv_prog_RANLIB
if test -n "$RANLIB"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
$as_echo "$RANLIB" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5956
else
5957
5958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5959
5960
5961
5962
fi


fi
5963
5964
5965
5966
if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968
$as_echo_n "checking for $ac_word... " >&6; }
5969
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5970
  $as_echo_n "(cached) " >&6
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5971
else
5972
5973
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5974
5975
5976
5977
5978
5979
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
5980
    for ac_exec_ext in '' $ac_executable_extensions; do
5981
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5982
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5983
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5984
5985
5986
    break 2
  fi
done
5987
  done
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5988
5989
5990
5991
IFS=$as_save_IFS

fi
fi
5992
5993
5994
5995
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
if test -n "$ac_ct_RANLIB"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
$as_echo "$ac_ct_RANLIB" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5996
else
5997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998
$as_echo "no" >&6; }
Emmanuel Bertin's avatar
Emmanuel Bertin committed
5999
6000
fi

For faster browsing, not all history is shown. View entire blame