configure revision a6844aab
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81# Support unset when possible. 82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84else 85 as_unset=false 86fi 87 88 89# IFS 90# We need space, tab and new line, in precisely that order. Quoting is 91# there to prevent editors from complaining about space-tab. 92# (If _AS_PATH_WALK were called with IFS unset, it would disable word 93# splitting by setting IFS to empty value.) 94IFS=" "" $as_nl" 95 96# Find who we are. Look in the path if we contain no directory separator. 97case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118fi 119 120# Work around bugs in pre-3.0 UWIN ksh. 121for as_var in ENV MAIL MAILPATH 122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# Required to use basename. 135if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138else 139 as_expr=false 140fi 141 142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144else 145 as_basename=false 146fi 147 148 149# Name of the executable. 150as_me=`$as_basename -- "$0" || 151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154$as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169# CDPATH. 170$as_unset CDPATH 171 172 173if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176else 177 as_have_required=no 178fi 179 180 if test $as_have_required = yes && (eval ": 181(as_func_return () { 182 (exit \$1) 183} 184as_func_success () { 185 as_func_return 0 186} 187as_func_failure () { 188 as_func_return 1 189} 190as_func_ret_success () { 191 return 0 192} 193as_func_ret_failure () { 194 return 1 195} 196 197exitcode=0 198if as_func_success; then 199 : 200else 201 exitcode=1 202 echo as_func_success failed. 203fi 204 205if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208fi 209 210if as_func_ret_success; then 211 : 212else 213 exitcode=1 214 echo as_func_ret_success failed. 215fi 216 217if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220fi 221 222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224else 225 exitcode=1 226 echo positional parameters were not saved. 227fi 228 229test \$exitcode = 0) || { (exit 1); exit 1; } 230 231( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236") 2> /dev/null; then 237 : 238else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251done 252IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269esac 270 271fi 272 273 274: 275_ASEOF 276}; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290esac 291 292fi 293 294 295: 296(as_func_return () { 297 (exit $1) 298} 299as_func_success () { 300 as_func_return 0 301} 302as_func_failure () { 303 as_func_return 1 304} 305as_func_ret_success () { 306 return 0 307} 308as_func_ret_failure () { 309 return 1 310} 311 312exitcode=0 313if as_func_success; then 314 : 315else 316 exitcode=1 317 echo as_func_success failed. 318fi 319 320if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323fi 324 325if as_func_ret_success; then 326 : 327else 328 exitcode=1 329 echo as_func_ret_success failed. 330fi 331 332if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335fi 336 337if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339else 340 exitcode=1 341 echo positional parameters were not saved. 342fi 343 344test $exitcode = 0) || { (exit 1); exit 1; } 345 346( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352_ASEOF 353}; then 354 break 355fi 356 357fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376fi 377 378 379fi 380 381fi 382 383 384 385(eval "as_func_return () { 386 (exit \$1) 387} 388as_func_success () { 389 as_func_return 0 390} 391as_func_failure () { 392 as_func_return 1 393} 394as_func_ret_success () { 395 return 0 396} 397as_func_ret_failure () { 398 return 1 399} 400 401exitcode=0 402if as_func_success; then 403 : 404else 405 exitcode=1 406 echo as_func_success failed. 407fi 408 409if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412fi 413 414if as_func_ret_success; then 415 : 416else 417 exitcode=1 418 echo as_func_ret_success failed. 419fi 420 421if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424fi 425 426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428else 429 exitcode=1 430 echo positional parameters were not saved. 431fi 432 433test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439} 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 458 sed -n ' 459 p 460 /[$]LINENO/= 461 ' <$as_myself | 462 sed ' 463 s/[$]LINENO.*/&-/ 464 t lineno 465 b 466 :lineno 467 N 468 :loop 469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 470 t loop 471 s/-\n.*// 472 ' >$as_me.lineno && 473 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 476 477 # Don't try to exec as it changes $[0], causing all sort of problems 478 # (the dirname of $[0] is not the place where we might find the 479 # original and so on. Autoconf is especially sensitive to this). 480 . "./$as_me.lineno" 481 # Exit status is that of the last command. 482 exit 483} 484 485 486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 487 as_dirname=dirname 488else 489 as_dirname=false 490fi 491 492ECHO_C= ECHO_N= ECHO_T= 493case `echo -n x` in 494-n*) 495 case `echo 'x\c'` in 496 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 498 esac;; 499*) 500 ECHO_N='-n';; 501esac 502if expr a : '\(a\)' >/dev/null 2>&1 && 503 test "X`expr 00001 : '.*\(...\)'`" = X001; then 504 as_expr=expr 505else 506 as_expr=false 507fi 508 509rm -f conf$$ conf$$.exe conf$$.file 510if test -d conf$$.dir; then 511 rm -f conf$$.dir/conf$$.file 512else 513 rm -f conf$$.dir 514 mkdir conf$$.dir 2>/dev/null 515fi 516if (echo >conf$$.file) 2>/dev/null; then 517 if ln -s conf$$.file conf$$ 2>/dev/null; then 518 as_ln_s='ln -s' 519 # ... but there are two gotchas: 520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 522 # In both cases, we have to default to `cp -p'. 523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 524 as_ln_s='cp -p' 525 elif ln conf$$.file conf$$ 2>/dev/null; then 526 as_ln_s=ln 527 else 528 as_ln_s='cp -p' 529 fi 530else 531 as_ln_s='cp -p' 532fi 533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 534rmdir conf$$.dir 2>/dev/null 535 536if mkdir -p . 2>/dev/null; then 537 as_mkdir_p=: 538else 539 test -d ./-p && rmdir ./-p 540 as_mkdir_p=false 541fi 542 543if test -x / >/dev/null 2>&1; then 544 as_test_x='test -x' 545else 546 if ls -dL / >/dev/null 2>&1; then 547 as_ls_L_option=L 548 else 549 as_ls_L_option= 550 fi 551 as_test_x=' 552 eval sh -c '\'' 553 if test -d "$1"; then 554 test -d "$1/."; 555 else 556 case $1 in 557 -*)set "./$1";; 558 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 560 ???[sx]*):;;*)false;;esac;fi 561 '\'' sh 562 ' 563fi 564as_executable_p=$as_test_x 565 566# Sed expression to map a string onto a valid CPP name. 567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 568 569# Sed expression to map a string onto a valid variable name. 570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 571 572 573 574 575# Check that we are running under the correct shell. 576SHELL=${CONFIG_SHELL-/bin/sh} 577 578case X$lt_ECHO in 579X*--fallback-echo) 580 # Remove one level of quotation (which was required for Make). 581 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 582 ;; 583esac 584 585ECHO=${lt_ECHO-echo} 586if test "X$1" = X--no-reexec; then 587 # Discard the --no-reexec flag, and continue. 588 shift 589elif test "X$1" = X--fallback-echo; then 590 # Avoid inline document here, it may be left over 591 : 592elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 593 # Yippee, $ECHO works! 594 : 595else 596 # Restart under the correct shell. 597 exec $SHELL "$0" --no-reexec ${1+"$@"} 598fi 599 600if test "X$1" = X--fallback-echo; then 601 # used as fallback echo 602 shift 603 cat <<_LT_EOF 604$* 605_LT_EOF 606 exit 0 607fi 608 609# The HP-UX ksh and POSIX shell print the target directory to stdout 610# if CDPATH is set. 611(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 612 613if test -z "$lt_ECHO"; then 614 if test "X${echo_test_string+set}" != Xset; then 615 # find a string as large as possible, as long as the shell can cope with it 616 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 618 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 620 then 621 break 622 fi 623 done 624 fi 625 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 629 : 630 else 631 # The Solaris, AIX, and Digital Unix default echo programs unquote 632 # backslashes. This makes it impossible to quote backslashes using 633 # echo "$something" | sed 's/\\/\\\\/g' 634 # 635 # So, first we look for a working echo in the user's PATH. 636 637 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 638 for dir in $PATH /usr/ucb; do 639 IFS="$lt_save_ifs" 640 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 642 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 643 test "X$echo_testing_string" = "X$echo_test_string"; then 644 ECHO="$dir/echo" 645 break 646 fi 647 done 648 IFS="$lt_save_ifs" 649 650 if test "X$ECHO" = Xecho; then 651 # We didn't find a better echo, so look for alternatives. 652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 653 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 654 test "X$echo_testing_string" = "X$echo_test_string"; then 655 # This shell has a builtin print -r that does the trick. 656 ECHO='print -r' 657 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 658 test "X$CONFIG_SHELL" != X/bin/ksh; then 659 # If we have ksh, try running configure again with it. 660 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 661 export ORIGINAL_CONFIG_SHELL 662 CONFIG_SHELL=/bin/ksh 663 export CONFIG_SHELL 664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 665 else 666 # Try using printf. 667 ECHO='printf %s\n' 668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 669 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 670 test "X$echo_testing_string" = "X$echo_test_string"; then 671 # Cool, printf works 672 : 673 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 674 test "X$echo_testing_string" = 'X\t' && 675 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 676 test "X$echo_testing_string" = "X$echo_test_string"; then 677 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 678 export CONFIG_SHELL 679 SHELL="$CONFIG_SHELL" 680 export SHELL 681 ECHO="$CONFIG_SHELL $0 --fallback-echo" 682 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 683 test "X$echo_testing_string" = 'X\t' && 684 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 685 test "X$echo_testing_string" = "X$echo_test_string"; then 686 ECHO="$CONFIG_SHELL $0 --fallback-echo" 687 else 688 # maybe with a smaller string... 689 prev=: 690 691 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 693 then 694 break 695 fi 696 prev="$cmd" 697 done 698 699 if test "$prev" != 'sed 50q "$0"'; then 700 echo_test_string=`eval $prev` 701 export echo_test_string 702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 703 else 704 # Oops. We lost completely, so just stick with echo. 705 ECHO=echo 706 fi 707 fi 708 fi 709 fi 710 fi 711fi 712 713# Copy echo and quote the copy suitably for passing to libtool from 714# the Makefile, instead of quoting the original, which is used later. 715lt_ECHO=$ECHO 716if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 717 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 718fi 719 720 721 722 723exec 7<&0 </dev/null 6>&1 724 725# Name of the host. 726# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 727# so uname gets run too. 728ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 729 730# 731# Initializations. 732# 733ac_default_prefix=/usr/local 734ac_clean_files= 735ac_config_libobj_dir=. 736LIBOBJS= 737cross_compiling=no 738subdirs= 739MFLAGS= 740MAKEFLAGS= 741SHELL=${CONFIG_SHELL-/bin/sh} 742 743# Identity of this package. 744PACKAGE_NAME= 745PACKAGE_TARNAME= 746PACKAGE_VERSION= 747PACKAGE_STRING= 748PACKAGE_BUGREPORT= 749 750ac_unique_file="fonts.dtd" 751# Factoring default headers for most tests. 752ac_includes_default="\ 753#include <stdio.h> 754#ifdef HAVE_SYS_TYPES_H 755# include <sys/types.h> 756#endif 757#ifdef HAVE_SYS_STAT_H 758# include <sys/stat.h> 759#endif 760#ifdef STDC_HEADERS 761# include <stdlib.h> 762# include <stddef.h> 763#else 764# ifdef HAVE_STDLIB_H 765# include <stdlib.h> 766# endif 767#endif 768#ifdef HAVE_STRING_H 769# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 770# include <memory.h> 771# endif 772# include <string.h> 773#endif 774#ifdef HAVE_STRINGS_H 775# include <strings.h> 776#endif 777#ifdef HAVE_INTTYPES_H 778# include <inttypes.h> 779#endif 780#ifdef HAVE_STDINT_H 781# include <stdint.h> 782#endif 783#ifdef HAVE_UNISTD_H 784# include <unistd.h> 785#endif" 786 787ac_subst_vars='am__EXEEXT_FALSE 788am__EXEEXT_TRUE 789LTLIBOBJS 790LIBOBJS 791DOCMAN3 792DOCSRC 793ENABLE_DOCS_FALSE 794ENABLE_DOCS_TRUE 795USEDOCBOOK_FALSE 796USEDOCBOOK_TRUE 797HASDOCBOOK 798CONFDIR 799confdir 800FC_FONTDATE 801FC_CACHEDIR 802fc_cachedir 803FC_FONTPATH 804FC_ADD_FONTS 805FC_DEFAULT_FONTS 806LIBXML2_LIBS 807LIBXML2_CFLAGS 808PKG_CONFIG 809EXPAT_LIBS 810EXPAT_CFLAGS 811HAVE_EXPAT 812HAVE_XMLPARSE_H 813FREETYPE_CFLAGS 814FREETYPE_LIBS 815ft_config 816ICONV_LIBS 817ARCHITECTURE 818EXEEXT_FOR_BUILD 819CC_FOR_BUILD 820CROSS_COMPILING_FALSE 821CROSS_COMPILING_TRUE 822WARN_CFLAGS 823MS_LIB_AVAILABLE_FALSE 824MS_LIB_AVAILABLE_TRUE 825ms_librarian 826OS_WIN32_FALSE 827OS_WIN32_TRUE 828LTCXXCOMPILE 829LTCOMPILE 830DOLT_BASH 831CPP 832OTOOL64 833OTOOL 834LIPO 835NMEDIT 836DSYMUTIL 837lt_ECHO 838RANLIB 839AR 840NM 841ac_ct_DUMPBIN 842DUMPBIN 843LD 844FGREP 845EGREP 846GREP 847SED 848LIBTOOL 849OBJDUMP 850DLLTOOL 851AS 852host_os 853host_vendor 854host_cpu 855host 856build_os 857build_vendor 858build_cpu 859build 860LN_S 861am__fastdepCC_FALSE 862am__fastdepCC_TRUE 863CCDEPMODE 864AMDEPBACKSLASH 865AMDEP_FALSE 866AMDEP_TRUE 867am__quote 868am__include 869DEPDIR 870OBJEXT 871EXEEXT 872ac_ct_CC 873CPPFLAGS 874LDFLAGS 875CFLAGS 876CC 877LIBT_CURRENT_MINUS_AGE 878LIBT_VERSION_INFO 879LIBT_REVISION 880LIBT_CURRENT 881MAINT 882MAINTAINER_MODE_FALSE 883MAINTAINER_MODE_TRUE 884AM_BACKSLASH 885AM_DEFAULT_VERBOSITY 886am__untar 887am__tar 888AMTAR 889am__leading_dot 890SET_MAKE 891AWK 892mkdir_p 893MKDIR_P 894INSTALL_STRIP_PROGRAM 895STRIP 896install_sh 897MAKEINFO 898AUTOHEADER 899AUTOMAKE 900AUTOCONF 901ACLOCAL 902VERSION 903PACKAGE 904CYGPATH_W 905am__isrc 906INSTALL_DATA 907INSTALL_SCRIPT 908INSTALL_PROGRAM 909target_alias 910host_alias 911build_alias 912LIBS 913ECHO_T 914ECHO_N 915ECHO_C 916DEFS 917mandir 918localedir 919libdir 920psdir 921pdfdir 922dvidir 923htmldir 924infodir 925docdir 926oldincludedir 927includedir 928localstatedir 929sharedstatedir 930sysconfdir 931datadir 932datarootdir 933libexecdir 934sbindir 935bindir 936program_transform_name 937prefix 938exec_prefix 939PACKAGE_BUGREPORT 940PACKAGE_STRING 941PACKAGE_VERSION 942PACKAGE_TARNAME 943PACKAGE_NAME 944PATH_SEPARATOR 945SHELL' 946ac_subst_files='' 947ac_user_opts=' 948enable_option_checking 949enable_silent_rules 950enable_maintainer_mode 951enable_dependency_tracking 952enable_shared 953enable_static 954with_pic 955enable_fast_install 956with_gnu_ld 957enable_libtool_lock 958with_arch 959with_freetype_config 960with_expat 961with_expat_includes 962with_expat_lib 963enable_libxml2 964with_default_fonts 965with_add_fonts 966with_cache_dir 967with_confdir 968enable_docs 969' 970 ac_precious_vars='build_alias 971host_alias 972target_alias 973CC 974CFLAGS 975LDFLAGS 976LIBS 977CPPFLAGS 978CPP 979PKG_CONFIG 980LIBXML2_CFLAGS 981LIBXML2_LIBS' 982 983 984# Initialize some variables set by options. 985ac_init_help= 986ac_init_version=false 987ac_unrecognized_opts= 988ac_unrecognized_sep= 989# The variables have the same names as the options, with 990# dashes changed to underlines. 991cache_file=/dev/null 992exec_prefix=NONE 993no_create= 994no_recursion= 995prefix=NONE 996program_prefix=NONE 997program_suffix=NONE 998program_transform_name=s,x,x, 999silent= 1000site= 1001srcdir= 1002verbose= 1003x_includes=NONE 1004x_libraries=NONE 1005 1006# Installation directory options. 1007# These are left unexpanded so users can "make install exec_prefix=/foo" 1008# and all the variables that are supposed to be based on exec_prefix 1009# by default will actually change. 1010# Use braces instead of parens because sh, perl, etc. also accept them. 1011# (The list follows the same order as the GNU Coding Standards.) 1012bindir='${exec_prefix}/bin' 1013sbindir='${exec_prefix}/sbin' 1014libexecdir='${exec_prefix}/libexec' 1015datarootdir='${prefix}/share' 1016datadir='${datarootdir}' 1017sysconfdir='${prefix}/etc' 1018sharedstatedir='${prefix}/com' 1019localstatedir='${prefix}/var' 1020includedir='${prefix}/include' 1021oldincludedir='/usr/include' 1022docdir='${datarootdir}/doc/${PACKAGE}' 1023infodir='${datarootdir}/info' 1024htmldir='${docdir}' 1025dvidir='${docdir}' 1026pdfdir='${docdir}' 1027psdir='${docdir}' 1028libdir='${exec_prefix}/lib' 1029localedir='${datarootdir}/locale' 1030mandir='${datarootdir}/man' 1031 1032ac_prev= 1033ac_dashdash= 1034for ac_option 1035do 1036 # If the previous option needs an argument, assign it. 1037 if test -n "$ac_prev"; then 1038 eval $ac_prev=\$ac_option 1039 ac_prev= 1040 continue 1041 fi 1042 1043 case $ac_option in 1044 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1045 *) ac_optarg=yes ;; 1046 esac 1047 1048 # Accept the important Cygnus configure options, so we can diagnose typos. 1049 1050 case $ac_dashdash$ac_option in 1051 --) 1052 ac_dashdash=yes ;; 1053 1054 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1055 ac_prev=bindir ;; 1056 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1057 bindir=$ac_optarg ;; 1058 1059 -build | --build | --buil | --bui | --bu) 1060 ac_prev=build_alias ;; 1061 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1062 build_alias=$ac_optarg ;; 1063 1064 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1065 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1066 ac_prev=cache_file ;; 1067 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1068 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1069 cache_file=$ac_optarg ;; 1070 1071 --config-cache | -C) 1072 cache_file=config.cache ;; 1073 1074 -datadir | --datadir | --datadi | --datad) 1075 ac_prev=datadir ;; 1076 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1077 datadir=$ac_optarg ;; 1078 1079 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1080 | --dataroo | --dataro | --datar) 1081 ac_prev=datarootdir ;; 1082 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1083 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1084 datarootdir=$ac_optarg ;; 1085 1086 -disable-* | --disable-*) 1087 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1088 # Reject names that are not valid shell variable names. 1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1090 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1091 { (exit 1); exit 1; }; } 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096"enable_$ac_useropt" 1097"*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval enable_$ac_useropt=no ;; 1102 1103 -docdir | --docdir | --docdi | --doc | --do) 1104 ac_prev=docdir ;; 1105 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1106 docdir=$ac_optarg ;; 1107 1108 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1109 ac_prev=dvidir ;; 1110 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1111 dvidir=$ac_optarg ;; 1112 1113 -enable-* | --enable-*) 1114 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1115 # Reject names that are not valid shell variable names. 1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1117 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1118 { (exit 1); exit 1; }; } 1119 ac_useropt_orig=$ac_useropt 1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1121 case $ac_user_opts in 1122 *" 1123"enable_$ac_useropt" 1124"*) ;; 1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1126 ac_unrecognized_sep=', ';; 1127 esac 1128 eval enable_$ac_useropt=\$ac_optarg ;; 1129 1130 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1131 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1132 | --exec | --exe | --ex) 1133 ac_prev=exec_prefix ;; 1134 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1135 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1136 | --exec=* | --exe=* | --ex=*) 1137 exec_prefix=$ac_optarg ;; 1138 1139 -gas | --gas | --ga | --g) 1140 # Obsolete; use --with-gas. 1141 with_gas=yes ;; 1142 1143 -help | --help | --hel | --he | -h) 1144 ac_init_help=long ;; 1145 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1146 ac_init_help=recursive ;; 1147 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1148 ac_init_help=short ;; 1149 1150 -host | --host | --hos | --ho) 1151 ac_prev=host_alias ;; 1152 -host=* | --host=* | --hos=* | --ho=*) 1153 host_alias=$ac_optarg ;; 1154 1155 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1156 ac_prev=htmldir ;; 1157 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1158 | --ht=*) 1159 htmldir=$ac_optarg ;; 1160 1161 -includedir | --includedir | --includedi | --included | --include \ 1162 | --includ | --inclu | --incl | --inc) 1163 ac_prev=includedir ;; 1164 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1165 | --includ=* | --inclu=* | --incl=* | --inc=*) 1166 includedir=$ac_optarg ;; 1167 1168 -infodir | --infodir | --infodi | --infod | --info | --inf) 1169 ac_prev=infodir ;; 1170 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1171 infodir=$ac_optarg ;; 1172 1173 -libdir | --libdir | --libdi | --libd) 1174 ac_prev=libdir ;; 1175 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1176 libdir=$ac_optarg ;; 1177 1178 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1179 | --libexe | --libex | --libe) 1180 ac_prev=libexecdir ;; 1181 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1182 | --libexe=* | --libex=* | --libe=*) 1183 libexecdir=$ac_optarg ;; 1184 1185 -localedir | --localedir | --localedi | --localed | --locale) 1186 ac_prev=localedir ;; 1187 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1188 localedir=$ac_optarg ;; 1189 1190 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1191 | --localstate | --localstat | --localsta | --localst | --locals) 1192 ac_prev=localstatedir ;; 1193 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1194 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1195 localstatedir=$ac_optarg ;; 1196 1197 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1198 ac_prev=mandir ;; 1199 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1200 mandir=$ac_optarg ;; 1201 1202 -nfp | --nfp | --nf) 1203 # Obsolete; use --without-fp. 1204 with_fp=no ;; 1205 1206 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1207 | --no-cr | --no-c | -n) 1208 no_create=yes ;; 1209 1210 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1211 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1212 no_recursion=yes ;; 1213 1214 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1215 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1216 | --oldin | --oldi | --old | --ol | --o) 1217 ac_prev=oldincludedir ;; 1218 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1219 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1220 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1221 oldincludedir=$ac_optarg ;; 1222 1223 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1224 ac_prev=prefix ;; 1225 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1226 prefix=$ac_optarg ;; 1227 1228 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1229 | --program-pre | --program-pr | --program-p) 1230 ac_prev=program_prefix ;; 1231 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1232 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1233 program_prefix=$ac_optarg ;; 1234 1235 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1236 | --program-suf | --program-su | --program-s) 1237 ac_prev=program_suffix ;; 1238 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1239 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1240 program_suffix=$ac_optarg ;; 1241 1242 -program-transform-name | --program-transform-name \ 1243 | --program-transform-nam | --program-transform-na \ 1244 | --program-transform-n | --program-transform- \ 1245 | --program-transform | --program-transfor \ 1246 | --program-transfo | --program-transf \ 1247 | --program-trans | --program-tran \ 1248 | --progr-tra | --program-tr | --program-t) 1249 ac_prev=program_transform_name ;; 1250 -program-transform-name=* | --program-transform-name=* \ 1251 | --program-transform-nam=* | --program-transform-na=* \ 1252 | --program-transform-n=* | --program-transform-=* \ 1253 | --program-transform=* | --program-transfor=* \ 1254 | --program-transfo=* | --program-transf=* \ 1255 | --program-trans=* | --program-tran=* \ 1256 | --progr-tra=* | --program-tr=* | --program-t=*) 1257 program_transform_name=$ac_optarg ;; 1258 1259 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1260 ac_prev=pdfdir ;; 1261 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1262 pdfdir=$ac_optarg ;; 1263 1264 -psdir | --psdir | --psdi | --psd | --ps) 1265 ac_prev=psdir ;; 1266 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1267 psdir=$ac_optarg ;; 1268 1269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1270 | -silent | --silent | --silen | --sile | --sil) 1271 silent=yes ;; 1272 1273 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1274 ac_prev=sbindir ;; 1275 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1276 | --sbi=* | --sb=*) 1277 sbindir=$ac_optarg ;; 1278 1279 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1280 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1281 | --sharedst | --shareds | --shared | --share | --shar \ 1282 | --sha | --sh) 1283 ac_prev=sharedstatedir ;; 1284 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1285 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1286 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1287 | --sha=* | --sh=*) 1288 sharedstatedir=$ac_optarg ;; 1289 1290 -site | --site | --sit) 1291 ac_prev=site ;; 1292 -site=* | --site=* | --sit=*) 1293 site=$ac_optarg ;; 1294 1295 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1296 ac_prev=srcdir ;; 1297 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1298 srcdir=$ac_optarg ;; 1299 1300 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1301 | --syscon | --sysco | --sysc | --sys | --sy) 1302 ac_prev=sysconfdir ;; 1303 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1304 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1305 sysconfdir=$ac_optarg ;; 1306 1307 -target | --target | --targe | --targ | --tar | --ta | --t) 1308 ac_prev=target_alias ;; 1309 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1310 target_alias=$ac_optarg ;; 1311 1312 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1313 verbose=yes ;; 1314 1315 -version | --version | --versio | --versi | --vers | -V) 1316 ac_init_version=: ;; 1317 1318 -with-* | --with-*) 1319 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1320 # Reject names that are not valid shell variable names. 1321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1322 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1323 { (exit 1); exit 1; }; } 1324 ac_useropt_orig=$ac_useropt 1325 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1326 case $ac_user_opts in 1327 *" 1328"with_$ac_useropt" 1329"*) ;; 1330 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1331 ac_unrecognized_sep=', ';; 1332 esac 1333 eval with_$ac_useropt=\$ac_optarg ;; 1334 1335 -without-* | --without-*) 1336 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1337 # Reject names that are not valid shell variable names. 1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1339 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1340 { (exit 1); exit 1; }; } 1341 ac_useropt_orig=$ac_useropt 1342 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1343 case $ac_user_opts in 1344 *" 1345"with_$ac_useropt" 1346"*) ;; 1347 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1348 ac_unrecognized_sep=', ';; 1349 esac 1350 eval with_$ac_useropt=no ;; 1351 1352 --x) 1353 # Obsolete; use --with-x. 1354 with_x=yes ;; 1355 1356 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1357 | --x-incl | --x-inc | --x-in | --x-i) 1358 ac_prev=x_includes ;; 1359 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1360 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1361 x_includes=$ac_optarg ;; 1362 1363 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1364 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1365 ac_prev=x_libraries ;; 1366 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1367 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1368 x_libraries=$ac_optarg ;; 1369 1370 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1371Try \`$0 --help' for more information." >&2 1372 { (exit 1); exit 1; }; } 1373 ;; 1374 1375 *=*) 1376 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1377 # Reject names that are not valid shell variable names. 1378 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1379 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1380 { (exit 1); exit 1; }; } 1381 eval $ac_envvar=\$ac_optarg 1382 export $ac_envvar ;; 1383 1384 *) 1385 # FIXME: should be removed in autoconf 3.0. 1386 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1387 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1388 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1389 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1390 ;; 1391 1392 esac 1393done 1394 1395if test -n "$ac_prev"; then 1396 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1397 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1398 { (exit 1); exit 1; }; } 1399fi 1400 1401if test -n "$ac_unrecognized_opts"; then 1402 case $enable_option_checking in 1403 no) ;; 1404 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1405 { (exit 1); exit 1; }; } ;; 1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1407 esac 1408fi 1409 1410# Check all directory arguments for consistency. 1411for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1412 datadir sysconfdir sharedstatedir localstatedir includedir \ 1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1414 libdir localedir mandir 1415do 1416 eval ac_val=\$$ac_var 1417 # Remove trailing slashes. 1418 case $ac_val in 1419 */ ) 1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1421 eval $ac_var=\$ac_val;; 1422 esac 1423 # Be sure to have absolute directory names. 1424 case $ac_val in 1425 [\\/$]* | ?:[\\/]* ) continue;; 1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1427 esac 1428 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1429 { (exit 1); exit 1; }; } 1430done 1431 1432# There might be people who depend on the old broken behavior: `$host' 1433# used to hold the argument of --host etc. 1434# FIXME: To remove some day. 1435build=$build_alias 1436host=$host_alias 1437target=$target_alias 1438 1439# FIXME: To remove some day. 1440if test "x$host_alias" != x; then 1441 if test "x$build_alias" = x; then 1442 cross_compiling=maybe 1443 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1444 If a cross compiler is detected then cross compile mode will be used." >&2 1445 elif test "x$build_alias" != "x$host_alias"; then 1446 cross_compiling=yes 1447 fi 1448fi 1449 1450ac_tool_prefix= 1451test -n "$host_alias" && ac_tool_prefix=$host_alias- 1452 1453test "$silent" = yes && exec 6>/dev/null 1454 1455 1456ac_pwd=`pwd` && test -n "$ac_pwd" && 1457ac_ls_di=`ls -di .` && 1458ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1459 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1460 { (exit 1); exit 1; }; } 1461test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1462 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1463 { (exit 1); exit 1; }; } 1464 1465 1466# Find the source files, if location was not specified. 1467if test -z "$srcdir"; then 1468 ac_srcdir_defaulted=yes 1469 # Try the directory containing this script, then the parent directory. 1470 ac_confdir=`$as_dirname -- "$as_myself" || 1471$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1472 X"$as_myself" : 'X\(//\)[^/]' \| \ 1473 X"$as_myself" : 'X\(//\)$' \| \ 1474 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1475$as_echo X"$as_myself" | 1476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1477 s//\1/ 1478 q 1479 } 1480 /^X\(\/\/\)[^/].*/{ 1481 s//\1/ 1482 q 1483 } 1484 /^X\(\/\/\)$/{ 1485 s//\1/ 1486 q 1487 } 1488 /^X\(\/\).*/{ 1489 s//\1/ 1490 q 1491 } 1492 s/.*/./; q'` 1493 srcdir=$ac_confdir 1494 if test ! -r "$srcdir/$ac_unique_file"; then 1495 srcdir=.. 1496 fi 1497else 1498 ac_srcdir_defaulted=no 1499fi 1500if test ! -r "$srcdir/$ac_unique_file"; then 1501 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1502 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1503 { (exit 1); exit 1; }; } 1504fi 1505ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1506ac_abs_confdir=`( 1507 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1508 { (exit 1); exit 1; }; } 1509 pwd)` 1510# When building in place, set srcdir=. 1511if test "$ac_abs_confdir" = "$ac_pwd"; then 1512 srcdir=. 1513fi 1514# Remove unnecessary trailing slashes from srcdir. 1515# Double slashes in file names in object file debugging info 1516# mess up M-x gdb in Emacs. 1517case $srcdir in 1518*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1519esac 1520for ac_var in $ac_precious_vars; do 1521 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1522 eval ac_env_${ac_var}_value=\$${ac_var} 1523 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1524 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1525done 1526 1527# 1528# Report the --help message. 1529# 1530if test "$ac_init_help" = "long"; then 1531 # Omit some internal or obsolete options to make the list less imposing. 1532 # This message is too long to be a string in the A/UX 3.1 sh. 1533 cat <<_ACEOF 1534\`configure' configures this package to adapt to many kinds of systems. 1535 1536Usage: $0 [OPTION]... [VAR=VALUE]... 1537 1538To assign environment variables (e.g., CC, CFLAGS...), specify them as 1539VAR=VALUE. See below for descriptions of some of the useful variables. 1540 1541Defaults for the options are specified in brackets. 1542 1543Configuration: 1544 -h, --help display this help and exit 1545 --help=short display options specific to this package 1546 --help=recursive display the short help of all the included packages 1547 -V, --version display version information and exit 1548 -q, --quiet, --silent do not print \`checking...' messages 1549 --cache-file=FILE cache test results in FILE [disabled] 1550 -C, --config-cache alias for \`--cache-file=config.cache' 1551 -n, --no-create do not create output files 1552 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1553 1554Installation directories: 1555 --prefix=PREFIX install architecture-independent files in PREFIX 1556 [$ac_default_prefix] 1557 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1558 [PREFIX] 1559 1560By default, \`make install' will install all the files in 1561\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1562an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1563for instance \`--prefix=\$HOME'. 1564 1565For better control, use the options below. 1566 1567Fine tuning of the installation directories: 1568 --bindir=DIR user executables [EPREFIX/bin] 1569 --sbindir=DIR system admin executables [EPREFIX/sbin] 1570 --libexecdir=DIR program executables [EPREFIX/libexec] 1571 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1572 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1573 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1574 --libdir=DIR object code libraries [EPREFIX/lib] 1575 --includedir=DIR C header files [PREFIX/include] 1576 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1577 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1578 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1579 --infodir=DIR info documentation [DATAROOTDIR/info] 1580 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1581 --mandir=DIR man documentation [DATAROOTDIR/man] 1582 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1583 --htmldir=DIR html documentation [DOCDIR] 1584 --dvidir=DIR dvi documentation [DOCDIR] 1585 --pdfdir=DIR pdf documentation [DOCDIR] 1586 --psdir=DIR ps documentation [DOCDIR] 1587_ACEOF 1588 1589 cat <<\_ACEOF 1590 1591Program names: 1592 --program-prefix=PREFIX prepend PREFIX to installed program names 1593 --program-suffix=SUFFIX append SUFFIX to installed program names 1594 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1595 1596System types: 1597 --build=BUILD configure for building on BUILD [guessed] 1598 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1599_ACEOF 1600fi 1601 1602if test -n "$ac_init_help"; then 1603 1604 cat <<\_ACEOF 1605 1606Optional Features: 1607 --disable-option-checking ignore unrecognized --enable/--with options 1608 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1609 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1610 --enable-silent-rules less verbose build output (undo: `make V=1') 1611 --disable-silent-rules verbose build output (undo: `make V=0') 1612 --enable-maintainer-mode enable make rules and dependencies not useful 1613 (and sometimes confusing) to the casual installer 1614 --disable-dependency-tracking speeds up one-time build 1615 --enable-dependency-tracking do not reject slow dependency extractors 1616 --enable-shared[=PKGS] build shared libraries [default=yes] 1617 --enable-static[=PKGS] build static libraries [default=yes] 1618 --enable-fast-install[=PKGS] 1619 optimize for fast installation [default=yes] 1620 --disable-libtool-lock avoid locking (might break parallel builds) 1621 --enable-libxml2 Use libxml2 instead of Expat 1622 --disable-docs Don't build and install documentation 1623 1624Optional Packages: 1625 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1626 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1627 --with-pic try to use only PIC/non-PIC objects [default=use 1628 both] 1629 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1630 --with-arch=ARCH Force architecture to ARCH 1631 --with-freetype-config=PROG Use FreeType configuration program PROG 1632 --with-expat=DIR Use Expat in DIR 1633 --with-expat-includes=DIR Use Expat includes in DIR 1634 --with-expat-lib=DIR Use Expat library in DIR 1635 --with-default-fonts=DIR Use fonts from DIR when config is busted 1636 --with-add-fonts=DIR1,DIR2,...Find additional fonts in DIR1,DIR2,... 1637 --with-cache-dir=DIR Use DIR to store cache files (default LOCALSTATEDIR/cache/fontconfig) 1638 --with-confdir=DIR Use DIR to store configuration files (default SYSCONFDIR/fonts) 1639 1640Some influential environment variables: 1641 CC C compiler command 1642 CFLAGS C compiler flags 1643 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1644 nonstandard directory <lib dir> 1645 LIBS libraries to pass to the linker, e.g. -l<library> 1646 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1647 you have headers in a nonstandard directory <include dir> 1648 CPP C preprocessor 1649 PKG_CONFIG path to pkg-config utility 1650 LIBXML2_CFLAGS 1651 C compiler flags for LIBXML2, overriding pkg-config 1652 LIBXML2_LIBS 1653 linker flags for LIBXML2, overriding pkg-config 1654 1655Use these variables to override the choices made by `configure' or to help 1656it to find libraries and programs with nonstandard names/locations. 1657 1658_ACEOF 1659ac_status=$? 1660fi 1661 1662if test "$ac_init_help" = "recursive"; then 1663 # If there are subdirs, report their specific --help. 1664 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1665 test -d "$ac_dir" || 1666 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1667 continue 1668 ac_builddir=. 1669 1670case "$ac_dir" in 1671.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1672*) 1673 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1674 # A ".." for each directory in $ac_dir_suffix. 1675 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1676 case $ac_top_builddir_sub in 1677 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1678 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1679 esac ;; 1680esac 1681ac_abs_top_builddir=$ac_pwd 1682ac_abs_builddir=$ac_pwd$ac_dir_suffix 1683# for backward compatibility: 1684ac_top_builddir=$ac_top_build_prefix 1685 1686case $srcdir in 1687 .) # We are building in place. 1688 ac_srcdir=. 1689 ac_top_srcdir=$ac_top_builddir_sub 1690 ac_abs_top_srcdir=$ac_pwd ;; 1691 [\\/]* | ?:[\\/]* ) # Absolute name. 1692 ac_srcdir=$srcdir$ac_dir_suffix; 1693 ac_top_srcdir=$srcdir 1694 ac_abs_top_srcdir=$srcdir ;; 1695 *) # Relative name. 1696 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1697 ac_top_srcdir=$ac_top_build_prefix$srcdir 1698 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1699esac 1700ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1701 1702 cd "$ac_dir" || { ac_status=$?; continue; } 1703 # Check for guested configure. 1704 if test -f "$ac_srcdir/configure.gnu"; then 1705 echo && 1706 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1707 elif test -f "$ac_srcdir/configure"; then 1708 echo && 1709 $SHELL "$ac_srcdir/configure" --help=recursive 1710 else 1711 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1712 fi || ac_status=$? 1713 cd "$ac_pwd" || { ac_status=$?; break; } 1714 done 1715fi 1716 1717test -n "$ac_init_help" && exit $ac_status 1718if $ac_init_version; then 1719 cat <<\_ACEOF 1720configure 1721generated by GNU Autoconf 2.63 1722 1723Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 17242002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1725This configure script is free software; the Free Software Foundation 1726gives unlimited permission to copy, distribute and modify it. 1727_ACEOF 1728 exit 1729fi 1730cat >config.log <<_ACEOF 1731This file contains any messages produced by compilers while 1732running configure, to aid debugging if configure makes a mistake. 1733 1734It was created by $as_me, which was 1735generated by GNU Autoconf 2.63. Invocation command line was 1736 1737 $ $0 $@ 1738 1739_ACEOF 1740exec 5>>config.log 1741{ 1742cat <<_ASUNAME 1743## --------- ## 1744## Platform. ## 1745## --------- ## 1746 1747hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1748uname -m = `(uname -m) 2>/dev/null || echo unknown` 1749uname -r = `(uname -r) 2>/dev/null || echo unknown` 1750uname -s = `(uname -s) 2>/dev/null || echo unknown` 1751uname -v = `(uname -v) 2>/dev/null || echo unknown` 1752 1753/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1754/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1755 1756/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1757/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1758/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1759/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1760/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1761/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1762/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1763 1764_ASUNAME 1765 1766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1767for as_dir in $PATH 1768do 1769 IFS=$as_save_IFS 1770 test -z "$as_dir" && as_dir=. 1771 $as_echo "PATH: $as_dir" 1772done 1773IFS=$as_save_IFS 1774 1775} >&5 1776 1777cat >&5 <<_ACEOF 1778 1779 1780## ----------- ## 1781## Core tests. ## 1782## ----------- ## 1783 1784_ACEOF 1785 1786 1787# Keep a trace of the command line. 1788# Strip out --no-create and --no-recursion so they do not pile up. 1789# Strip out --silent because we don't want to record it for future runs. 1790# Also quote any args containing shell meta-characters. 1791# Make two passes to allow for proper duplicate-argument suppression. 1792ac_configure_args= 1793ac_configure_args0= 1794ac_configure_args1= 1795ac_must_keep_next=false 1796for ac_pass in 1 2 1797do 1798 for ac_arg 1799 do 1800 case $ac_arg in 1801 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1802 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1803 | -silent | --silent | --silen | --sile | --sil) 1804 continue ;; 1805 *\'*) 1806 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1807 esac 1808 case $ac_pass in 1809 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1810 2) 1811 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1812 if test $ac_must_keep_next = true; then 1813 ac_must_keep_next=false # Got value, back to normal. 1814 else 1815 case $ac_arg in 1816 *=* | --config-cache | -C | -disable-* | --disable-* \ 1817 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1818 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1819 | -with-* | --with-* | -without-* | --without-* | --x) 1820 case "$ac_configure_args0 " in 1821 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1822 esac 1823 ;; 1824 -* ) ac_must_keep_next=true ;; 1825 esac 1826 fi 1827 ac_configure_args="$ac_configure_args '$ac_arg'" 1828 ;; 1829 esac 1830 done 1831done 1832$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1833$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1834 1835# When interrupted or exit'd, cleanup temporary files, and complete 1836# config.log. We remove comments because anyway the quotes in there 1837# would cause problems or look ugly. 1838# WARNING: Use '\'' to represent an apostrophe within the trap. 1839# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1840trap 'exit_status=$? 1841 # Save into config.log some information that might help in debugging. 1842 { 1843 echo 1844 1845 cat <<\_ASBOX 1846## ---------------- ## 1847## Cache variables. ## 1848## ---------------- ## 1849_ASBOX 1850 echo 1851 # The following way of writing the cache mishandles newlines in values, 1852( 1853 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1854 eval ac_val=\$$ac_var 1855 case $ac_val in #( 1856 *${as_nl}*) 1857 case $ac_var in #( 1858 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1859$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1860 esac 1861 case $ac_var in #( 1862 _ | IFS | as_nl) ;; #( 1863 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1864 *) $as_unset $ac_var ;; 1865 esac ;; 1866 esac 1867 done 1868 (set) 2>&1 | 1869 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1870 *${as_nl}ac_space=\ *) 1871 sed -n \ 1872 "s/'\''/'\''\\\\'\'''\''/g; 1873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1874 ;; #( 1875 *) 1876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1877 ;; 1878 esac | 1879 sort 1880) 1881 echo 1882 1883 cat <<\_ASBOX 1884## ----------------- ## 1885## Output variables. ## 1886## ----------------- ## 1887_ASBOX 1888 echo 1889 for ac_var in $ac_subst_vars 1890 do 1891 eval ac_val=\$$ac_var 1892 case $ac_val in 1893 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1894 esac 1895 $as_echo "$ac_var='\''$ac_val'\''" 1896 done | sort 1897 echo 1898 1899 if test -n "$ac_subst_files"; then 1900 cat <<\_ASBOX 1901## ------------------- ## 1902## File substitutions. ## 1903## ------------------- ## 1904_ASBOX 1905 echo 1906 for ac_var in $ac_subst_files 1907 do 1908 eval ac_val=\$$ac_var 1909 case $ac_val in 1910 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1911 esac 1912 $as_echo "$ac_var='\''$ac_val'\''" 1913 done | sort 1914 echo 1915 fi 1916 1917 if test -s confdefs.h; then 1918 cat <<\_ASBOX 1919## ----------- ## 1920## confdefs.h. ## 1921## ----------- ## 1922_ASBOX 1923 echo 1924 cat confdefs.h 1925 echo 1926 fi 1927 test "$ac_signal" != 0 && 1928 $as_echo "$as_me: caught signal $ac_signal" 1929 $as_echo "$as_me: exit $exit_status" 1930 } >&5 1931 rm -f core *.core core.conftest.* && 1932 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1933 exit $exit_status 1934' 0 1935for ac_signal in 1 2 13 15; do 1936 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1937done 1938ac_signal=0 1939 1940# confdefs.h avoids OS command line length limits that DEFS can exceed. 1941rm -f -r conftest* confdefs.h 1942 1943# Predefined preprocessor variables. 1944 1945cat >>confdefs.h <<_ACEOF 1946#define PACKAGE_NAME "$PACKAGE_NAME" 1947_ACEOF 1948 1949 1950cat >>confdefs.h <<_ACEOF 1951#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1952_ACEOF 1953 1954 1955cat >>confdefs.h <<_ACEOF 1956#define PACKAGE_VERSION "$PACKAGE_VERSION" 1957_ACEOF 1958 1959 1960cat >>confdefs.h <<_ACEOF 1961#define PACKAGE_STRING "$PACKAGE_STRING" 1962_ACEOF 1963 1964 1965cat >>confdefs.h <<_ACEOF 1966#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1967_ACEOF 1968 1969 1970# Let the site file select an alternate cache file if it wants to. 1971# Prefer an explicitly selected file to automatically selected ones. 1972ac_site_file1=NONE 1973ac_site_file2=NONE 1974if test -n "$CONFIG_SITE"; then 1975 ac_site_file1=$CONFIG_SITE 1976elif test "x$prefix" != xNONE; then 1977 ac_site_file1=$prefix/share/config.site 1978 ac_site_file2=$prefix/etc/config.site 1979else 1980 ac_site_file1=$ac_default_prefix/share/config.site 1981 ac_site_file2=$ac_default_prefix/etc/config.site 1982fi 1983for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1984do 1985 test "x$ac_site_file" = xNONE && continue 1986 if test -r "$ac_site_file"; then 1987 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1988$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1989 sed 's/^/| /' "$ac_site_file" >&5 1990 . "$ac_site_file" 1991 fi 1992done 1993 1994if test -r "$cache_file"; then 1995 # Some versions of bash will fail to source /dev/null (special 1996 # files actually), so we avoid doing that. 1997 if test -f "$cache_file"; then 1998 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1999$as_echo "$as_me: loading cache $cache_file" >&6;} 2000 case $cache_file in 2001 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2002 *) . "./$cache_file";; 2003 esac 2004 fi 2005else 2006 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2007$as_echo "$as_me: creating cache $cache_file" >&6;} 2008 >$cache_file 2009fi 2010 2011# Check that the precious variables saved in the cache have kept the same 2012# value. 2013ac_cache_corrupted=false 2014for ac_var in $ac_precious_vars; do 2015 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2016 eval ac_new_set=\$ac_env_${ac_var}_set 2017 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2018 eval ac_new_val=\$ac_env_${ac_var}_value 2019 case $ac_old_set,$ac_new_set in 2020 set,) 2021 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2022$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2023 ac_cache_corrupted=: ;; 2024 ,set) 2025 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2026$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2027 ac_cache_corrupted=: ;; 2028 ,);; 2029 *) 2030 if test "x$ac_old_val" != "x$ac_new_val"; then 2031 # differences in whitespace do not lead to failure. 2032 ac_old_val_w=`echo x $ac_old_val` 2033 ac_new_val_w=`echo x $ac_new_val` 2034 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2035 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2036$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2037 ac_cache_corrupted=: 2038 else 2039 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2040$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2041 eval $ac_var=\$ac_old_val 2042 fi 2043 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2044$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2045 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2046$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2047 fi;; 2048 esac 2049 # Pass precious variables to config.status. 2050 if test "$ac_new_set" = set; then 2051 case $ac_new_val in 2052 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2053 *) ac_arg=$ac_var=$ac_new_val ;; 2054 esac 2055 case " $ac_configure_args " in 2056 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2057 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2058 esac 2059 fi 2060done 2061if $ac_cache_corrupted; then 2062 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2064 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2065$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2066 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2067$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2068 { (exit 1); exit 1; }; } 2069fi 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087ac_ext=c 2088ac_cpp='$CPP $CPPFLAGS' 2089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2091ac_compiler_gnu=$ac_cv_c_compiler_gnu 2092 2093 2094 2095 2096am__api_version='1.11' 2097 2098ac_aux_dir= 2099for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2100 if test -f "$ac_dir/install-sh"; then 2101 ac_aux_dir=$ac_dir 2102 ac_install_sh="$ac_aux_dir/install-sh -c" 2103 break 2104 elif test -f "$ac_dir/install.sh"; then 2105 ac_aux_dir=$ac_dir 2106 ac_install_sh="$ac_aux_dir/install.sh -c" 2107 break 2108 elif test -f "$ac_dir/shtool"; then 2109 ac_aux_dir=$ac_dir 2110 ac_install_sh="$ac_aux_dir/shtool install -c" 2111 break 2112 fi 2113done 2114if test -z "$ac_aux_dir"; then 2115 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2116$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2117 { (exit 1); exit 1; }; } 2118fi 2119 2120# These three variables are undocumented and unsupported, 2121# and are intended to be withdrawn in a future Autoconf release. 2122# They can cause serious problems if a builder's source tree is in a directory 2123# whose full name contains unusual characters. 2124ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2125ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2126ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2127 2128 2129# Find a good install program. We prefer a C program (faster), 2130# so one script is as good as another. But avoid the broken or 2131# incompatible versions: 2132# SysV /etc/install, /usr/sbin/install 2133# SunOS /usr/etc/install 2134# IRIX /sbin/install 2135# AIX /bin/install 2136# AmigaOS /C/install, which installs bootblocks on floppy discs 2137# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2138# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2139# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2140# OS/2's system install, which has a completely different semantic 2141# ./install, which can be erroneously created by make from ./install.sh. 2142# Reject install programs that cannot install multiple files. 2143{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2144$as_echo_n "checking for a BSD-compatible install... " >&6; } 2145if test -z "$INSTALL"; then 2146if test "${ac_cv_path_install+set}" = set; then 2147 $as_echo_n "(cached) " >&6 2148else 2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2150for as_dir in $PATH 2151do 2152 IFS=$as_save_IFS 2153 test -z "$as_dir" && as_dir=. 2154 # Account for people who put trailing slashes in PATH elements. 2155case $as_dir/ in 2156 ./ | .// | /cC/* | \ 2157 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2158 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2159 /usr/ucb/* ) ;; 2160 *) 2161 # OSF1 and SCO ODT 3.0 have their own names for install. 2162 # Don't use installbsd from OSF since it installs stuff as root 2163 # by default. 2164 for ac_prog in ginstall scoinst install; do 2165 for ac_exec_ext in '' $ac_executable_extensions; do 2166 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2167 if test $ac_prog = install && 2168 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2169 # AIX install. It has an incompatible calling convention. 2170 : 2171 elif test $ac_prog = install && 2172 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2173 # program-specific install script used by HP pwplus--don't use. 2174 : 2175 else 2176 rm -rf conftest.one conftest.two conftest.dir 2177 echo one > conftest.one 2178 echo two > conftest.two 2179 mkdir conftest.dir 2180 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2181 test -s conftest.one && test -s conftest.two && 2182 test -s conftest.dir/conftest.one && 2183 test -s conftest.dir/conftest.two 2184 then 2185 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2186 break 3 2187 fi 2188 fi 2189 fi 2190 done 2191 done 2192 ;; 2193esac 2194 2195done 2196IFS=$as_save_IFS 2197 2198rm -rf conftest.one conftest.two conftest.dir 2199 2200fi 2201 if test "${ac_cv_path_install+set}" = set; then 2202 INSTALL=$ac_cv_path_install 2203 else 2204 # As a last resort, use the slow shell script. Don't cache a 2205 # value for INSTALL within a source directory, because that will 2206 # break other packages using the cache if that directory is 2207 # removed, or if the value is a relative name. 2208 INSTALL=$ac_install_sh 2209 fi 2210fi 2211{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2212$as_echo "$INSTALL" >&6; } 2213 2214# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2215# It thinks the first close brace ends the variable substitution. 2216test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2217 2218test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2219 2220test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2221 2222{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2223$as_echo_n "checking whether build environment is sane... " >&6; } 2224# Just in case 2225sleep 1 2226echo timestamp > conftest.file 2227# Reject unsafe characters in $srcdir or the absolute working directory 2228# name. Accept space and tab only in the latter. 2229am_lf=' 2230' 2231case `pwd` in 2232 *[\\\"\#\$\&\'\`$am_lf]*) 2233 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2234$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2235 { (exit 1); exit 1; }; };; 2236esac 2237case $srcdir in 2238 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2239 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2240$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2241 { (exit 1); exit 1; }; };; 2242esac 2243 2244# Do `set' in a subshell so we don't clobber the current shell's 2245# arguments. Must try -L first in case configure is actually a 2246# symlink; some systems play weird games with the mod time of symlinks 2247# (eg FreeBSD returns the mod time of the symlink's containing 2248# directory). 2249if ( 2250 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2251 if test "$*" = "X"; then 2252 # -L didn't work. 2253 set X `ls -t "$srcdir/configure" conftest.file` 2254 fi 2255 rm -f conftest.file 2256 if test "$*" != "X $srcdir/configure conftest.file" \ 2257 && test "$*" != "X conftest.file $srcdir/configure"; then 2258 2259 # If neither matched, then we have a broken ls. This can happen 2260 # if, for instance, CONFIG_SHELL is bash and it inherits a 2261 # broken ls alias from the environment. This has actually 2262 # happened. Such a system could not be considered "sane". 2263 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2264alias in your environment" >&5 2265$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2266alias in your environment" >&2;} 2267 { (exit 1); exit 1; }; } 2268 fi 2269 2270 test "$2" = conftest.file 2271 ) 2272then 2273 # Ok. 2274 : 2275else 2276 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2277Check your system clock" >&5 2278$as_echo "$as_me: error: newly created file is older than distributed files! 2279Check your system clock" >&2;} 2280 { (exit 1); exit 1; }; } 2281fi 2282{ $as_echo "$as_me:$LINENO: result: yes" >&5 2283$as_echo "yes" >&6; } 2284test "$program_prefix" != NONE && 2285 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2286# Use a double $ so make ignores it. 2287test "$program_suffix" != NONE && 2288 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2289# Double any \ or $. 2290# By default was `s,x,x', remove it if useless. 2291ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2292program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2293 2294# expand $ac_aux_dir to an absolute path 2295am_aux_dir=`cd $ac_aux_dir && pwd` 2296 2297if test x"${MISSING+set}" != xset; then 2298 case $am_aux_dir in 2299 *\ * | *\ *) 2300 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2301 *) 2302 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2303 esac 2304fi 2305# Use eval to expand $SHELL 2306if eval "$MISSING --run true"; then 2307 am_missing_run="$MISSING --run " 2308else 2309 am_missing_run= 2310 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2311$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2312fi 2313 2314if test x"${install_sh}" != xset; then 2315 case $am_aux_dir in 2316 *\ * | *\ *) 2317 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2318 *) 2319 install_sh="\${SHELL} $am_aux_dir/install-sh" 2320 esac 2321fi 2322 2323# Installed binaries are usually stripped using `strip' when the user 2324# run `make install-strip'. However `strip' might not be the right 2325# tool to use in cross-compilation environments, therefore Automake 2326# will honor the `STRIP' environment variable to overrule this program. 2327if test "$cross_compiling" != no; then 2328 if test -n "$ac_tool_prefix"; then 2329 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2330set dummy ${ac_tool_prefix}strip; ac_word=$2 2331{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2332$as_echo_n "checking for $ac_word... " >&6; } 2333if test "${ac_cv_prog_STRIP+set}" = set; then 2334 $as_echo_n "(cached) " >&6 2335else 2336 if test -n "$STRIP"; then 2337 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2338else 2339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2340for as_dir in $PATH 2341do 2342 IFS=$as_save_IFS 2343 test -z "$as_dir" && as_dir=. 2344 for ac_exec_ext in '' $ac_executable_extensions; do 2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2346 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2347 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2348 break 2 2349 fi 2350done 2351done 2352IFS=$as_save_IFS 2353 2354fi 2355fi 2356STRIP=$ac_cv_prog_STRIP 2357if test -n "$STRIP"; then 2358 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2359$as_echo "$STRIP" >&6; } 2360else 2361 { $as_echo "$as_me:$LINENO: result: no" >&5 2362$as_echo "no" >&6; } 2363fi 2364 2365 2366fi 2367if test -z "$ac_cv_prog_STRIP"; then 2368 ac_ct_STRIP=$STRIP 2369 # Extract the first word of "strip", so it can be a program name with args. 2370set dummy strip; ac_word=$2 2371{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2372$as_echo_n "checking for $ac_word... " >&6; } 2373if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2374 $as_echo_n "(cached) " >&6 2375else 2376 if test -n "$ac_ct_STRIP"; then 2377 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2378else 2379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2380for as_dir in $PATH 2381do 2382 IFS=$as_save_IFS 2383 test -z "$as_dir" && as_dir=. 2384 for ac_exec_ext in '' $ac_executable_extensions; do 2385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2386 ac_cv_prog_ac_ct_STRIP="strip" 2387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2388 break 2 2389 fi 2390done 2391done 2392IFS=$as_save_IFS 2393 2394fi 2395fi 2396ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2397if test -n "$ac_ct_STRIP"; then 2398 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2399$as_echo "$ac_ct_STRIP" >&6; } 2400else 2401 { $as_echo "$as_me:$LINENO: result: no" >&5 2402$as_echo "no" >&6; } 2403fi 2404 2405 if test "x$ac_ct_STRIP" = x; then 2406 STRIP=":" 2407 else 2408 case $cross_compiling:$ac_tool_warned in 2409yes:) 2410{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2411$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2412ac_tool_warned=yes ;; 2413esac 2414 STRIP=$ac_ct_STRIP 2415 fi 2416else 2417 STRIP="$ac_cv_prog_STRIP" 2418fi 2419 2420fi 2421INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2422 2423{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2424$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2425if test -z "$MKDIR_P"; then 2426 if test "${ac_cv_path_mkdir+set}" = set; then 2427 $as_echo_n "(cached) " >&6 2428else 2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2430for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2431do 2432 IFS=$as_save_IFS 2433 test -z "$as_dir" && as_dir=. 2434 for ac_prog in mkdir gmkdir; do 2435 for ac_exec_ext in '' $ac_executable_extensions; do 2436 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2437 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2438 'mkdir (GNU coreutils) '* | \ 2439 'mkdir (coreutils) '* | \ 2440 'mkdir (fileutils) '4.1*) 2441 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2442 break 3;; 2443 esac 2444 done 2445 done 2446done 2447IFS=$as_save_IFS 2448 2449fi 2450 2451 if test "${ac_cv_path_mkdir+set}" = set; then 2452 MKDIR_P="$ac_cv_path_mkdir -p" 2453 else 2454 # As a last resort, use the slow shell script. Don't cache a 2455 # value for MKDIR_P within a source directory, because that will 2456 # break other packages using the cache if that directory is 2457 # removed, or if the value is a relative name. 2458 test -d ./--version && rmdir ./--version 2459 MKDIR_P="$ac_install_sh -d" 2460 fi 2461fi 2462{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2463$as_echo "$MKDIR_P" >&6; } 2464 2465mkdir_p="$MKDIR_P" 2466case $mkdir_p in 2467 [\\/$]* | ?:[\\/]*) ;; 2468 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2469esac 2470 2471for ac_prog in gawk mawk nawk awk 2472do 2473 # Extract the first word of "$ac_prog", so it can be a program name with args. 2474set dummy $ac_prog; ac_word=$2 2475{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2476$as_echo_n "checking for $ac_word... " >&6; } 2477if test "${ac_cv_prog_AWK+set}" = set; then 2478 $as_echo_n "(cached) " >&6 2479else 2480 if test -n "$AWK"; then 2481 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2482else 2483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2484for as_dir in $PATH 2485do 2486 IFS=$as_save_IFS 2487 test -z "$as_dir" && as_dir=. 2488 for ac_exec_ext in '' $ac_executable_extensions; do 2489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2490 ac_cv_prog_AWK="$ac_prog" 2491 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2492 break 2 2493 fi 2494done 2495done 2496IFS=$as_save_IFS 2497 2498fi 2499fi 2500AWK=$ac_cv_prog_AWK 2501if test -n "$AWK"; then 2502 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2503$as_echo "$AWK" >&6; } 2504else 2505 { $as_echo "$as_me:$LINENO: result: no" >&5 2506$as_echo "no" >&6; } 2507fi 2508 2509 2510 test -n "$AWK" && break 2511done 2512 2513{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2514$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2515set x ${MAKE-make} 2516ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2517if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2518 $as_echo_n "(cached) " >&6 2519else 2520 cat >conftest.make <<\_ACEOF 2521SHELL = /bin/sh 2522all: 2523 @echo '@@@%%%=$(MAKE)=@@@%%%' 2524_ACEOF 2525# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2526case `${MAKE-make} -f conftest.make 2>/dev/null` in 2527 *@@@%%%=?*=@@@%%%*) 2528 eval ac_cv_prog_make_${ac_make}_set=yes;; 2529 *) 2530 eval ac_cv_prog_make_${ac_make}_set=no;; 2531esac 2532rm -f conftest.make 2533fi 2534if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2535 { $as_echo "$as_me:$LINENO: result: yes" >&5 2536$as_echo "yes" >&6; } 2537 SET_MAKE= 2538else 2539 { $as_echo "$as_me:$LINENO: result: no" >&5 2540$as_echo "no" >&6; } 2541 SET_MAKE="MAKE=${MAKE-make}" 2542fi 2543 2544rm -rf .tst 2>/dev/null 2545mkdir .tst 2>/dev/null 2546if test -d .tst; then 2547 am__leading_dot=. 2548else 2549 am__leading_dot=_ 2550fi 2551rmdir .tst 2>/dev/null 2552 2553if test "`cd $srcdir && pwd`" != "`pwd`"; then 2554 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2555 # is not polluted with repeated "-I." 2556 am__isrc=' -I$(srcdir)' 2557 # test to see if srcdir already configured 2558 if test -f $srcdir/config.status; then 2559 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2560$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2561 { (exit 1); exit 1; }; } 2562 fi 2563fi 2564 2565# test whether we have cygpath 2566if test -z "$CYGPATH_W"; then 2567 if (cygpath --version) >/dev/null 2>/dev/null; then 2568 CYGPATH_W='cygpath -w' 2569 else 2570 CYGPATH_W=echo 2571 fi 2572fi 2573 2574 2575# Define the identity of the package. 2576 PACKAGE=fontconfig 2577 VERSION=2.8.0 2578 2579 2580cat >>confdefs.h <<_ACEOF 2581#define PACKAGE "$PACKAGE" 2582_ACEOF 2583 2584 2585cat >>confdefs.h <<_ACEOF 2586#define VERSION "$VERSION" 2587_ACEOF 2588 2589# Some tools Automake needs. 2590 2591ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2592 2593 2594AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2595 2596 2597AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2598 2599 2600AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2601 2602 2603MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2604 2605# We need awk for the "check" target. The system "awk" is bad on 2606# some platforms. 2607# Always define AMTAR for backward compatibility. 2608 2609AMTAR=${AMTAR-"${am_missing_run}tar"} 2610 2611am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2612 2613 2614 2615 2616 2617# Check whether --enable-silent-rules was given. 2618if test "${enable_silent_rules+set}" = set; then 2619 enableval=$enable_silent_rules; 2620fi 2621 2622case $enable_silent_rules in 2623yes) AM_DEFAULT_VERBOSITY=0;; 2624no) AM_DEFAULT_VERBOSITY=1;; 2625*) AM_DEFAULT_VERBOSITY=0;; 2626esac 2627AM_BACKSLASH='\' 2628 2629 2630{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2631$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2632 # Check whether --enable-maintainer-mode was given. 2633if test "${enable_maintainer_mode+set}" = set; then 2634 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2635else 2636 USE_MAINTAINER_MODE=no 2637fi 2638 2639 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2640$as_echo "$USE_MAINTAINER_MODE" >&6; } 2641 if test $USE_MAINTAINER_MODE = yes; then 2642 MAINTAINER_MODE_TRUE= 2643 MAINTAINER_MODE_FALSE='#' 2644else 2645 MAINTAINER_MODE_TRUE='#' 2646 MAINTAINER_MODE_FALSE= 2647fi 2648 2649 MAINT=$MAINTAINER_MODE_TRUE 2650 2651 2652 2653 2654LIBT_CURRENT=5 2655LIBT_REVISION=4 2656 2657 2658LIBT_AGE=4 2659 2660LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE" 2661 2662 2663LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE` 2664 2665 2666 2667ac_config_headers="$ac_config_headers config.h" 2668 2669 2670ac_ext=c 2671ac_cpp='$CPP $CPPFLAGS' 2672ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2673ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2674ac_compiler_gnu=$ac_cv_c_compiler_gnu 2675if test -n "$ac_tool_prefix"; then 2676 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2677set dummy ${ac_tool_prefix}gcc; ac_word=$2 2678{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2679$as_echo_n "checking for $ac_word... " >&6; } 2680if test "${ac_cv_prog_CC+set}" = set; then 2681 $as_echo_n "(cached) " >&6 2682else 2683 if test -n "$CC"; then 2684 ac_cv_prog_CC="$CC" # Let the user override the test. 2685else 2686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2687for as_dir in $PATH 2688do 2689 IFS=$as_save_IFS 2690 test -z "$as_dir" && as_dir=. 2691 for ac_exec_ext in '' $ac_executable_extensions; do 2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2693 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2695 break 2 2696 fi 2697done 2698done 2699IFS=$as_save_IFS 2700 2701fi 2702fi 2703CC=$ac_cv_prog_CC 2704if test -n "$CC"; then 2705 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2706$as_echo "$CC" >&6; } 2707else 2708 { $as_echo "$as_me:$LINENO: result: no" >&5 2709$as_echo "no" >&6; } 2710fi 2711 2712 2713fi 2714if test -z "$ac_cv_prog_CC"; then 2715 ac_ct_CC=$CC 2716 # Extract the first word of "gcc", so it can be a program name with args. 2717set dummy gcc; ac_word=$2 2718{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2719$as_echo_n "checking for $ac_word... " >&6; } 2720if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2721 $as_echo_n "(cached) " >&6 2722else 2723 if test -n "$ac_ct_CC"; then 2724 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2725else 2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2727for as_dir in $PATH 2728do 2729 IFS=$as_save_IFS 2730 test -z "$as_dir" && as_dir=. 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2733 ac_cv_prog_ac_ct_CC="gcc" 2734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 break 2 2736 fi 2737done 2738done 2739IFS=$as_save_IFS 2740 2741fi 2742fi 2743ac_ct_CC=$ac_cv_prog_ac_ct_CC 2744if test -n "$ac_ct_CC"; then 2745 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2746$as_echo "$ac_ct_CC" >&6; } 2747else 2748 { $as_echo "$as_me:$LINENO: result: no" >&5 2749$as_echo "no" >&6; } 2750fi 2751 2752 if test "x$ac_ct_CC" = x; then 2753 CC="" 2754 else 2755 case $cross_compiling:$ac_tool_warned in 2756yes:) 2757{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2758$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2759ac_tool_warned=yes ;; 2760esac 2761 CC=$ac_ct_CC 2762 fi 2763else 2764 CC="$ac_cv_prog_CC" 2765fi 2766 2767if test -z "$CC"; then 2768 if test -n "$ac_tool_prefix"; then 2769 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2770set dummy ${ac_tool_prefix}cc; ac_word=$2 2771{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2772$as_echo_n "checking for $ac_word... " >&6; } 2773if test "${ac_cv_prog_CC+set}" = set; then 2774 $as_echo_n "(cached) " >&6 2775else 2776 if test -n "$CC"; then 2777 ac_cv_prog_CC="$CC" # Let the user override the test. 2778else 2779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2780for as_dir in $PATH 2781do 2782 IFS=$as_save_IFS 2783 test -z "$as_dir" && as_dir=. 2784 for ac_exec_ext in '' $ac_executable_extensions; do 2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2786 ac_cv_prog_CC="${ac_tool_prefix}cc" 2787 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2788 break 2 2789 fi 2790done 2791done 2792IFS=$as_save_IFS 2793 2794fi 2795fi 2796CC=$ac_cv_prog_CC 2797if test -n "$CC"; then 2798 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2799$as_echo "$CC" >&6; } 2800else 2801 { $as_echo "$as_me:$LINENO: result: no" >&5 2802$as_echo "no" >&6; } 2803fi 2804 2805 2806 fi 2807fi 2808if test -z "$CC"; then 2809 # Extract the first word of "cc", so it can be a program name with args. 2810set dummy cc; ac_word=$2 2811{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2812$as_echo_n "checking for $ac_word... " >&6; } 2813if test "${ac_cv_prog_CC+set}" = set; then 2814 $as_echo_n "(cached) " >&6 2815else 2816 if test -n "$CC"; then 2817 ac_cv_prog_CC="$CC" # Let the user override the test. 2818else 2819 ac_prog_rejected=no 2820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2821for as_dir in $PATH 2822do 2823 IFS=$as_save_IFS 2824 test -z "$as_dir" && as_dir=. 2825 for ac_exec_ext in '' $ac_executable_extensions; do 2826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2828 ac_prog_rejected=yes 2829 continue 2830 fi 2831 ac_cv_prog_CC="cc" 2832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2833 break 2 2834 fi 2835done 2836done 2837IFS=$as_save_IFS 2838 2839if test $ac_prog_rejected = yes; then 2840 # We found a bogon in the path, so make sure we never use it. 2841 set dummy $ac_cv_prog_CC 2842 shift 2843 if test $# != 0; then 2844 # We chose a different compiler from the bogus one. 2845 # However, it has the same basename, so the bogon will be chosen 2846 # first if we set CC to just the basename; use the full file name. 2847 shift 2848 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2849 fi 2850fi 2851fi 2852fi 2853CC=$ac_cv_prog_CC 2854if test -n "$CC"; then 2855 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2856$as_echo "$CC" >&6; } 2857else 2858 { $as_echo "$as_me:$LINENO: result: no" >&5 2859$as_echo "no" >&6; } 2860fi 2861 2862 2863fi 2864if test -z "$CC"; then 2865 if test -n "$ac_tool_prefix"; then 2866 for ac_prog in cl.exe 2867 do 2868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2869set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2870{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2871$as_echo_n "checking for $ac_word... " >&6; } 2872if test "${ac_cv_prog_CC+set}" = set; then 2873 $as_echo_n "(cached) " >&6 2874else 2875 if test -n "$CC"; then 2876 ac_cv_prog_CC="$CC" # Let the user override the test. 2877else 2878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2879for as_dir in $PATH 2880do 2881 IFS=$as_save_IFS 2882 test -z "$as_dir" && as_dir=. 2883 for ac_exec_ext in '' $ac_executable_extensions; do 2884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2885 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2886 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2887 break 2 2888 fi 2889done 2890done 2891IFS=$as_save_IFS 2892 2893fi 2894fi 2895CC=$ac_cv_prog_CC 2896if test -n "$CC"; then 2897 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2898$as_echo "$CC" >&6; } 2899else 2900 { $as_echo "$as_me:$LINENO: result: no" >&5 2901$as_echo "no" >&6; } 2902fi 2903 2904 2905 test -n "$CC" && break 2906 done 2907fi 2908if test -z "$CC"; then 2909 ac_ct_CC=$CC 2910 for ac_prog in cl.exe 2911do 2912 # Extract the first word of "$ac_prog", so it can be a program name with args. 2913set dummy $ac_prog; ac_word=$2 2914{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2915$as_echo_n "checking for $ac_word... " >&6; } 2916if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2917 $as_echo_n "(cached) " >&6 2918else 2919 if test -n "$ac_ct_CC"; then 2920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2921else 2922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2923for as_dir in $PATH 2924do 2925 IFS=$as_save_IFS 2926 test -z "$as_dir" && as_dir=. 2927 for ac_exec_ext in '' $ac_executable_extensions; do 2928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2929 ac_cv_prog_ac_ct_CC="$ac_prog" 2930 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2931 break 2 2932 fi 2933done 2934done 2935IFS=$as_save_IFS 2936 2937fi 2938fi 2939ac_ct_CC=$ac_cv_prog_ac_ct_CC 2940if test -n "$ac_ct_CC"; then 2941 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2942$as_echo "$ac_ct_CC" >&6; } 2943else 2944 { $as_echo "$as_me:$LINENO: result: no" >&5 2945$as_echo "no" >&6; } 2946fi 2947 2948 2949 test -n "$ac_ct_CC" && break 2950done 2951 2952 if test "x$ac_ct_CC" = x; then 2953 CC="" 2954 else 2955 case $cross_compiling:$ac_tool_warned in 2956yes:) 2957{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2958$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2959ac_tool_warned=yes ;; 2960esac 2961 CC=$ac_ct_CC 2962 fi 2963fi 2964 2965fi 2966 2967 2968test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2970{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2971See \`config.log' for more details." >&5 2972$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2973See \`config.log' for more details." >&2;} 2974 { (exit 1); exit 1; }; }; } 2975 2976# Provide some information about the compiler. 2977$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2978set X $ac_compile 2979ac_compiler=$2 2980{ (ac_try="$ac_compiler --version >&5" 2981case "(($ac_try" in 2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2983 *) ac_try_echo=$ac_try;; 2984esac 2985eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2986$as_echo "$ac_try_echo") >&5 2987 (eval "$ac_compiler --version >&5") 2>&5 2988 ac_status=$? 2989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2990 (exit $ac_status); } 2991{ (ac_try="$ac_compiler -v >&5" 2992case "(($ac_try" in 2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2994 *) ac_try_echo=$ac_try;; 2995esac 2996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2997$as_echo "$ac_try_echo") >&5 2998 (eval "$ac_compiler -v >&5") 2>&5 2999 ac_status=$? 3000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3001 (exit $ac_status); } 3002{ (ac_try="$ac_compiler -V >&5" 3003case "(($ac_try" in 3004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3005 *) ac_try_echo=$ac_try;; 3006esac 3007eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3008$as_echo "$ac_try_echo") >&5 3009 (eval "$ac_compiler -V >&5") 2>&5 3010 ac_status=$? 3011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3012 (exit $ac_status); } 3013 3014cat >conftest.$ac_ext <<_ACEOF 3015/* confdefs.h. */ 3016_ACEOF 3017cat confdefs.h >>conftest.$ac_ext 3018cat >>conftest.$ac_ext <<_ACEOF 3019/* end confdefs.h. */ 3020 3021int 3022main () 3023{ 3024 3025 ; 3026 return 0; 3027} 3028_ACEOF 3029ac_clean_files_save=$ac_clean_files 3030ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3031# Try to create an executable without -o first, disregard a.out. 3032# It will help us diagnose broken compilers, and finding out an intuition 3033# of exeext. 3034{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3035$as_echo_n "checking for C compiler default output file name... " >&6; } 3036ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3037 3038# The possible output files: 3039ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3040 3041ac_rmfiles= 3042for ac_file in $ac_files 3043do 3044 case $ac_file in 3045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3046 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3047 esac 3048done 3049rm -f $ac_rmfiles 3050 3051if { (ac_try="$ac_link_default" 3052case "(($ac_try" in 3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *) ac_try_echo=$ac_try;; 3055esac 3056eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3057$as_echo "$ac_try_echo") >&5 3058 (eval "$ac_link_default") 2>&5 3059 ac_status=$? 3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 (exit $ac_status); }; then 3062 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3063# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3064# in a Makefile. We should not override ac_cv_exeext if it was cached, 3065# so that the user can short-circuit this test for compilers unknown to 3066# Autoconf. 3067for ac_file in $ac_files '' 3068do 3069 test -f "$ac_file" || continue 3070 case $ac_file in 3071 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3072 ;; 3073 [ab].out ) 3074 # We found the default executable, but exeext='' is most 3075 # certainly right. 3076 break;; 3077 *.* ) 3078 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3079 then :; else 3080 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3081 fi 3082 # We set ac_cv_exeext here because the later test for it is not 3083 # safe: cross compilers may not add the suffix if given an `-o' 3084 # argument, so we may need to know it at that point already. 3085 # Even if this section looks crufty: it has the advantage of 3086 # actually working. 3087 break;; 3088 * ) 3089 break;; 3090 esac 3091done 3092test "$ac_cv_exeext" = no && ac_cv_exeext= 3093 3094else 3095 ac_file='' 3096fi 3097 3098{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3099$as_echo "$ac_file" >&6; } 3100if test -z "$ac_file"; then 3101 $as_echo "$as_me: failed program was:" >&5 3102sed 's/^/| /' conftest.$ac_ext >&5 3103 3104{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3106{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3107See \`config.log' for more details." >&5 3108$as_echo "$as_me: error: C compiler cannot create executables 3109See \`config.log' for more details." >&2;} 3110 { (exit 77); exit 77; }; }; } 3111fi 3112 3113ac_exeext=$ac_cv_exeext 3114 3115# Check that the compiler produces executables we can run. If not, either 3116# the compiler is broken, or we cross compile. 3117{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3118$as_echo_n "checking whether the C compiler works... " >&6; } 3119# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3120# If not cross compiling, check that we can run a simple program. 3121if test "$cross_compiling" != yes; then 3122 if { ac_try='./$ac_file' 3123 { (case "(($ac_try" in 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3125 *) ac_try_echo=$ac_try;; 3126esac 3127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3128$as_echo "$ac_try_echo") >&5 3129 (eval "$ac_try") 2>&5 3130 ac_status=$? 3131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); }; }; then 3133 cross_compiling=no 3134 else 3135 if test "$cross_compiling" = maybe; then 3136 cross_compiling=yes 3137 else 3138 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3140{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3141If you meant to cross compile, use \`--host'. 3142See \`config.log' for more details." >&5 3143$as_echo "$as_me: error: cannot run C compiled programs. 3144If you meant to cross compile, use \`--host'. 3145See \`config.log' for more details." >&2;} 3146 { (exit 1); exit 1; }; }; } 3147 fi 3148 fi 3149fi 3150{ $as_echo "$as_me:$LINENO: result: yes" >&5 3151$as_echo "yes" >&6; } 3152 3153rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3154ac_clean_files=$ac_clean_files_save 3155# Check that the compiler produces executables we can run. If not, either 3156# the compiler is broken, or we cross compile. 3157{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3158$as_echo_n "checking whether we are cross compiling... " >&6; } 3159{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3160$as_echo "$cross_compiling" >&6; } 3161 3162{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3163$as_echo_n "checking for suffix of executables... " >&6; } 3164if { (ac_try="$ac_link" 3165case "(($ac_try" in 3166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3167 *) ac_try_echo=$ac_try;; 3168esac 3169eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3170$as_echo "$ac_try_echo") >&5 3171 (eval "$ac_link") 2>&5 3172 ac_status=$? 3173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); }; then 3175 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3176# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3177# work properly (i.e., refer to `conftest.exe'), while it won't with 3178# `rm'. 3179for ac_file in conftest.exe conftest conftest.*; do 3180 test -f "$ac_file" || continue 3181 case $ac_file in 3182 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3183 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3184 break;; 3185 * ) break;; 3186 esac 3187done 3188else 3189 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3191{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3192See \`config.log' for more details." >&5 3193$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3194See \`config.log' for more details." >&2;} 3195 { (exit 1); exit 1; }; }; } 3196fi 3197 3198rm -f conftest$ac_cv_exeext 3199{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3200$as_echo "$ac_cv_exeext" >&6; } 3201 3202rm -f conftest.$ac_ext 3203EXEEXT=$ac_cv_exeext 3204ac_exeext=$EXEEXT 3205{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3206$as_echo_n "checking for suffix of object files... " >&6; } 3207if test "${ac_cv_objext+set}" = set; then 3208 $as_echo_n "(cached) " >&6 3209else 3210 cat >conftest.$ac_ext <<_ACEOF 3211/* confdefs.h. */ 3212_ACEOF 3213cat confdefs.h >>conftest.$ac_ext 3214cat >>conftest.$ac_ext <<_ACEOF 3215/* end confdefs.h. */ 3216 3217int 3218main () 3219{ 3220 3221 ; 3222 return 0; 3223} 3224_ACEOF 3225rm -f conftest.o conftest.obj 3226if { (ac_try="$ac_compile" 3227case "(($ac_try" in 3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3229 *) ac_try_echo=$ac_try;; 3230esac 3231eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3232$as_echo "$ac_try_echo") >&5 3233 (eval "$ac_compile") 2>&5 3234 ac_status=$? 3235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3236 (exit $ac_status); }; then 3237 for ac_file in conftest.o conftest.obj conftest.*; do 3238 test -f "$ac_file" || continue; 3239 case $ac_file in 3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3242 break;; 3243 esac 3244done 3245else 3246 $as_echo "$as_me: failed program was:" >&5 3247sed 's/^/| /' conftest.$ac_ext >&5 3248 3249{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3251{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3252See \`config.log' for more details." >&5 3253$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3254See \`config.log' for more details." >&2;} 3255 { (exit 1); exit 1; }; }; } 3256fi 3257 3258rm -f conftest.$ac_cv_objext conftest.$ac_ext 3259fi 3260{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3261$as_echo "$ac_cv_objext" >&6; } 3262OBJEXT=$ac_cv_objext 3263ac_objext=$OBJEXT 3264{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3265$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3266if test "${ac_cv_c_compiler_gnu+set}" = set; then 3267 $as_echo_n "(cached) " >&6 3268else 3269 cat >conftest.$ac_ext <<_ACEOF 3270/* confdefs.h. */ 3271_ACEOF 3272cat confdefs.h >>conftest.$ac_ext 3273cat >>conftest.$ac_ext <<_ACEOF 3274/* end confdefs.h. */ 3275 3276int 3277main () 3278{ 3279#ifndef __GNUC__ 3280 choke me 3281#endif 3282 3283 ; 3284 return 0; 3285} 3286_ACEOF 3287rm -f conftest.$ac_objext 3288if { (ac_try="$ac_compile" 3289case "(($ac_try" in 3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3291 *) ac_try_echo=$ac_try;; 3292esac 3293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3294$as_echo "$ac_try_echo") >&5 3295 (eval "$ac_compile") 2>conftest.er1 3296 ac_status=$? 3297 grep -v '^ *+' conftest.er1 >conftest.err 3298 rm -f conftest.er1 3299 cat conftest.err >&5 3300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3301 (exit $ac_status); } && { 3302 test -z "$ac_c_werror_flag" || 3303 test ! -s conftest.err 3304 } && test -s conftest.$ac_objext; then 3305 ac_compiler_gnu=yes 3306else 3307 $as_echo "$as_me: failed program was:" >&5 3308sed 's/^/| /' conftest.$ac_ext >&5 3309 3310 ac_compiler_gnu=no 3311fi 3312 3313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3314ac_cv_c_compiler_gnu=$ac_compiler_gnu 3315 3316fi 3317{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3318$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3319if test $ac_compiler_gnu = yes; then 3320 GCC=yes 3321else 3322 GCC= 3323fi 3324ac_test_CFLAGS=${CFLAGS+set} 3325ac_save_CFLAGS=$CFLAGS 3326{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3327$as_echo_n "checking whether $CC accepts -g... " >&6; } 3328if test "${ac_cv_prog_cc_g+set}" = set; then 3329 $as_echo_n "(cached) " >&6 3330else 3331 ac_save_c_werror_flag=$ac_c_werror_flag 3332 ac_c_werror_flag=yes 3333 ac_cv_prog_cc_g=no 3334 CFLAGS="-g" 3335 cat >conftest.$ac_ext <<_ACEOF 3336/* confdefs.h. */ 3337_ACEOF 3338cat confdefs.h >>conftest.$ac_ext 3339cat >>conftest.$ac_ext <<_ACEOF 3340/* end confdefs.h. */ 3341 3342int 3343main () 3344{ 3345 3346 ; 3347 return 0; 3348} 3349_ACEOF 3350rm -f conftest.$ac_objext 3351if { (ac_try="$ac_compile" 3352case "(($ac_try" in 3353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3354 *) ac_try_echo=$ac_try;; 3355esac 3356eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3357$as_echo "$ac_try_echo") >&5 3358 (eval "$ac_compile") 2>conftest.er1 3359 ac_status=$? 3360 grep -v '^ *+' conftest.er1 >conftest.err 3361 rm -f conftest.er1 3362 cat conftest.err >&5 3363 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3364 (exit $ac_status); } && { 3365 test -z "$ac_c_werror_flag" || 3366 test ! -s conftest.err 3367 } && test -s conftest.$ac_objext; then 3368 ac_cv_prog_cc_g=yes 3369else 3370 $as_echo "$as_me: failed program was:" >&5 3371sed 's/^/| /' conftest.$ac_ext >&5 3372 3373 CFLAGS="" 3374 cat >conftest.$ac_ext <<_ACEOF 3375/* confdefs.h. */ 3376_ACEOF 3377cat confdefs.h >>conftest.$ac_ext 3378cat >>conftest.$ac_ext <<_ACEOF 3379/* end confdefs.h. */ 3380 3381int 3382main () 3383{ 3384 3385 ; 3386 return 0; 3387} 3388_ACEOF 3389rm -f conftest.$ac_objext 3390if { (ac_try="$ac_compile" 3391case "(($ac_try" in 3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3393 *) ac_try_echo=$ac_try;; 3394esac 3395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3396$as_echo "$ac_try_echo") >&5 3397 (eval "$ac_compile") 2>conftest.er1 3398 ac_status=$? 3399 grep -v '^ *+' conftest.er1 >conftest.err 3400 rm -f conftest.er1 3401 cat conftest.err >&5 3402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3403 (exit $ac_status); } && { 3404 test -z "$ac_c_werror_flag" || 3405 test ! -s conftest.err 3406 } && test -s conftest.$ac_objext; then 3407 : 3408else 3409 $as_echo "$as_me: failed program was:" >&5 3410sed 's/^/| /' conftest.$ac_ext >&5 3411 3412 ac_c_werror_flag=$ac_save_c_werror_flag 3413 CFLAGS="-g" 3414 cat >conftest.$ac_ext <<_ACEOF 3415/* confdefs.h. */ 3416_ACEOF 3417cat confdefs.h >>conftest.$ac_ext 3418cat >>conftest.$ac_ext <<_ACEOF 3419/* end confdefs.h. */ 3420 3421int 3422main () 3423{ 3424 3425 ; 3426 return 0; 3427} 3428_ACEOF 3429rm -f conftest.$ac_objext 3430if { (ac_try="$ac_compile" 3431case "(($ac_try" in 3432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3433 *) ac_try_echo=$ac_try;; 3434esac 3435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3436$as_echo "$ac_try_echo") >&5 3437 (eval "$ac_compile") 2>conftest.er1 3438 ac_status=$? 3439 grep -v '^ *+' conftest.er1 >conftest.err 3440 rm -f conftest.er1 3441 cat conftest.err >&5 3442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3443 (exit $ac_status); } && { 3444 test -z "$ac_c_werror_flag" || 3445 test ! -s conftest.err 3446 } && test -s conftest.$ac_objext; then 3447 ac_cv_prog_cc_g=yes 3448else 3449 $as_echo "$as_me: failed program was:" >&5 3450sed 's/^/| /' conftest.$ac_ext >&5 3451 3452 3453fi 3454 3455rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3456fi 3457 3458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3459fi 3460 3461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3462 ac_c_werror_flag=$ac_save_c_werror_flag 3463fi 3464{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3465$as_echo "$ac_cv_prog_cc_g" >&6; } 3466if test "$ac_test_CFLAGS" = set; then 3467 CFLAGS=$ac_save_CFLAGS 3468elif test $ac_cv_prog_cc_g = yes; then 3469 if test "$GCC" = yes; then 3470 CFLAGS="-g -O2" 3471 else 3472 CFLAGS="-g" 3473 fi 3474else 3475 if test "$GCC" = yes; then 3476 CFLAGS="-O2" 3477 else 3478 CFLAGS= 3479 fi 3480fi 3481{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3482$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3483if test "${ac_cv_prog_cc_c89+set}" = set; then 3484 $as_echo_n "(cached) " >&6 3485else 3486 ac_cv_prog_cc_c89=no 3487ac_save_CC=$CC 3488cat >conftest.$ac_ext <<_ACEOF 3489/* confdefs.h. */ 3490_ACEOF 3491cat confdefs.h >>conftest.$ac_ext 3492cat >>conftest.$ac_ext <<_ACEOF 3493/* end confdefs.h. */ 3494#include <stdarg.h> 3495#include <stdio.h> 3496#include <sys/types.h> 3497#include <sys/stat.h> 3498/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3499struct buf { int x; }; 3500FILE * (*rcsopen) (struct buf *, struct stat *, int); 3501static char *e (p, i) 3502 char **p; 3503 int i; 3504{ 3505 return p[i]; 3506} 3507static char *f (char * (*g) (char **, int), char **p, ...) 3508{ 3509 char *s; 3510 va_list v; 3511 va_start (v,p); 3512 s = g (p, va_arg (v,int)); 3513 va_end (v); 3514 return s; 3515} 3516 3517/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3518 function prototypes and stuff, but not '\xHH' hex character constants. 3519 These don't provoke an error unfortunately, instead are silently treated 3520 as 'x'. The following induces an error, until -std is added to get 3521 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3522 array size at least. It's necessary to write '\x00'==0 to get something 3523 that's true only with -std. */ 3524int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3525 3526/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3527 inside strings and character constants. */ 3528#define FOO(x) 'x' 3529int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3530 3531int test (int i, double x); 3532struct s1 {int (*f) (int a);}; 3533struct s2 {int (*f) (double a);}; 3534int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3535int argc; 3536char **argv; 3537int 3538main () 3539{ 3540return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3541 ; 3542 return 0; 3543} 3544_ACEOF 3545for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3546 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3547do 3548 CC="$ac_save_CC $ac_arg" 3549 rm -f conftest.$ac_objext 3550if { (ac_try="$ac_compile" 3551case "(($ac_try" in 3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3553 *) ac_try_echo=$ac_try;; 3554esac 3555eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3556$as_echo "$ac_try_echo") >&5 3557 (eval "$ac_compile") 2>conftest.er1 3558 ac_status=$? 3559 grep -v '^ *+' conftest.er1 >conftest.err 3560 rm -f conftest.er1 3561 cat conftest.err >&5 3562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3563 (exit $ac_status); } && { 3564 test -z "$ac_c_werror_flag" || 3565 test ! -s conftest.err 3566 } && test -s conftest.$ac_objext; then 3567 ac_cv_prog_cc_c89=$ac_arg 3568else 3569 $as_echo "$as_me: failed program was:" >&5 3570sed 's/^/| /' conftest.$ac_ext >&5 3571 3572 3573fi 3574 3575rm -f core conftest.err conftest.$ac_objext 3576 test "x$ac_cv_prog_cc_c89" != "xno" && break 3577done 3578rm -f conftest.$ac_ext 3579CC=$ac_save_CC 3580 3581fi 3582# AC_CACHE_VAL 3583case "x$ac_cv_prog_cc_c89" in 3584 x) 3585 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3586$as_echo "none needed" >&6; } ;; 3587 xno) 3588 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3589$as_echo "unsupported" >&6; } ;; 3590 *) 3591 CC="$CC $ac_cv_prog_cc_c89" 3592 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3593$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3594esac 3595 3596 3597ac_ext=c 3598ac_cpp='$CPP $CPPFLAGS' 3599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3601ac_compiler_gnu=$ac_cv_c_compiler_gnu 3602DEPDIR="${am__leading_dot}deps" 3603 3604ac_config_commands="$ac_config_commands depfiles" 3605 3606 3607am_make=${MAKE-make} 3608cat > confinc << 'END' 3609am__doit: 3610 @echo this is the am__doit target 3611.PHONY: am__doit 3612END 3613# If we don't find an include directive, just comment out the code. 3614{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3615$as_echo_n "checking for style of include used by $am_make... " >&6; } 3616am__include="#" 3617am__quote= 3618_am_result=none 3619# First try GNU make style include. 3620echo "include confinc" > confmf 3621# Ignore all kinds of additional output from `make'. 3622case `$am_make -s -f confmf 2> /dev/null` in #( 3623*the\ am__doit\ target*) 3624 am__include=include 3625 am__quote= 3626 _am_result=GNU 3627 ;; 3628esac 3629# Now try BSD make style include. 3630if test "$am__include" = "#"; then 3631 echo '.include "confinc"' > confmf 3632 case `$am_make -s -f confmf 2> /dev/null` in #( 3633 *the\ am__doit\ target*) 3634 am__include=.include 3635 am__quote="\"" 3636 _am_result=BSD 3637 ;; 3638 esac 3639fi 3640 3641 3642{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3643$as_echo "$_am_result" >&6; } 3644rm -f confinc confmf 3645 3646# Check whether --enable-dependency-tracking was given. 3647if test "${enable_dependency_tracking+set}" = set; then 3648 enableval=$enable_dependency_tracking; 3649fi 3650 3651if test "x$enable_dependency_tracking" != xno; then 3652 am_depcomp="$ac_aux_dir/depcomp" 3653 AMDEPBACKSLASH='\' 3654fi 3655 if test "x$enable_dependency_tracking" != xno; then 3656 AMDEP_TRUE= 3657 AMDEP_FALSE='#' 3658else 3659 AMDEP_TRUE='#' 3660 AMDEP_FALSE= 3661fi 3662 3663 3664 3665depcc="$CC" am_compiler_list= 3666 3667{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3668$as_echo_n "checking dependency style of $depcc... " >&6; } 3669if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3670 $as_echo_n "(cached) " >&6 3671else 3672 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3673 # We make a subdir and do the tests there. Otherwise we can end up 3674 # making bogus files that we don't know about and never remove. For 3675 # instance it was reported that on HP-UX the gcc test will end up 3676 # making a dummy file named `D' -- because `-MD' means `put the output 3677 # in D'. 3678 mkdir conftest.dir 3679 # Copy depcomp to subdir because otherwise we won't find it if we're 3680 # using a relative directory. 3681 cp "$am_depcomp" conftest.dir 3682 cd conftest.dir 3683 # We will build objects and dependencies in a subdirectory because 3684 # it helps to detect inapplicable dependency modes. For instance 3685 # both Tru64's cc and ICC support -MD to output dependencies as a 3686 # side effect of compilation, but ICC will put the dependencies in 3687 # the current directory while Tru64 will put them in the object 3688 # directory. 3689 mkdir sub 3690 3691 am_cv_CC_dependencies_compiler_type=none 3692 if test "$am_compiler_list" = ""; then 3693 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3694 fi 3695 am__universal=false 3696 case " $depcc " in #( 3697 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3698 esac 3699 3700 for depmode in $am_compiler_list; do 3701 # Setup a source with many dependencies, because some compilers 3702 # like to wrap large dependency lists on column 80 (with \), and 3703 # we should not choose a depcomp mode which is confused by this. 3704 # 3705 # We need to recreate these files for each test, as the compiler may 3706 # overwrite some of them when testing with obscure command lines. 3707 # This happens at least with the AIX C compiler. 3708 : > sub/conftest.c 3709 for i in 1 2 3 4 5 6; do 3710 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3711 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3712 # Solaris 8's {/usr,}/bin/sh. 3713 touch sub/conftst$i.h 3714 done 3715 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3716 3717 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3718 # mode. It turns out that the SunPro C++ compiler does not properly 3719 # handle `-M -o', and we need to detect this. Also, some Intel 3720 # versions had trouble with output in subdirs 3721 am__obj=sub/conftest.${OBJEXT-o} 3722 am__minus_obj="-o $am__obj" 3723 case $depmode in 3724 gcc) 3725 # This depmode causes a compiler race in universal mode. 3726 test "$am__universal" = false || continue 3727 ;; 3728 nosideeffect) 3729 # after this tag, mechanisms are not by side-effect, so they'll 3730 # only be used when explicitly requested 3731 if test "x$enable_dependency_tracking" = xyes; then 3732 continue 3733 else 3734 break 3735 fi 3736 ;; 3737 msvisualcpp | msvcmsys) 3738 # This compiler won't grok `-c -o', but also, the minuso test has 3739 # not run yet. These depmodes are late enough in the game, and 3740 # so weak that their functioning should not be impacted. 3741 am__obj=conftest.${OBJEXT-o} 3742 am__minus_obj= 3743 ;; 3744 none) break ;; 3745 esac 3746 if depmode=$depmode \ 3747 source=sub/conftest.c object=$am__obj \ 3748 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3749 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3750 >/dev/null 2>conftest.err && 3751 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3752 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3753 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3754 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3755 # icc doesn't choke on unknown options, it will just issue warnings 3756 # or remarks (even with -Werror). So we grep stderr for any message 3757 # that says an option was ignored or not supported. 3758 # When given -MP, icc 7.0 and 7.1 complain thusly: 3759 # icc: Command line warning: ignoring option '-M'; no argument required 3760 # The diagnosis changed in icc 8.0: 3761 # icc: Command line remark: option '-MP' not supported 3762 if (grep 'ignoring option' conftest.err || 3763 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3764 am_cv_CC_dependencies_compiler_type=$depmode 3765 break 3766 fi 3767 fi 3768 done 3769 3770 cd .. 3771 rm -rf conftest.dir 3772else 3773 am_cv_CC_dependencies_compiler_type=none 3774fi 3775 3776fi 3777{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3778$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3779CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3780 3781 if 3782 test "x$enable_dependency_tracking" != xno \ 3783 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3784 am__fastdepCC_TRUE= 3785 am__fastdepCC_FALSE='#' 3786else 3787 am__fastdepCC_TRUE='#' 3788 am__fastdepCC_FALSE= 3789fi 3790 3791 3792# Find a good install program. We prefer a C program (faster), 3793# so one script is as good as another. But avoid the broken or 3794# incompatible versions: 3795# SysV /etc/install, /usr/sbin/install 3796# SunOS /usr/etc/install 3797# IRIX /sbin/install 3798# AIX /bin/install 3799# AmigaOS /C/install, which installs bootblocks on floppy discs 3800# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3801# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3802# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3803# OS/2's system install, which has a completely different semantic 3804# ./install, which can be erroneously created by make from ./install.sh. 3805# Reject install programs that cannot install multiple files. 3806{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3807$as_echo_n "checking for a BSD-compatible install... " >&6; } 3808if test -z "$INSTALL"; then 3809if test "${ac_cv_path_install+set}" = set; then 3810 $as_echo_n "(cached) " >&6 3811else 3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3813for as_dir in $PATH 3814do 3815 IFS=$as_save_IFS 3816 test -z "$as_dir" && as_dir=. 3817 # Account for people who put trailing slashes in PATH elements. 3818case $as_dir/ in 3819 ./ | .// | /cC/* | \ 3820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3821 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3822 /usr/ucb/* ) ;; 3823 *) 3824 # OSF1 and SCO ODT 3.0 have their own names for install. 3825 # Don't use installbsd from OSF since it installs stuff as root 3826 # by default. 3827 for ac_prog in ginstall scoinst install; do 3828 for ac_exec_ext in '' $ac_executable_extensions; do 3829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3830 if test $ac_prog = install && 3831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3832 # AIX install. It has an incompatible calling convention. 3833 : 3834 elif test $ac_prog = install && 3835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3836 # program-specific install script used by HP pwplus--don't use. 3837 : 3838 else 3839 rm -rf conftest.one conftest.two conftest.dir 3840 echo one > conftest.one 3841 echo two > conftest.two 3842 mkdir conftest.dir 3843 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3844 test -s conftest.one && test -s conftest.two && 3845 test -s conftest.dir/conftest.one && 3846 test -s conftest.dir/conftest.two 3847 then 3848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3849 break 3 3850 fi 3851 fi 3852 fi 3853 done 3854 done 3855 ;; 3856esac 3857 3858done 3859IFS=$as_save_IFS 3860 3861rm -rf conftest.one conftest.two conftest.dir 3862 3863fi 3864 if test "${ac_cv_path_install+set}" = set; then 3865 INSTALL=$ac_cv_path_install 3866 else 3867 # As a last resort, use the slow shell script. Don't cache a 3868 # value for INSTALL within a source directory, because that will 3869 # break other packages using the cache if that directory is 3870 # removed, or if the value is a relative name. 3871 INSTALL=$ac_install_sh 3872 fi 3873fi 3874{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 3875$as_echo "$INSTALL" >&6; } 3876 3877# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3878# It thinks the first close brace ends the variable substitution. 3879test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3880 3881test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3882 3883test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3884 3885{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 3886$as_echo_n "checking whether ln -s works... " >&6; } 3887LN_S=$as_ln_s 3888if test "$LN_S" = "ln -s"; then 3889 { $as_echo "$as_me:$LINENO: result: yes" >&5 3890$as_echo "yes" >&6; } 3891else 3892 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3893$as_echo "no, using $LN_S" >&6; } 3894fi 3895 3896# Make sure we can run config.sub. 3897$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3898 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3899$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3900 { (exit 1); exit 1; }; } 3901 3902{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3903$as_echo_n "checking build system type... " >&6; } 3904if test "${ac_cv_build+set}" = set; then 3905 $as_echo_n "(cached) " >&6 3906else 3907 ac_build_alias=$build_alias 3908test "x$ac_build_alias" = x && 3909 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3910test "x$ac_build_alias" = x && 3911 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3912$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3913 { (exit 1); exit 1; }; } 3914ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3915 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3916$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3917 { (exit 1); exit 1; }; } 3918 3919fi 3920{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3921$as_echo "$ac_cv_build" >&6; } 3922case $ac_cv_build in 3923*-*-*) ;; 3924*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3925$as_echo "$as_me: error: invalid value of canonical build" >&2;} 3926 { (exit 1); exit 1; }; };; 3927esac 3928build=$ac_cv_build 3929ac_save_IFS=$IFS; IFS='-' 3930set x $ac_cv_build 3931shift 3932build_cpu=$1 3933build_vendor=$2 3934shift; shift 3935# Remember, the first character of IFS is used to create $*, 3936# except with old shells: 3937build_os=$* 3938IFS=$ac_save_IFS 3939case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3940 3941 3942{ $as_echo "$as_me:$LINENO: checking host system type" >&5 3943$as_echo_n "checking host system type... " >&6; } 3944if test "${ac_cv_host+set}" = set; then 3945 $as_echo_n "(cached) " >&6 3946else 3947 if test "x$host_alias" = x; then 3948 ac_cv_host=$ac_cv_build 3949else 3950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3951 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3952$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3953 { (exit 1); exit 1; }; } 3954fi 3955 3956fi 3957{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3958$as_echo "$ac_cv_host" >&6; } 3959case $ac_cv_host in 3960*-*-*) ;; 3961*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3962$as_echo "$as_me: error: invalid value of canonical host" >&2;} 3963 { (exit 1); exit 1; }; };; 3964esac 3965host=$ac_cv_host 3966ac_save_IFS=$IFS; IFS='-' 3967set x $ac_cv_host 3968shift 3969host_cpu=$1 3970host_vendor=$2 3971shift; shift 3972# Remember, the first character of IFS is used to create $*, 3973# except with old shells: 3974host_os=$* 3975IFS=$ac_save_IFS 3976case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3977 3978 3979enable_win32_dll=yes 3980 3981case $host in 3982*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 3983 if test -n "$ac_tool_prefix"; then 3984 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3985set dummy ${ac_tool_prefix}as; ac_word=$2 3986{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3987$as_echo_n "checking for $ac_word... " >&6; } 3988if test "${ac_cv_prog_AS+set}" = set; then 3989 $as_echo_n "(cached) " >&6 3990else 3991 if test -n "$AS"; then 3992 ac_cv_prog_AS="$AS" # Let the user override the test. 3993else 3994as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3995for as_dir in $PATH 3996do 3997 IFS=$as_save_IFS 3998 test -z "$as_dir" && as_dir=. 3999 for ac_exec_ext in '' $ac_executable_extensions; do 4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4001 ac_cv_prog_AS="${ac_tool_prefix}as" 4002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4003 break 2 4004 fi 4005done 4006done 4007IFS=$as_save_IFS 4008 4009fi 4010fi 4011AS=$ac_cv_prog_AS 4012if test -n "$AS"; then 4013 { $as_echo "$as_me:$LINENO: result: $AS" >&5 4014$as_echo "$AS" >&6; } 4015else 4016 { $as_echo "$as_me:$LINENO: result: no" >&5 4017$as_echo "no" >&6; } 4018fi 4019 4020 4021fi 4022if test -z "$ac_cv_prog_AS"; then 4023 ac_ct_AS=$AS 4024 # Extract the first word of "as", so it can be a program name with args. 4025set dummy as; ac_word=$2 4026{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4027$as_echo_n "checking for $ac_word... " >&6; } 4028if test "${ac_cv_prog_ac_ct_AS+set}" = set; then 4029 $as_echo_n "(cached) " >&6 4030else 4031 if test -n "$ac_ct_AS"; then 4032 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4033else 4034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4035for as_dir in $PATH 4036do 4037 IFS=$as_save_IFS 4038 test -z "$as_dir" && as_dir=. 4039 for ac_exec_ext in '' $ac_executable_extensions; do 4040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4041 ac_cv_prog_ac_ct_AS="as" 4042 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4043 break 2 4044 fi 4045done 4046done 4047IFS=$as_save_IFS 4048 4049fi 4050fi 4051ac_ct_AS=$ac_cv_prog_ac_ct_AS 4052if test -n "$ac_ct_AS"; then 4053 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 4054$as_echo "$ac_ct_AS" >&6; } 4055else 4056 { $as_echo "$as_me:$LINENO: result: no" >&5 4057$as_echo "no" >&6; } 4058fi 4059 4060 if test "x$ac_ct_AS" = x; then 4061 AS="false" 4062 else 4063 case $cross_compiling:$ac_tool_warned in 4064yes:) 4065{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4066$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4067ac_tool_warned=yes ;; 4068esac 4069 AS=$ac_ct_AS 4070 fi 4071else 4072 AS="$ac_cv_prog_AS" 4073fi 4074 4075 if test -n "$ac_tool_prefix"; then 4076 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4077set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4078{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4079$as_echo_n "checking for $ac_word... " >&6; } 4080if test "${ac_cv_prog_DLLTOOL+set}" = set; then 4081 $as_echo_n "(cached) " >&6 4082else 4083 if test -n "$DLLTOOL"; then 4084 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4085else 4086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4087for as_dir in $PATH 4088do 4089 IFS=$as_save_IFS 4090 test -z "$as_dir" && as_dir=. 4091 for ac_exec_ext in '' $ac_executable_extensions; do 4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4093 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4094 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4095 break 2 4096 fi 4097done 4098done 4099IFS=$as_save_IFS 4100 4101fi 4102fi 4103DLLTOOL=$ac_cv_prog_DLLTOOL 4104if test -n "$DLLTOOL"; then 4105 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 4106$as_echo "$DLLTOOL" >&6; } 4107else 4108 { $as_echo "$as_me:$LINENO: result: no" >&5 4109$as_echo "no" >&6; } 4110fi 4111 4112 4113fi 4114if test -z "$ac_cv_prog_DLLTOOL"; then 4115 ac_ct_DLLTOOL=$DLLTOOL 4116 # Extract the first word of "dlltool", so it can be a program name with args. 4117set dummy dlltool; ac_word=$2 4118{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4119$as_echo_n "checking for $ac_word... " >&6; } 4120if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 4121 $as_echo_n "(cached) " >&6 4122else 4123 if test -n "$ac_ct_DLLTOOL"; then 4124 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4125else 4126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4127for as_dir in $PATH 4128do 4129 IFS=$as_save_IFS 4130 test -z "$as_dir" && as_dir=. 4131 for ac_exec_ext in '' $ac_executable_extensions; do 4132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4133 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4134 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4135 break 2 4136 fi 4137done 4138done 4139IFS=$as_save_IFS 4140 4141fi 4142fi 4143ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4144if test -n "$ac_ct_DLLTOOL"; then 4145 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 4146$as_echo "$ac_ct_DLLTOOL" >&6; } 4147else 4148 { $as_echo "$as_me:$LINENO: result: no" >&5 4149$as_echo "no" >&6; } 4150fi 4151 4152 if test "x$ac_ct_DLLTOOL" = x; then 4153 DLLTOOL="false" 4154 else 4155 case $cross_compiling:$ac_tool_warned in 4156yes:) 4157{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4158$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4159ac_tool_warned=yes ;; 4160esac 4161 DLLTOOL=$ac_ct_DLLTOOL 4162 fi 4163else 4164 DLLTOOL="$ac_cv_prog_DLLTOOL" 4165fi 4166 4167 if test -n "$ac_tool_prefix"; then 4168 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4169set dummy ${ac_tool_prefix}objdump; ac_word=$2 4170{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4171$as_echo_n "checking for $ac_word... " >&6; } 4172if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4173 $as_echo_n "(cached) " >&6 4174else 4175 if test -n "$OBJDUMP"; then 4176 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4177else 4178as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4179for as_dir in $PATH 4180do 4181 IFS=$as_save_IFS 4182 test -z "$as_dir" && as_dir=. 4183 for ac_exec_ext in '' $ac_executable_extensions; do 4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4185 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4187 break 2 4188 fi 4189done 4190done 4191IFS=$as_save_IFS 4192 4193fi 4194fi 4195OBJDUMP=$ac_cv_prog_OBJDUMP 4196if test -n "$OBJDUMP"; then 4197 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4198$as_echo "$OBJDUMP" >&6; } 4199else 4200 { $as_echo "$as_me:$LINENO: result: no" >&5 4201$as_echo "no" >&6; } 4202fi 4203 4204 4205fi 4206if test -z "$ac_cv_prog_OBJDUMP"; then 4207 ac_ct_OBJDUMP=$OBJDUMP 4208 # Extract the first word of "objdump", so it can be a program name with args. 4209set dummy objdump; ac_word=$2 4210{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4211$as_echo_n "checking for $ac_word... " >&6; } 4212if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4213 $as_echo_n "(cached) " >&6 4214else 4215 if test -n "$ac_ct_OBJDUMP"; then 4216 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4217else 4218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4219for as_dir in $PATH 4220do 4221 IFS=$as_save_IFS 4222 test -z "$as_dir" && as_dir=. 4223 for ac_exec_ext in '' $ac_executable_extensions; do 4224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4225 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4227 break 2 4228 fi 4229done 4230done 4231IFS=$as_save_IFS 4232 4233fi 4234fi 4235ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4236if test -n "$ac_ct_OBJDUMP"; then 4237 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4238$as_echo "$ac_ct_OBJDUMP" >&6; } 4239else 4240 { $as_echo "$as_me:$LINENO: result: no" >&5 4241$as_echo "no" >&6; } 4242fi 4243 4244 if test "x$ac_ct_OBJDUMP" = x; then 4245 OBJDUMP="false" 4246 else 4247 case $cross_compiling:$ac_tool_warned in 4248yes:) 4249{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4250$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4251ac_tool_warned=yes ;; 4252esac 4253 OBJDUMP=$ac_ct_OBJDUMP 4254 fi 4255else 4256 OBJDUMP="$ac_cv_prog_OBJDUMP" 4257fi 4258 4259 ;; 4260esac 4261 4262test -z "$AS" && AS=as 4263 4264 4265 4266 4267 4268test -z "$DLLTOOL" && DLLTOOL=dlltool 4269 4270 4271 4272 4273 4274test -z "$OBJDUMP" && OBJDUMP=objdump 4275 4276 4277 4278 4279 4280 4281 4282case `pwd` in 4283 *\ * | *\ *) 4284 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4285$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4286esac 4287 4288 4289 4290macro_version='2.2.6' 4291macro_revision='1.3012' 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305ltmain="$ac_aux_dir/ltmain.sh" 4306 4307{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4308$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4309if test "${ac_cv_path_SED+set}" = set; then 4310 $as_echo_n "(cached) " >&6 4311else 4312 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4313 for ac_i in 1 2 3 4 5 6 7; do 4314 ac_script="$ac_script$as_nl$ac_script" 4315 done 4316 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4317 $as_unset ac_script || ac_script= 4318 if test -z "$SED"; then 4319 ac_path_SED_found=false 4320 # Loop through the user's path and test for each of PROGNAME-LIST 4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4322for as_dir in $PATH 4323do 4324 IFS=$as_save_IFS 4325 test -z "$as_dir" && as_dir=. 4326 for ac_prog in sed gsed; do 4327 for ac_exec_ext in '' $ac_executable_extensions; do 4328 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4329 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4330# Check for GNU ac_path_SED and select it if it is found. 4331 # Check for GNU $ac_path_SED 4332case `"$ac_path_SED" --version 2>&1` in 4333*GNU*) 4334 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4335*) 4336 ac_count=0 4337 $as_echo_n 0123456789 >"conftest.in" 4338 while : 4339 do 4340 cat "conftest.in" "conftest.in" >"conftest.tmp" 4341 mv "conftest.tmp" "conftest.in" 4342 cp "conftest.in" "conftest.nl" 4343 $as_echo '' >> "conftest.nl" 4344 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4346 ac_count=`expr $ac_count + 1` 4347 if test $ac_count -gt ${ac_path_SED_max-0}; then 4348 # Best one so far, save it but keep looking for a better one 4349 ac_cv_path_SED="$ac_path_SED" 4350 ac_path_SED_max=$ac_count 4351 fi 4352 # 10*(2^10) chars as input seems more than enough 4353 test $ac_count -gt 10 && break 4354 done 4355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4356esac 4357 4358 $ac_path_SED_found && break 3 4359 done 4360 done 4361done 4362IFS=$as_save_IFS 4363 if test -z "$ac_cv_path_SED"; then 4364 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 4365$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 4366 { (exit 1); exit 1; }; } 4367 fi 4368else 4369 ac_cv_path_SED=$SED 4370fi 4371 4372fi 4373{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 4374$as_echo "$ac_cv_path_SED" >&6; } 4375 SED="$ac_cv_path_SED" 4376 rm -f conftest.sed 4377 4378test -z "$SED" && SED=sed 4379Xsed="$SED -e 1s/^X//" 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4392$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4393if test "${ac_cv_path_GREP+set}" = set; then 4394 $as_echo_n "(cached) " >&6 4395else 4396 if test -z "$GREP"; then 4397 ac_path_GREP_found=false 4398 # Loop through the user's path and test for each of PROGNAME-LIST 4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4400for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4401do 4402 IFS=$as_save_IFS 4403 test -z "$as_dir" && as_dir=. 4404 for ac_prog in grep ggrep; do 4405 for ac_exec_ext in '' $ac_executable_extensions; do 4406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4407 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4408# Check for GNU ac_path_GREP and select it if it is found. 4409 # Check for GNU $ac_path_GREP 4410case `"$ac_path_GREP" --version 2>&1` in 4411*GNU*) 4412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4413*) 4414 ac_count=0 4415 $as_echo_n 0123456789 >"conftest.in" 4416 while : 4417 do 4418 cat "conftest.in" "conftest.in" >"conftest.tmp" 4419 mv "conftest.tmp" "conftest.in" 4420 cp "conftest.in" "conftest.nl" 4421 $as_echo 'GREP' >> "conftest.nl" 4422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4424 ac_count=`expr $ac_count + 1` 4425 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4426 # Best one so far, save it but keep looking for a better one 4427 ac_cv_path_GREP="$ac_path_GREP" 4428 ac_path_GREP_max=$ac_count 4429 fi 4430 # 10*(2^10) chars as input seems more than enough 4431 test $ac_count -gt 10 && break 4432 done 4433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4434esac 4435 4436 $ac_path_GREP_found && break 3 4437 done 4438 done 4439done 4440IFS=$as_save_IFS 4441 if test -z "$ac_cv_path_GREP"; then 4442 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4443$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4444 { (exit 1); exit 1; }; } 4445 fi 4446else 4447 ac_cv_path_GREP=$GREP 4448fi 4449 4450fi 4451{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4452$as_echo "$ac_cv_path_GREP" >&6; } 4453 GREP="$ac_cv_path_GREP" 4454 4455 4456{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4457$as_echo_n "checking for egrep... " >&6; } 4458if test "${ac_cv_path_EGREP+set}" = set; then 4459 $as_echo_n "(cached) " >&6 4460else 4461 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4462 then ac_cv_path_EGREP="$GREP -E" 4463 else 4464 if test -z "$EGREP"; then 4465 ac_path_EGREP_found=false 4466 # Loop through the user's path and test for each of PROGNAME-LIST 4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4468for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4469do 4470 IFS=$as_save_IFS 4471 test -z "$as_dir" && as_dir=. 4472 for ac_prog in egrep; do 4473 for ac_exec_ext in '' $ac_executable_extensions; do 4474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4475 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4476# Check for GNU ac_path_EGREP and select it if it is found. 4477 # Check for GNU $ac_path_EGREP 4478case `"$ac_path_EGREP" --version 2>&1` in 4479*GNU*) 4480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4481*) 4482 ac_count=0 4483 $as_echo_n 0123456789 >"conftest.in" 4484 while : 4485 do 4486 cat "conftest.in" "conftest.in" >"conftest.tmp" 4487 mv "conftest.tmp" "conftest.in" 4488 cp "conftest.in" "conftest.nl" 4489 $as_echo 'EGREP' >> "conftest.nl" 4490 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4492 ac_count=`expr $ac_count + 1` 4493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4494 # Best one so far, save it but keep looking for a better one 4495 ac_cv_path_EGREP="$ac_path_EGREP" 4496 ac_path_EGREP_max=$ac_count 4497 fi 4498 # 10*(2^10) chars as input seems more than enough 4499 test $ac_count -gt 10 && break 4500 done 4501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4502esac 4503 4504 $ac_path_EGREP_found && break 3 4505 done 4506 done 4507done 4508IFS=$as_save_IFS 4509 if test -z "$ac_cv_path_EGREP"; then 4510 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4511$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4512 { (exit 1); exit 1; }; } 4513 fi 4514else 4515 ac_cv_path_EGREP=$EGREP 4516fi 4517 4518 fi 4519fi 4520{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4521$as_echo "$ac_cv_path_EGREP" >&6; } 4522 EGREP="$ac_cv_path_EGREP" 4523 4524 4525{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4526$as_echo_n "checking for fgrep... " >&6; } 4527if test "${ac_cv_path_FGREP+set}" = set; then 4528 $as_echo_n "(cached) " >&6 4529else 4530 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4531 then ac_cv_path_FGREP="$GREP -F" 4532 else 4533 if test -z "$FGREP"; then 4534 ac_path_FGREP_found=false 4535 # Loop through the user's path and test for each of PROGNAME-LIST 4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4537for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4538do 4539 IFS=$as_save_IFS 4540 test -z "$as_dir" && as_dir=. 4541 for ac_prog in fgrep; do 4542 for ac_exec_ext in '' $ac_executable_extensions; do 4543 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4544 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4545# Check for GNU ac_path_FGREP and select it if it is found. 4546 # Check for GNU $ac_path_FGREP 4547case `"$ac_path_FGREP" --version 2>&1` in 4548*GNU*) 4549 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4550*) 4551 ac_count=0 4552 $as_echo_n 0123456789 >"conftest.in" 4553 while : 4554 do 4555 cat "conftest.in" "conftest.in" >"conftest.tmp" 4556 mv "conftest.tmp" "conftest.in" 4557 cp "conftest.in" "conftest.nl" 4558 $as_echo 'FGREP' >> "conftest.nl" 4559 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4560 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4561 ac_count=`expr $ac_count + 1` 4562 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4563 # Best one so far, save it but keep looking for a better one 4564 ac_cv_path_FGREP="$ac_path_FGREP" 4565 ac_path_FGREP_max=$ac_count 4566 fi 4567 # 10*(2^10) chars as input seems more than enough 4568 test $ac_count -gt 10 && break 4569 done 4570 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4571esac 4572 4573 $ac_path_FGREP_found && break 3 4574 done 4575 done 4576done 4577IFS=$as_save_IFS 4578 if test -z "$ac_cv_path_FGREP"; then 4579 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4580$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4581 { (exit 1); exit 1; }; } 4582 fi 4583else 4584 ac_cv_path_FGREP=$FGREP 4585fi 4586 4587 fi 4588fi 4589{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4590$as_echo "$ac_cv_path_FGREP" >&6; } 4591 FGREP="$ac_cv_path_FGREP" 4592 4593 4594test -z "$GREP" && GREP=grep 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614# Check whether --with-gnu-ld was given. 4615if test "${with_gnu_ld+set}" = set; then 4616 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4617else 4618 with_gnu_ld=no 4619fi 4620 4621ac_prog=ld 4622if test "$GCC" = yes; then 4623 # Check if gcc -print-prog-name=ld gives a path. 4624 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4625$as_echo_n "checking for ld used by $CC... " >&6; } 4626 case $host in 4627 *-*-mingw*) 4628 # gcc leaves a trailing carriage return which upsets mingw 4629 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4630 *) 4631 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4632 esac 4633 case $ac_prog in 4634 # Accept absolute paths. 4635 [\\/]* | ?:[\\/]*) 4636 re_direlt='/[^/][^/]*/\.\./' 4637 # Canonicalize the pathname of ld 4638 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4639 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4640 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4641 done 4642 test -z "$LD" && LD="$ac_prog" 4643 ;; 4644 "") 4645 # If it fails, then pretend we aren't using GCC. 4646 ac_prog=ld 4647 ;; 4648 *) 4649 # If it is relative, then search for the first ld in PATH. 4650 with_gnu_ld=unknown 4651 ;; 4652 esac 4653elif test "$with_gnu_ld" = yes; then 4654 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4655$as_echo_n "checking for GNU ld... " >&6; } 4656else 4657 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4658$as_echo_n "checking for non-GNU ld... " >&6; } 4659fi 4660if test "${lt_cv_path_LD+set}" = set; then 4661 $as_echo_n "(cached) " >&6 4662else 4663 if test -z "$LD"; then 4664 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4665 for ac_dir in $PATH; do 4666 IFS="$lt_save_ifs" 4667 test -z "$ac_dir" && ac_dir=. 4668 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4669 lt_cv_path_LD="$ac_dir/$ac_prog" 4670 # Check to see if the program is GNU ld. I'd rather use --version, 4671 # but apparently some variants of GNU ld only accept -v. 4672 # Break only if it was the GNU/non-GNU ld that we prefer. 4673 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4674 *GNU* | *'with BFD'*) 4675 test "$with_gnu_ld" != no && break 4676 ;; 4677 *) 4678 test "$with_gnu_ld" != yes && break 4679 ;; 4680 esac 4681 fi 4682 done 4683 IFS="$lt_save_ifs" 4684else 4685 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4686fi 4687fi 4688 4689LD="$lt_cv_path_LD" 4690if test -n "$LD"; then 4691 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4692$as_echo "$LD" >&6; } 4693else 4694 { $as_echo "$as_me:$LINENO: result: no" >&5 4695$as_echo "no" >&6; } 4696fi 4697test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4698$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4699 { (exit 1); exit 1; }; } 4700{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4701$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4702if test "${lt_cv_prog_gnu_ld+set}" = set; then 4703 $as_echo_n "(cached) " >&6 4704else 4705 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4706case `$LD -v 2>&1 </dev/null` in 4707*GNU* | *'with BFD'*) 4708 lt_cv_prog_gnu_ld=yes 4709 ;; 4710*) 4711 lt_cv_prog_gnu_ld=no 4712 ;; 4713esac 4714fi 4715{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4716$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4717with_gnu_ld=$lt_cv_prog_gnu_ld 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4728$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4729if test "${lt_cv_path_NM+set}" = set; then 4730 $as_echo_n "(cached) " >&6 4731else 4732 if test -n "$NM"; then 4733 # Let the user override the test. 4734 lt_cv_path_NM="$NM" 4735else 4736 lt_nm_to_check="${ac_tool_prefix}nm" 4737 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4738 lt_nm_to_check="$lt_nm_to_check nm" 4739 fi 4740 for lt_tmp_nm in $lt_nm_to_check; do 4741 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4742 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4743 IFS="$lt_save_ifs" 4744 test -z "$ac_dir" && ac_dir=. 4745 tmp_nm="$ac_dir/$lt_tmp_nm" 4746 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4747 # Check to see if the nm accepts a BSD-compat flag. 4748 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4749 # nm: unknown option "B" ignored 4750 # Tru64's nm complains that /dev/null is an invalid object file 4751 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4752 */dev/null* | *'Invalid file or object type'*) 4753 lt_cv_path_NM="$tmp_nm -B" 4754 break 4755 ;; 4756 *) 4757 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4758 */dev/null*) 4759 lt_cv_path_NM="$tmp_nm -p" 4760 break 4761 ;; 4762 *) 4763 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4764 continue # so that we can try to find one that supports BSD flags 4765 ;; 4766 esac 4767 ;; 4768 esac 4769 fi 4770 done 4771 IFS="$lt_save_ifs" 4772 done 4773 : ${lt_cv_path_NM=no} 4774fi 4775fi 4776{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4777$as_echo "$lt_cv_path_NM" >&6; } 4778if test "$lt_cv_path_NM" != "no"; then 4779 NM="$lt_cv_path_NM" 4780else 4781 # Didn't find any BSD compatible name lister, look for dumpbin. 4782 if test -n "$ac_tool_prefix"; then 4783 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4784 do 4785 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4786set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4787{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4788$as_echo_n "checking for $ac_word... " >&6; } 4789if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4790 $as_echo_n "(cached) " >&6 4791else 4792 if test -n "$DUMPBIN"; then 4793 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4794else 4795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4796for as_dir in $PATH 4797do 4798 IFS=$as_save_IFS 4799 test -z "$as_dir" && as_dir=. 4800 for ac_exec_ext in '' $ac_executable_extensions; do 4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4802 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4803 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4804 break 2 4805 fi 4806done 4807done 4808IFS=$as_save_IFS 4809 4810fi 4811fi 4812DUMPBIN=$ac_cv_prog_DUMPBIN 4813if test -n "$DUMPBIN"; then 4814 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4815$as_echo "$DUMPBIN" >&6; } 4816else 4817 { $as_echo "$as_me:$LINENO: result: no" >&5 4818$as_echo "no" >&6; } 4819fi 4820 4821 4822 test -n "$DUMPBIN" && break 4823 done 4824fi 4825if test -z "$DUMPBIN"; then 4826 ac_ct_DUMPBIN=$DUMPBIN 4827 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4828do 4829 # Extract the first word of "$ac_prog", so it can be a program name with args. 4830set dummy $ac_prog; ac_word=$2 4831{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4832$as_echo_n "checking for $ac_word... " >&6; } 4833if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4834 $as_echo_n "(cached) " >&6 4835else 4836 if test -n "$ac_ct_DUMPBIN"; then 4837 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4838else 4839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4840for as_dir in $PATH 4841do 4842 IFS=$as_save_IFS 4843 test -z "$as_dir" && as_dir=. 4844 for ac_exec_ext in '' $ac_executable_extensions; do 4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4846 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4847 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4848 break 2 4849 fi 4850done 4851done 4852IFS=$as_save_IFS 4853 4854fi 4855fi 4856ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4857if test -n "$ac_ct_DUMPBIN"; then 4858 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4859$as_echo "$ac_ct_DUMPBIN" >&6; } 4860else 4861 { $as_echo "$as_me:$LINENO: result: no" >&5 4862$as_echo "no" >&6; } 4863fi 4864 4865 4866 test -n "$ac_ct_DUMPBIN" && break 4867done 4868 4869 if test "x$ac_ct_DUMPBIN" = x; then 4870 DUMPBIN=":" 4871 else 4872 case $cross_compiling:$ac_tool_warned in 4873yes:) 4874{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4875$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4876ac_tool_warned=yes ;; 4877esac 4878 DUMPBIN=$ac_ct_DUMPBIN 4879 fi 4880fi 4881 4882 4883 if test "$DUMPBIN" != ":"; then 4884 NM="$DUMPBIN" 4885 fi 4886fi 4887test -z "$NM" && NM=nm 4888 4889 4890 4891 4892 4893 4894{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4895$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4896if test "${lt_cv_nm_interface+set}" = set; then 4897 $as_echo_n "(cached) " >&6 4898else 4899 lt_cv_nm_interface="BSD nm" 4900 echo "int some_variable = 0;" > conftest.$ac_ext 4901 (eval echo "\"\$as_me:4901: $ac_compile\"" >&5) 4902 (eval "$ac_compile" 2>conftest.err) 4903 cat conftest.err >&5 4904 (eval echo "\"\$as_me:4904: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4905 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4906 cat conftest.err >&5 4907 (eval echo "\"\$as_me:4907: output\"" >&5) 4908 cat conftest.out >&5 4909 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4910 lt_cv_nm_interface="MS dumpbin" 4911 fi 4912 rm -f conftest* 4913fi 4914{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4915$as_echo "$lt_cv_nm_interface" >&6; } 4916 4917# find the maximum length of command line arguments 4918{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4919$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4920if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4921 $as_echo_n "(cached) " >&6 4922else 4923 i=0 4924 teststring="ABCD" 4925 4926 case $build_os in 4927 msdosdjgpp*) 4928 # On DJGPP, this test can blow up pretty badly due to problems in libc 4929 # (any single argument exceeding 2000 bytes causes a buffer overrun 4930 # during glob expansion). Even if it were fixed, the result of this 4931 # check would be larger than it should be. 4932 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4933 ;; 4934 4935 gnu*) 4936 # Under GNU Hurd, this test is not required because there is 4937 # no limit to the length of command line arguments. 4938 # Libtool will interpret -1 as no limit whatsoever 4939 lt_cv_sys_max_cmd_len=-1; 4940 ;; 4941 4942 cygwin* | mingw* | cegcc*) 4943 # On Win9x/ME, this test blows up -- it succeeds, but takes 4944 # about 5 minutes as the teststring grows exponentially. 4945 # Worse, since 9x/ME are not pre-emptively multitasking, 4946 # you end up with a "frozen" computer, even though with patience 4947 # the test eventually succeeds (with a max line length of 256k). 4948 # Instead, let's just punt: use the minimum linelength reported by 4949 # all of the supported platforms: 8192 (on NT/2K/XP). 4950 lt_cv_sys_max_cmd_len=8192; 4951 ;; 4952 4953 amigaos*) 4954 # On AmigaOS with pdksh, this test takes hours, literally. 4955 # So we just punt and use a minimum line length of 8192. 4956 lt_cv_sys_max_cmd_len=8192; 4957 ;; 4958 4959 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4960 # This has been around since 386BSD, at least. Likely further. 4961 if test -x /sbin/sysctl; then 4962 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4963 elif test -x /usr/sbin/sysctl; then 4964 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4965 else 4966 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4967 fi 4968 # And add a safety zone 4969 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4970 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4971 ;; 4972 4973 interix*) 4974 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4975 lt_cv_sys_max_cmd_len=196608 4976 ;; 4977 4978 osf*) 4979 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4980 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4981 # nice to cause kernel panics so lets avoid the loop below. 4982 # First set a reasonable default. 4983 lt_cv_sys_max_cmd_len=16384 4984 # 4985 if test -x /sbin/sysconfig; then 4986 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4987 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4988 esac 4989 fi 4990 ;; 4991 sco3.2v5*) 4992 lt_cv_sys_max_cmd_len=102400 4993 ;; 4994 sysv5* | sco5v6* | sysv4.2uw2*) 4995 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4996 if test -n "$kargmax"; then 4997 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4998 else 4999 lt_cv_sys_max_cmd_len=32768 5000 fi 5001 ;; 5002 *) 5003 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5004 if test -n "$lt_cv_sys_max_cmd_len"; then 5005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5007 else 5008 # Make teststring a little bigger before we do anything with it. 5009 # a 1K string should be a reasonable start. 5010 for i in 1 2 3 4 5 6 7 8 ; do 5011 teststring=$teststring$teststring 5012 done 5013 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5014 # If test is not a shell built-in, we'll probably end up computing a 5015 # maximum length that is only half of the actual maximum length, but 5016 # we can't tell. 5017 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5018 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5019 test $i != 17 # 1/2 MB should be enough 5020 do 5021 i=`expr $i + 1` 5022 teststring=$teststring$teststring 5023 done 5024 # Only check the string length outside the loop. 5025 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5026 teststring= 5027 # Add a significant safety factor because C++ compilers can tack on 5028 # massive amounts of additional arguments before passing them to the 5029 # linker. It appears as though 1/2 is a usable value. 5030 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5031 fi 5032 ;; 5033 esac 5034 5035fi 5036 5037if test -n $lt_cv_sys_max_cmd_len ; then 5038 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5039$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5040else 5041 { $as_echo "$as_me:$LINENO: result: none" >&5 5042$as_echo "none" >&6; } 5043fi 5044max_cmd_len=$lt_cv_sys_max_cmd_len 5045 5046 5047 5048 5049 5050 5051: ${CP="cp -f"} 5052: ${MV="mv -f"} 5053: ${RM="rm -f"} 5054 5055{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 5056$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5057# Try some XSI features 5058xsi_shell=no 5059( _lt_dummy="a/b/c" 5060 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5061 = c,a/b,, \ 5062 && eval 'test $(( 1 + 1 )) -eq 2 \ 5063 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5064 && xsi_shell=yes 5065{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 5066$as_echo "$xsi_shell" >&6; } 5067 5068 5069{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 5070$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5071lt_shell_append=no 5072( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5073 >/dev/null 2>&1 \ 5074 && lt_shell_append=yes 5075{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 5076$as_echo "$lt_shell_append" >&6; } 5077 5078 5079if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5080 lt_unset=unset 5081else 5082 lt_unset=false 5083fi 5084 5085 5086 5087 5088 5089# test EBCDIC or ASCII 5090case `echo X|tr X '\101'` in 5091 A) # ASCII based system 5092 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5093 lt_SP2NL='tr \040 \012' 5094 lt_NL2SP='tr \015\012 \040\040' 5095 ;; 5096 *) # EBCDIC based system 5097 lt_SP2NL='tr \100 \n' 5098 lt_NL2SP='tr \r\n \100\100' 5099 ;; 5100esac 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5111$as_echo_n "checking for $LD option to reload object files... " >&6; } 5112if test "${lt_cv_ld_reload_flag+set}" = set; then 5113 $as_echo_n "(cached) " >&6 5114else 5115 lt_cv_ld_reload_flag='-r' 5116fi 5117{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5118$as_echo "$lt_cv_ld_reload_flag" >&6; } 5119reload_flag=$lt_cv_ld_reload_flag 5120case $reload_flag in 5121"" | " "*) ;; 5122*) reload_flag=" $reload_flag" ;; 5123esac 5124reload_cmds='$LD$reload_flag -o $output$reload_objs' 5125case $host_os in 5126 darwin*) 5127 if test "$GCC" = yes; then 5128 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5129 else 5130 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5131 fi 5132 ;; 5133esac 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143if test -n "$ac_tool_prefix"; then 5144 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5145set dummy ${ac_tool_prefix}objdump; ac_word=$2 5146{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5147$as_echo_n "checking for $ac_word... " >&6; } 5148if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5149 $as_echo_n "(cached) " >&6 5150else 5151 if test -n "$OBJDUMP"; then 5152 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5153else 5154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5155for as_dir in $PATH 5156do 5157 IFS=$as_save_IFS 5158 test -z "$as_dir" && as_dir=. 5159 for ac_exec_ext in '' $ac_executable_extensions; do 5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5161 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5162 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5163 break 2 5164 fi 5165done 5166done 5167IFS=$as_save_IFS 5168 5169fi 5170fi 5171OBJDUMP=$ac_cv_prog_OBJDUMP 5172if test -n "$OBJDUMP"; then 5173 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5174$as_echo "$OBJDUMP" >&6; } 5175else 5176 { $as_echo "$as_me:$LINENO: result: no" >&5 5177$as_echo "no" >&6; } 5178fi 5179 5180 5181fi 5182if test -z "$ac_cv_prog_OBJDUMP"; then 5183 ac_ct_OBJDUMP=$OBJDUMP 5184 # Extract the first word of "objdump", so it can be a program name with args. 5185set dummy objdump; ac_word=$2 5186{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5187$as_echo_n "checking for $ac_word... " >&6; } 5188if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5189 $as_echo_n "(cached) " >&6 5190else 5191 if test -n "$ac_ct_OBJDUMP"; then 5192 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5193else 5194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5195for as_dir in $PATH 5196do 5197 IFS=$as_save_IFS 5198 test -z "$as_dir" && as_dir=. 5199 for ac_exec_ext in '' $ac_executable_extensions; do 5200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5201 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5202 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5203 break 2 5204 fi 5205done 5206done 5207IFS=$as_save_IFS 5208 5209fi 5210fi 5211ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5212if test -n "$ac_ct_OBJDUMP"; then 5213 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5214$as_echo "$ac_ct_OBJDUMP" >&6; } 5215else 5216 { $as_echo "$as_me:$LINENO: result: no" >&5 5217$as_echo "no" >&6; } 5218fi 5219 5220 if test "x$ac_ct_OBJDUMP" = x; then 5221 OBJDUMP="false" 5222 else 5223 case $cross_compiling:$ac_tool_warned in 5224yes:) 5225{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5227ac_tool_warned=yes ;; 5228esac 5229 OBJDUMP=$ac_ct_OBJDUMP 5230 fi 5231else 5232 OBJDUMP="$ac_cv_prog_OBJDUMP" 5233fi 5234 5235test -z "$OBJDUMP" && OBJDUMP=objdump 5236 5237 5238 5239 5240 5241 5242{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5243$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5244if test "${lt_cv_deplibs_check_method+set}" = set; then 5245 $as_echo_n "(cached) " >&6 5246else 5247 lt_cv_file_magic_cmd='$MAGIC_CMD' 5248lt_cv_file_magic_test_file= 5249lt_cv_deplibs_check_method='unknown' 5250# Need to set the preceding variable on all platforms that support 5251# interlibrary dependencies. 5252# 'none' -- dependencies not supported. 5253# `unknown' -- same as none, but documents that we really don't know. 5254# 'pass_all' -- all dependencies passed with no checks. 5255# 'test_compile' -- check by making test program. 5256# 'file_magic [[regex]]' -- check by looking for files in library path 5257# which responds to the $file_magic_cmd with a given extended regex. 5258# If you have `file' or equivalent on your system and you're not sure 5259# whether `pass_all' will *always* work, you probably want this one. 5260 5261case $host_os in 5262aix[4-9]*) 5263 lt_cv_deplibs_check_method=pass_all 5264 ;; 5265 5266beos*) 5267 lt_cv_deplibs_check_method=pass_all 5268 ;; 5269 5270bsdi[45]*) 5271 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5272 lt_cv_file_magic_cmd='/usr/bin/file -L' 5273 lt_cv_file_magic_test_file=/shlib/libc.so 5274 ;; 5275 5276cygwin*) 5277 # func_win32_libid is a shell function defined in ltmain.sh 5278 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5279 lt_cv_file_magic_cmd='func_win32_libid' 5280 ;; 5281 5282mingw* | pw32*) 5283 # Base MSYS/MinGW do not provide the 'file' command needed by 5284 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5285 # unless we find 'file', for example because we are cross-compiling. 5286 if ( file / ) >/dev/null 2>&1; then 5287 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5288 lt_cv_file_magic_cmd='func_win32_libid' 5289 else 5290 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5291 lt_cv_file_magic_cmd='$OBJDUMP -f' 5292 fi 5293 ;; 5294 5295cegcc) 5296 # use the weaker test based on 'objdump'. See mingw*. 5297 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5298 lt_cv_file_magic_cmd='$OBJDUMP -f' 5299 ;; 5300 5301darwin* | rhapsody*) 5302 lt_cv_deplibs_check_method=pass_all 5303 ;; 5304 5305freebsd* | dragonfly*) 5306 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5307 case $host_cpu in 5308 i*86 ) 5309 # Not sure whether the presence of OpenBSD here was a mistake. 5310 # Let's accept both of them until this is cleared up. 5311 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5312 lt_cv_file_magic_cmd=/usr/bin/file 5313 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5314 ;; 5315 esac 5316 else 5317 lt_cv_deplibs_check_method=pass_all 5318 fi 5319 ;; 5320 5321gnu*) 5322 lt_cv_deplibs_check_method=pass_all 5323 ;; 5324 5325hpux10.20* | hpux11*) 5326 lt_cv_file_magic_cmd=/usr/bin/file 5327 case $host_cpu in 5328 ia64*) 5329 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5330 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5331 ;; 5332 hppa*64*) 5333 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' 5334 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5335 ;; 5336 *) 5337 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5338 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5339 ;; 5340 esac 5341 ;; 5342 5343interix[3-9]*) 5344 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5345 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5346 ;; 5347 5348irix5* | irix6* | nonstopux*) 5349 case $LD in 5350 *-32|*"-32 ") libmagic=32-bit;; 5351 *-n32|*"-n32 ") libmagic=N32;; 5352 *-64|*"-64 ") libmagic=64-bit;; 5353 *) libmagic=never-match;; 5354 esac 5355 lt_cv_deplibs_check_method=pass_all 5356 ;; 5357 5358# This must be Linux ELF. 5359linux* | k*bsd*-gnu) 5360 lt_cv_deplibs_check_method=pass_all 5361 ;; 5362 5363netbsd*) 5364 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5365 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5366 else 5367 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5368 fi 5369 ;; 5370 5371newos6*) 5372 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5373 lt_cv_file_magic_cmd=/usr/bin/file 5374 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5375 ;; 5376 5377*nto* | *qnx*) 5378 lt_cv_deplibs_check_method=pass_all 5379 ;; 5380 5381openbsd*) 5382 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5384 else 5385 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5386 fi 5387 ;; 5388 5389osf3* | osf4* | osf5*) 5390 lt_cv_deplibs_check_method=pass_all 5391 ;; 5392 5393rdos*) 5394 lt_cv_deplibs_check_method=pass_all 5395 ;; 5396 5397solaris*) 5398 lt_cv_deplibs_check_method=pass_all 5399 ;; 5400 5401sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5402 lt_cv_deplibs_check_method=pass_all 5403 ;; 5404 5405sysv4 | sysv4.3*) 5406 case $host_vendor in 5407 motorola) 5408 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]' 5409 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5410 ;; 5411 ncr) 5412 lt_cv_deplibs_check_method=pass_all 5413 ;; 5414 sequent) 5415 lt_cv_file_magic_cmd='/bin/file' 5416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5417 ;; 5418 sni) 5419 lt_cv_file_magic_cmd='/bin/file' 5420 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5421 lt_cv_file_magic_test_file=/lib/libc.so 5422 ;; 5423 siemens) 5424 lt_cv_deplibs_check_method=pass_all 5425 ;; 5426 pc) 5427 lt_cv_deplibs_check_method=pass_all 5428 ;; 5429 esac 5430 ;; 5431 5432tpf*) 5433 lt_cv_deplibs_check_method=pass_all 5434 ;; 5435esac 5436 5437fi 5438{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5439$as_echo "$lt_cv_deplibs_check_method" >&6; } 5440file_magic_cmd=$lt_cv_file_magic_cmd 5441deplibs_check_method=$lt_cv_deplibs_check_method 5442test -z "$deplibs_check_method" && deplibs_check_method=unknown 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455if test -n "$ac_tool_prefix"; then 5456 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5457set dummy ${ac_tool_prefix}ar; ac_word=$2 5458{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5459$as_echo_n "checking for $ac_word... " >&6; } 5460if test "${ac_cv_prog_AR+set}" = set; then 5461 $as_echo_n "(cached) " >&6 5462else 5463 if test -n "$AR"; then 5464 ac_cv_prog_AR="$AR" # Let the user override the test. 5465else 5466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5467for as_dir in $PATH 5468do 5469 IFS=$as_save_IFS 5470 test -z "$as_dir" && as_dir=. 5471 for ac_exec_ext in '' $ac_executable_extensions; do 5472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5473 ac_cv_prog_AR="${ac_tool_prefix}ar" 5474 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5475 break 2 5476 fi 5477done 5478done 5479IFS=$as_save_IFS 5480 5481fi 5482fi 5483AR=$ac_cv_prog_AR 5484if test -n "$AR"; then 5485 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5486$as_echo "$AR" >&6; } 5487else 5488 { $as_echo "$as_me:$LINENO: result: no" >&5 5489$as_echo "no" >&6; } 5490fi 5491 5492 5493fi 5494if test -z "$ac_cv_prog_AR"; then 5495 ac_ct_AR=$AR 5496 # Extract the first word of "ar", so it can be a program name with args. 5497set dummy ar; ac_word=$2 5498{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5499$as_echo_n "checking for $ac_word... " >&6; } 5500if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5501 $as_echo_n "(cached) " >&6 5502else 5503 if test -n "$ac_ct_AR"; then 5504 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5505else 5506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5507for as_dir in $PATH 5508do 5509 IFS=$as_save_IFS 5510 test -z "$as_dir" && as_dir=. 5511 for ac_exec_ext in '' $ac_executable_extensions; do 5512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5513 ac_cv_prog_ac_ct_AR="ar" 5514 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5515 break 2 5516 fi 5517done 5518done 5519IFS=$as_save_IFS 5520 5521fi 5522fi 5523ac_ct_AR=$ac_cv_prog_ac_ct_AR 5524if test -n "$ac_ct_AR"; then 5525 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5526$as_echo "$ac_ct_AR" >&6; } 5527else 5528 { $as_echo "$as_me:$LINENO: result: no" >&5 5529$as_echo "no" >&6; } 5530fi 5531 5532 if test "x$ac_ct_AR" = x; then 5533 AR="false" 5534 else 5535 case $cross_compiling:$ac_tool_warned in 5536yes:) 5537{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5538$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5539ac_tool_warned=yes ;; 5540esac 5541 AR=$ac_ct_AR 5542 fi 5543else 5544 AR="$ac_cv_prog_AR" 5545fi 5546 5547test -z "$AR" && AR=ar 5548test -z "$AR_FLAGS" && AR_FLAGS=cru 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560if test -n "$ac_tool_prefix"; then 5561 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5562set dummy ${ac_tool_prefix}strip; ac_word=$2 5563{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5564$as_echo_n "checking for $ac_word... " >&6; } 5565if test "${ac_cv_prog_STRIP+set}" = set; then 5566 $as_echo_n "(cached) " >&6 5567else 5568 if test -n "$STRIP"; then 5569 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5570else 5571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5572for as_dir in $PATH 5573do 5574 IFS=$as_save_IFS 5575 test -z "$as_dir" && as_dir=. 5576 for ac_exec_ext in '' $ac_executable_extensions; do 5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5578 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5580 break 2 5581 fi 5582done 5583done 5584IFS=$as_save_IFS 5585 5586fi 5587fi 5588STRIP=$ac_cv_prog_STRIP 5589if test -n "$STRIP"; then 5590 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5591$as_echo "$STRIP" >&6; } 5592else 5593 { $as_echo "$as_me:$LINENO: result: no" >&5 5594$as_echo "no" >&6; } 5595fi 5596 5597 5598fi 5599if test -z "$ac_cv_prog_STRIP"; then 5600 ac_ct_STRIP=$STRIP 5601 # Extract the first word of "strip", so it can be a program name with args. 5602set dummy strip; ac_word=$2 5603{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5604$as_echo_n "checking for $ac_word... " >&6; } 5605if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5606 $as_echo_n "(cached) " >&6 5607else 5608 if test -n "$ac_ct_STRIP"; then 5609 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5610else 5611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5612for as_dir in $PATH 5613do 5614 IFS=$as_save_IFS 5615 test -z "$as_dir" && as_dir=. 5616 for ac_exec_ext in '' $ac_executable_extensions; do 5617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5618 ac_cv_prog_ac_ct_STRIP="strip" 5619 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5620 break 2 5621 fi 5622done 5623done 5624IFS=$as_save_IFS 5625 5626fi 5627fi 5628ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5629if test -n "$ac_ct_STRIP"; then 5630 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5631$as_echo "$ac_ct_STRIP" >&6; } 5632else 5633 { $as_echo "$as_me:$LINENO: result: no" >&5 5634$as_echo "no" >&6; } 5635fi 5636 5637 if test "x$ac_ct_STRIP" = x; then 5638 STRIP=":" 5639 else 5640 case $cross_compiling:$ac_tool_warned in 5641yes:) 5642{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5643$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5644ac_tool_warned=yes ;; 5645esac 5646 STRIP=$ac_ct_STRIP 5647 fi 5648else 5649 STRIP="$ac_cv_prog_STRIP" 5650fi 5651 5652test -z "$STRIP" && STRIP=: 5653 5654 5655 5656 5657 5658 5659if test -n "$ac_tool_prefix"; then 5660 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5661set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5662{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5663$as_echo_n "checking for $ac_word... " >&6; } 5664if test "${ac_cv_prog_RANLIB+set}" = set; then 5665 $as_echo_n "(cached) " >&6 5666else 5667 if test -n "$RANLIB"; then 5668 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5669else 5670as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5671for as_dir in $PATH 5672do 5673 IFS=$as_save_IFS 5674 test -z "$as_dir" && as_dir=. 5675 for ac_exec_ext in '' $ac_executable_extensions; do 5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5677 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5678 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5679 break 2 5680 fi 5681done 5682done 5683IFS=$as_save_IFS 5684 5685fi 5686fi 5687RANLIB=$ac_cv_prog_RANLIB 5688if test -n "$RANLIB"; then 5689 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5690$as_echo "$RANLIB" >&6; } 5691else 5692 { $as_echo "$as_me:$LINENO: result: no" >&5 5693$as_echo "no" >&6; } 5694fi 5695 5696 5697fi 5698if test -z "$ac_cv_prog_RANLIB"; then 5699 ac_ct_RANLIB=$RANLIB 5700 # Extract the first word of "ranlib", so it can be a program name with args. 5701set dummy ranlib; ac_word=$2 5702{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5703$as_echo_n "checking for $ac_word... " >&6; } 5704if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5705 $as_echo_n "(cached) " >&6 5706else 5707 if test -n "$ac_ct_RANLIB"; then 5708 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5709else 5710as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5711for as_dir in $PATH 5712do 5713 IFS=$as_save_IFS 5714 test -z "$as_dir" && as_dir=. 5715 for ac_exec_ext in '' $ac_executable_extensions; do 5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5717 ac_cv_prog_ac_ct_RANLIB="ranlib" 5718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5719 break 2 5720 fi 5721done 5722done 5723IFS=$as_save_IFS 5724 5725fi 5726fi 5727ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5728if test -n "$ac_ct_RANLIB"; then 5729 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5730$as_echo "$ac_ct_RANLIB" >&6; } 5731else 5732 { $as_echo "$as_me:$LINENO: result: no" >&5 5733$as_echo "no" >&6; } 5734fi 5735 5736 if test "x$ac_ct_RANLIB" = x; then 5737 RANLIB=":" 5738 else 5739 case $cross_compiling:$ac_tool_warned in 5740yes:) 5741{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5743ac_tool_warned=yes ;; 5744esac 5745 RANLIB=$ac_ct_RANLIB 5746 fi 5747else 5748 RANLIB="$ac_cv_prog_RANLIB" 5749fi 5750 5751test -z "$RANLIB" && RANLIB=: 5752 5753 5754 5755 5756 5757 5758# Determine commands to create old-style static archives. 5759old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5760old_postinstall_cmds='chmod 644 $oldlib' 5761old_postuninstall_cmds= 5762 5763if test -n "$RANLIB"; then 5764 case $host_os in 5765 openbsd*) 5766 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5767 ;; 5768 *) 5769 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5770 ;; 5771 esac 5772 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5773fi 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808# If no C compiler was specified, use CC. 5809LTCC=${LTCC-"$CC"} 5810 5811# If no C compiler flags were specified, use CFLAGS. 5812LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5813 5814# Allow CC to be a program name with arguments. 5815compiler=$CC 5816 5817 5818# Check for command to grab the raw symbol name followed by C symbol from nm. 5819{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5820$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5821if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5822 $as_echo_n "(cached) " >&6 5823else 5824 5825# These are sane defaults that work on at least a few old systems. 5826# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5827 5828# Character class describing NM global symbol codes. 5829symcode='[BCDEGRST]' 5830 5831# Regexp to match symbols that can be accessed directly from C. 5832sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5833 5834# Define system-specific variables. 5835case $host_os in 5836aix*) 5837 symcode='[BCDT]' 5838 ;; 5839cygwin* | mingw* | pw32* | cegcc*) 5840 symcode='[ABCDGISTW]' 5841 ;; 5842hpux*) 5843 if test "$host_cpu" = ia64; then 5844 symcode='[ABCDEGRST]' 5845 fi 5846 ;; 5847irix* | nonstopux*) 5848 symcode='[BCDEGRST]' 5849 ;; 5850osf*) 5851 symcode='[BCDEGQRST]' 5852 ;; 5853solaris*) 5854 symcode='[BDRT]' 5855 ;; 5856sco3.2v5*) 5857 symcode='[DT]' 5858 ;; 5859sysv4.2uw2*) 5860 symcode='[DT]' 5861 ;; 5862sysv5* | sco5v6* | unixware* | OpenUNIX*) 5863 symcode='[ABDT]' 5864 ;; 5865sysv4) 5866 symcode='[DFNSTU]' 5867 ;; 5868esac 5869 5870# If we're using GNU nm, then use its standard symbol codes. 5871case `$NM -V 2>&1` in 5872*GNU* | *'with BFD'*) 5873 symcode='[ABCDGIRSTW]' ;; 5874esac 5875 5876# Transform an extracted symbol line into a proper C declaration. 5877# Some systems (esp. on ia64) link data and code symbols differently, 5878# so use this general approach. 5879lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5880 5881# Transform an extracted symbol line into symbol name and symbol address 5882lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5883lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 5884 5885# Handle CRLF in mingw tool chain 5886opt_cr= 5887case $build_os in 5888mingw*) 5889 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5890 ;; 5891esac 5892 5893# Try without a prefix underscore, then with it. 5894for ac_symprfx in "" "_"; do 5895 5896 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5897 symxfrm="\\1 $ac_symprfx\\2 \\2" 5898 5899 # Write the raw and C identifiers. 5900 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5901 # Fake it for dumpbin and say T for any non-static function 5902 # and D for any global variable. 5903 # Also find C++ and __fastcall symbols from MSVC++, 5904 # which start with @ or ?. 5905 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5906" {last_section=section; section=\$ 3};"\ 5907" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5908" \$ 0!~/External *\|/{next};"\ 5909" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5910" {if(hide[section]) next};"\ 5911" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5912" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5913" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5914" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5915" ' prfx=^$ac_symprfx" 5916 else 5917 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5918 fi 5919 5920 # Check to see that the pipe works correctly. 5921 pipe_works=no 5922 5923 rm -f conftest* 5924 cat > conftest.$ac_ext <<_LT_EOF 5925#ifdef __cplusplus 5926extern "C" { 5927#endif 5928char nm_test_var; 5929void nm_test_func(void); 5930void nm_test_func(void){} 5931#ifdef __cplusplus 5932} 5933#endif 5934int main(){nm_test_var='a';nm_test_func();return(0);} 5935_LT_EOF 5936 5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5938 (eval $ac_compile) 2>&5 5939 ac_status=$? 5940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5941 (exit $ac_status); }; then 5942 # Now try to grab the symbols. 5943 nlist=conftest.nm 5944 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5945 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5946 ac_status=$? 5947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5948 (exit $ac_status); } && test -s "$nlist"; then 5949 # Try sorting and uniquifying the output. 5950 if sort "$nlist" | uniq > "$nlist"T; then 5951 mv -f "$nlist"T "$nlist" 5952 else 5953 rm -f "$nlist"T 5954 fi 5955 5956 # Make sure that we snagged all the symbols we need. 5957 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5958 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5959 cat <<_LT_EOF > conftest.$ac_ext 5960#ifdef __cplusplus 5961extern "C" { 5962#endif 5963 5964_LT_EOF 5965 # Now generate the symbol file. 5966 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5967 5968 cat <<_LT_EOF >> conftest.$ac_ext 5969 5970/* The mapping between symbol names and symbols. */ 5971const struct { 5972 const char *name; 5973 void *address; 5974} 5975lt__PROGRAM__LTX_preloaded_symbols[] = 5976{ 5977 { "@PROGRAM@", (void *) 0 }, 5978_LT_EOF 5979 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5980 cat <<\_LT_EOF >> conftest.$ac_ext 5981 {0, (void *) 0} 5982}; 5983 5984/* This works around a problem in FreeBSD linker */ 5985#ifdef FREEBSD_WORKAROUND 5986static const void *lt_preloaded_setup() { 5987 return lt__PROGRAM__LTX_preloaded_symbols; 5988} 5989#endif 5990 5991#ifdef __cplusplus 5992} 5993#endif 5994_LT_EOF 5995 # Now try linking the two files. 5996 mv conftest.$ac_objext conftstm.$ac_objext 5997 lt_save_LIBS="$LIBS" 5998 lt_save_CFLAGS="$CFLAGS" 5999 LIBS="conftstm.$ac_objext" 6000 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6002 (eval $ac_link) 2>&5 6003 ac_status=$? 6004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6005 (exit $ac_status); } && test -s conftest${ac_exeext}; then 6006 pipe_works=yes 6007 fi 6008 LIBS="$lt_save_LIBS" 6009 CFLAGS="$lt_save_CFLAGS" 6010 else 6011 echo "cannot find nm_test_func in $nlist" >&5 6012 fi 6013 else 6014 echo "cannot find nm_test_var in $nlist" >&5 6015 fi 6016 else 6017 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6018 fi 6019 else 6020 echo "$progname: failed program was:" >&5 6021 cat conftest.$ac_ext >&5 6022 fi 6023 rm -rf conftest* conftst* 6024 6025 # Do not use the global_symbol_pipe unless it works. 6026 if test "$pipe_works" = yes; then 6027 break 6028 else 6029 lt_cv_sys_global_symbol_pipe= 6030 fi 6031done 6032 6033fi 6034 6035if test -z "$lt_cv_sys_global_symbol_pipe"; then 6036 lt_cv_sys_global_symbol_to_cdecl= 6037fi 6038if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6039 { $as_echo "$as_me:$LINENO: result: failed" >&5 6040$as_echo "failed" >&6; } 6041else 6042 { $as_echo "$as_me:$LINENO: result: ok" >&5 6043$as_echo "ok" >&6; } 6044fi 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068# Check whether --enable-libtool-lock was given. 6069if test "${enable_libtool_lock+set}" = set; then 6070 enableval=$enable_libtool_lock; 6071fi 6072 6073test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6074 6075# Some flags need to be propagated to the compiler or linker for good 6076# libtool support. 6077case $host in 6078ia64-*-hpux*) 6079 # Find out which ABI we are using. 6080 echo 'int i;' > conftest.$ac_ext 6081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6082 (eval $ac_compile) 2>&5 6083 ac_status=$? 6084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6085 (exit $ac_status); }; then 6086 case `/usr/bin/file conftest.$ac_objext` in 6087 *ELF-32*) 6088 HPUX_IA64_MODE="32" 6089 ;; 6090 *ELF-64*) 6091 HPUX_IA64_MODE="64" 6092 ;; 6093 esac 6094 fi 6095 rm -rf conftest* 6096 ;; 6097*-*-irix6*) 6098 # Find out which ABI we are using. 6099 echo '#line 6099 "configure"' > conftest.$ac_ext 6100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6101 (eval $ac_compile) 2>&5 6102 ac_status=$? 6103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6104 (exit $ac_status); }; then 6105 if test "$lt_cv_prog_gnu_ld" = yes; then 6106 case `/usr/bin/file conftest.$ac_objext` in 6107 *32-bit*) 6108 LD="${LD-ld} -melf32bsmip" 6109 ;; 6110 *N32*) 6111 LD="${LD-ld} -melf32bmipn32" 6112 ;; 6113 *64-bit*) 6114 LD="${LD-ld} -melf64bmip" 6115 ;; 6116 esac 6117 else 6118 case `/usr/bin/file conftest.$ac_objext` in 6119 *32-bit*) 6120 LD="${LD-ld} -32" 6121 ;; 6122 *N32*) 6123 LD="${LD-ld} -n32" 6124 ;; 6125 *64-bit*) 6126 LD="${LD-ld} -64" 6127 ;; 6128 esac 6129 fi 6130 fi 6131 rm -rf conftest* 6132 ;; 6133 6134x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6135s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6136 # Find out which ABI we are using. 6137 echo 'int i;' > conftest.$ac_ext 6138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6139 (eval $ac_compile) 2>&5 6140 ac_status=$? 6141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6142 (exit $ac_status); }; then 6143 case `/usr/bin/file conftest.o` in 6144 *32-bit*) 6145 case $host in 6146 x86_64-*kfreebsd*-gnu) 6147 LD="${LD-ld} -m elf_i386_fbsd" 6148 ;; 6149 x86_64-*linux*) 6150 LD="${LD-ld} -m elf_i386" 6151 ;; 6152 ppc64-*linux*|powerpc64-*linux*) 6153 LD="${LD-ld} -m elf32ppclinux" 6154 ;; 6155 s390x-*linux*) 6156 LD="${LD-ld} -m elf_s390" 6157 ;; 6158 sparc64-*linux*) 6159 LD="${LD-ld} -m elf32_sparc" 6160 ;; 6161 esac 6162 ;; 6163 *64-bit*) 6164 case $host in 6165 x86_64-*kfreebsd*-gnu) 6166 LD="${LD-ld} -m elf_x86_64_fbsd" 6167 ;; 6168 x86_64-*linux*) 6169 LD="${LD-ld} -m elf_x86_64" 6170 ;; 6171 ppc*-*linux*|powerpc*-*linux*) 6172 LD="${LD-ld} -m elf64ppc" 6173 ;; 6174 s390*-*linux*|s390*-*tpf*) 6175 LD="${LD-ld} -m elf64_s390" 6176 ;; 6177 sparc*-*linux*) 6178 LD="${LD-ld} -m elf64_sparc" 6179 ;; 6180 esac 6181 ;; 6182 esac 6183 fi 6184 rm -rf conftest* 6185 ;; 6186 6187*-*-sco3.2v5*) 6188 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6189 SAVE_CFLAGS="$CFLAGS" 6190 CFLAGS="$CFLAGS -belf" 6191 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6192$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6193if test "${lt_cv_cc_needs_belf+set}" = set; then 6194 $as_echo_n "(cached) " >&6 6195else 6196 ac_ext=c 6197ac_cpp='$CPP $CPPFLAGS' 6198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6200ac_compiler_gnu=$ac_cv_c_compiler_gnu 6201 6202 cat >conftest.$ac_ext <<_ACEOF 6203/* confdefs.h. */ 6204_ACEOF 6205cat confdefs.h >>conftest.$ac_ext 6206cat >>conftest.$ac_ext <<_ACEOF 6207/* end confdefs.h. */ 6208 6209int 6210main () 6211{ 6212 6213 ; 6214 return 0; 6215} 6216_ACEOF 6217rm -f conftest.$ac_objext conftest$ac_exeext 6218if { (ac_try="$ac_link" 6219case "(($ac_try" in 6220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6221 *) ac_try_echo=$ac_try;; 6222esac 6223eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6224$as_echo "$ac_try_echo") >&5 6225 (eval "$ac_link") 2>conftest.er1 6226 ac_status=$? 6227 grep -v '^ *+' conftest.er1 >conftest.err 6228 rm -f conftest.er1 6229 cat conftest.err >&5 6230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6231 (exit $ac_status); } && { 6232 test -z "$ac_c_werror_flag" || 6233 test ! -s conftest.err 6234 } && test -s conftest$ac_exeext && { 6235 test "$cross_compiling" = yes || 6236 $as_test_x conftest$ac_exeext 6237 }; then 6238 lt_cv_cc_needs_belf=yes 6239else 6240 $as_echo "$as_me: failed program was:" >&5 6241sed 's/^/| /' conftest.$ac_ext >&5 6242 6243 lt_cv_cc_needs_belf=no 6244fi 6245 6246rm -rf conftest.dSYM 6247rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6248 conftest$ac_exeext conftest.$ac_ext 6249 ac_ext=c 6250ac_cpp='$CPP $CPPFLAGS' 6251ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6253ac_compiler_gnu=$ac_cv_c_compiler_gnu 6254 6255fi 6256{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6257$as_echo "$lt_cv_cc_needs_belf" >&6; } 6258 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6259 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6260 CFLAGS="$SAVE_CFLAGS" 6261 fi 6262 ;; 6263sparc*-*solaris*) 6264 # Find out which ABI we are using. 6265 echo 'int i;' > conftest.$ac_ext 6266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6267 (eval $ac_compile) 2>&5 6268 ac_status=$? 6269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6270 (exit $ac_status); }; then 6271 case `/usr/bin/file conftest.o` in 6272 *64-bit*) 6273 case $lt_cv_prog_gnu_ld in 6274 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6275 *) 6276 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6277 LD="${LD-ld} -64" 6278 fi 6279 ;; 6280 esac 6281 ;; 6282 esac 6283 fi 6284 rm -rf conftest* 6285 ;; 6286esac 6287 6288need_locks="$enable_libtool_lock" 6289 6290 6291 case $host_os in 6292 rhapsody* | darwin*) 6293 if test -n "$ac_tool_prefix"; then 6294 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6295set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6296{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6297$as_echo_n "checking for $ac_word... " >&6; } 6298if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 6299 $as_echo_n "(cached) " >&6 6300else 6301 if test -n "$DSYMUTIL"; then 6302 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6303else 6304as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6305for as_dir in $PATH 6306do 6307 IFS=$as_save_IFS 6308 test -z "$as_dir" && as_dir=. 6309 for ac_exec_ext in '' $ac_executable_extensions; do 6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6311 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6312 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6313 break 2 6314 fi 6315done 6316done 6317IFS=$as_save_IFS 6318 6319fi 6320fi 6321DSYMUTIL=$ac_cv_prog_DSYMUTIL 6322if test -n "$DSYMUTIL"; then 6323 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 6324$as_echo "$DSYMUTIL" >&6; } 6325else 6326 { $as_echo "$as_me:$LINENO: result: no" >&5 6327$as_echo "no" >&6; } 6328fi 6329 6330 6331fi 6332if test -z "$ac_cv_prog_DSYMUTIL"; then 6333 ac_ct_DSYMUTIL=$DSYMUTIL 6334 # Extract the first word of "dsymutil", so it can be a program name with args. 6335set dummy dsymutil; ac_word=$2 6336{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6337$as_echo_n "checking for $ac_word... " >&6; } 6338if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 6339 $as_echo_n "(cached) " >&6 6340else 6341 if test -n "$ac_ct_DSYMUTIL"; then 6342 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6343else 6344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6345for as_dir in $PATH 6346do 6347 IFS=$as_save_IFS 6348 test -z "$as_dir" && as_dir=. 6349 for ac_exec_ext in '' $ac_executable_extensions; do 6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6351 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6352 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6353 break 2 6354 fi 6355done 6356done 6357IFS=$as_save_IFS 6358 6359fi 6360fi 6361ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6362if test -n "$ac_ct_DSYMUTIL"; then 6363 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 6364$as_echo "$ac_ct_DSYMUTIL" >&6; } 6365else 6366 { $as_echo "$as_me:$LINENO: result: no" >&5 6367$as_echo "no" >&6; } 6368fi 6369 6370 if test "x$ac_ct_DSYMUTIL" = x; then 6371 DSYMUTIL=":" 6372 else 6373 case $cross_compiling:$ac_tool_warned in 6374yes:) 6375{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6377ac_tool_warned=yes ;; 6378esac 6379 DSYMUTIL=$ac_ct_DSYMUTIL 6380 fi 6381else 6382 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6383fi 6384 6385 if test -n "$ac_tool_prefix"; then 6386 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6387set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6388{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6389$as_echo_n "checking for $ac_word... " >&6; } 6390if test "${ac_cv_prog_NMEDIT+set}" = set; then 6391 $as_echo_n "(cached) " >&6 6392else 6393 if test -n "$NMEDIT"; then 6394 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6395else 6396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6397for as_dir in $PATH 6398do 6399 IFS=$as_save_IFS 6400 test -z "$as_dir" && as_dir=. 6401 for ac_exec_ext in '' $ac_executable_extensions; do 6402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6403 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6404 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6405 break 2 6406 fi 6407done 6408done 6409IFS=$as_save_IFS 6410 6411fi 6412fi 6413NMEDIT=$ac_cv_prog_NMEDIT 6414if test -n "$NMEDIT"; then 6415 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 6416$as_echo "$NMEDIT" >&6; } 6417else 6418 { $as_echo "$as_me:$LINENO: result: no" >&5 6419$as_echo "no" >&6; } 6420fi 6421 6422 6423fi 6424if test -z "$ac_cv_prog_NMEDIT"; then 6425 ac_ct_NMEDIT=$NMEDIT 6426 # Extract the first word of "nmedit", so it can be a program name with args. 6427set dummy nmedit; ac_word=$2 6428{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6429$as_echo_n "checking for $ac_word... " >&6; } 6430if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 6431 $as_echo_n "(cached) " >&6 6432else 6433 if test -n "$ac_ct_NMEDIT"; then 6434 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6435else 6436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6437for as_dir in $PATH 6438do 6439 IFS=$as_save_IFS 6440 test -z "$as_dir" && as_dir=. 6441 for ac_exec_ext in '' $ac_executable_extensions; do 6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6443 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6444 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6445 break 2 6446 fi 6447done 6448done 6449IFS=$as_save_IFS 6450 6451fi 6452fi 6453ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6454if test -n "$ac_ct_NMEDIT"; then 6455 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 6456$as_echo "$ac_ct_NMEDIT" >&6; } 6457else 6458 { $as_echo "$as_me:$LINENO: result: no" >&5 6459$as_echo "no" >&6; } 6460fi 6461 6462 if test "x$ac_ct_NMEDIT" = x; then 6463 NMEDIT=":" 6464 else 6465 case $cross_compiling:$ac_tool_warned in 6466yes:) 6467{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6468$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6469ac_tool_warned=yes ;; 6470esac 6471 NMEDIT=$ac_ct_NMEDIT 6472 fi 6473else 6474 NMEDIT="$ac_cv_prog_NMEDIT" 6475fi 6476 6477 if test -n "$ac_tool_prefix"; then 6478 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6479set dummy ${ac_tool_prefix}lipo; ac_word=$2 6480{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6481$as_echo_n "checking for $ac_word... " >&6; } 6482if test "${ac_cv_prog_LIPO+set}" = set; then 6483 $as_echo_n "(cached) " >&6 6484else 6485 if test -n "$LIPO"; then 6486 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6487else 6488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6489for as_dir in $PATH 6490do 6491 IFS=$as_save_IFS 6492 test -z "$as_dir" && as_dir=. 6493 for ac_exec_ext in '' $ac_executable_extensions; do 6494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6495 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6497 break 2 6498 fi 6499done 6500done 6501IFS=$as_save_IFS 6502 6503fi 6504fi 6505LIPO=$ac_cv_prog_LIPO 6506if test -n "$LIPO"; then 6507 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 6508$as_echo "$LIPO" >&6; } 6509else 6510 { $as_echo "$as_me:$LINENO: result: no" >&5 6511$as_echo "no" >&6; } 6512fi 6513 6514 6515fi 6516if test -z "$ac_cv_prog_LIPO"; then 6517 ac_ct_LIPO=$LIPO 6518 # Extract the first word of "lipo", so it can be a program name with args. 6519set dummy lipo; ac_word=$2 6520{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6521$as_echo_n "checking for $ac_word... " >&6; } 6522if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6523 $as_echo_n "(cached) " >&6 6524else 6525 if test -n "$ac_ct_LIPO"; then 6526 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6527else 6528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6529for as_dir in $PATH 6530do 6531 IFS=$as_save_IFS 6532 test -z "$as_dir" && as_dir=. 6533 for ac_exec_ext in '' $ac_executable_extensions; do 6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6535 ac_cv_prog_ac_ct_LIPO="lipo" 6536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6537 break 2 6538 fi 6539done 6540done 6541IFS=$as_save_IFS 6542 6543fi 6544fi 6545ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6546if test -n "$ac_ct_LIPO"; then 6547 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6548$as_echo "$ac_ct_LIPO" >&6; } 6549else 6550 { $as_echo "$as_me:$LINENO: result: no" >&5 6551$as_echo "no" >&6; } 6552fi 6553 6554 if test "x$ac_ct_LIPO" = x; then 6555 LIPO=":" 6556 else 6557 case $cross_compiling:$ac_tool_warned in 6558yes:) 6559{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6561ac_tool_warned=yes ;; 6562esac 6563 LIPO=$ac_ct_LIPO 6564 fi 6565else 6566 LIPO="$ac_cv_prog_LIPO" 6567fi 6568 6569 if test -n "$ac_tool_prefix"; then 6570 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6571set dummy ${ac_tool_prefix}otool; ac_word=$2 6572{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6573$as_echo_n "checking for $ac_word... " >&6; } 6574if test "${ac_cv_prog_OTOOL+set}" = set; then 6575 $as_echo_n "(cached) " >&6 6576else 6577 if test -n "$OTOOL"; then 6578 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6579else 6580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6581for as_dir in $PATH 6582do 6583 IFS=$as_save_IFS 6584 test -z "$as_dir" && as_dir=. 6585 for ac_exec_ext in '' $ac_executable_extensions; do 6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6587 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6589 break 2 6590 fi 6591done 6592done 6593IFS=$as_save_IFS 6594 6595fi 6596fi 6597OTOOL=$ac_cv_prog_OTOOL 6598if test -n "$OTOOL"; then 6599 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 6600$as_echo "$OTOOL" >&6; } 6601else 6602 { $as_echo "$as_me:$LINENO: result: no" >&5 6603$as_echo "no" >&6; } 6604fi 6605 6606 6607fi 6608if test -z "$ac_cv_prog_OTOOL"; then 6609 ac_ct_OTOOL=$OTOOL 6610 # Extract the first word of "otool", so it can be a program name with args. 6611set dummy otool; ac_word=$2 6612{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6613$as_echo_n "checking for $ac_word... " >&6; } 6614if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6615 $as_echo_n "(cached) " >&6 6616else 6617 if test -n "$ac_ct_OTOOL"; then 6618 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6619else 6620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6621for as_dir in $PATH 6622do 6623 IFS=$as_save_IFS 6624 test -z "$as_dir" && as_dir=. 6625 for ac_exec_ext in '' $ac_executable_extensions; do 6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6627 ac_cv_prog_ac_ct_OTOOL="otool" 6628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6629 break 2 6630 fi 6631done 6632done 6633IFS=$as_save_IFS 6634 6635fi 6636fi 6637ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6638if test -n "$ac_ct_OTOOL"; then 6639 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6640$as_echo "$ac_ct_OTOOL" >&6; } 6641else 6642 { $as_echo "$as_me:$LINENO: result: no" >&5 6643$as_echo "no" >&6; } 6644fi 6645 6646 if test "x$ac_ct_OTOOL" = x; then 6647 OTOOL=":" 6648 else 6649 case $cross_compiling:$ac_tool_warned in 6650yes:) 6651{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6652$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6653ac_tool_warned=yes ;; 6654esac 6655 OTOOL=$ac_ct_OTOOL 6656 fi 6657else 6658 OTOOL="$ac_cv_prog_OTOOL" 6659fi 6660 6661 if test -n "$ac_tool_prefix"; then 6662 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6663set dummy ${ac_tool_prefix}otool64; ac_word=$2 6664{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6665$as_echo_n "checking for $ac_word... " >&6; } 6666if test "${ac_cv_prog_OTOOL64+set}" = set; then 6667 $as_echo_n "(cached) " >&6 6668else 6669 if test -n "$OTOOL64"; then 6670 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6671else 6672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6673for as_dir in $PATH 6674do 6675 IFS=$as_save_IFS 6676 test -z "$as_dir" && as_dir=. 6677 for ac_exec_ext in '' $ac_executable_extensions; do 6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6679 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6680 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6681 break 2 6682 fi 6683done 6684done 6685IFS=$as_save_IFS 6686 6687fi 6688fi 6689OTOOL64=$ac_cv_prog_OTOOL64 6690if test -n "$OTOOL64"; then 6691 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 6692$as_echo "$OTOOL64" >&6; } 6693else 6694 { $as_echo "$as_me:$LINENO: result: no" >&5 6695$as_echo "no" >&6; } 6696fi 6697 6698 6699fi 6700if test -z "$ac_cv_prog_OTOOL64"; then 6701 ac_ct_OTOOL64=$OTOOL64 6702 # Extract the first word of "otool64", so it can be a program name with args. 6703set dummy otool64; ac_word=$2 6704{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6705$as_echo_n "checking for $ac_word... " >&6; } 6706if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6707 $as_echo_n "(cached) " >&6 6708else 6709 if test -n "$ac_ct_OTOOL64"; then 6710 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6711else 6712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6713for as_dir in $PATH 6714do 6715 IFS=$as_save_IFS 6716 test -z "$as_dir" && as_dir=. 6717 for ac_exec_ext in '' $ac_executable_extensions; do 6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6719 ac_cv_prog_ac_ct_OTOOL64="otool64" 6720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6721 break 2 6722 fi 6723done 6724done 6725IFS=$as_save_IFS 6726 6727fi 6728fi 6729ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6730if test -n "$ac_ct_OTOOL64"; then 6731 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6732$as_echo "$ac_ct_OTOOL64" >&6; } 6733else 6734 { $as_echo "$as_me:$LINENO: result: no" >&5 6735$as_echo "no" >&6; } 6736fi 6737 6738 if test "x$ac_ct_OTOOL64" = x; then 6739 OTOOL64=":" 6740 else 6741 case $cross_compiling:$ac_tool_warned in 6742yes:) 6743{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6744$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6745ac_tool_warned=yes ;; 6746esac 6747 OTOOL64=$ac_ct_OTOOL64 6748 fi 6749else 6750 OTOOL64="$ac_cv_prog_OTOOL64" 6751fi 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6780$as_echo_n "checking for -single_module linker flag... " >&6; } 6781if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6782 $as_echo_n "(cached) " >&6 6783else 6784 lt_cv_apple_cc_single_mod=no 6785 if test -z "${LT_MULTI_MODULE}"; then 6786 # By default we will add the -single_module flag. You can override 6787 # by either setting the environment variable LT_MULTI_MODULE 6788 # non-empty at configure time, or by adding -multi_module to the 6789 # link flags. 6790 rm -rf libconftest.dylib* 6791 echo "int foo(void){return 1;}" > conftest.c 6792 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6793-dynamiclib -Wl,-single_module conftest.c" >&5 6794 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6795 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6796 _lt_result=$? 6797 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6798 lt_cv_apple_cc_single_mod=yes 6799 else 6800 cat conftest.err >&5 6801 fi 6802 rm -rf libconftest.dylib* 6803 rm -f conftest.* 6804 fi 6805fi 6806{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6807$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6808 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6809$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6810if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6811 $as_echo_n "(cached) " >&6 6812else 6813 lt_cv_ld_exported_symbols_list=no 6814 save_LDFLAGS=$LDFLAGS 6815 echo "_main" > conftest.sym 6816 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6817 cat >conftest.$ac_ext <<_ACEOF 6818/* confdefs.h. */ 6819_ACEOF 6820cat confdefs.h >>conftest.$ac_ext 6821cat >>conftest.$ac_ext <<_ACEOF 6822/* end confdefs.h. */ 6823 6824int 6825main () 6826{ 6827 6828 ; 6829 return 0; 6830} 6831_ACEOF 6832rm -f conftest.$ac_objext conftest$ac_exeext 6833if { (ac_try="$ac_link" 6834case "(($ac_try" in 6835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6836 *) ac_try_echo=$ac_try;; 6837esac 6838eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6839$as_echo "$ac_try_echo") >&5 6840 (eval "$ac_link") 2>conftest.er1 6841 ac_status=$? 6842 grep -v '^ *+' conftest.er1 >conftest.err 6843 rm -f conftest.er1 6844 cat conftest.err >&5 6845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6846 (exit $ac_status); } && { 6847 test -z "$ac_c_werror_flag" || 6848 test ! -s conftest.err 6849 } && test -s conftest$ac_exeext && { 6850 test "$cross_compiling" = yes || 6851 $as_test_x conftest$ac_exeext 6852 }; then 6853 lt_cv_ld_exported_symbols_list=yes 6854else 6855 $as_echo "$as_me: failed program was:" >&5 6856sed 's/^/| /' conftest.$ac_ext >&5 6857 6858 lt_cv_ld_exported_symbols_list=no 6859fi 6860 6861rm -rf conftest.dSYM 6862rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6863 conftest$ac_exeext conftest.$ac_ext 6864 LDFLAGS="$save_LDFLAGS" 6865 6866fi 6867{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6868$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6869 case $host_os in 6870 rhapsody* | darwin1.[012]) 6871 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6872 darwin1.*) 6873 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6874 darwin*) # darwin 5.x on 6875 # if running on 10.5 or later, the deployment target defaults 6876 # to the OS version, if on x86, and 10.4, the deployment 6877 # target defaults to 10.4. Don't you love it? 6878 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6879 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6880 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6881 10.[012]*) 6882 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6883 10.*) 6884 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6885 esac 6886 ;; 6887 esac 6888 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6889 _lt_dar_single_mod='$single_module' 6890 fi 6891 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6892 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6893 else 6894 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6895 fi 6896 if test "$DSYMUTIL" != ":"; then 6897 _lt_dsymutil='~$DSYMUTIL $lib || :' 6898 else 6899 _lt_dsymutil= 6900 fi 6901 ;; 6902 esac 6903 6904ac_ext=c 6905ac_cpp='$CPP $CPPFLAGS' 6906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6908ac_compiler_gnu=$ac_cv_c_compiler_gnu 6909{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6910$as_echo_n "checking how to run the C preprocessor... " >&6; } 6911# On Suns, sometimes $CPP names a directory. 6912if test -n "$CPP" && test -d "$CPP"; then 6913 CPP= 6914fi 6915if test -z "$CPP"; then 6916 if test "${ac_cv_prog_CPP+set}" = set; then 6917 $as_echo_n "(cached) " >&6 6918else 6919 # Double quotes because CPP needs to be expanded 6920 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6921 do 6922 ac_preproc_ok=false 6923for ac_c_preproc_warn_flag in '' yes 6924do 6925 # Use a header file that comes with gcc, so configuring glibc 6926 # with a fresh cross-compiler works. 6927 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6928 # <limits.h> exists even on freestanding compilers. 6929 # On the NeXT, cc -E runs the code through the compiler's parser, 6930 # not just through cpp. "Syntax error" is here to catch this case. 6931 cat >conftest.$ac_ext <<_ACEOF 6932/* confdefs.h. */ 6933_ACEOF 6934cat confdefs.h >>conftest.$ac_ext 6935cat >>conftest.$ac_ext <<_ACEOF 6936/* end confdefs.h. */ 6937#ifdef __STDC__ 6938# include <limits.h> 6939#else 6940# include <assert.h> 6941#endif 6942 Syntax error 6943_ACEOF 6944if { (ac_try="$ac_cpp conftest.$ac_ext" 6945case "(($ac_try" in 6946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6947 *) ac_try_echo=$ac_try;; 6948esac 6949eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6950$as_echo "$ac_try_echo") >&5 6951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6952 ac_status=$? 6953 grep -v '^ *+' conftest.er1 >conftest.err 6954 rm -f conftest.er1 6955 cat conftest.err >&5 6956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6957 (exit $ac_status); } >/dev/null && { 6958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6959 test ! -s conftest.err 6960 }; then 6961 : 6962else 6963 $as_echo "$as_me: failed program was:" >&5 6964sed 's/^/| /' conftest.$ac_ext >&5 6965 6966 # Broken: fails on valid input. 6967continue 6968fi 6969 6970rm -f conftest.err conftest.$ac_ext 6971 6972 # OK, works on sane cases. Now check whether nonexistent headers 6973 # can be detected and how. 6974 cat >conftest.$ac_ext <<_ACEOF 6975/* confdefs.h. */ 6976_ACEOF 6977cat confdefs.h >>conftest.$ac_ext 6978cat >>conftest.$ac_ext <<_ACEOF 6979/* end confdefs.h. */ 6980#include <ac_nonexistent.h> 6981_ACEOF 6982if { (ac_try="$ac_cpp conftest.$ac_ext" 6983case "(($ac_try" in 6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6985 *) ac_try_echo=$ac_try;; 6986esac 6987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6988$as_echo "$ac_try_echo") >&5 6989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6990 ac_status=$? 6991 grep -v '^ *+' conftest.er1 >conftest.err 6992 rm -f conftest.er1 6993 cat conftest.err >&5 6994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6995 (exit $ac_status); } >/dev/null && { 6996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6997 test ! -s conftest.err 6998 }; then 6999 # Broken: success on invalid input. 7000continue 7001else 7002 $as_echo "$as_me: failed program was:" >&5 7003sed 's/^/| /' conftest.$ac_ext >&5 7004 7005 # Passes both tests. 7006ac_preproc_ok=: 7007break 7008fi 7009 7010rm -f conftest.err conftest.$ac_ext 7011 7012done 7013# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7014rm -f conftest.err conftest.$ac_ext 7015if $ac_preproc_ok; then 7016 break 7017fi 7018 7019 done 7020 ac_cv_prog_CPP=$CPP 7021 7022fi 7023 CPP=$ac_cv_prog_CPP 7024else 7025 ac_cv_prog_CPP=$CPP 7026fi 7027{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 7028$as_echo "$CPP" >&6; } 7029ac_preproc_ok=false 7030for ac_c_preproc_warn_flag in '' yes 7031do 7032 # Use a header file that comes with gcc, so configuring glibc 7033 # with a fresh cross-compiler works. 7034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7035 # <limits.h> exists even on freestanding compilers. 7036 # On the NeXT, cc -E runs the code through the compiler's parser, 7037 # not just through cpp. "Syntax error" is here to catch this case. 7038 cat >conftest.$ac_ext <<_ACEOF 7039/* confdefs.h. */ 7040_ACEOF 7041cat confdefs.h >>conftest.$ac_ext 7042cat >>conftest.$ac_ext <<_ACEOF 7043/* end confdefs.h. */ 7044#ifdef __STDC__ 7045# include <limits.h> 7046#else 7047# include <assert.h> 7048#endif 7049 Syntax error 7050_ACEOF 7051if { (ac_try="$ac_cpp conftest.$ac_ext" 7052case "(($ac_try" in 7053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7054 *) ac_try_echo=$ac_try;; 7055esac 7056eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7057$as_echo "$ac_try_echo") >&5 7058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7059 ac_status=$? 7060 grep -v '^ *+' conftest.er1 >conftest.err 7061 rm -f conftest.er1 7062 cat conftest.err >&5 7063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7064 (exit $ac_status); } >/dev/null && { 7065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7066 test ! -s conftest.err 7067 }; then 7068 : 7069else 7070 $as_echo "$as_me: failed program was:" >&5 7071sed 's/^/| /' conftest.$ac_ext >&5 7072 7073 # Broken: fails on valid input. 7074continue 7075fi 7076 7077rm -f conftest.err conftest.$ac_ext 7078 7079 # OK, works on sane cases. Now check whether nonexistent headers 7080 # can be detected and how. 7081 cat >conftest.$ac_ext <<_ACEOF 7082/* confdefs.h. */ 7083_ACEOF 7084cat confdefs.h >>conftest.$ac_ext 7085cat >>conftest.$ac_ext <<_ACEOF 7086/* end confdefs.h. */ 7087#include <ac_nonexistent.h> 7088_ACEOF 7089if { (ac_try="$ac_cpp conftest.$ac_ext" 7090case "(($ac_try" in 7091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7092 *) ac_try_echo=$ac_try;; 7093esac 7094eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7095$as_echo "$ac_try_echo") >&5 7096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7097 ac_status=$? 7098 grep -v '^ *+' conftest.er1 >conftest.err 7099 rm -f conftest.er1 7100 cat conftest.err >&5 7101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7102 (exit $ac_status); } >/dev/null && { 7103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7104 test ! -s conftest.err 7105 }; then 7106 # Broken: success on invalid input. 7107continue 7108else 7109 $as_echo "$as_me: failed program was:" >&5 7110sed 's/^/| /' conftest.$ac_ext >&5 7111 7112 # Passes both tests. 7113ac_preproc_ok=: 7114break 7115fi 7116 7117rm -f conftest.err conftest.$ac_ext 7118 7119done 7120# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7121rm -f conftest.err conftest.$ac_ext 7122if $ac_preproc_ok; then 7123 : 7124else 7125 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7126$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7127{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7128See \`config.log' for more details." >&5 7129$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7130See \`config.log' for more details." >&2;} 7131 { (exit 1); exit 1; }; }; } 7132fi 7133 7134ac_ext=c 7135ac_cpp='$CPP $CPPFLAGS' 7136ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7137ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7138ac_compiler_gnu=$ac_cv_c_compiler_gnu 7139 7140 7141{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7142$as_echo_n "checking for ANSI C header files... " >&6; } 7143if test "${ac_cv_header_stdc+set}" = set; then 7144 $as_echo_n "(cached) " >&6 7145else 7146 cat >conftest.$ac_ext <<_ACEOF 7147/* confdefs.h. */ 7148_ACEOF 7149cat confdefs.h >>conftest.$ac_ext 7150cat >>conftest.$ac_ext <<_ACEOF 7151/* end confdefs.h. */ 7152#include <stdlib.h> 7153#include <stdarg.h> 7154#include <string.h> 7155#include <float.h> 7156 7157int 7158main () 7159{ 7160 7161 ; 7162 return 0; 7163} 7164_ACEOF 7165rm -f conftest.$ac_objext 7166if { (ac_try="$ac_compile" 7167case "(($ac_try" in 7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7169 *) ac_try_echo=$ac_try;; 7170esac 7171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7172$as_echo "$ac_try_echo") >&5 7173 (eval "$ac_compile") 2>conftest.er1 7174 ac_status=$? 7175 grep -v '^ *+' conftest.er1 >conftest.err 7176 rm -f conftest.er1 7177 cat conftest.err >&5 7178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7179 (exit $ac_status); } && { 7180 test -z "$ac_c_werror_flag" || 7181 test ! -s conftest.err 7182 } && test -s conftest.$ac_objext; then 7183 ac_cv_header_stdc=yes 7184else 7185 $as_echo "$as_me: failed program was:" >&5 7186sed 's/^/| /' conftest.$ac_ext >&5 7187 7188 ac_cv_header_stdc=no 7189fi 7190 7191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7192 7193if test $ac_cv_header_stdc = yes; then 7194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7195 cat >conftest.$ac_ext <<_ACEOF 7196/* confdefs.h. */ 7197_ACEOF 7198cat confdefs.h >>conftest.$ac_ext 7199cat >>conftest.$ac_ext <<_ACEOF 7200/* end confdefs.h. */ 7201#include <string.h> 7202 7203_ACEOF 7204if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7205 $EGREP "memchr" >/dev/null 2>&1; then 7206 : 7207else 7208 ac_cv_header_stdc=no 7209fi 7210rm -f conftest* 7211 7212fi 7213 7214if test $ac_cv_header_stdc = yes; then 7215 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7216 cat >conftest.$ac_ext <<_ACEOF 7217/* confdefs.h. */ 7218_ACEOF 7219cat confdefs.h >>conftest.$ac_ext 7220cat >>conftest.$ac_ext <<_ACEOF 7221/* end confdefs.h. */ 7222#include <stdlib.h> 7223 7224_ACEOF 7225if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7226 $EGREP "free" >/dev/null 2>&1; then 7227 : 7228else 7229 ac_cv_header_stdc=no 7230fi 7231rm -f conftest* 7232 7233fi 7234 7235if test $ac_cv_header_stdc = yes; then 7236 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7237 if test "$cross_compiling" = yes; then 7238 : 7239else 7240 cat >conftest.$ac_ext <<_ACEOF 7241/* confdefs.h. */ 7242_ACEOF 7243cat confdefs.h >>conftest.$ac_ext 7244cat >>conftest.$ac_ext <<_ACEOF 7245/* end confdefs.h. */ 7246#include <ctype.h> 7247#include <stdlib.h> 7248#if ((' ' & 0x0FF) == 0x020) 7249# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7250# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7251#else 7252# define ISLOWER(c) \ 7253 (('a' <= (c) && (c) <= 'i') \ 7254 || ('j' <= (c) && (c) <= 'r') \ 7255 || ('s' <= (c) && (c) <= 'z')) 7256# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7257#endif 7258 7259#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7260int 7261main () 7262{ 7263 int i; 7264 for (i = 0; i < 256; i++) 7265 if (XOR (islower (i), ISLOWER (i)) 7266 || toupper (i) != TOUPPER (i)) 7267 return 2; 7268 return 0; 7269} 7270_ACEOF 7271rm -f conftest$ac_exeext 7272if { (ac_try="$ac_link" 7273case "(($ac_try" in 7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7275 *) ac_try_echo=$ac_try;; 7276esac 7277eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7278$as_echo "$ac_try_echo") >&5 7279 (eval "$ac_link") 2>&5 7280 ac_status=$? 7281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7283 { (case "(($ac_try" in 7284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7285 *) ac_try_echo=$ac_try;; 7286esac 7287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7288$as_echo "$ac_try_echo") >&5 7289 (eval "$ac_try") 2>&5 7290 ac_status=$? 7291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7292 (exit $ac_status); }; }; then 7293 : 7294else 7295 $as_echo "$as_me: program exited with status $ac_status" >&5 7296$as_echo "$as_me: failed program was:" >&5 7297sed 's/^/| /' conftest.$ac_ext >&5 7298 7299( exit $ac_status ) 7300ac_cv_header_stdc=no 7301fi 7302rm -rf conftest.dSYM 7303rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7304fi 7305 7306 7307fi 7308fi 7309{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7310$as_echo "$ac_cv_header_stdc" >&6; } 7311if test $ac_cv_header_stdc = yes; then 7312 7313cat >>confdefs.h <<\_ACEOF 7314#define STDC_HEADERS 1 7315_ACEOF 7316 7317fi 7318 7319# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7330 inttypes.h stdint.h unistd.h 7331do 7332as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7333{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7334$as_echo_n "checking for $ac_header... " >&6; } 7335if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7336 $as_echo_n "(cached) " >&6 7337else 7338 cat >conftest.$ac_ext <<_ACEOF 7339/* confdefs.h. */ 7340_ACEOF 7341cat confdefs.h >>conftest.$ac_ext 7342cat >>conftest.$ac_ext <<_ACEOF 7343/* end confdefs.h. */ 7344$ac_includes_default 7345 7346#include <$ac_header> 7347_ACEOF 7348rm -f conftest.$ac_objext 7349if { (ac_try="$ac_compile" 7350case "(($ac_try" in 7351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7352 *) ac_try_echo=$ac_try;; 7353esac 7354eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7355$as_echo "$ac_try_echo") >&5 7356 (eval "$ac_compile") 2>conftest.er1 7357 ac_status=$? 7358 grep -v '^ *+' conftest.er1 >conftest.err 7359 rm -f conftest.er1 7360 cat conftest.err >&5 7361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7362 (exit $ac_status); } && { 7363 test -z "$ac_c_werror_flag" || 7364 test ! -s conftest.err 7365 } && test -s conftest.$ac_objext; then 7366 eval "$as_ac_Header=yes" 7367else 7368 $as_echo "$as_me: failed program was:" >&5 7369sed 's/^/| /' conftest.$ac_ext >&5 7370 7371 eval "$as_ac_Header=no" 7372fi 7373 7374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7375fi 7376ac_res=`eval 'as_val=${'$as_ac_Header'} 7377 $as_echo "$as_val"'` 7378 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7379$as_echo "$ac_res" >&6; } 7380as_val=`eval 'as_val=${'$as_ac_Header'} 7381 $as_echo "$as_val"'` 7382 if test "x$as_val" = x""yes; then 7383 cat >>confdefs.h <<_ACEOF 7384#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7385_ACEOF 7386 7387fi 7388 7389done 7390 7391 7392 7393for ac_header in dlfcn.h 7394do 7395as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7396{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7397$as_echo_n "checking for $ac_header... " >&6; } 7398if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7399 $as_echo_n "(cached) " >&6 7400else 7401 cat >conftest.$ac_ext <<_ACEOF 7402/* confdefs.h. */ 7403_ACEOF 7404cat confdefs.h >>conftest.$ac_ext 7405cat >>conftest.$ac_ext <<_ACEOF 7406/* end confdefs.h. */ 7407$ac_includes_default 7408 7409#include <$ac_header> 7410_ACEOF 7411rm -f conftest.$ac_objext 7412if { (ac_try="$ac_compile" 7413case "(($ac_try" in 7414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7415 *) ac_try_echo=$ac_try;; 7416esac 7417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7418$as_echo "$ac_try_echo") >&5 7419 (eval "$ac_compile") 2>conftest.er1 7420 ac_status=$? 7421 grep -v '^ *+' conftest.er1 >conftest.err 7422 rm -f conftest.er1 7423 cat conftest.err >&5 7424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7425 (exit $ac_status); } && { 7426 test -z "$ac_c_werror_flag" || 7427 test ! -s conftest.err 7428 } && test -s conftest.$ac_objext; then 7429 eval "$as_ac_Header=yes" 7430else 7431 $as_echo "$as_me: failed program was:" >&5 7432sed 's/^/| /' conftest.$ac_ext >&5 7433 7434 eval "$as_ac_Header=no" 7435fi 7436 7437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7438fi 7439ac_res=`eval 'as_val=${'$as_ac_Header'} 7440 $as_echo "$as_val"'` 7441 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7442$as_echo "$ac_res" >&6; } 7443as_val=`eval 'as_val=${'$as_ac_Header'} 7444 $as_echo "$as_val"'` 7445 if test "x$as_val" = x""yes; then 7446 cat >>confdefs.h <<_ACEOF 7447#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7448_ACEOF 7449 7450fi 7451 7452done 7453 7454 7455 7456# Set options 7457 7458 7459 7460 enable_dlopen=no 7461 7462 7463 7464 # Check whether --enable-shared was given. 7465if test "${enable_shared+set}" = set; then 7466 enableval=$enable_shared; p=${PACKAGE-default} 7467 case $enableval in 7468 yes) enable_shared=yes ;; 7469 no) enable_shared=no ;; 7470 *) 7471 enable_shared=no 7472 # Look at the argument we got. We use all the common list separators. 7473 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7474 for pkg in $enableval; do 7475 IFS="$lt_save_ifs" 7476 if test "X$pkg" = "X$p"; then 7477 enable_shared=yes 7478 fi 7479 done 7480 IFS="$lt_save_ifs" 7481 ;; 7482 esac 7483else 7484 enable_shared=yes 7485fi 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 # Check whether --enable-static was given. 7496if test "${enable_static+set}" = set; then 7497 enableval=$enable_static; p=${PACKAGE-default} 7498 case $enableval in 7499 yes) enable_static=yes ;; 7500 no) enable_static=no ;; 7501 *) 7502 enable_static=no 7503 # Look at the argument we got. We use all the common list separators. 7504 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7505 for pkg in $enableval; do 7506 IFS="$lt_save_ifs" 7507 if test "X$pkg" = "X$p"; then 7508 enable_static=yes 7509 fi 7510 done 7511 IFS="$lt_save_ifs" 7512 ;; 7513 esac 7514else 7515 enable_static=yes 7516fi 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527# Check whether --with-pic was given. 7528if test "${with_pic+set}" = set; then 7529 withval=$with_pic; pic_mode="$withval" 7530else 7531 pic_mode=default 7532fi 7533 7534 7535test -z "$pic_mode" && pic_mode=default 7536 7537 7538 7539 7540 7541 7542 7543 # Check whether --enable-fast-install was given. 7544if test "${enable_fast_install+set}" = set; then 7545 enableval=$enable_fast_install; p=${PACKAGE-default} 7546 case $enableval in 7547 yes) enable_fast_install=yes ;; 7548 no) enable_fast_install=no ;; 7549 *) 7550 enable_fast_install=no 7551 # Look at the argument we got. We use all the common list separators. 7552 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7553 for pkg in $enableval; do 7554 IFS="$lt_save_ifs" 7555 if test "X$pkg" = "X$p"; then 7556 enable_fast_install=yes 7557 fi 7558 done 7559 IFS="$lt_save_ifs" 7560 ;; 7561 esac 7562else 7563 enable_fast_install=yes 7564fi 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576# This can be used to rebuild libtool when needed 7577LIBTOOL_DEPS="$ltmain" 7578 7579# Always use our own libtool. 7580LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606test -z "$LN_S" && LN_S="ln -s" 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621if test -n "${ZSH_VERSION+set}" ; then 7622 setopt NO_GLOB_SUBST 7623fi 7624 7625{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7626$as_echo_n "checking for objdir... " >&6; } 7627if test "${lt_cv_objdir+set}" = set; then 7628 $as_echo_n "(cached) " >&6 7629else 7630 rm -f .libs 2>/dev/null 7631mkdir .libs 2>/dev/null 7632if test -d .libs; then 7633 lt_cv_objdir=.libs 7634else 7635 # MS-DOS does not allow filenames that begin with a dot. 7636 lt_cv_objdir=_libs 7637fi 7638rmdir .libs 2>/dev/null 7639fi 7640{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7641$as_echo "$lt_cv_objdir" >&6; } 7642objdir=$lt_cv_objdir 7643 7644 7645 7646 7647 7648cat >>confdefs.h <<_ACEOF 7649#define LT_OBJDIR "$lt_cv_objdir/" 7650_ACEOF 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668case $host_os in 7669aix3*) 7670 # AIX sometimes has problems with the GCC collect2 program. For some 7671 # reason, if we set the COLLECT_NAMES environment variable, the problems 7672 # vanish in a puff of smoke. 7673 if test "X${COLLECT_NAMES+set}" != Xset; then 7674 COLLECT_NAMES= 7675 export COLLECT_NAMES 7676 fi 7677 ;; 7678esac 7679 7680# Sed substitution that helps us do robust quoting. It backslashifies 7681# metacharacters that are still active within double-quoted strings. 7682sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7683 7684# Same as above, but do not quote variable references. 7685double_quote_subst='s/\(["`\\]\)/\\\1/g' 7686 7687# Sed substitution to delay expansion of an escaped shell variable in a 7688# double_quote_subst'ed string. 7689delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7690 7691# Sed substitution to delay expansion of an escaped single quote. 7692delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7693 7694# Sed substitution to avoid accidental globbing in evaled expressions 7695no_glob_subst='s/\*/\\\*/g' 7696 7697# Global variables: 7698ofile=libtool 7699can_build_shared=yes 7700 7701# All known linkers require a `.a' archive for static linking (except MSVC, 7702# which needs '.lib'). 7703libext=a 7704 7705with_gnu_ld="$lt_cv_prog_gnu_ld" 7706 7707old_CC="$CC" 7708old_CFLAGS="$CFLAGS" 7709 7710# Set sane defaults for various variables 7711test -z "$CC" && CC=cc 7712test -z "$LTCC" && LTCC=$CC 7713test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7714test -z "$LD" && LD=ld 7715test -z "$ac_objext" && ac_objext=o 7716 7717for cc_temp in $compiler""; do 7718 case $cc_temp in 7719 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7720 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7721 \-*) ;; 7722 *) break;; 7723 esac 7724done 7725cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7726 7727 7728# Only perform the check for file, if the check method requires it 7729test -z "$MAGIC_CMD" && MAGIC_CMD=file 7730case $deplibs_check_method in 7731file_magic*) 7732 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7733 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7734$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7735if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7736 $as_echo_n "(cached) " >&6 7737else 7738 case $MAGIC_CMD in 7739[\\/*] | ?:[\\/]*) 7740 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7741 ;; 7742*) 7743 lt_save_MAGIC_CMD="$MAGIC_CMD" 7744 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7745 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7746 for ac_dir in $ac_dummy; do 7747 IFS="$lt_save_ifs" 7748 test -z "$ac_dir" && ac_dir=. 7749 if test -f $ac_dir/${ac_tool_prefix}file; then 7750 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7751 if test -n "$file_magic_test_file"; then 7752 case $deplibs_check_method in 7753 "file_magic "*) 7754 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7755 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7756 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7757 $EGREP "$file_magic_regex" > /dev/null; then 7758 : 7759 else 7760 cat <<_LT_EOF 1>&2 7761 7762*** Warning: the command libtool uses to detect shared libraries, 7763*** $file_magic_cmd, produces output that libtool cannot recognize. 7764*** The result is that libtool may fail to recognize shared libraries 7765*** as such. This will affect the creation of libtool libraries that 7766*** depend on shared libraries, but programs linked with such libtool 7767*** libraries will work regardless of this problem. Nevertheless, you 7768*** may want to report the problem to your system manager and/or to 7769*** bug-libtool@gnu.org 7770 7771_LT_EOF 7772 fi ;; 7773 esac 7774 fi 7775 break 7776 fi 7777 done 7778 IFS="$lt_save_ifs" 7779 MAGIC_CMD="$lt_save_MAGIC_CMD" 7780 ;; 7781esac 7782fi 7783 7784MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7785if test -n "$MAGIC_CMD"; then 7786 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7787$as_echo "$MAGIC_CMD" >&6; } 7788else 7789 { $as_echo "$as_me:$LINENO: result: no" >&5 7790$as_echo "no" >&6; } 7791fi 7792 7793 7794 7795 7796 7797if test -z "$lt_cv_path_MAGIC_CMD"; then 7798 if test -n "$ac_tool_prefix"; then 7799 { $as_echo "$as_me:$LINENO: checking for file" >&5 7800$as_echo_n "checking for file... " >&6; } 7801if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7802 $as_echo_n "(cached) " >&6 7803else 7804 case $MAGIC_CMD in 7805[\\/*] | ?:[\\/]*) 7806 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7807 ;; 7808*) 7809 lt_save_MAGIC_CMD="$MAGIC_CMD" 7810 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7811 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7812 for ac_dir in $ac_dummy; do 7813 IFS="$lt_save_ifs" 7814 test -z "$ac_dir" && ac_dir=. 7815 if test -f $ac_dir/file; then 7816 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7817 if test -n "$file_magic_test_file"; then 7818 case $deplibs_check_method in 7819 "file_magic "*) 7820 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7821 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7822 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7823 $EGREP "$file_magic_regex" > /dev/null; then 7824 : 7825 else 7826 cat <<_LT_EOF 1>&2 7827 7828*** Warning: the command libtool uses to detect shared libraries, 7829*** $file_magic_cmd, produces output that libtool cannot recognize. 7830*** The result is that libtool may fail to recognize shared libraries 7831*** as such. This will affect the creation of libtool libraries that 7832*** depend on shared libraries, but programs linked with such libtool 7833*** libraries will work regardless of this problem. Nevertheless, you 7834*** may want to report the problem to your system manager and/or to 7835*** bug-libtool@gnu.org 7836 7837_LT_EOF 7838 fi ;; 7839 esac 7840 fi 7841 break 7842 fi 7843 done 7844 IFS="$lt_save_ifs" 7845 MAGIC_CMD="$lt_save_MAGIC_CMD" 7846 ;; 7847esac 7848fi 7849 7850MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7851if test -n "$MAGIC_CMD"; then 7852 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7853$as_echo "$MAGIC_CMD" >&6; } 7854else 7855 { $as_echo "$as_me:$LINENO: result: no" >&5 7856$as_echo "no" >&6; } 7857fi 7858 7859 7860 else 7861 MAGIC_CMD=: 7862 fi 7863fi 7864 7865 fi 7866 ;; 7867esac 7868 7869# Use C for the default configuration in the libtool script 7870 7871lt_save_CC="$CC" 7872ac_ext=c 7873ac_cpp='$CPP $CPPFLAGS' 7874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7876ac_compiler_gnu=$ac_cv_c_compiler_gnu 7877 7878 7879# Source file extension for C test sources. 7880ac_ext=c 7881 7882# Object file extension for compiled C test sources. 7883objext=o 7884objext=$objext 7885 7886# Code to be used in simple compile tests 7887lt_simple_compile_test_code="int some_variable = 0;" 7888 7889# Code to be used in simple link tests 7890lt_simple_link_test_code='int main(){return(0);}' 7891 7892 7893 7894 7895 7896 7897 7898# If no C compiler was specified, use CC. 7899LTCC=${LTCC-"$CC"} 7900 7901# If no C compiler flags were specified, use CFLAGS. 7902LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7903 7904# Allow CC to be a program name with arguments. 7905compiler=$CC 7906 7907# Save the default compiler, since it gets overwritten when the other 7908# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7909compiler_DEFAULT=$CC 7910 7911# save warnings/boilerplate of simple test code 7912ac_outfile=conftest.$ac_objext 7913echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7914eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7915_lt_compiler_boilerplate=`cat conftest.err` 7916$RM conftest* 7917 7918ac_outfile=conftest.$ac_objext 7919echo "$lt_simple_link_test_code" >conftest.$ac_ext 7920eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7921_lt_linker_boilerplate=`cat conftest.err` 7922$RM -r conftest* 7923 7924 7925if test -n "$compiler"; then 7926 7927lt_prog_compiler_no_builtin_flag= 7928 7929if test "$GCC" = yes; then 7930 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7931 7932 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7933$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7934if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7935 $as_echo_n "(cached) " >&6 7936else 7937 lt_cv_prog_compiler_rtti_exceptions=no 7938 ac_outfile=conftest.$ac_objext 7939 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7940 lt_compiler_flag="-fno-rtti -fno-exceptions" 7941 # Insert the option either (1) after the last *FLAGS variable, or 7942 # (2) before a word containing "conftest.", or (3) at the end. 7943 # Note that $ac_compile itself does not contain backslashes and begins 7944 # with a dollar sign (not a hyphen), so the echo should work correctly. 7945 # The option is referenced via a variable to avoid confusing sed. 7946 lt_compile=`echo "$ac_compile" | $SED \ 7947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7949 -e 's:$: $lt_compiler_flag:'` 7950 (eval echo "\"\$as_me:7950: $lt_compile\"" >&5) 7951 (eval "$lt_compile" 2>conftest.err) 7952 ac_status=$? 7953 cat conftest.err >&5 7954 echo "$as_me:7954: \$? = $ac_status" >&5 7955 if (exit $ac_status) && test -s "$ac_outfile"; then 7956 # The compiler can only warn and ignore the option if not recognized 7957 # So say no if there are warnings other than the usual output. 7958 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7959 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7960 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7961 lt_cv_prog_compiler_rtti_exceptions=yes 7962 fi 7963 fi 7964 $RM conftest* 7965 7966fi 7967{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7968$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7969 7970if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7971 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7972else 7973 : 7974fi 7975 7976fi 7977 7978 7979 7980 7981 7982 7983 lt_prog_compiler_wl= 7984lt_prog_compiler_pic= 7985lt_prog_compiler_static= 7986 7987{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7988$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7989 7990 if test "$GCC" = yes; then 7991 lt_prog_compiler_wl='-Wl,' 7992 lt_prog_compiler_static='-static' 7993 7994 case $host_os in 7995 aix*) 7996 # All AIX code is PIC. 7997 if test "$host_cpu" = ia64; then 7998 # AIX 5 now supports IA64 processor 7999 lt_prog_compiler_static='-Bstatic' 8000 fi 8001 ;; 8002 8003 amigaos*) 8004 case $host_cpu in 8005 powerpc) 8006 # see comment about AmigaOS4 .so support 8007 lt_prog_compiler_pic='-fPIC' 8008 ;; 8009 m68k) 8010 # FIXME: we need at least 68020 code to build shared libraries, but 8011 # adding the `-m68020' flag to GCC prevents building anything better, 8012 # like `-m68040'. 8013 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8014 ;; 8015 esac 8016 ;; 8017 8018 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8019 # PIC is the default for these OSes. 8020 ;; 8021 8022 mingw* | cygwin* | pw32* | os2* | cegcc*) 8023 # This hack is so that the source file can tell whether it is being 8024 # built for inclusion in a dll (and should export symbols for example). 8025 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8026 # (--disable-auto-import) libraries 8027 lt_prog_compiler_pic='-DDLL_EXPORT' 8028 ;; 8029 8030 darwin* | rhapsody*) 8031 # PIC is the default on this platform 8032 # Common symbols not allowed in MH_DYLIB files 8033 lt_prog_compiler_pic='-fno-common' 8034 ;; 8035 8036 hpux*) 8037 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8038 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8039 # sets the default TLS model and affects inlining. 8040 case $host_cpu in 8041 hppa*64*) 8042 # +Z the default 8043 ;; 8044 *) 8045 lt_prog_compiler_pic='-fPIC' 8046 ;; 8047 esac 8048 ;; 8049 8050 interix[3-9]*) 8051 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8052 # Instead, we relocate shared libraries at runtime. 8053 ;; 8054 8055 msdosdjgpp*) 8056 # Just because we use GCC doesn't mean we suddenly get shared libraries 8057 # on systems that don't support them. 8058 lt_prog_compiler_can_build_shared=no 8059 enable_shared=no 8060 ;; 8061 8062 *nto* | *qnx*) 8063 # QNX uses GNU C++, but need to define -shared option too, otherwise 8064 # it will coredump. 8065 lt_prog_compiler_pic='-fPIC -shared' 8066 ;; 8067 8068 sysv4*MP*) 8069 if test -d /usr/nec; then 8070 lt_prog_compiler_pic=-Kconform_pic 8071 fi 8072 ;; 8073 8074 *) 8075 lt_prog_compiler_pic='-fPIC' 8076 ;; 8077 esac 8078 else 8079 # PORTME Check for flag to pass linker flags through the system compiler. 8080 case $host_os in 8081 aix*) 8082 lt_prog_compiler_wl='-Wl,' 8083 if test "$host_cpu" = ia64; then 8084 # AIX 5 now supports IA64 processor 8085 lt_prog_compiler_static='-Bstatic' 8086 else 8087 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8088 fi 8089 ;; 8090 8091 mingw* | cygwin* | pw32* | os2* | cegcc*) 8092 # This hack is so that the source file can tell whether it is being 8093 # built for inclusion in a dll (and should export symbols for example). 8094 lt_prog_compiler_pic='-DDLL_EXPORT' 8095 ;; 8096 8097 hpux9* | hpux10* | hpux11*) 8098 lt_prog_compiler_wl='-Wl,' 8099 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8100 # not for PA HP-UX. 8101 case $host_cpu in 8102 hppa*64*|ia64*) 8103 # +Z the default 8104 ;; 8105 *) 8106 lt_prog_compiler_pic='+Z' 8107 ;; 8108 esac 8109 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8110 lt_prog_compiler_static='${wl}-a ${wl}archive' 8111 ;; 8112 8113 irix5* | irix6* | nonstopux*) 8114 lt_prog_compiler_wl='-Wl,' 8115 # PIC (with -KPIC) is the default. 8116 lt_prog_compiler_static='-non_shared' 8117 ;; 8118 8119 linux* | k*bsd*-gnu) 8120 case $cc_basename in 8121 # old Intel for x86_64 which still supported -KPIC. 8122 ecc*) 8123 lt_prog_compiler_wl='-Wl,' 8124 lt_prog_compiler_pic='-KPIC' 8125 lt_prog_compiler_static='-static' 8126 ;; 8127 # icc used to be incompatible with GCC. 8128 # ICC 10 doesn't accept -KPIC any more. 8129 icc* | ifort*) 8130 lt_prog_compiler_wl='-Wl,' 8131 lt_prog_compiler_pic='-fPIC' 8132 lt_prog_compiler_static='-static' 8133 ;; 8134 # Lahey Fortran 8.1. 8135 lf95*) 8136 lt_prog_compiler_wl='-Wl,' 8137 lt_prog_compiler_pic='--shared' 8138 lt_prog_compiler_static='--static' 8139 ;; 8140 pgcc* | pgf77* | pgf90* | pgf95*) 8141 # Portland Group compilers (*not* the Pentium gcc compiler, 8142 # which looks to be a dead project) 8143 lt_prog_compiler_wl='-Wl,' 8144 lt_prog_compiler_pic='-fpic' 8145 lt_prog_compiler_static='-Bstatic' 8146 ;; 8147 ccc*) 8148 lt_prog_compiler_wl='-Wl,' 8149 # All Alpha code is PIC. 8150 lt_prog_compiler_static='-non_shared' 8151 ;; 8152 xl*) 8153 # IBM XL C 8.0/Fortran 10.1 on PPC 8154 lt_prog_compiler_wl='-Wl,' 8155 lt_prog_compiler_pic='-qpic' 8156 lt_prog_compiler_static='-qstaticlink' 8157 ;; 8158 *) 8159 case `$CC -V 2>&1 | sed 5q` in 8160 *Sun\ C*) 8161 # Sun C 5.9 8162 lt_prog_compiler_pic='-KPIC' 8163 lt_prog_compiler_static='-Bstatic' 8164 lt_prog_compiler_wl='-Wl,' 8165 ;; 8166 *Sun\ F*) 8167 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8168 lt_prog_compiler_pic='-KPIC' 8169 lt_prog_compiler_static='-Bstatic' 8170 lt_prog_compiler_wl='' 8171 ;; 8172 esac 8173 ;; 8174 esac 8175 ;; 8176 8177 newsos6) 8178 lt_prog_compiler_pic='-KPIC' 8179 lt_prog_compiler_static='-Bstatic' 8180 ;; 8181 8182 *nto* | *qnx*) 8183 # QNX uses GNU C++, but need to define -shared option too, otherwise 8184 # it will coredump. 8185 lt_prog_compiler_pic='-fPIC -shared' 8186 ;; 8187 8188 osf3* | osf4* | osf5*) 8189 lt_prog_compiler_wl='-Wl,' 8190 # All OSF/1 code is PIC. 8191 lt_prog_compiler_static='-non_shared' 8192 ;; 8193 8194 rdos*) 8195 lt_prog_compiler_static='-non_shared' 8196 ;; 8197 8198 solaris*) 8199 lt_prog_compiler_pic='-KPIC' 8200 lt_prog_compiler_static='-Bstatic' 8201 case $cc_basename in 8202 f77* | f90* | f95*) 8203 lt_prog_compiler_wl='-Qoption ld ';; 8204 *) 8205 lt_prog_compiler_wl='-Wl,';; 8206 esac 8207 ;; 8208 8209 sunos4*) 8210 lt_prog_compiler_wl='-Qoption ld ' 8211 lt_prog_compiler_pic='-PIC' 8212 lt_prog_compiler_static='-Bstatic' 8213 ;; 8214 8215 sysv4 | sysv4.2uw2* | sysv4.3*) 8216 lt_prog_compiler_wl='-Wl,' 8217 lt_prog_compiler_pic='-KPIC' 8218 lt_prog_compiler_static='-Bstatic' 8219 ;; 8220 8221 sysv4*MP*) 8222 if test -d /usr/nec ;then 8223 lt_prog_compiler_pic='-Kconform_pic' 8224 lt_prog_compiler_static='-Bstatic' 8225 fi 8226 ;; 8227 8228 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8229 lt_prog_compiler_wl='-Wl,' 8230 lt_prog_compiler_pic='-KPIC' 8231 lt_prog_compiler_static='-Bstatic' 8232 ;; 8233 8234 unicos*) 8235 lt_prog_compiler_wl='-Wl,' 8236 lt_prog_compiler_can_build_shared=no 8237 ;; 8238 8239 uts4*) 8240 lt_prog_compiler_pic='-pic' 8241 lt_prog_compiler_static='-Bstatic' 8242 ;; 8243 8244 *) 8245 lt_prog_compiler_can_build_shared=no 8246 ;; 8247 esac 8248 fi 8249 8250case $host_os in 8251 # For platforms which do not support PIC, -DPIC is meaningless: 8252 *djgpp*) 8253 lt_prog_compiler_pic= 8254 ;; 8255 *) 8256 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8257 ;; 8258esac 8259{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8260$as_echo "$lt_prog_compiler_pic" >&6; } 8261 8262 8263 8264 8265 8266 8267# 8268# Check to make sure the PIC flag actually works. 8269# 8270if test -n "$lt_prog_compiler_pic"; then 8271 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8272$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8273if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8274 $as_echo_n "(cached) " >&6 8275else 8276 lt_cv_prog_compiler_pic_works=no 8277 ac_outfile=conftest.$ac_objext 8278 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8279 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8280 # Insert the option either (1) after the last *FLAGS variable, or 8281 # (2) before a word containing "conftest.", or (3) at the end. 8282 # Note that $ac_compile itself does not contain backslashes and begins 8283 # with a dollar sign (not a hyphen), so the echo should work correctly. 8284 # The option is referenced via a variable to avoid confusing sed. 8285 lt_compile=`echo "$ac_compile" | $SED \ 8286 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8287 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8288 -e 's:$: $lt_compiler_flag:'` 8289 (eval echo "\"\$as_me:8289: $lt_compile\"" >&5) 8290 (eval "$lt_compile" 2>conftest.err) 8291 ac_status=$? 8292 cat conftest.err >&5 8293 echo "$as_me:8293: \$? = $ac_status" >&5 8294 if (exit $ac_status) && test -s "$ac_outfile"; then 8295 # The compiler can only warn and ignore the option if not recognized 8296 # So say no if there are warnings other than the usual output. 8297 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8298 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8299 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8300 lt_cv_prog_compiler_pic_works=yes 8301 fi 8302 fi 8303 $RM conftest* 8304 8305fi 8306{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8307$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8308 8309if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8310 case $lt_prog_compiler_pic in 8311 "" | " "*) ;; 8312 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8313 esac 8314else 8315 lt_prog_compiler_pic= 8316 lt_prog_compiler_can_build_shared=no 8317fi 8318 8319fi 8320 8321 8322 8323 8324 8325 8326# 8327# Check to make sure the static flag actually works. 8328# 8329wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8330{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8331$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8332if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8333 $as_echo_n "(cached) " >&6 8334else 8335 lt_cv_prog_compiler_static_works=no 8336 save_LDFLAGS="$LDFLAGS" 8337 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8338 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8339 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8340 # The linker can only warn and ignore the option if not recognized 8341 # So say no if there are warnings 8342 if test -s conftest.err; then 8343 # Append any errors to the config.log. 8344 cat conftest.err 1>&5 8345 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8346 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8347 if diff conftest.exp conftest.er2 >/dev/null; then 8348 lt_cv_prog_compiler_static_works=yes 8349 fi 8350 else 8351 lt_cv_prog_compiler_static_works=yes 8352 fi 8353 fi 8354 $RM -r conftest* 8355 LDFLAGS="$save_LDFLAGS" 8356 8357fi 8358{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8359$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8360 8361if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8362 : 8363else 8364 lt_prog_compiler_static= 8365fi 8366 8367 8368 8369 8370 8371 8372 8373 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8374$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8375if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8376 $as_echo_n "(cached) " >&6 8377else 8378 lt_cv_prog_compiler_c_o=no 8379 $RM -r conftest 2>/dev/null 8380 mkdir conftest 8381 cd conftest 8382 mkdir out 8383 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8384 8385 lt_compiler_flag="-o out/conftest2.$ac_objext" 8386 # Insert the option either (1) after the last *FLAGS variable, or 8387 # (2) before a word containing "conftest.", or (3) at the end. 8388 # Note that $ac_compile itself does not contain backslashes and begins 8389 # with a dollar sign (not a hyphen), so the echo should work correctly. 8390 lt_compile=`echo "$ac_compile" | $SED \ 8391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8393 -e 's:$: $lt_compiler_flag:'` 8394 (eval echo "\"\$as_me:8394: $lt_compile\"" >&5) 8395 (eval "$lt_compile" 2>out/conftest.err) 8396 ac_status=$? 8397 cat out/conftest.err >&5 8398 echo "$as_me:8398: \$? = $ac_status" >&5 8399 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8400 then 8401 # The compiler can only warn and ignore the option if not recognized 8402 # So say no if there are warnings 8403 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8404 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8405 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8406 lt_cv_prog_compiler_c_o=yes 8407 fi 8408 fi 8409 chmod u+w . 2>&5 8410 $RM conftest* 8411 # SGI C++ compiler will create directory out/ii_files/ for 8412 # template instantiation 8413 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8414 $RM out/* && rmdir out 8415 cd .. 8416 $RM -r conftest 8417 $RM conftest* 8418 8419fi 8420{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8421$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8422 8423 8424 8425 8426 8427 8428 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8429$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8430if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8431 $as_echo_n "(cached) " >&6 8432else 8433 lt_cv_prog_compiler_c_o=no 8434 $RM -r conftest 2>/dev/null 8435 mkdir conftest 8436 cd conftest 8437 mkdir out 8438 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8439 8440 lt_compiler_flag="-o out/conftest2.$ac_objext" 8441 # Insert the option either (1) after the last *FLAGS variable, or 8442 # (2) before a word containing "conftest.", or (3) at the end. 8443 # Note that $ac_compile itself does not contain backslashes and begins 8444 # with a dollar sign (not a hyphen), so the echo should work correctly. 8445 lt_compile=`echo "$ac_compile" | $SED \ 8446 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8447 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8448 -e 's:$: $lt_compiler_flag:'` 8449 (eval echo "\"\$as_me:8449: $lt_compile\"" >&5) 8450 (eval "$lt_compile" 2>out/conftest.err) 8451 ac_status=$? 8452 cat out/conftest.err >&5 8453 echo "$as_me:8453: \$? = $ac_status" >&5 8454 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8455 then 8456 # The compiler can only warn and ignore the option if not recognized 8457 # So say no if there are warnings 8458 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8459 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8460 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8461 lt_cv_prog_compiler_c_o=yes 8462 fi 8463 fi 8464 chmod u+w . 2>&5 8465 $RM conftest* 8466 # SGI C++ compiler will create directory out/ii_files/ for 8467 # template instantiation 8468 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8469 $RM out/* && rmdir out 8470 cd .. 8471 $RM -r conftest 8472 $RM conftest* 8473 8474fi 8475{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8476$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8477 8478 8479 8480 8481hard_links="nottested" 8482if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8483 # do not overwrite the value of need_locks provided by the user 8484 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8485$as_echo_n "checking if we can lock with hard links... " >&6; } 8486 hard_links=yes 8487 $RM conftest* 8488 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8489 touch conftest.a 8490 ln conftest.a conftest.b 2>&5 || hard_links=no 8491 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8492 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8493$as_echo "$hard_links" >&6; } 8494 if test "$hard_links" = no; then 8495 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8496$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8497 need_locks=warn 8498 fi 8499else 8500 need_locks=no 8501fi 8502 8503 8504 8505 8506 8507 8508 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8509$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8510 8511 runpath_var= 8512 allow_undefined_flag= 8513 always_export_symbols=no 8514 archive_cmds= 8515 archive_expsym_cmds= 8516 compiler_needs_object=no 8517 enable_shared_with_static_runtimes=no 8518 export_dynamic_flag_spec= 8519 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8520 hardcode_automatic=no 8521 hardcode_direct=no 8522 hardcode_direct_absolute=no 8523 hardcode_libdir_flag_spec= 8524 hardcode_libdir_flag_spec_ld= 8525 hardcode_libdir_separator= 8526 hardcode_minus_L=no 8527 hardcode_shlibpath_var=unsupported 8528 inherit_rpath=no 8529 link_all_deplibs=unknown 8530 module_cmds= 8531 module_expsym_cmds= 8532 old_archive_from_new_cmds= 8533 old_archive_from_expsyms_cmds= 8534 thread_safe_flag_spec= 8535 whole_archive_flag_spec= 8536 # include_expsyms should be a list of space-separated symbols to be *always* 8537 # included in the symbol list 8538 include_expsyms= 8539 # exclude_expsyms can be an extended regexp of symbols to exclude 8540 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8541 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8542 # as well as any symbol that contains `d'. 8543 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8544 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8545 # platforms (ab)use it in PIC code, but their linkers get confused if 8546 # the symbol is explicitly referenced. Since portable code cannot 8547 # rely on this symbol name, it's probably fine to never include it in 8548 # preloaded symbol tables. 8549 # Exclude shared library initialization/finalization symbols. 8550 extract_expsyms_cmds= 8551 8552 case $host_os in 8553 cygwin* | mingw* | pw32* | cegcc*) 8554 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8555 # When not using gcc, we currently assume that we are using 8556 # Microsoft Visual C++. 8557 if test "$GCC" != yes; then 8558 with_gnu_ld=no 8559 fi 8560 ;; 8561 interix*) 8562 # we just hope/assume this is gcc and not c89 (= MSVC++) 8563 with_gnu_ld=yes 8564 ;; 8565 openbsd*) 8566 with_gnu_ld=no 8567 ;; 8568 esac 8569 8570 ld_shlibs=yes 8571 if test "$with_gnu_ld" = yes; then 8572 # If archive_cmds runs LD, not CC, wlarc should be empty 8573 wlarc='${wl}' 8574 8575 # Set some defaults for GNU ld with shared library support. These 8576 # are reset later if shared libraries are not supported. Putting them 8577 # here allows them to be overridden if necessary. 8578 runpath_var=LD_RUN_PATH 8579 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8580 export_dynamic_flag_spec='${wl}--export-dynamic' 8581 # ancient GNU ld didn't support --whole-archive et. al. 8582 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8583 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8584 else 8585 whole_archive_flag_spec= 8586 fi 8587 supports_anon_versioning=no 8588 case `$LD -v 2>&1` in 8589 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8590 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8591 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8592 *\ 2.11.*) ;; # other 2.11 versions 8593 *) supports_anon_versioning=yes ;; 8594 esac 8595 8596 # See if GNU ld supports shared libraries. 8597 case $host_os in 8598 aix[3-9]*) 8599 # On AIX/PPC, the GNU linker is very broken 8600 if test "$host_cpu" != ia64; then 8601 ld_shlibs=no 8602 cat <<_LT_EOF 1>&2 8603 8604*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8605*** to be unable to reliably create shared libraries on AIX. 8606*** Therefore, libtool is disabling shared libraries support. If you 8607*** really care for shared libraries, you may want to modify your PATH 8608*** so that a non-GNU linker is found, and then restart. 8609 8610_LT_EOF 8611 fi 8612 ;; 8613 8614 amigaos*) 8615 case $host_cpu in 8616 powerpc) 8617 # see comment about AmigaOS4 .so support 8618 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8619 archive_expsym_cmds='' 8620 ;; 8621 m68k) 8622 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 8623 hardcode_libdir_flag_spec='-L$libdir' 8624 hardcode_minus_L=yes 8625 ;; 8626 esac 8627 ;; 8628 8629 beos*) 8630 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8631 allow_undefined_flag=unsupported 8632 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8633 # support --undefined. This deserves some investigation. FIXME 8634 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8635 else 8636 ld_shlibs=no 8637 fi 8638 ;; 8639 8640 cygwin* | mingw* | pw32* | cegcc*) 8641 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8642 # as there is no search path for DLLs. 8643 hardcode_libdir_flag_spec='-L$libdir' 8644 allow_undefined_flag=unsupported 8645 always_export_symbols=no 8646 enable_shared_with_static_runtimes=yes 8647 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8648 8649 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8651 # If the export-symbols file already is a .def file (1st line 8652 # is EXPORTS), use it as is; otherwise, prepend... 8653 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8654 cp $export_symbols $output_objdir/$soname.def; 8655 else 8656 echo EXPORTS > $output_objdir/$soname.def; 8657 cat $export_symbols >> $output_objdir/$soname.def; 8658 fi~ 8659 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8660 else 8661 ld_shlibs=no 8662 fi 8663 ;; 8664 8665 interix[3-9]*) 8666 hardcode_direct=no 8667 hardcode_shlibpath_var=no 8668 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8669 export_dynamic_flag_spec='${wl}-E' 8670 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8671 # Instead, shared libraries are loaded at an image base (0x10000000 by 8672 # default) and relocated if they conflict, which is a slow very memory 8673 # consuming and fragmenting process. To avoid this, we pick a random, 8674 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8675 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8676 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8677 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8678 ;; 8679 8680 gnu* | linux* | tpf* | k*bsd*-gnu) 8681 tmp_diet=no 8682 if test "$host_os" = linux-dietlibc; then 8683 case $cc_basename in 8684 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8685 esac 8686 fi 8687 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8688 && test "$tmp_diet" = no 8689 then 8690 tmp_addflag= 8691 tmp_sharedflag='-shared' 8692 case $cc_basename,$host_cpu in 8693 pgcc*) # Portland Group C compiler 8694 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8695 tmp_addflag=' $pic_flag' 8696 ;; 8697 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8698 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8699 tmp_addflag=' $pic_flag -Mnomain' ;; 8700 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8701 tmp_addflag=' -i_dynamic' ;; 8702 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8703 tmp_addflag=' -i_dynamic -nofor_main' ;; 8704 ifc* | ifort*) # Intel Fortran compiler 8705 tmp_addflag=' -nofor_main' ;; 8706 lf95*) # Lahey Fortran 8.1 8707 whole_archive_flag_spec= 8708 tmp_sharedflag='--shared' ;; 8709 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8710 tmp_sharedflag='-qmkshrobj' 8711 tmp_addflag= ;; 8712 esac 8713 case `$CC -V 2>&1 | sed 5q` in 8714 *Sun\ C*) # Sun C 5.9 8715 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 8716 compiler_needs_object=yes 8717 tmp_sharedflag='-G' ;; 8718 *Sun\ F*) # Sun Fortran 8.3 8719 tmp_sharedflag='-G' ;; 8720 esac 8721 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8722 8723 if test "x$supports_anon_versioning" = xyes; then 8724 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8725 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8726 echo "local: *; };" >> $output_objdir/$libname.ver~ 8727 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8728 fi 8729 8730 case $cc_basename in 8731 xlf*) 8732 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8733 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8734 hardcode_libdir_flag_spec= 8735 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8736 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8737 if test "x$supports_anon_versioning" = xyes; then 8738 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8739 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8740 echo "local: *; };" >> $output_objdir/$libname.ver~ 8741 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8742 fi 8743 ;; 8744 esac 8745 else 8746 ld_shlibs=no 8747 fi 8748 ;; 8749 8750 netbsd*) 8751 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8752 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8753 wlarc= 8754 else 8755 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8756 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8757 fi 8758 ;; 8759 8760 solaris*) 8761 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8762 ld_shlibs=no 8763 cat <<_LT_EOF 1>&2 8764 8765*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8766*** create shared libraries on Solaris systems. Therefore, libtool 8767*** is disabling shared libraries support. We urge you to upgrade GNU 8768*** binutils to release 2.9.1 or newer. Another option is to modify 8769*** your PATH or compiler configuration so that the native linker is 8770*** used, and then restart. 8771 8772_LT_EOF 8773 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8774 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8775 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8776 else 8777 ld_shlibs=no 8778 fi 8779 ;; 8780 8781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8782 case `$LD -v 2>&1` in 8783 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8784 ld_shlibs=no 8785 cat <<_LT_EOF 1>&2 8786 8787*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8788*** reliably create shared libraries on SCO systems. Therefore, libtool 8789*** is disabling shared libraries support. We urge you to upgrade GNU 8790*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8791*** your PATH or compiler configuration so that the native linker is 8792*** used, and then restart. 8793 8794_LT_EOF 8795 ;; 8796 *) 8797 # For security reasons, it is highly recommended that you always 8798 # use absolute paths for naming shared libraries, and exclude the 8799 # DT_RUNPATH tag from executables and libraries. But doing so 8800 # requires that you compile everything twice, which is a pain. 8801 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8802 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8803 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8804 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8805 else 8806 ld_shlibs=no 8807 fi 8808 ;; 8809 esac 8810 ;; 8811 8812 sunos4*) 8813 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8814 wlarc= 8815 hardcode_direct=yes 8816 hardcode_shlibpath_var=no 8817 ;; 8818 8819 *) 8820 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8822 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8823 else 8824 ld_shlibs=no 8825 fi 8826 ;; 8827 esac 8828 8829 if test "$ld_shlibs" = no; then 8830 runpath_var= 8831 hardcode_libdir_flag_spec= 8832 export_dynamic_flag_spec= 8833 whole_archive_flag_spec= 8834 fi 8835 else 8836 # PORTME fill in a description of your system's linker (not GNU ld) 8837 case $host_os in 8838 aix3*) 8839 allow_undefined_flag=unsupported 8840 always_export_symbols=yes 8841 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 8842 # Note: this linker hardcodes the directories in LIBPATH if there 8843 # are no directories specified by -L. 8844 hardcode_minus_L=yes 8845 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8846 # Neither direct hardcoding nor static linking is supported with a 8847 # broken collect2. 8848 hardcode_direct=unsupported 8849 fi 8850 ;; 8851 8852 aix[4-9]*) 8853 if test "$host_cpu" = ia64; then 8854 # On IA64, the linker does run time linking by default, so we don't 8855 # have to do anything special. 8856 aix_use_runtimelinking=no 8857 exp_sym_flag='-Bexport' 8858 no_entry_flag="" 8859 else 8860 # If we're using GNU nm, then we don't want the "-C" option. 8861 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8862 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8863 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8864 else 8865 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 8866 fi 8867 aix_use_runtimelinking=no 8868 8869 # Test if we are trying to use run time linking or normal 8870 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8871 # need to do runtime linking. 8872 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8873 for ld_flag in $LDFLAGS; do 8874 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8875 aix_use_runtimelinking=yes 8876 break 8877 fi 8878 done 8879 ;; 8880 esac 8881 8882 exp_sym_flag='-bexport' 8883 no_entry_flag='-bnoentry' 8884 fi 8885 8886 # When large executables or shared objects are built, AIX ld can 8887 # have problems creating the table of contents. If linking a library 8888 # or program results in "error TOC overflow" add -mminimal-toc to 8889 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8890 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8891 8892 archive_cmds='' 8893 hardcode_direct=yes 8894 hardcode_direct_absolute=yes 8895 hardcode_libdir_separator=':' 8896 link_all_deplibs=yes 8897 file_list_spec='${wl}-f,' 8898 8899 if test "$GCC" = yes; then 8900 case $host_os in aix4.[012]|aix4.[012].*) 8901 # We only want to do this on AIX 4.2 and lower, the check 8902 # below for broken collect2 doesn't work under 4.3+ 8903 collect2name=`${CC} -print-prog-name=collect2` 8904 if test -f "$collect2name" && 8905 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8906 then 8907 # We have reworked collect2 8908 : 8909 else 8910 # We have old collect2 8911 hardcode_direct=unsupported 8912 # It fails to find uninstalled libraries when the uninstalled 8913 # path is not listed in the libpath. Setting hardcode_minus_L 8914 # to unsupported forces relinking 8915 hardcode_minus_L=yes 8916 hardcode_libdir_flag_spec='-L$libdir' 8917 hardcode_libdir_separator= 8918 fi 8919 ;; 8920 esac 8921 shared_flag='-shared' 8922 if test "$aix_use_runtimelinking" = yes; then 8923 shared_flag="$shared_flag "'${wl}-G' 8924 fi 8925 else 8926 # not using gcc 8927 if test "$host_cpu" = ia64; then 8928 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8929 # chokes on -Wl,-G. The following line is correct: 8930 shared_flag='-G' 8931 else 8932 if test "$aix_use_runtimelinking" = yes; then 8933 shared_flag='${wl}-G' 8934 else 8935 shared_flag='${wl}-bM:SRE' 8936 fi 8937 fi 8938 fi 8939 8940 export_dynamic_flag_spec='${wl}-bexpall' 8941 # It seems that -bexpall does not export symbols beginning with 8942 # underscore (_), so it is better to generate a list of symbols to export. 8943 always_export_symbols=yes 8944 if test "$aix_use_runtimelinking" = yes; then 8945 # Warning - without using the other runtime loading flags (-brtl), 8946 # -berok will link without error, but may produce a broken library. 8947 allow_undefined_flag='-berok' 8948 # Determine the default libpath from the value encoded in an 8949 # empty executable. 8950 cat >conftest.$ac_ext <<_ACEOF 8951/* confdefs.h. */ 8952_ACEOF 8953cat confdefs.h >>conftest.$ac_ext 8954cat >>conftest.$ac_ext <<_ACEOF 8955/* end confdefs.h. */ 8956 8957int 8958main () 8959{ 8960 8961 ; 8962 return 0; 8963} 8964_ACEOF 8965rm -f conftest.$ac_objext conftest$ac_exeext 8966if { (ac_try="$ac_link" 8967case "(($ac_try" in 8968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8969 *) ac_try_echo=$ac_try;; 8970esac 8971eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8972$as_echo "$ac_try_echo") >&5 8973 (eval "$ac_link") 2>conftest.er1 8974 ac_status=$? 8975 grep -v '^ *+' conftest.er1 >conftest.err 8976 rm -f conftest.er1 8977 cat conftest.err >&5 8978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8979 (exit $ac_status); } && { 8980 test -z "$ac_c_werror_flag" || 8981 test ! -s conftest.err 8982 } && test -s conftest$ac_exeext && { 8983 test "$cross_compiling" = yes || 8984 $as_test_x conftest$ac_exeext 8985 }; then 8986 8987lt_aix_libpath_sed=' 8988 /Import File Strings/,/^$/ { 8989 /^0/ { 8990 s/^0 *\(.*\)$/\1/ 8991 p 8992 } 8993 }' 8994aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8995# Check for a 64-bit object if we didn't find anything. 8996if test -z "$aix_libpath"; then 8997 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8998fi 8999else 9000 $as_echo "$as_me: failed program was:" >&5 9001sed 's/^/| /' conftest.$ac_ext >&5 9002 9003 9004fi 9005 9006rm -rf conftest.dSYM 9007rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9008 conftest$ac_exeext conftest.$ac_ext 9009if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9010 9011 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9012 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9013 else 9014 if test "$host_cpu" = ia64; then 9015 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9016 allow_undefined_flag="-z nodefs" 9017 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 9018 else 9019 # Determine the default libpath from the value encoded in an 9020 # empty executable. 9021 cat >conftest.$ac_ext <<_ACEOF 9022/* confdefs.h. */ 9023_ACEOF 9024cat confdefs.h >>conftest.$ac_ext 9025cat >>conftest.$ac_ext <<_ACEOF 9026/* end confdefs.h. */ 9027 9028int 9029main () 9030{ 9031 9032 ; 9033 return 0; 9034} 9035_ACEOF 9036rm -f conftest.$ac_objext conftest$ac_exeext 9037if { (ac_try="$ac_link" 9038case "(($ac_try" in 9039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9040 *) ac_try_echo=$ac_try;; 9041esac 9042eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9043$as_echo "$ac_try_echo") >&5 9044 (eval "$ac_link") 2>conftest.er1 9045 ac_status=$? 9046 grep -v '^ *+' conftest.er1 >conftest.err 9047 rm -f conftest.er1 9048 cat conftest.err >&5 9049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9050 (exit $ac_status); } && { 9051 test -z "$ac_c_werror_flag" || 9052 test ! -s conftest.err 9053 } && test -s conftest$ac_exeext && { 9054 test "$cross_compiling" = yes || 9055 $as_test_x conftest$ac_exeext 9056 }; then 9057 9058lt_aix_libpath_sed=' 9059 /Import File Strings/,/^$/ { 9060 /^0/ { 9061 s/^0 *\(.*\)$/\1/ 9062 p 9063 } 9064 }' 9065aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9066# Check for a 64-bit object if we didn't find anything. 9067if test -z "$aix_libpath"; then 9068 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9069fi 9070else 9071 $as_echo "$as_me: failed program was:" >&5 9072sed 's/^/| /' conftest.$ac_ext >&5 9073 9074 9075fi 9076 9077rm -rf conftest.dSYM 9078rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9079 conftest$ac_exeext conftest.$ac_ext 9080if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9081 9082 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9083 # Warning - without using the other run time loading flags, 9084 # -berok will link without error, but may produce a broken library. 9085 no_undefined_flag=' ${wl}-bernotok' 9086 allow_undefined_flag=' ${wl}-berok' 9087 # Exported symbols can be pulled into shared objects from archives 9088 whole_archive_flag_spec='$convenience' 9089 archive_cmds_need_lc=yes 9090 # This is similar to how AIX traditionally builds its shared libraries. 9091 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9092 fi 9093 fi 9094 ;; 9095 9096 amigaos*) 9097 case $host_cpu in 9098 powerpc) 9099 # see comment about AmigaOS4 .so support 9100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9101 archive_expsym_cmds='' 9102 ;; 9103 m68k) 9104 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9105 hardcode_libdir_flag_spec='-L$libdir' 9106 hardcode_minus_L=yes 9107 ;; 9108 esac 9109 ;; 9110 9111 bsdi[45]*) 9112 export_dynamic_flag_spec=-rdynamic 9113 ;; 9114 9115 cygwin* | mingw* | pw32* | cegcc*) 9116 # When not using gcc, we currently assume that we are using 9117 # Microsoft Visual C++. 9118 # hardcode_libdir_flag_spec is actually meaningless, as there is 9119 # no search path for DLLs. 9120 hardcode_libdir_flag_spec=' ' 9121 allow_undefined_flag=unsupported 9122 # Tell ltmain to make .lib files, not .a files. 9123 libext=lib 9124 # Tell ltmain to make .dll files, not .so files. 9125 shrext_cmds=".dll" 9126 # FIXME: Setting linknames here is a bad hack. 9127 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9128 # The linker will automatically build a .lib file if we build a DLL. 9129 old_archive_from_new_cmds='true' 9130 # FIXME: Should let the user specify the lib program. 9131 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9132 fix_srcfile_path='`cygpath -w "$srcfile"`' 9133 enable_shared_with_static_runtimes=yes 9134 ;; 9135 9136 darwin* | rhapsody*) 9137 9138 9139 archive_cmds_need_lc=no 9140 hardcode_direct=no 9141 hardcode_automatic=yes 9142 hardcode_shlibpath_var=unsupported 9143 whole_archive_flag_spec='' 9144 link_all_deplibs=yes 9145 allow_undefined_flag="$_lt_dar_allow_undefined" 9146 case $cc_basename in 9147 ifort*) _lt_dar_can_shared=yes ;; 9148 *) _lt_dar_can_shared=$GCC ;; 9149 esac 9150 if test "$_lt_dar_can_shared" = "yes"; then 9151 output_verbose_link_cmd=echo 9152 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9153 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9154 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 9155 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 9156 9157 else 9158 ld_shlibs=no 9159 fi 9160 9161 ;; 9162 9163 dgux*) 9164 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9165 hardcode_libdir_flag_spec='-L$libdir' 9166 hardcode_shlibpath_var=no 9167 ;; 9168 9169 freebsd1*) 9170 ld_shlibs=no 9171 ;; 9172 9173 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9174 # support. Future versions do this automatically, but an explicit c++rt0.o 9175 # does not break anything, and helps significantly (at the cost of a little 9176 # extra space). 9177 freebsd2.2*) 9178 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9179 hardcode_libdir_flag_spec='-R$libdir' 9180 hardcode_direct=yes 9181 hardcode_shlibpath_var=no 9182 ;; 9183 9184 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9185 freebsd2*) 9186 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9187 hardcode_direct=yes 9188 hardcode_minus_L=yes 9189 hardcode_shlibpath_var=no 9190 ;; 9191 9192 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9193 freebsd* | dragonfly*) 9194 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9195 hardcode_libdir_flag_spec='-R$libdir' 9196 hardcode_direct=yes 9197 hardcode_shlibpath_var=no 9198 ;; 9199 9200 hpux9*) 9201 if test "$GCC" = yes; then 9202 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9203 else 9204 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9205 fi 9206 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9207 hardcode_libdir_separator=: 9208 hardcode_direct=yes 9209 9210 # hardcode_minus_L: Not really in the search PATH, 9211 # but as the default location of the library. 9212 hardcode_minus_L=yes 9213 export_dynamic_flag_spec='${wl}-E' 9214 ;; 9215 9216 hpux10*) 9217 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9218 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9219 else 9220 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9221 fi 9222 if test "$with_gnu_ld" = no; then 9223 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9224 hardcode_libdir_flag_spec_ld='+b $libdir' 9225 hardcode_libdir_separator=: 9226 hardcode_direct=yes 9227 hardcode_direct_absolute=yes 9228 export_dynamic_flag_spec='${wl}-E' 9229 # hardcode_minus_L: Not really in the search PATH, 9230 # but as the default location of the library. 9231 hardcode_minus_L=yes 9232 fi 9233 ;; 9234 9235 hpux11*) 9236 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9237 case $host_cpu in 9238 hppa*64*) 9239 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9240 ;; 9241 ia64*) 9242 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9243 ;; 9244 *) 9245 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9246 ;; 9247 esac 9248 else 9249 case $host_cpu in 9250 hppa*64*) 9251 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9252 ;; 9253 ia64*) 9254 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9255 ;; 9256 *) 9257 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9258 ;; 9259 esac 9260 fi 9261 if test "$with_gnu_ld" = no; then 9262 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9263 hardcode_libdir_separator=: 9264 9265 case $host_cpu in 9266 hppa*64*|ia64*) 9267 hardcode_direct=no 9268 hardcode_shlibpath_var=no 9269 ;; 9270 *) 9271 hardcode_direct=yes 9272 hardcode_direct_absolute=yes 9273 export_dynamic_flag_spec='${wl}-E' 9274 9275 # hardcode_minus_L: Not really in the search PATH, 9276 # but as the default location of the library. 9277 hardcode_minus_L=yes 9278 ;; 9279 esac 9280 fi 9281 ;; 9282 9283 irix5* | irix6* | nonstopux*) 9284 if test "$GCC" = yes; then 9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9286 # Try to use the -exported_symbol ld option, if it does not 9287 # work, assume that -exports_file does not work either and 9288 # implicitly export all symbols. 9289 save_LDFLAGS="$LDFLAGS" 9290 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9291 cat >conftest.$ac_ext <<_ACEOF 9292int foo(void) {} 9293_ACEOF 9294rm -f conftest.$ac_objext conftest$ac_exeext 9295if { (ac_try="$ac_link" 9296case "(($ac_try" in 9297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9298 *) ac_try_echo=$ac_try;; 9299esac 9300eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9301$as_echo "$ac_try_echo") >&5 9302 (eval "$ac_link") 2>conftest.er1 9303 ac_status=$? 9304 grep -v '^ *+' conftest.er1 >conftest.err 9305 rm -f conftest.er1 9306 cat conftest.err >&5 9307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9308 (exit $ac_status); } && { 9309 test -z "$ac_c_werror_flag" || 9310 test ! -s conftest.err 9311 } && test -s conftest$ac_exeext && { 9312 test "$cross_compiling" = yes || 9313 $as_test_x conftest$ac_exeext 9314 }; then 9315 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9316 9317else 9318 $as_echo "$as_me: failed program was:" >&5 9319sed 's/^/| /' conftest.$ac_ext >&5 9320 9321 9322fi 9323 9324rm -rf conftest.dSYM 9325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9326 conftest$ac_exeext conftest.$ac_ext 9327 LDFLAGS="$save_LDFLAGS" 9328 else 9329 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9330 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9331 fi 9332 archive_cmds_need_lc='no' 9333 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9334 hardcode_libdir_separator=: 9335 inherit_rpath=yes 9336 link_all_deplibs=yes 9337 ;; 9338 9339 netbsd*) 9340 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9341 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9342 else 9343 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9344 fi 9345 hardcode_libdir_flag_spec='-R$libdir' 9346 hardcode_direct=yes 9347 hardcode_shlibpath_var=no 9348 ;; 9349 9350 newsos6) 9351 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9352 hardcode_direct=yes 9353 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9354 hardcode_libdir_separator=: 9355 hardcode_shlibpath_var=no 9356 ;; 9357 9358 *nto* | *qnx*) 9359 ;; 9360 9361 openbsd*) 9362 if test -f /usr/libexec/ld.so; then 9363 hardcode_direct=yes 9364 hardcode_shlibpath_var=no 9365 hardcode_direct_absolute=yes 9366 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9367 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9368 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9369 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9370 export_dynamic_flag_spec='${wl}-E' 9371 else 9372 case $host_os in 9373 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9374 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9375 hardcode_libdir_flag_spec='-R$libdir' 9376 ;; 9377 *) 9378 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9379 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9380 ;; 9381 esac 9382 fi 9383 else 9384 ld_shlibs=no 9385 fi 9386 ;; 9387 9388 os2*) 9389 hardcode_libdir_flag_spec='-L$libdir' 9390 hardcode_minus_L=yes 9391 allow_undefined_flag=unsupported 9392 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9393 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9394 ;; 9395 9396 osf3*) 9397 if test "$GCC" = yes; then 9398 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9399 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9400 else 9401 allow_undefined_flag=' -expect_unresolved \*' 9402 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9403 fi 9404 archive_cmds_need_lc='no' 9405 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9406 hardcode_libdir_separator=: 9407 ;; 9408 9409 osf4* | osf5*) # as osf3* with the addition of -msym flag 9410 if test "$GCC" = yes; then 9411 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9412 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9414 else 9415 allow_undefined_flag=' -expect_unresolved \*' 9416 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 9417 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 9418 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 9419 9420 # Both c and cxx compiler support -rpath directly 9421 hardcode_libdir_flag_spec='-rpath $libdir' 9422 fi 9423 archive_cmds_need_lc='no' 9424 hardcode_libdir_separator=: 9425 ;; 9426 9427 solaris*) 9428 no_undefined_flag=' -z defs' 9429 if test "$GCC" = yes; then 9430 wlarc='${wl}' 9431 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9432 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9433 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9434 else 9435 case `$CC -V 2>&1` in 9436 *"Compilers 5.0"*) 9437 wlarc='' 9438 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9439 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9440 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9441 ;; 9442 *) 9443 wlarc='${wl}' 9444 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9445 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9446 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9447 ;; 9448 esac 9449 fi 9450 hardcode_libdir_flag_spec='-R$libdir' 9451 hardcode_shlibpath_var=no 9452 case $host_os in 9453 solaris2.[0-5] | solaris2.[0-5].*) ;; 9454 *) 9455 # The compiler driver will combine and reorder linker options, 9456 # but understands `-z linker_flag'. GCC discards it without `$wl', 9457 # but is careful enough not to reorder. 9458 # Supported since Solaris 2.6 (maybe 2.5.1?) 9459 if test "$GCC" = yes; then 9460 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9461 else 9462 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9463 fi 9464 ;; 9465 esac 9466 link_all_deplibs=yes 9467 ;; 9468 9469 sunos4*) 9470 if test "x$host_vendor" = xsequent; then 9471 # Use $CC to link under sequent, because it throws in some extra .o 9472 # files that make .init and .fini sections work. 9473 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9474 else 9475 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9476 fi 9477 hardcode_libdir_flag_spec='-L$libdir' 9478 hardcode_direct=yes 9479 hardcode_minus_L=yes 9480 hardcode_shlibpath_var=no 9481 ;; 9482 9483 sysv4) 9484 case $host_vendor in 9485 sni) 9486 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9487 hardcode_direct=yes # is this really true??? 9488 ;; 9489 siemens) 9490 ## LD is ld it makes a PLAMLIB 9491 ## CC just makes a GrossModule. 9492 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9493 reload_cmds='$CC -r -o $output$reload_objs' 9494 hardcode_direct=no 9495 ;; 9496 motorola) 9497 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9498 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9499 ;; 9500 esac 9501 runpath_var='LD_RUN_PATH' 9502 hardcode_shlibpath_var=no 9503 ;; 9504 9505 sysv4.3*) 9506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9507 hardcode_shlibpath_var=no 9508 export_dynamic_flag_spec='-Bexport' 9509 ;; 9510 9511 sysv4*MP*) 9512 if test -d /usr/nec; then 9513 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9514 hardcode_shlibpath_var=no 9515 runpath_var=LD_RUN_PATH 9516 hardcode_runpath_var=yes 9517 ld_shlibs=yes 9518 fi 9519 ;; 9520 9521 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9522 no_undefined_flag='${wl}-z,text' 9523 archive_cmds_need_lc=no 9524 hardcode_shlibpath_var=no 9525 runpath_var='LD_RUN_PATH' 9526 9527 if test "$GCC" = yes; then 9528 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9529 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9530 else 9531 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9532 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9533 fi 9534 ;; 9535 9536 sysv5* | sco3.2v5* | sco5v6*) 9537 # Note: We can NOT use -z defs as we might desire, because we do not 9538 # link with -lc, and that would cause any symbols used from libc to 9539 # always be unresolved, which means just about no library would 9540 # ever link correctly. If we're not using GNU ld we use -z text 9541 # though, which does catch some bad symbols but isn't as heavy-handed 9542 # as -z defs. 9543 no_undefined_flag='${wl}-z,text' 9544 allow_undefined_flag='${wl}-z,nodefs' 9545 archive_cmds_need_lc=no 9546 hardcode_shlibpath_var=no 9547 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9548 hardcode_libdir_separator=':' 9549 link_all_deplibs=yes 9550 export_dynamic_flag_spec='${wl}-Bexport' 9551 runpath_var='LD_RUN_PATH' 9552 9553 if test "$GCC" = yes; then 9554 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9555 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9556 else 9557 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9558 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9559 fi 9560 ;; 9561 9562 uts4*) 9563 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9564 hardcode_libdir_flag_spec='-L$libdir' 9565 hardcode_shlibpath_var=no 9566 ;; 9567 9568 *) 9569 ld_shlibs=no 9570 ;; 9571 esac 9572 9573 if test x$host_vendor = xsni; then 9574 case $host in 9575 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9576 export_dynamic_flag_spec='${wl}-Blargedynsym' 9577 ;; 9578 esac 9579 fi 9580 fi 9581 9582{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9583$as_echo "$ld_shlibs" >&6; } 9584test "$ld_shlibs" = no && can_build_shared=no 9585 9586with_gnu_ld=$with_gnu_ld 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602# 9603# Do we need to explicitly link libc? 9604# 9605case "x$archive_cmds_need_lc" in 9606x|xyes) 9607 # Assume -lc should be added 9608 archive_cmds_need_lc=yes 9609 9610 if test "$enable_shared" = yes && test "$GCC" = yes; then 9611 case $archive_cmds in 9612 *'~'*) 9613 # FIXME: we may have to deal with multi-command sequences. 9614 ;; 9615 '$CC '*) 9616 # Test whether the compiler implicitly links with -lc since on some 9617 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9618 # to ld, don't add -lc before -lgcc. 9619 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9620$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9621 $RM conftest* 9622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9623 9624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9625 (eval $ac_compile) 2>&5 9626 ac_status=$? 9627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9628 (exit $ac_status); } 2>conftest.err; then 9629 soname=conftest 9630 lib=conftest 9631 libobjs=conftest.$ac_objext 9632 deplibs= 9633 wl=$lt_prog_compiler_wl 9634 pic_flag=$lt_prog_compiler_pic 9635 compiler_flags=-v 9636 linker_flags=-v 9637 verstring= 9638 output_objdir=. 9639 libname=conftest 9640 lt_save_allow_undefined_flag=$allow_undefined_flag 9641 allow_undefined_flag= 9642 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9643 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9644 ac_status=$? 9645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9646 (exit $ac_status); } 9647 then 9648 archive_cmds_need_lc=no 9649 else 9650 archive_cmds_need_lc=yes 9651 fi 9652 allow_undefined_flag=$lt_save_allow_undefined_flag 9653 else 9654 cat conftest.err 1>&5 9655 fi 9656 $RM conftest* 9657 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9658$as_echo "$archive_cmds_need_lc" >&6; } 9659 ;; 9660 esac 9661 fi 9662 ;; 9663esac 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9822$as_echo_n "checking dynamic linker characteristics... " >&6; } 9823 9824if test "$GCC" = yes; then 9825 case $host_os in 9826 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9827 *) lt_awk_arg="/^libraries:/" ;; 9828 esac 9829 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9830 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9831 # if the path contains ";" then we assume it to be the separator 9832 # otherwise default to the standard path separator (i.e. ":") - it is 9833 # assumed that no part of a normal pathname contains ";" but that should 9834 # okay in the real world where ";" in dirpaths is itself problematic. 9835 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9836 else 9837 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9838 fi 9839 # Ok, now we have the path, separated by spaces, we can step through it 9840 # and add multilib dir if necessary. 9841 lt_tmp_lt_search_path_spec= 9842 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9843 for lt_sys_path in $lt_search_path_spec; do 9844 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9845 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9846 else 9847 test -d "$lt_sys_path" && \ 9848 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9849 fi 9850 done 9851 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9852BEGIN {RS=" "; FS="/|\n";} { 9853 lt_foo=""; 9854 lt_count=0; 9855 for (lt_i = NF; lt_i > 0; lt_i--) { 9856 if ($lt_i != "" && $lt_i != ".") { 9857 if ($lt_i == "..") { 9858 lt_count++; 9859 } else { 9860 if (lt_count == 0) { 9861 lt_foo="/" $lt_i lt_foo; 9862 } else { 9863 lt_count--; 9864 } 9865 } 9866 } 9867 } 9868 if (lt_foo != "") { lt_freq[lt_foo]++; } 9869 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9870}'` 9871 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9872else 9873 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9874fi 9875library_names_spec= 9876libname_spec='lib$name' 9877soname_spec= 9878shrext_cmds=".so" 9879postinstall_cmds= 9880postuninstall_cmds= 9881finish_cmds= 9882finish_eval= 9883shlibpath_var= 9884shlibpath_overrides_runpath=unknown 9885version_type=none 9886dynamic_linker="$host_os ld.so" 9887sys_lib_dlsearch_path_spec="/lib /usr/lib" 9888need_lib_prefix=unknown 9889hardcode_into_libs=no 9890 9891# when you set need_version to no, make sure it does not cause -set_version 9892# flags to be left without arguments 9893need_version=unknown 9894 9895case $host_os in 9896aix3*) 9897 version_type=linux 9898 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9899 shlibpath_var=LIBPATH 9900 9901 # AIX 3 has no versioning support, so we append a major version to the name. 9902 soname_spec='${libname}${release}${shared_ext}$major' 9903 ;; 9904 9905aix[4-9]*) 9906 version_type=linux 9907 need_lib_prefix=no 9908 need_version=no 9909 hardcode_into_libs=yes 9910 if test "$host_cpu" = ia64; then 9911 # AIX 5 supports IA64 9912 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9913 shlibpath_var=LD_LIBRARY_PATH 9914 else 9915 # With GCC up to 2.95.x, collect2 would create an import file 9916 # for dependence libraries. The import file would start with 9917 # the line `#! .'. This would cause the generated library to 9918 # depend on `.', always an invalid library. This was fixed in 9919 # development snapshots of GCC prior to 3.0. 9920 case $host_os in 9921 aix4 | aix4.[01] | aix4.[01].*) 9922 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9923 echo ' yes ' 9924 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9925 : 9926 else 9927 can_build_shared=no 9928 fi 9929 ;; 9930 esac 9931 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9932 # soname into executable. Probably we can add versioning support to 9933 # collect2, so additional links can be useful in future. 9934 if test "$aix_use_runtimelinking" = yes; then 9935 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9936 # instead of lib<name>.a to let people know that these are not 9937 # typical AIX shared libraries. 9938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9939 else 9940 # We preserve .a as extension for shared libraries through AIX4.2 9941 # and later when we are not doing run time linking. 9942 library_names_spec='${libname}${release}.a $libname.a' 9943 soname_spec='${libname}${release}${shared_ext}$major' 9944 fi 9945 shlibpath_var=LIBPATH 9946 fi 9947 ;; 9948 9949amigaos*) 9950 case $host_cpu in 9951 powerpc) 9952 # Since July 2007 AmigaOS4 officially supports .so libraries. 9953 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9955 ;; 9956 m68k) 9957 library_names_spec='$libname.ixlibrary $libname.a' 9958 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9959 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 9960 ;; 9961 esac 9962 ;; 9963 9964beos*) 9965 library_names_spec='${libname}${shared_ext}' 9966 dynamic_linker="$host_os ld.so" 9967 shlibpath_var=LIBRARY_PATH 9968 ;; 9969 9970bsdi[45]*) 9971 version_type=linux 9972 need_version=no 9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9974 soname_spec='${libname}${release}${shared_ext}$major' 9975 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9976 shlibpath_var=LD_LIBRARY_PATH 9977 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9978 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9979 # the default ld.so.conf also contains /usr/contrib/lib and 9980 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9981 # libtool to hard-code these into programs 9982 ;; 9983 9984cygwin* | mingw* | pw32* | cegcc*) 9985 version_type=windows 9986 shrext_cmds=".dll" 9987 need_version=no 9988 need_lib_prefix=no 9989 9990 case $GCC,$host_os in 9991 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9992 library_names_spec='$libname.dll.a' 9993 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9994 postinstall_cmds='base_file=`basename \${file}`~ 9995 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9996 dldir=$destdir/`dirname \$dlpath`~ 9997 test -d \$dldir || mkdir -p \$dldir~ 9998 $install_prog $dir/$dlname \$dldir/$dlname~ 9999 chmod a+x \$dldir/$dlname~ 10000 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10001 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10002 fi' 10003 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10004 dlpath=$dir/\$dldll~ 10005 $RM \$dlpath' 10006 shlibpath_overrides_runpath=yes 10007 10008 case $host_os in 10009 cygwin*) 10010 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10011 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10012 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10013 ;; 10014 mingw* | cegcc*) 10015 # MinGW DLLs use traditional 'lib' prefix 10016 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10017 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10018 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10019 # It is most probably a Windows format PATH printed by 10020 # mingw gcc, but we are running on Cygwin. Gcc prints its search 10021 # path with ; separators, and with drive letters. We can handle the 10022 # drive letters (cygwin fileutils understands them), so leave them, 10023 # especially as we might pass files found there to a mingw objdump, 10024 # which wouldn't understand a cygwinified path. Ahh. 10025 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10026 else 10027 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10028 fi 10029 ;; 10030 pw32*) 10031 # pw32 DLLs use 'pw' prefix rather than 'lib' 10032 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10033 ;; 10034 esac 10035 ;; 10036 10037 *) 10038 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10039 ;; 10040 esac 10041 dynamic_linker='Win32 ld.exe' 10042 # FIXME: first we should search . and the directory the executable is in 10043 shlibpath_var=PATH 10044 ;; 10045 10046darwin* | rhapsody*) 10047 dynamic_linker="$host_os dyld" 10048 version_type=darwin 10049 need_lib_prefix=no 10050 need_version=no 10051 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10052 soname_spec='${libname}${release}${major}$shared_ext' 10053 shlibpath_overrides_runpath=yes 10054 shlibpath_var=DYLD_LIBRARY_PATH 10055 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10056 10057 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10058 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10059 ;; 10060 10061dgux*) 10062 version_type=linux 10063 need_lib_prefix=no 10064 need_version=no 10065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10066 soname_spec='${libname}${release}${shared_ext}$major' 10067 shlibpath_var=LD_LIBRARY_PATH 10068 ;; 10069 10070freebsd1*) 10071 dynamic_linker=no 10072 ;; 10073 10074freebsd* | dragonfly*) 10075 # DragonFly does not have aout. When/if they implement a new 10076 # versioning mechanism, adjust this. 10077 if test -x /usr/bin/objformat; then 10078 objformat=`/usr/bin/objformat` 10079 else 10080 case $host_os in 10081 freebsd[123]*) objformat=aout ;; 10082 *) objformat=elf ;; 10083 esac 10084 fi 10085 version_type=freebsd-$objformat 10086 case $version_type in 10087 freebsd-elf*) 10088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10089 need_version=no 10090 need_lib_prefix=no 10091 ;; 10092 freebsd-*) 10093 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10094 need_version=yes 10095 ;; 10096 esac 10097 shlibpath_var=LD_LIBRARY_PATH 10098 case $host_os in 10099 freebsd2*) 10100 shlibpath_overrides_runpath=yes 10101 ;; 10102 freebsd3.[01]* | freebsdelf3.[01]*) 10103 shlibpath_overrides_runpath=yes 10104 hardcode_into_libs=yes 10105 ;; 10106 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10107 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10108 shlibpath_overrides_runpath=no 10109 hardcode_into_libs=yes 10110 ;; 10111 *) # from 4.6 on, and DragonFly 10112 shlibpath_overrides_runpath=yes 10113 hardcode_into_libs=yes 10114 ;; 10115 esac 10116 ;; 10117 10118gnu*) 10119 version_type=linux 10120 need_lib_prefix=no 10121 need_version=no 10122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10123 soname_spec='${libname}${release}${shared_ext}$major' 10124 shlibpath_var=LD_LIBRARY_PATH 10125 hardcode_into_libs=yes 10126 ;; 10127 10128hpux9* | hpux10* | hpux11*) 10129 # Give a soname corresponding to the major version so that dld.sl refuses to 10130 # link against other versions. 10131 version_type=sunos 10132 need_lib_prefix=no 10133 need_version=no 10134 case $host_cpu in 10135 ia64*) 10136 shrext_cmds='.so' 10137 hardcode_into_libs=yes 10138 dynamic_linker="$host_os dld.so" 10139 shlibpath_var=LD_LIBRARY_PATH 10140 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10142 soname_spec='${libname}${release}${shared_ext}$major' 10143 if test "X$HPUX_IA64_MODE" = X32; then 10144 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10145 else 10146 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10147 fi 10148 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10149 ;; 10150 hppa*64*) 10151 shrext_cmds='.sl' 10152 hardcode_into_libs=yes 10153 dynamic_linker="$host_os dld.sl" 10154 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10155 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10157 soname_spec='${libname}${release}${shared_ext}$major' 10158 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10159 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10160 ;; 10161 *) 10162 shrext_cmds='.sl' 10163 dynamic_linker="$host_os dld.sl" 10164 shlibpath_var=SHLIB_PATH 10165 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10167 soname_spec='${libname}${release}${shared_ext}$major' 10168 ;; 10169 esac 10170 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10171 postinstall_cmds='chmod 555 $lib' 10172 ;; 10173 10174interix[3-9]*) 10175 version_type=linux 10176 need_lib_prefix=no 10177 need_version=no 10178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10179 soname_spec='${libname}${release}${shared_ext}$major' 10180 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10181 shlibpath_var=LD_LIBRARY_PATH 10182 shlibpath_overrides_runpath=no 10183 hardcode_into_libs=yes 10184 ;; 10185 10186irix5* | irix6* | nonstopux*) 10187 case $host_os in 10188 nonstopux*) version_type=nonstopux ;; 10189 *) 10190 if test "$lt_cv_prog_gnu_ld" = yes; then 10191 version_type=linux 10192 else 10193 version_type=irix 10194 fi ;; 10195 esac 10196 need_lib_prefix=no 10197 need_version=no 10198 soname_spec='${libname}${release}${shared_ext}$major' 10199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10200 case $host_os in 10201 irix5* | nonstopux*) 10202 libsuff= shlibsuff= 10203 ;; 10204 *) 10205 case $LD in # libtool.m4 will add one of these switches to LD 10206 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10207 libsuff= shlibsuff= libmagic=32-bit;; 10208 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10209 libsuff=32 shlibsuff=N32 libmagic=N32;; 10210 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10211 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10212 *) libsuff= shlibsuff= libmagic=never-match;; 10213 esac 10214 ;; 10215 esac 10216 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10217 shlibpath_overrides_runpath=no 10218 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10219 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10220 hardcode_into_libs=yes 10221 ;; 10222 10223# No shared lib support for Linux oldld, aout, or coff. 10224linux*oldld* | linux*aout* | linux*coff*) 10225 dynamic_linker=no 10226 ;; 10227 10228# This must be Linux ELF. 10229linux* | k*bsd*-gnu) 10230 version_type=linux 10231 need_lib_prefix=no 10232 need_version=no 10233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10234 soname_spec='${libname}${release}${shared_ext}$major' 10235 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10236 shlibpath_var=LD_LIBRARY_PATH 10237 shlibpath_overrides_runpath=no 10238 # Some binutils ld are patched to set DT_RUNPATH 10239 save_LDFLAGS=$LDFLAGS 10240 save_libdir=$libdir 10241 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10242 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10243 cat >conftest.$ac_ext <<_ACEOF 10244/* confdefs.h. */ 10245_ACEOF 10246cat confdefs.h >>conftest.$ac_ext 10247cat >>conftest.$ac_ext <<_ACEOF 10248/* end confdefs.h. */ 10249 10250int 10251main () 10252{ 10253 10254 ; 10255 return 0; 10256} 10257_ACEOF 10258rm -f conftest.$ac_objext conftest$ac_exeext 10259if { (ac_try="$ac_link" 10260case "(($ac_try" in 10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10262 *) ac_try_echo=$ac_try;; 10263esac 10264eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10265$as_echo "$ac_try_echo") >&5 10266 (eval "$ac_link") 2>conftest.er1 10267 ac_status=$? 10268 grep -v '^ *+' conftest.er1 >conftest.err 10269 rm -f conftest.er1 10270 cat conftest.err >&5 10271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10272 (exit $ac_status); } && { 10273 test -z "$ac_c_werror_flag" || 10274 test ! -s conftest.err 10275 } && test -s conftest$ac_exeext && { 10276 test "$cross_compiling" = yes || 10277 $as_test_x conftest$ac_exeext 10278 }; then 10279 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10280 shlibpath_overrides_runpath=yes 10281fi 10282 10283else 10284 $as_echo "$as_me: failed program was:" >&5 10285sed 's/^/| /' conftest.$ac_ext >&5 10286 10287 10288fi 10289 10290rm -rf conftest.dSYM 10291rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10292 conftest$ac_exeext conftest.$ac_ext 10293 LDFLAGS=$save_LDFLAGS 10294 libdir=$save_libdir 10295 10296 # This implies no fast_install, which is unacceptable. 10297 # Some rework will be needed to allow for fast_install 10298 # before this can be enabled. 10299 hardcode_into_libs=yes 10300 10301 # Add ABI-specific directories to the system library path. 10302 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10303 10304 # Append ld.so.conf contents to the search path 10305 if test -f /etc/ld.so.conf; then 10306 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 10307 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10308 fi 10309 10310 # We used to test for /lib/ld.so.1 and disable shared libraries on 10311 # powerpc, because MkLinux only supported shared libraries with the 10312 # GNU dynamic linker. Since this was broken with cross compilers, 10313 # most powerpc-linux boxes support dynamic linking these days and 10314 # people can always --disable-shared, the test was removed, and we 10315 # assume the GNU/Linux dynamic linker is in use. 10316 dynamic_linker='GNU/Linux ld.so' 10317 ;; 10318 10319netbsd*) 10320 version_type=sunos 10321 need_lib_prefix=no 10322 need_version=no 10323 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10325 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10326 dynamic_linker='NetBSD (a.out) ld.so' 10327 else 10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10329 soname_spec='${libname}${release}${shared_ext}$major' 10330 dynamic_linker='NetBSD ld.elf_so' 10331 fi 10332 shlibpath_var=LD_LIBRARY_PATH 10333 shlibpath_overrides_runpath=yes 10334 hardcode_into_libs=yes 10335 ;; 10336 10337newsos6) 10338 version_type=linux 10339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10340 shlibpath_var=LD_LIBRARY_PATH 10341 shlibpath_overrides_runpath=yes 10342 ;; 10343 10344*nto* | *qnx*) 10345 version_type=qnx 10346 need_lib_prefix=no 10347 need_version=no 10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10349 soname_spec='${libname}${release}${shared_ext}$major' 10350 shlibpath_var=LD_LIBRARY_PATH 10351 shlibpath_overrides_runpath=no 10352 hardcode_into_libs=yes 10353 dynamic_linker='ldqnx.so' 10354 ;; 10355 10356openbsd*) 10357 version_type=sunos 10358 sys_lib_dlsearch_path_spec="/usr/lib" 10359 need_lib_prefix=no 10360 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10361 case $host_os in 10362 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10363 *) need_version=no ;; 10364 esac 10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10366 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10367 shlibpath_var=LD_LIBRARY_PATH 10368 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10369 case $host_os in 10370 openbsd2.[89] | openbsd2.[89].*) 10371 shlibpath_overrides_runpath=no 10372 ;; 10373 *) 10374 shlibpath_overrides_runpath=yes 10375 ;; 10376 esac 10377 else 10378 shlibpath_overrides_runpath=yes 10379 fi 10380 ;; 10381 10382os2*) 10383 libname_spec='$name' 10384 shrext_cmds=".dll" 10385 need_lib_prefix=no 10386 library_names_spec='$libname${shared_ext} $libname.a' 10387 dynamic_linker='OS/2 ld.exe' 10388 shlibpath_var=LIBPATH 10389 ;; 10390 10391osf3* | osf4* | osf5*) 10392 version_type=osf 10393 need_lib_prefix=no 10394 need_version=no 10395 soname_spec='${libname}${release}${shared_ext}$major' 10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10397 shlibpath_var=LD_LIBRARY_PATH 10398 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10399 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10400 ;; 10401 10402rdos*) 10403 dynamic_linker=no 10404 ;; 10405 10406solaris*) 10407 version_type=linux 10408 need_lib_prefix=no 10409 need_version=no 10410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10411 soname_spec='${libname}${release}${shared_ext}$major' 10412 shlibpath_var=LD_LIBRARY_PATH 10413 shlibpath_overrides_runpath=yes 10414 hardcode_into_libs=yes 10415 # ldd complains unless libraries are executable 10416 postinstall_cmds='chmod +x $lib' 10417 ;; 10418 10419sunos4*) 10420 version_type=sunos 10421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10422 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10423 shlibpath_var=LD_LIBRARY_PATH 10424 shlibpath_overrides_runpath=yes 10425 if test "$with_gnu_ld" = yes; then 10426 need_lib_prefix=no 10427 fi 10428 need_version=yes 10429 ;; 10430 10431sysv4 | sysv4.3*) 10432 version_type=linux 10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10434 soname_spec='${libname}${release}${shared_ext}$major' 10435 shlibpath_var=LD_LIBRARY_PATH 10436 case $host_vendor in 10437 sni) 10438 shlibpath_overrides_runpath=no 10439 need_lib_prefix=no 10440 runpath_var=LD_RUN_PATH 10441 ;; 10442 siemens) 10443 need_lib_prefix=no 10444 ;; 10445 motorola) 10446 need_lib_prefix=no 10447 need_version=no 10448 shlibpath_overrides_runpath=no 10449 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10450 ;; 10451 esac 10452 ;; 10453 10454sysv4*MP*) 10455 if test -d /usr/nec ;then 10456 version_type=linux 10457 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10458 soname_spec='$libname${shared_ext}.$major' 10459 shlibpath_var=LD_LIBRARY_PATH 10460 fi 10461 ;; 10462 10463sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10464 version_type=freebsd-elf 10465 need_lib_prefix=no 10466 need_version=no 10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10468 soname_spec='${libname}${release}${shared_ext}$major' 10469 shlibpath_var=LD_LIBRARY_PATH 10470 shlibpath_overrides_runpath=yes 10471 hardcode_into_libs=yes 10472 if test "$with_gnu_ld" = yes; then 10473 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10474 else 10475 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10476 case $host_os in 10477 sco3.2v5*) 10478 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10479 ;; 10480 esac 10481 fi 10482 sys_lib_dlsearch_path_spec='/usr/lib' 10483 ;; 10484 10485tpf*) 10486 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10487 version_type=linux 10488 need_lib_prefix=no 10489 need_version=no 10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10491 shlibpath_var=LD_LIBRARY_PATH 10492 shlibpath_overrides_runpath=no 10493 hardcode_into_libs=yes 10494 ;; 10495 10496uts4*) 10497 version_type=linux 10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10499 soname_spec='${libname}${release}${shared_ext}$major' 10500 shlibpath_var=LD_LIBRARY_PATH 10501 ;; 10502 10503*) 10504 dynamic_linker=no 10505 ;; 10506esac 10507{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10508$as_echo "$dynamic_linker" >&6; } 10509test "$dynamic_linker" = no && can_build_shared=no 10510 10511variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10512if test "$GCC" = yes; then 10513 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10514fi 10515 10516if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10517 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10518fi 10519if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10520 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10521fi 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10610$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10611hardcode_action= 10612if test -n "$hardcode_libdir_flag_spec" || 10613 test -n "$runpath_var" || 10614 test "X$hardcode_automatic" = "Xyes" ; then 10615 10616 # We can hardcode non-existent directories. 10617 if test "$hardcode_direct" != no && 10618 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10619 # have to relink, otherwise we might link with an installed library 10620 # when we should be linking with a yet-to-be-installed one 10621 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10622 test "$hardcode_minus_L" != no; then 10623 # Linking always hardcodes the temporary library directory. 10624 hardcode_action=relink 10625 else 10626 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10627 hardcode_action=immediate 10628 fi 10629else 10630 # We cannot hardcode anything, or else we can only hardcode existing 10631 # directories. 10632 hardcode_action=unsupported 10633fi 10634{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10635$as_echo "$hardcode_action" >&6; } 10636 10637if test "$hardcode_action" = relink || 10638 test "$inherit_rpath" = yes; then 10639 # Fast installation is not supported 10640 enable_fast_install=no 10641elif test "$shlibpath_overrides_runpath" = yes || 10642 test "$enable_shared" = no; then 10643 # Fast installation is not necessary 10644 enable_fast_install=needless 10645fi 10646 10647 10648 10649 10650 10651 10652 if test "x$enable_dlopen" != xyes; then 10653 enable_dlopen=unknown 10654 enable_dlopen_self=unknown 10655 enable_dlopen_self_static=unknown 10656else 10657 lt_cv_dlopen=no 10658 lt_cv_dlopen_libs= 10659 10660 case $host_os in 10661 beos*) 10662 lt_cv_dlopen="load_add_on" 10663 lt_cv_dlopen_libs= 10664 lt_cv_dlopen_self=yes 10665 ;; 10666 10667 mingw* | pw32* | cegcc*) 10668 lt_cv_dlopen="LoadLibrary" 10669 lt_cv_dlopen_libs= 10670 ;; 10671 10672 cygwin*) 10673 lt_cv_dlopen="dlopen" 10674 lt_cv_dlopen_libs= 10675 ;; 10676 10677 darwin*) 10678 # if libdl is installed we need to link against it 10679 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10680$as_echo_n "checking for dlopen in -ldl... " >&6; } 10681if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10682 $as_echo_n "(cached) " >&6 10683else 10684 ac_check_lib_save_LIBS=$LIBS 10685LIBS="-ldl $LIBS" 10686cat >conftest.$ac_ext <<_ACEOF 10687/* confdefs.h. */ 10688_ACEOF 10689cat confdefs.h >>conftest.$ac_ext 10690cat >>conftest.$ac_ext <<_ACEOF 10691/* end confdefs.h. */ 10692 10693/* Override any GCC internal prototype to avoid an error. 10694 Use char because int might match the return type of a GCC 10695 builtin and then its argument prototype would still apply. */ 10696#ifdef __cplusplus 10697extern "C" 10698#endif 10699char dlopen (); 10700int 10701main () 10702{ 10703return dlopen (); 10704 ; 10705 return 0; 10706} 10707_ACEOF 10708rm -f conftest.$ac_objext conftest$ac_exeext 10709if { (ac_try="$ac_link" 10710case "(($ac_try" in 10711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10712 *) ac_try_echo=$ac_try;; 10713esac 10714eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10715$as_echo "$ac_try_echo") >&5 10716 (eval "$ac_link") 2>conftest.er1 10717 ac_status=$? 10718 grep -v '^ *+' conftest.er1 >conftest.err 10719 rm -f conftest.er1 10720 cat conftest.err >&5 10721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10722 (exit $ac_status); } && { 10723 test -z "$ac_c_werror_flag" || 10724 test ! -s conftest.err 10725 } && test -s conftest$ac_exeext && { 10726 test "$cross_compiling" = yes || 10727 $as_test_x conftest$ac_exeext 10728 }; then 10729 ac_cv_lib_dl_dlopen=yes 10730else 10731 $as_echo "$as_me: failed program was:" >&5 10732sed 's/^/| /' conftest.$ac_ext >&5 10733 10734 ac_cv_lib_dl_dlopen=no 10735fi 10736 10737rm -rf conftest.dSYM 10738rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10739 conftest$ac_exeext conftest.$ac_ext 10740LIBS=$ac_check_lib_save_LIBS 10741fi 10742{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10743$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10744if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10745 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10746else 10747 10748 lt_cv_dlopen="dyld" 10749 lt_cv_dlopen_libs= 10750 lt_cv_dlopen_self=yes 10751 10752fi 10753 10754 ;; 10755 10756 *) 10757 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 10758$as_echo_n "checking for shl_load... " >&6; } 10759if test "${ac_cv_func_shl_load+set}" = set; then 10760 $as_echo_n "(cached) " >&6 10761else 10762 cat >conftest.$ac_ext <<_ACEOF 10763/* confdefs.h. */ 10764_ACEOF 10765cat confdefs.h >>conftest.$ac_ext 10766cat >>conftest.$ac_ext <<_ACEOF 10767/* end confdefs.h. */ 10768/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10769 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10770#define shl_load innocuous_shl_load 10771 10772/* System header to define __stub macros and hopefully few prototypes, 10773 which can conflict with char shl_load (); below. 10774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10775 <limits.h> exists even on freestanding compilers. */ 10776 10777#ifdef __STDC__ 10778# include <limits.h> 10779#else 10780# include <assert.h> 10781#endif 10782 10783#undef shl_load 10784 10785/* Override any GCC internal prototype to avoid an error. 10786 Use char because int might match the return type of a GCC 10787 builtin and then its argument prototype would still apply. */ 10788#ifdef __cplusplus 10789extern "C" 10790#endif 10791char shl_load (); 10792/* The GNU C library defines this for functions which it implements 10793 to always fail with ENOSYS. Some functions are actually named 10794 something starting with __ and the normal name is an alias. */ 10795#if defined __stub_shl_load || defined __stub___shl_load 10796choke me 10797#endif 10798 10799int 10800main () 10801{ 10802return shl_load (); 10803 ; 10804 return 0; 10805} 10806_ACEOF 10807rm -f conftest.$ac_objext conftest$ac_exeext 10808if { (ac_try="$ac_link" 10809case "(($ac_try" in 10810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10811 *) ac_try_echo=$ac_try;; 10812esac 10813eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10814$as_echo "$ac_try_echo") >&5 10815 (eval "$ac_link") 2>conftest.er1 10816 ac_status=$? 10817 grep -v '^ *+' conftest.er1 >conftest.err 10818 rm -f conftest.er1 10819 cat conftest.err >&5 10820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10821 (exit $ac_status); } && { 10822 test -z "$ac_c_werror_flag" || 10823 test ! -s conftest.err 10824 } && test -s conftest$ac_exeext && { 10825 test "$cross_compiling" = yes || 10826 $as_test_x conftest$ac_exeext 10827 }; then 10828 ac_cv_func_shl_load=yes 10829else 10830 $as_echo "$as_me: failed program was:" >&5 10831sed 's/^/| /' conftest.$ac_ext >&5 10832 10833 ac_cv_func_shl_load=no 10834fi 10835 10836rm -rf conftest.dSYM 10837rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10838 conftest$ac_exeext conftest.$ac_ext 10839fi 10840{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10841$as_echo "$ac_cv_func_shl_load" >&6; } 10842if test "x$ac_cv_func_shl_load" = x""yes; then 10843 lt_cv_dlopen="shl_load" 10844else 10845 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10846$as_echo_n "checking for shl_load in -ldld... " >&6; } 10847if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10848 $as_echo_n "(cached) " >&6 10849else 10850 ac_check_lib_save_LIBS=$LIBS 10851LIBS="-ldld $LIBS" 10852cat >conftest.$ac_ext <<_ACEOF 10853/* confdefs.h. */ 10854_ACEOF 10855cat confdefs.h >>conftest.$ac_ext 10856cat >>conftest.$ac_ext <<_ACEOF 10857/* end confdefs.h. */ 10858 10859/* Override any GCC internal prototype to avoid an error. 10860 Use char because int might match the return type of a GCC 10861 builtin and then its argument prototype would still apply. */ 10862#ifdef __cplusplus 10863extern "C" 10864#endif 10865char shl_load (); 10866int 10867main () 10868{ 10869return shl_load (); 10870 ; 10871 return 0; 10872} 10873_ACEOF 10874rm -f conftest.$ac_objext conftest$ac_exeext 10875if { (ac_try="$ac_link" 10876case "(($ac_try" in 10877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10878 *) ac_try_echo=$ac_try;; 10879esac 10880eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10881$as_echo "$ac_try_echo") >&5 10882 (eval "$ac_link") 2>conftest.er1 10883 ac_status=$? 10884 grep -v '^ *+' conftest.er1 >conftest.err 10885 rm -f conftest.er1 10886 cat conftest.err >&5 10887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10888 (exit $ac_status); } && { 10889 test -z "$ac_c_werror_flag" || 10890 test ! -s conftest.err 10891 } && test -s conftest$ac_exeext && { 10892 test "$cross_compiling" = yes || 10893 $as_test_x conftest$ac_exeext 10894 }; then 10895 ac_cv_lib_dld_shl_load=yes 10896else 10897 $as_echo "$as_me: failed program was:" >&5 10898sed 's/^/| /' conftest.$ac_ext >&5 10899 10900 ac_cv_lib_dld_shl_load=no 10901fi 10902 10903rm -rf conftest.dSYM 10904rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10905 conftest$ac_exeext conftest.$ac_ext 10906LIBS=$ac_check_lib_save_LIBS 10907fi 10908{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10909$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10910if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 10911 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10912else 10913 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 10914$as_echo_n "checking for dlopen... " >&6; } 10915if test "${ac_cv_func_dlopen+set}" = set; then 10916 $as_echo_n "(cached) " >&6 10917else 10918 cat >conftest.$ac_ext <<_ACEOF 10919/* confdefs.h. */ 10920_ACEOF 10921cat confdefs.h >>conftest.$ac_ext 10922cat >>conftest.$ac_ext <<_ACEOF 10923/* end confdefs.h. */ 10924/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10925 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10926#define dlopen innocuous_dlopen 10927 10928/* System header to define __stub macros and hopefully few prototypes, 10929 which can conflict with char dlopen (); below. 10930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10931 <limits.h> exists even on freestanding compilers. */ 10932 10933#ifdef __STDC__ 10934# include <limits.h> 10935#else 10936# include <assert.h> 10937#endif 10938 10939#undef dlopen 10940 10941/* Override any GCC internal prototype to avoid an error. 10942 Use char because int might match the return type of a GCC 10943 builtin and then its argument prototype would still apply. */ 10944#ifdef __cplusplus 10945extern "C" 10946#endif 10947char dlopen (); 10948/* The GNU C library defines this for functions which it implements 10949 to always fail with ENOSYS. Some functions are actually named 10950 something starting with __ and the normal name is an alias. */ 10951#if defined __stub_dlopen || defined __stub___dlopen 10952choke me 10953#endif 10954 10955int 10956main () 10957{ 10958return dlopen (); 10959 ; 10960 return 0; 10961} 10962_ACEOF 10963rm -f conftest.$ac_objext conftest$ac_exeext 10964if { (ac_try="$ac_link" 10965case "(($ac_try" in 10966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10967 *) ac_try_echo=$ac_try;; 10968esac 10969eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10970$as_echo "$ac_try_echo") >&5 10971 (eval "$ac_link") 2>conftest.er1 10972 ac_status=$? 10973 grep -v '^ *+' conftest.er1 >conftest.err 10974 rm -f conftest.er1 10975 cat conftest.err >&5 10976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10977 (exit $ac_status); } && { 10978 test -z "$ac_c_werror_flag" || 10979 test ! -s conftest.err 10980 } && test -s conftest$ac_exeext && { 10981 test "$cross_compiling" = yes || 10982 $as_test_x conftest$ac_exeext 10983 }; then 10984 ac_cv_func_dlopen=yes 10985else 10986 $as_echo "$as_me: failed program was:" >&5 10987sed 's/^/| /' conftest.$ac_ext >&5 10988 10989 ac_cv_func_dlopen=no 10990fi 10991 10992rm -rf conftest.dSYM 10993rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10994 conftest$ac_exeext conftest.$ac_ext 10995fi 10996{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10997$as_echo "$ac_cv_func_dlopen" >&6; } 10998if test "x$ac_cv_func_dlopen" = x""yes; then 10999 lt_cv_dlopen="dlopen" 11000else 11001 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11002$as_echo_n "checking for dlopen in -ldl... " >&6; } 11003if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11004 $as_echo_n "(cached) " >&6 11005else 11006 ac_check_lib_save_LIBS=$LIBS 11007LIBS="-ldl $LIBS" 11008cat >conftest.$ac_ext <<_ACEOF 11009/* confdefs.h. */ 11010_ACEOF 11011cat confdefs.h >>conftest.$ac_ext 11012cat >>conftest.$ac_ext <<_ACEOF 11013/* end confdefs.h. */ 11014 11015/* Override any GCC internal prototype to avoid an error. 11016 Use char because int might match the return type of a GCC 11017 builtin and then its argument prototype would still apply. */ 11018#ifdef __cplusplus 11019extern "C" 11020#endif 11021char dlopen (); 11022int 11023main () 11024{ 11025return dlopen (); 11026 ; 11027 return 0; 11028} 11029_ACEOF 11030rm -f conftest.$ac_objext conftest$ac_exeext 11031if { (ac_try="$ac_link" 11032case "(($ac_try" in 11033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11034 *) ac_try_echo=$ac_try;; 11035esac 11036eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11037$as_echo "$ac_try_echo") >&5 11038 (eval "$ac_link") 2>conftest.er1 11039 ac_status=$? 11040 grep -v '^ *+' conftest.er1 >conftest.err 11041 rm -f conftest.er1 11042 cat conftest.err >&5 11043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11044 (exit $ac_status); } && { 11045 test -z "$ac_c_werror_flag" || 11046 test ! -s conftest.err 11047 } && test -s conftest$ac_exeext && { 11048 test "$cross_compiling" = yes || 11049 $as_test_x conftest$ac_exeext 11050 }; then 11051 ac_cv_lib_dl_dlopen=yes 11052else 11053 $as_echo "$as_me: failed program was:" >&5 11054sed 's/^/| /' conftest.$ac_ext >&5 11055 11056 ac_cv_lib_dl_dlopen=no 11057fi 11058 11059rm -rf conftest.dSYM 11060rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11061 conftest$ac_exeext conftest.$ac_ext 11062LIBS=$ac_check_lib_save_LIBS 11063fi 11064{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11065$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11066if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11067 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11068else 11069 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 11070$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11071if test "${ac_cv_lib_svld_dlopen+set}" = set; then 11072 $as_echo_n "(cached) " >&6 11073else 11074 ac_check_lib_save_LIBS=$LIBS 11075LIBS="-lsvld $LIBS" 11076cat >conftest.$ac_ext <<_ACEOF 11077/* confdefs.h. */ 11078_ACEOF 11079cat confdefs.h >>conftest.$ac_ext 11080cat >>conftest.$ac_ext <<_ACEOF 11081/* end confdefs.h. */ 11082 11083/* Override any GCC internal prototype to avoid an error. 11084 Use char because int might match the return type of a GCC 11085 builtin and then its argument prototype would still apply. */ 11086#ifdef __cplusplus 11087extern "C" 11088#endif 11089char dlopen (); 11090int 11091main () 11092{ 11093return dlopen (); 11094 ; 11095 return 0; 11096} 11097_ACEOF 11098rm -f conftest.$ac_objext conftest$ac_exeext 11099if { (ac_try="$ac_link" 11100case "(($ac_try" in 11101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11102 *) ac_try_echo=$ac_try;; 11103esac 11104eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11105$as_echo "$ac_try_echo") >&5 11106 (eval "$ac_link") 2>conftest.er1 11107 ac_status=$? 11108 grep -v '^ *+' conftest.er1 >conftest.err 11109 rm -f conftest.er1 11110 cat conftest.err >&5 11111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11112 (exit $ac_status); } && { 11113 test -z "$ac_c_werror_flag" || 11114 test ! -s conftest.err 11115 } && test -s conftest$ac_exeext && { 11116 test "$cross_compiling" = yes || 11117 $as_test_x conftest$ac_exeext 11118 }; then 11119 ac_cv_lib_svld_dlopen=yes 11120else 11121 $as_echo "$as_me: failed program was:" >&5 11122sed 's/^/| /' conftest.$ac_ext >&5 11123 11124 ac_cv_lib_svld_dlopen=no 11125fi 11126 11127rm -rf conftest.dSYM 11128rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11129 conftest$ac_exeext conftest.$ac_ext 11130LIBS=$ac_check_lib_save_LIBS 11131fi 11132{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11133$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11134if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 11135 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11136else 11137 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11138$as_echo_n "checking for dld_link in -ldld... " >&6; } 11139if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11140 $as_echo_n "(cached) " >&6 11141else 11142 ac_check_lib_save_LIBS=$LIBS 11143LIBS="-ldld $LIBS" 11144cat >conftest.$ac_ext <<_ACEOF 11145/* confdefs.h. */ 11146_ACEOF 11147cat confdefs.h >>conftest.$ac_ext 11148cat >>conftest.$ac_ext <<_ACEOF 11149/* end confdefs.h. */ 11150 11151/* Override any GCC internal prototype to avoid an error. 11152 Use char because int might match the return type of a GCC 11153 builtin and then its argument prototype would still apply. */ 11154#ifdef __cplusplus 11155extern "C" 11156#endif 11157char dld_link (); 11158int 11159main () 11160{ 11161return dld_link (); 11162 ; 11163 return 0; 11164} 11165_ACEOF 11166rm -f conftest.$ac_objext conftest$ac_exeext 11167if { (ac_try="$ac_link" 11168case "(($ac_try" in 11169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11170 *) ac_try_echo=$ac_try;; 11171esac 11172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11173$as_echo "$ac_try_echo") >&5 11174 (eval "$ac_link") 2>conftest.er1 11175 ac_status=$? 11176 grep -v '^ *+' conftest.er1 >conftest.err 11177 rm -f conftest.er1 11178 cat conftest.err >&5 11179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11180 (exit $ac_status); } && { 11181 test -z "$ac_c_werror_flag" || 11182 test ! -s conftest.err 11183 } && test -s conftest$ac_exeext && { 11184 test "$cross_compiling" = yes || 11185 $as_test_x conftest$ac_exeext 11186 }; then 11187 ac_cv_lib_dld_dld_link=yes 11188else 11189 $as_echo "$as_me: failed program was:" >&5 11190sed 's/^/| /' conftest.$ac_ext >&5 11191 11192 ac_cv_lib_dld_dld_link=no 11193fi 11194 11195rm -rf conftest.dSYM 11196rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11197 conftest$ac_exeext conftest.$ac_ext 11198LIBS=$ac_check_lib_save_LIBS 11199fi 11200{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11201$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11202if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 11203 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11204fi 11205 11206 11207fi 11208 11209 11210fi 11211 11212 11213fi 11214 11215 11216fi 11217 11218 11219fi 11220 11221 ;; 11222 esac 11223 11224 if test "x$lt_cv_dlopen" != xno; then 11225 enable_dlopen=yes 11226 else 11227 enable_dlopen=no 11228 fi 11229 11230 case $lt_cv_dlopen in 11231 dlopen) 11232 save_CPPFLAGS="$CPPFLAGS" 11233 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11234 11235 save_LDFLAGS="$LDFLAGS" 11236 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11237 11238 save_LIBS="$LIBS" 11239 LIBS="$lt_cv_dlopen_libs $LIBS" 11240 11241 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11242$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11243if test "${lt_cv_dlopen_self+set}" = set; then 11244 $as_echo_n "(cached) " >&6 11245else 11246 if test "$cross_compiling" = yes; then : 11247 lt_cv_dlopen_self=cross 11248else 11249 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11250 lt_status=$lt_dlunknown 11251 cat > conftest.$ac_ext <<_LT_EOF 11252#line 11252 "configure" 11253#include "confdefs.h" 11254 11255#if HAVE_DLFCN_H 11256#include <dlfcn.h> 11257#endif 11258 11259#include <stdio.h> 11260 11261#ifdef RTLD_GLOBAL 11262# define LT_DLGLOBAL RTLD_GLOBAL 11263#else 11264# ifdef DL_GLOBAL 11265# define LT_DLGLOBAL DL_GLOBAL 11266# else 11267# define LT_DLGLOBAL 0 11268# endif 11269#endif 11270 11271/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11272 find out it does not work in some platform. */ 11273#ifndef LT_DLLAZY_OR_NOW 11274# ifdef RTLD_LAZY 11275# define LT_DLLAZY_OR_NOW RTLD_LAZY 11276# else 11277# ifdef DL_LAZY 11278# define LT_DLLAZY_OR_NOW DL_LAZY 11279# else 11280# ifdef RTLD_NOW 11281# define LT_DLLAZY_OR_NOW RTLD_NOW 11282# else 11283# ifdef DL_NOW 11284# define LT_DLLAZY_OR_NOW DL_NOW 11285# else 11286# define LT_DLLAZY_OR_NOW 0 11287# endif 11288# endif 11289# endif 11290# endif 11291#endif 11292 11293void fnord() { int i=42;} 11294int main () 11295{ 11296 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11297 int status = $lt_dlunknown; 11298 11299 if (self) 11300 { 11301 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11302 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11303 /* dlclose (self); */ 11304 } 11305 else 11306 puts (dlerror ()); 11307 11308 return status; 11309} 11310_LT_EOF 11311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11312 (eval $ac_link) 2>&5 11313 ac_status=$? 11314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11315 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11316 (./conftest; exit; ) >&5 2>/dev/null 11317 lt_status=$? 11318 case x$lt_status in 11319 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11320 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11321 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11322 esac 11323 else : 11324 # compilation failed 11325 lt_cv_dlopen_self=no 11326 fi 11327fi 11328rm -fr conftest* 11329 11330 11331fi 11332{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 11333$as_echo "$lt_cv_dlopen_self" >&6; } 11334 11335 if test "x$lt_cv_dlopen_self" = xyes; then 11336 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11337 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 11338$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11339if test "${lt_cv_dlopen_self_static+set}" = set; then 11340 $as_echo_n "(cached) " >&6 11341else 11342 if test "$cross_compiling" = yes; then : 11343 lt_cv_dlopen_self_static=cross 11344else 11345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11346 lt_status=$lt_dlunknown 11347 cat > conftest.$ac_ext <<_LT_EOF 11348#line 11348 "configure" 11349#include "confdefs.h" 11350 11351#if HAVE_DLFCN_H 11352#include <dlfcn.h> 11353#endif 11354 11355#include <stdio.h> 11356 11357#ifdef RTLD_GLOBAL 11358# define LT_DLGLOBAL RTLD_GLOBAL 11359#else 11360# ifdef DL_GLOBAL 11361# define LT_DLGLOBAL DL_GLOBAL 11362# else 11363# define LT_DLGLOBAL 0 11364# endif 11365#endif 11366 11367/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11368 find out it does not work in some platform. */ 11369#ifndef LT_DLLAZY_OR_NOW 11370# ifdef RTLD_LAZY 11371# define LT_DLLAZY_OR_NOW RTLD_LAZY 11372# else 11373# ifdef DL_LAZY 11374# define LT_DLLAZY_OR_NOW DL_LAZY 11375# else 11376# ifdef RTLD_NOW 11377# define LT_DLLAZY_OR_NOW RTLD_NOW 11378# else 11379# ifdef DL_NOW 11380# define LT_DLLAZY_OR_NOW DL_NOW 11381# else 11382# define LT_DLLAZY_OR_NOW 0 11383# endif 11384# endif 11385# endif 11386# endif 11387#endif 11388 11389void fnord() { int i=42;} 11390int main () 11391{ 11392 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11393 int status = $lt_dlunknown; 11394 11395 if (self) 11396 { 11397 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11398 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11399 /* dlclose (self); */ 11400 } 11401 else 11402 puts (dlerror ()); 11403 11404 return status; 11405} 11406_LT_EOF 11407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11408 (eval $ac_link) 2>&5 11409 ac_status=$? 11410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11411 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11412 (./conftest; exit; ) >&5 2>/dev/null 11413 lt_status=$? 11414 case x$lt_status in 11415 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11416 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11417 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11418 esac 11419 else : 11420 # compilation failed 11421 lt_cv_dlopen_self_static=no 11422 fi 11423fi 11424rm -fr conftest* 11425 11426 11427fi 11428{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 11429$as_echo "$lt_cv_dlopen_self_static" >&6; } 11430 fi 11431 11432 CPPFLAGS="$save_CPPFLAGS" 11433 LDFLAGS="$save_LDFLAGS" 11434 LIBS="$save_LIBS" 11435 ;; 11436 esac 11437 11438 case $lt_cv_dlopen_self in 11439 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11440 *) enable_dlopen_self=unknown ;; 11441 esac 11442 11443 case $lt_cv_dlopen_self_static in 11444 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11445 *) enable_dlopen_self_static=unknown ;; 11446 esac 11447fi 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465striplib= 11466old_striplib= 11467{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11468$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11469if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11470 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11471 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11472 { $as_echo "$as_me:$LINENO: result: yes" >&5 11473$as_echo "yes" >&6; } 11474else 11475# FIXME - insert some real tests, host_os isn't really good enough 11476 case $host_os in 11477 darwin*) 11478 if test -n "$STRIP" ; then 11479 striplib="$STRIP -x" 11480 old_striplib="$STRIP -S" 11481 { $as_echo "$as_me:$LINENO: result: yes" >&5 11482$as_echo "yes" >&6; } 11483 else 11484 { $as_echo "$as_me:$LINENO: result: no" >&5 11485$as_echo "no" >&6; } 11486 fi 11487 ;; 11488 *) 11489 { $as_echo "$as_me:$LINENO: result: no" >&5 11490$as_echo "no" >&6; } 11491 ;; 11492 esac 11493fi 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 # Report which library types will actually be built 11507 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11508$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11509 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11510$as_echo "$can_build_shared" >&6; } 11511 11512 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11513$as_echo_n "checking whether to build shared libraries... " >&6; } 11514 test "$can_build_shared" = "no" && enable_shared=no 11515 11516 # On AIX, shared libraries and static libraries use the same namespace, and 11517 # are all built from PIC. 11518 case $host_os in 11519 aix3*) 11520 test "$enable_shared" = yes && enable_static=no 11521 if test -n "$RANLIB"; then 11522 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11523 postinstall_cmds='$RANLIB $lib' 11524 fi 11525 ;; 11526 11527 aix[4-9]*) 11528 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11529 test "$enable_shared" = yes && enable_static=no 11530 fi 11531 ;; 11532 esac 11533 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11534$as_echo "$enable_shared" >&6; } 11535 11536 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11537$as_echo_n "checking whether to build static libraries... " >&6; } 11538 # Make sure either enable_shared or enable_static is yes. 11539 test "$enable_shared" = yes || enable_static=yes 11540 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11541$as_echo "$enable_static" >&6; } 11542 11543 11544 11545 11546fi 11547ac_ext=c 11548ac_cpp='$CPP $CPPFLAGS' 11549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11551ac_compiler_gnu=$ac_cv_c_compiler_gnu 11552 11553CC="$lt_save_CC" 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 ac_config_commands="$ac_config_commands libtool" 11568 11569 11570 11571 11572# Only expand once: 11573 11574 11575 11576 11577# dolt, a replacement for libtool 11578# Josh Triplett <josh@freedesktop.org> 11579# Extract the first word of "bash", so it can be a program name with args. 11580set dummy bash; ac_word=$2 11581{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11582$as_echo_n "checking for $ac_word... " >&6; } 11583if test "${ac_cv_path_DOLT_BASH+set}" = set; then 11584 $as_echo_n "(cached) " >&6 11585else 11586 case $DOLT_BASH in 11587 [\\/]* | ?:[\\/]*) 11588 ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path. 11589 ;; 11590 *) 11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11592for as_dir in $PATH 11593do 11594 IFS=$as_save_IFS 11595 test -z "$as_dir" && as_dir=. 11596 for ac_exec_ext in '' $ac_executable_extensions; do 11597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11598 ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext" 11599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11600 break 2 11601 fi 11602done 11603done 11604IFS=$as_save_IFS 11605 11606 ;; 11607esac 11608fi 11609DOLT_BASH=$ac_cv_path_DOLT_BASH 11610if test -n "$DOLT_BASH"; then 11611 { $as_echo "$as_me:$LINENO: result: $DOLT_BASH" >&5 11612$as_echo "$DOLT_BASH" >&6; } 11613else 11614 { $as_echo "$as_me:$LINENO: result: no" >&5 11615$as_echo "no" >&6; } 11616fi 11617 11618 11619{ $as_echo "$as_me:$LINENO: checking if dolt supports this host" >&5 11620$as_echo_n "checking if dolt supports this host... " >&6; } 11621dolt_supported=yes 11622if test x$DOLT_BASH = x; then 11623 dolt_supported=no 11624fi 11625if test x$GCC != xyes; then 11626 dolt_supported=no 11627fi 11628case $host in 11629i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*) ;; 11630amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*) ;; 11631*) dolt_supported=no ;; 11632esac 11633if test x$dolt_supported = xno ; then 11634 { $as_echo "$as_me:$LINENO: result: no, falling back to libtool" >&5 11635$as_echo "no, falling back to libtool" >&6; } 11636 LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)' 11637 LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)' 11638else 11639 { $as_echo "$as_me:$LINENO: result: yes, replacing libtool" >&5 11640$as_echo "yes, replacing libtool" >&6; } 11641 11642 cat <<__DOLTCOMPILE__EOF__ >doltcompile 11643#!$DOLT_BASH 11644__DOLTCOMPILE__EOF__ 11645 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11646args=("$@") 11647for ((arg=0; arg<${#args[@]}; arg++)) ; do 11648 if test x"${args[$arg]}" = x-o ; then 11649 objarg=$((arg+1)) 11650 break 11651 fi 11652done 11653if test x$objarg = x ; then 11654 echo 'Error: no -o on compiler command line' 1>&2 11655 exit 1 11656fi 11657lo="${args[$objarg]}" 11658obj="${lo%.lo}" 11659if test x"$lo" = x"$obj" ; then 11660 echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2 11661 exit 1 11662fi 11663objbase="${obj##*/}" 11664__DOLTCOMPILE__EOF__ 11665 11666 if test x$enable_shared = xyes; then 11667 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11668libobjdir="${obj%$objbase}.libs" 11669if test ! -d "$libobjdir" ; then 11670 mkdir_out="$(mkdir "$libobjdir" 2>&1)" 11671 mkdir_ret=$? 11672 if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then 11673 echo "$mkdir_out" 1>&2 11674 exit $mkdir_ret 11675 fi 11676fi 11677pic_object="$libobjdir/$objbase.o" 11678args[$objarg]="$pic_object" 11679"${args[@]}" -fPIC -DPIC || exit $? 11680__DOLTCOMPILE__EOF__ 11681 fi 11682 11683 if test x$enable_static = xyes; then 11684 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11685non_pic_object="$obj.o" 11686args[$objarg]="$non_pic_object" 11687__DOLTCOMPILE__EOF__ 11688 if test x$enable_shared = xyes; then 11689 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11690"${args[@]}" >/dev/null 2>&1 || exit $? 11691__DOLTCOMPILE__EOF__ 11692 else 11693 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11694"${args[@]}" || exit $? 11695__DOLTCOMPILE__EOF__ 11696 fi 11697 fi 11698 11699 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11700{ 11701echo "# $lo - a libtool object file" 11702echo "# Generated by doltcompile, not libtool" 11703__DOLTCOMPILE__EOF__ 11704 11705 if test x$enable_shared = xyes; then 11706 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11707echo "pic_object='$pic_object'" 11708__DOLTCOMPILE__EOF__ 11709 else 11710 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11711echo pic_object=none 11712__DOLTCOMPILE__EOF__ 11713 fi 11714 11715 if test x$enable_static = xyes; then 11716 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11717echo "non_pic_object='$non_pic_object'" 11718__DOLTCOMPILE__EOF__ 11719 else 11720 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11721echo non_pic_object=none 11722__DOLTCOMPILE__EOF__ 11723 fi 11724 11725 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 11726} > "$lo" 11727__DOLTCOMPILE__EOF__ 11728 11729 chmod +x doltcompile 11730 LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)' 11731 LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)' 11732fi 11733 11734 11735# end dolt 11736 11737{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 11738$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 11739set x ${MAKE-make} 11740ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 11741if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 11742 $as_echo_n "(cached) " >&6 11743else 11744 cat >conftest.make <<\_ACEOF 11745SHELL = /bin/sh 11746all: 11747 @echo '@@@%%%=$(MAKE)=@@@%%%' 11748_ACEOF 11749# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 11750case `${MAKE-make} -f conftest.make 2>/dev/null` in 11751 *@@@%%%=?*=@@@%%%*) 11752 eval ac_cv_prog_make_${ac_make}_set=yes;; 11753 *) 11754 eval ac_cv_prog_make_${ac_make}_set=no;; 11755esac 11756rm -f conftest.make 11757fi 11758if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 11759 { $as_echo "$as_me:$LINENO: result: yes" >&5 11760$as_echo "yes" >&6; } 11761 SET_MAKE= 11762else 11763 { $as_echo "$as_me:$LINENO: result: no" >&5 11764$as_echo "no" >&6; } 11765 SET_MAKE="MAKE=${MAKE-make}" 11766fi 11767 11768 11769 11770case "$host" in 11771 *-*-mingw*) 11772 os_win32=yes 11773 ;; 11774 *) 11775 os_win32=no 11776esac 11777 if test "$os_win32" = "yes"; then 11778 OS_WIN32_TRUE= 11779 OS_WIN32_FALSE='#' 11780else 11781 OS_WIN32_TRUE='#' 11782 OS_WIN32_FALSE= 11783fi 11784 11785 11786if test "$os_win32" = "yes"; then 11787 # Extract the first word of "lib.exe", so it can be a program name with args. 11788set dummy lib.exe; ac_word=$2 11789{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11790$as_echo_n "checking for $ac_word... " >&6; } 11791if test "${ac_cv_prog_ms_librarian+set}" = set; then 11792 $as_echo_n "(cached) " >&6 11793else 11794 if test -n "$ms_librarian"; then 11795 ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test. 11796else 11797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11798for as_dir in $PATH 11799do 11800 IFS=$as_save_IFS 11801 test -z "$as_dir" && as_dir=. 11802 for ac_exec_ext in '' $ac_executable_extensions; do 11803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11804 ac_cv_prog_ms_librarian="yes" 11805 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11806 break 2 11807 fi 11808done 11809done 11810IFS=$as_save_IFS 11811 11812 test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no" 11813fi 11814fi 11815ms_librarian=$ac_cv_prog_ms_librarian 11816if test -n "$ms_librarian"; then 11817 { $as_echo "$as_me:$LINENO: result: $ms_librarian" >&5 11818$as_echo "$ms_librarian" >&6; } 11819else 11820 { $as_echo "$as_me:$LINENO: result: no" >&5 11821$as_echo "no" >&6; } 11822fi 11823 11824 11825fi 11826 if test x$ms_librarian = xyes; then 11827 MS_LIB_AVAILABLE_TRUE= 11828 MS_LIB_AVAILABLE_FALSE='#' 11829else 11830 MS_LIB_AVAILABLE_TRUE='#' 11831 MS_LIB_AVAILABLE_FALSE= 11832fi 11833 11834 11835WARN_CFLAGS="" 11836if test "x$GCC" = "xyes"; then 11837 WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ 11838 -Wmissing-prototypes -Wmissing-declarations \ 11839 -Wnested-externs -fno-strict-aliasing" 11840 11841cat >>confdefs.h <<_ACEOF 11842#define HAVE_WARNING_CPP_DIRECTIVE 1 11843_ACEOF 11844 11845fi 11846 11847 11848 11849 11850 if test $cross_compiling = yes; then 11851 CROSS_COMPILING_TRUE= 11852 CROSS_COMPILING_FALSE='#' 11853else 11854 CROSS_COMPILING_TRUE='#' 11855 CROSS_COMPILING_FALSE= 11856fi 11857 11858 11859 11860# Setup for compiling build tools (fc-glyphname, etc) 11861{ $as_echo "$as_me:$LINENO: checking for a C compiler for build tools" >&5 11862$as_echo_n "checking for a C compiler for build tools... " >&6; } 11863if test $cross_compiling = yes; then 11864 for ac_prog in gcc cc 11865do 11866 # Extract the first word of "$ac_prog", so it can be a program name with args. 11867set dummy $ac_prog; ac_word=$2 11868{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11869$as_echo_n "checking for $ac_word... " >&6; } 11870if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then 11871 $as_echo_n "(cached) " >&6 11872else 11873 if test -n "$CC_FOR_BUILD"; then 11874 ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test. 11875else 11876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11877for as_dir in $PATH 11878do 11879 IFS=$as_save_IFS 11880 test -z "$as_dir" && as_dir=. 11881 for ac_exec_ext in '' $ac_executable_extensions; do 11882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11883 ac_cv_prog_CC_FOR_BUILD="$ac_prog" 11884 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11885 break 2 11886 fi 11887done 11888done 11889IFS=$as_save_IFS 11890 11891fi 11892fi 11893CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD 11894if test -n "$CC_FOR_BUILD"; then 11895 { $as_echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5 11896$as_echo "$CC_FOR_BUILD" >&6; } 11897else 11898 { $as_echo "$as_me:$LINENO: result: no" >&5 11899$as_echo "no" >&6; } 11900fi 11901 11902 11903 test -n "$CC_FOR_BUILD" && break 11904done 11905 11906else 11907 CC_FOR_BUILD=$CC 11908fi 11909{ $as_echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5 11910$as_echo "$CC_FOR_BUILD" >&6; } 11911 11912 11913{ $as_echo "$as_me:$LINENO: checking for suffix of executable build tools" >&5 11914$as_echo_n "checking for suffix of executable build tools... " >&6; } 11915if test $cross_compiling = yes; then 11916 cat >conftest.c <<\_______EOF 11917int 11918main () 11919{ 11920 exit (0); 11921} 11922_______EOF 11923 for i in .exe ""; do 11924 compile="$CC_FOR_BUILD conftest.c -o conftest$i" 11925 if { (eval echo "$as_me:$LINENO: \"$compile\"") >&5 11926 (eval $compile) 2>&5 11927 ac_status=$? 11928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11929 (exit $ac_status); }; then 11930 if (./conftest) 2>&5; then 11931 EXEEXT_FOR_BUILD=$i 11932 break 11933 fi 11934 fi 11935 done 11936 rm -f conftest* 11937 if test "${EXEEXT_FOR_BUILD+set}" != set; then 11938 { { $as_echo "$as_me:$LINENO: error: Cannot determine suffix of executable build tools" >&5 11939$as_echo "$as_me: error: Cannot determine suffix of executable build tools" >&2;} 11940 { (exit 1); exit 1; }; } 11941 fi 11942else 11943 EXEEXT_FOR_BUILD=$EXEEXT 11944fi 11945{ $as_echo "$as_me:$LINENO: result: $EXEEXT_FOR_BUILD" >&5 11946$as_echo "$EXEEXT_FOR_BUILD" >&6; } 11947 11948 11949 11950 11951# Check whether --with-arch was given. 11952if test "${with_arch+set}" = set; then 11953 withval=$with_arch; arch="$withval" 11954else 11955 arch=auto 11956fi 11957 11958 11959if test $cross_compiling = yes; then 11960 case "$arch" in 11961 auto) 11962 { { $as_echo "$as_me:$LINENO: error: Cannot autodetect architecture in cross compile environment 11963 Use --with-arch=ARCH to specify architecture" >&5 11964$as_echo "$as_me: error: Cannot autodetect architecture in cross compile environment 11965 Use --with-arch=ARCH to specify architecture" >&2;} 11966 { (exit 1); exit 1; }; } 11967 ;; 11968 esac 11969fi 11970 11971ARCHITECTURE=$arch 11972 11973 11974 11975# Checks for header files. 11976 11977 11978 11979 11980 11981ac_header_dirent=no 11982for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 11983 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 11984{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 11985$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 11986if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11987 $as_echo_n "(cached) " >&6 11988else 11989 cat >conftest.$ac_ext <<_ACEOF 11990/* confdefs.h. */ 11991_ACEOF 11992cat confdefs.h >>conftest.$ac_ext 11993cat >>conftest.$ac_ext <<_ACEOF 11994/* end confdefs.h. */ 11995#include <sys/types.h> 11996#include <$ac_hdr> 11997 11998int 11999main () 12000{ 12001if ((DIR *) 0) 12002return 0; 12003 ; 12004 return 0; 12005} 12006_ACEOF 12007rm -f conftest.$ac_objext 12008if { (ac_try="$ac_compile" 12009case "(($ac_try" in 12010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12011 *) ac_try_echo=$ac_try;; 12012esac 12013eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12014$as_echo "$ac_try_echo") >&5 12015 (eval "$ac_compile") 2>conftest.er1 12016 ac_status=$? 12017 grep -v '^ *+' conftest.er1 >conftest.err 12018 rm -f conftest.er1 12019 cat conftest.err >&5 12020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12021 (exit $ac_status); } && { 12022 test -z "$ac_c_werror_flag" || 12023 test ! -s conftest.err 12024 } && test -s conftest.$ac_objext; then 12025 eval "$as_ac_Header=yes" 12026else 12027 $as_echo "$as_me: failed program was:" >&5 12028sed 's/^/| /' conftest.$ac_ext >&5 12029 12030 eval "$as_ac_Header=no" 12031fi 12032 12033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12034fi 12035ac_res=`eval 'as_val=${'$as_ac_Header'} 12036 $as_echo "$as_val"'` 12037 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12038$as_echo "$ac_res" >&6; } 12039as_val=`eval 'as_val=${'$as_ac_Header'} 12040 $as_echo "$as_val"'` 12041 if test "x$as_val" = x""yes; then 12042 cat >>confdefs.h <<_ACEOF 12043#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 12044_ACEOF 12045 12046ac_header_dirent=$ac_hdr; break 12047fi 12048 12049done 12050# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 12051if test $ac_header_dirent = dirent.h; then 12052 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 12053$as_echo_n "checking for library containing opendir... " >&6; } 12054if test "${ac_cv_search_opendir+set}" = set; then 12055 $as_echo_n "(cached) " >&6 12056else 12057 ac_func_search_save_LIBS=$LIBS 12058cat >conftest.$ac_ext <<_ACEOF 12059/* confdefs.h. */ 12060_ACEOF 12061cat confdefs.h >>conftest.$ac_ext 12062cat >>conftest.$ac_ext <<_ACEOF 12063/* end confdefs.h. */ 12064 12065/* Override any GCC internal prototype to avoid an error. 12066 Use char because int might match the return type of a GCC 12067 builtin and then its argument prototype would still apply. */ 12068#ifdef __cplusplus 12069extern "C" 12070#endif 12071char opendir (); 12072int 12073main () 12074{ 12075return opendir (); 12076 ; 12077 return 0; 12078} 12079_ACEOF 12080for ac_lib in '' dir; do 12081 if test -z "$ac_lib"; then 12082 ac_res="none required" 12083 else 12084 ac_res=-l$ac_lib 12085 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12086 fi 12087 rm -f conftest.$ac_objext conftest$ac_exeext 12088if { (ac_try="$ac_link" 12089case "(($ac_try" in 12090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12091 *) ac_try_echo=$ac_try;; 12092esac 12093eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12094$as_echo "$ac_try_echo") >&5 12095 (eval "$ac_link") 2>conftest.er1 12096 ac_status=$? 12097 grep -v '^ *+' conftest.er1 >conftest.err 12098 rm -f conftest.er1 12099 cat conftest.err >&5 12100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12101 (exit $ac_status); } && { 12102 test -z "$ac_c_werror_flag" || 12103 test ! -s conftest.err 12104 } && test -s conftest$ac_exeext && { 12105 test "$cross_compiling" = yes || 12106 $as_test_x conftest$ac_exeext 12107 }; then 12108 ac_cv_search_opendir=$ac_res 12109else 12110 $as_echo "$as_me: failed program was:" >&5 12111sed 's/^/| /' conftest.$ac_ext >&5 12112 12113 12114fi 12115 12116rm -rf conftest.dSYM 12117rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12118 conftest$ac_exeext 12119 if test "${ac_cv_search_opendir+set}" = set; then 12120 break 12121fi 12122done 12123if test "${ac_cv_search_opendir+set}" = set; then 12124 : 12125else 12126 ac_cv_search_opendir=no 12127fi 12128rm conftest.$ac_ext 12129LIBS=$ac_func_search_save_LIBS 12130fi 12131{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 12132$as_echo "$ac_cv_search_opendir" >&6; } 12133ac_res=$ac_cv_search_opendir 12134if test "$ac_res" != no; then 12135 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12136 12137fi 12138 12139else 12140 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 12141$as_echo_n "checking for library containing opendir... " >&6; } 12142if test "${ac_cv_search_opendir+set}" = set; then 12143 $as_echo_n "(cached) " >&6 12144else 12145 ac_func_search_save_LIBS=$LIBS 12146cat >conftest.$ac_ext <<_ACEOF 12147/* confdefs.h. */ 12148_ACEOF 12149cat confdefs.h >>conftest.$ac_ext 12150cat >>conftest.$ac_ext <<_ACEOF 12151/* end confdefs.h. */ 12152 12153/* Override any GCC internal prototype to avoid an error. 12154 Use char because int might match the return type of a GCC 12155 builtin and then its argument prototype would still apply. */ 12156#ifdef __cplusplus 12157extern "C" 12158#endif 12159char opendir (); 12160int 12161main () 12162{ 12163return opendir (); 12164 ; 12165 return 0; 12166} 12167_ACEOF 12168for ac_lib in '' x; do 12169 if test -z "$ac_lib"; then 12170 ac_res="none required" 12171 else 12172 ac_res=-l$ac_lib 12173 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12174 fi 12175 rm -f conftest.$ac_objext conftest$ac_exeext 12176if { (ac_try="$ac_link" 12177case "(($ac_try" in 12178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12179 *) ac_try_echo=$ac_try;; 12180esac 12181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12182$as_echo "$ac_try_echo") >&5 12183 (eval "$ac_link") 2>conftest.er1 12184 ac_status=$? 12185 grep -v '^ *+' conftest.er1 >conftest.err 12186 rm -f conftest.er1 12187 cat conftest.err >&5 12188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12189 (exit $ac_status); } && { 12190 test -z "$ac_c_werror_flag" || 12191 test ! -s conftest.err 12192 } && test -s conftest$ac_exeext && { 12193 test "$cross_compiling" = yes || 12194 $as_test_x conftest$ac_exeext 12195 }; then 12196 ac_cv_search_opendir=$ac_res 12197else 12198 $as_echo "$as_me: failed program was:" >&5 12199sed 's/^/| /' conftest.$ac_ext >&5 12200 12201 12202fi 12203 12204rm -rf conftest.dSYM 12205rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12206 conftest$ac_exeext 12207 if test "${ac_cv_search_opendir+set}" = set; then 12208 break 12209fi 12210done 12211if test "${ac_cv_search_opendir+set}" = set; then 12212 : 12213else 12214 ac_cv_search_opendir=no 12215fi 12216rm conftest.$ac_ext 12217LIBS=$ac_func_search_save_LIBS 12218fi 12219{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 12220$as_echo "$ac_cv_search_opendir" >&6; } 12221ac_res=$ac_cv_search_opendir 12222if test "$ac_res" != no; then 12223 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12224 12225fi 12226 12227fi 12228 12229{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 12230$as_echo_n "checking for ANSI C header files... " >&6; } 12231if test "${ac_cv_header_stdc+set}" = set; then 12232 $as_echo_n "(cached) " >&6 12233else 12234 cat >conftest.$ac_ext <<_ACEOF 12235/* confdefs.h. */ 12236_ACEOF 12237cat confdefs.h >>conftest.$ac_ext 12238cat >>conftest.$ac_ext <<_ACEOF 12239/* end confdefs.h. */ 12240#include <stdlib.h> 12241#include <stdarg.h> 12242#include <string.h> 12243#include <float.h> 12244 12245int 12246main () 12247{ 12248 12249 ; 12250 return 0; 12251} 12252_ACEOF 12253rm -f conftest.$ac_objext 12254if { (ac_try="$ac_compile" 12255case "(($ac_try" in 12256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12257 *) ac_try_echo=$ac_try;; 12258esac 12259eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12260$as_echo "$ac_try_echo") >&5 12261 (eval "$ac_compile") 2>conftest.er1 12262 ac_status=$? 12263 grep -v '^ *+' conftest.er1 >conftest.err 12264 rm -f conftest.er1 12265 cat conftest.err >&5 12266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12267 (exit $ac_status); } && { 12268 test -z "$ac_c_werror_flag" || 12269 test ! -s conftest.err 12270 } && test -s conftest.$ac_objext; then 12271 ac_cv_header_stdc=yes 12272else 12273 $as_echo "$as_me: failed program was:" >&5 12274sed 's/^/| /' conftest.$ac_ext >&5 12275 12276 ac_cv_header_stdc=no 12277fi 12278 12279rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12280 12281if test $ac_cv_header_stdc = yes; then 12282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12283 cat >conftest.$ac_ext <<_ACEOF 12284/* confdefs.h. */ 12285_ACEOF 12286cat confdefs.h >>conftest.$ac_ext 12287cat >>conftest.$ac_ext <<_ACEOF 12288/* end confdefs.h. */ 12289#include <string.h> 12290 12291_ACEOF 12292if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12293 $EGREP "memchr" >/dev/null 2>&1; then 12294 : 12295else 12296 ac_cv_header_stdc=no 12297fi 12298rm -f conftest* 12299 12300fi 12301 12302if test $ac_cv_header_stdc = yes; then 12303 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12304 cat >conftest.$ac_ext <<_ACEOF 12305/* confdefs.h. */ 12306_ACEOF 12307cat confdefs.h >>conftest.$ac_ext 12308cat >>conftest.$ac_ext <<_ACEOF 12309/* end confdefs.h. */ 12310#include <stdlib.h> 12311 12312_ACEOF 12313if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12314 $EGREP "free" >/dev/null 2>&1; then 12315 : 12316else 12317 ac_cv_header_stdc=no 12318fi 12319rm -f conftest* 12320 12321fi 12322 12323if test $ac_cv_header_stdc = yes; then 12324 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12325 if test "$cross_compiling" = yes; then 12326 : 12327else 12328 cat >conftest.$ac_ext <<_ACEOF 12329/* confdefs.h. */ 12330_ACEOF 12331cat confdefs.h >>conftest.$ac_ext 12332cat >>conftest.$ac_ext <<_ACEOF 12333/* end confdefs.h. */ 12334#include <ctype.h> 12335#include <stdlib.h> 12336#if ((' ' & 0x0FF) == 0x020) 12337# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12338# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12339#else 12340# define ISLOWER(c) \ 12341 (('a' <= (c) && (c) <= 'i') \ 12342 || ('j' <= (c) && (c) <= 'r') \ 12343 || ('s' <= (c) && (c) <= 'z')) 12344# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12345#endif 12346 12347#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12348int 12349main () 12350{ 12351 int i; 12352 for (i = 0; i < 256; i++) 12353 if (XOR (islower (i), ISLOWER (i)) 12354 || toupper (i) != TOUPPER (i)) 12355 return 2; 12356 return 0; 12357} 12358_ACEOF 12359rm -f conftest$ac_exeext 12360if { (ac_try="$ac_link" 12361case "(($ac_try" in 12362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12363 *) ac_try_echo=$ac_try;; 12364esac 12365eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12366$as_echo "$ac_try_echo") >&5 12367 (eval "$ac_link") 2>&5 12368 ac_status=$? 12369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12371 { (case "(($ac_try" in 12372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12373 *) ac_try_echo=$ac_try;; 12374esac 12375eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12376$as_echo "$ac_try_echo") >&5 12377 (eval "$ac_try") 2>&5 12378 ac_status=$? 12379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12380 (exit $ac_status); }; }; then 12381 : 12382else 12383 $as_echo "$as_me: program exited with status $ac_status" >&5 12384$as_echo "$as_me: failed program was:" >&5 12385sed 's/^/| /' conftest.$ac_ext >&5 12386 12387( exit $ac_status ) 12388ac_cv_header_stdc=no 12389fi 12390rm -rf conftest.dSYM 12391rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12392fi 12393 12394 12395fi 12396fi 12397{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 12398$as_echo "$ac_cv_header_stdc" >&6; } 12399if test $ac_cv_header_stdc = yes; then 12400 12401cat >>confdefs.h <<\_ACEOF 12402#define STDC_HEADERS 1 12403_ACEOF 12404 12405fi 12406 12407 12408 12409 12410 12411for ac_header in fcntl.h stdlib.h string.h unistd.h 12412do 12413as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12414if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12415 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12416$as_echo_n "checking for $ac_header... " >&6; } 12417if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12418 $as_echo_n "(cached) " >&6 12419fi 12420ac_res=`eval 'as_val=${'$as_ac_Header'} 12421 $as_echo "$as_val"'` 12422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12423$as_echo "$ac_res" >&6; } 12424else 12425 # Is the header compilable? 12426{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 12427$as_echo_n "checking $ac_header usability... " >&6; } 12428cat >conftest.$ac_ext <<_ACEOF 12429/* confdefs.h. */ 12430_ACEOF 12431cat confdefs.h >>conftest.$ac_ext 12432cat >>conftest.$ac_ext <<_ACEOF 12433/* end confdefs.h. */ 12434$ac_includes_default 12435#include <$ac_header> 12436_ACEOF 12437rm -f conftest.$ac_objext 12438if { (ac_try="$ac_compile" 12439case "(($ac_try" in 12440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12441 *) ac_try_echo=$ac_try;; 12442esac 12443eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12444$as_echo "$ac_try_echo") >&5 12445 (eval "$ac_compile") 2>conftest.er1 12446 ac_status=$? 12447 grep -v '^ *+' conftest.er1 >conftest.err 12448 rm -f conftest.er1 12449 cat conftest.err >&5 12450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12451 (exit $ac_status); } && { 12452 test -z "$ac_c_werror_flag" || 12453 test ! -s conftest.err 12454 } && test -s conftest.$ac_objext; then 12455 ac_header_compiler=yes 12456else 12457 $as_echo "$as_me: failed program was:" >&5 12458sed 's/^/| /' conftest.$ac_ext >&5 12459 12460 ac_header_compiler=no 12461fi 12462 12463rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12464{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 12465$as_echo "$ac_header_compiler" >&6; } 12466 12467# Is the header present? 12468{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 12469$as_echo_n "checking $ac_header presence... " >&6; } 12470cat >conftest.$ac_ext <<_ACEOF 12471/* confdefs.h. */ 12472_ACEOF 12473cat confdefs.h >>conftest.$ac_ext 12474cat >>conftest.$ac_ext <<_ACEOF 12475/* end confdefs.h. */ 12476#include <$ac_header> 12477_ACEOF 12478if { (ac_try="$ac_cpp conftest.$ac_ext" 12479case "(($ac_try" in 12480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12481 *) ac_try_echo=$ac_try;; 12482esac 12483eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12484$as_echo "$ac_try_echo") >&5 12485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 12486 ac_status=$? 12487 grep -v '^ *+' conftest.er1 >conftest.err 12488 rm -f conftest.er1 12489 cat conftest.err >&5 12490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12491 (exit $ac_status); } >/dev/null && { 12492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 12493 test ! -s conftest.err 12494 }; then 12495 ac_header_preproc=yes 12496else 12497 $as_echo "$as_me: failed program was:" >&5 12498sed 's/^/| /' conftest.$ac_ext >&5 12499 12500 ac_header_preproc=no 12501fi 12502 12503rm -f conftest.err conftest.$ac_ext 12504{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 12505$as_echo "$ac_header_preproc" >&6; } 12506 12507# So? What about this header? 12508case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 12509 yes:no: ) 12510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 12511$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 12512 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 12513$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 12514 ac_header_preproc=yes 12515 ;; 12516 no:yes:* ) 12517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 12518$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 12519 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 12520$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 12521 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 12522$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 12523 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 12524$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 12525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 12526$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 12527 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 12528$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 12529 12530 ;; 12531esac 12532{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 12533$as_echo_n "checking for $ac_header... " >&6; } 12534if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12535 $as_echo_n "(cached) " >&6 12536else 12537 eval "$as_ac_Header=\$ac_header_preproc" 12538fi 12539ac_res=`eval 'as_val=${'$as_ac_Header'} 12540 $as_echo "$as_val"'` 12541 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12542$as_echo "$ac_res" >&6; } 12543 12544fi 12545as_val=`eval 'as_val=${'$as_ac_Header'} 12546 $as_echo "$as_val"'` 12547 if test "x$as_val" = x""yes; then 12548 cat >>confdefs.h <<_ACEOF 12549#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12550_ACEOF 12551 12552fi 12553 12554done 12555 12556 12557# Checks for typedefs, structures, and compiler characteristics. 12558{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 12559$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12560if test "${ac_cv_c_const+set}" = set; then 12561 $as_echo_n "(cached) " >&6 12562else 12563 cat >conftest.$ac_ext <<_ACEOF 12564/* confdefs.h. */ 12565_ACEOF 12566cat confdefs.h >>conftest.$ac_ext 12567cat >>conftest.$ac_ext <<_ACEOF 12568/* end confdefs.h. */ 12569 12570int 12571main () 12572{ 12573/* FIXME: Include the comments suggested by Paul. */ 12574#ifndef __cplusplus 12575 /* Ultrix mips cc rejects this. */ 12576 typedef int charset[2]; 12577 const charset cs; 12578 /* SunOS 4.1.1 cc rejects this. */ 12579 char const *const *pcpcc; 12580 char **ppc; 12581 /* NEC SVR4.0.2 mips cc rejects this. */ 12582 struct point {int x, y;}; 12583 static struct point const zero = {0,0}; 12584 /* AIX XL C 1.02.0.0 rejects this. 12585 It does not let you subtract one const X* pointer from another in 12586 an arm of an if-expression whose if-part is not a constant 12587 expression */ 12588 const char *g = "string"; 12589 pcpcc = &g + (g ? g-g : 0); 12590 /* HPUX 7.0 cc rejects these. */ 12591 ++pcpcc; 12592 ppc = (char**) pcpcc; 12593 pcpcc = (char const *const *) ppc; 12594 { /* SCO 3.2v4 cc rejects this. */ 12595 char *t; 12596 char const *s = 0 ? (char *) 0 : (char const *) 0; 12597 12598 *t++ = 0; 12599 if (s) return 0; 12600 } 12601 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12602 int x[] = {25, 17}; 12603 const int *foo = &x[0]; 12604 ++foo; 12605 } 12606 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12607 typedef const int *iptr; 12608 iptr p = 0; 12609 ++p; 12610 } 12611 { /* AIX XL C 1.02.0.0 rejects this saying 12612 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12613 struct s { int j; const int *ap[3]; }; 12614 struct s *b; b->j = 5; 12615 } 12616 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12617 const int foo = 10; 12618 if (!foo) return 0; 12619 } 12620 return !cs[0] && !zero.x; 12621#endif 12622 12623 ; 12624 return 0; 12625} 12626_ACEOF 12627rm -f conftest.$ac_objext 12628if { (ac_try="$ac_compile" 12629case "(($ac_try" in 12630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12631 *) ac_try_echo=$ac_try;; 12632esac 12633eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12634$as_echo "$ac_try_echo") >&5 12635 (eval "$ac_compile") 2>conftest.er1 12636 ac_status=$? 12637 grep -v '^ *+' conftest.er1 >conftest.err 12638 rm -f conftest.er1 12639 cat conftest.err >&5 12640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12641 (exit $ac_status); } && { 12642 test -z "$ac_c_werror_flag" || 12643 test ! -s conftest.err 12644 } && test -s conftest.$ac_objext; then 12645 ac_cv_c_const=yes 12646else 12647 $as_echo "$as_me: failed program was:" >&5 12648sed 's/^/| /' conftest.$ac_ext >&5 12649 12650 ac_cv_c_const=no 12651fi 12652 12653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12654fi 12655{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 12656$as_echo "$ac_cv_c_const" >&6; } 12657if test $ac_cv_c_const = no; then 12658 12659cat >>confdefs.h <<\_ACEOF 12660#define const /**/ 12661_ACEOF 12662 12663fi 12664 12665{ $as_echo "$as_me:$LINENO: checking for inline" >&5 12666$as_echo_n "checking for inline... " >&6; } 12667if test "${ac_cv_c_inline+set}" = set; then 12668 $as_echo_n "(cached) " >&6 12669else 12670 ac_cv_c_inline=no 12671for ac_kw in inline __inline__ __inline; do 12672 cat >conftest.$ac_ext <<_ACEOF 12673/* confdefs.h. */ 12674_ACEOF 12675cat confdefs.h >>conftest.$ac_ext 12676cat >>conftest.$ac_ext <<_ACEOF 12677/* end confdefs.h. */ 12678#ifndef __cplusplus 12679typedef int foo_t; 12680static $ac_kw foo_t static_foo () {return 0; } 12681$ac_kw foo_t foo () {return 0; } 12682#endif 12683 12684_ACEOF 12685rm -f conftest.$ac_objext 12686if { (ac_try="$ac_compile" 12687case "(($ac_try" in 12688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12689 *) ac_try_echo=$ac_try;; 12690esac 12691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12692$as_echo "$ac_try_echo") >&5 12693 (eval "$ac_compile") 2>conftest.er1 12694 ac_status=$? 12695 grep -v '^ *+' conftest.er1 >conftest.err 12696 rm -f conftest.er1 12697 cat conftest.err >&5 12698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12699 (exit $ac_status); } && { 12700 test -z "$ac_c_werror_flag" || 12701 test ! -s conftest.err 12702 } && test -s conftest.$ac_objext; then 12703 ac_cv_c_inline=$ac_kw 12704else 12705 $as_echo "$as_me: failed program was:" >&5 12706sed 's/^/| /' conftest.$ac_ext >&5 12707 12708 12709fi 12710 12711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12712 test "$ac_cv_c_inline" != no && break 12713done 12714 12715fi 12716{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 12717$as_echo "$ac_cv_c_inline" >&6; } 12718 12719 12720case $ac_cv_c_inline in 12721 inline | yes) ;; 12722 *) 12723 case $ac_cv_c_inline in 12724 no) ac_val=;; 12725 *) ac_val=$ac_cv_c_inline;; 12726 esac 12727 cat >>confdefs.h <<_ACEOF 12728#ifndef __cplusplus 12729#define inline $ac_val 12730#endif 12731_ACEOF 12732 ;; 12733esac 12734 12735{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5 12736$as_echo_n "checking for pid_t... " >&6; } 12737if test "${ac_cv_type_pid_t+set}" = set; then 12738 $as_echo_n "(cached) " >&6 12739else 12740 ac_cv_type_pid_t=no 12741cat >conftest.$ac_ext <<_ACEOF 12742/* confdefs.h. */ 12743_ACEOF 12744cat confdefs.h >>conftest.$ac_ext 12745cat >>conftest.$ac_ext <<_ACEOF 12746/* end confdefs.h. */ 12747$ac_includes_default 12748int 12749main () 12750{ 12751if (sizeof (pid_t)) 12752 return 0; 12753 ; 12754 return 0; 12755} 12756_ACEOF 12757rm -f conftest.$ac_objext 12758if { (ac_try="$ac_compile" 12759case "(($ac_try" in 12760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12761 *) ac_try_echo=$ac_try;; 12762esac 12763eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12764$as_echo "$ac_try_echo") >&5 12765 (eval "$ac_compile") 2>conftest.er1 12766 ac_status=$? 12767 grep -v '^ *+' conftest.er1 >conftest.err 12768 rm -f conftest.er1 12769 cat conftest.err >&5 12770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12771 (exit $ac_status); } && { 12772 test -z "$ac_c_werror_flag" || 12773 test ! -s conftest.err 12774 } && test -s conftest.$ac_objext; then 12775 cat >conftest.$ac_ext <<_ACEOF 12776/* confdefs.h. */ 12777_ACEOF 12778cat confdefs.h >>conftest.$ac_ext 12779cat >>conftest.$ac_ext <<_ACEOF 12780/* end confdefs.h. */ 12781$ac_includes_default 12782int 12783main () 12784{ 12785if (sizeof ((pid_t))) 12786 return 0; 12787 ; 12788 return 0; 12789} 12790_ACEOF 12791rm -f conftest.$ac_objext 12792if { (ac_try="$ac_compile" 12793case "(($ac_try" in 12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12795 *) ac_try_echo=$ac_try;; 12796esac 12797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12798$as_echo "$ac_try_echo") >&5 12799 (eval "$ac_compile") 2>conftest.er1 12800 ac_status=$? 12801 grep -v '^ *+' conftest.er1 >conftest.err 12802 rm -f conftest.er1 12803 cat conftest.err >&5 12804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12805 (exit $ac_status); } && { 12806 test -z "$ac_c_werror_flag" || 12807 test ! -s conftest.err 12808 } && test -s conftest.$ac_objext; then 12809 : 12810else 12811 $as_echo "$as_me: failed program was:" >&5 12812sed 's/^/| /' conftest.$ac_ext >&5 12813 12814 ac_cv_type_pid_t=yes 12815fi 12816 12817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12818else 12819 $as_echo "$as_me: failed program was:" >&5 12820sed 's/^/| /' conftest.$ac_ext >&5 12821 12822 12823fi 12824 12825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12826fi 12827{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 12828$as_echo "$ac_cv_type_pid_t" >&6; } 12829if test "x$ac_cv_type_pid_t" = x""yes; then 12830 : 12831else 12832 12833cat >>confdefs.h <<_ACEOF 12834#define pid_t int 12835_ACEOF 12836 12837fi 12838 12839 12840# Checks for library functions. 12841 12842for ac_func in vprintf 12843do 12844as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12845{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12846$as_echo_n "checking for $ac_func... " >&6; } 12847if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12848 $as_echo_n "(cached) " >&6 12849else 12850 cat >conftest.$ac_ext <<_ACEOF 12851/* confdefs.h. */ 12852_ACEOF 12853cat confdefs.h >>conftest.$ac_ext 12854cat >>conftest.$ac_ext <<_ACEOF 12855/* end confdefs.h. */ 12856/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12857 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12858#define $ac_func innocuous_$ac_func 12859 12860/* System header to define __stub macros and hopefully few prototypes, 12861 which can conflict with char $ac_func (); below. 12862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12863 <limits.h> exists even on freestanding compilers. */ 12864 12865#ifdef __STDC__ 12866# include <limits.h> 12867#else 12868# include <assert.h> 12869#endif 12870 12871#undef $ac_func 12872 12873/* Override any GCC internal prototype to avoid an error. 12874 Use char because int might match the return type of a GCC 12875 builtin and then its argument prototype would still apply. */ 12876#ifdef __cplusplus 12877extern "C" 12878#endif 12879char $ac_func (); 12880/* The GNU C library defines this for functions which it implements 12881 to always fail with ENOSYS. Some functions are actually named 12882 something starting with __ and the normal name is an alias. */ 12883#if defined __stub_$ac_func || defined __stub___$ac_func 12884choke me 12885#endif 12886 12887int 12888main () 12889{ 12890return $ac_func (); 12891 ; 12892 return 0; 12893} 12894_ACEOF 12895rm -f conftest.$ac_objext conftest$ac_exeext 12896if { (ac_try="$ac_link" 12897case "(($ac_try" in 12898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12899 *) ac_try_echo=$ac_try;; 12900esac 12901eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12902$as_echo "$ac_try_echo") >&5 12903 (eval "$ac_link") 2>conftest.er1 12904 ac_status=$? 12905 grep -v '^ *+' conftest.er1 >conftest.err 12906 rm -f conftest.er1 12907 cat conftest.err >&5 12908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12909 (exit $ac_status); } && { 12910 test -z "$ac_c_werror_flag" || 12911 test ! -s conftest.err 12912 } && test -s conftest$ac_exeext && { 12913 test "$cross_compiling" = yes || 12914 $as_test_x conftest$ac_exeext 12915 }; then 12916 eval "$as_ac_var=yes" 12917else 12918 $as_echo "$as_me: failed program was:" >&5 12919sed 's/^/| /' conftest.$ac_ext >&5 12920 12921 eval "$as_ac_var=no" 12922fi 12923 12924rm -rf conftest.dSYM 12925rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12926 conftest$ac_exeext conftest.$ac_ext 12927fi 12928ac_res=`eval 'as_val=${'$as_ac_var'} 12929 $as_echo "$as_val"'` 12930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12931$as_echo "$ac_res" >&6; } 12932as_val=`eval 'as_val=${'$as_ac_var'} 12933 $as_echo "$as_val"'` 12934 if test "x$as_val" = x""yes; then 12935 cat >>confdefs.h <<_ACEOF 12936#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12937_ACEOF 12938 12939{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 12940$as_echo_n "checking for _doprnt... " >&6; } 12941if test "${ac_cv_func__doprnt+set}" = set; then 12942 $as_echo_n "(cached) " >&6 12943else 12944 cat >conftest.$ac_ext <<_ACEOF 12945/* confdefs.h. */ 12946_ACEOF 12947cat confdefs.h >>conftest.$ac_ext 12948cat >>conftest.$ac_ext <<_ACEOF 12949/* end confdefs.h. */ 12950/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 12951 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12952#define _doprnt innocuous__doprnt 12953 12954/* System header to define __stub macros and hopefully few prototypes, 12955 which can conflict with char _doprnt (); below. 12956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12957 <limits.h> exists even on freestanding compilers. */ 12958 12959#ifdef __STDC__ 12960# include <limits.h> 12961#else 12962# include <assert.h> 12963#endif 12964 12965#undef _doprnt 12966 12967/* Override any GCC internal prototype to avoid an error. 12968 Use char because int might match the return type of a GCC 12969 builtin and then its argument prototype would still apply. */ 12970#ifdef __cplusplus 12971extern "C" 12972#endif 12973char _doprnt (); 12974/* The GNU C library defines this for functions which it implements 12975 to always fail with ENOSYS. Some functions are actually named 12976 something starting with __ and the normal name is an alias. */ 12977#if defined __stub__doprnt || defined __stub____doprnt 12978choke me 12979#endif 12980 12981int 12982main () 12983{ 12984return _doprnt (); 12985 ; 12986 return 0; 12987} 12988_ACEOF 12989rm -f conftest.$ac_objext conftest$ac_exeext 12990if { (ac_try="$ac_link" 12991case "(($ac_try" in 12992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12993 *) ac_try_echo=$ac_try;; 12994esac 12995eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12996$as_echo "$ac_try_echo") >&5 12997 (eval "$ac_link") 2>conftest.er1 12998 ac_status=$? 12999 grep -v '^ *+' conftest.er1 >conftest.err 13000 rm -f conftest.er1 13001 cat conftest.err >&5 13002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13003 (exit $ac_status); } && { 13004 test -z "$ac_c_werror_flag" || 13005 test ! -s conftest.err 13006 } && test -s conftest$ac_exeext && { 13007 test "$cross_compiling" = yes || 13008 $as_test_x conftest$ac_exeext 13009 }; then 13010 ac_cv_func__doprnt=yes 13011else 13012 $as_echo "$as_me: failed program was:" >&5 13013sed 's/^/| /' conftest.$ac_ext >&5 13014 13015 ac_cv_func__doprnt=no 13016fi 13017 13018rm -rf conftest.dSYM 13019rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13020 conftest$ac_exeext conftest.$ac_ext 13021fi 13022{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 13023$as_echo "$ac_cv_func__doprnt" >&6; } 13024if test "x$ac_cv_func__doprnt" = x""yes; then 13025 13026cat >>confdefs.h <<\_ACEOF 13027#define HAVE_DOPRNT 1 13028_ACEOF 13029 13030fi 13031 13032fi 13033done 13034 13035 13036 13037 13038for ac_header in stdlib.h unistd.h 13039do 13040as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13041if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13042 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13043$as_echo_n "checking for $ac_header... " >&6; } 13044if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13045 $as_echo_n "(cached) " >&6 13046fi 13047ac_res=`eval 'as_val=${'$as_ac_Header'} 13048 $as_echo "$as_val"'` 13049 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13050$as_echo "$ac_res" >&6; } 13051else 13052 # Is the header compilable? 13053{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13054$as_echo_n "checking $ac_header usability... " >&6; } 13055cat >conftest.$ac_ext <<_ACEOF 13056/* confdefs.h. */ 13057_ACEOF 13058cat confdefs.h >>conftest.$ac_ext 13059cat >>conftest.$ac_ext <<_ACEOF 13060/* end confdefs.h. */ 13061$ac_includes_default 13062#include <$ac_header> 13063_ACEOF 13064rm -f conftest.$ac_objext 13065if { (ac_try="$ac_compile" 13066case "(($ac_try" in 13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13068 *) ac_try_echo=$ac_try;; 13069esac 13070eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13071$as_echo "$ac_try_echo") >&5 13072 (eval "$ac_compile") 2>conftest.er1 13073 ac_status=$? 13074 grep -v '^ *+' conftest.er1 >conftest.err 13075 rm -f conftest.er1 13076 cat conftest.err >&5 13077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13078 (exit $ac_status); } && { 13079 test -z "$ac_c_werror_flag" || 13080 test ! -s conftest.err 13081 } && test -s conftest.$ac_objext; then 13082 ac_header_compiler=yes 13083else 13084 $as_echo "$as_me: failed program was:" >&5 13085sed 's/^/| /' conftest.$ac_ext >&5 13086 13087 ac_header_compiler=no 13088fi 13089 13090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13091{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13092$as_echo "$ac_header_compiler" >&6; } 13093 13094# Is the header present? 13095{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13096$as_echo_n "checking $ac_header presence... " >&6; } 13097cat >conftest.$ac_ext <<_ACEOF 13098/* confdefs.h. */ 13099_ACEOF 13100cat confdefs.h >>conftest.$ac_ext 13101cat >>conftest.$ac_ext <<_ACEOF 13102/* end confdefs.h. */ 13103#include <$ac_header> 13104_ACEOF 13105if { (ac_try="$ac_cpp conftest.$ac_ext" 13106case "(($ac_try" in 13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13108 *) ac_try_echo=$ac_try;; 13109esac 13110eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13111$as_echo "$ac_try_echo") >&5 13112 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13113 ac_status=$? 13114 grep -v '^ *+' conftest.er1 >conftest.err 13115 rm -f conftest.er1 13116 cat conftest.err >&5 13117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13118 (exit $ac_status); } >/dev/null && { 13119 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13120 test ! -s conftest.err 13121 }; then 13122 ac_header_preproc=yes 13123else 13124 $as_echo "$as_me: failed program was:" >&5 13125sed 's/^/| /' conftest.$ac_ext >&5 13126 13127 ac_header_preproc=no 13128fi 13129 13130rm -f conftest.err conftest.$ac_ext 13131{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13132$as_echo "$ac_header_preproc" >&6; } 13133 13134# So? What about this header? 13135case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13136 yes:no: ) 13137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13138$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13140$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13141 ac_header_preproc=yes 13142 ;; 13143 no:yes:* ) 13144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13145$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13146 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13147$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13148 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13149$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13151$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13153$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13155$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13156 13157 ;; 13158esac 13159{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13160$as_echo_n "checking for $ac_header... " >&6; } 13161if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13162 $as_echo_n "(cached) " >&6 13163else 13164 eval "$as_ac_Header=\$ac_header_preproc" 13165fi 13166ac_res=`eval 'as_val=${'$as_ac_Header'} 13167 $as_echo "$as_val"'` 13168 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13169$as_echo "$ac_res" >&6; } 13170 13171fi 13172as_val=`eval 'as_val=${'$as_ac_Header'} 13173 $as_echo "$as_val"'` 13174 if test "x$as_val" = x""yes; then 13175 cat >>confdefs.h <<_ACEOF 13176#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13177_ACEOF 13178 13179fi 13180 13181done 13182 13183 13184for ac_func in getpagesize 13185do 13186as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13187{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13188$as_echo_n "checking for $ac_func... " >&6; } 13189if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13190 $as_echo_n "(cached) " >&6 13191else 13192 cat >conftest.$ac_ext <<_ACEOF 13193/* confdefs.h. */ 13194_ACEOF 13195cat confdefs.h >>conftest.$ac_ext 13196cat >>conftest.$ac_ext <<_ACEOF 13197/* end confdefs.h. */ 13198/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13199 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13200#define $ac_func innocuous_$ac_func 13201 13202/* System header to define __stub macros and hopefully few prototypes, 13203 which can conflict with char $ac_func (); below. 13204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13205 <limits.h> exists even on freestanding compilers. */ 13206 13207#ifdef __STDC__ 13208# include <limits.h> 13209#else 13210# include <assert.h> 13211#endif 13212 13213#undef $ac_func 13214 13215/* Override any GCC internal prototype to avoid an error. 13216 Use char because int might match the return type of a GCC 13217 builtin and then its argument prototype would still apply. */ 13218#ifdef __cplusplus 13219extern "C" 13220#endif 13221char $ac_func (); 13222/* The GNU C library defines this for functions which it implements 13223 to always fail with ENOSYS. Some functions are actually named 13224 something starting with __ and the normal name is an alias. */ 13225#if defined __stub_$ac_func || defined __stub___$ac_func 13226choke me 13227#endif 13228 13229int 13230main () 13231{ 13232return $ac_func (); 13233 ; 13234 return 0; 13235} 13236_ACEOF 13237rm -f conftest.$ac_objext conftest$ac_exeext 13238if { (ac_try="$ac_link" 13239case "(($ac_try" in 13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13241 *) ac_try_echo=$ac_try;; 13242esac 13243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13244$as_echo "$ac_try_echo") >&5 13245 (eval "$ac_link") 2>conftest.er1 13246 ac_status=$? 13247 grep -v '^ *+' conftest.er1 >conftest.err 13248 rm -f conftest.er1 13249 cat conftest.err >&5 13250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13251 (exit $ac_status); } && { 13252 test -z "$ac_c_werror_flag" || 13253 test ! -s conftest.err 13254 } && test -s conftest$ac_exeext && { 13255 test "$cross_compiling" = yes || 13256 $as_test_x conftest$ac_exeext 13257 }; then 13258 eval "$as_ac_var=yes" 13259else 13260 $as_echo "$as_me: failed program was:" >&5 13261sed 's/^/| /' conftest.$ac_ext >&5 13262 13263 eval "$as_ac_var=no" 13264fi 13265 13266rm -rf conftest.dSYM 13267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13268 conftest$ac_exeext conftest.$ac_ext 13269fi 13270ac_res=`eval 'as_val=${'$as_ac_var'} 13271 $as_echo "$as_val"'` 13272 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13273$as_echo "$ac_res" >&6; } 13274as_val=`eval 'as_val=${'$as_ac_var'} 13275 $as_echo "$as_val"'` 13276 if test "x$as_val" = x""yes; then 13277 cat >>confdefs.h <<_ACEOF 13278#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13279_ACEOF 13280 13281fi 13282done 13283 13284{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5 13285$as_echo_n "checking for working mmap... " >&6; } 13286if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then 13287 $as_echo_n "(cached) " >&6 13288else 13289 if test "$cross_compiling" = yes; then 13290 ac_cv_func_mmap_fixed_mapped=no 13291else 13292 cat >conftest.$ac_ext <<_ACEOF 13293/* confdefs.h. */ 13294_ACEOF 13295cat confdefs.h >>conftest.$ac_ext 13296cat >>conftest.$ac_ext <<_ACEOF 13297/* end confdefs.h. */ 13298$ac_includes_default 13299/* malloc might have been renamed as rpl_malloc. */ 13300#undef malloc 13301 13302/* Thanks to Mike Haertel and Jim Avera for this test. 13303 Here is a matrix of mmap possibilities: 13304 mmap private not fixed 13305 mmap private fixed at somewhere currently unmapped 13306 mmap private fixed at somewhere already mapped 13307 mmap shared not fixed 13308 mmap shared fixed at somewhere currently unmapped 13309 mmap shared fixed at somewhere already mapped 13310 For private mappings, we should verify that changes cannot be read() 13311 back from the file, nor mmap's back from the file at a different 13312 address. (There have been systems where private was not correctly 13313 implemented like the infamous i386 svr4.0, and systems where the 13314 VM page cache was not coherent with the file system buffer cache 13315 like early versions of FreeBSD and possibly contemporary NetBSD.) 13316 For shared mappings, we should conversely verify that changes get 13317 propagated back to all the places they're supposed to be. 13318 13319 Grep wants private fixed already mapped. 13320 The main things grep needs to know about mmap are: 13321 * does it exist and is it safe to write into the mmap'd area 13322 * how to use it (BSD variants) */ 13323 13324#include <fcntl.h> 13325#include <sys/mman.h> 13326 13327#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H 13328char *malloc (); 13329#endif 13330 13331/* This mess was copied from the GNU getpagesize.h. */ 13332#ifndef HAVE_GETPAGESIZE 13333/* Assume that all systems that can run configure have sys/param.h. */ 13334# ifndef HAVE_SYS_PARAM_H 13335# define HAVE_SYS_PARAM_H 1 13336# endif 13337 13338# ifdef _SC_PAGESIZE 13339# define getpagesize() sysconf(_SC_PAGESIZE) 13340# else /* no _SC_PAGESIZE */ 13341# ifdef HAVE_SYS_PARAM_H 13342# include <sys/param.h> 13343# ifdef EXEC_PAGESIZE 13344# define getpagesize() EXEC_PAGESIZE 13345# else /* no EXEC_PAGESIZE */ 13346# ifdef NBPG 13347# define getpagesize() NBPG * CLSIZE 13348# ifndef CLSIZE 13349# define CLSIZE 1 13350# endif /* no CLSIZE */ 13351# else /* no NBPG */ 13352# ifdef NBPC 13353# define getpagesize() NBPC 13354# else /* no NBPC */ 13355# ifdef PAGESIZE 13356# define getpagesize() PAGESIZE 13357# endif /* PAGESIZE */ 13358# endif /* no NBPC */ 13359# endif /* no NBPG */ 13360# endif /* no EXEC_PAGESIZE */ 13361# else /* no HAVE_SYS_PARAM_H */ 13362# define getpagesize() 8192 /* punt totally */ 13363# endif /* no HAVE_SYS_PARAM_H */ 13364# endif /* no _SC_PAGESIZE */ 13365 13366#endif /* no HAVE_GETPAGESIZE */ 13367 13368int 13369main () 13370{ 13371 char *data, *data2, *data3; 13372 int i, pagesize; 13373 int fd; 13374 13375 pagesize = getpagesize (); 13376 13377 /* First, make a file with some known garbage in it. */ 13378 data = (char *) malloc (pagesize); 13379 if (!data) 13380 return 1; 13381 for (i = 0; i < pagesize; ++i) 13382 *(data + i) = rand (); 13383 umask (0); 13384 fd = creat ("conftest.mmap", 0600); 13385 if (fd < 0) 13386 return 1; 13387 if (write (fd, data, pagesize) != pagesize) 13388 return 1; 13389 close (fd); 13390 13391 /* Next, try to mmap the file at a fixed address which already has 13392 something else allocated at it. If we can, also make sure that 13393 we see the same garbage. */ 13394 fd = open ("conftest.mmap", O_RDWR); 13395 if (fd < 0) 13396 return 1; 13397 data2 = (char *) malloc (2 * pagesize); 13398 if (!data2) 13399 return 1; 13400 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); 13401 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, 13402 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 13403 return 1; 13404 for (i = 0; i < pagesize; ++i) 13405 if (*(data + i) != *(data2 + i)) 13406 return 1; 13407 13408 /* Finally, make sure that changes to the mapped area do not 13409 percolate back to the file as seen by read(). (This is a bug on 13410 some variants of i386 svr4.0.) */ 13411 for (i = 0; i < pagesize; ++i) 13412 *(data2 + i) = *(data2 + i) + 1; 13413 data3 = (char *) malloc (pagesize); 13414 if (!data3) 13415 return 1; 13416 if (read (fd, data3, pagesize) != pagesize) 13417 return 1; 13418 for (i = 0; i < pagesize; ++i) 13419 if (*(data + i) != *(data3 + i)) 13420 return 1; 13421 close (fd); 13422 return 0; 13423} 13424_ACEOF 13425rm -f conftest$ac_exeext 13426if { (ac_try="$ac_link" 13427case "(($ac_try" in 13428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13429 *) ac_try_echo=$ac_try;; 13430esac 13431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13432$as_echo "$ac_try_echo") >&5 13433 (eval "$ac_link") 2>&5 13434 ac_status=$? 13435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13437 { (case "(($ac_try" in 13438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13439 *) ac_try_echo=$ac_try;; 13440esac 13441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13442$as_echo "$ac_try_echo") >&5 13443 (eval "$ac_try") 2>&5 13444 ac_status=$? 13445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13446 (exit $ac_status); }; }; then 13447 ac_cv_func_mmap_fixed_mapped=yes 13448else 13449 $as_echo "$as_me: program exited with status $ac_status" >&5 13450$as_echo "$as_me: failed program was:" >&5 13451sed 's/^/| /' conftest.$ac_ext >&5 13452 13453( exit $ac_status ) 13454ac_cv_func_mmap_fixed_mapped=no 13455fi 13456rm -rf conftest.dSYM 13457rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13458fi 13459 13460 13461fi 13462{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 13463$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } 13464if test $ac_cv_func_mmap_fixed_mapped = yes; then 13465 13466cat >>confdefs.h <<\_ACEOF 13467#define HAVE_MMAP 1 13468_ACEOF 13469 13470fi 13471rm -f conftest.mmap 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490for ac_func in geteuid getuid link memmove memset mkstemp strchr strrchr strtol getopt getopt_long sysconf ftruncate chsize rand random lrand48 13491do 13492as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13493{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13494$as_echo_n "checking for $ac_func... " >&6; } 13495if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13496 $as_echo_n "(cached) " >&6 13497else 13498 cat >conftest.$ac_ext <<_ACEOF 13499/* confdefs.h. */ 13500_ACEOF 13501cat confdefs.h >>conftest.$ac_ext 13502cat >>conftest.$ac_ext <<_ACEOF 13503/* end confdefs.h. */ 13504/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13505 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13506#define $ac_func innocuous_$ac_func 13507 13508/* System header to define __stub macros and hopefully few prototypes, 13509 which can conflict with char $ac_func (); below. 13510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13511 <limits.h> exists even on freestanding compilers. */ 13512 13513#ifdef __STDC__ 13514# include <limits.h> 13515#else 13516# include <assert.h> 13517#endif 13518 13519#undef $ac_func 13520 13521/* Override any GCC internal prototype to avoid an error. 13522 Use char because int might match the return type of a GCC 13523 builtin and then its argument prototype would still apply. */ 13524#ifdef __cplusplus 13525extern "C" 13526#endif 13527char $ac_func (); 13528/* The GNU C library defines this for functions which it implements 13529 to always fail with ENOSYS. Some functions are actually named 13530 something starting with __ and the normal name is an alias. */ 13531#if defined __stub_$ac_func || defined __stub___$ac_func 13532choke me 13533#endif 13534 13535int 13536main () 13537{ 13538return $ac_func (); 13539 ; 13540 return 0; 13541} 13542_ACEOF 13543rm -f conftest.$ac_objext conftest$ac_exeext 13544if { (ac_try="$ac_link" 13545case "(($ac_try" in 13546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13547 *) ac_try_echo=$ac_try;; 13548esac 13549eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13550$as_echo "$ac_try_echo") >&5 13551 (eval "$ac_link") 2>conftest.er1 13552 ac_status=$? 13553 grep -v '^ *+' conftest.er1 >conftest.err 13554 rm -f conftest.er1 13555 cat conftest.err >&5 13556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13557 (exit $ac_status); } && { 13558 test -z "$ac_c_werror_flag" || 13559 test ! -s conftest.err 13560 } && test -s conftest$ac_exeext && { 13561 test "$cross_compiling" = yes || 13562 $as_test_x conftest$ac_exeext 13563 }; then 13564 eval "$as_ac_var=yes" 13565else 13566 $as_echo "$as_me: failed program was:" >&5 13567sed 's/^/| /' conftest.$ac_ext >&5 13568 13569 eval "$as_ac_var=no" 13570fi 13571 13572rm -rf conftest.dSYM 13573rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13574 conftest$ac_exeext conftest.$ac_ext 13575fi 13576ac_res=`eval 'as_val=${'$as_ac_var'} 13577 $as_echo "$as_val"'` 13578 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13579$as_echo "$ac_res" >&6; } 13580as_val=`eval 'as_val=${'$as_ac_var'} 13581 $as_echo "$as_val"'` 13582 if test "x$as_val" = x""yes; then 13583 cat >>confdefs.h <<_ACEOF 13584#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13585_ACEOF 13586 13587fi 13588done 13589 13590 13591# 13592# Checks for iconv 13593# 13594{ $as_echo "$as_me:$LINENO: checking for a usable iconv" >&5 13595$as_echo_n "checking for a usable iconv... " >&6; } 13596ICONV_LIBS="" 13597cat >conftest.$ac_ext <<_ACEOF 13598/* confdefs.h. */ 13599_ACEOF 13600cat confdefs.h >>conftest.$ac_ext 13601cat >>conftest.$ac_ext <<_ACEOF 13602/* end confdefs.h. */ 13603#include <iconv.h> 13604int 13605main () 13606{ 13607iconv_open ("from", "to"); 13608 ; 13609 return 0; 13610} 13611_ACEOF 13612rm -f conftest.$ac_objext conftest$ac_exeext 13613if { (ac_try="$ac_link" 13614case "(($ac_try" in 13615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13616 *) ac_try_echo=$ac_try;; 13617esac 13618eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13619$as_echo "$ac_try_echo") >&5 13620 (eval "$ac_link") 2>conftest.er1 13621 ac_status=$? 13622 grep -v '^ *+' conftest.er1 >conftest.err 13623 rm -f conftest.er1 13624 cat conftest.err >&5 13625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13626 (exit $ac_status); } && { 13627 test -z "$ac_c_werror_flag" || 13628 test ! -s conftest.err 13629 } && test -s conftest$ac_exeext && { 13630 test "$cross_compiling" = yes || 13631 $as_test_x conftest$ac_exeext 13632 }; then 13633 use_iconv=1 13634else 13635 $as_echo "$as_me: failed program was:" >&5 13636sed 's/^/| /' conftest.$ac_ext >&5 13637 13638 use_iconv=0 13639fi 13640 13641rm -rf conftest.dSYM 13642rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13643 conftest$ac_exeext conftest.$ac_ext 13644if test x$use_iconv = x1; then 13645 { $as_echo "$as_me:$LINENO: result: libc" >&5 13646$as_echo "libc" >&6; } 13647else 13648 # try using libiconv 13649 fontconfig_save_libs="$LIBS" 13650 LIBS="$LIBS -liconv" 13651 13652 cat >conftest.$ac_ext <<_ACEOF 13653/* confdefs.h. */ 13654_ACEOF 13655cat confdefs.h >>conftest.$ac_ext 13656cat >>conftest.$ac_ext <<_ACEOF 13657/* end confdefs.h. */ 13658#include <iconv.h> 13659int 13660main () 13661{ 13662iconv_open ("from", "to"); 13663 ; 13664 return 0; 13665} 13666_ACEOF 13667rm -f conftest.$ac_objext conftest$ac_exeext 13668if { (ac_try="$ac_link" 13669case "(($ac_try" in 13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13671 *) ac_try_echo=$ac_try;; 13672esac 13673eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13674$as_echo "$ac_try_echo") >&5 13675 (eval "$ac_link") 2>conftest.er1 13676 ac_status=$? 13677 grep -v '^ *+' conftest.er1 >conftest.err 13678 rm -f conftest.er1 13679 cat conftest.err >&5 13680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13681 (exit $ac_status); } && { 13682 test -z "$ac_c_werror_flag" || 13683 test ! -s conftest.err 13684 } && test -s conftest$ac_exeext && { 13685 test "$cross_compiling" = yes || 13686 $as_test_x conftest$ac_exeext 13687 }; then 13688 use_iconv=1 13689else 13690 $as_echo "$as_me: failed program was:" >&5 13691sed 's/^/| /' conftest.$ac_ext >&5 13692 13693 use_iconv=0 13694fi 13695 13696rm -rf conftest.dSYM 13697rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13698 conftest$ac_exeext conftest.$ac_ext 13699 13700 if test x$use_iconv = x1; then 13701 ICONV_LIBS="-liconv" 13702 { $as_echo "$as_me:$LINENO: result: libiconv" >&5 13703$as_echo "libiconv" >&6; } 13704 else 13705 { $as_echo "$as_me:$LINENO: result: no" >&5 13706$as_echo "no" >&6; } 13707 fi 13708 13709 LIBS="$fontconfig_save_libs" 13710fi 13711 13712 13713cat >>confdefs.h <<_ACEOF 13714#define USE_ICONV $use_iconv 13715_ACEOF 13716 13717 13718# 13719# Checks for FreeType 13720# 13721 13722 13723# Check whether --with-freetype-config was given. 13724if test "${with_freetype_config+set}" = set; then 13725 withval=$with_freetype_config; freetype_config=$withval 13726else 13727 freetype_config=yes 13728fi 13729 13730 13731if test "$freetype_config" = "yes"; then 13732 # Extract the first word of "freetype-config", so it can be a program name with args. 13733set dummy freetype-config; ac_word=$2 13734{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13735$as_echo_n "checking for $ac_word... " >&6; } 13736if test "${ac_cv_path_ft_config+set}" = set; then 13737 $as_echo_n "(cached) " >&6 13738else 13739 case $ft_config in 13740 [\\/]* | ?:[\\/]*) 13741 ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path. 13742 ;; 13743 *) 13744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13745for as_dir in $PATH 13746do 13747 IFS=$as_save_IFS 13748 test -z "$as_dir" && as_dir=. 13749 for ac_exec_ext in '' $ac_executable_extensions; do 13750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13751 ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext" 13752 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13753 break 2 13754 fi 13755done 13756done 13757IFS=$as_save_IFS 13758 13759 test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no" 13760 ;; 13761esac 13762fi 13763ft_config=$ac_cv_path_ft_config 13764if test -n "$ft_config"; then 13765 { $as_echo "$as_me:$LINENO: result: $ft_config" >&5 13766$as_echo "$ft_config" >&6; } 13767else 13768 { $as_echo "$as_me:$LINENO: result: no" >&5 13769$as_echo "no" >&6; } 13770fi 13771 13772 13773 if test "$ft_config" = "no"; then 13774 { { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5 13775$as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;} 13776 { (exit 1); exit 1; }; } 13777 fi 13778else 13779 ft_config="$freetype_config" 13780fi 13781 13782FREETYPE_CFLAGS="`$ft_config --cflags`" 13783FREETYPE_LIBS="`$ft_config --libs`" 13784 13785 13786 13787 13788fontconfig_save_libs="$LIBS" 13789fontconfig_save_cflags="$CFLAGS" 13790LIBS="$LIBS $FREETYPE_LIBS" 13791CFLAGS="$CFLAGS $FREETYPE_CFLAGS" 13792 13793 13794 13795 13796 13797 13798for ac_func in FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_Get_X11_Font_Format FT_Select_Size 13799do 13800as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13801{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 13802$as_echo_n "checking for $ac_func... " >&6; } 13803if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13804 $as_echo_n "(cached) " >&6 13805else 13806 cat >conftest.$ac_ext <<_ACEOF 13807/* confdefs.h. */ 13808_ACEOF 13809cat confdefs.h >>conftest.$ac_ext 13810cat >>conftest.$ac_ext <<_ACEOF 13811/* end confdefs.h. */ 13812/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 13813 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 13814#define $ac_func innocuous_$ac_func 13815 13816/* System header to define __stub macros and hopefully few prototypes, 13817 which can conflict with char $ac_func (); below. 13818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13819 <limits.h> exists even on freestanding compilers. */ 13820 13821#ifdef __STDC__ 13822# include <limits.h> 13823#else 13824# include <assert.h> 13825#endif 13826 13827#undef $ac_func 13828 13829/* Override any GCC internal prototype to avoid an error. 13830 Use char because int might match the return type of a GCC 13831 builtin and then its argument prototype would still apply. */ 13832#ifdef __cplusplus 13833extern "C" 13834#endif 13835char $ac_func (); 13836/* The GNU C library defines this for functions which it implements 13837 to always fail with ENOSYS. Some functions are actually named 13838 something starting with __ and the normal name is an alias. */ 13839#if defined __stub_$ac_func || defined __stub___$ac_func 13840choke me 13841#endif 13842 13843int 13844main () 13845{ 13846return $ac_func (); 13847 ; 13848 return 0; 13849} 13850_ACEOF 13851rm -f conftest.$ac_objext conftest$ac_exeext 13852if { (ac_try="$ac_link" 13853case "(($ac_try" in 13854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13855 *) ac_try_echo=$ac_try;; 13856esac 13857eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13858$as_echo "$ac_try_echo") >&5 13859 (eval "$ac_link") 2>conftest.er1 13860 ac_status=$? 13861 grep -v '^ *+' conftest.er1 >conftest.err 13862 rm -f conftest.er1 13863 cat conftest.err >&5 13864 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13865 (exit $ac_status); } && { 13866 test -z "$ac_c_werror_flag" || 13867 test ! -s conftest.err 13868 } && test -s conftest$ac_exeext && { 13869 test "$cross_compiling" = yes || 13870 $as_test_x conftest$ac_exeext 13871 }; then 13872 eval "$as_ac_var=yes" 13873else 13874 $as_echo "$as_me: failed program was:" >&5 13875sed 's/^/| /' conftest.$ac_ext >&5 13876 13877 eval "$as_ac_var=no" 13878fi 13879 13880rm -rf conftest.dSYM 13881rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13882 conftest$ac_exeext conftest.$ac_ext 13883fi 13884ac_res=`eval 'as_val=${'$as_ac_var'} 13885 $as_echo "$as_val"'` 13886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13887$as_echo "$ac_res" >&6; } 13888as_val=`eval 'as_val=${'$as_ac_var'} 13889 $as_echo "$as_val"'` 13890 if test "x$as_val" = x""yes; then 13891 cat >>confdefs.h <<_ACEOF 13892#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13893_ACEOF 13894 13895fi 13896done 13897 13898{ $as_echo "$as_me:$LINENO: checking for FT_Bitmap_Size.y_ppem" >&5 13899$as_echo_n "checking for FT_Bitmap_Size.y_ppem... " >&6; } 13900if test "${ac_cv_member_FT_Bitmap_Size_y_ppem+set}" = set; then 13901 $as_echo_n "(cached) " >&6 13902else 13903 cat >conftest.$ac_ext <<_ACEOF 13904/* confdefs.h. */ 13905_ACEOF 13906cat confdefs.h >>conftest.$ac_ext 13907cat >>conftest.$ac_ext <<_ACEOF 13908/* end confdefs.h. */ 13909#include <ft2build.h> 13910#include FT_FREETYPE_H 13911 13912int 13913main () 13914{ 13915static FT_Bitmap_Size ac_aggr; 13916if (ac_aggr.y_ppem) 13917return 0; 13918 ; 13919 return 0; 13920} 13921_ACEOF 13922rm -f conftest.$ac_objext 13923if { (ac_try="$ac_compile" 13924case "(($ac_try" in 13925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13926 *) ac_try_echo=$ac_try;; 13927esac 13928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13929$as_echo "$ac_try_echo") >&5 13930 (eval "$ac_compile") 2>conftest.er1 13931 ac_status=$? 13932 grep -v '^ *+' conftest.er1 >conftest.err 13933 rm -f conftest.er1 13934 cat conftest.err >&5 13935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13936 (exit $ac_status); } && { 13937 test -z "$ac_c_werror_flag" || 13938 test ! -s conftest.err 13939 } && test -s conftest.$ac_objext; then 13940 ac_cv_member_FT_Bitmap_Size_y_ppem=yes 13941else 13942 $as_echo "$as_me: failed program was:" >&5 13943sed 's/^/| /' conftest.$ac_ext >&5 13944 13945 cat >conftest.$ac_ext <<_ACEOF 13946/* confdefs.h. */ 13947_ACEOF 13948cat confdefs.h >>conftest.$ac_ext 13949cat >>conftest.$ac_ext <<_ACEOF 13950/* end confdefs.h. */ 13951#include <ft2build.h> 13952#include FT_FREETYPE_H 13953 13954int 13955main () 13956{ 13957static FT_Bitmap_Size ac_aggr; 13958if (sizeof ac_aggr.y_ppem) 13959return 0; 13960 ; 13961 return 0; 13962} 13963_ACEOF 13964rm -f conftest.$ac_objext 13965if { (ac_try="$ac_compile" 13966case "(($ac_try" in 13967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13968 *) ac_try_echo=$ac_try;; 13969esac 13970eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13971$as_echo "$ac_try_echo") >&5 13972 (eval "$ac_compile") 2>conftest.er1 13973 ac_status=$? 13974 grep -v '^ *+' conftest.er1 >conftest.err 13975 rm -f conftest.er1 13976 cat conftest.err >&5 13977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13978 (exit $ac_status); } && { 13979 test -z "$ac_c_werror_flag" || 13980 test ! -s conftest.err 13981 } && test -s conftest.$ac_objext; then 13982 ac_cv_member_FT_Bitmap_Size_y_ppem=yes 13983else 13984 $as_echo "$as_me: failed program was:" >&5 13985sed 's/^/| /' conftest.$ac_ext >&5 13986 13987 ac_cv_member_FT_Bitmap_Size_y_ppem=no 13988fi 13989 13990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13991fi 13992 13993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13994fi 13995{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_FT_Bitmap_Size_y_ppem" >&5 13996$as_echo "$ac_cv_member_FT_Bitmap_Size_y_ppem" >&6; } 13997if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = x""yes; then 13998 HAVE_FT_BITMAP_SIZE_Y_PPEM=1 13999else 14000 HAVE_FT_BITMAP_SIZE_Y_PPEM=0 14001fi 14002 14003 14004cat >>confdefs.h <<_ACEOF 14005#define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM 14006_ACEOF 14007 14008CFLAGS="$fontconfig_save_cflags" 14009LIBS="$fontconfig_save_libs" 14010 14011# 14012# Check expat configuration 14013# 14014 14015 14016# Check whether --with-expat was given. 14017if test "${with_expat+set}" = set; then 14018 withval=$with_expat; expat=$withval 14019else 14020 expat=yes 14021fi 14022 14023 14024# Check whether --with-expat-includes was given. 14025if test "${with_expat_includes+set}" = set; then 14026 withval=$with_expat_includes; expat_includes=$withval 14027else 14028 expat_includes=yes 14029fi 14030 14031 14032# Check whether --with-expat-lib was given. 14033if test "${with_expat_lib+set}" = set; then 14034 withval=$with_expat_lib; expat_lib=$withval 14035else 14036 expat_lib=yes 14037fi 14038 14039 14040if test "$enable_libxml2" != "yes"; then 14041 case "$expat" in 14042 no) 14043 ;; 14044 *) 14045 case "$expat_includes" in 14046 yes) 14047 case "$expat" in 14048 yes) 14049 ;; 14050 *) 14051 EXPAT_CFLAGS="-I$expat/include" 14052 ;; 14053 esac 14054 ;; 14055 no) 14056 EXPAT_CFLAGS="" 14057 ;; 14058 *) 14059 EXPAT_CFLAGS="-I$expat_includes" 14060 ;; 14061 esac 14062 case "$expat_lib" in 14063 yes) 14064 case "$expat" in 14065 yes) 14066 EXPAT_LIBS="-lexpat" 14067 ;; 14068 *) 14069 EXPAT_LIBS="-L$expat/lib -lexpat" 14070 ;; 14071 esac 14072 ;; 14073 no) 14074 ;; 14075 *) 14076 EXPAT_LIBS="-L$expat_lib -lexpat" 14077 ;; 14078 esac 14079 14080 expatsaved_CPPFLAGS="$CPPFLAGS" 14081 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS" 14082 expatsaved_LIBS="$LIBS" 14083 LIBS="$LIBS $EXPAT_LIBS" 14084 14085 if test "${ac_cv_header_expat_h+set}" = set; then 14086 { $as_echo "$as_me:$LINENO: checking for expat.h" >&5 14087$as_echo_n "checking for expat.h... " >&6; } 14088if test "${ac_cv_header_expat_h+set}" = set; then 14089 $as_echo_n "(cached) " >&6 14090fi 14091{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5 14092$as_echo "$ac_cv_header_expat_h" >&6; } 14093else 14094 # Is the header compilable? 14095{ $as_echo "$as_me:$LINENO: checking expat.h usability" >&5 14096$as_echo_n "checking expat.h usability... " >&6; } 14097cat >conftest.$ac_ext <<_ACEOF 14098/* confdefs.h. */ 14099_ACEOF 14100cat confdefs.h >>conftest.$ac_ext 14101cat >>conftest.$ac_ext <<_ACEOF 14102/* end confdefs.h. */ 14103$ac_includes_default 14104#include <expat.h> 14105_ACEOF 14106rm -f conftest.$ac_objext 14107if { (ac_try="$ac_compile" 14108case "(($ac_try" in 14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14110 *) ac_try_echo=$ac_try;; 14111esac 14112eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14113$as_echo "$ac_try_echo") >&5 14114 (eval "$ac_compile") 2>conftest.er1 14115 ac_status=$? 14116 grep -v '^ *+' conftest.er1 >conftest.err 14117 rm -f conftest.er1 14118 cat conftest.err >&5 14119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14120 (exit $ac_status); } && { 14121 test -z "$ac_c_werror_flag" || 14122 test ! -s conftest.err 14123 } && test -s conftest.$ac_objext; then 14124 ac_header_compiler=yes 14125else 14126 $as_echo "$as_me: failed program was:" >&5 14127sed 's/^/| /' conftest.$ac_ext >&5 14128 14129 ac_header_compiler=no 14130fi 14131 14132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14133{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14134$as_echo "$ac_header_compiler" >&6; } 14135 14136# Is the header present? 14137{ $as_echo "$as_me:$LINENO: checking expat.h presence" >&5 14138$as_echo_n "checking expat.h presence... " >&6; } 14139cat >conftest.$ac_ext <<_ACEOF 14140/* confdefs.h. */ 14141_ACEOF 14142cat confdefs.h >>conftest.$ac_ext 14143cat >>conftest.$ac_ext <<_ACEOF 14144/* end confdefs.h. */ 14145#include <expat.h> 14146_ACEOF 14147if { (ac_try="$ac_cpp conftest.$ac_ext" 14148case "(($ac_try" in 14149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14150 *) ac_try_echo=$ac_try;; 14151esac 14152eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14153$as_echo "$ac_try_echo") >&5 14154 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14155 ac_status=$? 14156 grep -v '^ *+' conftest.er1 >conftest.err 14157 rm -f conftest.er1 14158 cat conftest.err >&5 14159 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14160 (exit $ac_status); } >/dev/null && { 14161 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14162 test ! -s conftest.err 14163 }; then 14164 ac_header_preproc=yes 14165else 14166 $as_echo "$as_me: failed program was:" >&5 14167sed 's/^/| /' conftest.$ac_ext >&5 14168 14169 ac_header_preproc=no 14170fi 14171 14172rm -f conftest.err conftest.$ac_ext 14173{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14174$as_echo "$ac_header_preproc" >&6; } 14175 14176# So? What about this header? 14177case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14178 yes:no: ) 14179 { $as_echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5 14180$as_echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14181 { $as_echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5 14182$as_echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;} 14183 ac_header_preproc=yes 14184 ;; 14185 no:yes:* ) 14186 { $as_echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5 14187$as_echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;} 14188 { $as_echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5 14189$as_echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;} 14190 { $as_echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5 14191$as_echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;} 14192 { $as_echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5 14193$as_echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;} 14194 { $as_echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5 14195$as_echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;} 14196 { $as_echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5 14197$as_echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;} 14198 14199 ;; 14200esac 14201{ $as_echo "$as_me:$LINENO: checking for expat.h" >&5 14202$as_echo_n "checking for expat.h... " >&6; } 14203if test "${ac_cv_header_expat_h+set}" = set; then 14204 $as_echo_n "(cached) " >&6 14205else 14206 ac_cv_header_expat_h=$ac_header_preproc 14207fi 14208{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5 14209$as_echo "$ac_cv_header_expat_h" >&6; } 14210 14211fi 14212 14213 14214 case "$ac_cv_header_expat_h" in 14215 no) 14216 if test "${ac_cv_header_xmlparse_h+set}" = set; then 14217 { $as_echo "$as_me:$LINENO: checking for xmlparse.h" >&5 14218$as_echo_n "checking for xmlparse.h... " >&6; } 14219if test "${ac_cv_header_xmlparse_h+set}" = set; then 14220 $as_echo_n "(cached) " >&6 14221fi 14222{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xmlparse_h" >&5 14223$as_echo "$ac_cv_header_xmlparse_h" >&6; } 14224else 14225 # Is the header compilable? 14226{ $as_echo "$as_me:$LINENO: checking xmlparse.h usability" >&5 14227$as_echo_n "checking xmlparse.h usability... " >&6; } 14228cat >conftest.$ac_ext <<_ACEOF 14229/* confdefs.h. */ 14230_ACEOF 14231cat confdefs.h >>conftest.$ac_ext 14232cat >>conftest.$ac_ext <<_ACEOF 14233/* end confdefs.h. */ 14234$ac_includes_default 14235#include <xmlparse.h> 14236_ACEOF 14237rm -f conftest.$ac_objext 14238if { (ac_try="$ac_compile" 14239case "(($ac_try" in 14240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14241 *) ac_try_echo=$ac_try;; 14242esac 14243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14244$as_echo "$ac_try_echo") >&5 14245 (eval "$ac_compile") 2>conftest.er1 14246 ac_status=$? 14247 grep -v '^ *+' conftest.er1 >conftest.err 14248 rm -f conftest.er1 14249 cat conftest.err >&5 14250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14251 (exit $ac_status); } && { 14252 test -z "$ac_c_werror_flag" || 14253 test ! -s conftest.err 14254 } && test -s conftest.$ac_objext; then 14255 ac_header_compiler=yes 14256else 14257 $as_echo "$as_me: failed program was:" >&5 14258sed 's/^/| /' conftest.$ac_ext >&5 14259 14260 ac_header_compiler=no 14261fi 14262 14263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14264{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14265$as_echo "$ac_header_compiler" >&6; } 14266 14267# Is the header present? 14268{ $as_echo "$as_me:$LINENO: checking xmlparse.h presence" >&5 14269$as_echo_n "checking xmlparse.h presence... " >&6; } 14270cat >conftest.$ac_ext <<_ACEOF 14271/* confdefs.h. */ 14272_ACEOF 14273cat confdefs.h >>conftest.$ac_ext 14274cat >>conftest.$ac_ext <<_ACEOF 14275/* end confdefs.h. */ 14276#include <xmlparse.h> 14277_ACEOF 14278if { (ac_try="$ac_cpp conftest.$ac_ext" 14279case "(($ac_try" in 14280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14281 *) ac_try_echo=$ac_try;; 14282esac 14283eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14284$as_echo "$ac_try_echo") >&5 14285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14286 ac_status=$? 14287 grep -v '^ *+' conftest.er1 >conftest.err 14288 rm -f conftest.er1 14289 cat conftest.err >&5 14290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14291 (exit $ac_status); } >/dev/null && { 14292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14293 test ! -s conftest.err 14294 }; then 14295 ac_header_preproc=yes 14296else 14297 $as_echo "$as_me: failed program was:" >&5 14298sed 's/^/| /' conftest.$ac_ext >&5 14299 14300 ac_header_preproc=no 14301fi 14302 14303rm -f conftest.err conftest.$ac_ext 14304{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14305$as_echo "$ac_header_preproc" >&6; } 14306 14307# So? What about this header? 14308case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14309 yes:no: ) 14310 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: accepted by the compiler, rejected by the preprocessor!" >&5 14311$as_echo "$as_me: WARNING: xmlparse.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 14312 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: proceeding with the compiler's result" >&5 14313$as_echo "$as_me: WARNING: xmlparse.h: proceeding with the compiler's result" >&2;} 14314 ac_header_preproc=yes 14315 ;; 14316 no:yes:* ) 14317 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: present but cannot be compiled" >&5 14318$as_echo "$as_me: WARNING: xmlparse.h: present but cannot be compiled" >&2;} 14319 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: check for missing prerequisite headers?" >&5 14320$as_echo "$as_me: WARNING: xmlparse.h: check for missing prerequisite headers?" >&2;} 14321 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: see the Autoconf documentation" >&5 14322$as_echo "$as_me: WARNING: xmlparse.h: see the Autoconf documentation" >&2;} 14323 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: section \"Present But Cannot Be Compiled\"" >&5 14324$as_echo "$as_me: WARNING: xmlparse.h: section \"Present But Cannot Be Compiled\"" >&2;} 14325 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: proceeding with the preprocessor's result" >&5 14326$as_echo "$as_me: WARNING: xmlparse.h: proceeding with the preprocessor's result" >&2;} 14327 { $as_echo "$as_me:$LINENO: WARNING: xmlparse.h: in the future, the compiler will take precedence" >&5 14328$as_echo "$as_me: WARNING: xmlparse.h: in the future, the compiler will take precedence" >&2;} 14329 14330 ;; 14331esac 14332{ $as_echo "$as_me:$LINENO: checking for xmlparse.h" >&5 14333$as_echo_n "checking for xmlparse.h... " >&6; } 14334if test "${ac_cv_header_xmlparse_h+set}" = set; then 14335 $as_echo_n "(cached) " >&6 14336else 14337 ac_cv_header_xmlparse_h=$ac_header_preproc 14338fi 14339{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_xmlparse_h" >&5 14340$as_echo "$ac_cv_header_xmlparse_h" >&6; } 14341 14342fi 14343 14344 14345 case "$ac_cv_header_xmlparse_h" in 14346 no) 14347 have_expat_header=no; 14348 ;; 14349 yes) 14350 HAVE_XMLPARSE_H=1 14351 14352 14353cat >>confdefs.h <<_ACEOF 14354#define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H 14355_ACEOF 14356 14357 have_expat_header=yes 14358 ;; 14359 esac 14360 ;; 14361 yes) 14362 have_expat_header=yes 14363 ;; 14364 esac 14365 case "$have_expat_header" in 14366 no) 14367 expat=no 14368 ;; 14369 yes) 14370 14371for ac_func in XML_SetDoctypeDeclHandler 14372do 14373as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14374{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 14375$as_echo_n "checking for $ac_func... " >&6; } 14376if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14377 $as_echo_n "(cached) " >&6 14378else 14379 cat >conftest.$ac_ext <<_ACEOF 14380/* confdefs.h. */ 14381_ACEOF 14382cat confdefs.h >>conftest.$ac_ext 14383cat >>conftest.$ac_ext <<_ACEOF 14384/* end confdefs.h. */ 14385/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 14386 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 14387#define $ac_func innocuous_$ac_func 14388 14389/* System header to define __stub macros and hopefully few prototypes, 14390 which can conflict with char $ac_func (); below. 14391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 14392 <limits.h> exists even on freestanding compilers. */ 14393 14394#ifdef __STDC__ 14395# include <limits.h> 14396#else 14397# include <assert.h> 14398#endif 14399 14400#undef $ac_func 14401 14402/* Override any GCC internal prototype to avoid an error. 14403 Use char because int might match the return type of a GCC 14404 builtin and then its argument prototype would still apply. */ 14405#ifdef __cplusplus 14406extern "C" 14407#endif 14408char $ac_func (); 14409/* The GNU C library defines this for functions which it implements 14410 to always fail with ENOSYS. Some functions are actually named 14411 something starting with __ and the normal name is an alias. */ 14412#if defined __stub_$ac_func || defined __stub___$ac_func 14413choke me 14414#endif 14415 14416int 14417main () 14418{ 14419return $ac_func (); 14420 ; 14421 return 0; 14422} 14423_ACEOF 14424rm -f conftest.$ac_objext conftest$ac_exeext 14425if { (ac_try="$ac_link" 14426case "(($ac_try" in 14427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14428 *) ac_try_echo=$ac_try;; 14429esac 14430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14431$as_echo "$ac_try_echo") >&5 14432 (eval "$ac_link") 2>conftest.er1 14433 ac_status=$? 14434 grep -v '^ *+' conftest.er1 >conftest.err 14435 rm -f conftest.er1 14436 cat conftest.err >&5 14437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14438 (exit $ac_status); } && { 14439 test -z "$ac_c_werror_flag" || 14440 test ! -s conftest.err 14441 } && test -s conftest$ac_exeext && { 14442 test "$cross_compiling" = yes || 14443 $as_test_x conftest$ac_exeext 14444 }; then 14445 eval "$as_ac_var=yes" 14446else 14447 $as_echo "$as_me: failed program was:" >&5 14448sed 's/^/| /' conftest.$ac_ext >&5 14449 14450 eval "$as_ac_var=no" 14451fi 14452 14453rm -rf conftest.dSYM 14454rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14455 conftest$ac_exeext conftest.$ac_ext 14456fi 14457ac_res=`eval 'as_val=${'$as_ac_var'} 14458 $as_echo "$as_val"'` 14459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14460$as_echo "$ac_res" >&6; } 14461as_val=`eval 'as_val=${'$as_ac_var'} 14462 $as_echo "$as_val"'` 14463 if test "x$as_val" = x""yes; then 14464 cat >>confdefs.h <<_ACEOF 14465#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14466_ACEOF 14467 14468fi 14469done 14470 14471 case "$ac_cv_func_XML_SetDoctypeDeclHandler" in 14472 yes) 14473 HAVE_EXPAT=1 14474 14475 14476cat >>confdefs.h <<_ACEOF 14477#define HAVE_EXPAT $HAVE_EXPAT 14478_ACEOF 14479 14480 ;; 14481 *) 14482 expat=no 14483 ;; 14484 esac 14485 ;; 14486 esac 14487 CPPFLAGS="$expatsaved_CPPFLAGS" 14488 LIBS="$expatsaved_LIBS" 14489 ;; 14490 esac 14491 14492 14493 14494 14495 case "$expat" in 14496 no) 14497 EXPAT_CFLAGS="" 14498 EXPAT_LIBS="" 14499 14500 { $as_echo "$as_me:$LINENO: WARNING: Cannot find usable expat library. Trying to use libxml2 as fallback." >&5 14501$as_echo "$as_me: WARNING: Cannot find usable expat library. Trying to use libxml2 as fallback." >&2;} 14502 ;; 14503 esac 14504fi 14505 14506# 14507# Check libxml2 configuration 14508# 14509 14510# Check whether --enable-libxml2 was given. 14511if test "${enable_libxml2+set}" = set; then 14512 enableval=$enable_libxml2; 14513fi 14514 14515 14516 14517 14518if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 14519 if test -n "$ac_tool_prefix"; then 14520 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 14521set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 14522{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14523$as_echo_n "checking for $ac_word... " >&6; } 14524if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 14525 $as_echo_n "(cached) " >&6 14526else 14527 case $PKG_CONFIG in 14528 [\\/]* | ?:[\\/]*) 14529 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 14530 ;; 14531 *) 14532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14533for as_dir in $PATH 14534do 14535 IFS=$as_save_IFS 14536 test -z "$as_dir" && as_dir=. 14537 for ac_exec_ext in '' $ac_executable_extensions; do 14538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14539 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14540 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14541 break 2 14542 fi 14543done 14544done 14545IFS=$as_save_IFS 14546 14547 ;; 14548esac 14549fi 14550PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14551if test -n "$PKG_CONFIG"; then 14552 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 14553$as_echo "$PKG_CONFIG" >&6; } 14554else 14555 { $as_echo "$as_me:$LINENO: result: no" >&5 14556$as_echo "no" >&6; } 14557fi 14558 14559 14560fi 14561if test -z "$ac_cv_path_PKG_CONFIG"; then 14562 ac_pt_PKG_CONFIG=$PKG_CONFIG 14563 # Extract the first word of "pkg-config", so it can be a program name with args. 14564set dummy pkg-config; ac_word=$2 14565{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14566$as_echo_n "checking for $ac_word... " >&6; } 14567if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 14568 $as_echo_n "(cached) " >&6 14569else 14570 case $ac_pt_PKG_CONFIG in 14571 [\\/]* | ?:[\\/]*) 14572 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 14573 ;; 14574 *) 14575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14576for as_dir in $PATH 14577do 14578 IFS=$as_save_IFS 14579 test -z "$as_dir" && as_dir=. 14580 for ac_exec_ext in '' $ac_executable_extensions; do 14581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14582 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14583 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14584 break 2 14585 fi 14586done 14587done 14588IFS=$as_save_IFS 14589 14590 ;; 14591esac 14592fi 14593ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 14594if test -n "$ac_pt_PKG_CONFIG"; then 14595 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 14596$as_echo "$ac_pt_PKG_CONFIG" >&6; } 14597else 14598 { $as_echo "$as_me:$LINENO: result: no" >&5 14599$as_echo "no" >&6; } 14600fi 14601 14602 if test "x$ac_pt_PKG_CONFIG" = x; then 14603 PKG_CONFIG="" 14604 else 14605 case $cross_compiling:$ac_tool_warned in 14606yes:) 14607{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 14608$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 14609ac_tool_warned=yes ;; 14610esac 14611 PKG_CONFIG=$ac_pt_PKG_CONFIG 14612 fi 14613else 14614 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 14615fi 14616 14617fi 14618if test -n "$PKG_CONFIG"; then 14619 _pkg_min_version=0.9.0 14620 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 14621$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 14622 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 14623 { $as_echo "$as_me:$LINENO: result: yes" >&5 14624$as_echo "yes" >&6; } 14625 else 14626 { $as_echo "$as_me:$LINENO: result: no" >&5 14627$as_echo "no" >&6; } 14628 PKG_CONFIG="" 14629 fi 14630 14631fi 14632 14633if test "$enable_libxml2" = "yes" -o "$expat" = "no"; then 14634 14635pkg_failed=no 14636{ $as_echo "$as_me:$LINENO: checking for LIBXML2" >&5 14637$as_echo_n "checking for LIBXML2... " >&6; } 14638 14639if test -n "$LIBXML2_CFLAGS"; then 14640 pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" 14641 elif test -n "$PKG_CONFIG"; then 14642 if test -n "$PKG_CONFIG" && \ 14643 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\"") >&5 14644 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 14645 ac_status=$? 14646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14647 (exit $ac_status); }; then 14648 pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null` 14649else 14650 pkg_failed=yes 14651fi 14652 else 14653 pkg_failed=untried 14654fi 14655if test -n "$LIBXML2_LIBS"; then 14656 pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" 14657 elif test -n "$PKG_CONFIG"; then 14658 if test -n "$PKG_CONFIG" && \ 14659 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\"") >&5 14660 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 14661 ac_status=$? 14662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14663 (exit $ac_status); }; then 14664 pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null` 14665else 14666 pkg_failed=yes 14667fi 14668 else 14669 pkg_failed=untried 14670fi 14671 14672 14673 14674if test $pkg_failed = yes; then 14675 14676if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 14677 _pkg_short_errors_supported=yes 14678else 14679 _pkg_short_errors_supported=no 14680fi 14681 if test $_pkg_short_errors_supported = yes; then 14682 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.6" 2>&1` 14683 else 14684 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.6" 2>&1` 14685 fi 14686 # Put the nasty error message in config.log where it belongs 14687 echo "$LIBXML2_PKG_ERRORS" >&5 14688 14689 { { $as_echo "$as_me:$LINENO: error: Package requirements (libxml-2.0 >= 2.6) were not met: 14690 14691$LIBXML2_PKG_ERRORS 14692 14693Consider adjusting the PKG_CONFIG_PATH environment variable if you 14694installed software in a non-standard prefix. 14695 14696Alternatively, you may set the environment variables LIBXML2_CFLAGS 14697and LIBXML2_LIBS to avoid the need to call pkg-config. 14698See the pkg-config man page for more details. 14699" >&5 14700$as_echo "$as_me: error: Package requirements (libxml-2.0 >= 2.6) were not met: 14701 14702$LIBXML2_PKG_ERRORS 14703 14704Consider adjusting the PKG_CONFIG_PATH environment variable if you 14705installed software in a non-standard prefix. 14706 14707Alternatively, you may set the environment variables LIBXML2_CFLAGS 14708and LIBXML2_LIBS to avoid the need to call pkg-config. 14709See the pkg-config man page for more details. 14710" >&2;} 14711 { (exit 1); exit 1; }; } 14712elif test $pkg_failed = untried; then 14713 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 14714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14715{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 14716is in your PATH or set the PKG_CONFIG environment variable to the full 14717path to pkg-config. 14718 14719Alternatively, you may set the environment variables LIBXML2_CFLAGS 14720and LIBXML2_LIBS to avoid the need to call pkg-config. 14721See the pkg-config man page for more details. 14722 14723To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14724See \`config.log' for more details." >&5 14725$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 14726is in your PATH or set the PKG_CONFIG environment variable to the full 14727path to pkg-config. 14728 14729Alternatively, you may set the environment variables LIBXML2_CFLAGS 14730and LIBXML2_LIBS to avoid the need to call pkg-config. 14731See the pkg-config man page for more details. 14732 14733To get pkg-config, see <http://pkg-config.freedesktop.org/>. 14734See \`config.log' for more details." >&2;} 14735 { (exit 1); exit 1; }; }; } 14736else 14737 LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS 14738 LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS 14739 { $as_echo "$as_me:$LINENO: result: yes" >&5 14740$as_echo "yes" >&6; } 14741 : 14742fi 14743 14744cat >>confdefs.h <<_ACEOF 14745#define ENABLE_LIBXML2 1 14746_ACEOF 14747 14748 14749 14750 14751fi 14752 14753# 14754# Set default font directory 14755# 14756 14757 14758# Check whether --with-default-fonts was given. 14759if test "${with_default_fonts+set}" = set; then 14760 withval=$with_default_fonts; default_fonts="$withval" 14761else 14762 default_fonts=yes 14763fi 14764 14765 14766case "$default_fonts" in 14767yes) 14768 if test "$os_win32" = "yes"; then 14769 FC_DEFAULT_FONTS="WINDOWSFONTDIR" 14770 14771cat >>confdefs.h <<_ACEOF 14772#define FC_DEFAULT_FONTS "WINDOWSFONTDIR" 14773_ACEOF 14774 14775 else 14776 FC_DEFAULT_FONTS="/usr/share/fonts" 14777 14778cat >>confdefs.h <<_ACEOF 14779#define FC_DEFAULT_FONTS "/usr/share/fonts" 14780_ACEOF 14781 14782 fi 14783 ;; 14784*) 14785 FC_DEFAULT_FONTS="$default_fonts" 14786 14787cat >>confdefs.h <<_ACEOF 14788#define FC_DEFAULT_FONTS "$default_fonts" 14789_ACEOF 14790 14791 ;; 14792esac 14793 14794 14795 14796# 14797# Add more fonts if available. By default, add only the directories 14798# with outline fonts; those with bitmaps can be added as desired in 14799# local.conf or ~/.fonts.conf 14800# 14801 14802# Check whether --with-add-fonts was given. 14803if test "${with_add_fonts+set}" = set; then 14804 withval=$with_add_fonts; add_fonts="$withval" 14805else 14806 add_fonts=yes 14807fi 14808 14809 14810case "$add_fonts" in 14811yes) 14812 FC_ADD_FONTS="" 14813 for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do 14814 case x"$FC_ADD_FONTS" in 14815 x) 14816 sub="$dir/fonts" 14817 if test -d "$sub"; then 14818 case x$FC_ADD_FONTS in 14819 x) 14820 FC_ADD_FONTS="$sub" 14821 ;; 14822 *) 14823 FC_ADD_FONTS="$FC_ADD_FONTS,$sub" 14824 ;; 14825 esac 14826 fi 14827 ;; 14828 esac 14829 done 14830 14831cat >>confdefs.h <<_ACEOF 14832#define FC_ADD_FONTS "$add_fonts" 14833_ACEOF 14834 14835 ;; 14836no) 14837 FC_ADD_FONTS="" 14838 ;; 14839*) 14840 FC_ADD_FONTS="$add_fonts" 14841 14842cat >>confdefs.h <<_ACEOF 14843#define FC_ADD_FONTS "$add_fonts" 14844_ACEOF 14845 14846 ;; 14847esac 14848 14849 14850 14851FC_FONTPATH="" 14852 14853case "$FC_ADD_FONTS" in 14854"") 14855 ;; 14856*) 14857 FC_FONTPATH=`echo $FC_ADD_FONTS | 14858 sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'` 14859 ;; 14860esac 14861 14862 14863 14864# 14865# Set default cache directory path 14866# 14867 14868# Check whether --with-cache-dir was given. 14869if test "${with_cache_dir+set}" = set; then 14870 withval=$with_cache_dir; fc_cachedir="$withval" 14871else 14872 fc_cachedir=yes 14873fi 14874 14875 14876case $fc_cachedir in 14877no|yes) 14878 if test "$os_win32" = "yes"; then 14879 fc_cachedir="WINDOWSTEMPDIR_FONTCONFIG_CACHE" 14880 else 14881 fc_cachedir='${localstatedir}/cache/${PACKAGE}' 14882 fi 14883 ;; 14884*) 14885 ;; 14886esac 14887 14888FC_CACHEDIR=${fc_cachedir} 14889 14890 14891FC_FONTDATE=`LC_ALL=C date` 14892 14893 14894 14895 14896# Check whether --with-confdir was given. 14897if test "${with_confdir+set}" = set; then 14898 withval=$with_confdir; confdir="$withval" 14899else 14900 confdir=yes 14901fi 14902 14903 14904# 14905# Set CONFDIR and FONTCONFIG_PATH 14906# 14907 14908case "$confdir" in 14909no|yes) 14910 confdir='${sysconfdir}'/fonts 14911 ;; 14912*) 14913 ;; 14914esac 14915 14916CONFDIR=${confdir} 14917 14918cat >>confdefs.h <<_ACEOF 14919#define CONFDIR "$CONFDIR" 14920_ACEOF 14921 14922 14923 14924# 14925# Let people not build/install docs if they don't have docbook 14926# 14927 14928# Extract the first word of "docbook2html", so it can be a program name with args. 14929set dummy docbook2html; ac_word=$2 14930{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 14931$as_echo_n "checking for $ac_word... " >&6; } 14932if test "${ac_cv_prog_HASDOCBOOK+set}" = set; then 14933 $as_echo_n "(cached) " >&6 14934else 14935 if test -n "$HASDOCBOOK"; then 14936 ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test. 14937else 14938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14939for as_dir in $PATH 14940do 14941 IFS=$as_save_IFS 14942 test -z "$as_dir" && as_dir=. 14943 for ac_exec_ext in '' $ac_executable_extensions; do 14944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 14945 ac_cv_prog_HASDOCBOOK="yes" 14946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 14947 break 2 14948 fi 14949done 14950done 14951IFS=$as_save_IFS 14952 14953 test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no" 14954fi 14955fi 14956HASDOCBOOK=$ac_cv_prog_HASDOCBOOK 14957if test -n "$HASDOCBOOK"; then 14958 { $as_echo "$as_me:$LINENO: result: $HASDOCBOOK" >&5 14959$as_echo "$HASDOCBOOK" >&6; } 14960else 14961 { $as_echo "$as_me:$LINENO: result: no" >&5 14962$as_echo "no" >&6; } 14963fi 14964 14965 14966 14967 if test "x$HASDOCBOOK" = xyes; then 14968 USEDOCBOOK_TRUE= 14969 USEDOCBOOK_FALSE='#' 14970else 14971 USEDOCBOOK_TRUE='#' 14972 USEDOCBOOK_FALSE= 14973fi 14974 14975 14976default_docs="yes" 14977# 14978# Check if docs exist or can be created 14979# 14980if test x$HASDOCBOOK = xno; then 14981 if test -f $srcdir/doc/fonts-conf.5; then 14982 : 14983 else 14984 default_docs="no" 14985 fi 14986fi 14987 14988# Check whether --enable-docs was given. 14989if test "${enable_docs+set}" = set; then 14990 enableval=$enable_docs; 14991else 14992 enable_docs=$default_docs 14993fi 14994 14995 14996 if test "x$enable_docs" = xyes; then 14997 ENABLE_DOCS_TRUE= 14998 ENABLE_DOCS_FALSE='#' 14999else 15000 ENABLE_DOCS_TRUE='#' 15001 ENABLE_DOCS_FALSE= 15002fi 15003 15004 15005if test "x$enable_docs" = xyes; then 15006 DOCSRC="doc" 15007 tmp=funcs.$$ 15008 cat $srcdir/doc/*.fncs | awk ' 15009 /^@TITLE@/ { if (!done) { printf ("%s\n", $2); done = 1; } } 15010 /^@FUNC@/ { if (!done) { printf ("%s\n", $2); done = 1; } } 15011 /^@@/ { done = 0; }' > $tmp 15012 DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'` 15013 echo DOCMAN3 $DOCMAN3 15014 rm -f $tmp 15015else 15016 DOCSRC="" 15017 DOCMAN3="" 15018fi 15019 15020 15021 15022 15023ac_config_files="$ac_config_files Makefile fontconfig/Makefile fc-lang/Makefile fc-glyphname/Makefile fc-case/Makefile fc-arch/Makefile src/Makefile conf.d/Makefile fc-cache/Makefile fc-cat/Makefile fc-list/Makefile fc-match/Makefile fc-query/Makefile fc-scan/Makefile doc/Makefile doc/version.sgml test/Makefile fontconfig.spec fontconfig.pc fontconfig-zip" 15024 15025cat >confcache <<\_ACEOF 15026# This file is a shell script that caches the results of configure 15027# tests run on this system so they can be shared between configure 15028# scripts and configure runs, see configure's option --config-cache. 15029# It is not useful on other systems. If it contains results you don't 15030# want to keep, you may remove or edit it. 15031# 15032# config.status only pays attention to the cache file if you give it 15033# the --recheck option to rerun configure. 15034# 15035# `ac_cv_env_foo' variables (set or unset) will be overridden when 15036# loading this file, other *unset* `ac_cv_foo' will be assigned the 15037# following values. 15038 15039_ACEOF 15040 15041# The following way of writing the cache mishandles newlines in values, 15042# but we know of no workaround that is simple, portable, and efficient. 15043# So, we kill variables containing newlines. 15044# Ultrix sh set writes to stderr and can't be redirected directly, 15045# and sets the high bit in the cache file unless we assign to the vars. 15046( 15047 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 15048 eval ac_val=\$$ac_var 15049 case $ac_val in #( 15050 *${as_nl}*) 15051 case $ac_var in #( 15052 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 15053$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 15054 esac 15055 case $ac_var in #( 15056 _ | IFS | as_nl) ;; #( 15057 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 15058 *) $as_unset $ac_var ;; 15059 esac ;; 15060 esac 15061 done 15062 15063 (set) 2>&1 | 15064 case $as_nl`(ac_space=' '; set) 2>&1` in #( 15065 *${as_nl}ac_space=\ *) 15066 # `set' does not quote correctly, so add quotes (double-quote 15067 # substitution turns \\\\ into \\, and sed turns \\ into \). 15068 sed -n \ 15069 "s/'/'\\\\''/g; 15070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 15071 ;; #( 15072 *) 15073 # `set' quotes correctly as required by POSIX, so do not add quotes. 15074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15075 ;; 15076 esac | 15077 sort 15078) | 15079 sed ' 15080 /^ac_cv_env_/b end 15081 t clear 15082 :clear 15083 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 15084 t end 15085 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 15086 :end' >>confcache 15087if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 15088 if test -w "$cache_file"; then 15089 test "x$cache_file" != "x/dev/null" && 15090 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 15091$as_echo "$as_me: updating cache $cache_file" >&6;} 15092 cat confcache >$cache_file 15093 else 15094 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 15095$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 15096 fi 15097fi 15098rm -f confcache 15099 15100test "x$prefix" = xNONE && prefix=$ac_default_prefix 15101# Let make expand exec_prefix. 15102test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 15103 15104DEFS=-DHAVE_CONFIG_H 15105 15106ac_libobjs= 15107ac_ltlibobjs= 15108for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 15109 # 1. Remove the extension, and $U if already installed. 15110 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 15111 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 15112 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 15113 # will be set to the directory where LIBOBJS objects are built. 15114 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 15115 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 15116done 15117LIBOBJS=$ac_libobjs 15118 15119LTLIBOBJS=$ac_ltlibobjs 15120 15121 15122 if test -n "$EXEEXT"; then 15123 am__EXEEXT_TRUE= 15124 am__EXEEXT_FALSE='#' 15125else 15126 am__EXEEXT_TRUE='#' 15127 am__EXEEXT_FALSE= 15128fi 15129 15130if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 15131 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 15132Usually this means the macro was only invoked conditionally." >&5 15133$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 15134Usually this means the macro was only invoked conditionally." >&2;} 15135 { (exit 1); exit 1; }; } 15136fi 15137if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 15138 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 15139Usually this means the macro was only invoked conditionally." >&5 15140$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 15141Usually this means the macro was only invoked conditionally." >&2;} 15142 { (exit 1); exit 1; }; } 15143fi 15144if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 15145 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 15146Usually this means the macro was only invoked conditionally." >&5 15147$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 15148Usually this means the macro was only invoked conditionally." >&2;} 15149 { (exit 1); exit 1; }; } 15150fi 15151if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 15152 { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. 15153Usually this means the macro was only invoked conditionally." >&5 15154$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined. 15155Usually this means the macro was only invoked conditionally." >&2;} 15156 { (exit 1); exit 1; }; } 15157fi 15158if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then 15159 { { $as_echo "$as_me:$LINENO: error: conditional \"MS_LIB_AVAILABLE\" was never defined. 15160Usually this means the macro was only invoked conditionally." >&5 15161$as_echo "$as_me: error: conditional \"MS_LIB_AVAILABLE\" was never defined. 15162Usually this means the macro was only invoked conditionally." >&2;} 15163 { (exit 1); exit 1; }; } 15164fi 15165if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then 15166 { { $as_echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILING\" was never defined. 15167Usually this means the macro was only invoked conditionally." >&5 15168$as_echo "$as_me: error: conditional \"CROSS_COMPILING\" was never defined. 15169Usually this means the macro was only invoked conditionally." >&2;} 15170 { (exit 1); exit 1; }; } 15171fi 15172if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then 15173 { { $as_echo "$as_me:$LINENO: error: conditional \"USEDOCBOOK\" was never defined. 15174Usually this means the macro was only invoked conditionally." >&5 15175$as_echo "$as_me: error: conditional \"USEDOCBOOK\" was never defined. 15176Usually this means the macro was only invoked conditionally." >&2;} 15177 { (exit 1); exit 1; }; } 15178fi 15179if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then 15180 { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOCS\" was never defined. 15181Usually this means the macro was only invoked conditionally." >&5 15182$as_echo "$as_me: error: conditional \"ENABLE_DOCS\" was never defined. 15183Usually this means the macro was only invoked conditionally." >&2;} 15184 { (exit 1); exit 1; }; } 15185fi 15186 15187: ${CONFIG_STATUS=./config.status} 15188ac_write_fail=0 15189ac_clean_files_save=$ac_clean_files 15190ac_clean_files="$ac_clean_files $CONFIG_STATUS" 15191{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 15192$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 15193cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15194#! $SHELL 15195# Generated by $as_me. 15196# Run this file to recreate the current configuration. 15197# Compiler output produced by configure, useful for debugging 15198# configure, is in config.log if it exists. 15199 15200debug=false 15201ac_cs_recheck=false 15202ac_cs_silent=false 15203SHELL=\${CONFIG_SHELL-$SHELL} 15204_ACEOF 15205 15206cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15207## --------------------- ## 15208## M4sh Initialization. ## 15209## --------------------- ## 15210 15211# Be more Bourne compatible 15212DUALCASE=1; export DUALCASE # for MKS sh 15213if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15214 emulate sh 15215 NULLCMD=: 15216 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 15217 # is contrary to our usage. Disable this feature. 15218 alias -g '${1+"$@"}'='"$@"' 15219 setopt NO_GLOB_SUBST 15220else 15221 case `(set -o) 2>/dev/null` in 15222 *posix*) set -o posix ;; 15223esac 15224 15225fi 15226 15227 15228 15229 15230# PATH needs CR 15231# Avoid depending upon Character Ranges. 15232as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15233as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15234as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15235as_cr_digits='0123456789' 15236as_cr_alnum=$as_cr_Letters$as_cr_digits 15237 15238as_nl=' 15239' 15240export as_nl 15241# Printing a long string crashes Solaris 7 /usr/bin/printf. 15242as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15243as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15244as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15245if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15246 as_echo='printf %s\n' 15247 as_echo_n='printf %s' 15248else 15249 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15250 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15251 as_echo_n='/usr/ucb/echo -n' 15252 else 15253 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15254 as_echo_n_body='eval 15255 arg=$1; 15256 case $arg in 15257 *"$as_nl"*) 15258 expr "X$arg" : "X\\(.*\\)$as_nl"; 15259 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15260 esac; 15261 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15262 ' 15263 export as_echo_n_body 15264 as_echo_n='sh -c $as_echo_n_body as_echo' 15265 fi 15266 export as_echo_body 15267 as_echo='sh -c $as_echo_body as_echo' 15268fi 15269 15270# The user is always right. 15271if test "${PATH_SEPARATOR+set}" != set; then 15272 PATH_SEPARATOR=: 15273 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15274 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15275 PATH_SEPARATOR=';' 15276 } 15277fi 15278 15279# Support unset when possible. 15280if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15281 as_unset=unset 15282else 15283 as_unset=false 15284fi 15285 15286 15287# IFS 15288# We need space, tab and new line, in precisely that order. Quoting is 15289# there to prevent editors from complaining about space-tab. 15290# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15291# splitting by setting IFS to empty value.) 15292IFS=" "" $as_nl" 15293 15294# Find who we are. Look in the path if we contain no directory separator. 15295case $0 in 15296 *[\\/]* ) as_myself=$0 ;; 15297 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15298for as_dir in $PATH 15299do 15300 IFS=$as_save_IFS 15301 test -z "$as_dir" && as_dir=. 15302 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15303done 15304IFS=$as_save_IFS 15305 15306 ;; 15307esac 15308# We did not find ourselves, most probably we were run as `sh COMMAND' 15309# in which case we are not to be found in the path. 15310if test "x$as_myself" = x; then 15311 as_myself=$0 15312fi 15313if test ! -f "$as_myself"; then 15314 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15315 { (exit 1); exit 1; } 15316fi 15317 15318# Work around bugs in pre-3.0 UWIN ksh. 15319for as_var in ENV MAIL MAILPATH 15320do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 15321done 15322PS1='$ ' 15323PS2='> ' 15324PS4='+ ' 15325 15326# NLS nuisances. 15327LC_ALL=C 15328export LC_ALL 15329LANGUAGE=C 15330export LANGUAGE 15331 15332# Required to use basename. 15333if expr a : '\(a\)' >/dev/null 2>&1 && 15334 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15335 as_expr=expr 15336else 15337 as_expr=false 15338fi 15339 15340if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15341 as_basename=basename 15342else 15343 as_basename=false 15344fi 15345 15346 15347# Name of the executable. 15348as_me=`$as_basename -- "$0" || 15349$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15350 X"$0" : 'X\(//\)$' \| \ 15351 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15352$as_echo X/"$0" | 15353 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15354 s//\1/ 15355 q 15356 } 15357 /^X\/\(\/\/\)$/{ 15358 s//\1/ 15359 q 15360 } 15361 /^X\/\(\/\).*/{ 15362 s//\1/ 15363 q 15364 } 15365 s/.*/./; q'` 15366 15367# CDPATH. 15368$as_unset CDPATH 15369 15370 15371 15372 as_lineno_1=$LINENO 15373 as_lineno_2=$LINENO 15374 test "x$as_lineno_1" != "x$as_lineno_2" && 15375 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 15376 15377 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15378 # uniformly replaced by the line number. The first 'sed' inserts a 15379 # line-number line after each line using $LINENO; the second 'sed' 15380 # does the real work. The second script uses 'N' to pair each 15381 # line-number line with the line containing $LINENO, and appends 15382 # trailing '-' during substitution so that $LINENO is not a special 15383 # case at line end. 15384 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 15385 # scripts with optimization help from Paolo Bonzini. Blame Lee 15386 # E. McMahon (1931-1989) for sed's syntax. :-) 15387 sed -n ' 15388 p 15389 /[$]LINENO/= 15390 ' <$as_myself | 15391 sed ' 15392 s/[$]LINENO.*/&-/ 15393 t lineno 15394 b 15395 :lineno 15396 N 15397 :loop 15398 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 15399 t loop 15400 s/-\n.*// 15401 ' >$as_me.lineno && 15402 chmod +x "$as_me.lineno" || 15403 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 15404 { (exit 1); exit 1; }; } 15405 15406 # Don't try to exec as it changes $[0], causing all sort of problems 15407 # (the dirname of $[0] is not the place where we might find the 15408 # original and so on. Autoconf is especially sensitive to this). 15409 . "./$as_me.lineno" 15410 # Exit status is that of the last command. 15411 exit 15412} 15413 15414 15415if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15416 as_dirname=dirname 15417else 15418 as_dirname=false 15419fi 15420 15421ECHO_C= ECHO_N= ECHO_T= 15422case `echo -n x` in 15423-n*) 15424 case `echo 'x\c'` in 15425 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15426 *) ECHO_C='\c';; 15427 esac;; 15428*) 15429 ECHO_N='-n';; 15430esac 15431if expr a : '\(a\)' >/dev/null 2>&1 && 15432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15433 as_expr=expr 15434else 15435 as_expr=false 15436fi 15437 15438rm -f conf$$ conf$$.exe conf$$.file 15439if test -d conf$$.dir; then 15440 rm -f conf$$.dir/conf$$.file 15441else 15442 rm -f conf$$.dir 15443 mkdir conf$$.dir 2>/dev/null 15444fi 15445if (echo >conf$$.file) 2>/dev/null; then 15446 if ln -s conf$$.file conf$$ 2>/dev/null; then 15447 as_ln_s='ln -s' 15448 # ... but there are two gotchas: 15449 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15450 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15451 # In both cases, we have to default to `cp -p'. 15452 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15453 as_ln_s='cp -p' 15454 elif ln conf$$.file conf$$ 2>/dev/null; then 15455 as_ln_s=ln 15456 else 15457 as_ln_s='cp -p' 15458 fi 15459else 15460 as_ln_s='cp -p' 15461fi 15462rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15463rmdir conf$$.dir 2>/dev/null 15464 15465if mkdir -p . 2>/dev/null; then 15466 as_mkdir_p=: 15467else 15468 test -d ./-p && rmdir ./-p 15469 as_mkdir_p=false 15470fi 15471 15472if test -x / >/dev/null 2>&1; then 15473 as_test_x='test -x' 15474else 15475 if ls -dL / >/dev/null 2>&1; then 15476 as_ls_L_option=L 15477 else 15478 as_ls_L_option= 15479 fi 15480 as_test_x=' 15481 eval sh -c '\'' 15482 if test -d "$1"; then 15483 test -d "$1/."; 15484 else 15485 case $1 in 15486 -*)set "./$1";; 15487 esac; 15488 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 15489 ???[sx]*):;;*)false;;esac;fi 15490 '\'' sh 15491 ' 15492fi 15493as_executable_p=$as_test_x 15494 15495# Sed expression to map a string onto a valid CPP name. 15496as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15497 15498# Sed expression to map a string onto a valid variable name. 15499as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15500 15501 15502exec 6>&1 15503 15504# Save the log message, to keep $[0] and so on meaningful, and to 15505# report actual input values of CONFIG_FILES etc. instead of their 15506# values after options handling. 15507ac_log=" 15508This file was extended by $as_me, which was 15509generated by GNU Autoconf 2.63. Invocation command line was 15510 15511 CONFIG_FILES = $CONFIG_FILES 15512 CONFIG_HEADERS = $CONFIG_HEADERS 15513 CONFIG_LINKS = $CONFIG_LINKS 15514 CONFIG_COMMANDS = $CONFIG_COMMANDS 15515 $ $0 $@ 15516 15517on `(hostname || uname -n) 2>/dev/null | sed 1q` 15518" 15519 15520_ACEOF 15521 15522case $ac_config_files in *" 15523"*) set x $ac_config_files; shift; ac_config_files=$*;; 15524esac 15525 15526case $ac_config_headers in *" 15527"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15528esac 15529 15530 15531cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15532# Files that config.status was made for. 15533config_files="$ac_config_files" 15534config_headers="$ac_config_headers" 15535config_commands="$ac_config_commands" 15536 15537_ACEOF 15538 15539cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15540ac_cs_usage="\ 15541\`$as_me' instantiates files from templates according to the 15542current configuration. 15543 15544Usage: $0 [OPTION]... [FILE]... 15545 15546 -h, --help print this help, then exit 15547 -V, --version print version number and configuration settings, then exit 15548 -q, --quiet, --silent 15549 do not print progress messages 15550 -d, --debug don't remove temporary files 15551 --recheck update $as_me by reconfiguring in the same conditions 15552 --file=FILE[:TEMPLATE] 15553 instantiate the configuration file FILE 15554 --header=FILE[:TEMPLATE] 15555 instantiate the configuration header FILE 15556 15557Configuration files: 15558$config_files 15559 15560Configuration headers: 15561$config_headers 15562 15563Configuration commands: 15564$config_commands 15565 15566Report bugs to <bug-autoconf@gnu.org>." 15567 15568_ACEOF 15569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15570ac_cs_version="\\ 15571config.status 15572configured by $0, generated by GNU Autoconf 2.63, 15573 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 15574 15575Copyright (C) 2008 Free Software Foundation, Inc. 15576This config.status script is free software; the Free Software Foundation 15577gives unlimited permission to copy, distribute and modify it." 15578 15579ac_pwd='$ac_pwd' 15580srcdir='$srcdir' 15581INSTALL='$INSTALL' 15582MKDIR_P='$MKDIR_P' 15583AWK='$AWK' 15584test -n "\$AWK" || AWK=awk 15585_ACEOF 15586 15587cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15588# The default lists apply if the user does not specify any file. 15589ac_need_defaults=: 15590while test $# != 0 15591do 15592 case $1 in 15593 --*=*) 15594 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15595 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15596 ac_shift=: 15597 ;; 15598 *) 15599 ac_option=$1 15600 ac_optarg=$2 15601 ac_shift=shift 15602 ;; 15603 esac 15604 15605 case $ac_option in 15606 # Handling of the options. 15607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15608 ac_cs_recheck=: ;; 15609 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15610 $as_echo "$ac_cs_version"; exit ;; 15611 --debug | --debu | --deb | --de | --d | -d ) 15612 debug=: ;; 15613 --file | --fil | --fi | --f ) 15614 $ac_shift 15615 case $ac_optarg in 15616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15617 esac 15618 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 15619 ac_need_defaults=false;; 15620 --header | --heade | --head | --hea ) 15621 $ac_shift 15622 case $ac_optarg in 15623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15624 esac 15625 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 15626 ac_need_defaults=false;; 15627 --he | --h) 15628 # Conflict between --help and --header 15629 { $as_echo "$as_me: error: ambiguous option: $1 15630Try \`$0 --help' for more information." >&2 15631 { (exit 1); exit 1; }; };; 15632 --help | --hel | -h ) 15633 $as_echo "$ac_cs_usage"; exit ;; 15634 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15635 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15636 ac_cs_silent=: ;; 15637 15638 # This is an error. 15639 -*) { $as_echo "$as_me: error: unrecognized option: $1 15640Try \`$0 --help' for more information." >&2 15641 { (exit 1); exit 1; }; } ;; 15642 15643 *) ac_config_targets="$ac_config_targets $1" 15644 ac_need_defaults=false ;; 15645 15646 esac 15647 shift 15648done 15649 15650ac_configure_extra_args= 15651 15652if $ac_cs_silent; then 15653 exec 6>/dev/null 15654 ac_configure_extra_args="$ac_configure_extra_args --silent" 15655fi 15656 15657_ACEOF 15658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15659if \$ac_cs_recheck; then 15660 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15661 shift 15662 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15663 CONFIG_SHELL='$SHELL' 15664 export CONFIG_SHELL 15665 exec "\$@" 15666fi 15667 15668_ACEOF 15669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15670exec 5>>config.log 15671{ 15672 echo 15673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 15674## Running $as_me. ## 15675_ASBOX 15676 $as_echo "$ac_log" 15677} >&5 15678 15679_ACEOF 15680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15681# 15682# INIT-COMMANDS 15683# 15684AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15685 15686 15687# The HP-UX ksh and POSIX shell print the target directory to stdout 15688# if CDPATH is set. 15689(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15690 15691sed_quote_subst='$sed_quote_subst' 15692double_quote_subst='$double_quote_subst' 15693delay_variable_subst='$delay_variable_subst' 15694AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 15695DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 15696OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 15697macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 15698macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 15699enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 15700enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 15701pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 15702enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 15703host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 15704host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 15705host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 15706build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 15707build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 15708build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 15709SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 15710Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 15711GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 15712EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 15713FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 15714LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 15715NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 15716LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 15717max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 15718ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 15719exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 15720lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 15721lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 15722lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 15723reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 15724reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15725deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 15726file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 15727AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 15728AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 15729STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 15730RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 15731old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15732old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15733old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15734CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 15735CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 15736compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 15737GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 15738lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 15739lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 15740lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' 15741lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 15742objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 15743SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 15744ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 15745MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 15746lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 15747lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 15748lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 15749lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 15750lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 15751need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 15752DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 15753NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 15754LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 15755OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 15756OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 15757libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 15758shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15759extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15760archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 15761enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 15762export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15763whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15764compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 15765old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15766old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15767archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15768archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15769module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15770module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15771with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 15772allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 15773no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 15774hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 15775hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 15776hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 15777hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 15778hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 15779hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 15780hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15781hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 15782inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 15783link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 15784fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 15785always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 15786export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15787exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 15788include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 15789prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15790file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 15791variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 15792need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 15793need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 15794version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 15795runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15796shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 15797shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 15798libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 15799library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 15800soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 15801postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15802postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15803finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 15804finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 15805hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 15806sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 15807sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 15808hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 15809enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 15810enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 15811enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 15812old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 15813striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 15814 15815LTCC='$LTCC' 15816LTCFLAGS='$LTCFLAGS' 15817compiler='$compiler_DEFAULT' 15818 15819# Quote evaled strings. 15820for var in SED \ 15821GREP \ 15822EGREP \ 15823FGREP \ 15824LD \ 15825NM \ 15826LN_S \ 15827lt_SP2NL \ 15828lt_NL2SP \ 15829reload_flag \ 15830deplibs_check_method \ 15831file_magic_cmd \ 15832AR \ 15833AR_FLAGS \ 15834STRIP \ 15835RANLIB \ 15836CC \ 15837CFLAGS \ 15838compiler \ 15839lt_cv_sys_global_symbol_pipe \ 15840lt_cv_sys_global_symbol_to_cdecl \ 15841lt_cv_sys_global_symbol_to_c_name_address \ 15842lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15843SHELL \ 15844ECHO \ 15845lt_prog_compiler_no_builtin_flag \ 15846lt_prog_compiler_wl \ 15847lt_prog_compiler_pic \ 15848lt_prog_compiler_static \ 15849lt_cv_prog_compiler_c_o \ 15850need_locks \ 15851DSYMUTIL \ 15852NMEDIT \ 15853LIPO \ 15854OTOOL \ 15855OTOOL64 \ 15856shrext_cmds \ 15857export_dynamic_flag_spec \ 15858whole_archive_flag_spec \ 15859compiler_needs_object \ 15860with_gnu_ld \ 15861allow_undefined_flag \ 15862no_undefined_flag \ 15863hardcode_libdir_flag_spec \ 15864hardcode_libdir_flag_spec_ld \ 15865hardcode_libdir_separator \ 15866fix_srcfile_path \ 15867exclude_expsyms \ 15868include_expsyms \ 15869file_list_spec \ 15870variables_saved_for_relink \ 15871libname_spec \ 15872library_names_spec \ 15873soname_spec \ 15874finish_eval \ 15875old_striplib \ 15876striplib; do 15877 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 15878 *[\\\\\\\`\\"\\\$]*) 15879 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 15880 ;; 15881 *) 15882 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15883 ;; 15884 esac 15885done 15886 15887# Double-quote double-evaled strings. 15888for var in reload_cmds \ 15889old_postinstall_cmds \ 15890old_postuninstall_cmds \ 15891old_archive_cmds \ 15892extract_expsyms_cmds \ 15893old_archive_from_new_cmds \ 15894old_archive_from_expsyms_cmds \ 15895archive_cmds \ 15896archive_expsym_cmds \ 15897module_cmds \ 15898module_expsym_cmds \ 15899export_symbols_cmds \ 15900prelink_cmds \ 15901postinstall_cmds \ 15902postuninstall_cmds \ 15903finish_cmds \ 15904sys_lib_search_path_spec \ 15905sys_lib_dlsearch_path_spec; do 15906 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 15907 *[\\\\\\\`\\"\\\$]*) 15908 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15909 ;; 15910 *) 15911 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15912 ;; 15913 esac 15914done 15915 15916# Fix-up fallback echo if it was mangled by the above quoting rules. 15917case \$lt_ECHO in 15918*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 15919 ;; 15920esac 15921 15922ac_aux_dir='$ac_aux_dir' 15923xsi_shell='$xsi_shell' 15924lt_shell_append='$lt_shell_append' 15925 15926# See if we are running on zsh, and set the options which allow our 15927# commands through without removal of \ escapes INIT. 15928if test -n "\${ZSH_VERSION+set}" ; then 15929 setopt NO_GLOB_SUBST 15930fi 15931 15932 15933 PACKAGE='$PACKAGE' 15934 VERSION='$VERSION' 15935 TIMESTAMP='$TIMESTAMP' 15936 RM='$RM' 15937 ofile='$ofile' 15938 15939 15940 15941 15942_ACEOF 15943 15944cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15945 15946# Handling of arguments. 15947for ac_config_target in $ac_config_targets 15948do 15949 case $ac_config_target in 15950 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 15951 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15952 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15953 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15954 "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;; 15955 "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;; 15956 "fc-glyphname/Makefile") CONFIG_FILES="$CONFIG_FILES fc-glyphname/Makefile" ;; 15957 "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;; 15958 "fc-arch/Makefile") CONFIG_FILES="$CONFIG_FILES fc-arch/Makefile" ;; 15959 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 15960 "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;; 15961 "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;; 15962 "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;; 15963 "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;; 15964 "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;; 15965 "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;; 15966 "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;; 15967 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 15968 "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;; 15969 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 15970 "fontconfig.spec") CONFIG_FILES="$CONFIG_FILES fontconfig.spec" ;; 15971 "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;; 15972 "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;; 15973 15974 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 15975$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 15976 { (exit 1); exit 1; }; };; 15977 esac 15978done 15979 15980 15981# If the user did not use the arguments to specify the items to instantiate, 15982# then the envvar interface is used. Set only those that are not. 15983# We use the long form for the default assignment because of an extremely 15984# bizarre bug on SunOS 4.1.3. 15985if $ac_need_defaults; then 15986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15989fi 15990 15991# Have a temporary directory for convenience. Make it in the build tree 15992# simply because there is no reason against having it here, and in addition, 15993# creating and moving files from /tmp can sometimes cause problems. 15994# Hook for its removal unless debugging. 15995# Note that there is a small window in which the directory will not be cleaned: 15996# after its creation but before its name has been assigned to `$tmp'. 15997$debug || 15998{ 15999 tmp= 16000 trap 'exit_status=$? 16001 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 16002' 0 16003 trap '{ (exit 1); exit 1; }' 1 2 13 15 16004} 16005# Create a (secure) tmp directory for tmp files. 16006 16007{ 16008 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 16009 test -n "$tmp" && test -d "$tmp" 16010} || 16011{ 16012 tmp=./conf$$-$RANDOM 16013 (umask 077 && mkdir "$tmp") 16014} || 16015{ 16016 $as_echo "$as_me: cannot create a temporary directory in ." >&2 16017 { (exit 1); exit 1; } 16018} 16019 16020# Set up the scripts for CONFIG_FILES section. 16021# No need to generate them if there are no CONFIG_FILES. 16022# This happens for instance with `./config.status config.h'. 16023if test -n "$CONFIG_FILES"; then 16024 16025 16026ac_cr=' 16027' 16028ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 16029if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 16030 ac_cs_awk_cr='\\r' 16031else 16032 ac_cs_awk_cr=$ac_cr 16033fi 16034 16035echo 'BEGIN {' >"$tmp/subs1.awk" && 16036_ACEOF 16037 16038 16039{ 16040 echo "cat >conf$$subs.awk <<_ACEOF" && 16041 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 16042 echo "_ACEOF" 16043} >conf$$subs.sh || 16044 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16045$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16046 { (exit 1); exit 1; }; } 16047ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 16048ac_delim='%!_!# ' 16049for ac_last_try in false false false false false :; do 16050 . ./conf$$subs.sh || 16051 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16052$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16053 { (exit 1); exit 1; }; } 16054 16055 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 16056 if test $ac_delim_n = $ac_delim_num; then 16057 break 16058 elif $ac_last_try; then 16059 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 16060$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 16061 { (exit 1); exit 1; }; } 16062 else 16063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16064 fi 16065done 16066rm -f conf$$subs.sh 16067 16068cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16069cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 16070_ACEOF 16071sed -n ' 16072h 16073s/^/S["/; s/!.*/"]=/ 16074p 16075g 16076s/^[^!]*!// 16077:repl 16078t repl 16079s/'"$ac_delim"'$// 16080t delim 16081:nl 16082h 16083s/\(.\{148\}\).*/\1/ 16084t more1 16085s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 16086p 16087n 16088b repl 16089:more1 16090s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16091p 16092g 16093s/.\{148\}// 16094t nl 16095:delim 16096h 16097s/\(.\{148\}\).*/\1/ 16098t more2 16099s/["\\]/\\&/g; s/^/"/; s/$/"/ 16100p 16101b 16102:more2 16103s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 16104p 16105g 16106s/.\{148\}// 16107t delim 16108' <conf$$subs.awk | sed ' 16109/^[^""]/{ 16110 N 16111 s/\n// 16112} 16113' >>$CONFIG_STATUS || ac_write_fail=1 16114rm -f conf$$subs.awk 16115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16116_ACAWK 16117cat >>"\$tmp/subs1.awk" <<_ACAWK && 16118 for (key in S) S_is_set[key] = 1 16119 FS = "" 16120 16121} 16122{ 16123 line = $ 0 16124 nfields = split(line, field, "@") 16125 substed = 0 16126 len = length(field[1]) 16127 for (i = 2; i < nfields; i++) { 16128 key = field[i] 16129 keylen = length(key) 16130 if (S_is_set[key]) { 16131 value = S[key] 16132 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 16133 len += length(value) + length(field[++i]) 16134 substed = 1 16135 } else 16136 len += 1 + keylen 16137 } 16138 16139 print line 16140} 16141 16142_ACAWK 16143_ACEOF 16144cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16145if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 16146 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 16147else 16148 cat 16149fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 16150 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 16151$as_echo "$as_me: error: could not setup config files machinery" >&2;} 16152 { (exit 1); exit 1; }; } 16153_ACEOF 16154 16155# VPATH may cause trouble with some makes, so we remove $(srcdir), 16156# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 16157# trailing colons and then remove the whole line if VPATH becomes empty 16158# (actually we leave an empty line to preserve line numbers). 16159if test "x$srcdir" = x.; then 16160 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 16161s/:*\$(srcdir):*/:/ 16162s/:*\${srcdir}:*/:/ 16163s/:*@srcdir@:*/:/ 16164s/^\([^=]*=[ ]*\):*/\1/ 16165s/:*$// 16166s/^[^=]*=[ ]*$// 16167}' 16168fi 16169 16170cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16171fi # test -n "$CONFIG_FILES" 16172 16173# Set up the scripts for CONFIG_HEADERS section. 16174# No need to generate them if there are no CONFIG_HEADERS. 16175# This happens for instance with `./config.status Makefile'. 16176if test -n "$CONFIG_HEADERS"; then 16177cat >"$tmp/defines.awk" <<\_ACAWK || 16178BEGIN { 16179_ACEOF 16180 16181# Transform confdefs.h into an awk script `defines.awk', embedded as 16182# here-document in config.status, that substitutes the proper values into 16183# config.h.in to produce config.h. 16184 16185# Create a delimiter string that does not exist in confdefs.h, to ease 16186# handling of long lines. 16187ac_delim='%!_!# ' 16188for ac_last_try in false false :; do 16189 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 16190 if test -z "$ac_t"; then 16191 break 16192 elif $ac_last_try; then 16193 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 16194$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 16195 { (exit 1); exit 1; }; } 16196 else 16197 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16198 fi 16199done 16200 16201# For the awk script, D is an array of macro values keyed by name, 16202# likewise P contains macro parameters if any. Preserve backslash 16203# newline sequences. 16204 16205ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16206sed -n ' 16207s/.\{148\}/&'"$ac_delim"'/g 16208t rset 16209:rset 16210s/^[ ]*#[ ]*define[ ][ ]*/ / 16211t def 16212d 16213:def 16214s/\\$// 16215t bsnl 16216s/["\\]/\\&/g 16217s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16218D["\1"]=" \3"/p 16219s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16220d 16221:bsnl 16222s/["\\]/\\&/g 16223s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16224D["\1"]=" \3\\\\\\n"\\/p 16225t cont 16226s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16227t cont 16228d 16229:cont 16230n 16231s/.\{148\}/&'"$ac_delim"'/g 16232t clear 16233:clear 16234s/\\$// 16235t bsnlc 16236s/["\\]/\\&/g; s/^/"/; s/$/"/p 16237d 16238:bsnlc 16239s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16240b cont 16241' <confdefs.h | sed ' 16242s/'"$ac_delim"'/"\\\ 16243"/g' >>$CONFIG_STATUS || ac_write_fail=1 16244 16245cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16246 for (key in D) D_is_set[key] = 1 16247 FS = "" 16248} 16249/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16250 line = \$ 0 16251 split(line, arg, " ") 16252 if (arg[1] == "#") { 16253 defundef = arg[2] 16254 mac1 = arg[3] 16255 } else { 16256 defundef = substr(arg[1], 2) 16257 mac1 = arg[2] 16258 } 16259 split(mac1, mac2, "(") #) 16260 macro = mac2[1] 16261 prefix = substr(line, 1, index(line, defundef) - 1) 16262 if (D_is_set[macro]) { 16263 # Preserve the white space surrounding the "#". 16264 print prefix "define", macro P[macro] D[macro] 16265 next 16266 } else { 16267 # Replace #undef with comments. This is necessary, for example, 16268 # in the case of _POSIX_SOURCE, which is predefined and required 16269 # on some systems where configure will not decide to define it. 16270 if (defundef == "undef") { 16271 print "/*", prefix defundef, macro, "*/" 16272 next 16273 } 16274 } 16275} 16276{ print } 16277_ACAWK 16278_ACEOF 16279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16280 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 16281$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 16282 { (exit 1); exit 1; }; } 16283fi # test -n "$CONFIG_HEADERS" 16284 16285 16286eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16287shift 16288for ac_tag 16289do 16290 case $ac_tag in 16291 :[FHLC]) ac_mode=$ac_tag; continue;; 16292 esac 16293 case $ac_mode$ac_tag in 16294 :[FHL]*:*);; 16295 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 16296$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 16297 { (exit 1); exit 1; }; };; 16298 :[FH]-) ac_tag=-:-;; 16299 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16300 esac 16301 ac_save_IFS=$IFS 16302 IFS=: 16303 set x $ac_tag 16304 IFS=$ac_save_IFS 16305 shift 16306 ac_file=$1 16307 shift 16308 16309 case $ac_mode in 16310 :L) ac_source=$1;; 16311 :[FH]) 16312 ac_file_inputs= 16313 for ac_f 16314 do 16315 case $ac_f in 16316 -) ac_f="$tmp/stdin";; 16317 *) # Look for the file first in the build tree, then in the source tree 16318 # (if the path is not absolute). The absolute path cannot be DOS-style, 16319 # because $ac_f cannot contain `:'. 16320 test -f "$ac_f" || 16321 case $ac_f in 16322 [\\/$]*) false;; 16323 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16324 esac || 16325 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16326$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16327 { (exit 1); exit 1; }; };; 16328 esac 16329 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16330 ac_file_inputs="$ac_file_inputs '$ac_f'" 16331 done 16332 16333 # Let's still pretend it is `configure' which instantiates (i.e., don't 16334 # use $as_me), people would be surprised to read: 16335 # /* config.h. Generated by config.status. */ 16336 configure_input='Generated from '` 16337 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16338 `' by configure.' 16339 if test x"$ac_file" != x-; then 16340 configure_input="$ac_file. $configure_input" 16341 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 16342$as_echo "$as_me: creating $ac_file" >&6;} 16343 fi 16344 # Neutralize special characters interpreted by sed in replacement strings. 16345 case $configure_input in #( 16346 *\&* | *\|* | *\\* ) 16347 ac_sed_conf_input=`$as_echo "$configure_input" | 16348 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16349 *) ac_sed_conf_input=$configure_input;; 16350 esac 16351 16352 case $ac_tag in 16353 *:-:* | *:-) cat >"$tmp/stdin" \ 16354 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16355$as_echo "$as_me: error: could not create $ac_file" >&2;} 16356 { (exit 1); exit 1; }; } ;; 16357 esac 16358 ;; 16359 esac 16360 16361 ac_dir=`$as_dirname -- "$ac_file" || 16362$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16363 X"$ac_file" : 'X\(//\)[^/]' \| \ 16364 X"$ac_file" : 'X\(//\)$' \| \ 16365 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16366$as_echo X"$ac_file" | 16367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16368 s//\1/ 16369 q 16370 } 16371 /^X\(\/\/\)[^/].*/{ 16372 s//\1/ 16373 q 16374 } 16375 /^X\(\/\/\)$/{ 16376 s//\1/ 16377 q 16378 } 16379 /^X\(\/\).*/{ 16380 s//\1/ 16381 q 16382 } 16383 s/.*/./; q'` 16384 { as_dir="$ac_dir" 16385 case $as_dir in #( 16386 -*) as_dir=./$as_dir;; 16387 esac 16388 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16389 as_dirs= 16390 while :; do 16391 case $as_dir in #( 16392 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16393 *) as_qdir=$as_dir;; 16394 esac 16395 as_dirs="'$as_qdir' $as_dirs" 16396 as_dir=`$as_dirname -- "$as_dir" || 16397$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16398 X"$as_dir" : 'X\(//\)[^/]' \| \ 16399 X"$as_dir" : 'X\(//\)$' \| \ 16400 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16401$as_echo X"$as_dir" | 16402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16403 s//\1/ 16404 q 16405 } 16406 /^X\(\/\/\)[^/].*/{ 16407 s//\1/ 16408 q 16409 } 16410 /^X\(\/\/\)$/{ 16411 s//\1/ 16412 q 16413 } 16414 /^X\(\/\).*/{ 16415 s//\1/ 16416 q 16417 } 16418 s/.*/./; q'` 16419 test -d "$as_dir" && break 16420 done 16421 test -z "$as_dirs" || eval "mkdir $as_dirs" 16422 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16423$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 16424 { (exit 1); exit 1; }; }; } 16425 ac_builddir=. 16426 16427case "$ac_dir" in 16428.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16429*) 16430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16431 # A ".." for each directory in $ac_dir_suffix. 16432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16433 case $ac_top_builddir_sub in 16434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16436 esac ;; 16437esac 16438ac_abs_top_builddir=$ac_pwd 16439ac_abs_builddir=$ac_pwd$ac_dir_suffix 16440# for backward compatibility: 16441ac_top_builddir=$ac_top_build_prefix 16442 16443case $srcdir in 16444 .) # We are building in place. 16445 ac_srcdir=. 16446 ac_top_srcdir=$ac_top_builddir_sub 16447 ac_abs_top_srcdir=$ac_pwd ;; 16448 [\\/]* | ?:[\\/]* ) # Absolute name. 16449 ac_srcdir=$srcdir$ac_dir_suffix; 16450 ac_top_srcdir=$srcdir 16451 ac_abs_top_srcdir=$srcdir ;; 16452 *) # Relative name. 16453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16454 ac_top_srcdir=$ac_top_build_prefix$srcdir 16455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16456esac 16457ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16458 16459 16460 case $ac_mode in 16461 :F) 16462 # 16463 # CONFIG_FILE 16464 # 16465 16466 case $INSTALL in 16467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16468 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16469 esac 16470 ac_MKDIR_P=$MKDIR_P 16471 case $MKDIR_P in 16472 [\\/$]* | ?:[\\/]* ) ;; 16473 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16474 esac 16475_ACEOF 16476 16477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16478# If the template does not know about datarootdir, expand it. 16479# FIXME: This hack should be removed a few years after 2.60. 16480ac_datarootdir_hack=; ac_datarootdir_seen= 16481 16482ac_sed_dataroot=' 16483/datarootdir/ { 16484 p 16485 q 16486} 16487/@datadir@/p 16488/@docdir@/p 16489/@infodir@/p 16490/@localedir@/p 16491/@mandir@/p 16492' 16493case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16494*datarootdir*) ac_datarootdir_seen=yes;; 16495*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16496 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16497$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16498_ACEOF 16499cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16500 ac_datarootdir_hack=' 16501 s&@datadir@&$datadir&g 16502 s&@docdir@&$docdir&g 16503 s&@infodir@&$infodir&g 16504 s&@localedir@&$localedir&g 16505 s&@mandir@&$mandir&g 16506 s&\\\${datarootdir}&$datarootdir&g' ;; 16507esac 16508_ACEOF 16509 16510# Neutralize VPATH when `$srcdir' = `.'. 16511# Shell code in configure.ac might set extrasub. 16512# FIXME: do we really want to maintain this feature? 16513cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16514ac_sed_extra="$ac_vpsub 16515$extrasub 16516_ACEOF 16517cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16518:t 16519/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16520s|@configure_input@|$ac_sed_conf_input|;t t 16521s&@top_builddir@&$ac_top_builddir_sub&;t t 16522s&@top_build_prefix@&$ac_top_build_prefix&;t t 16523s&@srcdir@&$ac_srcdir&;t t 16524s&@abs_srcdir@&$ac_abs_srcdir&;t t 16525s&@top_srcdir@&$ac_top_srcdir&;t t 16526s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16527s&@builddir@&$ac_builddir&;t t 16528s&@abs_builddir@&$ac_abs_builddir&;t t 16529s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16530s&@INSTALL@&$ac_INSTALL&;t t 16531s&@MKDIR_P@&$ac_MKDIR_P&;t t 16532$ac_datarootdir_hack 16533" 16534eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 16535 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16536$as_echo "$as_me: error: could not create $ac_file" >&2;} 16537 { (exit 1); exit 1; }; } 16538 16539test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16540 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16541 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16542 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16543which seems to be undefined. Please make sure it is defined." >&5 16544$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16545which seems to be undefined. Please make sure it is defined." >&2;} 16546 16547 rm -f "$tmp/stdin" 16548 case $ac_file in 16549 -) cat "$tmp/out" && rm -f "$tmp/out";; 16550 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16551 esac \ 16552 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16553$as_echo "$as_me: error: could not create $ac_file" >&2;} 16554 { (exit 1); exit 1; }; } 16555 ;; 16556 :H) 16557 # 16558 # CONFIG_HEADER 16559 # 16560 if test x"$ac_file" != x-; then 16561 { 16562 $as_echo "/* $configure_input */" \ 16563 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16564 } >"$tmp/config.h" \ 16565 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16566$as_echo "$as_me: error: could not create $ac_file" >&2;} 16567 { (exit 1); exit 1; }; } 16568 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16569 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 16570$as_echo "$as_me: $ac_file is unchanged" >&6;} 16571 else 16572 rm -f "$ac_file" 16573 mv "$tmp/config.h" "$ac_file" \ 16574 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16575$as_echo "$as_me: error: could not create $ac_file" >&2;} 16576 { (exit 1); exit 1; }; } 16577 fi 16578 else 16579 $as_echo "/* $configure_input */" \ 16580 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16581 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 16582$as_echo "$as_me: error: could not create -" >&2;} 16583 { (exit 1); exit 1; }; } 16584 fi 16585# Compute "$ac_file"'s index in $config_headers. 16586_am_arg="$ac_file" 16587_am_stamp_count=1 16588for _am_header in $config_headers :; do 16589 case $_am_header in 16590 $_am_arg | $_am_arg:* ) 16591 break ;; 16592 * ) 16593 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16594 esac 16595done 16596echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16597$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16598 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16599 X"$_am_arg" : 'X\(//\)$' \| \ 16600 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16601$as_echo X"$_am_arg" | 16602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16603 s//\1/ 16604 q 16605 } 16606 /^X\(\/\/\)[^/].*/{ 16607 s//\1/ 16608 q 16609 } 16610 /^X\(\/\/\)$/{ 16611 s//\1/ 16612 q 16613 } 16614 /^X\(\/\).*/{ 16615 s//\1/ 16616 q 16617 } 16618 s/.*/./; q'`/stamp-h$_am_stamp_count 16619 ;; 16620 16621 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 16622$as_echo "$as_me: executing $ac_file commands" >&6;} 16623 ;; 16624 esac 16625 16626 16627 case $ac_file$ac_mode in 16628 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16629 # Autoconf 2.62 quotes --file arguments for eval, but not when files 16630 # are listed without --file. Let's play safe and only enable the eval 16631 # if we detect the quoting. 16632 case $CONFIG_FILES in 16633 *\'*) eval set x "$CONFIG_FILES" ;; 16634 *) set x $CONFIG_FILES ;; 16635 esac 16636 shift 16637 for mf 16638 do 16639 # Strip MF so we end up with the name of the file. 16640 mf=`echo "$mf" | sed -e 's/:.*$//'` 16641 # Check whether this is an Automake generated Makefile or not. 16642 # We used to match only the files named `Makefile.in', but 16643 # some people rename them; so instead we look at the file content. 16644 # Grep'ing the first line is not enough: some people post-process 16645 # each Makefile.in and add a new line on top of each file to say so. 16646 # Grep'ing the whole file is not good either: AIX grep has a line 16647 # limit of 2048, but all sed's we know have understand at least 4000. 16648 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16649 dirpart=`$as_dirname -- "$mf" || 16650$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16651 X"$mf" : 'X\(//\)[^/]' \| \ 16652 X"$mf" : 'X\(//\)$' \| \ 16653 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16654$as_echo X"$mf" | 16655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16656 s//\1/ 16657 q 16658 } 16659 /^X\(\/\/\)[^/].*/{ 16660 s//\1/ 16661 q 16662 } 16663 /^X\(\/\/\)$/{ 16664 s//\1/ 16665 q 16666 } 16667 /^X\(\/\).*/{ 16668 s//\1/ 16669 q 16670 } 16671 s/.*/./; q'` 16672 else 16673 continue 16674 fi 16675 # Extract the definition of DEPDIR, am__include, and am__quote 16676 # from the Makefile without running `make'. 16677 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16678 test -z "$DEPDIR" && continue 16679 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16680 test -z "am__include" && continue 16681 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16682 # When using ansi2knr, U may be empty or an underscore; expand it 16683 U=`sed -n 's/^U = //p' < "$mf"` 16684 # Find all dependency output files, they are included files with 16685 # $(DEPDIR) in their names. We invoke sed twice because it is the 16686 # simplest approach to changing $(DEPDIR) to its actual value in the 16687 # expansion. 16688 for file in `sed -n " 16689 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16690 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 16691 # Make sure the directory exists. 16692 test -f "$dirpart/$file" && continue 16693 fdir=`$as_dirname -- "$file" || 16694$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16695 X"$file" : 'X\(//\)[^/]' \| \ 16696 X"$file" : 'X\(//\)$' \| \ 16697 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16698$as_echo X"$file" | 16699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16700 s//\1/ 16701 q 16702 } 16703 /^X\(\/\/\)[^/].*/{ 16704 s//\1/ 16705 q 16706 } 16707 /^X\(\/\/\)$/{ 16708 s//\1/ 16709 q 16710 } 16711 /^X\(\/\).*/{ 16712 s//\1/ 16713 q 16714 } 16715 s/.*/./; q'` 16716 { as_dir=$dirpart/$fdir 16717 case $as_dir in #( 16718 -*) as_dir=./$as_dir;; 16719 esac 16720 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16721 as_dirs= 16722 while :; do 16723 case $as_dir in #( 16724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16725 *) as_qdir=$as_dir;; 16726 esac 16727 as_dirs="'$as_qdir' $as_dirs" 16728 as_dir=`$as_dirname -- "$as_dir" || 16729$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16730 X"$as_dir" : 'X\(//\)[^/]' \| \ 16731 X"$as_dir" : 'X\(//\)$' \| \ 16732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16733$as_echo X"$as_dir" | 16734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16735 s//\1/ 16736 q 16737 } 16738 /^X\(\/\/\)[^/].*/{ 16739 s//\1/ 16740 q 16741 } 16742 /^X\(\/\/\)$/{ 16743 s//\1/ 16744 q 16745 } 16746 /^X\(\/\).*/{ 16747 s//\1/ 16748 q 16749 } 16750 s/.*/./; q'` 16751 test -d "$as_dir" && break 16752 done 16753 test -z "$as_dirs" || eval "mkdir $as_dirs" 16754 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16755$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 16756 { (exit 1); exit 1; }; }; } 16757 # echo "creating $dirpart/$file" 16758 echo '# dummy' > "$dirpart/$file" 16759 done 16760 done 16761} 16762 ;; 16763 "libtool":C) 16764 16765 # See if we are running on zsh, and set the options which allow our 16766 # commands through without removal of \ escapes. 16767 if test -n "${ZSH_VERSION+set}" ; then 16768 setopt NO_GLOB_SUBST 16769 fi 16770 16771 cfgfile="${ofile}T" 16772 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16773 $RM "$cfgfile" 16774 16775 cat <<_LT_EOF >> "$cfgfile" 16776#! $SHELL 16777 16778# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 16779# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 16780# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16781# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16782# 16783# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16784# 2006, 2007, 2008 Free Software Foundation, Inc. 16785# Written by Gordon Matzigkeit, 1996 16786# 16787# This file is part of GNU Libtool. 16788# 16789# GNU Libtool is free software; you can redistribute it and/or 16790# modify it under the terms of the GNU General Public License as 16791# published by the Free Software Foundation; either version 2 of 16792# the License, or (at your option) any later version. 16793# 16794# As a special exception to the GNU General Public License, 16795# if you distribute this file as part of a program or library that 16796# is built using GNU Libtool, you may include this file under the 16797# same distribution terms that you use for the rest of that program. 16798# 16799# GNU Libtool is distributed in the hope that it will be useful, 16800# but WITHOUT ANY WARRANTY; without even the implied warranty of 16801# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16802# GNU General Public License for more details. 16803# 16804# You should have received a copy of the GNU General Public License 16805# along with GNU Libtool; see the file COPYING. If not, a copy 16806# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 16807# obtained by writing to the Free Software Foundation, Inc., 16808# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16809 16810 16811# The names of the tagged configurations supported by this script. 16812available_tags="" 16813 16814# ### BEGIN LIBTOOL CONFIG 16815 16816# Assembler program. 16817AS=$AS 16818 16819# DLL creation program. 16820DLLTOOL=$DLLTOOL 16821 16822# Object dumper program. 16823OBJDUMP=$OBJDUMP 16824 16825# Which release of libtool.m4 was used? 16826macro_version=$macro_version 16827macro_revision=$macro_revision 16828 16829# Whether or not to build shared libraries. 16830build_libtool_libs=$enable_shared 16831 16832# Whether or not to build static libraries. 16833build_old_libs=$enable_static 16834 16835# What type of objects to build. 16836pic_mode=$pic_mode 16837 16838# Whether or not to optimize for fast installation. 16839fast_install=$enable_fast_install 16840 16841# The host system. 16842host_alias=$host_alias 16843host=$host 16844host_os=$host_os 16845 16846# The build system. 16847build_alias=$build_alias 16848build=$build 16849build_os=$build_os 16850 16851# A sed program that does not truncate output. 16852SED=$lt_SED 16853 16854# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16855Xsed="\$SED -e 1s/^X//" 16856 16857# A grep program that handles long lines. 16858GREP=$lt_GREP 16859 16860# An ERE matcher. 16861EGREP=$lt_EGREP 16862 16863# A literal string matcher. 16864FGREP=$lt_FGREP 16865 16866# A BSD- or MS-compatible name lister. 16867NM=$lt_NM 16868 16869# Whether we need soft or hard links. 16870LN_S=$lt_LN_S 16871 16872# What is the maximum length of a command? 16873max_cmd_len=$max_cmd_len 16874 16875# Object file suffix (normally "o"). 16876objext=$ac_objext 16877 16878# Executable file suffix (normally ""). 16879exeext=$exeext 16880 16881# whether the shell understands "unset". 16882lt_unset=$lt_unset 16883 16884# turn spaces into newlines. 16885SP2NL=$lt_lt_SP2NL 16886 16887# turn newlines into spaces. 16888NL2SP=$lt_lt_NL2SP 16889 16890# How to create reloadable object files. 16891reload_flag=$lt_reload_flag 16892reload_cmds=$lt_reload_cmds 16893 16894# Method to check whether dependent libraries are shared objects. 16895deplibs_check_method=$lt_deplibs_check_method 16896 16897# Command to use when deplibs_check_method == "file_magic". 16898file_magic_cmd=$lt_file_magic_cmd 16899 16900# The archiver. 16901AR=$lt_AR 16902AR_FLAGS=$lt_AR_FLAGS 16903 16904# A symbol stripping program. 16905STRIP=$lt_STRIP 16906 16907# Commands used to install an old-style archive. 16908RANLIB=$lt_RANLIB 16909old_postinstall_cmds=$lt_old_postinstall_cmds 16910old_postuninstall_cmds=$lt_old_postuninstall_cmds 16911 16912# A C compiler. 16913LTCC=$lt_CC 16914 16915# LTCC compiler flags. 16916LTCFLAGS=$lt_CFLAGS 16917 16918# Take the output of nm and produce a listing of raw symbols and C names. 16919global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16920 16921# Transform the output of nm in a proper C declaration. 16922global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16923 16924# Transform the output of nm in a C name address pair. 16925global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16926 16927# Transform the output of nm in a C name address pair when lib prefix is needed. 16928global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16929 16930# The name of the directory that contains temporary libtool files. 16931objdir=$objdir 16932 16933# Shell to use when invoking shell scripts. 16934SHELL=$lt_SHELL 16935 16936# An echo program that does not interpret backslashes. 16937ECHO=$lt_ECHO 16938 16939# Used to examine libraries when file_magic_cmd begins with "file". 16940MAGIC_CMD=$MAGIC_CMD 16941 16942# Must we lock files when doing compilation? 16943need_locks=$lt_need_locks 16944 16945# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16946DSYMUTIL=$lt_DSYMUTIL 16947 16948# Tool to change global to local symbols on Mac OS X. 16949NMEDIT=$lt_NMEDIT 16950 16951# Tool to manipulate fat objects and archives on Mac OS X. 16952LIPO=$lt_LIPO 16953 16954# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16955OTOOL=$lt_OTOOL 16956 16957# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16958OTOOL64=$lt_OTOOL64 16959 16960# Old archive suffix (normally "a"). 16961libext=$libext 16962 16963# Shared library suffix (normally ".so"). 16964shrext_cmds=$lt_shrext_cmds 16965 16966# The commands to extract the exported symbol list from a shared archive. 16967extract_expsyms_cmds=$lt_extract_expsyms_cmds 16968 16969# Variables whose values should be saved in libtool wrapper scripts and 16970# restored at link time. 16971variables_saved_for_relink=$lt_variables_saved_for_relink 16972 16973# Do we need the "lib" prefix for modules? 16974need_lib_prefix=$need_lib_prefix 16975 16976# Do we need a version for libraries? 16977need_version=$need_version 16978 16979# Library versioning type. 16980version_type=$version_type 16981 16982# Shared library runtime path variable. 16983runpath_var=$runpath_var 16984 16985# Shared library path variable. 16986shlibpath_var=$shlibpath_var 16987 16988# Is shlibpath searched before the hard-coded library search path? 16989shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16990 16991# Format of library name prefix. 16992libname_spec=$lt_libname_spec 16993 16994# List of archive names. First name is the real one, the rest are links. 16995# The last name is the one that the linker finds with -lNAME 16996library_names_spec=$lt_library_names_spec 16997 16998# The coded name of the library, if different from the real name. 16999soname_spec=$lt_soname_spec 17000 17001# Command to use after installation of a shared archive. 17002postinstall_cmds=$lt_postinstall_cmds 17003 17004# Command to use after uninstallation of a shared archive. 17005postuninstall_cmds=$lt_postuninstall_cmds 17006 17007# Commands used to finish a libtool library installation in a directory. 17008finish_cmds=$lt_finish_cmds 17009 17010# As "finish_cmds", except a single script fragment to be evaled but 17011# not shown. 17012finish_eval=$lt_finish_eval 17013 17014# Whether we should hardcode library paths into libraries. 17015hardcode_into_libs=$hardcode_into_libs 17016 17017# Compile-time system search path for libraries. 17018sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 17019 17020# Run-time system search path for libraries. 17021sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 17022 17023# Whether dlopen is supported. 17024dlopen_support=$enable_dlopen 17025 17026# Whether dlopen of programs is supported. 17027dlopen_self=$enable_dlopen_self 17028 17029# Whether dlopen of statically linked programs is supported. 17030dlopen_self_static=$enable_dlopen_self_static 17031 17032# Commands to strip libraries. 17033old_striplib=$lt_old_striplib 17034striplib=$lt_striplib 17035 17036 17037# The linker used to build libraries. 17038LD=$lt_LD 17039 17040# Commands used to build an old-style archive. 17041old_archive_cmds=$lt_old_archive_cmds 17042 17043# A language specific compiler. 17044CC=$lt_compiler 17045 17046# Is the compiler the GNU compiler? 17047with_gcc=$GCC 17048 17049# Compiler flag to turn off builtin functions. 17050no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 17051 17052# How to pass a linker flag through the compiler. 17053wl=$lt_lt_prog_compiler_wl 17054 17055# Additional compiler flags for building library objects. 17056pic_flag=$lt_lt_prog_compiler_pic 17057 17058# Compiler flag to prevent dynamic linking. 17059link_static_flag=$lt_lt_prog_compiler_static 17060 17061# Does compiler simultaneously support -c and -o options? 17062compiler_c_o=$lt_lt_cv_prog_compiler_c_o 17063 17064# Whether or not to add -lc for building shared libraries. 17065build_libtool_need_lc=$archive_cmds_need_lc 17066 17067# Whether or not to disallow shared libs when runtime libs are static. 17068allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 17069 17070# Compiler flag to allow reflexive dlopens. 17071export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 17072 17073# Compiler flag to generate shared objects directly from archives. 17074whole_archive_flag_spec=$lt_whole_archive_flag_spec 17075 17076# Whether the compiler copes with passing no objects directly. 17077compiler_needs_object=$lt_compiler_needs_object 17078 17079# Create an old-style archive from a shared archive. 17080old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 17081 17082# Create a temporary old-style archive to link instead of a shared archive. 17083old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 17084 17085# Commands used to build a shared archive. 17086archive_cmds=$lt_archive_cmds 17087archive_expsym_cmds=$lt_archive_expsym_cmds 17088 17089# Commands used to build a loadable module if different from building 17090# a shared archive. 17091module_cmds=$lt_module_cmds 17092module_expsym_cmds=$lt_module_expsym_cmds 17093 17094# Whether we are building with GNU ld or not. 17095with_gnu_ld=$lt_with_gnu_ld 17096 17097# Flag that allows shared libraries with undefined symbols to be built. 17098allow_undefined_flag=$lt_allow_undefined_flag 17099 17100# Flag that enforces no undefined symbols. 17101no_undefined_flag=$lt_no_undefined_flag 17102 17103# Flag to hardcode \$libdir into a binary during linking. 17104# This must work even if \$libdir does not exist 17105hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 17106 17107# If ld is used when linking, flag to hardcode \$libdir into a binary 17108# during linking. This must work even if \$libdir does not exist. 17109hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 17110 17111# Whether we need a single "-rpath" flag with a separated argument. 17112hardcode_libdir_separator=$lt_hardcode_libdir_separator 17113 17114# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17115# DIR into the resulting binary. 17116hardcode_direct=$hardcode_direct 17117 17118# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 17119# DIR into the resulting binary and the resulting library dependency is 17120# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 17121# library is relocated. 17122hardcode_direct_absolute=$hardcode_direct_absolute 17123 17124# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 17125# into the resulting binary. 17126hardcode_minus_L=$hardcode_minus_L 17127 17128# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 17129# into the resulting binary. 17130hardcode_shlibpath_var=$hardcode_shlibpath_var 17131 17132# Set to "yes" if building a shared library automatically hardcodes DIR 17133# into the library and all subsequent libraries and executables linked 17134# against it. 17135hardcode_automatic=$hardcode_automatic 17136 17137# Set to yes if linker adds runtime paths of dependent libraries 17138# to runtime path list. 17139inherit_rpath=$inherit_rpath 17140 17141# Whether libtool must link a program against all its dependency libraries. 17142link_all_deplibs=$link_all_deplibs 17143 17144# Fix the shell variable \$srcfile for the compiler. 17145fix_srcfile_path=$lt_fix_srcfile_path 17146 17147# Set to "yes" if exported symbols are required. 17148always_export_symbols=$always_export_symbols 17149 17150# The commands to list exported symbols. 17151export_symbols_cmds=$lt_export_symbols_cmds 17152 17153# Symbols that should not be listed in the preloaded symbols. 17154exclude_expsyms=$lt_exclude_expsyms 17155 17156# Symbols that must always be exported. 17157include_expsyms=$lt_include_expsyms 17158 17159# Commands necessary for linking programs (against libraries) with templates. 17160prelink_cmds=$lt_prelink_cmds 17161 17162# Specify filename containing input files. 17163file_list_spec=$lt_file_list_spec 17164 17165# How to hardcode a shared library path into an executable. 17166hardcode_action=$hardcode_action 17167 17168# ### END LIBTOOL CONFIG 17169 17170_LT_EOF 17171 17172 case $host_os in 17173 aix3*) 17174 cat <<\_LT_EOF >> "$cfgfile" 17175# AIX sometimes has problems with the GCC collect2 program. For some 17176# reason, if we set the COLLECT_NAMES environment variable, the problems 17177# vanish in a puff of smoke. 17178if test "X${COLLECT_NAMES+set}" != Xset; then 17179 COLLECT_NAMES= 17180 export COLLECT_NAMES 17181fi 17182_LT_EOF 17183 ;; 17184 esac 17185 17186 17187ltmain="$ac_aux_dir/ltmain.sh" 17188 17189 17190 # We use sed instead of cat because bash on DJGPP gets confused if 17191 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17192 # text mode, it properly converts lines to CR/LF. This bash problem 17193 # is reportedly fixed, but why not run on old versions too? 17194 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 17195 || (rm -f "$cfgfile"; exit 1) 17196 17197 case $xsi_shell in 17198 yes) 17199 cat << \_LT_EOF >> "$cfgfile" 17200 17201# func_dirname file append nondir_replacement 17202# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17203# otherwise set result to NONDIR_REPLACEMENT. 17204func_dirname () 17205{ 17206 case ${1} in 17207 */*) func_dirname_result="${1%/*}${2}" ;; 17208 * ) func_dirname_result="${3}" ;; 17209 esac 17210} 17211 17212# func_basename file 17213func_basename () 17214{ 17215 func_basename_result="${1##*/}" 17216} 17217 17218# func_dirname_and_basename file append nondir_replacement 17219# perform func_basename and func_dirname in a single function 17220# call: 17221# dirname: Compute the dirname of FILE. If nonempty, 17222# add APPEND to the result, otherwise set result 17223# to NONDIR_REPLACEMENT. 17224# value returned in "$func_dirname_result" 17225# basename: Compute filename of FILE. 17226# value retuned in "$func_basename_result" 17227# Implementation must be kept synchronized with func_dirname 17228# and func_basename. For efficiency, we do not delegate to 17229# those functions but instead duplicate the functionality here. 17230func_dirname_and_basename () 17231{ 17232 case ${1} in 17233 */*) func_dirname_result="${1%/*}${2}" ;; 17234 * ) func_dirname_result="${3}" ;; 17235 esac 17236 func_basename_result="${1##*/}" 17237} 17238 17239# func_stripname prefix suffix name 17240# strip PREFIX and SUFFIX off of NAME. 17241# PREFIX and SUFFIX must not contain globbing or regex special 17242# characters, hashes, percent signs, but SUFFIX may contain a leading 17243# dot (in which case that matches only a dot). 17244func_stripname () 17245{ 17246 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 17247 # positional parameters, so assign one to ordinary parameter first. 17248 func_stripname_result=${3} 17249 func_stripname_result=${func_stripname_result#"${1}"} 17250 func_stripname_result=${func_stripname_result%"${2}"} 17251} 17252 17253# func_opt_split 17254func_opt_split () 17255{ 17256 func_opt_split_opt=${1%%=*} 17257 func_opt_split_arg=${1#*=} 17258} 17259 17260# func_lo2o object 17261func_lo2o () 17262{ 17263 case ${1} in 17264 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 17265 *) func_lo2o_result=${1} ;; 17266 esac 17267} 17268 17269# func_xform libobj-or-source 17270func_xform () 17271{ 17272 func_xform_result=${1%.*}.lo 17273} 17274 17275# func_arith arithmetic-term... 17276func_arith () 17277{ 17278 func_arith_result=$(( $* )) 17279} 17280 17281# func_len string 17282# STRING may not start with a hyphen. 17283func_len () 17284{ 17285 func_len_result=${#1} 17286} 17287 17288_LT_EOF 17289 ;; 17290 *) # Bourne compatible functions. 17291 cat << \_LT_EOF >> "$cfgfile" 17292 17293# func_dirname file append nondir_replacement 17294# Compute the dirname of FILE. If nonempty, add APPEND to the result, 17295# otherwise set result to NONDIR_REPLACEMENT. 17296func_dirname () 17297{ 17298 # Extract subdirectory from the argument. 17299 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 17300 if test "X$func_dirname_result" = "X${1}"; then 17301 func_dirname_result="${3}" 17302 else 17303 func_dirname_result="$func_dirname_result${2}" 17304 fi 17305} 17306 17307# func_basename file 17308func_basename () 17309{ 17310 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 17311} 17312 17313 17314# func_stripname prefix suffix name 17315# strip PREFIX and SUFFIX off of NAME. 17316# PREFIX and SUFFIX must not contain globbing or regex special 17317# characters, hashes, percent signs, but SUFFIX may contain a leading 17318# dot (in which case that matches only a dot). 17319# func_strip_suffix prefix name 17320func_stripname () 17321{ 17322 case ${2} in 17323 .*) func_stripname_result=`$ECHO "X${3}" \ 17324 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 17325 *) func_stripname_result=`$ECHO "X${3}" \ 17326 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 17327 esac 17328} 17329 17330# sed scripts: 17331my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 17332my_sed_long_arg='1s/^-[^=]*=//' 17333 17334# func_opt_split 17335func_opt_split () 17336{ 17337 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 17338 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 17339} 17340 17341# func_lo2o object 17342func_lo2o () 17343{ 17344 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 17345} 17346 17347# func_xform libobj-or-source 17348func_xform () 17349{ 17350 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 17351} 17352 17353# func_arith arithmetic-term... 17354func_arith () 17355{ 17356 func_arith_result=`expr "$@"` 17357} 17358 17359# func_len string 17360# STRING may not start with a hyphen. 17361func_len () 17362{ 17363 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 17364} 17365 17366_LT_EOF 17367esac 17368 17369case $lt_shell_append in 17370 yes) 17371 cat << \_LT_EOF >> "$cfgfile" 17372 17373# func_append var value 17374# Append VALUE to the end of shell variable VAR. 17375func_append () 17376{ 17377 eval "$1+=\$2" 17378} 17379_LT_EOF 17380 ;; 17381 *) 17382 cat << \_LT_EOF >> "$cfgfile" 17383 17384# func_append var value 17385# Append VALUE to the end of shell variable VAR. 17386func_append () 17387{ 17388 eval "$1=\$$1\$2" 17389} 17390 17391_LT_EOF 17392 ;; 17393 esac 17394 17395 17396 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 17397 || (rm -f "$cfgfile"; exit 1) 17398 17399 mv -f "$cfgfile" "$ofile" || 17400 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17401 chmod +x "$ofile" 17402 17403 ;; 17404 17405 esac 17406done # for ac_tag 17407 17408 17409{ (exit 0); exit 0; } 17410_ACEOF 17411chmod +x $CONFIG_STATUS 17412ac_clean_files=$ac_clean_files_save 17413 17414test $ac_write_fail = 0 || 17415 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 17416$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 17417 { (exit 1); exit 1; }; } 17418 17419 17420# configure is writing to config.log, and then calls config.status. 17421# config.status does its own redirection, appending to config.log. 17422# Unfortunately, on DOS this fails, as config.log is still kept open 17423# by configure, so config.status won't be able to write to it; its 17424# output is simply discarded. So we exec the FD to /dev/null, 17425# effectively closing config.log, so it can be properly (re)opened and 17426# appended to by config.status. When coming back to configure, we 17427# need to make the FD available again. 17428if test "$no_create" != yes; then 17429 ac_cs_success=: 17430 ac_config_status_args= 17431 test "$silent" = yes && 17432 ac_config_status_args="$ac_config_status_args --quiet" 17433 exec 5>/dev/null 17434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17435 exec 5>>config.log 17436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17437 # would make configure fail if this is the last instruction. 17438 $ac_cs_success || { (exit 1); exit 1; } 17439fi 17440if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17441 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17442$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17443fi 17444 17445