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="src/enchant.h" 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 791WITH_ZEMBEREK_FALSE 792WITH_ZEMBEREK_TRUE 793ZEMBEREK_LIBS 794ZEMBEREK_CFLAGS 795WITH_HSPELL_FALSE 796WITH_HSPELL_TRUE 797HSPELL_LIBS 798HSPELL_CFLAGS 799WITH_USPELL_FALSE 800WITH_USPELL_TRUE 801USPELL_LIBS 802USPELL_CFLAGS 803WITH_VOIKKO_FALSE 804WITH_VOIKKO_TRUE 805VOIKKO_LIBS 806VOIKKO_INC 807WITH_ASPELL_FALSE 808WITH_ASPELL_TRUE 809ASPELL_CFLAGS 810ASPELL_LIBS 811ASPELL_INC 812HAVE_ASPELL 813WITH_SYSTEM_MYSPELL_FALSE 814WITH_SYSTEM_MYSPELL_TRUE 815MYSPELL_LIBS 816MYSPELL_CFLAGS 817WITH_MYSPELL_FALSE 818WITH_MYSPELL_TRUE 819ISPELL_CFLAGS 820WITH_ISPELL_FALSE 821WITH_ISPELL_TRUE 822WITH_BINRELOC_FALSE 823WITH_BINRELOC_TRUE 824SOCKET_LIBS 825ENCHANT_WIN32_RESOURCE 826OS_WIN32_FALSE 827OS_WIN32_TRUE 828CXX_WARN_CFLAGS 829CC_WARN_CFLAGS 830ENCHANT_LIBS 831ENCHANT_CFLAGS 832PKG_CONFIG 833WITH_CXX_FALSE 834WITH_CXX_TRUE 835CXXCPP 836am__fastdepCXX_FALSE 837am__fastdepCXX_TRUE 838CXXDEPMODE 839ac_ct_CXX 840CXXFLAGS 841CXX 842OTOOL64 843OTOOL 844LIPO 845NMEDIT 846DSYMUTIL 847lt_ECHO 848RANLIB 849AR 850NM 851ac_ct_DUMPBIN 852DUMPBIN 853LD 854FGREP 855SED 856LIBTOOL 857OBJDUMP 858DLLTOOL 859AS 860EGREP 861GREP 862LN_S 863CPP 864am__fastdepCC_FALSE 865am__fastdepCC_TRUE 866CCDEPMODE 867AMDEPBACKSLASH 868AMDEP_FALSE 869AMDEP_TRUE 870am__quote 871am__include 872DEPDIR 873OBJEXT 874EXEEXT 875ac_ct_CC 876CPPFLAGS 877LDFLAGS 878CFLAGS 879CC 880MAINT 881MAINTAINER_MODE_FALSE 882MAINTAINER_MODE_TRUE 883am__untar 884am__tar 885AMTAR 886am__leading_dot 887SET_MAKE 888AWK 889mkdir_p 890MKDIR_P 891INSTALL_STRIP_PROGRAM 892STRIP 893install_sh 894MAKEINFO 895AUTOHEADER 896AUTOMAKE 897AUTOCONF 898ACLOCAL 899VERSION 900PACKAGE 901CYGPATH_W 902am__isrc 903INSTALL_DATA 904INSTALL_SCRIPT 905INSTALL_PROGRAM 906ENCHANT_MICRO_VERSION 907ENCHANT_MINOR_VERSION 908ENCHANT_MAJOR_VERSION 909VERSION_INFO 910host_os 911host_vendor 912host_cpu 913host 914build_os 915build_vendor 916build_cpu 917build 918target_alias 919host_alias 920build_alias 921LIBS 922ECHO_T 923ECHO_N 924ECHO_C 925DEFS 926mandir 927localedir 928libdir 929psdir 930pdfdir 931dvidir 932htmldir 933infodir 934docdir 935oldincludedir 936includedir 937localstatedir 938sharedstatedir 939sysconfdir 940datadir 941datarootdir 942libexecdir 943sbindir 944bindir 945program_transform_name 946prefix 947exec_prefix 948PACKAGE_BUGREPORT 949PACKAGE_STRING 950PACKAGE_VERSION 951PACKAGE_TARNAME 952PACKAGE_NAME 953PATH_SEPARATOR 954SHELL' 955ac_subst_files='' 956ac_user_opts=' 957enable_option_checking 958enable_maintainer_mode 959enable_dependency_tracking 960enable_shared 961enable_static 962with_pic 963enable_fast_install 964with_gnu_ld 965enable_libtool_lock 966enable_ispell 967with_ispell_dir 968enable_myspell 969with_myspell_dir 970with_system_myspell 971enable_aspell 972with_aspell_prefix 973enable_voikko 974with_voikko_prefix 975enable_uspell 976with_uspell_dir 977enable_hspell 978with_hspell_prefix 979enable_zemberek 980' 981 ac_precious_vars='build_alias 982host_alias 983target_alias 984CC 985CFLAGS 986LDFLAGS 987LIBS 988CPPFLAGS 989CPP 990CXX 991CXXFLAGS 992CCC 993CXXCPP 994PKG_CONFIG 995ENCHANT_CFLAGS 996ENCHANT_LIBS 997MYSPELL_CFLAGS 998MYSPELL_LIBS 999USPELL_CFLAGS 1000USPELL_LIBS' 1001 1002 1003# Initialize some variables set by options. 1004ac_init_help= 1005ac_init_version=false 1006ac_unrecognized_opts= 1007ac_unrecognized_sep= 1008# The variables have the same names as the options, with 1009# dashes changed to underlines. 1010cache_file=/dev/null 1011exec_prefix=NONE 1012no_create= 1013no_recursion= 1014prefix=NONE 1015program_prefix=NONE 1016program_suffix=NONE 1017program_transform_name=s,x,x, 1018silent= 1019site= 1020srcdir= 1021verbose= 1022x_includes=NONE 1023x_libraries=NONE 1024 1025# Installation directory options. 1026# These are left unexpanded so users can "make install exec_prefix=/foo" 1027# and all the variables that are supposed to be based on exec_prefix 1028# by default will actually change. 1029# Use braces instead of parens because sh, perl, etc. also accept them. 1030# (The list follows the same order as the GNU Coding Standards.) 1031bindir='${exec_prefix}/bin' 1032sbindir='${exec_prefix}/sbin' 1033libexecdir='${exec_prefix}/libexec' 1034datarootdir='${prefix}/share' 1035datadir='${datarootdir}' 1036sysconfdir='${prefix}/etc' 1037sharedstatedir='${prefix}/com' 1038localstatedir='${prefix}/var' 1039includedir='${prefix}/include' 1040oldincludedir='/usr/include' 1041docdir='${datarootdir}/doc/${PACKAGE}' 1042infodir='${datarootdir}/info' 1043htmldir='${docdir}' 1044dvidir='${docdir}' 1045pdfdir='${docdir}' 1046psdir='${docdir}' 1047libdir='${exec_prefix}/lib' 1048localedir='${datarootdir}/locale' 1049mandir='${datarootdir}/man' 1050 1051ac_prev= 1052ac_dashdash= 1053for ac_option 1054do 1055 # If the previous option needs an argument, assign it. 1056 if test -n "$ac_prev"; then 1057 eval $ac_prev=\$ac_option 1058 ac_prev= 1059 continue 1060 fi 1061 1062 case $ac_option in 1063 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1064 *) ac_optarg=yes ;; 1065 esac 1066 1067 # Accept the important Cygnus configure options, so we can diagnose typos. 1068 1069 case $ac_dashdash$ac_option in 1070 --) 1071 ac_dashdash=yes ;; 1072 1073 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1074 ac_prev=bindir ;; 1075 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1076 bindir=$ac_optarg ;; 1077 1078 -build | --build | --buil | --bui | --bu) 1079 ac_prev=build_alias ;; 1080 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1081 build_alias=$ac_optarg ;; 1082 1083 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1084 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1085 ac_prev=cache_file ;; 1086 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1087 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1088 cache_file=$ac_optarg ;; 1089 1090 --config-cache | -C) 1091 cache_file=config.cache ;; 1092 1093 -datadir | --datadir | --datadi | --datad) 1094 ac_prev=datadir ;; 1095 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1096 datadir=$ac_optarg ;; 1097 1098 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1099 | --dataroo | --dataro | --datar) 1100 ac_prev=datarootdir ;; 1101 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1102 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1103 datarootdir=$ac_optarg ;; 1104 1105 -disable-* | --disable-*) 1106 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1107 # Reject names that are not valid shell variable names. 1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1109 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1110 { (exit 1); exit 1; }; } 1111 ac_useropt_orig=$ac_useropt 1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1113 case $ac_user_opts in 1114 *" 1115"enable_$ac_useropt" 1116"*) ;; 1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1118 ac_unrecognized_sep=', ';; 1119 esac 1120 eval enable_$ac_useropt=no ;; 1121 1122 -docdir | --docdir | --docdi | --doc | --do) 1123 ac_prev=docdir ;; 1124 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1125 docdir=$ac_optarg ;; 1126 1127 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1128 ac_prev=dvidir ;; 1129 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1130 dvidir=$ac_optarg ;; 1131 1132 -enable-* | --enable-*) 1133 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1134 # Reject names that are not valid shell variable names. 1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1136 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1137 { (exit 1); exit 1; }; } 1138 ac_useropt_orig=$ac_useropt 1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1140 case $ac_user_opts in 1141 *" 1142"enable_$ac_useropt" 1143"*) ;; 1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1145 ac_unrecognized_sep=', ';; 1146 esac 1147 eval enable_$ac_useropt=\$ac_optarg ;; 1148 1149 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1150 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1151 | --exec | --exe | --ex) 1152 ac_prev=exec_prefix ;; 1153 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1154 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1155 | --exec=* | --exe=* | --ex=*) 1156 exec_prefix=$ac_optarg ;; 1157 1158 -gas | --gas | --ga | --g) 1159 # Obsolete; use --with-gas. 1160 with_gas=yes ;; 1161 1162 -help | --help | --hel | --he | -h) 1163 ac_init_help=long ;; 1164 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1165 ac_init_help=recursive ;; 1166 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1167 ac_init_help=short ;; 1168 1169 -host | --host | --hos | --ho) 1170 ac_prev=host_alias ;; 1171 -host=* | --host=* | --hos=* | --ho=*) 1172 host_alias=$ac_optarg ;; 1173 1174 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1175 ac_prev=htmldir ;; 1176 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1177 | --ht=*) 1178 htmldir=$ac_optarg ;; 1179 1180 -includedir | --includedir | --includedi | --included | --include \ 1181 | --includ | --inclu | --incl | --inc) 1182 ac_prev=includedir ;; 1183 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1184 | --includ=* | --inclu=* | --incl=* | --inc=*) 1185 includedir=$ac_optarg ;; 1186 1187 -infodir | --infodir | --infodi | --infod | --info | --inf) 1188 ac_prev=infodir ;; 1189 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1190 infodir=$ac_optarg ;; 1191 1192 -libdir | --libdir | --libdi | --libd) 1193 ac_prev=libdir ;; 1194 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1195 libdir=$ac_optarg ;; 1196 1197 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1198 | --libexe | --libex | --libe) 1199 ac_prev=libexecdir ;; 1200 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1201 | --libexe=* | --libex=* | --libe=*) 1202 libexecdir=$ac_optarg ;; 1203 1204 -localedir | --localedir | --localedi | --localed | --locale) 1205 ac_prev=localedir ;; 1206 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1207 localedir=$ac_optarg ;; 1208 1209 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1210 | --localstate | --localstat | --localsta | --localst | --locals) 1211 ac_prev=localstatedir ;; 1212 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1213 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1214 localstatedir=$ac_optarg ;; 1215 1216 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1217 ac_prev=mandir ;; 1218 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1219 mandir=$ac_optarg ;; 1220 1221 -nfp | --nfp | --nf) 1222 # Obsolete; use --without-fp. 1223 with_fp=no ;; 1224 1225 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1226 | --no-cr | --no-c | -n) 1227 no_create=yes ;; 1228 1229 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1230 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1231 no_recursion=yes ;; 1232 1233 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1234 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1235 | --oldin | --oldi | --old | --ol | --o) 1236 ac_prev=oldincludedir ;; 1237 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1238 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1239 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1240 oldincludedir=$ac_optarg ;; 1241 1242 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1243 ac_prev=prefix ;; 1244 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1245 prefix=$ac_optarg ;; 1246 1247 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1248 | --program-pre | --program-pr | --program-p) 1249 ac_prev=program_prefix ;; 1250 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1251 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1252 program_prefix=$ac_optarg ;; 1253 1254 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1255 | --program-suf | --program-su | --program-s) 1256 ac_prev=program_suffix ;; 1257 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1258 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1259 program_suffix=$ac_optarg ;; 1260 1261 -program-transform-name | --program-transform-name \ 1262 | --program-transform-nam | --program-transform-na \ 1263 | --program-transform-n | --program-transform- \ 1264 | --program-transform | --program-transfor \ 1265 | --program-transfo | --program-transf \ 1266 | --program-trans | --program-tran \ 1267 | --progr-tra | --program-tr | --program-t) 1268 ac_prev=program_transform_name ;; 1269 -program-transform-name=* | --program-transform-name=* \ 1270 | --program-transform-nam=* | --program-transform-na=* \ 1271 | --program-transform-n=* | --program-transform-=* \ 1272 | --program-transform=* | --program-transfor=* \ 1273 | --program-transfo=* | --program-transf=* \ 1274 | --program-trans=* | --program-tran=* \ 1275 | --progr-tra=* | --program-tr=* | --program-t=*) 1276 program_transform_name=$ac_optarg ;; 1277 1278 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1279 ac_prev=pdfdir ;; 1280 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1281 pdfdir=$ac_optarg ;; 1282 1283 -psdir | --psdir | --psdi | --psd | --ps) 1284 ac_prev=psdir ;; 1285 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1286 psdir=$ac_optarg ;; 1287 1288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1289 | -silent | --silent | --silen | --sile | --sil) 1290 silent=yes ;; 1291 1292 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1293 ac_prev=sbindir ;; 1294 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1295 | --sbi=* | --sb=*) 1296 sbindir=$ac_optarg ;; 1297 1298 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1299 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1300 | --sharedst | --shareds | --shared | --share | --shar \ 1301 | --sha | --sh) 1302 ac_prev=sharedstatedir ;; 1303 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1304 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1305 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1306 | --sha=* | --sh=*) 1307 sharedstatedir=$ac_optarg ;; 1308 1309 -site | --site | --sit) 1310 ac_prev=site ;; 1311 -site=* | --site=* | --sit=*) 1312 site=$ac_optarg ;; 1313 1314 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1315 ac_prev=srcdir ;; 1316 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1317 srcdir=$ac_optarg ;; 1318 1319 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1320 | --syscon | --sysco | --sysc | --sys | --sy) 1321 ac_prev=sysconfdir ;; 1322 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1323 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1324 sysconfdir=$ac_optarg ;; 1325 1326 -target | --target | --targe | --targ | --tar | --ta | --t) 1327 ac_prev=target_alias ;; 1328 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1329 target_alias=$ac_optarg ;; 1330 1331 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1332 verbose=yes ;; 1333 1334 -version | --version | --versio | --versi | --vers | -V) 1335 ac_init_version=: ;; 1336 1337 -with-* | --with-*) 1338 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1339 # Reject names that are not valid shell variable names. 1340 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1341 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1342 { (exit 1); exit 1; }; } 1343 ac_useropt_orig=$ac_useropt 1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1345 case $ac_user_opts in 1346 *" 1347"with_$ac_useropt" 1348"*) ;; 1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1350 ac_unrecognized_sep=', ';; 1351 esac 1352 eval with_$ac_useropt=\$ac_optarg ;; 1353 1354 -without-* | --without-*) 1355 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1356 # Reject names that are not valid shell variable names. 1357 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1358 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1359 { (exit 1); exit 1; }; } 1360 ac_useropt_orig=$ac_useropt 1361 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1362 case $ac_user_opts in 1363 *" 1364"with_$ac_useropt" 1365"*) ;; 1366 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1367 ac_unrecognized_sep=', ';; 1368 esac 1369 eval with_$ac_useropt=no ;; 1370 1371 --x) 1372 # Obsolete; use --with-x. 1373 with_x=yes ;; 1374 1375 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1376 | --x-incl | --x-inc | --x-in | --x-i) 1377 ac_prev=x_includes ;; 1378 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1379 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1380 x_includes=$ac_optarg ;; 1381 1382 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1383 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1384 ac_prev=x_libraries ;; 1385 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1386 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1387 x_libraries=$ac_optarg ;; 1388 1389 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1390Try \`$0 --help' for more information." >&2 1391 { (exit 1); exit 1; }; } 1392 ;; 1393 1394 *=*) 1395 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1396 # Reject names that are not valid shell variable names. 1397 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1398 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1399 { (exit 1); exit 1; }; } 1400 eval $ac_envvar=\$ac_optarg 1401 export $ac_envvar ;; 1402 1403 *) 1404 # FIXME: should be removed in autoconf 3.0. 1405 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1406 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1407 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1408 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1409 ;; 1410 1411 esac 1412done 1413 1414if test -n "$ac_prev"; then 1415 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1416 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1417 { (exit 1); exit 1; }; } 1418fi 1419 1420if test -n "$ac_unrecognized_opts"; then 1421 case $enable_option_checking in 1422 no) ;; 1423 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1424 { (exit 1); exit 1; }; } ;; 1425 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1426 esac 1427fi 1428 1429# Check all directory arguments for consistency. 1430for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1431 datadir sysconfdir sharedstatedir localstatedir includedir \ 1432 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1433 libdir localedir mandir 1434do 1435 eval ac_val=\$$ac_var 1436 # Remove trailing slashes. 1437 case $ac_val in 1438 */ ) 1439 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1440 eval $ac_var=\$ac_val;; 1441 esac 1442 # Be sure to have absolute directory names. 1443 case $ac_val in 1444 [\\/$]* | ?:[\\/]* ) continue;; 1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1446 esac 1447 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1448 { (exit 1); exit 1; }; } 1449done 1450 1451# There might be people who depend on the old broken behavior: `$host' 1452# used to hold the argument of --host etc. 1453# FIXME: To remove some day. 1454build=$build_alias 1455host=$host_alias 1456target=$target_alias 1457 1458# FIXME: To remove some day. 1459if test "x$host_alias" != x; then 1460 if test "x$build_alias" = x; then 1461 cross_compiling=maybe 1462 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1463 If a cross compiler is detected then cross compile mode will be used." >&2 1464 elif test "x$build_alias" != "x$host_alias"; then 1465 cross_compiling=yes 1466 fi 1467fi 1468 1469ac_tool_prefix= 1470test -n "$host_alias" && ac_tool_prefix=$host_alias- 1471 1472test "$silent" = yes && exec 6>/dev/null 1473 1474 1475ac_pwd=`pwd` && test -n "$ac_pwd" && 1476ac_ls_di=`ls -di .` && 1477ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1478 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1479 { (exit 1); exit 1; }; } 1480test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1481 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1482 { (exit 1); exit 1; }; } 1483 1484 1485# Find the source files, if location was not specified. 1486if test -z "$srcdir"; then 1487 ac_srcdir_defaulted=yes 1488 # Try the directory containing this script, then the parent directory. 1489 ac_confdir=`$as_dirname -- "$as_myself" || 1490$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1491 X"$as_myself" : 'X\(//\)[^/]' \| \ 1492 X"$as_myself" : 'X\(//\)$' \| \ 1493 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1494$as_echo X"$as_myself" | 1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1496 s//\1/ 1497 q 1498 } 1499 /^X\(\/\/\)[^/].*/{ 1500 s//\1/ 1501 q 1502 } 1503 /^X\(\/\/\)$/{ 1504 s//\1/ 1505 q 1506 } 1507 /^X\(\/\).*/{ 1508 s//\1/ 1509 q 1510 } 1511 s/.*/./; q'` 1512 srcdir=$ac_confdir 1513 if test ! -r "$srcdir/$ac_unique_file"; then 1514 srcdir=.. 1515 fi 1516else 1517 ac_srcdir_defaulted=no 1518fi 1519if test ! -r "$srcdir/$ac_unique_file"; then 1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1521 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1522 { (exit 1); exit 1; }; } 1523fi 1524ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1525ac_abs_confdir=`( 1526 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1527 { (exit 1); exit 1; }; } 1528 pwd)` 1529# When building in place, set srcdir=. 1530if test "$ac_abs_confdir" = "$ac_pwd"; then 1531 srcdir=. 1532fi 1533# Remove unnecessary trailing slashes from srcdir. 1534# Double slashes in file names in object file debugging info 1535# mess up M-x gdb in Emacs. 1536case $srcdir in 1537*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1538esac 1539for ac_var in $ac_precious_vars; do 1540 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1541 eval ac_env_${ac_var}_value=\$${ac_var} 1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1543 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1544done 1545 1546# 1547# Report the --help message. 1548# 1549if test "$ac_init_help" = "long"; then 1550 # Omit some internal or obsolete options to make the list less imposing. 1551 # This message is too long to be a string in the A/UX 3.1 sh. 1552 cat <<_ACEOF 1553\`configure' configures this package to adapt to many kinds of systems. 1554 1555Usage: $0 [OPTION]... [VAR=VALUE]... 1556 1557To assign environment variables (e.g., CC, CFLAGS...), specify them as 1558VAR=VALUE. See below for descriptions of some of the useful variables. 1559 1560Defaults for the options are specified in brackets. 1561 1562Configuration: 1563 -h, --help display this help and exit 1564 --help=short display options specific to this package 1565 --help=recursive display the short help of all the included packages 1566 -V, --version display version information and exit 1567 -q, --quiet, --silent do not print \`checking...' messages 1568 --cache-file=FILE cache test results in FILE [disabled] 1569 -C, --config-cache alias for \`--cache-file=config.cache' 1570 -n, --no-create do not create output files 1571 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1572 1573Installation directories: 1574 --prefix=PREFIX install architecture-independent files in PREFIX 1575 [$ac_default_prefix] 1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1577 [PREFIX] 1578 1579By default, \`make install' will install all the files in 1580\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1581an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1582for instance \`--prefix=\$HOME'. 1583 1584For better control, use the options below. 1585 1586Fine tuning of the installation directories: 1587 --bindir=DIR user executables [EPREFIX/bin] 1588 --sbindir=DIR system admin executables [EPREFIX/sbin] 1589 --libexecdir=DIR program executables [EPREFIX/libexec] 1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1593 --libdir=DIR object code libraries [EPREFIX/lib] 1594 --includedir=DIR C header files [PREFIX/include] 1595 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1598 --infodir=DIR info documentation [DATAROOTDIR/info] 1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1600 --mandir=DIR man documentation [DATAROOTDIR/man] 1601 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1602 --htmldir=DIR html documentation [DOCDIR] 1603 --dvidir=DIR dvi documentation [DOCDIR] 1604 --pdfdir=DIR pdf documentation [DOCDIR] 1605 --psdir=DIR ps documentation [DOCDIR] 1606_ACEOF 1607 1608 cat <<\_ACEOF 1609 1610Program names: 1611 --program-prefix=PREFIX prepend PREFIX to installed program names 1612 --program-suffix=SUFFIX append SUFFIX to installed program names 1613 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1614 1615System types: 1616 --build=BUILD configure for building on BUILD [guessed] 1617 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1618_ACEOF 1619fi 1620 1621if test -n "$ac_init_help"; then 1622 1623 cat <<\_ACEOF 1624 1625Optional Features: 1626 --disable-option-checking ignore unrecognized --enable/--with options 1627 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1628 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1629 --enable-maintainer-mode enable make rules and dependencies not useful 1630 (and sometimes confusing) to the casual installer 1631 --disable-dependency-tracking speeds up one-time build 1632 --enable-dependency-tracking do not reject slow dependency extractors 1633 --enable-shared[=PKGS] build shared libraries [default=yes] 1634 --enable-static[=PKGS] build static libraries [default=yes] 1635 --enable-fast-install[=PKGS] 1636 optimize for fast installation [default=yes] 1637 --disable-libtool-lock avoid locking (might break parallel builds) 1638 --disable-ispell enable the ispell backend [default=auto] 1639 --disable-myspell enable the myspell backend [default=auto] 1640 --disable-aspell enable the aspell backend [default=auto] 1641 --disable-voikko enable the voikko backend [default=auto] 1642 --disable-uspell enable the uspell backend [default=auto] 1643 --disable-hspell enable the hspell backend [default=auto] 1644 --disable-zemberek enable the experimental zemberek (turkish) backend 1645 [default=auto] 1646 1647Optional Packages: 1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1650 --with-pic try to use only PIC/non-PIC objects [default=use 1651 both] 1652 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1653 --with-ispell-dir=PATH path to installed ispell dicts 1654 --with-myspell-dir=PATH path to installed myspell dicts 1655 --with-system-myspell=yes/no 1656 use the system myspell/hunspell [default=auto] 1657 --with-aspell-prefix=DIR 1658 specify under which prefix aspell is installed 1659 --with-voikko-prefix=DIR 1660 specify under which prefix voikko is installed 1661 --with-uspell-dir=PATH path to installed uspell dicts 1662 --with-hspell-prefix=DIR 1663 specify under which prefix hspell is installed 1664 1665Some influential environment variables: 1666 CC C compiler command 1667 CFLAGS C compiler flags 1668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1669 nonstandard directory <lib dir> 1670 LIBS libraries to pass to the linker, e.g. -l<library> 1671 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1672 you have headers in a nonstandard directory <include dir> 1673 CPP C preprocessor 1674 CXX C++ compiler command 1675 CXXFLAGS C++ compiler flags 1676 CXXCPP C++ preprocessor 1677 PKG_CONFIG path to pkg-config utility 1678 ENCHANT_CFLAGS 1679 C compiler flags for ENCHANT, overriding pkg-config 1680 ENCHANT_LIBS 1681 linker flags for ENCHANT, overriding pkg-config 1682 MYSPELL_CFLAGS 1683 C compiler flags for MYSPELL, overriding pkg-config 1684 MYSPELL_LIBS 1685 linker flags for MYSPELL, overriding pkg-config 1686 USPELL_CFLAGS 1687 C compiler flags for USPELL, overriding pkg-config 1688 USPELL_LIBS linker flags for USPELL, overriding pkg-config 1689 1690Use these variables to override the choices made by `configure' or to help 1691it to find libraries and programs with nonstandard names/locations. 1692 1693_ACEOF 1694ac_status=$? 1695fi 1696 1697if test "$ac_init_help" = "recursive"; then 1698 # If there are subdirs, report their specific --help. 1699 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1700 test -d "$ac_dir" || 1701 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1702 continue 1703 ac_builddir=. 1704 1705case "$ac_dir" in 1706.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1707*) 1708 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1709 # A ".." for each directory in $ac_dir_suffix. 1710 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1711 case $ac_top_builddir_sub in 1712 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1713 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1714 esac ;; 1715esac 1716ac_abs_top_builddir=$ac_pwd 1717ac_abs_builddir=$ac_pwd$ac_dir_suffix 1718# for backward compatibility: 1719ac_top_builddir=$ac_top_build_prefix 1720 1721case $srcdir in 1722 .) # We are building in place. 1723 ac_srcdir=. 1724 ac_top_srcdir=$ac_top_builddir_sub 1725 ac_abs_top_srcdir=$ac_pwd ;; 1726 [\\/]* | ?:[\\/]* ) # Absolute name. 1727 ac_srcdir=$srcdir$ac_dir_suffix; 1728 ac_top_srcdir=$srcdir 1729 ac_abs_top_srcdir=$srcdir ;; 1730 *) # Relative name. 1731 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1732 ac_top_srcdir=$ac_top_build_prefix$srcdir 1733 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1734esac 1735ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1736 1737 cd "$ac_dir" || { ac_status=$?; continue; } 1738 # Check for guested configure. 1739 if test -f "$ac_srcdir/configure.gnu"; then 1740 echo && 1741 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1742 elif test -f "$ac_srcdir/configure"; then 1743 echo && 1744 $SHELL "$ac_srcdir/configure" --help=recursive 1745 else 1746 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1747 fi || ac_status=$? 1748 cd "$ac_pwd" || { ac_status=$?; break; } 1749 done 1750fi 1751 1752test -n "$ac_init_help" && exit $ac_status 1753if $ac_init_version; then 1754 cat <<\_ACEOF 1755configure 1756generated by GNU Autoconf 2.63 1757 1758Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 17592002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1760This configure script is free software; the Free Software Foundation 1761gives unlimited permission to copy, distribute and modify it. 1762_ACEOF 1763 exit 1764fi 1765cat >config.log <<_ACEOF 1766This file contains any messages produced by compilers while 1767running configure, to aid debugging if configure makes a mistake. 1768 1769It was created by $as_me, which was 1770generated by GNU Autoconf 2.63. Invocation command line was 1771 1772 $ $0 $@ 1773 1774_ACEOF 1775exec 5>>config.log 1776{ 1777cat <<_ASUNAME 1778## --------- ## 1779## Platform. ## 1780## --------- ## 1781 1782hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1783uname -m = `(uname -m) 2>/dev/null || echo unknown` 1784uname -r = `(uname -r) 2>/dev/null || echo unknown` 1785uname -s = `(uname -s) 2>/dev/null || echo unknown` 1786uname -v = `(uname -v) 2>/dev/null || echo unknown` 1787 1788/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1789/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1790 1791/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1792/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1793/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1794/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1795/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1796/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1797/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1798 1799_ASUNAME 1800 1801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1802for as_dir in $PATH 1803do 1804 IFS=$as_save_IFS 1805 test -z "$as_dir" && as_dir=. 1806 $as_echo "PATH: $as_dir" 1807done 1808IFS=$as_save_IFS 1809 1810} >&5 1811 1812cat >&5 <<_ACEOF 1813 1814 1815## ----------- ## 1816## Core tests. ## 1817## ----------- ## 1818 1819_ACEOF 1820 1821 1822# Keep a trace of the command line. 1823# Strip out --no-create and --no-recursion so they do not pile up. 1824# Strip out --silent because we don't want to record it for future runs. 1825# Also quote any args containing shell meta-characters. 1826# Make two passes to allow for proper duplicate-argument suppression. 1827ac_configure_args= 1828ac_configure_args0= 1829ac_configure_args1= 1830ac_must_keep_next=false 1831for ac_pass in 1 2 1832do 1833 for ac_arg 1834 do 1835 case $ac_arg in 1836 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1838 | -silent | --silent | --silen | --sile | --sil) 1839 continue ;; 1840 *\'*) 1841 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1842 esac 1843 case $ac_pass in 1844 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1845 2) 1846 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1847 if test $ac_must_keep_next = true; then 1848 ac_must_keep_next=false # Got value, back to normal. 1849 else 1850 case $ac_arg in 1851 *=* | --config-cache | -C | -disable-* | --disable-* \ 1852 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1853 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1854 | -with-* | --with-* | -without-* | --without-* | --x) 1855 case "$ac_configure_args0 " in 1856 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1857 esac 1858 ;; 1859 -* ) ac_must_keep_next=true ;; 1860 esac 1861 fi 1862 ac_configure_args="$ac_configure_args '$ac_arg'" 1863 ;; 1864 esac 1865 done 1866done 1867$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1868$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1869 1870# When interrupted or exit'd, cleanup temporary files, and complete 1871# config.log. We remove comments because anyway the quotes in there 1872# would cause problems or look ugly. 1873# WARNING: Use '\'' to represent an apostrophe within the trap. 1874# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1875trap 'exit_status=$? 1876 # Save into config.log some information that might help in debugging. 1877 { 1878 echo 1879 1880 cat <<\_ASBOX 1881## ---------------- ## 1882## Cache variables. ## 1883## ---------------- ## 1884_ASBOX 1885 echo 1886 # The following way of writing the cache mishandles newlines in values, 1887( 1888 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1889 eval ac_val=\$$ac_var 1890 case $ac_val in #( 1891 *${as_nl}*) 1892 case $ac_var in #( 1893 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1894$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1895 esac 1896 case $ac_var in #( 1897 _ | IFS | as_nl) ;; #( 1898 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1899 *) $as_unset $ac_var ;; 1900 esac ;; 1901 esac 1902 done 1903 (set) 2>&1 | 1904 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1905 *${as_nl}ac_space=\ *) 1906 sed -n \ 1907 "s/'\''/'\''\\\\'\'''\''/g; 1908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1909 ;; #( 1910 *) 1911 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1912 ;; 1913 esac | 1914 sort 1915) 1916 echo 1917 1918 cat <<\_ASBOX 1919## ----------------- ## 1920## Output variables. ## 1921## ----------------- ## 1922_ASBOX 1923 echo 1924 for ac_var in $ac_subst_vars 1925 do 1926 eval ac_val=\$$ac_var 1927 case $ac_val in 1928 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1929 esac 1930 $as_echo "$ac_var='\''$ac_val'\''" 1931 done | sort 1932 echo 1933 1934 if test -n "$ac_subst_files"; then 1935 cat <<\_ASBOX 1936## ------------------- ## 1937## File substitutions. ## 1938## ------------------- ## 1939_ASBOX 1940 echo 1941 for ac_var in $ac_subst_files 1942 do 1943 eval ac_val=\$$ac_var 1944 case $ac_val in 1945 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1946 esac 1947 $as_echo "$ac_var='\''$ac_val'\''" 1948 done | sort 1949 echo 1950 fi 1951 1952 if test -s confdefs.h; then 1953 cat <<\_ASBOX 1954## ----------- ## 1955## confdefs.h. ## 1956## ----------- ## 1957_ASBOX 1958 echo 1959 cat confdefs.h 1960 echo 1961 fi 1962 test "$ac_signal" != 0 && 1963 $as_echo "$as_me: caught signal $ac_signal" 1964 $as_echo "$as_me: exit $exit_status" 1965 } >&5 1966 rm -f core *.core core.conftest.* && 1967 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1968 exit $exit_status 1969' 0 1970for ac_signal in 1 2 13 15; do 1971 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1972done 1973ac_signal=0 1974 1975# confdefs.h avoids OS command line length limits that DEFS can exceed. 1976rm -f -r conftest* confdefs.h 1977 1978# Predefined preprocessor variables. 1979 1980cat >>confdefs.h <<_ACEOF 1981#define PACKAGE_NAME "$PACKAGE_NAME" 1982_ACEOF 1983 1984 1985cat >>confdefs.h <<_ACEOF 1986#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1987_ACEOF 1988 1989 1990cat >>confdefs.h <<_ACEOF 1991#define PACKAGE_VERSION "$PACKAGE_VERSION" 1992_ACEOF 1993 1994 1995cat >>confdefs.h <<_ACEOF 1996#define PACKAGE_STRING "$PACKAGE_STRING" 1997_ACEOF 1998 1999 2000cat >>confdefs.h <<_ACEOF 2001#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2002_ACEOF 2003 2004 2005# Let the site file select an alternate cache file if it wants to. 2006# Prefer an explicitly selected file to automatically selected ones. 2007ac_site_file1=NONE 2008ac_site_file2=NONE 2009if test -n "$CONFIG_SITE"; then 2010 ac_site_file1=$CONFIG_SITE 2011elif test "x$prefix" != xNONE; then 2012 ac_site_file1=$prefix/share/config.site 2013 ac_site_file2=$prefix/etc/config.site 2014else 2015 ac_site_file1=$ac_default_prefix/share/config.site 2016 ac_site_file2=$ac_default_prefix/etc/config.site 2017fi 2018for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2019do 2020 test "x$ac_site_file" = xNONE && continue 2021 if test -r "$ac_site_file"; then 2022 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2023$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2024 sed 's/^/| /' "$ac_site_file" >&5 2025 . "$ac_site_file" 2026 fi 2027done 2028 2029if test -r "$cache_file"; then 2030 # Some versions of bash will fail to source /dev/null (special 2031 # files actually), so we avoid doing that. 2032 if test -f "$cache_file"; then 2033 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2034$as_echo "$as_me: loading cache $cache_file" >&6;} 2035 case $cache_file in 2036 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2037 *) . "./$cache_file";; 2038 esac 2039 fi 2040else 2041 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2042$as_echo "$as_me: creating cache $cache_file" >&6;} 2043 >$cache_file 2044fi 2045 2046# Check that the precious variables saved in the cache have kept the same 2047# value. 2048ac_cache_corrupted=false 2049for ac_var in $ac_precious_vars; do 2050 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2051 eval ac_new_set=\$ac_env_${ac_var}_set 2052 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2053 eval ac_new_val=\$ac_env_${ac_var}_value 2054 case $ac_old_set,$ac_new_set in 2055 set,) 2056 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2057$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2058 ac_cache_corrupted=: ;; 2059 ,set) 2060 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2061$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2062 ac_cache_corrupted=: ;; 2063 ,);; 2064 *) 2065 if test "x$ac_old_val" != "x$ac_new_val"; then 2066 # differences in whitespace do not lead to failure. 2067 ac_old_val_w=`echo x $ac_old_val` 2068 ac_new_val_w=`echo x $ac_new_val` 2069 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2070 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2071$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2072 ac_cache_corrupted=: 2073 else 2074 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2075$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2076 eval $ac_var=\$ac_old_val 2077 fi 2078 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2079$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2080 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2081$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2082 fi;; 2083 esac 2084 # Pass precious variables to config.status. 2085 if test "$ac_new_set" = set; then 2086 case $ac_new_val in 2087 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2088 *) ac_arg=$ac_var=$ac_new_val ;; 2089 esac 2090 case " $ac_configure_args " in 2091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2092 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2093 esac 2094 fi 2095done 2096if $ac_cache_corrupted; then 2097 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2099 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2100$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2101 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2102$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2103 { (exit 1); exit 1; }; } 2104fi 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122ac_ext=c 2123ac_cpp='$CPP $CPPFLAGS' 2124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2126ac_compiler_gnu=$ac_cv_c_compiler_gnu 2127 2128 2129ac_aux_dir= 2130for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2131 if test -f "$ac_dir/install-sh"; then 2132 ac_aux_dir=$ac_dir 2133 ac_install_sh="$ac_aux_dir/install-sh -c" 2134 break 2135 elif test -f "$ac_dir/install.sh"; then 2136 ac_aux_dir=$ac_dir 2137 ac_install_sh="$ac_aux_dir/install.sh -c" 2138 break 2139 elif test -f "$ac_dir/shtool"; then 2140 ac_aux_dir=$ac_dir 2141 ac_install_sh="$ac_aux_dir/shtool install -c" 2142 break 2143 fi 2144done 2145if test -z "$ac_aux_dir"; then 2146 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2147$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2148 { (exit 1); exit 1; }; } 2149fi 2150 2151# These three variables are undocumented and unsupported, 2152# and are intended to be withdrawn in a future Autoconf release. 2153# They can cause serious problems if a builder's source tree is in a directory 2154# whose full name contains unusual characters. 2155ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2156ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2157ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2158 2159 2160# Make sure we can run config.sub. 2161$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2162 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2163$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2164 { (exit 1); exit 1; }; } 2165 2166{ $as_echo "$as_me:$LINENO: checking build system type" >&5 2167$as_echo_n "checking build system type... " >&6; } 2168if test "${ac_cv_build+set}" = set; then 2169 $as_echo_n "(cached) " >&6 2170else 2171 ac_build_alias=$build_alias 2172test "x$ac_build_alias" = x && 2173 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2174test "x$ac_build_alias" = x && 2175 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2176$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2177 { (exit 1); exit 1; }; } 2178ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2179 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2180$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2181 { (exit 1); exit 1; }; } 2182 2183fi 2184{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2185$as_echo "$ac_cv_build" >&6; } 2186case $ac_cv_build in 2187*-*-*) ;; 2188*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2189$as_echo "$as_me: error: invalid value of canonical build" >&2;} 2190 { (exit 1); exit 1; }; };; 2191esac 2192build=$ac_cv_build 2193ac_save_IFS=$IFS; IFS='-' 2194set x $ac_cv_build 2195shift 2196build_cpu=$1 2197build_vendor=$2 2198shift; shift 2199# Remember, the first character of IFS is used to create $*, 2200# except with old shells: 2201build_os=$* 2202IFS=$ac_save_IFS 2203case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2204 2205 2206{ $as_echo "$as_me:$LINENO: checking host system type" >&5 2207$as_echo_n "checking host system type... " >&6; } 2208if test "${ac_cv_host+set}" = set; then 2209 $as_echo_n "(cached) " >&6 2210else 2211 if test "x$host_alias" = x; then 2212 ac_cv_host=$ac_cv_build 2213else 2214 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2215 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2216$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2217 { (exit 1); exit 1; }; } 2218fi 2219 2220fi 2221{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2222$as_echo "$ac_cv_host" >&6; } 2223case $ac_cv_host in 2224*-*-*) ;; 2225*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2226$as_echo "$as_me: error: invalid value of canonical host" >&2;} 2227 { (exit 1); exit 1; }; };; 2228esac 2229host=$ac_cv_host 2230ac_save_IFS=$IFS; IFS='-' 2231set x $ac_cv_host 2232shift 2233host_cpu=$1 2234host_vendor=$2 2235shift; shift 2236# Remember, the first character of IFS is used to create $*, 2237# except with old shells: 2238host_os=$* 2239IFS=$ac_save_IFS 2240case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2241 2242 2243 2244PACKAGE=enchant 2245ENCHANT_MAJOR_VERSION=1 2246ENCHANT_MINOR_VERSION=6 2247ENCHANT_MICRO_VERSION=0 2248MAJOR_VERSION_PLUS_MINOR_VERSION=`expr $ENCHANT_MAJOR_VERSION + $ENCHANT_MINOR_VERSION` 2249VERSION=$ENCHANT_MAJOR_VERSION.$ENCHANT_MINOR_VERSION.$ENCHANT_MICRO_VERSION 2250VERSION_INFO=$MAJOR_VERSION_PLUS_MINOR_VERSION:$ENCHANT_MICRO_VERSION:$ENCHANT_MINOR_VERSION 2251 2252 2253 2254 2255 2256am__api_version='1.11' 2257 2258# Find a good install program. We prefer a C program (faster), 2259# so one script is as good as another. But avoid the broken or 2260# incompatible versions: 2261# SysV /etc/install, /usr/sbin/install 2262# SunOS /usr/etc/install 2263# IRIX /sbin/install 2264# AIX /bin/install 2265# AmigaOS /C/install, which installs bootblocks on floppy discs 2266# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2267# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2268# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2269# OS/2's system install, which has a completely different semantic 2270# ./install, which can be erroneously created by make from ./install.sh. 2271# Reject install programs that cannot install multiple files. 2272{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2273$as_echo_n "checking for a BSD-compatible install... " >&6; } 2274if test -z "$INSTALL"; then 2275if test "${ac_cv_path_install+set}" = set; then 2276 $as_echo_n "(cached) " >&6 2277else 2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2279for as_dir in $PATH 2280do 2281 IFS=$as_save_IFS 2282 test -z "$as_dir" && as_dir=. 2283 # Account for people who put trailing slashes in PATH elements. 2284case $as_dir/ in 2285 ./ | .// | /cC/* | \ 2286 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2287 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2288 /usr/ucb/* ) ;; 2289 *) 2290 # OSF1 and SCO ODT 3.0 have their own names for install. 2291 # Don't use installbsd from OSF since it installs stuff as root 2292 # by default. 2293 for ac_prog in ginstall scoinst install; do 2294 for ac_exec_ext in '' $ac_executable_extensions; do 2295 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2296 if test $ac_prog = install && 2297 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2298 # AIX install. It has an incompatible calling convention. 2299 : 2300 elif test $ac_prog = install && 2301 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2302 # program-specific install script used by HP pwplus--don't use. 2303 : 2304 else 2305 rm -rf conftest.one conftest.two conftest.dir 2306 echo one > conftest.one 2307 echo two > conftest.two 2308 mkdir conftest.dir 2309 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2310 test -s conftest.one && test -s conftest.two && 2311 test -s conftest.dir/conftest.one && 2312 test -s conftest.dir/conftest.two 2313 then 2314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2315 break 3 2316 fi 2317 fi 2318 fi 2319 done 2320 done 2321 ;; 2322esac 2323 2324done 2325IFS=$as_save_IFS 2326 2327rm -rf conftest.one conftest.two conftest.dir 2328 2329fi 2330 if test "${ac_cv_path_install+set}" = set; then 2331 INSTALL=$ac_cv_path_install 2332 else 2333 # As a last resort, use the slow shell script. Don't cache a 2334 # value for INSTALL within a source directory, because that will 2335 # break other packages using the cache if that directory is 2336 # removed, or if the value is a relative name. 2337 INSTALL=$ac_install_sh 2338 fi 2339fi 2340{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2341$as_echo "$INSTALL" >&6; } 2342 2343# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2344# It thinks the first close brace ends the variable substitution. 2345test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2346 2347test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2348 2349test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2350 2351{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2352$as_echo_n "checking whether build environment is sane... " >&6; } 2353# Just in case 2354sleep 1 2355echo timestamp > conftest.file 2356# Reject unsafe characters in $srcdir or the absolute working directory 2357# name. Accept space and tab only in the latter. 2358am_lf=' 2359' 2360case `pwd` in 2361 *[\\\"\#\$\&\'\`$am_lf]*) 2362 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2363$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2364 { (exit 1); exit 1; }; };; 2365esac 2366case $srcdir in 2367 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2368 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2369$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2370 { (exit 1); exit 1; }; };; 2371esac 2372 2373# Do `set' in a subshell so we don't clobber the current shell's 2374# arguments. Must try -L first in case configure is actually a 2375# symlink; some systems play weird games with the mod time of symlinks 2376# (eg FreeBSD returns the mod time of the symlink's containing 2377# directory). 2378if ( 2379 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2380 if test "$*" = "X"; then 2381 # -L didn't work. 2382 set X `ls -t "$srcdir/configure" conftest.file` 2383 fi 2384 rm -f conftest.file 2385 if test "$*" != "X $srcdir/configure conftest.file" \ 2386 && test "$*" != "X conftest.file $srcdir/configure"; then 2387 2388 # If neither matched, then we have a broken ls. This can happen 2389 # if, for instance, CONFIG_SHELL is bash and it inherits a 2390 # broken ls alias from the environment. This has actually 2391 # happened. Such a system could not be considered "sane". 2392 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2393alias in your environment" >&5 2394$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2395alias in your environment" >&2;} 2396 { (exit 1); exit 1; }; } 2397 fi 2398 2399 test "$2" = conftest.file 2400 ) 2401then 2402 # Ok. 2403 : 2404else 2405 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2406Check your system clock" >&5 2407$as_echo "$as_me: error: newly created file is older than distributed files! 2408Check your system clock" >&2;} 2409 { (exit 1); exit 1; }; } 2410fi 2411{ $as_echo "$as_me:$LINENO: result: yes" >&5 2412$as_echo "yes" >&6; } 2413test "$program_prefix" != NONE && 2414 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2415# Use a double $ so make ignores it. 2416test "$program_suffix" != NONE && 2417 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2418# Double any \ or $. 2419# By default was `s,x,x', remove it if useless. 2420ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2421program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2422 2423# expand $ac_aux_dir to an absolute path 2424am_aux_dir=`cd $ac_aux_dir && pwd` 2425 2426if test x"${MISSING+set}" != xset; then 2427 case $am_aux_dir in 2428 *\ * | *\ *) 2429 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2430 *) 2431 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2432 esac 2433fi 2434# Use eval to expand $SHELL 2435if eval "$MISSING --run true"; then 2436 am_missing_run="$MISSING --run " 2437else 2438 am_missing_run= 2439 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2440$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2441fi 2442 2443if test x"${install_sh}" != xset; then 2444 case $am_aux_dir in 2445 *\ * | *\ *) 2446 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2447 *) 2448 install_sh="\${SHELL} $am_aux_dir/install-sh" 2449 esac 2450fi 2451 2452# Installed binaries are usually stripped using `strip' when the user 2453# run `make install-strip'. However `strip' might not be the right 2454# tool to use in cross-compilation environments, therefore Automake 2455# will honor the `STRIP' environment variable to overrule this program. 2456if test "$cross_compiling" != no; then 2457 if test -n "$ac_tool_prefix"; then 2458 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2459set dummy ${ac_tool_prefix}strip; ac_word=$2 2460{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2461$as_echo_n "checking for $ac_word... " >&6; } 2462if test "${ac_cv_prog_STRIP+set}" = set; then 2463 $as_echo_n "(cached) " >&6 2464else 2465 if test -n "$STRIP"; then 2466 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2467else 2468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2469for as_dir in $PATH 2470do 2471 IFS=$as_save_IFS 2472 test -z "$as_dir" && as_dir=. 2473 for ac_exec_ext in '' $ac_executable_extensions; do 2474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2475 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2477 break 2 2478 fi 2479done 2480done 2481IFS=$as_save_IFS 2482 2483fi 2484fi 2485STRIP=$ac_cv_prog_STRIP 2486if test -n "$STRIP"; then 2487 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2488$as_echo "$STRIP" >&6; } 2489else 2490 { $as_echo "$as_me:$LINENO: result: no" >&5 2491$as_echo "no" >&6; } 2492fi 2493 2494 2495fi 2496if test -z "$ac_cv_prog_STRIP"; then 2497 ac_ct_STRIP=$STRIP 2498 # Extract the first word of "strip", so it can be a program name with args. 2499set dummy strip; ac_word=$2 2500{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2501$as_echo_n "checking for $ac_word... " >&6; } 2502if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2503 $as_echo_n "(cached) " >&6 2504else 2505 if test -n "$ac_ct_STRIP"; then 2506 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2507else 2508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2509for as_dir in $PATH 2510do 2511 IFS=$as_save_IFS 2512 test -z "$as_dir" && as_dir=. 2513 for ac_exec_ext in '' $ac_executable_extensions; do 2514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2515 ac_cv_prog_ac_ct_STRIP="strip" 2516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2517 break 2 2518 fi 2519done 2520done 2521IFS=$as_save_IFS 2522 2523fi 2524fi 2525ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2526if test -n "$ac_ct_STRIP"; then 2527 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2528$as_echo "$ac_ct_STRIP" >&6; } 2529else 2530 { $as_echo "$as_me:$LINENO: result: no" >&5 2531$as_echo "no" >&6; } 2532fi 2533 2534 if test "x$ac_ct_STRIP" = x; then 2535 STRIP=":" 2536 else 2537 case $cross_compiling:$ac_tool_warned in 2538yes:) 2539{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2541ac_tool_warned=yes ;; 2542esac 2543 STRIP=$ac_ct_STRIP 2544 fi 2545else 2546 STRIP="$ac_cv_prog_STRIP" 2547fi 2548 2549fi 2550INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2551 2552{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2553$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2554if test -z "$MKDIR_P"; then 2555 if test "${ac_cv_path_mkdir+set}" = set; then 2556 $as_echo_n "(cached) " >&6 2557else 2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2559for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2560do 2561 IFS=$as_save_IFS 2562 test -z "$as_dir" && as_dir=. 2563 for ac_prog in mkdir gmkdir; do 2564 for ac_exec_ext in '' $ac_executable_extensions; do 2565 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2566 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2567 'mkdir (GNU coreutils) '* | \ 2568 'mkdir (coreutils) '* | \ 2569 'mkdir (fileutils) '4.1*) 2570 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2571 break 3;; 2572 esac 2573 done 2574 done 2575done 2576IFS=$as_save_IFS 2577 2578fi 2579 2580 if test "${ac_cv_path_mkdir+set}" = set; then 2581 MKDIR_P="$ac_cv_path_mkdir -p" 2582 else 2583 # As a last resort, use the slow shell script. Don't cache a 2584 # value for MKDIR_P within a source directory, because that will 2585 # break other packages using the cache if that directory is 2586 # removed, or if the value is a relative name. 2587 test -d ./--version && rmdir ./--version 2588 MKDIR_P="$ac_install_sh -d" 2589 fi 2590fi 2591{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2592$as_echo "$MKDIR_P" >&6; } 2593 2594mkdir_p="$MKDIR_P" 2595case $mkdir_p in 2596 [\\/$]* | ?:[\\/]*) ;; 2597 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2598esac 2599 2600for ac_prog in gawk mawk nawk awk 2601do 2602 # Extract the first word of "$ac_prog", so it can be a program name with args. 2603set dummy $ac_prog; ac_word=$2 2604{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2605$as_echo_n "checking for $ac_word... " >&6; } 2606if test "${ac_cv_prog_AWK+set}" = set; then 2607 $as_echo_n "(cached) " >&6 2608else 2609 if test -n "$AWK"; then 2610 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2611else 2612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2613for as_dir in $PATH 2614do 2615 IFS=$as_save_IFS 2616 test -z "$as_dir" && as_dir=. 2617 for ac_exec_ext in '' $ac_executable_extensions; do 2618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2619 ac_cv_prog_AWK="$ac_prog" 2620 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2621 break 2 2622 fi 2623done 2624done 2625IFS=$as_save_IFS 2626 2627fi 2628fi 2629AWK=$ac_cv_prog_AWK 2630if test -n "$AWK"; then 2631 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2632$as_echo "$AWK" >&6; } 2633else 2634 { $as_echo "$as_me:$LINENO: result: no" >&5 2635$as_echo "no" >&6; } 2636fi 2637 2638 2639 test -n "$AWK" && break 2640done 2641 2642{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2643$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2644set x ${MAKE-make} 2645ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2646if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2647 $as_echo_n "(cached) " >&6 2648else 2649 cat >conftest.make <<\_ACEOF 2650SHELL = /bin/sh 2651all: 2652 @echo '@@@%%%=$(MAKE)=@@@%%%' 2653_ACEOF 2654# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2655case `${MAKE-make} -f conftest.make 2>/dev/null` in 2656 *@@@%%%=?*=@@@%%%*) 2657 eval ac_cv_prog_make_${ac_make}_set=yes;; 2658 *) 2659 eval ac_cv_prog_make_${ac_make}_set=no;; 2660esac 2661rm -f conftest.make 2662fi 2663if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2664 { $as_echo "$as_me:$LINENO: result: yes" >&5 2665$as_echo "yes" >&6; } 2666 SET_MAKE= 2667else 2668 { $as_echo "$as_me:$LINENO: result: no" >&5 2669$as_echo "no" >&6; } 2670 SET_MAKE="MAKE=${MAKE-make}" 2671fi 2672 2673rm -rf .tst 2>/dev/null 2674mkdir .tst 2>/dev/null 2675if test -d .tst; then 2676 am__leading_dot=. 2677else 2678 am__leading_dot=_ 2679fi 2680rmdir .tst 2>/dev/null 2681 2682if test "`cd $srcdir && pwd`" != "`pwd`"; then 2683 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2684 # is not polluted with repeated "-I." 2685 am__isrc=' -I$(srcdir)' 2686 # test to see if srcdir already configured 2687 if test -f $srcdir/config.status; then 2688 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2689$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2690 { (exit 1); exit 1; }; } 2691 fi 2692fi 2693 2694# test whether we have cygpath 2695if test -z "$CYGPATH_W"; then 2696 if (cygpath --version) >/dev/null 2>/dev/null; then 2697 CYGPATH_W='cygpath -w' 2698 else 2699 CYGPATH_W=echo 2700 fi 2701fi 2702 2703 2704# Define the identity of the package. 2705 PACKAGE=$PACKAGE 2706 VERSION=$VERSION 2707 2708 2709cat >>confdefs.h <<_ACEOF 2710#define PACKAGE "$PACKAGE" 2711_ACEOF 2712 2713 2714cat >>confdefs.h <<_ACEOF 2715#define VERSION "$VERSION" 2716_ACEOF 2717 2718# Some tools Automake needs. 2719 2720ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2721 2722 2723AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2724 2725 2726AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2727 2728 2729AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2730 2731 2732MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2733 2734# We need awk for the "check" target. The system "awk" is bad on 2735# some platforms. 2736# Always define AMTAR for backward compatibility. 2737 2738AMTAR=${AMTAR-"${am_missing_run}tar"} 2739 2740am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2741 2742 2743 2744 2745 2746 2747{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2748$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2749 # Check whether --enable-maintainer-mode was given. 2750if test "${enable_maintainer_mode+set}" = set; then 2751 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2752else 2753 USE_MAINTAINER_MODE=no 2754fi 2755 2756 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2757$as_echo "$USE_MAINTAINER_MODE" >&6; } 2758 if test $USE_MAINTAINER_MODE = yes; then 2759 MAINTAINER_MODE_TRUE= 2760 MAINTAINER_MODE_FALSE='#' 2761else 2762 MAINTAINER_MODE_TRUE='#' 2763 MAINTAINER_MODE_FALSE= 2764fi 2765 2766 MAINT=$MAINTAINER_MODE_TRUE 2767 2768 2769 2770DEPDIR="${am__leading_dot}deps" 2771 2772ac_config_commands="$ac_config_commands depfiles" 2773 2774 2775am_make=${MAKE-make} 2776cat > confinc << 'END' 2777am__doit: 2778 @echo this is the am__doit target 2779.PHONY: am__doit 2780END 2781# If we don't find an include directive, just comment out the code. 2782{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2783$as_echo_n "checking for style of include used by $am_make... " >&6; } 2784am__include="#" 2785am__quote= 2786_am_result=none 2787# First try GNU make style include. 2788echo "include confinc" > confmf 2789# Ignore all kinds of additional output from `make'. 2790case `$am_make -s -f confmf 2> /dev/null` in #( 2791*the\ am__doit\ target*) 2792 am__include=include 2793 am__quote= 2794 _am_result=GNU 2795 ;; 2796esac 2797# Now try BSD make style include. 2798if test "$am__include" = "#"; then 2799 echo '.include "confinc"' > confmf 2800 case `$am_make -s -f confmf 2> /dev/null` in #( 2801 *the\ am__doit\ target*) 2802 am__include=.include 2803 am__quote="\"" 2804 _am_result=BSD 2805 ;; 2806 esac 2807fi 2808 2809 2810{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2811$as_echo "$_am_result" >&6; } 2812rm -f confinc confmf 2813 2814# Check whether --enable-dependency-tracking was given. 2815if test "${enable_dependency_tracking+set}" = set; then 2816 enableval=$enable_dependency_tracking; 2817fi 2818 2819if test "x$enable_dependency_tracking" != xno; then 2820 am_depcomp="$ac_aux_dir/depcomp" 2821 AMDEPBACKSLASH='\' 2822fi 2823 if test "x$enable_dependency_tracking" != xno; then 2824 AMDEP_TRUE= 2825 AMDEP_FALSE='#' 2826else 2827 AMDEP_TRUE='#' 2828 AMDEP_FALSE= 2829fi 2830 2831 2832ac_ext=c 2833ac_cpp='$CPP $CPPFLAGS' 2834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2836ac_compiler_gnu=$ac_cv_c_compiler_gnu 2837if test -n "$ac_tool_prefix"; then 2838 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2839set dummy ${ac_tool_prefix}gcc; ac_word=$2 2840{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2841$as_echo_n "checking for $ac_word... " >&6; } 2842if test "${ac_cv_prog_CC+set}" = set; then 2843 $as_echo_n "(cached) " >&6 2844else 2845 if test -n "$CC"; then 2846 ac_cv_prog_CC="$CC" # Let the user override the test. 2847else 2848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2849for as_dir in $PATH 2850do 2851 IFS=$as_save_IFS 2852 test -z "$as_dir" && as_dir=. 2853 for ac_exec_ext in '' $ac_executable_extensions; do 2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2855 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2856 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2857 break 2 2858 fi 2859done 2860done 2861IFS=$as_save_IFS 2862 2863fi 2864fi 2865CC=$ac_cv_prog_CC 2866if test -n "$CC"; then 2867 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2868$as_echo "$CC" >&6; } 2869else 2870 { $as_echo "$as_me:$LINENO: result: no" >&5 2871$as_echo "no" >&6; } 2872fi 2873 2874 2875fi 2876if test -z "$ac_cv_prog_CC"; then 2877 ac_ct_CC=$CC 2878 # Extract the first word of "gcc", so it can be a program name with args. 2879set dummy gcc; ac_word=$2 2880{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2881$as_echo_n "checking for $ac_word... " >&6; } 2882if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2883 $as_echo_n "(cached) " >&6 2884else 2885 if test -n "$ac_ct_CC"; then 2886 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2887else 2888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2889for as_dir in $PATH 2890do 2891 IFS=$as_save_IFS 2892 test -z "$as_dir" && as_dir=. 2893 for ac_exec_ext in '' $ac_executable_extensions; do 2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2895 ac_cv_prog_ac_ct_CC="gcc" 2896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2897 break 2 2898 fi 2899done 2900done 2901IFS=$as_save_IFS 2902 2903fi 2904fi 2905ac_ct_CC=$ac_cv_prog_ac_ct_CC 2906if test -n "$ac_ct_CC"; then 2907 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2908$as_echo "$ac_ct_CC" >&6; } 2909else 2910 { $as_echo "$as_me:$LINENO: result: no" >&5 2911$as_echo "no" >&6; } 2912fi 2913 2914 if test "x$ac_ct_CC" = x; then 2915 CC="" 2916 else 2917 case $cross_compiling:$ac_tool_warned in 2918yes:) 2919{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2920$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2921ac_tool_warned=yes ;; 2922esac 2923 CC=$ac_ct_CC 2924 fi 2925else 2926 CC="$ac_cv_prog_CC" 2927fi 2928 2929if test -z "$CC"; then 2930 if test -n "$ac_tool_prefix"; then 2931 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2932set dummy ${ac_tool_prefix}cc; ac_word=$2 2933{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2934$as_echo_n "checking for $ac_word... " >&6; } 2935if test "${ac_cv_prog_CC+set}" = set; then 2936 $as_echo_n "(cached) " >&6 2937else 2938 if test -n "$CC"; then 2939 ac_cv_prog_CC="$CC" # Let the user override the test. 2940else 2941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2942for as_dir in $PATH 2943do 2944 IFS=$as_save_IFS 2945 test -z "$as_dir" && as_dir=. 2946 for ac_exec_ext in '' $ac_executable_extensions; do 2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2948 ac_cv_prog_CC="${ac_tool_prefix}cc" 2949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2950 break 2 2951 fi 2952done 2953done 2954IFS=$as_save_IFS 2955 2956fi 2957fi 2958CC=$ac_cv_prog_CC 2959if test -n "$CC"; then 2960 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2961$as_echo "$CC" >&6; } 2962else 2963 { $as_echo "$as_me:$LINENO: result: no" >&5 2964$as_echo "no" >&6; } 2965fi 2966 2967 2968 fi 2969fi 2970if test -z "$CC"; then 2971 # Extract the first word of "cc", so it can be a program name with args. 2972set dummy cc; ac_word=$2 2973{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2974$as_echo_n "checking for $ac_word... " >&6; } 2975if test "${ac_cv_prog_CC+set}" = set; then 2976 $as_echo_n "(cached) " >&6 2977else 2978 if test -n "$CC"; then 2979 ac_cv_prog_CC="$CC" # Let the user override the test. 2980else 2981 ac_prog_rejected=no 2982as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2983for as_dir in $PATH 2984do 2985 IFS=$as_save_IFS 2986 test -z "$as_dir" && as_dir=. 2987 for ac_exec_ext in '' $ac_executable_extensions; do 2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2989 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2990 ac_prog_rejected=yes 2991 continue 2992 fi 2993 ac_cv_prog_CC="cc" 2994 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2995 break 2 2996 fi 2997done 2998done 2999IFS=$as_save_IFS 3000 3001if test $ac_prog_rejected = yes; then 3002 # We found a bogon in the path, so make sure we never use it. 3003 set dummy $ac_cv_prog_CC 3004 shift 3005 if test $# != 0; then 3006 # We chose a different compiler from the bogus one. 3007 # However, it has the same basename, so the bogon will be chosen 3008 # first if we set CC to just the basename; use the full file name. 3009 shift 3010 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3011 fi 3012fi 3013fi 3014fi 3015CC=$ac_cv_prog_CC 3016if test -n "$CC"; then 3017 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3018$as_echo "$CC" >&6; } 3019else 3020 { $as_echo "$as_me:$LINENO: result: no" >&5 3021$as_echo "no" >&6; } 3022fi 3023 3024 3025fi 3026if test -z "$CC"; then 3027 if test -n "$ac_tool_prefix"; then 3028 for ac_prog in cl.exe 3029 do 3030 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3031set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3032{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3033$as_echo_n "checking for $ac_word... " >&6; } 3034if test "${ac_cv_prog_CC+set}" = set; then 3035 $as_echo_n "(cached) " >&6 3036else 3037 if test -n "$CC"; then 3038 ac_cv_prog_CC="$CC" # Let the user override the test. 3039else 3040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3041for as_dir in $PATH 3042do 3043 IFS=$as_save_IFS 3044 test -z "$as_dir" && as_dir=. 3045 for ac_exec_ext in '' $ac_executable_extensions; do 3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3047 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3049 break 2 3050 fi 3051done 3052done 3053IFS=$as_save_IFS 3054 3055fi 3056fi 3057CC=$ac_cv_prog_CC 3058if test -n "$CC"; then 3059 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3060$as_echo "$CC" >&6; } 3061else 3062 { $as_echo "$as_me:$LINENO: result: no" >&5 3063$as_echo "no" >&6; } 3064fi 3065 3066 3067 test -n "$CC" && break 3068 done 3069fi 3070if test -z "$CC"; then 3071 ac_ct_CC=$CC 3072 for ac_prog in cl.exe 3073do 3074 # Extract the first word of "$ac_prog", so it can be a program name with args. 3075set dummy $ac_prog; ac_word=$2 3076{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3077$as_echo_n "checking for $ac_word... " >&6; } 3078if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3079 $as_echo_n "(cached) " >&6 3080else 3081 if test -n "$ac_ct_CC"; then 3082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3083else 3084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3085for as_dir in $PATH 3086do 3087 IFS=$as_save_IFS 3088 test -z "$as_dir" && as_dir=. 3089 for ac_exec_ext in '' $ac_executable_extensions; do 3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3091 ac_cv_prog_ac_ct_CC="$ac_prog" 3092 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3093 break 2 3094 fi 3095done 3096done 3097IFS=$as_save_IFS 3098 3099fi 3100fi 3101ac_ct_CC=$ac_cv_prog_ac_ct_CC 3102if test -n "$ac_ct_CC"; then 3103 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3104$as_echo "$ac_ct_CC" >&6; } 3105else 3106 { $as_echo "$as_me:$LINENO: result: no" >&5 3107$as_echo "no" >&6; } 3108fi 3109 3110 3111 test -n "$ac_ct_CC" && break 3112done 3113 3114 if test "x$ac_ct_CC" = x; then 3115 CC="" 3116 else 3117 case $cross_compiling:$ac_tool_warned in 3118yes:) 3119{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3121ac_tool_warned=yes ;; 3122esac 3123 CC=$ac_ct_CC 3124 fi 3125fi 3126 3127fi 3128 3129 3130test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3132{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3133See \`config.log' for more details." >&5 3134$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3135See \`config.log' for more details." >&2;} 3136 { (exit 1); exit 1; }; }; } 3137 3138# Provide some information about the compiler. 3139$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3140set X $ac_compile 3141ac_compiler=$2 3142{ (ac_try="$ac_compiler --version >&5" 3143case "(($ac_try" in 3144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3145 *) ac_try_echo=$ac_try;; 3146esac 3147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3148$as_echo "$ac_try_echo") >&5 3149 (eval "$ac_compiler --version >&5") 2>&5 3150 ac_status=$? 3151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3152 (exit $ac_status); } 3153{ (ac_try="$ac_compiler -v >&5" 3154case "(($ac_try" in 3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3156 *) ac_try_echo=$ac_try;; 3157esac 3158eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3159$as_echo "$ac_try_echo") >&5 3160 (eval "$ac_compiler -v >&5") 2>&5 3161 ac_status=$? 3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3163 (exit $ac_status); } 3164{ (ac_try="$ac_compiler -V >&5" 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_compiler -V >&5") 2>&5 3172 ac_status=$? 3173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); } 3175 3176cat >conftest.$ac_ext <<_ACEOF 3177/* confdefs.h. */ 3178_ACEOF 3179cat confdefs.h >>conftest.$ac_ext 3180cat >>conftest.$ac_ext <<_ACEOF 3181/* end confdefs.h. */ 3182 3183int 3184main () 3185{ 3186 3187 ; 3188 return 0; 3189} 3190_ACEOF 3191ac_clean_files_save=$ac_clean_files 3192ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3193# Try to create an executable without -o first, disregard a.out. 3194# It will help us diagnose broken compilers, and finding out an intuition 3195# of exeext. 3196{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3197$as_echo_n "checking for C compiler default output file name... " >&6; } 3198ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3199 3200# The possible output files: 3201ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3202 3203ac_rmfiles= 3204for ac_file in $ac_files 3205do 3206 case $ac_file in 3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3208 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3209 esac 3210done 3211rm -f $ac_rmfiles 3212 3213if { (ac_try="$ac_link_default" 3214case "(($ac_try" in 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3216 *) ac_try_echo=$ac_try;; 3217esac 3218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3219$as_echo "$ac_try_echo") >&5 3220 (eval "$ac_link_default") 2>&5 3221 ac_status=$? 3222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3223 (exit $ac_status); }; then 3224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3225# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3226# in a Makefile. We should not override ac_cv_exeext if it was cached, 3227# so that the user can short-circuit this test for compilers unknown to 3228# Autoconf. 3229for ac_file in $ac_files '' 3230do 3231 test -f "$ac_file" || continue 3232 case $ac_file in 3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3234 ;; 3235 [ab].out ) 3236 # We found the default executable, but exeext='' is most 3237 # certainly right. 3238 break;; 3239 *.* ) 3240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3241 then :; else 3242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3243 fi 3244 # We set ac_cv_exeext here because the later test for it is not 3245 # safe: cross compilers may not add the suffix if given an `-o' 3246 # argument, so we may need to know it at that point already. 3247 # Even if this section looks crufty: it has the advantage of 3248 # actually working. 3249 break;; 3250 * ) 3251 break;; 3252 esac 3253done 3254test "$ac_cv_exeext" = no && ac_cv_exeext= 3255 3256else 3257 ac_file='' 3258fi 3259 3260{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3261$as_echo "$ac_file" >&6; } 3262if test -z "$ac_file"; then 3263 $as_echo "$as_me: failed program was:" >&5 3264sed 's/^/| /' conftest.$ac_ext >&5 3265 3266{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3268{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3269See \`config.log' for more details." >&5 3270$as_echo "$as_me: error: C compiler cannot create executables 3271See \`config.log' for more details." >&2;} 3272 { (exit 77); exit 77; }; }; } 3273fi 3274 3275ac_exeext=$ac_cv_exeext 3276 3277# Check that the compiler produces executables we can run. If not, either 3278# the compiler is broken, or we cross compile. 3279{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3280$as_echo_n "checking whether the C compiler works... " >&6; } 3281# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3282# If not cross compiling, check that we can run a simple program. 3283if test "$cross_compiling" != yes; then 3284 if { ac_try='./$ac_file' 3285 { (case "(($ac_try" in 3286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3287 *) ac_try_echo=$ac_try;; 3288esac 3289eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3290$as_echo "$ac_try_echo") >&5 3291 (eval "$ac_try") 2>&5 3292 ac_status=$? 3293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3294 (exit $ac_status); }; }; then 3295 cross_compiling=no 3296 else 3297 if test "$cross_compiling" = maybe; then 3298 cross_compiling=yes 3299 else 3300 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3302{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3303If you meant to cross compile, use \`--host'. 3304See \`config.log' for more details." >&5 3305$as_echo "$as_me: error: cannot run C compiled programs. 3306If you meant to cross compile, use \`--host'. 3307See \`config.log' for more details." >&2;} 3308 { (exit 1); exit 1; }; }; } 3309 fi 3310 fi 3311fi 3312{ $as_echo "$as_me:$LINENO: result: yes" >&5 3313$as_echo "yes" >&6; } 3314 3315rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3316ac_clean_files=$ac_clean_files_save 3317# Check that the compiler produces executables we can run. If not, either 3318# the compiler is broken, or we cross compile. 3319{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3320$as_echo_n "checking whether we are cross compiling... " >&6; } 3321{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3322$as_echo "$cross_compiling" >&6; } 3323 3324{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3325$as_echo_n "checking for suffix of executables... " >&6; } 3326if { (ac_try="$ac_link" 3327case "(($ac_try" in 3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3329 *) ac_try_echo=$ac_try;; 3330esac 3331eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3332$as_echo "$ac_try_echo") >&5 3333 (eval "$ac_link") 2>&5 3334 ac_status=$? 3335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3336 (exit $ac_status); }; then 3337 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3338# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3339# work properly (i.e., refer to `conftest.exe'), while it won't with 3340# `rm'. 3341for ac_file in conftest.exe conftest conftest.*; do 3342 test -f "$ac_file" || continue 3343 case $ac_file in 3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3345 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3346 break;; 3347 * ) break;; 3348 esac 3349done 3350else 3351 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3352$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3353{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3354See \`config.log' for more details." >&5 3355$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3356See \`config.log' for more details." >&2;} 3357 { (exit 1); exit 1; }; }; } 3358fi 3359 3360rm -f conftest$ac_cv_exeext 3361{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3362$as_echo "$ac_cv_exeext" >&6; } 3363 3364rm -f conftest.$ac_ext 3365EXEEXT=$ac_cv_exeext 3366ac_exeext=$EXEEXT 3367{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3368$as_echo_n "checking for suffix of object files... " >&6; } 3369if test "${ac_cv_objext+set}" = set; then 3370 $as_echo_n "(cached) " >&6 3371else 3372 cat >conftest.$ac_ext <<_ACEOF 3373/* confdefs.h. */ 3374_ACEOF 3375cat confdefs.h >>conftest.$ac_ext 3376cat >>conftest.$ac_ext <<_ACEOF 3377/* end confdefs.h. */ 3378 3379int 3380main () 3381{ 3382 3383 ; 3384 return 0; 3385} 3386_ACEOF 3387rm -f conftest.o conftest.obj 3388if { (ac_try="$ac_compile" 3389case "(($ac_try" in 3390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3391 *) ac_try_echo=$ac_try;; 3392esac 3393eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3394$as_echo "$ac_try_echo") >&5 3395 (eval "$ac_compile") 2>&5 3396 ac_status=$? 3397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3398 (exit $ac_status); }; then 3399 for ac_file in conftest.o conftest.obj conftest.*; do 3400 test -f "$ac_file" || continue; 3401 case $ac_file in 3402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3403 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3404 break;; 3405 esac 3406done 3407else 3408 $as_echo "$as_me: failed program was:" >&5 3409sed 's/^/| /' conftest.$ac_ext >&5 3410 3411{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3412$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3413{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3414See \`config.log' for more details." >&5 3415$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3416See \`config.log' for more details." >&2;} 3417 { (exit 1); exit 1; }; }; } 3418fi 3419 3420rm -f conftest.$ac_cv_objext conftest.$ac_ext 3421fi 3422{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3423$as_echo "$ac_cv_objext" >&6; } 3424OBJEXT=$ac_cv_objext 3425ac_objext=$OBJEXT 3426{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3427$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3428if test "${ac_cv_c_compiler_gnu+set}" = set; then 3429 $as_echo_n "(cached) " >&6 3430else 3431 cat >conftest.$ac_ext <<_ACEOF 3432/* confdefs.h. */ 3433_ACEOF 3434cat confdefs.h >>conftest.$ac_ext 3435cat >>conftest.$ac_ext <<_ACEOF 3436/* end confdefs.h. */ 3437 3438int 3439main () 3440{ 3441#ifndef __GNUC__ 3442 choke me 3443#endif 3444 3445 ; 3446 return 0; 3447} 3448_ACEOF 3449rm -f conftest.$ac_objext 3450if { (ac_try="$ac_compile" 3451case "(($ac_try" in 3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3453 *) ac_try_echo=$ac_try;; 3454esac 3455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3456$as_echo "$ac_try_echo") >&5 3457 (eval "$ac_compile") 2>conftest.er1 3458 ac_status=$? 3459 grep -v '^ *+' conftest.er1 >conftest.err 3460 rm -f conftest.er1 3461 cat conftest.err >&5 3462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3463 (exit $ac_status); } && { 3464 test -z "$ac_c_werror_flag" || 3465 test ! -s conftest.err 3466 } && test -s conftest.$ac_objext; then 3467 ac_compiler_gnu=yes 3468else 3469 $as_echo "$as_me: failed program was:" >&5 3470sed 's/^/| /' conftest.$ac_ext >&5 3471 3472 ac_compiler_gnu=no 3473fi 3474 3475rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3476ac_cv_c_compiler_gnu=$ac_compiler_gnu 3477 3478fi 3479{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3480$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3481if test $ac_compiler_gnu = yes; then 3482 GCC=yes 3483else 3484 GCC= 3485fi 3486ac_test_CFLAGS=${CFLAGS+set} 3487ac_save_CFLAGS=$CFLAGS 3488{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3489$as_echo_n "checking whether $CC accepts -g... " >&6; } 3490if test "${ac_cv_prog_cc_g+set}" = set; then 3491 $as_echo_n "(cached) " >&6 3492else 3493 ac_save_c_werror_flag=$ac_c_werror_flag 3494 ac_c_werror_flag=yes 3495 ac_cv_prog_cc_g=no 3496 CFLAGS="-g" 3497 cat >conftest.$ac_ext <<_ACEOF 3498/* confdefs.h. */ 3499_ACEOF 3500cat confdefs.h >>conftest.$ac_ext 3501cat >>conftest.$ac_ext <<_ACEOF 3502/* end confdefs.h. */ 3503 3504int 3505main () 3506{ 3507 3508 ; 3509 return 0; 3510} 3511_ACEOF 3512rm -f conftest.$ac_objext 3513if { (ac_try="$ac_compile" 3514case "(($ac_try" in 3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *) ac_try_echo=$ac_try;; 3517esac 3518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3519$as_echo "$ac_try_echo") >&5 3520 (eval "$ac_compile") 2>conftest.er1 3521 ac_status=$? 3522 grep -v '^ *+' conftest.er1 >conftest.err 3523 rm -f conftest.er1 3524 cat conftest.err >&5 3525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3526 (exit $ac_status); } && { 3527 test -z "$ac_c_werror_flag" || 3528 test ! -s conftest.err 3529 } && test -s conftest.$ac_objext; then 3530 ac_cv_prog_cc_g=yes 3531else 3532 $as_echo "$as_me: failed program was:" >&5 3533sed 's/^/| /' conftest.$ac_ext >&5 3534 3535 CFLAGS="" 3536 cat >conftest.$ac_ext <<_ACEOF 3537/* confdefs.h. */ 3538_ACEOF 3539cat confdefs.h >>conftest.$ac_ext 3540cat >>conftest.$ac_ext <<_ACEOF 3541/* end confdefs.h. */ 3542 3543int 3544main () 3545{ 3546 3547 ; 3548 return 0; 3549} 3550_ACEOF 3551rm -f conftest.$ac_objext 3552if { (ac_try="$ac_compile" 3553case "(($ac_try" in 3554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3555 *) ac_try_echo=$ac_try;; 3556esac 3557eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3558$as_echo "$ac_try_echo") >&5 3559 (eval "$ac_compile") 2>conftest.er1 3560 ac_status=$? 3561 grep -v '^ *+' conftest.er1 >conftest.err 3562 rm -f conftest.er1 3563 cat conftest.err >&5 3564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3565 (exit $ac_status); } && { 3566 test -z "$ac_c_werror_flag" || 3567 test ! -s conftest.err 3568 } && test -s conftest.$ac_objext; then 3569 : 3570else 3571 $as_echo "$as_me: failed program was:" >&5 3572sed 's/^/| /' conftest.$ac_ext >&5 3573 3574 ac_c_werror_flag=$ac_save_c_werror_flag 3575 CFLAGS="-g" 3576 cat >conftest.$ac_ext <<_ACEOF 3577/* confdefs.h. */ 3578_ACEOF 3579cat confdefs.h >>conftest.$ac_ext 3580cat >>conftest.$ac_ext <<_ACEOF 3581/* end confdefs.h. */ 3582 3583int 3584main () 3585{ 3586 3587 ; 3588 return 0; 3589} 3590_ACEOF 3591rm -f conftest.$ac_objext 3592if { (ac_try="$ac_compile" 3593case "(($ac_try" in 3594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3595 *) ac_try_echo=$ac_try;; 3596esac 3597eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3598$as_echo "$ac_try_echo") >&5 3599 (eval "$ac_compile") 2>conftest.er1 3600 ac_status=$? 3601 grep -v '^ *+' conftest.er1 >conftest.err 3602 rm -f conftest.er1 3603 cat conftest.err >&5 3604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3605 (exit $ac_status); } && { 3606 test -z "$ac_c_werror_flag" || 3607 test ! -s conftest.err 3608 } && test -s conftest.$ac_objext; then 3609 ac_cv_prog_cc_g=yes 3610else 3611 $as_echo "$as_me: failed program was:" >&5 3612sed 's/^/| /' conftest.$ac_ext >&5 3613 3614 3615fi 3616 3617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3618fi 3619 3620rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3621fi 3622 3623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3624 ac_c_werror_flag=$ac_save_c_werror_flag 3625fi 3626{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3627$as_echo "$ac_cv_prog_cc_g" >&6; } 3628if test "$ac_test_CFLAGS" = set; then 3629 CFLAGS=$ac_save_CFLAGS 3630elif test $ac_cv_prog_cc_g = yes; then 3631 if test "$GCC" = yes; then 3632 CFLAGS="-g -O2" 3633 else 3634 CFLAGS="-g" 3635 fi 3636else 3637 if test "$GCC" = yes; then 3638 CFLAGS="-O2" 3639 else 3640 CFLAGS= 3641 fi 3642fi 3643{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3644$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3645if test "${ac_cv_prog_cc_c89+set}" = set; then 3646 $as_echo_n "(cached) " >&6 3647else 3648 ac_cv_prog_cc_c89=no 3649ac_save_CC=$CC 3650cat >conftest.$ac_ext <<_ACEOF 3651/* confdefs.h. */ 3652_ACEOF 3653cat confdefs.h >>conftest.$ac_ext 3654cat >>conftest.$ac_ext <<_ACEOF 3655/* end confdefs.h. */ 3656#include <stdarg.h> 3657#include <stdio.h> 3658#include <sys/types.h> 3659#include <sys/stat.h> 3660/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3661struct buf { int x; }; 3662FILE * (*rcsopen) (struct buf *, struct stat *, int); 3663static char *e (p, i) 3664 char **p; 3665 int i; 3666{ 3667 return p[i]; 3668} 3669static char *f (char * (*g) (char **, int), char **p, ...) 3670{ 3671 char *s; 3672 va_list v; 3673 va_start (v,p); 3674 s = g (p, va_arg (v,int)); 3675 va_end (v); 3676 return s; 3677} 3678 3679/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3680 function prototypes and stuff, but not '\xHH' hex character constants. 3681 These don't provoke an error unfortunately, instead are silently treated 3682 as 'x'. The following induces an error, until -std is added to get 3683 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3684 array size at least. It's necessary to write '\x00'==0 to get something 3685 that's true only with -std. */ 3686int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3687 3688/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3689 inside strings and character constants. */ 3690#define FOO(x) 'x' 3691int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3692 3693int test (int i, double x); 3694struct s1 {int (*f) (int a);}; 3695struct s2 {int (*f) (double a);}; 3696int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3697int argc; 3698char **argv; 3699int 3700main () 3701{ 3702return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3703 ; 3704 return 0; 3705} 3706_ACEOF 3707for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3708 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3709do 3710 CC="$ac_save_CC $ac_arg" 3711 rm -f conftest.$ac_objext 3712if { (ac_try="$ac_compile" 3713case "(($ac_try" in 3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3715 *) ac_try_echo=$ac_try;; 3716esac 3717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3718$as_echo "$ac_try_echo") >&5 3719 (eval "$ac_compile") 2>conftest.er1 3720 ac_status=$? 3721 grep -v '^ *+' conftest.er1 >conftest.err 3722 rm -f conftest.er1 3723 cat conftest.err >&5 3724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3725 (exit $ac_status); } && { 3726 test -z "$ac_c_werror_flag" || 3727 test ! -s conftest.err 3728 } && test -s conftest.$ac_objext; then 3729 ac_cv_prog_cc_c89=$ac_arg 3730else 3731 $as_echo "$as_me: failed program was:" >&5 3732sed 's/^/| /' conftest.$ac_ext >&5 3733 3734 3735fi 3736 3737rm -f core conftest.err conftest.$ac_objext 3738 test "x$ac_cv_prog_cc_c89" != "xno" && break 3739done 3740rm -f conftest.$ac_ext 3741CC=$ac_save_CC 3742 3743fi 3744# AC_CACHE_VAL 3745case "x$ac_cv_prog_cc_c89" in 3746 x) 3747 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3748$as_echo "none needed" >&6; } ;; 3749 xno) 3750 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3751$as_echo "unsupported" >&6; } ;; 3752 *) 3753 CC="$CC $ac_cv_prog_cc_c89" 3754 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3755$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3756esac 3757 3758 3759ac_ext=c 3760ac_cpp='$CPP $CPPFLAGS' 3761ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3762ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3763ac_compiler_gnu=$ac_cv_c_compiler_gnu 3764 3765depcc="$CC" am_compiler_list= 3766 3767{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3768$as_echo_n "checking dependency style of $depcc... " >&6; } 3769if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3770 $as_echo_n "(cached) " >&6 3771else 3772 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3773 # We make a subdir and do the tests there. Otherwise we can end up 3774 # making bogus files that we don't know about and never remove. For 3775 # instance it was reported that on HP-UX the gcc test will end up 3776 # making a dummy file named `D' -- because `-MD' means `put the output 3777 # in D'. 3778 mkdir conftest.dir 3779 # Copy depcomp to subdir because otherwise we won't find it if we're 3780 # using a relative directory. 3781 cp "$am_depcomp" conftest.dir 3782 cd conftest.dir 3783 # We will build objects and dependencies in a subdirectory because 3784 # it helps to detect inapplicable dependency modes. For instance 3785 # both Tru64's cc and ICC support -MD to output dependencies as a 3786 # side effect of compilation, but ICC will put the dependencies in 3787 # the current directory while Tru64 will put them in the object 3788 # directory. 3789 mkdir sub 3790 3791 am_cv_CC_dependencies_compiler_type=none 3792 if test "$am_compiler_list" = ""; then 3793 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3794 fi 3795 am__universal=false 3796 case " $depcc " in #( 3797 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3798 esac 3799 3800 for depmode in $am_compiler_list; do 3801 # Setup a source with many dependencies, because some compilers 3802 # like to wrap large dependency lists on column 80 (with \), and 3803 # we should not choose a depcomp mode which is confused by this. 3804 # 3805 # We need to recreate these files for each test, as the compiler may 3806 # overwrite some of them when testing with obscure command lines. 3807 # This happens at least with the AIX C compiler. 3808 : > sub/conftest.c 3809 for i in 1 2 3 4 5 6; do 3810 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3811 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3812 # Solaris 8's {/usr,}/bin/sh. 3813 touch sub/conftst$i.h 3814 done 3815 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3816 3817 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3818 # mode. It turns out that the SunPro C++ compiler does not properly 3819 # handle `-M -o', and we need to detect this. Also, some Intel 3820 # versions had trouble with output in subdirs 3821 am__obj=sub/conftest.${OBJEXT-o} 3822 am__minus_obj="-o $am__obj" 3823 case $depmode in 3824 gcc) 3825 # This depmode causes a compiler race in universal mode. 3826 test "$am__universal" = false || continue 3827 ;; 3828 nosideeffect) 3829 # after this tag, mechanisms are not by side-effect, so they'll 3830 # only be used when explicitly requested 3831 if test "x$enable_dependency_tracking" = xyes; then 3832 continue 3833 else 3834 break 3835 fi 3836 ;; 3837 msvisualcpp | msvcmsys) 3838 # This compiler won't grok `-c -o', but also, the minuso test has 3839 # not run yet. These depmodes are late enough in the game, and 3840 # so weak that their functioning should not be impacted. 3841 am__obj=conftest.${OBJEXT-o} 3842 am__minus_obj= 3843 ;; 3844 none) break ;; 3845 esac 3846 if depmode=$depmode \ 3847 source=sub/conftest.c object=$am__obj \ 3848 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3849 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3850 >/dev/null 2>conftest.err && 3851 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3852 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3853 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3854 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3855 # icc doesn't choke on unknown options, it will just issue warnings 3856 # or remarks (even with -Werror). So we grep stderr for any message 3857 # that says an option was ignored or not supported. 3858 # When given -MP, icc 7.0 and 7.1 complain thusly: 3859 # icc: Command line warning: ignoring option '-M'; no argument required 3860 # The diagnosis changed in icc 8.0: 3861 # icc: Command line remark: option '-MP' not supported 3862 if (grep 'ignoring option' conftest.err || 3863 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3864 am_cv_CC_dependencies_compiler_type=$depmode 3865 break 3866 fi 3867 fi 3868 done 3869 3870 cd .. 3871 rm -rf conftest.dir 3872else 3873 am_cv_CC_dependencies_compiler_type=none 3874fi 3875 3876fi 3877{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3878$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3879CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3880 3881 if 3882 test "x$enable_dependency_tracking" != xno \ 3883 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3884 am__fastdepCC_TRUE= 3885 am__fastdepCC_FALSE='#' 3886else 3887 am__fastdepCC_TRUE='#' 3888 am__fastdepCC_FALSE= 3889fi 3890 3891 3892 3893{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5 3894$as_echo_n "checking for library containing strerror... " >&6; } 3895if test "${ac_cv_search_strerror+set}" = set; then 3896 $as_echo_n "(cached) " >&6 3897else 3898 ac_func_search_save_LIBS=$LIBS 3899cat >conftest.$ac_ext <<_ACEOF 3900/* confdefs.h. */ 3901_ACEOF 3902cat confdefs.h >>conftest.$ac_ext 3903cat >>conftest.$ac_ext <<_ACEOF 3904/* end confdefs.h. */ 3905 3906/* Override any GCC internal prototype to avoid an error. 3907 Use char because int might match the return type of a GCC 3908 builtin and then its argument prototype would still apply. */ 3909#ifdef __cplusplus 3910extern "C" 3911#endif 3912char strerror (); 3913int 3914main () 3915{ 3916return strerror (); 3917 ; 3918 return 0; 3919} 3920_ACEOF 3921for ac_lib in '' cposix; do 3922 if test -z "$ac_lib"; then 3923 ac_res="none required" 3924 else 3925 ac_res=-l$ac_lib 3926 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3927 fi 3928 rm -f conftest.$ac_objext conftest$ac_exeext 3929if { (ac_try="$ac_link" 3930case "(($ac_try" in 3931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3932 *) ac_try_echo=$ac_try;; 3933esac 3934eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3935$as_echo "$ac_try_echo") >&5 3936 (eval "$ac_link") 2>conftest.er1 3937 ac_status=$? 3938 grep -v '^ *+' conftest.er1 >conftest.err 3939 rm -f conftest.er1 3940 cat conftest.err >&5 3941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3942 (exit $ac_status); } && { 3943 test -z "$ac_c_werror_flag" || 3944 test ! -s conftest.err 3945 } && test -s conftest$ac_exeext && { 3946 test "$cross_compiling" = yes || 3947 $as_test_x conftest$ac_exeext 3948 }; then 3949 ac_cv_search_strerror=$ac_res 3950else 3951 $as_echo "$as_me: failed program was:" >&5 3952sed 's/^/| /' conftest.$ac_ext >&5 3953 3954 3955fi 3956 3957rm -rf conftest.dSYM 3958rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3959 conftest$ac_exeext 3960 if test "${ac_cv_search_strerror+set}" = set; then 3961 break 3962fi 3963done 3964if test "${ac_cv_search_strerror+set}" = set; then 3965 : 3966else 3967 ac_cv_search_strerror=no 3968fi 3969rm conftest.$ac_ext 3970LIBS=$ac_func_search_save_LIBS 3971fi 3972{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3973$as_echo "$ac_cv_search_strerror" >&6; } 3974ac_res=$ac_cv_search_strerror 3975if test "$ac_res" != no; then 3976 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 3977 3978fi 3979 3980ac_ext=c 3981ac_cpp='$CPP $CPPFLAGS' 3982ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3983ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3984ac_compiler_gnu=$ac_cv_c_compiler_gnu 3985if test -n "$ac_tool_prefix"; then 3986 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3987set dummy ${ac_tool_prefix}gcc; ac_word=$2 3988{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3989$as_echo_n "checking for $ac_word... " >&6; } 3990if test "${ac_cv_prog_CC+set}" = set; then 3991 $as_echo_n "(cached) " >&6 3992else 3993 if test -n "$CC"; then 3994 ac_cv_prog_CC="$CC" # Let the user override the test. 3995else 3996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3997for as_dir in $PATH 3998do 3999 IFS=$as_save_IFS 4000 test -z "$as_dir" && as_dir=. 4001 for ac_exec_ext in '' $ac_executable_extensions; do 4002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4003 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4004 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4005 break 2 4006 fi 4007done 4008done 4009IFS=$as_save_IFS 4010 4011fi 4012fi 4013CC=$ac_cv_prog_CC 4014if test -n "$CC"; then 4015 { $as_echo "$as_me:$LINENO: result: $CC" >&5 4016$as_echo "$CC" >&6; } 4017else 4018 { $as_echo "$as_me:$LINENO: result: no" >&5 4019$as_echo "no" >&6; } 4020fi 4021 4022 4023fi 4024if test -z "$ac_cv_prog_CC"; then 4025 ac_ct_CC=$CC 4026 # Extract the first word of "gcc", so it can be a program name with args. 4027set dummy gcc; ac_word=$2 4028{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4029$as_echo_n "checking for $ac_word... " >&6; } 4030if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 4031 $as_echo_n "(cached) " >&6 4032else 4033 if test -n "$ac_ct_CC"; then 4034 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4035else 4036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4037for as_dir in $PATH 4038do 4039 IFS=$as_save_IFS 4040 test -z "$as_dir" && as_dir=. 4041 for ac_exec_ext in '' $ac_executable_extensions; do 4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4043 ac_cv_prog_ac_ct_CC="gcc" 4044 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4045 break 2 4046 fi 4047done 4048done 4049IFS=$as_save_IFS 4050 4051fi 4052fi 4053ac_ct_CC=$ac_cv_prog_ac_ct_CC 4054if test -n "$ac_ct_CC"; then 4055 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 4056$as_echo "$ac_ct_CC" >&6; } 4057else 4058 { $as_echo "$as_me:$LINENO: result: no" >&5 4059$as_echo "no" >&6; } 4060fi 4061 4062 if test "x$ac_ct_CC" = x; then 4063 CC="" 4064 else 4065 case $cross_compiling:$ac_tool_warned in 4066yes:) 4067{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4068$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4069ac_tool_warned=yes ;; 4070esac 4071 CC=$ac_ct_CC 4072 fi 4073else 4074 CC="$ac_cv_prog_CC" 4075fi 4076 4077if test -z "$CC"; then 4078 if test -n "$ac_tool_prefix"; then 4079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4080set dummy ${ac_tool_prefix}cc; ac_word=$2 4081{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4082$as_echo_n "checking for $ac_word... " >&6; } 4083if test "${ac_cv_prog_CC+set}" = set; then 4084 $as_echo_n "(cached) " >&6 4085else 4086 if test -n "$CC"; then 4087 ac_cv_prog_CC="$CC" # Let the user override the test. 4088else 4089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4090for as_dir in $PATH 4091do 4092 IFS=$as_save_IFS 4093 test -z "$as_dir" && as_dir=. 4094 for ac_exec_ext in '' $ac_executable_extensions; do 4095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4096 ac_cv_prog_CC="${ac_tool_prefix}cc" 4097 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4098 break 2 4099 fi 4100done 4101done 4102IFS=$as_save_IFS 4103 4104fi 4105fi 4106CC=$ac_cv_prog_CC 4107if test -n "$CC"; then 4108 { $as_echo "$as_me:$LINENO: result: $CC" >&5 4109$as_echo "$CC" >&6; } 4110else 4111 { $as_echo "$as_me:$LINENO: result: no" >&5 4112$as_echo "no" >&6; } 4113fi 4114 4115 4116 fi 4117fi 4118if test -z "$CC"; then 4119 # Extract the first word of "cc", so it can be a program name with args. 4120set dummy cc; ac_word=$2 4121{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4122$as_echo_n "checking for $ac_word... " >&6; } 4123if test "${ac_cv_prog_CC+set}" = set; then 4124 $as_echo_n "(cached) " >&6 4125else 4126 if test -n "$CC"; then 4127 ac_cv_prog_CC="$CC" # Let the user override the test. 4128else 4129 ac_prog_rejected=no 4130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4131for as_dir in $PATH 4132do 4133 IFS=$as_save_IFS 4134 test -z "$as_dir" && as_dir=. 4135 for ac_exec_ext in '' $ac_executable_extensions; do 4136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4137 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4138 ac_prog_rejected=yes 4139 continue 4140 fi 4141 ac_cv_prog_CC="cc" 4142 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4143 break 2 4144 fi 4145done 4146done 4147IFS=$as_save_IFS 4148 4149if test $ac_prog_rejected = yes; then 4150 # We found a bogon in the path, so make sure we never use it. 4151 set dummy $ac_cv_prog_CC 4152 shift 4153 if test $# != 0; then 4154 # We chose a different compiler from the bogus one. 4155 # However, it has the same basename, so the bogon will be chosen 4156 # first if we set CC to just the basename; use the full file name. 4157 shift 4158 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4159 fi 4160fi 4161fi 4162fi 4163CC=$ac_cv_prog_CC 4164if test -n "$CC"; then 4165 { $as_echo "$as_me:$LINENO: result: $CC" >&5 4166$as_echo "$CC" >&6; } 4167else 4168 { $as_echo "$as_me:$LINENO: result: no" >&5 4169$as_echo "no" >&6; } 4170fi 4171 4172 4173fi 4174if test -z "$CC"; then 4175 if test -n "$ac_tool_prefix"; then 4176 for ac_prog in cl.exe 4177 do 4178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4179set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4180{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4181$as_echo_n "checking for $ac_word... " >&6; } 4182if test "${ac_cv_prog_CC+set}" = set; then 4183 $as_echo_n "(cached) " >&6 4184else 4185 if test -n "$CC"; then 4186 ac_cv_prog_CC="$CC" # Let the user override the test. 4187else 4188as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4189for as_dir in $PATH 4190do 4191 IFS=$as_save_IFS 4192 test -z "$as_dir" && as_dir=. 4193 for ac_exec_ext in '' $ac_executable_extensions; do 4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4195 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4196 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4197 break 2 4198 fi 4199done 4200done 4201IFS=$as_save_IFS 4202 4203fi 4204fi 4205CC=$ac_cv_prog_CC 4206if test -n "$CC"; then 4207 { $as_echo "$as_me:$LINENO: result: $CC" >&5 4208$as_echo "$CC" >&6; } 4209else 4210 { $as_echo "$as_me:$LINENO: result: no" >&5 4211$as_echo "no" >&6; } 4212fi 4213 4214 4215 test -n "$CC" && break 4216 done 4217fi 4218if test -z "$CC"; then 4219 ac_ct_CC=$CC 4220 for ac_prog in cl.exe 4221do 4222 # Extract the first word of "$ac_prog", so it can be a program name with args. 4223set dummy $ac_prog; ac_word=$2 4224{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4225$as_echo_n "checking for $ac_word... " >&6; } 4226if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 4227 $as_echo_n "(cached) " >&6 4228else 4229 if test -n "$ac_ct_CC"; then 4230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4231else 4232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4233for as_dir in $PATH 4234do 4235 IFS=$as_save_IFS 4236 test -z "$as_dir" && as_dir=. 4237 for ac_exec_ext in '' $ac_executable_extensions; do 4238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4239 ac_cv_prog_ac_ct_CC="$ac_prog" 4240 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4241 break 2 4242 fi 4243done 4244done 4245IFS=$as_save_IFS 4246 4247fi 4248fi 4249ac_ct_CC=$ac_cv_prog_ac_ct_CC 4250if test -n "$ac_ct_CC"; then 4251 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 4252$as_echo "$ac_ct_CC" >&6; } 4253else 4254 { $as_echo "$as_me:$LINENO: result: no" >&5 4255$as_echo "no" >&6; } 4256fi 4257 4258 4259 test -n "$ac_ct_CC" && break 4260done 4261 4262 if test "x$ac_ct_CC" = x; then 4263 CC="" 4264 else 4265 case $cross_compiling:$ac_tool_warned in 4266yes:) 4267{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4268$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4269ac_tool_warned=yes ;; 4270esac 4271 CC=$ac_ct_CC 4272 fi 4273fi 4274 4275fi 4276 4277 4278test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4280{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 4281See \`config.log' for more details." >&5 4282$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 4283See \`config.log' for more details." >&2;} 4284 { (exit 1); exit 1; }; }; } 4285 4286# Provide some information about the compiler. 4287$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 4288set X $ac_compile 4289ac_compiler=$2 4290{ (ac_try="$ac_compiler --version >&5" 4291case "(($ac_try" in 4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4293 *) ac_try_echo=$ac_try;; 4294esac 4295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4296$as_echo "$ac_try_echo") >&5 4297 (eval "$ac_compiler --version >&5") 2>&5 4298 ac_status=$? 4299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4300 (exit $ac_status); } 4301{ (ac_try="$ac_compiler -v >&5" 4302case "(($ac_try" in 4303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4304 *) ac_try_echo=$ac_try;; 4305esac 4306eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4307$as_echo "$ac_try_echo") >&5 4308 (eval "$ac_compiler -v >&5") 2>&5 4309 ac_status=$? 4310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4311 (exit $ac_status); } 4312{ (ac_try="$ac_compiler -V >&5" 4313case "(($ac_try" in 4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4315 *) ac_try_echo=$ac_try;; 4316esac 4317eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4318$as_echo "$ac_try_echo") >&5 4319 (eval "$ac_compiler -V >&5") 2>&5 4320 ac_status=$? 4321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4322 (exit $ac_status); } 4323 4324{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 4325$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4326if test "${ac_cv_c_compiler_gnu+set}" = set; then 4327 $as_echo_n "(cached) " >&6 4328else 4329 cat >conftest.$ac_ext <<_ACEOF 4330/* confdefs.h. */ 4331_ACEOF 4332cat confdefs.h >>conftest.$ac_ext 4333cat >>conftest.$ac_ext <<_ACEOF 4334/* end confdefs.h. */ 4335 4336int 4337main () 4338{ 4339#ifndef __GNUC__ 4340 choke me 4341#endif 4342 4343 ; 4344 return 0; 4345} 4346_ACEOF 4347rm -f conftest.$ac_objext 4348if { (ac_try="$ac_compile" 4349case "(($ac_try" in 4350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4351 *) ac_try_echo=$ac_try;; 4352esac 4353eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4354$as_echo "$ac_try_echo") >&5 4355 (eval "$ac_compile") 2>conftest.er1 4356 ac_status=$? 4357 grep -v '^ *+' conftest.er1 >conftest.err 4358 rm -f conftest.er1 4359 cat conftest.err >&5 4360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4361 (exit $ac_status); } && { 4362 test -z "$ac_c_werror_flag" || 4363 test ! -s conftest.err 4364 } && test -s conftest.$ac_objext; then 4365 ac_compiler_gnu=yes 4366else 4367 $as_echo "$as_me: failed program was:" >&5 4368sed 's/^/| /' conftest.$ac_ext >&5 4369 4370 ac_compiler_gnu=no 4371fi 4372 4373rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4374ac_cv_c_compiler_gnu=$ac_compiler_gnu 4375 4376fi 4377{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 4378$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4379if test $ac_compiler_gnu = yes; then 4380 GCC=yes 4381else 4382 GCC= 4383fi 4384ac_test_CFLAGS=${CFLAGS+set} 4385ac_save_CFLAGS=$CFLAGS 4386{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 4387$as_echo_n "checking whether $CC accepts -g... " >&6; } 4388if test "${ac_cv_prog_cc_g+set}" = set; then 4389 $as_echo_n "(cached) " >&6 4390else 4391 ac_save_c_werror_flag=$ac_c_werror_flag 4392 ac_c_werror_flag=yes 4393 ac_cv_prog_cc_g=no 4394 CFLAGS="-g" 4395 cat >conftest.$ac_ext <<_ACEOF 4396/* confdefs.h. */ 4397_ACEOF 4398cat confdefs.h >>conftest.$ac_ext 4399cat >>conftest.$ac_ext <<_ACEOF 4400/* end confdefs.h. */ 4401 4402int 4403main () 4404{ 4405 4406 ; 4407 return 0; 4408} 4409_ACEOF 4410rm -f conftest.$ac_objext 4411if { (ac_try="$ac_compile" 4412case "(($ac_try" in 4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4414 *) ac_try_echo=$ac_try;; 4415esac 4416eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4417$as_echo "$ac_try_echo") >&5 4418 (eval "$ac_compile") 2>conftest.er1 4419 ac_status=$? 4420 grep -v '^ *+' conftest.er1 >conftest.err 4421 rm -f conftest.er1 4422 cat conftest.err >&5 4423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4424 (exit $ac_status); } && { 4425 test -z "$ac_c_werror_flag" || 4426 test ! -s conftest.err 4427 } && test -s conftest.$ac_objext; then 4428 ac_cv_prog_cc_g=yes 4429else 4430 $as_echo "$as_me: failed program was:" >&5 4431sed 's/^/| /' conftest.$ac_ext >&5 4432 4433 CFLAGS="" 4434 cat >conftest.$ac_ext <<_ACEOF 4435/* confdefs.h. */ 4436_ACEOF 4437cat confdefs.h >>conftest.$ac_ext 4438cat >>conftest.$ac_ext <<_ACEOF 4439/* end confdefs.h. */ 4440 4441int 4442main () 4443{ 4444 4445 ; 4446 return 0; 4447} 4448_ACEOF 4449rm -f conftest.$ac_objext 4450if { (ac_try="$ac_compile" 4451case "(($ac_try" in 4452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4453 *) ac_try_echo=$ac_try;; 4454esac 4455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4456$as_echo "$ac_try_echo") >&5 4457 (eval "$ac_compile") 2>conftest.er1 4458 ac_status=$? 4459 grep -v '^ *+' conftest.er1 >conftest.err 4460 rm -f conftest.er1 4461 cat conftest.err >&5 4462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4463 (exit $ac_status); } && { 4464 test -z "$ac_c_werror_flag" || 4465 test ! -s conftest.err 4466 } && test -s conftest.$ac_objext; then 4467 : 4468else 4469 $as_echo "$as_me: failed program was:" >&5 4470sed 's/^/| /' conftest.$ac_ext >&5 4471 4472 ac_c_werror_flag=$ac_save_c_werror_flag 4473 CFLAGS="-g" 4474 cat >conftest.$ac_ext <<_ACEOF 4475/* confdefs.h. */ 4476_ACEOF 4477cat confdefs.h >>conftest.$ac_ext 4478cat >>conftest.$ac_ext <<_ACEOF 4479/* end confdefs.h. */ 4480 4481int 4482main () 4483{ 4484 4485 ; 4486 return 0; 4487} 4488_ACEOF 4489rm -f conftest.$ac_objext 4490if { (ac_try="$ac_compile" 4491case "(($ac_try" in 4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4493 *) ac_try_echo=$ac_try;; 4494esac 4495eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4496$as_echo "$ac_try_echo") >&5 4497 (eval "$ac_compile") 2>conftest.er1 4498 ac_status=$? 4499 grep -v '^ *+' conftest.er1 >conftest.err 4500 rm -f conftest.er1 4501 cat conftest.err >&5 4502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4503 (exit $ac_status); } && { 4504 test -z "$ac_c_werror_flag" || 4505 test ! -s conftest.err 4506 } && test -s conftest.$ac_objext; then 4507 ac_cv_prog_cc_g=yes 4508else 4509 $as_echo "$as_me: failed program was:" >&5 4510sed 's/^/| /' conftest.$ac_ext >&5 4511 4512 4513fi 4514 4515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4516fi 4517 4518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4519fi 4520 4521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4522 ac_c_werror_flag=$ac_save_c_werror_flag 4523fi 4524{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 4525$as_echo "$ac_cv_prog_cc_g" >&6; } 4526if test "$ac_test_CFLAGS" = set; then 4527 CFLAGS=$ac_save_CFLAGS 4528elif test $ac_cv_prog_cc_g = yes; then 4529 if test "$GCC" = yes; then 4530 CFLAGS="-g -O2" 4531 else 4532 CFLAGS="-g" 4533 fi 4534else 4535 if test "$GCC" = yes; then 4536 CFLAGS="-O2" 4537 else 4538 CFLAGS= 4539 fi 4540fi 4541{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 4542$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4543if test "${ac_cv_prog_cc_c89+set}" = set; then 4544 $as_echo_n "(cached) " >&6 4545else 4546 ac_cv_prog_cc_c89=no 4547ac_save_CC=$CC 4548cat >conftest.$ac_ext <<_ACEOF 4549/* confdefs.h. */ 4550_ACEOF 4551cat confdefs.h >>conftest.$ac_ext 4552cat >>conftest.$ac_ext <<_ACEOF 4553/* end confdefs.h. */ 4554#include <stdarg.h> 4555#include <stdio.h> 4556#include <sys/types.h> 4557#include <sys/stat.h> 4558/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4559struct buf { int x; }; 4560FILE * (*rcsopen) (struct buf *, struct stat *, int); 4561static char *e (p, i) 4562 char **p; 4563 int i; 4564{ 4565 return p[i]; 4566} 4567static char *f (char * (*g) (char **, int), char **p, ...) 4568{ 4569 char *s; 4570 va_list v; 4571 va_start (v,p); 4572 s = g (p, va_arg (v,int)); 4573 va_end (v); 4574 return s; 4575} 4576 4577/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4578 function prototypes and stuff, but not '\xHH' hex character constants. 4579 These don't provoke an error unfortunately, instead are silently treated 4580 as 'x'. The following induces an error, until -std is added to get 4581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4582 array size at least. It's necessary to write '\x00'==0 to get something 4583 that's true only with -std. */ 4584int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4585 4586/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4587 inside strings and character constants. */ 4588#define FOO(x) 'x' 4589int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4590 4591int test (int i, double x); 4592struct s1 {int (*f) (int a);}; 4593struct s2 {int (*f) (double a);}; 4594int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4595int argc; 4596char **argv; 4597int 4598main () 4599{ 4600return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4601 ; 4602 return 0; 4603} 4604_ACEOF 4605for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4606 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4607do 4608 CC="$ac_save_CC $ac_arg" 4609 rm -f conftest.$ac_objext 4610if { (ac_try="$ac_compile" 4611case "(($ac_try" in 4612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4613 *) ac_try_echo=$ac_try;; 4614esac 4615eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4616$as_echo "$ac_try_echo") >&5 4617 (eval "$ac_compile") 2>conftest.er1 4618 ac_status=$? 4619 grep -v '^ *+' conftest.er1 >conftest.err 4620 rm -f conftest.er1 4621 cat conftest.err >&5 4622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4623 (exit $ac_status); } && { 4624 test -z "$ac_c_werror_flag" || 4625 test ! -s conftest.err 4626 } && test -s conftest.$ac_objext; then 4627 ac_cv_prog_cc_c89=$ac_arg 4628else 4629 $as_echo "$as_me: failed program was:" >&5 4630sed 's/^/| /' conftest.$ac_ext >&5 4631 4632 4633fi 4634 4635rm -f core conftest.err conftest.$ac_objext 4636 test "x$ac_cv_prog_cc_c89" != "xno" && break 4637done 4638rm -f conftest.$ac_ext 4639CC=$ac_save_CC 4640 4641fi 4642# AC_CACHE_VAL 4643case "x$ac_cv_prog_cc_c89" in 4644 x) 4645 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4646$as_echo "none needed" >&6; } ;; 4647 xno) 4648 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4649$as_echo "unsupported" >&6; } ;; 4650 *) 4651 CC="$CC $ac_cv_prog_cc_c89" 4652 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4653$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4654esac 4655 4656 4657ac_ext=c 4658ac_cpp='$CPP $CPPFLAGS' 4659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4661ac_compiler_gnu=$ac_cv_c_compiler_gnu 4662 4663depcc="$CC" am_compiler_list= 4664 4665{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4666$as_echo_n "checking dependency style of $depcc... " >&6; } 4667if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 4668 $as_echo_n "(cached) " >&6 4669else 4670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4671 # We make a subdir and do the tests there. Otherwise we can end up 4672 # making bogus files that we don't know about and never remove. For 4673 # instance it was reported that on HP-UX the gcc test will end up 4674 # making a dummy file named `D' -- because `-MD' means `put the output 4675 # in D'. 4676 mkdir conftest.dir 4677 # Copy depcomp to subdir because otherwise we won't find it if we're 4678 # using a relative directory. 4679 cp "$am_depcomp" conftest.dir 4680 cd conftest.dir 4681 # We will build objects and dependencies in a subdirectory because 4682 # it helps to detect inapplicable dependency modes. For instance 4683 # both Tru64's cc and ICC support -MD to output dependencies as a 4684 # side effect of compilation, but ICC will put the dependencies in 4685 # the current directory while Tru64 will put them in the object 4686 # directory. 4687 mkdir sub 4688 4689 am_cv_CC_dependencies_compiler_type=none 4690 if test "$am_compiler_list" = ""; then 4691 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4692 fi 4693 am__universal=false 4694 case " $depcc " in #( 4695 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4696 esac 4697 4698 for depmode in $am_compiler_list; do 4699 # Setup a source with many dependencies, because some compilers 4700 # like to wrap large dependency lists on column 80 (with \), and 4701 # we should not choose a depcomp mode which is confused by this. 4702 # 4703 # We need to recreate these files for each test, as the compiler may 4704 # overwrite some of them when testing with obscure command lines. 4705 # This happens at least with the AIX C compiler. 4706 : > sub/conftest.c 4707 for i in 1 2 3 4 5 6; do 4708 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4709 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4710 # Solaris 8's {/usr,}/bin/sh. 4711 touch sub/conftst$i.h 4712 done 4713 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4714 4715 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4716 # mode. It turns out that the SunPro C++ compiler does not properly 4717 # handle `-M -o', and we need to detect this. Also, some Intel 4718 # versions had trouble with output in subdirs 4719 am__obj=sub/conftest.${OBJEXT-o} 4720 am__minus_obj="-o $am__obj" 4721 case $depmode in 4722 gcc) 4723 # This depmode causes a compiler race in universal mode. 4724 test "$am__universal" = false || continue 4725 ;; 4726 nosideeffect) 4727 # after this tag, mechanisms are not by side-effect, so they'll 4728 # only be used when explicitly requested 4729 if test "x$enable_dependency_tracking" = xyes; then 4730 continue 4731 else 4732 break 4733 fi 4734 ;; 4735 msvisualcpp | msvcmsys) 4736 # This compiler won't grok `-c -o', but also, the minuso test has 4737 # not run yet. These depmodes are late enough in the game, and 4738 # so weak that their functioning should not be impacted. 4739 am__obj=conftest.${OBJEXT-o} 4740 am__minus_obj= 4741 ;; 4742 none) break ;; 4743 esac 4744 if depmode=$depmode \ 4745 source=sub/conftest.c object=$am__obj \ 4746 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4747 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4748 >/dev/null 2>conftest.err && 4749 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4750 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4751 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4752 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4753 # icc doesn't choke on unknown options, it will just issue warnings 4754 # or remarks (even with -Werror). So we grep stderr for any message 4755 # that says an option was ignored or not supported. 4756 # When given -MP, icc 7.0 and 7.1 complain thusly: 4757 # icc: Command line warning: ignoring option '-M'; no argument required 4758 # The diagnosis changed in icc 8.0: 4759 # icc: Command line remark: option '-MP' not supported 4760 if (grep 'ignoring option' conftest.err || 4761 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4762 am_cv_CC_dependencies_compiler_type=$depmode 4763 break 4764 fi 4765 fi 4766 done 4767 4768 cd .. 4769 rm -rf conftest.dir 4770else 4771 am_cv_CC_dependencies_compiler_type=none 4772fi 4773 4774fi 4775{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 4776$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4777CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4778 4779 if 4780 test "x$enable_dependency_tracking" != xno \ 4781 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4782 am__fastdepCC_TRUE= 4783 am__fastdepCC_FALSE='#' 4784else 4785 am__fastdepCC_TRUE='#' 4786 am__fastdepCC_FALSE= 4787fi 4788 4789 4790ac_ext=c 4791ac_cpp='$CPP $CPPFLAGS' 4792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4794ac_compiler_gnu=$ac_cv_c_compiler_gnu 4795{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4796$as_echo_n "checking how to run the C preprocessor... " >&6; } 4797# On Suns, sometimes $CPP names a directory. 4798if test -n "$CPP" && test -d "$CPP"; then 4799 CPP= 4800fi 4801if test -z "$CPP"; then 4802 if test "${ac_cv_prog_CPP+set}" = set; then 4803 $as_echo_n "(cached) " >&6 4804else 4805 # Double quotes because CPP needs to be expanded 4806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4807 do 4808 ac_preproc_ok=false 4809for ac_c_preproc_warn_flag in '' yes 4810do 4811 # Use a header file that comes with gcc, so configuring glibc 4812 # with a fresh cross-compiler works. 4813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4814 # <limits.h> exists even on freestanding compilers. 4815 # On the NeXT, cc -E runs the code through the compiler's parser, 4816 # not just through cpp. "Syntax error" is here to catch this case. 4817 cat >conftest.$ac_ext <<_ACEOF 4818/* confdefs.h. */ 4819_ACEOF 4820cat confdefs.h >>conftest.$ac_ext 4821cat >>conftest.$ac_ext <<_ACEOF 4822/* end confdefs.h. */ 4823#ifdef __STDC__ 4824# include <limits.h> 4825#else 4826# include <assert.h> 4827#endif 4828 Syntax error 4829_ACEOF 4830if { (ac_try="$ac_cpp conftest.$ac_ext" 4831case "(($ac_try" in 4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4833 *) ac_try_echo=$ac_try;; 4834esac 4835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4836$as_echo "$ac_try_echo") >&5 4837 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4838 ac_status=$? 4839 grep -v '^ *+' conftest.er1 >conftest.err 4840 rm -f conftest.er1 4841 cat conftest.err >&5 4842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4843 (exit $ac_status); } >/dev/null && { 4844 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4845 test ! -s conftest.err 4846 }; then 4847 : 4848else 4849 $as_echo "$as_me: failed program was:" >&5 4850sed 's/^/| /' conftest.$ac_ext >&5 4851 4852 # Broken: fails on valid input. 4853continue 4854fi 4855 4856rm -f conftest.err conftest.$ac_ext 4857 4858 # OK, works on sane cases. Now check whether nonexistent headers 4859 # can be detected and how. 4860 cat >conftest.$ac_ext <<_ACEOF 4861/* confdefs.h. */ 4862_ACEOF 4863cat confdefs.h >>conftest.$ac_ext 4864cat >>conftest.$ac_ext <<_ACEOF 4865/* end confdefs.h. */ 4866#include <ac_nonexistent.h> 4867_ACEOF 4868if { (ac_try="$ac_cpp conftest.$ac_ext" 4869case "(($ac_try" in 4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4871 *) ac_try_echo=$ac_try;; 4872esac 4873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4874$as_echo "$ac_try_echo") >&5 4875 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4876 ac_status=$? 4877 grep -v '^ *+' conftest.er1 >conftest.err 4878 rm -f conftest.er1 4879 cat conftest.err >&5 4880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4881 (exit $ac_status); } >/dev/null && { 4882 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4883 test ! -s conftest.err 4884 }; then 4885 # Broken: success on invalid input. 4886continue 4887else 4888 $as_echo "$as_me: failed program was:" >&5 4889sed 's/^/| /' conftest.$ac_ext >&5 4890 4891 # Passes both tests. 4892ac_preproc_ok=: 4893break 4894fi 4895 4896rm -f conftest.err conftest.$ac_ext 4897 4898done 4899# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4900rm -f conftest.err conftest.$ac_ext 4901if $ac_preproc_ok; then 4902 break 4903fi 4904 4905 done 4906 ac_cv_prog_CPP=$CPP 4907 4908fi 4909 CPP=$ac_cv_prog_CPP 4910else 4911 ac_cv_prog_CPP=$CPP 4912fi 4913{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 4914$as_echo "$CPP" >&6; } 4915ac_preproc_ok=false 4916for ac_c_preproc_warn_flag in '' yes 4917do 4918 # Use a header file that comes with gcc, so configuring glibc 4919 # with a fresh cross-compiler works. 4920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4921 # <limits.h> exists even on freestanding compilers. 4922 # On the NeXT, cc -E runs the code through the compiler's parser, 4923 # not just through cpp. "Syntax error" is here to catch this case. 4924 cat >conftest.$ac_ext <<_ACEOF 4925/* confdefs.h. */ 4926_ACEOF 4927cat confdefs.h >>conftest.$ac_ext 4928cat >>conftest.$ac_ext <<_ACEOF 4929/* end confdefs.h. */ 4930#ifdef __STDC__ 4931# include <limits.h> 4932#else 4933# include <assert.h> 4934#endif 4935 Syntax error 4936_ACEOF 4937if { (ac_try="$ac_cpp conftest.$ac_ext" 4938case "(($ac_try" in 4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *) ac_try_echo=$ac_try;; 4941esac 4942eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4943$as_echo "$ac_try_echo") >&5 4944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4945 ac_status=$? 4946 grep -v '^ *+' conftest.er1 >conftest.err 4947 rm -f conftest.er1 4948 cat conftest.err >&5 4949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4950 (exit $ac_status); } >/dev/null && { 4951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4952 test ! -s conftest.err 4953 }; then 4954 : 4955else 4956 $as_echo "$as_me: failed program was:" >&5 4957sed 's/^/| /' conftest.$ac_ext >&5 4958 4959 # Broken: fails on valid input. 4960continue 4961fi 4962 4963rm -f conftest.err conftest.$ac_ext 4964 4965 # OK, works on sane cases. Now check whether nonexistent headers 4966 # can be detected and how. 4967 cat >conftest.$ac_ext <<_ACEOF 4968/* confdefs.h. */ 4969_ACEOF 4970cat confdefs.h >>conftest.$ac_ext 4971cat >>conftest.$ac_ext <<_ACEOF 4972/* end confdefs.h. */ 4973#include <ac_nonexistent.h> 4974_ACEOF 4975if { (ac_try="$ac_cpp conftest.$ac_ext" 4976case "(($ac_try" in 4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4978 *) ac_try_echo=$ac_try;; 4979esac 4980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4981$as_echo "$ac_try_echo") >&5 4982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4983 ac_status=$? 4984 grep -v '^ *+' conftest.er1 >conftest.err 4985 rm -f conftest.er1 4986 cat conftest.err >&5 4987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4988 (exit $ac_status); } >/dev/null && { 4989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4990 test ! -s conftest.err 4991 }; then 4992 # Broken: success on invalid input. 4993continue 4994else 4995 $as_echo "$as_me: failed program was:" >&5 4996sed 's/^/| /' conftest.$ac_ext >&5 4997 4998 # Passes both tests. 4999ac_preproc_ok=: 5000break 5001fi 5002 5003rm -f conftest.err conftest.$ac_ext 5004 5005done 5006# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5007rm -f conftest.err conftest.$ac_ext 5008if $ac_preproc_ok; then 5009 : 5010else 5011 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 5012$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5013{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 5014See \`config.log' for more details." >&5 5015$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 5016See \`config.log' for more details." >&2;} 5017 { (exit 1); exit 1; }; }; } 5018fi 5019 5020ac_ext=c 5021ac_cpp='$CPP $CPPFLAGS' 5022ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5023ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5024ac_compiler_gnu=$ac_cv_c_compiler_gnu 5025 5026# Find a good install program. We prefer a C program (faster), 5027# so one script is as good as another. But avoid the broken or 5028# incompatible versions: 5029# SysV /etc/install, /usr/sbin/install 5030# SunOS /usr/etc/install 5031# IRIX /sbin/install 5032# AIX /bin/install 5033# AmigaOS /C/install, which installs bootblocks on floppy discs 5034# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 5035# AFS /usr/afsws/bin/install, which mishandles nonexistent args 5036# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 5037# OS/2's system install, which has a completely different semantic 5038# ./install, which can be erroneously created by make from ./install.sh. 5039# Reject install programs that cannot install multiple files. 5040{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 5041$as_echo_n "checking for a BSD-compatible install... " >&6; } 5042if test -z "$INSTALL"; then 5043if test "${ac_cv_path_install+set}" = set; then 5044 $as_echo_n "(cached) " >&6 5045else 5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5047for as_dir in $PATH 5048do 5049 IFS=$as_save_IFS 5050 test -z "$as_dir" && as_dir=. 5051 # Account for people who put trailing slashes in PATH elements. 5052case $as_dir/ in 5053 ./ | .// | /cC/* | \ 5054 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 5055 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 5056 /usr/ucb/* ) ;; 5057 *) 5058 # OSF1 and SCO ODT 3.0 have their own names for install. 5059 # Don't use installbsd from OSF since it installs stuff as root 5060 # by default. 5061 for ac_prog in ginstall scoinst install; do 5062 for ac_exec_ext in '' $ac_executable_extensions; do 5063 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 5064 if test $ac_prog = install && 5065 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5066 # AIX install. It has an incompatible calling convention. 5067 : 5068 elif test $ac_prog = install && 5069 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 5070 # program-specific install script used by HP pwplus--don't use. 5071 : 5072 else 5073 rm -rf conftest.one conftest.two conftest.dir 5074 echo one > conftest.one 5075 echo two > conftest.two 5076 mkdir conftest.dir 5077 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 5078 test -s conftest.one && test -s conftest.two && 5079 test -s conftest.dir/conftest.one && 5080 test -s conftest.dir/conftest.two 5081 then 5082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 5083 break 3 5084 fi 5085 fi 5086 fi 5087 done 5088 done 5089 ;; 5090esac 5091 5092done 5093IFS=$as_save_IFS 5094 5095rm -rf conftest.one conftest.two conftest.dir 5096 5097fi 5098 if test "${ac_cv_path_install+set}" = set; then 5099 INSTALL=$ac_cv_path_install 5100 else 5101 # As a last resort, use the slow shell script. Don't cache a 5102 # value for INSTALL within a source directory, because that will 5103 # break other packages using the cache if that directory is 5104 # removed, or if the value is a relative name. 5105 INSTALL=$ac_install_sh 5106 fi 5107fi 5108{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 5109$as_echo "$INSTALL" >&6; } 5110 5111# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 5112# It thinks the first close brace ends the variable substitution. 5113test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 5114 5115test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 5116 5117test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 5118 5119{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 5120$as_echo_n "checking whether ln -s works... " >&6; } 5121LN_S=$as_ln_s 5122if test "$LN_S" = "ln -s"; then 5123 { $as_echo "$as_me:$LINENO: result: yes" >&5 5124$as_echo "yes" >&6; } 5125else 5126 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 5127$as_echo "no, using $LN_S" >&6; } 5128fi 5129 5130{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5131$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5132set x ${MAKE-make} 5133ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5134if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 5135 $as_echo_n "(cached) " >&6 5136else 5137 cat >conftest.make <<\_ACEOF 5138SHELL = /bin/sh 5139all: 5140 @echo '@@@%%%=$(MAKE)=@@@%%%' 5141_ACEOF 5142# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5143case `${MAKE-make} -f conftest.make 2>/dev/null` in 5144 *@@@%%%=?*=@@@%%%*) 5145 eval ac_cv_prog_make_${ac_make}_set=yes;; 5146 *) 5147 eval ac_cv_prog_make_${ac_make}_set=no;; 5148esac 5149rm -f conftest.make 5150fi 5151if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5152 { $as_echo "$as_me:$LINENO: result: yes" >&5 5153$as_echo "yes" >&6; } 5154 SET_MAKE= 5155else 5156 { $as_echo "$as_me:$LINENO: result: no" >&5 5157$as_echo "no" >&6; } 5158 SET_MAKE="MAKE=${MAKE-make}" 5159fi 5160 5161 5162{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 5163$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5164if test "${ac_cv_path_GREP+set}" = set; then 5165 $as_echo_n "(cached) " >&6 5166else 5167 if test -z "$GREP"; then 5168 ac_path_GREP_found=false 5169 # Loop through the user's path and test for each of PROGNAME-LIST 5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5171for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5172do 5173 IFS=$as_save_IFS 5174 test -z "$as_dir" && as_dir=. 5175 for ac_prog in grep ggrep; do 5176 for ac_exec_ext in '' $ac_executable_extensions; do 5177 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5178 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5179# Check for GNU ac_path_GREP and select it if it is found. 5180 # Check for GNU $ac_path_GREP 5181case `"$ac_path_GREP" --version 2>&1` in 5182*GNU*) 5183 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5184*) 5185 ac_count=0 5186 $as_echo_n 0123456789 >"conftest.in" 5187 while : 5188 do 5189 cat "conftest.in" "conftest.in" >"conftest.tmp" 5190 mv "conftest.tmp" "conftest.in" 5191 cp "conftest.in" "conftest.nl" 5192 $as_echo 'GREP' >> "conftest.nl" 5193 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5195 ac_count=`expr $ac_count + 1` 5196 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5197 # Best one so far, save it but keep looking for a better one 5198 ac_cv_path_GREP="$ac_path_GREP" 5199 ac_path_GREP_max=$ac_count 5200 fi 5201 # 10*(2^10) chars as input seems more than enough 5202 test $ac_count -gt 10 && break 5203 done 5204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5205esac 5206 5207 $ac_path_GREP_found && break 3 5208 done 5209 done 5210done 5211IFS=$as_save_IFS 5212 if test -z "$ac_cv_path_GREP"; then 5213 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5214$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5215 { (exit 1); exit 1; }; } 5216 fi 5217else 5218 ac_cv_path_GREP=$GREP 5219fi 5220 5221fi 5222{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 5223$as_echo "$ac_cv_path_GREP" >&6; } 5224 GREP="$ac_cv_path_GREP" 5225 5226 5227{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 5228$as_echo_n "checking for egrep... " >&6; } 5229if test "${ac_cv_path_EGREP+set}" = set; then 5230 $as_echo_n "(cached) " >&6 5231else 5232 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5233 then ac_cv_path_EGREP="$GREP -E" 5234 else 5235 if test -z "$EGREP"; then 5236 ac_path_EGREP_found=false 5237 # Loop through the user's path and test for each of PROGNAME-LIST 5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5239for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5240do 5241 IFS=$as_save_IFS 5242 test -z "$as_dir" && as_dir=. 5243 for ac_prog in egrep; do 5244 for ac_exec_ext in '' $ac_executable_extensions; do 5245 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5246 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5247# Check for GNU ac_path_EGREP and select it if it is found. 5248 # Check for GNU $ac_path_EGREP 5249case `"$ac_path_EGREP" --version 2>&1` in 5250*GNU*) 5251 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5252*) 5253 ac_count=0 5254 $as_echo_n 0123456789 >"conftest.in" 5255 while : 5256 do 5257 cat "conftest.in" "conftest.in" >"conftest.tmp" 5258 mv "conftest.tmp" "conftest.in" 5259 cp "conftest.in" "conftest.nl" 5260 $as_echo 'EGREP' >> "conftest.nl" 5261 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5263 ac_count=`expr $ac_count + 1` 5264 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5265 # Best one so far, save it but keep looking for a better one 5266 ac_cv_path_EGREP="$ac_path_EGREP" 5267 ac_path_EGREP_max=$ac_count 5268 fi 5269 # 10*(2^10) chars as input seems more than enough 5270 test $ac_count -gt 10 && break 5271 done 5272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5273esac 5274 5275 $ac_path_EGREP_found && break 3 5276 done 5277 done 5278done 5279IFS=$as_save_IFS 5280 if test -z "$ac_cv_path_EGREP"; then 5281 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5282$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5283 { (exit 1); exit 1; }; } 5284 fi 5285else 5286 ac_cv_path_EGREP=$EGREP 5287fi 5288 5289 fi 5290fi 5291{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 5292$as_echo "$ac_cv_path_EGREP" >&6; } 5293 EGREP="$ac_cv_path_EGREP" 5294 5295 5296{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5297$as_echo_n "checking for ANSI C header files... " >&6; } 5298if test "${ac_cv_header_stdc+set}" = set; then 5299 $as_echo_n "(cached) " >&6 5300else 5301 cat >conftest.$ac_ext <<_ACEOF 5302/* confdefs.h. */ 5303_ACEOF 5304cat confdefs.h >>conftest.$ac_ext 5305cat >>conftest.$ac_ext <<_ACEOF 5306/* end confdefs.h. */ 5307#include <stdlib.h> 5308#include <stdarg.h> 5309#include <string.h> 5310#include <float.h> 5311 5312int 5313main () 5314{ 5315 5316 ; 5317 return 0; 5318} 5319_ACEOF 5320rm -f conftest.$ac_objext 5321if { (ac_try="$ac_compile" 5322case "(($ac_try" in 5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5324 *) ac_try_echo=$ac_try;; 5325esac 5326eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5327$as_echo "$ac_try_echo") >&5 5328 (eval "$ac_compile") 2>conftest.er1 5329 ac_status=$? 5330 grep -v '^ *+' conftest.er1 >conftest.err 5331 rm -f conftest.er1 5332 cat conftest.err >&5 5333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5334 (exit $ac_status); } && { 5335 test -z "$ac_c_werror_flag" || 5336 test ! -s conftest.err 5337 } && test -s conftest.$ac_objext; then 5338 ac_cv_header_stdc=yes 5339else 5340 $as_echo "$as_me: failed program was:" >&5 5341sed 's/^/| /' conftest.$ac_ext >&5 5342 5343 ac_cv_header_stdc=no 5344fi 5345 5346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5347 5348if test $ac_cv_header_stdc = yes; then 5349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5350 cat >conftest.$ac_ext <<_ACEOF 5351/* confdefs.h. */ 5352_ACEOF 5353cat confdefs.h >>conftest.$ac_ext 5354cat >>conftest.$ac_ext <<_ACEOF 5355/* end confdefs.h. */ 5356#include <string.h> 5357 5358_ACEOF 5359if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5360 $EGREP "memchr" >/dev/null 2>&1; then 5361 : 5362else 5363 ac_cv_header_stdc=no 5364fi 5365rm -f conftest* 5366 5367fi 5368 5369if test $ac_cv_header_stdc = yes; then 5370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5371 cat >conftest.$ac_ext <<_ACEOF 5372/* confdefs.h. */ 5373_ACEOF 5374cat confdefs.h >>conftest.$ac_ext 5375cat >>conftest.$ac_ext <<_ACEOF 5376/* end confdefs.h. */ 5377#include <stdlib.h> 5378 5379_ACEOF 5380if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5381 $EGREP "free" >/dev/null 2>&1; then 5382 : 5383else 5384 ac_cv_header_stdc=no 5385fi 5386rm -f conftest* 5387 5388fi 5389 5390if test $ac_cv_header_stdc = yes; then 5391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5392 if test "$cross_compiling" = yes; then 5393 : 5394else 5395 cat >conftest.$ac_ext <<_ACEOF 5396/* confdefs.h. */ 5397_ACEOF 5398cat confdefs.h >>conftest.$ac_ext 5399cat >>conftest.$ac_ext <<_ACEOF 5400/* end confdefs.h. */ 5401#include <ctype.h> 5402#include <stdlib.h> 5403#if ((' ' & 0x0FF) == 0x020) 5404# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5405# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5406#else 5407# define ISLOWER(c) \ 5408 (('a' <= (c) && (c) <= 'i') \ 5409 || ('j' <= (c) && (c) <= 'r') \ 5410 || ('s' <= (c) && (c) <= 'z')) 5411# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5412#endif 5413 5414#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5415int 5416main () 5417{ 5418 int i; 5419 for (i = 0; i < 256; i++) 5420 if (XOR (islower (i), ISLOWER (i)) 5421 || toupper (i) != TOUPPER (i)) 5422 return 2; 5423 return 0; 5424} 5425_ACEOF 5426rm -f conftest$ac_exeext 5427if { (ac_try="$ac_link" 5428case "(($ac_try" in 5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5430 *) ac_try_echo=$ac_try;; 5431esac 5432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5433$as_echo "$ac_try_echo") >&5 5434 (eval "$ac_link") 2>&5 5435 ac_status=$? 5436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5438 { (case "(($ac_try" in 5439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5440 *) ac_try_echo=$ac_try;; 5441esac 5442eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5443$as_echo "$ac_try_echo") >&5 5444 (eval "$ac_try") 2>&5 5445 ac_status=$? 5446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5447 (exit $ac_status); }; }; then 5448 : 5449else 5450 $as_echo "$as_me: program exited with status $ac_status" >&5 5451$as_echo "$as_me: failed program was:" >&5 5452sed 's/^/| /' conftest.$ac_ext >&5 5453 5454( exit $ac_status ) 5455ac_cv_header_stdc=no 5456fi 5457rm -rf conftest.dSYM 5458rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5459fi 5460 5461 5462fi 5463fi 5464{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5465$as_echo "$ac_cv_header_stdc" >&6; } 5466if test $ac_cv_header_stdc = yes; then 5467 5468cat >>confdefs.h <<\_ACEOF 5469#define STDC_HEADERS 1 5470_ACEOF 5471 5472fi 5473 5474enable_win32_dll=yes 5475 5476case $host in 5477*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 5478 if test -n "$ac_tool_prefix"; then 5479 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 5480set dummy ${ac_tool_prefix}as; ac_word=$2 5481{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5482$as_echo_n "checking for $ac_word... " >&6; } 5483if test "${ac_cv_prog_AS+set}" = set; then 5484 $as_echo_n "(cached) " >&6 5485else 5486 if test -n "$AS"; then 5487 ac_cv_prog_AS="$AS" # Let the user override the test. 5488else 5489as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5490for as_dir in $PATH 5491do 5492 IFS=$as_save_IFS 5493 test -z "$as_dir" && as_dir=. 5494 for ac_exec_ext in '' $ac_executable_extensions; do 5495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5496 ac_cv_prog_AS="${ac_tool_prefix}as" 5497 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5498 break 2 5499 fi 5500done 5501done 5502IFS=$as_save_IFS 5503 5504fi 5505fi 5506AS=$ac_cv_prog_AS 5507if test -n "$AS"; then 5508 { $as_echo "$as_me:$LINENO: result: $AS" >&5 5509$as_echo "$AS" >&6; } 5510else 5511 { $as_echo "$as_me:$LINENO: result: no" >&5 5512$as_echo "no" >&6; } 5513fi 5514 5515 5516fi 5517if test -z "$ac_cv_prog_AS"; then 5518 ac_ct_AS=$AS 5519 # Extract the first word of "as", so it can be a program name with args. 5520set dummy as; ac_word=$2 5521{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5522$as_echo_n "checking for $ac_word... " >&6; } 5523if test "${ac_cv_prog_ac_ct_AS+set}" = set; then 5524 $as_echo_n "(cached) " >&6 5525else 5526 if test -n "$ac_ct_AS"; then 5527 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 5528else 5529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5530for as_dir in $PATH 5531do 5532 IFS=$as_save_IFS 5533 test -z "$as_dir" && as_dir=. 5534 for ac_exec_ext in '' $ac_executable_extensions; do 5535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5536 ac_cv_prog_ac_ct_AS="as" 5537 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5538 break 2 5539 fi 5540done 5541done 5542IFS=$as_save_IFS 5543 5544fi 5545fi 5546ac_ct_AS=$ac_cv_prog_ac_ct_AS 5547if test -n "$ac_ct_AS"; then 5548 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 5549$as_echo "$ac_ct_AS" >&6; } 5550else 5551 { $as_echo "$as_me:$LINENO: result: no" >&5 5552$as_echo "no" >&6; } 5553fi 5554 5555 if test "x$ac_ct_AS" = x; then 5556 AS="false" 5557 else 5558 case $cross_compiling:$ac_tool_warned in 5559yes:) 5560{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5561$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5562ac_tool_warned=yes ;; 5563esac 5564 AS=$ac_ct_AS 5565 fi 5566else 5567 AS="$ac_cv_prog_AS" 5568fi 5569 5570 if test -n "$ac_tool_prefix"; then 5571 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5572set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5573{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5574$as_echo_n "checking for $ac_word... " >&6; } 5575if test "${ac_cv_prog_DLLTOOL+set}" = set; then 5576 $as_echo_n "(cached) " >&6 5577else 5578 if test -n "$DLLTOOL"; then 5579 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5580else 5581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5582for as_dir in $PATH 5583do 5584 IFS=$as_save_IFS 5585 test -z "$as_dir" && as_dir=. 5586 for ac_exec_ext in '' $ac_executable_extensions; do 5587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5588 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5590 break 2 5591 fi 5592done 5593done 5594IFS=$as_save_IFS 5595 5596fi 5597fi 5598DLLTOOL=$ac_cv_prog_DLLTOOL 5599if test -n "$DLLTOOL"; then 5600 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 5601$as_echo "$DLLTOOL" >&6; } 5602else 5603 { $as_echo "$as_me:$LINENO: result: no" >&5 5604$as_echo "no" >&6; } 5605fi 5606 5607 5608fi 5609if test -z "$ac_cv_prog_DLLTOOL"; then 5610 ac_ct_DLLTOOL=$DLLTOOL 5611 # Extract the first word of "dlltool", so it can be a program name with args. 5612set dummy dlltool; ac_word=$2 5613{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5614$as_echo_n "checking for $ac_word... " >&6; } 5615if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 5616 $as_echo_n "(cached) " >&6 5617else 5618 if test -n "$ac_ct_DLLTOOL"; then 5619 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5620else 5621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5622for as_dir in $PATH 5623do 5624 IFS=$as_save_IFS 5625 test -z "$as_dir" && as_dir=. 5626 for ac_exec_ext in '' $ac_executable_extensions; do 5627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5628 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5630 break 2 5631 fi 5632done 5633done 5634IFS=$as_save_IFS 5635 5636fi 5637fi 5638ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5639if test -n "$ac_ct_DLLTOOL"; then 5640 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 5641$as_echo "$ac_ct_DLLTOOL" >&6; } 5642else 5643 { $as_echo "$as_me:$LINENO: result: no" >&5 5644$as_echo "no" >&6; } 5645fi 5646 5647 if test "x$ac_ct_DLLTOOL" = x; then 5648 DLLTOOL="false" 5649 else 5650 case $cross_compiling:$ac_tool_warned in 5651yes:) 5652{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5653$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5654ac_tool_warned=yes ;; 5655esac 5656 DLLTOOL=$ac_ct_DLLTOOL 5657 fi 5658else 5659 DLLTOOL="$ac_cv_prog_DLLTOOL" 5660fi 5661 5662 if test -n "$ac_tool_prefix"; then 5663 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5664set dummy ${ac_tool_prefix}objdump; ac_word=$2 5665{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5666$as_echo_n "checking for $ac_word... " >&6; } 5667if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5668 $as_echo_n "(cached) " >&6 5669else 5670 if test -n "$OBJDUMP"; then 5671 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5672else 5673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5674for as_dir in $PATH 5675do 5676 IFS=$as_save_IFS 5677 test -z "$as_dir" && as_dir=. 5678 for ac_exec_ext in '' $ac_executable_extensions; do 5679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5680 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5681 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5682 break 2 5683 fi 5684done 5685done 5686IFS=$as_save_IFS 5687 5688fi 5689fi 5690OBJDUMP=$ac_cv_prog_OBJDUMP 5691if test -n "$OBJDUMP"; then 5692 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5693$as_echo "$OBJDUMP" >&6; } 5694else 5695 { $as_echo "$as_me:$LINENO: result: no" >&5 5696$as_echo "no" >&6; } 5697fi 5698 5699 5700fi 5701if test -z "$ac_cv_prog_OBJDUMP"; then 5702 ac_ct_OBJDUMP=$OBJDUMP 5703 # Extract the first word of "objdump", so it can be a program name with args. 5704set dummy objdump; ac_word=$2 5705{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5706$as_echo_n "checking for $ac_word... " >&6; } 5707if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5708 $as_echo_n "(cached) " >&6 5709else 5710 if test -n "$ac_ct_OBJDUMP"; then 5711 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5712else 5713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5714for as_dir in $PATH 5715do 5716 IFS=$as_save_IFS 5717 test -z "$as_dir" && as_dir=. 5718 for ac_exec_ext in '' $ac_executable_extensions; do 5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5720 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5721 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5722 break 2 5723 fi 5724done 5725done 5726IFS=$as_save_IFS 5727 5728fi 5729fi 5730ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5731if test -n "$ac_ct_OBJDUMP"; then 5732 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5733$as_echo "$ac_ct_OBJDUMP" >&6; } 5734else 5735 { $as_echo "$as_me:$LINENO: result: no" >&5 5736$as_echo "no" >&6; } 5737fi 5738 5739 if test "x$ac_ct_OBJDUMP" = x; then 5740 OBJDUMP="false" 5741 else 5742 case $cross_compiling:$ac_tool_warned in 5743yes:) 5744{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5745$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5746ac_tool_warned=yes ;; 5747esac 5748 OBJDUMP=$ac_ct_OBJDUMP 5749 fi 5750else 5751 OBJDUMP="$ac_cv_prog_OBJDUMP" 5752fi 5753 5754 ;; 5755esac 5756 5757test -z "$AS" && AS=as 5758 5759 5760 5761 5762 5763test -z "$DLLTOOL" && DLLTOOL=dlltool 5764 5765 5766 5767 5768 5769test -z "$OBJDUMP" && OBJDUMP=objdump 5770 5771 5772 5773 5774 5775 5776 5777case `pwd` in 5778 *\ * | *\ *) 5779 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5780$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5781esac 5782 5783 5784 5785macro_version='2.2.6b' 5786macro_revision='1.3017' 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800ltmain="$ac_aux_dir/ltmain.sh" 5801 5802{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 5803$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5804if test "${ac_cv_path_SED+set}" = set; then 5805 $as_echo_n "(cached) " >&6 5806else 5807 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5808 for ac_i in 1 2 3 4 5 6 7; do 5809 ac_script="$ac_script$as_nl$ac_script" 5810 done 5811 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5812 $as_unset ac_script || ac_script= 5813 if test -z "$SED"; then 5814 ac_path_SED_found=false 5815 # Loop through the user's path and test for each of PROGNAME-LIST 5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5817for as_dir in $PATH 5818do 5819 IFS=$as_save_IFS 5820 test -z "$as_dir" && as_dir=. 5821 for ac_prog in sed gsed; do 5822 for ac_exec_ext in '' $ac_executable_extensions; do 5823 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5824 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5825# Check for GNU ac_path_SED and select it if it is found. 5826 # Check for GNU $ac_path_SED 5827case `"$ac_path_SED" --version 2>&1` in 5828*GNU*) 5829 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5830*) 5831 ac_count=0 5832 $as_echo_n 0123456789 >"conftest.in" 5833 while : 5834 do 5835 cat "conftest.in" "conftest.in" >"conftest.tmp" 5836 mv "conftest.tmp" "conftest.in" 5837 cp "conftest.in" "conftest.nl" 5838 $as_echo '' >> "conftest.nl" 5839 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5841 ac_count=`expr $ac_count + 1` 5842 if test $ac_count -gt ${ac_path_SED_max-0}; then 5843 # Best one so far, save it but keep looking for a better one 5844 ac_cv_path_SED="$ac_path_SED" 5845 ac_path_SED_max=$ac_count 5846 fi 5847 # 10*(2^10) chars as input seems more than enough 5848 test $ac_count -gt 10 && break 5849 done 5850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5851esac 5852 5853 $ac_path_SED_found && break 3 5854 done 5855 done 5856done 5857IFS=$as_save_IFS 5858 if test -z "$ac_cv_path_SED"; then 5859 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 5860$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 5861 { (exit 1); exit 1; }; } 5862 fi 5863else 5864 ac_cv_path_SED=$SED 5865fi 5866 5867fi 5868{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 5869$as_echo "$ac_cv_path_SED" >&6; } 5870 SED="$ac_cv_path_SED" 5871 rm -f conftest.sed 5872 5873test -z "$SED" && SED=sed 5874Xsed="$SED -e 1s/^X//" 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 5887$as_echo_n "checking for fgrep... " >&6; } 5888if test "${ac_cv_path_FGREP+set}" = set; then 5889 $as_echo_n "(cached) " >&6 5890else 5891 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5892 then ac_cv_path_FGREP="$GREP -F" 5893 else 5894 if test -z "$FGREP"; then 5895 ac_path_FGREP_found=false 5896 # Loop through the user's path and test for each of PROGNAME-LIST 5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5898for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5899do 5900 IFS=$as_save_IFS 5901 test -z "$as_dir" && as_dir=. 5902 for ac_prog in fgrep; do 5903 for ac_exec_ext in '' $ac_executable_extensions; do 5904 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5905 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5906# Check for GNU ac_path_FGREP and select it if it is found. 5907 # Check for GNU $ac_path_FGREP 5908case `"$ac_path_FGREP" --version 2>&1` in 5909*GNU*) 5910 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5911*) 5912 ac_count=0 5913 $as_echo_n 0123456789 >"conftest.in" 5914 while : 5915 do 5916 cat "conftest.in" "conftest.in" >"conftest.tmp" 5917 mv "conftest.tmp" "conftest.in" 5918 cp "conftest.in" "conftest.nl" 5919 $as_echo 'FGREP' >> "conftest.nl" 5920 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5922 ac_count=`expr $ac_count + 1` 5923 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5924 # Best one so far, save it but keep looking for a better one 5925 ac_cv_path_FGREP="$ac_path_FGREP" 5926 ac_path_FGREP_max=$ac_count 5927 fi 5928 # 10*(2^10) chars as input seems more than enough 5929 test $ac_count -gt 10 && break 5930 done 5931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5932esac 5933 5934 $ac_path_FGREP_found && break 3 5935 done 5936 done 5937done 5938IFS=$as_save_IFS 5939 if test -z "$ac_cv_path_FGREP"; then 5940 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5941$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5942 { (exit 1); exit 1; }; } 5943 fi 5944else 5945 ac_cv_path_FGREP=$FGREP 5946fi 5947 5948 fi 5949fi 5950{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 5951$as_echo "$ac_cv_path_FGREP" >&6; } 5952 FGREP="$ac_cv_path_FGREP" 5953 5954 5955test -z "$GREP" && GREP=grep 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975# Check whether --with-gnu-ld was given. 5976if test "${with_gnu_ld+set}" = set; then 5977 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5978else 5979 with_gnu_ld=no 5980fi 5981 5982ac_prog=ld 5983if test "$GCC" = yes; then 5984 # Check if gcc -print-prog-name=ld gives a path. 5985 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 5986$as_echo_n "checking for ld used by $CC... " >&6; } 5987 case $host in 5988 *-*-mingw*) 5989 # gcc leaves a trailing carriage return which upsets mingw 5990 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5991 *) 5992 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5993 esac 5994 case $ac_prog in 5995 # Accept absolute paths. 5996 [\\/]* | ?:[\\/]*) 5997 re_direlt='/[^/][^/]*/\.\./' 5998 # Canonicalize the pathname of ld 5999 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6000 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6001 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6002 done 6003 test -z "$LD" && LD="$ac_prog" 6004 ;; 6005 "") 6006 # If it fails, then pretend we aren't using GCC. 6007 ac_prog=ld 6008 ;; 6009 *) 6010 # If it is relative, then search for the first ld in PATH. 6011 with_gnu_ld=unknown 6012 ;; 6013 esac 6014elif test "$with_gnu_ld" = yes; then 6015 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 6016$as_echo_n "checking for GNU ld... " >&6; } 6017else 6018 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 6019$as_echo_n "checking for non-GNU ld... " >&6; } 6020fi 6021if test "${lt_cv_path_LD+set}" = set; then 6022 $as_echo_n "(cached) " >&6 6023else 6024 if test -z "$LD"; then 6025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6026 for ac_dir in $PATH; do 6027 IFS="$lt_save_ifs" 6028 test -z "$ac_dir" && ac_dir=. 6029 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6030 lt_cv_path_LD="$ac_dir/$ac_prog" 6031 # Check to see if the program is GNU ld. I'd rather use --version, 6032 # but apparently some variants of GNU ld only accept -v. 6033 # Break only if it was the GNU/non-GNU ld that we prefer. 6034 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6035 *GNU* | *'with BFD'*) 6036 test "$with_gnu_ld" != no && break 6037 ;; 6038 *) 6039 test "$with_gnu_ld" != yes && break 6040 ;; 6041 esac 6042 fi 6043 done 6044 IFS="$lt_save_ifs" 6045else 6046 lt_cv_path_LD="$LD" # Let the user override the test with a path. 6047fi 6048fi 6049 6050LD="$lt_cv_path_LD" 6051if test -n "$LD"; then 6052 { $as_echo "$as_me:$LINENO: result: $LD" >&5 6053$as_echo "$LD" >&6; } 6054else 6055 { $as_echo "$as_me:$LINENO: result: no" >&5 6056$as_echo "no" >&6; } 6057fi 6058test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 6059$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 6060 { (exit 1); exit 1; }; } 6061{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 6062$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6063if test "${lt_cv_prog_gnu_ld+set}" = set; then 6064 $as_echo_n "(cached) " >&6 6065else 6066 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6067case `$LD -v 2>&1 </dev/null` in 6068*GNU* | *'with BFD'*) 6069 lt_cv_prog_gnu_ld=yes 6070 ;; 6071*) 6072 lt_cv_prog_gnu_ld=no 6073 ;; 6074esac 6075fi 6076{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 6077$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6078with_gnu_ld=$lt_cv_prog_gnu_ld 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 6089$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6090if test "${lt_cv_path_NM+set}" = set; then 6091 $as_echo_n "(cached) " >&6 6092else 6093 if test -n "$NM"; then 6094 # Let the user override the test. 6095 lt_cv_path_NM="$NM" 6096else 6097 lt_nm_to_check="${ac_tool_prefix}nm" 6098 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6099 lt_nm_to_check="$lt_nm_to_check nm" 6100 fi 6101 for lt_tmp_nm in $lt_nm_to_check; do 6102 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 6103 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6104 IFS="$lt_save_ifs" 6105 test -z "$ac_dir" && ac_dir=. 6106 tmp_nm="$ac_dir/$lt_tmp_nm" 6107 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 6108 # Check to see if the nm accepts a BSD-compat flag. 6109 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 6110 # nm: unknown option "B" ignored 6111 # Tru64's nm complains that /dev/null is an invalid object file 6112 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 6113 */dev/null* | *'Invalid file or object type'*) 6114 lt_cv_path_NM="$tmp_nm -B" 6115 break 6116 ;; 6117 *) 6118 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6119 */dev/null*) 6120 lt_cv_path_NM="$tmp_nm -p" 6121 break 6122 ;; 6123 *) 6124 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6125 continue # so that we can try to find one that supports BSD flags 6126 ;; 6127 esac 6128 ;; 6129 esac 6130 fi 6131 done 6132 IFS="$lt_save_ifs" 6133 done 6134 : ${lt_cv_path_NM=no} 6135fi 6136fi 6137{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 6138$as_echo "$lt_cv_path_NM" >&6; } 6139if test "$lt_cv_path_NM" != "no"; then 6140 NM="$lt_cv_path_NM" 6141else 6142 # Didn't find any BSD compatible name lister, look for dumpbin. 6143 if test -n "$ac_tool_prefix"; then 6144 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6145 do 6146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6147set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6148{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6149$as_echo_n "checking for $ac_word... " >&6; } 6150if test "${ac_cv_prog_DUMPBIN+set}" = set; then 6151 $as_echo_n "(cached) " >&6 6152else 6153 if test -n "$DUMPBIN"; then 6154 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6155else 6156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6157for as_dir in $PATH 6158do 6159 IFS=$as_save_IFS 6160 test -z "$as_dir" && as_dir=. 6161 for ac_exec_ext in '' $ac_executable_extensions; do 6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6163 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6164 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6165 break 2 6166 fi 6167done 6168done 6169IFS=$as_save_IFS 6170 6171fi 6172fi 6173DUMPBIN=$ac_cv_prog_DUMPBIN 6174if test -n "$DUMPBIN"; then 6175 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 6176$as_echo "$DUMPBIN" >&6; } 6177else 6178 { $as_echo "$as_me:$LINENO: result: no" >&5 6179$as_echo "no" >&6; } 6180fi 6181 6182 6183 test -n "$DUMPBIN" && break 6184 done 6185fi 6186if test -z "$DUMPBIN"; then 6187 ac_ct_DUMPBIN=$DUMPBIN 6188 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 6189do 6190 # Extract the first word of "$ac_prog", so it can be a program name with args. 6191set dummy $ac_prog; ac_word=$2 6192{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6193$as_echo_n "checking for $ac_word... " >&6; } 6194if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 6195 $as_echo_n "(cached) " >&6 6196else 6197 if test -n "$ac_ct_DUMPBIN"; then 6198 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6199else 6200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6201for as_dir in $PATH 6202do 6203 IFS=$as_save_IFS 6204 test -z "$as_dir" && as_dir=. 6205 for ac_exec_ext in '' $ac_executable_extensions; do 6206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6207 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6208 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6209 break 2 6210 fi 6211done 6212done 6213IFS=$as_save_IFS 6214 6215fi 6216fi 6217ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6218if test -n "$ac_ct_DUMPBIN"; then 6219 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 6220$as_echo "$ac_ct_DUMPBIN" >&6; } 6221else 6222 { $as_echo "$as_me:$LINENO: result: no" >&5 6223$as_echo "no" >&6; } 6224fi 6225 6226 6227 test -n "$ac_ct_DUMPBIN" && break 6228done 6229 6230 if test "x$ac_ct_DUMPBIN" = x; then 6231 DUMPBIN=":" 6232 else 6233 case $cross_compiling:$ac_tool_warned in 6234yes:) 6235{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6236$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6237ac_tool_warned=yes ;; 6238esac 6239 DUMPBIN=$ac_ct_DUMPBIN 6240 fi 6241fi 6242 6243 6244 if test "$DUMPBIN" != ":"; then 6245 NM="$DUMPBIN" 6246 fi 6247fi 6248test -z "$NM" && NM=nm 6249 6250 6251 6252 6253 6254 6255{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 6256$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6257if test "${lt_cv_nm_interface+set}" = set; then 6258 $as_echo_n "(cached) " >&6 6259else 6260 lt_cv_nm_interface="BSD nm" 6261 echo "int some_variable = 0;" > conftest.$ac_ext 6262 (eval echo "\"\$as_me:6262: $ac_compile\"" >&5) 6263 (eval "$ac_compile" 2>conftest.err) 6264 cat conftest.err >&5 6265 (eval echo "\"\$as_me:6265: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6266 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6267 cat conftest.err >&5 6268 (eval echo "\"\$as_me:6268: output\"" >&5) 6269 cat conftest.out >&5 6270 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6271 lt_cv_nm_interface="MS dumpbin" 6272 fi 6273 rm -f conftest* 6274fi 6275{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 6276$as_echo "$lt_cv_nm_interface" >&6; } 6277 6278# find the maximum length of command line arguments 6279{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 6280$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6281if test "${lt_cv_sys_max_cmd_len+set}" = set; then 6282 $as_echo_n "(cached) " >&6 6283else 6284 i=0 6285 teststring="ABCD" 6286 6287 case $build_os in 6288 msdosdjgpp*) 6289 # On DJGPP, this test can blow up pretty badly due to problems in libc 6290 # (any single argument exceeding 2000 bytes causes a buffer overrun 6291 # during glob expansion). Even if it were fixed, the result of this 6292 # check would be larger than it should be. 6293 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6294 ;; 6295 6296 gnu*) 6297 # Under GNU Hurd, this test is not required because there is 6298 # no limit to the length of command line arguments. 6299 # Libtool will interpret -1 as no limit whatsoever 6300 lt_cv_sys_max_cmd_len=-1; 6301 ;; 6302 6303 cygwin* | mingw* | cegcc*) 6304 # On Win9x/ME, this test blows up -- it succeeds, but takes 6305 # about 5 minutes as the teststring grows exponentially. 6306 # Worse, since 9x/ME are not pre-emptively multitasking, 6307 # you end up with a "frozen" computer, even though with patience 6308 # the test eventually succeeds (with a max line length of 256k). 6309 # Instead, let's just punt: use the minimum linelength reported by 6310 # all of the supported platforms: 8192 (on NT/2K/XP). 6311 lt_cv_sys_max_cmd_len=8192; 6312 ;; 6313 6314 amigaos*) 6315 # On AmigaOS with pdksh, this test takes hours, literally. 6316 # So we just punt and use a minimum line length of 8192. 6317 lt_cv_sys_max_cmd_len=8192; 6318 ;; 6319 6320 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 6321 # This has been around since 386BSD, at least. Likely further. 6322 if test -x /sbin/sysctl; then 6323 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6324 elif test -x /usr/sbin/sysctl; then 6325 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6326 else 6327 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6328 fi 6329 # And add a safety zone 6330 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6331 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6332 ;; 6333 6334 interix*) 6335 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6336 lt_cv_sys_max_cmd_len=196608 6337 ;; 6338 6339 osf*) 6340 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6341 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6342 # nice to cause kernel panics so lets avoid the loop below. 6343 # First set a reasonable default. 6344 lt_cv_sys_max_cmd_len=16384 6345 # 6346 if test -x /sbin/sysconfig; then 6347 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6348 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6349 esac 6350 fi 6351 ;; 6352 sco3.2v5*) 6353 lt_cv_sys_max_cmd_len=102400 6354 ;; 6355 sysv5* | sco5v6* | sysv4.2uw2*) 6356 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6357 if test -n "$kargmax"; then 6358 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6359 else 6360 lt_cv_sys_max_cmd_len=32768 6361 fi 6362 ;; 6363 *) 6364 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6365 if test -n "$lt_cv_sys_max_cmd_len"; then 6366 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6367 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6368 else 6369 # Make teststring a little bigger before we do anything with it. 6370 # a 1K string should be a reasonable start. 6371 for i in 1 2 3 4 5 6 7 8 ; do 6372 teststring=$teststring$teststring 6373 done 6374 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6375 # If test is not a shell built-in, we'll probably end up computing a 6376 # maximum length that is only half of the actual maximum length, but 6377 # we can't tell. 6378 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 6379 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 6380 test $i != 17 # 1/2 MB should be enough 6381 do 6382 i=`expr $i + 1` 6383 teststring=$teststring$teststring 6384 done 6385 # Only check the string length outside the loop. 6386 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6387 teststring= 6388 # Add a significant safety factor because C++ compilers can tack on 6389 # massive amounts of additional arguments before passing them to the 6390 # linker. It appears as though 1/2 is a usable value. 6391 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6392 fi 6393 ;; 6394 esac 6395 6396fi 6397 6398if test -n $lt_cv_sys_max_cmd_len ; then 6399 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 6400$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6401else 6402 { $as_echo "$as_me:$LINENO: result: none" >&5 6403$as_echo "none" >&6; } 6404fi 6405max_cmd_len=$lt_cv_sys_max_cmd_len 6406 6407 6408 6409 6410 6411 6412: ${CP="cp -f"} 6413: ${MV="mv -f"} 6414: ${RM="rm -f"} 6415 6416{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 6417$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 6418# Try some XSI features 6419xsi_shell=no 6420( _lt_dummy="a/b/c" 6421 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 6422 = c,a/b,, \ 6423 && eval 'test $(( 1 + 1 )) -eq 2 \ 6424 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 6425 && xsi_shell=yes 6426{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 6427$as_echo "$xsi_shell" >&6; } 6428 6429 6430{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 6431$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 6432lt_shell_append=no 6433( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 6434 >/dev/null 2>&1 \ 6435 && lt_shell_append=yes 6436{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 6437$as_echo "$lt_shell_append" >&6; } 6438 6439 6440if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6441 lt_unset=unset 6442else 6443 lt_unset=false 6444fi 6445 6446 6447 6448 6449 6450# test EBCDIC or ASCII 6451case `echo X|tr X '\101'` in 6452 A) # ASCII based system 6453 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6454 lt_SP2NL='tr \040 \012' 6455 lt_NL2SP='tr \015\012 \040\040' 6456 ;; 6457 *) # EBCDIC based system 6458 lt_SP2NL='tr \100 \n' 6459 lt_NL2SP='tr \r\n \100\100' 6460 ;; 6461esac 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 6472$as_echo_n "checking for $LD option to reload object files... " >&6; } 6473if test "${lt_cv_ld_reload_flag+set}" = set; then 6474 $as_echo_n "(cached) " >&6 6475else 6476 lt_cv_ld_reload_flag='-r' 6477fi 6478{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 6479$as_echo "$lt_cv_ld_reload_flag" >&6; } 6480reload_flag=$lt_cv_ld_reload_flag 6481case $reload_flag in 6482"" | " "*) ;; 6483*) reload_flag=" $reload_flag" ;; 6484esac 6485reload_cmds='$LD$reload_flag -o $output$reload_objs' 6486case $host_os in 6487 darwin*) 6488 if test "$GCC" = yes; then 6489 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 6490 else 6491 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6492 fi 6493 ;; 6494esac 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504if test -n "$ac_tool_prefix"; then 6505 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6506set dummy ${ac_tool_prefix}objdump; ac_word=$2 6507{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6508$as_echo_n "checking for $ac_word... " >&6; } 6509if test "${ac_cv_prog_OBJDUMP+set}" = set; then 6510 $as_echo_n "(cached) " >&6 6511else 6512 if test -n "$OBJDUMP"; then 6513 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6514else 6515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6516for as_dir in $PATH 6517do 6518 IFS=$as_save_IFS 6519 test -z "$as_dir" && as_dir=. 6520 for ac_exec_ext in '' $ac_executable_extensions; do 6521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6522 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6523 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6524 break 2 6525 fi 6526done 6527done 6528IFS=$as_save_IFS 6529 6530fi 6531fi 6532OBJDUMP=$ac_cv_prog_OBJDUMP 6533if test -n "$OBJDUMP"; then 6534 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 6535$as_echo "$OBJDUMP" >&6; } 6536else 6537 { $as_echo "$as_me:$LINENO: result: no" >&5 6538$as_echo "no" >&6; } 6539fi 6540 6541 6542fi 6543if test -z "$ac_cv_prog_OBJDUMP"; then 6544 ac_ct_OBJDUMP=$OBJDUMP 6545 # Extract the first word of "objdump", so it can be a program name with args. 6546set dummy objdump; ac_word=$2 6547{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6548$as_echo_n "checking for $ac_word... " >&6; } 6549if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 6550 $as_echo_n "(cached) " >&6 6551else 6552 if test -n "$ac_ct_OBJDUMP"; then 6553 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6554else 6555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6556for as_dir in $PATH 6557do 6558 IFS=$as_save_IFS 6559 test -z "$as_dir" && as_dir=. 6560 for ac_exec_ext in '' $ac_executable_extensions; do 6561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6562 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6563 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6564 break 2 6565 fi 6566done 6567done 6568IFS=$as_save_IFS 6569 6570fi 6571fi 6572ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6573if test -n "$ac_ct_OBJDUMP"; then 6574 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 6575$as_echo "$ac_ct_OBJDUMP" >&6; } 6576else 6577 { $as_echo "$as_me:$LINENO: result: no" >&5 6578$as_echo "no" >&6; } 6579fi 6580 6581 if test "x$ac_ct_OBJDUMP" = x; then 6582 OBJDUMP="false" 6583 else 6584 case $cross_compiling:$ac_tool_warned in 6585yes:) 6586{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6587$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6588ac_tool_warned=yes ;; 6589esac 6590 OBJDUMP=$ac_ct_OBJDUMP 6591 fi 6592else 6593 OBJDUMP="$ac_cv_prog_OBJDUMP" 6594fi 6595 6596test -z "$OBJDUMP" && OBJDUMP=objdump 6597 6598 6599 6600 6601 6602 6603{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 6604$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6605if test "${lt_cv_deplibs_check_method+set}" = set; then 6606 $as_echo_n "(cached) " >&6 6607else 6608 lt_cv_file_magic_cmd='$MAGIC_CMD' 6609lt_cv_file_magic_test_file= 6610lt_cv_deplibs_check_method='unknown' 6611# Need to set the preceding variable on all platforms that support 6612# interlibrary dependencies. 6613# 'none' -- dependencies not supported. 6614# `unknown' -- same as none, but documents that we really don't know. 6615# 'pass_all' -- all dependencies passed with no checks. 6616# 'test_compile' -- check by making test program. 6617# 'file_magic [[regex]]' -- check by looking for files in library path 6618# which responds to the $file_magic_cmd with a given extended regex. 6619# If you have `file' or equivalent on your system and you're not sure 6620# whether `pass_all' will *always* work, you probably want this one. 6621 6622case $host_os in 6623aix[4-9]*) 6624 lt_cv_deplibs_check_method=pass_all 6625 ;; 6626 6627beos*) 6628 lt_cv_deplibs_check_method=pass_all 6629 ;; 6630 6631bsdi[45]*) 6632 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6633 lt_cv_file_magic_cmd='/usr/bin/file -L' 6634 lt_cv_file_magic_test_file=/shlib/libc.so 6635 ;; 6636 6637cygwin*) 6638 # func_win32_libid is a shell function defined in ltmain.sh 6639 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6640 lt_cv_file_magic_cmd='func_win32_libid' 6641 ;; 6642 6643mingw* | pw32*) 6644 # Base MSYS/MinGW do not provide the 'file' command needed by 6645 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6646 # unless we find 'file', for example because we are cross-compiling. 6647 if ( file / ) >/dev/null 2>&1; then 6648 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6649 lt_cv_file_magic_cmd='func_win32_libid' 6650 else 6651 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 6652 lt_cv_file_magic_cmd='$OBJDUMP -f' 6653 fi 6654 ;; 6655 6656cegcc) 6657 # use the weaker test based on 'objdump'. See mingw*. 6658 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6659 lt_cv_file_magic_cmd='$OBJDUMP -f' 6660 ;; 6661 6662darwin* | rhapsody*) 6663 lt_cv_deplibs_check_method=pass_all 6664 ;; 6665 6666freebsd* | dragonfly*) 6667 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6668 case $host_cpu in 6669 i*86 ) 6670 # Not sure whether the presence of OpenBSD here was a mistake. 6671 # Let's accept both of them until this is cleared up. 6672 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6673 lt_cv_file_magic_cmd=/usr/bin/file 6674 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6675 ;; 6676 esac 6677 else 6678 lt_cv_deplibs_check_method=pass_all 6679 fi 6680 ;; 6681 6682gnu*) 6683 lt_cv_deplibs_check_method=pass_all 6684 ;; 6685 6686hpux10.20* | hpux11*) 6687 lt_cv_file_magic_cmd=/usr/bin/file 6688 case $host_cpu in 6689 ia64*) 6690 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6691 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6692 ;; 6693 hppa*64*) 6694 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]' 6695 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6696 ;; 6697 *) 6698 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 6699 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6700 ;; 6701 esac 6702 ;; 6703 6704interix[3-9]*) 6705 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6706 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6707 ;; 6708 6709irix5* | irix6* | nonstopux*) 6710 case $LD in 6711 *-32|*"-32 ") libmagic=32-bit;; 6712 *-n32|*"-n32 ") libmagic=N32;; 6713 *-64|*"-64 ") libmagic=64-bit;; 6714 *) libmagic=never-match;; 6715 esac 6716 lt_cv_deplibs_check_method=pass_all 6717 ;; 6718 6719# This must be Linux ELF. 6720linux* | k*bsd*-gnu) 6721 lt_cv_deplibs_check_method=pass_all 6722 ;; 6723 6724netbsd*) 6725 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6726 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6727 else 6728 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6729 fi 6730 ;; 6731 6732newos6*) 6733 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6734 lt_cv_file_magic_cmd=/usr/bin/file 6735 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6736 ;; 6737 6738*nto* | *qnx*) 6739 lt_cv_deplibs_check_method=pass_all 6740 ;; 6741 6742openbsd*) 6743 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6744 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6745 else 6746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6747 fi 6748 ;; 6749 6750osf3* | osf4* | osf5*) 6751 lt_cv_deplibs_check_method=pass_all 6752 ;; 6753 6754rdos*) 6755 lt_cv_deplibs_check_method=pass_all 6756 ;; 6757 6758solaris*) 6759 lt_cv_deplibs_check_method=pass_all 6760 ;; 6761 6762sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6763 lt_cv_deplibs_check_method=pass_all 6764 ;; 6765 6766sysv4 | sysv4.3*) 6767 case $host_vendor in 6768 motorola) 6769 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]' 6770 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6771 ;; 6772 ncr) 6773 lt_cv_deplibs_check_method=pass_all 6774 ;; 6775 sequent) 6776 lt_cv_file_magic_cmd='/bin/file' 6777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6778 ;; 6779 sni) 6780 lt_cv_file_magic_cmd='/bin/file' 6781 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6782 lt_cv_file_magic_test_file=/lib/libc.so 6783 ;; 6784 siemens) 6785 lt_cv_deplibs_check_method=pass_all 6786 ;; 6787 pc) 6788 lt_cv_deplibs_check_method=pass_all 6789 ;; 6790 esac 6791 ;; 6792 6793tpf*) 6794 lt_cv_deplibs_check_method=pass_all 6795 ;; 6796esac 6797 6798fi 6799{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 6800$as_echo "$lt_cv_deplibs_check_method" >&6; } 6801file_magic_cmd=$lt_cv_file_magic_cmd 6802deplibs_check_method=$lt_cv_deplibs_check_method 6803test -z "$deplibs_check_method" && deplibs_check_method=unknown 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816if test -n "$ac_tool_prefix"; then 6817 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6818set dummy ${ac_tool_prefix}ar; ac_word=$2 6819{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6820$as_echo_n "checking for $ac_word... " >&6; } 6821if test "${ac_cv_prog_AR+set}" = set; then 6822 $as_echo_n "(cached) " >&6 6823else 6824 if test -n "$AR"; then 6825 ac_cv_prog_AR="$AR" # Let the user override the test. 6826else 6827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6828for as_dir in $PATH 6829do 6830 IFS=$as_save_IFS 6831 test -z "$as_dir" && as_dir=. 6832 for ac_exec_ext in '' $ac_executable_extensions; do 6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6834 ac_cv_prog_AR="${ac_tool_prefix}ar" 6835 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6836 break 2 6837 fi 6838done 6839done 6840IFS=$as_save_IFS 6841 6842fi 6843fi 6844AR=$ac_cv_prog_AR 6845if test -n "$AR"; then 6846 { $as_echo "$as_me:$LINENO: result: $AR" >&5 6847$as_echo "$AR" >&6; } 6848else 6849 { $as_echo "$as_me:$LINENO: result: no" >&5 6850$as_echo "no" >&6; } 6851fi 6852 6853 6854fi 6855if test -z "$ac_cv_prog_AR"; then 6856 ac_ct_AR=$AR 6857 # Extract the first word of "ar", so it can be a program name with args. 6858set dummy ar; ac_word=$2 6859{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6860$as_echo_n "checking for $ac_word... " >&6; } 6861if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 6862 $as_echo_n "(cached) " >&6 6863else 6864 if test -n "$ac_ct_AR"; then 6865 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6866else 6867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6868for as_dir in $PATH 6869do 6870 IFS=$as_save_IFS 6871 test -z "$as_dir" && as_dir=. 6872 for ac_exec_ext in '' $ac_executable_extensions; do 6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6874 ac_cv_prog_ac_ct_AR="ar" 6875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6876 break 2 6877 fi 6878done 6879done 6880IFS=$as_save_IFS 6881 6882fi 6883fi 6884ac_ct_AR=$ac_cv_prog_ac_ct_AR 6885if test -n "$ac_ct_AR"; then 6886 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 6887$as_echo "$ac_ct_AR" >&6; } 6888else 6889 { $as_echo "$as_me:$LINENO: result: no" >&5 6890$as_echo "no" >&6; } 6891fi 6892 6893 if test "x$ac_ct_AR" = x; then 6894 AR="false" 6895 else 6896 case $cross_compiling:$ac_tool_warned in 6897yes:) 6898{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6899$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6900ac_tool_warned=yes ;; 6901esac 6902 AR=$ac_ct_AR 6903 fi 6904else 6905 AR="$ac_cv_prog_AR" 6906fi 6907 6908test -z "$AR" && AR=ar 6909test -z "$AR_FLAGS" && AR_FLAGS=cru 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921if test -n "$ac_tool_prefix"; then 6922 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6923set dummy ${ac_tool_prefix}strip; ac_word=$2 6924{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6925$as_echo_n "checking for $ac_word... " >&6; } 6926if test "${ac_cv_prog_STRIP+set}" = set; then 6927 $as_echo_n "(cached) " >&6 6928else 6929 if test -n "$STRIP"; then 6930 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6931else 6932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6933for as_dir in $PATH 6934do 6935 IFS=$as_save_IFS 6936 test -z "$as_dir" && as_dir=. 6937 for ac_exec_ext in '' $ac_executable_extensions; do 6938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6939 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6940 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6941 break 2 6942 fi 6943done 6944done 6945IFS=$as_save_IFS 6946 6947fi 6948fi 6949STRIP=$ac_cv_prog_STRIP 6950if test -n "$STRIP"; then 6951 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 6952$as_echo "$STRIP" >&6; } 6953else 6954 { $as_echo "$as_me:$LINENO: result: no" >&5 6955$as_echo "no" >&6; } 6956fi 6957 6958 6959fi 6960if test -z "$ac_cv_prog_STRIP"; then 6961 ac_ct_STRIP=$STRIP 6962 # Extract the first word of "strip", so it can be a program name with args. 6963set dummy strip; ac_word=$2 6964{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6965$as_echo_n "checking for $ac_word... " >&6; } 6966if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 6967 $as_echo_n "(cached) " >&6 6968else 6969 if test -n "$ac_ct_STRIP"; then 6970 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6971else 6972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6973for as_dir in $PATH 6974do 6975 IFS=$as_save_IFS 6976 test -z "$as_dir" && as_dir=. 6977 for ac_exec_ext in '' $ac_executable_extensions; do 6978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6979 ac_cv_prog_ac_ct_STRIP="strip" 6980 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6981 break 2 6982 fi 6983done 6984done 6985IFS=$as_save_IFS 6986 6987fi 6988fi 6989ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6990if test -n "$ac_ct_STRIP"; then 6991 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 6992$as_echo "$ac_ct_STRIP" >&6; } 6993else 6994 { $as_echo "$as_me:$LINENO: result: no" >&5 6995$as_echo "no" >&6; } 6996fi 6997 6998 if test "x$ac_ct_STRIP" = x; then 6999 STRIP=":" 7000 else 7001 case $cross_compiling:$ac_tool_warned in 7002yes:) 7003{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7005ac_tool_warned=yes ;; 7006esac 7007 STRIP=$ac_ct_STRIP 7008 fi 7009else 7010 STRIP="$ac_cv_prog_STRIP" 7011fi 7012 7013test -z "$STRIP" && STRIP=: 7014 7015 7016 7017 7018 7019 7020if test -n "$ac_tool_prefix"; then 7021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7022set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7023{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7024$as_echo_n "checking for $ac_word... " >&6; } 7025if test "${ac_cv_prog_RANLIB+set}" = set; then 7026 $as_echo_n "(cached) " >&6 7027else 7028 if test -n "$RANLIB"; then 7029 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7030else 7031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7032for as_dir in $PATH 7033do 7034 IFS=$as_save_IFS 7035 test -z "$as_dir" && as_dir=. 7036 for ac_exec_ext in '' $ac_executable_extensions; do 7037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7038 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7039 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7040 break 2 7041 fi 7042done 7043done 7044IFS=$as_save_IFS 7045 7046fi 7047fi 7048RANLIB=$ac_cv_prog_RANLIB 7049if test -n "$RANLIB"; then 7050 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 7051$as_echo "$RANLIB" >&6; } 7052else 7053 { $as_echo "$as_me:$LINENO: result: no" >&5 7054$as_echo "no" >&6; } 7055fi 7056 7057 7058fi 7059if test -z "$ac_cv_prog_RANLIB"; then 7060 ac_ct_RANLIB=$RANLIB 7061 # Extract the first word of "ranlib", so it can be a program name with args. 7062set dummy ranlib; ac_word=$2 7063{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7064$as_echo_n "checking for $ac_word... " >&6; } 7065if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 7066 $as_echo_n "(cached) " >&6 7067else 7068 if test -n "$ac_ct_RANLIB"; then 7069 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7070else 7071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7072for as_dir in $PATH 7073do 7074 IFS=$as_save_IFS 7075 test -z "$as_dir" && as_dir=. 7076 for ac_exec_ext in '' $ac_executable_extensions; do 7077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7078 ac_cv_prog_ac_ct_RANLIB="ranlib" 7079 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7080 break 2 7081 fi 7082done 7083done 7084IFS=$as_save_IFS 7085 7086fi 7087fi 7088ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7089if test -n "$ac_ct_RANLIB"; then 7090 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 7091$as_echo "$ac_ct_RANLIB" >&6; } 7092else 7093 { $as_echo "$as_me:$LINENO: result: no" >&5 7094$as_echo "no" >&6; } 7095fi 7096 7097 if test "x$ac_ct_RANLIB" = x; then 7098 RANLIB=":" 7099 else 7100 case $cross_compiling:$ac_tool_warned in 7101yes:) 7102{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7103$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7104ac_tool_warned=yes ;; 7105esac 7106 RANLIB=$ac_ct_RANLIB 7107 fi 7108else 7109 RANLIB="$ac_cv_prog_RANLIB" 7110fi 7111 7112test -z "$RANLIB" && RANLIB=: 7113 7114 7115 7116 7117 7118 7119# Determine commands to create old-style static archives. 7120old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7121old_postinstall_cmds='chmod 644 $oldlib' 7122old_postuninstall_cmds= 7123 7124if test -n "$RANLIB"; then 7125 case $host_os in 7126 openbsd*) 7127 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 7128 ;; 7129 *) 7130 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 7131 ;; 7132 esac 7133 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 7134fi 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169# If no C compiler was specified, use CC. 7170LTCC=${LTCC-"$CC"} 7171 7172# If no C compiler flags were specified, use CFLAGS. 7173LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7174 7175# Allow CC to be a program name with arguments. 7176compiler=$CC 7177 7178 7179# Check for command to grab the raw symbol name followed by C symbol from nm. 7180{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 7181$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7182if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 7183 $as_echo_n "(cached) " >&6 7184else 7185 7186# These are sane defaults that work on at least a few old systems. 7187# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7188 7189# Character class describing NM global symbol codes. 7190symcode='[BCDEGRST]' 7191 7192# Regexp to match symbols that can be accessed directly from C. 7193sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7194 7195# Define system-specific variables. 7196case $host_os in 7197aix*) 7198 symcode='[BCDT]' 7199 ;; 7200cygwin* | mingw* | pw32* | cegcc*) 7201 symcode='[ABCDGISTW]' 7202 ;; 7203hpux*) 7204 if test "$host_cpu" = ia64; then 7205 symcode='[ABCDEGRST]' 7206 fi 7207 ;; 7208irix* | nonstopux*) 7209 symcode='[BCDEGRST]' 7210 ;; 7211osf*) 7212 symcode='[BCDEGQRST]' 7213 ;; 7214solaris*) 7215 symcode='[BDRT]' 7216 ;; 7217sco3.2v5*) 7218 symcode='[DT]' 7219 ;; 7220sysv4.2uw2*) 7221 symcode='[DT]' 7222 ;; 7223sysv5* | sco5v6* | unixware* | OpenUNIX*) 7224 symcode='[ABDT]' 7225 ;; 7226sysv4) 7227 symcode='[DFNSTU]' 7228 ;; 7229esac 7230 7231# If we're using GNU nm, then use its standard symbol codes. 7232case `$NM -V 2>&1` in 7233*GNU* | *'with BFD'*) 7234 symcode='[ABCDGIRSTW]' ;; 7235esac 7236 7237# Transform an extracted symbol line into a proper C declaration. 7238# Some systems (esp. on ia64) link data and code symbols differently, 7239# so use this general approach. 7240lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 7241 7242# Transform an extracted symbol line into symbol name and symbol address 7243lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 7244lt_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'" 7245 7246# Handle CRLF in mingw tool chain 7247opt_cr= 7248case $build_os in 7249mingw*) 7250 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7251 ;; 7252esac 7253 7254# Try without a prefix underscore, then with it. 7255for ac_symprfx in "" "_"; do 7256 7257 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7258 symxfrm="\\1 $ac_symprfx\\2 \\2" 7259 7260 # Write the raw and C identifiers. 7261 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7262 # Fake it for dumpbin and say T for any non-static function 7263 # and D for any global variable. 7264 # Also find C++ and __fastcall symbols from MSVC++, 7265 # which start with @ or ?. 7266 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7267" {last_section=section; section=\$ 3};"\ 7268" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7269" \$ 0!~/External *\|/{next};"\ 7270" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7271" {if(hide[section]) next};"\ 7272" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 7273" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 7274" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 7275" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 7276" ' prfx=^$ac_symprfx" 7277 else 7278 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7279 fi 7280 7281 # Check to see that the pipe works correctly. 7282 pipe_works=no 7283 7284 rm -f conftest* 7285 cat > conftest.$ac_ext <<_LT_EOF 7286#ifdef __cplusplus 7287extern "C" { 7288#endif 7289char nm_test_var; 7290void nm_test_func(void); 7291void nm_test_func(void){} 7292#ifdef __cplusplus 7293} 7294#endif 7295int main(){nm_test_var='a';nm_test_func();return(0);} 7296_LT_EOF 7297 7298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7299 (eval $ac_compile) 2>&5 7300 ac_status=$? 7301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7302 (exit $ac_status); }; then 7303 # Now try to grab the symbols. 7304 nlist=conftest.nm 7305 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 7306 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 7307 ac_status=$? 7308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7309 (exit $ac_status); } && test -s "$nlist"; then 7310 # Try sorting and uniquifying the output. 7311 if sort "$nlist" | uniq > "$nlist"T; then 7312 mv -f "$nlist"T "$nlist" 7313 else 7314 rm -f "$nlist"T 7315 fi 7316 7317 # Make sure that we snagged all the symbols we need. 7318 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7319 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7320 cat <<_LT_EOF > conftest.$ac_ext 7321#ifdef __cplusplus 7322extern "C" { 7323#endif 7324 7325_LT_EOF 7326 # Now generate the symbol file. 7327 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7328 7329 cat <<_LT_EOF >> conftest.$ac_ext 7330 7331/* The mapping between symbol names and symbols. */ 7332const struct { 7333 const char *name; 7334 void *address; 7335} 7336lt__PROGRAM__LTX_preloaded_symbols[] = 7337{ 7338 { "@PROGRAM@", (void *) 0 }, 7339_LT_EOF 7340 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7341 cat <<\_LT_EOF >> conftest.$ac_ext 7342 {0, (void *) 0} 7343}; 7344 7345/* This works around a problem in FreeBSD linker */ 7346#ifdef FREEBSD_WORKAROUND 7347static const void *lt_preloaded_setup() { 7348 return lt__PROGRAM__LTX_preloaded_symbols; 7349} 7350#endif 7351 7352#ifdef __cplusplus 7353} 7354#endif 7355_LT_EOF 7356 # Now try linking the two files. 7357 mv conftest.$ac_objext conftstm.$ac_objext 7358 lt_save_LIBS="$LIBS" 7359 lt_save_CFLAGS="$CFLAGS" 7360 LIBS="conftstm.$ac_objext" 7361 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7363 (eval $ac_link) 2>&5 7364 ac_status=$? 7365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7366 (exit $ac_status); } && test -s conftest${ac_exeext}; then 7367 pipe_works=yes 7368 fi 7369 LIBS="$lt_save_LIBS" 7370 CFLAGS="$lt_save_CFLAGS" 7371 else 7372 echo "cannot find nm_test_func in $nlist" >&5 7373 fi 7374 else 7375 echo "cannot find nm_test_var in $nlist" >&5 7376 fi 7377 else 7378 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 7379 fi 7380 else 7381 echo "$progname: failed program was:" >&5 7382 cat conftest.$ac_ext >&5 7383 fi 7384 rm -rf conftest* conftst* 7385 7386 # Do not use the global_symbol_pipe unless it works. 7387 if test "$pipe_works" = yes; then 7388 break 7389 else 7390 lt_cv_sys_global_symbol_pipe= 7391 fi 7392done 7393 7394fi 7395 7396if test -z "$lt_cv_sys_global_symbol_pipe"; then 7397 lt_cv_sys_global_symbol_to_cdecl= 7398fi 7399if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 7400 { $as_echo "$as_me:$LINENO: result: failed" >&5 7401$as_echo "failed" >&6; } 7402else 7403 { $as_echo "$as_me:$LINENO: result: ok" >&5 7404$as_echo "ok" >&6; } 7405fi 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428# Check whether --enable-libtool-lock was given. 7429if test "${enable_libtool_lock+set}" = set; then 7430 enableval=$enable_libtool_lock; 7431fi 7432 7433test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 7434 7435# Some flags need to be propagated to the compiler or linker for good 7436# libtool support. 7437case $host in 7438ia64-*-hpux*) 7439 # Find out which ABI we are using. 7440 echo 'int i;' > conftest.$ac_ext 7441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7442 (eval $ac_compile) 2>&5 7443 ac_status=$? 7444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7445 (exit $ac_status); }; then 7446 case `/usr/bin/file conftest.$ac_objext` in 7447 *ELF-32*) 7448 HPUX_IA64_MODE="32" 7449 ;; 7450 *ELF-64*) 7451 HPUX_IA64_MODE="64" 7452 ;; 7453 esac 7454 fi 7455 rm -rf conftest* 7456 ;; 7457*-*-irix6*) 7458 # Find out which ABI we are using. 7459 echo '#line 7459 "configure"' > conftest.$ac_ext 7460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7461 (eval $ac_compile) 2>&5 7462 ac_status=$? 7463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7464 (exit $ac_status); }; then 7465 if test "$lt_cv_prog_gnu_ld" = yes; then 7466 case `/usr/bin/file conftest.$ac_objext` in 7467 *32-bit*) 7468 LD="${LD-ld} -melf32bsmip" 7469 ;; 7470 *N32*) 7471 LD="${LD-ld} -melf32bmipn32" 7472 ;; 7473 *64-bit*) 7474 LD="${LD-ld} -melf64bmip" 7475 ;; 7476 esac 7477 else 7478 case `/usr/bin/file conftest.$ac_objext` in 7479 *32-bit*) 7480 LD="${LD-ld} -32" 7481 ;; 7482 *N32*) 7483 LD="${LD-ld} -n32" 7484 ;; 7485 *64-bit*) 7486 LD="${LD-ld} -64" 7487 ;; 7488 esac 7489 fi 7490 fi 7491 rm -rf conftest* 7492 ;; 7493 7494x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 7495s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 7496 # Find out which ABI we are using. 7497 echo 'int i;' > conftest.$ac_ext 7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7499 (eval $ac_compile) 2>&5 7500 ac_status=$? 7501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7502 (exit $ac_status); }; then 7503 case `/usr/bin/file conftest.o` in 7504 *32-bit*) 7505 case $host in 7506 x86_64-*kfreebsd*-gnu) 7507 LD="${LD-ld} -m elf_i386_fbsd" 7508 ;; 7509 x86_64-*linux*) 7510 LD="${LD-ld} -m elf_i386" 7511 ;; 7512 ppc64-*linux*|powerpc64-*linux*) 7513 LD="${LD-ld} -m elf32ppclinux" 7514 ;; 7515 s390x-*linux*) 7516 LD="${LD-ld} -m elf_s390" 7517 ;; 7518 sparc64-*linux*) 7519 LD="${LD-ld} -m elf32_sparc" 7520 ;; 7521 esac 7522 ;; 7523 *64-bit*) 7524 case $host in 7525 x86_64-*kfreebsd*-gnu) 7526 LD="${LD-ld} -m elf_x86_64_fbsd" 7527 ;; 7528 x86_64-*linux*) 7529 LD="${LD-ld} -m elf_x86_64" 7530 ;; 7531 ppc*-*linux*|powerpc*-*linux*) 7532 LD="${LD-ld} -m elf64ppc" 7533 ;; 7534 s390*-*linux*|s390*-*tpf*) 7535 LD="${LD-ld} -m elf64_s390" 7536 ;; 7537 sparc*-*linux*) 7538 LD="${LD-ld} -m elf64_sparc" 7539 ;; 7540 esac 7541 ;; 7542 esac 7543 fi 7544 rm -rf conftest* 7545 ;; 7546 7547*-*-sco3.2v5*) 7548 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 7549 SAVE_CFLAGS="$CFLAGS" 7550 CFLAGS="$CFLAGS -belf" 7551 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 7552$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 7553if test "${lt_cv_cc_needs_belf+set}" = set; then 7554 $as_echo_n "(cached) " >&6 7555else 7556 ac_ext=c 7557ac_cpp='$CPP $CPPFLAGS' 7558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7560ac_compiler_gnu=$ac_cv_c_compiler_gnu 7561 7562 cat >conftest.$ac_ext <<_ACEOF 7563/* confdefs.h. */ 7564_ACEOF 7565cat confdefs.h >>conftest.$ac_ext 7566cat >>conftest.$ac_ext <<_ACEOF 7567/* end confdefs.h. */ 7568 7569int 7570main () 7571{ 7572 7573 ; 7574 return 0; 7575} 7576_ACEOF 7577rm -f conftest.$ac_objext conftest$ac_exeext 7578if { (ac_try="$ac_link" 7579case "(($ac_try" in 7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7581 *) ac_try_echo=$ac_try;; 7582esac 7583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7584$as_echo "$ac_try_echo") >&5 7585 (eval "$ac_link") 2>conftest.er1 7586 ac_status=$? 7587 grep -v '^ *+' conftest.er1 >conftest.err 7588 rm -f conftest.er1 7589 cat conftest.err >&5 7590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7591 (exit $ac_status); } && { 7592 test -z "$ac_c_werror_flag" || 7593 test ! -s conftest.err 7594 } && test -s conftest$ac_exeext && { 7595 test "$cross_compiling" = yes || 7596 $as_test_x conftest$ac_exeext 7597 }; then 7598 lt_cv_cc_needs_belf=yes 7599else 7600 $as_echo "$as_me: failed program was:" >&5 7601sed 's/^/| /' conftest.$ac_ext >&5 7602 7603 lt_cv_cc_needs_belf=no 7604fi 7605 7606rm -rf conftest.dSYM 7607rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7608 conftest$ac_exeext conftest.$ac_ext 7609 ac_ext=c 7610ac_cpp='$CPP $CPPFLAGS' 7611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7613ac_compiler_gnu=$ac_cv_c_compiler_gnu 7614 7615fi 7616{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 7617$as_echo "$lt_cv_cc_needs_belf" >&6; } 7618 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7619 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7620 CFLAGS="$SAVE_CFLAGS" 7621 fi 7622 ;; 7623sparc*-*solaris*) 7624 # Find out which ABI we are using. 7625 echo 'int i;' > conftest.$ac_ext 7626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7627 (eval $ac_compile) 2>&5 7628 ac_status=$? 7629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7630 (exit $ac_status); }; then 7631 case `/usr/bin/file conftest.o` in 7632 *64-bit*) 7633 case $lt_cv_prog_gnu_ld in 7634 yes*) LD="${LD-ld} -m elf64_sparc" ;; 7635 *) 7636 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7637 LD="${LD-ld} -64" 7638 fi 7639 ;; 7640 esac 7641 ;; 7642 esac 7643 fi 7644 rm -rf conftest* 7645 ;; 7646esac 7647 7648need_locks="$enable_libtool_lock" 7649 7650 7651 case $host_os in 7652 rhapsody* | darwin*) 7653 if test -n "$ac_tool_prefix"; then 7654 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7655set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7656{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7657$as_echo_n "checking for $ac_word... " >&6; } 7658if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 7659 $as_echo_n "(cached) " >&6 7660else 7661 if test -n "$DSYMUTIL"; then 7662 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7663else 7664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7665for as_dir in $PATH 7666do 7667 IFS=$as_save_IFS 7668 test -z "$as_dir" && as_dir=. 7669 for ac_exec_ext in '' $ac_executable_extensions; do 7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7671 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7673 break 2 7674 fi 7675done 7676done 7677IFS=$as_save_IFS 7678 7679fi 7680fi 7681DSYMUTIL=$ac_cv_prog_DSYMUTIL 7682if test -n "$DSYMUTIL"; then 7683 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 7684$as_echo "$DSYMUTIL" >&6; } 7685else 7686 { $as_echo "$as_me:$LINENO: result: no" >&5 7687$as_echo "no" >&6; } 7688fi 7689 7690 7691fi 7692if test -z "$ac_cv_prog_DSYMUTIL"; then 7693 ac_ct_DSYMUTIL=$DSYMUTIL 7694 # Extract the first word of "dsymutil", so it can be a program name with args. 7695set dummy dsymutil; ac_word=$2 7696{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7697$as_echo_n "checking for $ac_word... " >&6; } 7698if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 7699 $as_echo_n "(cached) " >&6 7700else 7701 if test -n "$ac_ct_DSYMUTIL"; then 7702 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7703else 7704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7705for as_dir in $PATH 7706do 7707 IFS=$as_save_IFS 7708 test -z "$as_dir" && as_dir=. 7709 for ac_exec_ext in '' $ac_executable_extensions; do 7710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7711 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7713 break 2 7714 fi 7715done 7716done 7717IFS=$as_save_IFS 7718 7719fi 7720fi 7721ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7722if test -n "$ac_ct_DSYMUTIL"; then 7723 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 7724$as_echo "$ac_ct_DSYMUTIL" >&6; } 7725else 7726 { $as_echo "$as_me:$LINENO: result: no" >&5 7727$as_echo "no" >&6; } 7728fi 7729 7730 if test "x$ac_ct_DSYMUTIL" = x; then 7731 DSYMUTIL=":" 7732 else 7733 case $cross_compiling:$ac_tool_warned in 7734yes:) 7735{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7737ac_tool_warned=yes ;; 7738esac 7739 DSYMUTIL=$ac_ct_DSYMUTIL 7740 fi 7741else 7742 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7743fi 7744 7745 if test -n "$ac_tool_prefix"; then 7746 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7747set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7748{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7749$as_echo_n "checking for $ac_word... " >&6; } 7750if test "${ac_cv_prog_NMEDIT+set}" = set; then 7751 $as_echo_n "(cached) " >&6 7752else 7753 if test -n "$NMEDIT"; then 7754 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7755else 7756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7757for as_dir in $PATH 7758do 7759 IFS=$as_save_IFS 7760 test -z "$as_dir" && as_dir=. 7761 for ac_exec_ext in '' $ac_executable_extensions; do 7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7763 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7764 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7765 break 2 7766 fi 7767done 7768done 7769IFS=$as_save_IFS 7770 7771fi 7772fi 7773NMEDIT=$ac_cv_prog_NMEDIT 7774if test -n "$NMEDIT"; then 7775 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 7776$as_echo "$NMEDIT" >&6; } 7777else 7778 { $as_echo "$as_me:$LINENO: result: no" >&5 7779$as_echo "no" >&6; } 7780fi 7781 7782 7783fi 7784if test -z "$ac_cv_prog_NMEDIT"; then 7785 ac_ct_NMEDIT=$NMEDIT 7786 # Extract the first word of "nmedit", so it can be a program name with args. 7787set dummy nmedit; ac_word=$2 7788{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7789$as_echo_n "checking for $ac_word... " >&6; } 7790if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 7791 $as_echo_n "(cached) " >&6 7792else 7793 if test -n "$ac_ct_NMEDIT"; then 7794 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7795else 7796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7797for as_dir in $PATH 7798do 7799 IFS=$as_save_IFS 7800 test -z "$as_dir" && as_dir=. 7801 for ac_exec_ext in '' $ac_executable_extensions; do 7802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7803 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7804 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7805 break 2 7806 fi 7807done 7808done 7809IFS=$as_save_IFS 7810 7811fi 7812fi 7813ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7814if test -n "$ac_ct_NMEDIT"; then 7815 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7816$as_echo "$ac_ct_NMEDIT" >&6; } 7817else 7818 { $as_echo "$as_me:$LINENO: result: no" >&5 7819$as_echo "no" >&6; } 7820fi 7821 7822 if test "x$ac_ct_NMEDIT" = x; then 7823 NMEDIT=":" 7824 else 7825 case $cross_compiling:$ac_tool_warned in 7826yes:) 7827{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7828$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7829ac_tool_warned=yes ;; 7830esac 7831 NMEDIT=$ac_ct_NMEDIT 7832 fi 7833else 7834 NMEDIT="$ac_cv_prog_NMEDIT" 7835fi 7836 7837 if test -n "$ac_tool_prefix"; then 7838 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7839set dummy ${ac_tool_prefix}lipo; ac_word=$2 7840{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7841$as_echo_n "checking for $ac_word... " >&6; } 7842if test "${ac_cv_prog_LIPO+set}" = set; then 7843 $as_echo_n "(cached) " >&6 7844else 7845 if test -n "$LIPO"; then 7846 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7847else 7848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7849for as_dir in $PATH 7850do 7851 IFS=$as_save_IFS 7852 test -z "$as_dir" && as_dir=. 7853 for ac_exec_ext in '' $ac_executable_extensions; do 7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7855 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7856 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7857 break 2 7858 fi 7859done 7860done 7861IFS=$as_save_IFS 7862 7863fi 7864fi 7865LIPO=$ac_cv_prog_LIPO 7866if test -n "$LIPO"; then 7867 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 7868$as_echo "$LIPO" >&6; } 7869else 7870 { $as_echo "$as_me:$LINENO: result: no" >&5 7871$as_echo "no" >&6; } 7872fi 7873 7874 7875fi 7876if test -z "$ac_cv_prog_LIPO"; then 7877 ac_ct_LIPO=$LIPO 7878 # Extract the first word of "lipo", so it can be a program name with args. 7879set dummy lipo; ac_word=$2 7880{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7881$as_echo_n "checking for $ac_word... " >&6; } 7882if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 7883 $as_echo_n "(cached) " >&6 7884else 7885 if test -n "$ac_ct_LIPO"; then 7886 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7887else 7888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7889for as_dir in $PATH 7890do 7891 IFS=$as_save_IFS 7892 test -z "$as_dir" && as_dir=. 7893 for ac_exec_ext in '' $ac_executable_extensions; do 7894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7895 ac_cv_prog_ac_ct_LIPO="lipo" 7896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7897 break 2 7898 fi 7899done 7900done 7901IFS=$as_save_IFS 7902 7903fi 7904fi 7905ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7906if test -n "$ac_ct_LIPO"; then 7907 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 7908$as_echo "$ac_ct_LIPO" >&6; } 7909else 7910 { $as_echo "$as_me:$LINENO: result: no" >&5 7911$as_echo "no" >&6; } 7912fi 7913 7914 if test "x$ac_ct_LIPO" = x; then 7915 LIPO=":" 7916 else 7917 case $cross_compiling:$ac_tool_warned in 7918yes:) 7919{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7920$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7921ac_tool_warned=yes ;; 7922esac 7923 LIPO=$ac_ct_LIPO 7924 fi 7925else 7926 LIPO="$ac_cv_prog_LIPO" 7927fi 7928 7929 if test -n "$ac_tool_prefix"; then 7930 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7931set dummy ${ac_tool_prefix}otool; ac_word=$2 7932{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7933$as_echo_n "checking for $ac_word... " >&6; } 7934if test "${ac_cv_prog_OTOOL+set}" = set; then 7935 $as_echo_n "(cached) " >&6 7936else 7937 if test -n "$OTOOL"; then 7938 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7939else 7940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7941for as_dir in $PATH 7942do 7943 IFS=$as_save_IFS 7944 test -z "$as_dir" && as_dir=. 7945 for ac_exec_ext in '' $ac_executable_extensions; do 7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7947 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7948 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7949 break 2 7950 fi 7951done 7952done 7953IFS=$as_save_IFS 7954 7955fi 7956fi 7957OTOOL=$ac_cv_prog_OTOOL 7958if test -n "$OTOOL"; then 7959 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 7960$as_echo "$OTOOL" >&6; } 7961else 7962 { $as_echo "$as_me:$LINENO: result: no" >&5 7963$as_echo "no" >&6; } 7964fi 7965 7966 7967fi 7968if test -z "$ac_cv_prog_OTOOL"; then 7969 ac_ct_OTOOL=$OTOOL 7970 # Extract the first word of "otool", so it can be a program name with args. 7971set dummy otool; ac_word=$2 7972{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7973$as_echo_n "checking for $ac_word... " >&6; } 7974if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 7975 $as_echo_n "(cached) " >&6 7976else 7977 if test -n "$ac_ct_OTOOL"; then 7978 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7979else 7980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7981for as_dir in $PATH 7982do 7983 IFS=$as_save_IFS 7984 test -z "$as_dir" && as_dir=. 7985 for ac_exec_ext in '' $ac_executable_extensions; do 7986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7987 ac_cv_prog_ac_ct_OTOOL="otool" 7988 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7989 break 2 7990 fi 7991done 7992done 7993IFS=$as_save_IFS 7994 7995fi 7996fi 7997ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7998if test -n "$ac_ct_OTOOL"; then 7999 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 8000$as_echo "$ac_ct_OTOOL" >&6; } 8001else 8002 { $as_echo "$as_me:$LINENO: result: no" >&5 8003$as_echo "no" >&6; } 8004fi 8005 8006 if test "x$ac_ct_OTOOL" = x; then 8007 OTOOL=":" 8008 else 8009 case $cross_compiling:$ac_tool_warned in 8010yes:) 8011{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 8012$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8013ac_tool_warned=yes ;; 8014esac 8015 OTOOL=$ac_ct_OTOOL 8016 fi 8017else 8018 OTOOL="$ac_cv_prog_OTOOL" 8019fi 8020 8021 if test -n "$ac_tool_prefix"; then 8022 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8023set dummy ${ac_tool_prefix}otool64; ac_word=$2 8024{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8025$as_echo_n "checking for $ac_word... " >&6; } 8026if test "${ac_cv_prog_OTOOL64+set}" = set; then 8027 $as_echo_n "(cached) " >&6 8028else 8029 if test -n "$OTOOL64"; then 8030 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8031else 8032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8033for as_dir in $PATH 8034do 8035 IFS=$as_save_IFS 8036 test -z "$as_dir" && as_dir=. 8037 for ac_exec_ext in '' $ac_executable_extensions; do 8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8039 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8041 break 2 8042 fi 8043done 8044done 8045IFS=$as_save_IFS 8046 8047fi 8048fi 8049OTOOL64=$ac_cv_prog_OTOOL64 8050if test -n "$OTOOL64"; then 8051 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 8052$as_echo "$OTOOL64" >&6; } 8053else 8054 { $as_echo "$as_me:$LINENO: result: no" >&5 8055$as_echo "no" >&6; } 8056fi 8057 8058 8059fi 8060if test -z "$ac_cv_prog_OTOOL64"; then 8061 ac_ct_OTOOL64=$OTOOL64 8062 # Extract the first word of "otool64", so it can be a program name with args. 8063set dummy otool64; ac_word=$2 8064{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 8065$as_echo_n "checking for $ac_word... " >&6; } 8066if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 8067 $as_echo_n "(cached) " >&6 8068else 8069 if test -n "$ac_ct_OTOOL64"; then 8070 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8071else 8072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8073for as_dir in $PATH 8074do 8075 IFS=$as_save_IFS 8076 test -z "$as_dir" && as_dir=. 8077 for ac_exec_ext in '' $ac_executable_extensions; do 8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 8079 ac_cv_prog_ac_ct_OTOOL64="otool64" 8080 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 8081 break 2 8082 fi 8083done 8084done 8085IFS=$as_save_IFS 8086 8087fi 8088fi 8089ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 8090if test -n "$ac_ct_OTOOL64"; then 8091 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 8092$as_echo "$ac_ct_OTOOL64" >&6; } 8093else 8094 { $as_echo "$as_me:$LINENO: result: no" >&5 8095$as_echo "no" >&6; } 8096fi 8097 8098 if test "x$ac_ct_OTOOL64" = x; then 8099 OTOOL64=":" 8100 else 8101 case $cross_compiling:$ac_tool_warned in 8102yes:) 8103{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 8104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8105ac_tool_warned=yes ;; 8106esac 8107 OTOOL64=$ac_ct_OTOOL64 8108 fi 8109else 8110 OTOOL64="$ac_cv_prog_OTOOL64" 8111fi 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 8140$as_echo_n "checking for -single_module linker flag... " >&6; } 8141if test "${lt_cv_apple_cc_single_mod+set}" = set; then 8142 $as_echo_n "(cached) " >&6 8143else 8144 lt_cv_apple_cc_single_mod=no 8145 if test -z "${LT_MULTI_MODULE}"; then 8146 # By default we will add the -single_module flag. You can override 8147 # by either setting the environment variable LT_MULTI_MODULE 8148 # non-empty at configure time, or by adding -multi_module to the 8149 # link flags. 8150 rm -rf libconftest.dylib* 8151 echo "int foo(void){return 1;}" > conftest.c 8152 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8153-dynamiclib -Wl,-single_module conftest.c" >&5 8154 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 8155 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 8156 _lt_result=$? 8157 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 8158 lt_cv_apple_cc_single_mod=yes 8159 else 8160 cat conftest.err >&5 8161 fi 8162 rm -rf libconftest.dylib* 8163 rm -f conftest.* 8164 fi 8165fi 8166{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 8167$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 8168 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 8169$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 8170if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 8171 $as_echo_n "(cached) " >&6 8172else 8173 lt_cv_ld_exported_symbols_list=no 8174 save_LDFLAGS=$LDFLAGS 8175 echo "_main" > conftest.sym 8176 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 8177 cat >conftest.$ac_ext <<_ACEOF 8178/* confdefs.h. */ 8179_ACEOF 8180cat confdefs.h >>conftest.$ac_ext 8181cat >>conftest.$ac_ext <<_ACEOF 8182/* end confdefs.h. */ 8183 8184int 8185main () 8186{ 8187 8188 ; 8189 return 0; 8190} 8191_ACEOF 8192rm -f conftest.$ac_objext conftest$ac_exeext 8193if { (ac_try="$ac_link" 8194case "(($ac_try" in 8195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8196 *) ac_try_echo=$ac_try;; 8197esac 8198eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8199$as_echo "$ac_try_echo") >&5 8200 (eval "$ac_link") 2>conftest.er1 8201 ac_status=$? 8202 grep -v '^ *+' conftest.er1 >conftest.err 8203 rm -f conftest.er1 8204 cat conftest.err >&5 8205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8206 (exit $ac_status); } && { 8207 test -z "$ac_c_werror_flag" || 8208 test ! -s conftest.err 8209 } && test -s conftest$ac_exeext && { 8210 test "$cross_compiling" = yes || 8211 $as_test_x conftest$ac_exeext 8212 }; then 8213 lt_cv_ld_exported_symbols_list=yes 8214else 8215 $as_echo "$as_me: failed program was:" >&5 8216sed 's/^/| /' conftest.$ac_ext >&5 8217 8218 lt_cv_ld_exported_symbols_list=no 8219fi 8220 8221rm -rf conftest.dSYM 8222rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8223 conftest$ac_exeext conftest.$ac_ext 8224 LDFLAGS="$save_LDFLAGS" 8225 8226fi 8227{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 8228$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 8229 case $host_os in 8230 rhapsody* | darwin1.[012]) 8231 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 8232 darwin1.*) 8233 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8234 darwin*) # darwin 5.x on 8235 # if running on 10.5 or later, the deployment target defaults 8236 # to the OS version, if on x86, and 10.4, the deployment 8237 # target defaults to 10.4. Don't you love it? 8238 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 8239 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 8240 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8241 10.[012]*) 8242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 8243 10.*) 8244 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 8245 esac 8246 ;; 8247 esac 8248 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 8249 _lt_dar_single_mod='$single_module' 8250 fi 8251 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 8252 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 8253 else 8254 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 8255 fi 8256 if test "$DSYMUTIL" != ":"; then 8257 _lt_dsymutil='~$DSYMUTIL $lib || :' 8258 else 8259 _lt_dsymutil= 8260 fi 8261 ;; 8262 esac 8263 8264# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8275 inttypes.h stdint.h unistd.h 8276do 8277as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8278{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8279$as_echo_n "checking for $ac_header... " >&6; } 8280if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8281 $as_echo_n "(cached) " >&6 8282else 8283 cat >conftest.$ac_ext <<_ACEOF 8284/* confdefs.h. */ 8285_ACEOF 8286cat confdefs.h >>conftest.$ac_ext 8287cat >>conftest.$ac_ext <<_ACEOF 8288/* end confdefs.h. */ 8289$ac_includes_default 8290 8291#include <$ac_header> 8292_ACEOF 8293rm -f conftest.$ac_objext 8294if { (ac_try="$ac_compile" 8295case "(($ac_try" in 8296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8297 *) ac_try_echo=$ac_try;; 8298esac 8299eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8300$as_echo "$ac_try_echo") >&5 8301 (eval "$ac_compile") 2>conftest.er1 8302 ac_status=$? 8303 grep -v '^ *+' conftest.er1 >conftest.err 8304 rm -f conftest.er1 8305 cat conftest.err >&5 8306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8307 (exit $ac_status); } && { 8308 test -z "$ac_c_werror_flag" || 8309 test ! -s conftest.err 8310 } && test -s conftest.$ac_objext; then 8311 eval "$as_ac_Header=yes" 8312else 8313 $as_echo "$as_me: failed program was:" >&5 8314sed 's/^/| /' conftest.$ac_ext >&5 8315 8316 eval "$as_ac_Header=no" 8317fi 8318 8319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8320fi 8321ac_res=`eval 'as_val=${'$as_ac_Header'} 8322 $as_echo "$as_val"'` 8323 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8324$as_echo "$ac_res" >&6; } 8325as_val=`eval 'as_val=${'$as_ac_Header'} 8326 $as_echo "$as_val"'` 8327 if test "x$as_val" = x""yes; then 8328 cat >>confdefs.h <<_ACEOF 8329#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8330_ACEOF 8331 8332fi 8333 8334done 8335 8336 8337 8338for ac_header in dlfcn.h 8339do 8340as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8341{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8342$as_echo_n "checking for $ac_header... " >&6; } 8343if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8344 $as_echo_n "(cached) " >&6 8345else 8346 cat >conftest.$ac_ext <<_ACEOF 8347/* confdefs.h. */ 8348_ACEOF 8349cat confdefs.h >>conftest.$ac_ext 8350cat >>conftest.$ac_ext <<_ACEOF 8351/* end confdefs.h. */ 8352$ac_includes_default 8353 8354#include <$ac_header> 8355_ACEOF 8356rm -f conftest.$ac_objext 8357if { (ac_try="$ac_compile" 8358case "(($ac_try" in 8359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8360 *) ac_try_echo=$ac_try;; 8361esac 8362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8363$as_echo "$ac_try_echo") >&5 8364 (eval "$ac_compile") 2>conftest.er1 8365 ac_status=$? 8366 grep -v '^ *+' conftest.er1 >conftest.err 8367 rm -f conftest.er1 8368 cat conftest.err >&5 8369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8370 (exit $ac_status); } && { 8371 test -z "$ac_c_werror_flag" || 8372 test ! -s conftest.err 8373 } && test -s conftest.$ac_objext; then 8374 eval "$as_ac_Header=yes" 8375else 8376 $as_echo "$as_me: failed program was:" >&5 8377sed 's/^/| /' conftest.$ac_ext >&5 8378 8379 eval "$as_ac_Header=no" 8380fi 8381 8382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8383fi 8384ac_res=`eval 'as_val=${'$as_ac_Header'} 8385 $as_echo "$as_val"'` 8386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8387$as_echo "$ac_res" >&6; } 8388as_val=`eval 'as_val=${'$as_ac_Header'} 8389 $as_echo "$as_val"'` 8390 if test "x$as_val" = x""yes; then 8391 cat >>confdefs.h <<_ACEOF 8392#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8393_ACEOF 8394 8395fi 8396 8397done 8398 8399 8400 8401# Set options 8402 8403 8404 8405 enable_dlopen=no 8406 8407 8408 8409 # Check whether --enable-shared was given. 8410if test "${enable_shared+set}" = set; then 8411 enableval=$enable_shared; p=${PACKAGE-default} 8412 case $enableval in 8413 yes) enable_shared=yes ;; 8414 no) enable_shared=no ;; 8415 *) 8416 enable_shared=no 8417 # Look at the argument we got. We use all the common list separators. 8418 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8419 for pkg in $enableval; do 8420 IFS="$lt_save_ifs" 8421 if test "X$pkg" = "X$p"; then 8422 enable_shared=yes 8423 fi 8424 done 8425 IFS="$lt_save_ifs" 8426 ;; 8427 esac 8428else 8429 enable_shared=yes 8430fi 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 # Check whether --enable-static was given. 8441if test "${enable_static+set}" = set; then 8442 enableval=$enable_static; p=${PACKAGE-default} 8443 case $enableval in 8444 yes) enable_static=yes ;; 8445 no) enable_static=no ;; 8446 *) 8447 enable_static=no 8448 # Look at the argument we got. We use all the common list separators. 8449 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8450 for pkg in $enableval; do 8451 IFS="$lt_save_ifs" 8452 if test "X$pkg" = "X$p"; then 8453 enable_static=yes 8454 fi 8455 done 8456 IFS="$lt_save_ifs" 8457 ;; 8458 esac 8459else 8460 enable_static=yes 8461fi 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472# Check whether --with-pic was given. 8473if test "${with_pic+set}" = set; then 8474 withval=$with_pic; pic_mode="$withval" 8475else 8476 pic_mode=default 8477fi 8478 8479 8480test -z "$pic_mode" && pic_mode=default 8481 8482 8483 8484 8485 8486 8487 8488 # Check whether --enable-fast-install was given. 8489if test "${enable_fast_install+set}" = set; then 8490 enableval=$enable_fast_install; p=${PACKAGE-default} 8491 case $enableval in 8492 yes) enable_fast_install=yes ;; 8493 no) enable_fast_install=no ;; 8494 *) 8495 enable_fast_install=no 8496 # Look at the argument we got. We use all the common list separators. 8497 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8498 for pkg in $enableval; do 8499 IFS="$lt_save_ifs" 8500 if test "X$pkg" = "X$p"; then 8501 enable_fast_install=yes 8502 fi 8503 done 8504 IFS="$lt_save_ifs" 8505 ;; 8506 esac 8507else 8508 enable_fast_install=yes 8509fi 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521# This can be used to rebuild libtool when needed 8522LIBTOOL_DEPS="$ltmain" 8523 8524# Always use our own libtool. 8525LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551test -z "$LN_S" && LN_S="ln -s" 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566if test -n "${ZSH_VERSION+set}" ; then 8567 setopt NO_GLOB_SUBST 8568fi 8569 8570{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 8571$as_echo_n "checking for objdir... " >&6; } 8572if test "${lt_cv_objdir+set}" = set; then 8573 $as_echo_n "(cached) " >&6 8574else 8575 rm -f .libs 2>/dev/null 8576mkdir .libs 2>/dev/null 8577if test -d .libs; then 8578 lt_cv_objdir=.libs 8579else 8580 # MS-DOS does not allow filenames that begin with a dot. 8581 lt_cv_objdir=_libs 8582fi 8583rmdir .libs 2>/dev/null 8584fi 8585{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 8586$as_echo "$lt_cv_objdir" >&6; } 8587objdir=$lt_cv_objdir 8588 8589 8590 8591 8592 8593cat >>confdefs.h <<_ACEOF 8594#define LT_OBJDIR "$lt_cv_objdir/" 8595_ACEOF 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613case $host_os in 8614aix3*) 8615 # AIX sometimes has problems with the GCC collect2 program. For some 8616 # reason, if we set the COLLECT_NAMES environment variable, the problems 8617 # vanish in a puff of smoke. 8618 if test "X${COLLECT_NAMES+set}" != Xset; then 8619 COLLECT_NAMES= 8620 export COLLECT_NAMES 8621 fi 8622 ;; 8623esac 8624 8625# Sed substitution that helps us do robust quoting. It backslashifies 8626# metacharacters that are still active within double-quoted strings. 8627sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8628 8629# Same as above, but do not quote variable references. 8630double_quote_subst='s/\(["`\\]\)/\\\1/g' 8631 8632# Sed substitution to delay expansion of an escaped shell variable in a 8633# double_quote_subst'ed string. 8634delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8635 8636# Sed substitution to delay expansion of an escaped single quote. 8637delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8638 8639# Sed substitution to avoid accidental globbing in evaled expressions 8640no_glob_subst='s/\*/\\\*/g' 8641 8642# Global variables: 8643ofile=libtool 8644can_build_shared=yes 8645 8646# All known linkers require a `.a' archive for static linking (except MSVC, 8647# which needs '.lib'). 8648libext=a 8649 8650with_gnu_ld="$lt_cv_prog_gnu_ld" 8651 8652old_CC="$CC" 8653old_CFLAGS="$CFLAGS" 8654 8655# Set sane defaults for various variables 8656test -z "$CC" && CC=cc 8657test -z "$LTCC" && LTCC=$CC 8658test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8659test -z "$LD" && LD=ld 8660test -z "$ac_objext" && ac_objext=o 8661 8662for cc_temp in $compiler""; do 8663 case $cc_temp in 8664 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8665 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8666 \-*) ;; 8667 *) break;; 8668 esac 8669done 8670cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8671 8672 8673# Only perform the check for file, if the check method requires it 8674test -z "$MAGIC_CMD" && MAGIC_CMD=file 8675case $deplibs_check_method in 8676file_magic*) 8677 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8678 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 8679$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8680if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8681 $as_echo_n "(cached) " >&6 8682else 8683 case $MAGIC_CMD in 8684[\\/*] | ?:[\\/]*) 8685 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8686 ;; 8687*) 8688 lt_save_MAGIC_CMD="$MAGIC_CMD" 8689 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8690 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8691 for ac_dir in $ac_dummy; do 8692 IFS="$lt_save_ifs" 8693 test -z "$ac_dir" && ac_dir=. 8694 if test -f $ac_dir/${ac_tool_prefix}file; then 8695 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8696 if test -n "$file_magic_test_file"; then 8697 case $deplibs_check_method in 8698 "file_magic "*) 8699 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8700 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8701 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8702 $EGREP "$file_magic_regex" > /dev/null; then 8703 : 8704 else 8705 cat <<_LT_EOF 1>&2 8706 8707*** Warning: the command libtool uses to detect shared libraries, 8708*** $file_magic_cmd, produces output that libtool cannot recognize. 8709*** The result is that libtool may fail to recognize shared libraries 8710*** as such. This will affect the creation of libtool libraries that 8711*** depend on shared libraries, but programs linked with such libtool 8712*** libraries will work regardless of this problem. Nevertheless, you 8713*** may want to report the problem to your system manager and/or to 8714*** bug-libtool@gnu.org 8715 8716_LT_EOF 8717 fi ;; 8718 esac 8719 fi 8720 break 8721 fi 8722 done 8723 IFS="$lt_save_ifs" 8724 MAGIC_CMD="$lt_save_MAGIC_CMD" 8725 ;; 8726esac 8727fi 8728 8729MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8730if test -n "$MAGIC_CMD"; then 8731 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8732$as_echo "$MAGIC_CMD" >&6; } 8733else 8734 { $as_echo "$as_me:$LINENO: result: no" >&5 8735$as_echo "no" >&6; } 8736fi 8737 8738 8739 8740 8741 8742if test -z "$lt_cv_path_MAGIC_CMD"; then 8743 if test -n "$ac_tool_prefix"; then 8744 { $as_echo "$as_me:$LINENO: checking for file" >&5 8745$as_echo_n "checking for file... " >&6; } 8746if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8747 $as_echo_n "(cached) " >&6 8748else 8749 case $MAGIC_CMD in 8750[\\/*] | ?:[\\/]*) 8751 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8752 ;; 8753*) 8754 lt_save_MAGIC_CMD="$MAGIC_CMD" 8755 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8756 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8757 for ac_dir in $ac_dummy; do 8758 IFS="$lt_save_ifs" 8759 test -z "$ac_dir" && ac_dir=. 8760 if test -f $ac_dir/file; then 8761 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8762 if test -n "$file_magic_test_file"; then 8763 case $deplibs_check_method in 8764 "file_magic "*) 8765 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8767 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8768 $EGREP "$file_magic_regex" > /dev/null; then 8769 : 8770 else 8771 cat <<_LT_EOF 1>&2 8772 8773*** Warning: the command libtool uses to detect shared libraries, 8774*** $file_magic_cmd, produces output that libtool cannot recognize. 8775*** The result is that libtool may fail to recognize shared libraries 8776*** as such. This will affect the creation of libtool libraries that 8777*** depend on shared libraries, but programs linked with such libtool 8778*** libraries will work regardless of this problem. Nevertheless, you 8779*** may want to report the problem to your system manager and/or to 8780*** bug-libtool@gnu.org 8781 8782_LT_EOF 8783 fi ;; 8784 esac 8785 fi 8786 break 8787 fi 8788 done 8789 IFS="$lt_save_ifs" 8790 MAGIC_CMD="$lt_save_MAGIC_CMD" 8791 ;; 8792esac 8793fi 8794 8795MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8796if test -n "$MAGIC_CMD"; then 8797 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8798$as_echo "$MAGIC_CMD" >&6; } 8799else 8800 { $as_echo "$as_me:$LINENO: result: no" >&5 8801$as_echo "no" >&6; } 8802fi 8803 8804 8805 else 8806 MAGIC_CMD=: 8807 fi 8808fi 8809 8810 fi 8811 ;; 8812esac 8813 8814# Use C for the default configuration in the libtool script 8815 8816lt_save_CC="$CC" 8817ac_ext=c 8818ac_cpp='$CPP $CPPFLAGS' 8819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8821ac_compiler_gnu=$ac_cv_c_compiler_gnu 8822 8823 8824# Source file extension for C test sources. 8825ac_ext=c 8826 8827# Object file extension for compiled C test sources. 8828objext=o 8829objext=$objext 8830 8831# Code to be used in simple compile tests 8832lt_simple_compile_test_code="int some_variable = 0;" 8833 8834# Code to be used in simple link tests 8835lt_simple_link_test_code='int main(){return(0);}' 8836 8837 8838 8839 8840 8841 8842 8843# If no C compiler was specified, use CC. 8844LTCC=${LTCC-"$CC"} 8845 8846# If no C compiler flags were specified, use CFLAGS. 8847LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8848 8849# Allow CC to be a program name with arguments. 8850compiler=$CC 8851 8852# Save the default compiler, since it gets overwritten when the other 8853# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8854compiler_DEFAULT=$CC 8855 8856# save warnings/boilerplate of simple test code 8857ac_outfile=conftest.$ac_objext 8858echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8859eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8860_lt_compiler_boilerplate=`cat conftest.err` 8861$RM conftest* 8862 8863ac_outfile=conftest.$ac_objext 8864echo "$lt_simple_link_test_code" >conftest.$ac_ext 8865eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8866_lt_linker_boilerplate=`cat conftest.err` 8867$RM -r conftest* 8868 8869 8870if test -n "$compiler"; then 8871 8872lt_prog_compiler_no_builtin_flag= 8873 8874if test "$GCC" = yes; then 8875 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8876 8877 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8878$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8879if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8880 $as_echo_n "(cached) " >&6 8881else 8882 lt_cv_prog_compiler_rtti_exceptions=no 8883 ac_outfile=conftest.$ac_objext 8884 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8885 lt_compiler_flag="-fno-rtti -fno-exceptions" 8886 # Insert the option either (1) after the last *FLAGS variable, or 8887 # (2) before a word containing "conftest.", or (3) at the end. 8888 # Note that $ac_compile itself does not contain backslashes and begins 8889 # with a dollar sign (not a hyphen), so the echo should work correctly. 8890 # The option is referenced via a variable to avoid confusing sed. 8891 lt_compile=`echo "$ac_compile" | $SED \ 8892 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8893 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8894 -e 's:$: $lt_compiler_flag:'` 8895 (eval echo "\"\$as_me:8895: $lt_compile\"" >&5) 8896 (eval "$lt_compile" 2>conftest.err) 8897 ac_status=$? 8898 cat conftest.err >&5 8899 echo "$as_me:8899: \$? = $ac_status" >&5 8900 if (exit $ac_status) && test -s "$ac_outfile"; then 8901 # The compiler can only warn and ignore the option if not recognized 8902 # So say no if there are warnings other than the usual output. 8903 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8905 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8906 lt_cv_prog_compiler_rtti_exceptions=yes 8907 fi 8908 fi 8909 $RM conftest* 8910 8911fi 8912{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8913$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8914 8915if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8916 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8917else 8918 : 8919fi 8920 8921fi 8922 8923 8924 8925 8926 8927 8928 lt_prog_compiler_wl= 8929lt_prog_compiler_pic= 8930lt_prog_compiler_static= 8931 8932{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8933$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8934 8935 if test "$GCC" = yes; then 8936 lt_prog_compiler_wl='-Wl,' 8937 lt_prog_compiler_static='-static' 8938 8939 case $host_os in 8940 aix*) 8941 # All AIX code is PIC. 8942 if test "$host_cpu" = ia64; then 8943 # AIX 5 now supports IA64 processor 8944 lt_prog_compiler_static='-Bstatic' 8945 fi 8946 ;; 8947 8948 amigaos*) 8949 case $host_cpu in 8950 powerpc) 8951 # see comment about AmigaOS4 .so support 8952 lt_prog_compiler_pic='-fPIC' 8953 ;; 8954 m68k) 8955 # FIXME: we need at least 68020 code to build shared libraries, but 8956 # adding the `-m68020' flag to GCC prevents building anything better, 8957 # like `-m68040'. 8958 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8959 ;; 8960 esac 8961 ;; 8962 8963 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8964 # PIC is the default for these OSes. 8965 ;; 8966 8967 mingw* | cygwin* | pw32* | os2* | cegcc*) 8968 # This hack is so that the source file can tell whether it is being 8969 # built for inclusion in a dll (and should export symbols for example). 8970 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8971 # (--disable-auto-import) libraries 8972 lt_prog_compiler_pic='-DDLL_EXPORT' 8973 ;; 8974 8975 darwin* | rhapsody*) 8976 # PIC is the default on this platform 8977 # Common symbols not allowed in MH_DYLIB files 8978 lt_prog_compiler_pic='-fno-common' 8979 ;; 8980 8981 hpux*) 8982 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8983 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8984 # sets the default TLS model and affects inlining. 8985 case $host_cpu in 8986 hppa*64*) 8987 # +Z the default 8988 ;; 8989 *) 8990 lt_prog_compiler_pic='-fPIC' 8991 ;; 8992 esac 8993 ;; 8994 8995 interix[3-9]*) 8996 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8997 # Instead, we relocate shared libraries at runtime. 8998 ;; 8999 9000 msdosdjgpp*) 9001 # Just because we use GCC doesn't mean we suddenly get shared libraries 9002 # on systems that don't support them. 9003 lt_prog_compiler_can_build_shared=no 9004 enable_shared=no 9005 ;; 9006 9007 *nto* | *qnx*) 9008 # QNX uses GNU C++, but need to define -shared option too, otherwise 9009 # it will coredump. 9010 lt_prog_compiler_pic='-fPIC -shared' 9011 ;; 9012 9013 sysv4*MP*) 9014 if test -d /usr/nec; then 9015 lt_prog_compiler_pic=-Kconform_pic 9016 fi 9017 ;; 9018 9019 *) 9020 lt_prog_compiler_pic='-fPIC' 9021 ;; 9022 esac 9023 else 9024 # PORTME Check for flag to pass linker flags through the system compiler. 9025 case $host_os in 9026 aix*) 9027 lt_prog_compiler_wl='-Wl,' 9028 if test "$host_cpu" = ia64; then 9029 # AIX 5 now supports IA64 processor 9030 lt_prog_compiler_static='-Bstatic' 9031 else 9032 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9033 fi 9034 ;; 9035 9036 mingw* | cygwin* | pw32* | os2* | cegcc*) 9037 # This hack is so that the source file can tell whether it is being 9038 # built for inclusion in a dll (and should export symbols for example). 9039 lt_prog_compiler_pic='-DDLL_EXPORT' 9040 ;; 9041 9042 hpux9* | hpux10* | hpux11*) 9043 lt_prog_compiler_wl='-Wl,' 9044 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 9045 # not for PA HP-UX. 9046 case $host_cpu in 9047 hppa*64*|ia64*) 9048 # +Z the default 9049 ;; 9050 *) 9051 lt_prog_compiler_pic='+Z' 9052 ;; 9053 esac 9054 # Is there a better lt_prog_compiler_static that works with the bundled CC? 9055 lt_prog_compiler_static='${wl}-a ${wl}archive' 9056 ;; 9057 9058 irix5* | irix6* | nonstopux*) 9059 lt_prog_compiler_wl='-Wl,' 9060 # PIC (with -KPIC) is the default. 9061 lt_prog_compiler_static='-non_shared' 9062 ;; 9063 9064 linux* | k*bsd*-gnu) 9065 case $cc_basename in 9066 # old Intel for x86_64 which still supported -KPIC. 9067 ecc*) 9068 lt_prog_compiler_wl='-Wl,' 9069 lt_prog_compiler_pic='-KPIC' 9070 lt_prog_compiler_static='-static' 9071 ;; 9072 # icc used to be incompatible with GCC. 9073 # ICC 10 doesn't accept -KPIC any more. 9074 icc* | ifort*) 9075 lt_prog_compiler_wl='-Wl,' 9076 lt_prog_compiler_pic='-fPIC' 9077 lt_prog_compiler_static='-static' 9078 ;; 9079 # Lahey Fortran 8.1. 9080 lf95*) 9081 lt_prog_compiler_wl='-Wl,' 9082 lt_prog_compiler_pic='--shared' 9083 lt_prog_compiler_static='--static' 9084 ;; 9085 pgcc* | pgf77* | pgf90* | pgf95*) 9086 # Portland Group compilers (*not* the Pentium gcc compiler, 9087 # which looks to be a dead project) 9088 lt_prog_compiler_wl='-Wl,' 9089 lt_prog_compiler_pic='-fpic' 9090 lt_prog_compiler_static='-Bstatic' 9091 ;; 9092 ccc*) 9093 lt_prog_compiler_wl='-Wl,' 9094 # All Alpha code is PIC. 9095 lt_prog_compiler_static='-non_shared' 9096 ;; 9097 xl*) 9098 # IBM XL C 8.0/Fortran 10.1 on PPC 9099 lt_prog_compiler_wl='-Wl,' 9100 lt_prog_compiler_pic='-qpic' 9101 lt_prog_compiler_static='-qstaticlink' 9102 ;; 9103 *) 9104 case `$CC -V 2>&1 | sed 5q` in 9105 *Sun\ C*) 9106 # Sun C 5.9 9107 lt_prog_compiler_pic='-KPIC' 9108 lt_prog_compiler_static='-Bstatic' 9109 lt_prog_compiler_wl='-Wl,' 9110 ;; 9111 *Sun\ F*) 9112 # Sun Fortran 8.3 passes all unrecognized flags to the linker 9113 lt_prog_compiler_pic='-KPIC' 9114 lt_prog_compiler_static='-Bstatic' 9115 lt_prog_compiler_wl='' 9116 ;; 9117 esac 9118 ;; 9119 esac 9120 ;; 9121 9122 newsos6) 9123 lt_prog_compiler_pic='-KPIC' 9124 lt_prog_compiler_static='-Bstatic' 9125 ;; 9126 9127 *nto* | *qnx*) 9128 # QNX uses GNU C++, but need to define -shared option too, otherwise 9129 # it will coredump. 9130 lt_prog_compiler_pic='-fPIC -shared' 9131 ;; 9132 9133 osf3* | osf4* | osf5*) 9134 lt_prog_compiler_wl='-Wl,' 9135 # All OSF/1 code is PIC. 9136 lt_prog_compiler_static='-non_shared' 9137 ;; 9138 9139 rdos*) 9140 lt_prog_compiler_static='-non_shared' 9141 ;; 9142 9143 solaris*) 9144 lt_prog_compiler_pic='-KPIC' 9145 lt_prog_compiler_static='-Bstatic' 9146 case $cc_basename in 9147 f77* | f90* | f95*) 9148 lt_prog_compiler_wl='-Qoption ld ';; 9149 *) 9150 lt_prog_compiler_wl='-Wl,';; 9151 esac 9152 ;; 9153 9154 sunos4*) 9155 lt_prog_compiler_wl='-Qoption ld ' 9156 lt_prog_compiler_pic='-PIC' 9157 lt_prog_compiler_static='-Bstatic' 9158 ;; 9159 9160 sysv4 | sysv4.2uw2* | sysv4.3*) 9161 lt_prog_compiler_wl='-Wl,' 9162 lt_prog_compiler_pic='-KPIC' 9163 lt_prog_compiler_static='-Bstatic' 9164 ;; 9165 9166 sysv4*MP*) 9167 if test -d /usr/nec ;then 9168 lt_prog_compiler_pic='-Kconform_pic' 9169 lt_prog_compiler_static='-Bstatic' 9170 fi 9171 ;; 9172 9173 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 9174 lt_prog_compiler_wl='-Wl,' 9175 lt_prog_compiler_pic='-KPIC' 9176 lt_prog_compiler_static='-Bstatic' 9177 ;; 9178 9179 unicos*) 9180 lt_prog_compiler_wl='-Wl,' 9181 lt_prog_compiler_can_build_shared=no 9182 ;; 9183 9184 uts4*) 9185 lt_prog_compiler_pic='-pic' 9186 lt_prog_compiler_static='-Bstatic' 9187 ;; 9188 9189 *) 9190 lt_prog_compiler_can_build_shared=no 9191 ;; 9192 esac 9193 fi 9194 9195case $host_os in 9196 # For platforms which do not support PIC, -DPIC is meaningless: 9197 *djgpp*) 9198 lt_prog_compiler_pic= 9199 ;; 9200 *) 9201 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 9202 ;; 9203esac 9204{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 9205$as_echo "$lt_prog_compiler_pic" >&6; } 9206 9207 9208 9209 9210 9211 9212# 9213# Check to make sure the PIC flag actually works. 9214# 9215if test -n "$lt_prog_compiler_pic"; then 9216 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 9217$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 9218if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 9219 $as_echo_n "(cached) " >&6 9220else 9221 lt_cv_prog_compiler_pic_works=no 9222 ac_outfile=conftest.$ac_objext 9223 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9224 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 9225 # Insert the option either (1) after the last *FLAGS variable, or 9226 # (2) before a word containing "conftest.", or (3) at the end. 9227 # Note that $ac_compile itself does not contain backslashes and begins 9228 # with a dollar sign (not a hyphen), so the echo should work correctly. 9229 # The option is referenced via a variable to avoid confusing sed. 9230 lt_compile=`echo "$ac_compile" | $SED \ 9231 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9232 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9233 -e 's:$: $lt_compiler_flag:'` 9234 (eval echo "\"\$as_me:9234: $lt_compile\"" >&5) 9235 (eval "$lt_compile" 2>conftest.err) 9236 ac_status=$? 9237 cat conftest.err >&5 9238 echo "$as_me:9238: \$? = $ac_status" >&5 9239 if (exit $ac_status) && test -s "$ac_outfile"; then 9240 # The compiler can only warn and ignore the option if not recognized 9241 # So say no if there are warnings other than the usual output. 9242 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 9243 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9244 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9245 lt_cv_prog_compiler_pic_works=yes 9246 fi 9247 fi 9248 $RM conftest* 9249 9250fi 9251{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 9252$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 9253 9254if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 9255 case $lt_prog_compiler_pic in 9256 "" | " "*) ;; 9257 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 9258 esac 9259else 9260 lt_prog_compiler_pic= 9261 lt_prog_compiler_can_build_shared=no 9262fi 9263 9264fi 9265 9266 9267 9268 9269 9270 9271# 9272# Check to make sure the static flag actually works. 9273# 9274wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9275{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9276$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9277if test "${lt_cv_prog_compiler_static_works+set}" = set; then 9278 $as_echo_n "(cached) " >&6 9279else 9280 lt_cv_prog_compiler_static_works=no 9281 save_LDFLAGS="$LDFLAGS" 9282 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9283 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9284 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9285 # The linker can only warn and ignore the option if not recognized 9286 # So say no if there are warnings 9287 if test -s conftest.err; then 9288 # Append any errors to the config.log. 9289 cat conftest.err 1>&5 9290 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 9291 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9292 if diff conftest.exp conftest.er2 >/dev/null; then 9293 lt_cv_prog_compiler_static_works=yes 9294 fi 9295 else 9296 lt_cv_prog_compiler_static_works=yes 9297 fi 9298 fi 9299 $RM -r conftest* 9300 LDFLAGS="$save_LDFLAGS" 9301 9302fi 9303{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 9304$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9305 9306if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9307 : 9308else 9309 lt_prog_compiler_static= 9310fi 9311 9312 9313 9314 9315 9316 9317 9318 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9319$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9320if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9321 $as_echo_n "(cached) " >&6 9322else 9323 lt_cv_prog_compiler_c_o=no 9324 $RM -r conftest 2>/dev/null 9325 mkdir conftest 9326 cd conftest 9327 mkdir out 9328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9329 9330 lt_compiler_flag="-o out/conftest2.$ac_objext" 9331 # Insert the option either (1) after the last *FLAGS variable, or 9332 # (2) before a word containing "conftest.", or (3) at the end. 9333 # Note that $ac_compile itself does not contain backslashes and begins 9334 # with a dollar sign (not a hyphen), so the echo should work correctly. 9335 lt_compile=`echo "$ac_compile" | $SED \ 9336 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9337 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9338 -e 's:$: $lt_compiler_flag:'` 9339 (eval echo "\"\$as_me:9339: $lt_compile\"" >&5) 9340 (eval "$lt_compile" 2>out/conftest.err) 9341 ac_status=$? 9342 cat out/conftest.err >&5 9343 echo "$as_me:9343: \$? = $ac_status" >&5 9344 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9345 then 9346 # The compiler can only warn and ignore the option if not recognized 9347 # So say no if there are warnings 9348 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9349 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9350 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9351 lt_cv_prog_compiler_c_o=yes 9352 fi 9353 fi 9354 chmod u+w . 2>&5 9355 $RM conftest* 9356 # SGI C++ compiler will create directory out/ii_files/ for 9357 # template instantiation 9358 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9359 $RM out/* && rmdir out 9360 cd .. 9361 $RM -r conftest 9362 $RM conftest* 9363 9364fi 9365{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9366$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9367 9368 9369 9370 9371 9372 9373 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9374$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9375if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9376 $as_echo_n "(cached) " >&6 9377else 9378 lt_cv_prog_compiler_c_o=no 9379 $RM -r conftest 2>/dev/null 9380 mkdir conftest 9381 cd conftest 9382 mkdir out 9383 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9384 9385 lt_compiler_flag="-o out/conftest2.$ac_objext" 9386 # Insert the option either (1) after the last *FLAGS variable, or 9387 # (2) before a word containing "conftest.", or (3) at the end. 9388 # Note that $ac_compile itself does not contain backslashes and begins 9389 # with a dollar sign (not a hyphen), so the echo should work correctly. 9390 lt_compile=`echo "$ac_compile" | $SED \ 9391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9393 -e 's:$: $lt_compiler_flag:'` 9394 (eval echo "\"\$as_me:9394: $lt_compile\"" >&5) 9395 (eval "$lt_compile" 2>out/conftest.err) 9396 ac_status=$? 9397 cat out/conftest.err >&5 9398 echo "$as_me:9398: \$? = $ac_status" >&5 9399 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9400 then 9401 # The compiler can only warn and ignore the option if not recognized 9402 # So say no if there are warnings 9403 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9404 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9405 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9406 lt_cv_prog_compiler_c_o=yes 9407 fi 9408 fi 9409 chmod u+w . 2>&5 9410 $RM conftest* 9411 # SGI C++ compiler will create directory out/ii_files/ for 9412 # template instantiation 9413 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9414 $RM out/* && rmdir out 9415 cd .. 9416 $RM -r conftest 9417 $RM conftest* 9418 9419fi 9420{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9421$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9422 9423 9424 9425 9426hard_links="nottested" 9427if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9428 # do not overwrite the value of need_locks provided by the user 9429 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 9430$as_echo_n "checking if we can lock with hard links... " >&6; } 9431 hard_links=yes 9432 $RM conftest* 9433 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9434 touch conftest.a 9435 ln conftest.a conftest.b 2>&5 || hard_links=no 9436 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9437 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 9438$as_echo "$hard_links" >&6; } 9439 if test "$hard_links" = no; then 9440 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9441$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9442 need_locks=warn 9443 fi 9444else 9445 need_locks=no 9446fi 9447 9448 9449 9450 9451 9452 9453 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9454$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9455 9456 runpath_var= 9457 allow_undefined_flag= 9458 always_export_symbols=no 9459 archive_cmds= 9460 archive_expsym_cmds= 9461 compiler_needs_object=no 9462 enable_shared_with_static_runtimes=no 9463 export_dynamic_flag_spec= 9464 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9465 hardcode_automatic=no 9466 hardcode_direct=no 9467 hardcode_direct_absolute=no 9468 hardcode_libdir_flag_spec= 9469 hardcode_libdir_flag_spec_ld= 9470 hardcode_libdir_separator= 9471 hardcode_minus_L=no 9472 hardcode_shlibpath_var=unsupported 9473 inherit_rpath=no 9474 link_all_deplibs=unknown 9475 module_cmds= 9476 module_expsym_cmds= 9477 old_archive_from_new_cmds= 9478 old_archive_from_expsyms_cmds= 9479 thread_safe_flag_spec= 9480 whole_archive_flag_spec= 9481 # include_expsyms should be a list of space-separated symbols to be *always* 9482 # included in the symbol list 9483 include_expsyms= 9484 # exclude_expsyms can be an extended regexp of symbols to exclude 9485 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9486 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9487 # as well as any symbol that contains `d'. 9488 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9489 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9490 # platforms (ab)use it in PIC code, but their linkers get confused if 9491 # the symbol is explicitly referenced. Since portable code cannot 9492 # rely on this symbol name, it's probably fine to never include it in 9493 # preloaded symbol tables. 9494 # Exclude shared library initialization/finalization symbols. 9495 extract_expsyms_cmds= 9496 9497 case $host_os in 9498 cygwin* | mingw* | pw32* | cegcc*) 9499 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9500 # When not using gcc, we currently assume that we are using 9501 # Microsoft Visual C++. 9502 if test "$GCC" != yes; then 9503 with_gnu_ld=no 9504 fi 9505 ;; 9506 interix*) 9507 # we just hope/assume this is gcc and not c89 (= MSVC++) 9508 with_gnu_ld=yes 9509 ;; 9510 openbsd*) 9511 with_gnu_ld=no 9512 ;; 9513 esac 9514 9515 ld_shlibs=yes 9516 if test "$with_gnu_ld" = yes; then 9517 # If archive_cmds runs LD, not CC, wlarc should be empty 9518 wlarc='${wl}' 9519 9520 # Set some defaults for GNU ld with shared library support. These 9521 # are reset later if shared libraries are not supported. Putting them 9522 # here allows them to be overridden if necessary. 9523 runpath_var=LD_RUN_PATH 9524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9525 export_dynamic_flag_spec='${wl}--export-dynamic' 9526 # ancient GNU ld didn't support --whole-archive et. al. 9527 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9528 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9529 else 9530 whole_archive_flag_spec= 9531 fi 9532 supports_anon_versioning=no 9533 case `$LD -v 2>&1` in 9534 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9535 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9536 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9537 *\ 2.11.*) ;; # other 2.11 versions 9538 *) supports_anon_versioning=yes ;; 9539 esac 9540 9541 # See if GNU ld supports shared libraries. 9542 case $host_os in 9543 aix[3-9]*) 9544 # On AIX/PPC, the GNU linker is very broken 9545 if test "$host_cpu" != ia64; then 9546 ld_shlibs=no 9547 cat <<_LT_EOF 1>&2 9548 9549*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9550*** to be unable to reliably create shared libraries on AIX. 9551*** Therefore, libtool is disabling shared libraries support. If you 9552*** really care for shared libraries, you may want to modify your PATH 9553*** so that a non-GNU linker is found, and then restart. 9554 9555_LT_EOF 9556 fi 9557 ;; 9558 9559 amigaos*) 9560 case $host_cpu in 9561 powerpc) 9562 # see comment about AmigaOS4 .so support 9563 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9564 archive_expsym_cmds='' 9565 ;; 9566 m68k) 9567 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)' 9568 hardcode_libdir_flag_spec='-L$libdir' 9569 hardcode_minus_L=yes 9570 ;; 9571 esac 9572 ;; 9573 9574 beos*) 9575 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9576 allow_undefined_flag=unsupported 9577 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9578 # support --undefined. This deserves some investigation. FIXME 9579 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9580 else 9581 ld_shlibs=no 9582 fi 9583 ;; 9584 9585 cygwin* | mingw* | pw32* | cegcc*) 9586 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9587 # as there is no search path for DLLs. 9588 hardcode_libdir_flag_spec='-L$libdir' 9589 allow_undefined_flag=unsupported 9590 always_export_symbols=no 9591 enable_shared_with_static_runtimes=yes 9592 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9593 9594 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9595 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9596 # If the export-symbols file already is a .def file (1st line 9597 # is EXPORTS), use it as is; otherwise, prepend... 9598 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9599 cp $export_symbols $output_objdir/$soname.def; 9600 else 9601 echo EXPORTS > $output_objdir/$soname.def; 9602 cat $export_symbols >> $output_objdir/$soname.def; 9603 fi~ 9604 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9605 else 9606 ld_shlibs=no 9607 fi 9608 ;; 9609 9610 interix[3-9]*) 9611 hardcode_direct=no 9612 hardcode_shlibpath_var=no 9613 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9614 export_dynamic_flag_spec='${wl}-E' 9615 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9616 # Instead, shared libraries are loaded at an image base (0x10000000 by 9617 # default) and relocated if they conflict, which is a slow very memory 9618 # consuming and fragmenting process. To avoid this, we pick a random, 9619 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9620 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9621 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9622 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' 9623 ;; 9624 9625 gnu* | linux* | tpf* | k*bsd*-gnu) 9626 tmp_diet=no 9627 if test "$host_os" = linux-dietlibc; then 9628 case $cc_basename in 9629 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9630 esac 9631 fi 9632 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9633 && test "$tmp_diet" = no 9634 then 9635 tmp_addflag= 9636 tmp_sharedflag='-shared' 9637 case $cc_basename,$host_cpu in 9638 pgcc*) # Portland Group C compiler 9639 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' 9640 tmp_addflag=' $pic_flag' 9641 ;; 9642 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9643 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' 9644 tmp_addflag=' $pic_flag -Mnomain' ;; 9645 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9646 tmp_addflag=' -i_dynamic' ;; 9647 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9648 tmp_addflag=' -i_dynamic -nofor_main' ;; 9649 ifc* | ifort*) # Intel Fortran compiler 9650 tmp_addflag=' -nofor_main' ;; 9651 lf95*) # Lahey Fortran 8.1 9652 whole_archive_flag_spec= 9653 tmp_sharedflag='--shared' ;; 9654 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9655 tmp_sharedflag='-qmkshrobj' 9656 tmp_addflag= ;; 9657 esac 9658 case `$CC -V 2>&1 | sed 5q` in 9659 *Sun\ C*) # Sun C 5.9 9660 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' 9661 compiler_needs_object=yes 9662 tmp_sharedflag='-G' ;; 9663 *Sun\ F*) # Sun Fortran 8.3 9664 tmp_sharedflag='-G' ;; 9665 esac 9666 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9667 9668 if test "x$supports_anon_versioning" = xyes; then 9669 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9671 echo "local: *; };" >> $output_objdir/$libname.ver~ 9672 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9673 fi 9674 9675 case $cc_basename in 9676 xlf*) 9677 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9678 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9679 hardcode_libdir_flag_spec= 9680 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9681 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9682 if test "x$supports_anon_versioning" = xyes; then 9683 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9684 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9685 echo "local: *; };" >> $output_objdir/$libname.ver~ 9686 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9687 fi 9688 ;; 9689 esac 9690 else 9691 ld_shlibs=no 9692 fi 9693 ;; 9694 9695 netbsd*) 9696 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9697 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9698 wlarc= 9699 else 9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9702 fi 9703 ;; 9704 9705 solaris*) 9706 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9707 ld_shlibs=no 9708 cat <<_LT_EOF 1>&2 9709 9710*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9711*** create shared libraries on Solaris systems. Therefore, libtool 9712*** is disabling shared libraries support. We urge you to upgrade GNU 9713*** binutils to release 2.9.1 or newer. Another option is to modify 9714*** your PATH or compiler configuration so that the native linker is 9715*** used, and then restart. 9716 9717_LT_EOF 9718 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9720 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9721 else 9722 ld_shlibs=no 9723 fi 9724 ;; 9725 9726 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9727 case `$LD -v 2>&1` in 9728 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9729 ld_shlibs=no 9730 cat <<_LT_EOF 1>&2 9731 9732*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9733*** reliably create shared libraries on SCO systems. Therefore, libtool 9734*** is disabling shared libraries support. We urge you to upgrade GNU 9735*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9736*** your PATH or compiler configuration so that the native linker is 9737*** used, and then restart. 9738 9739_LT_EOF 9740 ;; 9741 *) 9742 # For security reasons, it is highly recommended that you always 9743 # use absolute paths for naming shared libraries, and exclude the 9744 # DT_RUNPATH tag from executables and libraries. But doing so 9745 # requires that you compile everything twice, which is a pain. 9746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9747 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9749 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9750 else 9751 ld_shlibs=no 9752 fi 9753 ;; 9754 esac 9755 ;; 9756 9757 sunos4*) 9758 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9759 wlarc= 9760 hardcode_direct=yes 9761 hardcode_shlibpath_var=no 9762 ;; 9763 9764 *) 9765 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9766 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9767 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9768 else 9769 ld_shlibs=no 9770 fi 9771 ;; 9772 esac 9773 9774 if test "$ld_shlibs" = no; then 9775 runpath_var= 9776 hardcode_libdir_flag_spec= 9777 export_dynamic_flag_spec= 9778 whole_archive_flag_spec= 9779 fi 9780 else 9781 # PORTME fill in a description of your system's linker (not GNU ld) 9782 case $host_os in 9783 aix3*) 9784 allow_undefined_flag=unsupported 9785 always_export_symbols=yes 9786 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' 9787 # Note: this linker hardcodes the directories in LIBPATH if there 9788 # are no directories specified by -L. 9789 hardcode_minus_L=yes 9790 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9791 # Neither direct hardcoding nor static linking is supported with a 9792 # broken collect2. 9793 hardcode_direct=unsupported 9794 fi 9795 ;; 9796 9797 aix[4-9]*) 9798 if test "$host_cpu" = ia64; then 9799 # On IA64, the linker does run time linking by default, so we don't 9800 # have to do anything special. 9801 aix_use_runtimelinking=no 9802 exp_sym_flag='-Bexport' 9803 no_entry_flag="" 9804 else 9805 # If we're using GNU nm, then we don't want the "-C" option. 9806 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9807 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9808 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' 9809 else 9810 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' 9811 fi 9812 aix_use_runtimelinking=no 9813 9814 # Test if we are trying to use run time linking or normal 9815 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9816 # need to do runtime linking. 9817 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9818 for ld_flag in $LDFLAGS; do 9819 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9820 aix_use_runtimelinking=yes 9821 break 9822 fi 9823 done 9824 ;; 9825 esac 9826 9827 exp_sym_flag='-bexport' 9828 no_entry_flag='-bnoentry' 9829 fi 9830 9831 # When large executables or shared objects are built, AIX ld can 9832 # have problems creating the table of contents. If linking a library 9833 # or program results in "error TOC overflow" add -mminimal-toc to 9834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9836 9837 archive_cmds='' 9838 hardcode_direct=yes 9839 hardcode_direct_absolute=yes 9840 hardcode_libdir_separator=':' 9841 link_all_deplibs=yes 9842 file_list_spec='${wl}-f,' 9843 9844 if test "$GCC" = yes; then 9845 case $host_os in aix4.[012]|aix4.[012].*) 9846 # We only want to do this on AIX 4.2 and lower, the check 9847 # below for broken collect2 doesn't work under 4.3+ 9848 collect2name=`${CC} -print-prog-name=collect2` 9849 if test -f "$collect2name" && 9850 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9851 then 9852 # We have reworked collect2 9853 : 9854 else 9855 # We have old collect2 9856 hardcode_direct=unsupported 9857 # It fails to find uninstalled libraries when the uninstalled 9858 # path is not listed in the libpath. Setting hardcode_minus_L 9859 # to unsupported forces relinking 9860 hardcode_minus_L=yes 9861 hardcode_libdir_flag_spec='-L$libdir' 9862 hardcode_libdir_separator= 9863 fi 9864 ;; 9865 esac 9866 shared_flag='-shared' 9867 if test "$aix_use_runtimelinking" = yes; then 9868 shared_flag="$shared_flag "'${wl}-G' 9869 fi 9870 else 9871 # not using gcc 9872 if test "$host_cpu" = ia64; then 9873 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9874 # chokes on -Wl,-G. The following line is correct: 9875 shared_flag='-G' 9876 else 9877 if test "$aix_use_runtimelinking" = yes; then 9878 shared_flag='${wl}-G' 9879 else 9880 shared_flag='${wl}-bM:SRE' 9881 fi 9882 fi 9883 fi 9884 9885 export_dynamic_flag_spec='${wl}-bexpall' 9886 # It seems that -bexpall does not export symbols beginning with 9887 # underscore (_), so it is better to generate a list of symbols to export. 9888 always_export_symbols=yes 9889 if test "$aix_use_runtimelinking" = yes; then 9890 # Warning - without using the other runtime loading flags (-brtl), 9891 # -berok will link without error, but may produce a broken library. 9892 allow_undefined_flag='-berok' 9893 # Determine the default libpath from the value encoded in an 9894 # empty executable. 9895 cat >conftest.$ac_ext <<_ACEOF 9896/* confdefs.h. */ 9897_ACEOF 9898cat confdefs.h >>conftest.$ac_ext 9899cat >>conftest.$ac_ext <<_ACEOF 9900/* end confdefs.h. */ 9901 9902int 9903main () 9904{ 9905 9906 ; 9907 return 0; 9908} 9909_ACEOF 9910rm -f conftest.$ac_objext conftest$ac_exeext 9911if { (ac_try="$ac_link" 9912case "(($ac_try" in 9913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9914 *) ac_try_echo=$ac_try;; 9915esac 9916eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9917$as_echo "$ac_try_echo") >&5 9918 (eval "$ac_link") 2>conftest.er1 9919 ac_status=$? 9920 grep -v '^ *+' conftest.er1 >conftest.err 9921 rm -f conftest.er1 9922 cat conftest.err >&5 9923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9924 (exit $ac_status); } && { 9925 test -z "$ac_c_werror_flag" || 9926 test ! -s conftest.err 9927 } && test -s conftest$ac_exeext && { 9928 test "$cross_compiling" = yes || 9929 $as_test_x conftest$ac_exeext 9930 }; then 9931 9932lt_aix_libpath_sed=' 9933 /Import File Strings/,/^$/ { 9934 /^0/ { 9935 s/^0 *\(.*\)$/\1/ 9936 p 9937 } 9938 }' 9939aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9940# Check for a 64-bit object if we didn't find anything. 9941if test -z "$aix_libpath"; then 9942 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9943fi 9944else 9945 $as_echo "$as_me: failed program was:" >&5 9946sed 's/^/| /' conftest.$ac_ext >&5 9947 9948 9949fi 9950 9951rm -rf conftest.dSYM 9952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9953 conftest$ac_exeext conftest.$ac_ext 9954if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9955 9956 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9957 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" 9958 else 9959 if test "$host_cpu" = ia64; then 9960 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9961 allow_undefined_flag="-z nodefs" 9962 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" 9963 else 9964 # Determine the default libpath from the value encoded in an 9965 # empty executable. 9966 cat >conftest.$ac_ext <<_ACEOF 9967/* confdefs.h. */ 9968_ACEOF 9969cat confdefs.h >>conftest.$ac_ext 9970cat >>conftest.$ac_ext <<_ACEOF 9971/* end confdefs.h. */ 9972 9973int 9974main () 9975{ 9976 9977 ; 9978 return 0; 9979} 9980_ACEOF 9981rm -f conftest.$ac_objext conftest$ac_exeext 9982if { (ac_try="$ac_link" 9983case "(($ac_try" in 9984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9985 *) ac_try_echo=$ac_try;; 9986esac 9987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9988$as_echo "$ac_try_echo") >&5 9989 (eval "$ac_link") 2>conftest.er1 9990 ac_status=$? 9991 grep -v '^ *+' conftest.er1 >conftest.err 9992 rm -f conftest.er1 9993 cat conftest.err >&5 9994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9995 (exit $ac_status); } && { 9996 test -z "$ac_c_werror_flag" || 9997 test ! -s conftest.err 9998 } && test -s conftest$ac_exeext && { 9999 test "$cross_compiling" = yes || 10000 $as_test_x conftest$ac_exeext 10001 }; then 10002 10003lt_aix_libpath_sed=' 10004 /Import File Strings/,/^$/ { 10005 /^0/ { 10006 s/^0 *\(.*\)$/\1/ 10007 p 10008 } 10009 }' 10010aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10011# Check for a 64-bit object if we didn't find anything. 10012if test -z "$aix_libpath"; then 10013 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 10014fi 10015else 10016 $as_echo "$as_me: failed program was:" >&5 10017sed 's/^/| /' conftest.$ac_ext >&5 10018 10019 10020fi 10021 10022rm -rf conftest.dSYM 10023rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10024 conftest$ac_exeext conftest.$ac_ext 10025if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 10026 10027 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 10028 # Warning - without using the other run time loading flags, 10029 # -berok will link without error, but may produce a broken library. 10030 no_undefined_flag=' ${wl}-bernotok' 10031 allow_undefined_flag=' ${wl}-berok' 10032 # Exported symbols can be pulled into shared objects from archives 10033 whole_archive_flag_spec='$convenience' 10034 archive_cmds_need_lc=yes 10035 # This is similar to how AIX traditionally builds its shared libraries. 10036 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' 10037 fi 10038 fi 10039 ;; 10040 10041 amigaos*) 10042 case $host_cpu in 10043 powerpc) 10044 # see comment about AmigaOS4 .so support 10045 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 10046 archive_expsym_cmds='' 10047 ;; 10048 m68k) 10049 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)' 10050 hardcode_libdir_flag_spec='-L$libdir' 10051 hardcode_minus_L=yes 10052 ;; 10053 esac 10054 ;; 10055 10056 bsdi[45]*) 10057 export_dynamic_flag_spec=-rdynamic 10058 ;; 10059 10060 cygwin* | mingw* | pw32* | cegcc*) 10061 # When not using gcc, we currently assume that we are using 10062 # Microsoft Visual C++. 10063 # hardcode_libdir_flag_spec is actually meaningless, as there is 10064 # no search path for DLLs. 10065 hardcode_libdir_flag_spec=' ' 10066 allow_undefined_flag=unsupported 10067 # Tell ltmain to make .lib files, not .a files. 10068 libext=lib 10069 # Tell ltmain to make .dll files, not .so files. 10070 shrext_cmds=".dll" 10071 # FIXME: Setting linknames here is a bad hack. 10072 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 10073 # The linker will automatically build a .lib file if we build a DLL. 10074 old_archive_from_new_cmds='true' 10075 # FIXME: Should let the user specify the lib program. 10076 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 10077 fix_srcfile_path='`cygpath -w "$srcfile"`' 10078 enable_shared_with_static_runtimes=yes 10079 ;; 10080 10081 darwin* | rhapsody*) 10082 10083 10084 archive_cmds_need_lc=no 10085 hardcode_direct=no 10086 hardcode_automatic=yes 10087 hardcode_shlibpath_var=unsupported 10088 whole_archive_flag_spec='' 10089 link_all_deplibs=yes 10090 allow_undefined_flag="$_lt_dar_allow_undefined" 10091 case $cc_basename in 10092 ifort*) _lt_dar_can_shared=yes ;; 10093 *) _lt_dar_can_shared=$GCC ;; 10094 esac 10095 if test "$_lt_dar_can_shared" = "yes"; then 10096 output_verbose_link_cmd=echo 10097 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 10098 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 10099 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}" 10100 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}" 10101 10102 else 10103 ld_shlibs=no 10104 fi 10105 10106 ;; 10107 10108 dgux*) 10109 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10110 hardcode_libdir_flag_spec='-L$libdir' 10111 hardcode_shlibpath_var=no 10112 ;; 10113 10114 freebsd1*) 10115 ld_shlibs=no 10116 ;; 10117 10118 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 10119 # support. Future versions do this automatically, but an explicit c++rt0.o 10120 # does not break anything, and helps significantly (at the cost of a little 10121 # extra space). 10122 freebsd2.2*) 10123 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 10124 hardcode_libdir_flag_spec='-R$libdir' 10125 hardcode_direct=yes 10126 hardcode_shlibpath_var=no 10127 ;; 10128 10129 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 10130 freebsd2*) 10131 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10132 hardcode_direct=yes 10133 hardcode_minus_L=yes 10134 hardcode_shlibpath_var=no 10135 ;; 10136 10137 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 10138 freebsd* | dragonfly*) 10139 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 10140 hardcode_libdir_flag_spec='-R$libdir' 10141 hardcode_direct=yes 10142 hardcode_shlibpath_var=no 10143 ;; 10144 10145 hpux9*) 10146 if test "$GCC" = yes; then 10147 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' 10148 else 10149 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' 10150 fi 10151 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10152 hardcode_libdir_separator=: 10153 hardcode_direct=yes 10154 10155 # hardcode_minus_L: Not really in the search PATH, 10156 # but as the default location of the library. 10157 hardcode_minus_L=yes 10158 export_dynamic_flag_spec='${wl}-E' 10159 ;; 10160 10161 hpux10*) 10162 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10163 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10164 else 10165 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 10166 fi 10167 if test "$with_gnu_ld" = no; then 10168 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10169 hardcode_libdir_flag_spec_ld='+b $libdir' 10170 hardcode_libdir_separator=: 10171 hardcode_direct=yes 10172 hardcode_direct_absolute=yes 10173 export_dynamic_flag_spec='${wl}-E' 10174 # hardcode_minus_L: Not really in the search PATH, 10175 # but as the default location of the library. 10176 hardcode_minus_L=yes 10177 fi 10178 ;; 10179 10180 hpux11*) 10181 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 10182 case $host_cpu in 10183 hppa*64*) 10184 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10185 ;; 10186 ia64*) 10187 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10188 ;; 10189 *) 10190 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10191 ;; 10192 esac 10193 else 10194 case $host_cpu in 10195 hppa*64*) 10196 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10197 ;; 10198 ia64*) 10199 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 10200 ;; 10201 *) 10202 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 10203 ;; 10204 esac 10205 fi 10206 if test "$with_gnu_ld" = no; then 10207 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 10208 hardcode_libdir_separator=: 10209 10210 case $host_cpu in 10211 hppa*64*|ia64*) 10212 hardcode_direct=no 10213 hardcode_shlibpath_var=no 10214 ;; 10215 *) 10216 hardcode_direct=yes 10217 hardcode_direct_absolute=yes 10218 export_dynamic_flag_spec='${wl}-E' 10219 10220 # hardcode_minus_L: Not really in the search PATH, 10221 # but as the default location of the library. 10222 hardcode_minus_L=yes 10223 ;; 10224 esac 10225 fi 10226 ;; 10227 10228 irix5* | irix6* | nonstopux*) 10229 if test "$GCC" = yes; then 10230 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' 10231 # Try to use the -exported_symbol ld option, if it does not 10232 # work, assume that -exports_file does not work either and 10233 # implicitly export all symbols. 10234 save_LDFLAGS="$LDFLAGS" 10235 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 10236 cat >conftest.$ac_ext <<_ACEOF 10237int foo(void) {} 10238_ACEOF 10239rm -f conftest.$ac_objext conftest$ac_exeext 10240if { (ac_try="$ac_link" 10241case "(($ac_try" in 10242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10243 *) ac_try_echo=$ac_try;; 10244esac 10245eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10246$as_echo "$ac_try_echo") >&5 10247 (eval "$ac_link") 2>conftest.er1 10248 ac_status=$? 10249 grep -v '^ *+' conftest.er1 >conftest.err 10250 rm -f conftest.er1 10251 cat conftest.err >&5 10252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10253 (exit $ac_status); } && { 10254 test -z "$ac_c_werror_flag" || 10255 test ! -s conftest.err 10256 } && test -s conftest$ac_exeext && { 10257 test "$cross_compiling" = yes || 10258 $as_test_x conftest$ac_exeext 10259 }; then 10260 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' 10261 10262else 10263 $as_echo "$as_me: failed program was:" >&5 10264sed 's/^/| /' conftest.$ac_ext >&5 10265 10266 10267fi 10268 10269rm -rf conftest.dSYM 10270rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10271 conftest$ac_exeext conftest.$ac_ext 10272 LDFLAGS="$save_LDFLAGS" 10273 else 10274 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' 10275 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' 10276 fi 10277 archive_cmds_need_lc='no' 10278 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10279 hardcode_libdir_separator=: 10280 inherit_rpath=yes 10281 link_all_deplibs=yes 10282 ;; 10283 10284 netbsd*) 10285 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10286 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10287 else 10288 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10289 fi 10290 hardcode_libdir_flag_spec='-R$libdir' 10291 hardcode_direct=yes 10292 hardcode_shlibpath_var=no 10293 ;; 10294 10295 newsos6) 10296 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10297 hardcode_direct=yes 10298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10299 hardcode_libdir_separator=: 10300 hardcode_shlibpath_var=no 10301 ;; 10302 10303 *nto* | *qnx*) 10304 ;; 10305 10306 openbsd*) 10307 if test -f /usr/libexec/ld.so; then 10308 hardcode_direct=yes 10309 hardcode_shlibpath_var=no 10310 hardcode_direct_absolute=yes 10311 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10312 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10313 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10314 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10315 export_dynamic_flag_spec='${wl}-E' 10316 else 10317 case $host_os in 10318 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10319 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10320 hardcode_libdir_flag_spec='-R$libdir' 10321 ;; 10322 *) 10323 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10324 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10325 ;; 10326 esac 10327 fi 10328 else 10329 ld_shlibs=no 10330 fi 10331 ;; 10332 10333 os2*) 10334 hardcode_libdir_flag_spec='-L$libdir' 10335 hardcode_minus_L=yes 10336 allow_undefined_flag=unsupported 10337 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' 10338 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10339 ;; 10340 10341 osf3*) 10342 if test "$GCC" = yes; then 10343 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10344 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' 10345 else 10346 allow_undefined_flag=' -expect_unresolved \*' 10347 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' 10348 fi 10349 archive_cmds_need_lc='no' 10350 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10351 hardcode_libdir_separator=: 10352 ;; 10353 10354 osf4* | osf5*) # as osf3* with the addition of -msym flag 10355 if test "$GCC" = yes; then 10356 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10357 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' 10358 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10359 else 10360 allow_undefined_flag=' -expect_unresolved \*' 10361 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' 10362 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~ 10363 $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' 10364 10365 # Both c and cxx compiler support -rpath directly 10366 hardcode_libdir_flag_spec='-rpath $libdir' 10367 fi 10368 archive_cmds_need_lc='no' 10369 hardcode_libdir_separator=: 10370 ;; 10371 10372 solaris*) 10373 no_undefined_flag=' -z defs' 10374 if test "$GCC" = yes; then 10375 wlarc='${wl}' 10376 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10378 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10379 else 10380 case `$CC -V 2>&1` in 10381 *"Compilers 5.0"*) 10382 wlarc='' 10383 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10384 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10385 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10386 ;; 10387 *) 10388 wlarc='${wl}' 10389 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10390 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10391 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10392 ;; 10393 esac 10394 fi 10395 hardcode_libdir_flag_spec='-R$libdir' 10396 hardcode_shlibpath_var=no 10397 case $host_os in 10398 solaris2.[0-5] | solaris2.[0-5].*) ;; 10399 *) 10400 # The compiler driver will combine and reorder linker options, 10401 # but understands `-z linker_flag'. GCC discards it without `$wl', 10402 # but is careful enough not to reorder. 10403 # Supported since Solaris 2.6 (maybe 2.5.1?) 10404 if test "$GCC" = yes; then 10405 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10406 else 10407 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10408 fi 10409 ;; 10410 esac 10411 link_all_deplibs=yes 10412 ;; 10413 10414 sunos4*) 10415 if test "x$host_vendor" = xsequent; then 10416 # Use $CC to link under sequent, because it throws in some extra .o 10417 # files that make .init and .fini sections work. 10418 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10419 else 10420 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10421 fi 10422 hardcode_libdir_flag_spec='-L$libdir' 10423 hardcode_direct=yes 10424 hardcode_minus_L=yes 10425 hardcode_shlibpath_var=no 10426 ;; 10427 10428 sysv4) 10429 case $host_vendor in 10430 sni) 10431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10432 hardcode_direct=yes # is this really true??? 10433 ;; 10434 siemens) 10435 ## LD is ld it makes a PLAMLIB 10436 ## CC just makes a GrossModule. 10437 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10438 reload_cmds='$CC -r -o $output$reload_objs' 10439 hardcode_direct=no 10440 ;; 10441 motorola) 10442 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10443 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10444 ;; 10445 esac 10446 runpath_var='LD_RUN_PATH' 10447 hardcode_shlibpath_var=no 10448 ;; 10449 10450 sysv4.3*) 10451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10452 hardcode_shlibpath_var=no 10453 export_dynamic_flag_spec='-Bexport' 10454 ;; 10455 10456 sysv4*MP*) 10457 if test -d /usr/nec; then 10458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10459 hardcode_shlibpath_var=no 10460 runpath_var=LD_RUN_PATH 10461 hardcode_runpath_var=yes 10462 ld_shlibs=yes 10463 fi 10464 ;; 10465 10466 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10467 no_undefined_flag='${wl}-z,text' 10468 archive_cmds_need_lc=no 10469 hardcode_shlibpath_var=no 10470 runpath_var='LD_RUN_PATH' 10471 10472 if test "$GCC" = yes; then 10473 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10474 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10475 else 10476 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10477 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10478 fi 10479 ;; 10480 10481 sysv5* | sco3.2v5* | sco5v6*) 10482 # Note: We can NOT use -z defs as we might desire, because we do not 10483 # link with -lc, and that would cause any symbols used from libc to 10484 # always be unresolved, which means just about no library would 10485 # ever link correctly. If we're not using GNU ld we use -z text 10486 # though, which does catch some bad symbols but isn't as heavy-handed 10487 # as -z defs. 10488 no_undefined_flag='${wl}-z,text' 10489 allow_undefined_flag='${wl}-z,nodefs' 10490 archive_cmds_need_lc=no 10491 hardcode_shlibpath_var=no 10492 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10493 hardcode_libdir_separator=':' 10494 link_all_deplibs=yes 10495 export_dynamic_flag_spec='${wl}-Bexport' 10496 runpath_var='LD_RUN_PATH' 10497 10498 if test "$GCC" = yes; then 10499 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10500 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10501 else 10502 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10503 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10504 fi 10505 ;; 10506 10507 uts4*) 10508 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10509 hardcode_libdir_flag_spec='-L$libdir' 10510 hardcode_shlibpath_var=no 10511 ;; 10512 10513 *) 10514 ld_shlibs=no 10515 ;; 10516 esac 10517 10518 if test x$host_vendor = xsni; then 10519 case $host in 10520 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10521 export_dynamic_flag_spec='${wl}-Blargedynsym' 10522 ;; 10523 esac 10524 fi 10525 fi 10526 10527{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 10528$as_echo "$ld_shlibs" >&6; } 10529test "$ld_shlibs" = no && can_build_shared=no 10530 10531with_gnu_ld=$with_gnu_ld 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547# 10548# Do we need to explicitly link libc? 10549# 10550case "x$archive_cmds_need_lc" in 10551x|xyes) 10552 # Assume -lc should be added 10553 archive_cmds_need_lc=yes 10554 10555 if test "$enable_shared" = yes && test "$GCC" = yes; then 10556 case $archive_cmds in 10557 *'~'*) 10558 # FIXME: we may have to deal with multi-command sequences. 10559 ;; 10560 '$CC '*) 10561 # Test whether the compiler implicitly links with -lc since on some 10562 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10563 # to ld, don't add -lc before -lgcc. 10564 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 10565$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10566 $RM conftest* 10567 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10568 10569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10570 (eval $ac_compile) 2>&5 10571 ac_status=$? 10572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10573 (exit $ac_status); } 2>conftest.err; then 10574 soname=conftest 10575 lib=conftest 10576 libobjs=conftest.$ac_objext 10577 deplibs= 10578 wl=$lt_prog_compiler_wl 10579 pic_flag=$lt_prog_compiler_pic 10580 compiler_flags=-v 10581 linker_flags=-v 10582 verstring= 10583 output_objdir=. 10584 libname=conftest 10585 lt_save_allow_undefined_flag=$allow_undefined_flag 10586 allow_undefined_flag= 10587 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 10588 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10589 ac_status=$? 10590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10591 (exit $ac_status); } 10592 then 10593 archive_cmds_need_lc=no 10594 else 10595 archive_cmds_need_lc=yes 10596 fi 10597 allow_undefined_flag=$lt_save_allow_undefined_flag 10598 else 10599 cat conftest.err 1>&5 10600 fi 10601 $RM conftest* 10602 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 10603$as_echo "$archive_cmds_need_lc" >&6; } 10604 ;; 10605 esac 10606 fi 10607 ;; 10608esac 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10767$as_echo_n "checking dynamic linker characteristics... " >&6; } 10768 10769if test "$GCC" = yes; then 10770 case $host_os in 10771 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10772 *) lt_awk_arg="/^libraries:/" ;; 10773 esac 10774 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10775 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10776 # if the path contains ";" then we assume it to be the separator 10777 # otherwise default to the standard path separator (i.e. ":") - it is 10778 # assumed that no part of a normal pathname contains ";" but that should 10779 # okay in the real world where ";" in dirpaths is itself problematic. 10780 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10781 else 10782 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10783 fi 10784 # Ok, now we have the path, separated by spaces, we can step through it 10785 # and add multilib dir if necessary. 10786 lt_tmp_lt_search_path_spec= 10787 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10788 for lt_sys_path in $lt_search_path_spec; do 10789 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10790 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10791 else 10792 test -d "$lt_sys_path" && \ 10793 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10794 fi 10795 done 10796 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10797BEGIN {RS=" "; FS="/|\n";} { 10798 lt_foo=""; 10799 lt_count=0; 10800 for (lt_i = NF; lt_i > 0; lt_i--) { 10801 if ($lt_i != "" && $lt_i != ".") { 10802 if ($lt_i == "..") { 10803 lt_count++; 10804 } else { 10805 if (lt_count == 0) { 10806 lt_foo="/" $lt_i lt_foo; 10807 } else { 10808 lt_count--; 10809 } 10810 } 10811 } 10812 } 10813 if (lt_foo != "") { lt_freq[lt_foo]++; } 10814 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10815}'` 10816 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10817else 10818 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10819fi 10820library_names_spec= 10821libname_spec='lib$name' 10822soname_spec= 10823shrext_cmds=".so" 10824postinstall_cmds= 10825postuninstall_cmds= 10826finish_cmds= 10827finish_eval= 10828shlibpath_var= 10829shlibpath_overrides_runpath=unknown 10830version_type=none 10831dynamic_linker="$host_os ld.so" 10832sys_lib_dlsearch_path_spec="/lib /usr/lib" 10833need_lib_prefix=unknown 10834hardcode_into_libs=no 10835 10836# when you set need_version to no, make sure it does not cause -set_version 10837# flags to be left without arguments 10838need_version=unknown 10839 10840case $host_os in 10841aix3*) 10842 version_type=linux 10843 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10844 shlibpath_var=LIBPATH 10845 10846 # AIX 3 has no versioning support, so we append a major version to the name. 10847 soname_spec='${libname}${release}${shared_ext}$major' 10848 ;; 10849 10850aix[4-9]*) 10851 version_type=linux 10852 need_lib_prefix=no 10853 need_version=no 10854 hardcode_into_libs=yes 10855 if test "$host_cpu" = ia64; then 10856 # AIX 5 supports IA64 10857 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10858 shlibpath_var=LD_LIBRARY_PATH 10859 else 10860 # With GCC up to 2.95.x, collect2 would create an import file 10861 # for dependence libraries. The import file would start with 10862 # the line `#! .'. This would cause the generated library to 10863 # depend on `.', always an invalid library. This was fixed in 10864 # development snapshots of GCC prior to 3.0. 10865 case $host_os in 10866 aix4 | aix4.[01] | aix4.[01].*) 10867 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10868 echo ' yes ' 10869 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10870 : 10871 else 10872 can_build_shared=no 10873 fi 10874 ;; 10875 esac 10876 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10877 # soname into executable. Probably we can add versioning support to 10878 # collect2, so additional links can be useful in future. 10879 if test "$aix_use_runtimelinking" = yes; then 10880 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10881 # instead of lib<name>.a to let people know that these are not 10882 # typical AIX shared libraries. 10883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10884 else 10885 # We preserve .a as extension for shared libraries through AIX4.2 10886 # and later when we are not doing run time linking. 10887 library_names_spec='${libname}${release}.a $libname.a' 10888 soname_spec='${libname}${release}${shared_ext}$major' 10889 fi 10890 shlibpath_var=LIBPATH 10891 fi 10892 ;; 10893 10894amigaos*) 10895 case $host_cpu in 10896 powerpc) 10897 # Since July 2007 AmigaOS4 officially supports .so libraries. 10898 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10900 ;; 10901 m68k) 10902 library_names_spec='$libname.ixlibrary $libname.a' 10903 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10904 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' 10905 ;; 10906 esac 10907 ;; 10908 10909beos*) 10910 library_names_spec='${libname}${shared_ext}' 10911 dynamic_linker="$host_os ld.so" 10912 shlibpath_var=LIBRARY_PATH 10913 ;; 10914 10915bsdi[45]*) 10916 version_type=linux 10917 need_version=no 10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10919 soname_spec='${libname}${release}${shared_ext}$major' 10920 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10921 shlibpath_var=LD_LIBRARY_PATH 10922 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10923 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10924 # the default ld.so.conf also contains /usr/contrib/lib and 10925 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10926 # libtool to hard-code these into programs 10927 ;; 10928 10929cygwin* | mingw* | pw32* | cegcc*) 10930 version_type=windows 10931 shrext_cmds=".dll" 10932 need_version=no 10933 need_lib_prefix=no 10934 10935 case $GCC,$host_os in 10936 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10937 library_names_spec='$libname.dll.a' 10938 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10939 postinstall_cmds='base_file=`basename \${file}`~ 10940 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10941 dldir=$destdir/`dirname \$dlpath`~ 10942 test -d \$dldir || mkdir -p \$dldir~ 10943 $install_prog $dir/$dlname \$dldir/$dlname~ 10944 chmod a+x \$dldir/$dlname~ 10945 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10946 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10947 fi' 10948 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10949 dlpath=$dir/\$dldll~ 10950 $RM \$dlpath' 10951 shlibpath_overrides_runpath=yes 10952 10953 case $host_os in 10954 cygwin*) 10955 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10956 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10957 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10958 ;; 10959 mingw* | cegcc*) 10960 # MinGW DLLs use traditional 'lib' prefix 10961 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10962 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10963 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10964 # It is most probably a Windows format PATH printed by 10965 # mingw gcc, but we are running on Cygwin. Gcc prints its search 10966 # path with ; separators, and with drive letters. We can handle the 10967 # drive letters (cygwin fileutils understands them), so leave them, 10968 # especially as we might pass files found there to a mingw objdump, 10969 # which wouldn't understand a cygwinified path. Ahh. 10970 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10971 else 10972 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10973 fi 10974 ;; 10975 pw32*) 10976 # pw32 DLLs use 'pw' prefix rather than 'lib' 10977 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10978 ;; 10979 esac 10980 ;; 10981 10982 *) 10983 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10984 ;; 10985 esac 10986 dynamic_linker='Win32 ld.exe' 10987 # FIXME: first we should search . and the directory the executable is in 10988 shlibpath_var=PATH 10989 ;; 10990 10991darwin* | rhapsody*) 10992 dynamic_linker="$host_os dyld" 10993 version_type=darwin 10994 need_lib_prefix=no 10995 need_version=no 10996 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10997 soname_spec='${libname}${release}${major}$shared_ext' 10998 shlibpath_overrides_runpath=yes 10999 shlibpath_var=DYLD_LIBRARY_PATH 11000 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 11001 11002 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 11003 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 11004 ;; 11005 11006dgux*) 11007 version_type=linux 11008 need_lib_prefix=no 11009 need_version=no 11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 11011 soname_spec='${libname}${release}${shared_ext}$major' 11012 shlibpath_var=LD_LIBRARY_PATH 11013 ;; 11014 11015freebsd1*) 11016 dynamic_linker=no 11017 ;; 11018 11019freebsd* | dragonfly*) 11020 # DragonFly does not have aout. When/if they implement a new 11021 # versioning mechanism, adjust this. 11022 if test -x /usr/bin/objformat; then 11023 objformat=`/usr/bin/objformat` 11024 else 11025 case $host_os in 11026 freebsd[123]*) objformat=aout ;; 11027 *) objformat=elf ;; 11028 esac 11029 fi 11030 version_type=freebsd-$objformat 11031 case $version_type in 11032 freebsd-elf*) 11033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11034 need_version=no 11035 need_lib_prefix=no 11036 ;; 11037 freebsd-*) 11038 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 11039 need_version=yes 11040 ;; 11041 esac 11042 shlibpath_var=LD_LIBRARY_PATH 11043 case $host_os in 11044 freebsd2*) 11045 shlibpath_overrides_runpath=yes 11046 ;; 11047 freebsd3.[01]* | freebsdelf3.[01]*) 11048 shlibpath_overrides_runpath=yes 11049 hardcode_into_libs=yes 11050 ;; 11051 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 11052 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 11053 shlibpath_overrides_runpath=no 11054 hardcode_into_libs=yes 11055 ;; 11056 *) # from 4.6 on, and DragonFly 11057 shlibpath_overrides_runpath=yes 11058 hardcode_into_libs=yes 11059 ;; 11060 esac 11061 ;; 11062 11063gnu*) 11064 version_type=linux 11065 need_lib_prefix=no 11066 need_version=no 11067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 11068 soname_spec='${libname}${release}${shared_ext}$major' 11069 shlibpath_var=LD_LIBRARY_PATH 11070 hardcode_into_libs=yes 11071 ;; 11072 11073hpux9* | hpux10* | hpux11*) 11074 # Give a soname corresponding to the major version so that dld.sl refuses to 11075 # link against other versions. 11076 version_type=sunos 11077 need_lib_prefix=no 11078 need_version=no 11079 case $host_cpu in 11080 ia64*) 11081 shrext_cmds='.so' 11082 hardcode_into_libs=yes 11083 dynamic_linker="$host_os dld.so" 11084 shlibpath_var=LD_LIBRARY_PATH 11085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11087 soname_spec='${libname}${release}${shared_ext}$major' 11088 if test "X$HPUX_IA64_MODE" = X32; then 11089 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 11090 else 11091 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 11092 fi 11093 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11094 ;; 11095 hppa*64*) 11096 shrext_cmds='.sl' 11097 hardcode_into_libs=yes 11098 dynamic_linker="$host_os dld.sl" 11099 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 11100 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 11101 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11102 soname_spec='${libname}${release}${shared_ext}$major' 11103 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 11104 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 11105 ;; 11106 *) 11107 shrext_cmds='.sl' 11108 dynamic_linker="$host_os dld.sl" 11109 shlibpath_var=SHLIB_PATH 11110 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11112 soname_spec='${libname}${release}${shared_ext}$major' 11113 ;; 11114 esac 11115 # HP-UX runs *really* slowly unless shared libraries are mode 555. 11116 postinstall_cmds='chmod 555 $lib' 11117 ;; 11118 11119interix[3-9]*) 11120 version_type=linux 11121 need_lib_prefix=no 11122 need_version=no 11123 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11124 soname_spec='${libname}${release}${shared_ext}$major' 11125 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 11126 shlibpath_var=LD_LIBRARY_PATH 11127 shlibpath_overrides_runpath=no 11128 hardcode_into_libs=yes 11129 ;; 11130 11131irix5* | irix6* | nonstopux*) 11132 case $host_os in 11133 nonstopux*) version_type=nonstopux ;; 11134 *) 11135 if test "$lt_cv_prog_gnu_ld" = yes; then 11136 version_type=linux 11137 else 11138 version_type=irix 11139 fi ;; 11140 esac 11141 need_lib_prefix=no 11142 need_version=no 11143 soname_spec='${libname}${release}${shared_ext}$major' 11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 11145 case $host_os in 11146 irix5* | nonstopux*) 11147 libsuff= shlibsuff= 11148 ;; 11149 *) 11150 case $LD in # libtool.m4 will add one of these switches to LD 11151 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 11152 libsuff= shlibsuff= libmagic=32-bit;; 11153 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 11154 libsuff=32 shlibsuff=N32 libmagic=N32;; 11155 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 11156 libsuff=64 shlibsuff=64 libmagic=64-bit;; 11157 *) libsuff= shlibsuff= libmagic=never-match;; 11158 esac 11159 ;; 11160 esac 11161 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 11162 shlibpath_overrides_runpath=no 11163 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 11164 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 11165 hardcode_into_libs=yes 11166 ;; 11167 11168# No shared lib support for Linux oldld, aout, or coff. 11169linux*oldld* | linux*aout* | linux*coff*) 11170 dynamic_linker=no 11171 ;; 11172 11173# This must be Linux ELF. 11174linux* | k*bsd*-gnu) 11175 version_type=linux 11176 need_lib_prefix=no 11177 need_version=no 11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11179 soname_spec='${libname}${release}${shared_ext}$major' 11180 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 11181 shlibpath_var=LD_LIBRARY_PATH 11182 shlibpath_overrides_runpath=no 11183 # Some binutils ld are patched to set DT_RUNPATH 11184 save_LDFLAGS=$LDFLAGS 11185 save_libdir=$libdir 11186 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 11187 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11188 cat >conftest.$ac_ext <<_ACEOF 11189/* confdefs.h. */ 11190_ACEOF 11191cat confdefs.h >>conftest.$ac_ext 11192cat >>conftest.$ac_ext <<_ACEOF 11193/* end confdefs.h. */ 11194 11195int 11196main () 11197{ 11198 11199 ; 11200 return 0; 11201} 11202_ACEOF 11203rm -f conftest.$ac_objext conftest$ac_exeext 11204if { (ac_try="$ac_link" 11205case "(($ac_try" in 11206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11207 *) ac_try_echo=$ac_try;; 11208esac 11209eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11210$as_echo "$ac_try_echo") >&5 11211 (eval "$ac_link") 2>conftest.er1 11212 ac_status=$? 11213 grep -v '^ *+' conftest.er1 >conftest.err 11214 rm -f conftest.er1 11215 cat conftest.err >&5 11216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11217 (exit $ac_status); } && { 11218 test -z "$ac_c_werror_flag" || 11219 test ! -s conftest.err 11220 } && test -s conftest$ac_exeext && { 11221 test "$cross_compiling" = yes || 11222 $as_test_x conftest$ac_exeext 11223 }; then 11224 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 11225 shlibpath_overrides_runpath=yes 11226fi 11227 11228else 11229 $as_echo "$as_me: failed program was:" >&5 11230sed 's/^/| /' conftest.$ac_ext >&5 11231 11232 11233fi 11234 11235rm -rf conftest.dSYM 11236rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11237 conftest$ac_exeext conftest.$ac_ext 11238 LDFLAGS=$save_LDFLAGS 11239 libdir=$save_libdir 11240 11241 # This implies no fast_install, which is unacceptable. 11242 # Some rework will be needed to allow for fast_install 11243 # before this can be enabled. 11244 hardcode_into_libs=yes 11245 11246 # Add ABI-specific directories to the system library path. 11247 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 11248 11249 # Append ld.so.conf contents to the search path 11250 if test -f /etc/ld.so.conf; then 11251 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' ' '` 11252 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 11253 fi 11254 11255 # We used to test for /lib/ld.so.1 and disable shared libraries on 11256 # powerpc, because MkLinux only supported shared libraries with the 11257 # GNU dynamic linker. Since this was broken with cross compilers, 11258 # most powerpc-linux boxes support dynamic linking these days and 11259 # people can always --disable-shared, the test was removed, and we 11260 # assume the GNU/Linux dynamic linker is in use. 11261 dynamic_linker='GNU/Linux ld.so' 11262 ;; 11263 11264netbsd*) 11265 version_type=sunos 11266 need_lib_prefix=no 11267 need_version=no 11268 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11270 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11271 dynamic_linker='NetBSD (a.out) ld.so' 11272 else 11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11274 soname_spec='${libname}${release}${shared_ext}$major' 11275 dynamic_linker='NetBSD ld.elf_so' 11276 fi 11277 shlibpath_var=LD_LIBRARY_PATH 11278 shlibpath_overrides_runpath=yes 11279 hardcode_into_libs=yes 11280 ;; 11281 11282newsos6) 11283 version_type=linux 11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11285 shlibpath_var=LD_LIBRARY_PATH 11286 shlibpath_overrides_runpath=yes 11287 ;; 11288 11289*nto* | *qnx*) 11290 version_type=qnx 11291 need_lib_prefix=no 11292 need_version=no 11293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11294 soname_spec='${libname}${release}${shared_ext}$major' 11295 shlibpath_var=LD_LIBRARY_PATH 11296 shlibpath_overrides_runpath=no 11297 hardcode_into_libs=yes 11298 dynamic_linker='ldqnx.so' 11299 ;; 11300 11301openbsd*) 11302 version_type=sunos 11303 sys_lib_dlsearch_path_spec="/usr/lib" 11304 need_lib_prefix=no 11305 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11306 case $host_os in 11307 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11308 *) need_version=no ;; 11309 esac 11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11311 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11312 shlibpath_var=LD_LIBRARY_PATH 11313 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11314 case $host_os in 11315 openbsd2.[89] | openbsd2.[89].*) 11316 shlibpath_overrides_runpath=no 11317 ;; 11318 *) 11319 shlibpath_overrides_runpath=yes 11320 ;; 11321 esac 11322 else 11323 shlibpath_overrides_runpath=yes 11324 fi 11325 ;; 11326 11327os2*) 11328 libname_spec='$name' 11329 shrext_cmds=".dll" 11330 need_lib_prefix=no 11331 library_names_spec='$libname${shared_ext} $libname.a' 11332 dynamic_linker='OS/2 ld.exe' 11333 shlibpath_var=LIBPATH 11334 ;; 11335 11336osf3* | osf4* | osf5*) 11337 version_type=osf 11338 need_lib_prefix=no 11339 need_version=no 11340 soname_spec='${libname}${release}${shared_ext}$major' 11341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11342 shlibpath_var=LD_LIBRARY_PATH 11343 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11344 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11345 ;; 11346 11347rdos*) 11348 dynamic_linker=no 11349 ;; 11350 11351solaris*) 11352 version_type=linux 11353 need_lib_prefix=no 11354 need_version=no 11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11356 soname_spec='${libname}${release}${shared_ext}$major' 11357 shlibpath_var=LD_LIBRARY_PATH 11358 shlibpath_overrides_runpath=yes 11359 hardcode_into_libs=yes 11360 # ldd complains unless libraries are executable 11361 postinstall_cmds='chmod +x $lib' 11362 ;; 11363 11364sunos4*) 11365 version_type=sunos 11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11367 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11368 shlibpath_var=LD_LIBRARY_PATH 11369 shlibpath_overrides_runpath=yes 11370 if test "$with_gnu_ld" = yes; then 11371 need_lib_prefix=no 11372 fi 11373 need_version=yes 11374 ;; 11375 11376sysv4 | sysv4.3*) 11377 version_type=linux 11378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11379 soname_spec='${libname}${release}${shared_ext}$major' 11380 shlibpath_var=LD_LIBRARY_PATH 11381 case $host_vendor in 11382 sni) 11383 shlibpath_overrides_runpath=no 11384 need_lib_prefix=no 11385 runpath_var=LD_RUN_PATH 11386 ;; 11387 siemens) 11388 need_lib_prefix=no 11389 ;; 11390 motorola) 11391 need_lib_prefix=no 11392 need_version=no 11393 shlibpath_overrides_runpath=no 11394 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11395 ;; 11396 esac 11397 ;; 11398 11399sysv4*MP*) 11400 if test -d /usr/nec ;then 11401 version_type=linux 11402 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11403 soname_spec='$libname${shared_ext}.$major' 11404 shlibpath_var=LD_LIBRARY_PATH 11405 fi 11406 ;; 11407 11408sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11409 version_type=freebsd-elf 11410 need_lib_prefix=no 11411 need_version=no 11412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11413 soname_spec='${libname}${release}${shared_ext}$major' 11414 shlibpath_var=LD_LIBRARY_PATH 11415 shlibpath_overrides_runpath=yes 11416 hardcode_into_libs=yes 11417 if test "$with_gnu_ld" = yes; then 11418 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11419 else 11420 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11421 case $host_os in 11422 sco3.2v5*) 11423 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11424 ;; 11425 esac 11426 fi 11427 sys_lib_dlsearch_path_spec='/usr/lib' 11428 ;; 11429 11430tpf*) 11431 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11432 version_type=linux 11433 need_lib_prefix=no 11434 need_version=no 11435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11436 shlibpath_var=LD_LIBRARY_PATH 11437 shlibpath_overrides_runpath=no 11438 hardcode_into_libs=yes 11439 ;; 11440 11441uts4*) 11442 version_type=linux 11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11444 soname_spec='${libname}${release}${shared_ext}$major' 11445 shlibpath_var=LD_LIBRARY_PATH 11446 ;; 11447 11448*) 11449 dynamic_linker=no 11450 ;; 11451esac 11452{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 11453$as_echo "$dynamic_linker" >&6; } 11454test "$dynamic_linker" = no && can_build_shared=no 11455 11456variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11457if test "$GCC" = yes; then 11458 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11459fi 11460 11461if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11462 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11463fi 11464if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11465 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11466fi 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11555$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11556hardcode_action= 11557if test -n "$hardcode_libdir_flag_spec" || 11558 test -n "$runpath_var" || 11559 test "X$hardcode_automatic" = "Xyes" ; then 11560 11561 # We can hardcode non-existent directories. 11562 if test "$hardcode_direct" != no && 11563 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11564 # have to relink, otherwise we might link with an installed library 11565 # when we should be linking with a yet-to-be-installed one 11566 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11567 test "$hardcode_minus_L" != no; then 11568 # Linking always hardcodes the temporary library directory. 11569 hardcode_action=relink 11570 else 11571 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11572 hardcode_action=immediate 11573 fi 11574else 11575 # We cannot hardcode anything, or else we can only hardcode existing 11576 # directories. 11577 hardcode_action=unsupported 11578fi 11579{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 11580$as_echo "$hardcode_action" >&6; } 11581 11582if test "$hardcode_action" = relink || 11583 test "$inherit_rpath" = yes; then 11584 # Fast installation is not supported 11585 enable_fast_install=no 11586elif test "$shlibpath_overrides_runpath" = yes || 11587 test "$enable_shared" = no; then 11588 # Fast installation is not necessary 11589 enable_fast_install=needless 11590fi 11591 11592 11593 11594 11595 11596 11597 if test "x$enable_dlopen" != xyes; then 11598 enable_dlopen=unknown 11599 enable_dlopen_self=unknown 11600 enable_dlopen_self_static=unknown 11601else 11602 lt_cv_dlopen=no 11603 lt_cv_dlopen_libs= 11604 11605 case $host_os in 11606 beos*) 11607 lt_cv_dlopen="load_add_on" 11608 lt_cv_dlopen_libs= 11609 lt_cv_dlopen_self=yes 11610 ;; 11611 11612 mingw* | pw32* | cegcc*) 11613 lt_cv_dlopen="LoadLibrary" 11614 lt_cv_dlopen_libs= 11615 ;; 11616 11617 cygwin*) 11618 lt_cv_dlopen="dlopen" 11619 lt_cv_dlopen_libs= 11620 ;; 11621 11622 darwin*) 11623 # if libdl is installed we need to link against it 11624 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11625$as_echo_n "checking for dlopen in -ldl... " >&6; } 11626if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11627 $as_echo_n "(cached) " >&6 11628else 11629 ac_check_lib_save_LIBS=$LIBS 11630LIBS="-ldl $LIBS" 11631cat >conftest.$ac_ext <<_ACEOF 11632/* confdefs.h. */ 11633_ACEOF 11634cat confdefs.h >>conftest.$ac_ext 11635cat >>conftest.$ac_ext <<_ACEOF 11636/* end confdefs.h. */ 11637 11638/* Override any GCC internal prototype to avoid an error. 11639 Use char because int might match the return type of a GCC 11640 builtin and then its argument prototype would still apply. */ 11641#ifdef __cplusplus 11642extern "C" 11643#endif 11644char dlopen (); 11645int 11646main () 11647{ 11648return dlopen (); 11649 ; 11650 return 0; 11651} 11652_ACEOF 11653rm -f conftest.$ac_objext conftest$ac_exeext 11654if { (ac_try="$ac_link" 11655case "(($ac_try" in 11656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11657 *) ac_try_echo=$ac_try;; 11658esac 11659eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11660$as_echo "$ac_try_echo") >&5 11661 (eval "$ac_link") 2>conftest.er1 11662 ac_status=$? 11663 grep -v '^ *+' conftest.er1 >conftest.err 11664 rm -f conftest.er1 11665 cat conftest.err >&5 11666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11667 (exit $ac_status); } && { 11668 test -z "$ac_c_werror_flag" || 11669 test ! -s conftest.err 11670 } && test -s conftest$ac_exeext && { 11671 test "$cross_compiling" = yes || 11672 $as_test_x conftest$ac_exeext 11673 }; then 11674 ac_cv_lib_dl_dlopen=yes 11675else 11676 $as_echo "$as_me: failed program was:" >&5 11677sed 's/^/| /' conftest.$ac_ext >&5 11678 11679 ac_cv_lib_dl_dlopen=no 11680fi 11681 11682rm -rf conftest.dSYM 11683rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11684 conftest$ac_exeext conftest.$ac_ext 11685LIBS=$ac_check_lib_save_LIBS 11686fi 11687{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11688$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11689if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11690 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11691else 11692 11693 lt_cv_dlopen="dyld" 11694 lt_cv_dlopen_libs= 11695 lt_cv_dlopen_self=yes 11696 11697fi 11698 11699 ;; 11700 11701 *) 11702 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 11703$as_echo_n "checking for shl_load... " >&6; } 11704if test "${ac_cv_func_shl_load+set}" = set; then 11705 $as_echo_n "(cached) " >&6 11706else 11707 cat >conftest.$ac_ext <<_ACEOF 11708/* confdefs.h. */ 11709_ACEOF 11710cat confdefs.h >>conftest.$ac_ext 11711cat >>conftest.$ac_ext <<_ACEOF 11712/* end confdefs.h. */ 11713/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 11714 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11715#define shl_load innocuous_shl_load 11716 11717/* System header to define __stub macros and hopefully few prototypes, 11718 which can conflict with char shl_load (); below. 11719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11720 <limits.h> exists even on freestanding compilers. */ 11721 11722#ifdef __STDC__ 11723# include <limits.h> 11724#else 11725# include <assert.h> 11726#endif 11727 11728#undef shl_load 11729 11730/* Override any GCC internal prototype to avoid an error. 11731 Use char because int might match the return type of a GCC 11732 builtin and then its argument prototype would still apply. */ 11733#ifdef __cplusplus 11734extern "C" 11735#endif 11736char shl_load (); 11737/* The GNU C library defines this for functions which it implements 11738 to always fail with ENOSYS. Some functions are actually named 11739 something starting with __ and the normal name is an alias. */ 11740#if defined __stub_shl_load || defined __stub___shl_load 11741choke me 11742#endif 11743 11744int 11745main () 11746{ 11747return shl_load (); 11748 ; 11749 return 0; 11750} 11751_ACEOF 11752rm -f conftest.$ac_objext conftest$ac_exeext 11753if { (ac_try="$ac_link" 11754case "(($ac_try" in 11755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11756 *) ac_try_echo=$ac_try;; 11757esac 11758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11759$as_echo "$ac_try_echo") >&5 11760 (eval "$ac_link") 2>conftest.er1 11761 ac_status=$? 11762 grep -v '^ *+' conftest.er1 >conftest.err 11763 rm -f conftest.er1 11764 cat conftest.err >&5 11765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11766 (exit $ac_status); } && { 11767 test -z "$ac_c_werror_flag" || 11768 test ! -s conftest.err 11769 } && test -s conftest$ac_exeext && { 11770 test "$cross_compiling" = yes || 11771 $as_test_x conftest$ac_exeext 11772 }; then 11773 ac_cv_func_shl_load=yes 11774else 11775 $as_echo "$as_me: failed program was:" >&5 11776sed 's/^/| /' conftest.$ac_ext >&5 11777 11778 ac_cv_func_shl_load=no 11779fi 11780 11781rm -rf conftest.dSYM 11782rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11783 conftest$ac_exeext conftest.$ac_ext 11784fi 11785{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 11786$as_echo "$ac_cv_func_shl_load" >&6; } 11787if test "x$ac_cv_func_shl_load" = x""yes; then 11788 lt_cv_dlopen="shl_load" 11789else 11790 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 11791$as_echo_n "checking for shl_load in -ldld... " >&6; } 11792if test "${ac_cv_lib_dld_shl_load+set}" = set; then 11793 $as_echo_n "(cached) " >&6 11794else 11795 ac_check_lib_save_LIBS=$LIBS 11796LIBS="-ldld $LIBS" 11797cat >conftest.$ac_ext <<_ACEOF 11798/* confdefs.h. */ 11799_ACEOF 11800cat confdefs.h >>conftest.$ac_ext 11801cat >>conftest.$ac_ext <<_ACEOF 11802/* end confdefs.h. */ 11803 11804/* Override any GCC internal prototype to avoid an error. 11805 Use char because int might match the return type of a GCC 11806 builtin and then its argument prototype would still apply. */ 11807#ifdef __cplusplus 11808extern "C" 11809#endif 11810char shl_load (); 11811int 11812main () 11813{ 11814return shl_load (); 11815 ; 11816 return 0; 11817} 11818_ACEOF 11819rm -f conftest.$ac_objext conftest$ac_exeext 11820if { (ac_try="$ac_link" 11821case "(($ac_try" in 11822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11823 *) ac_try_echo=$ac_try;; 11824esac 11825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11826$as_echo "$ac_try_echo") >&5 11827 (eval "$ac_link") 2>conftest.er1 11828 ac_status=$? 11829 grep -v '^ *+' conftest.er1 >conftest.err 11830 rm -f conftest.er1 11831 cat conftest.err >&5 11832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11833 (exit $ac_status); } && { 11834 test -z "$ac_c_werror_flag" || 11835 test ! -s conftest.err 11836 } && test -s conftest$ac_exeext && { 11837 test "$cross_compiling" = yes || 11838 $as_test_x conftest$ac_exeext 11839 }; then 11840 ac_cv_lib_dld_shl_load=yes 11841else 11842 $as_echo "$as_me: failed program was:" >&5 11843sed 's/^/| /' conftest.$ac_ext >&5 11844 11845 ac_cv_lib_dld_shl_load=no 11846fi 11847 11848rm -rf conftest.dSYM 11849rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11850 conftest$ac_exeext conftest.$ac_ext 11851LIBS=$ac_check_lib_save_LIBS 11852fi 11853{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 11854$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11855if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 11856 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11857else 11858 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 11859$as_echo_n "checking for dlopen... " >&6; } 11860if test "${ac_cv_func_dlopen+set}" = set; then 11861 $as_echo_n "(cached) " >&6 11862else 11863 cat >conftest.$ac_ext <<_ACEOF 11864/* confdefs.h. */ 11865_ACEOF 11866cat confdefs.h >>conftest.$ac_ext 11867cat >>conftest.$ac_ext <<_ACEOF 11868/* end confdefs.h. */ 11869/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 11870 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11871#define dlopen innocuous_dlopen 11872 11873/* System header to define __stub macros and hopefully few prototypes, 11874 which can conflict with char dlopen (); below. 11875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11876 <limits.h> exists even on freestanding compilers. */ 11877 11878#ifdef __STDC__ 11879# include <limits.h> 11880#else 11881# include <assert.h> 11882#endif 11883 11884#undef dlopen 11885 11886/* Override any GCC internal prototype to avoid an error. 11887 Use char because int might match the return type of a GCC 11888 builtin and then its argument prototype would still apply. */ 11889#ifdef __cplusplus 11890extern "C" 11891#endif 11892char dlopen (); 11893/* The GNU C library defines this for functions which it implements 11894 to always fail with ENOSYS. Some functions are actually named 11895 something starting with __ and the normal name is an alias. */ 11896#if defined __stub_dlopen || defined __stub___dlopen 11897choke me 11898#endif 11899 11900int 11901main () 11902{ 11903return dlopen (); 11904 ; 11905 return 0; 11906} 11907_ACEOF 11908rm -f conftest.$ac_objext conftest$ac_exeext 11909if { (ac_try="$ac_link" 11910case "(($ac_try" in 11911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11912 *) ac_try_echo=$ac_try;; 11913esac 11914eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11915$as_echo "$ac_try_echo") >&5 11916 (eval "$ac_link") 2>conftest.er1 11917 ac_status=$? 11918 grep -v '^ *+' conftest.er1 >conftest.err 11919 rm -f conftest.er1 11920 cat conftest.err >&5 11921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11922 (exit $ac_status); } && { 11923 test -z "$ac_c_werror_flag" || 11924 test ! -s conftest.err 11925 } && test -s conftest$ac_exeext && { 11926 test "$cross_compiling" = yes || 11927 $as_test_x conftest$ac_exeext 11928 }; then 11929 ac_cv_func_dlopen=yes 11930else 11931 $as_echo "$as_me: failed program was:" >&5 11932sed 's/^/| /' conftest.$ac_ext >&5 11933 11934 ac_cv_func_dlopen=no 11935fi 11936 11937rm -rf conftest.dSYM 11938rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11939 conftest$ac_exeext conftest.$ac_ext 11940fi 11941{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 11942$as_echo "$ac_cv_func_dlopen" >&6; } 11943if test "x$ac_cv_func_dlopen" = x""yes; then 11944 lt_cv_dlopen="dlopen" 11945else 11946 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11947$as_echo_n "checking for dlopen in -ldl... " >&6; } 11948if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11949 $as_echo_n "(cached) " >&6 11950else 11951 ac_check_lib_save_LIBS=$LIBS 11952LIBS="-ldl $LIBS" 11953cat >conftest.$ac_ext <<_ACEOF 11954/* confdefs.h. */ 11955_ACEOF 11956cat confdefs.h >>conftest.$ac_ext 11957cat >>conftest.$ac_ext <<_ACEOF 11958/* end confdefs.h. */ 11959 11960/* Override any GCC internal prototype to avoid an error. 11961 Use char because int might match the return type of a GCC 11962 builtin and then its argument prototype would still apply. */ 11963#ifdef __cplusplus 11964extern "C" 11965#endif 11966char dlopen (); 11967int 11968main () 11969{ 11970return dlopen (); 11971 ; 11972 return 0; 11973} 11974_ACEOF 11975rm -f conftest.$ac_objext conftest$ac_exeext 11976if { (ac_try="$ac_link" 11977case "(($ac_try" in 11978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11979 *) ac_try_echo=$ac_try;; 11980esac 11981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11982$as_echo "$ac_try_echo") >&5 11983 (eval "$ac_link") 2>conftest.er1 11984 ac_status=$? 11985 grep -v '^ *+' conftest.er1 >conftest.err 11986 rm -f conftest.er1 11987 cat conftest.err >&5 11988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11989 (exit $ac_status); } && { 11990 test -z "$ac_c_werror_flag" || 11991 test ! -s conftest.err 11992 } && test -s conftest$ac_exeext && { 11993 test "$cross_compiling" = yes || 11994 $as_test_x conftest$ac_exeext 11995 }; then 11996 ac_cv_lib_dl_dlopen=yes 11997else 11998 $as_echo "$as_me: failed program was:" >&5 11999sed 's/^/| /' conftest.$ac_ext >&5 12000 12001 ac_cv_lib_dl_dlopen=no 12002fi 12003 12004rm -rf conftest.dSYM 12005rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12006 conftest$ac_exeext conftest.$ac_ext 12007LIBS=$ac_check_lib_save_LIBS 12008fi 12009{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 12010$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 12011if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 12012 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 12013else 12014 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 12015$as_echo_n "checking for dlopen in -lsvld... " >&6; } 12016if test "${ac_cv_lib_svld_dlopen+set}" = set; then 12017 $as_echo_n "(cached) " >&6 12018else 12019 ac_check_lib_save_LIBS=$LIBS 12020LIBS="-lsvld $LIBS" 12021cat >conftest.$ac_ext <<_ACEOF 12022/* confdefs.h. */ 12023_ACEOF 12024cat confdefs.h >>conftest.$ac_ext 12025cat >>conftest.$ac_ext <<_ACEOF 12026/* end confdefs.h. */ 12027 12028/* Override any GCC internal prototype to avoid an error. 12029 Use char because int might match the return type of a GCC 12030 builtin and then its argument prototype would still apply. */ 12031#ifdef __cplusplus 12032extern "C" 12033#endif 12034char dlopen (); 12035int 12036main () 12037{ 12038return dlopen (); 12039 ; 12040 return 0; 12041} 12042_ACEOF 12043rm -f conftest.$ac_objext conftest$ac_exeext 12044if { (ac_try="$ac_link" 12045case "(($ac_try" in 12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12047 *) ac_try_echo=$ac_try;; 12048esac 12049eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12050$as_echo "$ac_try_echo") >&5 12051 (eval "$ac_link") 2>conftest.er1 12052 ac_status=$? 12053 grep -v '^ *+' conftest.er1 >conftest.err 12054 rm -f conftest.er1 12055 cat conftest.err >&5 12056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12057 (exit $ac_status); } && { 12058 test -z "$ac_c_werror_flag" || 12059 test ! -s conftest.err 12060 } && test -s conftest$ac_exeext && { 12061 test "$cross_compiling" = yes || 12062 $as_test_x conftest$ac_exeext 12063 }; then 12064 ac_cv_lib_svld_dlopen=yes 12065else 12066 $as_echo "$as_me: failed program was:" >&5 12067sed 's/^/| /' conftest.$ac_ext >&5 12068 12069 ac_cv_lib_svld_dlopen=no 12070fi 12071 12072rm -rf conftest.dSYM 12073rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12074 conftest$ac_exeext conftest.$ac_ext 12075LIBS=$ac_check_lib_save_LIBS 12076fi 12077{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 12078$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 12079if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 12080 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 12081else 12082 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 12083$as_echo_n "checking for dld_link in -ldld... " >&6; } 12084if test "${ac_cv_lib_dld_dld_link+set}" = set; then 12085 $as_echo_n "(cached) " >&6 12086else 12087 ac_check_lib_save_LIBS=$LIBS 12088LIBS="-ldld $LIBS" 12089cat >conftest.$ac_ext <<_ACEOF 12090/* confdefs.h. */ 12091_ACEOF 12092cat confdefs.h >>conftest.$ac_ext 12093cat >>conftest.$ac_ext <<_ACEOF 12094/* end confdefs.h. */ 12095 12096/* Override any GCC internal prototype to avoid an error. 12097 Use char because int might match the return type of a GCC 12098 builtin and then its argument prototype would still apply. */ 12099#ifdef __cplusplus 12100extern "C" 12101#endif 12102char dld_link (); 12103int 12104main () 12105{ 12106return dld_link (); 12107 ; 12108 return 0; 12109} 12110_ACEOF 12111rm -f conftest.$ac_objext conftest$ac_exeext 12112if { (ac_try="$ac_link" 12113case "(($ac_try" in 12114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12115 *) ac_try_echo=$ac_try;; 12116esac 12117eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12118$as_echo "$ac_try_echo") >&5 12119 (eval "$ac_link") 2>conftest.er1 12120 ac_status=$? 12121 grep -v '^ *+' conftest.er1 >conftest.err 12122 rm -f conftest.er1 12123 cat conftest.err >&5 12124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12125 (exit $ac_status); } && { 12126 test -z "$ac_c_werror_flag" || 12127 test ! -s conftest.err 12128 } && test -s conftest$ac_exeext && { 12129 test "$cross_compiling" = yes || 12130 $as_test_x conftest$ac_exeext 12131 }; then 12132 ac_cv_lib_dld_dld_link=yes 12133else 12134 $as_echo "$as_me: failed program was:" >&5 12135sed 's/^/| /' conftest.$ac_ext >&5 12136 12137 ac_cv_lib_dld_dld_link=no 12138fi 12139 12140rm -rf conftest.dSYM 12141rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12142 conftest$ac_exeext conftest.$ac_ext 12143LIBS=$ac_check_lib_save_LIBS 12144fi 12145{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 12146$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 12147if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 12148 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 12149fi 12150 12151 12152fi 12153 12154 12155fi 12156 12157 12158fi 12159 12160 12161fi 12162 12163 12164fi 12165 12166 ;; 12167 esac 12168 12169 if test "x$lt_cv_dlopen" != xno; then 12170 enable_dlopen=yes 12171 else 12172 enable_dlopen=no 12173 fi 12174 12175 case $lt_cv_dlopen in 12176 dlopen) 12177 save_CPPFLAGS="$CPPFLAGS" 12178 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 12179 12180 save_LDFLAGS="$LDFLAGS" 12181 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 12182 12183 save_LIBS="$LIBS" 12184 LIBS="$lt_cv_dlopen_libs $LIBS" 12185 12186 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 12187$as_echo_n "checking whether a program can dlopen itself... " >&6; } 12188if test "${lt_cv_dlopen_self+set}" = set; then 12189 $as_echo_n "(cached) " >&6 12190else 12191 if test "$cross_compiling" = yes; then : 12192 lt_cv_dlopen_self=cross 12193else 12194 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12195 lt_status=$lt_dlunknown 12196 cat > conftest.$ac_ext <<_LT_EOF 12197#line 12197 "configure" 12198#include "confdefs.h" 12199 12200#if HAVE_DLFCN_H 12201#include <dlfcn.h> 12202#endif 12203 12204#include <stdio.h> 12205 12206#ifdef RTLD_GLOBAL 12207# define LT_DLGLOBAL RTLD_GLOBAL 12208#else 12209# ifdef DL_GLOBAL 12210# define LT_DLGLOBAL DL_GLOBAL 12211# else 12212# define LT_DLGLOBAL 0 12213# endif 12214#endif 12215 12216/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12217 find out it does not work in some platform. */ 12218#ifndef LT_DLLAZY_OR_NOW 12219# ifdef RTLD_LAZY 12220# define LT_DLLAZY_OR_NOW RTLD_LAZY 12221# else 12222# ifdef DL_LAZY 12223# define LT_DLLAZY_OR_NOW DL_LAZY 12224# else 12225# ifdef RTLD_NOW 12226# define LT_DLLAZY_OR_NOW RTLD_NOW 12227# else 12228# ifdef DL_NOW 12229# define LT_DLLAZY_OR_NOW DL_NOW 12230# else 12231# define LT_DLLAZY_OR_NOW 0 12232# endif 12233# endif 12234# endif 12235# endif 12236#endif 12237 12238void fnord() { int i=42;} 12239int main () 12240{ 12241 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12242 int status = $lt_dlunknown; 12243 12244 if (self) 12245 { 12246 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12247 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12248 /* dlclose (self); */ 12249 } 12250 else 12251 puts (dlerror ()); 12252 12253 return status; 12254} 12255_LT_EOF 12256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12257 (eval $ac_link) 2>&5 12258 ac_status=$? 12259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12260 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12261 (./conftest; exit; ) >&5 2>/dev/null 12262 lt_status=$? 12263 case x$lt_status in 12264 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12265 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12266 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12267 esac 12268 else : 12269 # compilation failed 12270 lt_cv_dlopen_self=no 12271 fi 12272fi 12273rm -fr conftest* 12274 12275 12276fi 12277{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 12278$as_echo "$lt_cv_dlopen_self" >&6; } 12279 12280 if test "x$lt_cv_dlopen_self" = xyes; then 12281 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12282 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 12283$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12284if test "${lt_cv_dlopen_self_static+set}" = set; then 12285 $as_echo_n "(cached) " >&6 12286else 12287 if test "$cross_compiling" = yes; then : 12288 lt_cv_dlopen_self_static=cross 12289else 12290 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12291 lt_status=$lt_dlunknown 12292 cat > conftest.$ac_ext <<_LT_EOF 12293#line 12293 "configure" 12294#include "confdefs.h" 12295 12296#if HAVE_DLFCN_H 12297#include <dlfcn.h> 12298#endif 12299 12300#include <stdio.h> 12301 12302#ifdef RTLD_GLOBAL 12303# define LT_DLGLOBAL RTLD_GLOBAL 12304#else 12305# ifdef DL_GLOBAL 12306# define LT_DLGLOBAL DL_GLOBAL 12307# else 12308# define LT_DLGLOBAL 0 12309# endif 12310#endif 12311 12312/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12313 find out it does not work in some platform. */ 12314#ifndef LT_DLLAZY_OR_NOW 12315# ifdef RTLD_LAZY 12316# define LT_DLLAZY_OR_NOW RTLD_LAZY 12317# else 12318# ifdef DL_LAZY 12319# define LT_DLLAZY_OR_NOW DL_LAZY 12320# else 12321# ifdef RTLD_NOW 12322# define LT_DLLAZY_OR_NOW RTLD_NOW 12323# else 12324# ifdef DL_NOW 12325# define LT_DLLAZY_OR_NOW DL_NOW 12326# else 12327# define LT_DLLAZY_OR_NOW 0 12328# endif 12329# endif 12330# endif 12331# endif 12332#endif 12333 12334void fnord() { int i=42;} 12335int main () 12336{ 12337 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12338 int status = $lt_dlunknown; 12339 12340 if (self) 12341 { 12342 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12343 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12344 /* dlclose (self); */ 12345 } 12346 else 12347 puts (dlerror ()); 12348 12349 return status; 12350} 12351_LT_EOF 12352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12353 (eval $ac_link) 2>&5 12354 ac_status=$? 12355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12356 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12357 (./conftest; exit; ) >&5 2>/dev/null 12358 lt_status=$? 12359 case x$lt_status in 12360 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12361 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12362 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12363 esac 12364 else : 12365 # compilation failed 12366 lt_cv_dlopen_self_static=no 12367 fi 12368fi 12369rm -fr conftest* 12370 12371 12372fi 12373{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 12374$as_echo "$lt_cv_dlopen_self_static" >&6; } 12375 fi 12376 12377 CPPFLAGS="$save_CPPFLAGS" 12378 LDFLAGS="$save_LDFLAGS" 12379 LIBS="$save_LIBS" 12380 ;; 12381 esac 12382 12383 case $lt_cv_dlopen_self in 12384 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12385 *) enable_dlopen_self=unknown ;; 12386 esac 12387 12388 case $lt_cv_dlopen_self_static in 12389 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12390 *) enable_dlopen_self_static=unknown ;; 12391 esac 12392fi 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410striplib= 12411old_striplib= 12412{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 12413$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12414if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12415 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12416 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12417 { $as_echo "$as_me:$LINENO: result: yes" >&5 12418$as_echo "yes" >&6; } 12419else 12420# FIXME - insert some real tests, host_os isn't really good enough 12421 case $host_os in 12422 darwin*) 12423 if test -n "$STRIP" ; then 12424 striplib="$STRIP -x" 12425 old_striplib="$STRIP -S" 12426 { $as_echo "$as_me:$LINENO: result: yes" >&5 12427$as_echo "yes" >&6; } 12428 else 12429 { $as_echo "$as_me:$LINENO: result: no" >&5 12430$as_echo "no" >&6; } 12431 fi 12432 ;; 12433 *) 12434 { $as_echo "$as_me:$LINENO: result: no" >&5 12435$as_echo "no" >&6; } 12436 ;; 12437 esac 12438fi 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 # Report which library types will actually be built 12452 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 12453$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12454 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 12455$as_echo "$can_build_shared" >&6; } 12456 12457 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 12458$as_echo_n "checking whether to build shared libraries... " >&6; } 12459 test "$can_build_shared" = "no" && enable_shared=no 12460 12461 # On AIX, shared libraries and static libraries use the same namespace, and 12462 # are all built from PIC. 12463 case $host_os in 12464 aix3*) 12465 test "$enable_shared" = yes && enable_static=no 12466 if test -n "$RANLIB"; then 12467 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12468 postinstall_cmds='$RANLIB $lib' 12469 fi 12470 ;; 12471 12472 aix[4-9]*) 12473 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12474 test "$enable_shared" = yes && enable_static=no 12475 fi 12476 ;; 12477 esac 12478 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 12479$as_echo "$enable_shared" >&6; } 12480 12481 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 12482$as_echo_n "checking whether to build static libraries... " >&6; } 12483 # Make sure either enable_shared or enable_static is yes. 12484 test "$enable_shared" = yes || enable_static=yes 12485 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 12486$as_echo "$enable_static" >&6; } 12487 12488 12489 12490 12491fi 12492ac_ext=c 12493ac_cpp='$CPP $CPPFLAGS' 12494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12496ac_compiler_gnu=$ac_cv_c_compiler_gnu 12497 12498CC="$lt_save_CC" 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 ac_config_commands="$ac_config_commands libtool" 12513 12514 12515 12516 12517# Only expand once: 12518 12519 12520 12521 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5 12522$as_echo_n "checking for ssize_t... " >&6; } 12523if test "${gt_cv_ssize_t+set}" = set; then 12524 $as_echo_n "(cached) " >&6 12525else 12526 cat >conftest.$ac_ext <<_ACEOF 12527/* confdefs.h. */ 12528_ACEOF 12529cat confdefs.h >>conftest.$ac_ext 12530cat >>conftest.$ac_ext <<_ACEOF 12531/* end confdefs.h. */ 12532#include <sys/types.h> 12533int 12534main () 12535{ 12536int x = sizeof (ssize_t *) + sizeof (ssize_t); 12537 return !x; 12538 ; 12539 return 0; 12540} 12541_ACEOF 12542rm -f conftest.$ac_objext 12543if { (ac_try="$ac_compile" 12544case "(($ac_try" in 12545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12546 *) ac_try_echo=$ac_try;; 12547esac 12548eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12549$as_echo "$ac_try_echo") >&5 12550 (eval "$ac_compile") 2>conftest.er1 12551 ac_status=$? 12552 grep -v '^ *+' conftest.er1 >conftest.err 12553 rm -f conftest.er1 12554 cat conftest.err >&5 12555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12556 (exit $ac_status); } && { 12557 test -z "$ac_c_werror_flag" || 12558 test ! -s conftest.err 12559 } && test -s conftest.$ac_objext; then 12560 gt_cv_ssize_t=yes 12561else 12562 $as_echo "$as_me: failed program was:" >&5 12563sed 's/^/| /' conftest.$ac_ext >&5 12564 12565 gt_cv_ssize_t=no 12566fi 12567 12568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12569fi 12570{ $as_echo "$as_me:$LINENO: result: $gt_cv_ssize_t" >&5 12571$as_echo "$gt_cv_ssize_t" >&6; } 12572 if test $gt_cv_ssize_t = no; then 12573 12574cat >>confdefs.h <<\_ACEOF 12575#define ssize_t int 12576_ACEOF 12577 12578 fi 12579 12580 12581{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 12582$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12583if test "${ac_cv_c_const+set}" = set; then 12584 $as_echo_n "(cached) " >&6 12585else 12586 cat >conftest.$ac_ext <<_ACEOF 12587/* confdefs.h. */ 12588_ACEOF 12589cat confdefs.h >>conftest.$ac_ext 12590cat >>conftest.$ac_ext <<_ACEOF 12591/* end confdefs.h. */ 12592 12593int 12594main () 12595{ 12596/* FIXME: Include the comments suggested by Paul. */ 12597#ifndef __cplusplus 12598 /* Ultrix mips cc rejects this. */ 12599 typedef int charset[2]; 12600 const charset cs; 12601 /* SunOS 4.1.1 cc rejects this. */ 12602 char const *const *pcpcc; 12603 char **ppc; 12604 /* NEC SVR4.0.2 mips cc rejects this. */ 12605 struct point {int x, y;}; 12606 static struct point const zero = {0,0}; 12607 /* AIX XL C 1.02.0.0 rejects this. 12608 It does not let you subtract one const X* pointer from another in 12609 an arm of an if-expression whose if-part is not a constant 12610 expression */ 12611 const char *g = "string"; 12612 pcpcc = &g + (g ? g-g : 0); 12613 /* HPUX 7.0 cc rejects these. */ 12614 ++pcpcc; 12615 ppc = (char**) pcpcc; 12616 pcpcc = (char const *const *) ppc; 12617 { /* SCO 3.2v4 cc rejects this. */ 12618 char *t; 12619 char const *s = 0 ? (char *) 0 : (char const *) 0; 12620 12621 *t++ = 0; 12622 if (s) return 0; 12623 } 12624 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12625 int x[] = {25, 17}; 12626 const int *foo = &x[0]; 12627 ++foo; 12628 } 12629 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12630 typedef const int *iptr; 12631 iptr p = 0; 12632 ++p; 12633 } 12634 { /* AIX XL C 1.02.0.0 rejects this saying 12635 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12636 struct s { int j; const int *ap[3]; }; 12637 struct s *b; b->j = 5; 12638 } 12639 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12640 const int foo = 10; 12641 if (!foo) return 0; 12642 } 12643 return !cs[0] && !zero.x; 12644#endif 12645 12646 ; 12647 return 0; 12648} 12649_ACEOF 12650rm -f conftest.$ac_objext 12651if { (ac_try="$ac_compile" 12652case "(($ac_try" in 12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12654 *) ac_try_echo=$ac_try;; 12655esac 12656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12657$as_echo "$ac_try_echo") >&5 12658 (eval "$ac_compile") 2>conftest.er1 12659 ac_status=$? 12660 grep -v '^ *+' conftest.er1 >conftest.err 12661 rm -f conftest.er1 12662 cat conftest.err >&5 12663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12664 (exit $ac_status); } && { 12665 test -z "$ac_c_werror_flag" || 12666 test ! -s conftest.err 12667 } && test -s conftest.$ac_objext; then 12668 ac_cv_c_const=yes 12669else 12670 $as_echo "$as_me: failed program was:" >&5 12671sed 's/^/| /' conftest.$ac_ext >&5 12672 12673 ac_cv_c_const=no 12674fi 12675 12676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12677fi 12678{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 12679$as_echo "$ac_cv_c_const" >&6; } 12680if test $ac_cv_c_const = no; then 12681 12682cat >>confdefs.h <<\_ACEOF 12683#define const /**/ 12684_ACEOF 12685 12686fi 12687 12688 12689 12690 12691for ac_func in flock lockf 12692do 12693as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12694{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12695$as_echo_n "checking for $ac_func... " >&6; } 12696if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12697 $as_echo_n "(cached) " >&6 12698else 12699 cat >conftest.$ac_ext <<_ACEOF 12700/* confdefs.h. */ 12701_ACEOF 12702cat confdefs.h >>conftest.$ac_ext 12703cat >>conftest.$ac_ext <<_ACEOF 12704/* end confdefs.h. */ 12705/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12706 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12707#define $ac_func innocuous_$ac_func 12708 12709/* System header to define __stub macros and hopefully few prototypes, 12710 which can conflict with char $ac_func (); below. 12711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12712 <limits.h> exists even on freestanding compilers. */ 12713 12714#ifdef __STDC__ 12715# include <limits.h> 12716#else 12717# include <assert.h> 12718#endif 12719 12720#undef $ac_func 12721 12722/* Override any GCC internal prototype to avoid an error. 12723 Use char because int might match the return type of a GCC 12724 builtin and then its argument prototype would still apply. */ 12725#ifdef __cplusplus 12726extern "C" 12727#endif 12728char $ac_func (); 12729/* The GNU C library defines this for functions which it implements 12730 to always fail with ENOSYS. Some functions are actually named 12731 something starting with __ and the normal name is an alias. */ 12732#if defined __stub_$ac_func || defined __stub___$ac_func 12733choke me 12734#endif 12735 12736int 12737main () 12738{ 12739return $ac_func (); 12740 ; 12741 return 0; 12742} 12743_ACEOF 12744rm -f conftest.$ac_objext conftest$ac_exeext 12745if { (ac_try="$ac_link" 12746case "(($ac_try" in 12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12748 *) ac_try_echo=$ac_try;; 12749esac 12750eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12751$as_echo "$ac_try_echo") >&5 12752 (eval "$ac_link") 2>conftest.er1 12753 ac_status=$? 12754 grep -v '^ *+' conftest.er1 >conftest.err 12755 rm -f conftest.er1 12756 cat conftest.err >&5 12757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12758 (exit $ac_status); } && { 12759 test -z "$ac_c_werror_flag" || 12760 test ! -s conftest.err 12761 } && test -s conftest$ac_exeext && { 12762 test "$cross_compiling" = yes || 12763 $as_test_x conftest$ac_exeext 12764 }; then 12765 eval "$as_ac_var=yes" 12766else 12767 $as_echo "$as_me: failed program was:" >&5 12768sed 's/^/| /' conftest.$ac_ext >&5 12769 12770 eval "$as_ac_var=no" 12771fi 12772 12773rm -rf conftest.dSYM 12774rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12775 conftest$ac_exeext conftest.$ac_ext 12776fi 12777ac_res=`eval 'as_val=${'$as_ac_var'} 12778 $as_echo "$as_val"'` 12779 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12780$as_echo "$ac_res" >&6; } 12781as_val=`eval 'as_val=${'$as_ac_var'} 12782 $as_echo "$as_val"'` 12783 if test "x$as_val" = x""yes; then 12784 cat >>confdefs.h <<_ACEOF 12785#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12786_ACEOF 12787 12788fi 12789done 12790 12791 12792have_cxx=yes 12793ac_ext=cpp 12794ac_cpp='$CXXCPP $CPPFLAGS' 12795ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12796ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12797ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12798if test -z "$CXX"; then 12799 if test -n "$CCC"; then 12800 CXX=$CCC 12801 else 12802 if test -n "$ac_tool_prefix"; then 12803 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 12804 do 12805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12806set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12807{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12808$as_echo_n "checking for $ac_word... " >&6; } 12809if test "${ac_cv_prog_CXX+set}" = set; then 12810 $as_echo_n "(cached) " >&6 12811else 12812 if test -n "$CXX"; then 12813 ac_cv_prog_CXX="$CXX" # Let the user override the test. 12814else 12815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12816for as_dir in $PATH 12817do 12818 IFS=$as_save_IFS 12819 test -z "$as_dir" && as_dir=. 12820 for ac_exec_ext in '' $ac_executable_extensions; do 12821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12822 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 12823 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12824 break 2 12825 fi 12826done 12827done 12828IFS=$as_save_IFS 12829 12830fi 12831fi 12832CXX=$ac_cv_prog_CXX 12833if test -n "$CXX"; then 12834 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 12835$as_echo "$CXX" >&6; } 12836else 12837 { $as_echo "$as_me:$LINENO: result: no" >&5 12838$as_echo "no" >&6; } 12839fi 12840 12841 12842 test -n "$CXX" && break 12843 done 12844fi 12845if test -z "$CXX"; then 12846 ac_ct_CXX=$CXX 12847 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 12848do 12849 # Extract the first word of "$ac_prog", so it can be a program name with args. 12850set dummy $ac_prog; ac_word=$2 12851{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12852$as_echo_n "checking for $ac_word... " >&6; } 12853if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 12854 $as_echo_n "(cached) " >&6 12855else 12856 if test -n "$ac_ct_CXX"; then 12857 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 12858else 12859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12860for as_dir in $PATH 12861do 12862 IFS=$as_save_IFS 12863 test -z "$as_dir" && as_dir=. 12864 for ac_exec_ext in '' $ac_executable_extensions; do 12865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12866 ac_cv_prog_ac_ct_CXX="$ac_prog" 12867 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12868 break 2 12869 fi 12870done 12871done 12872IFS=$as_save_IFS 12873 12874fi 12875fi 12876ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 12877if test -n "$ac_ct_CXX"; then 12878 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 12879$as_echo "$ac_ct_CXX" >&6; } 12880else 12881 { $as_echo "$as_me:$LINENO: result: no" >&5 12882$as_echo "no" >&6; } 12883fi 12884 12885 12886 test -n "$ac_ct_CXX" && break 12887done 12888 12889 if test "x$ac_ct_CXX" = x; then 12890 CXX="g++" 12891 else 12892 case $cross_compiling:$ac_tool_warned in 12893yes:) 12894{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 12895$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12896ac_tool_warned=yes ;; 12897esac 12898 CXX=$ac_ct_CXX 12899 fi 12900fi 12901 12902 fi 12903fi 12904# Provide some information about the compiler. 12905$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 12906set X $ac_compile 12907ac_compiler=$2 12908{ (ac_try="$ac_compiler --version >&5" 12909case "(($ac_try" in 12910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12911 *) ac_try_echo=$ac_try;; 12912esac 12913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12914$as_echo "$ac_try_echo") >&5 12915 (eval "$ac_compiler --version >&5") 2>&5 12916 ac_status=$? 12917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12918 (exit $ac_status); } 12919{ (ac_try="$ac_compiler -v >&5" 12920case "(($ac_try" in 12921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12922 *) ac_try_echo=$ac_try;; 12923esac 12924eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12925$as_echo "$ac_try_echo") >&5 12926 (eval "$ac_compiler -v >&5") 2>&5 12927 ac_status=$? 12928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12929 (exit $ac_status); } 12930{ (ac_try="$ac_compiler -V >&5" 12931case "(($ac_try" in 12932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12933 *) ac_try_echo=$ac_try;; 12934esac 12935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12936$as_echo "$ac_try_echo") >&5 12937 (eval "$ac_compiler -V >&5") 2>&5 12938 ac_status=$? 12939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12940 (exit $ac_status); } 12941 12942{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 12943$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 12944if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 12945 $as_echo_n "(cached) " >&6 12946else 12947 cat >conftest.$ac_ext <<_ACEOF 12948/* confdefs.h. */ 12949_ACEOF 12950cat confdefs.h >>conftest.$ac_ext 12951cat >>conftest.$ac_ext <<_ACEOF 12952/* end confdefs.h. */ 12953 12954int 12955main () 12956{ 12957#ifndef __GNUC__ 12958 choke me 12959#endif 12960 12961 ; 12962 return 0; 12963} 12964_ACEOF 12965rm -f conftest.$ac_objext 12966if { (ac_try="$ac_compile" 12967case "(($ac_try" in 12968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12969 *) ac_try_echo=$ac_try;; 12970esac 12971eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12972$as_echo "$ac_try_echo") >&5 12973 (eval "$ac_compile") 2>conftest.er1 12974 ac_status=$? 12975 grep -v '^ *+' conftest.er1 >conftest.err 12976 rm -f conftest.er1 12977 cat conftest.err >&5 12978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12979 (exit $ac_status); } && { 12980 test -z "$ac_cxx_werror_flag" || 12981 test ! -s conftest.err 12982 } && test -s conftest.$ac_objext; then 12983 ac_compiler_gnu=yes 12984else 12985 $as_echo "$as_me: failed program was:" >&5 12986sed 's/^/| /' conftest.$ac_ext >&5 12987 12988 ac_compiler_gnu=no 12989fi 12990 12991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12992ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 12993 12994fi 12995{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 12996$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 12997if test $ac_compiler_gnu = yes; then 12998 GXX=yes 12999else 13000 GXX= 13001fi 13002ac_test_CXXFLAGS=${CXXFLAGS+set} 13003ac_save_CXXFLAGS=$CXXFLAGS 13004{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 13005$as_echo_n "checking whether $CXX accepts -g... " >&6; } 13006if test "${ac_cv_prog_cxx_g+set}" = set; then 13007 $as_echo_n "(cached) " >&6 13008else 13009 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 13010 ac_cxx_werror_flag=yes 13011 ac_cv_prog_cxx_g=no 13012 CXXFLAGS="-g" 13013 cat >conftest.$ac_ext <<_ACEOF 13014/* confdefs.h. */ 13015_ACEOF 13016cat confdefs.h >>conftest.$ac_ext 13017cat >>conftest.$ac_ext <<_ACEOF 13018/* end confdefs.h. */ 13019 13020int 13021main () 13022{ 13023 13024 ; 13025 return 0; 13026} 13027_ACEOF 13028rm -f conftest.$ac_objext 13029if { (ac_try="$ac_compile" 13030case "(($ac_try" in 13031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13032 *) ac_try_echo=$ac_try;; 13033esac 13034eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13035$as_echo "$ac_try_echo") >&5 13036 (eval "$ac_compile") 2>conftest.er1 13037 ac_status=$? 13038 grep -v '^ *+' conftest.er1 >conftest.err 13039 rm -f conftest.er1 13040 cat conftest.err >&5 13041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13042 (exit $ac_status); } && { 13043 test -z "$ac_cxx_werror_flag" || 13044 test ! -s conftest.err 13045 } && test -s conftest.$ac_objext; then 13046 ac_cv_prog_cxx_g=yes 13047else 13048 $as_echo "$as_me: failed program was:" >&5 13049sed 's/^/| /' conftest.$ac_ext >&5 13050 13051 CXXFLAGS="" 13052 cat >conftest.$ac_ext <<_ACEOF 13053/* confdefs.h. */ 13054_ACEOF 13055cat confdefs.h >>conftest.$ac_ext 13056cat >>conftest.$ac_ext <<_ACEOF 13057/* end confdefs.h. */ 13058 13059int 13060main () 13061{ 13062 13063 ; 13064 return 0; 13065} 13066_ACEOF 13067rm -f conftest.$ac_objext 13068if { (ac_try="$ac_compile" 13069case "(($ac_try" in 13070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13071 *) ac_try_echo=$ac_try;; 13072esac 13073eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13074$as_echo "$ac_try_echo") >&5 13075 (eval "$ac_compile") 2>conftest.er1 13076 ac_status=$? 13077 grep -v '^ *+' conftest.er1 >conftest.err 13078 rm -f conftest.er1 13079 cat conftest.err >&5 13080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13081 (exit $ac_status); } && { 13082 test -z "$ac_cxx_werror_flag" || 13083 test ! -s conftest.err 13084 } && test -s conftest.$ac_objext; then 13085 : 13086else 13087 $as_echo "$as_me: failed program was:" >&5 13088sed 's/^/| /' conftest.$ac_ext >&5 13089 13090 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13091 CXXFLAGS="-g" 13092 cat >conftest.$ac_ext <<_ACEOF 13093/* confdefs.h. */ 13094_ACEOF 13095cat confdefs.h >>conftest.$ac_ext 13096cat >>conftest.$ac_ext <<_ACEOF 13097/* end confdefs.h. */ 13098 13099int 13100main () 13101{ 13102 13103 ; 13104 return 0; 13105} 13106_ACEOF 13107rm -f conftest.$ac_objext 13108if { (ac_try="$ac_compile" 13109case "(($ac_try" in 13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13111 *) ac_try_echo=$ac_try;; 13112esac 13113eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13114$as_echo "$ac_try_echo") >&5 13115 (eval "$ac_compile") 2>conftest.er1 13116 ac_status=$? 13117 grep -v '^ *+' conftest.er1 >conftest.err 13118 rm -f conftest.er1 13119 cat conftest.err >&5 13120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13121 (exit $ac_status); } && { 13122 test -z "$ac_cxx_werror_flag" || 13123 test ! -s conftest.err 13124 } && test -s conftest.$ac_objext; then 13125 ac_cv_prog_cxx_g=yes 13126else 13127 $as_echo "$as_me: failed program was:" >&5 13128sed 's/^/| /' conftest.$ac_ext >&5 13129 13130 13131fi 13132 13133rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13134fi 13135 13136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13137fi 13138 13139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13140 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13141fi 13142{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 13143$as_echo "$ac_cv_prog_cxx_g" >&6; } 13144if test "$ac_test_CXXFLAGS" = set; then 13145 CXXFLAGS=$ac_save_CXXFLAGS 13146elif test $ac_cv_prog_cxx_g = yes; then 13147 if test "$GXX" = yes; then 13148 CXXFLAGS="-g -O2" 13149 else 13150 CXXFLAGS="-g" 13151 fi 13152else 13153 if test "$GXX" = yes; then 13154 CXXFLAGS="-O2" 13155 else 13156 CXXFLAGS= 13157 fi 13158fi 13159ac_ext=c 13160ac_cpp='$CPP $CPPFLAGS' 13161ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13162ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13163ac_compiler_gnu=$ac_cv_c_compiler_gnu 13164 13165depcc="$CXX" am_compiler_list= 13166 13167{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 13168$as_echo_n "checking dependency style of $depcc... " >&6; } 13169if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 13170 $as_echo_n "(cached) " >&6 13171else 13172 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13173 # We make a subdir and do the tests there. Otherwise we can end up 13174 # making bogus files that we don't know about and never remove. For 13175 # instance it was reported that on HP-UX the gcc test will end up 13176 # making a dummy file named `D' -- because `-MD' means `put the output 13177 # in D'. 13178 mkdir conftest.dir 13179 # Copy depcomp to subdir because otherwise we won't find it if we're 13180 # using a relative directory. 13181 cp "$am_depcomp" conftest.dir 13182 cd conftest.dir 13183 # We will build objects and dependencies in a subdirectory because 13184 # it helps to detect inapplicable dependency modes. For instance 13185 # both Tru64's cc and ICC support -MD to output dependencies as a 13186 # side effect of compilation, but ICC will put the dependencies in 13187 # the current directory while Tru64 will put them in the object 13188 # directory. 13189 mkdir sub 13190 13191 am_cv_CXX_dependencies_compiler_type=none 13192 if test "$am_compiler_list" = ""; then 13193 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13194 fi 13195 am__universal=false 13196 case " $depcc " in #( 13197 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13198 esac 13199 13200 for depmode in $am_compiler_list; do 13201 # Setup a source with many dependencies, because some compilers 13202 # like to wrap large dependency lists on column 80 (with \), and 13203 # we should not choose a depcomp mode which is confused by this. 13204 # 13205 # We need to recreate these files for each test, as the compiler may 13206 # overwrite some of them when testing with obscure command lines. 13207 # This happens at least with the AIX C compiler. 13208 : > sub/conftest.c 13209 for i in 1 2 3 4 5 6; do 13210 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13211 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 13212 # Solaris 8's {/usr,}/bin/sh. 13213 touch sub/conftst$i.h 13214 done 13215 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13216 13217 # We check with `-c' and `-o' for the sake of the "dashmstdout" 13218 # mode. It turns out that the SunPro C++ compiler does not properly 13219 # handle `-M -o', and we need to detect this. Also, some Intel 13220 # versions had trouble with output in subdirs 13221 am__obj=sub/conftest.${OBJEXT-o} 13222 am__minus_obj="-o $am__obj" 13223 case $depmode in 13224 gcc) 13225 # This depmode causes a compiler race in universal mode. 13226 test "$am__universal" = false || continue 13227 ;; 13228 nosideeffect) 13229 # after this tag, mechanisms are not by side-effect, so they'll 13230 # only be used when explicitly requested 13231 if test "x$enable_dependency_tracking" = xyes; then 13232 continue 13233 else 13234 break 13235 fi 13236 ;; 13237 msvisualcpp | msvcmsys) 13238 # This compiler won't grok `-c -o', but also, the minuso test has 13239 # not run yet. These depmodes are late enough in the game, and 13240 # so weak that their functioning should not be impacted. 13241 am__obj=conftest.${OBJEXT-o} 13242 am__minus_obj= 13243 ;; 13244 none) break ;; 13245 esac 13246 if depmode=$depmode \ 13247 source=sub/conftest.c object=$am__obj \ 13248 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13249 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13250 >/dev/null 2>conftest.err && 13251 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13252 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13253 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13254 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13255 # icc doesn't choke on unknown options, it will just issue warnings 13256 # or remarks (even with -Werror). So we grep stderr for any message 13257 # that says an option was ignored or not supported. 13258 # When given -MP, icc 7.0 and 7.1 complain thusly: 13259 # icc: Command line warning: ignoring option '-M'; no argument required 13260 # The diagnosis changed in icc 8.0: 13261 # icc: Command line remark: option '-MP' not supported 13262 if (grep 'ignoring option' conftest.err || 13263 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13264 am_cv_CXX_dependencies_compiler_type=$depmode 13265 break 13266 fi 13267 fi 13268 done 13269 13270 cd .. 13271 rm -rf conftest.dir 13272else 13273 am_cv_CXX_dependencies_compiler_type=none 13274fi 13275 13276fi 13277{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 13278$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 13279CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 13280 13281 if 13282 test "x$enable_dependency_tracking" != xno \ 13283 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 13284 am__fastdepCXX_TRUE= 13285 am__fastdepCXX_FALSE='#' 13286else 13287 am__fastdepCXX_TRUE='#' 13288 am__fastdepCXX_FALSE= 13289fi 13290 13291 13292 13293ac_ext=cpp 13294ac_cpp='$CXXCPP $CPPFLAGS' 13295ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13296ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13297ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13298if test -z "$CXX"; then 13299 if test -n "$CCC"; then 13300 CXX=$CCC 13301 else 13302 if test -n "$ac_tool_prefix"; then 13303 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13304 do 13305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 13306set dummy $ac_tool_prefix$ac_prog; ac_word=$2 13307{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13308$as_echo_n "checking for $ac_word... " >&6; } 13309if test "${ac_cv_prog_CXX+set}" = set; then 13310 $as_echo_n "(cached) " >&6 13311else 13312 if test -n "$CXX"; then 13313 ac_cv_prog_CXX="$CXX" # Let the user override the test. 13314else 13315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13316for as_dir in $PATH 13317do 13318 IFS=$as_save_IFS 13319 test -z "$as_dir" && as_dir=. 13320 for ac_exec_ext in '' $ac_executable_extensions; do 13321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13322 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 13323 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13324 break 2 13325 fi 13326done 13327done 13328IFS=$as_save_IFS 13329 13330fi 13331fi 13332CXX=$ac_cv_prog_CXX 13333if test -n "$CXX"; then 13334 { $as_echo "$as_me:$LINENO: result: $CXX" >&5 13335$as_echo "$CXX" >&6; } 13336else 13337 { $as_echo "$as_me:$LINENO: result: no" >&5 13338$as_echo "no" >&6; } 13339fi 13340 13341 13342 test -n "$CXX" && break 13343 done 13344fi 13345if test -z "$CXX"; then 13346 ac_ct_CXX=$CXX 13347 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 13348do 13349 # Extract the first word of "$ac_prog", so it can be a program name with args. 13350set dummy $ac_prog; ac_word=$2 13351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13352$as_echo_n "checking for $ac_word... " >&6; } 13353if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 13354 $as_echo_n "(cached) " >&6 13355else 13356 if test -n "$ac_ct_CXX"; then 13357 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 13358else 13359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13360for as_dir in $PATH 13361do 13362 IFS=$as_save_IFS 13363 test -z "$as_dir" && as_dir=. 13364 for ac_exec_ext in '' $ac_executable_extensions; do 13365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13366 ac_cv_prog_ac_ct_CXX="$ac_prog" 13367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13368 break 2 13369 fi 13370done 13371done 13372IFS=$as_save_IFS 13373 13374fi 13375fi 13376ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 13377if test -n "$ac_ct_CXX"; then 13378 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 13379$as_echo "$ac_ct_CXX" >&6; } 13380else 13381 { $as_echo "$as_me:$LINENO: result: no" >&5 13382$as_echo "no" >&6; } 13383fi 13384 13385 13386 test -n "$ac_ct_CXX" && break 13387done 13388 13389 if test "x$ac_ct_CXX" = x; then 13390 CXX="g++" 13391 else 13392 case $cross_compiling:$ac_tool_warned in 13393yes:) 13394{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 13395$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13396ac_tool_warned=yes ;; 13397esac 13398 CXX=$ac_ct_CXX 13399 fi 13400fi 13401 13402 fi 13403fi 13404# Provide some information about the compiler. 13405$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 13406set X $ac_compile 13407ac_compiler=$2 13408{ (ac_try="$ac_compiler --version >&5" 13409case "(($ac_try" in 13410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13411 *) ac_try_echo=$ac_try;; 13412esac 13413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13414$as_echo "$ac_try_echo") >&5 13415 (eval "$ac_compiler --version >&5") 2>&5 13416 ac_status=$? 13417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13418 (exit $ac_status); } 13419{ (ac_try="$ac_compiler -v >&5" 13420case "(($ac_try" in 13421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13422 *) ac_try_echo=$ac_try;; 13423esac 13424eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13425$as_echo "$ac_try_echo") >&5 13426 (eval "$ac_compiler -v >&5") 2>&5 13427 ac_status=$? 13428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13429 (exit $ac_status); } 13430{ (ac_try="$ac_compiler -V >&5" 13431case "(($ac_try" in 13432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13433 *) ac_try_echo=$ac_try;; 13434esac 13435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13436$as_echo "$ac_try_echo") >&5 13437 (eval "$ac_compiler -V >&5") 2>&5 13438 ac_status=$? 13439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13440 (exit $ac_status); } 13441 13442{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 13443$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 13444if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 13445 $as_echo_n "(cached) " >&6 13446else 13447 cat >conftest.$ac_ext <<_ACEOF 13448/* confdefs.h. */ 13449_ACEOF 13450cat confdefs.h >>conftest.$ac_ext 13451cat >>conftest.$ac_ext <<_ACEOF 13452/* end confdefs.h. */ 13453 13454int 13455main () 13456{ 13457#ifndef __GNUC__ 13458 choke me 13459#endif 13460 13461 ; 13462 return 0; 13463} 13464_ACEOF 13465rm -f conftest.$ac_objext 13466if { (ac_try="$ac_compile" 13467case "(($ac_try" in 13468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13469 *) ac_try_echo=$ac_try;; 13470esac 13471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13472$as_echo "$ac_try_echo") >&5 13473 (eval "$ac_compile") 2>conftest.er1 13474 ac_status=$? 13475 grep -v '^ *+' conftest.er1 >conftest.err 13476 rm -f conftest.er1 13477 cat conftest.err >&5 13478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13479 (exit $ac_status); } && { 13480 test -z "$ac_cxx_werror_flag" || 13481 test ! -s conftest.err 13482 } && test -s conftest.$ac_objext; then 13483 ac_compiler_gnu=yes 13484else 13485 $as_echo "$as_me: failed program was:" >&5 13486sed 's/^/| /' conftest.$ac_ext >&5 13487 13488 ac_compiler_gnu=no 13489fi 13490 13491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13492ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 13493 13494fi 13495{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 13496$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 13497if test $ac_compiler_gnu = yes; then 13498 GXX=yes 13499else 13500 GXX= 13501fi 13502ac_test_CXXFLAGS=${CXXFLAGS+set} 13503ac_save_CXXFLAGS=$CXXFLAGS 13504{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 13505$as_echo_n "checking whether $CXX accepts -g... " >&6; } 13506if test "${ac_cv_prog_cxx_g+set}" = set; then 13507 $as_echo_n "(cached) " >&6 13508else 13509 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 13510 ac_cxx_werror_flag=yes 13511 ac_cv_prog_cxx_g=no 13512 CXXFLAGS="-g" 13513 cat >conftest.$ac_ext <<_ACEOF 13514/* confdefs.h. */ 13515_ACEOF 13516cat confdefs.h >>conftest.$ac_ext 13517cat >>conftest.$ac_ext <<_ACEOF 13518/* end confdefs.h. */ 13519 13520int 13521main () 13522{ 13523 13524 ; 13525 return 0; 13526} 13527_ACEOF 13528rm -f conftest.$ac_objext 13529if { (ac_try="$ac_compile" 13530case "(($ac_try" in 13531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13532 *) ac_try_echo=$ac_try;; 13533esac 13534eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13535$as_echo "$ac_try_echo") >&5 13536 (eval "$ac_compile") 2>conftest.er1 13537 ac_status=$? 13538 grep -v '^ *+' conftest.er1 >conftest.err 13539 rm -f conftest.er1 13540 cat conftest.err >&5 13541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13542 (exit $ac_status); } && { 13543 test -z "$ac_cxx_werror_flag" || 13544 test ! -s conftest.err 13545 } && test -s conftest.$ac_objext; then 13546 ac_cv_prog_cxx_g=yes 13547else 13548 $as_echo "$as_me: failed program was:" >&5 13549sed 's/^/| /' conftest.$ac_ext >&5 13550 13551 CXXFLAGS="" 13552 cat >conftest.$ac_ext <<_ACEOF 13553/* confdefs.h. */ 13554_ACEOF 13555cat confdefs.h >>conftest.$ac_ext 13556cat >>conftest.$ac_ext <<_ACEOF 13557/* end confdefs.h. */ 13558 13559int 13560main () 13561{ 13562 13563 ; 13564 return 0; 13565} 13566_ACEOF 13567rm -f conftest.$ac_objext 13568if { (ac_try="$ac_compile" 13569case "(($ac_try" in 13570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13571 *) ac_try_echo=$ac_try;; 13572esac 13573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13574$as_echo "$ac_try_echo") >&5 13575 (eval "$ac_compile") 2>conftest.er1 13576 ac_status=$? 13577 grep -v '^ *+' conftest.er1 >conftest.err 13578 rm -f conftest.er1 13579 cat conftest.err >&5 13580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13581 (exit $ac_status); } && { 13582 test -z "$ac_cxx_werror_flag" || 13583 test ! -s conftest.err 13584 } && test -s conftest.$ac_objext; then 13585 : 13586else 13587 $as_echo "$as_me: failed program was:" >&5 13588sed 's/^/| /' conftest.$ac_ext >&5 13589 13590 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13591 CXXFLAGS="-g" 13592 cat >conftest.$ac_ext <<_ACEOF 13593/* confdefs.h. */ 13594_ACEOF 13595cat confdefs.h >>conftest.$ac_ext 13596cat >>conftest.$ac_ext <<_ACEOF 13597/* end confdefs.h. */ 13598 13599int 13600main () 13601{ 13602 13603 ; 13604 return 0; 13605} 13606_ACEOF 13607rm -f conftest.$ac_objext 13608if { (ac_try="$ac_compile" 13609case "(($ac_try" in 13610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13611 *) ac_try_echo=$ac_try;; 13612esac 13613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13614$as_echo "$ac_try_echo") >&5 13615 (eval "$ac_compile") 2>conftest.er1 13616 ac_status=$? 13617 grep -v '^ *+' conftest.er1 >conftest.err 13618 rm -f conftest.er1 13619 cat conftest.err >&5 13620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13621 (exit $ac_status); } && { 13622 test -z "$ac_cxx_werror_flag" || 13623 test ! -s conftest.err 13624 } && test -s conftest.$ac_objext; then 13625 ac_cv_prog_cxx_g=yes 13626else 13627 $as_echo "$as_me: failed program was:" >&5 13628sed 's/^/| /' conftest.$ac_ext >&5 13629 13630 13631fi 13632 13633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13634fi 13635 13636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13637fi 13638 13639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13640 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 13641fi 13642{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 13643$as_echo "$ac_cv_prog_cxx_g" >&6; } 13644if test "$ac_test_CXXFLAGS" = set; then 13645 CXXFLAGS=$ac_save_CXXFLAGS 13646elif test $ac_cv_prog_cxx_g = yes; then 13647 if test "$GXX" = yes; then 13648 CXXFLAGS="-g -O2" 13649 else 13650 CXXFLAGS="-g" 13651 fi 13652else 13653 if test "$GXX" = yes; then 13654 CXXFLAGS="-O2" 13655 else 13656 CXXFLAGS= 13657 fi 13658fi 13659ac_ext=c 13660ac_cpp='$CPP $CPPFLAGS' 13661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13663ac_compiler_gnu=$ac_cv_c_compiler_gnu 13664 13665depcc="$CXX" am_compiler_list= 13666 13667{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 13668$as_echo_n "checking dependency style of $depcc... " >&6; } 13669if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 13670 $as_echo_n "(cached) " >&6 13671else 13672 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 13673 # We make a subdir and do the tests there. Otherwise we can end up 13674 # making bogus files that we don't know about and never remove. For 13675 # instance it was reported that on HP-UX the gcc test will end up 13676 # making a dummy file named `D' -- because `-MD' means `put the output 13677 # in D'. 13678 mkdir conftest.dir 13679 # Copy depcomp to subdir because otherwise we won't find it if we're 13680 # using a relative directory. 13681 cp "$am_depcomp" conftest.dir 13682 cd conftest.dir 13683 # We will build objects and dependencies in a subdirectory because 13684 # it helps to detect inapplicable dependency modes. For instance 13685 # both Tru64's cc and ICC support -MD to output dependencies as a 13686 # side effect of compilation, but ICC will put the dependencies in 13687 # the current directory while Tru64 will put them in the object 13688 # directory. 13689 mkdir sub 13690 13691 am_cv_CXX_dependencies_compiler_type=none 13692 if test "$am_compiler_list" = ""; then 13693 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 13694 fi 13695 am__universal=false 13696 case " $depcc " in #( 13697 *\ -arch\ *\ -arch\ *) am__universal=true ;; 13698 esac 13699 13700 for depmode in $am_compiler_list; do 13701 # Setup a source with many dependencies, because some compilers 13702 # like to wrap large dependency lists on column 80 (with \), and 13703 # we should not choose a depcomp mode which is confused by this. 13704 # 13705 # We need to recreate these files for each test, as the compiler may 13706 # overwrite some of them when testing with obscure command lines. 13707 # This happens at least with the AIX C compiler. 13708 : > sub/conftest.c 13709 for i in 1 2 3 4 5 6; do 13710 echo '#include "conftst'$i'.h"' >> sub/conftest.c 13711 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 13712 # Solaris 8's {/usr,}/bin/sh. 13713 touch sub/conftst$i.h 13714 done 13715 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 13716 13717 # We check with `-c' and `-o' for the sake of the "dashmstdout" 13718 # mode. It turns out that the SunPro C++ compiler does not properly 13719 # handle `-M -o', and we need to detect this. Also, some Intel 13720 # versions had trouble with output in subdirs 13721 am__obj=sub/conftest.${OBJEXT-o} 13722 am__minus_obj="-o $am__obj" 13723 case $depmode in 13724 gcc) 13725 # This depmode causes a compiler race in universal mode. 13726 test "$am__universal" = false || continue 13727 ;; 13728 nosideeffect) 13729 # after this tag, mechanisms are not by side-effect, so they'll 13730 # only be used when explicitly requested 13731 if test "x$enable_dependency_tracking" = xyes; then 13732 continue 13733 else 13734 break 13735 fi 13736 ;; 13737 msvisualcpp | msvcmsys) 13738 # This compiler won't grok `-c -o', but also, the minuso test has 13739 # not run yet. These depmodes are late enough in the game, and 13740 # so weak that their functioning should not be impacted. 13741 am__obj=conftest.${OBJEXT-o} 13742 am__minus_obj= 13743 ;; 13744 none) break ;; 13745 esac 13746 if depmode=$depmode \ 13747 source=sub/conftest.c object=$am__obj \ 13748 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 13749 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 13750 >/dev/null 2>conftest.err && 13751 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 13752 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 13753 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 13754 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 13755 # icc doesn't choke on unknown options, it will just issue warnings 13756 # or remarks (even with -Werror). So we grep stderr for any message 13757 # that says an option was ignored or not supported. 13758 # When given -MP, icc 7.0 and 7.1 complain thusly: 13759 # icc: Command line warning: ignoring option '-M'; no argument required 13760 # The diagnosis changed in icc 8.0: 13761 # icc: Command line remark: option '-MP' not supported 13762 if (grep 'ignoring option' conftest.err || 13763 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 13764 am_cv_CXX_dependencies_compiler_type=$depmode 13765 break 13766 fi 13767 fi 13768 done 13769 13770 cd .. 13771 rm -rf conftest.dir 13772else 13773 am_cv_CXX_dependencies_compiler_type=none 13774fi 13775 13776fi 13777{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 13778$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 13779CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 13780 13781 if 13782 test "x$enable_dependency_tracking" != xno \ 13783 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 13784 am__fastdepCXX_TRUE= 13785 am__fastdepCXX_FALSE='#' 13786else 13787 am__fastdepCXX_TRUE='#' 13788 am__fastdepCXX_FALSE= 13789fi 13790 13791 13792if test -n "$CXX" && ( test "X$CXX" != "Xno" && 13793 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 13794 (test "X$CXX" != "Xg++"))) ; then 13795 ac_ext=cpp 13796ac_cpp='$CXXCPP $CPPFLAGS' 13797ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13798ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13799ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13800{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 13801$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13802if test -z "$CXXCPP"; then 13803 if test "${ac_cv_prog_CXXCPP+set}" = set; then 13804 $as_echo_n "(cached) " >&6 13805else 13806 # Double quotes because CXXCPP needs to be expanded 13807 for CXXCPP in "$CXX -E" "/lib/cpp" 13808 do 13809 ac_preproc_ok=false 13810for ac_cxx_preproc_warn_flag in '' yes 13811do 13812 # Use a header file that comes with gcc, so configuring glibc 13813 # with a fresh cross-compiler works. 13814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13815 # <limits.h> exists even on freestanding compilers. 13816 # On the NeXT, cc -E runs the code through the compiler's parser, 13817 # not just through cpp. "Syntax error" is here to catch this case. 13818 cat >conftest.$ac_ext <<_ACEOF 13819/* confdefs.h. */ 13820_ACEOF 13821cat confdefs.h >>conftest.$ac_ext 13822cat >>conftest.$ac_ext <<_ACEOF 13823/* end confdefs.h. */ 13824#ifdef __STDC__ 13825# include <limits.h> 13826#else 13827# include <assert.h> 13828#endif 13829 Syntax error 13830_ACEOF 13831if { (ac_try="$ac_cpp conftest.$ac_ext" 13832case "(($ac_try" in 13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13834 *) ac_try_echo=$ac_try;; 13835esac 13836eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13837$as_echo "$ac_try_echo") >&5 13838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13839 ac_status=$? 13840 grep -v '^ *+' conftest.er1 >conftest.err 13841 rm -f conftest.er1 13842 cat conftest.err >&5 13843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13844 (exit $ac_status); } >/dev/null && { 13845 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13846 test ! -s conftest.err 13847 }; then 13848 : 13849else 13850 $as_echo "$as_me: failed program was:" >&5 13851sed 's/^/| /' conftest.$ac_ext >&5 13852 13853 # Broken: fails on valid input. 13854continue 13855fi 13856 13857rm -f conftest.err conftest.$ac_ext 13858 13859 # OK, works on sane cases. Now check whether nonexistent headers 13860 # can be detected and how. 13861 cat >conftest.$ac_ext <<_ACEOF 13862/* confdefs.h. */ 13863_ACEOF 13864cat confdefs.h >>conftest.$ac_ext 13865cat >>conftest.$ac_ext <<_ACEOF 13866/* end confdefs.h. */ 13867#include <ac_nonexistent.h> 13868_ACEOF 13869if { (ac_try="$ac_cpp conftest.$ac_ext" 13870case "(($ac_try" in 13871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13872 *) ac_try_echo=$ac_try;; 13873esac 13874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13875$as_echo "$ac_try_echo") >&5 13876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13877 ac_status=$? 13878 grep -v '^ *+' conftest.er1 >conftest.err 13879 rm -f conftest.er1 13880 cat conftest.err >&5 13881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13882 (exit $ac_status); } >/dev/null && { 13883 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13884 test ! -s conftest.err 13885 }; then 13886 # Broken: success on invalid input. 13887continue 13888else 13889 $as_echo "$as_me: failed program was:" >&5 13890sed 's/^/| /' conftest.$ac_ext >&5 13891 13892 # Passes both tests. 13893ac_preproc_ok=: 13894break 13895fi 13896 13897rm -f conftest.err conftest.$ac_ext 13898 13899done 13900# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13901rm -f conftest.err conftest.$ac_ext 13902if $ac_preproc_ok; then 13903 break 13904fi 13905 13906 done 13907 ac_cv_prog_CXXCPP=$CXXCPP 13908 13909fi 13910 CXXCPP=$ac_cv_prog_CXXCPP 13911else 13912 ac_cv_prog_CXXCPP=$CXXCPP 13913fi 13914{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 13915$as_echo "$CXXCPP" >&6; } 13916ac_preproc_ok=false 13917for ac_cxx_preproc_warn_flag in '' yes 13918do 13919 # Use a header file that comes with gcc, so configuring glibc 13920 # with a fresh cross-compiler works. 13921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13922 # <limits.h> exists even on freestanding compilers. 13923 # On the NeXT, cc -E runs the code through the compiler's parser, 13924 # not just through cpp. "Syntax error" is here to catch this case. 13925 cat >conftest.$ac_ext <<_ACEOF 13926/* confdefs.h. */ 13927_ACEOF 13928cat confdefs.h >>conftest.$ac_ext 13929cat >>conftest.$ac_ext <<_ACEOF 13930/* end confdefs.h. */ 13931#ifdef __STDC__ 13932# include <limits.h> 13933#else 13934# include <assert.h> 13935#endif 13936 Syntax error 13937_ACEOF 13938if { (ac_try="$ac_cpp conftest.$ac_ext" 13939case "(($ac_try" in 13940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13941 *) ac_try_echo=$ac_try;; 13942esac 13943eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13944$as_echo "$ac_try_echo") >&5 13945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13946 ac_status=$? 13947 grep -v '^ *+' conftest.er1 >conftest.err 13948 rm -f conftest.er1 13949 cat conftest.err >&5 13950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13951 (exit $ac_status); } >/dev/null && { 13952 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13953 test ! -s conftest.err 13954 }; then 13955 : 13956else 13957 $as_echo "$as_me: failed program was:" >&5 13958sed 's/^/| /' conftest.$ac_ext >&5 13959 13960 # Broken: fails on valid input. 13961continue 13962fi 13963 13964rm -f conftest.err conftest.$ac_ext 13965 13966 # OK, works on sane cases. Now check whether nonexistent headers 13967 # can be detected and how. 13968 cat >conftest.$ac_ext <<_ACEOF 13969/* confdefs.h. */ 13970_ACEOF 13971cat confdefs.h >>conftest.$ac_ext 13972cat >>conftest.$ac_ext <<_ACEOF 13973/* end confdefs.h. */ 13974#include <ac_nonexistent.h> 13975_ACEOF 13976if { (ac_try="$ac_cpp conftest.$ac_ext" 13977case "(($ac_try" in 13978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13979 *) ac_try_echo=$ac_try;; 13980esac 13981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13982$as_echo "$ac_try_echo") >&5 13983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13984 ac_status=$? 13985 grep -v '^ *+' conftest.er1 >conftest.err 13986 rm -f conftest.er1 13987 cat conftest.err >&5 13988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13989 (exit $ac_status); } >/dev/null && { 13990 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 13991 test ! -s conftest.err 13992 }; then 13993 # Broken: success on invalid input. 13994continue 13995else 13996 $as_echo "$as_me: failed program was:" >&5 13997sed 's/^/| /' conftest.$ac_ext >&5 13998 13999 # Passes both tests. 14000ac_preproc_ok=: 14001break 14002fi 14003 14004rm -f conftest.err conftest.$ac_ext 14005 14006done 14007# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 14008rm -f conftest.err conftest.$ac_ext 14009if $ac_preproc_ok; then 14010 : 14011else 14012 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 14013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14014_lt_caught_CXX_error=yes; } 14015fi 14016 14017ac_ext=c 14018ac_cpp='$CPP $CPPFLAGS' 14019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14021ac_compiler_gnu=$ac_cv_c_compiler_gnu 14022 14023else 14024 _lt_caught_CXX_error=yes 14025fi 14026 14027 14028 14029 14030ac_ext=cpp 14031ac_cpp='$CXXCPP $CPPFLAGS' 14032ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 14033ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 14034ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 14035 14036archive_cmds_need_lc_CXX=no 14037allow_undefined_flag_CXX= 14038always_export_symbols_CXX=no 14039archive_expsym_cmds_CXX= 14040compiler_needs_object_CXX=no 14041export_dynamic_flag_spec_CXX= 14042hardcode_direct_CXX=no 14043hardcode_direct_absolute_CXX=no 14044hardcode_libdir_flag_spec_CXX= 14045hardcode_libdir_flag_spec_ld_CXX= 14046hardcode_libdir_separator_CXX= 14047hardcode_minus_L_CXX=no 14048hardcode_shlibpath_var_CXX=unsupported 14049hardcode_automatic_CXX=no 14050inherit_rpath_CXX=no 14051module_cmds_CXX= 14052module_expsym_cmds_CXX= 14053link_all_deplibs_CXX=unknown 14054old_archive_cmds_CXX=$old_archive_cmds 14055no_undefined_flag_CXX= 14056whole_archive_flag_spec_CXX= 14057enable_shared_with_static_runtimes_CXX=no 14058 14059# Source file extension for C++ test sources. 14060ac_ext=cpp 14061 14062# Object file extension for compiled C++ test sources. 14063objext=o 14064objext_CXX=$objext 14065 14066# No sense in running all these tests if we already determined that 14067# the CXX compiler isn't working. Some variables (like enable_shared) 14068# are currently assumed to apply to all compilers on this platform, 14069# and will be corrupted by setting them based on a non-working compiler. 14070if test "$_lt_caught_CXX_error" != yes; then 14071 # Code to be used in simple compile tests 14072 lt_simple_compile_test_code="int some_variable = 0;" 14073 14074 # Code to be used in simple link tests 14075 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 14076 14077 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 14078 14079 14080 14081 14082 14083 14084# If no C compiler was specified, use CC. 14085LTCC=${LTCC-"$CC"} 14086 14087# If no C compiler flags were specified, use CFLAGS. 14088LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 14089 14090# Allow CC to be a program name with arguments. 14091compiler=$CC 14092 14093 14094 # save warnings/boilerplate of simple test code 14095 ac_outfile=conftest.$ac_objext 14096echo "$lt_simple_compile_test_code" >conftest.$ac_ext 14097eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14098_lt_compiler_boilerplate=`cat conftest.err` 14099$RM conftest* 14100 14101 ac_outfile=conftest.$ac_objext 14102echo "$lt_simple_link_test_code" >conftest.$ac_ext 14103eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 14104_lt_linker_boilerplate=`cat conftest.err` 14105$RM -r conftest* 14106 14107 14108 # Allow CC to be a program name with arguments. 14109 lt_save_CC=$CC 14110 lt_save_LD=$LD 14111 lt_save_GCC=$GCC 14112 GCC=$GXX 14113 lt_save_with_gnu_ld=$with_gnu_ld 14114 lt_save_path_LD=$lt_cv_path_LD 14115 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 14116 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 14117 else 14118 $as_unset lt_cv_prog_gnu_ld 14119 fi 14120 if test -n "${lt_cv_path_LDCXX+set}"; then 14121 lt_cv_path_LD=$lt_cv_path_LDCXX 14122 else 14123 $as_unset lt_cv_path_LD 14124 fi 14125 test -z "${LDCXX+set}" || LD=$LDCXX 14126 CC=${CXX-"c++"} 14127 compiler=$CC 14128 compiler_CXX=$CC 14129 for cc_temp in $compiler""; do 14130 case $cc_temp in 14131 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 14132 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 14133 \-*) ;; 14134 *) break;; 14135 esac 14136done 14137cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 14138 14139 14140 if test -n "$compiler"; then 14141 # We don't want -fno-exception when compiling C++ code, so set the 14142 # no_builtin_flag separately 14143 if test "$GXX" = yes; then 14144 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 14145 else 14146 lt_prog_compiler_no_builtin_flag_CXX= 14147 fi 14148 14149 if test "$GXX" = yes; then 14150 # Set up default GNU C++ configuration 14151 14152 14153 14154# Check whether --with-gnu-ld was given. 14155if test "${with_gnu_ld+set}" = set; then 14156 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 14157else 14158 with_gnu_ld=no 14159fi 14160 14161ac_prog=ld 14162if test "$GCC" = yes; then 14163 # Check if gcc -print-prog-name=ld gives a path. 14164 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 14165$as_echo_n "checking for ld used by $CC... " >&6; } 14166 case $host in 14167 *-*-mingw*) 14168 # gcc leaves a trailing carriage return which upsets mingw 14169 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 14170 *) 14171 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 14172 esac 14173 case $ac_prog in 14174 # Accept absolute paths. 14175 [\\/]* | ?:[\\/]*) 14176 re_direlt='/[^/][^/]*/\.\./' 14177 # Canonicalize the pathname of ld 14178 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14179 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14180 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14181 done 14182 test -z "$LD" && LD="$ac_prog" 14183 ;; 14184 "") 14185 # If it fails, then pretend we aren't using GCC. 14186 ac_prog=ld 14187 ;; 14188 *) 14189 # If it is relative, then search for the first ld in PATH. 14190 with_gnu_ld=unknown 14191 ;; 14192 esac 14193elif test "$with_gnu_ld" = yes; then 14194 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 14195$as_echo_n "checking for GNU ld... " >&6; } 14196else 14197 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 14198$as_echo_n "checking for non-GNU ld... " >&6; } 14199fi 14200if test "${lt_cv_path_LD+set}" = set; then 14201 $as_echo_n "(cached) " >&6 14202else 14203 if test -z "$LD"; then 14204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 14205 for ac_dir in $PATH; do 14206 IFS="$lt_save_ifs" 14207 test -z "$ac_dir" && ac_dir=. 14208 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14209 lt_cv_path_LD="$ac_dir/$ac_prog" 14210 # Check to see if the program is GNU ld. I'd rather use --version, 14211 # but apparently some variants of GNU ld only accept -v. 14212 # Break only if it was the GNU/non-GNU ld that we prefer. 14213 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14214 *GNU* | *'with BFD'*) 14215 test "$with_gnu_ld" != no && break 14216 ;; 14217 *) 14218 test "$with_gnu_ld" != yes && break 14219 ;; 14220 esac 14221 fi 14222 done 14223 IFS="$lt_save_ifs" 14224else 14225 lt_cv_path_LD="$LD" # Let the user override the test with a path. 14226fi 14227fi 14228 14229LD="$lt_cv_path_LD" 14230if test -n "$LD"; then 14231 { $as_echo "$as_me:$LINENO: result: $LD" >&5 14232$as_echo "$LD" >&6; } 14233else 14234 { $as_echo "$as_me:$LINENO: result: no" >&5 14235$as_echo "no" >&6; } 14236fi 14237test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 14238$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 14239 { (exit 1); exit 1; }; } 14240{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 14241$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14242if test "${lt_cv_prog_gnu_ld+set}" = set; then 14243 $as_echo_n "(cached) " >&6 14244else 14245 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14246case `$LD -v 2>&1 </dev/null` in 14247*GNU* | *'with BFD'*) 14248 lt_cv_prog_gnu_ld=yes 14249 ;; 14250*) 14251 lt_cv_prog_gnu_ld=no 14252 ;; 14253esac 14254fi 14255{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 14256$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14257with_gnu_ld=$lt_cv_prog_gnu_ld 14258 14259 14260 14261 14262 14263 14264 14265 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14266 # archiving commands below assume that GNU ld is being used. 14267 if test "$with_gnu_ld" = yes; then 14268 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14269 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14270 14271 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14272 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14273 14274 # If archive_cmds runs LD, not CC, wlarc should be empty 14275 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14276 # investigate it a little bit more. (MM) 14277 wlarc='${wl}' 14278 14279 # ancient GNU ld didn't support --whole-archive et. al. 14280 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14281 $GREP 'no-whole-archive' > /dev/null; then 14282 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 14283 else 14284 whole_archive_flag_spec_CXX= 14285 fi 14286 else 14287 with_gnu_ld=no 14288 wlarc= 14289 14290 # A generic and very simple default shared library creation 14291 # command for GNU C++ for the case where it uses the native 14292 # linker, instead of GNU ld. If possible, this setting should 14293 # overridden to take advantage of the native linker features on 14294 # the platform it is being used on. 14295 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14296 fi 14297 14298 # Commands to make compiler produce verbose output that lists 14299 # what "hidden" libraries, object files and flags are used when 14300 # linking a shared library. 14301 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 14302 14303 else 14304 GXX=no 14305 with_gnu_ld=no 14306 wlarc= 14307 fi 14308 14309 # PORTME: fill in a description of your system's C++ link characteristics 14310 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14311$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14312 ld_shlibs_CXX=yes 14313 case $host_os in 14314 aix3*) 14315 # FIXME: insert proper C++ library support 14316 ld_shlibs_CXX=no 14317 ;; 14318 aix[4-9]*) 14319 if test "$host_cpu" = ia64; then 14320 # On IA64, the linker does run time linking by default, so we don't 14321 # have to do anything special. 14322 aix_use_runtimelinking=no 14323 exp_sym_flag='-Bexport' 14324 no_entry_flag="" 14325 else 14326 aix_use_runtimelinking=no 14327 14328 # Test if we are trying to use run time linking or normal 14329 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14330 # need to do runtime linking. 14331 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14332 for ld_flag in $LDFLAGS; do 14333 case $ld_flag in 14334 *-brtl*) 14335 aix_use_runtimelinking=yes 14336 break 14337 ;; 14338 esac 14339 done 14340 ;; 14341 esac 14342 14343 exp_sym_flag='-bexport' 14344 no_entry_flag='-bnoentry' 14345 fi 14346 14347 # When large executables or shared objects are built, AIX ld can 14348 # have problems creating the table of contents. If linking a library 14349 # or program results in "error TOC overflow" add -mminimal-toc to 14350 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14351 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14352 14353 archive_cmds_CXX='' 14354 hardcode_direct_CXX=yes 14355 hardcode_direct_absolute_CXX=yes 14356 hardcode_libdir_separator_CXX=':' 14357 link_all_deplibs_CXX=yes 14358 file_list_spec_CXX='${wl}-f,' 14359 14360 if test "$GXX" = yes; then 14361 case $host_os in aix4.[012]|aix4.[012].*) 14362 # We only want to do this on AIX 4.2 and lower, the check 14363 # below for broken collect2 doesn't work under 4.3+ 14364 collect2name=`${CC} -print-prog-name=collect2` 14365 if test -f "$collect2name" && 14366 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14367 then 14368 # We have reworked collect2 14369 : 14370 else 14371 # We have old collect2 14372 hardcode_direct_CXX=unsupported 14373 # It fails to find uninstalled libraries when the uninstalled 14374 # path is not listed in the libpath. Setting hardcode_minus_L 14375 # to unsupported forces relinking 14376 hardcode_minus_L_CXX=yes 14377 hardcode_libdir_flag_spec_CXX='-L$libdir' 14378 hardcode_libdir_separator_CXX= 14379 fi 14380 esac 14381 shared_flag='-shared' 14382 if test "$aix_use_runtimelinking" = yes; then 14383 shared_flag="$shared_flag "'${wl}-G' 14384 fi 14385 else 14386 # not using gcc 14387 if test "$host_cpu" = ia64; then 14388 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14389 # chokes on -Wl,-G. The following line is correct: 14390 shared_flag='-G' 14391 else 14392 if test "$aix_use_runtimelinking" = yes; then 14393 shared_flag='${wl}-G' 14394 else 14395 shared_flag='${wl}-bM:SRE' 14396 fi 14397 fi 14398 fi 14399 14400 export_dynamic_flag_spec_CXX='${wl}-bexpall' 14401 # It seems that -bexpall does not export symbols beginning with 14402 # underscore (_), so it is better to generate a list of symbols to 14403 # export. 14404 always_export_symbols_CXX=yes 14405 if test "$aix_use_runtimelinking" = yes; then 14406 # Warning - without using the other runtime loading flags (-brtl), 14407 # -berok will link without error, but may produce a broken library. 14408 allow_undefined_flag_CXX='-berok' 14409 # Determine the default libpath from the value encoded in an empty 14410 # executable. 14411 cat >conftest.$ac_ext <<_ACEOF 14412/* confdefs.h. */ 14413_ACEOF 14414cat confdefs.h >>conftest.$ac_ext 14415cat >>conftest.$ac_ext <<_ACEOF 14416/* end confdefs.h. */ 14417 14418int 14419main () 14420{ 14421 14422 ; 14423 return 0; 14424} 14425_ACEOF 14426rm -f conftest.$ac_objext conftest$ac_exeext 14427if { (ac_try="$ac_link" 14428case "(($ac_try" in 14429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14430 *) ac_try_echo=$ac_try;; 14431esac 14432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14433$as_echo "$ac_try_echo") >&5 14434 (eval "$ac_link") 2>conftest.er1 14435 ac_status=$? 14436 grep -v '^ *+' conftest.er1 >conftest.err 14437 rm -f conftest.er1 14438 cat conftest.err >&5 14439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14440 (exit $ac_status); } && { 14441 test -z "$ac_cxx_werror_flag" || 14442 test ! -s conftest.err 14443 } && test -s conftest$ac_exeext && { 14444 test "$cross_compiling" = yes || 14445 $as_test_x conftest$ac_exeext 14446 }; then 14447 14448lt_aix_libpath_sed=' 14449 /Import File Strings/,/^$/ { 14450 /^0/ { 14451 s/^0 *\(.*\)$/\1/ 14452 p 14453 } 14454 }' 14455aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14456# Check for a 64-bit object if we didn't find anything. 14457if test -z "$aix_libpath"; then 14458 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14459fi 14460else 14461 $as_echo "$as_me: failed program was:" >&5 14462sed 's/^/| /' conftest.$ac_ext >&5 14463 14464 14465fi 14466 14467rm -rf conftest.dSYM 14468rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14469 conftest$ac_exeext conftest.$ac_ext 14470if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14471 14472 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14473 14474 archive_expsym_cmds_CXX='$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" 14475 else 14476 if test "$host_cpu" = ia64; then 14477 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 14478 allow_undefined_flag_CXX="-z nodefs" 14479 archive_expsym_cmds_CXX="\$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" 14480 else 14481 # Determine the default libpath from the value encoded in an 14482 # empty executable. 14483 cat >conftest.$ac_ext <<_ACEOF 14484/* confdefs.h. */ 14485_ACEOF 14486cat confdefs.h >>conftest.$ac_ext 14487cat >>conftest.$ac_ext <<_ACEOF 14488/* end confdefs.h. */ 14489 14490int 14491main () 14492{ 14493 14494 ; 14495 return 0; 14496} 14497_ACEOF 14498rm -f conftest.$ac_objext conftest$ac_exeext 14499if { (ac_try="$ac_link" 14500case "(($ac_try" in 14501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14502 *) ac_try_echo=$ac_try;; 14503esac 14504eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14505$as_echo "$ac_try_echo") >&5 14506 (eval "$ac_link") 2>conftest.er1 14507 ac_status=$? 14508 grep -v '^ *+' conftest.er1 >conftest.err 14509 rm -f conftest.er1 14510 cat conftest.err >&5 14511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14512 (exit $ac_status); } && { 14513 test -z "$ac_cxx_werror_flag" || 14514 test ! -s conftest.err 14515 } && test -s conftest$ac_exeext && { 14516 test "$cross_compiling" = yes || 14517 $as_test_x conftest$ac_exeext 14518 }; then 14519 14520lt_aix_libpath_sed=' 14521 /Import File Strings/,/^$/ { 14522 /^0/ { 14523 s/^0 *\(.*\)$/\1/ 14524 p 14525 } 14526 }' 14527aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14528# Check for a 64-bit object if we didn't find anything. 14529if test -z "$aix_libpath"; then 14530 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14531fi 14532else 14533 $as_echo "$as_me: failed program was:" >&5 14534sed 's/^/| /' conftest.$ac_ext >&5 14535 14536 14537fi 14538 14539rm -rf conftest.dSYM 14540rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14541 conftest$ac_exeext conftest.$ac_ext 14542if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 14543 14544 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 14545 # Warning - without using the other run time loading flags, 14546 # -berok will link without error, but may produce a broken library. 14547 no_undefined_flag_CXX=' ${wl}-bernotok' 14548 allow_undefined_flag_CXX=' ${wl}-berok' 14549 # Exported symbols can be pulled into shared objects from archives 14550 whole_archive_flag_spec_CXX='$convenience' 14551 archive_cmds_need_lc_CXX=yes 14552 # This is similar to how AIX traditionally builds its shared 14553 # libraries. 14554 archive_expsym_cmds_CXX="\$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' 14555 fi 14556 fi 14557 ;; 14558 14559 beos*) 14560 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14561 allow_undefined_flag_CXX=unsupported 14562 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14563 # support --undefined. This deserves some investigation. FIXME 14564 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14565 else 14566 ld_shlibs_CXX=no 14567 fi 14568 ;; 14569 14570 chorus*) 14571 case $cc_basename in 14572 *) 14573 # FIXME: insert proper C++ library support 14574 ld_shlibs_CXX=no 14575 ;; 14576 esac 14577 ;; 14578 14579 cygwin* | mingw* | pw32* | cegcc*) 14580 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14581 # as there is no search path for DLLs. 14582 hardcode_libdir_flag_spec_CXX='-L$libdir' 14583 allow_undefined_flag_CXX=unsupported 14584 always_export_symbols_CXX=no 14585 enable_shared_with_static_runtimes_CXX=yes 14586 14587 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14588 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14589 # If the export-symbols file already is a .def file (1st line 14590 # is EXPORTS), use it as is; otherwise, prepend... 14591 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 14592 cp $export_symbols $output_objdir/$soname.def; 14593 else 14594 echo EXPORTS > $output_objdir/$soname.def; 14595 cat $export_symbols >> $output_objdir/$soname.def; 14596 fi~ 14597 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 14598 else 14599 ld_shlibs_CXX=no 14600 fi 14601 ;; 14602 darwin* | rhapsody*) 14603 14604 14605 archive_cmds_need_lc_CXX=no 14606 hardcode_direct_CXX=no 14607 hardcode_automatic_CXX=yes 14608 hardcode_shlibpath_var_CXX=unsupported 14609 whole_archive_flag_spec_CXX='' 14610 link_all_deplibs_CXX=yes 14611 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 14612 case $cc_basename in 14613 ifort*) _lt_dar_can_shared=yes ;; 14614 *) _lt_dar_can_shared=$GCC ;; 14615 esac 14616 if test "$_lt_dar_can_shared" = "yes"; then 14617 output_verbose_link_cmd=echo 14618 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 14619 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 14620 archive_expsym_cmds_CXX="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}" 14621 module_expsym_cmds_CXX="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}" 14622 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 14623 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" 14624 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" 14625 fi 14626 14627 else 14628 ld_shlibs_CXX=no 14629 fi 14630 14631 ;; 14632 14633 dgux*) 14634 case $cc_basename in 14635 ec++*) 14636 # FIXME: insert proper C++ library support 14637 ld_shlibs_CXX=no 14638 ;; 14639 ghcx*) 14640 # Green Hills C++ Compiler 14641 # FIXME: insert proper C++ library support 14642 ld_shlibs_CXX=no 14643 ;; 14644 *) 14645 # FIXME: insert proper C++ library support 14646 ld_shlibs_CXX=no 14647 ;; 14648 esac 14649 ;; 14650 14651 freebsd[12]*) 14652 # C++ shared libraries reported to be fairly broken before 14653 # switch to ELF 14654 ld_shlibs_CXX=no 14655 ;; 14656 14657 freebsd-elf*) 14658 archive_cmds_need_lc_CXX=no 14659 ;; 14660 14661 freebsd* | dragonfly*) 14662 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14663 # conventions 14664 ld_shlibs_CXX=yes 14665 ;; 14666 14667 gnu*) 14668 ;; 14669 14670 hpux9*) 14671 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14672 hardcode_libdir_separator_CXX=: 14673 export_dynamic_flag_spec_CXX='${wl}-E' 14674 hardcode_direct_CXX=yes 14675 hardcode_minus_L_CXX=yes # Not in the search PATH, 14676 # but as the default 14677 # location of the library. 14678 14679 case $cc_basename in 14680 CC*) 14681 # FIXME: insert proper C++ library support 14682 ld_shlibs_CXX=no 14683 ;; 14684 aCC*) 14685 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14686 # Commands to make compiler produce verbose output that lists 14687 # what "hidden" libraries, object files and flags are used when 14688 # linking a shared library. 14689 # 14690 # There doesn't appear to be a way to prevent this compiler from 14691 # explicitly linking system object files so we need to strip them 14692 # from the output so that they don't get included in the library 14693 # dependencies. 14694 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 14695 ;; 14696 *) 14697 if test "$GXX" = yes; then 14698 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 14699 else 14700 # FIXME: insert proper C++ library support 14701 ld_shlibs_CXX=no 14702 fi 14703 ;; 14704 esac 14705 ;; 14706 14707 hpux10*|hpux11*) 14708 if test $with_gnu_ld = no; then 14709 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 14710 hardcode_libdir_separator_CXX=: 14711 14712 case $host_cpu in 14713 hppa*64*|ia64*) 14714 ;; 14715 *) 14716 export_dynamic_flag_spec_CXX='${wl}-E' 14717 ;; 14718 esac 14719 fi 14720 case $host_cpu in 14721 hppa*64*|ia64*) 14722 hardcode_direct_CXX=no 14723 hardcode_shlibpath_var_CXX=no 14724 ;; 14725 *) 14726 hardcode_direct_CXX=yes 14727 hardcode_direct_absolute_CXX=yes 14728 hardcode_minus_L_CXX=yes # Not in the search PATH, 14729 # but as the default 14730 # location of the library. 14731 ;; 14732 esac 14733 14734 case $cc_basename in 14735 CC*) 14736 # FIXME: insert proper C++ library support 14737 ld_shlibs_CXX=no 14738 ;; 14739 aCC*) 14740 case $host_cpu in 14741 hppa*64*) 14742 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14743 ;; 14744 ia64*) 14745 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14746 ;; 14747 *) 14748 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14749 ;; 14750 esac 14751 # Commands to make compiler produce verbose output that lists 14752 # what "hidden" libraries, object files and flags are used when 14753 # linking a shared library. 14754 # 14755 # There doesn't appear to be a way to prevent this compiler from 14756 # explicitly linking system object files so we need to strip them 14757 # from the output so that they don't get included in the library 14758 # dependencies. 14759 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 14760 ;; 14761 *) 14762 if test "$GXX" = yes; then 14763 if test $with_gnu_ld = no; then 14764 case $host_cpu in 14765 hppa*64*) 14766 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14767 ;; 14768 ia64*) 14769 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14770 ;; 14771 *) 14772 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14773 ;; 14774 esac 14775 fi 14776 else 14777 # FIXME: insert proper C++ library support 14778 ld_shlibs_CXX=no 14779 fi 14780 ;; 14781 esac 14782 ;; 14783 14784 interix[3-9]*) 14785 hardcode_direct_CXX=no 14786 hardcode_shlibpath_var_CXX=no 14787 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14788 export_dynamic_flag_spec_CXX='${wl}-E' 14789 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14790 # Instead, shared libraries are loaded at an image base (0x10000000 by 14791 # default) and relocated if they conflict, which is a slow very memory 14792 # consuming and fragmenting process. To avoid this, we pick a random, 14793 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14794 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14795 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 14796 archive_expsym_cmds_CXX='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' 14797 ;; 14798 irix5* | irix6*) 14799 case $cc_basename in 14800 CC*) 14801 # SGI C++ 14802 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 14803 14804 # Archives containing C++ object files must be created using 14805 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14806 # necessary to make sure instantiated templates are included 14807 # in the archive. 14808 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14809 ;; 14810 *) 14811 if test "$GXX" = yes; then 14812 if test "$with_gnu_ld" = no; then 14813 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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' 14814 else 14815 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' 14816 fi 14817 fi 14818 link_all_deplibs_CXX=yes 14819 ;; 14820 esac 14821 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14822 hardcode_libdir_separator_CXX=: 14823 inherit_rpath_CXX=yes 14824 ;; 14825 14826 linux* | k*bsd*-gnu) 14827 case $cc_basename in 14828 KCC*) 14829 # Kuck and Associates, Inc. (KAI) C++ Compiler 14830 14831 # KCC will only create a shared library if the output file 14832 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14833 # to its proper name (with version) after linking. 14834 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 14835 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' 14836 # Commands to make compiler produce verbose output that lists 14837 # what "hidden" libraries, object files and flags are used when 14838 # linking a shared library. 14839 # 14840 # There doesn't appear to be a way to prevent this compiler from 14841 # explicitly linking system object files so we need to strip them 14842 # from the output so that they don't get included in the library 14843 # dependencies. 14844 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 14845 14846 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14847 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14848 14849 # Archives containing C++ object files must be created using 14850 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14851 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14852 ;; 14853 icpc* | ecpc* ) 14854 # Intel C++ 14855 with_gnu_ld=yes 14856 # version 8.0 and above of icpc choke on multiply defined symbols 14857 # if we add $predep_objects and $postdep_objects, however 7.1 and 14858 # earlier do not add the objects themselves. 14859 case `$CC -V 2>&1` in 14860 *"Version 7."*) 14861 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14862 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14863 ;; 14864 *) # Version 8.0 or newer 14865 tmp_idyn= 14866 case $host_cpu in 14867 ia64*) tmp_idyn=' -i_dynamic';; 14868 esac 14869 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14870 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 14871 ;; 14872 esac 14873 archive_cmds_need_lc_CXX=no 14874 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 14875 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14876 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 14877 ;; 14878 pgCC* | pgcpp*) 14879 # Portland Group C++ compiler 14880 case `$CC -V` in 14881 *pgCC\ [1-5]* | *pgcpp\ [1-5]*) 14882 prelink_cmds_CXX='tpldir=Template.dir~ 14883 rm -rf $tpldir~ 14884 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14885 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 14886 old_archive_cmds_CXX='tpldir=Template.dir~ 14887 rm -rf $tpldir~ 14888 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14889 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 14890 $RANLIB $oldlib' 14891 archive_cmds_CXX='tpldir=Template.dir~ 14892 rm -rf $tpldir~ 14893 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14894 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14895 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14896 rm -rf $tpldir~ 14897 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14898 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14899 ;; 14900 *) # Version 6 will use weak symbols 14901 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 14902 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 14903 ;; 14904 esac 14905 14906 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 14907 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14908 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' 14909 ;; 14910 cxx*) 14911 # Compaq C++ 14912 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 14913 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' 14914 14915 runpath_var=LD_RUN_PATH 14916 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14917 hardcode_libdir_separator_CXX=: 14918 14919 # Commands to make compiler produce verbose output that lists 14920 # what "hidden" libraries, object files and flags are used when 14921 # linking a shared library. 14922 # 14923 # There doesn't appear to be a way to prevent this compiler from 14924 # explicitly linking system object files so we need to strip them 14925 # from the output so that they don't get included in the library 14926 # dependencies. 14927 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 14928 ;; 14929 xl*) 14930 # IBM XL 8.0 on PPC, with GNU ld 14931 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 14932 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 14933 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 14934 if test "x$supports_anon_versioning" = xyes; then 14935 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14937 echo "local: *; };" >> $output_objdir/$libname.ver~ 14938 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 14939 fi 14940 ;; 14941 *) 14942 case `$CC -V 2>&1 | sed 5q` in 14943 *Sun\ C*) 14944 # Sun C++ 5.9 14945 no_undefined_flag_CXX=' -zdefs' 14946 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14947 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' 14948 hardcode_libdir_flag_spec_CXX='-R$libdir' 14949 whole_archive_flag_spec_CXX='${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' 14950 compiler_needs_object_CXX=yes 14951 14952 # Not sure whether something based on 14953 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14954 # would be better. 14955 output_verbose_link_cmd='echo' 14956 14957 # Archives containing C++ object files must be created using 14958 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14959 # necessary to make sure instantiated templates are included 14960 # in the archive. 14961 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14962 ;; 14963 esac 14964 ;; 14965 esac 14966 ;; 14967 14968 lynxos*) 14969 # FIXME: insert proper C++ library support 14970 ld_shlibs_CXX=no 14971 ;; 14972 14973 m88k*) 14974 # FIXME: insert proper C++ library support 14975 ld_shlibs_CXX=no 14976 ;; 14977 14978 mvs*) 14979 case $cc_basename in 14980 cxx*) 14981 # FIXME: insert proper C++ library support 14982 ld_shlibs_CXX=no 14983 ;; 14984 *) 14985 # FIXME: insert proper C++ library support 14986 ld_shlibs_CXX=no 14987 ;; 14988 esac 14989 ;; 14990 14991 netbsd*) 14992 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14993 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14994 wlarc= 14995 hardcode_libdir_flag_spec_CXX='-R$libdir' 14996 hardcode_direct_CXX=yes 14997 hardcode_shlibpath_var_CXX=no 14998 fi 14999 # Workaround some broken pre-1.5 toolchains 15000 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 15001 ;; 15002 15003 *nto* | *qnx*) 15004 ld_shlibs_CXX=yes 15005 ;; 15006 15007 openbsd2*) 15008 # C++ shared libraries are fairly broken 15009 ld_shlibs_CXX=no 15010 ;; 15011 15012 openbsd*) 15013 if test -f /usr/libexec/ld.so; then 15014 hardcode_direct_CXX=yes 15015 hardcode_shlibpath_var_CXX=no 15016 hardcode_direct_absolute_CXX=yes 15017 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 15018 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 15019 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 15020 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 15021 export_dynamic_flag_spec_CXX='${wl}-E' 15022 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 15023 fi 15024 output_verbose_link_cmd=echo 15025 else 15026 ld_shlibs_CXX=no 15027 fi 15028 ;; 15029 15030 osf3* | osf4* | osf5*) 15031 case $cc_basename in 15032 KCC*) 15033 # Kuck and Associates, Inc. (KAI) C++ Compiler 15034 15035 # KCC will only create a shared library if the output file 15036 # ends with ".so" (or ".sl" for HP-UX), so rename the library 15037 # to its proper name (with version) after linking. 15038 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' 15039 15040 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 15041 hardcode_libdir_separator_CXX=: 15042 15043 # Archives containing C++ object files must be created using 15044 # the KAI C++ compiler. 15045 case $host in 15046 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 15047 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 15048 esac 15049 ;; 15050 RCC*) 15051 # Rational C++ 2.4.1 15052 # FIXME: insert proper C++ library support 15053 ld_shlibs_CXX=no 15054 ;; 15055 cxx*) 15056 case $host in 15057 osf3*) 15058 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 15059 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 15060 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 15061 ;; 15062 *) 15063 allow_undefined_flag_CXX=' -expect_unresolved \*' 15064 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' 15065 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 15066 echo "-hidden">> $lib.exp~ 15067 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ 15068 $RM $lib.exp' 15069 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 15070 ;; 15071 esac 15072 15073 hardcode_libdir_separator_CXX=: 15074 15075 # Commands to make compiler produce verbose output that lists 15076 # what "hidden" libraries, object files and flags are used when 15077 # linking a shared library. 15078 # 15079 # There doesn't appear to be a way to prevent this compiler from 15080 # explicitly linking system object files so we need to strip them 15081 # from the output so that they don't get included in the library 15082 # dependencies. 15083 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 15084 ;; 15085 *) 15086 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 15087 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 15088 case $host in 15089 osf3*) 15090 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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' 15091 ;; 15092 *) 15093 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 15094 ;; 15095 esac 15096 15097 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 15098 hardcode_libdir_separator_CXX=: 15099 15100 # Commands to make compiler produce verbose output that lists 15101 # what "hidden" libraries, object files and flags are used when 15102 # linking a shared library. 15103 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 15104 15105 else 15106 # FIXME: insert proper C++ library support 15107 ld_shlibs_CXX=no 15108 fi 15109 ;; 15110 esac 15111 ;; 15112 15113 psos*) 15114 # FIXME: insert proper C++ library support 15115 ld_shlibs_CXX=no 15116 ;; 15117 15118 sunos4*) 15119 case $cc_basename in 15120 CC*) 15121 # Sun C++ 4.x 15122 # FIXME: insert proper C++ library support 15123 ld_shlibs_CXX=no 15124 ;; 15125 lcc*) 15126 # Lucid 15127 # FIXME: insert proper C++ library support 15128 ld_shlibs_CXX=no 15129 ;; 15130 *) 15131 # FIXME: insert proper C++ library support 15132 ld_shlibs_CXX=no 15133 ;; 15134 esac 15135 ;; 15136 15137 solaris*) 15138 case $cc_basename in 15139 CC*) 15140 # Sun C++ 4.2, 5.x and Centerline C++ 15141 archive_cmds_need_lc_CXX=yes 15142 no_undefined_flag_CXX=' -zdefs' 15143 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15144 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15145 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15146 15147 hardcode_libdir_flag_spec_CXX='-R$libdir' 15148 hardcode_shlibpath_var_CXX=no 15149 case $host_os in 15150 solaris2.[0-5] | solaris2.[0-5].*) ;; 15151 *) 15152 # The compiler driver will combine and reorder linker options, 15153 # but understands `-z linker_flag'. 15154 # Supported since Solaris 2.6 (maybe 2.5.1?) 15155 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15156 ;; 15157 esac 15158 link_all_deplibs_CXX=yes 15159 15160 output_verbose_link_cmd='echo' 15161 15162 # Archives containing C++ object files must be created using 15163 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15164 # necessary to make sure instantiated templates are included 15165 # in the archive. 15166 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15167 ;; 15168 gcx*) 15169 # Green Hills C++ Compiler 15170 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 15171 15172 # The C++ compiler must be used to create the archive. 15173 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15174 ;; 15175 *) 15176 # GNU C++ compiler with Solaris linker 15177 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 15178 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 15179 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15180 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 15181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15182 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15183 15184 # Commands to make compiler produce verbose output that lists 15185 # what "hidden" libraries, object files and flags are used when 15186 # linking a shared library. 15187 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 15188 else 15189 # g++ 2.7 appears to require `-G' NOT `-shared' on this 15190 # platform. 15191 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 15192 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15193 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 15194 15195 # Commands to make compiler produce verbose output that lists 15196 # what "hidden" libraries, object files and flags are used when 15197 # linking a shared library. 15198 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 15199 fi 15200 15201 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 15202 case $host_os in 15203 solaris2.[0-5] | solaris2.[0-5].*) ;; 15204 *) 15205 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 15206 ;; 15207 esac 15208 fi 15209 ;; 15210 esac 15211 ;; 15212 15213 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15214 no_undefined_flag_CXX='${wl}-z,text' 15215 archive_cmds_need_lc_CXX=no 15216 hardcode_shlibpath_var_CXX=no 15217 runpath_var='LD_RUN_PATH' 15218 15219 case $cc_basename in 15220 CC*) 15221 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15222 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15223 ;; 15224 *) 15225 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15226 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15227 ;; 15228 esac 15229 ;; 15230 15231 sysv5* | sco3.2v5* | sco5v6*) 15232 # Note: We can NOT use -z defs as we might desire, because we do not 15233 # link with -lc, and that would cause any symbols used from libc to 15234 # always be unresolved, which means just about no library would 15235 # ever link correctly. If we're not using GNU ld we use -z text 15236 # though, which does catch some bad symbols but isn't as heavy-handed 15237 # as -z defs. 15238 no_undefined_flag_CXX='${wl}-z,text' 15239 allow_undefined_flag_CXX='${wl}-z,nodefs' 15240 archive_cmds_need_lc_CXX=no 15241 hardcode_shlibpath_var_CXX=no 15242 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 15243 hardcode_libdir_separator_CXX=':' 15244 link_all_deplibs_CXX=yes 15245 export_dynamic_flag_spec_CXX='${wl}-Bexport' 15246 runpath_var='LD_RUN_PATH' 15247 15248 case $cc_basename in 15249 CC*) 15250 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15251 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15252 ;; 15253 *) 15254 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15255 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15256 ;; 15257 esac 15258 ;; 15259 15260 tandem*) 15261 case $cc_basename in 15262 NCC*) 15263 # NonStop-UX NCC 3.20 15264 # FIXME: insert proper C++ library support 15265 ld_shlibs_CXX=no 15266 ;; 15267 *) 15268 # FIXME: insert proper C++ library support 15269 ld_shlibs_CXX=no 15270 ;; 15271 esac 15272 ;; 15273 15274 vxworks*) 15275 # FIXME: insert proper C++ library support 15276 ld_shlibs_CXX=no 15277 ;; 15278 15279 *) 15280 # FIXME: insert proper C++ library support 15281 ld_shlibs_CXX=no 15282 ;; 15283 esac 15284 15285 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 15286$as_echo "$ld_shlibs_CXX" >&6; } 15287 test "$ld_shlibs_CXX" = no && can_build_shared=no 15288 15289 GCC_CXX="$GXX" 15290 LD_CXX="$LD" 15291 15292 ## CAVEAT EMPTOR: 15293 ## There is no encapsulation within the following macros, do not change 15294 ## the running order or otherwise move them around unless you know exactly 15295 ## what you are doing... 15296 # Dependencies to place before and after the object being linked: 15297predep_objects_CXX= 15298postdep_objects_CXX= 15299predeps_CXX= 15300postdeps_CXX= 15301compiler_lib_search_path_CXX= 15302 15303cat > conftest.$ac_ext <<_LT_EOF 15304class Foo 15305{ 15306public: 15307 Foo (void) { a = 0; } 15308private: 15309 int a; 15310}; 15311_LT_EOF 15312 15313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 15314 (eval $ac_compile) 2>&5 15315 ac_status=$? 15316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15317 (exit $ac_status); }; then 15318 # Parse the compiler output and extract the necessary 15319 # objects, libraries and library flags. 15320 15321 # Sentinel used to keep track of whether or not we are before 15322 # the conftest object file. 15323 pre_test_object_deps_done=no 15324 15325 for p in `eval "$output_verbose_link_cmd"`; do 15326 case $p in 15327 15328 -L* | -R* | -l*) 15329 # Some compilers place space between "-{L,R}" and the path. 15330 # Remove the space. 15331 if test $p = "-L" || 15332 test $p = "-R"; then 15333 prev=$p 15334 continue 15335 else 15336 prev= 15337 fi 15338 15339 if test "$pre_test_object_deps_done" = no; then 15340 case $p in 15341 -L* | -R*) 15342 # Internal compiler library paths should come after those 15343 # provided the user. The postdeps already come after the 15344 # user supplied libs so there is no need to process them. 15345 if test -z "$compiler_lib_search_path_CXX"; then 15346 compiler_lib_search_path_CXX="${prev}${p}" 15347 else 15348 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 15349 fi 15350 ;; 15351 # The "-l" case would never come before the object being 15352 # linked, so don't bother handling this case. 15353 esac 15354 else 15355 if test -z "$postdeps_CXX"; then 15356 postdeps_CXX="${prev}${p}" 15357 else 15358 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 15359 fi 15360 fi 15361 ;; 15362 15363 *.$objext) 15364 # This assumes that the test object file only shows up 15365 # once in the compiler output. 15366 if test "$p" = "conftest.$objext"; then 15367 pre_test_object_deps_done=yes 15368 continue 15369 fi 15370 15371 if test "$pre_test_object_deps_done" = no; then 15372 if test -z "$predep_objects_CXX"; then 15373 predep_objects_CXX="$p" 15374 else 15375 predep_objects_CXX="$predep_objects_CXX $p" 15376 fi 15377 else 15378 if test -z "$postdep_objects_CXX"; then 15379 postdep_objects_CXX="$p" 15380 else 15381 postdep_objects_CXX="$postdep_objects_CXX $p" 15382 fi 15383 fi 15384 ;; 15385 15386 *) ;; # Ignore the rest. 15387 15388 esac 15389 done 15390 15391 # Clean up. 15392 rm -f a.out a.exe 15393else 15394 echo "libtool.m4: error: problem compiling CXX test program" 15395fi 15396 15397$RM -f confest.$objext 15398 15399# PORTME: override above test on systems where it is broken 15400case $host_os in 15401interix[3-9]*) 15402 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15403 # hack all around it, let's just trust "g++" to DTRT. 15404 predep_objects_CXX= 15405 postdep_objects_CXX= 15406 postdeps_CXX= 15407 ;; 15408 15409linux*) 15410 case `$CC -V 2>&1 | sed 5q` in 15411 *Sun\ C*) 15412 # Sun C++ 5.9 15413 15414 # The more standards-conforming stlport4 library is 15415 # incompatible with the Cstd library. Avoid specifying 15416 # it if it's in CXXFLAGS. Ignore libCrun as 15417 # -library=stlport4 depends on it. 15418 case " $CXX $CXXFLAGS " in 15419 *" -library=stlport4 "*) 15420 solaris_use_stlport4=yes 15421 ;; 15422 esac 15423 15424 if test "$solaris_use_stlport4" != yes; then 15425 postdeps_CXX='-library=Cstd -library=Crun' 15426 fi 15427 ;; 15428 esac 15429 ;; 15430 15431solaris*) 15432 case $cc_basename in 15433 CC*) 15434 # The more standards-conforming stlport4 library is 15435 # incompatible with the Cstd library. Avoid specifying 15436 # it if it's in CXXFLAGS. Ignore libCrun as 15437 # -library=stlport4 depends on it. 15438 case " $CXX $CXXFLAGS " in 15439 *" -library=stlport4 "*) 15440 solaris_use_stlport4=yes 15441 ;; 15442 esac 15443 15444 # Adding this requires a known-good setup of shared libraries for 15445 # Sun compiler versions before 5.6, else PIC objects from an old 15446 # archive will be linked into the output, leading to subtle bugs. 15447 if test "$solaris_use_stlport4" != yes; then 15448 postdeps_CXX='-library=Cstd -library=Crun' 15449 fi 15450 ;; 15451 esac 15452 ;; 15453esac 15454 15455 15456case " $postdeps_CXX " in 15457*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15458esac 15459 compiler_lib_search_dirs_CXX= 15460if test -n "${compiler_lib_search_path_CXX}"; then 15461 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 15462fi 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 lt_prog_compiler_wl_CXX= 15495lt_prog_compiler_pic_CXX= 15496lt_prog_compiler_static_CXX= 15497 15498{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 15499$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15500 15501 # C++ specific cases for pic, static, wl, etc. 15502 if test "$GXX" = yes; then 15503 lt_prog_compiler_wl_CXX='-Wl,' 15504 lt_prog_compiler_static_CXX='-static' 15505 15506 case $host_os in 15507 aix*) 15508 # All AIX code is PIC. 15509 if test "$host_cpu" = ia64; then 15510 # AIX 5 now supports IA64 processor 15511 lt_prog_compiler_static_CXX='-Bstatic' 15512 fi 15513 ;; 15514 15515 amigaos*) 15516 case $host_cpu in 15517 powerpc) 15518 # see comment about AmigaOS4 .so support 15519 lt_prog_compiler_pic_CXX='-fPIC' 15520 ;; 15521 m68k) 15522 # FIXME: we need at least 68020 code to build shared libraries, but 15523 # adding the `-m68020' flag to GCC prevents building anything better, 15524 # like `-m68040'. 15525 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15526 ;; 15527 esac 15528 ;; 15529 15530 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15531 # PIC is the default for these OSes. 15532 ;; 15533 mingw* | cygwin* | os2* | pw32* | cegcc*) 15534 # This hack is so that the source file can tell whether it is being 15535 # built for inclusion in a dll (and should export symbols for example). 15536 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15537 # (--disable-auto-import) libraries 15538 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15539 ;; 15540 darwin* | rhapsody*) 15541 # PIC is the default on this platform 15542 # Common symbols not allowed in MH_DYLIB files 15543 lt_prog_compiler_pic_CXX='-fno-common' 15544 ;; 15545 *djgpp*) 15546 # DJGPP does not support shared libraries at all 15547 lt_prog_compiler_pic_CXX= 15548 ;; 15549 interix[3-9]*) 15550 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15551 # Instead, we relocate shared libraries at runtime. 15552 ;; 15553 sysv4*MP*) 15554 if test -d /usr/nec; then 15555 lt_prog_compiler_pic_CXX=-Kconform_pic 15556 fi 15557 ;; 15558 hpux*) 15559 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15560 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15561 # sets the default TLS model and affects inlining. 15562 case $host_cpu in 15563 hppa*64*) 15564 ;; 15565 *) 15566 lt_prog_compiler_pic_CXX='-fPIC' 15567 ;; 15568 esac 15569 ;; 15570 *qnx* | *nto*) 15571 # QNX uses GNU C++, but need to define -shared option too, otherwise 15572 # it will coredump. 15573 lt_prog_compiler_pic_CXX='-fPIC -shared' 15574 ;; 15575 *) 15576 lt_prog_compiler_pic_CXX='-fPIC' 15577 ;; 15578 esac 15579 else 15580 case $host_os in 15581 aix[4-9]*) 15582 # All AIX code is PIC. 15583 if test "$host_cpu" = ia64; then 15584 # AIX 5 now supports IA64 processor 15585 lt_prog_compiler_static_CXX='-Bstatic' 15586 else 15587 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15588 fi 15589 ;; 15590 chorus*) 15591 case $cc_basename in 15592 cxch68*) 15593 # Green Hills C++ Compiler 15594 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" 15595 ;; 15596 esac 15597 ;; 15598 dgux*) 15599 case $cc_basename in 15600 ec++*) 15601 lt_prog_compiler_pic_CXX='-KPIC' 15602 ;; 15603 ghcx*) 15604 # Green Hills C++ Compiler 15605 lt_prog_compiler_pic_CXX='-pic' 15606 ;; 15607 *) 15608 ;; 15609 esac 15610 ;; 15611 freebsd* | dragonfly*) 15612 # FreeBSD uses GNU C++ 15613 ;; 15614 hpux9* | hpux10* | hpux11*) 15615 case $cc_basename in 15616 CC*) 15617 lt_prog_compiler_wl_CXX='-Wl,' 15618 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15619 if test "$host_cpu" != ia64; then 15620 lt_prog_compiler_pic_CXX='+Z' 15621 fi 15622 ;; 15623 aCC*) 15624 lt_prog_compiler_wl_CXX='-Wl,' 15625 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 15626 case $host_cpu in 15627 hppa*64*|ia64*) 15628 # +Z the default 15629 ;; 15630 *) 15631 lt_prog_compiler_pic_CXX='+Z' 15632 ;; 15633 esac 15634 ;; 15635 *) 15636 ;; 15637 esac 15638 ;; 15639 interix*) 15640 # This is c89, which is MS Visual C++ (no shared libs) 15641 # Anyone wants to do a port? 15642 ;; 15643 irix5* | irix6* | nonstopux*) 15644 case $cc_basename in 15645 CC*) 15646 lt_prog_compiler_wl_CXX='-Wl,' 15647 lt_prog_compiler_static_CXX='-non_shared' 15648 # CC pic flag -KPIC is the default. 15649 ;; 15650 *) 15651 ;; 15652 esac 15653 ;; 15654 linux* | k*bsd*-gnu) 15655 case $cc_basename in 15656 KCC*) 15657 # KAI C++ Compiler 15658 lt_prog_compiler_wl_CXX='--backend -Wl,' 15659 lt_prog_compiler_pic_CXX='-fPIC' 15660 ;; 15661 ecpc* ) 15662 # old Intel C++ for x86_64 which still supported -KPIC. 15663 lt_prog_compiler_wl_CXX='-Wl,' 15664 lt_prog_compiler_pic_CXX='-KPIC' 15665 lt_prog_compiler_static_CXX='-static' 15666 ;; 15667 icpc* ) 15668 # Intel C++, used to be incompatible with GCC. 15669 # ICC 10 doesn't accept -KPIC any more. 15670 lt_prog_compiler_wl_CXX='-Wl,' 15671 lt_prog_compiler_pic_CXX='-fPIC' 15672 lt_prog_compiler_static_CXX='-static' 15673 ;; 15674 pgCC* | pgcpp*) 15675 # Portland Group C++ compiler 15676 lt_prog_compiler_wl_CXX='-Wl,' 15677 lt_prog_compiler_pic_CXX='-fpic' 15678 lt_prog_compiler_static_CXX='-Bstatic' 15679 ;; 15680 cxx*) 15681 # Compaq C++ 15682 # Make sure the PIC flag is empty. It appears that all Alpha 15683 # Linux and Compaq Tru64 Unix objects are PIC. 15684 lt_prog_compiler_pic_CXX= 15685 lt_prog_compiler_static_CXX='-non_shared' 15686 ;; 15687 xlc* | xlC*) 15688 # IBM XL 8.0 on PPC 15689 lt_prog_compiler_wl_CXX='-Wl,' 15690 lt_prog_compiler_pic_CXX='-qpic' 15691 lt_prog_compiler_static_CXX='-qstaticlink' 15692 ;; 15693 *) 15694 case `$CC -V 2>&1 | sed 5q` in 15695 *Sun\ C*) 15696 # Sun C++ 5.9 15697 lt_prog_compiler_pic_CXX='-KPIC' 15698 lt_prog_compiler_static_CXX='-Bstatic' 15699 lt_prog_compiler_wl_CXX='-Qoption ld ' 15700 ;; 15701 esac 15702 ;; 15703 esac 15704 ;; 15705 lynxos*) 15706 ;; 15707 m88k*) 15708 ;; 15709 mvs*) 15710 case $cc_basename in 15711 cxx*) 15712 lt_prog_compiler_pic_CXX='-W c,exportall' 15713 ;; 15714 *) 15715 ;; 15716 esac 15717 ;; 15718 netbsd*) 15719 ;; 15720 *qnx* | *nto*) 15721 # QNX uses GNU C++, but need to define -shared option too, otherwise 15722 # it will coredump. 15723 lt_prog_compiler_pic_CXX='-fPIC -shared' 15724 ;; 15725 osf3* | osf4* | osf5*) 15726 case $cc_basename in 15727 KCC*) 15728 lt_prog_compiler_wl_CXX='--backend -Wl,' 15729 ;; 15730 RCC*) 15731 # Rational C++ 2.4.1 15732 lt_prog_compiler_pic_CXX='-pic' 15733 ;; 15734 cxx*) 15735 # Digital/Compaq C++ 15736 lt_prog_compiler_wl_CXX='-Wl,' 15737 # Make sure the PIC flag is empty. It appears that all Alpha 15738 # Linux and Compaq Tru64 Unix objects are PIC. 15739 lt_prog_compiler_pic_CXX= 15740 lt_prog_compiler_static_CXX='-non_shared' 15741 ;; 15742 *) 15743 ;; 15744 esac 15745 ;; 15746 psos*) 15747 ;; 15748 solaris*) 15749 case $cc_basename in 15750 CC*) 15751 # Sun C++ 4.2, 5.x and Centerline C++ 15752 lt_prog_compiler_pic_CXX='-KPIC' 15753 lt_prog_compiler_static_CXX='-Bstatic' 15754 lt_prog_compiler_wl_CXX='-Qoption ld ' 15755 ;; 15756 gcx*) 15757 # Green Hills C++ Compiler 15758 lt_prog_compiler_pic_CXX='-PIC' 15759 ;; 15760 *) 15761 ;; 15762 esac 15763 ;; 15764 sunos4*) 15765 case $cc_basename in 15766 CC*) 15767 # Sun C++ 4.x 15768 lt_prog_compiler_pic_CXX='-pic' 15769 lt_prog_compiler_static_CXX='-Bstatic' 15770 ;; 15771 lcc*) 15772 # Lucid 15773 lt_prog_compiler_pic_CXX='-pic' 15774 ;; 15775 *) 15776 ;; 15777 esac 15778 ;; 15779 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15780 case $cc_basename in 15781 CC*) 15782 lt_prog_compiler_wl_CXX='-Wl,' 15783 lt_prog_compiler_pic_CXX='-KPIC' 15784 lt_prog_compiler_static_CXX='-Bstatic' 15785 ;; 15786 esac 15787 ;; 15788 tandem*) 15789 case $cc_basename in 15790 NCC*) 15791 # NonStop-UX NCC 3.20 15792 lt_prog_compiler_pic_CXX='-KPIC' 15793 ;; 15794 *) 15795 ;; 15796 esac 15797 ;; 15798 vxworks*) 15799 ;; 15800 *) 15801 lt_prog_compiler_can_build_shared_CXX=no 15802 ;; 15803 esac 15804 fi 15805 15806case $host_os in 15807 # For platforms which do not support PIC, -DPIC is meaningless: 15808 *djgpp*) 15809 lt_prog_compiler_pic_CXX= 15810 ;; 15811 *) 15812 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15813 ;; 15814esac 15815{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 15816$as_echo "$lt_prog_compiler_pic_CXX" >&6; } 15817 15818 15819 15820# 15821# Check to make sure the PIC flag actually works. 15822# 15823if test -n "$lt_prog_compiler_pic_CXX"; then 15824 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15825$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15826if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then 15827 $as_echo_n "(cached) " >&6 15828else 15829 lt_cv_prog_compiler_pic_works_CXX=no 15830 ac_outfile=conftest.$ac_objext 15831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15832 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 15833 # Insert the option either (1) after the last *FLAGS variable, or 15834 # (2) before a word containing "conftest.", or (3) at the end. 15835 # Note that $ac_compile itself does not contain backslashes and begins 15836 # with a dollar sign (not a hyphen), so the echo should work correctly. 15837 # The option is referenced via a variable to avoid confusing sed. 15838 lt_compile=`echo "$ac_compile" | $SED \ 15839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15841 -e 's:$: $lt_compiler_flag:'` 15842 (eval echo "\"\$as_me:15842: $lt_compile\"" >&5) 15843 (eval "$lt_compile" 2>conftest.err) 15844 ac_status=$? 15845 cat conftest.err >&5 15846 echo "$as_me:15846: \$? = $ac_status" >&5 15847 if (exit $ac_status) && test -s "$ac_outfile"; then 15848 # The compiler can only warn and ignore the option if not recognized 15849 # So say no if there are warnings other than the usual output. 15850 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 15851 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15852 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15853 lt_cv_prog_compiler_pic_works_CXX=yes 15854 fi 15855 fi 15856 $RM conftest* 15857 15858fi 15859{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15860$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15861 15862if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 15863 case $lt_prog_compiler_pic_CXX in 15864 "" | " "*) ;; 15865 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15866 esac 15867else 15868 lt_prog_compiler_pic_CXX= 15869 lt_prog_compiler_can_build_shared_CXX=no 15870fi 15871 15872fi 15873 15874 15875 15876# 15877# Check to make sure the static flag actually works. 15878# 15879wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15880{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15881$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15882if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then 15883 $as_echo_n "(cached) " >&6 15884else 15885 lt_cv_prog_compiler_static_works_CXX=no 15886 save_LDFLAGS="$LDFLAGS" 15887 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15888 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15889 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15890 # The linker can only warn and ignore the option if not recognized 15891 # So say no if there are warnings 15892 if test -s conftest.err; then 15893 # Append any errors to the config.log. 15894 cat conftest.err 1>&5 15895 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 15896 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15897 if diff conftest.exp conftest.er2 >/dev/null; then 15898 lt_cv_prog_compiler_static_works_CXX=yes 15899 fi 15900 else 15901 lt_cv_prog_compiler_static_works_CXX=yes 15902 fi 15903 fi 15904 $RM -r conftest* 15905 LDFLAGS="$save_LDFLAGS" 15906 15907fi 15908{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15909$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15910 15911if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 15912 : 15913else 15914 lt_prog_compiler_static_CXX= 15915fi 15916 15917 15918 15919 15920 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 15921$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15922if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 15923 $as_echo_n "(cached) " >&6 15924else 15925 lt_cv_prog_compiler_c_o_CXX=no 15926 $RM -r conftest 2>/dev/null 15927 mkdir conftest 15928 cd conftest 15929 mkdir out 15930 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15931 15932 lt_compiler_flag="-o out/conftest2.$ac_objext" 15933 # Insert the option either (1) after the last *FLAGS variable, or 15934 # (2) before a word containing "conftest.", or (3) at the end. 15935 # Note that $ac_compile itself does not contain backslashes and begins 15936 # with a dollar sign (not a hyphen), so the echo should work correctly. 15937 lt_compile=`echo "$ac_compile" | $SED \ 15938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15940 -e 's:$: $lt_compiler_flag:'` 15941 (eval echo "\"\$as_me:15941: $lt_compile\"" >&5) 15942 (eval "$lt_compile" 2>out/conftest.err) 15943 ac_status=$? 15944 cat out/conftest.err >&5 15945 echo "$as_me:15945: \$? = $ac_status" >&5 15946 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15947 then 15948 # The compiler can only warn and ignore the option if not recognized 15949 # So say no if there are warnings 15950 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 15951 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15952 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15953 lt_cv_prog_compiler_c_o_CXX=yes 15954 fi 15955 fi 15956 chmod u+w . 2>&5 15957 $RM conftest* 15958 # SGI C++ compiler will create directory out/ii_files/ for 15959 # template instantiation 15960 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15961 $RM out/* && rmdir out 15962 cd .. 15963 $RM -r conftest 15964 $RM conftest* 15965 15966fi 15967{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15968$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15969 15970 15971 15972 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 15973$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15974if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 15975 $as_echo_n "(cached) " >&6 15976else 15977 lt_cv_prog_compiler_c_o_CXX=no 15978 $RM -r conftest 2>/dev/null 15979 mkdir conftest 15980 cd conftest 15981 mkdir out 15982 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15983 15984 lt_compiler_flag="-o out/conftest2.$ac_objext" 15985 # Insert the option either (1) after the last *FLAGS variable, or 15986 # (2) before a word containing "conftest.", or (3) at the end. 15987 # Note that $ac_compile itself does not contain backslashes and begins 15988 # with a dollar sign (not a hyphen), so the echo should work correctly. 15989 lt_compile=`echo "$ac_compile" | $SED \ 15990 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15991 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15992 -e 's:$: $lt_compiler_flag:'` 15993 (eval echo "\"\$as_me:15993: $lt_compile\"" >&5) 15994 (eval "$lt_compile" 2>out/conftest.err) 15995 ac_status=$? 15996 cat out/conftest.err >&5 15997 echo "$as_me:15997: \$? = $ac_status" >&5 15998 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15999 then 16000 # The compiler can only warn and ignore the option if not recognized 16001 # So say no if there are warnings 16002 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 16003 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 16004 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 16005 lt_cv_prog_compiler_c_o_CXX=yes 16006 fi 16007 fi 16008 chmod u+w . 2>&5 16009 $RM conftest* 16010 # SGI C++ compiler will create directory out/ii_files/ for 16011 # template instantiation 16012 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 16013 $RM out/* && rmdir out 16014 cd .. 16015 $RM -r conftest 16016 $RM conftest* 16017 16018fi 16019{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 16020$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 16021 16022 16023 16024 16025hard_links="nottested" 16026if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 16027 # do not overwrite the value of need_locks provided by the user 16028 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 16029$as_echo_n "checking if we can lock with hard links... " >&6; } 16030 hard_links=yes 16031 $RM conftest* 16032 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16033 touch conftest.a 16034 ln conftest.a conftest.b 2>&5 || hard_links=no 16035 ln conftest.a conftest.b 2>/dev/null && hard_links=no 16036 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 16037$as_echo "$hard_links" >&6; } 16038 if test "$hard_links" = no; then 16039 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 16040$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 16041 need_locks=warn 16042 fi 16043else 16044 need_locks=no 16045fi 16046 16047 16048 16049 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 16050$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 16051 16052 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16053 case $host_os in 16054 aix[4-9]*) 16055 # If we're using GNU nm, then we don't want the "-C" option. 16056 # -C means demangle to AIX nm, but means don't demangle with GNU nm 16057 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 16058 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 16059 else 16060 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 16061 fi 16062 ;; 16063 pw32*) 16064 export_symbols_cmds_CXX="$ltdll_cmds" 16065 ;; 16066 cygwin* | mingw* | cegcc*) 16067 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 16068 ;; 16069 *) 16070 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16071 ;; 16072 esac 16073 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 16074 16075{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 16076$as_echo "$ld_shlibs_CXX" >&6; } 16077test "$ld_shlibs_CXX" = no && can_build_shared=no 16078 16079with_gnu_ld_CXX=$with_gnu_ld 16080 16081 16082 16083 16084 16085 16086# 16087# Do we need to explicitly link libc? 16088# 16089case "x$archive_cmds_need_lc_CXX" in 16090x|xyes) 16091 # Assume -lc should be added 16092 archive_cmds_need_lc_CXX=yes 16093 16094 if test "$enable_shared" = yes && test "$GCC" = yes; then 16095 case $archive_cmds_CXX in 16096 *'~'*) 16097 # FIXME: we may have to deal with multi-command sequences. 16098 ;; 16099 '$CC '*) 16100 # Test whether the compiler implicitly links with -lc since on some 16101 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16102 # to ld, don't add -lc before -lgcc. 16103 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 16104$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16105 $RM conftest* 16106 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16107 16108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 16109 (eval $ac_compile) 2>&5 16110 ac_status=$? 16111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16112 (exit $ac_status); } 2>conftest.err; then 16113 soname=conftest 16114 lib=conftest 16115 libobjs=conftest.$ac_objext 16116 deplibs= 16117 wl=$lt_prog_compiler_wl_CXX 16118 pic_flag=$lt_prog_compiler_pic_CXX 16119 compiler_flags=-v 16120 linker_flags=-v 16121 verstring= 16122 output_objdir=. 16123 libname=conftest 16124 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16125 allow_undefined_flag_CXX= 16126 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 16127 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16128 ac_status=$? 16129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16130 (exit $ac_status); } 16131 then 16132 archive_cmds_need_lc_CXX=no 16133 else 16134 archive_cmds_need_lc_CXX=yes 16135 fi 16136 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16137 else 16138 cat conftest.err 1>&5 16139 fi 16140 $RM conftest* 16141 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 16142$as_echo "$archive_cmds_need_lc_CXX" >&6; } 16143 ;; 16144 esac 16145 fi 16146 ;; 16147esac 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 16213$as_echo_n "checking dynamic linker characteristics... " >&6; } 16214 16215library_names_spec= 16216libname_spec='lib$name' 16217soname_spec= 16218shrext_cmds=".so" 16219postinstall_cmds= 16220postuninstall_cmds= 16221finish_cmds= 16222finish_eval= 16223shlibpath_var= 16224shlibpath_overrides_runpath=unknown 16225version_type=none 16226dynamic_linker="$host_os ld.so" 16227sys_lib_dlsearch_path_spec="/lib /usr/lib" 16228need_lib_prefix=unknown 16229hardcode_into_libs=no 16230 16231# when you set need_version to no, make sure it does not cause -set_version 16232# flags to be left without arguments 16233need_version=unknown 16234 16235case $host_os in 16236aix3*) 16237 version_type=linux 16238 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 16239 shlibpath_var=LIBPATH 16240 16241 # AIX 3 has no versioning support, so we append a major version to the name. 16242 soname_spec='${libname}${release}${shared_ext}$major' 16243 ;; 16244 16245aix[4-9]*) 16246 version_type=linux 16247 need_lib_prefix=no 16248 need_version=no 16249 hardcode_into_libs=yes 16250 if test "$host_cpu" = ia64; then 16251 # AIX 5 supports IA64 16252 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 16253 shlibpath_var=LD_LIBRARY_PATH 16254 else 16255 # With GCC up to 2.95.x, collect2 would create an import file 16256 # for dependence libraries. The import file would start with 16257 # the line `#! .'. This would cause the generated library to 16258 # depend on `.', always an invalid library. This was fixed in 16259 # development snapshots of GCC prior to 3.0. 16260 case $host_os in 16261 aix4 | aix4.[01] | aix4.[01].*) 16262 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16263 echo ' yes ' 16264 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 16265 : 16266 else 16267 can_build_shared=no 16268 fi 16269 ;; 16270 esac 16271 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 16272 # soname into executable. Probably we can add versioning support to 16273 # collect2, so additional links can be useful in future. 16274 if test "$aix_use_runtimelinking" = yes; then 16275 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16276 # instead of lib<name>.a to let people know that these are not 16277 # typical AIX shared libraries. 16278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16279 else 16280 # We preserve .a as extension for shared libraries through AIX4.2 16281 # and later when we are not doing run time linking. 16282 library_names_spec='${libname}${release}.a $libname.a' 16283 soname_spec='${libname}${release}${shared_ext}$major' 16284 fi 16285 shlibpath_var=LIBPATH 16286 fi 16287 ;; 16288 16289amigaos*) 16290 case $host_cpu in 16291 powerpc) 16292 # Since July 2007 AmigaOS4 officially supports .so libraries. 16293 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16295 ;; 16296 m68k) 16297 library_names_spec='$libname.ixlibrary $libname.a' 16298 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16299 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' 16300 ;; 16301 esac 16302 ;; 16303 16304beos*) 16305 library_names_spec='${libname}${shared_ext}' 16306 dynamic_linker="$host_os ld.so" 16307 shlibpath_var=LIBRARY_PATH 16308 ;; 16309 16310bsdi[45]*) 16311 version_type=linux 16312 need_version=no 16313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16314 soname_spec='${libname}${release}${shared_ext}$major' 16315 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16316 shlibpath_var=LD_LIBRARY_PATH 16317 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16318 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16319 # the default ld.so.conf also contains /usr/contrib/lib and 16320 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16321 # libtool to hard-code these into programs 16322 ;; 16323 16324cygwin* | mingw* | pw32* | cegcc*) 16325 version_type=windows 16326 shrext_cmds=".dll" 16327 need_version=no 16328 need_lib_prefix=no 16329 16330 case $GCC,$host_os in 16331 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 16332 library_names_spec='$libname.dll.a' 16333 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16334 postinstall_cmds='base_file=`basename \${file}`~ 16335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 16336 dldir=$destdir/`dirname \$dlpath`~ 16337 test -d \$dldir || mkdir -p \$dldir~ 16338 $install_prog $dir/$dlname \$dldir/$dlname~ 16339 chmod a+x \$dldir/$dlname~ 16340 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16341 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16342 fi' 16343 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16344 dlpath=$dir/\$dldll~ 16345 $RM \$dlpath' 16346 shlibpath_overrides_runpath=yes 16347 16348 case $host_os in 16349 cygwin*) 16350 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16351 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16352 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 16353 ;; 16354 mingw* | cegcc*) 16355 # MinGW DLLs use traditional 'lib' prefix 16356 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16357 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 16358 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16359 # It is most probably a Windows format PATH printed by 16360 # mingw gcc, but we are running on Cygwin. Gcc prints its search 16361 # path with ; separators, and with drive letters. We can handle the 16362 # drive letters (cygwin fileutils understands them), so leave them, 16363 # especially as we might pass files found there to a mingw objdump, 16364 # which wouldn't understand a cygwinified path. Ahh. 16365 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16366 else 16367 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16368 fi 16369 ;; 16370 pw32*) 16371 # pw32 DLLs use 'pw' prefix rather than 'lib' 16372 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 16373 ;; 16374 esac 16375 ;; 16376 16377 *) 16378 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 16379 ;; 16380 esac 16381 dynamic_linker='Win32 ld.exe' 16382 # FIXME: first we should search . and the directory the executable is in 16383 shlibpath_var=PATH 16384 ;; 16385 16386darwin* | rhapsody*) 16387 dynamic_linker="$host_os dyld" 16388 version_type=darwin 16389 need_lib_prefix=no 16390 need_version=no 16391 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 16392 soname_spec='${libname}${release}${major}$shared_ext' 16393 shlibpath_overrides_runpath=yes 16394 shlibpath_var=DYLD_LIBRARY_PATH 16395 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16396 16397 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16398 ;; 16399 16400dgux*) 16401 version_type=linux 16402 need_lib_prefix=no 16403 need_version=no 16404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 16405 soname_spec='${libname}${release}${shared_ext}$major' 16406 shlibpath_var=LD_LIBRARY_PATH 16407 ;; 16408 16409freebsd1*) 16410 dynamic_linker=no 16411 ;; 16412 16413freebsd* | dragonfly*) 16414 # DragonFly does not have aout. When/if they implement a new 16415 # versioning mechanism, adjust this. 16416 if test -x /usr/bin/objformat; then 16417 objformat=`/usr/bin/objformat` 16418 else 16419 case $host_os in 16420 freebsd[123]*) objformat=aout ;; 16421 *) objformat=elf ;; 16422 esac 16423 fi 16424 version_type=freebsd-$objformat 16425 case $version_type in 16426 freebsd-elf*) 16427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16428 need_version=no 16429 need_lib_prefix=no 16430 ;; 16431 freebsd-*) 16432 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 16433 need_version=yes 16434 ;; 16435 esac 16436 shlibpath_var=LD_LIBRARY_PATH 16437 case $host_os in 16438 freebsd2*) 16439 shlibpath_overrides_runpath=yes 16440 ;; 16441 freebsd3.[01]* | freebsdelf3.[01]*) 16442 shlibpath_overrides_runpath=yes 16443 hardcode_into_libs=yes 16444 ;; 16445 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16446 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16447 shlibpath_overrides_runpath=no 16448 hardcode_into_libs=yes 16449 ;; 16450 *) # from 4.6 on, and DragonFly 16451 shlibpath_overrides_runpath=yes 16452 hardcode_into_libs=yes 16453 ;; 16454 esac 16455 ;; 16456 16457gnu*) 16458 version_type=linux 16459 need_lib_prefix=no 16460 need_version=no 16461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 16462 soname_spec='${libname}${release}${shared_ext}$major' 16463 shlibpath_var=LD_LIBRARY_PATH 16464 hardcode_into_libs=yes 16465 ;; 16466 16467hpux9* | hpux10* | hpux11*) 16468 # Give a soname corresponding to the major version so that dld.sl refuses to 16469 # link against other versions. 16470 version_type=sunos 16471 need_lib_prefix=no 16472 need_version=no 16473 case $host_cpu in 16474 ia64*) 16475 shrext_cmds='.so' 16476 hardcode_into_libs=yes 16477 dynamic_linker="$host_os dld.so" 16478 shlibpath_var=LD_LIBRARY_PATH 16479 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16481 soname_spec='${libname}${release}${shared_ext}$major' 16482 if test "X$HPUX_IA64_MODE" = X32; then 16483 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16484 else 16485 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16486 fi 16487 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16488 ;; 16489 hppa*64*) 16490 shrext_cmds='.sl' 16491 hardcode_into_libs=yes 16492 dynamic_linker="$host_os dld.sl" 16493 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16494 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16495 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16496 soname_spec='${libname}${release}${shared_ext}$major' 16497 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16498 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16499 ;; 16500 *) 16501 shrext_cmds='.sl' 16502 dynamic_linker="$host_os dld.sl" 16503 shlibpath_var=SHLIB_PATH 16504 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16506 soname_spec='${libname}${release}${shared_ext}$major' 16507 ;; 16508 esac 16509 # HP-UX runs *really* slowly unless shared libraries are mode 555. 16510 postinstall_cmds='chmod 555 $lib' 16511 ;; 16512 16513interix[3-9]*) 16514 version_type=linux 16515 need_lib_prefix=no 16516 need_version=no 16517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16518 soname_spec='${libname}${release}${shared_ext}$major' 16519 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16520 shlibpath_var=LD_LIBRARY_PATH 16521 shlibpath_overrides_runpath=no 16522 hardcode_into_libs=yes 16523 ;; 16524 16525irix5* | irix6* | nonstopux*) 16526 case $host_os in 16527 nonstopux*) version_type=nonstopux ;; 16528 *) 16529 if test "$lt_cv_prog_gnu_ld" = yes; then 16530 version_type=linux 16531 else 16532 version_type=irix 16533 fi ;; 16534 esac 16535 need_lib_prefix=no 16536 need_version=no 16537 soname_spec='${libname}${release}${shared_ext}$major' 16538 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 16539 case $host_os in 16540 irix5* | nonstopux*) 16541 libsuff= shlibsuff= 16542 ;; 16543 *) 16544 case $LD in # libtool.m4 will add one of these switches to LD 16545 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16546 libsuff= shlibsuff= libmagic=32-bit;; 16547 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16548 libsuff=32 shlibsuff=N32 libmagic=N32;; 16549 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16550 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16551 *) libsuff= shlibsuff= libmagic=never-match;; 16552 esac 16553 ;; 16554 esac 16555 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16556 shlibpath_overrides_runpath=no 16557 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 16558 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 16559 hardcode_into_libs=yes 16560 ;; 16561 16562# No shared lib support for Linux oldld, aout, or coff. 16563linux*oldld* | linux*aout* | linux*coff*) 16564 dynamic_linker=no 16565 ;; 16566 16567# This must be Linux ELF. 16568linux* | k*bsd*-gnu) 16569 version_type=linux 16570 need_lib_prefix=no 16571 need_version=no 16572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16573 soname_spec='${libname}${release}${shared_ext}$major' 16574 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16575 shlibpath_var=LD_LIBRARY_PATH 16576 shlibpath_overrides_runpath=no 16577 # Some binutils ld are patched to set DT_RUNPATH 16578 save_LDFLAGS=$LDFLAGS 16579 save_libdir=$libdir 16580 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16581 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16582 cat >conftest.$ac_ext <<_ACEOF 16583/* confdefs.h. */ 16584_ACEOF 16585cat confdefs.h >>conftest.$ac_ext 16586cat >>conftest.$ac_ext <<_ACEOF 16587/* end confdefs.h. */ 16588 16589int 16590main () 16591{ 16592 16593 ; 16594 return 0; 16595} 16596_ACEOF 16597rm -f conftest.$ac_objext conftest$ac_exeext 16598if { (ac_try="$ac_link" 16599case "(($ac_try" in 16600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16601 *) ac_try_echo=$ac_try;; 16602esac 16603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16604$as_echo "$ac_try_echo") >&5 16605 (eval "$ac_link") 2>conftest.er1 16606 ac_status=$? 16607 grep -v '^ *+' conftest.er1 >conftest.err 16608 rm -f conftest.er1 16609 cat conftest.err >&5 16610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16611 (exit $ac_status); } && { 16612 test -z "$ac_cxx_werror_flag" || 16613 test ! -s conftest.err 16614 } && test -s conftest$ac_exeext && { 16615 test "$cross_compiling" = yes || 16616 $as_test_x conftest$ac_exeext 16617 }; then 16618 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 16619 shlibpath_overrides_runpath=yes 16620fi 16621 16622else 16623 $as_echo "$as_me: failed program was:" >&5 16624sed 's/^/| /' conftest.$ac_ext >&5 16625 16626 16627fi 16628 16629rm -rf conftest.dSYM 16630rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16631 conftest$ac_exeext conftest.$ac_ext 16632 LDFLAGS=$save_LDFLAGS 16633 libdir=$save_libdir 16634 16635 # This implies no fast_install, which is unacceptable. 16636 # Some rework will be needed to allow for fast_install 16637 # before this can be enabled. 16638 hardcode_into_libs=yes 16639 16640 # Add ABI-specific directories to the system library path. 16641 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16642 16643 # Append ld.so.conf contents to the search path 16644 if test -f /etc/ld.so.conf; then 16645 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' ' '` 16646 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16647 fi 16648 16649 # We used to test for /lib/ld.so.1 and disable shared libraries on 16650 # powerpc, because MkLinux only supported shared libraries with the 16651 # GNU dynamic linker. Since this was broken with cross compilers, 16652 # most powerpc-linux boxes support dynamic linking these days and 16653 # people can always --disable-shared, the test was removed, and we 16654 # assume the GNU/Linux dynamic linker is in use. 16655 dynamic_linker='GNU/Linux ld.so' 16656 ;; 16657 16658netbsd*) 16659 version_type=sunos 16660 need_lib_prefix=no 16661 need_version=no 16662 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16664 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16665 dynamic_linker='NetBSD (a.out) ld.so' 16666 else 16667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 16668 soname_spec='${libname}${release}${shared_ext}$major' 16669 dynamic_linker='NetBSD ld.elf_so' 16670 fi 16671 shlibpath_var=LD_LIBRARY_PATH 16672 shlibpath_overrides_runpath=yes 16673 hardcode_into_libs=yes 16674 ;; 16675 16676newsos6) 16677 version_type=linux 16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16679 shlibpath_var=LD_LIBRARY_PATH 16680 shlibpath_overrides_runpath=yes 16681 ;; 16682 16683*nto* | *qnx*) 16684 version_type=qnx 16685 need_lib_prefix=no 16686 need_version=no 16687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16688 soname_spec='${libname}${release}${shared_ext}$major' 16689 shlibpath_var=LD_LIBRARY_PATH 16690 shlibpath_overrides_runpath=no 16691 hardcode_into_libs=yes 16692 dynamic_linker='ldqnx.so' 16693 ;; 16694 16695openbsd*) 16696 version_type=sunos 16697 sys_lib_dlsearch_path_spec="/usr/lib" 16698 need_lib_prefix=no 16699 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 16700 case $host_os in 16701 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 16702 *) need_version=no ;; 16703 esac 16704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16705 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16706 shlibpath_var=LD_LIBRARY_PATH 16707 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 16708 case $host_os in 16709 openbsd2.[89] | openbsd2.[89].*) 16710 shlibpath_overrides_runpath=no 16711 ;; 16712 *) 16713 shlibpath_overrides_runpath=yes 16714 ;; 16715 esac 16716 else 16717 shlibpath_overrides_runpath=yes 16718 fi 16719 ;; 16720 16721os2*) 16722 libname_spec='$name' 16723 shrext_cmds=".dll" 16724 need_lib_prefix=no 16725 library_names_spec='$libname${shared_ext} $libname.a' 16726 dynamic_linker='OS/2 ld.exe' 16727 shlibpath_var=LIBPATH 16728 ;; 16729 16730osf3* | osf4* | osf5*) 16731 version_type=osf 16732 need_lib_prefix=no 16733 need_version=no 16734 soname_spec='${libname}${release}${shared_ext}$major' 16735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16736 shlibpath_var=LD_LIBRARY_PATH 16737 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16738 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 16739 ;; 16740 16741rdos*) 16742 dynamic_linker=no 16743 ;; 16744 16745solaris*) 16746 version_type=linux 16747 need_lib_prefix=no 16748 need_version=no 16749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16750 soname_spec='${libname}${release}${shared_ext}$major' 16751 shlibpath_var=LD_LIBRARY_PATH 16752 shlibpath_overrides_runpath=yes 16753 hardcode_into_libs=yes 16754 # ldd complains unless libraries are executable 16755 postinstall_cmds='chmod +x $lib' 16756 ;; 16757 16758sunos4*) 16759 version_type=sunos 16760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 16761 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16762 shlibpath_var=LD_LIBRARY_PATH 16763 shlibpath_overrides_runpath=yes 16764 if test "$with_gnu_ld" = yes; then 16765 need_lib_prefix=no 16766 fi 16767 need_version=yes 16768 ;; 16769 16770sysv4 | sysv4.3*) 16771 version_type=linux 16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16773 soname_spec='${libname}${release}${shared_ext}$major' 16774 shlibpath_var=LD_LIBRARY_PATH 16775 case $host_vendor in 16776 sni) 16777 shlibpath_overrides_runpath=no 16778 need_lib_prefix=no 16779 runpath_var=LD_RUN_PATH 16780 ;; 16781 siemens) 16782 need_lib_prefix=no 16783 ;; 16784 motorola) 16785 need_lib_prefix=no 16786 need_version=no 16787 shlibpath_overrides_runpath=no 16788 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16789 ;; 16790 esac 16791 ;; 16792 16793sysv4*MP*) 16794 if test -d /usr/nec ;then 16795 version_type=linux 16796 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 16797 soname_spec='$libname${shared_ext}.$major' 16798 shlibpath_var=LD_LIBRARY_PATH 16799 fi 16800 ;; 16801 16802sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16803 version_type=freebsd-elf 16804 need_lib_prefix=no 16805 need_version=no 16806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 16807 soname_spec='${libname}${release}${shared_ext}$major' 16808 shlibpath_var=LD_LIBRARY_PATH 16809 shlibpath_overrides_runpath=yes 16810 hardcode_into_libs=yes 16811 if test "$with_gnu_ld" = yes; then 16812 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16813 else 16814 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16815 case $host_os in 16816 sco3.2v5*) 16817 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16818 ;; 16819 esac 16820 fi 16821 sys_lib_dlsearch_path_spec='/usr/lib' 16822 ;; 16823 16824tpf*) 16825 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16826 version_type=linux 16827 need_lib_prefix=no 16828 need_version=no 16829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16830 shlibpath_var=LD_LIBRARY_PATH 16831 shlibpath_overrides_runpath=no 16832 hardcode_into_libs=yes 16833 ;; 16834 16835uts4*) 16836 version_type=linux 16837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 16838 soname_spec='${libname}${release}${shared_ext}$major' 16839 shlibpath_var=LD_LIBRARY_PATH 16840 ;; 16841 16842*) 16843 dynamic_linker=no 16844 ;; 16845esac 16846{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 16847$as_echo "$dynamic_linker" >&6; } 16848test "$dynamic_linker" = no && can_build_shared=no 16849 16850variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16851if test "$GCC" = yes; then 16852 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16853fi 16854 16855if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 16856 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 16857fi 16858if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 16859 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 16860fi 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 16898$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16899hardcode_action_CXX= 16900if test -n "$hardcode_libdir_flag_spec_CXX" || 16901 test -n "$runpath_var_CXX" || 16902 test "X$hardcode_automatic_CXX" = "Xyes" ; then 16903 16904 # We can hardcode non-existent directories. 16905 if test "$hardcode_direct_CXX" != no && 16906 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16907 # have to relink, otherwise we might link with an installed library 16908 # when we should be linking with a yet-to-be-installed one 16909 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 16910 test "$hardcode_minus_L_CXX" != no; then 16911 # Linking always hardcodes the temporary library directory. 16912 hardcode_action_CXX=relink 16913 else 16914 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16915 hardcode_action_CXX=immediate 16916 fi 16917else 16918 # We cannot hardcode anything, or else we can only hardcode existing 16919 # directories. 16920 hardcode_action_CXX=unsupported 16921fi 16922{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 16923$as_echo "$hardcode_action_CXX" >&6; } 16924 16925if test "$hardcode_action_CXX" = relink || 16926 test "$inherit_rpath_CXX" = yes; then 16927 # Fast installation is not supported 16928 enable_fast_install=no 16929elif test "$shlibpath_overrides_runpath" = yes || 16930 test "$enable_shared" = no; then 16931 # Fast installation is not necessary 16932 enable_fast_install=needless 16933fi 16934 16935 16936 16937 16938 16939 16940 16941 fi # test -n "$compiler" 16942 16943 CC=$lt_save_CC 16944 LDCXX=$LD 16945 LD=$lt_save_LD 16946 GCC=$lt_save_GCC 16947 with_gnu_ld=$lt_save_with_gnu_ld 16948 lt_cv_path_LDCXX=$lt_cv_path_LD 16949 lt_cv_path_LD=$lt_save_path_LD 16950 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16951 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16952fi # test "$_lt_caught_CXX_error" != yes 16953 16954ac_ext=c 16955ac_cpp='$CPP $CPPFLAGS' 16956ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16957ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16958ac_compiler_gnu=$ac_cv_c_compiler_gnu 16959 16960 16961 if test "x$have_cxx" = "xyes"; then 16962 WITH_CXX_TRUE= 16963 WITH_CXX_FALSE='#' 16964else 16965 WITH_CXX_TRUE='#' 16966 WITH_CXX_FALSE= 16967fi 16968 16969 16970# Extract the first word of "pkg-config", so it can be a program name with args. 16971set dummy pkg-config; ac_word=$2 16972{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 16973$as_echo_n "checking for $ac_word... " >&6; } 16974if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 16975 $as_echo_n "(cached) " >&6 16976else 16977 case $PKG_CONFIG in 16978 [\\/]* | ?:[\\/]*) 16979 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16980 ;; 16981 *) 16982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16983for as_dir in $PATH 16984do 16985 IFS=$as_save_IFS 16986 test -z "$as_dir" && as_dir=. 16987 for ac_exec_ext in '' $ac_executable_extensions; do 16988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 16989 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16990 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 16991 break 2 16992 fi 16993done 16994done 16995IFS=$as_save_IFS 16996 16997 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 16998 ;; 16999esac 17000fi 17001PKG_CONFIG=$ac_cv_path_PKG_CONFIG 17002if test -n "$PKG_CONFIG"; then 17003 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 17004$as_echo "$PKG_CONFIG" >&6; } 17005else 17006 { $as_echo "$as_me:$LINENO: result: no" >&5 17007$as_echo "no" >&6; } 17008fi 17009 17010 17011 17012 17013 17014if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17015 if test -n "$ac_tool_prefix"; then 17016 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17017set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 17018{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 17019$as_echo_n "checking for $ac_word... " >&6; } 17020if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 17021 $as_echo_n "(cached) " >&6 17022else 17023 case $PKG_CONFIG in 17024 [\\/]* | ?:[\\/]*) 17025 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 17026 ;; 17027 *) 17028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17029for as_dir in $PATH 17030do 17031 IFS=$as_save_IFS 17032 test -z "$as_dir" && as_dir=. 17033 for ac_exec_ext in '' $ac_executable_extensions; do 17034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17035 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17037 break 2 17038 fi 17039done 17040done 17041IFS=$as_save_IFS 17042 17043 ;; 17044esac 17045fi 17046PKG_CONFIG=$ac_cv_path_PKG_CONFIG 17047if test -n "$PKG_CONFIG"; then 17048 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 17049$as_echo "$PKG_CONFIG" >&6; } 17050else 17051 { $as_echo "$as_me:$LINENO: result: no" >&5 17052$as_echo "no" >&6; } 17053fi 17054 17055 17056fi 17057if test -z "$ac_cv_path_PKG_CONFIG"; then 17058 ac_pt_PKG_CONFIG=$PKG_CONFIG 17059 # Extract the first word of "pkg-config", so it can be a program name with args. 17060set dummy pkg-config; ac_word=$2 17061{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 17062$as_echo_n "checking for $ac_word... " >&6; } 17063if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 17064 $as_echo_n "(cached) " >&6 17065else 17066 case $ac_pt_PKG_CONFIG in 17067 [\\/]* | ?:[\\/]*) 17068 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 17069 ;; 17070 *) 17071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17072for as_dir in $PATH 17073do 17074 IFS=$as_save_IFS 17075 test -z "$as_dir" && as_dir=. 17076 for ac_exec_ext in '' $ac_executable_extensions; do 17077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17078 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17079 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17080 break 2 17081 fi 17082done 17083done 17084IFS=$as_save_IFS 17085 17086 ;; 17087esac 17088fi 17089ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 17090if test -n "$ac_pt_PKG_CONFIG"; then 17091 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 17092$as_echo "$ac_pt_PKG_CONFIG" >&6; } 17093else 17094 { $as_echo "$as_me:$LINENO: result: no" >&5 17095$as_echo "no" >&6; } 17096fi 17097 17098 if test "x$ac_pt_PKG_CONFIG" = x; then 17099 PKG_CONFIG="" 17100 else 17101 case $cross_compiling:$ac_tool_warned in 17102yes:) 17103{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 17104$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 17105ac_tool_warned=yes ;; 17106esac 17107 PKG_CONFIG=$ac_pt_PKG_CONFIG 17108 fi 17109else 17110 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 17111fi 17112 17113fi 17114if test -n "$PKG_CONFIG"; then 17115 _pkg_min_version=0.9.0 17116 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 17117$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 17118 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 17119 { $as_echo "$as_me:$LINENO: result: yes" >&5 17120$as_echo "yes" >&6; } 17121 else 17122 { $as_echo "$as_me:$LINENO: result: no" >&5 17123$as_echo "no" >&6; } 17124 PKG_CONFIG="" 17125 fi 17126 17127fi 17128 17129pkg_failed=no 17130{ $as_echo "$as_me:$LINENO: checking for ENCHANT" >&5 17131$as_echo_n "checking for ENCHANT... " >&6; } 17132 17133if test -n "$ENCHANT_CFLAGS"; then 17134 pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS" 17135 elif test -n "$PKG_CONFIG"; then 17136 if test -n "$PKG_CONFIG" && \ 17137 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6 gmodule-2.0\"") >&5 17138 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6 gmodule-2.0") 2>&5 17139 ac_status=$? 17140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17141 (exit $ac_status); }; then 17142 pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.6 gmodule-2.0" 2>/dev/null` 17143else 17144 pkg_failed=yes 17145fi 17146 else 17147 pkg_failed=untried 17148fi 17149if test -n "$ENCHANT_LIBS"; then 17150 pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS" 17151 elif test -n "$PKG_CONFIG"; then 17152 if test -n "$PKG_CONFIG" && \ 17153 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.6 gmodule-2.0\"") >&5 17154 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.6 gmodule-2.0") 2>&5 17155 ac_status=$? 17156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17157 (exit $ac_status); }; then 17158 pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.6 gmodule-2.0" 2>/dev/null` 17159else 17160 pkg_failed=yes 17161fi 17162 else 17163 pkg_failed=untried 17164fi 17165 17166 17167 17168if test $pkg_failed = yes; then 17169 17170if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17171 _pkg_short_errors_supported=yes 17172else 17173 _pkg_short_errors_supported=no 17174fi 17175 if test $_pkg_short_errors_supported = yes; then 17176 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.6 gmodule-2.0" 2>&1` 17177 else 17178 ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.6 gmodule-2.0" 2>&1` 17179 fi 17180 # Put the nasty error message in config.log where it belongs 17181 echo "$ENCHANT_PKG_ERRORS" >&5 17182 17183 { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.6 gmodule-2.0) were not met: 17184 17185$ENCHANT_PKG_ERRORS 17186 17187Consider adjusting the PKG_CONFIG_PATH environment variable if you 17188installed software in a non-standard prefix. 17189 17190Alternatively, you may set the environment variables ENCHANT_CFLAGS 17191and ENCHANT_LIBS to avoid the need to call pkg-config. 17192See the pkg-config man page for more details. 17193" >&5 17194$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.6 gmodule-2.0) were not met: 17195 17196$ENCHANT_PKG_ERRORS 17197 17198Consider adjusting the PKG_CONFIG_PATH environment variable if you 17199installed software in a non-standard prefix. 17200 17201Alternatively, you may set the environment variables ENCHANT_CFLAGS 17202and ENCHANT_LIBS to avoid the need to call pkg-config. 17203See the pkg-config man page for more details. 17204" >&2;} 17205 { (exit 1); exit 1; }; } 17206elif test $pkg_failed = untried; then 17207 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 17208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 17209{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 17210is in your PATH or set the PKG_CONFIG environment variable to the full 17211path to pkg-config. 17212 17213Alternatively, you may set the environment variables ENCHANT_CFLAGS 17214and ENCHANT_LIBS to avoid the need to call pkg-config. 17215See the pkg-config man page for more details. 17216 17217To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17218See \`config.log' for more details." >&5 17219$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 17220is in your PATH or set the PKG_CONFIG environment variable to the full 17221path to pkg-config. 17222 17223Alternatively, you may set the environment variables ENCHANT_CFLAGS 17224and ENCHANT_LIBS to avoid the need to call pkg-config. 17225See the pkg-config man page for more details. 17226 17227To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17228See \`config.log' for more details." >&2;} 17229 { (exit 1); exit 1; }; }; } 17230else 17231 ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS 17232 ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS 17233 { $as_echo "$as_me:$LINENO: result: yes" >&5 17234$as_echo "yes" >&6; } 17235 : 17236fi 17237 17238 17239 17240 17241 17242 17243 17244CC_MAYBE_WARN="-Wall -Wextra \ 17245-Wsign-compare -Werror-implicit-function-declaration \ 17246-Wpointer-arith -Wwrite-strings -Wstrict-prototypes \ 17247-Wmissing-prototypes -Wmissing-declarations -Wnested-externs \ 17248-Wpacked -Wswitch-enum -Wmissing-format-attribute \ 17249-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \ 17250-Wdeclaration-after-statement -Wold-style-definition \ 17251-Wno-missing-field-initializers -Wno-unused-parameter \ 17252-Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing" 17253 17254# invalidate cached value if MAYBE_WARN has changed 17255if test "x$enchant_cv_warn_maybe" != "x$CC_MAYBE_WARN"; then 17256 unset enchant_cv_warn_cflags 17257fi 17258{ $as_echo "$as_me:$LINENO: checking for supported C warning flags" >&5 17259$as_echo_n "checking for supported C warning flags... " >&6; } 17260if test "${enchant_cv_warn_cflags+set}" = set; then 17261 $as_echo_n "(cached) " >&6 17262else 17263 17264 echo 17265 CC_WARN_CFLAGS="" 17266 17267 # Some warning options are not supported by all versions of 17268 # gcc, so test all desired options against the current 17269 # compiler. 17270 # 17271 # Note that there are some order dependencies 17272 # here. Specifically, an option that disables a warning will 17273 # have no net effect if a later option then enables that 17274 # warnings, (perhaps implicitly). So we put some grouped 17275 # options (-Wall and -Wextra) up front and the -Wno options 17276 # last. 17277 17278 for W in $CC_MAYBE_WARN; do 17279 17280 { $as_echo "$as_me:$LINENO: checking whether $CC supports $W" >&5 17281$as_echo_n "checking whether $CC supports $W... " >&6; } 17282 17283 enchant_save_CFLAGS="$CFLAGS" 17284 CFLAGS="$CFLAGS $W" 17285 17286 cat >conftest.$ac_ext <<_ACEOF 17287 17288_ACEOF 17289rm -f conftest.$ac_objext 17290if { (ac_try="$ac_compile" 17291case "(($ac_try" in 17292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17293 *) ac_try_echo=$ac_try;; 17294esac 17295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17296$as_echo "$ac_try_echo") >&5 17297 (eval "$ac_compile") 2>conftest.er1 17298 ac_status=$? 17299 grep -v '^ *+' conftest.er1 >conftest.err 17300 rm -f conftest.er1 17301 cat conftest.err >&5 17302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17303 (exit $ac_status); } && { 17304 test -z "$ac_c_werror_flag" || 17305 test ! -s conftest.err 17306 } && test -s conftest.$ac_objext; then 17307 enchant_cc_flag=yes 17308else 17309 $as_echo "$as_me: failed program was:" >&5 17310sed 's/^/| /' conftest.$ac_ext >&5 17311 17312 enchant_cc_flag=no 17313fi 17314 17315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17316 CFLAGS="$enchant_save_CFLAGS" 17317 17318 if test "x$enchant_cc_flag" = "xyes"; then 17319 CC_WARN_CFLAGS="$CC_WARN_CFLAGS $W" 17320 else 17321 : 17322 fi 17323 { $as_echo "$as_me:$LINENO: result: $enchant_cc_flag" >&5 17324$as_echo "$enchant_cc_flag" >&6; } 17325 17326 done 17327 17328 enchant_cv_warn_cflags=$CC_WARN_CFLAGS 17329 enchant_cv_warn_maybe=$CC_MAYBE_WARN 17330 17331 { $as_echo "$as_me:$LINENO: checking which C warning flags were supported" >&5 17332$as_echo_n "checking which C warning flags were supported... " >&6; } 17333fi 17334{ $as_echo "$as_me:$LINENO: result: $enchant_cv_warn_cflags" >&5 17335$as_echo "$enchant_cv_warn_cflags" >&6; } 17336CC_WARN_CFLAGS="$enchant_cv_warn_cflags" 17337 17338 17339CXX_MAYBE_WARN="-Wall -Wextra \ 17340-Wsign-compare \ 17341-Wpointer-arith -Wwrite-strings \ 17342-Wpacked -Wswitch-enum -Wmissing-format-attribute \ 17343-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \ 17344-Wno-missing-field-initializers -Wno-unused-parameter \ 17345-Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing" 17346 17347# invalidate cached value if MAYBE_WARN has changed 17348if test "x$enchant_cxx_cv_warn_maybe" != "x$CXX_MAYBE_WARN"; then 17349 unset enchant_cxx_cv_warn_cflags 17350fi 17351{ $as_echo "$as_me:$LINENO: checking for supported C++ warning flags" >&5 17352$as_echo_n "checking for supported C++ warning flags... " >&6; } 17353if test "${enchant_cxx_cv_warn_cflags+set}" = set; then 17354 $as_echo_n "(cached) " >&6 17355else 17356 17357 echo 17358 CXX_WARN_CFLAGS="" 17359 17360 # Some warning options are not supported by all versions of 17361 # gcc, so test all desired options against the current 17362 # compiler. 17363 # 17364 # Note that there are some order dependencies 17365 # here. Specifically, an option that disables a warning will 17366 # have no net effect if a later option then enables that 17367 # warnings, (perhaps implicitly). So we put some grouped 17368 # options (-Wall and -Wextra) up front and the -Wno options 17369 # last. 17370 17371 for W in $CXX_MAYBE_WARN; do 17372 17373 { $as_echo "$as_me:$LINENO: checking whether $CXX supports $W" >&5 17374$as_echo_n "checking whether $CXX supports $W... " >&6; } 17375 17376 ac_ext=cpp 17377ac_cpp='$CXXCPP $CPPFLAGS' 17378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 17381 17382 enchant_save_CXXFLAGS="$CXXFLAGS" 17383 CXXFLAGS="$CXXFLAGS $W" 17384 17385 cat >conftest.$ac_ext <<_ACEOF 17386 17387_ACEOF 17388rm -f conftest.$ac_objext 17389if { (ac_try="$ac_compile" 17390case "(($ac_try" in 17391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17392 *) ac_try_echo=$ac_try;; 17393esac 17394eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17395$as_echo "$ac_try_echo") >&5 17396 (eval "$ac_compile") 2>conftest.er1 17397 ac_status=$? 17398 grep -v '^ *+' conftest.er1 >conftest.err 17399 rm -f conftest.er1 17400 cat conftest.err >&5 17401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17402 (exit $ac_status); } && { 17403 test -z "$ac_cxx_werror_flag" || 17404 test ! -s conftest.err 17405 } && test -s conftest.$ac_objext; then 17406 enchant_cxx_flag=yes 17407else 17408 $as_echo "$as_me: failed program was:" >&5 17409sed 's/^/| /' conftest.$ac_ext >&5 17410 17411 enchant_cxx_flag=no 17412fi 17413 17414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17415 CXXFLAGS="$enchant_save_CXXFLAGS" 17416 17417 if test "x$enchant_cxx_flag" = "xyes"; then 17418 CXX_WARN_CFLAGS="$CXX_WARN_CFLAGS $W" 17419 else 17420 : 17421 fi 17422 { $as_echo "$as_me:$LINENO: result: $enchant_cxx_flag" >&5 17423$as_echo "$enchant_cxx_flag" >&6; } 17424 ac_ext=c 17425ac_cpp='$CPP $CPPFLAGS' 17426ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17427ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17428ac_compiler_gnu=$ac_cv_c_compiler_gnu 17429 17430 17431 done 17432 17433 enchant_cxx_cv_warn_cflags=$CXX_WARN_CFLAGS 17434 enchant_cxx_cv_warn_maybe=$CXX_MAYBE_WARN 17435 17436 { $as_echo "$as_me:$LINENO: checking which C++ warning flags were supported" >&5 17437$as_echo_n "checking which C++ warning flags were supported... " >&6; } 17438fi 17439{ $as_echo "$as_me:$LINENO: result: $enchant_cxx_cv_warn_cflags" >&5 17440$as_echo "$enchant_cxx_cv_warn_cflags" >&6; } 17441CXX_WARN_CFLAGS="$enchant_cxx_cv_warn_cflags" 17442 17443 17444ENCHANT_CFLAGS="$ENCHANT_CFLAGS -DENCHANT_PREFIX_DIR='\"$prefix\"'" 17445 17446 17447 17448 17449{ $as_echo "$as_me:$LINENO: checking for native Win32" >&5 17450$as_echo_n "checking for native Win32... " >&6; } 17451case "$target" in 17452 *-*-mingw*) 17453 native_win32=yes 17454 SOCKET_LIBS='-lws2_32 -ldnsapi' 17455 ENCHANT_WIN32_RESOURCE=enchant-win32res.lo 17456 ;; 17457 *) 17458 native_win32=no 17459 SOCKET_LIBS='' 17460 ENCHANT_WIN32_RESOURCE= 17461 ;; 17462esac 17463{ $as_echo "$as_me:$LINENO: result: $native_win32" >&5 17464$as_echo "$native_win32" >&6; } 17465 if test "x$native_win32" = "xyes"; then 17466 OS_WIN32_TRUE= 17467 OS_WIN32_FALSE='#' 17468else 17469 OS_WIN32_TRUE='#' 17470 OS_WIN32_FALSE= 17471fi 17472 17473 17474 17475 17476 17477# Courtesy of Glib: Ensure MSVC-compatible struct packing convention 17478# is used when compiling for Win32 with gcc. 17479# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while 17480# gcc2 uses "-fnative-struct". 17481if test x"$native_win32" = xyes; then 17482 if test x"$GCC" = xyes; then 17483 msnative_struct='' 17484 { $as_echo "$as_me:$LINENO: checking how to get MSVC-compatible struct packing" >&5 17485$as_echo_n "checking how to get MSVC-compatible struct packing... " >&6; } 17486 if test -z "$ac_cv_prog_CC"; then 17487 our_gcc="$CC" 17488 else 17489 our_gcc="$ac_cv_prog_CC" 17490 fi 17491 case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in 17492 2.) 17493 if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then 17494 msnative_struct='-fnative-struct' 17495 fi 17496 ;; 17497 *) 17498 if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then 17499 msnative_struct='-mms-bitfields' 17500 fi 17501 ;; 17502 esac 17503 if test x"$msnative_struct" = x ; then 17504 { $as_echo "$as_me:$LINENO: result: no way" >&5 17505$as_echo "no way" >&6; } 17506 { $as_echo "$as_me:$LINENO: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&5 17507$as_echo "$as_me: WARNING: produced libraries might be incompatible with MSVC-compiled code" >&2;} 17508 else 17509 CFLAGS="$CFLAGS $msnative_struct" 17510 CXXFLAGS="$CXXFLAGS $msnative_struct" 17511 { $as_echo "$as_me:$LINENO: result: ${msnative_struct}" >&5 17512$as_echo "${msnative_struct}" >&6; } 17513 fi 17514 fi 17515fi 17516 17517 17518 17519 17520 17521 17522for ac_header in locale.h 17523do 17524as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17525if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17526 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17527$as_echo_n "checking for $ac_header... " >&6; } 17528if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17529 $as_echo_n "(cached) " >&6 17530fi 17531ac_res=`eval 'as_val=${'$as_ac_Header'} 17532 $as_echo "$as_val"'` 17533 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17534$as_echo "$ac_res" >&6; } 17535else 17536 # Is the header compilable? 17537{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17538$as_echo_n "checking $ac_header usability... " >&6; } 17539cat >conftest.$ac_ext <<_ACEOF 17540/* confdefs.h. */ 17541_ACEOF 17542cat confdefs.h >>conftest.$ac_ext 17543cat >>conftest.$ac_ext <<_ACEOF 17544/* end confdefs.h. */ 17545$ac_includes_default 17546#include <$ac_header> 17547_ACEOF 17548rm -f conftest.$ac_objext 17549if { (ac_try="$ac_compile" 17550case "(($ac_try" in 17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17552 *) ac_try_echo=$ac_try;; 17553esac 17554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17555$as_echo "$ac_try_echo") >&5 17556 (eval "$ac_compile") 2>conftest.er1 17557 ac_status=$? 17558 grep -v '^ *+' conftest.er1 >conftest.err 17559 rm -f conftest.er1 17560 cat conftest.err >&5 17561 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17562 (exit $ac_status); } && { 17563 test -z "$ac_c_werror_flag" || 17564 test ! -s conftest.err 17565 } && test -s conftest.$ac_objext; then 17566 ac_header_compiler=yes 17567else 17568 $as_echo "$as_me: failed program was:" >&5 17569sed 's/^/| /' conftest.$ac_ext >&5 17570 17571 ac_header_compiler=no 17572fi 17573 17574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17575{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17576$as_echo "$ac_header_compiler" >&6; } 17577 17578# Is the header present? 17579{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17580$as_echo_n "checking $ac_header presence... " >&6; } 17581cat >conftest.$ac_ext <<_ACEOF 17582/* confdefs.h. */ 17583_ACEOF 17584cat confdefs.h >>conftest.$ac_ext 17585cat >>conftest.$ac_ext <<_ACEOF 17586/* end confdefs.h. */ 17587#include <$ac_header> 17588_ACEOF 17589if { (ac_try="$ac_cpp conftest.$ac_ext" 17590case "(($ac_try" in 17591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17592 *) ac_try_echo=$ac_try;; 17593esac 17594eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17595$as_echo "$ac_try_echo") >&5 17596 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17597 ac_status=$? 17598 grep -v '^ *+' conftest.er1 >conftest.err 17599 rm -f conftest.er1 17600 cat conftest.err >&5 17601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17602 (exit $ac_status); } >/dev/null && { 17603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17604 test ! -s conftest.err 17605 }; then 17606 ac_header_preproc=yes 17607else 17608 $as_echo "$as_me: failed program was:" >&5 17609sed 's/^/| /' conftest.$ac_ext >&5 17610 17611 ac_header_preproc=no 17612fi 17613 17614rm -f conftest.err conftest.$ac_ext 17615{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17616$as_echo "$ac_header_preproc" >&6; } 17617 17618# So? What about this header? 17619case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17620 yes:no: ) 17621 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17622$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17624$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17625 ac_header_preproc=yes 17626 ;; 17627 no:yes:* ) 17628 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17629$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17630 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17631$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17632 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17633$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17634 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17635$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17636 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17637$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17638 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17639$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17640 17641 ;; 17642esac 17643{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17644$as_echo_n "checking for $ac_header... " >&6; } 17645if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17646 $as_echo_n "(cached) " >&6 17647else 17648 eval "$as_ac_Header=\$ac_header_preproc" 17649fi 17650ac_res=`eval 'as_val=${'$as_ac_Header'} 17651 $as_echo "$as_val"'` 17652 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17653$as_echo "$ac_res" >&6; } 17654 17655fi 17656as_val=`eval 'as_val=${'$as_ac_Header'} 17657 $as_echo "$as_val"'` 17658 if test "x$as_val" = x""yes; then 17659 cat >>confdefs.h <<_ACEOF 17660#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17661_ACEOF 17662 17663fi 17664 17665done 17666 17667 if test $ac_cv_header_locale_h = yes; then 17668 { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 17669$as_echo_n "checking for LC_MESSAGES... " >&6; } 17670if test "${am_cv_val_LC_MESSAGES+set}" = set; then 17671 $as_echo_n "(cached) " >&6 17672else 17673 cat >conftest.$ac_ext <<_ACEOF 17674/* confdefs.h. */ 17675_ACEOF 17676cat confdefs.h >>conftest.$ac_ext 17677cat >>conftest.$ac_ext <<_ACEOF 17678/* end confdefs.h. */ 17679#include <locale.h> 17680int 17681main () 17682{ 17683return LC_MESSAGES 17684 ; 17685 return 0; 17686} 17687_ACEOF 17688rm -f conftest.$ac_objext conftest$ac_exeext 17689if { (ac_try="$ac_link" 17690case "(($ac_try" in 17691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17692 *) ac_try_echo=$ac_try;; 17693esac 17694eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17695$as_echo "$ac_try_echo") >&5 17696 (eval "$ac_link") 2>conftest.er1 17697 ac_status=$? 17698 grep -v '^ *+' conftest.er1 >conftest.err 17699 rm -f conftest.er1 17700 cat conftest.err >&5 17701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17702 (exit $ac_status); } && { 17703 test -z "$ac_c_werror_flag" || 17704 test ! -s conftest.err 17705 } && test -s conftest$ac_exeext && { 17706 test "$cross_compiling" = yes || 17707 $as_test_x conftest$ac_exeext 17708 }; then 17709 am_cv_val_LC_MESSAGES=yes 17710else 17711 $as_echo "$as_me: failed program was:" >&5 17712sed 's/^/| /' conftest.$ac_ext >&5 17713 17714 am_cv_val_LC_MESSAGES=no 17715fi 17716 17717rm -rf conftest.dSYM 17718rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17719 conftest$ac_exeext conftest.$ac_ext 17720fi 17721{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 17722$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 17723 if test $am_cv_val_LC_MESSAGES = yes; then 17724 17725cat >>confdefs.h <<\_ACEOF 17726#define HAVE_LC_MESSAGES 1 17727_ACEOF 17728 17729 fi 17730 fi 17731 17732 17733 if test "x$br_cv_binreloc" = "xyes"; then 17734 WITH_BINRELOC_TRUE= 17735 WITH_BINRELOC_FALSE='#' 17736else 17737 WITH_BINRELOC_TRUE='#' 17738 WITH_BINRELOC_FALSE= 17739fi 17740 17741 17742build_ispell=yes 17743 17744# Check whether --enable-ispell was given. 17745if test "${enable_ispell+set}" = set; then 17746 enableval=$enable_ispell; build_ispell="$enableval" 17747else 17748 build_ispell=yes 17749fi 17750 17751 17752if test "x$have_cxx" = "xno"; then 17753 build_ispell=no 17754fi 17755 if test "x$build_ispell" = "xyes"; then 17756 WITH_ISPELL_TRUE= 17757 WITH_ISPELL_FALSE='#' 17758else 17759 WITH_ISPELL_TRUE='#' 17760 WITH_ISPELL_FALSE= 17761fi 17762 17763 17764ispell_dir=${datadir}/enchant/ispell 17765 17766# Check whether --with-ispell-dir was given. 17767if test "${with_ispell_dir+set}" = set; then 17768 withval=$with_ispell_dir; 17769fi 17770 17771 17772if test "x$with_ispell_dir" != "x" ; then 17773 ispell_dir=$with_ispell_dir 17774fi 17775 17776ISPELL_CFLAGS="-DENCHANT_ISPELL_DICT_DIR='\"$ispell_dir\"'" 17777 17778 17779build_myspell=yes 17780 17781# Check whether --enable-myspell was given. 17782if test "${enable_myspell+set}" = set; then 17783 enableval=$enable_myspell; build_myspell="$enableval" 17784else 17785 build_myspell=yes 17786fi 17787 17788 17789if test "x$have_cxx" = "xno"; then 17790 build_myspell=no 17791fi 17792 if test "x$build_myspell" = "xyes"; then 17793 WITH_MYSPELL_TRUE= 17794 WITH_MYSPELL_FALSE='#' 17795else 17796 WITH_MYSPELL_TRUE='#' 17797 WITH_MYSPELL_FALSE= 17798fi 17799 17800 17801myspell_dir=${datadir}/myspell/dicts 17802 17803# Check whether --with-myspell-dir was given. 17804if test "${with_myspell_dir+set}" = set; then 17805 withval=$with_myspell_dir; 17806fi 17807 17808 17809if test "x$with_myspell_dir" != "x" ; then 17810 myspell_dir=$with_myspell_dir 17811fi 17812 17813MYSPELL_CFLAGS="$MYSPELL_CFLAGS -DENCHANT_MYSPELL_DICT_DIR='\"$myspell_dir\"'" 17814 17815 17816# Check whether --with-system-myspell was given. 17817if test "${with_system_myspell+set}" = set; then 17818 withval=$with_system_myspell; 17819fi 17820 17821if test "x$with_system_myspell" != "xno"; then 17822 17823pkg_failed=no 17824{ $as_echo "$as_me:$LINENO: checking for MYSPELL" >&5 17825$as_echo_n "checking for MYSPELL... " >&6; } 17826 17827if test -n "$MYSPELL_CFLAGS"; then 17828 pkg_cv_MYSPELL_CFLAGS="$MYSPELL_CFLAGS" 17829 elif test -n "$PKG_CONFIG"; then 17830 if test -n "$PKG_CONFIG" && \ 17831 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hunspell\"") >&5 17832 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5 17833 ac_status=$? 17834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17835 (exit $ac_status); }; then 17836 pkg_cv_MYSPELL_CFLAGS=`$PKG_CONFIG --cflags "hunspell" 2>/dev/null` 17837else 17838 pkg_failed=yes 17839fi 17840 else 17841 pkg_failed=untried 17842fi 17843if test -n "$MYSPELL_LIBS"; then 17844 pkg_cv_MYSPELL_LIBS="$MYSPELL_LIBS" 17845 elif test -n "$PKG_CONFIG"; then 17846 if test -n "$PKG_CONFIG" && \ 17847 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hunspell\"") >&5 17848 ($PKG_CONFIG --exists --print-errors "hunspell") 2>&5 17849 ac_status=$? 17850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17851 (exit $ac_status); }; then 17852 pkg_cv_MYSPELL_LIBS=`$PKG_CONFIG --libs "hunspell" 2>/dev/null` 17853else 17854 pkg_failed=yes 17855fi 17856 else 17857 pkg_failed=untried 17858fi 17859 17860 17861 17862if test $pkg_failed = yes; then 17863 17864if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17865 _pkg_short_errors_supported=yes 17866else 17867 _pkg_short_errors_supported=no 17868fi 17869 if test $_pkg_short_errors_supported = yes; then 17870 MYSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "hunspell" 2>&1` 17871 else 17872 MYSPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "hunspell" 2>&1` 17873 fi 17874 # Put the nasty error message in config.log where it belongs 17875 echo "$MYSPELL_PKG_ERRORS" >&5 17876 17877 { $as_echo "$as_me:$LINENO: result: no" >&5 17878$as_echo "no" >&6; } 17879 have_system_myspell=false 17880elif test $pkg_failed = untried; then 17881 have_system_myspell=false 17882else 17883 MYSPELL_CFLAGS=$pkg_cv_MYSPELL_CFLAGS 17884 MYSPELL_LIBS=$pkg_cv_MYSPELL_LIBS 17885 { $as_echo "$as_me:$LINENO: result: yes" >&5 17886$as_echo "yes" >&6; } 17887 have_system_myspell=true 17888fi 17889 17890 17891else 17892 have_system_myspell=false; 17893fi 17894 if test "x$have_system_myspell" = "xtrue"; then 17895 WITH_SYSTEM_MYSPELL_TRUE= 17896 WITH_SYSTEM_MYSPELL_FALSE='#' 17897else 17898 WITH_SYSTEM_MYSPELL_TRUE='#' 17899 WITH_SYSTEM_MYSPELL_FALSE= 17900fi 17901 17902 17903check_aspell=yes 17904build_aspell=no 17905 17906# Check whether --enable-aspell was given. 17907if test "${enable_aspell+set}" = set; then 17908 enableval=$enable_aspell; check_aspell="$enableval" 17909else 17910 check_aspell=yes 17911fi 17912 17913 17914 17915# Check whether --with-aspell-prefix was given. 17916if test "${with_aspell_prefix+set}" = set; then 17917 withval=$with_aspell_prefix; aspell_prefix="$withval" 17918fi 17919 17920 17921if test "x$check_aspell" != "xno"; then 17922 saved_LDFLAGS=$LDFLAGS 17923 17924 ASPELL_CFLAGS= 17925 if test "x$aspell_prefix" != "x"; then 17926 LDFLAGS="-L$aspell_prefix/lib "$LDFLAGS 17927 ASPELL_INC="-I$aspell_prefix/include" 17928 ASPELL_LIBS="-L$aspell_prefix/lib -laspell" 17929 else 17930 aspell_prefix=${prefix} 17931 if test "x$prefix" = "xNONE"; then 17932 aspell_prefix="/usr/local" 17933 fi 17934 17935 # Extract the first word of "aspell", so it can be a program name with args. 17936set dummy aspell; ac_word=$2 17937{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 17938$as_echo_n "checking for $ac_word... " >&6; } 17939if test "${ac_cv_prog_HAVE_ASPELL+set}" = set; then 17940 $as_echo_n "(cached) " >&6 17941else 17942 if test -n "$HAVE_ASPELL"; then 17943 ac_cv_prog_HAVE_ASPELL="$HAVE_ASPELL" # Let the user override the test. 17944else 17945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17946for as_dir in $PATH 17947do 17948 IFS=$as_save_IFS 17949 test -z "$as_dir" && as_dir=. 17950 for ac_exec_ext in '' $ac_executable_extensions; do 17951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17952 ac_cv_prog_HAVE_ASPELL="yes" 17953 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17954 break 2 17955 fi 17956done 17957done 17958IFS=$as_save_IFS 17959 17960 test -z "$ac_cv_prog_HAVE_ASPELL" && ac_cv_prog_HAVE_ASPELL="no" 17961fi 17962fi 17963HAVE_ASPELL=$ac_cv_prog_HAVE_ASPELL 17964if test -n "$HAVE_ASPELL"; then 17965 { $as_echo "$as_me:$LINENO: result: $HAVE_ASPELL" >&5 17966$as_echo "$HAVE_ASPELL" >&6; } 17967else 17968 { $as_echo "$as_me:$LINENO: result: no" >&5 17969$as_echo "no" >&6; } 17970fi 17971 17972 17973 if test "x$HAVE_ASPELL" = "xyes"; then 17974 { $as_echo "$as_me:$LINENO: checking For Aspell >= 0.50.0" >&5 17975$as_echo_n "checking For Aspell >= 0.50.0... " >&6; } 17976 aspell_major=`aspell -v | awk -F. '{print $4;}' | awk -F")" '{print $1;}'` 17977 if test "$aspell_major" -ge "50"; then 17978 aspell_prefix=`aspell config prefix` 17979 LDFLAGS="-L${aspell_prefix}/lib "$LDFLAGS 17980 ASPELL_INC="-I${aspell_prefix}/include" 17981 ASPELL_LIBS="-L${aspell_prefix}/lib -laspell" 17982 { $as_echo "$as_me:$LINENO: result: yes" >&5 17983$as_echo "yes" >&6; } 17984 else 17985 { $as_echo "$as_me:$LINENO: result: unknown" >&5 17986$as_echo "unknown" >&6; } 17987 fi 17988 fi 17989 17990 if test "x$HAVE_ASPELL" != "xyes"; then 17991 { $as_echo "$as_me:$LINENO: WARNING: Didn't find aspell >= 0.50.0 and no explicit path aspell specified. Guessing at $aspell_prefix" >&5 17992$as_echo "$as_me: WARNING: Didn't find aspell >= 0.50.0 and no explicit path aspell specified. Guessing at $aspell_prefix" >&2;} 17993 ASPELL_LIBS="-L$aspell_prefix/lib -laspell" 17994 fi 17995 fi 17996 17997 { $as_echo "$as_me:$LINENO: checking For aspell headers in $aspell_prefix/include" >&5 17998$as_echo_n "checking For aspell headers in $aspell_prefix/include... " >&6; } 17999 if test -f "$aspell_prefix/include/pspell/pspell.h"; then 18000 { $as_echo "$as_me:$LINENO: result: yes (pspell)" >&5 18001$as_echo "yes (pspell)" >&6; } 18002 18003 { $as_echo "$as_me:$LINENO: checking for new_aspell_config in -laspell" >&5 18004$as_echo_n "checking for new_aspell_config in -laspell... " >&6; } 18005if test "${ac_cv_lib_aspell_new_aspell_config+set}" = set; then 18006 $as_echo_n "(cached) " >&6 18007else 18008 ac_check_lib_save_LIBS=$LIBS 18009LIBS="-laspell $LIBS" 18010cat >conftest.$ac_ext <<_ACEOF 18011/* confdefs.h. */ 18012_ACEOF 18013cat confdefs.h >>conftest.$ac_ext 18014cat >>conftest.$ac_ext <<_ACEOF 18015/* end confdefs.h. */ 18016 18017/* Override any GCC internal prototype to avoid an error. 18018 Use char because int might match the return type of a GCC 18019 builtin and then its argument prototype would still apply. */ 18020#ifdef __cplusplus 18021extern "C" 18022#endif 18023char new_aspell_config (); 18024int 18025main () 18026{ 18027return new_aspell_config (); 18028 ; 18029 return 0; 18030} 18031_ACEOF 18032rm -f conftest.$ac_objext conftest$ac_exeext 18033if { (ac_try="$ac_link" 18034case "(($ac_try" in 18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18036 *) ac_try_echo=$ac_try;; 18037esac 18038eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18039$as_echo "$ac_try_echo") >&5 18040 (eval "$ac_link") 2>conftest.er1 18041 ac_status=$? 18042 grep -v '^ *+' conftest.er1 >conftest.err 18043 rm -f conftest.er1 18044 cat conftest.err >&5 18045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18046 (exit $ac_status); } && { 18047 test -z "$ac_c_werror_flag" || 18048 test ! -s conftest.err 18049 } && test -s conftest$ac_exeext && { 18050 test "$cross_compiling" = yes || 18051 $as_test_x conftest$ac_exeext 18052 }; then 18053 ac_cv_lib_aspell_new_aspell_config=yes 18054else 18055 $as_echo "$as_me: failed program was:" >&5 18056sed 's/^/| /' conftest.$ac_ext >&5 18057 18058 ac_cv_lib_aspell_new_aspell_config=no 18059fi 18060 18061rm -rf conftest.dSYM 18062rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18063 conftest$ac_exeext conftest.$ac_ext 18064LIBS=$ac_check_lib_save_LIBS 18065fi 18066{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_new_aspell_config" >&5 18067$as_echo "$ac_cv_lib_aspell_new_aspell_config" >&6; } 18068if test "x$ac_cv_lib_aspell_new_aspell_config" = x""yes; then 18069 build_aspell=yes 18070else 18071 { $as_echo "$as_me:$LINENO: checking for new_pspell_config in -lpspell" >&5 18072$as_echo_n "checking for new_pspell_config in -lpspell... " >&6; } 18073if test "${ac_cv_lib_pspell_new_pspell_config+set}" = set; then 18074 $as_echo_n "(cached) " >&6 18075else 18076 ac_check_lib_save_LIBS=$LIBS 18077LIBS="-lpspell $LIBS" 18078cat >conftest.$ac_ext <<_ACEOF 18079/* confdefs.h. */ 18080_ACEOF 18081cat confdefs.h >>conftest.$ac_ext 18082cat >>conftest.$ac_ext <<_ACEOF 18083/* end confdefs.h. */ 18084 18085/* Override any GCC internal prototype to avoid an error. 18086 Use char because int might match the return type of a GCC 18087 builtin and then its argument prototype would still apply. */ 18088#ifdef __cplusplus 18089extern "C" 18090#endif 18091char new_pspell_config (); 18092int 18093main () 18094{ 18095return new_pspell_config (); 18096 ; 18097 return 0; 18098} 18099_ACEOF 18100rm -f conftest.$ac_objext conftest$ac_exeext 18101if { (ac_try="$ac_link" 18102case "(($ac_try" in 18103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18104 *) ac_try_echo=$ac_try;; 18105esac 18106eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18107$as_echo "$ac_try_echo") >&5 18108 (eval "$ac_link") 2>conftest.er1 18109 ac_status=$? 18110 grep -v '^ *+' conftest.er1 >conftest.err 18111 rm -f conftest.er1 18112 cat conftest.err >&5 18113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18114 (exit $ac_status); } && { 18115 test -z "$ac_c_werror_flag" || 18116 test ! -s conftest.err 18117 } && test -s conftest$ac_exeext && { 18118 test "$cross_compiling" = yes || 18119 $as_test_x conftest$ac_exeext 18120 }; then 18121 ac_cv_lib_pspell_new_pspell_config=yes 18122else 18123 $as_echo "$as_me: failed program was:" >&5 18124sed 's/^/| /' conftest.$ac_ext >&5 18125 18126 ac_cv_lib_pspell_new_pspell_config=no 18127fi 18128 18129rm -rf conftest.dSYM 18130rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18131 conftest$ac_exeext conftest.$ac_ext 18132LIBS=$ac_check_lib_save_LIBS 18133fi 18134{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_config" >&5 18135$as_echo "$ac_cv_lib_pspell_new_pspell_config" >&6; } 18136if test "x$ac_cv_lib_pspell_new_pspell_config" = x""yes; then 18137 build_aspell=yes 18138else 18139 { $as_echo "$as_me:$LINENO: WARNING: Enchant building without the aspell library" >&5 18140$as_echo "$as_me: WARNING: Enchant building without the aspell library" >&2;} 18141fi 18142 18143 18144fi 18145 18146 { $as_echo "$as_me:$LINENO: checking for get_aspell_dict_info_list in -laspell" >&5 18147$as_echo_n "checking for get_aspell_dict_info_list in -laspell... " >&6; } 18148if test "${ac_cv_lib_aspell_get_aspell_dict_info_list+set}" = set; then 18149 $as_echo_n "(cached) " >&6 18150else 18151 ac_check_lib_save_LIBS=$LIBS 18152LIBS="-laspell $LIBS" 18153cat >conftest.$ac_ext <<_ACEOF 18154/* confdefs.h. */ 18155_ACEOF 18156cat confdefs.h >>conftest.$ac_ext 18157cat >>conftest.$ac_ext <<_ACEOF 18158/* end confdefs.h. */ 18159 18160/* Override any GCC internal prototype to avoid an error. 18161 Use char because int might match the return type of a GCC 18162 builtin and then its argument prototype would still apply. */ 18163#ifdef __cplusplus 18164extern "C" 18165#endif 18166char get_aspell_dict_info_list (); 18167int 18168main () 18169{ 18170return get_aspell_dict_info_list (); 18171 ; 18172 return 0; 18173} 18174_ACEOF 18175rm -f conftest.$ac_objext conftest$ac_exeext 18176if { (ac_try="$ac_link" 18177case "(($ac_try" in 18178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18179 *) ac_try_echo=$ac_try;; 18180esac 18181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18182$as_echo "$ac_try_echo") >&5 18183 (eval "$ac_link") 2>conftest.er1 18184 ac_status=$? 18185 grep -v '^ *+' conftest.er1 >conftest.err 18186 rm -f conftest.er1 18187 cat conftest.err >&5 18188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18189 (exit $ac_status); } && { 18190 test -z "$ac_c_werror_flag" || 18191 test ! -s conftest.err 18192 } && test -s conftest$ac_exeext && { 18193 test "$cross_compiling" = yes || 18194 $as_test_x conftest$ac_exeext 18195 }; then 18196 ac_cv_lib_aspell_get_aspell_dict_info_list=yes 18197else 18198 $as_echo "$as_me: failed program was:" >&5 18199sed 's/^/| /' conftest.$ac_ext >&5 18200 18201 ac_cv_lib_aspell_get_aspell_dict_info_list=no 18202fi 18203 18204rm -rf conftest.dSYM 18205rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18206 conftest$ac_exeext conftest.$ac_ext 18207LIBS=$ac_check_lib_save_LIBS 18208fi 18209{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_get_aspell_dict_info_list" >&5 18210$as_echo "$ac_cv_lib_aspell_get_aspell_dict_info_list" >&6; } 18211if test "x$ac_cv_lib_aspell_get_aspell_dict_info_list" = x""yes; then 18212 ASPELL_CFLAGS="-DASPELL_0_50_0=1" 18213fi 18214 18215 18216 ASPELL_CFLAGS="${ASPELL_CFLAGS} -DHAVE_PSPELL_H" 18217 elif test -f "$aspell_prefix/include/aspell.h"; then 18218 { $as_echo "$as_me:$LINENO: result: yes (aspell)" >&5 18219$as_echo "yes (aspell)" >&6; } 18220 18221 { $as_echo "$as_me:$LINENO: checking for new_aspell_config in -laspell" >&5 18222$as_echo_n "checking for new_aspell_config in -laspell... " >&6; } 18223if test "${ac_cv_lib_aspell_new_aspell_config+set}" = set; then 18224 $as_echo_n "(cached) " >&6 18225else 18226 ac_check_lib_save_LIBS=$LIBS 18227LIBS="-laspell $LIBS" 18228cat >conftest.$ac_ext <<_ACEOF 18229/* confdefs.h. */ 18230_ACEOF 18231cat confdefs.h >>conftest.$ac_ext 18232cat >>conftest.$ac_ext <<_ACEOF 18233/* end confdefs.h. */ 18234 18235/* Override any GCC internal prototype to avoid an error. 18236 Use char because int might match the return type of a GCC 18237 builtin and then its argument prototype would still apply. */ 18238#ifdef __cplusplus 18239extern "C" 18240#endif 18241char new_aspell_config (); 18242int 18243main () 18244{ 18245return new_aspell_config (); 18246 ; 18247 return 0; 18248} 18249_ACEOF 18250rm -f conftest.$ac_objext conftest$ac_exeext 18251if { (ac_try="$ac_link" 18252case "(($ac_try" in 18253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18254 *) ac_try_echo=$ac_try;; 18255esac 18256eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18257$as_echo "$ac_try_echo") >&5 18258 (eval "$ac_link") 2>conftest.er1 18259 ac_status=$? 18260 grep -v '^ *+' conftest.er1 >conftest.err 18261 rm -f conftest.er1 18262 cat conftest.err >&5 18263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18264 (exit $ac_status); } && { 18265 test -z "$ac_c_werror_flag" || 18266 test ! -s conftest.err 18267 } && test -s conftest$ac_exeext && { 18268 test "$cross_compiling" = yes || 18269 $as_test_x conftest$ac_exeext 18270 }; then 18271 ac_cv_lib_aspell_new_aspell_config=yes 18272else 18273 $as_echo "$as_me: failed program was:" >&5 18274sed 's/^/| /' conftest.$ac_ext >&5 18275 18276 ac_cv_lib_aspell_new_aspell_config=no 18277fi 18278 18279rm -rf conftest.dSYM 18280rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18281 conftest$ac_exeext conftest.$ac_ext 18282LIBS=$ac_check_lib_save_LIBS 18283fi 18284{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_new_aspell_config" >&5 18285$as_echo "$ac_cv_lib_aspell_new_aspell_config" >&6; } 18286if test "x$ac_cv_lib_aspell_new_aspell_config" = x""yes; then 18287 build_aspell=yes 18288else 18289 { $as_echo "$as_me:$LINENO: checking for new_pspell_config in -lpspell" >&5 18290$as_echo_n "checking for new_pspell_config in -lpspell... " >&6; } 18291if test "${ac_cv_lib_pspell_new_pspell_config+set}" = set; then 18292 $as_echo_n "(cached) " >&6 18293else 18294 ac_check_lib_save_LIBS=$LIBS 18295LIBS="-lpspell $LIBS" 18296cat >conftest.$ac_ext <<_ACEOF 18297/* confdefs.h. */ 18298_ACEOF 18299cat confdefs.h >>conftest.$ac_ext 18300cat >>conftest.$ac_ext <<_ACEOF 18301/* end confdefs.h. */ 18302 18303/* Override any GCC internal prototype to avoid an error. 18304 Use char because int might match the return type of a GCC 18305 builtin and then its argument prototype would still apply. */ 18306#ifdef __cplusplus 18307extern "C" 18308#endif 18309char new_pspell_config (); 18310int 18311main () 18312{ 18313return new_pspell_config (); 18314 ; 18315 return 0; 18316} 18317_ACEOF 18318rm -f conftest.$ac_objext conftest$ac_exeext 18319if { (ac_try="$ac_link" 18320case "(($ac_try" in 18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18322 *) ac_try_echo=$ac_try;; 18323esac 18324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18325$as_echo "$ac_try_echo") >&5 18326 (eval "$ac_link") 2>conftest.er1 18327 ac_status=$? 18328 grep -v '^ *+' conftest.er1 >conftest.err 18329 rm -f conftest.er1 18330 cat conftest.err >&5 18331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18332 (exit $ac_status); } && { 18333 test -z "$ac_c_werror_flag" || 18334 test ! -s conftest.err 18335 } && test -s conftest$ac_exeext && { 18336 test "$cross_compiling" = yes || 18337 $as_test_x conftest$ac_exeext 18338 }; then 18339 ac_cv_lib_pspell_new_pspell_config=yes 18340else 18341 $as_echo "$as_me: failed program was:" >&5 18342sed 's/^/| /' conftest.$ac_ext >&5 18343 18344 ac_cv_lib_pspell_new_pspell_config=no 18345fi 18346 18347rm -rf conftest.dSYM 18348rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18349 conftest$ac_exeext conftest.$ac_ext 18350LIBS=$ac_check_lib_save_LIBS 18351fi 18352{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pspell_new_pspell_config" >&5 18353$as_echo "$ac_cv_lib_pspell_new_pspell_config" >&6; } 18354if test "x$ac_cv_lib_pspell_new_pspell_config" = x""yes; then 18355 build_aspell=yes 18356else 18357 { $as_echo "$as_me:$LINENO: WARNING: Enchant building without the aspell library" >&5 18358$as_echo "$as_me: WARNING: Enchant building without the aspell library" >&2;} 18359fi 18360 18361 18362fi 18363 18364 { $as_echo "$as_me:$LINENO: checking for get_aspell_dict_info_list in -laspell" >&5 18365$as_echo_n "checking for get_aspell_dict_info_list in -laspell... " >&6; } 18366if test "${ac_cv_lib_aspell_get_aspell_dict_info_list+set}" = set; then 18367 $as_echo_n "(cached) " >&6 18368else 18369 ac_check_lib_save_LIBS=$LIBS 18370LIBS="-laspell $LIBS" 18371cat >conftest.$ac_ext <<_ACEOF 18372/* confdefs.h. */ 18373_ACEOF 18374cat confdefs.h >>conftest.$ac_ext 18375cat >>conftest.$ac_ext <<_ACEOF 18376/* end confdefs.h. */ 18377 18378/* Override any GCC internal prototype to avoid an error. 18379 Use char because int might match the return type of a GCC 18380 builtin and then its argument prototype would still apply. */ 18381#ifdef __cplusplus 18382extern "C" 18383#endif 18384char get_aspell_dict_info_list (); 18385int 18386main () 18387{ 18388return get_aspell_dict_info_list (); 18389 ; 18390 return 0; 18391} 18392_ACEOF 18393rm -f conftest.$ac_objext conftest$ac_exeext 18394if { (ac_try="$ac_link" 18395case "(($ac_try" in 18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18397 *) ac_try_echo=$ac_try;; 18398esac 18399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18400$as_echo "$ac_try_echo") >&5 18401 (eval "$ac_link") 2>conftest.er1 18402 ac_status=$? 18403 grep -v '^ *+' conftest.er1 >conftest.err 18404 rm -f conftest.er1 18405 cat conftest.err >&5 18406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18407 (exit $ac_status); } && { 18408 test -z "$ac_c_werror_flag" || 18409 test ! -s conftest.err 18410 } && test -s conftest$ac_exeext && { 18411 test "$cross_compiling" = yes || 18412 $as_test_x conftest$ac_exeext 18413 }; then 18414 ac_cv_lib_aspell_get_aspell_dict_info_list=yes 18415else 18416 $as_echo "$as_me: failed program was:" >&5 18417sed 's/^/| /' conftest.$ac_ext >&5 18418 18419 ac_cv_lib_aspell_get_aspell_dict_info_list=no 18420fi 18421 18422rm -rf conftest.dSYM 18423rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18424 conftest$ac_exeext conftest.$ac_ext 18425LIBS=$ac_check_lib_save_LIBS 18426fi 18427{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aspell_get_aspell_dict_info_list" >&5 18428$as_echo "$ac_cv_lib_aspell_get_aspell_dict_info_list" >&6; } 18429if test "x$ac_cv_lib_aspell_get_aspell_dict_info_list" = x""yes; then 18430 ASPELL_CFLAGS="-DASPELL_0_50_0=1" 18431fi 18432 18433 else 18434 { $as_echo "$as_me:$LINENO: result: no" >&5 18435$as_echo "no" >&6; } 18436 if test "x$HAVE_ASPELL" = "xyes"; then 18437 { $as_echo "$as_me:$LINENO: WARNING: Didn't find pspell (aspell) headers" >&5 18438$as_echo "$as_me: WARNING: Didn't find pspell (aspell) headers" >&2;} 18439 fi 18440 fi 18441 LDFLAGS=$saved_LDFLAGS 18442 18443 18444 18445 18446fi 18447 18448 if test "$build_aspell" = yes; then 18449 WITH_ASPELL_TRUE= 18450 WITH_ASPELL_FALSE='#' 18451else 18452 WITH_ASPELL_TRUE='#' 18453 WITH_ASPELL_FALSE= 18454fi 18455 18456 18457check_voikko=yes 18458build_voikko=no 18459 18460# Check whether --enable-voikko was given. 18461if test "${enable_voikko+set}" = set; then 18462 enableval=$enable_voikko; check_voikko="$enableval" 18463else 18464 check_voikko=yes 18465fi 18466 18467 18468 18469# Check whether --with-voikko-prefix was given. 18470if test "${with_voikko_prefix+set}" = set; then 18471 withval=$with_voikko_prefix; voikko_prefix="$withval" 18472fi 18473 18474 18475if test "x$check_voikko" != "xno"; then 18476 saved_LDFLAGS=$LDFLAGS 18477 18478 VOIKKO_INC= 18479 VOIKKO_LIBS="-lvoikko" 18480 if test "x$voikko_prefix" != "x"; then 18481 LDFLAGS="-L$voikko_prefix/lib "$LDFLAGS 18482 VOIKKO_INC="-I$voikko_prefix/include" 18483 VOIKKO_LIBS="-L$voikko_prefix/lib "$VOIKKO_LIBS 18484 fi 18485 18486 { $as_echo "$as_me:$LINENO: checking for voikko_init in -lvoikko" >&5 18487$as_echo_n "checking for voikko_init in -lvoikko... " >&6; } 18488if test "${ac_cv_lib_voikko_voikko_init+set}" = set; then 18489 $as_echo_n "(cached) " >&6 18490else 18491 ac_check_lib_save_LIBS=$LIBS 18492LIBS="-lvoikko $LIBS" 18493cat >conftest.$ac_ext <<_ACEOF 18494/* confdefs.h. */ 18495_ACEOF 18496cat confdefs.h >>conftest.$ac_ext 18497cat >>conftest.$ac_ext <<_ACEOF 18498/* end confdefs.h. */ 18499 18500/* Override any GCC internal prototype to avoid an error. 18501 Use char because int might match the return type of a GCC 18502 builtin and then its argument prototype would still apply. */ 18503#ifdef __cplusplus 18504extern "C" 18505#endif 18506char voikko_init (); 18507int 18508main () 18509{ 18510return voikko_init (); 18511 ; 18512 return 0; 18513} 18514_ACEOF 18515rm -f conftest.$ac_objext conftest$ac_exeext 18516if { (ac_try="$ac_link" 18517case "(($ac_try" in 18518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18519 *) ac_try_echo=$ac_try;; 18520esac 18521eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18522$as_echo "$ac_try_echo") >&5 18523 (eval "$ac_link") 2>conftest.er1 18524 ac_status=$? 18525 grep -v '^ *+' conftest.er1 >conftest.err 18526 rm -f conftest.er1 18527 cat conftest.err >&5 18528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18529 (exit $ac_status); } && { 18530 test -z "$ac_c_werror_flag" || 18531 test ! -s conftest.err 18532 } && test -s conftest$ac_exeext && { 18533 test "$cross_compiling" = yes || 18534 $as_test_x conftest$ac_exeext 18535 }; then 18536 ac_cv_lib_voikko_voikko_init=yes 18537else 18538 $as_echo "$as_me: failed program was:" >&5 18539sed 's/^/| /' conftest.$ac_ext >&5 18540 18541 ac_cv_lib_voikko_voikko_init=no 18542fi 18543 18544rm -rf conftest.dSYM 18545rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18546 conftest$ac_exeext conftest.$ac_ext 18547LIBS=$ac_check_lib_save_LIBS 18548fi 18549{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_voikko_voikko_init" >&5 18550$as_echo "$ac_cv_lib_voikko_voikko_init" >&6; } 18551if test "x$ac_cv_lib_voikko_voikko_init" = x""yes; then 18552 build_voikko=yes 18553fi 18554 18555 18556 LDFLAGS=$saved_LDFLAGS 18557 18558 18559 18560fi 18561 18562 if test "$build_voikko" = yes; then 18563 WITH_VOIKKO_TRUE= 18564 WITH_VOIKKO_FALSE='#' 18565else 18566 WITH_VOIKKO_TRUE='#' 18567 WITH_VOIKKO_FALSE= 18568fi 18569 18570 18571build_uspell=no 18572 18573check_uspell=yes 18574# Check whether --enable-uspell was given. 18575if test "${enable_uspell+set}" = set; then 18576 enableval=$enable_uspell; check_uspell="$enableval" 18577else 18578 check_uspell=yes 18579fi 18580 18581 18582if test "x$have_cxx" = "xno"; then 18583 check_uspell=no 18584fi 18585 18586if test "x$check_uspell" != "xno"; then 18587 18588pkg_failed=no 18589{ $as_echo "$as_me:$LINENO: checking for USPELL" >&5 18590$as_echo_n "checking for USPELL... " >&6; } 18591 18592if test -n "$USPELL_CFLAGS"; then 18593 pkg_cv_USPELL_CFLAGS="$USPELL_CFLAGS" 18594 elif test -n "$PKG_CONFIG"; then 18595 if test -n "$PKG_CONFIG" && \ 18596 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libuspell >= 1.1.0\"") >&5 18597 ($PKG_CONFIG --exists --print-errors "libuspell >= 1.1.0") 2>&5 18598 ac_status=$? 18599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18600 (exit $ac_status); }; then 18601 pkg_cv_USPELL_CFLAGS=`$PKG_CONFIG --cflags "libuspell >= 1.1.0" 2>/dev/null` 18602else 18603 pkg_failed=yes 18604fi 18605 else 18606 pkg_failed=untried 18607fi 18608if test -n "$USPELL_LIBS"; then 18609 pkg_cv_USPELL_LIBS="$USPELL_LIBS" 18610 elif test -n "$PKG_CONFIG"; then 18611 if test -n "$PKG_CONFIG" && \ 18612 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libuspell >= 1.1.0\"") >&5 18613 ($PKG_CONFIG --exists --print-errors "libuspell >= 1.1.0") 2>&5 18614 ac_status=$? 18615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18616 (exit $ac_status); }; then 18617 pkg_cv_USPELL_LIBS=`$PKG_CONFIG --libs "libuspell >= 1.1.0" 2>/dev/null` 18618else 18619 pkg_failed=yes 18620fi 18621 else 18622 pkg_failed=untried 18623fi 18624 18625 18626 18627if test $pkg_failed = yes; then 18628 18629if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 18630 _pkg_short_errors_supported=yes 18631else 18632 _pkg_short_errors_supported=no 18633fi 18634 if test $_pkg_short_errors_supported = yes; then 18635 USPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libuspell >= 1.1.0" 2>&1` 18636 else 18637 USPELL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libuspell >= 1.1.0" 2>&1` 18638 fi 18639 # Put the nasty error message in config.log where it belongs 18640 echo "$USPELL_PKG_ERRORS" >&5 18641 18642 { $as_echo "$as_me:$LINENO: result: no" >&5 18643$as_echo "no" >&6; } 18644 build_uspell=no 18645elif test $pkg_failed = untried; then 18646 build_uspell=no 18647else 18648 USPELL_CFLAGS=$pkg_cv_USPELL_CFLAGS 18649 USPELL_LIBS=$pkg_cv_USPELL_LIBS 18650 { $as_echo "$as_me:$LINENO: result: yes" >&5 18651$as_echo "yes" >&6; } 18652 build_uspell=yes 18653fi 18654fi 18655 18656uspell_dir=${datadir}/uspell 18657 18658# Check whether --with-uspell-dir was given. 18659if test "${with_uspell_dir+set}" = set; then 18660 withval=$with_uspell_dir; 18661fi 18662 18663 18664if test "x$with_uspell_dir" != "x" ; then 18665 uspell_dir=$with_uspell_dir 18666fi 18667 18668USPELL_CFLAGS="$USPELL_CFLAGS -DENCHANT_USPELL_DICT_DIR='\"$uspell_dir\"'" 18669 18670 18671 18672 if test "$build_uspell" = yes; then 18673 WITH_USPELL_TRUE= 18674 WITH_USPELL_FALSE='#' 18675else 18676 WITH_USPELL_TRUE='#' 18677 WITH_USPELL_FALSE= 18678fi 18679 18680 18681build_hspell=no 18682check_hspell=yes 18683# Check whether --enable-hspell was given. 18684if test "${enable_hspell+set}" = set; then 18685 enableval=$enable_hspell; check_hspell="$enableval" 18686else 18687 check_hspell=yes 18688fi 18689 18690 18691 18692# Check whether --with-hspell-prefix was given. 18693if test "${with_hspell_prefix+set}" = set; then 18694 withval=$with_hspell_prefix; hspell_prefix="$withval" 18695fi 18696 18697 18698 18699if test "x$check_hspell" != "xno"; then 18700 saved_LDFLAGS=$LDFLAGS 18701 18702 HSPELL_CFLAGS= 18703 HSPELL_LIBS=" -lhspell -lz" 18704 18705 if test "x$hspell_prefix" != "x"; then 18706 LDFLAGS="-L$hspell_prefix/lib "$LDFLAGS 18707 HSPELL_CFLAGS="-I$hspell_prefix/include" 18708 HSPELL_LIBS="-L$hspell_prefix/lib "$HSPELL_LIBS 18709 fi 18710 18711 { $as_echo "$as_me:$LINENO: checking for hspell_get_dictionary_path in -lhspell" >&5 18712$as_echo_n "checking for hspell_get_dictionary_path in -lhspell... " >&6; } 18713if test "${ac_cv_lib_hspell_hspell_get_dictionary_path+set}" = set; then 18714 $as_echo_n "(cached) " >&6 18715else 18716 ac_check_lib_save_LIBS=$LIBS 18717LIBS="-lhspell -lz $LIBS" 18718cat >conftest.$ac_ext <<_ACEOF 18719/* confdefs.h. */ 18720_ACEOF 18721cat confdefs.h >>conftest.$ac_ext 18722cat >>conftest.$ac_ext <<_ACEOF 18723/* end confdefs.h. */ 18724 18725/* Override any GCC internal prototype to avoid an error. 18726 Use char because int might match the return type of a GCC 18727 builtin and then its argument prototype would still apply. */ 18728#ifdef __cplusplus 18729extern "C" 18730#endif 18731char hspell_get_dictionary_path (); 18732int 18733main () 18734{ 18735return hspell_get_dictionary_path (); 18736 ; 18737 return 0; 18738} 18739_ACEOF 18740rm -f conftest.$ac_objext conftest$ac_exeext 18741if { (ac_try="$ac_link" 18742case "(($ac_try" in 18743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18744 *) ac_try_echo=$ac_try;; 18745esac 18746eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18747$as_echo "$ac_try_echo") >&5 18748 (eval "$ac_link") 2>conftest.er1 18749 ac_status=$? 18750 grep -v '^ *+' conftest.er1 >conftest.err 18751 rm -f conftest.er1 18752 cat conftest.err >&5 18753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18754 (exit $ac_status); } && { 18755 test -z "$ac_c_werror_flag" || 18756 test ! -s conftest.err 18757 } && test -s conftest$ac_exeext && { 18758 test "$cross_compiling" = yes || 18759 $as_test_x conftest$ac_exeext 18760 }; then 18761 ac_cv_lib_hspell_hspell_get_dictionary_path=yes 18762else 18763 $as_echo "$as_me: failed program was:" >&5 18764sed 's/^/| /' conftest.$ac_ext >&5 18765 18766 ac_cv_lib_hspell_hspell_get_dictionary_path=no 18767fi 18768 18769rm -rf conftest.dSYM 18770rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18771 conftest$ac_exeext conftest.$ac_ext 18772LIBS=$ac_check_lib_save_LIBS 18773fi 18774{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hspell_hspell_get_dictionary_path" >&5 18775$as_echo "$ac_cv_lib_hspell_hspell_get_dictionary_path" >&6; } 18776if test "x$ac_cv_lib_hspell_hspell_get_dictionary_path" = x""yes; then 18777 build_hspell=yes 18778else 18779 build_hspell=no 18780fi 18781 18782 LDFLAGS=$saved_LDFLAGS 18783 18784 18785 18786fi 18787 18788 if test "$build_hspell" = yes; then 18789 WITH_HSPELL_TRUE= 18790 WITH_HSPELL_FALSE='#' 18791else 18792 WITH_HSPELL_TRUE='#' 18793 WITH_HSPELL_FALSE= 18794fi 18795 18796 18797build_zemberek=no 18798 18799# Check whether --enable-zemberek was given. 18800if test "${enable_zemberek+set}" = set; then 18801 enableval=$enable_zemberek; build_zemberek="$enableval" 18802else 18803 build_zemberek=no 18804fi 18805 18806 18807if test "x$have_cxx" = "xno"; then 18808 build_zemberek=no 18809fi 18810{ $as_echo "$as_me:$LINENO: checking For DBus-Glib >= 0.62" >&5 18811$as_echo_n "checking For DBus-Glib >= 0.62... " >&6; } 18812if pkg-config --atleast-version=0.62 dbus-glib-1; then 18813 ZEMBEREK_CFLAGS=`pkg-config --cflags dbus-glib-1` 18814 ZEMBEREK_LIBS=`pkg-config --libs dbus-glib-1` 18815else 18816 build_zemberek=no 18817fi 18818 18819 18820 18821 18822 if test "x$build_zemberek" = "xyes"; then 18823 WITH_ZEMBEREK_TRUE= 18824 WITH_ZEMBEREK_FALSE='#' 18825else 18826 WITH_ZEMBEREK_TRUE='#' 18827 WITH_ZEMBEREK_FALSE= 18828fi 18829 18830 18831zemberek_dir=${datadir}/enchant/zemberek 18832 18833 18834ac_config_files="$ac_config_files Makefile enchant.pc enchant-uninstalled.pc enchant.spec src/libenchant.rc src/Makefile src/aspell/Makefile src/ispell/Makefile src/uspell/Makefile src/myspell/Makefile src/hspell/Makefile src/applespell/Makefile src/voikko/Makefile src/zemberek/Makefile tests/Makefile tests/ispell doc/Makefile data/Makefile autopackage/default.apspec" 18835 18836cat >confcache <<\_ACEOF 18837# This file is a shell script that caches the results of configure 18838# tests run on this system so they can be shared between configure 18839# scripts and configure runs, see configure's option --config-cache. 18840# It is not useful on other systems. If it contains results you don't 18841# want to keep, you may remove or edit it. 18842# 18843# config.status only pays attention to the cache file if you give it 18844# the --recheck option to rerun configure. 18845# 18846# `ac_cv_env_foo' variables (set or unset) will be overridden when 18847# loading this file, other *unset* `ac_cv_foo' will be assigned the 18848# following values. 18849 18850_ACEOF 18851 18852# The following way of writing the cache mishandles newlines in values, 18853# but we know of no workaround that is simple, portable, and efficient. 18854# So, we kill variables containing newlines. 18855# Ultrix sh set writes to stderr and can't be redirected directly, 18856# and sets the high bit in the cache file unless we assign to the vars. 18857( 18858 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 18859 eval ac_val=\$$ac_var 18860 case $ac_val in #( 18861 *${as_nl}*) 18862 case $ac_var in #( 18863 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 18864$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 18865 esac 18866 case $ac_var in #( 18867 _ | IFS | as_nl) ;; #( 18868 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 18869 *) $as_unset $ac_var ;; 18870 esac ;; 18871 esac 18872 done 18873 18874 (set) 2>&1 | 18875 case $as_nl`(ac_space=' '; set) 2>&1` in #( 18876 *${as_nl}ac_space=\ *) 18877 # `set' does not quote correctly, so add quotes (double-quote 18878 # substitution turns \\\\ into \\, and sed turns \\ into \). 18879 sed -n \ 18880 "s/'/'\\\\''/g; 18881 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 18882 ;; #( 18883 *) 18884 # `set' quotes correctly as required by POSIX, so do not add quotes. 18885 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 18886 ;; 18887 esac | 18888 sort 18889) | 18890 sed ' 18891 /^ac_cv_env_/b end 18892 t clear 18893 :clear 18894 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 18895 t end 18896 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 18897 :end' >>confcache 18898if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 18899 if test -w "$cache_file"; then 18900 test "x$cache_file" != "x/dev/null" && 18901 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 18902$as_echo "$as_me: updating cache $cache_file" >&6;} 18903 cat confcache >$cache_file 18904 else 18905 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 18906$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 18907 fi 18908fi 18909rm -f confcache 18910 18911test "x$prefix" = xNONE && prefix=$ac_default_prefix 18912# Let make expand exec_prefix. 18913test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 18914 18915# Transform confdefs.h into DEFS. 18916# Protect against shell expansion while executing Makefile rules. 18917# Protect against Makefile macro expansion. 18918# 18919# If the first sed substitution is executed (which looks for macros that 18920# take arguments), then branch to the quote section. Otherwise, 18921# look for a macro that doesn't take arguments. 18922ac_script=' 18923:mline 18924/\\$/{ 18925 N 18926 s,\\\n,, 18927 b mline 18928} 18929t clear 18930:clear 18931s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 18932t quote 18933s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 18934t quote 18935b any 18936:quote 18937s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 18938s/\[/\\&/g 18939s/\]/\\&/g 18940s/\$/$$/g 18941H 18942:any 18943${ 18944 g 18945 s/^\n// 18946 s/\n/ /g 18947 p 18948} 18949' 18950DEFS=`sed -n "$ac_script" confdefs.h` 18951 18952 18953ac_libobjs= 18954ac_ltlibobjs= 18955for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 18956 # 1. Remove the extension, and $U if already installed. 18957 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 18958 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 18959 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 18960 # will be set to the directory where LIBOBJS objects are built. 18961 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 18962 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 18963done 18964LIBOBJS=$ac_libobjs 18965 18966LTLIBOBJS=$ac_ltlibobjs 18967 18968 18969 if test -n "$EXEEXT"; then 18970 am__EXEEXT_TRUE= 18971 am__EXEEXT_FALSE='#' 18972else 18973 am__EXEEXT_TRUE='#' 18974 am__EXEEXT_FALSE= 18975fi 18976 18977if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 18978 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 18979Usually this means the macro was only invoked conditionally." >&5 18980$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 18981Usually this means the macro was only invoked conditionally." >&2;} 18982 { (exit 1); exit 1; }; } 18983fi 18984if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 18985 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 18986Usually this means the macro was only invoked conditionally." >&5 18987$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 18988Usually this means the macro was only invoked conditionally." >&2;} 18989 { (exit 1); exit 1; }; } 18990fi 18991if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18992 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 18993Usually this means the macro was only invoked conditionally." >&5 18994$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 18995Usually this means the macro was only invoked conditionally." >&2;} 18996 { (exit 1); exit 1; }; } 18997fi 18998if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 18999 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 19000Usually this means the macro was only invoked conditionally." >&5 19001$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 19002Usually this means the macro was only invoked conditionally." >&2;} 19003 { (exit 1); exit 1; }; } 19004fi 19005if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 19006 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 19007Usually this means the macro was only invoked conditionally." >&5 19008$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 19009Usually this means the macro was only invoked conditionally." >&2;} 19010 { (exit 1); exit 1; }; } 19011fi 19012if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 19013 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 19014Usually this means the macro was only invoked conditionally." >&5 19015$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 19016Usually this means the macro was only invoked conditionally." >&2;} 19017 { (exit 1); exit 1; }; } 19018fi 19019if test -z "${WITH_CXX_TRUE}" && test -z "${WITH_CXX_FALSE}"; then 19020 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_CXX\" was never defined. 19021Usually this means the macro was only invoked conditionally." >&5 19022$as_echo "$as_me: error: conditional \"WITH_CXX\" was never defined. 19023Usually this means the macro was only invoked conditionally." >&2;} 19024 { (exit 1); exit 1; }; } 19025fi 19026if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then 19027 { { $as_echo "$as_me:$LINENO: error: conditional \"OS_WIN32\" was never defined. 19028Usually this means the macro was only invoked conditionally." >&5 19029$as_echo "$as_me: error: conditional \"OS_WIN32\" was never defined. 19030Usually this means the macro was only invoked conditionally." >&2;} 19031 { (exit 1); exit 1; }; } 19032fi 19033if test -z "${WITH_BINRELOC_TRUE}" && test -z "${WITH_BINRELOC_FALSE}"; then 19034 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_BINRELOC\" was never defined. 19035Usually this means the macro was only invoked conditionally." >&5 19036$as_echo "$as_me: error: conditional \"WITH_BINRELOC\" was never defined. 19037Usually this means the macro was only invoked conditionally." >&2;} 19038 { (exit 1); exit 1; }; } 19039fi 19040if test -z "${WITH_ISPELL_TRUE}" && test -z "${WITH_ISPELL_FALSE}"; then 19041 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ISPELL\" was never defined. 19042Usually this means the macro was only invoked conditionally." >&5 19043$as_echo "$as_me: error: conditional \"WITH_ISPELL\" was never defined. 19044Usually this means the macro was only invoked conditionally." >&2;} 19045 { (exit 1); exit 1; }; } 19046fi 19047if test -z "${WITH_MYSPELL_TRUE}" && test -z "${WITH_MYSPELL_FALSE}"; then 19048 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_MYSPELL\" was never defined. 19049Usually this means the macro was only invoked conditionally." >&5 19050$as_echo "$as_me: error: conditional \"WITH_MYSPELL\" was never defined. 19051Usually this means the macro was only invoked conditionally." >&2;} 19052 { (exit 1); exit 1; }; } 19053fi 19054if test -z "${WITH_SYSTEM_MYSPELL_TRUE}" && test -z "${WITH_SYSTEM_MYSPELL_FALSE}"; then 19055 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_SYSTEM_MYSPELL\" was never defined. 19056Usually this means the macro was only invoked conditionally." >&5 19057$as_echo "$as_me: error: conditional \"WITH_SYSTEM_MYSPELL\" was never defined. 19058Usually this means the macro was only invoked conditionally." >&2;} 19059 { (exit 1); exit 1; }; } 19060fi 19061if test -z "${WITH_ASPELL_TRUE}" && test -z "${WITH_ASPELL_FALSE}"; then 19062 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ASPELL\" was never defined. 19063Usually this means the macro was only invoked conditionally." >&5 19064$as_echo "$as_me: error: conditional \"WITH_ASPELL\" was never defined. 19065Usually this means the macro was only invoked conditionally." >&2;} 19066 { (exit 1); exit 1; }; } 19067fi 19068if test -z "${WITH_VOIKKO_TRUE}" && test -z "${WITH_VOIKKO_FALSE}"; then 19069 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_VOIKKO\" was never defined. 19070Usually this means the macro was only invoked conditionally." >&5 19071$as_echo "$as_me: error: conditional \"WITH_VOIKKO\" was never defined. 19072Usually this means the macro was only invoked conditionally." >&2;} 19073 { (exit 1); exit 1; }; } 19074fi 19075if test -z "${WITH_USPELL_TRUE}" && test -z "${WITH_USPELL_FALSE}"; then 19076 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_USPELL\" was never defined. 19077Usually this means the macro was only invoked conditionally." >&5 19078$as_echo "$as_me: error: conditional \"WITH_USPELL\" was never defined. 19079Usually this means the macro was only invoked conditionally." >&2;} 19080 { (exit 1); exit 1; }; } 19081fi 19082if test -z "${WITH_HSPELL_TRUE}" && test -z "${WITH_HSPELL_FALSE}"; then 19083 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_HSPELL\" was never defined. 19084Usually this means the macro was only invoked conditionally." >&5 19085$as_echo "$as_me: error: conditional \"WITH_HSPELL\" was never defined. 19086Usually this means the macro was only invoked conditionally." >&2;} 19087 { (exit 1); exit 1; }; } 19088fi 19089if test -z "${WITH_ZEMBEREK_TRUE}" && test -z "${WITH_ZEMBEREK_FALSE}"; then 19090 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_ZEMBEREK\" was never defined. 19091Usually this means the macro was only invoked conditionally." >&5 19092$as_echo "$as_me: error: conditional \"WITH_ZEMBEREK\" was never defined. 19093Usually this means the macro was only invoked conditionally." >&2;} 19094 { (exit 1); exit 1; }; } 19095fi 19096 19097: ${CONFIG_STATUS=./config.status} 19098ac_write_fail=0 19099ac_clean_files_save=$ac_clean_files 19100ac_clean_files="$ac_clean_files $CONFIG_STATUS" 19101{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 19102$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 19103cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19104#! $SHELL 19105# Generated by $as_me. 19106# Run this file to recreate the current configuration. 19107# Compiler output produced by configure, useful for debugging 19108# configure, is in config.log if it exists. 19109 19110debug=false 19111ac_cs_recheck=false 19112ac_cs_silent=false 19113SHELL=\${CONFIG_SHELL-$SHELL} 19114_ACEOF 19115 19116cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19117## --------------------- ## 19118## M4sh Initialization. ## 19119## --------------------- ## 19120 19121# Be more Bourne compatible 19122DUALCASE=1; export DUALCASE # for MKS sh 19123if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19124 emulate sh 19125 NULLCMD=: 19126 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19127 # is contrary to our usage. Disable this feature. 19128 alias -g '${1+"$@"}'='"$@"' 19129 setopt NO_GLOB_SUBST 19130else 19131 case `(set -o) 2>/dev/null` in 19132 *posix*) set -o posix ;; 19133esac 19134 19135fi 19136 19137 19138 19139 19140# PATH needs CR 19141# Avoid depending upon Character Ranges. 19142as_cr_letters='abcdefghijklmnopqrstuvwxyz' 19143as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 19144as_cr_Letters=$as_cr_letters$as_cr_LETTERS 19145as_cr_digits='0123456789' 19146as_cr_alnum=$as_cr_Letters$as_cr_digits 19147 19148as_nl=' 19149' 19150export as_nl 19151# Printing a long string crashes Solaris 7 /usr/bin/printf. 19152as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 19153as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 19154as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 19155if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 19156 as_echo='printf %s\n' 19157 as_echo_n='printf %s' 19158else 19159 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 19160 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 19161 as_echo_n='/usr/ucb/echo -n' 19162 else 19163 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 19164 as_echo_n_body='eval 19165 arg=$1; 19166 case $arg in 19167 *"$as_nl"*) 19168 expr "X$arg" : "X\\(.*\\)$as_nl"; 19169 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 19170 esac; 19171 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 19172 ' 19173 export as_echo_n_body 19174 as_echo_n='sh -c $as_echo_n_body as_echo' 19175 fi 19176 export as_echo_body 19177 as_echo='sh -c $as_echo_body as_echo' 19178fi 19179 19180# The user is always right. 19181if test "${PATH_SEPARATOR+set}" != set; then 19182 PATH_SEPARATOR=: 19183 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 19184 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 19185 PATH_SEPARATOR=';' 19186 } 19187fi 19188 19189# Support unset when possible. 19190if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 19191 as_unset=unset 19192else 19193 as_unset=false 19194fi 19195 19196 19197# IFS 19198# We need space, tab and new line, in precisely that order. Quoting is 19199# there to prevent editors from complaining about space-tab. 19200# (If _AS_PATH_WALK were called with IFS unset, it would disable word 19201# splitting by setting IFS to empty value.) 19202IFS=" "" $as_nl" 19203 19204# Find who we are. Look in the path if we contain no directory separator. 19205case $0 in 19206 *[\\/]* ) as_myself=$0 ;; 19207 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19208for as_dir in $PATH 19209do 19210 IFS=$as_save_IFS 19211 test -z "$as_dir" && as_dir=. 19212 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 19213done 19214IFS=$as_save_IFS 19215 19216 ;; 19217esac 19218# We did not find ourselves, most probably we were run as `sh COMMAND' 19219# in which case we are not to be found in the path. 19220if test "x$as_myself" = x; then 19221 as_myself=$0 19222fi 19223if test ! -f "$as_myself"; then 19224 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 19225 { (exit 1); exit 1; } 19226fi 19227 19228# Work around bugs in pre-3.0 UWIN ksh. 19229for as_var in ENV MAIL MAILPATH 19230do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 19231done 19232PS1='$ ' 19233PS2='> ' 19234PS4='+ ' 19235 19236# NLS nuisances. 19237LC_ALL=C 19238export LC_ALL 19239LANGUAGE=C 19240export LANGUAGE 19241 19242# Required to use basename. 19243if expr a : '\(a\)' >/dev/null 2>&1 && 19244 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19245 as_expr=expr 19246else 19247 as_expr=false 19248fi 19249 19250if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 19251 as_basename=basename 19252else 19253 as_basename=false 19254fi 19255 19256 19257# Name of the executable. 19258as_me=`$as_basename -- "$0" || 19259$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 19260 X"$0" : 'X\(//\)$' \| \ 19261 X"$0" : 'X\(/\)' \| . 2>/dev/null || 19262$as_echo X/"$0" | 19263 sed '/^.*\/\([^/][^/]*\)\/*$/{ 19264 s//\1/ 19265 q 19266 } 19267 /^X\/\(\/\/\)$/{ 19268 s//\1/ 19269 q 19270 } 19271 /^X\/\(\/\).*/{ 19272 s//\1/ 19273 q 19274 } 19275 s/.*/./; q'` 19276 19277# CDPATH. 19278$as_unset CDPATH 19279 19280 19281 19282 as_lineno_1=$LINENO 19283 as_lineno_2=$LINENO 19284 test "x$as_lineno_1" != "x$as_lineno_2" && 19285 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 19286 19287 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 19288 # uniformly replaced by the line number. The first 'sed' inserts a 19289 # line-number line after each line using $LINENO; the second 'sed' 19290 # does the real work. The second script uses 'N' to pair each 19291 # line-number line with the line containing $LINENO, and appends 19292 # trailing '-' during substitution so that $LINENO is not a special 19293 # case at line end. 19294 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 19295 # scripts with optimization help from Paolo Bonzini. Blame Lee 19296 # E. McMahon (1931-1989) for sed's syntax. :-) 19297 sed -n ' 19298 p 19299 /[$]LINENO/= 19300 ' <$as_myself | 19301 sed ' 19302 s/[$]LINENO.*/&-/ 19303 t lineno 19304 b 19305 :lineno 19306 N 19307 :loop 19308 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 19309 t loop 19310 s/-\n.*// 19311 ' >$as_me.lineno && 19312 chmod +x "$as_me.lineno" || 19313 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 19314 { (exit 1); exit 1; }; } 19315 19316 # Don't try to exec as it changes $[0], causing all sort of problems 19317 # (the dirname of $[0] is not the place where we might find the 19318 # original and so on. Autoconf is especially sensitive to this). 19319 . "./$as_me.lineno" 19320 # Exit status is that of the last command. 19321 exit 19322} 19323 19324 19325if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 19326 as_dirname=dirname 19327else 19328 as_dirname=false 19329fi 19330 19331ECHO_C= ECHO_N= ECHO_T= 19332case `echo -n x` in 19333-n*) 19334 case `echo 'x\c'` in 19335 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 19336 *) ECHO_C='\c';; 19337 esac;; 19338*) 19339 ECHO_N='-n';; 19340esac 19341if expr a : '\(a\)' >/dev/null 2>&1 && 19342 test "X`expr 00001 : '.*\(...\)'`" = X001; then 19343 as_expr=expr 19344else 19345 as_expr=false 19346fi 19347 19348rm -f conf$$ conf$$.exe conf$$.file 19349if test -d conf$$.dir; then 19350 rm -f conf$$.dir/conf$$.file 19351else 19352 rm -f conf$$.dir 19353 mkdir conf$$.dir 2>/dev/null 19354fi 19355if (echo >conf$$.file) 2>/dev/null; then 19356 if ln -s conf$$.file conf$$ 2>/dev/null; then 19357 as_ln_s='ln -s' 19358 # ... but there are two gotchas: 19359 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 19360 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 19361 # In both cases, we have to default to `cp -p'. 19362 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 19363 as_ln_s='cp -p' 19364 elif ln conf$$.file conf$$ 2>/dev/null; then 19365 as_ln_s=ln 19366 else 19367 as_ln_s='cp -p' 19368 fi 19369else 19370 as_ln_s='cp -p' 19371fi 19372rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 19373rmdir conf$$.dir 2>/dev/null 19374 19375if mkdir -p . 2>/dev/null; then 19376 as_mkdir_p=: 19377else 19378 test -d ./-p && rmdir ./-p 19379 as_mkdir_p=false 19380fi 19381 19382if test -x / >/dev/null 2>&1; then 19383 as_test_x='test -x' 19384else 19385 if ls -dL / >/dev/null 2>&1; then 19386 as_ls_L_option=L 19387 else 19388 as_ls_L_option= 19389 fi 19390 as_test_x=' 19391 eval sh -c '\'' 19392 if test -d "$1"; then 19393 test -d "$1/."; 19394 else 19395 case $1 in 19396 -*)set "./$1";; 19397 esac; 19398 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 19399 ???[sx]*):;;*)false;;esac;fi 19400 '\'' sh 19401 ' 19402fi 19403as_executable_p=$as_test_x 19404 19405# Sed expression to map a string onto a valid CPP name. 19406as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 19407 19408# Sed expression to map a string onto a valid variable name. 19409as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 19410 19411 19412exec 6>&1 19413 19414# Save the log message, to keep $[0] and so on meaningful, and to 19415# report actual input values of CONFIG_FILES etc. instead of their 19416# values after options handling. 19417ac_log=" 19418This file was extended by $as_me, which was 19419generated by GNU Autoconf 2.63. Invocation command line was 19420 19421 CONFIG_FILES = $CONFIG_FILES 19422 CONFIG_HEADERS = $CONFIG_HEADERS 19423 CONFIG_LINKS = $CONFIG_LINKS 19424 CONFIG_COMMANDS = $CONFIG_COMMANDS 19425 $ $0 $@ 19426 19427on `(hostname || uname -n) 2>/dev/null | sed 1q` 19428" 19429 19430_ACEOF 19431 19432case $ac_config_files in *" 19433"*) set x $ac_config_files; shift; ac_config_files=$*;; 19434esac 19435 19436 19437 19438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19439# Files that config.status was made for. 19440config_files="$ac_config_files" 19441config_commands="$ac_config_commands" 19442 19443_ACEOF 19444 19445cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19446ac_cs_usage="\ 19447\`$as_me' instantiates files from templates according to the 19448current configuration. 19449 19450Usage: $0 [OPTION]... [FILE]... 19451 19452 -h, --help print this help, then exit 19453 -V, --version print version number and configuration settings, then exit 19454 -q, --quiet, --silent 19455 do not print progress messages 19456 -d, --debug don't remove temporary files 19457 --recheck update $as_me by reconfiguring in the same conditions 19458 --file=FILE[:TEMPLATE] 19459 instantiate the configuration file FILE 19460 19461Configuration files: 19462$config_files 19463 19464Configuration commands: 19465$config_commands 19466 19467Report bugs to <bug-autoconf@gnu.org>." 19468 19469_ACEOF 19470cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19471ac_cs_version="\\ 19472config.status 19473configured by $0, generated by GNU Autoconf 2.63, 19474 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 19475 19476Copyright (C) 2008 Free Software Foundation, Inc. 19477This config.status script is free software; the Free Software Foundation 19478gives unlimited permission to copy, distribute and modify it." 19479 19480ac_pwd='$ac_pwd' 19481srcdir='$srcdir' 19482INSTALL='$INSTALL' 19483MKDIR_P='$MKDIR_P' 19484AWK='$AWK' 19485test -n "\$AWK" || AWK=awk 19486_ACEOF 19487 19488cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19489# The default lists apply if the user does not specify any file. 19490ac_need_defaults=: 19491while test $# != 0 19492do 19493 case $1 in 19494 --*=*) 19495 ac_option=`expr "X$1" : 'X\([^=]*\)='` 19496 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 19497 ac_shift=: 19498 ;; 19499 *) 19500 ac_option=$1 19501 ac_optarg=$2 19502 ac_shift=shift 19503 ;; 19504 esac 19505 19506 case $ac_option in 19507 # Handling of the options. 19508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 19509 ac_cs_recheck=: ;; 19510 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 19511 $as_echo "$ac_cs_version"; exit ;; 19512 --debug | --debu | --deb | --de | --d | -d ) 19513 debug=: ;; 19514 --file | --fil | --fi | --f ) 19515 $ac_shift 19516 case $ac_optarg in 19517 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 19518 esac 19519 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 19520 ac_need_defaults=false;; 19521 --he | --h | --help | --hel | -h ) 19522 $as_echo "$ac_cs_usage"; exit ;; 19523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 19524 | -silent | --silent | --silen | --sile | --sil | --si | --s) 19525 ac_cs_silent=: ;; 19526 19527 # This is an error. 19528 -*) { $as_echo "$as_me: error: unrecognized option: $1 19529Try \`$0 --help' for more information." >&2 19530 { (exit 1); exit 1; }; } ;; 19531 19532 *) ac_config_targets="$ac_config_targets $1" 19533 ac_need_defaults=false ;; 19534 19535 esac 19536 shift 19537done 19538 19539ac_configure_extra_args= 19540 19541if $ac_cs_silent; then 19542 exec 6>/dev/null 19543 ac_configure_extra_args="$ac_configure_extra_args --silent" 19544fi 19545 19546_ACEOF 19547cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19548if \$ac_cs_recheck; then 19549 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 19550 shift 19551 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 19552 CONFIG_SHELL='$SHELL' 19553 export CONFIG_SHELL 19554 exec "\$@" 19555fi 19556 19557_ACEOF 19558cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19559exec 5>>config.log 19560{ 19561 echo 19562 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 19563## Running $as_me. ## 19564_ASBOX 19565 $as_echo "$ac_log" 19566} >&5 19567 19568_ACEOF 19569cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 19570# 19571# INIT-COMMANDS 19572# 19573AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 19574 19575 19576# The HP-UX ksh and POSIX shell print the target directory to stdout 19577# if CDPATH is set. 19578(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 19579 19580sed_quote_subst='$sed_quote_subst' 19581double_quote_subst='$double_quote_subst' 19582delay_variable_subst='$delay_variable_subst' 19583AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 19584DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 19585OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 19586macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 19587macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 19588enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 19589enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 19590pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 19591enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 19592host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 19593host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 19594host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 19595build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 19596build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 19597build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 19598SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 19599Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 19600GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 19601EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 19602FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 19603LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 19604NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 19605LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 19606max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 19607ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 19608exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 19609lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 19610lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 19611lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 19612reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 19613reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19614deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 19615file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 19616AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 19617AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 19618STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 19619RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 19620old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19621old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19622old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19623CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 19624CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 19625compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 19626GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 19627lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 19628lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 19629lt_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"`' 19630lt_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"`' 19631objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 19632SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 19633ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 19634MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 19635lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 19636lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 19637lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 19638lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 19639lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 19640need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 19641DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 19642NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 19643LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 19644OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 19645OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 19646libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 19647shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19648extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19649archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 19650enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 19651export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 19652whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 19653compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 19654old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19655old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19656archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19657archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19658module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19659module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19660with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 19661allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 19662no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 19663hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 19664hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 19665hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 19666hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 19667hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 19668hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 19669hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 19670hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 19671inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 19672link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 19673fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 19674always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 19675export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19676exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 19677include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 19678prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19679file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 19680variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 19681need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 19682need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 19683version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 19684runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 19685shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 19686shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 19687libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 19688library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 19689soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 19690postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19691postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19692finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 19693finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 19694hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 19695sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 19696sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 19697hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 19698enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 19699enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 19700enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 19701old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 19702striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 19703compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 19704predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 19705postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 19706predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 19707postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 19708compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 19709LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19710old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19711compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19712GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19713lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19714lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19715lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19716lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19717lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19718archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19719enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19720export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19721whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19722compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19723old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19724old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19725archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19726archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19727module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19728module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19729with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19730allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19731no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19732hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19733hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19734hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19735hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19736hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19737hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19738hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19739hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19740inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19741link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19742fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19743always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19744export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19745exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19746include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19747prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19748file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19749hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19750compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19751predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19752postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19753predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19754postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19755compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 19756 19757LTCC='$LTCC' 19758LTCFLAGS='$LTCFLAGS' 19759compiler='$compiler_DEFAULT' 19760 19761# Quote evaled strings. 19762for var in SED \ 19763GREP \ 19764EGREP \ 19765FGREP \ 19766LD \ 19767NM \ 19768LN_S \ 19769lt_SP2NL \ 19770lt_NL2SP \ 19771reload_flag \ 19772deplibs_check_method \ 19773file_magic_cmd \ 19774AR \ 19775AR_FLAGS \ 19776STRIP \ 19777RANLIB \ 19778CC \ 19779CFLAGS \ 19780compiler \ 19781lt_cv_sys_global_symbol_pipe \ 19782lt_cv_sys_global_symbol_to_cdecl \ 19783lt_cv_sys_global_symbol_to_c_name_address \ 19784lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 19785SHELL \ 19786ECHO \ 19787lt_prog_compiler_no_builtin_flag \ 19788lt_prog_compiler_wl \ 19789lt_prog_compiler_pic \ 19790lt_prog_compiler_static \ 19791lt_cv_prog_compiler_c_o \ 19792need_locks \ 19793DSYMUTIL \ 19794NMEDIT \ 19795LIPO \ 19796OTOOL \ 19797OTOOL64 \ 19798shrext_cmds \ 19799export_dynamic_flag_spec \ 19800whole_archive_flag_spec \ 19801compiler_needs_object \ 19802with_gnu_ld \ 19803allow_undefined_flag \ 19804no_undefined_flag \ 19805hardcode_libdir_flag_spec \ 19806hardcode_libdir_flag_spec_ld \ 19807hardcode_libdir_separator \ 19808fix_srcfile_path \ 19809exclude_expsyms \ 19810include_expsyms \ 19811file_list_spec \ 19812variables_saved_for_relink \ 19813libname_spec \ 19814library_names_spec \ 19815soname_spec \ 19816finish_eval \ 19817old_striplib \ 19818striplib \ 19819compiler_lib_search_dirs \ 19820predep_objects \ 19821postdep_objects \ 19822predeps \ 19823postdeps \ 19824compiler_lib_search_path \ 19825LD_CXX \ 19826compiler_CXX \ 19827lt_prog_compiler_no_builtin_flag_CXX \ 19828lt_prog_compiler_wl_CXX \ 19829lt_prog_compiler_pic_CXX \ 19830lt_prog_compiler_static_CXX \ 19831lt_cv_prog_compiler_c_o_CXX \ 19832export_dynamic_flag_spec_CXX \ 19833whole_archive_flag_spec_CXX \ 19834compiler_needs_object_CXX \ 19835with_gnu_ld_CXX \ 19836allow_undefined_flag_CXX \ 19837no_undefined_flag_CXX \ 19838hardcode_libdir_flag_spec_CXX \ 19839hardcode_libdir_flag_spec_ld_CXX \ 19840hardcode_libdir_separator_CXX \ 19841fix_srcfile_path_CXX \ 19842exclude_expsyms_CXX \ 19843include_expsyms_CXX \ 19844file_list_spec_CXX \ 19845compiler_lib_search_dirs_CXX \ 19846predep_objects_CXX \ 19847postdep_objects_CXX \ 19848predeps_CXX \ 19849postdeps_CXX \ 19850compiler_lib_search_path_CXX; do 19851 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 19852 *[\\\\\\\`\\"\\\$]*) 19853 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 19854 ;; 19855 *) 19856 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19857 ;; 19858 esac 19859done 19860 19861# Double-quote double-evaled strings. 19862for var in reload_cmds \ 19863old_postinstall_cmds \ 19864old_postuninstall_cmds \ 19865old_archive_cmds \ 19866extract_expsyms_cmds \ 19867old_archive_from_new_cmds \ 19868old_archive_from_expsyms_cmds \ 19869archive_cmds \ 19870archive_expsym_cmds \ 19871module_cmds \ 19872module_expsym_cmds \ 19873export_symbols_cmds \ 19874prelink_cmds \ 19875postinstall_cmds \ 19876postuninstall_cmds \ 19877finish_cmds \ 19878sys_lib_search_path_spec \ 19879sys_lib_dlsearch_path_spec \ 19880old_archive_cmds_CXX \ 19881old_archive_from_new_cmds_CXX \ 19882old_archive_from_expsyms_cmds_CXX \ 19883archive_cmds_CXX \ 19884archive_expsym_cmds_CXX \ 19885module_cmds_CXX \ 19886module_expsym_cmds_CXX \ 19887export_symbols_cmds_CXX \ 19888prelink_cmds_CXX; do 19889 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 19890 *[\\\\\\\`\\"\\\$]*) 19891 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 19892 ;; 19893 *) 19894 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 19895 ;; 19896 esac 19897done 19898 19899# Fix-up fallback echo if it was mangled by the above quoting rules. 19900case \$lt_ECHO in 19901*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 19902 ;; 19903esac 19904 19905ac_aux_dir='$ac_aux_dir' 19906xsi_shell='$xsi_shell' 19907lt_shell_append='$lt_shell_append' 19908 19909# See if we are running on zsh, and set the options which allow our 19910# commands through without removal of \ escapes INIT. 19911if test -n "\${ZSH_VERSION+set}" ; then 19912 setopt NO_GLOB_SUBST 19913fi 19914 19915 19916 PACKAGE='$PACKAGE' 19917 VERSION='$VERSION' 19918 TIMESTAMP='$TIMESTAMP' 19919 RM='$RM' 19920 ofile='$ofile' 19921 19922 19923 19924 19925 19926 19927_ACEOF 19928 19929cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 19930 19931# Handling of arguments. 19932for ac_config_target in $ac_config_targets 19933do 19934 case $ac_config_target in 19935 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 19936 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 19937 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 19938 "enchant.pc") CONFIG_FILES="$CONFIG_FILES enchant.pc" ;; 19939 "enchant-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES enchant-uninstalled.pc" ;; 19940 "enchant.spec") CONFIG_FILES="$CONFIG_FILES enchant.spec" ;; 19941 "src/libenchant.rc") CONFIG_FILES="$CONFIG_FILES src/libenchant.rc" ;; 19942 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 19943 "src/aspell/Makefile") CONFIG_FILES="$CONFIG_FILES src/aspell/Makefile" ;; 19944 "src/ispell/Makefile") CONFIG_FILES="$CONFIG_FILES src/ispell/Makefile" ;; 19945 "src/uspell/Makefile") CONFIG_FILES="$CONFIG_FILES src/uspell/Makefile" ;; 19946 "src/myspell/Makefile") CONFIG_FILES="$CONFIG_FILES src/myspell/Makefile" ;; 19947 "src/hspell/Makefile") CONFIG_FILES="$CONFIG_FILES src/hspell/Makefile" ;; 19948 "src/applespell/Makefile") CONFIG_FILES="$CONFIG_FILES src/applespell/Makefile" ;; 19949 "src/voikko/Makefile") CONFIG_FILES="$CONFIG_FILES src/voikko/Makefile" ;; 19950 "src/zemberek/Makefile") CONFIG_FILES="$CONFIG_FILES src/zemberek/Makefile" ;; 19951 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 19952 "tests/ispell") CONFIG_FILES="$CONFIG_FILES tests/ispell" ;; 19953 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 19954 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 19955 "autopackage/default.apspec") CONFIG_FILES="$CONFIG_FILES autopackage/default.apspec" ;; 19956 19957 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 19958$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 19959 { (exit 1); exit 1; }; };; 19960 esac 19961done 19962 19963 19964# If the user did not use the arguments to specify the items to instantiate, 19965# then the envvar interface is used. Set only those that are not. 19966# We use the long form for the default assignment because of an extremely 19967# bizarre bug on SunOS 4.1.3. 19968if $ac_need_defaults; then 19969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 19970 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 19971fi 19972 19973# Have a temporary directory for convenience. Make it in the build tree 19974# simply because there is no reason against having it here, and in addition, 19975# creating and moving files from /tmp can sometimes cause problems. 19976# Hook for its removal unless debugging. 19977# Note that there is a small window in which the directory will not be cleaned: 19978# after its creation but before its name has been assigned to `$tmp'. 19979$debug || 19980{ 19981 tmp= 19982 trap 'exit_status=$? 19983 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 19984' 0 19985 trap '{ (exit 1); exit 1; }' 1 2 13 15 19986} 19987# Create a (secure) tmp directory for tmp files. 19988 19989{ 19990 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 19991 test -n "$tmp" && test -d "$tmp" 19992} || 19993{ 19994 tmp=./conf$$-$RANDOM 19995 (umask 077 && mkdir "$tmp") 19996} || 19997{ 19998 $as_echo "$as_me: cannot create a temporary directory in ." >&2 19999 { (exit 1); exit 1; } 20000} 20001 20002# Set up the scripts for CONFIG_FILES section. 20003# No need to generate them if there are no CONFIG_FILES. 20004# This happens for instance with `./config.status config.h'. 20005if test -n "$CONFIG_FILES"; then 20006 20007 20008ac_cr=' 20009' 20010ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 20011if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 20012 ac_cs_awk_cr='\\r' 20013else 20014 ac_cs_awk_cr=$ac_cr 20015fi 20016 20017echo 'BEGIN {' >"$tmp/subs1.awk" && 20018_ACEOF 20019 20020 20021{ 20022 echo "cat >conf$$subs.awk <<_ACEOF" && 20023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 20024 echo "_ACEOF" 20025} >conf$$subs.sh || 20026 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20027$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20028 { (exit 1); exit 1; }; } 20029ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 20030ac_delim='%!_!# ' 20031for ac_last_try in false false false false false :; do 20032 . ./conf$$subs.sh || 20033 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20034$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20035 { (exit 1); exit 1; }; } 20036 20037 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 20038 if test $ac_delim_n = $ac_delim_num; then 20039 break 20040 elif $ac_last_try; then 20041 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 20042$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 20043 { (exit 1); exit 1; }; } 20044 else 20045 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 20046 fi 20047done 20048rm -f conf$$subs.sh 20049 20050cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20051cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 20052_ACEOF 20053sed -n ' 20054h 20055s/^/S["/; s/!.*/"]=/ 20056p 20057g 20058s/^[^!]*!// 20059:repl 20060t repl 20061s/'"$ac_delim"'$// 20062t delim 20063:nl 20064h 20065s/\(.\{148\}\).*/\1/ 20066t more1 20067s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 20068p 20069n 20070b repl 20071:more1 20072s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20073p 20074g 20075s/.\{148\}// 20076t nl 20077:delim 20078h 20079s/\(.\{148\}\).*/\1/ 20080t more2 20081s/["\\]/\\&/g; s/^/"/; s/$/"/ 20082p 20083b 20084:more2 20085s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 20086p 20087g 20088s/.\{148\}// 20089t delim 20090' <conf$$subs.awk | sed ' 20091/^[^""]/{ 20092 N 20093 s/\n// 20094} 20095' >>$CONFIG_STATUS || ac_write_fail=1 20096rm -f conf$$subs.awk 20097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20098_ACAWK 20099cat >>"\$tmp/subs1.awk" <<_ACAWK && 20100 for (key in S) S_is_set[key] = 1 20101 FS = "" 20102 20103} 20104{ 20105 line = $ 0 20106 nfields = split(line, field, "@") 20107 substed = 0 20108 len = length(field[1]) 20109 for (i = 2; i < nfields; i++) { 20110 key = field[i] 20111 keylen = length(key) 20112 if (S_is_set[key]) { 20113 value = S[key] 20114 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 20115 len += length(value) + length(field[++i]) 20116 substed = 1 20117 } else 20118 len += 1 + keylen 20119 } 20120 20121 print line 20122} 20123 20124_ACAWK 20125_ACEOF 20126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20127if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 20128 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 20129else 20130 cat 20131fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 20132 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 20133$as_echo "$as_me: error: could not setup config files machinery" >&2;} 20134 { (exit 1); exit 1; }; } 20135_ACEOF 20136 20137# VPATH may cause trouble with some makes, so we remove $(srcdir), 20138# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 20139# trailing colons and then remove the whole line if VPATH becomes empty 20140# (actually we leave an empty line to preserve line numbers). 20141if test "x$srcdir" = x.; then 20142 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 20143s/:*\$(srcdir):*/:/ 20144s/:*\${srcdir}:*/:/ 20145s/:*@srcdir@:*/:/ 20146s/^\([^=]*=[ ]*\):*/\1/ 20147s/:*$// 20148s/^[^=]*=[ ]*$// 20149}' 20150fi 20151 20152cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20153fi # test -n "$CONFIG_FILES" 20154 20155 20156eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 20157shift 20158for ac_tag 20159do 20160 case $ac_tag in 20161 :[FHLC]) ac_mode=$ac_tag; continue;; 20162 esac 20163 case $ac_mode$ac_tag in 20164 :[FHL]*:*);; 20165 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 20166$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 20167 { (exit 1); exit 1; }; };; 20168 :[FH]-) ac_tag=-:-;; 20169 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 20170 esac 20171 ac_save_IFS=$IFS 20172 IFS=: 20173 set x $ac_tag 20174 IFS=$ac_save_IFS 20175 shift 20176 ac_file=$1 20177 shift 20178 20179 case $ac_mode in 20180 :L) ac_source=$1;; 20181 :[FH]) 20182 ac_file_inputs= 20183 for ac_f 20184 do 20185 case $ac_f in 20186 -) ac_f="$tmp/stdin";; 20187 *) # Look for the file first in the build tree, then in the source tree 20188 # (if the path is not absolute). The absolute path cannot be DOS-style, 20189 # because $ac_f cannot contain `:'. 20190 test -f "$ac_f" || 20191 case $ac_f in 20192 [\\/$]*) false;; 20193 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 20194 esac || 20195 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 20196$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 20197 { (exit 1); exit 1; }; };; 20198 esac 20199 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 20200 ac_file_inputs="$ac_file_inputs '$ac_f'" 20201 done 20202 20203 # Let's still pretend it is `configure' which instantiates (i.e., don't 20204 # use $as_me), people would be surprised to read: 20205 # /* config.h. Generated by config.status. */ 20206 configure_input='Generated from '` 20207 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 20208 `' by configure.' 20209 if test x"$ac_file" != x-; then 20210 configure_input="$ac_file. $configure_input" 20211 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 20212$as_echo "$as_me: creating $ac_file" >&6;} 20213 fi 20214 # Neutralize special characters interpreted by sed in replacement strings. 20215 case $configure_input in #( 20216 *\&* | *\|* | *\\* ) 20217 ac_sed_conf_input=`$as_echo "$configure_input" | 20218 sed 's/[\\\\&|]/\\\\&/g'`;; #( 20219 *) ac_sed_conf_input=$configure_input;; 20220 esac 20221 20222 case $ac_tag in 20223 *:-:* | *:-) cat >"$tmp/stdin" \ 20224 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 20225$as_echo "$as_me: error: could not create $ac_file" >&2;} 20226 { (exit 1); exit 1; }; } ;; 20227 esac 20228 ;; 20229 esac 20230 20231 ac_dir=`$as_dirname -- "$ac_file" || 20232$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20233 X"$ac_file" : 'X\(//\)[^/]' \| \ 20234 X"$ac_file" : 'X\(//\)$' \| \ 20235 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 20236$as_echo X"$ac_file" | 20237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20238 s//\1/ 20239 q 20240 } 20241 /^X\(\/\/\)[^/].*/{ 20242 s//\1/ 20243 q 20244 } 20245 /^X\(\/\/\)$/{ 20246 s//\1/ 20247 q 20248 } 20249 /^X\(\/\).*/{ 20250 s//\1/ 20251 q 20252 } 20253 s/.*/./; q'` 20254 { as_dir="$ac_dir" 20255 case $as_dir in #( 20256 -*) as_dir=./$as_dir;; 20257 esac 20258 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 20259 as_dirs= 20260 while :; do 20261 case $as_dir in #( 20262 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 20263 *) as_qdir=$as_dir;; 20264 esac 20265 as_dirs="'$as_qdir' $as_dirs" 20266 as_dir=`$as_dirname -- "$as_dir" || 20267$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20268 X"$as_dir" : 'X\(//\)[^/]' \| \ 20269 X"$as_dir" : 'X\(//\)$' \| \ 20270 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 20271$as_echo X"$as_dir" | 20272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20273 s//\1/ 20274 q 20275 } 20276 /^X\(\/\/\)[^/].*/{ 20277 s//\1/ 20278 q 20279 } 20280 /^X\(\/\/\)$/{ 20281 s//\1/ 20282 q 20283 } 20284 /^X\(\/\).*/{ 20285 s//\1/ 20286 q 20287 } 20288 s/.*/./; q'` 20289 test -d "$as_dir" && break 20290 done 20291 test -z "$as_dirs" || eval "mkdir $as_dirs" 20292 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 20293$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 20294 { (exit 1); exit 1; }; }; } 20295 ac_builddir=. 20296 20297case "$ac_dir" in 20298.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 20299*) 20300 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 20301 # A ".." for each directory in $ac_dir_suffix. 20302 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 20303 case $ac_top_builddir_sub in 20304 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 20305 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 20306 esac ;; 20307esac 20308ac_abs_top_builddir=$ac_pwd 20309ac_abs_builddir=$ac_pwd$ac_dir_suffix 20310# for backward compatibility: 20311ac_top_builddir=$ac_top_build_prefix 20312 20313case $srcdir in 20314 .) # We are building in place. 20315 ac_srcdir=. 20316 ac_top_srcdir=$ac_top_builddir_sub 20317 ac_abs_top_srcdir=$ac_pwd ;; 20318 [\\/]* | ?:[\\/]* ) # Absolute name. 20319 ac_srcdir=$srcdir$ac_dir_suffix; 20320 ac_top_srcdir=$srcdir 20321 ac_abs_top_srcdir=$srcdir ;; 20322 *) # Relative name. 20323 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 20324 ac_top_srcdir=$ac_top_build_prefix$srcdir 20325 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 20326esac 20327ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 20328 20329 20330 case $ac_mode in 20331 :F) 20332 # 20333 # CONFIG_FILE 20334 # 20335 20336 case $INSTALL in 20337 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 20338 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 20339 esac 20340 ac_MKDIR_P=$MKDIR_P 20341 case $MKDIR_P in 20342 [\\/$]* | ?:[\\/]* ) ;; 20343 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 20344 esac 20345_ACEOF 20346 20347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20348# If the template does not know about datarootdir, expand it. 20349# FIXME: This hack should be removed a few years after 2.60. 20350ac_datarootdir_hack=; ac_datarootdir_seen= 20351 20352ac_sed_dataroot=' 20353/datarootdir/ { 20354 p 20355 q 20356} 20357/@datadir@/p 20358/@docdir@/p 20359/@infodir@/p 20360/@localedir@/p 20361/@mandir@/p 20362' 20363case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 20364*datarootdir*) ac_datarootdir_seen=yes;; 20365*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 20366 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 20367$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 20368_ACEOF 20369cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20370 ac_datarootdir_hack=' 20371 s&@datadir@&$datadir&g 20372 s&@docdir@&$docdir&g 20373 s&@infodir@&$infodir&g 20374 s&@localedir@&$localedir&g 20375 s&@mandir@&$mandir&g 20376 s&\\\${datarootdir}&$datarootdir&g' ;; 20377esac 20378_ACEOF 20379 20380# Neutralize VPATH when `$srcdir' = `.'. 20381# Shell code in configure.ac might set extrasub. 20382# FIXME: do we really want to maintain this feature? 20383cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 20384ac_sed_extra="$ac_vpsub 20385$extrasub 20386_ACEOF 20387cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 20388:t 20389/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 20390s|@configure_input@|$ac_sed_conf_input|;t t 20391s&@top_builddir@&$ac_top_builddir_sub&;t t 20392s&@top_build_prefix@&$ac_top_build_prefix&;t t 20393s&@srcdir@&$ac_srcdir&;t t 20394s&@abs_srcdir@&$ac_abs_srcdir&;t t 20395s&@top_srcdir@&$ac_top_srcdir&;t t 20396s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 20397s&@builddir@&$ac_builddir&;t t 20398s&@abs_builddir@&$ac_abs_builddir&;t t 20399s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 20400s&@INSTALL@&$ac_INSTALL&;t t 20401s&@MKDIR_P@&$ac_MKDIR_P&;t t 20402$ac_datarootdir_hack 20403" 20404eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 20405 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 20406$as_echo "$as_me: error: could not create $ac_file" >&2;} 20407 { (exit 1); exit 1; }; } 20408 20409test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 20410 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 20411 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 20412 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20413which seems to be undefined. Please make sure it is defined." >&5 20414$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 20415which seems to be undefined. Please make sure it is defined." >&2;} 20416 20417 rm -f "$tmp/stdin" 20418 case $ac_file in 20419 -) cat "$tmp/out" && rm -f "$tmp/out";; 20420 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 20421 esac \ 20422 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 20423$as_echo "$as_me: error: could not create $ac_file" >&2;} 20424 { (exit 1); exit 1; }; } 20425 ;; 20426 20427 20428 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 20429$as_echo "$as_me: executing $ac_file commands" >&6;} 20430 ;; 20431 esac 20432 20433 20434 case $ac_file$ac_mode in 20435 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 20436 # Autoconf 2.62 quotes --file arguments for eval, but not when files 20437 # are listed without --file. Let's play safe and only enable the eval 20438 # if we detect the quoting. 20439 case $CONFIG_FILES in 20440 *\'*) eval set x "$CONFIG_FILES" ;; 20441 *) set x $CONFIG_FILES ;; 20442 esac 20443 shift 20444 for mf 20445 do 20446 # Strip MF so we end up with the name of the file. 20447 mf=`echo "$mf" | sed -e 's/:.*$//'` 20448 # Check whether this is an Automake generated Makefile or not. 20449 # We used to match only the files named `Makefile.in', but 20450 # some people rename them; so instead we look at the file content. 20451 # Grep'ing the first line is not enough: some people post-process 20452 # each Makefile.in and add a new line on top of each file to say so. 20453 # Grep'ing the whole file is not good either: AIX grep has a line 20454 # limit of 2048, but all sed's we know have understand at least 4000. 20455 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 20456 dirpart=`$as_dirname -- "$mf" || 20457$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20458 X"$mf" : 'X\(//\)[^/]' \| \ 20459 X"$mf" : 'X\(//\)$' \| \ 20460 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 20461$as_echo X"$mf" | 20462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20463 s//\1/ 20464 q 20465 } 20466 /^X\(\/\/\)[^/].*/{ 20467 s//\1/ 20468 q 20469 } 20470 /^X\(\/\/\)$/{ 20471 s//\1/ 20472 q 20473 } 20474 /^X\(\/\).*/{ 20475 s//\1/ 20476 q 20477 } 20478 s/.*/./; q'` 20479 else 20480 continue 20481 fi 20482 # Extract the definition of DEPDIR, am__include, and am__quote 20483 # from the Makefile without running `make'. 20484 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 20485 test -z "$DEPDIR" && continue 20486 am__include=`sed -n 's/^am__include = //p' < "$mf"` 20487 test -z "am__include" && continue 20488 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 20489 # When using ansi2knr, U may be empty or an underscore; expand it 20490 U=`sed -n 's/^U = //p' < "$mf"` 20491 # Find all dependency output files, they are included files with 20492 # $(DEPDIR) in their names. We invoke sed twice because it is the 20493 # simplest approach to changing $(DEPDIR) to its actual value in the 20494 # expansion. 20495 for file in `sed -n " 20496 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 20497 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 20498 # Make sure the directory exists. 20499 test -f "$dirpart/$file" && continue 20500 fdir=`$as_dirname -- "$file" || 20501$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20502 X"$file" : 'X\(//\)[^/]' \| \ 20503 X"$file" : 'X\(//\)$' \| \ 20504 X"$file" : 'X\(/\)' \| . 2>/dev/null || 20505$as_echo X"$file" | 20506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20507 s//\1/ 20508 q 20509 } 20510 /^X\(\/\/\)[^/].*/{ 20511 s//\1/ 20512 q 20513 } 20514 /^X\(\/\/\)$/{ 20515 s//\1/ 20516 q 20517 } 20518 /^X\(\/\).*/{ 20519 s//\1/ 20520 q 20521 } 20522 s/.*/./; q'` 20523 { as_dir=$dirpart/$fdir 20524 case $as_dir in #( 20525 -*) as_dir=./$as_dir;; 20526 esac 20527 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 20528 as_dirs= 20529 while :; do 20530 case $as_dir in #( 20531 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 20532 *) as_qdir=$as_dir;; 20533 esac 20534 as_dirs="'$as_qdir' $as_dirs" 20535 as_dir=`$as_dirname -- "$as_dir" || 20536$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 20537 X"$as_dir" : 'X\(//\)[^/]' \| \ 20538 X"$as_dir" : 'X\(//\)$' \| \ 20539 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 20540$as_echo X"$as_dir" | 20541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 20542 s//\1/ 20543 q 20544 } 20545 /^X\(\/\/\)[^/].*/{ 20546 s//\1/ 20547 q 20548 } 20549 /^X\(\/\/\)$/{ 20550 s//\1/ 20551 q 20552 } 20553 /^X\(\/\).*/{ 20554 s//\1/ 20555 q 20556 } 20557 s/.*/./; q'` 20558 test -d "$as_dir" && break 20559 done 20560 test -z "$as_dirs" || eval "mkdir $as_dirs" 20561 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 20562$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 20563 { (exit 1); exit 1; }; }; } 20564 # echo "creating $dirpart/$file" 20565 echo '# dummy' > "$dirpart/$file" 20566 done 20567 done 20568} 20569 ;; 20570 "libtool":C) 20571 20572 # See if we are running on zsh, and set the options which allow our 20573 # commands through without removal of \ escapes. 20574 if test -n "${ZSH_VERSION+set}" ; then 20575 setopt NO_GLOB_SUBST 20576 fi 20577 20578 cfgfile="${ofile}T" 20579 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 20580 $RM "$cfgfile" 20581 20582 cat <<_LT_EOF >> "$cfgfile" 20583#! $SHELL 20584 20585# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 20586# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 20587# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 20588# NOTE: Changes made to this file will be lost: look at ltmain.sh. 20589# 20590# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 20591# 2006, 2007, 2008 Free Software Foundation, Inc. 20592# Written by Gordon Matzigkeit, 1996 20593# 20594# This file is part of GNU Libtool. 20595# 20596# GNU Libtool is free software; you can redistribute it and/or 20597# modify it under the terms of the GNU General Public License as 20598# published by the Free Software Foundation; either version 2 of 20599# the License, or (at your option) any later version. 20600# 20601# As a special exception to the GNU General Public License, 20602# if you distribute this file as part of a program or library that 20603# is built using GNU Libtool, you may include this file under the 20604# same distribution terms that you use for the rest of that program. 20605# 20606# GNU Libtool is distributed in the hope that it will be useful, 20607# but WITHOUT ANY WARRANTY; without even the implied warranty of 20608# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20609# GNU General Public License for more details. 20610# 20611# You should have received a copy of the GNU General Public License 20612# along with GNU Libtool; see the file COPYING. If not, a copy 20613# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 20614# obtained by writing to the Free Software Foundation, Inc., 20615# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20616 20617 20618# The names of the tagged configurations supported by this script. 20619available_tags="CXX " 20620 20621# ### BEGIN LIBTOOL CONFIG 20622 20623# Assembler program. 20624AS=$AS 20625 20626# DLL creation program. 20627DLLTOOL=$DLLTOOL 20628 20629# Object dumper program. 20630OBJDUMP=$OBJDUMP 20631 20632# Which release of libtool.m4 was used? 20633macro_version=$macro_version 20634macro_revision=$macro_revision 20635 20636# Whether or not to build shared libraries. 20637build_libtool_libs=$enable_shared 20638 20639# Whether or not to build static libraries. 20640build_old_libs=$enable_static 20641 20642# What type of objects to build. 20643pic_mode=$pic_mode 20644 20645# Whether or not to optimize for fast installation. 20646fast_install=$enable_fast_install 20647 20648# The host system. 20649host_alias=$host_alias 20650host=$host 20651host_os=$host_os 20652 20653# The build system. 20654build_alias=$build_alias 20655build=$build 20656build_os=$build_os 20657 20658# A sed program that does not truncate output. 20659SED=$lt_SED 20660 20661# Sed that helps us avoid accidentally triggering echo(1) options like -n. 20662Xsed="\$SED -e 1s/^X//" 20663 20664# A grep program that handles long lines. 20665GREP=$lt_GREP 20666 20667# An ERE matcher. 20668EGREP=$lt_EGREP 20669 20670# A literal string matcher. 20671FGREP=$lt_FGREP 20672 20673# A BSD- or MS-compatible name lister. 20674NM=$lt_NM 20675 20676# Whether we need soft or hard links. 20677LN_S=$lt_LN_S 20678 20679# What is the maximum length of a command? 20680max_cmd_len=$max_cmd_len 20681 20682# Object file suffix (normally "o"). 20683objext=$ac_objext 20684 20685# Executable file suffix (normally ""). 20686exeext=$exeext 20687 20688# whether the shell understands "unset". 20689lt_unset=$lt_unset 20690 20691# turn spaces into newlines. 20692SP2NL=$lt_lt_SP2NL 20693 20694# turn newlines into spaces. 20695NL2SP=$lt_lt_NL2SP 20696 20697# How to create reloadable object files. 20698reload_flag=$lt_reload_flag 20699reload_cmds=$lt_reload_cmds 20700 20701# Method to check whether dependent libraries are shared objects. 20702deplibs_check_method=$lt_deplibs_check_method 20703 20704# Command to use when deplibs_check_method == "file_magic". 20705file_magic_cmd=$lt_file_magic_cmd 20706 20707# The archiver. 20708AR=$lt_AR 20709AR_FLAGS=$lt_AR_FLAGS 20710 20711# A symbol stripping program. 20712STRIP=$lt_STRIP 20713 20714# Commands used to install an old-style archive. 20715RANLIB=$lt_RANLIB 20716old_postinstall_cmds=$lt_old_postinstall_cmds 20717old_postuninstall_cmds=$lt_old_postuninstall_cmds 20718 20719# A C compiler. 20720LTCC=$lt_CC 20721 20722# LTCC compiler flags. 20723LTCFLAGS=$lt_CFLAGS 20724 20725# Take the output of nm and produce a listing of raw symbols and C names. 20726global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 20727 20728# Transform the output of nm in a proper C declaration. 20729global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 20730 20731# Transform the output of nm in a C name address pair. 20732global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 20733 20734# Transform the output of nm in a C name address pair when lib prefix is needed. 20735global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 20736 20737# The name of the directory that contains temporary libtool files. 20738objdir=$objdir 20739 20740# Shell to use when invoking shell scripts. 20741SHELL=$lt_SHELL 20742 20743# An echo program that does not interpret backslashes. 20744ECHO=$lt_ECHO 20745 20746# Used to examine libraries when file_magic_cmd begins with "file". 20747MAGIC_CMD=$MAGIC_CMD 20748 20749# Must we lock files when doing compilation? 20750need_locks=$lt_need_locks 20751 20752# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 20753DSYMUTIL=$lt_DSYMUTIL 20754 20755# Tool to change global to local symbols on Mac OS X. 20756NMEDIT=$lt_NMEDIT 20757 20758# Tool to manipulate fat objects and archives on Mac OS X. 20759LIPO=$lt_LIPO 20760 20761# ldd/readelf like tool for Mach-O binaries on Mac OS X. 20762OTOOL=$lt_OTOOL 20763 20764# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 20765OTOOL64=$lt_OTOOL64 20766 20767# Old archive suffix (normally "a"). 20768libext=$libext 20769 20770# Shared library suffix (normally ".so"). 20771shrext_cmds=$lt_shrext_cmds 20772 20773# The commands to extract the exported symbol list from a shared archive. 20774extract_expsyms_cmds=$lt_extract_expsyms_cmds 20775 20776# Variables whose values should be saved in libtool wrapper scripts and 20777# restored at link time. 20778variables_saved_for_relink=$lt_variables_saved_for_relink 20779 20780# Do we need the "lib" prefix for modules? 20781need_lib_prefix=$need_lib_prefix 20782 20783# Do we need a version for libraries? 20784need_version=$need_version 20785 20786# Library versioning type. 20787version_type=$version_type 20788 20789# Shared library runtime path variable. 20790runpath_var=$runpath_var 20791 20792# Shared library path variable. 20793shlibpath_var=$shlibpath_var 20794 20795# Is shlibpath searched before the hard-coded library search path? 20796shlibpath_overrides_runpath=$shlibpath_overrides_runpath 20797 20798# Format of library name prefix. 20799libname_spec=$lt_libname_spec 20800 20801# List of archive names. First name is the real one, the rest are links. 20802# The last name is the one that the linker finds with -lNAME 20803library_names_spec=$lt_library_names_spec 20804 20805# The coded name of the library, if different from the real name. 20806soname_spec=$lt_soname_spec 20807 20808# Command to use after installation of a shared archive. 20809postinstall_cmds=$lt_postinstall_cmds 20810 20811# Command to use after uninstallation of a shared archive. 20812postuninstall_cmds=$lt_postuninstall_cmds 20813 20814# Commands used to finish a libtool library installation in a directory. 20815finish_cmds=$lt_finish_cmds 20816 20817# As "finish_cmds", except a single script fragment to be evaled but 20818# not shown. 20819finish_eval=$lt_finish_eval 20820 20821# Whether we should hardcode library paths into libraries. 20822hardcode_into_libs=$hardcode_into_libs 20823 20824# Compile-time system search path for libraries. 20825sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 20826 20827# Run-time system search path for libraries. 20828sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 20829 20830# Whether dlopen is supported. 20831dlopen_support=$enable_dlopen 20832 20833# Whether dlopen of programs is supported. 20834dlopen_self=$enable_dlopen_self 20835 20836# Whether dlopen of statically linked programs is supported. 20837dlopen_self_static=$enable_dlopen_self_static 20838 20839# Commands to strip libraries. 20840old_striplib=$lt_old_striplib 20841striplib=$lt_striplib 20842 20843 20844# The linker used to build libraries. 20845LD=$lt_LD 20846 20847# Commands used to build an old-style archive. 20848old_archive_cmds=$lt_old_archive_cmds 20849 20850# A language specific compiler. 20851CC=$lt_compiler 20852 20853# Is the compiler the GNU compiler? 20854with_gcc=$GCC 20855 20856# Compiler flag to turn off builtin functions. 20857no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 20858 20859# How to pass a linker flag through the compiler. 20860wl=$lt_lt_prog_compiler_wl 20861 20862# Additional compiler flags for building library objects. 20863pic_flag=$lt_lt_prog_compiler_pic 20864 20865# Compiler flag to prevent dynamic linking. 20866link_static_flag=$lt_lt_prog_compiler_static 20867 20868# Does compiler simultaneously support -c and -o options? 20869compiler_c_o=$lt_lt_cv_prog_compiler_c_o 20870 20871# Whether or not to add -lc for building shared libraries. 20872build_libtool_need_lc=$archive_cmds_need_lc 20873 20874# Whether or not to disallow shared libs when runtime libs are static. 20875allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 20876 20877# Compiler flag to allow reflexive dlopens. 20878export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 20879 20880# Compiler flag to generate shared objects directly from archives. 20881whole_archive_flag_spec=$lt_whole_archive_flag_spec 20882 20883# Whether the compiler copes with passing no objects directly. 20884compiler_needs_object=$lt_compiler_needs_object 20885 20886# Create an old-style archive from a shared archive. 20887old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 20888 20889# Create a temporary old-style archive to link instead of a shared archive. 20890old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 20891 20892# Commands used to build a shared archive. 20893archive_cmds=$lt_archive_cmds 20894archive_expsym_cmds=$lt_archive_expsym_cmds 20895 20896# Commands used to build a loadable module if different from building 20897# a shared archive. 20898module_cmds=$lt_module_cmds 20899module_expsym_cmds=$lt_module_expsym_cmds 20900 20901# Whether we are building with GNU ld or not. 20902with_gnu_ld=$lt_with_gnu_ld 20903 20904# Flag that allows shared libraries with undefined symbols to be built. 20905allow_undefined_flag=$lt_allow_undefined_flag 20906 20907# Flag that enforces no undefined symbols. 20908no_undefined_flag=$lt_no_undefined_flag 20909 20910# Flag to hardcode \$libdir into a binary during linking. 20911# This must work even if \$libdir does not exist 20912hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 20913 20914# If ld is used when linking, flag to hardcode \$libdir into a binary 20915# during linking. This must work even if \$libdir does not exist. 20916hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 20917 20918# Whether we need a single "-rpath" flag with a separated argument. 20919hardcode_libdir_separator=$lt_hardcode_libdir_separator 20920 20921# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 20922# DIR into the resulting binary. 20923hardcode_direct=$hardcode_direct 20924 20925# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 20926# DIR into the resulting binary and the resulting library dependency is 20927# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 20928# library is relocated. 20929hardcode_direct_absolute=$hardcode_direct_absolute 20930 20931# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20932# into the resulting binary. 20933hardcode_minus_L=$hardcode_minus_L 20934 20935# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20936# into the resulting binary. 20937hardcode_shlibpath_var=$hardcode_shlibpath_var 20938 20939# Set to "yes" if building a shared library automatically hardcodes DIR 20940# into the library and all subsequent libraries and executables linked 20941# against it. 20942hardcode_automatic=$hardcode_automatic 20943 20944# Set to yes if linker adds runtime paths of dependent libraries 20945# to runtime path list. 20946inherit_rpath=$inherit_rpath 20947 20948# Whether libtool must link a program against all its dependency libraries. 20949link_all_deplibs=$link_all_deplibs 20950 20951# Fix the shell variable \$srcfile for the compiler. 20952fix_srcfile_path=$lt_fix_srcfile_path 20953 20954# Set to "yes" if exported symbols are required. 20955always_export_symbols=$always_export_symbols 20956 20957# The commands to list exported symbols. 20958export_symbols_cmds=$lt_export_symbols_cmds 20959 20960# Symbols that should not be listed in the preloaded symbols. 20961exclude_expsyms=$lt_exclude_expsyms 20962 20963# Symbols that must always be exported. 20964include_expsyms=$lt_include_expsyms 20965 20966# Commands necessary for linking programs (against libraries) with templates. 20967prelink_cmds=$lt_prelink_cmds 20968 20969# Specify filename containing input files. 20970file_list_spec=$lt_file_list_spec 20971 20972# How to hardcode a shared library path into an executable. 20973hardcode_action=$hardcode_action 20974 20975# The directories searched by this compiler when creating a shared library. 20976compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 20977 20978# Dependencies to place before and after the objects being linked to 20979# create a shared library. 20980predep_objects=$lt_predep_objects 20981postdep_objects=$lt_postdep_objects 20982predeps=$lt_predeps 20983postdeps=$lt_postdeps 20984 20985# The library search path used internally by the compiler when linking 20986# a shared library. 20987compiler_lib_search_path=$lt_compiler_lib_search_path 20988 20989# ### END LIBTOOL CONFIG 20990 20991_LT_EOF 20992 20993 case $host_os in 20994 aix3*) 20995 cat <<\_LT_EOF >> "$cfgfile" 20996# AIX sometimes has problems with the GCC collect2 program. For some 20997# reason, if we set the COLLECT_NAMES environment variable, the problems 20998# vanish in a puff of smoke. 20999if test "X${COLLECT_NAMES+set}" != Xset; then 21000 COLLECT_NAMES= 21001 export COLLECT_NAMES 21002fi 21003_LT_EOF 21004 ;; 21005 esac 21006 21007 21008ltmain="$ac_aux_dir/ltmain.sh" 21009 21010 21011 # We use sed instead of cat because bash on DJGPP gets confused if 21012 # if finds mixed CR/LF and LF-only lines. Since sed operates in 21013 # text mode, it properly converts lines to CR/LF. This bash problem 21014 # is reportedly fixed, but why not run on old versions too? 21015 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 21016 || (rm -f "$cfgfile"; exit 1) 21017 21018 case $xsi_shell in 21019 yes) 21020 cat << \_LT_EOF >> "$cfgfile" 21021 21022# func_dirname file append nondir_replacement 21023# Compute the dirname of FILE. If nonempty, add APPEND to the result, 21024# otherwise set result to NONDIR_REPLACEMENT. 21025func_dirname () 21026{ 21027 case ${1} in 21028 */*) func_dirname_result="${1%/*}${2}" ;; 21029 * ) func_dirname_result="${3}" ;; 21030 esac 21031} 21032 21033# func_basename file 21034func_basename () 21035{ 21036 func_basename_result="${1##*/}" 21037} 21038 21039# func_dirname_and_basename file append nondir_replacement 21040# perform func_basename and func_dirname in a single function 21041# call: 21042# dirname: Compute the dirname of FILE. If nonempty, 21043# add APPEND to the result, otherwise set result 21044# to NONDIR_REPLACEMENT. 21045# value returned in "$func_dirname_result" 21046# basename: Compute filename of FILE. 21047# value retuned in "$func_basename_result" 21048# Implementation must be kept synchronized with func_dirname 21049# and func_basename. For efficiency, we do not delegate to 21050# those functions but instead duplicate the functionality here. 21051func_dirname_and_basename () 21052{ 21053 case ${1} in 21054 */*) func_dirname_result="${1%/*}${2}" ;; 21055 * ) func_dirname_result="${3}" ;; 21056 esac 21057 func_basename_result="${1##*/}" 21058} 21059 21060# func_stripname prefix suffix name 21061# strip PREFIX and SUFFIX off of NAME. 21062# PREFIX and SUFFIX must not contain globbing or regex special 21063# characters, hashes, percent signs, but SUFFIX may contain a leading 21064# dot (in which case that matches only a dot). 21065func_stripname () 21066{ 21067 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 21068 # positional parameters, so assign one to ordinary parameter first. 21069 func_stripname_result=${3} 21070 func_stripname_result=${func_stripname_result#"${1}"} 21071 func_stripname_result=${func_stripname_result%"${2}"} 21072} 21073 21074# func_opt_split 21075func_opt_split () 21076{ 21077 func_opt_split_opt=${1%%=*} 21078 func_opt_split_arg=${1#*=} 21079} 21080 21081# func_lo2o object 21082func_lo2o () 21083{ 21084 case ${1} in 21085 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 21086 *) func_lo2o_result=${1} ;; 21087 esac 21088} 21089 21090# func_xform libobj-or-source 21091func_xform () 21092{ 21093 func_xform_result=${1%.*}.lo 21094} 21095 21096# func_arith arithmetic-term... 21097func_arith () 21098{ 21099 func_arith_result=$(( $* )) 21100} 21101 21102# func_len string 21103# STRING may not start with a hyphen. 21104func_len () 21105{ 21106 func_len_result=${#1} 21107} 21108 21109_LT_EOF 21110 ;; 21111 *) # Bourne compatible functions. 21112 cat << \_LT_EOF >> "$cfgfile" 21113 21114# func_dirname file append nondir_replacement 21115# Compute the dirname of FILE. If nonempty, add APPEND to the result, 21116# otherwise set result to NONDIR_REPLACEMENT. 21117func_dirname () 21118{ 21119 # Extract subdirectory from the argument. 21120 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 21121 if test "X$func_dirname_result" = "X${1}"; then 21122 func_dirname_result="${3}" 21123 else 21124 func_dirname_result="$func_dirname_result${2}" 21125 fi 21126} 21127 21128# func_basename file 21129func_basename () 21130{ 21131 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 21132} 21133 21134 21135# func_stripname prefix suffix name 21136# strip PREFIX and SUFFIX off of NAME. 21137# PREFIX and SUFFIX must not contain globbing or regex special 21138# characters, hashes, percent signs, but SUFFIX may contain a leading 21139# dot (in which case that matches only a dot). 21140# func_strip_suffix prefix name 21141func_stripname () 21142{ 21143 case ${2} in 21144 .*) func_stripname_result=`$ECHO "X${3}" \ 21145 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 21146 *) func_stripname_result=`$ECHO "X${3}" \ 21147 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 21148 esac 21149} 21150 21151# sed scripts: 21152my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 21153my_sed_long_arg='1s/^-[^=]*=//' 21154 21155# func_opt_split 21156func_opt_split () 21157{ 21158 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 21159 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 21160} 21161 21162# func_lo2o object 21163func_lo2o () 21164{ 21165 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 21166} 21167 21168# func_xform libobj-or-source 21169func_xform () 21170{ 21171 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 21172} 21173 21174# func_arith arithmetic-term... 21175func_arith () 21176{ 21177 func_arith_result=`expr "$@"` 21178} 21179 21180# func_len string 21181# STRING may not start with a hyphen. 21182func_len () 21183{ 21184 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 21185} 21186 21187_LT_EOF 21188esac 21189 21190case $lt_shell_append in 21191 yes) 21192 cat << \_LT_EOF >> "$cfgfile" 21193 21194# func_append var value 21195# Append VALUE to the end of shell variable VAR. 21196func_append () 21197{ 21198 eval "$1+=\$2" 21199} 21200_LT_EOF 21201 ;; 21202 *) 21203 cat << \_LT_EOF >> "$cfgfile" 21204 21205# func_append var value 21206# Append VALUE to the end of shell variable VAR. 21207func_append () 21208{ 21209 eval "$1=\$$1\$2" 21210} 21211 21212_LT_EOF 21213 ;; 21214 esac 21215 21216 21217 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 21218 || (rm -f "$cfgfile"; exit 1) 21219 21220 mv -f "$cfgfile" "$ofile" || 21221 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 21222 chmod +x "$ofile" 21223 21224 21225 cat <<_LT_EOF >> "$ofile" 21226 21227# ### BEGIN LIBTOOL TAG CONFIG: CXX 21228 21229# The linker used to build libraries. 21230LD=$lt_LD_CXX 21231 21232# Commands used to build an old-style archive. 21233old_archive_cmds=$lt_old_archive_cmds_CXX 21234 21235# A language specific compiler. 21236CC=$lt_compiler_CXX 21237 21238# Is the compiler the GNU compiler? 21239with_gcc=$GCC_CXX 21240 21241# Compiler flag to turn off builtin functions. 21242no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 21243 21244# How to pass a linker flag through the compiler. 21245wl=$lt_lt_prog_compiler_wl_CXX 21246 21247# Additional compiler flags for building library objects. 21248pic_flag=$lt_lt_prog_compiler_pic_CXX 21249 21250# Compiler flag to prevent dynamic linking. 21251link_static_flag=$lt_lt_prog_compiler_static_CXX 21252 21253# Does compiler simultaneously support -c and -o options? 21254compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 21255 21256# Whether or not to add -lc for building shared libraries. 21257build_libtool_need_lc=$archive_cmds_need_lc_CXX 21258 21259# Whether or not to disallow shared libs when runtime libs are static. 21260allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 21261 21262# Compiler flag to allow reflexive dlopens. 21263export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 21264 21265# Compiler flag to generate shared objects directly from archives. 21266whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 21267 21268# Whether the compiler copes with passing no objects directly. 21269compiler_needs_object=$lt_compiler_needs_object_CXX 21270 21271# Create an old-style archive from a shared archive. 21272old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 21273 21274# Create a temporary old-style archive to link instead of a shared archive. 21275old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 21276 21277# Commands used to build a shared archive. 21278archive_cmds=$lt_archive_cmds_CXX 21279archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 21280 21281# Commands used to build a loadable module if different from building 21282# a shared archive. 21283module_cmds=$lt_module_cmds_CXX 21284module_expsym_cmds=$lt_module_expsym_cmds_CXX 21285 21286# Whether we are building with GNU ld or not. 21287with_gnu_ld=$lt_with_gnu_ld_CXX 21288 21289# Flag that allows shared libraries with undefined symbols to be built. 21290allow_undefined_flag=$lt_allow_undefined_flag_CXX 21291 21292# Flag that enforces no undefined symbols. 21293no_undefined_flag=$lt_no_undefined_flag_CXX 21294 21295# Flag to hardcode \$libdir into a binary during linking. 21296# This must work even if \$libdir does not exist 21297hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 21298 21299# If ld is used when linking, flag to hardcode \$libdir into a binary 21300# during linking. This must work even if \$libdir does not exist. 21301hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 21302 21303# Whether we need a single "-rpath" flag with a separated argument. 21304hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 21305 21306# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21307# DIR into the resulting binary. 21308hardcode_direct=$hardcode_direct_CXX 21309 21310# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 21311# DIR into the resulting binary and the resulting library dependency is 21312# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 21313# library is relocated. 21314hardcode_direct_absolute=$hardcode_direct_absolute_CXX 21315 21316# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 21317# into the resulting binary. 21318hardcode_minus_L=$hardcode_minus_L_CXX 21319 21320# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 21321# into the resulting binary. 21322hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 21323 21324# Set to "yes" if building a shared library automatically hardcodes DIR 21325# into the library and all subsequent libraries and executables linked 21326# against it. 21327hardcode_automatic=$hardcode_automatic_CXX 21328 21329# Set to yes if linker adds runtime paths of dependent libraries 21330# to runtime path list. 21331inherit_rpath=$inherit_rpath_CXX 21332 21333# Whether libtool must link a program against all its dependency libraries. 21334link_all_deplibs=$link_all_deplibs_CXX 21335 21336# Fix the shell variable \$srcfile for the compiler. 21337fix_srcfile_path=$lt_fix_srcfile_path_CXX 21338 21339# Set to "yes" if exported symbols are required. 21340always_export_symbols=$always_export_symbols_CXX 21341 21342# The commands to list exported symbols. 21343export_symbols_cmds=$lt_export_symbols_cmds_CXX 21344 21345# Symbols that should not be listed in the preloaded symbols. 21346exclude_expsyms=$lt_exclude_expsyms_CXX 21347 21348# Symbols that must always be exported. 21349include_expsyms=$lt_include_expsyms_CXX 21350 21351# Commands necessary for linking programs (against libraries) with templates. 21352prelink_cmds=$lt_prelink_cmds_CXX 21353 21354# Specify filename containing input files. 21355file_list_spec=$lt_file_list_spec_CXX 21356 21357# How to hardcode a shared library path into an executable. 21358hardcode_action=$hardcode_action_CXX 21359 21360# The directories searched by this compiler when creating a shared library. 21361compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 21362 21363# Dependencies to place before and after the objects being linked to 21364# create a shared library. 21365predep_objects=$lt_predep_objects_CXX 21366postdep_objects=$lt_postdep_objects_CXX 21367predeps=$lt_predeps_CXX 21368postdeps=$lt_postdeps_CXX 21369 21370# The library search path used internally by the compiler when linking 21371# a shared library. 21372compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 21373 21374# ### END LIBTOOL TAG CONFIG: CXX 21375_LT_EOF 21376 21377 ;; 21378 21379 esac 21380done # for ac_tag 21381 21382 21383{ (exit 0); exit 0; } 21384_ACEOF 21385chmod +x $CONFIG_STATUS 21386ac_clean_files=$ac_clean_files_save 21387 21388test $ac_write_fail = 0 || 21389 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 21390$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 21391 { (exit 1); exit 1; }; } 21392 21393 21394# configure is writing to config.log, and then calls config.status. 21395# config.status does its own redirection, appending to config.log. 21396# Unfortunately, on DOS this fails, as config.log is still kept open 21397# by configure, so config.status won't be able to write to it; its 21398# output is simply discarded. So we exec the FD to /dev/null, 21399# effectively closing config.log, so it can be properly (re)opened and 21400# appended to by config.status. When coming back to configure, we 21401# need to make the FD available again. 21402if test "$no_create" != yes; then 21403 ac_cs_success=: 21404 ac_config_status_args= 21405 test "$silent" = yes && 21406 ac_config_status_args="$ac_config_status_args --quiet" 21407 exec 5>/dev/null 21408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 21409 exec 5>>config.log 21410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 21411 # would make configure fail if this is the last instruction. 21412 $ac_cs_success || { (exit 1); exit 1; } 21413fi 21414if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 21415 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 21416$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 21417fi 21418 21419 21420 21421relocatable_library="no" 21422if test "x$native_win32" = "xyes" || test "x$br_cv_binreloc" = "xyes"; then 21423 relocatable_library="yes" 21424fi 21425 21426echo " 21427$PACKAGE-$VERSION 21428 21429 prefix: ${prefix} 21430 compiler: ${CC} 21431 21432 Build Aspell backend: ${build_aspell} 21433 Build Ispell backend: ${build_ispell} 21434 Build Uspell backend: ${build_uspell} 21435 Build Hspell backend: ${build_hspell} 21436 Build Myspell/Hunspell backend: ${build_myspell} 21437 Build Voikko backend: ${build_voikko} 21438 Build Zemberek backend: ${build_zemberek} 21439 Build a relocatable library: ${relocatable_library}" 21440 21441if test "x$build_zemberek" = "xyes"; then 21442 echo " 21443The Zemberek Turkish spell-checking plugin is enabled. It is known 21444to cause crashes with WebKit. Use at your own discretion." 21445fi 21446