15259
15317
# Only expand once:
15262
enable_win32_dll=yes
15265
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
15266
if test -n "$ac_tool_prefix"; then
15267
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
15268
set dummy ${ac_tool_prefix}as; ac_word=$2
15269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15270
$as_echo_n "checking for $ac_word... " >&6; }
15271
if ${ac_cv_prog_AS+:} false; then :
15272
$as_echo_n "(cached) " >&6
15274
if test -n "$AS"; then
15275
ac_cv_prog_AS="$AS" # Let the user override the test.
15277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15278
for as_dir in $PATH
15281
test -z "$as_dir" && as_dir=.
15282
for ac_exec_ext in '' $ac_executable_extensions; do
15283
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15284
ac_cv_prog_AS="${ac_tool_prefix}as"
15285
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15295
if test -n "$AS"; then
15296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
15297
$as_echo "$AS" >&6; }
15299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15300
$as_echo "no" >&6; }
15305
if test -z "$ac_cv_prog_AS"; then
15307
# Extract the first word of "as", so it can be a program name with args.
15308
set dummy as; ac_word=$2
15309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15310
$as_echo_n "checking for $ac_word... " >&6; }
15311
if ${ac_cv_prog_ac_ct_AS+:} false; then :
15312
$as_echo_n "(cached) " >&6
15314
if test -n "$ac_ct_AS"; then
15315
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
15317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15318
for as_dir in $PATH
15321
test -z "$as_dir" && as_dir=.
15322
for ac_exec_ext in '' $ac_executable_extensions; do
15323
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15324
ac_cv_prog_ac_ct_AS="as"
15325
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15334
ac_ct_AS=$ac_cv_prog_ac_ct_AS
15335
if test -n "$ac_ct_AS"; then
15336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
15337
$as_echo "$ac_ct_AS" >&6; }
15339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15340
$as_echo "no" >&6; }
15343
if test "x$ac_ct_AS" = x; then
15346
case $cross_compiling:$ac_tool_warned in
15348
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15349
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15350
ac_tool_warned=yes ;;
15355
AS="$ac_cv_prog_AS"
15358
if test -n "$ac_tool_prefix"; then
15359
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15360
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15362
$as_echo_n "checking for $ac_word... " >&6; }
15363
if ${ac_cv_prog_DLLTOOL+:} false; then :
15364
$as_echo_n "(cached) " >&6
15366
if test -n "$DLLTOOL"; then
15367
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15370
for as_dir in $PATH
15373
test -z "$as_dir" && as_dir=.
15374
for ac_exec_ext in '' $ac_executable_extensions; do
15375
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15376
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15377
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15386
DLLTOOL=$ac_cv_prog_DLLTOOL
15387
if test -n "$DLLTOOL"; then
15388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
15389
$as_echo "$DLLTOOL" >&6; }
15391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15392
$as_echo "no" >&6; }
15397
if test -z "$ac_cv_prog_DLLTOOL"; then
15398
ac_ct_DLLTOOL=$DLLTOOL
15399
# Extract the first word of "dlltool", so it can be a program name with args.
15400
set dummy dlltool; ac_word=$2
15401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15402
$as_echo_n "checking for $ac_word... " >&6; }
15403
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
15404
$as_echo_n "(cached) " >&6
15406
if test -n "$ac_ct_DLLTOOL"; then
15407
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15410
for as_dir in $PATH
15413
test -z "$as_dir" && as_dir=.
15414
for ac_exec_ext in '' $ac_executable_extensions; do
15415
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15416
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15417
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15426
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15427
if test -n "$ac_ct_DLLTOOL"; then
15428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
15429
$as_echo "$ac_ct_DLLTOOL" >&6; }
15431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15432
$as_echo "no" >&6; }
15435
if test "x$ac_ct_DLLTOOL" = x; then
15438
case $cross_compiling:$ac_tool_warned in
15440
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15441
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15442
ac_tool_warned=yes ;;
15444
DLLTOOL=$ac_ct_DLLTOOL
15447
DLLTOOL="$ac_cv_prog_DLLTOOL"
15450
if test -n "$ac_tool_prefix"; then
15451
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
15452
set dummy ${ac_tool_prefix}objdump; ac_word=$2
15453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15454
$as_echo_n "checking for $ac_word... " >&6; }
15455
if ${ac_cv_prog_OBJDUMP+:} false; then :
15456
$as_echo_n "(cached) " >&6
15458
if test -n "$OBJDUMP"; then
15459
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
15461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15462
for as_dir in $PATH
15465
test -z "$as_dir" && as_dir=.
15466
for ac_exec_ext in '' $ac_executable_extensions; do
15467
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15468
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
15469
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15478
OBJDUMP=$ac_cv_prog_OBJDUMP
15479
if test -n "$OBJDUMP"; then
15480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
15481
$as_echo "$OBJDUMP" >&6; }
15483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15484
$as_echo "no" >&6; }
15489
if test -z "$ac_cv_prog_OBJDUMP"; then
15490
ac_ct_OBJDUMP=$OBJDUMP
15491
# Extract the first word of "objdump", so it can be a program name with args.
15492
set dummy objdump; ac_word=$2
15493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15494
$as_echo_n "checking for $ac_word... " >&6; }
15495
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
15496
$as_echo_n "(cached) " >&6
15498
if test -n "$ac_ct_OBJDUMP"; then
15499
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
15501
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502
for as_dir in $PATH
15505
test -z "$as_dir" && as_dir=.
15506
for ac_exec_ext in '' $ac_executable_extensions; do
15507
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15508
ac_cv_prog_ac_ct_OBJDUMP="objdump"
15509
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15518
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
15519
if test -n "$ac_ct_OBJDUMP"; then
15520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
15521
$as_echo "$ac_ct_OBJDUMP" >&6; }
15523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15524
$as_echo "no" >&6; }
15527
if test "x$ac_ct_OBJDUMP" = x; then
15530
case $cross_compiling:$ac_tool_warned in
15532
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15533
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15534
ac_tool_warned=yes ;;
15536
OBJDUMP=$ac_ct_OBJDUMP
15539
OBJDUMP="$ac_cv_prog_OBJDUMP"
15545
test -z "$AS" && AS=as
15551
test -z "$DLLTOOL" && DLLTOOL=dlltool
15554
test -z "$OBJDUMP" && OBJDUMP=objdump
15323
# ==========================
15324
# Platform check for windows
15325
# ==========================
15326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
15327
$as_echo_n "checking for native Win32... " >&6; }
15330
native_win32=yes ;; #(
15334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $native_win32" >&5
15335
$as_echo "$native_win32" >&6; }
15336
if test "x$native_win32" = "xyes"; then
15560
15345
# TODO Check for docbook-to-man
15575
15360
build_man=yes
15576
15361
if test -z "$DOCBOOK2MAN"; then :
15578
# Extract the first word of "docbook-to-man", so it can be a program name with args.
15363
# Extract the first word of "docbook2x-man", so it can be a program name with args.
15364
set dummy docbook2x-man; ac_word=$2
15365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15366
$as_echo_n "checking for $ac_word... " >&6; }
15367
if ${ac_cv_path_DOCBOOK2MAN+:} false; then :
15368
$as_echo_n "(cached) " >&6
15370
case $DOCBOOK2MAN in
15372
ac_cv_path_DOCBOOK2MAN="$DOCBOOK2MAN" # Let the user override the test with a path.
15375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15376
for as_dir in $PATH
15379
test -z "$as_dir" && as_dir=.
15380
for ac_exec_ext in '' $ac_executable_extensions; do
15381
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15382
ac_cv_path_DOCBOOK2MAN="$as_dir/$ac_word$ac_exec_ext"
15383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15393
DOCBOOK2MAN=$ac_cv_path_DOCBOOK2MAN
15394
if test -n "$DOCBOOK2MAN"; then
15395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOCBOOK2MAN" >&5
15396
$as_echo "$DOCBOOK2MAN" >&6; }
15398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15399
$as_echo "no" >&6; }
15403
if test -z "$DOCBOOK2MAN"; then :
15405
# Extract the first word of "docbook-to-man", so it can be a program name with args.
15579
15406
set dummy docbook-to-man; ac_word=$2
15580
15407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15581
15408
$as_echo_n "checking for $ac_word... " >&6; }