1#! /bin/sh 2# From configure.ac Revision: 1.7 . 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.61 for pango-graphite 0.9.3. 5# 6# Report bugs to <silgraphite-devel@lists.sourceforge.net>. 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be more Bourne compatible 17DUALCASE=1; export DUALCASE # for MKS sh 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 emulate sh 20 NULLCMD=: 21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 setopt NO_GLOB_SUBST 25else 26 case `(set -o) 2>/dev/null` in 27 *posix*) set -o posix ;; 28esac 29 30fi 31 32 33 34 35# PATH needs CR 36# Avoid depending upon Character Ranges. 37as_cr_letters='abcdefghijklmnopqrstuvwxyz' 38as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 39as_cr_Letters=$as_cr_letters$as_cr_LETTERS 40as_cr_digits='0123456789' 41as_cr_alnum=$as_cr_Letters$as_cr_digits 42 43# The user is always right. 44if test "${PATH_SEPARATOR+set}" != set; then 45 echo "#! /bin/sh" >conf$$.sh 46 echo "exit 0" >>conf$$.sh 47 chmod +x conf$$.sh 48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 49 PATH_SEPARATOR=';' 50 else 51 PATH_SEPARATOR=: 52 fi 53 rm -f conf$$.sh 54fi 55 56# Support unset when possible. 57if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 58 as_unset=unset 59else 60 as_unset=false 61fi 62 63 64# IFS 65# We need space, tab and new line, in precisely that order. Quoting is 66# there to prevent editors from complaining about space-tab. 67# (If _AS_PATH_WALK were called with IFS unset, it would disable word 68# splitting by setting IFS to empty value.) 69as_nl=' 70' 71IFS=" "" $as_nl" 72 73# Find who we are. Look in the path if we contain no directory separator. 74case $0 in 75 *[\\/]* ) as_myself=$0 ;; 76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 77for as_dir in $PATH 78do 79 IFS=$as_save_IFS 80 test -z "$as_dir" && as_dir=. 81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 82done 83IFS=$as_save_IFS 84 85 ;; 86esac 87# We did not find ourselves, most probably we were run as `sh COMMAND' 88# in which case we are not to be found in the path. 89if test "x$as_myself" = x; then 90 as_myself=$0 91fi 92if test ! -f "$as_myself"; then 93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 94 { (exit 1); exit 1; } 95fi 96 97# Work around bugs in pre-3.0 UWIN ksh. 98for as_var in ENV MAIL MAILPATH 99do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 100done 101PS1='$ ' 102PS2='> ' 103PS4='+ ' 104 105# NLS nuisances. 106for as_var in \ 107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 109 LC_TELEPHONE LC_TIME 110do 111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 112 eval $as_var=C; export $as_var 113 else 114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 115 fi 116done 117 118# Required to use basename. 119if expr a : '\(a\)' >/dev/null 2>&1 && 120 test "X`expr 00001 : '.*\(...\)'`" = X001; then 121 as_expr=expr 122else 123 as_expr=false 124fi 125 126if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 127 as_basename=basename 128else 129 as_basename=false 130fi 131 132 133# Name of the executable. 134as_me=`$as_basename -- "$0" || 135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 136 X"$0" : 'X\(//\)$' \| \ 137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 138echo X/"$0" | 139 sed '/^.*\/\([^/][^/]*\)\/*$/{ 140 s//\1/ 141 q 142 } 143 /^X\/\(\/\/\)$/{ 144 s//\1/ 145 q 146 } 147 /^X\/\(\/\).*/{ 148 s//\1/ 149 q 150 } 151 s/.*/./; q'` 152 153# CDPATH. 154$as_unset CDPATH 155 156 157if test "x$CONFIG_SHELL" = x; then 158 if (eval ":") 2>/dev/null; then 159 as_have_required=yes 160else 161 as_have_required=no 162fi 163 164 if test $as_have_required = yes && (eval ": 165(as_func_return () { 166 (exit \$1) 167} 168as_func_success () { 169 as_func_return 0 170} 171as_func_failure () { 172 as_func_return 1 173} 174as_func_ret_success () { 175 return 0 176} 177as_func_ret_failure () { 178 return 1 179} 180 181exitcode=0 182if as_func_success; then 183 : 184else 185 exitcode=1 186 echo as_func_success failed. 187fi 188 189if as_func_failure; then 190 exitcode=1 191 echo as_func_failure succeeded. 192fi 193 194if as_func_ret_success; then 195 : 196else 197 exitcode=1 198 echo as_func_ret_success failed. 199fi 200 201if as_func_ret_failure; then 202 exitcode=1 203 echo as_func_ret_failure succeeded. 204fi 205 206if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 207 : 208else 209 exitcode=1 210 echo positional parameters were not saved. 211fi 212 213test \$exitcode = 0) || { (exit 1); exit 1; } 214 215( 216 as_lineno_1=\$LINENO 217 as_lineno_2=\$LINENO 218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 220") 2> /dev/null; then 221 : 222else 223 as_candidate_shells= 224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 225for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 226do 227 IFS=$as_save_IFS 228 test -z "$as_dir" && as_dir=. 229 case $as_dir in 230 /*) 231 for as_base in sh bash ksh sh5; do 232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 233 done;; 234 esac 235done 236IFS=$as_save_IFS 237 238 239 for as_shell in $as_candidate_shells $SHELL; do 240 # Try only shells that exist, to save several forks. 241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 242 { ("$as_shell") 2> /dev/null <<\_ASEOF 243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 244 emulate sh 245 NULLCMD=: 246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 247 # is contrary to our usage. Disable this feature. 248 alias -g '${1+"$@"}'='"$@"' 249 setopt NO_GLOB_SUBST 250else 251 case `(set -o) 2>/dev/null` in 252 *posix*) set -o posix ;; 253esac 254 255fi 256 257 258: 259_ASEOF 260}; then 261 CONFIG_SHELL=$as_shell 262 as_have_required=yes 263 if { "$as_shell" 2> /dev/null <<\_ASEOF 264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 265 emulate sh 266 NULLCMD=: 267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 268 # is contrary to our usage. Disable this feature. 269 alias -g '${1+"$@"}'='"$@"' 270 setopt NO_GLOB_SUBST 271else 272 case `(set -o) 2>/dev/null` in 273 *posix*) set -o posix ;; 274esac 275 276fi 277 278 279: 280(as_func_return () { 281 (exit $1) 282} 283as_func_success () { 284 as_func_return 0 285} 286as_func_failure () { 287 as_func_return 1 288} 289as_func_ret_success () { 290 return 0 291} 292as_func_ret_failure () { 293 return 1 294} 295 296exitcode=0 297if as_func_success; then 298 : 299else 300 exitcode=1 301 echo as_func_success failed. 302fi 303 304if as_func_failure; then 305 exitcode=1 306 echo as_func_failure succeeded. 307fi 308 309if as_func_ret_success; then 310 : 311else 312 exitcode=1 313 echo as_func_ret_success failed. 314fi 315 316if as_func_ret_failure; then 317 exitcode=1 318 echo as_func_ret_failure succeeded. 319fi 320 321if ( set x; as_func_ret_success y && test x = "$1" ); then 322 : 323else 324 exitcode=1 325 echo positional parameters were not saved. 326fi 327 328test $exitcode = 0) || { (exit 1); exit 1; } 329 330( 331 as_lineno_1=$LINENO 332 as_lineno_2=$LINENO 333 test "x$as_lineno_1" != "x$as_lineno_2" && 334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 335 336_ASEOF 337}; then 338 break 339fi 340 341fi 342 343 done 344 345 if test "x$CONFIG_SHELL" != x; then 346 for as_var in BASH_ENV ENV 347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 348 done 349 export CONFIG_SHELL 350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 351fi 352 353 354 if test $as_have_required = no; then 355 echo This script requires a shell more modern than all the 356 echo shells that I found on your system. Please install a 357 echo modern shell, or manually run the script under such a 358 echo shell if you do have one. 359 { (exit 1); exit 1; } 360fi 361 362 363fi 364 365fi 366 367 368 369(eval "as_func_return () { 370 (exit \$1) 371} 372as_func_success () { 373 as_func_return 0 374} 375as_func_failure () { 376 as_func_return 1 377} 378as_func_ret_success () { 379 return 0 380} 381as_func_ret_failure () { 382 return 1 383} 384 385exitcode=0 386if as_func_success; then 387 : 388else 389 exitcode=1 390 echo as_func_success failed. 391fi 392 393if as_func_failure; then 394 exitcode=1 395 echo as_func_failure succeeded. 396fi 397 398if as_func_ret_success; then 399 : 400else 401 exitcode=1 402 echo as_func_ret_success failed. 403fi 404 405if as_func_ret_failure; then 406 exitcode=1 407 echo as_func_ret_failure succeeded. 408fi 409 410if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 411 : 412else 413 exitcode=1 414 echo positional parameters were not saved. 415fi 416 417test \$exitcode = 0") || { 418 echo No shell found that supports shell functions. 419 echo Please tell autoconf@gnu.org about your system, 420 echo including any error possibly output before this 421 echo message 422} 423 424 425 426 as_lineno_1=$LINENO 427 as_lineno_2=$LINENO 428 test "x$as_lineno_1" != "x$as_lineno_2" && 429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 430 431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 432 # uniformly replaced by the line number. The first 'sed' inserts a 433 # line-number line after each line using $LINENO; the second 'sed' 434 # does the real work. The second script uses 'N' to pair each 435 # line-number line with the line containing $LINENO, and appends 436 # trailing '-' during substitution so that $LINENO is not a special 437 # case at line end. 438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 439 # scripts with optimization help from Paolo Bonzini. Blame Lee 440 # E. McMahon (1931-1989) for sed's syntax. :-) 441 sed -n ' 442 p 443 /[$]LINENO/= 444 ' <$as_myself | 445 sed ' 446 s/[$]LINENO.*/&-/ 447 t lineno 448 b 449 :lineno 450 N 451 :loop 452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 453 t loop 454 s/-\n.*// 455 ' >$as_me.lineno && 456 chmod +x "$as_me.lineno" || 457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 458 { (exit 1); exit 1; }; } 459 460 # Don't try to exec as it changes $[0], causing all sort of problems 461 # (the dirname of $[0] is not the place where we might find the 462 # original and so on. Autoconf is especially sensitive to this). 463 . "./$as_me.lineno" 464 # Exit status is that of the last command. 465 exit 466} 467 468 469if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 470 as_dirname=dirname 471else 472 as_dirname=false 473fi 474 475ECHO_C= ECHO_N= ECHO_T= 476case `echo -n x` in 477-n*) 478 case `echo 'x\c'` in 479 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 480 *) ECHO_C='\c';; 481 esac;; 482*) 483 ECHO_N='-n';; 484esac 485 486if expr a : '\(a\)' >/dev/null 2>&1 && 487 test "X`expr 00001 : '.*\(...\)'`" = X001; then 488 as_expr=expr 489else 490 as_expr=false 491fi 492 493rm -f conf$$ conf$$.exe conf$$.file 494if test -d conf$$.dir; then 495 rm -f conf$$.dir/conf$$.file 496else 497 rm -f conf$$.dir 498 mkdir conf$$.dir 499fi 500echo >conf$$.file 501if ln -s conf$$.file conf$$ 2>/dev/null; then 502 as_ln_s='ln -s' 503 # ... but there are two gotchas: 504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 506 # In both cases, we have to default to `cp -p'. 507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 508 as_ln_s='cp -p' 509elif ln conf$$.file conf$$ 2>/dev/null; then 510 as_ln_s=ln 511else 512 as_ln_s='cp -p' 513fi 514rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 515rmdir conf$$.dir 2>/dev/null 516 517if mkdir -p . 2>/dev/null; then 518 as_mkdir_p=: 519else 520 test -d ./-p && rmdir ./-p 521 as_mkdir_p=false 522fi 523 524if test -x / >/dev/null 2>&1; then 525 as_test_x='test -x' 526else 527 if ls -dL / >/dev/null 2>&1; then 528 as_ls_L_option=L 529 else 530 as_ls_L_option= 531 fi 532 as_test_x=' 533 eval sh -c '\'' 534 if test -d "$1"; then 535 test -d "$1/."; 536 else 537 case $1 in 538 -*)set "./$1";; 539 esac; 540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 541 ???[sx]*):;;*)false;;esac;fi 542 '\'' sh 543 ' 544fi 545as_executable_p=$as_test_x 546 547# Sed expression to map a string onto a valid CPP name. 548as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 549 550# Sed expression to map a string onto a valid variable name. 551as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 552 553 554 555 556# Check that we are running under the correct shell. 557SHELL=${CONFIG_SHELL-/bin/sh} 558 559case X$lt_ECHO in 560X*--fallback-echo) 561 # Remove one level of quotation (which was required for Make). 562 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 563 ;; 564esac 565 566ECHO=${lt_ECHO-echo} 567if test "X$1" = X--no-reexec; then 568 # Discard the --no-reexec flag, and continue. 569 shift 570elif test "X$1" = X--fallback-echo; then 571 # Avoid inline document here, it may be left over 572 : 573elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 574 # Yippee, $ECHO works! 575 : 576else 577 # Restart under the correct shell. 578 exec $SHELL "$0" --no-reexec ${1+"$@"} 579fi 580 581if test "X$1" = X--fallback-echo; then 582 # used as fallback echo 583 shift 584 cat <<_LT_EOF 585$* 586_LT_EOF 587 exit 0 588fi 589 590# The HP-UX ksh and POSIX shell print the target directory to stdout 591# if CDPATH is set. 592(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 593 594if test -z "$lt_ECHO"; then 595 if test "X${echo_test_string+set}" != Xset; then 596 # find a string as large as possible, as long as the shell can cope with it 597 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 598 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 599 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 600 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 601 then 602 break 603 fi 604 done 605 fi 606 607 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 608 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 609 test "X$echo_testing_string" = "X$echo_test_string"; then 610 : 611 else 612 # The Solaris, AIX, and Digital Unix default echo programs unquote 613 # backslashes. This makes it impossible to quote backslashes using 614 # echo "$something" | sed 's/\\/\\\\/g' 615 # 616 # So, first we look for a working echo in the user's PATH. 617 618 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 619 for dir in $PATH /usr/ucb; do 620 IFS="$lt_save_ifs" 621 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 622 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 623 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 624 test "X$echo_testing_string" = "X$echo_test_string"; then 625 ECHO="$dir/echo" 626 break 627 fi 628 done 629 IFS="$lt_save_ifs" 630 631 if test "X$ECHO" = Xecho; then 632 # We didn't find a better echo, so look for alternatives. 633 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 634 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 635 test "X$echo_testing_string" = "X$echo_test_string"; then 636 # This shell has a builtin print -r that does the trick. 637 ECHO='print -r' 638 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 639 test "X$CONFIG_SHELL" != X/bin/ksh; then 640 # If we have ksh, try running configure again with it. 641 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 642 export ORIGINAL_CONFIG_SHELL 643 CONFIG_SHELL=/bin/ksh 644 export CONFIG_SHELL 645 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 646 else 647 # Try using printf. 648 ECHO='printf %s\n' 649 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 650 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 651 test "X$echo_testing_string" = "X$echo_test_string"; then 652 # Cool, printf works 653 : 654 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 655 test "X$echo_testing_string" = 'X\t' && 656 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 657 test "X$echo_testing_string" = "X$echo_test_string"; then 658 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 659 export CONFIG_SHELL 660 SHELL="$CONFIG_SHELL" 661 export SHELL 662 ECHO="$CONFIG_SHELL $0 --fallback-echo" 663 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 664 test "X$echo_testing_string" = 'X\t' && 665 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 666 test "X$echo_testing_string" = "X$echo_test_string"; then 667 ECHO="$CONFIG_SHELL $0 --fallback-echo" 668 else 669 # maybe with a smaller string... 670 prev=: 671 672 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 673 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 674 then 675 break 676 fi 677 prev="$cmd" 678 done 679 680 if test "$prev" != 'sed 50q "$0"'; then 681 echo_test_string=`eval $prev` 682 export echo_test_string 683 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 684 else 685 # Oops. We lost completely, so just stick with echo. 686 ECHO=echo 687 fi 688 fi 689 fi 690 fi 691 fi 692fi 693 694# Copy echo and quote the copy suitably for passing to libtool from 695# the Makefile, instead of quoting the original, which is used later. 696lt_ECHO=$ECHO 697if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 698 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 699fi 700 701 702 703 704exec 7<&0 </dev/null 6>&1 705 706# Name of the host. 707# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 708# so uname gets run too. 709ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 710 711# 712# Initializations. 713# 714ac_default_prefix=/usr/local 715ac_clean_files= 716ac_config_libobj_dir=. 717LIBOBJS= 718cross_compiling=no 719subdirs= 720MFLAGS= 721MAKEFLAGS= 722SHELL=${CONFIG_SHELL-/bin/sh} 723 724# Identity of this package. 725PACKAGE_NAME='pango-graphite' 726PACKAGE_TARNAME='pango-graphite' 727PACKAGE_VERSION='0.9.3' 728PACKAGE_STRING='pango-graphite 0.9.3' 729PACKAGE_BUGREPORT='silgraphite-devel@lists.sourceforge.net' 730 731ac_unique_file="pangographite.cpp" 732# Factoring default headers for most tests. 733ac_includes_default="\ 734#include <stdio.h> 735#ifdef HAVE_SYS_TYPES_H 736# include <sys/types.h> 737#endif 738#ifdef HAVE_SYS_STAT_H 739# include <sys/stat.h> 740#endif 741#ifdef STDC_HEADERS 742# include <stdlib.h> 743# include <stddef.h> 744#else 745# ifdef HAVE_STDLIB_H 746# include <stdlib.h> 747# endif 748#endif 749#ifdef HAVE_STRING_H 750# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 751# include <memory.h> 752# endif 753# include <string.h> 754#endif 755#ifdef HAVE_STRINGS_H 756# include <strings.h> 757#endif 758#ifdef HAVE_INTTYPES_H 759# include <inttypes.h> 760#endif 761#ifdef HAVE_STDINT_H 762# include <stdint.h> 763#endif 764#ifdef HAVE_UNISTD_H 765# include <unistd.h> 766#endif" 767 768ac_subst_vars='SHELL 769PATH_SEPARATOR 770PACKAGE_NAME 771PACKAGE_TARNAME 772PACKAGE_VERSION 773PACKAGE_STRING 774PACKAGE_BUGREPORT 775exec_prefix 776prefix 777program_transform_name 778bindir 779sbindir 780libexecdir 781datarootdir 782datadir 783sysconfdir 784sharedstatedir 785localstatedir 786includedir 787oldincludedir 788docdir 789infodir 790htmldir 791dvidir 792pdfdir 793psdir 794libdir 795localedir 796mandir 797DEFS 798ECHO_C 799ECHO_N 800ECHO_T 801LIBS 802build_alias 803host_alias 804target_alias 805INSTALL_PROGRAM 806INSTALL_SCRIPT 807INSTALL_DATA 808am__isrc 809CYGPATH_W 810PACKAGE 811VERSION 812ACLOCAL 813AUTOCONF 814AUTOMAKE 815AUTOHEADER 816MAKEINFO 817install_sh 818STRIP 819INSTALL_STRIP_PROGRAM 820mkdir_p 821AWK 822SET_MAKE 823am__leading_dot 824AMTAR 825am__tar 826am__untar 827MAINTAINER_MODE_TRUE 828MAINTAINER_MODE_FALSE 829MAINT 830CC 831CFLAGS 832LDFLAGS 833CPPFLAGS 834ac_ct_CC 835EXEEXT 836OBJEXT 837DEPDIR 838am__include 839am__quote 840AMDEP_TRUE 841AMDEP_FALSE 842AMDEPBACKSLASH 843CCDEPMODE 844am__fastdepCC_TRUE 845am__fastdepCC_FALSE 846CXX 847CXXFLAGS 848ac_ct_CXX 849CXXDEPMODE 850am__fastdepCXX_TRUE 851am__fastdepCXX_FALSE 852LIBTOOL 853build 854build_cpu 855build_vendor 856build_os 857host 858host_cpu 859host_vendor 860host_os 861SED 862GREP 863EGREP 864FGREP 865LD 866DUMPBIN 867ac_ct_DUMPBIN 868NM 869LN_S 870AR 871RANLIB 872lt_ECHO 873DSYMUTIL 874NMEDIT 875LIPO 876OTOOL 877OTOOL64 878CPP 879CXXCPP 880LSB_RELEASE 881SIZEOF_WCHAR_T 882LIBOBJS 883PKG_CONFIG 884GR2_CFLAGS 885GR2_LIBS 886PANGO_MODULE_VERSION 887PANGO_MAJOR_VERSION 888PANGO_MINOR_VERSION 889PANGO_MICRO_VERSION 890PANGO_CFLAGS 891PANGO_LIBS 892GTK_CFLAGS 893GTK_LIBS 894PANGO_DEBUG_FLAGS 895PANGO_DEBUG_CFLAGS 896PANGOMODULE_TRUE 897PANGOMODULE_FALSE 898PANGOQM_TRUE 899PANGOQM_FALSE 900EXAMPLES_TRUE 901EXAMPLES_FALSE 902REL_CODENAME 903LTLIBOBJS' 904ac_subst_files='' 905 ac_precious_vars='build_alias 906host_alias 907target_alias 908CC 909CFLAGS 910LDFLAGS 911LIBS 912CPPFLAGS 913CXX 914CXXFLAGS 915CCC 916CPP 917CXXCPP 918PKG_CONFIG 919GR2_CFLAGS 920GR2_LIBS 921PANGO_CFLAGS 922PANGO_LIBS 923GTK_CFLAGS 924GTK_LIBS' 925 926 927# Initialize some variables set by options. 928ac_init_help= 929ac_init_version=false 930# The variables have the same names as the options, with 931# dashes changed to underlines. 932cache_file=/dev/null 933exec_prefix=NONE 934no_create= 935no_recursion= 936prefix=NONE 937program_prefix=NONE 938program_suffix=NONE 939program_transform_name=s,x,x, 940silent= 941site= 942srcdir= 943verbose= 944x_includes=NONE 945x_libraries=NONE 946 947# Installation directory options. 948# These are left unexpanded so users can "make install exec_prefix=/foo" 949# and all the variables that are supposed to be based on exec_prefix 950# by default will actually change. 951# Use braces instead of parens because sh, perl, etc. also accept them. 952# (The list follows the same order as the GNU Coding Standards.) 953bindir='${exec_prefix}/bin' 954sbindir='${exec_prefix}/sbin' 955libexecdir='${exec_prefix}/libexec' 956datarootdir='${prefix}/share' 957datadir='${datarootdir}' 958sysconfdir='${prefix}/etc' 959sharedstatedir='${prefix}/com' 960localstatedir='${prefix}/var' 961includedir='${prefix}/include' 962oldincludedir='/usr/include' 963docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 964infodir='${datarootdir}/info' 965htmldir='${docdir}' 966dvidir='${docdir}' 967pdfdir='${docdir}' 968psdir='${docdir}' 969libdir='${exec_prefix}/lib' 970localedir='${datarootdir}/locale' 971mandir='${datarootdir}/man' 972 973ac_prev= 974ac_dashdash= 975for ac_option 976do 977 # If the previous option needs an argument, assign it. 978 if test -n "$ac_prev"; then 979 eval $ac_prev=\$ac_option 980 ac_prev= 981 continue 982 fi 983 984 case $ac_option in 985 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 986 *) ac_optarg=yes ;; 987 esac 988 989 # Accept the important Cygnus configure options, so we can diagnose typos. 990 991 case $ac_dashdash$ac_option in 992 --) 993 ac_dashdash=yes ;; 994 995 -bindir | --bindir | --bindi | --bind | --bin | --bi) 996 ac_prev=bindir ;; 997 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 998 bindir=$ac_optarg ;; 999 1000 -build | --build | --buil | --bui | --bu) 1001 ac_prev=build_alias ;; 1002 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1003 build_alias=$ac_optarg ;; 1004 1005 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1006 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1007 ac_prev=cache_file ;; 1008 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1009 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1010 cache_file=$ac_optarg ;; 1011 1012 --config-cache | -C) 1013 cache_file=config.cache ;; 1014 1015 -datadir | --datadir | --datadi | --datad) 1016 ac_prev=datadir ;; 1017 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1018 datadir=$ac_optarg ;; 1019 1020 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1021 | --dataroo | --dataro | --datar) 1022 ac_prev=datarootdir ;; 1023 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1024 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1025 datarootdir=$ac_optarg ;; 1026 1027 -disable-* | --disable-*) 1028 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1029 # Reject names that are not valid shell variable names. 1030 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1031 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1032 { (exit 1); exit 1; }; } 1033 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1034 eval enable_$ac_feature=no ;; 1035 1036 -docdir | --docdir | --docdi | --doc | --do) 1037 ac_prev=docdir ;; 1038 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1039 docdir=$ac_optarg ;; 1040 1041 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1042 ac_prev=dvidir ;; 1043 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1044 dvidir=$ac_optarg ;; 1045 1046 -enable-* | --enable-*) 1047 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1048 # Reject names that are not valid shell variable names. 1049 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 1050 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 1051 { (exit 1); exit 1; }; } 1052 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 1053 eval enable_$ac_feature=\$ac_optarg ;; 1054 1055 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1056 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1057 | --exec | --exe | --ex) 1058 ac_prev=exec_prefix ;; 1059 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1060 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1061 | --exec=* | --exe=* | --ex=*) 1062 exec_prefix=$ac_optarg ;; 1063 1064 -gas | --gas | --ga | --g) 1065 # Obsolete; use --with-gas. 1066 with_gas=yes ;; 1067 1068 -help | --help | --hel | --he | -h) 1069 ac_init_help=long ;; 1070 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1071 ac_init_help=recursive ;; 1072 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1073 ac_init_help=short ;; 1074 1075 -host | --host | --hos | --ho) 1076 ac_prev=host_alias ;; 1077 -host=* | --host=* | --hos=* | --ho=*) 1078 host_alias=$ac_optarg ;; 1079 1080 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1081 ac_prev=htmldir ;; 1082 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1083 | --ht=*) 1084 htmldir=$ac_optarg ;; 1085 1086 -includedir | --includedir | --includedi | --included | --include \ 1087 | --includ | --inclu | --incl | --inc) 1088 ac_prev=includedir ;; 1089 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1090 | --includ=* | --inclu=* | --incl=* | --inc=*) 1091 includedir=$ac_optarg ;; 1092 1093 -infodir | --infodir | --infodi | --infod | --info | --inf) 1094 ac_prev=infodir ;; 1095 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1096 infodir=$ac_optarg ;; 1097 1098 -libdir | --libdir | --libdi | --libd) 1099 ac_prev=libdir ;; 1100 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1101 libdir=$ac_optarg ;; 1102 1103 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1104 | --libexe | --libex | --libe) 1105 ac_prev=libexecdir ;; 1106 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1107 | --libexe=* | --libex=* | --libe=*) 1108 libexecdir=$ac_optarg ;; 1109 1110 -localedir | --localedir | --localedi | --localed | --locale) 1111 ac_prev=localedir ;; 1112 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1113 localedir=$ac_optarg ;; 1114 1115 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1116 | --localstate | --localstat | --localsta | --localst | --locals) 1117 ac_prev=localstatedir ;; 1118 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1119 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1120 localstatedir=$ac_optarg ;; 1121 1122 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1123 ac_prev=mandir ;; 1124 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1125 mandir=$ac_optarg ;; 1126 1127 -nfp | --nfp | --nf) 1128 # Obsolete; use --without-fp. 1129 with_fp=no ;; 1130 1131 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1132 | --no-cr | --no-c | -n) 1133 no_create=yes ;; 1134 1135 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1136 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1137 no_recursion=yes ;; 1138 1139 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1140 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1141 | --oldin | --oldi | --old | --ol | --o) 1142 ac_prev=oldincludedir ;; 1143 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1144 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1145 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1146 oldincludedir=$ac_optarg ;; 1147 1148 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1149 ac_prev=prefix ;; 1150 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1151 prefix=$ac_optarg ;; 1152 1153 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1154 | --program-pre | --program-pr | --program-p) 1155 ac_prev=program_prefix ;; 1156 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1157 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1158 program_prefix=$ac_optarg ;; 1159 1160 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1161 | --program-suf | --program-su | --program-s) 1162 ac_prev=program_suffix ;; 1163 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1164 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1165 program_suffix=$ac_optarg ;; 1166 1167 -program-transform-name | --program-transform-name \ 1168 | --program-transform-nam | --program-transform-na \ 1169 | --program-transform-n | --program-transform- \ 1170 | --program-transform | --program-transfor \ 1171 | --program-transfo | --program-transf \ 1172 | --program-trans | --program-tran \ 1173 | --progr-tra | --program-tr | --program-t) 1174 ac_prev=program_transform_name ;; 1175 -program-transform-name=* | --program-transform-name=* \ 1176 | --program-transform-nam=* | --program-transform-na=* \ 1177 | --program-transform-n=* | --program-transform-=* \ 1178 | --program-transform=* | --program-transfor=* \ 1179 | --program-transfo=* | --program-transf=* \ 1180 | --program-trans=* | --program-tran=* \ 1181 | --progr-tra=* | --program-tr=* | --program-t=*) 1182 program_transform_name=$ac_optarg ;; 1183 1184 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1185 ac_prev=pdfdir ;; 1186 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1187 pdfdir=$ac_optarg ;; 1188 1189 -psdir | --psdir | --psdi | --psd | --ps) 1190 ac_prev=psdir ;; 1191 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1192 psdir=$ac_optarg ;; 1193 1194 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1195 | -silent | --silent | --silen | --sile | --sil) 1196 silent=yes ;; 1197 1198 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1199 ac_prev=sbindir ;; 1200 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1201 | --sbi=* | --sb=*) 1202 sbindir=$ac_optarg ;; 1203 1204 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1205 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1206 | --sharedst | --shareds | --shared | --share | --shar \ 1207 | --sha | --sh) 1208 ac_prev=sharedstatedir ;; 1209 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1210 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1211 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1212 | --sha=* | --sh=*) 1213 sharedstatedir=$ac_optarg ;; 1214 1215 -site | --site | --sit) 1216 ac_prev=site ;; 1217 -site=* | --site=* | --sit=*) 1218 site=$ac_optarg ;; 1219 1220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1221 ac_prev=srcdir ;; 1222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1223 srcdir=$ac_optarg ;; 1224 1225 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1226 | --syscon | --sysco | --sysc | --sys | --sy) 1227 ac_prev=sysconfdir ;; 1228 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1229 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1230 sysconfdir=$ac_optarg ;; 1231 1232 -target | --target | --targe | --targ | --tar | --ta | --t) 1233 ac_prev=target_alias ;; 1234 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1235 target_alias=$ac_optarg ;; 1236 1237 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1238 verbose=yes ;; 1239 1240 -version | --version | --versio | --versi | --vers | -V) 1241 ac_init_version=: ;; 1242 1243 -with-* | --with-*) 1244 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1245 # Reject names that are not valid shell variable names. 1246 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1247 { echo "$as_me: error: invalid package name: $ac_package" >&2 1248 { (exit 1); exit 1; }; } 1249 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1250 eval with_$ac_package=\$ac_optarg ;; 1251 1252 -without-* | --without-*) 1253 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1254 # Reject names that are not valid shell variable names. 1255 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1256 { echo "$as_me: error: invalid package name: $ac_package" >&2 1257 { (exit 1); exit 1; }; } 1258 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1259 eval with_$ac_package=no ;; 1260 1261 --x) 1262 # Obsolete; use --with-x. 1263 with_x=yes ;; 1264 1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1266 | --x-incl | --x-inc | --x-in | --x-i) 1267 ac_prev=x_includes ;; 1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1270 x_includes=$ac_optarg ;; 1271 1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1274 ac_prev=x_libraries ;; 1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1277 x_libraries=$ac_optarg ;; 1278 1279 -*) { echo "$as_me: error: unrecognized option: $ac_option 1280Try \`$0 --help' for more information." >&2 1281 { (exit 1); exit 1; }; } 1282 ;; 1283 1284 *=*) 1285 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1286 # Reject names that are not valid shell variable names. 1287 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1288 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1289 { (exit 1); exit 1; }; } 1290 eval $ac_envvar=\$ac_optarg 1291 export $ac_envvar ;; 1292 1293 *) 1294 # FIXME: should be removed in autoconf 3.0. 1295 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1297 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1299 ;; 1300 1301 esac 1302done 1303 1304if test -n "$ac_prev"; then 1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1306 { echo "$as_me: error: missing argument to $ac_option" >&2 1307 { (exit 1); exit 1; }; } 1308fi 1309 1310# Be sure to have absolute directory names. 1311for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1312 datadir sysconfdir sharedstatedir localstatedir includedir \ 1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1314 libdir localedir mandir 1315do 1316 eval ac_val=\$$ac_var 1317 case $ac_val in 1318 [\\/$]* | ?:[\\/]* ) continue;; 1319 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1320 esac 1321 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1322 { (exit 1); exit 1; }; } 1323done 1324 1325# There might be people who depend on the old broken behavior: `$host' 1326# used to hold the argument of --host etc. 1327# FIXME: To remove some day. 1328build=$build_alias 1329host=$host_alias 1330target=$target_alias 1331 1332# FIXME: To remove some day. 1333if test "x$host_alias" != x; then 1334 if test "x$build_alias" = x; then 1335 cross_compiling=maybe 1336 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1337 If a cross compiler is detected then cross compile mode will be used." >&2 1338 elif test "x$build_alias" != "x$host_alias"; then 1339 cross_compiling=yes 1340 fi 1341fi 1342 1343ac_tool_prefix= 1344test -n "$host_alias" && ac_tool_prefix=$host_alias- 1345 1346test "$silent" = yes && exec 6>/dev/null 1347 1348 1349ac_pwd=`pwd` && test -n "$ac_pwd" && 1350ac_ls_di=`ls -di .` && 1351ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1352 { echo "$as_me: error: Working directory cannot be determined" >&2 1353 { (exit 1); exit 1; }; } 1354test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1355 { echo "$as_me: error: pwd does not report name of working directory" >&2 1356 { (exit 1); exit 1; }; } 1357 1358 1359# Find the source files, if location was not specified. 1360if test -z "$srcdir"; then 1361 ac_srcdir_defaulted=yes 1362 # Try the directory containing this script, then the parent directory. 1363 ac_confdir=`$as_dirname -- "$0" || 1364$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1365 X"$0" : 'X\(//\)[^/]' \| \ 1366 X"$0" : 'X\(//\)$' \| \ 1367 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1368echo X"$0" | 1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1370 s//\1/ 1371 q 1372 } 1373 /^X\(\/\/\)[^/].*/{ 1374 s//\1/ 1375 q 1376 } 1377 /^X\(\/\/\)$/{ 1378 s//\1/ 1379 q 1380 } 1381 /^X\(\/\).*/{ 1382 s//\1/ 1383 q 1384 } 1385 s/.*/./; q'` 1386 srcdir=$ac_confdir 1387 if test ! -r "$srcdir/$ac_unique_file"; then 1388 srcdir=.. 1389 fi 1390else 1391 ac_srcdir_defaulted=no 1392fi 1393if test ! -r "$srcdir/$ac_unique_file"; then 1394 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1395 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1396 { (exit 1); exit 1; }; } 1397fi 1398ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1399ac_abs_confdir=`( 1400 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1401 { (exit 1); exit 1; }; } 1402 pwd)` 1403# When building in place, set srcdir=. 1404if test "$ac_abs_confdir" = "$ac_pwd"; then 1405 srcdir=. 1406fi 1407# Remove unnecessary trailing slashes from srcdir. 1408# Double slashes in file names in object file debugging info 1409# mess up M-x gdb in Emacs. 1410case $srcdir in 1411*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1412esac 1413for ac_var in $ac_precious_vars; do 1414 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1415 eval ac_env_${ac_var}_value=\$${ac_var} 1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1417 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1418done 1419 1420# 1421# Report the --help message. 1422# 1423if test "$ac_init_help" = "long"; then 1424 # Omit some internal or obsolete options to make the list less imposing. 1425 # This message is too long to be a string in the A/UX 3.1 sh. 1426 cat <<_ACEOF 1427\`configure' configures pango-graphite 0.9.3 to adapt to many kinds of systems. 1428 1429Usage: $0 [OPTION]... [VAR=VALUE]... 1430 1431To assign environment variables (e.g., CC, CFLAGS...), specify them as 1432VAR=VALUE. See below for descriptions of some of the useful variables. 1433 1434Defaults for the options are specified in brackets. 1435 1436Configuration: 1437 -h, --help display this help and exit 1438 --help=short display options specific to this package 1439 --help=recursive display the short help of all the included packages 1440 -V, --version display version information and exit 1441 -q, --quiet, --silent do not print \`checking...' messages 1442 --cache-file=FILE cache test results in FILE [disabled] 1443 -C, --config-cache alias for \`--cache-file=config.cache' 1444 -n, --no-create do not create output files 1445 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1446 1447Installation directories: 1448 --prefix=PREFIX install architecture-independent files in PREFIX 1449 [$ac_default_prefix] 1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1451 [PREFIX] 1452 1453By default, \`make install' will install all the files in 1454\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1455an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1456for instance \`--prefix=\$HOME'. 1457 1458For better control, use the options below. 1459 1460Fine tuning of the installation directories: 1461 --bindir=DIR user executables [EPREFIX/bin] 1462 --sbindir=DIR system admin executables [EPREFIX/sbin] 1463 --libexecdir=DIR program executables [EPREFIX/libexec] 1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1467 --libdir=DIR object code libraries [EPREFIX/lib] 1468 --includedir=DIR C header files [PREFIX/include] 1469 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1472 --infodir=DIR info documentation [DATAROOTDIR/info] 1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1474 --mandir=DIR man documentation [DATAROOTDIR/man] 1475 --docdir=DIR documentation root [DATAROOTDIR/doc/pango-graphite] 1476 --htmldir=DIR html documentation [DOCDIR] 1477 --dvidir=DIR dvi documentation [DOCDIR] 1478 --pdfdir=DIR pdf documentation [DOCDIR] 1479 --psdir=DIR ps documentation [DOCDIR] 1480_ACEOF 1481 1482 cat <<\_ACEOF 1483 1484Program names: 1485 --program-prefix=PREFIX prepend PREFIX to installed program names 1486 --program-suffix=SUFFIX append SUFFIX to installed program names 1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1488 1489System types: 1490 --build=BUILD configure for building on BUILD [guessed] 1491 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1492_ACEOF 1493fi 1494 1495if test -n "$ac_init_help"; then 1496 case $ac_init_help in 1497 short | recursive ) echo "Configuration of pango-graphite 0.9.3:";; 1498 esac 1499 cat <<\_ACEOF 1500 1501Optional Features: 1502 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1503 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1504 --enable-maintainer-mode enable make rules and dependencies not useful 1505 (and sometimes confusing) to the casual installer 1506 --enable-examples build experimental examples. (default=no) 1507 --enable-querymod build custom pango-querymodules. (default=no) 1508 --enable-debug build with debugging. (default=no) 1509 --enable-profile allow profiling (default=no) 1510 --enable-profilefn allow functioncheck profiling (default=no) 1511 --disable-dependency-tracking speeds up one-time build 1512 --enable-dependency-tracking do not reject slow dependency extractors 1513 --enable-shared[=PKGS] build shared libraries [default=yes] 1514 --enable-static[=PKGS] build static libraries [default=yes] 1515 --enable-fast-install[=PKGS] 1516 optimize for fast installation [default=yes] 1517 --disable-libtool-lock avoid locking (might break parallel builds) 1518 1519Optional Packages: 1520 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1521 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1522 --with-pic try to use only PIC/non-PIC objects [default=use 1523 both] 1524 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1525 1526Some influential environment variables: 1527 CC C compiler command 1528 CFLAGS C compiler flags 1529 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1530 nonstandard directory <lib dir> 1531 LIBS libraries to pass to the linker, e.g. -l<library> 1532 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1533 you have headers in a nonstandard directory <include dir> 1534 CXX C++ compiler command 1535 CXXFLAGS C++ compiler flags 1536 CPP C preprocessor 1537 CXXCPP C++ preprocessor 1538 PKG_CONFIG path to pkg-config utility 1539 GR2_CFLAGS C compiler flags for GR2, overriding pkg-config 1540 GR2_LIBS linker flags for GR2, overriding pkg-config 1541 PANGO_CFLAGS 1542 C compiler flags for PANGO, overriding pkg-config 1543 PANGO_LIBS linker flags for PANGO, overriding pkg-config 1544 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1545 GTK_LIBS linker flags for GTK, overriding pkg-config 1546 1547Use these variables to override the choices made by `configure' or to help 1548it to find libraries and programs with nonstandard names/locations. 1549 1550Report bugs to <silgraphite-devel@lists.sourceforge.net>. 1551_ACEOF 1552ac_status=$? 1553fi 1554 1555if test "$ac_init_help" = "recursive"; then 1556 # If there are subdirs, report their specific --help. 1557 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1558 test -d "$ac_dir" || continue 1559 ac_builddir=. 1560 1561case "$ac_dir" in 1562.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1563*) 1564 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1565 # A ".." for each directory in $ac_dir_suffix. 1566 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1567 case $ac_top_builddir_sub in 1568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1570 esac ;; 1571esac 1572ac_abs_top_builddir=$ac_pwd 1573ac_abs_builddir=$ac_pwd$ac_dir_suffix 1574# for backward compatibility: 1575ac_top_builddir=$ac_top_build_prefix 1576 1577case $srcdir in 1578 .) # We are building in place. 1579 ac_srcdir=. 1580 ac_top_srcdir=$ac_top_builddir_sub 1581 ac_abs_top_srcdir=$ac_pwd ;; 1582 [\\/]* | ?:[\\/]* ) # Absolute name. 1583 ac_srcdir=$srcdir$ac_dir_suffix; 1584 ac_top_srcdir=$srcdir 1585 ac_abs_top_srcdir=$srcdir ;; 1586 *) # Relative name. 1587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1588 ac_top_srcdir=$ac_top_build_prefix$srcdir 1589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1590esac 1591ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1592 1593 cd "$ac_dir" || { ac_status=$?; continue; } 1594 # Check for guested configure. 1595 if test -f "$ac_srcdir/configure.gnu"; then 1596 echo && 1597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1598 elif test -f "$ac_srcdir/configure"; then 1599 echo && 1600 $SHELL "$ac_srcdir/configure" --help=recursive 1601 else 1602 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1603 fi || ac_status=$? 1604 cd "$ac_pwd" || { ac_status=$?; break; } 1605 done 1606fi 1607 1608test -n "$ac_init_help" && exit $ac_status 1609if $ac_init_version; then 1610 cat <<\_ACEOF 1611pango-graphite configure 0.9.3 1612generated by GNU Autoconf 2.61 1613 1614Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 16152002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1616This configure script is free software; the Free Software Foundation 1617gives unlimited permission to copy, distribute and modify it. 1618_ACEOF 1619 exit 1620fi 1621cat >config.log <<_ACEOF 1622This file contains any messages produced by compilers while 1623running configure, to aid debugging if configure makes a mistake. 1624 1625It was created by pango-graphite $as_me 0.9.3, which was 1626generated by GNU Autoconf 2.61. Invocation command line was 1627 1628 $ $0 $@ 1629 1630_ACEOF 1631exec 5>>config.log 1632{ 1633cat <<_ASUNAME 1634## --------- ## 1635## Platform. ## 1636## --------- ## 1637 1638hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1639uname -m = `(uname -m) 2>/dev/null || echo unknown` 1640uname -r = `(uname -r) 2>/dev/null || echo unknown` 1641uname -s = `(uname -s) 2>/dev/null || echo unknown` 1642uname -v = `(uname -v) 2>/dev/null || echo unknown` 1643 1644/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1645/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1646 1647/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1648/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1649/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1650/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1651/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1652/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1653/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1654 1655_ASUNAME 1656 1657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1658for as_dir in $PATH 1659do 1660 IFS=$as_save_IFS 1661 test -z "$as_dir" && as_dir=. 1662 echo "PATH: $as_dir" 1663done 1664IFS=$as_save_IFS 1665 1666} >&5 1667 1668cat >&5 <<_ACEOF 1669 1670 1671## ----------- ## 1672## Core tests. ## 1673## ----------- ## 1674 1675_ACEOF 1676 1677 1678# Keep a trace of the command line. 1679# Strip out --no-create and --no-recursion so they do not pile up. 1680# Strip out --silent because we don't want to record it for future runs. 1681# Also quote any args containing shell meta-characters. 1682# Make two passes to allow for proper duplicate-argument suppression. 1683ac_configure_args= 1684ac_configure_args0= 1685ac_configure_args1= 1686ac_must_keep_next=false 1687for ac_pass in 1 2 1688do 1689 for ac_arg 1690 do 1691 case $ac_arg in 1692 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1694 | -silent | --silent | --silen | --sile | --sil) 1695 continue ;; 1696 *\'*) 1697 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1698 esac 1699 case $ac_pass in 1700 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1701 2) 1702 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1703 if test $ac_must_keep_next = true; then 1704 ac_must_keep_next=false # Got value, back to normal. 1705 else 1706 case $ac_arg in 1707 *=* | --config-cache | -C | -disable-* | --disable-* \ 1708 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1709 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1710 | -with-* | --with-* | -without-* | --without-* | --x) 1711 case "$ac_configure_args0 " in 1712 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1713 esac 1714 ;; 1715 -* ) ac_must_keep_next=true ;; 1716 esac 1717 fi 1718 ac_configure_args="$ac_configure_args '$ac_arg'" 1719 ;; 1720 esac 1721 done 1722done 1723$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1724$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1725 1726# When interrupted or exit'd, cleanup temporary files, and complete 1727# config.log. We remove comments because anyway the quotes in there 1728# would cause problems or look ugly. 1729# WARNING: Use '\'' to represent an apostrophe within the trap. 1730# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1731trap 'exit_status=$? 1732 # Save into config.log some information that might help in debugging. 1733 { 1734 echo 1735 1736 cat <<\_ASBOX 1737## ---------------- ## 1738## Cache variables. ## 1739## ---------------- ## 1740_ASBOX 1741 echo 1742 # The following way of writing the cache mishandles newlines in values, 1743( 1744 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1745 eval ac_val=\$$ac_var 1746 case $ac_val in #( 1747 *${as_nl}*) 1748 case $ac_var in #( 1749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1750echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1751 esac 1752 case $ac_var in #( 1753 _ | IFS | as_nl) ;; #( 1754 *) $as_unset $ac_var ;; 1755 esac ;; 1756 esac 1757 done 1758 (set) 2>&1 | 1759 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1760 *${as_nl}ac_space=\ *) 1761 sed -n \ 1762 "s/'\''/'\''\\\\'\'''\''/g; 1763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1764 ;; #( 1765 *) 1766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1767 ;; 1768 esac | 1769 sort 1770) 1771 echo 1772 1773 cat <<\_ASBOX 1774## ----------------- ## 1775## Output variables. ## 1776## ----------------- ## 1777_ASBOX 1778 echo 1779 for ac_var in $ac_subst_vars 1780 do 1781 eval ac_val=\$$ac_var 1782 case $ac_val in 1783 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1784 esac 1785 echo "$ac_var='\''$ac_val'\''" 1786 done | sort 1787 echo 1788 1789 if test -n "$ac_subst_files"; then 1790 cat <<\_ASBOX 1791## ------------------- ## 1792## File substitutions. ## 1793## ------------------- ## 1794_ASBOX 1795 echo 1796 for ac_var in $ac_subst_files 1797 do 1798 eval ac_val=\$$ac_var 1799 case $ac_val in 1800 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1801 esac 1802 echo "$ac_var='\''$ac_val'\''" 1803 done | sort 1804 echo 1805 fi 1806 1807 if test -s confdefs.h; then 1808 cat <<\_ASBOX 1809## ----------- ## 1810## confdefs.h. ## 1811## ----------- ## 1812_ASBOX 1813 echo 1814 cat confdefs.h 1815 echo 1816 fi 1817 test "$ac_signal" != 0 && 1818 echo "$as_me: caught signal $ac_signal" 1819 echo "$as_me: exit $exit_status" 1820 } >&5 1821 rm -f core *.core core.conftest.* && 1822 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1823 exit $exit_status 1824' 0 1825for ac_signal in 1 2 13 15; do 1826 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1827done 1828ac_signal=0 1829 1830# confdefs.h avoids OS command line length limits that DEFS can exceed. 1831rm -f -r conftest* confdefs.h 1832 1833# Predefined preprocessor variables. 1834 1835cat >>confdefs.h <<_ACEOF 1836#define PACKAGE_NAME "$PACKAGE_NAME" 1837_ACEOF 1838 1839 1840cat >>confdefs.h <<_ACEOF 1841#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1842_ACEOF 1843 1844 1845cat >>confdefs.h <<_ACEOF 1846#define PACKAGE_VERSION "$PACKAGE_VERSION" 1847_ACEOF 1848 1849 1850cat >>confdefs.h <<_ACEOF 1851#define PACKAGE_STRING "$PACKAGE_STRING" 1852_ACEOF 1853 1854 1855cat >>confdefs.h <<_ACEOF 1856#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1857_ACEOF 1858 1859 1860# Let the site file select an alternate cache file if it wants to. 1861# Prefer explicitly selected file to automatically selected ones. 1862if test -n "$CONFIG_SITE"; then 1863 set x "$CONFIG_SITE" 1864elif test "x$prefix" != xNONE; then 1865 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1866else 1867 set x "$ac_default_prefix/share/config.site" \ 1868 "$ac_default_prefix/etc/config.site" 1869fi 1870shift 1871for ac_site_file 1872do 1873 if test -r "$ac_site_file"; then 1874 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1875echo "$as_me: loading site script $ac_site_file" >&6;} 1876 sed 's/^/| /' "$ac_site_file" >&5 1877 . "$ac_site_file" 1878 fi 1879done 1880 1881if test -r "$cache_file"; then 1882 # Some versions of bash will fail to source /dev/null (special 1883 # files actually), so we avoid doing that. 1884 if test -f "$cache_file"; then 1885 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1886echo "$as_me: loading cache $cache_file" >&6;} 1887 case $cache_file in 1888 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1889 *) . "./$cache_file";; 1890 esac 1891 fi 1892else 1893 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1894echo "$as_me: creating cache $cache_file" >&6;} 1895 >$cache_file 1896fi 1897 1898# Check that the precious variables saved in the cache have kept the same 1899# value. 1900ac_cache_corrupted=false 1901for ac_var in $ac_precious_vars; do 1902 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1903 eval ac_new_set=\$ac_env_${ac_var}_set 1904 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1905 eval ac_new_val=\$ac_env_${ac_var}_value 1906 case $ac_old_set,$ac_new_set in 1907 set,) 1908 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1909echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1910 ac_cache_corrupted=: ;; 1911 ,set) 1912 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1913echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1914 ac_cache_corrupted=: ;; 1915 ,);; 1916 *) 1917 if test "x$ac_old_val" != "x$ac_new_val"; then 1918 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1919echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1920 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1921echo "$as_me: former value: $ac_old_val" >&2;} 1922 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1923echo "$as_me: current value: $ac_new_val" >&2;} 1924 ac_cache_corrupted=: 1925 fi;; 1926 esac 1927 # Pass precious variables to config.status. 1928 if test "$ac_new_set" = set; then 1929 case $ac_new_val in 1930 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1931 *) ac_arg=$ac_var=$ac_new_val ;; 1932 esac 1933 case " $ac_configure_args " in 1934 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1935 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1936 esac 1937 fi 1938done 1939if $ac_cache_corrupted; then 1940 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1941echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1942 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1943echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1944 { (exit 1); exit 1; }; } 1945fi 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971ac_ext=c 1972ac_cpp='$CPP $CPPFLAGS' 1973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1975ac_compiler_gnu=$ac_cv_c_compiler_gnu 1976 1977 1978 1979ac_aux_dir= 1980for ac_dir in config "$srcdir"/config; do 1981 if test -f "$ac_dir/install-sh"; then 1982 ac_aux_dir=$ac_dir 1983 ac_install_sh="$ac_aux_dir/install-sh -c" 1984 break 1985 elif test -f "$ac_dir/install.sh"; then 1986 ac_aux_dir=$ac_dir 1987 ac_install_sh="$ac_aux_dir/install.sh -c" 1988 break 1989 elif test -f "$ac_dir/shtool"; then 1990 ac_aux_dir=$ac_dir 1991 ac_install_sh="$ac_aux_dir/shtool install -c" 1992 break 1993 fi 1994done 1995if test -z "$ac_aux_dir"; then 1996 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 1997echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} 1998 { (exit 1); exit 1; }; } 1999fi 2000 2001# These three variables are undocumented and unsupported, 2002# and are intended to be withdrawn in a future Autoconf release. 2003# They can cause serious problems if a builder's source tree is in a directory 2004# whose full name contains unusual characters. 2005ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2006ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2007ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2008 2009 2010 2011am__api_version='1.10' 2012 2013# Find a good install program. We prefer a C program (faster), 2014# so one script is as good as another. But avoid the broken or 2015# incompatible versions: 2016# SysV /etc/install, /usr/sbin/install 2017# SunOS /usr/etc/install 2018# IRIX /sbin/install 2019# AIX /bin/install 2020# AmigaOS /C/install, which installs bootblocks on floppy discs 2021# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2022# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2023# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2024# OS/2's system install, which has a completely different semantic 2025# ./install, which can be erroneously created by make from ./install.sh. 2026{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2027echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2028if test -z "$INSTALL"; then 2029if test "${ac_cv_path_install+set}" = set; then 2030 echo $ECHO_N "(cached) $ECHO_C" >&6 2031else 2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2033for as_dir in $PATH 2034do 2035 IFS=$as_save_IFS 2036 test -z "$as_dir" && as_dir=. 2037 # Account for people who put trailing slashes in PATH elements. 2038case $as_dir/ in 2039 ./ | .// | /cC/* | \ 2040 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2041 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2042 /usr/ucb/* ) ;; 2043 *) 2044 # OSF1 and SCO ODT 3.0 have their own names for install. 2045 # Don't use installbsd from OSF since it installs stuff as root 2046 # by default. 2047 for ac_prog in ginstall scoinst install; do 2048 for ac_exec_ext in '' $ac_executable_extensions; do 2049 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2050 if test $ac_prog = install && 2051 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2052 # AIX install. It has an incompatible calling convention. 2053 : 2054 elif test $ac_prog = install && 2055 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2056 # program-specific install script used by HP pwplus--don't use. 2057 : 2058 else 2059 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2060 break 3 2061 fi 2062 fi 2063 done 2064 done 2065 ;; 2066esac 2067done 2068IFS=$as_save_IFS 2069 2070 2071fi 2072 if test "${ac_cv_path_install+set}" = set; then 2073 INSTALL=$ac_cv_path_install 2074 else 2075 # As a last resort, use the slow shell script. Don't cache a 2076 # value for INSTALL within a source directory, because that will 2077 # break other packages using the cache if that directory is 2078 # removed, or if the value is a relative name. 2079 INSTALL=$ac_install_sh 2080 fi 2081fi 2082{ echo "$as_me:$LINENO: result: $INSTALL" >&5 2083echo "${ECHO_T}$INSTALL" >&6; } 2084 2085# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2086# It thinks the first close brace ends the variable substitution. 2087test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2088 2089test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2090 2091test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2092 2093{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2094echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 2095# Just in case 2096sleep 1 2097echo timestamp > conftest.file 2098# Do `set' in a subshell so we don't clobber the current shell's 2099# arguments. Must try -L first in case configure is actually a 2100# symlink; some systems play weird games with the mod time of symlinks 2101# (eg FreeBSD returns the mod time of the symlink's containing 2102# directory). 2103if ( 2104 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2105 if test "$*" = "X"; then 2106 # -L didn't work. 2107 set X `ls -t $srcdir/configure conftest.file` 2108 fi 2109 rm -f conftest.file 2110 if test "$*" != "X $srcdir/configure conftest.file" \ 2111 && test "$*" != "X conftest.file $srcdir/configure"; then 2112 2113 # If neither matched, then we have a broken ls. This can happen 2114 # if, for instance, CONFIG_SHELL is bash and it inherits a 2115 # broken ls alias from the environment. This has actually 2116 # happened. Such a system could not be considered "sane". 2117 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2118alias in your environment" >&5 2119echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2120alias in your environment" >&2;} 2121 { (exit 1); exit 1; }; } 2122 fi 2123 2124 test "$2" = conftest.file 2125 ) 2126then 2127 # Ok. 2128 : 2129else 2130 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2131Check your system clock" >&5 2132echo "$as_me: error: newly created file is older than distributed files! 2133Check your system clock" >&2;} 2134 { (exit 1); exit 1; }; } 2135fi 2136{ echo "$as_me:$LINENO: result: yes" >&5 2137echo "${ECHO_T}yes" >&6; } 2138test "$program_prefix" != NONE && 2139 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2140# Use a double $ so make ignores it. 2141test "$program_suffix" != NONE && 2142 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2143# Double any \ or $. echo might interpret backslashes. 2144# By default was `s,x,x', remove it if useless. 2145cat <<\_ACEOF >conftest.sed 2146s/[\\$]/&&/g;s/;s,x,x,$// 2147_ACEOF 2148program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2149rm -f conftest.sed 2150 2151# expand $ac_aux_dir to an absolute path 2152am_aux_dir=`cd $ac_aux_dir && pwd` 2153 2154test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2155# Use eval to expand $SHELL 2156if eval "$MISSING --run true"; then 2157 am_missing_run="$MISSING --run " 2158else 2159 am_missing_run= 2160 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2161echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2162fi 2163 2164{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2165echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 2166if test -z "$MKDIR_P"; then 2167 if test "${ac_cv_path_mkdir+set}" = set; then 2168 echo $ECHO_N "(cached) $ECHO_C" >&6 2169else 2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2171for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2172do 2173 IFS=$as_save_IFS 2174 test -z "$as_dir" && as_dir=. 2175 for ac_prog in mkdir gmkdir; do 2176 for ac_exec_ext in '' $ac_executable_extensions; do 2177 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2178 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2179 'mkdir (GNU coreutils) '* | \ 2180 'mkdir (coreutils) '* | \ 2181 'mkdir (fileutils) '4.1*) 2182 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2183 break 3;; 2184 esac 2185 done 2186 done 2187done 2188IFS=$as_save_IFS 2189 2190fi 2191 2192 if test "${ac_cv_path_mkdir+set}" = set; then 2193 MKDIR_P="$ac_cv_path_mkdir -p" 2194 else 2195 # As a last resort, use the slow shell script. Don't cache a 2196 # value for MKDIR_P within a source directory, because that will 2197 # break other packages using the cache if that directory is 2198 # removed, or if the value is a relative name. 2199 test -d ./--version && rmdir ./--version 2200 MKDIR_P="$ac_install_sh -d" 2201 fi 2202fi 2203{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2204echo "${ECHO_T}$MKDIR_P" >&6; } 2205 2206mkdir_p="$MKDIR_P" 2207case $mkdir_p in 2208 [\\/$]* | ?:[\\/]*) ;; 2209 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2210esac 2211 2212for ac_prog in gawk mawk nawk awk 2213do 2214 # Extract the first word of "$ac_prog", so it can be a program name with args. 2215set dummy $ac_prog; ac_word=$2 2216{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2217echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2218if test "${ac_cv_prog_AWK+set}" = set; then 2219 echo $ECHO_N "(cached) $ECHO_C" >&6 2220else 2221 if test -n "$AWK"; then 2222 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2223else 2224as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2225for as_dir in $PATH 2226do 2227 IFS=$as_save_IFS 2228 test -z "$as_dir" && as_dir=. 2229 for ac_exec_ext in '' $ac_executable_extensions; do 2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2231 ac_cv_prog_AWK="$ac_prog" 2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2233 break 2 2234 fi 2235done 2236done 2237IFS=$as_save_IFS 2238 2239fi 2240fi 2241AWK=$ac_cv_prog_AWK 2242if test -n "$AWK"; then 2243 { echo "$as_me:$LINENO: result: $AWK" >&5 2244echo "${ECHO_T}$AWK" >&6; } 2245else 2246 { echo "$as_me:$LINENO: result: no" >&5 2247echo "${ECHO_T}no" >&6; } 2248fi 2249 2250 2251 test -n "$AWK" && break 2252done 2253 2254{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2255echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2256set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2257if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2258 echo $ECHO_N "(cached) $ECHO_C" >&6 2259else 2260 cat >conftest.make <<\_ACEOF 2261SHELL = /bin/sh 2262all: 2263 @echo '@@@%%%=$(MAKE)=@@@%%%' 2264_ACEOF 2265# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2266case `${MAKE-make} -f conftest.make 2>/dev/null` in 2267 *@@@%%%=?*=@@@%%%*) 2268 eval ac_cv_prog_make_${ac_make}_set=yes;; 2269 *) 2270 eval ac_cv_prog_make_${ac_make}_set=no;; 2271esac 2272rm -f conftest.make 2273fi 2274if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2275 { echo "$as_me:$LINENO: result: yes" >&5 2276echo "${ECHO_T}yes" >&6; } 2277 SET_MAKE= 2278else 2279 { echo "$as_me:$LINENO: result: no" >&5 2280echo "${ECHO_T}no" >&6; } 2281 SET_MAKE="MAKE=${MAKE-make}" 2282fi 2283 2284rm -rf .tst 2>/dev/null 2285mkdir .tst 2>/dev/null 2286if test -d .tst; then 2287 am__leading_dot=. 2288else 2289 am__leading_dot=_ 2290fi 2291rmdir .tst 2>/dev/null 2292 2293if test "`cd $srcdir && pwd`" != "`pwd`"; then 2294 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2295 # is not polluted with repeated "-I." 2296 am__isrc=' -I$(srcdir)' 2297 # test to see if srcdir already configured 2298 if test -f $srcdir/config.status; then 2299 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2300echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2301 { (exit 1); exit 1; }; } 2302 fi 2303fi 2304 2305# test whether we have cygpath 2306if test -z "$CYGPATH_W"; then 2307 if (cygpath --version) >/dev/null 2>/dev/null; then 2308 CYGPATH_W='cygpath -w' 2309 else 2310 CYGPATH_W=echo 2311 fi 2312fi 2313 2314 2315# Define the identity of the package. 2316 PACKAGE='pango-graphite' 2317 VERSION='0.9.3' 2318 2319 2320cat >>confdefs.h <<_ACEOF 2321#define PACKAGE "$PACKAGE" 2322_ACEOF 2323 2324 2325cat >>confdefs.h <<_ACEOF 2326#define VERSION "$VERSION" 2327_ACEOF 2328 2329# Some tools Automake needs. 2330 2331ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2332 2333 2334AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2335 2336 2337AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2338 2339 2340AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2341 2342 2343MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2344 2345install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2346 2347# Installed binaries are usually stripped using `strip' when the user 2348# run `make install-strip'. However `strip' might not be the right 2349# tool to use in cross-compilation environments, therefore Automake 2350# will honor the `STRIP' environment variable to overrule this program. 2351if test "$cross_compiling" != no; then 2352 if test -n "$ac_tool_prefix"; then 2353 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2354set dummy ${ac_tool_prefix}strip; ac_word=$2 2355{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2356echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2357if test "${ac_cv_prog_STRIP+set}" = set; then 2358 echo $ECHO_N "(cached) $ECHO_C" >&6 2359else 2360 if test -n "$STRIP"; then 2361 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2362else 2363as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2364for as_dir in $PATH 2365do 2366 IFS=$as_save_IFS 2367 test -z "$as_dir" && as_dir=. 2368 for ac_exec_ext in '' $ac_executable_extensions; do 2369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2370 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2372 break 2 2373 fi 2374done 2375done 2376IFS=$as_save_IFS 2377 2378fi 2379fi 2380STRIP=$ac_cv_prog_STRIP 2381if test -n "$STRIP"; then 2382 { echo "$as_me:$LINENO: result: $STRIP" >&5 2383echo "${ECHO_T}$STRIP" >&6; } 2384else 2385 { echo "$as_me:$LINENO: result: no" >&5 2386echo "${ECHO_T}no" >&6; } 2387fi 2388 2389 2390fi 2391if test -z "$ac_cv_prog_STRIP"; then 2392 ac_ct_STRIP=$STRIP 2393 # Extract the first word of "strip", so it can be a program name with args. 2394set dummy strip; ac_word=$2 2395{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2397if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2398 echo $ECHO_N "(cached) $ECHO_C" >&6 2399else 2400 if test -n "$ac_ct_STRIP"; then 2401 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2402else 2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2404for as_dir in $PATH 2405do 2406 IFS=$as_save_IFS 2407 test -z "$as_dir" && as_dir=. 2408 for ac_exec_ext in '' $ac_executable_extensions; do 2409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2410 ac_cv_prog_ac_ct_STRIP="strip" 2411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2412 break 2 2413 fi 2414done 2415done 2416IFS=$as_save_IFS 2417 2418fi 2419fi 2420ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2421if test -n "$ac_ct_STRIP"; then 2422 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2423echo "${ECHO_T}$ac_ct_STRIP" >&6; } 2424else 2425 { echo "$as_me:$LINENO: result: no" >&5 2426echo "${ECHO_T}no" >&6; } 2427fi 2428 2429 if test "x$ac_ct_STRIP" = x; then 2430 STRIP=":" 2431 else 2432 case $cross_compiling:$ac_tool_warned in 2433yes:) 2434{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2435whose name does not start with the host triplet. If you think this 2436configuration is useful to you, please write to autoconf@gnu.org." >&5 2437echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2438whose name does not start with the host triplet. If you think this 2439configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2440ac_tool_warned=yes ;; 2441esac 2442 STRIP=$ac_ct_STRIP 2443 fi 2444else 2445 STRIP="$ac_cv_prog_STRIP" 2446fi 2447 2448fi 2449INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2450 2451# We need awk for the "check" target. The system "awk" is bad on 2452# some platforms. 2453# Always define AMTAR for backward compatibility. 2454 2455AMTAR=${AMTAR-"${am_missing_run}tar"} 2456 2457am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2458 2459 2460 2461 2462 2463{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2464echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2465 # Check whether --enable-maintainer-mode was given. 2466if test "${enable_maintainer_mode+set}" = set; then 2467 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2468else 2469 USE_MAINTAINER_MODE=no 2470fi 2471 2472 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2473echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2474 if test $USE_MAINTAINER_MODE = yes; then 2475 MAINTAINER_MODE_TRUE= 2476 MAINTAINER_MODE_FALSE='#' 2477else 2478 MAINTAINER_MODE_TRUE='#' 2479 MAINTAINER_MODE_FALSE= 2480fi 2481 2482 MAINT=$MAINTAINER_MODE_TRUE 2483 2484 2485 2486# --------------------------------------------------------------------- 2487# Enable options 2488# --------------------------------------------------------------------- 2489# Check whether --enable-examples was given. 2490if test "${enable_examples+set}" = set; then 2491 enableval=$enable_examples; enable_examples=yes 2492else 2493 enable_examples=no 2494fi 2495 2496# Check whether --enable-querymod was given. 2497if test "${enable_querymod+set}" = set; then 2498 enableval=$enable_querymod; enable_querymod=yes 2499else 2500 enable_querymod=no 2501fi 2502 2503# Check whether --enable-debug was given. 2504if test "${enable_debug+set}" = set; then 2505 enableval=$enable_debug; enable_debug=yes 2506else 2507 enable_debug=no 2508fi 2509 2510# Check whether --enable-profile was given. 2511if test "${enable_profile+set}" = set; then 2512 enableval=$enable_profile; enable_profile=yes 2513else 2514 enable_profile=no 2515fi 2516 2517# Check whether --enable-profilefn was given. 2518if test "${enable_profilefn+set}" = set; then 2519 enableval=$enable_profilefn; enable_profilefn=yes 2520else 2521 enable_profilefn=no 2522fi 2523 2524 2525# --------------------------------------------------------------------- 2526# Check Programs 2527# --------------------------------------------------------------------- 2528ac_ext=cpp 2529ac_cpp='$CXXCPP $CPPFLAGS' 2530ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2531ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2532ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2533 2534ac_ext=c 2535ac_cpp='$CPP $CPPFLAGS' 2536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2538ac_compiler_gnu=$ac_cv_c_compiler_gnu 2539if test -n "$ac_tool_prefix"; then 2540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2541set dummy ${ac_tool_prefix}gcc; ac_word=$2 2542{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2544if test "${ac_cv_prog_CC+set}" = set; then 2545 echo $ECHO_N "(cached) $ECHO_C" >&6 2546else 2547 if test -n "$CC"; then 2548 ac_cv_prog_CC="$CC" # Let the user override the test. 2549else 2550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2551for as_dir in $PATH 2552do 2553 IFS=$as_save_IFS 2554 test -z "$as_dir" && as_dir=. 2555 for ac_exec_ext in '' $ac_executable_extensions; do 2556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2557 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2559 break 2 2560 fi 2561done 2562done 2563IFS=$as_save_IFS 2564 2565fi 2566fi 2567CC=$ac_cv_prog_CC 2568if test -n "$CC"; then 2569 { echo "$as_me:$LINENO: result: $CC" >&5 2570echo "${ECHO_T}$CC" >&6; } 2571else 2572 { echo "$as_me:$LINENO: result: no" >&5 2573echo "${ECHO_T}no" >&6; } 2574fi 2575 2576 2577fi 2578if test -z "$ac_cv_prog_CC"; then 2579 ac_ct_CC=$CC 2580 # Extract the first word of "gcc", so it can be a program name with args. 2581set dummy gcc; ac_word=$2 2582{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2583echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2584if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2585 echo $ECHO_N "(cached) $ECHO_C" >&6 2586else 2587 if test -n "$ac_ct_CC"; then 2588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2589else 2590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2591for as_dir in $PATH 2592do 2593 IFS=$as_save_IFS 2594 test -z "$as_dir" && as_dir=. 2595 for ac_exec_ext in '' $ac_executable_extensions; do 2596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2597 ac_cv_prog_ac_ct_CC="gcc" 2598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2599 break 2 2600 fi 2601done 2602done 2603IFS=$as_save_IFS 2604 2605fi 2606fi 2607ac_ct_CC=$ac_cv_prog_ac_ct_CC 2608if test -n "$ac_ct_CC"; then 2609 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2610echo "${ECHO_T}$ac_ct_CC" >&6; } 2611else 2612 { echo "$as_me:$LINENO: result: no" >&5 2613echo "${ECHO_T}no" >&6; } 2614fi 2615 2616 if test "x$ac_ct_CC" = x; then 2617 CC="" 2618 else 2619 case $cross_compiling:$ac_tool_warned in 2620yes:) 2621{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2622whose name does not start with the host triplet. If you think this 2623configuration is useful to you, please write to autoconf@gnu.org." >&5 2624echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2625whose name does not start with the host triplet. If you think this 2626configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2627ac_tool_warned=yes ;; 2628esac 2629 CC=$ac_ct_CC 2630 fi 2631else 2632 CC="$ac_cv_prog_CC" 2633fi 2634 2635if test -z "$CC"; then 2636 if test -n "$ac_tool_prefix"; then 2637 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2638set dummy ${ac_tool_prefix}cc; ac_word=$2 2639{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2640echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2641if test "${ac_cv_prog_CC+set}" = set; then 2642 echo $ECHO_N "(cached) $ECHO_C" >&6 2643else 2644 if test -n "$CC"; then 2645 ac_cv_prog_CC="$CC" # Let the user override the test. 2646else 2647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2648for as_dir in $PATH 2649do 2650 IFS=$as_save_IFS 2651 test -z "$as_dir" && as_dir=. 2652 for ac_exec_ext in '' $ac_executable_extensions; do 2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2654 ac_cv_prog_CC="${ac_tool_prefix}cc" 2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2656 break 2 2657 fi 2658done 2659done 2660IFS=$as_save_IFS 2661 2662fi 2663fi 2664CC=$ac_cv_prog_CC 2665if test -n "$CC"; then 2666 { echo "$as_me:$LINENO: result: $CC" >&5 2667echo "${ECHO_T}$CC" >&6; } 2668else 2669 { echo "$as_me:$LINENO: result: no" >&5 2670echo "${ECHO_T}no" >&6; } 2671fi 2672 2673 2674 fi 2675fi 2676if test -z "$CC"; then 2677 # Extract the first word of "cc", so it can be a program name with args. 2678set dummy cc; ac_word=$2 2679{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2680echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2681if test "${ac_cv_prog_CC+set}" = set; then 2682 echo $ECHO_N "(cached) $ECHO_C" >&6 2683else 2684 if test -n "$CC"; then 2685 ac_cv_prog_CC="$CC" # Let the user override the test. 2686else 2687 ac_prog_rejected=no 2688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2689for as_dir in $PATH 2690do 2691 IFS=$as_save_IFS 2692 test -z "$as_dir" && as_dir=. 2693 for ac_exec_ext in '' $ac_executable_extensions; do 2694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2695 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2696 ac_prog_rejected=yes 2697 continue 2698 fi 2699 ac_cv_prog_CC="cc" 2700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2701 break 2 2702 fi 2703done 2704done 2705IFS=$as_save_IFS 2706 2707if test $ac_prog_rejected = yes; then 2708 # We found a bogon in the path, so make sure we never use it. 2709 set dummy $ac_cv_prog_CC 2710 shift 2711 if test $# != 0; then 2712 # We chose a different compiler from the bogus one. 2713 # However, it has the same basename, so the bogon will be chosen 2714 # first if we set CC to just the basename; use the full file name. 2715 shift 2716 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2717 fi 2718fi 2719fi 2720fi 2721CC=$ac_cv_prog_CC 2722if test -n "$CC"; then 2723 { echo "$as_me:$LINENO: result: $CC" >&5 2724echo "${ECHO_T}$CC" >&6; } 2725else 2726 { echo "$as_me:$LINENO: result: no" >&5 2727echo "${ECHO_T}no" >&6; } 2728fi 2729 2730 2731fi 2732if test -z "$CC"; then 2733 if test -n "$ac_tool_prefix"; then 2734 for ac_prog in cl.exe 2735 do 2736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2737set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2738{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2739echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2740if test "${ac_cv_prog_CC+set}" = set; then 2741 echo $ECHO_N "(cached) $ECHO_C" >&6 2742else 2743 if test -n "$CC"; then 2744 ac_cv_prog_CC="$CC" # Let the user override the test. 2745else 2746as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2747for as_dir in $PATH 2748do 2749 IFS=$as_save_IFS 2750 test -z "$as_dir" && as_dir=. 2751 for ac_exec_ext in '' $ac_executable_extensions; do 2752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2755 break 2 2756 fi 2757done 2758done 2759IFS=$as_save_IFS 2760 2761fi 2762fi 2763CC=$ac_cv_prog_CC 2764if test -n "$CC"; then 2765 { echo "$as_me:$LINENO: result: $CC" >&5 2766echo "${ECHO_T}$CC" >&6; } 2767else 2768 { echo "$as_me:$LINENO: result: no" >&5 2769echo "${ECHO_T}no" >&6; } 2770fi 2771 2772 2773 test -n "$CC" && break 2774 done 2775fi 2776if test -z "$CC"; then 2777 ac_ct_CC=$CC 2778 for ac_prog in cl.exe 2779do 2780 # Extract the first word of "$ac_prog", so it can be a program name with args. 2781set dummy $ac_prog; ac_word=$2 2782{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2783echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2784if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2785 echo $ECHO_N "(cached) $ECHO_C" >&6 2786else 2787 if test -n "$ac_ct_CC"; then 2788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2789else 2790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2791for as_dir in $PATH 2792do 2793 IFS=$as_save_IFS 2794 test -z "$as_dir" && as_dir=. 2795 for ac_exec_ext in '' $ac_executable_extensions; do 2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2797 ac_cv_prog_ac_ct_CC="$ac_prog" 2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2799 break 2 2800 fi 2801done 2802done 2803IFS=$as_save_IFS 2804 2805fi 2806fi 2807ac_ct_CC=$ac_cv_prog_ac_ct_CC 2808if test -n "$ac_ct_CC"; then 2809 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2810echo "${ECHO_T}$ac_ct_CC" >&6; } 2811else 2812 { echo "$as_me:$LINENO: result: no" >&5 2813echo "${ECHO_T}no" >&6; } 2814fi 2815 2816 2817 test -n "$ac_ct_CC" && break 2818done 2819 2820 if test "x$ac_ct_CC" = x; then 2821 CC="" 2822 else 2823 case $cross_compiling:$ac_tool_warned in 2824yes:) 2825{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2826whose name does not start with the host triplet. If you think this 2827configuration is useful to you, please write to autoconf@gnu.org." >&5 2828echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2829whose name does not start with the host triplet. If you think this 2830configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2831ac_tool_warned=yes ;; 2832esac 2833 CC=$ac_ct_CC 2834 fi 2835fi 2836 2837fi 2838 2839 2840test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2841See \`config.log' for more details." >&5 2842echo "$as_me: error: no acceptable C compiler found in \$PATH 2843See \`config.log' for more details." >&2;} 2844 { (exit 1); exit 1; }; } 2845 2846# Provide some information about the compiler. 2847echo "$as_me:$LINENO: checking for C compiler version" >&5 2848ac_compiler=`set X $ac_compile; echo $2` 2849{ (ac_try="$ac_compiler --version >&5" 2850case "(($ac_try" in 2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2852 *) ac_try_echo=$ac_try;; 2853esac 2854eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2855 (eval "$ac_compiler --version >&5") 2>&5 2856 ac_status=$? 2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2858 (exit $ac_status); } 2859{ (ac_try="$ac_compiler -v >&5" 2860case "(($ac_try" in 2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2862 *) ac_try_echo=$ac_try;; 2863esac 2864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2865 (eval "$ac_compiler -v >&5") 2>&5 2866 ac_status=$? 2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2868 (exit $ac_status); } 2869{ (ac_try="$ac_compiler -V >&5" 2870case "(($ac_try" in 2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2872 *) ac_try_echo=$ac_try;; 2873esac 2874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2875 (eval "$ac_compiler -V >&5") 2>&5 2876 ac_status=$? 2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2878 (exit $ac_status); } 2879 2880cat >conftest.$ac_ext <<_ACEOF 2881/* confdefs.h. */ 2882_ACEOF 2883cat confdefs.h >>conftest.$ac_ext 2884cat >>conftest.$ac_ext <<_ACEOF 2885/* end confdefs.h. */ 2886 2887int 2888main () 2889{ 2890 2891 ; 2892 return 0; 2893} 2894_ACEOF 2895ac_clean_files_save=$ac_clean_files 2896ac_clean_files="$ac_clean_files a.out a.exe b.out" 2897# Try to create an executable without -o first, disregard a.out. 2898# It will help us diagnose broken compilers, and finding out an intuition 2899# of exeext. 2900{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2901echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2902ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2903# 2904# List of possible output files, starting from the most likely. 2905# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2906# only as a last resort. b.out is created by i960 compilers. 2907ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2908# 2909# The IRIX 6 linker writes into existing files which may not be 2910# executable, retaining their permissions. Remove them first so a 2911# subsequent execution test works. 2912ac_rmfiles= 2913for ac_file in $ac_files 2914do 2915 case $ac_file in 2916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2917 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2918 esac 2919done 2920rm -f $ac_rmfiles 2921 2922if { (ac_try="$ac_link_default" 2923case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926esac 2927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2928 (eval "$ac_link_default") 2>&5 2929 ac_status=$? 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2931 (exit $ac_status); }; then 2932 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2933# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2934# in a Makefile. We should not override ac_cv_exeext if it was cached, 2935# so that the user can short-circuit this test for compilers unknown to 2936# Autoconf. 2937for ac_file in $ac_files '' 2938do 2939 test -f "$ac_file" || continue 2940 case $ac_file in 2941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2942 ;; 2943 [ab].out ) 2944 # We found the default executable, but exeext='' is most 2945 # certainly right. 2946 break;; 2947 *.* ) 2948 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2949 then :; else 2950 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2951 fi 2952 # We set ac_cv_exeext here because the later test for it is not 2953 # safe: cross compilers may not add the suffix if given an `-o' 2954 # argument, so we may need to know it at that point already. 2955 # Even if this section looks crufty: it has the advantage of 2956 # actually working. 2957 break;; 2958 * ) 2959 break;; 2960 esac 2961done 2962test "$ac_cv_exeext" = no && ac_cv_exeext= 2963 2964else 2965 ac_file='' 2966fi 2967 2968{ echo "$as_me:$LINENO: result: $ac_file" >&5 2969echo "${ECHO_T}$ac_file" >&6; } 2970if test -z "$ac_file"; then 2971 echo "$as_me: failed program was:" >&5 2972sed 's/^/| /' conftest.$ac_ext >&5 2973 2974{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2975See \`config.log' for more details." >&5 2976echo "$as_me: error: C compiler cannot create executables 2977See \`config.log' for more details." >&2;} 2978 { (exit 77); exit 77; }; } 2979fi 2980 2981ac_exeext=$ac_cv_exeext 2982 2983# Check that the compiler produces executables we can run. If not, either 2984# the compiler is broken, or we cross compile. 2985{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2986echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2987# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2988# If not cross compiling, check that we can run a simple program. 2989if test "$cross_compiling" != yes; then 2990 if { ac_try='./$ac_file' 2991 { (case "(($ac_try" in 2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2993 *) ac_try_echo=$ac_try;; 2994esac 2995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2996 (eval "$ac_try") 2>&5 2997 ac_status=$? 2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2999 (exit $ac_status); }; }; then 3000 cross_compiling=no 3001 else 3002 if test "$cross_compiling" = maybe; then 3003 cross_compiling=yes 3004 else 3005 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 3006If you meant to cross compile, use \`--host'. 3007See \`config.log' for more details." >&5 3008echo "$as_me: error: cannot run C compiled programs. 3009If you meant to cross compile, use \`--host'. 3010See \`config.log' for more details." >&2;} 3011 { (exit 1); exit 1; }; } 3012 fi 3013 fi 3014fi 3015{ echo "$as_me:$LINENO: result: yes" >&5 3016echo "${ECHO_T}yes" >&6; } 3017 3018rm -f a.out a.exe conftest$ac_cv_exeext b.out 3019ac_clean_files=$ac_clean_files_save 3020# Check that the compiler produces executables we can run. If not, either 3021# the compiler is broken, or we cross compile. 3022{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3023echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 3024{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 3025echo "${ECHO_T}$cross_compiling" >&6; } 3026 3027{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 3028echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 3029if { (ac_try="$ac_link" 3030case "(($ac_try" in 3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3032 *) ac_try_echo=$ac_try;; 3033esac 3034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3035 (eval "$ac_link") 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; then 3039 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3040# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3041# work properly (i.e., refer to `conftest.exe'), while it won't with 3042# `rm'. 3043for ac_file in conftest.exe conftest conftest.*; do 3044 test -f "$ac_file" || continue 3045 case $ac_file in 3046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 3047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3048 break;; 3049 * ) break;; 3050 esac 3051done 3052else 3053 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3054See \`config.log' for more details." >&5 3055echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3056See \`config.log' for more details." >&2;} 3057 { (exit 1); exit 1; }; } 3058fi 3059 3060rm -f conftest$ac_cv_exeext 3061{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3062echo "${ECHO_T}$ac_cv_exeext" >&6; } 3063 3064rm -f conftest.$ac_ext 3065EXEEXT=$ac_cv_exeext 3066ac_exeext=$EXEEXT 3067{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 3068echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 3069if test "${ac_cv_objext+set}" = set; then 3070 echo $ECHO_N "(cached) $ECHO_C" >&6 3071else 3072 cat >conftest.$ac_ext <<_ACEOF 3073/* confdefs.h. */ 3074_ACEOF 3075cat confdefs.h >>conftest.$ac_ext 3076cat >>conftest.$ac_ext <<_ACEOF 3077/* end confdefs.h. */ 3078 3079int 3080main () 3081{ 3082 3083 ; 3084 return 0; 3085} 3086_ACEOF 3087rm -f conftest.o conftest.obj 3088if { (ac_try="$ac_compile" 3089case "(($ac_try" in 3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3091 *) ac_try_echo=$ac_try;; 3092esac 3093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3094 (eval "$ac_compile") 2>&5 3095 ac_status=$? 3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3097 (exit $ac_status); }; then 3098 for ac_file in conftest.o conftest.obj conftest.*; do 3099 test -f "$ac_file" || continue; 3100 case $ac_file in 3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 3102 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3103 break;; 3104 esac 3105done 3106else 3107 echo "$as_me: failed program was:" >&5 3108sed 's/^/| /' conftest.$ac_ext >&5 3109 3110{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3111See \`config.log' for more details." >&5 3112echo "$as_me: error: cannot compute suffix of object files: cannot compile 3113See \`config.log' for more details." >&2;} 3114 { (exit 1); exit 1; }; } 3115fi 3116 3117rm -f conftest.$ac_cv_objext conftest.$ac_ext 3118fi 3119{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3120echo "${ECHO_T}$ac_cv_objext" >&6; } 3121OBJEXT=$ac_cv_objext 3122ac_objext=$OBJEXT 3123{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3124echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 3125if test "${ac_cv_c_compiler_gnu+set}" = set; then 3126 echo $ECHO_N "(cached) $ECHO_C" >&6 3127else 3128 cat >conftest.$ac_ext <<_ACEOF 3129/* confdefs.h. */ 3130_ACEOF 3131cat confdefs.h >>conftest.$ac_ext 3132cat >>conftest.$ac_ext <<_ACEOF 3133/* end confdefs.h. */ 3134 3135int 3136main () 3137{ 3138#ifndef __GNUC__ 3139 choke me 3140#endif 3141 3142 ; 3143 return 0; 3144} 3145_ACEOF 3146rm -f conftest.$ac_objext 3147if { (ac_try="$ac_compile" 3148case "(($ac_try" in 3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3150 *) ac_try_echo=$ac_try;; 3151esac 3152eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3153 (eval "$ac_compile") 2>conftest.er1 3154 ac_status=$? 3155 grep -v '^ *+' conftest.er1 >conftest.err 3156 rm -f conftest.er1 3157 cat conftest.err >&5 3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3159 (exit $ac_status); } && { 3160 test -z "$ac_c_werror_flag" || 3161 test ! -s conftest.err 3162 } && test -s conftest.$ac_objext; then 3163 ac_compiler_gnu=yes 3164else 3165 echo "$as_me: failed program was:" >&5 3166sed 's/^/| /' conftest.$ac_ext >&5 3167 3168 ac_compiler_gnu=no 3169fi 3170 3171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3172ac_cv_c_compiler_gnu=$ac_compiler_gnu 3173 3174fi 3175{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3176echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 3177GCC=`test $ac_compiler_gnu = yes && echo yes` 3178ac_test_CFLAGS=${CFLAGS+set} 3179ac_save_CFLAGS=$CFLAGS 3180{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3181echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 3182if test "${ac_cv_prog_cc_g+set}" = set; then 3183 echo $ECHO_N "(cached) $ECHO_C" >&6 3184else 3185 ac_save_c_werror_flag=$ac_c_werror_flag 3186 ac_c_werror_flag=yes 3187 ac_cv_prog_cc_g=no 3188 CFLAGS="-g" 3189 cat >conftest.$ac_ext <<_ACEOF 3190/* confdefs.h. */ 3191_ACEOF 3192cat confdefs.h >>conftest.$ac_ext 3193cat >>conftest.$ac_ext <<_ACEOF 3194/* end confdefs.h. */ 3195 3196int 3197main () 3198{ 3199 3200 ; 3201 return 0; 3202} 3203_ACEOF 3204rm -f conftest.$ac_objext 3205if { (ac_try="$ac_compile" 3206case "(($ac_try" in 3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3208 *) ac_try_echo=$ac_try;; 3209esac 3210eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3211 (eval "$ac_compile") 2>conftest.er1 3212 ac_status=$? 3213 grep -v '^ *+' conftest.er1 >conftest.err 3214 rm -f conftest.er1 3215 cat conftest.err >&5 3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217 (exit $ac_status); } && { 3218 test -z "$ac_c_werror_flag" || 3219 test ! -s conftest.err 3220 } && test -s conftest.$ac_objext; then 3221 ac_cv_prog_cc_g=yes 3222else 3223 echo "$as_me: failed program was:" >&5 3224sed 's/^/| /' conftest.$ac_ext >&5 3225 3226 CFLAGS="" 3227 cat >conftest.$ac_ext <<_ACEOF 3228/* confdefs.h. */ 3229_ACEOF 3230cat confdefs.h >>conftest.$ac_ext 3231cat >>conftest.$ac_ext <<_ACEOF 3232/* end confdefs.h. */ 3233 3234int 3235main () 3236{ 3237 3238 ; 3239 return 0; 3240} 3241_ACEOF 3242rm -f conftest.$ac_objext 3243if { (ac_try="$ac_compile" 3244case "(($ac_try" in 3245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3246 *) ac_try_echo=$ac_try;; 3247esac 3248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3249 (eval "$ac_compile") 2>conftest.er1 3250 ac_status=$? 3251 grep -v '^ *+' conftest.er1 >conftest.err 3252 rm -f conftest.er1 3253 cat conftest.err >&5 3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3255 (exit $ac_status); } && { 3256 test -z "$ac_c_werror_flag" || 3257 test ! -s conftest.err 3258 } && test -s conftest.$ac_objext; then 3259 : 3260else 3261 echo "$as_me: failed program was:" >&5 3262sed 's/^/| /' conftest.$ac_ext >&5 3263 3264 ac_c_werror_flag=$ac_save_c_werror_flag 3265 CFLAGS="-g" 3266 cat >conftest.$ac_ext <<_ACEOF 3267/* confdefs.h. */ 3268_ACEOF 3269cat confdefs.h >>conftest.$ac_ext 3270cat >>conftest.$ac_ext <<_ACEOF 3271/* end confdefs.h. */ 3272 3273int 3274main () 3275{ 3276 3277 ; 3278 return 0; 3279} 3280_ACEOF 3281rm -f conftest.$ac_objext 3282if { (ac_try="$ac_compile" 3283case "(($ac_try" in 3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3285 *) ac_try_echo=$ac_try;; 3286esac 3287eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3288 (eval "$ac_compile") 2>conftest.er1 3289 ac_status=$? 3290 grep -v '^ *+' conftest.er1 >conftest.err 3291 rm -f conftest.er1 3292 cat conftest.err >&5 3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3294 (exit $ac_status); } && { 3295 test -z "$ac_c_werror_flag" || 3296 test ! -s conftest.err 3297 } && test -s conftest.$ac_objext; then 3298 ac_cv_prog_cc_g=yes 3299else 3300 echo "$as_me: failed program was:" >&5 3301sed 's/^/| /' conftest.$ac_ext >&5 3302 3303 3304fi 3305 3306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3307fi 3308 3309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3310fi 3311 3312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3313 ac_c_werror_flag=$ac_save_c_werror_flag 3314fi 3315{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3316echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3317if test "$ac_test_CFLAGS" = set; then 3318 CFLAGS=$ac_save_CFLAGS 3319elif test $ac_cv_prog_cc_g = yes; then 3320 if test "$GCC" = yes; then 3321 CFLAGS="-g -O2" 3322 else 3323 CFLAGS="-g" 3324 fi 3325else 3326 if test "$GCC" = yes; then 3327 CFLAGS="-O2" 3328 else 3329 CFLAGS= 3330 fi 3331fi 3332{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3333echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3334if test "${ac_cv_prog_cc_c89+set}" = set; then 3335 echo $ECHO_N "(cached) $ECHO_C" >&6 3336else 3337 ac_cv_prog_cc_c89=no 3338ac_save_CC=$CC 3339cat >conftest.$ac_ext <<_ACEOF 3340/* confdefs.h. */ 3341_ACEOF 3342cat confdefs.h >>conftest.$ac_ext 3343cat >>conftest.$ac_ext <<_ACEOF 3344/* end confdefs.h. */ 3345#include <stdarg.h> 3346#include <stdio.h> 3347#include <sys/types.h> 3348#include <sys/stat.h> 3349/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3350struct buf { int x; }; 3351FILE * (*rcsopen) (struct buf *, struct stat *, int); 3352static char *e (p, i) 3353 char **p; 3354 int i; 3355{ 3356 return p[i]; 3357} 3358static char *f (char * (*g) (char **, int), char **p, ...) 3359{ 3360 char *s; 3361 va_list v; 3362 va_start (v,p); 3363 s = g (p, va_arg (v,int)); 3364 va_end (v); 3365 return s; 3366} 3367 3368/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3369 function prototypes and stuff, but not '\xHH' hex character constants. 3370 These don't provoke an error unfortunately, instead are silently treated 3371 as 'x'. The following induces an error, until -std is added to get 3372 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3373 array size at least. It's necessary to write '\x00'==0 to get something 3374 that's true only with -std. */ 3375int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3376 3377/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3378 inside strings and character constants. */ 3379#define FOO(x) 'x' 3380int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3381 3382int test (int i, double x); 3383struct s1 {int (*f) (int a);}; 3384struct s2 {int (*f) (double a);}; 3385int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3386int argc; 3387char **argv; 3388int 3389main () 3390{ 3391return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3392 ; 3393 return 0; 3394} 3395_ACEOF 3396for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3397 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3398do 3399 CC="$ac_save_CC $ac_arg" 3400 rm -f conftest.$ac_objext 3401if { (ac_try="$ac_compile" 3402case "(($ac_try" in 3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3404 *) ac_try_echo=$ac_try;; 3405esac 3406eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3407 (eval "$ac_compile") 2>conftest.er1 3408 ac_status=$? 3409 grep -v '^ *+' conftest.er1 >conftest.err 3410 rm -f conftest.er1 3411 cat conftest.err >&5 3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3413 (exit $ac_status); } && { 3414 test -z "$ac_c_werror_flag" || 3415 test ! -s conftest.err 3416 } && test -s conftest.$ac_objext; then 3417 ac_cv_prog_cc_c89=$ac_arg 3418else 3419 echo "$as_me: failed program was:" >&5 3420sed 's/^/| /' conftest.$ac_ext >&5 3421 3422 3423fi 3424 3425rm -f core conftest.err conftest.$ac_objext 3426 test "x$ac_cv_prog_cc_c89" != "xno" && break 3427done 3428rm -f conftest.$ac_ext 3429CC=$ac_save_CC 3430 3431fi 3432# AC_CACHE_VAL 3433case "x$ac_cv_prog_cc_c89" in 3434 x) 3435 { echo "$as_me:$LINENO: result: none needed" >&5 3436echo "${ECHO_T}none needed" >&6; } ;; 3437 xno) 3438 { echo "$as_me:$LINENO: result: unsupported" >&5 3439echo "${ECHO_T}unsupported" >&6; } ;; 3440 *) 3441 CC="$CC $ac_cv_prog_cc_c89" 3442 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3443echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3444esac 3445 3446 3447ac_ext=cpp 3448ac_cpp='$CXXCPP $CPPFLAGS' 3449ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3450ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3451ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3452DEPDIR="${am__leading_dot}deps" 3453 3454ac_config_commands="$ac_config_commands depfiles" 3455 3456 3457am_make=${MAKE-make} 3458cat > confinc << 'END' 3459am__doit: 3460 @echo done 3461.PHONY: am__doit 3462END 3463# If we don't find an include directive, just comment out the code. 3464{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3465echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3466am__include="#" 3467am__quote= 3468_am_result=none 3469# First try GNU make style include. 3470echo "include confinc" > confmf 3471# We grep out `Entering directory' and `Leaving directory' 3472# messages which can occur if `w' ends up in MAKEFLAGS. 3473# In particular we don't look at `^make:' because GNU make might 3474# be invoked under some other name (usually "gmake"), in which 3475# case it prints its new name instead of `make'. 3476if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3477 am__include=include 3478 am__quote= 3479 _am_result=GNU 3480fi 3481# Now try BSD make style include. 3482if test "$am__include" = "#"; then 3483 echo '.include "confinc"' > confmf 3484 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3485 am__include=.include 3486 am__quote="\"" 3487 _am_result=BSD 3488 fi 3489fi 3490 3491 3492{ echo "$as_me:$LINENO: result: $_am_result" >&5 3493echo "${ECHO_T}$_am_result" >&6; } 3494rm -f confinc confmf 3495 3496# Check whether --enable-dependency-tracking was given. 3497if test "${enable_dependency_tracking+set}" = set; then 3498 enableval=$enable_dependency_tracking; 3499fi 3500 3501if test "x$enable_dependency_tracking" != xno; then 3502 am_depcomp="$ac_aux_dir/depcomp" 3503 AMDEPBACKSLASH='\' 3504fi 3505 if test "x$enable_dependency_tracking" != xno; then 3506 AMDEP_TRUE= 3507 AMDEP_FALSE='#' 3508else 3509 AMDEP_TRUE='#' 3510 AMDEP_FALSE= 3511fi 3512 3513 3514 3515depcc="$CC" am_compiler_list= 3516 3517{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3518echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3519if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3520 echo $ECHO_N "(cached) $ECHO_C" >&6 3521else 3522 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3523 # We make a subdir and do the tests there. Otherwise we can end up 3524 # making bogus files that we don't know about and never remove. For 3525 # instance it was reported that on HP-UX the gcc test will end up 3526 # making a dummy file named `D' -- because `-MD' means `put the output 3527 # in D'. 3528 mkdir conftest.dir 3529 # Copy depcomp to subdir because otherwise we won't find it if we're 3530 # using a relative directory. 3531 cp "$am_depcomp" conftest.dir 3532 cd conftest.dir 3533 # We will build objects and dependencies in a subdirectory because 3534 # it helps to detect inapplicable dependency modes. For instance 3535 # both Tru64's cc and ICC support -MD to output dependencies as a 3536 # side effect of compilation, but ICC will put the dependencies in 3537 # the current directory while Tru64 will put them in the object 3538 # directory. 3539 mkdir sub 3540 3541 am_cv_CC_dependencies_compiler_type=none 3542 if test "$am_compiler_list" = ""; then 3543 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3544 fi 3545 for depmode in $am_compiler_list; do 3546 # Setup a source with many dependencies, because some compilers 3547 # like to wrap large dependency lists on column 80 (with \), and 3548 # we should not choose a depcomp mode which is confused by this. 3549 # 3550 # We need to recreate these files for each test, as the compiler may 3551 # overwrite some of them when testing with obscure command lines. 3552 # This happens at least with the AIX C compiler. 3553 : > sub/conftest.c 3554 for i in 1 2 3 4 5 6; do 3555 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3556 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3557 # Solaris 8's {/usr,}/bin/sh. 3558 touch sub/conftst$i.h 3559 done 3560 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3561 3562 case $depmode in 3563 nosideeffect) 3564 # after this tag, mechanisms are not by side-effect, so they'll 3565 # only be used when explicitly requested 3566 if test "x$enable_dependency_tracking" = xyes; then 3567 continue 3568 else 3569 break 3570 fi 3571 ;; 3572 none) break ;; 3573 esac 3574 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3575 # mode. It turns out that the SunPro C++ compiler does not properly 3576 # handle `-M -o', and we need to detect this. 3577 if depmode=$depmode \ 3578 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3579 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3580 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3581 >/dev/null 2>conftest.err && 3582 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3583 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3584 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3585 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3586 # icc doesn't choke on unknown options, it will just issue warnings 3587 # or remarks (even with -Werror). So we grep stderr for any message 3588 # that says an option was ignored or not supported. 3589 # When given -MP, icc 7.0 and 7.1 complain thusly: 3590 # icc: Command line warning: ignoring option '-M'; no argument required 3591 # The diagnosis changed in icc 8.0: 3592 # icc: Command line remark: option '-MP' not supported 3593 if (grep 'ignoring option' conftest.err || 3594 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3595 am_cv_CC_dependencies_compiler_type=$depmode 3596 break 3597 fi 3598 fi 3599 done 3600 3601 cd .. 3602 rm -rf conftest.dir 3603else 3604 am_cv_CC_dependencies_compiler_type=none 3605fi 3606 3607fi 3608{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3609echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3610CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3611 3612 if 3613 test "x$enable_dependency_tracking" != xno \ 3614 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3615 am__fastdepCC_TRUE= 3616 am__fastdepCC_FALSE='#' 3617else 3618 am__fastdepCC_TRUE='#' 3619 am__fastdepCC_FALSE= 3620fi 3621 3622 3623ac_ext=cpp 3624ac_cpp='$CXXCPP $CPPFLAGS' 3625ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3626ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3627ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3628if test -z "$CXX"; then 3629 if test -n "$CCC"; then 3630 CXX=$CCC 3631 else 3632 if test -n "$ac_tool_prefix"; then 3633 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3634 do 3635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3636set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3637{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3639if test "${ac_cv_prog_CXX+set}" = set; then 3640 echo $ECHO_N "(cached) $ECHO_C" >&6 3641else 3642 if test -n "$CXX"; then 3643 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3644else 3645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3646for as_dir in $PATH 3647do 3648 IFS=$as_save_IFS 3649 test -z "$as_dir" && as_dir=. 3650 for ac_exec_ext in '' $ac_executable_extensions; do 3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3652 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3654 break 2 3655 fi 3656done 3657done 3658IFS=$as_save_IFS 3659 3660fi 3661fi 3662CXX=$ac_cv_prog_CXX 3663if test -n "$CXX"; then 3664 { echo "$as_me:$LINENO: result: $CXX" >&5 3665echo "${ECHO_T}$CXX" >&6; } 3666else 3667 { echo "$as_me:$LINENO: result: no" >&5 3668echo "${ECHO_T}no" >&6; } 3669fi 3670 3671 3672 test -n "$CXX" && break 3673 done 3674fi 3675if test -z "$CXX"; then 3676 ac_ct_CXX=$CXX 3677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3678do 3679 # Extract the first word of "$ac_prog", so it can be a program name with args. 3680set dummy $ac_prog; ac_word=$2 3681{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3682echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3683if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3684 echo $ECHO_N "(cached) $ECHO_C" >&6 3685else 3686 if test -n "$ac_ct_CXX"; then 3687 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3688else 3689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3690for as_dir in $PATH 3691do 3692 IFS=$as_save_IFS 3693 test -z "$as_dir" && as_dir=. 3694 for ac_exec_ext in '' $ac_executable_extensions; do 3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3696 ac_cv_prog_ac_ct_CXX="$ac_prog" 3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3698 break 2 3699 fi 3700done 3701done 3702IFS=$as_save_IFS 3703 3704fi 3705fi 3706ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3707if test -n "$ac_ct_CXX"; then 3708 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 3709echo "${ECHO_T}$ac_ct_CXX" >&6; } 3710else 3711 { echo "$as_me:$LINENO: result: no" >&5 3712echo "${ECHO_T}no" >&6; } 3713fi 3714 3715 3716 test -n "$ac_ct_CXX" && break 3717done 3718 3719 if test "x$ac_ct_CXX" = x; then 3720 CXX="g++" 3721 else 3722 case $cross_compiling:$ac_tool_warned in 3723yes:) 3724{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3725whose name does not start with the host triplet. If you think this 3726configuration is useful to you, please write to autoconf@gnu.org." >&5 3727echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3728whose name does not start with the host triplet. If you think this 3729configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3730ac_tool_warned=yes ;; 3731esac 3732 CXX=$ac_ct_CXX 3733 fi 3734fi 3735 3736 fi 3737fi 3738# Provide some information about the compiler. 3739echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3740ac_compiler=`set X $ac_compile; echo $2` 3741{ (ac_try="$ac_compiler --version >&5" 3742case "(($ac_try" in 3743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3744 *) ac_try_echo=$ac_try;; 3745esac 3746eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3747 (eval "$ac_compiler --version >&5") 2>&5 3748 ac_status=$? 3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3750 (exit $ac_status); } 3751{ (ac_try="$ac_compiler -v >&5" 3752case "(($ac_try" in 3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3754 *) ac_try_echo=$ac_try;; 3755esac 3756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3757 (eval "$ac_compiler -v >&5") 2>&5 3758 ac_status=$? 3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3760 (exit $ac_status); } 3761{ (ac_try="$ac_compiler -V >&5" 3762case "(($ac_try" in 3763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3764 *) ac_try_echo=$ac_try;; 3765esac 3766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3767 (eval "$ac_compiler -V >&5") 2>&5 3768 ac_status=$? 3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3770 (exit $ac_status); } 3771 3772{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3773echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3774if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3775 echo $ECHO_N "(cached) $ECHO_C" >&6 3776else 3777 cat >conftest.$ac_ext <<_ACEOF 3778/* confdefs.h. */ 3779_ACEOF 3780cat confdefs.h >>conftest.$ac_ext 3781cat >>conftest.$ac_ext <<_ACEOF 3782/* end confdefs.h. */ 3783 3784int 3785main () 3786{ 3787#ifndef __GNUC__ 3788 choke me 3789#endif 3790 3791 ; 3792 return 0; 3793} 3794_ACEOF 3795rm -f conftest.$ac_objext 3796if { (ac_try="$ac_compile" 3797case "(($ac_try" in 3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3799 *) ac_try_echo=$ac_try;; 3800esac 3801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3802 (eval "$ac_compile") 2>conftest.er1 3803 ac_status=$? 3804 grep -v '^ *+' conftest.er1 >conftest.err 3805 rm -f conftest.er1 3806 cat conftest.err >&5 3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3808 (exit $ac_status); } && { 3809 test -z "$ac_cxx_werror_flag" || 3810 test ! -s conftest.err 3811 } && test -s conftest.$ac_objext; then 3812 ac_compiler_gnu=yes 3813else 3814 echo "$as_me: failed program was:" >&5 3815sed 's/^/| /' conftest.$ac_ext >&5 3816 3817 ac_compiler_gnu=no 3818fi 3819 3820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3821ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3822 3823fi 3824{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3825echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3826GXX=`test $ac_compiler_gnu = yes && echo yes` 3827ac_test_CXXFLAGS=${CXXFLAGS+set} 3828ac_save_CXXFLAGS=$CXXFLAGS 3829{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3830echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 3831if test "${ac_cv_prog_cxx_g+set}" = set; then 3832 echo $ECHO_N "(cached) $ECHO_C" >&6 3833else 3834 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3835 ac_cxx_werror_flag=yes 3836 ac_cv_prog_cxx_g=no 3837 CXXFLAGS="-g" 3838 cat >conftest.$ac_ext <<_ACEOF 3839/* confdefs.h. */ 3840_ACEOF 3841cat confdefs.h >>conftest.$ac_ext 3842cat >>conftest.$ac_ext <<_ACEOF 3843/* end confdefs.h. */ 3844 3845int 3846main () 3847{ 3848 3849 ; 3850 return 0; 3851} 3852_ACEOF 3853rm -f conftest.$ac_objext 3854if { (ac_try="$ac_compile" 3855case "(($ac_try" in 3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3857 *) ac_try_echo=$ac_try;; 3858esac 3859eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3860 (eval "$ac_compile") 2>conftest.er1 3861 ac_status=$? 3862 grep -v '^ *+' conftest.er1 >conftest.err 3863 rm -f conftest.er1 3864 cat conftest.err >&5 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } && { 3867 test -z "$ac_cxx_werror_flag" || 3868 test ! -s conftest.err 3869 } && test -s conftest.$ac_objext; then 3870 ac_cv_prog_cxx_g=yes 3871else 3872 echo "$as_me: failed program was:" >&5 3873sed 's/^/| /' conftest.$ac_ext >&5 3874 3875 CXXFLAGS="" 3876 cat >conftest.$ac_ext <<_ACEOF 3877/* confdefs.h. */ 3878_ACEOF 3879cat confdefs.h >>conftest.$ac_ext 3880cat >>conftest.$ac_ext <<_ACEOF 3881/* end confdefs.h. */ 3882 3883int 3884main () 3885{ 3886 3887 ; 3888 return 0; 3889} 3890_ACEOF 3891rm -f conftest.$ac_objext 3892if { (ac_try="$ac_compile" 3893case "(($ac_try" in 3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3895 *) ac_try_echo=$ac_try;; 3896esac 3897eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3898 (eval "$ac_compile") 2>conftest.er1 3899 ac_status=$? 3900 grep -v '^ *+' conftest.er1 >conftest.err 3901 rm -f conftest.er1 3902 cat conftest.err >&5 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3904 (exit $ac_status); } && { 3905 test -z "$ac_cxx_werror_flag" || 3906 test ! -s conftest.err 3907 } && test -s conftest.$ac_objext; then 3908 : 3909else 3910 echo "$as_me: failed program was:" >&5 3911sed 's/^/| /' conftest.$ac_ext >&5 3912 3913 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3914 CXXFLAGS="-g" 3915 cat >conftest.$ac_ext <<_ACEOF 3916/* confdefs.h. */ 3917_ACEOF 3918cat confdefs.h >>conftest.$ac_ext 3919cat >>conftest.$ac_ext <<_ACEOF 3920/* end confdefs.h. */ 3921 3922int 3923main () 3924{ 3925 3926 ; 3927 return 0; 3928} 3929_ACEOF 3930rm -f conftest.$ac_objext 3931if { (ac_try="$ac_compile" 3932case "(($ac_try" in 3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3934 *) ac_try_echo=$ac_try;; 3935esac 3936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3937 (eval "$ac_compile") 2>conftest.er1 3938 ac_status=$? 3939 grep -v '^ *+' conftest.er1 >conftest.err 3940 rm -f conftest.er1 3941 cat conftest.err >&5 3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); } && { 3944 test -z "$ac_cxx_werror_flag" || 3945 test ! -s conftest.err 3946 } && test -s conftest.$ac_objext; then 3947 ac_cv_prog_cxx_g=yes 3948else 3949 echo "$as_me: failed program was:" >&5 3950sed 's/^/| /' conftest.$ac_ext >&5 3951 3952 3953fi 3954 3955rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3956fi 3957 3958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3959fi 3960 3961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3962 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3963fi 3964{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3965echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 3966if test "$ac_test_CXXFLAGS" = set; then 3967 CXXFLAGS=$ac_save_CXXFLAGS 3968elif test $ac_cv_prog_cxx_g = yes; then 3969 if test "$GXX" = yes; then 3970 CXXFLAGS="-g -O2" 3971 else 3972 CXXFLAGS="-g" 3973 fi 3974else 3975 if test "$GXX" = yes; then 3976 CXXFLAGS="-O2" 3977 else 3978 CXXFLAGS= 3979 fi 3980fi 3981ac_ext=cpp 3982ac_cpp='$CXXCPP $CPPFLAGS' 3983ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3984ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3985ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3986 3987depcc="$CXX" am_compiler_list= 3988 3989{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3990echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3991if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 3992 echo $ECHO_N "(cached) $ECHO_C" >&6 3993else 3994 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3995 # We make a subdir and do the tests there. Otherwise we can end up 3996 # making bogus files that we don't know about and never remove. For 3997 # instance it was reported that on HP-UX the gcc test will end up 3998 # making a dummy file named `D' -- because `-MD' means `put the output 3999 # in D'. 4000 mkdir conftest.dir 4001 # Copy depcomp to subdir because otherwise we won't find it if we're 4002 # using a relative directory. 4003 cp "$am_depcomp" conftest.dir 4004 cd conftest.dir 4005 # We will build objects and dependencies in a subdirectory because 4006 # it helps to detect inapplicable dependency modes. For instance 4007 # both Tru64's cc and ICC support -MD to output dependencies as a 4008 # side effect of compilation, but ICC will put the dependencies in 4009 # the current directory while Tru64 will put them in the object 4010 # directory. 4011 mkdir sub 4012 4013 am_cv_CXX_dependencies_compiler_type=none 4014 if test "$am_compiler_list" = ""; then 4015 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4016 fi 4017 for depmode in $am_compiler_list; do 4018 # Setup a source with many dependencies, because some compilers 4019 # like to wrap large dependency lists on column 80 (with \), and 4020 # we should not choose a depcomp mode which is confused by this. 4021 # 4022 # We need to recreate these files for each test, as the compiler may 4023 # overwrite some of them when testing with obscure command lines. 4024 # This happens at least with the AIX C compiler. 4025 : > sub/conftest.c 4026 for i in 1 2 3 4 5 6; do 4027 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4028 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4029 # Solaris 8's {/usr,}/bin/sh. 4030 touch sub/conftst$i.h 4031 done 4032 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4033 4034 case $depmode in 4035 nosideeffect) 4036 # after this tag, mechanisms are not by side-effect, so they'll 4037 # only be used when explicitly requested 4038 if test "x$enable_dependency_tracking" = xyes; then 4039 continue 4040 else 4041 break 4042 fi 4043 ;; 4044 none) break ;; 4045 esac 4046 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4047 # mode. It turns out that the SunPro C++ compiler does not properly 4048 # handle `-M -o', and we need to detect this. 4049 if depmode=$depmode \ 4050 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4051 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4052 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4053 >/dev/null 2>conftest.err && 4054 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4055 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4056 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4057 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4058 # icc doesn't choke on unknown options, it will just issue warnings 4059 # or remarks (even with -Werror). So we grep stderr for any message 4060 # that says an option was ignored or not supported. 4061 # When given -MP, icc 7.0 and 7.1 complain thusly: 4062 # icc: Command line warning: ignoring option '-M'; no argument required 4063 # The diagnosis changed in icc 8.0: 4064 # icc: Command line remark: option '-MP' not supported 4065 if (grep 'ignoring option' conftest.err || 4066 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4067 am_cv_CXX_dependencies_compiler_type=$depmode 4068 break 4069 fi 4070 fi 4071 done 4072 4073 cd .. 4074 rm -rf conftest.dir 4075else 4076 am_cv_CXX_dependencies_compiler_type=none 4077fi 4078 4079fi 4080{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 4081echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 4082CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4083 4084 if 4085 test "x$enable_dependency_tracking" != xno \ 4086 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4087 am__fastdepCXX_TRUE= 4088 am__fastdepCXX_FALSE='#' 4089else 4090 am__fastdepCXX_TRUE='#' 4091 am__fastdepCXX_FALSE= 4092fi 4093 4094 4095# Find a good install program. We prefer a C program (faster), 4096# so one script is as good as another. But avoid the broken or 4097# incompatible versions: 4098# SysV /etc/install, /usr/sbin/install 4099# SunOS /usr/etc/install 4100# IRIX /sbin/install 4101# AIX /bin/install 4102# AmigaOS /C/install, which installs bootblocks on floppy discs 4103# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4104# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4105# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4106# OS/2's system install, which has a completely different semantic 4107# ./install, which can be erroneously created by make from ./install.sh. 4108{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4109echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 4110if test -z "$INSTALL"; then 4111if test "${ac_cv_path_install+set}" = set; then 4112 echo $ECHO_N "(cached) $ECHO_C" >&6 4113else 4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4115for as_dir in $PATH 4116do 4117 IFS=$as_save_IFS 4118 test -z "$as_dir" && as_dir=. 4119 # Account for people who put trailing slashes in PATH elements. 4120case $as_dir/ in 4121 ./ | .// | /cC/* | \ 4122 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4123 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4124 /usr/ucb/* ) ;; 4125 *) 4126 # OSF1 and SCO ODT 3.0 have their own names for install. 4127 # Don't use installbsd from OSF since it installs stuff as root 4128 # by default. 4129 for ac_prog in ginstall scoinst install; do 4130 for ac_exec_ext in '' $ac_executable_extensions; do 4131 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 4132 if test $ac_prog = install && 4133 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4134 # AIX install. It has an incompatible calling convention. 4135 : 4136 elif test $ac_prog = install && 4137 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4138 # program-specific install script used by HP pwplus--don't use. 4139 : 4140 else 4141 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4142 break 3 4143 fi 4144 fi 4145 done 4146 done 4147 ;; 4148esac 4149done 4150IFS=$as_save_IFS 4151 4152 4153fi 4154 if test "${ac_cv_path_install+set}" = set; then 4155 INSTALL=$ac_cv_path_install 4156 else 4157 # As a last resort, use the slow shell script. Don't cache a 4158 # value for INSTALL within a source directory, because that will 4159 # break other packages using the cache if that directory is 4160 # removed, or if the value is a relative name. 4161 INSTALL=$ac_install_sh 4162 fi 4163fi 4164{ echo "$as_me:$LINENO: result: $INSTALL" >&5 4165echo "${ECHO_T}$INSTALL" >&6; } 4166 4167# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4168# It thinks the first close brace ends the variable substitution. 4169test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4170 4171test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4172 4173test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4174 4175case `pwd` in 4176 *\ * | *\ *) 4177 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4178echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4179esac 4180 4181 4182 4183macro_version='2.2.4' 4184macro_revision='1.2976' 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198ltmain="$ac_aux_dir/ltmain.sh" 4199 4200# Make sure we can run config.sub. 4201$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4202 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4203echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4204 { (exit 1); exit 1; }; } 4205 4206{ echo "$as_me:$LINENO: checking build system type" >&5 4207echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 4208if test "${ac_cv_build+set}" = set; then 4209 echo $ECHO_N "(cached) $ECHO_C" >&6 4210else 4211 ac_build_alias=$build_alias 4212test "x$ac_build_alias" = x && 4213 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4214test "x$ac_build_alias" = x && 4215 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4216echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4217 { (exit 1); exit 1; }; } 4218ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4219 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4220echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4221 { (exit 1); exit 1; }; } 4222 4223fi 4224{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4225echo "${ECHO_T}$ac_cv_build" >&6; } 4226case $ac_cv_build in 4227*-*-*) ;; 4228*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4229echo "$as_me: error: invalid value of canonical build" >&2;} 4230 { (exit 1); exit 1; }; };; 4231esac 4232build=$ac_cv_build 4233ac_save_IFS=$IFS; IFS='-' 4234set x $ac_cv_build 4235shift 4236build_cpu=$1 4237build_vendor=$2 4238shift; shift 4239# Remember, the first character of IFS is used to create $*, 4240# except with old shells: 4241build_os=$* 4242IFS=$ac_save_IFS 4243case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4244 4245 4246{ echo "$as_me:$LINENO: checking host system type" >&5 4247echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 4248if test "${ac_cv_host+set}" = set; then 4249 echo $ECHO_N "(cached) $ECHO_C" >&6 4250else 4251 if test "x$host_alias" = x; then 4252 ac_cv_host=$ac_cv_build 4253else 4254 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4255 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4256echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4257 { (exit 1); exit 1; }; } 4258fi 4259 4260fi 4261{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4262echo "${ECHO_T}$ac_cv_host" >&6; } 4263case $ac_cv_host in 4264*-*-*) ;; 4265*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4266echo "$as_me: error: invalid value of canonical host" >&2;} 4267 { (exit 1); exit 1; }; };; 4268esac 4269host=$ac_cv_host 4270ac_save_IFS=$IFS; IFS='-' 4271set x $ac_cv_host 4272shift 4273host_cpu=$1 4274host_vendor=$2 4275shift; shift 4276# Remember, the first character of IFS is used to create $*, 4277# except with old shells: 4278host_os=$* 4279IFS=$ac_save_IFS 4280case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4281 4282 4283{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4284echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } 4285if test "${ac_cv_path_SED+set}" = set; then 4286 echo $ECHO_N "(cached) $ECHO_C" >&6 4287else 4288 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4289 for ac_i in 1 2 3 4 5 6 7; do 4290 ac_script="$ac_script$as_nl$ac_script" 4291 done 4292 echo "$ac_script" | sed 99q >conftest.sed 4293 $as_unset ac_script || ac_script= 4294 # Extract the first word of "sed gsed" to use in msg output 4295if test -z "$SED"; then 4296set dummy sed gsed; ac_prog_name=$2 4297if test "${ac_cv_path_SED+set}" = set; then 4298 echo $ECHO_N "(cached) $ECHO_C" >&6 4299else 4300 ac_path_SED_found=false 4301# Loop through the user's path and test for each of PROGNAME-LIST 4302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4303for as_dir in $PATH 4304do 4305 IFS=$as_save_IFS 4306 test -z "$as_dir" && as_dir=. 4307 for ac_prog in sed gsed; do 4308 for ac_exec_ext in '' $ac_executable_extensions; do 4309 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4310 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4311 # Check for GNU ac_path_SED and select it if it is found. 4312 # Check for GNU $ac_path_SED 4313case `"$ac_path_SED" --version 2>&1` in 4314*GNU*) 4315 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4316*) 4317 ac_count=0 4318 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4319 while : 4320 do 4321 cat "conftest.in" "conftest.in" >"conftest.tmp" 4322 mv "conftest.tmp" "conftest.in" 4323 cp "conftest.in" "conftest.nl" 4324 echo '' >> "conftest.nl" 4325 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4326 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4327 ac_count=`expr $ac_count + 1` 4328 if test $ac_count -gt ${ac_path_SED_max-0}; then 4329 # Best one so far, save it but keep looking for a better one 4330 ac_cv_path_SED="$ac_path_SED" 4331 ac_path_SED_max=$ac_count 4332 fi 4333 # 10*(2^10) chars as input seems more than enough 4334 test $ac_count -gt 10 && break 4335 done 4336 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4337esac 4338 4339 4340 $ac_path_SED_found && break 3 4341 done 4342done 4343 4344done 4345IFS=$as_save_IFS 4346 4347 4348fi 4349 4350SED="$ac_cv_path_SED" 4351if test -z "$SED"; then 4352 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5 4353echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;} 4354 { (exit 1); exit 1; }; } 4355fi 4356 4357else 4358 ac_cv_path_SED=$SED 4359fi 4360 4361fi 4362{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 4363echo "${ECHO_T}$ac_cv_path_SED" >&6; } 4364 SED="$ac_cv_path_SED" 4365 rm -f conftest.sed 4366 4367test -z "$SED" && SED=sed 4368Xsed="$SED -e 1s/^X//" 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4381echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4382if test "${ac_cv_path_GREP+set}" = set; then 4383 echo $ECHO_N "(cached) $ECHO_C" >&6 4384else 4385 # Extract the first word of "grep ggrep" to use in msg output 4386if test -z "$GREP"; then 4387set dummy grep ggrep; ac_prog_name=$2 4388if test "${ac_cv_path_GREP+set}" = set; then 4389 echo $ECHO_N "(cached) $ECHO_C" >&6 4390else 4391 ac_path_GREP_found=false 4392# Loop through the user's path and test for each of PROGNAME-LIST 4393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4394for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4395do 4396 IFS=$as_save_IFS 4397 test -z "$as_dir" && as_dir=. 4398 for ac_prog in grep ggrep; do 4399 for ac_exec_ext in '' $ac_executable_extensions; do 4400 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4401 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4402 # Check for GNU ac_path_GREP and select it if it is found. 4403 # Check for GNU $ac_path_GREP 4404case `"$ac_path_GREP" --version 2>&1` in 4405*GNU*) 4406 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4407*) 4408 ac_count=0 4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4410 while : 4411 do 4412 cat "conftest.in" "conftest.in" >"conftest.tmp" 4413 mv "conftest.tmp" "conftest.in" 4414 cp "conftest.in" "conftest.nl" 4415 echo 'GREP' >> "conftest.nl" 4416 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4417 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4418 ac_count=`expr $ac_count + 1` 4419 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4420 # Best one so far, save it but keep looking for a better one 4421 ac_cv_path_GREP="$ac_path_GREP" 4422 ac_path_GREP_max=$ac_count 4423 fi 4424 # 10*(2^10) chars as input seems more than enough 4425 test $ac_count -gt 10 && break 4426 done 4427 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4428esac 4429 4430 4431 $ac_path_GREP_found && break 3 4432 done 4433done 4434 4435done 4436IFS=$as_save_IFS 4437 4438 4439fi 4440 4441GREP="$ac_cv_path_GREP" 4442if test -z "$GREP"; then 4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4444echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4445 { (exit 1); exit 1; }; } 4446fi 4447 4448else 4449 ac_cv_path_GREP=$GREP 4450fi 4451 4452 4453fi 4454{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4455echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4456 GREP="$ac_cv_path_GREP" 4457 4458 4459{ echo "$as_me:$LINENO: checking for egrep" >&5 4460echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4461if test "${ac_cv_path_EGREP+set}" = set; then 4462 echo $ECHO_N "(cached) $ECHO_C" >&6 4463else 4464 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4465 then ac_cv_path_EGREP="$GREP -E" 4466 else 4467 # Extract the first word of "egrep" to use in msg output 4468if test -z "$EGREP"; then 4469set dummy egrep; ac_prog_name=$2 4470if test "${ac_cv_path_EGREP+set}" = set; then 4471 echo $ECHO_N "(cached) $ECHO_C" >&6 4472else 4473 ac_path_EGREP_found=false 4474# Loop through the user's path and test for each of PROGNAME-LIST 4475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4476for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4477do 4478 IFS=$as_save_IFS 4479 test -z "$as_dir" && as_dir=. 4480 for ac_prog in egrep; do 4481 for ac_exec_ext in '' $ac_executable_extensions; do 4482 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4483 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4484 # Check for GNU ac_path_EGREP and select it if it is found. 4485 # Check for GNU $ac_path_EGREP 4486case `"$ac_path_EGREP" --version 2>&1` in 4487*GNU*) 4488 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4489*) 4490 ac_count=0 4491 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4492 while : 4493 do 4494 cat "conftest.in" "conftest.in" >"conftest.tmp" 4495 mv "conftest.tmp" "conftest.in" 4496 cp "conftest.in" "conftest.nl" 4497 echo 'EGREP' >> "conftest.nl" 4498 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4500 ac_count=`expr $ac_count + 1` 4501 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4502 # Best one so far, save it but keep looking for a better one 4503 ac_cv_path_EGREP="$ac_path_EGREP" 4504 ac_path_EGREP_max=$ac_count 4505 fi 4506 # 10*(2^10) chars as input seems more than enough 4507 test $ac_count -gt 10 && break 4508 done 4509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4510esac 4511 4512 4513 $ac_path_EGREP_found && break 3 4514 done 4515done 4516 4517done 4518IFS=$as_save_IFS 4519 4520 4521fi 4522 4523EGREP="$ac_cv_path_EGREP" 4524if test -z "$EGREP"; then 4525 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4526echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4527 { (exit 1); exit 1; }; } 4528fi 4529 4530else 4531 ac_cv_path_EGREP=$EGREP 4532fi 4533 4534 4535 fi 4536fi 4537{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4538echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4539 EGREP="$ac_cv_path_EGREP" 4540 4541 4542{ echo "$as_me:$LINENO: checking for fgrep" >&5 4543echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; } 4544if test "${ac_cv_path_FGREP+set}" = set; then 4545 echo $ECHO_N "(cached) $ECHO_C" >&6 4546else 4547 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4548 then ac_cv_path_FGREP="$GREP -F" 4549 else 4550 # Extract the first word of "fgrep" to use in msg output 4551if test -z "$FGREP"; then 4552set dummy fgrep; ac_prog_name=$2 4553if test "${ac_cv_path_FGREP+set}" = set; then 4554 echo $ECHO_N "(cached) $ECHO_C" >&6 4555else 4556 ac_path_FGREP_found=false 4557# Loop through the user's path and test for each of PROGNAME-LIST 4558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4559for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4560do 4561 IFS=$as_save_IFS 4562 test -z "$as_dir" && as_dir=. 4563 for ac_prog in fgrep; do 4564 for ac_exec_ext in '' $ac_executable_extensions; do 4565 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4566 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4567 # Check for GNU ac_path_FGREP and select it if it is found. 4568 # Check for GNU $ac_path_FGREP 4569case `"$ac_path_FGREP" --version 2>&1` in 4570*GNU*) 4571 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4572*) 4573 ac_count=0 4574 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4575 while : 4576 do 4577 cat "conftest.in" "conftest.in" >"conftest.tmp" 4578 mv "conftest.tmp" "conftest.in" 4579 cp "conftest.in" "conftest.nl" 4580 echo 'FGREP' >> "conftest.nl" 4581 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4583 ac_count=`expr $ac_count + 1` 4584 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4585 # Best one so far, save it but keep looking for a better one 4586 ac_cv_path_FGREP="$ac_path_FGREP" 4587 ac_path_FGREP_max=$ac_count 4588 fi 4589 # 10*(2^10) chars as input seems more than enough 4590 test $ac_count -gt 10 && break 4591 done 4592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4593esac 4594 4595 4596 $ac_path_FGREP_found && break 3 4597 done 4598done 4599 4600done 4601IFS=$as_save_IFS 4602 4603 4604fi 4605 4606FGREP="$ac_cv_path_FGREP" 4607if test -z "$FGREP"; then 4608 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4609echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4610 { (exit 1); exit 1; }; } 4611fi 4612 4613else 4614 ac_cv_path_FGREP=$FGREP 4615fi 4616 4617 4618 fi 4619fi 4620{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4621echo "${ECHO_T}$ac_cv_path_FGREP" >&6; } 4622 FGREP="$ac_cv_path_FGREP" 4623 4624 4625test -z "$GREP" && GREP=grep 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645# Check whether --with-gnu-ld was given. 4646if test "${with_gnu_ld+set}" = set; then 4647 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4648else 4649 with_gnu_ld=no 4650fi 4651 4652ac_prog=ld 4653if test "$GCC" = yes; then 4654 # Check if gcc -print-prog-name=ld gives a path. 4655 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4656echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 4657 case $host in 4658 *-*-mingw*) 4659 # gcc leaves a trailing carriage return which upsets mingw 4660 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4661 *) 4662 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4663 esac 4664 case $ac_prog in 4665 # Accept absolute paths. 4666 [\\/]* | ?:[\\/]*) 4667 re_direlt='/[^/][^/]*/\.\./' 4668 # Canonicalize the pathname of ld 4669 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4670 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4671 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4672 done 4673 test -z "$LD" && LD="$ac_prog" 4674 ;; 4675 "") 4676 # If it fails, then pretend we aren't using GCC. 4677 ac_prog=ld 4678 ;; 4679 *) 4680 # If it is relative, then search for the first ld in PATH. 4681 with_gnu_ld=unknown 4682 ;; 4683 esac 4684elif test "$with_gnu_ld" = yes; then 4685 { echo "$as_me:$LINENO: checking for GNU ld" >&5 4686echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 4687else 4688 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4689echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 4690fi 4691if test "${lt_cv_path_LD+set}" = set; then 4692 echo $ECHO_N "(cached) $ECHO_C" >&6 4693else 4694 if test -z "$LD"; then 4695 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4696 for ac_dir in $PATH; do 4697 IFS="$lt_save_ifs" 4698 test -z "$ac_dir" && ac_dir=. 4699 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4700 lt_cv_path_LD="$ac_dir/$ac_prog" 4701 # Check to see if the program is GNU ld. I'd rather use --version, 4702 # but apparently some variants of GNU ld only accept -v. 4703 # Break only if it was the GNU/non-GNU ld that we prefer. 4704 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4705 *GNU* | *'with BFD'*) 4706 test "$with_gnu_ld" != no && break 4707 ;; 4708 *) 4709 test "$with_gnu_ld" != yes && break 4710 ;; 4711 esac 4712 fi 4713 done 4714 IFS="$lt_save_ifs" 4715else 4716 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4717fi 4718fi 4719 4720LD="$lt_cv_path_LD" 4721if test -n "$LD"; then 4722 { echo "$as_me:$LINENO: result: $LD" >&5 4723echo "${ECHO_T}$LD" >&6; } 4724else 4725 { echo "$as_me:$LINENO: result: no" >&5 4726echo "${ECHO_T}no" >&6; } 4727fi 4728test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4729echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4730 { (exit 1); exit 1; }; } 4731{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4732echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 4733if test "${lt_cv_prog_gnu_ld+set}" = set; then 4734 echo $ECHO_N "(cached) $ECHO_C" >&6 4735else 4736 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4737case `$LD -v 2>&1 </dev/null` in 4738*GNU* | *'with BFD'*) 4739 lt_cv_prog_gnu_ld=yes 4740 ;; 4741*) 4742 lt_cv_prog_gnu_ld=no 4743 ;; 4744esac 4745fi 4746{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4747echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 4748with_gnu_ld=$lt_cv_prog_gnu_ld 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4759echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; } 4760if test "${lt_cv_path_NM+set}" = set; then 4761 echo $ECHO_N "(cached) $ECHO_C" >&6 4762else 4763 if test -n "$NM"; then 4764 # Let the user override the test. 4765 lt_cv_path_NM="$NM" 4766else 4767 lt_nm_to_check="${ac_tool_prefix}nm" 4768 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4769 lt_nm_to_check="$lt_nm_to_check nm" 4770 fi 4771 for lt_tmp_nm in $lt_nm_to_check; do 4772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4773 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4774 IFS="$lt_save_ifs" 4775 test -z "$ac_dir" && ac_dir=. 4776 tmp_nm="$ac_dir/$lt_tmp_nm" 4777 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4778 # Check to see if the nm accepts a BSD-compat flag. 4779 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4780 # nm: unknown option "B" ignored 4781 # Tru64's nm complains that /dev/null is an invalid object file 4782 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4783 */dev/null* | *'Invalid file or object type'*) 4784 lt_cv_path_NM="$tmp_nm -B" 4785 break 4786 ;; 4787 *) 4788 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4789 */dev/null*) 4790 lt_cv_path_NM="$tmp_nm -p" 4791 break 4792 ;; 4793 *) 4794 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4795 continue # so that we can try to find one that supports BSD flags 4796 ;; 4797 esac 4798 ;; 4799 esac 4800 fi 4801 done 4802 IFS="$lt_save_ifs" 4803 done 4804 : ${lt_cv_path_NM=no} 4805fi 4806fi 4807{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4808echo "${ECHO_T}$lt_cv_path_NM" >&6; } 4809if test "$lt_cv_path_NM" != "no"; then 4810 NM="$lt_cv_path_NM" 4811else 4812 # Didn't find any BSD compatible name lister, look for dumpbin. 4813 if test -n "$ac_tool_prefix"; then 4814 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4815 do 4816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4817set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4818{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4819echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4820if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4821 echo $ECHO_N "(cached) $ECHO_C" >&6 4822else 4823 if test -n "$DUMPBIN"; then 4824 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4825else 4826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4827for as_dir in $PATH 4828do 4829 IFS=$as_save_IFS 4830 test -z "$as_dir" && as_dir=. 4831 for ac_exec_ext in '' $ac_executable_extensions; do 4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4833 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4835 break 2 4836 fi 4837done 4838done 4839IFS=$as_save_IFS 4840 4841fi 4842fi 4843DUMPBIN=$ac_cv_prog_DUMPBIN 4844if test -n "$DUMPBIN"; then 4845 { echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4846echo "${ECHO_T}$DUMPBIN" >&6; } 4847else 4848 { echo "$as_me:$LINENO: result: no" >&5 4849echo "${ECHO_T}no" >&6; } 4850fi 4851 4852 4853 test -n "$DUMPBIN" && break 4854 done 4855fi 4856if test -z "$DUMPBIN"; then 4857 ac_ct_DUMPBIN=$DUMPBIN 4858 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4859do 4860 # Extract the first word of "$ac_prog", so it can be a program name with args. 4861set dummy $ac_prog; ac_word=$2 4862{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4863echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4864if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4865 echo $ECHO_N "(cached) $ECHO_C" >&6 4866else 4867 if test -n "$ac_ct_DUMPBIN"; then 4868 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4869else 4870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4871for as_dir in $PATH 4872do 4873 IFS=$as_save_IFS 4874 test -z "$as_dir" && as_dir=. 4875 for ac_exec_ext in '' $ac_executable_extensions; do 4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4877 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4879 break 2 4880 fi 4881done 4882done 4883IFS=$as_save_IFS 4884 4885fi 4886fi 4887ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4888if test -n "$ac_ct_DUMPBIN"; then 4889 { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4890echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; } 4891else 4892 { echo "$as_me:$LINENO: result: no" >&5 4893echo "${ECHO_T}no" >&6; } 4894fi 4895 4896 4897 test -n "$ac_ct_DUMPBIN" && break 4898done 4899 4900 if test "x$ac_ct_DUMPBIN" = x; then 4901 DUMPBIN=":" 4902 else 4903 case $cross_compiling:$ac_tool_warned in 4904yes:) 4905{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4906whose name does not start with the host triplet. If you think this 4907configuration is useful to you, please write to autoconf@gnu.org." >&5 4908echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4909whose name does not start with the host triplet. If you think this 4910configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4911ac_tool_warned=yes ;; 4912esac 4913 DUMPBIN=$ac_ct_DUMPBIN 4914 fi 4915fi 4916 4917 4918 if test "$DUMPBIN" != ":"; then 4919 NM="$DUMPBIN" 4920 fi 4921fi 4922test -z "$NM" && NM=nm 4923 4924 4925 4926 4927 4928 4929{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4930echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; } 4931if test "${lt_cv_nm_interface+set}" = set; then 4932 echo $ECHO_N "(cached) $ECHO_C" >&6 4933else 4934 lt_cv_nm_interface="BSD nm" 4935 echo "int some_variable = 0;" > conftest.$ac_ext 4936 (eval echo "\"\$as_me:4936: $ac_compile\"" >&5) 4937 (eval "$ac_compile" 2>conftest.err) 4938 cat conftest.err >&5 4939 (eval echo "\"\$as_me:4939: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4940 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4941 cat conftest.err >&5 4942 (eval echo "\"\$as_me:4942: output\"" >&5) 4943 cat conftest.out >&5 4944 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4945 lt_cv_nm_interface="MS dumpbin" 4946 fi 4947 rm -f conftest* 4948fi 4949{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4950echo "${ECHO_T}$lt_cv_nm_interface" >&6; } 4951 4952{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 4953echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 4954LN_S=$as_ln_s 4955if test "$LN_S" = "ln -s"; then 4956 { echo "$as_me:$LINENO: result: yes" >&5 4957echo "${ECHO_T}yes" >&6; } 4958else 4959 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4960echo "${ECHO_T}no, using $LN_S" >&6; } 4961fi 4962 4963# find the maximum length of command line arguments 4964{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4965echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } 4966if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4967 echo $ECHO_N "(cached) $ECHO_C" >&6 4968else 4969 i=0 4970 teststring="ABCD" 4971 4972 case $build_os in 4973 msdosdjgpp*) 4974 # On DJGPP, this test can blow up pretty badly due to problems in libc 4975 # (any single argument exceeding 2000 bytes causes a buffer overrun 4976 # during glob expansion). Even if it were fixed, the result of this 4977 # check would be larger than it should be. 4978 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4979 ;; 4980 4981 gnu*) 4982 # Under GNU Hurd, this test is not required because there is 4983 # no limit to the length of command line arguments. 4984 # Libtool will interpret -1 as no limit whatsoever 4985 lt_cv_sys_max_cmd_len=-1; 4986 ;; 4987 4988 cygwin* | mingw*) 4989 # On Win9x/ME, this test blows up -- it succeeds, but takes 4990 # about 5 minutes as the teststring grows exponentially. 4991 # Worse, since 9x/ME are not pre-emptively multitasking, 4992 # you end up with a "frozen" computer, even though with patience 4993 # the test eventually succeeds (with a max line length of 256k). 4994 # Instead, let's just punt: use the minimum linelength reported by 4995 # all of the supported platforms: 8192 (on NT/2K/XP). 4996 lt_cv_sys_max_cmd_len=8192; 4997 ;; 4998 4999 amigaos*) 5000 # On AmigaOS with pdksh, this test takes hours, literally. 5001 # So we just punt and use a minimum line length of 8192. 5002 lt_cv_sys_max_cmd_len=8192; 5003 ;; 5004 5005 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5006 # This has been around since 386BSD, at least. Likely further. 5007 if test -x /sbin/sysctl; then 5008 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5009 elif test -x /usr/sbin/sysctl; then 5010 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5011 else 5012 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5013 fi 5014 # And add a safety zone 5015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5017 ;; 5018 5019 interix*) 5020 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5021 lt_cv_sys_max_cmd_len=196608 5022 ;; 5023 5024 osf*) 5025 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5026 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5027 # nice to cause kernel panics so lets avoid the loop below. 5028 # First set a reasonable default. 5029 lt_cv_sys_max_cmd_len=16384 5030 # 5031 if test -x /sbin/sysconfig; then 5032 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5033 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5034 esac 5035 fi 5036 ;; 5037 sco3.2v5*) 5038 lt_cv_sys_max_cmd_len=102400 5039 ;; 5040 sysv5* | sco5v6* | sysv4.2uw2*) 5041 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5042 if test -n "$kargmax"; then 5043 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5044 else 5045 lt_cv_sys_max_cmd_len=32768 5046 fi 5047 ;; 5048 *) 5049 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5050 if test -n "$lt_cv_sys_max_cmd_len"; then 5051 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5052 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5053 else 5054 # Make teststring a little bigger before we do anything with it. 5055 # a 1K string should be a reasonable start. 5056 for i in 1 2 3 4 5 6 7 8 ; do 5057 teststring=$teststring$teststring 5058 done 5059 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5060 # If test is not a shell built-in, we'll probably end up computing a 5061 # maximum length that is only half of the actual maximum length, but 5062 # we can't tell. 5063 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5064 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5065 test $i != 17 # 1/2 MB should be enough 5066 do 5067 i=`expr $i + 1` 5068 teststring=$teststring$teststring 5069 done 5070 # Only check the string length outside the loop. 5071 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5072 teststring= 5073 # Add a significant safety factor because C++ compilers can tack on 5074 # massive amounts of additional arguments before passing them to the 5075 # linker. It appears as though 1/2 is a usable value. 5076 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5077 fi 5078 ;; 5079 esac 5080 5081fi 5082 5083if test -n $lt_cv_sys_max_cmd_len ; then 5084 { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5085echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } 5086else 5087 { echo "$as_me:$LINENO: result: none" >&5 5088echo "${ECHO_T}none" >&6; } 5089fi 5090max_cmd_len=$lt_cv_sys_max_cmd_len 5091 5092 5093 5094 5095 5096 5097: ${CP="cp -f"} 5098: ${MV="mv -f"} 5099: ${RM="rm -f"} 5100 5101{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 5102echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; } 5103# Try some XSI features 5104xsi_shell=no 5105( _lt_dummy="a/b/c" 5106 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5107 = c,a/b,, \ 5108 && eval 'test $(( 1 + 1 )) -eq 2 \ 5109 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5110 && xsi_shell=yes 5111{ echo "$as_me:$LINENO: result: $xsi_shell" >&5 5112echo "${ECHO_T}$xsi_shell" >&6; } 5113 5114 5115{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 5116echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; } 5117lt_shell_append=no 5118( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5119 >/dev/null 2>&1 \ 5120 && lt_shell_append=yes 5121{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5 5122echo "${ECHO_T}$lt_shell_append" >&6; } 5123 5124 5125if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5126 lt_unset=unset 5127else 5128 lt_unset=false 5129fi 5130 5131 5132 5133 5134 5135# test EBCDIC or ASCII 5136case `echo X|tr X '\101'` in 5137 A) # ASCII based system 5138 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5139 lt_SP2NL='tr \040 \012' 5140 lt_NL2SP='tr \015\012 \040\040' 5141 ;; 5142 *) # EBCDIC based system 5143 lt_SP2NL='tr \100 \n' 5144 lt_NL2SP='tr \r\n \100\100' 5145 ;; 5146esac 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5157echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } 5158if test "${lt_cv_ld_reload_flag+set}" = set; then 5159 echo $ECHO_N "(cached) $ECHO_C" >&6 5160else 5161 lt_cv_ld_reload_flag='-r' 5162fi 5163{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5164echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } 5165reload_flag=$lt_cv_ld_reload_flag 5166case $reload_flag in 5167"" | " "*) ;; 5168*) reload_flag=" $reload_flag" ;; 5169esac 5170reload_cmds='$LD$reload_flag -o $output$reload_objs' 5171case $host_os in 5172 darwin*) 5173 if test "$GCC" = yes; then 5174 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5175 else 5176 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5177 fi 5178 ;; 5179esac 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5191echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } 5192if test "${lt_cv_deplibs_check_method+set}" = set; then 5193 echo $ECHO_N "(cached) $ECHO_C" >&6 5194else 5195 lt_cv_file_magic_cmd='$MAGIC_CMD' 5196lt_cv_file_magic_test_file= 5197lt_cv_deplibs_check_method='unknown' 5198# Need to set the preceding variable on all platforms that support 5199# interlibrary dependencies. 5200# 'none' -- dependencies not supported. 5201# `unknown' -- same as none, but documents that we really don't know. 5202# 'pass_all' -- all dependencies passed with no checks. 5203# 'test_compile' -- check by making test program. 5204# 'file_magic [[regex]]' -- check by looking for files in library path 5205# which responds to the $file_magic_cmd with a given extended regex. 5206# If you have `file' or equivalent on your system and you're not sure 5207# whether `pass_all' will *always* work, you probably want this one. 5208 5209case $host_os in 5210aix[4-9]*) 5211 lt_cv_deplibs_check_method=pass_all 5212 ;; 5213 5214beos*) 5215 lt_cv_deplibs_check_method=pass_all 5216 ;; 5217 5218bsdi[45]*) 5219 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5220 lt_cv_file_magic_cmd='/usr/bin/file -L' 5221 lt_cv_file_magic_test_file=/shlib/libc.so 5222 ;; 5223 5224cygwin*) 5225 # func_win32_libid is a shell function defined in ltmain.sh 5226 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5227 lt_cv_file_magic_cmd='func_win32_libid' 5228 ;; 5229 5230mingw* | pw32*) 5231 # Base MSYS/MinGW do not provide the 'file' command needed by 5232 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5233 # unless we find 'file', for example because we are cross-compiling. 5234 if ( file / ) >/dev/null 2>&1; then 5235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5236 lt_cv_file_magic_cmd='func_win32_libid' 5237 else 5238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5239 lt_cv_file_magic_cmd='$OBJDUMP -f' 5240 fi 5241 ;; 5242 5243darwin* | rhapsody*) 5244 lt_cv_deplibs_check_method=pass_all 5245 ;; 5246 5247freebsd* | dragonfly*) 5248 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5249 case $host_cpu in 5250 i*86 ) 5251 # Not sure whether the presence of OpenBSD here was a mistake. 5252 # Let's accept both of them until this is cleared up. 5253 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5254 lt_cv_file_magic_cmd=/usr/bin/file 5255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5256 ;; 5257 esac 5258 else 5259 lt_cv_deplibs_check_method=pass_all 5260 fi 5261 ;; 5262 5263gnu*) 5264 lt_cv_deplibs_check_method=pass_all 5265 ;; 5266 5267hpux10.20* | hpux11*) 5268 lt_cv_file_magic_cmd=/usr/bin/file 5269 case $host_cpu in 5270 ia64*) 5271 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5272 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5273 ;; 5274 hppa*64*) 5275 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]' 5276 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5277 ;; 5278 *) 5279 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5280 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5281 ;; 5282 esac 5283 ;; 5284 5285interix[3-9]*) 5286 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5287 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5288 ;; 5289 5290irix5* | irix6* | nonstopux*) 5291 case $LD in 5292 *-32|*"-32 ") libmagic=32-bit;; 5293 *-n32|*"-n32 ") libmagic=N32;; 5294 *-64|*"-64 ") libmagic=64-bit;; 5295 *) libmagic=never-match;; 5296 esac 5297 lt_cv_deplibs_check_method=pass_all 5298 ;; 5299 5300# This must be Linux ELF. 5301linux* | k*bsd*-gnu) 5302 lt_cv_deplibs_check_method=pass_all 5303 ;; 5304 5305netbsd* | netbsdelf*-gnu) 5306 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5307 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5308 else 5309 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5310 fi 5311 ;; 5312 5313newos6*) 5314 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5315 lt_cv_file_magic_cmd=/usr/bin/file 5316 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5317 ;; 5318 5319*nto* | *qnx*) 5320 lt_cv_deplibs_check_method=pass_all 5321 ;; 5322 5323openbsd*) 5324 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5325 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5326 else 5327 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5328 fi 5329 ;; 5330 5331osf3* | osf4* | osf5*) 5332 lt_cv_deplibs_check_method=pass_all 5333 ;; 5334 5335rdos*) 5336 lt_cv_deplibs_check_method=pass_all 5337 ;; 5338 5339solaris*) 5340 lt_cv_deplibs_check_method=pass_all 5341 ;; 5342 5343sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5344 lt_cv_deplibs_check_method=pass_all 5345 ;; 5346 5347sysv4 | sysv4.3*) 5348 case $host_vendor in 5349 motorola) 5350 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]' 5351 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5352 ;; 5353 ncr) 5354 lt_cv_deplibs_check_method=pass_all 5355 ;; 5356 sequent) 5357 lt_cv_file_magic_cmd='/bin/file' 5358 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5359 ;; 5360 sni) 5361 lt_cv_file_magic_cmd='/bin/file' 5362 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5363 lt_cv_file_magic_test_file=/lib/libc.so 5364 ;; 5365 siemens) 5366 lt_cv_deplibs_check_method=pass_all 5367 ;; 5368 pc) 5369 lt_cv_deplibs_check_method=pass_all 5370 ;; 5371 esac 5372 ;; 5373 5374tpf*) 5375 lt_cv_deplibs_check_method=pass_all 5376 ;; 5377esac 5378 5379fi 5380{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5381echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } 5382file_magic_cmd=$lt_cv_file_magic_cmd 5383deplibs_check_method=$lt_cv_deplibs_check_method 5384test -z "$deplibs_check_method" && deplibs_check_method=unknown 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397if test -n "$ac_tool_prefix"; then 5398 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5399set dummy ${ac_tool_prefix}ar; ac_word=$2 5400{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5402if test "${ac_cv_prog_AR+set}" = set; then 5403 echo $ECHO_N "(cached) $ECHO_C" >&6 5404else 5405 if test -n "$AR"; then 5406 ac_cv_prog_AR="$AR" # Let the user override the test. 5407else 5408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5409for as_dir in $PATH 5410do 5411 IFS=$as_save_IFS 5412 test -z "$as_dir" && as_dir=. 5413 for ac_exec_ext in '' $ac_executable_extensions; do 5414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5415 ac_cv_prog_AR="${ac_tool_prefix}ar" 5416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5417 break 2 5418 fi 5419done 5420done 5421IFS=$as_save_IFS 5422 5423fi 5424fi 5425AR=$ac_cv_prog_AR 5426if test -n "$AR"; then 5427 { echo "$as_me:$LINENO: result: $AR" >&5 5428echo "${ECHO_T}$AR" >&6; } 5429else 5430 { echo "$as_me:$LINENO: result: no" >&5 5431echo "${ECHO_T}no" >&6; } 5432fi 5433 5434 5435fi 5436if test -z "$ac_cv_prog_AR"; then 5437 ac_ct_AR=$AR 5438 # Extract the first word of "ar", so it can be a program name with args. 5439set dummy ar; ac_word=$2 5440{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5441echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5442if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5443 echo $ECHO_N "(cached) $ECHO_C" >&6 5444else 5445 if test -n "$ac_ct_AR"; then 5446 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5447else 5448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5449for as_dir in $PATH 5450do 5451 IFS=$as_save_IFS 5452 test -z "$as_dir" && as_dir=. 5453 for ac_exec_ext in '' $ac_executable_extensions; do 5454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5455 ac_cv_prog_ac_ct_AR="ar" 5456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5457 break 2 5458 fi 5459done 5460done 5461IFS=$as_save_IFS 5462 5463fi 5464fi 5465ac_ct_AR=$ac_cv_prog_ac_ct_AR 5466if test -n "$ac_ct_AR"; then 5467 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5468echo "${ECHO_T}$ac_ct_AR" >&6; } 5469else 5470 { echo "$as_me:$LINENO: result: no" >&5 5471echo "${ECHO_T}no" >&6; } 5472fi 5473 5474 if test "x$ac_ct_AR" = x; then 5475 AR="false" 5476 else 5477 case $cross_compiling:$ac_tool_warned in 5478yes:) 5479{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5480whose name does not start with the host triplet. If you think this 5481configuration is useful to you, please write to autoconf@gnu.org." >&5 5482echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5483whose name does not start with the host triplet. If you think this 5484configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5485ac_tool_warned=yes ;; 5486esac 5487 AR=$ac_ct_AR 5488 fi 5489else 5490 AR="$ac_cv_prog_AR" 5491fi 5492 5493test -z "$AR" && AR=ar 5494test -z "$AR_FLAGS" && AR_FLAGS=cru 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506if test -n "$ac_tool_prefix"; then 5507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5508set dummy ${ac_tool_prefix}strip; ac_word=$2 5509{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5510echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5511if test "${ac_cv_prog_STRIP+set}" = set; then 5512 echo $ECHO_N "(cached) $ECHO_C" >&6 5513else 5514 if test -n "$STRIP"; then 5515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5516else 5517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5518for as_dir in $PATH 5519do 5520 IFS=$as_save_IFS 5521 test -z "$as_dir" && as_dir=. 5522 for ac_exec_ext in '' $ac_executable_extensions; do 5523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5524 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5526 break 2 5527 fi 5528done 5529done 5530IFS=$as_save_IFS 5531 5532fi 5533fi 5534STRIP=$ac_cv_prog_STRIP 5535if test -n "$STRIP"; then 5536 { echo "$as_me:$LINENO: result: $STRIP" >&5 5537echo "${ECHO_T}$STRIP" >&6; } 5538else 5539 { echo "$as_me:$LINENO: result: no" >&5 5540echo "${ECHO_T}no" >&6; } 5541fi 5542 5543 5544fi 5545if test -z "$ac_cv_prog_STRIP"; then 5546 ac_ct_STRIP=$STRIP 5547 # Extract the first word of "strip", so it can be a program name with args. 5548set dummy strip; ac_word=$2 5549{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5550echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5551if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5552 echo $ECHO_N "(cached) $ECHO_C" >&6 5553else 5554 if test -n "$ac_ct_STRIP"; then 5555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5556else 5557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5558for as_dir in $PATH 5559do 5560 IFS=$as_save_IFS 5561 test -z "$as_dir" && as_dir=. 5562 for ac_exec_ext in '' $ac_executable_extensions; do 5563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5564 ac_cv_prog_ac_ct_STRIP="strip" 5565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5566 break 2 5567 fi 5568done 5569done 5570IFS=$as_save_IFS 5571 5572fi 5573fi 5574ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5575if test -n "$ac_ct_STRIP"; then 5576 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5577echo "${ECHO_T}$ac_ct_STRIP" >&6; } 5578else 5579 { echo "$as_me:$LINENO: result: no" >&5 5580echo "${ECHO_T}no" >&6; } 5581fi 5582 5583 if test "x$ac_ct_STRIP" = x; then 5584 STRIP=":" 5585 else 5586 case $cross_compiling:$ac_tool_warned in 5587yes:) 5588{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5589whose name does not start with the host triplet. If you think this 5590configuration is useful to you, please write to autoconf@gnu.org." >&5 5591echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5592whose name does not start with the host triplet. If you think this 5593configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5594ac_tool_warned=yes ;; 5595esac 5596 STRIP=$ac_ct_STRIP 5597 fi 5598else 5599 STRIP="$ac_cv_prog_STRIP" 5600fi 5601 5602test -z "$STRIP" && STRIP=: 5603 5604 5605 5606 5607 5608 5609if test -n "$ac_tool_prefix"; then 5610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5611set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5612{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5613echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5614if test "${ac_cv_prog_RANLIB+set}" = set; then 5615 echo $ECHO_N "(cached) $ECHO_C" >&6 5616else 5617 if test -n "$RANLIB"; then 5618 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5619else 5620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5621for as_dir in $PATH 5622do 5623 IFS=$as_save_IFS 5624 test -z "$as_dir" && as_dir=. 5625 for ac_exec_ext in '' $ac_executable_extensions; do 5626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5627 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5629 break 2 5630 fi 5631done 5632done 5633IFS=$as_save_IFS 5634 5635fi 5636fi 5637RANLIB=$ac_cv_prog_RANLIB 5638if test -n "$RANLIB"; then 5639 { echo "$as_me:$LINENO: result: $RANLIB" >&5 5640echo "${ECHO_T}$RANLIB" >&6; } 5641else 5642 { echo "$as_me:$LINENO: result: no" >&5 5643echo "${ECHO_T}no" >&6; } 5644fi 5645 5646 5647fi 5648if test -z "$ac_cv_prog_RANLIB"; then 5649 ac_ct_RANLIB=$RANLIB 5650 # Extract the first word of "ranlib", so it can be a program name with args. 5651set dummy ranlib; ac_word=$2 5652{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5653echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5654if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5655 echo $ECHO_N "(cached) $ECHO_C" >&6 5656else 5657 if test -n "$ac_ct_RANLIB"; then 5658 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5659else 5660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5661for as_dir in $PATH 5662do 5663 IFS=$as_save_IFS 5664 test -z "$as_dir" && as_dir=. 5665 for ac_exec_ext in '' $ac_executable_extensions; do 5666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5667 ac_cv_prog_ac_ct_RANLIB="ranlib" 5668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5669 break 2 5670 fi 5671done 5672done 5673IFS=$as_save_IFS 5674 5675fi 5676fi 5677ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5678if test -n "$ac_ct_RANLIB"; then 5679 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5680echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 5681else 5682 { echo "$as_me:$LINENO: result: no" >&5 5683echo "${ECHO_T}no" >&6; } 5684fi 5685 5686 if test "x$ac_ct_RANLIB" = x; then 5687 RANLIB=":" 5688 else 5689 case $cross_compiling:$ac_tool_warned in 5690yes:) 5691{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5692whose name does not start with the host triplet. If you think this 5693configuration is useful to you, please write to autoconf@gnu.org." >&5 5694echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5695whose name does not start with the host triplet. If you think this 5696configuration is useful to you, please write to autoconf@gnu.org." >&2;} 5697ac_tool_warned=yes ;; 5698esac 5699 RANLIB=$ac_ct_RANLIB 5700 fi 5701else 5702 RANLIB="$ac_cv_prog_RANLIB" 5703fi 5704 5705test -z "$RANLIB" && RANLIB=: 5706 5707 5708 5709 5710 5711 5712# Determine commands to create old-style static archives. 5713old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5714old_postinstall_cmds='chmod 644 $oldlib' 5715old_postuninstall_cmds= 5716 5717if test -n "$RANLIB"; then 5718 case $host_os in 5719 openbsd*) 5720 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5721 ;; 5722 *) 5723 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5724 ;; 5725 esac 5726 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5727fi 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762# If no C compiler was specified, use CC. 5763LTCC=${LTCC-"$CC"} 5764 5765# If no C compiler flags were specified, use CFLAGS. 5766LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5767 5768# Allow CC to be a program name with arguments. 5769compiler=$CC 5770 5771 5772# Check for command to grab the raw symbol name followed by C symbol from nm. 5773{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5774echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } 5775if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5776 echo $ECHO_N "(cached) $ECHO_C" >&6 5777else 5778 5779# These are sane defaults that work on at least a few old systems. 5780# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5781 5782# Character class describing NM global symbol codes. 5783symcode='[BCDEGRST]' 5784 5785# Regexp to match symbols that can be accessed directly from C. 5786sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5787 5788# Define system-specific variables. 5789case $host_os in 5790aix*) 5791 symcode='[BCDT]' 5792 ;; 5793cygwin* | mingw* | pw32*) 5794 symcode='[ABCDGISTW]' 5795 ;; 5796hpux*) 5797 if test "$host_cpu" = ia64; then 5798 symcode='[ABCDEGRST]' 5799 fi 5800 ;; 5801irix* | nonstopux*) 5802 symcode='[BCDEGRST]' 5803 ;; 5804osf*) 5805 symcode='[BCDEGQRST]' 5806 ;; 5807solaris*) 5808 symcode='[BDRT]' 5809 ;; 5810sco3.2v5*) 5811 symcode='[DT]' 5812 ;; 5813sysv4.2uw2*) 5814 symcode='[DT]' 5815 ;; 5816sysv5* | sco5v6* | unixware* | OpenUNIX*) 5817 symcode='[ABDT]' 5818 ;; 5819sysv4) 5820 symcode='[DFNSTU]' 5821 ;; 5822esac 5823 5824# If we're using GNU nm, then use its standard symbol codes. 5825case `$NM -V 2>&1` in 5826*GNU* | *'with BFD'*) 5827 symcode='[ABCDGIRSTW]' ;; 5828esac 5829 5830# Transform an extracted symbol line into a proper C declaration. 5831# Some systems (esp. on ia64) link data and code symbols differently, 5832# so use this general approach. 5833lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5834 5835# Transform an extracted symbol line into symbol name and symbol address 5836lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5837lt_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'" 5838 5839# Handle CRLF in mingw tool chain 5840opt_cr= 5841case $build_os in 5842mingw*) 5843 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5844 ;; 5845esac 5846 5847# Try without a prefix underscore, then with it. 5848for ac_symprfx in "" "_"; do 5849 5850 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5851 symxfrm="\\1 $ac_symprfx\\2 \\2" 5852 5853 # Write the raw and C identifiers. 5854 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5855 # Fake it for dumpbin and say T for any non-static function 5856 # and D for any global variable. 5857 # Also find C++ and __fastcall symbols from MSVC++, 5858 # which start with @ or ?. 5859 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5860" {last_section=section; section=\$ 3};"\ 5861" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5862" \$ 0!~/External *\|/{next};"\ 5863" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5864" {if(hide[section]) next};"\ 5865" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5866" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5867" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5868" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5869" ' prfx=^$ac_symprfx" 5870 else 5871 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5872 fi 5873 5874 # Check to see that the pipe works correctly. 5875 pipe_works=no 5876 5877 rm -f conftest* 5878 cat > conftest.$ac_ext <<_LT_EOF 5879#ifdef __cplusplus 5880extern "C" { 5881#endif 5882char nm_test_var; 5883void nm_test_func(void); 5884void nm_test_func(void){} 5885#ifdef __cplusplus 5886} 5887#endif 5888int main(){nm_test_var='a';nm_test_func();return(0);} 5889_LT_EOF 5890 5891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5892 (eval $ac_compile) 2>&5 5893 ac_status=$? 5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5895 (exit $ac_status); }; then 5896 # Now try to grab the symbols. 5897 nlist=conftest.nm 5898 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5899 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5900 ac_status=$? 5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5902 (exit $ac_status); } && test -s "$nlist"; then 5903 # Try sorting and uniquifying the output. 5904 if sort "$nlist" | uniq > "$nlist"T; then 5905 mv -f "$nlist"T "$nlist" 5906 else 5907 rm -f "$nlist"T 5908 fi 5909 5910 # Make sure that we snagged all the symbols we need. 5911 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5912 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5913 cat <<_LT_EOF > conftest.$ac_ext 5914#ifdef __cplusplus 5915extern "C" { 5916#endif 5917 5918_LT_EOF 5919 # Now generate the symbol file. 5920 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5921 5922 cat <<_LT_EOF >> conftest.$ac_ext 5923 5924/* The mapping between symbol names and symbols. */ 5925const struct { 5926 const char *name; 5927 void *address; 5928} 5929lt__PROGRAM__LTX_preloaded_symbols[] = 5930{ 5931 { "@PROGRAM@", (void *) 0 }, 5932_LT_EOF 5933 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5934 cat <<\_LT_EOF >> conftest.$ac_ext 5935 {0, (void *) 0} 5936}; 5937 5938/* This works around a problem in FreeBSD linker */ 5939#ifdef FREEBSD_WORKAROUND 5940static const void *lt_preloaded_setup() { 5941 return lt__PROGRAM__LTX_preloaded_symbols; 5942} 5943#endif 5944 5945#ifdef __cplusplus 5946} 5947#endif 5948_LT_EOF 5949 # Now try linking the two files. 5950 mv conftest.$ac_objext conftstm.$ac_objext 5951 lt_save_LIBS="$LIBS" 5952 lt_save_CFLAGS="$CFLAGS" 5953 LIBS="conftstm.$ac_objext" 5954 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5956 (eval $ac_link) 2>&5 5957 ac_status=$? 5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5959 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5960 pipe_works=yes 5961 fi 5962 LIBS="$lt_save_LIBS" 5963 CFLAGS="$lt_save_CFLAGS" 5964 else 5965 echo "cannot find nm_test_func in $nlist" >&5 5966 fi 5967 else 5968 echo "cannot find nm_test_var in $nlist" >&5 5969 fi 5970 else 5971 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5972 fi 5973 else 5974 echo "$progname: failed program was:" >&5 5975 cat conftest.$ac_ext >&5 5976 fi 5977 rm -rf conftest* conftst* 5978 5979 # Do not use the global_symbol_pipe unless it works. 5980 if test "$pipe_works" = yes; then 5981 break 5982 else 5983 lt_cv_sys_global_symbol_pipe= 5984 fi 5985done 5986 5987fi 5988 5989if test -z "$lt_cv_sys_global_symbol_pipe"; then 5990 lt_cv_sys_global_symbol_to_cdecl= 5991fi 5992if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5993 { echo "$as_me:$LINENO: result: failed" >&5 5994echo "${ECHO_T}failed" >&6; } 5995else 5996 { echo "$as_me:$LINENO: result: ok" >&5 5997echo "${ECHO_T}ok" >&6; } 5998fi 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022# Check whether --enable-libtool-lock was given. 6023if test "${enable_libtool_lock+set}" = set; then 6024 enableval=$enable_libtool_lock; 6025fi 6026 6027test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6028 6029# Some flags need to be propagated to the compiler or linker for good 6030# libtool support. 6031case $host in 6032ia64-*-hpux*) 6033 # Find out which ABI we are using. 6034 echo 'int i;' > conftest.$ac_ext 6035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6036 (eval $ac_compile) 2>&5 6037 ac_status=$? 6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6039 (exit $ac_status); }; then 6040 case `/usr/bin/file conftest.$ac_objext` in 6041 *ELF-32*) 6042 HPUX_IA64_MODE="32" 6043 ;; 6044 *ELF-64*) 6045 HPUX_IA64_MODE="64" 6046 ;; 6047 esac 6048 fi 6049 rm -rf conftest* 6050 ;; 6051*-*-irix6*) 6052 # Find out which ABI we are using. 6053 echo '#line 6053 "configure"' > conftest.$ac_ext 6054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6055 (eval $ac_compile) 2>&5 6056 ac_status=$? 6057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6058 (exit $ac_status); }; then 6059 if test "$lt_cv_prog_gnu_ld" = yes; then 6060 case `/usr/bin/file conftest.$ac_objext` in 6061 *32-bit*) 6062 LD="${LD-ld} -melf32bsmip" 6063 ;; 6064 *N32*) 6065 LD="${LD-ld} -melf32bmipn32" 6066 ;; 6067 *64-bit*) 6068 LD="${LD-ld} -melf64bmip" 6069 ;; 6070 esac 6071 else 6072 case `/usr/bin/file conftest.$ac_objext` in 6073 *32-bit*) 6074 LD="${LD-ld} -32" 6075 ;; 6076 *N32*) 6077 LD="${LD-ld} -n32" 6078 ;; 6079 *64-bit*) 6080 LD="${LD-ld} -64" 6081 ;; 6082 esac 6083 fi 6084 fi 6085 rm -rf conftest* 6086 ;; 6087 6088x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6089s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6090 # Find out which ABI we are using. 6091 echo 'int i;' > conftest.$ac_ext 6092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6093 (eval $ac_compile) 2>&5 6094 ac_status=$? 6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6096 (exit $ac_status); }; then 6097 case `/usr/bin/file conftest.o` in 6098 *32-bit*) 6099 case $host in 6100 x86_64-*kfreebsd*-gnu) 6101 LD="${LD-ld} -m elf_i386_fbsd" 6102 ;; 6103 x86_64-*linux*) 6104 LD="${LD-ld} -m elf_i386" 6105 ;; 6106 ppc64-*linux*|powerpc64-*linux*) 6107 LD="${LD-ld} -m elf32ppclinux" 6108 ;; 6109 s390x-*linux*) 6110 LD="${LD-ld} -m elf_s390" 6111 ;; 6112 sparc64-*linux*) 6113 LD="${LD-ld} -m elf32_sparc" 6114 ;; 6115 esac 6116 ;; 6117 *64-bit*) 6118 case $host in 6119 x86_64-*kfreebsd*-gnu) 6120 LD="${LD-ld} -m elf_x86_64_fbsd" 6121 ;; 6122 x86_64-*linux*) 6123 LD="${LD-ld} -m elf_x86_64" 6124 ;; 6125 ppc*-*linux*|powerpc*-*linux*) 6126 LD="${LD-ld} -m elf64ppc" 6127 ;; 6128 s390*-*linux*|s390*-*tpf*) 6129 LD="${LD-ld} -m elf64_s390" 6130 ;; 6131 sparc*-*linux*) 6132 LD="${LD-ld} -m elf64_sparc" 6133 ;; 6134 esac 6135 ;; 6136 esac 6137 fi 6138 rm -rf conftest* 6139 ;; 6140 6141*-*-sco3.2v5*) 6142 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6143 SAVE_CFLAGS="$CFLAGS" 6144 CFLAGS="$CFLAGS -belf" 6145 { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6146echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } 6147if test "${lt_cv_cc_needs_belf+set}" = set; then 6148 echo $ECHO_N "(cached) $ECHO_C" >&6 6149else 6150 ac_ext=c 6151ac_cpp='$CPP $CPPFLAGS' 6152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6154ac_compiler_gnu=$ac_cv_c_compiler_gnu 6155 6156 cat >conftest.$ac_ext <<_ACEOF 6157/* confdefs.h. */ 6158_ACEOF 6159cat confdefs.h >>conftest.$ac_ext 6160cat >>conftest.$ac_ext <<_ACEOF 6161/* end confdefs.h. */ 6162 6163int 6164main () 6165{ 6166 6167 ; 6168 return 0; 6169} 6170_ACEOF 6171rm -f conftest.$ac_objext conftest$ac_exeext 6172if { (ac_try="$ac_link" 6173case "(($ac_try" in 6174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6175 *) ac_try_echo=$ac_try;; 6176esac 6177eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6178 (eval "$ac_link") 2>conftest.er1 6179 ac_status=$? 6180 grep -v '^ *+' conftest.er1 >conftest.err 6181 rm -f conftest.er1 6182 cat conftest.err >&5 6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6184 (exit $ac_status); } && { 6185 test -z "$ac_c_werror_flag" || 6186 test ! -s conftest.err 6187 } && test -s conftest$ac_exeext && 6188 $as_test_x conftest$ac_exeext; then 6189 lt_cv_cc_needs_belf=yes 6190else 6191 echo "$as_me: failed program was:" >&5 6192sed 's/^/| /' conftest.$ac_ext >&5 6193 6194 lt_cv_cc_needs_belf=no 6195fi 6196 6197rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6198 conftest$ac_exeext conftest.$ac_ext 6199 ac_ext=c 6200ac_cpp='$CPP $CPPFLAGS' 6201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6203ac_compiler_gnu=$ac_cv_c_compiler_gnu 6204 6205fi 6206{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6207echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } 6208 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6209 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6210 CFLAGS="$SAVE_CFLAGS" 6211 fi 6212 ;; 6213sparc*-*solaris*) 6214 # Find out which ABI we are using. 6215 echo 'int i;' > conftest.$ac_ext 6216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6217 (eval $ac_compile) 2>&5 6218 ac_status=$? 6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6220 (exit $ac_status); }; then 6221 case `/usr/bin/file conftest.o` in 6222 *64-bit*) 6223 case $lt_cv_prog_gnu_ld in 6224 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6225 *) 6226 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6227 LD="${LD-ld} -64" 6228 fi 6229 ;; 6230 esac 6231 ;; 6232 esac 6233 fi 6234 rm -rf conftest* 6235 ;; 6236esac 6237 6238need_locks="$enable_libtool_lock" 6239 6240 6241 case $host_os in 6242 rhapsody* | darwin*) 6243 if test -n "$ac_tool_prefix"; then 6244 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6245set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6246{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6247echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6248if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 6249 echo $ECHO_N "(cached) $ECHO_C" >&6 6250else 6251 if test -n "$DSYMUTIL"; then 6252 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6253else 6254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6255for as_dir in $PATH 6256do 6257 IFS=$as_save_IFS 6258 test -z "$as_dir" && as_dir=. 6259 for ac_exec_ext in '' $ac_executable_extensions; do 6260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6261 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6263 break 2 6264 fi 6265done 6266done 6267IFS=$as_save_IFS 6268 6269fi 6270fi 6271DSYMUTIL=$ac_cv_prog_DSYMUTIL 6272if test -n "$DSYMUTIL"; then 6273 { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 6274echo "${ECHO_T}$DSYMUTIL" >&6; } 6275else 6276 { echo "$as_me:$LINENO: result: no" >&5 6277echo "${ECHO_T}no" >&6; } 6278fi 6279 6280 6281fi 6282if test -z "$ac_cv_prog_DSYMUTIL"; then 6283 ac_ct_DSYMUTIL=$DSYMUTIL 6284 # Extract the first word of "dsymutil", so it can be a program name with args. 6285set dummy dsymutil; ac_word=$2 6286{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6287echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6288if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 6289 echo $ECHO_N "(cached) $ECHO_C" >&6 6290else 6291 if test -n "$ac_ct_DSYMUTIL"; then 6292 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6293else 6294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6295for as_dir in $PATH 6296do 6297 IFS=$as_save_IFS 6298 test -z "$as_dir" && as_dir=. 6299 for ac_exec_ext in '' $ac_executable_extensions; do 6300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6301 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6303 break 2 6304 fi 6305done 6306done 6307IFS=$as_save_IFS 6308 6309fi 6310fi 6311ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6312if test -n "$ac_ct_DSYMUTIL"; then 6313 { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 6314echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; } 6315else 6316 { echo "$as_me:$LINENO: result: no" >&5 6317echo "${ECHO_T}no" >&6; } 6318fi 6319 6320 if test "x$ac_ct_DSYMUTIL" = x; then 6321 DSYMUTIL=":" 6322 else 6323 case $cross_compiling:$ac_tool_warned in 6324yes:) 6325{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6326whose name does not start with the host triplet. If you think this 6327configuration is useful to you, please write to autoconf@gnu.org." >&5 6328echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6329whose name does not start with the host triplet. If you think this 6330configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6331ac_tool_warned=yes ;; 6332esac 6333 DSYMUTIL=$ac_ct_DSYMUTIL 6334 fi 6335else 6336 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6337fi 6338 6339 if test -n "$ac_tool_prefix"; then 6340 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6341set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6342{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6343echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6344if test "${ac_cv_prog_NMEDIT+set}" = set; then 6345 echo $ECHO_N "(cached) $ECHO_C" >&6 6346else 6347 if test -n "$NMEDIT"; then 6348 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6349else 6350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6351for as_dir in $PATH 6352do 6353 IFS=$as_save_IFS 6354 test -z "$as_dir" && as_dir=. 6355 for ac_exec_ext in '' $ac_executable_extensions; do 6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6357 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6359 break 2 6360 fi 6361done 6362done 6363IFS=$as_save_IFS 6364 6365fi 6366fi 6367NMEDIT=$ac_cv_prog_NMEDIT 6368if test -n "$NMEDIT"; then 6369 { echo "$as_me:$LINENO: result: $NMEDIT" >&5 6370echo "${ECHO_T}$NMEDIT" >&6; } 6371else 6372 { echo "$as_me:$LINENO: result: no" >&5 6373echo "${ECHO_T}no" >&6; } 6374fi 6375 6376 6377fi 6378if test -z "$ac_cv_prog_NMEDIT"; then 6379 ac_ct_NMEDIT=$NMEDIT 6380 # Extract the first word of "nmedit", so it can be a program name with args. 6381set dummy nmedit; ac_word=$2 6382{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6383echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6384if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 6385 echo $ECHO_N "(cached) $ECHO_C" >&6 6386else 6387 if test -n "$ac_ct_NMEDIT"; then 6388 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6389else 6390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6391for as_dir in $PATH 6392do 6393 IFS=$as_save_IFS 6394 test -z "$as_dir" && as_dir=. 6395 for ac_exec_ext in '' $ac_executable_extensions; do 6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6397 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6399 break 2 6400 fi 6401done 6402done 6403IFS=$as_save_IFS 6404 6405fi 6406fi 6407ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6408if test -n "$ac_ct_NMEDIT"; then 6409 { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 6410echo "${ECHO_T}$ac_ct_NMEDIT" >&6; } 6411else 6412 { echo "$as_me:$LINENO: result: no" >&5 6413echo "${ECHO_T}no" >&6; } 6414fi 6415 6416 if test "x$ac_ct_NMEDIT" = x; then 6417 NMEDIT=":" 6418 else 6419 case $cross_compiling:$ac_tool_warned in 6420yes:) 6421{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6422whose name does not start with the host triplet. If you think this 6423configuration is useful to you, please write to autoconf@gnu.org." >&5 6424echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6425whose name does not start with the host triplet. If you think this 6426configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6427ac_tool_warned=yes ;; 6428esac 6429 NMEDIT=$ac_ct_NMEDIT 6430 fi 6431else 6432 NMEDIT="$ac_cv_prog_NMEDIT" 6433fi 6434 6435 if test -n "$ac_tool_prefix"; then 6436 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6437set dummy ${ac_tool_prefix}lipo; ac_word=$2 6438{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6439echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6440if test "${ac_cv_prog_LIPO+set}" = set; then 6441 echo $ECHO_N "(cached) $ECHO_C" >&6 6442else 6443 if test -n "$LIPO"; then 6444 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6445else 6446as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6447for as_dir in $PATH 6448do 6449 IFS=$as_save_IFS 6450 test -z "$as_dir" && as_dir=. 6451 for ac_exec_ext in '' $ac_executable_extensions; do 6452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6453 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6455 break 2 6456 fi 6457done 6458done 6459IFS=$as_save_IFS 6460 6461fi 6462fi 6463LIPO=$ac_cv_prog_LIPO 6464if test -n "$LIPO"; then 6465 { echo "$as_me:$LINENO: result: $LIPO" >&5 6466echo "${ECHO_T}$LIPO" >&6; } 6467else 6468 { echo "$as_me:$LINENO: result: no" >&5 6469echo "${ECHO_T}no" >&6; } 6470fi 6471 6472 6473fi 6474if test -z "$ac_cv_prog_LIPO"; then 6475 ac_ct_LIPO=$LIPO 6476 # Extract the first word of "lipo", so it can be a program name with args. 6477set dummy lipo; ac_word=$2 6478{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6479echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6480if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6481 echo $ECHO_N "(cached) $ECHO_C" >&6 6482else 6483 if test -n "$ac_ct_LIPO"; then 6484 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6485else 6486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6487for as_dir in $PATH 6488do 6489 IFS=$as_save_IFS 6490 test -z "$as_dir" && as_dir=. 6491 for ac_exec_ext in '' $ac_executable_extensions; do 6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6493 ac_cv_prog_ac_ct_LIPO="lipo" 6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6495 break 2 6496 fi 6497done 6498done 6499IFS=$as_save_IFS 6500 6501fi 6502fi 6503ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6504if test -n "$ac_ct_LIPO"; then 6505 { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6506echo "${ECHO_T}$ac_ct_LIPO" >&6; } 6507else 6508 { echo "$as_me:$LINENO: result: no" >&5 6509echo "${ECHO_T}no" >&6; } 6510fi 6511 6512 if test "x$ac_ct_LIPO" = x; then 6513 LIPO=":" 6514 else 6515 case $cross_compiling:$ac_tool_warned in 6516yes:) 6517{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6518whose name does not start with the host triplet. If you think this 6519configuration is useful to you, please write to autoconf@gnu.org." >&5 6520echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6521whose name does not start with the host triplet. If you think this 6522configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6523ac_tool_warned=yes ;; 6524esac 6525 LIPO=$ac_ct_LIPO 6526 fi 6527else 6528 LIPO="$ac_cv_prog_LIPO" 6529fi 6530 6531 if test -n "$ac_tool_prefix"; then 6532 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6533set dummy ${ac_tool_prefix}otool; ac_word=$2 6534{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6536if test "${ac_cv_prog_OTOOL+set}" = set; then 6537 echo $ECHO_N "(cached) $ECHO_C" >&6 6538else 6539 if test -n "$OTOOL"; then 6540 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6541else 6542as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6543for as_dir in $PATH 6544do 6545 IFS=$as_save_IFS 6546 test -z "$as_dir" && as_dir=. 6547 for ac_exec_ext in '' $ac_executable_extensions; do 6548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6549 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6551 break 2 6552 fi 6553done 6554done 6555IFS=$as_save_IFS 6556 6557fi 6558fi 6559OTOOL=$ac_cv_prog_OTOOL 6560if test -n "$OTOOL"; then 6561 { echo "$as_me:$LINENO: result: $OTOOL" >&5 6562echo "${ECHO_T}$OTOOL" >&6; } 6563else 6564 { echo "$as_me:$LINENO: result: no" >&5 6565echo "${ECHO_T}no" >&6; } 6566fi 6567 6568 6569fi 6570if test -z "$ac_cv_prog_OTOOL"; then 6571 ac_ct_OTOOL=$OTOOL 6572 # Extract the first word of "otool", so it can be a program name with args. 6573set dummy otool; ac_word=$2 6574{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6576if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6577 echo $ECHO_N "(cached) $ECHO_C" >&6 6578else 6579 if test -n "$ac_ct_OTOOL"; then 6580 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6581else 6582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6583for as_dir in $PATH 6584do 6585 IFS=$as_save_IFS 6586 test -z "$as_dir" && as_dir=. 6587 for ac_exec_ext in '' $ac_executable_extensions; do 6588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6589 ac_cv_prog_ac_ct_OTOOL="otool" 6590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6591 break 2 6592 fi 6593done 6594done 6595IFS=$as_save_IFS 6596 6597fi 6598fi 6599ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6600if test -n "$ac_ct_OTOOL"; then 6601 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6602echo "${ECHO_T}$ac_ct_OTOOL" >&6; } 6603else 6604 { echo "$as_me:$LINENO: result: no" >&5 6605echo "${ECHO_T}no" >&6; } 6606fi 6607 6608 if test "x$ac_ct_OTOOL" = x; then 6609 OTOOL=":" 6610 else 6611 case $cross_compiling:$ac_tool_warned in 6612yes:) 6613{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6614whose name does not start with the host triplet. If you think this 6615configuration is useful to you, please write to autoconf@gnu.org." >&5 6616echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6617whose name does not start with the host triplet. If you think this 6618configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6619ac_tool_warned=yes ;; 6620esac 6621 OTOOL=$ac_ct_OTOOL 6622 fi 6623else 6624 OTOOL="$ac_cv_prog_OTOOL" 6625fi 6626 6627 if test -n "$ac_tool_prefix"; then 6628 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6629set dummy ${ac_tool_prefix}otool64; ac_word=$2 6630{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6631echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6632if test "${ac_cv_prog_OTOOL64+set}" = set; then 6633 echo $ECHO_N "(cached) $ECHO_C" >&6 6634else 6635 if test -n "$OTOOL64"; then 6636 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6637else 6638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6639for as_dir in $PATH 6640do 6641 IFS=$as_save_IFS 6642 test -z "$as_dir" && as_dir=. 6643 for ac_exec_ext in '' $ac_executable_extensions; do 6644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6645 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6647 break 2 6648 fi 6649done 6650done 6651IFS=$as_save_IFS 6652 6653fi 6654fi 6655OTOOL64=$ac_cv_prog_OTOOL64 6656if test -n "$OTOOL64"; then 6657 { echo "$as_me:$LINENO: result: $OTOOL64" >&5 6658echo "${ECHO_T}$OTOOL64" >&6; } 6659else 6660 { echo "$as_me:$LINENO: result: no" >&5 6661echo "${ECHO_T}no" >&6; } 6662fi 6663 6664 6665fi 6666if test -z "$ac_cv_prog_OTOOL64"; then 6667 ac_ct_OTOOL64=$OTOOL64 6668 # Extract the first word of "otool64", so it can be a program name with args. 6669set dummy otool64; ac_word=$2 6670{ echo "$as_me:$LINENO: checking for $ac_word" >&5 6671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 6672if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6673 echo $ECHO_N "(cached) $ECHO_C" >&6 6674else 6675 if test -n "$ac_ct_OTOOL64"; then 6676 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6677else 6678as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6679for as_dir in $PATH 6680do 6681 IFS=$as_save_IFS 6682 test -z "$as_dir" && as_dir=. 6683 for ac_exec_ext in '' $ac_executable_extensions; do 6684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6685 ac_cv_prog_ac_ct_OTOOL64="otool64" 6686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6687 break 2 6688 fi 6689done 6690done 6691IFS=$as_save_IFS 6692 6693fi 6694fi 6695ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6696if test -n "$ac_ct_OTOOL64"; then 6697 { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6698echo "${ECHO_T}$ac_ct_OTOOL64" >&6; } 6699else 6700 { echo "$as_me:$LINENO: result: no" >&5 6701echo "${ECHO_T}no" >&6; } 6702fi 6703 6704 if test "x$ac_ct_OTOOL64" = x; then 6705 OTOOL64=":" 6706 else 6707 case $cross_compiling:$ac_tool_warned in 6708yes:) 6709{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 6710whose name does not start with the host triplet. If you think this 6711configuration is useful to you, please write to autoconf@gnu.org." >&5 6712echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 6713whose name does not start with the host triplet. If you think this 6714configuration is useful to you, please write to autoconf@gnu.org." >&2;} 6715ac_tool_warned=yes ;; 6716esac 6717 OTOOL64=$ac_ct_OTOOL64 6718 fi 6719else 6720 OTOOL64="$ac_cv_prog_OTOOL64" 6721fi 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6750echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; } 6751if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6752 echo $ECHO_N "(cached) $ECHO_C" >&6 6753else 6754 lt_cv_apple_cc_single_mod=no 6755 if test -z "${LT_MULTI_MODULE}"; then 6756 # By default we will add the -single_module flag. You can override 6757 # by either setting the environment variable LT_MULTI_MODULE 6758 # non-empty at configure time, or by adding -multi_module to the 6759 # link flags. 6760 rm -rf libconftest.dylib* 6761 echo "int foo(void){return 1;}" > conftest.c 6762 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6763-dynamiclib -Wl,-single_module conftest.c" >&5 6764 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6765 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6766 _lt_result=$? 6767 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6768 lt_cv_apple_cc_single_mod=yes 6769 else 6770 cat conftest.err >&5 6771 fi 6772 rm -rf libconftest.dylib* 6773 rm -f conftest.* 6774 fi 6775fi 6776{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6777echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; } 6778 { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6779echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; } 6780if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6781 echo $ECHO_N "(cached) $ECHO_C" >&6 6782else 6783 lt_cv_ld_exported_symbols_list=no 6784 save_LDFLAGS=$LDFLAGS 6785 echo "_main" > conftest.sym 6786 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6787 cat >conftest.$ac_ext <<_ACEOF 6788/* confdefs.h. */ 6789_ACEOF 6790cat confdefs.h >>conftest.$ac_ext 6791cat >>conftest.$ac_ext <<_ACEOF 6792/* end confdefs.h. */ 6793 6794int 6795main () 6796{ 6797 6798 ; 6799 return 0; 6800} 6801_ACEOF 6802rm -f conftest.$ac_objext conftest$ac_exeext 6803if { (ac_try="$ac_link" 6804case "(($ac_try" in 6805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6806 *) ac_try_echo=$ac_try;; 6807esac 6808eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6809 (eval "$ac_link") 2>conftest.er1 6810 ac_status=$? 6811 grep -v '^ *+' conftest.er1 >conftest.err 6812 rm -f conftest.er1 6813 cat conftest.err >&5 6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 (exit $ac_status); } && { 6816 test -z "$ac_c_werror_flag" || 6817 test ! -s conftest.err 6818 } && test -s conftest$ac_exeext && 6819 $as_test_x conftest$ac_exeext; then 6820 lt_cv_ld_exported_symbols_list=yes 6821else 6822 echo "$as_me: failed program was:" >&5 6823sed 's/^/| /' conftest.$ac_ext >&5 6824 6825 lt_cv_ld_exported_symbols_list=no 6826fi 6827 6828rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6829 conftest$ac_exeext conftest.$ac_ext 6830 LDFLAGS="$save_LDFLAGS" 6831 6832fi 6833{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6834echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; } 6835 case $host_os in 6836 rhapsody* | darwin1.[012]) 6837 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6838 darwin1.*) 6839 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6840 darwin*) # darwin 5.x on 6841 # if running on 10.5 or later, the deployment target defaults 6842 # to the OS version, if on x86, and 10.4, the deployment 6843 # target defaults to 10.4. Don't you love it? 6844 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6845 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6846 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6847 10.[012]*) 6848 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6849 10.*) 6850 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6851 esac 6852 ;; 6853 esac 6854 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6855 _lt_dar_single_mod='$single_module' 6856 fi 6857 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6858 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6859 else 6860 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6861 fi 6862 if test "$DSYMUTIL" != ":"; then 6863 _lt_dsymutil='~$DSYMUTIL $lib || :' 6864 else 6865 _lt_dsymutil= 6866 fi 6867 ;; 6868 esac 6869 6870ac_ext=c 6871ac_cpp='$CPP $CPPFLAGS' 6872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6874ac_compiler_gnu=$ac_cv_c_compiler_gnu 6875{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6876echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 6877# On Suns, sometimes $CPP names a directory. 6878if test -n "$CPP" && test -d "$CPP"; then 6879 CPP= 6880fi 6881if test -z "$CPP"; then 6882 if test "${ac_cv_prog_CPP+set}" = set; then 6883 echo $ECHO_N "(cached) $ECHO_C" >&6 6884else 6885 # Double quotes because CPP needs to be expanded 6886 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6887 do 6888 ac_preproc_ok=false 6889for ac_c_preproc_warn_flag in '' yes 6890do 6891 # Use a header file that comes with gcc, so configuring glibc 6892 # with a fresh cross-compiler works. 6893 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6894 # <limits.h> exists even on freestanding compilers. 6895 # On the NeXT, cc -E runs the code through the compiler's parser, 6896 # not just through cpp. "Syntax error" is here to catch this case. 6897 cat >conftest.$ac_ext <<_ACEOF 6898/* confdefs.h. */ 6899_ACEOF 6900cat confdefs.h >>conftest.$ac_ext 6901cat >>conftest.$ac_ext <<_ACEOF 6902/* end confdefs.h. */ 6903#ifdef __STDC__ 6904# include <limits.h> 6905#else 6906# include <assert.h> 6907#endif 6908 Syntax error 6909_ACEOF 6910if { (ac_try="$ac_cpp conftest.$ac_ext" 6911case "(($ac_try" in 6912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6913 *) ac_try_echo=$ac_try;; 6914esac 6915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6917 ac_status=$? 6918 grep -v '^ *+' conftest.er1 >conftest.err 6919 rm -f conftest.er1 6920 cat conftest.err >&5 6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6922 (exit $ac_status); } >/dev/null && { 6923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6924 test ! -s conftest.err 6925 }; then 6926 : 6927else 6928 echo "$as_me: failed program was:" >&5 6929sed 's/^/| /' conftest.$ac_ext >&5 6930 6931 # Broken: fails on valid input. 6932continue 6933fi 6934 6935rm -f conftest.err conftest.$ac_ext 6936 6937 # OK, works on sane cases. Now check whether nonexistent headers 6938 # can be detected and how. 6939 cat >conftest.$ac_ext <<_ACEOF 6940/* confdefs.h. */ 6941_ACEOF 6942cat confdefs.h >>conftest.$ac_ext 6943cat >>conftest.$ac_ext <<_ACEOF 6944/* end confdefs.h. */ 6945#include <ac_nonexistent.h> 6946_ACEOF 6947if { (ac_try="$ac_cpp conftest.$ac_ext" 6948case "(($ac_try" in 6949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6950 *) ac_try_echo=$ac_try;; 6951esac 6952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6954 ac_status=$? 6955 grep -v '^ *+' conftest.er1 >conftest.err 6956 rm -f conftest.er1 6957 cat conftest.err >&5 6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6959 (exit $ac_status); } >/dev/null && { 6960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6961 test ! -s conftest.err 6962 }; then 6963 # Broken: success on invalid input. 6964continue 6965else 6966 echo "$as_me: failed program was:" >&5 6967sed 's/^/| /' conftest.$ac_ext >&5 6968 6969 # Passes both tests. 6970ac_preproc_ok=: 6971break 6972fi 6973 6974rm -f conftest.err conftest.$ac_ext 6975 6976done 6977# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6978rm -f conftest.err conftest.$ac_ext 6979if $ac_preproc_ok; then 6980 break 6981fi 6982 6983 done 6984 ac_cv_prog_CPP=$CPP 6985 6986fi 6987 CPP=$ac_cv_prog_CPP 6988else 6989 ac_cv_prog_CPP=$CPP 6990fi 6991{ echo "$as_me:$LINENO: result: $CPP" >&5 6992echo "${ECHO_T}$CPP" >&6; } 6993ac_preproc_ok=false 6994for ac_c_preproc_warn_flag in '' yes 6995do 6996 # Use a header file that comes with gcc, so configuring glibc 6997 # with a fresh cross-compiler works. 6998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6999 # <limits.h> exists even on freestanding compilers. 7000 # On the NeXT, cc -E runs the code through the compiler's parser, 7001 # not just through cpp. "Syntax error" is here to catch this case. 7002 cat >conftest.$ac_ext <<_ACEOF 7003/* confdefs.h. */ 7004_ACEOF 7005cat confdefs.h >>conftest.$ac_ext 7006cat >>conftest.$ac_ext <<_ACEOF 7007/* end confdefs.h. */ 7008#ifdef __STDC__ 7009# include <limits.h> 7010#else 7011# include <assert.h> 7012#endif 7013 Syntax error 7014_ACEOF 7015if { (ac_try="$ac_cpp conftest.$ac_ext" 7016case "(($ac_try" in 7017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7018 *) ac_try_echo=$ac_try;; 7019esac 7020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7021 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7022 ac_status=$? 7023 grep -v '^ *+' conftest.er1 >conftest.err 7024 rm -f conftest.er1 7025 cat conftest.err >&5 7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7027 (exit $ac_status); } >/dev/null && { 7028 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7029 test ! -s conftest.err 7030 }; then 7031 : 7032else 7033 echo "$as_me: failed program was:" >&5 7034sed 's/^/| /' conftest.$ac_ext >&5 7035 7036 # Broken: fails on valid input. 7037continue 7038fi 7039 7040rm -f conftest.err conftest.$ac_ext 7041 7042 # OK, works on sane cases. Now check whether nonexistent headers 7043 # can be detected and how. 7044 cat >conftest.$ac_ext <<_ACEOF 7045/* confdefs.h. */ 7046_ACEOF 7047cat confdefs.h >>conftest.$ac_ext 7048cat >>conftest.$ac_ext <<_ACEOF 7049/* end confdefs.h. */ 7050#include <ac_nonexistent.h> 7051_ACEOF 7052if { (ac_try="$ac_cpp conftest.$ac_ext" 7053case "(($ac_try" in 7054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7055 *) ac_try_echo=$ac_try;; 7056esac 7057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7059 ac_status=$? 7060 grep -v '^ *+' conftest.er1 >conftest.err 7061 rm -f conftest.er1 7062 cat conftest.err >&5 7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7064 (exit $ac_status); } >/dev/null && { 7065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7066 test ! -s conftest.err 7067 }; then 7068 # Broken: success on invalid input. 7069continue 7070else 7071 echo "$as_me: failed program was:" >&5 7072sed 's/^/| /' conftest.$ac_ext >&5 7073 7074 # Passes both tests. 7075ac_preproc_ok=: 7076break 7077fi 7078 7079rm -f conftest.err conftest.$ac_ext 7080 7081done 7082# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7083rm -f conftest.err conftest.$ac_ext 7084if $ac_preproc_ok; then 7085 : 7086else 7087 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7088See \`config.log' for more details." >&5 7089echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7090See \`config.log' for more details." >&2;} 7091 { (exit 1); exit 1; }; } 7092fi 7093 7094ac_ext=c 7095ac_cpp='$CPP $CPPFLAGS' 7096ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7097ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7098ac_compiler_gnu=$ac_cv_c_compiler_gnu 7099 7100 7101{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7102echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 7103if test "${ac_cv_header_stdc+set}" = set; then 7104 echo $ECHO_N "(cached) $ECHO_C" >&6 7105else 7106 cat >conftest.$ac_ext <<_ACEOF 7107/* confdefs.h. */ 7108_ACEOF 7109cat confdefs.h >>conftest.$ac_ext 7110cat >>conftest.$ac_ext <<_ACEOF 7111/* end confdefs.h. */ 7112#include <stdlib.h> 7113#include <stdarg.h> 7114#include <string.h> 7115#include <float.h> 7116 7117int 7118main () 7119{ 7120 7121 ; 7122 return 0; 7123} 7124_ACEOF 7125rm -f conftest.$ac_objext 7126if { (ac_try="$ac_compile" 7127case "(($ac_try" in 7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7129 *) ac_try_echo=$ac_try;; 7130esac 7131eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7132 (eval "$ac_compile") 2>conftest.er1 7133 ac_status=$? 7134 grep -v '^ *+' conftest.er1 >conftest.err 7135 rm -f conftest.er1 7136 cat conftest.err >&5 7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7138 (exit $ac_status); } && { 7139 test -z "$ac_c_werror_flag" || 7140 test ! -s conftest.err 7141 } && test -s conftest.$ac_objext; then 7142 ac_cv_header_stdc=yes 7143else 7144 echo "$as_me: failed program was:" >&5 7145sed 's/^/| /' conftest.$ac_ext >&5 7146 7147 ac_cv_header_stdc=no 7148fi 7149 7150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7151 7152if test $ac_cv_header_stdc = yes; then 7153 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7154 cat >conftest.$ac_ext <<_ACEOF 7155/* confdefs.h. */ 7156_ACEOF 7157cat confdefs.h >>conftest.$ac_ext 7158cat >>conftest.$ac_ext <<_ACEOF 7159/* end confdefs.h. */ 7160#include <string.h> 7161 7162_ACEOF 7163if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7164 $EGREP "memchr" >/dev/null 2>&1; then 7165 : 7166else 7167 ac_cv_header_stdc=no 7168fi 7169rm -f conftest* 7170 7171fi 7172 7173if test $ac_cv_header_stdc = yes; then 7174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7175 cat >conftest.$ac_ext <<_ACEOF 7176/* confdefs.h. */ 7177_ACEOF 7178cat confdefs.h >>conftest.$ac_ext 7179cat >>conftest.$ac_ext <<_ACEOF 7180/* end confdefs.h. */ 7181#include <stdlib.h> 7182 7183_ACEOF 7184if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7185 $EGREP "free" >/dev/null 2>&1; then 7186 : 7187else 7188 ac_cv_header_stdc=no 7189fi 7190rm -f conftest* 7191 7192fi 7193 7194if test $ac_cv_header_stdc = yes; then 7195 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7196 if test "$cross_compiling" = yes; then 7197 : 7198else 7199 cat >conftest.$ac_ext <<_ACEOF 7200/* confdefs.h. */ 7201_ACEOF 7202cat confdefs.h >>conftest.$ac_ext 7203cat >>conftest.$ac_ext <<_ACEOF 7204/* end confdefs.h. */ 7205#include <ctype.h> 7206#include <stdlib.h> 7207#if ((' ' & 0x0FF) == 0x020) 7208# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7209# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7210#else 7211# define ISLOWER(c) \ 7212 (('a' <= (c) && (c) <= 'i') \ 7213 || ('j' <= (c) && (c) <= 'r') \ 7214 || ('s' <= (c) && (c) <= 'z')) 7215# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7216#endif 7217 7218#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7219int 7220main () 7221{ 7222 int i; 7223 for (i = 0; i < 256; i++) 7224 if (XOR (islower (i), ISLOWER (i)) 7225 || toupper (i) != TOUPPER (i)) 7226 return 2; 7227 return 0; 7228} 7229_ACEOF 7230rm -f conftest$ac_exeext 7231if { (ac_try="$ac_link" 7232case "(($ac_try" in 7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7234 *) ac_try_echo=$ac_try;; 7235esac 7236eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7237 (eval "$ac_link") 2>&5 7238 ac_status=$? 7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7241 { (case "(($ac_try" in 7242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7243 *) ac_try_echo=$ac_try;; 7244esac 7245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7246 (eval "$ac_try") 2>&5 7247 ac_status=$? 7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7249 (exit $ac_status); }; }; then 7250 : 7251else 7252 echo "$as_me: program exited with status $ac_status" >&5 7253echo "$as_me: failed program was:" >&5 7254sed 's/^/| /' conftest.$ac_ext >&5 7255 7256( exit $ac_status ) 7257ac_cv_header_stdc=no 7258fi 7259rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7260fi 7261 7262 7263fi 7264fi 7265{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7266echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 7267if test $ac_cv_header_stdc = yes; then 7268 7269cat >>confdefs.h <<\_ACEOF 7270#define STDC_HEADERS 1 7271_ACEOF 7272 7273fi 7274 7275# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7286 inttypes.h stdint.h unistd.h 7287do 7288as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7289{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7290echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7291if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7292 echo $ECHO_N "(cached) $ECHO_C" >&6 7293else 7294 cat >conftest.$ac_ext <<_ACEOF 7295/* confdefs.h. */ 7296_ACEOF 7297cat confdefs.h >>conftest.$ac_ext 7298cat >>conftest.$ac_ext <<_ACEOF 7299/* end confdefs.h. */ 7300$ac_includes_default 7301 7302#include <$ac_header> 7303_ACEOF 7304rm -f conftest.$ac_objext 7305if { (ac_try="$ac_compile" 7306case "(($ac_try" in 7307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7308 *) ac_try_echo=$ac_try;; 7309esac 7310eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7311 (eval "$ac_compile") 2>conftest.er1 7312 ac_status=$? 7313 grep -v '^ *+' conftest.er1 >conftest.err 7314 rm -f conftest.er1 7315 cat conftest.err >&5 7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7317 (exit $ac_status); } && { 7318 test -z "$ac_c_werror_flag" || 7319 test ! -s conftest.err 7320 } && test -s conftest.$ac_objext; then 7321 eval "$as_ac_Header=yes" 7322else 7323 echo "$as_me: failed program was:" >&5 7324sed 's/^/| /' conftest.$ac_ext >&5 7325 7326 eval "$as_ac_Header=no" 7327fi 7328 7329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7330fi 7331ac_res=`eval echo '${'$as_ac_Header'}'` 7332 { echo "$as_me:$LINENO: result: $ac_res" >&5 7333echo "${ECHO_T}$ac_res" >&6; } 7334if test `eval echo '${'$as_ac_Header'}'` = yes; then 7335 cat >>confdefs.h <<_ACEOF 7336#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7337_ACEOF 7338 7339fi 7340 7341done 7342 7343 7344 7345for ac_header in dlfcn.h 7346do 7347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7348{ echo "$as_me:$LINENO: checking for $ac_header" >&5 7349echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7350if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7351 echo $ECHO_N "(cached) $ECHO_C" >&6 7352else 7353 cat >conftest.$ac_ext <<_ACEOF 7354/* confdefs.h. */ 7355_ACEOF 7356cat confdefs.h >>conftest.$ac_ext 7357cat >>conftest.$ac_ext <<_ACEOF 7358/* end confdefs.h. */ 7359$ac_includes_default 7360 7361#include <$ac_header> 7362_ACEOF 7363rm -f conftest.$ac_objext 7364if { (ac_try="$ac_compile" 7365case "(($ac_try" in 7366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7367 *) ac_try_echo=$ac_try;; 7368esac 7369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7370 (eval "$ac_compile") 2>conftest.er1 7371 ac_status=$? 7372 grep -v '^ *+' conftest.er1 >conftest.err 7373 rm -f conftest.er1 7374 cat conftest.err >&5 7375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7376 (exit $ac_status); } && { 7377 test -z "$ac_c_werror_flag" || 7378 test ! -s conftest.err 7379 } && test -s conftest.$ac_objext; then 7380 eval "$as_ac_Header=yes" 7381else 7382 echo "$as_me: failed program was:" >&5 7383sed 's/^/| /' conftest.$ac_ext >&5 7384 7385 eval "$as_ac_Header=no" 7386fi 7387 7388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7389fi 7390ac_res=`eval echo '${'$as_ac_Header'}'` 7391 { echo "$as_me:$LINENO: result: $ac_res" >&5 7392echo "${ECHO_T}$ac_res" >&6; } 7393if test `eval echo '${'$as_ac_Header'}'` = yes; then 7394 cat >>confdefs.h <<_ACEOF 7395#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7396_ACEOF 7397 7398fi 7399 7400done 7401 7402 7403 7404ac_ext=cpp 7405ac_cpp='$CXXCPP $CPPFLAGS' 7406ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7407ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7408ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7409if test -z "$CXX"; then 7410 if test -n "$CCC"; then 7411 CXX=$CCC 7412 else 7413 if test -n "$ac_tool_prefix"; then 7414 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 7415 do 7416 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7417set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7418{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7419echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7420if test "${ac_cv_prog_CXX+set}" = set; then 7421 echo $ECHO_N "(cached) $ECHO_C" >&6 7422else 7423 if test -n "$CXX"; then 7424 ac_cv_prog_CXX="$CXX" # Let the user override the test. 7425else 7426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7427for as_dir in $PATH 7428do 7429 IFS=$as_save_IFS 7430 test -z "$as_dir" && as_dir=. 7431 for ac_exec_ext in '' $ac_executable_extensions; do 7432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7433 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 7434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7435 break 2 7436 fi 7437done 7438done 7439IFS=$as_save_IFS 7440 7441fi 7442fi 7443CXX=$ac_cv_prog_CXX 7444if test -n "$CXX"; then 7445 { echo "$as_me:$LINENO: result: $CXX" >&5 7446echo "${ECHO_T}$CXX" >&6; } 7447else 7448 { echo "$as_me:$LINENO: result: no" >&5 7449echo "${ECHO_T}no" >&6; } 7450fi 7451 7452 7453 test -n "$CXX" && break 7454 done 7455fi 7456if test -z "$CXX"; then 7457 ac_ct_CXX=$CXX 7458 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 7459do 7460 # Extract the first word of "$ac_prog", so it can be a program name with args. 7461set dummy $ac_prog; ac_word=$2 7462{ echo "$as_me:$LINENO: checking for $ac_word" >&5 7463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 7464if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 7465 echo $ECHO_N "(cached) $ECHO_C" >&6 7466else 7467 if test -n "$ac_ct_CXX"; then 7468 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 7469else 7470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7471for as_dir in $PATH 7472do 7473 IFS=$as_save_IFS 7474 test -z "$as_dir" && as_dir=. 7475 for ac_exec_ext in '' $ac_executable_extensions; do 7476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7477 ac_cv_prog_ac_ct_CXX="$ac_prog" 7478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7479 break 2 7480 fi 7481done 7482done 7483IFS=$as_save_IFS 7484 7485fi 7486fi 7487ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 7488if test -n "$ac_ct_CXX"; then 7489 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 7490echo "${ECHO_T}$ac_ct_CXX" >&6; } 7491else 7492 { echo "$as_me:$LINENO: result: no" >&5 7493echo "${ECHO_T}no" >&6; } 7494fi 7495 7496 7497 test -n "$ac_ct_CXX" && break 7498done 7499 7500 if test "x$ac_ct_CXX" = x; then 7501 CXX="g++" 7502 else 7503 case $cross_compiling:$ac_tool_warned in 7504yes:) 7505{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 7506whose name does not start with the host triplet. If you think this 7507configuration is useful to you, please write to autoconf@gnu.org." >&5 7508echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 7509whose name does not start with the host triplet. If you think this 7510configuration is useful to you, please write to autoconf@gnu.org." >&2;} 7511ac_tool_warned=yes ;; 7512esac 7513 CXX=$ac_ct_CXX 7514 fi 7515fi 7516 7517 fi 7518fi 7519# Provide some information about the compiler. 7520echo "$as_me:$LINENO: checking for C++ compiler version" >&5 7521ac_compiler=`set X $ac_compile; echo $2` 7522{ (ac_try="$ac_compiler --version >&5" 7523case "(($ac_try" in 7524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7525 *) ac_try_echo=$ac_try;; 7526esac 7527eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7528 (eval "$ac_compiler --version >&5") 2>&5 7529 ac_status=$? 7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7531 (exit $ac_status); } 7532{ (ac_try="$ac_compiler -v >&5" 7533case "(($ac_try" in 7534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7535 *) ac_try_echo=$ac_try;; 7536esac 7537eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7538 (eval "$ac_compiler -v >&5") 2>&5 7539 ac_status=$? 7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7541 (exit $ac_status); } 7542{ (ac_try="$ac_compiler -V >&5" 7543case "(($ac_try" in 7544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7545 *) ac_try_echo=$ac_try;; 7546esac 7547eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7548 (eval "$ac_compiler -V >&5") 2>&5 7549 ac_status=$? 7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7551 (exit $ac_status); } 7552 7553{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 7554echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 7555if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 7556 echo $ECHO_N "(cached) $ECHO_C" >&6 7557else 7558 cat >conftest.$ac_ext <<_ACEOF 7559/* confdefs.h. */ 7560_ACEOF 7561cat confdefs.h >>conftest.$ac_ext 7562cat >>conftest.$ac_ext <<_ACEOF 7563/* end confdefs.h. */ 7564 7565int 7566main () 7567{ 7568#ifndef __GNUC__ 7569 choke me 7570#endif 7571 7572 ; 7573 return 0; 7574} 7575_ACEOF 7576rm -f conftest.$ac_objext 7577if { (ac_try="$ac_compile" 7578case "(($ac_try" in 7579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7580 *) ac_try_echo=$ac_try;; 7581esac 7582eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7583 (eval "$ac_compile") 2>conftest.er1 7584 ac_status=$? 7585 grep -v '^ *+' conftest.er1 >conftest.err 7586 rm -f conftest.er1 7587 cat conftest.err >&5 7588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7589 (exit $ac_status); } && { 7590 test -z "$ac_cxx_werror_flag" || 7591 test ! -s conftest.err 7592 } && test -s conftest.$ac_objext; then 7593 ac_compiler_gnu=yes 7594else 7595 echo "$as_me: failed program was:" >&5 7596sed 's/^/| /' conftest.$ac_ext >&5 7597 7598 ac_compiler_gnu=no 7599fi 7600 7601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7602ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 7603 7604fi 7605{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 7606echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 7607GXX=`test $ac_compiler_gnu = yes && echo yes` 7608ac_test_CXXFLAGS=${CXXFLAGS+set} 7609ac_save_CXXFLAGS=$CXXFLAGS 7610{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 7611echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 7612if test "${ac_cv_prog_cxx_g+set}" = set; then 7613 echo $ECHO_N "(cached) $ECHO_C" >&6 7614else 7615 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 7616 ac_cxx_werror_flag=yes 7617 ac_cv_prog_cxx_g=no 7618 CXXFLAGS="-g" 7619 cat >conftest.$ac_ext <<_ACEOF 7620/* confdefs.h. */ 7621_ACEOF 7622cat confdefs.h >>conftest.$ac_ext 7623cat >>conftest.$ac_ext <<_ACEOF 7624/* end confdefs.h. */ 7625 7626int 7627main () 7628{ 7629 7630 ; 7631 return 0; 7632} 7633_ACEOF 7634rm -f conftest.$ac_objext 7635if { (ac_try="$ac_compile" 7636case "(($ac_try" in 7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7638 *) ac_try_echo=$ac_try;; 7639esac 7640eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7641 (eval "$ac_compile") 2>conftest.er1 7642 ac_status=$? 7643 grep -v '^ *+' conftest.er1 >conftest.err 7644 rm -f conftest.er1 7645 cat conftest.err >&5 7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7647 (exit $ac_status); } && { 7648 test -z "$ac_cxx_werror_flag" || 7649 test ! -s conftest.err 7650 } && test -s conftest.$ac_objext; then 7651 ac_cv_prog_cxx_g=yes 7652else 7653 echo "$as_me: failed program was:" >&5 7654sed 's/^/| /' conftest.$ac_ext >&5 7655 7656 CXXFLAGS="" 7657 cat >conftest.$ac_ext <<_ACEOF 7658/* confdefs.h. */ 7659_ACEOF 7660cat confdefs.h >>conftest.$ac_ext 7661cat >>conftest.$ac_ext <<_ACEOF 7662/* end confdefs.h. */ 7663 7664int 7665main () 7666{ 7667 7668 ; 7669 return 0; 7670} 7671_ACEOF 7672rm -f conftest.$ac_objext 7673if { (ac_try="$ac_compile" 7674case "(($ac_try" in 7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7676 *) ac_try_echo=$ac_try;; 7677esac 7678eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7679 (eval "$ac_compile") 2>conftest.er1 7680 ac_status=$? 7681 grep -v '^ *+' conftest.er1 >conftest.err 7682 rm -f conftest.er1 7683 cat conftest.err >&5 7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7685 (exit $ac_status); } && { 7686 test -z "$ac_cxx_werror_flag" || 7687 test ! -s conftest.err 7688 } && test -s conftest.$ac_objext; then 7689 : 7690else 7691 echo "$as_me: failed program was:" >&5 7692sed 's/^/| /' conftest.$ac_ext >&5 7693 7694 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7695 CXXFLAGS="-g" 7696 cat >conftest.$ac_ext <<_ACEOF 7697/* confdefs.h. */ 7698_ACEOF 7699cat confdefs.h >>conftest.$ac_ext 7700cat >>conftest.$ac_ext <<_ACEOF 7701/* end confdefs.h. */ 7702 7703int 7704main () 7705{ 7706 7707 ; 7708 return 0; 7709} 7710_ACEOF 7711rm -f conftest.$ac_objext 7712if { (ac_try="$ac_compile" 7713case "(($ac_try" in 7714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7715 *) ac_try_echo=$ac_try;; 7716esac 7717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7718 (eval "$ac_compile") 2>conftest.er1 7719 ac_status=$? 7720 grep -v '^ *+' conftest.er1 >conftest.err 7721 rm -f conftest.er1 7722 cat conftest.err >&5 7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7724 (exit $ac_status); } && { 7725 test -z "$ac_cxx_werror_flag" || 7726 test ! -s conftest.err 7727 } && test -s conftest.$ac_objext; then 7728 ac_cv_prog_cxx_g=yes 7729else 7730 echo "$as_me: failed program was:" >&5 7731sed 's/^/| /' conftest.$ac_ext >&5 7732 7733 7734fi 7735 7736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7737fi 7738 7739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7740fi 7741 7742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7743 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 7744fi 7745{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 7746echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 7747if test "$ac_test_CXXFLAGS" = set; then 7748 CXXFLAGS=$ac_save_CXXFLAGS 7749elif test $ac_cv_prog_cxx_g = yes; then 7750 if test "$GXX" = yes; then 7751 CXXFLAGS="-g -O2" 7752 else 7753 CXXFLAGS="-g" 7754 fi 7755else 7756 if test "$GXX" = yes; then 7757 CXXFLAGS="-O2" 7758 else 7759 CXXFLAGS= 7760 fi 7761fi 7762ac_ext=cpp 7763ac_cpp='$CXXCPP $CPPFLAGS' 7764ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7765ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7766ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7767 7768depcc="$CXX" am_compiler_list= 7769 7770{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 7771echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 7772if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 7773 echo $ECHO_N "(cached) $ECHO_C" >&6 7774else 7775 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 7776 # We make a subdir and do the tests there. Otherwise we can end up 7777 # making bogus files that we don't know about and never remove. For 7778 # instance it was reported that on HP-UX the gcc test will end up 7779 # making a dummy file named `D' -- because `-MD' means `put the output 7780 # in D'. 7781 mkdir conftest.dir 7782 # Copy depcomp to subdir because otherwise we won't find it if we're 7783 # using a relative directory. 7784 cp "$am_depcomp" conftest.dir 7785 cd conftest.dir 7786 # We will build objects and dependencies in a subdirectory because 7787 # it helps to detect inapplicable dependency modes. For instance 7788 # both Tru64's cc and ICC support -MD to output dependencies as a 7789 # side effect of compilation, but ICC will put the dependencies in 7790 # the current directory while Tru64 will put them in the object 7791 # directory. 7792 mkdir sub 7793 7794 am_cv_CXX_dependencies_compiler_type=none 7795 if test "$am_compiler_list" = ""; then 7796 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 7797 fi 7798 for depmode in $am_compiler_list; do 7799 # Setup a source with many dependencies, because some compilers 7800 # like to wrap large dependency lists on column 80 (with \), and 7801 # we should not choose a depcomp mode which is confused by this. 7802 # 7803 # We need to recreate these files for each test, as the compiler may 7804 # overwrite some of them when testing with obscure command lines. 7805 # This happens at least with the AIX C compiler. 7806 : > sub/conftest.c 7807 for i in 1 2 3 4 5 6; do 7808 echo '#include "conftst'$i'.h"' >> sub/conftest.c 7809 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 7810 # Solaris 8's {/usr,}/bin/sh. 7811 touch sub/conftst$i.h 7812 done 7813 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 7814 7815 case $depmode in 7816 nosideeffect) 7817 # after this tag, mechanisms are not by side-effect, so they'll 7818 # only be used when explicitly requested 7819 if test "x$enable_dependency_tracking" = xyes; then 7820 continue 7821 else 7822 break 7823 fi 7824 ;; 7825 none) break ;; 7826 esac 7827 # We check with `-c' and `-o' for the sake of the "dashmstdout" 7828 # mode. It turns out that the SunPro C++ compiler does not properly 7829 # handle `-M -o', and we need to detect this. 7830 if depmode=$depmode \ 7831 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 7832 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 7833 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 7834 >/dev/null 2>conftest.err && 7835 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 7836 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 7837 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 7838 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 7839 # icc doesn't choke on unknown options, it will just issue warnings 7840 # or remarks (even with -Werror). So we grep stderr for any message 7841 # that says an option was ignored or not supported. 7842 # When given -MP, icc 7.0 and 7.1 complain thusly: 7843 # icc: Command line warning: ignoring option '-M'; no argument required 7844 # The diagnosis changed in icc 8.0: 7845 # icc: Command line remark: option '-MP' not supported 7846 if (grep 'ignoring option' conftest.err || 7847 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 7848 am_cv_CXX_dependencies_compiler_type=$depmode 7849 break 7850 fi 7851 fi 7852 done 7853 7854 cd .. 7855 rm -rf conftest.dir 7856else 7857 am_cv_CXX_dependencies_compiler_type=none 7858fi 7859 7860fi 7861{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 7862echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } 7863CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 7864 7865 if 7866 test "x$enable_dependency_tracking" != xno \ 7867 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 7868 am__fastdepCXX_TRUE= 7869 am__fastdepCXX_FALSE='#' 7870else 7871 am__fastdepCXX_TRUE='#' 7872 am__fastdepCXX_FALSE= 7873fi 7874 7875 7876if test -n "$CXX" && ( test "X$CXX" != "Xno" && 7877 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 7878 (test "X$CXX" != "Xg++"))) ; then 7879 ac_ext=cpp 7880ac_cpp='$CXXCPP $CPPFLAGS' 7881ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7882ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7883ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 7884{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 7885echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } 7886if test -z "$CXXCPP"; then 7887 if test "${ac_cv_prog_CXXCPP+set}" = set; then 7888 echo $ECHO_N "(cached) $ECHO_C" >&6 7889else 7890 # Double quotes because CXXCPP needs to be expanded 7891 for CXXCPP in "$CXX -E" "/lib/cpp" 7892 do 7893 ac_preproc_ok=false 7894for ac_cxx_preproc_warn_flag in '' yes 7895do 7896 # Use a header file that comes with gcc, so configuring glibc 7897 # with a fresh cross-compiler works. 7898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7899 # <limits.h> exists even on freestanding compilers. 7900 # On the NeXT, cc -E runs the code through the compiler's parser, 7901 # not just through cpp. "Syntax error" is here to catch this case. 7902 cat >conftest.$ac_ext <<_ACEOF 7903/* confdefs.h. */ 7904_ACEOF 7905cat confdefs.h >>conftest.$ac_ext 7906cat >>conftest.$ac_ext <<_ACEOF 7907/* end confdefs.h. */ 7908#ifdef __STDC__ 7909# include <limits.h> 7910#else 7911# include <assert.h> 7912#endif 7913 Syntax error 7914_ACEOF 7915if { (ac_try="$ac_cpp conftest.$ac_ext" 7916case "(($ac_try" in 7917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7918 *) ac_try_echo=$ac_try;; 7919esac 7920eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7922 ac_status=$? 7923 grep -v '^ *+' conftest.er1 >conftest.err 7924 rm -f conftest.er1 7925 cat conftest.err >&5 7926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7927 (exit $ac_status); } >/dev/null && { 7928 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7929 test ! -s conftest.err 7930 }; then 7931 : 7932else 7933 echo "$as_me: failed program was:" >&5 7934sed 's/^/| /' conftest.$ac_ext >&5 7935 7936 # Broken: fails on valid input. 7937continue 7938fi 7939 7940rm -f conftest.err conftest.$ac_ext 7941 7942 # OK, works on sane cases. Now check whether nonexistent headers 7943 # can be detected and how. 7944 cat >conftest.$ac_ext <<_ACEOF 7945/* confdefs.h. */ 7946_ACEOF 7947cat confdefs.h >>conftest.$ac_ext 7948cat >>conftest.$ac_ext <<_ACEOF 7949/* end confdefs.h. */ 7950#include <ac_nonexistent.h> 7951_ACEOF 7952if { (ac_try="$ac_cpp conftest.$ac_ext" 7953case "(($ac_try" in 7954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7955 *) ac_try_echo=$ac_try;; 7956esac 7957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7959 ac_status=$? 7960 grep -v '^ *+' conftest.er1 >conftest.err 7961 rm -f conftest.er1 7962 cat conftest.err >&5 7963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7964 (exit $ac_status); } >/dev/null && { 7965 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7966 test ! -s conftest.err 7967 }; then 7968 # Broken: success on invalid input. 7969continue 7970else 7971 echo "$as_me: failed program was:" >&5 7972sed 's/^/| /' conftest.$ac_ext >&5 7973 7974 # Passes both tests. 7975ac_preproc_ok=: 7976break 7977fi 7978 7979rm -f conftest.err conftest.$ac_ext 7980 7981done 7982# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7983rm -f conftest.err conftest.$ac_ext 7984if $ac_preproc_ok; then 7985 break 7986fi 7987 7988 done 7989 ac_cv_prog_CXXCPP=$CXXCPP 7990 7991fi 7992 CXXCPP=$ac_cv_prog_CXXCPP 7993else 7994 ac_cv_prog_CXXCPP=$CXXCPP 7995fi 7996{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 7997echo "${ECHO_T}$CXXCPP" >&6; } 7998ac_preproc_ok=false 7999for ac_cxx_preproc_warn_flag in '' yes 8000do 8001 # Use a header file that comes with gcc, so configuring glibc 8002 # with a fresh cross-compiler works. 8003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 8004 # <limits.h> exists even on freestanding compilers. 8005 # On the NeXT, cc -E runs the code through the compiler's parser, 8006 # not just through cpp. "Syntax error" is here to catch this case. 8007 cat >conftest.$ac_ext <<_ACEOF 8008/* confdefs.h. */ 8009_ACEOF 8010cat confdefs.h >>conftest.$ac_ext 8011cat >>conftest.$ac_ext <<_ACEOF 8012/* end confdefs.h. */ 8013#ifdef __STDC__ 8014# include <limits.h> 8015#else 8016# include <assert.h> 8017#endif 8018 Syntax error 8019_ACEOF 8020if { (ac_try="$ac_cpp conftest.$ac_ext" 8021case "(($ac_try" in 8022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8023 *) ac_try_echo=$ac_try;; 8024esac 8025eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8026 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8027 ac_status=$? 8028 grep -v '^ *+' conftest.er1 >conftest.err 8029 rm -f conftest.er1 8030 cat conftest.err >&5 8031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8032 (exit $ac_status); } >/dev/null && { 8033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8034 test ! -s conftest.err 8035 }; then 8036 : 8037else 8038 echo "$as_me: failed program was:" >&5 8039sed 's/^/| /' conftest.$ac_ext >&5 8040 8041 # Broken: fails on valid input. 8042continue 8043fi 8044 8045rm -f conftest.err conftest.$ac_ext 8046 8047 # OK, works on sane cases. Now check whether nonexistent headers 8048 # can be detected and how. 8049 cat >conftest.$ac_ext <<_ACEOF 8050/* confdefs.h. */ 8051_ACEOF 8052cat confdefs.h >>conftest.$ac_ext 8053cat >>conftest.$ac_ext <<_ACEOF 8054/* end confdefs.h. */ 8055#include <ac_nonexistent.h> 8056_ACEOF 8057if { (ac_try="$ac_cpp conftest.$ac_ext" 8058case "(($ac_try" in 8059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8060 *) ac_try_echo=$ac_try;; 8061esac 8062eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8063 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8064 ac_status=$? 8065 grep -v '^ *+' conftest.er1 >conftest.err 8066 rm -f conftest.er1 8067 cat conftest.err >&5 8068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8069 (exit $ac_status); } >/dev/null && { 8070 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8071 test ! -s conftest.err 8072 }; then 8073 # Broken: success on invalid input. 8074continue 8075else 8076 echo "$as_me: failed program was:" >&5 8077sed 's/^/| /' conftest.$ac_ext >&5 8078 8079 # Passes both tests. 8080ac_preproc_ok=: 8081break 8082fi 8083 8084rm -f conftest.err conftest.$ac_ext 8085 8086done 8087# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8088rm -f conftest.err conftest.$ac_ext 8089if $ac_preproc_ok; then 8090 : 8091else 8092 _lt_caught_CXX_error=yes 8093fi 8094 8095ac_ext=cpp 8096ac_cpp='$CXXCPP $CPPFLAGS' 8097ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8098ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8099ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 8100 8101else 8102 _lt_caught_CXX_error=yes 8103fi 8104 8105 8106 8107 8108 8109# Set options 8110 8111 8112 8113 enable_dlopen=no 8114 8115 8116 enable_win32_dll=no 8117 8118 8119 # Check whether --enable-shared was given. 8120if test "${enable_shared+set}" = set; then 8121 enableval=$enable_shared; p=${PACKAGE-default} 8122 case $enableval in 8123 yes) enable_shared=yes ;; 8124 no) enable_shared=no ;; 8125 *) 8126 enable_shared=no 8127 # Look at the argument we got. We use all the common list separators. 8128 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8129 for pkg in $enableval; do 8130 IFS="$lt_save_ifs" 8131 if test "X$pkg" = "X$p"; then 8132 enable_shared=yes 8133 fi 8134 done 8135 IFS="$lt_save_ifs" 8136 ;; 8137 esac 8138else 8139 enable_shared=yes 8140fi 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 # Check whether --enable-static was given. 8151if test "${enable_static+set}" = set; then 8152 enableval=$enable_static; p=${PACKAGE-default} 8153 case $enableval in 8154 yes) enable_static=yes ;; 8155 no) enable_static=no ;; 8156 *) 8157 enable_static=no 8158 # Look at the argument we got. We use all the common list separators. 8159 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8160 for pkg in $enableval; do 8161 IFS="$lt_save_ifs" 8162 if test "X$pkg" = "X$p"; then 8163 enable_static=yes 8164 fi 8165 done 8166 IFS="$lt_save_ifs" 8167 ;; 8168 esac 8169else 8170 enable_static=yes 8171fi 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182# Check whether --with-pic was given. 8183if test "${with_pic+set}" = set; then 8184 withval=$with_pic; pic_mode="$withval" 8185else 8186 pic_mode=default 8187fi 8188 8189 8190test -z "$pic_mode" && pic_mode=default 8191 8192 8193 8194 8195 8196 8197 8198 # Check whether --enable-fast-install was given. 8199if test "${enable_fast_install+set}" = set; then 8200 enableval=$enable_fast_install; p=${PACKAGE-default} 8201 case $enableval in 8202 yes) enable_fast_install=yes ;; 8203 no) enable_fast_install=no ;; 8204 *) 8205 enable_fast_install=no 8206 # Look at the argument we got. We use all the common list separators. 8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8208 for pkg in $enableval; do 8209 IFS="$lt_save_ifs" 8210 if test "X$pkg" = "X$p"; then 8211 enable_fast_install=yes 8212 fi 8213 done 8214 IFS="$lt_save_ifs" 8215 ;; 8216 esac 8217else 8218 enable_fast_install=yes 8219fi 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231# This can be used to rebuild libtool when needed 8232LIBTOOL_DEPS="$ltmain" 8233 8234# Always use our own libtool. 8235LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261test -z "$LN_S" && LN_S="ln -s" 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276if test -n "${ZSH_VERSION+set}" ; then 8277 setopt NO_GLOB_SUBST 8278fi 8279 8280{ echo "$as_me:$LINENO: checking for objdir" >&5 8281echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } 8282if test "${lt_cv_objdir+set}" = set; then 8283 echo $ECHO_N "(cached) $ECHO_C" >&6 8284else 8285 rm -f .libs 2>/dev/null 8286mkdir .libs 2>/dev/null 8287if test -d .libs; then 8288 lt_cv_objdir=.libs 8289else 8290 # MS-DOS does not allow filenames that begin with a dot. 8291 lt_cv_objdir=_libs 8292fi 8293rmdir .libs 2>/dev/null 8294fi 8295{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 8296echo "${ECHO_T}$lt_cv_objdir" >&6; } 8297objdir=$lt_cv_objdir 8298 8299 8300 8301 8302 8303cat >>confdefs.h <<_ACEOF 8304#define LT_OBJDIR "$lt_cv_objdir/" 8305_ACEOF 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323case $host_os in 8324aix3*) 8325 # AIX sometimes has problems with the GCC collect2 program. For some 8326 # reason, if we set the COLLECT_NAMES environment variable, the problems 8327 # vanish in a puff of smoke. 8328 if test "X${COLLECT_NAMES+set}" != Xset; then 8329 COLLECT_NAMES= 8330 export COLLECT_NAMES 8331 fi 8332 ;; 8333esac 8334 8335# Sed substitution that helps us do robust quoting. It backslashifies 8336# metacharacters that are still active within double-quoted strings. 8337sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8338 8339# Same as above, but do not quote variable references. 8340double_quote_subst='s/\(["`\\]\)/\\\1/g' 8341 8342# Sed substitution to delay expansion of an escaped shell variable in a 8343# double_quote_subst'ed string. 8344delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8345 8346# Sed substitution to delay expansion of an escaped single quote. 8347delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8348 8349# Sed substitution to avoid accidental globbing in evaled expressions 8350no_glob_subst='s/\*/\\\*/g' 8351 8352# Global variables: 8353ofile=libtool 8354can_build_shared=yes 8355 8356# All known linkers require a `.a' archive for static linking (except MSVC, 8357# which needs '.lib'). 8358libext=a 8359 8360with_gnu_ld="$lt_cv_prog_gnu_ld" 8361 8362old_CC="$CC" 8363old_CFLAGS="$CFLAGS" 8364 8365# Set sane defaults for various variables 8366test -z "$CC" && CC=cc 8367test -z "$LTCC" && LTCC=$CC 8368test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8369test -z "$LD" && LD=ld 8370test -z "$ac_objext" && ac_objext=o 8371 8372for cc_temp in $compiler""; do 8373 case $cc_temp in 8374 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8375 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8376 \-*) ;; 8377 *) break;; 8378 esac 8379done 8380cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8381 8382 8383# Only perform the check for file, if the check method requires it 8384test -z "$MAGIC_CMD" && MAGIC_CMD=file 8385case $deplibs_check_method in 8386file_magic*) 8387 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8388 { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 8389echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } 8390if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8391 echo $ECHO_N "(cached) $ECHO_C" >&6 8392else 8393 case $MAGIC_CMD in 8394[\\/*] | ?:[\\/]*) 8395 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8396 ;; 8397*) 8398 lt_save_MAGIC_CMD="$MAGIC_CMD" 8399 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8400 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8401 for ac_dir in $ac_dummy; do 8402 IFS="$lt_save_ifs" 8403 test -z "$ac_dir" && ac_dir=. 8404 if test -f $ac_dir/${ac_tool_prefix}file; then 8405 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8406 if test -n "$file_magic_test_file"; then 8407 case $deplibs_check_method in 8408 "file_magic "*) 8409 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8410 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8411 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8412 $EGREP "$file_magic_regex" > /dev/null; then 8413 : 8414 else 8415 cat <<_LT_EOF 1>&2 8416 8417*** Warning: the command libtool uses to detect shared libraries, 8418*** $file_magic_cmd, produces output that libtool cannot recognize. 8419*** The result is that libtool may fail to recognize shared libraries 8420*** as such. This will affect the creation of libtool libraries that 8421*** depend on shared libraries, but programs linked with such libtool 8422*** libraries will work regardless of this problem. Nevertheless, you 8423*** may want to report the problem to your system manager and/or to 8424*** bug-libtool@gnu.org 8425 8426_LT_EOF 8427 fi ;; 8428 esac 8429 fi 8430 break 8431 fi 8432 done 8433 IFS="$lt_save_ifs" 8434 MAGIC_CMD="$lt_save_MAGIC_CMD" 8435 ;; 8436esac 8437fi 8438 8439MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8440if test -n "$MAGIC_CMD"; then 8441 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8442echo "${ECHO_T}$MAGIC_CMD" >&6; } 8443else 8444 { echo "$as_me:$LINENO: result: no" >&5 8445echo "${ECHO_T}no" >&6; } 8446fi 8447 8448 8449 8450 8451 8452if test -z "$lt_cv_path_MAGIC_CMD"; then 8453 if test -n "$ac_tool_prefix"; then 8454 { echo "$as_me:$LINENO: checking for file" >&5 8455echo $ECHO_N "checking for file... $ECHO_C" >&6; } 8456if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8457 echo $ECHO_N "(cached) $ECHO_C" >&6 8458else 8459 case $MAGIC_CMD in 8460[\\/*] | ?:[\\/]*) 8461 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8462 ;; 8463*) 8464 lt_save_MAGIC_CMD="$MAGIC_CMD" 8465 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8466 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8467 for ac_dir in $ac_dummy; do 8468 IFS="$lt_save_ifs" 8469 test -z "$ac_dir" && ac_dir=. 8470 if test -f $ac_dir/file; then 8471 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8472 if test -n "$file_magic_test_file"; then 8473 case $deplibs_check_method in 8474 "file_magic "*) 8475 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8476 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8477 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8478 $EGREP "$file_magic_regex" > /dev/null; then 8479 : 8480 else 8481 cat <<_LT_EOF 1>&2 8482 8483*** Warning: the command libtool uses to detect shared libraries, 8484*** $file_magic_cmd, produces output that libtool cannot recognize. 8485*** The result is that libtool may fail to recognize shared libraries 8486*** as such. This will affect the creation of libtool libraries that 8487*** depend on shared libraries, but programs linked with such libtool 8488*** libraries will work regardless of this problem. Nevertheless, you 8489*** may want to report the problem to your system manager and/or to 8490*** bug-libtool@gnu.org 8491 8492_LT_EOF 8493 fi ;; 8494 esac 8495 fi 8496 break 8497 fi 8498 done 8499 IFS="$lt_save_ifs" 8500 MAGIC_CMD="$lt_save_MAGIC_CMD" 8501 ;; 8502esac 8503fi 8504 8505MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8506if test -n "$MAGIC_CMD"; then 8507 { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8508echo "${ECHO_T}$MAGIC_CMD" >&6; } 8509else 8510 { echo "$as_me:$LINENO: result: no" >&5 8511echo "${ECHO_T}no" >&6; } 8512fi 8513 8514 8515 else 8516 MAGIC_CMD=: 8517 fi 8518fi 8519 8520 fi 8521 ;; 8522esac 8523 8524# Use C for the default configuration in the libtool script 8525 8526lt_save_CC="$CC" 8527ac_ext=c 8528ac_cpp='$CPP $CPPFLAGS' 8529ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8530ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8531ac_compiler_gnu=$ac_cv_c_compiler_gnu 8532 8533 8534# Source file extension for C test sources. 8535ac_ext=c 8536 8537# Object file extension for compiled C test sources. 8538objext=o 8539objext=$objext 8540 8541# Code to be used in simple compile tests 8542lt_simple_compile_test_code="int some_variable = 0;" 8543 8544# Code to be used in simple link tests 8545lt_simple_link_test_code='int main(){return(0);}' 8546 8547 8548 8549 8550 8551 8552 8553# If no C compiler was specified, use CC. 8554LTCC=${LTCC-"$CC"} 8555 8556# If no C compiler flags were specified, use CFLAGS. 8557LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8558 8559# Allow CC to be a program name with arguments. 8560compiler=$CC 8561 8562# Save the default compiler, since it gets overwritten when the other 8563# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8564compiler_DEFAULT=$CC 8565 8566# save warnings/boilerplate of simple test code 8567ac_outfile=conftest.$ac_objext 8568echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8569eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8570_lt_compiler_boilerplate=`cat conftest.err` 8571$RM conftest* 8572 8573ac_outfile=conftest.$ac_objext 8574echo "$lt_simple_link_test_code" >conftest.$ac_ext 8575eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8576_lt_linker_boilerplate=`cat conftest.err` 8577$RM -r conftest* 8578 8579 8580if test -n "$compiler"; then 8581 8582lt_prog_compiler_no_builtin_flag= 8583 8584if test "$GCC" = yes; then 8585 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8586 8587 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8588echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } 8589if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8590 echo $ECHO_N "(cached) $ECHO_C" >&6 8591else 8592 lt_cv_prog_compiler_rtti_exceptions=no 8593 ac_outfile=conftest.$ac_objext 8594 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8595 lt_compiler_flag="-fno-rtti -fno-exceptions" 8596 # Insert the option either (1) after the last *FLAGS variable, or 8597 # (2) before a word containing "conftest.", or (3) at the end. 8598 # Note that $ac_compile itself does not contain backslashes and begins 8599 # with a dollar sign (not a hyphen), so the echo should work correctly. 8600 # The option is referenced via a variable to avoid confusing sed. 8601 lt_compile=`echo "$ac_compile" | $SED \ 8602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8604 -e 's:$: $lt_compiler_flag:'` 8605 (eval echo "\"\$as_me:8605: $lt_compile\"" >&5) 8606 (eval "$lt_compile" 2>conftest.err) 8607 ac_status=$? 8608 cat conftest.err >&5 8609 echo "$as_me:8609: \$? = $ac_status" >&5 8610 if (exit $ac_status) && test -s "$ac_outfile"; then 8611 # The compiler can only warn and ignore the option if not recognized 8612 # So say no if there are warnings other than the usual output. 8613 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8614 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8615 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8616 lt_cv_prog_compiler_rtti_exceptions=yes 8617 fi 8618 fi 8619 $RM conftest* 8620 8621fi 8622{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8623echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8624 8625if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8626 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8627else 8628 : 8629fi 8630 8631fi 8632 8633 8634 8635 8636 8637 8638 lt_prog_compiler_wl= 8639lt_prog_compiler_pic= 8640lt_prog_compiler_static= 8641 8642{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8643echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 8644 8645 if test "$GCC" = yes; then 8646 lt_prog_compiler_wl='-Wl,' 8647 lt_prog_compiler_static='-static' 8648 8649 case $host_os in 8650 aix*) 8651 # All AIX code is PIC. 8652 if test "$host_cpu" = ia64; then 8653 # AIX 5 now supports IA64 processor 8654 lt_prog_compiler_static='-Bstatic' 8655 fi 8656 ;; 8657 8658 amigaos*) 8659 case $host_cpu in 8660 powerpc) 8661 # see comment about AmigaOS4 .so support 8662 lt_prog_compiler_pic='-fPIC' 8663 ;; 8664 m68k) 8665 # FIXME: we need at least 68020 code to build shared libraries, but 8666 # adding the `-m68020' flag to GCC prevents building anything better, 8667 # like `-m68040'. 8668 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8669 ;; 8670 esac 8671 ;; 8672 8673 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8674 # PIC is the default for these OSes. 8675 ;; 8676 8677 mingw* | cygwin* | pw32* | os2*) 8678 # This hack is so that the source file can tell whether it is being 8679 # built for inclusion in a dll (and should export symbols for example). 8680 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8681 # (--disable-auto-import) libraries 8682 lt_prog_compiler_pic='-DDLL_EXPORT' 8683 ;; 8684 8685 darwin* | rhapsody*) 8686 # PIC is the default on this platform 8687 # Common symbols not allowed in MH_DYLIB files 8688 lt_prog_compiler_pic='-fno-common' 8689 ;; 8690 8691 hpux*) 8692 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8693 # not for PA HP-UX. 8694 case $host_cpu in 8695 hppa*64*|ia64*) 8696 # +Z the default 8697 ;; 8698 *) 8699 lt_prog_compiler_pic='-fPIC' 8700 ;; 8701 esac 8702 ;; 8703 8704 interix[3-9]*) 8705 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8706 # Instead, we relocate shared libraries at runtime. 8707 ;; 8708 8709 msdosdjgpp*) 8710 # Just because we use GCC doesn't mean we suddenly get shared libraries 8711 # on systems that don't support them. 8712 lt_prog_compiler_can_build_shared=no 8713 enable_shared=no 8714 ;; 8715 8716 *nto* | *qnx*) 8717 # QNX uses GNU C++, but need to define -shared option too, otherwise 8718 # it will coredump. 8719 lt_prog_compiler_pic='-fPIC -shared' 8720 ;; 8721 8722 sysv4*MP*) 8723 if test -d /usr/nec; then 8724 lt_prog_compiler_pic=-Kconform_pic 8725 fi 8726 ;; 8727 8728 *) 8729 lt_prog_compiler_pic='-fPIC' 8730 ;; 8731 esac 8732 else 8733 # PORTME Check for flag to pass linker flags through the system compiler. 8734 case $host_os in 8735 aix*) 8736 lt_prog_compiler_wl='-Wl,' 8737 if test "$host_cpu" = ia64; then 8738 # AIX 5 now supports IA64 processor 8739 lt_prog_compiler_static='-Bstatic' 8740 else 8741 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8742 fi 8743 ;; 8744 8745 mingw* | cygwin* | pw32* | os2*) 8746 # This hack is so that the source file can tell whether it is being 8747 # built for inclusion in a dll (and should export symbols for example). 8748 lt_prog_compiler_pic='-DDLL_EXPORT' 8749 ;; 8750 8751 hpux9* | hpux10* | hpux11*) 8752 lt_prog_compiler_wl='-Wl,' 8753 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8754 # not for PA HP-UX. 8755 case $host_cpu in 8756 hppa*64*|ia64*) 8757 # +Z the default 8758 ;; 8759 *) 8760 lt_prog_compiler_pic='+Z' 8761 ;; 8762 esac 8763 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8764 lt_prog_compiler_static='${wl}-a ${wl}archive' 8765 ;; 8766 8767 irix5* | irix6* | nonstopux*) 8768 lt_prog_compiler_wl='-Wl,' 8769 # PIC (with -KPIC) is the default. 8770 lt_prog_compiler_static='-non_shared' 8771 ;; 8772 8773 linux* | k*bsd*-gnu) 8774 case $cc_basename in 8775 icc* | ecc* | ifort*) 8776 lt_prog_compiler_wl='-Wl,' 8777 lt_prog_compiler_pic='-KPIC' 8778 lt_prog_compiler_static='-static' 8779 ;; 8780 pgcc* | pgf77* | pgf90* | pgf95*) 8781 # Portland Group compilers (*not* the Pentium gcc compiler, 8782 # which looks to be a dead project) 8783 lt_prog_compiler_wl='-Wl,' 8784 lt_prog_compiler_pic='-fpic' 8785 lt_prog_compiler_static='-Bstatic' 8786 ;; 8787 ccc*) 8788 lt_prog_compiler_wl='-Wl,' 8789 # All Alpha code is PIC. 8790 lt_prog_compiler_static='-non_shared' 8791 ;; 8792 xl*) 8793 # IBM XL C 8.0/Fortran 10.1 on PPC 8794 lt_prog_compiler_wl='-Wl,' 8795 lt_prog_compiler_pic='-qpic' 8796 lt_prog_compiler_static='-qstaticlink' 8797 ;; 8798 *) 8799 case `$CC -V 2>&1 | sed 5q` in 8800 *Sun\ C*) 8801 # Sun C 5.9 8802 lt_prog_compiler_pic='-KPIC' 8803 lt_prog_compiler_static='-Bstatic' 8804 lt_prog_compiler_wl='-Wl,' 8805 ;; 8806 *Sun\ F*) 8807 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8808 lt_prog_compiler_pic='-KPIC' 8809 lt_prog_compiler_static='-Bstatic' 8810 lt_prog_compiler_wl='' 8811 ;; 8812 esac 8813 ;; 8814 esac 8815 ;; 8816 8817 newsos6) 8818 lt_prog_compiler_pic='-KPIC' 8819 lt_prog_compiler_static='-Bstatic' 8820 ;; 8821 8822 *nto* | *qnx*) 8823 # QNX uses GNU C++, but need to define -shared option too, otherwise 8824 # it will coredump. 8825 lt_prog_compiler_pic='-fPIC -shared' 8826 ;; 8827 8828 osf3* | osf4* | osf5*) 8829 lt_prog_compiler_wl='-Wl,' 8830 # All OSF/1 code is PIC. 8831 lt_prog_compiler_static='-non_shared' 8832 ;; 8833 8834 rdos*) 8835 lt_prog_compiler_static='-non_shared' 8836 ;; 8837 8838 solaris*) 8839 lt_prog_compiler_pic='-KPIC' 8840 lt_prog_compiler_static='-Bstatic' 8841 case $cc_basename in 8842 f77* | f90* | f95*) 8843 lt_prog_compiler_wl='-Qoption ld ';; 8844 *) 8845 lt_prog_compiler_wl='-Wl,';; 8846 esac 8847 ;; 8848 8849 sunos4*) 8850 lt_prog_compiler_wl='-Qoption ld ' 8851 lt_prog_compiler_pic='-PIC' 8852 lt_prog_compiler_static='-Bstatic' 8853 ;; 8854 8855 sysv4 | sysv4.2uw2* | sysv4.3*) 8856 lt_prog_compiler_wl='-Wl,' 8857 lt_prog_compiler_pic='-KPIC' 8858 lt_prog_compiler_static='-Bstatic' 8859 ;; 8860 8861 sysv4*MP*) 8862 if test -d /usr/nec ;then 8863 lt_prog_compiler_pic='-Kconform_pic' 8864 lt_prog_compiler_static='-Bstatic' 8865 fi 8866 ;; 8867 8868 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8869 lt_prog_compiler_wl='-Wl,' 8870 lt_prog_compiler_pic='-KPIC' 8871 lt_prog_compiler_static='-Bstatic' 8872 ;; 8873 8874 unicos*) 8875 lt_prog_compiler_wl='-Wl,' 8876 lt_prog_compiler_can_build_shared=no 8877 ;; 8878 8879 uts4*) 8880 lt_prog_compiler_pic='-pic' 8881 lt_prog_compiler_static='-Bstatic' 8882 ;; 8883 8884 *) 8885 lt_prog_compiler_can_build_shared=no 8886 ;; 8887 esac 8888 fi 8889 8890case $host_os in 8891 # For platforms which do not support PIC, -DPIC is meaningless: 8892 *djgpp*) 8893 lt_prog_compiler_pic= 8894 ;; 8895 *) 8896 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8897 ;; 8898esac 8899{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8900echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } 8901 8902 8903 8904 8905 8906 8907# 8908# Check to make sure the PIC flag actually works. 8909# 8910if test -n "$lt_prog_compiler_pic"; then 8911 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8912echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } 8913if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8914 echo $ECHO_N "(cached) $ECHO_C" >&6 8915else 8916 lt_cv_prog_compiler_pic_works=no 8917 ac_outfile=conftest.$ac_objext 8918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8919 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8920 # Insert the option either (1) after the last *FLAGS variable, or 8921 # (2) before a word containing "conftest.", or (3) at the end. 8922 # Note that $ac_compile itself does not contain backslashes and begins 8923 # with a dollar sign (not a hyphen), so the echo should work correctly. 8924 # The option is referenced via a variable to avoid confusing sed. 8925 lt_compile=`echo "$ac_compile" | $SED \ 8926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8928 -e 's:$: $lt_compiler_flag:'` 8929 (eval echo "\"\$as_me:8929: $lt_compile\"" >&5) 8930 (eval "$lt_compile" 2>conftest.err) 8931 ac_status=$? 8932 cat conftest.err >&5 8933 echo "$as_me:8933: \$? = $ac_status" >&5 8934 if (exit $ac_status) && test -s "$ac_outfile"; then 8935 # The compiler can only warn and ignore the option if not recognized 8936 # So say no if there are warnings other than the usual output. 8937 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8938 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8939 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8940 lt_cv_prog_compiler_pic_works=yes 8941 fi 8942 fi 8943 $RM conftest* 8944 8945fi 8946{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8947echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; } 8948 8949if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8950 case $lt_prog_compiler_pic in 8951 "" | " "*) ;; 8952 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8953 esac 8954else 8955 lt_prog_compiler_pic= 8956 lt_prog_compiler_can_build_shared=no 8957fi 8958 8959fi 8960 8961 8962 8963 8964 8965 8966# 8967# Check to make sure the static flag actually works. 8968# 8969wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8970{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8971echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 8972if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8973 echo $ECHO_N "(cached) $ECHO_C" >&6 8974else 8975 lt_cv_prog_compiler_static_works=no 8976 save_LDFLAGS="$LDFLAGS" 8977 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8978 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8979 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8980 # The linker can only warn and ignore the option if not recognized 8981 # So say no if there are warnings 8982 if test -s conftest.err; then 8983 # Append any errors to the config.log. 8984 cat conftest.err 1>&5 8985 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8986 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8987 if diff conftest.exp conftest.er2 >/dev/null; then 8988 lt_cv_prog_compiler_static_works=yes 8989 fi 8990 else 8991 lt_cv_prog_compiler_static_works=yes 8992 fi 8993 fi 8994 $RM -r conftest* 8995 LDFLAGS="$save_LDFLAGS" 8996 8997fi 8998{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8999echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; } 9000 9001if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9002 : 9003else 9004 lt_prog_compiler_static= 9005fi 9006 9007 9008 9009 9010 9011 9012 9013 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9014echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 9015if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9016 echo $ECHO_N "(cached) $ECHO_C" >&6 9017else 9018 lt_cv_prog_compiler_c_o=no 9019 $RM -r conftest 2>/dev/null 9020 mkdir conftest 9021 cd conftest 9022 mkdir out 9023 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9024 9025 lt_compiler_flag="-o out/conftest2.$ac_objext" 9026 # Insert the option either (1) after the last *FLAGS variable, or 9027 # (2) before a word containing "conftest.", or (3) at the end. 9028 # Note that $ac_compile itself does not contain backslashes and begins 9029 # with a dollar sign (not a hyphen), so the echo should work correctly. 9030 lt_compile=`echo "$ac_compile" | $SED \ 9031 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9032 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9033 -e 's:$: $lt_compiler_flag:'` 9034 (eval echo "\"\$as_me:9034: $lt_compile\"" >&5) 9035 (eval "$lt_compile" 2>out/conftest.err) 9036 ac_status=$? 9037 cat out/conftest.err >&5 9038 echo "$as_me:9038: \$? = $ac_status" >&5 9039 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9040 then 9041 # The compiler can only warn and ignore the option if not recognized 9042 # So say no if there are warnings 9043 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9044 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9045 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9046 lt_cv_prog_compiler_c_o=yes 9047 fi 9048 fi 9049 chmod u+w . 2>&5 9050 $RM conftest* 9051 # SGI C++ compiler will create directory out/ii_files/ for 9052 # template instantiation 9053 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9054 $RM out/* && rmdir out 9055 cd .. 9056 $RM -r conftest 9057 $RM conftest* 9058 9059fi 9060{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9061echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 9062 9063 9064 9065 9066 9067 9068 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9069echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 9070if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9071 echo $ECHO_N "(cached) $ECHO_C" >&6 9072else 9073 lt_cv_prog_compiler_c_o=no 9074 $RM -r conftest 2>/dev/null 9075 mkdir conftest 9076 cd conftest 9077 mkdir out 9078 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9079 9080 lt_compiler_flag="-o out/conftest2.$ac_objext" 9081 # Insert the option either (1) after the last *FLAGS variable, or 9082 # (2) before a word containing "conftest.", or (3) at the end. 9083 # Note that $ac_compile itself does not contain backslashes and begins 9084 # with a dollar sign (not a hyphen), so the echo should work correctly. 9085 lt_compile=`echo "$ac_compile" | $SED \ 9086 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9088 -e 's:$: $lt_compiler_flag:'` 9089 (eval echo "\"\$as_me:9089: $lt_compile\"" >&5) 9090 (eval "$lt_compile" 2>out/conftest.err) 9091 ac_status=$? 9092 cat out/conftest.err >&5 9093 echo "$as_me:9093: \$? = $ac_status" >&5 9094 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9095 then 9096 # The compiler can only warn and ignore the option if not recognized 9097 # So say no if there are warnings 9098 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9099 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9100 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9101 lt_cv_prog_compiler_c_o=yes 9102 fi 9103 fi 9104 chmod u+w . 2>&5 9105 $RM conftest* 9106 # SGI C++ compiler will create directory out/ii_files/ for 9107 # template instantiation 9108 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9109 $RM out/* && rmdir out 9110 cd .. 9111 $RM -r conftest 9112 $RM conftest* 9113 9114fi 9115{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9116echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } 9117 9118 9119 9120 9121hard_links="nottested" 9122if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9123 # do not overwrite the value of need_locks provided by the user 9124 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 9125echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 9126 hard_links=yes 9127 $RM conftest* 9128 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9129 touch conftest.a 9130 ln conftest.a conftest.b 2>&5 || hard_links=no 9131 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9132 { echo "$as_me:$LINENO: result: $hard_links" >&5 9133echo "${ECHO_T}$hard_links" >&6; } 9134 if test "$hard_links" = no; then 9135 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9136echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9137 need_locks=warn 9138 fi 9139else 9140 need_locks=no 9141fi 9142 9143 9144 9145 9146 9147 9148 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9149echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 9150 9151 runpath_var= 9152 allow_undefined_flag= 9153 always_export_symbols=no 9154 archive_cmds= 9155 archive_expsym_cmds= 9156 compiler_needs_object=no 9157 enable_shared_with_static_runtimes=no 9158 export_dynamic_flag_spec= 9159 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9160 hardcode_automatic=no 9161 hardcode_direct=no 9162 hardcode_direct_absolute=no 9163 hardcode_libdir_flag_spec= 9164 hardcode_libdir_flag_spec_ld= 9165 hardcode_libdir_separator= 9166 hardcode_minus_L=no 9167 hardcode_shlibpath_var=unsupported 9168 inherit_rpath=no 9169 link_all_deplibs=unknown 9170 module_cmds= 9171 module_expsym_cmds= 9172 old_archive_from_new_cmds= 9173 old_archive_from_expsyms_cmds= 9174 thread_safe_flag_spec= 9175 whole_archive_flag_spec= 9176 # include_expsyms should be a list of space-separated symbols to be *always* 9177 # included in the symbol list 9178 include_expsyms= 9179 # exclude_expsyms can be an extended regexp of symbols to exclude 9180 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9181 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9182 # as well as any symbol that contains `d'. 9183 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9184 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9185 # platforms (ab)use it in PIC code, but their linkers get confused if 9186 # the symbol is explicitly referenced. Since portable code cannot 9187 # rely on this symbol name, it's probably fine to never include it in 9188 # preloaded symbol tables. 9189 # Exclude shared library initialization/finalization symbols. 9190 extract_expsyms_cmds= 9191 9192 case $host_os in 9193 cygwin* | mingw* | pw32*) 9194 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9195 # When not using gcc, we currently assume that we are using 9196 # Microsoft Visual C++. 9197 if test "$GCC" != yes; then 9198 with_gnu_ld=no 9199 fi 9200 ;; 9201 interix*) 9202 # we just hope/assume this is gcc and not c89 (= MSVC++) 9203 with_gnu_ld=yes 9204 ;; 9205 openbsd*) 9206 with_gnu_ld=no 9207 ;; 9208 esac 9209 9210 ld_shlibs=yes 9211 if test "$with_gnu_ld" = yes; then 9212 # If archive_cmds runs LD, not CC, wlarc should be empty 9213 wlarc='${wl}' 9214 9215 # Set some defaults for GNU ld with shared library support. These 9216 # are reset later if shared libraries are not supported. Putting them 9217 # here allows them to be overridden if necessary. 9218 runpath_var=LD_RUN_PATH 9219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9220 export_dynamic_flag_spec='${wl}--export-dynamic' 9221 # ancient GNU ld didn't support --whole-archive et. al. 9222 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9223 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9224 else 9225 whole_archive_flag_spec= 9226 fi 9227 supports_anon_versioning=no 9228 case `$LD -v 2>&1` in 9229 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9230 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9231 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9232 *\ 2.11.*) ;; # other 2.11 versions 9233 *) supports_anon_versioning=yes ;; 9234 esac 9235 9236 # See if GNU ld supports shared libraries. 9237 case $host_os in 9238 aix[3-9]*) 9239 # On AIX/PPC, the GNU linker is very broken 9240 if test "$host_cpu" != ia64; then 9241 ld_shlibs=no 9242 cat <<_LT_EOF 1>&2 9243 9244*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9245*** to be unable to reliably create shared libraries on AIX. 9246*** Therefore, libtool is disabling shared libraries support. If you 9247*** really care for shared libraries, you may want to modify your PATH 9248*** so that a non-GNU linker is found, and then restart. 9249 9250_LT_EOF 9251 fi 9252 ;; 9253 9254 amigaos*) 9255 case $host_cpu in 9256 powerpc) 9257 # see comment about AmigaOS4 .so support 9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9259 archive_expsym_cmds='' 9260 ;; 9261 m68k) 9262 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)' 9263 hardcode_libdir_flag_spec='-L$libdir' 9264 hardcode_minus_L=yes 9265 ;; 9266 esac 9267 ;; 9268 9269 beos*) 9270 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9271 allow_undefined_flag=unsupported 9272 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9273 # support --undefined. This deserves some investigation. FIXME 9274 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9275 else 9276 ld_shlibs=no 9277 fi 9278 ;; 9279 9280 cygwin* | mingw* | pw32*) 9281 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9282 # as there is no search path for DLLs. 9283 hardcode_libdir_flag_spec='-L$libdir' 9284 allow_undefined_flag=unsupported 9285 always_export_symbols=no 9286 enable_shared_with_static_runtimes=yes 9287 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9288 9289 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9290 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9291 # If the export-symbols file already is a .def file (1st line 9292 # is EXPORTS), use it as is; otherwise, prepend... 9293 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9294 cp $export_symbols $output_objdir/$soname.def; 9295 else 9296 echo EXPORTS > $output_objdir/$soname.def; 9297 cat $export_symbols >> $output_objdir/$soname.def; 9298 fi~ 9299 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9300 else 9301 ld_shlibs=no 9302 fi 9303 ;; 9304 9305 interix[3-9]*) 9306 hardcode_direct=no 9307 hardcode_shlibpath_var=no 9308 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9309 export_dynamic_flag_spec='${wl}-E' 9310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9311 # Instead, shared libraries are loaded at an image base (0x10000000 by 9312 # default) and relocated if they conflict, which is a slow very memory 9313 # consuming and fragmenting process. To avoid this, we pick a random, 9314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9315 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9316 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9317 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' 9318 ;; 9319 9320 gnu* | linux* | tpf* | k*bsd*-gnu) 9321 tmp_diet=no 9322 if test "$host_os" = linux-dietlibc; then 9323 case $cc_basename in 9324 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9325 esac 9326 fi 9327 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9328 && test "$tmp_diet" = no 9329 then 9330 tmp_addflag= 9331 tmp_sharedflag='-shared' 9332 case $cc_basename,$host_cpu in 9333 pgcc*) # Portland Group C compiler 9334 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' 9335 tmp_addflag=' $pic_flag' 9336 ;; 9337 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9338 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' 9339 tmp_addflag=' $pic_flag -Mnomain' ;; 9340 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9341 tmp_addflag=' -i_dynamic' ;; 9342 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9343 tmp_addflag=' -i_dynamic -nofor_main' ;; 9344 ifc* | ifort*) # Intel Fortran compiler 9345 tmp_addflag=' -nofor_main' ;; 9346 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9347 tmp_sharedflag='-qmkshrobj' 9348 tmp_addflag= ;; 9349 esac 9350 case `$CC -V 2>&1 | sed 5q` in 9351 *Sun\ C*) # Sun C 5.9 9352 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' 9353 compiler_needs_object=yes 9354 tmp_sharedflag='-G' ;; 9355 *Sun\ F*) # Sun Fortran 8.3 9356 tmp_sharedflag='-G' ;; 9357 esac 9358 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9359 9360 if test "x$supports_anon_versioning" = xyes; then 9361 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9362 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9363 echo "local: *; };" >> $output_objdir/$libname.ver~ 9364 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9365 fi 9366 9367 case $cc_basename in 9368 xlf*) 9369 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9370 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9371 hardcode_libdir_flag_spec= 9372 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9373 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9374 if test "x$supports_anon_versioning" = xyes; then 9375 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9376 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9377 echo "local: *; };" >> $output_objdir/$libname.ver~ 9378 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9379 fi 9380 ;; 9381 esac 9382 else 9383 ld_shlibs=no 9384 fi 9385 ;; 9386 9387 netbsd* | netbsdelf*-gnu) 9388 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9389 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9390 wlarc= 9391 else 9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9394 fi 9395 ;; 9396 9397 solaris*) 9398 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9399 ld_shlibs=no 9400 cat <<_LT_EOF 1>&2 9401 9402*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9403*** create shared libraries on Solaris systems. Therefore, libtool 9404*** is disabling shared libraries support. We urge you to upgrade GNU 9405*** binutils to release 2.9.1 or newer. Another option is to modify 9406*** your PATH or compiler configuration so that the native linker is 9407*** used, and then restart. 9408 9409_LT_EOF 9410 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9411 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9412 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9413 else 9414 ld_shlibs=no 9415 fi 9416 ;; 9417 9418 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9419 case `$LD -v 2>&1` in 9420 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9421 ld_shlibs=no 9422 cat <<_LT_EOF 1>&2 9423 9424*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9425*** reliably create shared libraries on SCO systems. Therefore, libtool 9426*** is disabling shared libraries support. We urge you to upgrade GNU 9427*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9428*** your PATH or compiler configuration so that the native linker is 9429*** used, and then restart. 9430 9431_LT_EOF 9432 ;; 9433 *) 9434 # For security reasons, it is highly recommended that you always 9435 # use absolute paths for naming shared libraries, and exclude the 9436 # DT_RUNPATH tag from executables and libraries. But doing so 9437 # requires that you compile everything twice, which is a pain. 9438 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9439 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9440 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9441 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9442 else 9443 ld_shlibs=no 9444 fi 9445 ;; 9446 esac 9447 ;; 9448 9449 sunos4*) 9450 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9451 wlarc= 9452 hardcode_direct=yes 9453 hardcode_shlibpath_var=no 9454 ;; 9455 9456 *) 9457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9458 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9459 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9460 else 9461 ld_shlibs=no 9462 fi 9463 ;; 9464 esac 9465 9466 if test "$ld_shlibs" = no; then 9467 runpath_var= 9468 hardcode_libdir_flag_spec= 9469 export_dynamic_flag_spec= 9470 whole_archive_flag_spec= 9471 fi 9472 else 9473 # PORTME fill in a description of your system's linker (not GNU ld) 9474 case $host_os in 9475 aix3*) 9476 allow_undefined_flag=unsupported 9477 always_export_symbols=yes 9478 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' 9479 # Note: this linker hardcodes the directories in LIBPATH if there 9480 # are no directories specified by -L. 9481 hardcode_minus_L=yes 9482 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9483 # Neither direct hardcoding nor static linking is supported with a 9484 # broken collect2. 9485 hardcode_direct=unsupported 9486 fi 9487 ;; 9488 9489 aix[4-9]*) 9490 if test "$host_cpu" = ia64; then 9491 # On IA64, the linker does run time linking by default, so we don't 9492 # have to do anything special. 9493 aix_use_runtimelinking=no 9494 exp_sym_flag='-Bexport' 9495 no_entry_flag="" 9496 else 9497 # If we're using GNU nm, then we don't want the "-C" option. 9498 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9499 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9500 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' 9501 else 9502 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' 9503 fi 9504 aix_use_runtimelinking=no 9505 9506 # Test if we are trying to use run time linking or normal 9507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9508 # need to do runtime linking. 9509 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9510 for ld_flag in $LDFLAGS; do 9511 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9512 aix_use_runtimelinking=yes 9513 break 9514 fi 9515 done 9516 ;; 9517 esac 9518 9519 exp_sym_flag='-bexport' 9520 no_entry_flag='-bnoentry' 9521 fi 9522 9523 # When large executables or shared objects are built, AIX ld can 9524 # have problems creating the table of contents. If linking a library 9525 # or program results in "error TOC overflow" add -mminimal-toc to 9526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9528 9529 archive_cmds='' 9530 hardcode_direct=yes 9531 hardcode_direct_absolute=yes 9532 hardcode_libdir_separator=':' 9533 link_all_deplibs=yes 9534 file_list_spec='${wl}-f,' 9535 9536 if test "$GCC" = yes; then 9537 case $host_os in aix4.[012]|aix4.[012].*) 9538 # We only want to do this on AIX 4.2 and lower, the check 9539 # below for broken collect2 doesn't work under 4.3+ 9540 collect2name=`${CC} -print-prog-name=collect2` 9541 if test -f "$collect2name" && 9542 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9543 then 9544 # We have reworked collect2 9545 : 9546 else 9547 # We have old collect2 9548 hardcode_direct=unsupported 9549 # It fails to find uninstalled libraries when the uninstalled 9550 # path is not listed in the libpath. Setting hardcode_minus_L 9551 # to unsupported forces relinking 9552 hardcode_minus_L=yes 9553 hardcode_libdir_flag_spec='-L$libdir' 9554 hardcode_libdir_separator= 9555 fi 9556 ;; 9557 esac 9558 shared_flag='-shared' 9559 if test "$aix_use_runtimelinking" = yes; then 9560 shared_flag="$shared_flag "'${wl}-G' 9561 fi 9562 link_all_deplibs=no 9563 else 9564 # not using gcc 9565 if test "$host_cpu" = ia64; then 9566 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9567 # chokes on -Wl,-G. The following line is correct: 9568 shared_flag='-G' 9569 else 9570 if test "$aix_use_runtimelinking" = yes; then 9571 shared_flag='${wl}-G' 9572 else 9573 shared_flag='${wl}-bM:SRE' 9574 fi 9575 fi 9576 fi 9577 9578 # It seems that -bexpall does not export symbols beginning with 9579 # underscore (_), so it is better to generate a list of symbols to export. 9580 always_export_symbols=yes 9581 if test "$aix_use_runtimelinking" = yes; then 9582 # Warning - without using the other runtime loading flags (-brtl), 9583 # -berok will link without error, but may produce a broken library. 9584 allow_undefined_flag='-berok' 9585 # Determine the default libpath from the value encoded in an 9586 # empty executable. 9587 cat >conftest.$ac_ext <<_ACEOF 9588/* confdefs.h. */ 9589_ACEOF 9590cat confdefs.h >>conftest.$ac_ext 9591cat >>conftest.$ac_ext <<_ACEOF 9592/* end confdefs.h. */ 9593 9594int 9595main () 9596{ 9597 9598 ; 9599 return 0; 9600} 9601_ACEOF 9602rm -f conftest.$ac_objext conftest$ac_exeext 9603if { (ac_try="$ac_link" 9604case "(($ac_try" in 9605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9606 *) ac_try_echo=$ac_try;; 9607esac 9608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9609 (eval "$ac_link") 2>conftest.er1 9610 ac_status=$? 9611 grep -v '^ *+' conftest.er1 >conftest.err 9612 rm -f conftest.er1 9613 cat conftest.err >&5 9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9615 (exit $ac_status); } && { 9616 test -z "$ac_c_werror_flag" || 9617 test ! -s conftest.err 9618 } && test -s conftest$ac_exeext && 9619 $as_test_x conftest$ac_exeext; then 9620 9621lt_aix_libpath_sed=' 9622 /Import File Strings/,/^$/ { 9623 /^0/ { 9624 s/^0 *\(.*\)$/\1/ 9625 p 9626 } 9627 }' 9628aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9629# Check for a 64-bit object if we didn't find anything. 9630if test -z "$aix_libpath"; then 9631 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9632fi 9633else 9634 echo "$as_me: failed program was:" >&5 9635sed 's/^/| /' conftest.$ac_ext >&5 9636 9637 9638fi 9639 9640rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9641 conftest$ac_exeext conftest.$ac_ext 9642if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9643 9644 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9645 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" 9646 else 9647 if test "$host_cpu" = ia64; then 9648 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9649 allow_undefined_flag="-z nodefs" 9650 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" 9651 else 9652 # Determine the default libpath from the value encoded in an 9653 # empty executable. 9654 cat >conftest.$ac_ext <<_ACEOF 9655/* confdefs.h. */ 9656_ACEOF 9657cat confdefs.h >>conftest.$ac_ext 9658cat >>conftest.$ac_ext <<_ACEOF 9659/* end confdefs.h. */ 9660 9661int 9662main () 9663{ 9664 9665 ; 9666 return 0; 9667} 9668_ACEOF 9669rm -f conftest.$ac_objext conftest$ac_exeext 9670if { (ac_try="$ac_link" 9671case "(($ac_try" in 9672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9673 *) ac_try_echo=$ac_try;; 9674esac 9675eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9676 (eval "$ac_link") 2>conftest.er1 9677 ac_status=$? 9678 grep -v '^ *+' conftest.er1 >conftest.err 9679 rm -f conftest.er1 9680 cat conftest.err >&5 9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9682 (exit $ac_status); } && { 9683 test -z "$ac_c_werror_flag" || 9684 test ! -s conftest.err 9685 } && test -s conftest$ac_exeext && 9686 $as_test_x conftest$ac_exeext; then 9687 9688lt_aix_libpath_sed=' 9689 /Import File Strings/,/^$/ { 9690 /^0/ { 9691 s/^0 *\(.*\)$/\1/ 9692 p 9693 } 9694 }' 9695aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9696# Check for a 64-bit object if we didn't find anything. 9697if test -z "$aix_libpath"; then 9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9699fi 9700else 9701 echo "$as_me: failed program was:" >&5 9702sed 's/^/| /' conftest.$ac_ext >&5 9703 9704 9705fi 9706 9707rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9708 conftest$ac_exeext conftest.$ac_ext 9709if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9710 9711 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9712 # Warning - without using the other run time loading flags, 9713 # -berok will link without error, but may produce a broken library. 9714 no_undefined_flag=' ${wl}-bernotok' 9715 allow_undefined_flag=' ${wl}-berok' 9716 # Exported symbols can be pulled into shared objects from archives 9717 whole_archive_flag_spec='$convenience' 9718 archive_cmds_need_lc=yes 9719 # This is similar to how AIX traditionally builds its shared libraries. 9720 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' 9721 fi 9722 fi 9723 ;; 9724 9725 amigaos*) 9726 case $host_cpu in 9727 powerpc) 9728 # see comment about AmigaOS4 .so support 9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9730 archive_expsym_cmds='' 9731 ;; 9732 m68k) 9733 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)' 9734 hardcode_libdir_flag_spec='-L$libdir' 9735 hardcode_minus_L=yes 9736 ;; 9737 esac 9738 ;; 9739 9740 bsdi[45]*) 9741 export_dynamic_flag_spec=-rdynamic 9742 ;; 9743 9744 cygwin* | mingw* | pw32*) 9745 # When not using gcc, we currently assume that we are using 9746 # Microsoft Visual C++. 9747 # hardcode_libdir_flag_spec is actually meaningless, as there is 9748 # no search path for DLLs. 9749 hardcode_libdir_flag_spec=' ' 9750 allow_undefined_flag=unsupported 9751 # Tell ltmain to make .lib files, not .a files. 9752 libext=lib 9753 # Tell ltmain to make .dll files, not .so files. 9754 shrext_cmds=".dll" 9755 # FIXME: Setting linknames here is a bad hack. 9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9757 # The linker will automatically build a .lib file if we build a DLL. 9758 old_archive_from_new_cmds='true' 9759 # FIXME: Should let the user specify the lib program. 9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9761 fix_srcfile_path='`cygpath -w "$srcfile"`' 9762 enable_shared_with_static_runtimes=yes 9763 ;; 9764 9765 darwin* | rhapsody*) 9766 9767 9768 archive_cmds_need_lc=no 9769 hardcode_direct=no 9770 hardcode_automatic=yes 9771 hardcode_shlibpath_var=unsupported 9772 whole_archive_flag_spec='' 9773 link_all_deplibs=yes 9774 allow_undefined_flag="$_lt_dar_allow_undefined" 9775 if test "$GCC" = "yes"; then 9776 output_verbose_link_cmd=echo 9777 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9778 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9779 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}" 9780 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}" 9781 9782 else 9783 ld_shlibs=no 9784 fi 9785 9786 ;; 9787 9788 dgux*) 9789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9790 hardcode_libdir_flag_spec='-L$libdir' 9791 hardcode_shlibpath_var=no 9792 ;; 9793 9794 freebsd1*) 9795 ld_shlibs=no 9796 ;; 9797 9798 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9799 # support. Future versions do this automatically, but an explicit c++rt0.o 9800 # does not break anything, and helps significantly (at the cost of a little 9801 # extra space). 9802 freebsd2.2*) 9803 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9804 hardcode_libdir_flag_spec='-R$libdir' 9805 hardcode_direct=yes 9806 hardcode_shlibpath_var=no 9807 ;; 9808 9809 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9810 freebsd2*) 9811 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9812 hardcode_direct=yes 9813 hardcode_minus_L=yes 9814 hardcode_shlibpath_var=no 9815 ;; 9816 9817 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9818 freebsd* | dragonfly*) 9819 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9820 hardcode_libdir_flag_spec='-R$libdir' 9821 hardcode_direct=yes 9822 hardcode_shlibpath_var=no 9823 ;; 9824 9825 hpux9*) 9826 if test "$GCC" = yes; then 9827 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' 9828 else 9829 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' 9830 fi 9831 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9832 hardcode_libdir_separator=: 9833 hardcode_direct=yes 9834 9835 # hardcode_minus_L: Not really in the search PATH, 9836 # but as the default location of the library. 9837 hardcode_minus_L=yes 9838 export_dynamic_flag_spec='${wl}-E' 9839 ;; 9840 9841 hpux10*) 9842 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9843 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9844 else 9845 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9846 fi 9847 if test "$with_gnu_ld" = no; then 9848 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9849 hardcode_libdir_flag_spec_ld='+b $libdir' 9850 hardcode_libdir_separator=: 9851 hardcode_direct=yes 9852 hardcode_direct_absolute=yes 9853 export_dynamic_flag_spec='${wl}-E' 9854 # hardcode_minus_L: Not really in the search PATH, 9855 # but as the default location of the library. 9856 hardcode_minus_L=yes 9857 fi 9858 ;; 9859 9860 hpux11*) 9861 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9862 case $host_cpu in 9863 hppa*64*) 9864 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9865 ;; 9866 ia64*) 9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9868 ;; 9869 *) 9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9871 ;; 9872 esac 9873 else 9874 case $host_cpu in 9875 hppa*64*) 9876 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9877 ;; 9878 ia64*) 9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9880 ;; 9881 *) 9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9883 ;; 9884 esac 9885 fi 9886 if test "$with_gnu_ld" = no; then 9887 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9888 hardcode_libdir_separator=: 9889 9890 case $host_cpu in 9891 hppa*64*|ia64*) 9892 hardcode_direct=no 9893 hardcode_shlibpath_var=no 9894 ;; 9895 *) 9896 hardcode_direct=yes 9897 hardcode_direct_absolute=yes 9898 export_dynamic_flag_spec='${wl}-E' 9899 9900 # hardcode_minus_L: Not really in the search PATH, 9901 # but as the default location of the library. 9902 hardcode_minus_L=yes 9903 ;; 9904 esac 9905 fi 9906 ;; 9907 9908 irix5* | irix6* | nonstopux*) 9909 if test "$GCC" = yes; then 9910 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' 9911 # Try to use the -exported_symbol ld option, if it does not 9912 # work, assume that -exports_file does not work either and 9913 # implicitly export all symbols. 9914 save_LDFLAGS="$LDFLAGS" 9915 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9916 cat >conftest.$ac_ext <<_ACEOF 9917int foo(void) {} 9918_ACEOF 9919rm -f conftest.$ac_objext conftest$ac_exeext 9920if { (ac_try="$ac_link" 9921case "(($ac_try" in 9922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9923 *) ac_try_echo=$ac_try;; 9924esac 9925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9926 (eval "$ac_link") 2>conftest.er1 9927 ac_status=$? 9928 grep -v '^ *+' conftest.er1 >conftest.err 9929 rm -f conftest.er1 9930 cat conftest.err >&5 9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9932 (exit $ac_status); } && { 9933 test -z "$ac_c_werror_flag" || 9934 test ! -s conftest.err 9935 } && test -s conftest$ac_exeext && 9936 $as_test_x conftest$ac_exeext; then 9937 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' 9938 9939else 9940 echo "$as_me: failed program was:" >&5 9941sed 's/^/| /' conftest.$ac_ext >&5 9942 9943 9944fi 9945 9946rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9947 conftest$ac_exeext conftest.$ac_ext 9948 LDFLAGS="$save_LDFLAGS" 9949 else 9950 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' 9951 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' 9952 fi 9953 archive_cmds_need_lc='no' 9954 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9955 hardcode_libdir_separator=: 9956 inherit_rpath=yes 9957 link_all_deplibs=yes 9958 ;; 9959 9960 netbsd* | netbsdelf*-gnu) 9961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9962 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9963 else 9964 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9965 fi 9966 hardcode_libdir_flag_spec='-R$libdir' 9967 hardcode_direct=yes 9968 hardcode_shlibpath_var=no 9969 ;; 9970 9971 newsos6) 9972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9973 hardcode_direct=yes 9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9975 hardcode_libdir_separator=: 9976 hardcode_shlibpath_var=no 9977 ;; 9978 9979 *nto* | *qnx*) 9980 ;; 9981 9982 openbsd*) 9983 if test -f /usr/libexec/ld.so; then 9984 hardcode_direct=yes 9985 hardcode_shlibpath_var=no 9986 hardcode_direct_absolute=yes 9987 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9988 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9989 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9990 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9991 export_dynamic_flag_spec='${wl}-E' 9992 else 9993 case $host_os in 9994 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9995 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9996 hardcode_libdir_flag_spec='-R$libdir' 9997 ;; 9998 *) 9999 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10000 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10001 ;; 10002 esac 10003 fi 10004 else 10005 ld_shlibs=no 10006 fi 10007 ;; 10008 10009 os2*) 10010 hardcode_libdir_flag_spec='-L$libdir' 10011 hardcode_minus_L=yes 10012 allow_undefined_flag=unsupported 10013 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' 10014 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10015 ;; 10016 10017 osf3*) 10018 if test "$GCC" = yes; then 10019 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10020 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' 10021 else 10022 allow_undefined_flag=' -expect_unresolved \*' 10023 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' 10024 fi 10025 archive_cmds_need_lc='no' 10026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10027 hardcode_libdir_separator=: 10028 ;; 10029 10030 osf4* | osf5*) # as osf3* with the addition of -msym flag 10031 if test "$GCC" = yes; then 10032 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10033 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' 10034 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10035 else 10036 allow_undefined_flag=' -expect_unresolved \*' 10037 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' 10038 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~ 10039 $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' 10040 10041 # Both c and cxx compiler support -rpath directly 10042 hardcode_libdir_flag_spec='-rpath $libdir' 10043 fi 10044 archive_cmds_need_lc='no' 10045 hardcode_libdir_separator=: 10046 ;; 10047 10048 solaris*) 10049 no_undefined_flag=' -z defs' 10050 if test "$GCC" = yes; then 10051 wlarc='${wl}' 10052 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10053 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10054 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10055 else 10056 case `$CC -V 2>&1` in 10057 *"Compilers 5.0"*) 10058 wlarc='' 10059 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10060 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10061 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10062 ;; 10063 *) 10064 wlarc='${wl}' 10065 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10066 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10067 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10068 ;; 10069 esac 10070 fi 10071 hardcode_libdir_flag_spec='-R$libdir' 10072 hardcode_shlibpath_var=no 10073 case $host_os in 10074 solaris2.[0-5] | solaris2.[0-5].*) ;; 10075 *) 10076 # The compiler driver will combine and reorder linker options, 10077 # but understands `-z linker_flag'. GCC discards it without `$wl', 10078 # but is careful enough not to reorder. 10079 # Supported since Solaris 2.6 (maybe 2.5.1?) 10080 if test "$GCC" = yes; then 10081 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10082 else 10083 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10084 fi 10085 ;; 10086 esac 10087 link_all_deplibs=yes 10088 ;; 10089 10090 sunos4*) 10091 if test "x$host_vendor" = xsequent; then 10092 # Use $CC to link under sequent, because it throws in some extra .o 10093 # files that make .init and .fini sections work. 10094 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10095 else 10096 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10097 fi 10098 hardcode_libdir_flag_spec='-L$libdir' 10099 hardcode_direct=yes 10100 hardcode_minus_L=yes 10101 hardcode_shlibpath_var=no 10102 ;; 10103 10104 sysv4) 10105 case $host_vendor in 10106 sni) 10107 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10108 hardcode_direct=yes # is this really true??? 10109 ;; 10110 siemens) 10111 ## LD is ld it makes a PLAMLIB 10112 ## CC just makes a GrossModule. 10113 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10114 reload_cmds='$CC -r -o $output$reload_objs' 10115 hardcode_direct=no 10116 ;; 10117 motorola) 10118 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10119 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10120 ;; 10121 esac 10122 runpath_var='LD_RUN_PATH' 10123 hardcode_shlibpath_var=no 10124 ;; 10125 10126 sysv4.3*) 10127 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10128 hardcode_shlibpath_var=no 10129 export_dynamic_flag_spec='-Bexport' 10130 ;; 10131 10132 sysv4*MP*) 10133 if test -d /usr/nec; then 10134 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10135 hardcode_shlibpath_var=no 10136 runpath_var=LD_RUN_PATH 10137 hardcode_runpath_var=yes 10138 ld_shlibs=yes 10139 fi 10140 ;; 10141 10142 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10143 no_undefined_flag='${wl}-z,text' 10144 archive_cmds_need_lc=no 10145 hardcode_shlibpath_var=no 10146 runpath_var='LD_RUN_PATH' 10147 10148 if test "$GCC" = yes; then 10149 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10150 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10151 else 10152 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10153 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10154 fi 10155 ;; 10156 10157 sysv5* | sco3.2v5* | sco5v6*) 10158 # Note: We can NOT use -z defs as we might desire, because we do not 10159 # link with -lc, and that would cause any symbols used from libc to 10160 # always be unresolved, which means just about no library would 10161 # ever link correctly. If we're not using GNU ld we use -z text 10162 # though, which does catch some bad symbols but isn't as heavy-handed 10163 # as -z defs. 10164 no_undefined_flag='${wl}-z,text' 10165 allow_undefined_flag='${wl}-z,nodefs' 10166 archive_cmds_need_lc=no 10167 hardcode_shlibpath_var=no 10168 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10169 hardcode_libdir_separator=':' 10170 link_all_deplibs=yes 10171 export_dynamic_flag_spec='${wl}-Bexport' 10172 runpath_var='LD_RUN_PATH' 10173 10174 if test "$GCC" = yes; then 10175 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10176 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10177 else 10178 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10179 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10180 fi 10181 ;; 10182 10183 uts4*) 10184 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10185 hardcode_libdir_flag_spec='-L$libdir' 10186 hardcode_shlibpath_var=no 10187 ;; 10188 10189 *) 10190 ld_shlibs=no 10191 ;; 10192 esac 10193 10194 if test x$host_vendor = xsni; then 10195 case $host in 10196 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10197 export_dynamic_flag_spec='${wl}-Blargedynsym' 10198 ;; 10199 esac 10200 fi 10201 fi 10202 10203{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 10204echo "${ECHO_T}$ld_shlibs" >&6; } 10205test "$ld_shlibs" = no && can_build_shared=no 10206 10207with_gnu_ld=$with_gnu_ld 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223# 10224# Do we need to explicitly link libc? 10225# 10226case "x$archive_cmds_need_lc" in 10227x|xyes) 10228 # Assume -lc should be added 10229 archive_cmds_need_lc=yes 10230 10231 if test "$enable_shared" = yes && test "$GCC" = yes; then 10232 case $archive_cmds in 10233 *'~'*) 10234 # FIXME: we may have to deal with multi-command sequences. 10235 ;; 10236 '$CC '*) 10237 # Test whether the compiler implicitly links with -lc since on some 10238 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10239 # to ld, don't add -lc before -lgcc. 10240 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 10241echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 10242 $RM conftest* 10243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10244 10245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10246 (eval $ac_compile) 2>&5 10247 ac_status=$? 10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10249 (exit $ac_status); } 2>conftest.err; then 10250 soname=conftest 10251 lib=conftest 10252 libobjs=conftest.$ac_objext 10253 deplibs= 10254 wl=$lt_prog_compiler_wl 10255 pic_flag=$lt_prog_compiler_pic 10256 compiler_flags=-v 10257 linker_flags=-v 10258 verstring= 10259 output_objdir=. 10260 libname=conftest 10261 lt_save_allow_undefined_flag=$allow_undefined_flag 10262 allow_undefined_flag= 10263 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 10264 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10265 ac_status=$? 10266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10267 (exit $ac_status); } 10268 then 10269 archive_cmds_need_lc=no 10270 else 10271 archive_cmds_need_lc=yes 10272 fi 10273 allow_undefined_flag=$lt_save_allow_undefined_flag 10274 else 10275 cat conftest.err 1>&5 10276 fi 10277 $RM conftest* 10278 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 10279echo "${ECHO_T}$archive_cmds_need_lc" >&6; } 10280 ;; 10281 esac 10282 fi 10283 ;; 10284esac 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10443echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 10444 10445if test "$GCC" = yes; then 10446 case $host_os in 10447 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10448 *) lt_awk_arg="/^libraries:/" ;; 10449 esac 10450 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10451 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10452 # if the path contains ";" then we assume it to be the separator 10453 # otherwise default to the standard path separator (i.e. ":") - it is 10454 # assumed that no part of a normal pathname contains ";" but that should 10455 # okay in the real world where ";" in dirpaths is itself problematic. 10456 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10457 else 10458 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10459 fi 10460 # Ok, now we have the path, separated by spaces, we can step through it 10461 # and add multilib dir if necessary. 10462 lt_tmp_lt_search_path_spec= 10463 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10464 for lt_sys_path in $lt_search_path_spec; do 10465 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10466 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10467 else 10468 test -d "$lt_sys_path" && \ 10469 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10470 fi 10471 done 10472 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10473BEGIN {RS=" "; FS="/|\n";} { 10474 lt_foo=""; 10475 lt_count=0; 10476 for (lt_i = NF; lt_i > 0; lt_i--) { 10477 if ($lt_i != "" && $lt_i != ".") { 10478 if ($lt_i == "..") { 10479 lt_count++; 10480 } else { 10481 if (lt_count == 0) { 10482 lt_foo="/" $lt_i lt_foo; 10483 } else { 10484 lt_count--; 10485 } 10486 } 10487 } 10488 } 10489 if (lt_foo != "") { lt_freq[lt_foo]++; } 10490 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10491}'` 10492 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10493else 10494 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10495fi 10496library_names_spec= 10497libname_spec='lib$name' 10498soname_spec= 10499shrext_cmds=".so" 10500postinstall_cmds= 10501postuninstall_cmds= 10502finish_cmds= 10503finish_eval= 10504shlibpath_var= 10505shlibpath_overrides_runpath=unknown 10506version_type=none 10507dynamic_linker="$host_os ld.so" 10508sys_lib_dlsearch_path_spec="/lib /usr/lib" 10509need_lib_prefix=unknown 10510hardcode_into_libs=no 10511 10512# when you set need_version to no, make sure it does not cause -set_version 10513# flags to be left without arguments 10514need_version=unknown 10515 10516case $host_os in 10517aix3*) 10518 version_type=linux 10519 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10520 shlibpath_var=LIBPATH 10521 10522 # AIX 3 has no versioning support, so we append a major version to the name. 10523 soname_spec='${libname}${release}${shared_ext}$major' 10524 ;; 10525 10526aix[4-9]*) 10527 version_type=linux 10528 need_lib_prefix=no 10529 need_version=no 10530 hardcode_into_libs=yes 10531 if test "$host_cpu" = ia64; then 10532 # AIX 5 supports IA64 10533 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10534 shlibpath_var=LD_LIBRARY_PATH 10535 else 10536 # With GCC up to 2.95.x, collect2 would create an import file 10537 # for dependence libraries. The import file would start with 10538 # the line `#! .'. This would cause the generated library to 10539 # depend on `.', always an invalid library. This was fixed in 10540 # development snapshots of GCC prior to 3.0. 10541 case $host_os in 10542 aix4 | aix4.[01] | aix4.[01].*) 10543 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10544 echo ' yes ' 10545 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10546 : 10547 else 10548 can_build_shared=no 10549 fi 10550 ;; 10551 esac 10552 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10553 # soname into executable. Probably we can add versioning support to 10554 # collect2, so additional links can be useful in future. 10555 if test "$aix_use_runtimelinking" = yes; then 10556 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10557 # instead of lib<name>.a to let people know that these are not 10558 # typical AIX shared libraries. 10559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10560 else 10561 # We preserve .a as extension for shared libraries through AIX4.2 10562 # and later when we are not doing run time linking. 10563 library_names_spec='${libname}${release}.a $libname.a' 10564 soname_spec='${libname}${release}${shared_ext}$major' 10565 fi 10566 shlibpath_var=LIBPATH 10567 fi 10568 ;; 10569 10570amigaos*) 10571 case $host_cpu in 10572 powerpc) 10573 # Since July 2007 AmigaOS4 officially supports .so libraries. 10574 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10576 ;; 10577 m68k) 10578 library_names_spec='$libname.ixlibrary $libname.a' 10579 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10580 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' 10581 ;; 10582 esac 10583 ;; 10584 10585beos*) 10586 library_names_spec='${libname}${shared_ext}' 10587 dynamic_linker="$host_os ld.so" 10588 shlibpath_var=LIBRARY_PATH 10589 ;; 10590 10591bsdi[45]*) 10592 version_type=linux 10593 need_version=no 10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10595 soname_spec='${libname}${release}${shared_ext}$major' 10596 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10597 shlibpath_var=LD_LIBRARY_PATH 10598 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10599 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10600 # the default ld.so.conf also contains /usr/contrib/lib and 10601 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10602 # libtool to hard-code these into programs 10603 ;; 10604 10605cygwin* | mingw* | pw32*) 10606 version_type=windows 10607 shrext_cmds=".dll" 10608 need_version=no 10609 need_lib_prefix=no 10610 10611 case $GCC,$host_os in 10612 yes,cygwin* | yes,mingw* | yes,pw32*) 10613 library_names_spec='$libname.dll.a' 10614 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10615 postinstall_cmds='base_file=`basename \${file}`~ 10616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10617 dldir=$destdir/`dirname \$dlpath`~ 10618 test -d \$dldir || mkdir -p \$dldir~ 10619 $install_prog $dir/$dlname \$dldir/$dlname~ 10620 chmod a+x \$dldir/$dlname~ 10621 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10622 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10623 fi' 10624 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10625 dlpath=$dir/\$dldll~ 10626 $RM \$dlpath' 10627 shlibpath_overrides_runpath=yes 10628 10629 case $host_os in 10630 cygwin*) 10631 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10632 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10633 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10634 ;; 10635 mingw*) 10636 # MinGW DLLs use traditional 'lib' prefix 10637 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10638 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10639 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10640 # It is most probably a Windows format PATH printed by 10641 # mingw gcc, but we are running on Cygwin. Gcc prints its search 10642 # path with ; separators, and with drive letters. We can handle the 10643 # drive letters (cygwin fileutils understands them), so leave them, 10644 # especially as we might pass files found there to a mingw objdump, 10645 # which wouldn't understand a cygwinified path. Ahh. 10646 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10647 else 10648 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10649 fi 10650 ;; 10651 pw32*) 10652 # pw32 DLLs use 'pw' prefix rather than 'lib' 10653 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10654 ;; 10655 esac 10656 ;; 10657 10658 *) 10659 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10660 ;; 10661 esac 10662 dynamic_linker='Win32 ld.exe' 10663 # FIXME: first we should search . and the directory the executable is in 10664 shlibpath_var=PATH 10665 ;; 10666 10667darwin* | rhapsody*) 10668 dynamic_linker="$host_os dyld" 10669 version_type=darwin 10670 need_lib_prefix=no 10671 need_version=no 10672 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10673 soname_spec='${libname}${release}${major}$shared_ext' 10674 shlibpath_overrides_runpath=yes 10675 shlibpath_var=DYLD_LIBRARY_PATH 10676 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10677 10678 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10679 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10680 ;; 10681 10682dgux*) 10683 version_type=linux 10684 need_lib_prefix=no 10685 need_version=no 10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10687 soname_spec='${libname}${release}${shared_ext}$major' 10688 shlibpath_var=LD_LIBRARY_PATH 10689 ;; 10690 10691freebsd1*) 10692 dynamic_linker=no 10693 ;; 10694 10695freebsd* | dragonfly*) 10696 # DragonFly does not have aout. When/if they implement a new 10697 # versioning mechanism, adjust this. 10698 if test -x /usr/bin/objformat; then 10699 objformat=`/usr/bin/objformat` 10700 else 10701 case $host_os in 10702 freebsd[123]*) objformat=aout ;; 10703 *) objformat=elf ;; 10704 esac 10705 fi 10706 version_type=freebsd-$objformat 10707 case $version_type in 10708 freebsd-elf*) 10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10710 need_version=no 10711 need_lib_prefix=no 10712 ;; 10713 freebsd-*) 10714 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10715 need_version=yes 10716 ;; 10717 esac 10718 shlibpath_var=LD_LIBRARY_PATH 10719 case $host_os in 10720 freebsd2*) 10721 shlibpath_overrides_runpath=yes 10722 ;; 10723 freebsd3.[01]* | freebsdelf3.[01]*) 10724 shlibpath_overrides_runpath=yes 10725 hardcode_into_libs=yes 10726 ;; 10727 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10728 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10729 shlibpath_overrides_runpath=no 10730 hardcode_into_libs=yes 10731 ;; 10732 *) # from 4.6 on, and DragonFly 10733 shlibpath_overrides_runpath=yes 10734 hardcode_into_libs=yes 10735 ;; 10736 esac 10737 ;; 10738 10739gnu*) 10740 version_type=linux 10741 need_lib_prefix=no 10742 need_version=no 10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10744 soname_spec='${libname}${release}${shared_ext}$major' 10745 shlibpath_var=LD_LIBRARY_PATH 10746 hardcode_into_libs=yes 10747 ;; 10748 10749hpux9* | hpux10* | hpux11*) 10750 # Give a soname corresponding to the major version so that dld.sl refuses to 10751 # link against other versions. 10752 version_type=sunos 10753 need_lib_prefix=no 10754 need_version=no 10755 case $host_cpu in 10756 ia64*) 10757 shrext_cmds='.so' 10758 hardcode_into_libs=yes 10759 dynamic_linker="$host_os dld.so" 10760 shlibpath_var=LD_LIBRARY_PATH 10761 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10763 soname_spec='${libname}${release}${shared_ext}$major' 10764 if test "X$HPUX_IA64_MODE" = X32; then 10765 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10766 else 10767 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10768 fi 10769 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10770 ;; 10771 hppa*64*) 10772 shrext_cmds='.sl' 10773 hardcode_into_libs=yes 10774 dynamic_linker="$host_os dld.sl" 10775 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10776 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10778 soname_spec='${libname}${release}${shared_ext}$major' 10779 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10780 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10781 ;; 10782 *) 10783 shrext_cmds='.sl' 10784 dynamic_linker="$host_os dld.sl" 10785 shlibpath_var=SHLIB_PATH 10786 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10788 soname_spec='${libname}${release}${shared_ext}$major' 10789 ;; 10790 esac 10791 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10792 postinstall_cmds='chmod 555 $lib' 10793 ;; 10794 10795interix[3-9]*) 10796 version_type=linux 10797 need_lib_prefix=no 10798 need_version=no 10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10800 soname_spec='${libname}${release}${shared_ext}$major' 10801 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10802 shlibpath_var=LD_LIBRARY_PATH 10803 shlibpath_overrides_runpath=no 10804 hardcode_into_libs=yes 10805 ;; 10806 10807irix5* | irix6* | nonstopux*) 10808 case $host_os in 10809 nonstopux*) version_type=nonstopux ;; 10810 *) 10811 if test "$lt_cv_prog_gnu_ld" = yes; then 10812 version_type=linux 10813 else 10814 version_type=irix 10815 fi ;; 10816 esac 10817 need_lib_prefix=no 10818 need_version=no 10819 soname_spec='${libname}${release}${shared_ext}$major' 10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10821 case $host_os in 10822 irix5* | nonstopux*) 10823 libsuff= shlibsuff= 10824 ;; 10825 *) 10826 case $LD in # libtool.m4 will add one of these switches to LD 10827 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10828 libsuff= shlibsuff= libmagic=32-bit;; 10829 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10830 libsuff=32 shlibsuff=N32 libmagic=N32;; 10831 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10832 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10833 *) libsuff= shlibsuff= libmagic=never-match;; 10834 esac 10835 ;; 10836 esac 10837 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10838 shlibpath_overrides_runpath=no 10839 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10840 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10841 hardcode_into_libs=yes 10842 ;; 10843 10844# No shared lib support for Linux oldld, aout, or coff. 10845linux*oldld* | linux*aout* | linux*coff*) 10846 dynamic_linker=no 10847 ;; 10848 10849# This must be Linux ELF. 10850linux* | k*bsd*-gnu) 10851 version_type=linux 10852 need_lib_prefix=no 10853 need_version=no 10854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10855 soname_spec='${libname}${release}${shared_ext}$major' 10856 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10857 shlibpath_var=LD_LIBRARY_PATH 10858 shlibpath_overrides_runpath=no 10859 # Some binutils ld are patched to set DT_RUNPATH 10860 save_LDFLAGS=$LDFLAGS 10861 save_libdir=$libdir 10862 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10863 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10864 cat >conftest.$ac_ext <<_ACEOF 10865/* confdefs.h. */ 10866_ACEOF 10867cat confdefs.h >>conftest.$ac_ext 10868cat >>conftest.$ac_ext <<_ACEOF 10869/* end confdefs.h. */ 10870 10871int 10872main () 10873{ 10874 10875 ; 10876 return 0; 10877} 10878_ACEOF 10879rm -f conftest.$ac_objext conftest$ac_exeext 10880if { (ac_try="$ac_link" 10881case "(($ac_try" in 10882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10883 *) ac_try_echo=$ac_try;; 10884esac 10885eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10886 (eval "$ac_link") 2>conftest.er1 10887 ac_status=$? 10888 grep -v '^ *+' conftest.er1 >conftest.err 10889 rm -f conftest.er1 10890 cat conftest.err >&5 10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10892 (exit $ac_status); } && { 10893 test -z "$ac_c_werror_flag" || 10894 test ! -s conftest.err 10895 } && test -s conftest$ac_exeext && 10896 $as_test_x conftest$ac_exeext; then 10897 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10898 shlibpath_overrides_runpath=yes 10899fi 10900 10901else 10902 echo "$as_me: failed program was:" >&5 10903sed 's/^/| /' conftest.$ac_ext >&5 10904 10905 10906fi 10907 10908rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10909 conftest$ac_exeext conftest.$ac_ext 10910 LDFLAGS=$save_LDFLAGS 10911 libdir=$save_libdir 10912 10913 # This implies no fast_install, which is unacceptable. 10914 # Some rework will be needed to allow for fast_install 10915 # before this can be enabled. 10916 hardcode_into_libs=yes 10917 10918 # Append ld.so.conf contents to the search path 10919 if test -f /etc/ld.so.conf; then 10920 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' ' '` 10921 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10922 fi 10923 10924 # We used to test for /lib/ld.so.1 and disable shared libraries on 10925 # powerpc, because MkLinux only supported shared libraries with the 10926 # GNU dynamic linker. Since this was broken with cross compilers, 10927 # most powerpc-linux boxes support dynamic linking these days and 10928 # people can always --disable-shared, the test was removed, and we 10929 # assume the GNU/Linux dynamic linker is in use. 10930 dynamic_linker='GNU/Linux ld.so' 10931 ;; 10932 10933netbsdelf*-gnu) 10934 version_type=linux 10935 need_lib_prefix=no 10936 need_version=no 10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10938 soname_spec='${libname}${release}${shared_ext}$major' 10939 shlibpath_var=LD_LIBRARY_PATH 10940 shlibpath_overrides_runpath=no 10941 hardcode_into_libs=yes 10942 dynamic_linker='NetBSD ld.elf_so' 10943 ;; 10944 10945netbsd*) 10946 version_type=sunos 10947 need_lib_prefix=no 10948 need_version=no 10949 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10951 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10952 dynamic_linker='NetBSD (a.out) ld.so' 10953 else 10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10955 soname_spec='${libname}${release}${shared_ext}$major' 10956 dynamic_linker='NetBSD ld.elf_so' 10957 fi 10958 shlibpath_var=LD_LIBRARY_PATH 10959 shlibpath_overrides_runpath=yes 10960 hardcode_into_libs=yes 10961 ;; 10962 10963newsos6) 10964 version_type=linux 10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10966 shlibpath_var=LD_LIBRARY_PATH 10967 shlibpath_overrides_runpath=yes 10968 ;; 10969 10970*nto* | *qnx*) 10971 version_type=qnx 10972 need_lib_prefix=no 10973 need_version=no 10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10975 soname_spec='${libname}${release}${shared_ext}$major' 10976 shlibpath_var=LD_LIBRARY_PATH 10977 shlibpath_overrides_runpath=no 10978 hardcode_into_libs=yes 10979 dynamic_linker='ldqnx.so' 10980 ;; 10981 10982openbsd*) 10983 version_type=sunos 10984 sys_lib_dlsearch_path_spec="/usr/lib" 10985 need_lib_prefix=no 10986 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10987 case $host_os in 10988 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10989 *) need_version=no ;; 10990 esac 10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10992 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10993 shlibpath_var=LD_LIBRARY_PATH 10994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10995 case $host_os in 10996 openbsd2.[89] | openbsd2.[89].*) 10997 shlibpath_overrides_runpath=no 10998 ;; 10999 *) 11000 shlibpath_overrides_runpath=yes 11001 ;; 11002 esac 11003 else 11004 shlibpath_overrides_runpath=yes 11005 fi 11006 ;; 11007 11008os2*) 11009 libname_spec='$name' 11010 shrext_cmds=".dll" 11011 need_lib_prefix=no 11012 library_names_spec='$libname${shared_ext} $libname.a' 11013 dynamic_linker='OS/2 ld.exe' 11014 shlibpath_var=LIBPATH 11015 ;; 11016 11017osf3* | osf4* | osf5*) 11018 version_type=osf 11019 need_lib_prefix=no 11020 need_version=no 11021 soname_spec='${libname}${release}${shared_ext}$major' 11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11023 shlibpath_var=LD_LIBRARY_PATH 11024 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11025 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11026 ;; 11027 11028rdos*) 11029 dynamic_linker=no 11030 ;; 11031 11032solaris*) 11033 version_type=linux 11034 need_lib_prefix=no 11035 need_version=no 11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11037 soname_spec='${libname}${release}${shared_ext}$major' 11038 shlibpath_var=LD_LIBRARY_PATH 11039 shlibpath_overrides_runpath=yes 11040 hardcode_into_libs=yes 11041 # ldd complains unless libraries are executable 11042 postinstall_cmds='chmod +x $lib' 11043 ;; 11044 11045sunos4*) 11046 version_type=sunos 11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11048 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11049 shlibpath_var=LD_LIBRARY_PATH 11050 shlibpath_overrides_runpath=yes 11051 if test "$with_gnu_ld" = yes; then 11052 need_lib_prefix=no 11053 fi 11054 need_version=yes 11055 ;; 11056 11057sysv4 | sysv4.3*) 11058 version_type=linux 11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11060 soname_spec='${libname}${release}${shared_ext}$major' 11061 shlibpath_var=LD_LIBRARY_PATH 11062 case $host_vendor in 11063 sni) 11064 shlibpath_overrides_runpath=no 11065 need_lib_prefix=no 11066 runpath_var=LD_RUN_PATH 11067 ;; 11068 siemens) 11069 need_lib_prefix=no 11070 ;; 11071 motorola) 11072 need_lib_prefix=no 11073 need_version=no 11074 shlibpath_overrides_runpath=no 11075 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11076 ;; 11077 esac 11078 ;; 11079 11080sysv4*MP*) 11081 if test -d /usr/nec ;then 11082 version_type=linux 11083 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11084 soname_spec='$libname${shared_ext}.$major' 11085 shlibpath_var=LD_LIBRARY_PATH 11086 fi 11087 ;; 11088 11089sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11090 version_type=freebsd-elf 11091 need_lib_prefix=no 11092 need_version=no 11093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11094 soname_spec='${libname}${release}${shared_ext}$major' 11095 shlibpath_var=LD_LIBRARY_PATH 11096 shlibpath_overrides_runpath=yes 11097 hardcode_into_libs=yes 11098 if test "$with_gnu_ld" = yes; then 11099 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11100 else 11101 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11102 case $host_os in 11103 sco3.2v5*) 11104 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11105 ;; 11106 esac 11107 fi 11108 sys_lib_dlsearch_path_spec='/usr/lib' 11109 ;; 11110 11111tpf*) 11112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11113 version_type=linux 11114 need_lib_prefix=no 11115 need_version=no 11116 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11117 shlibpath_var=LD_LIBRARY_PATH 11118 shlibpath_overrides_runpath=no 11119 hardcode_into_libs=yes 11120 ;; 11121 11122uts4*) 11123 version_type=linux 11124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11125 soname_spec='${libname}${release}${shared_ext}$major' 11126 shlibpath_var=LD_LIBRARY_PATH 11127 ;; 11128 11129*) 11130 dynamic_linker=no 11131 ;; 11132esac 11133{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 11134echo "${ECHO_T}$dynamic_linker" >&6; } 11135test "$dynamic_linker" = no && can_build_shared=no 11136 11137variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11138if test "$GCC" = yes; then 11139 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11140fi 11141 11142if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11143 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11144fi 11145if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11146 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11147fi 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11236echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 11237hardcode_action= 11238if test -n "$hardcode_libdir_flag_spec" || 11239 test -n "$runpath_var" || 11240 test "X$hardcode_automatic" = "Xyes" ; then 11241 11242 # We can hardcode non-existent directories. 11243 if test "$hardcode_direct" != no && 11244 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11245 # have to relink, otherwise we might link with an installed library 11246 # when we should be linking with a yet-to-be-installed one 11247 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11248 test "$hardcode_minus_L" != no; then 11249 # Linking always hardcodes the temporary library directory. 11250 hardcode_action=relink 11251 else 11252 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11253 hardcode_action=immediate 11254 fi 11255else 11256 # We cannot hardcode anything, or else we can only hardcode existing 11257 # directories. 11258 hardcode_action=unsupported 11259fi 11260{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 11261echo "${ECHO_T}$hardcode_action" >&6; } 11262 11263if test "$hardcode_action" = relink || 11264 test "$inherit_rpath" = yes; then 11265 # Fast installation is not supported 11266 enable_fast_install=no 11267elif test "$shlibpath_overrides_runpath" = yes || 11268 test "$enable_shared" = no; then 11269 # Fast installation is not necessary 11270 enable_fast_install=needless 11271fi 11272 11273 11274 11275 11276 11277 11278 if test "x$enable_dlopen" != xyes; then 11279 enable_dlopen=unknown 11280 enable_dlopen_self=unknown 11281 enable_dlopen_self_static=unknown 11282else 11283 lt_cv_dlopen=no 11284 lt_cv_dlopen_libs= 11285 11286 case $host_os in 11287 beos*) 11288 lt_cv_dlopen="load_add_on" 11289 lt_cv_dlopen_libs= 11290 lt_cv_dlopen_self=yes 11291 ;; 11292 11293 mingw* | pw32*) 11294 lt_cv_dlopen="LoadLibrary" 11295 lt_cv_dlopen_libs= 11296 ;; 11297 11298 cygwin*) 11299 lt_cv_dlopen="dlopen" 11300 lt_cv_dlopen_libs= 11301 ;; 11302 11303 darwin*) 11304 # if libdl is installed we need to link against it 11305 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11306echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 11307if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11308 echo $ECHO_N "(cached) $ECHO_C" >&6 11309else 11310 ac_check_lib_save_LIBS=$LIBS 11311LIBS="-ldl $LIBS" 11312cat >conftest.$ac_ext <<_ACEOF 11313/* confdefs.h. */ 11314_ACEOF 11315cat confdefs.h >>conftest.$ac_ext 11316cat >>conftest.$ac_ext <<_ACEOF 11317/* end confdefs.h. */ 11318 11319/* Override any GCC internal prototype to avoid an error. 11320 Use char because int might match the return type of a GCC 11321 builtin and then its argument prototype would still apply. */ 11322#ifdef __cplusplus 11323extern "C" 11324#endif 11325char dlopen (); 11326int 11327main () 11328{ 11329return dlopen (); 11330 ; 11331 return 0; 11332} 11333_ACEOF 11334rm -f conftest.$ac_objext conftest$ac_exeext 11335if { (ac_try="$ac_link" 11336case "(($ac_try" in 11337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11338 *) ac_try_echo=$ac_try;; 11339esac 11340eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11341 (eval "$ac_link") 2>conftest.er1 11342 ac_status=$? 11343 grep -v '^ *+' conftest.er1 >conftest.err 11344 rm -f conftest.er1 11345 cat conftest.err >&5 11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11347 (exit $ac_status); } && { 11348 test -z "$ac_c_werror_flag" || 11349 test ! -s conftest.err 11350 } && test -s conftest$ac_exeext && 11351 $as_test_x conftest$ac_exeext; then 11352 ac_cv_lib_dl_dlopen=yes 11353else 11354 echo "$as_me: failed program was:" >&5 11355sed 's/^/| /' conftest.$ac_ext >&5 11356 11357 ac_cv_lib_dl_dlopen=no 11358fi 11359 11360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11361 conftest$ac_exeext conftest.$ac_ext 11362LIBS=$ac_check_lib_save_LIBS 11363fi 11364{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11365echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 11366if test $ac_cv_lib_dl_dlopen = yes; then 11367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11368else 11369 11370 lt_cv_dlopen="dyld" 11371 lt_cv_dlopen_libs= 11372 lt_cv_dlopen_self=yes 11373 11374fi 11375 11376 ;; 11377 11378 *) 11379 { echo "$as_me:$LINENO: checking for shl_load" >&5 11380echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } 11381if test "${ac_cv_func_shl_load+set}" = set; then 11382 echo $ECHO_N "(cached) $ECHO_C" >&6 11383else 11384 cat >conftest.$ac_ext <<_ACEOF 11385/* confdefs.h. */ 11386_ACEOF 11387cat confdefs.h >>conftest.$ac_ext 11388cat >>conftest.$ac_ext <<_ACEOF 11389/* end confdefs.h. */ 11390/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 11391 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11392#define shl_load innocuous_shl_load 11393 11394/* System header to define __stub macros and hopefully few prototypes, 11395 which can conflict with char shl_load (); below. 11396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11397 <limits.h> exists even on freestanding compilers. */ 11398 11399#ifdef __STDC__ 11400# include <limits.h> 11401#else 11402# include <assert.h> 11403#endif 11404 11405#undef shl_load 11406 11407/* Override any GCC internal prototype to avoid an error. 11408 Use char because int might match the return type of a GCC 11409 builtin and then its argument prototype would still apply. */ 11410#ifdef __cplusplus 11411extern "C" 11412#endif 11413char shl_load (); 11414/* The GNU C library defines this for functions which it implements 11415 to always fail with ENOSYS. Some functions are actually named 11416 something starting with __ and the normal name is an alias. */ 11417#if defined __stub_shl_load || defined __stub___shl_load 11418choke me 11419#endif 11420 11421int 11422main () 11423{ 11424return shl_load (); 11425 ; 11426 return 0; 11427} 11428_ACEOF 11429rm -f conftest.$ac_objext conftest$ac_exeext 11430if { (ac_try="$ac_link" 11431case "(($ac_try" in 11432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11433 *) ac_try_echo=$ac_try;; 11434esac 11435eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11436 (eval "$ac_link") 2>conftest.er1 11437 ac_status=$? 11438 grep -v '^ *+' conftest.er1 >conftest.err 11439 rm -f conftest.er1 11440 cat conftest.err >&5 11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11442 (exit $ac_status); } && { 11443 test -z "$ac_c_werror_flag" || 11444 test ! -s conftest.err 11445 } && test -s conftest$ac_exeext && 11446 $as_test_x conftest$ac_exeext; then 11447 ac_cv_func_shl_load=yes 11448else 11449 echo "$as_me: failed program was:" >&5 11450sed 's/^/| /' conftest.$ac_ext >&5 11451 11452 ac_cv_func_shl_load=no 11453fi 11454 11455rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11456 conftest$ac_exeext conftest.$ac_ext 11457fi 11458{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 11459echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } 11460if test $ac_cv_func_shl_load = yes; then 11461 lt_cv_dlopen="shl_load" 11462else 11463 { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 11464echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } 11465if test "${ac_cv_lib_dld_shl_load+set}" = set; then 11466 echo $ECHO_N "(cached) $ECHO_C" >&6 11467else 11468 ac_check_lib_save_LIBS=$LIBS 11469LIBS="-ldld $LIBS" 11470cat >conftest.$ac_ext <<_ACEOF 11471/* confdefs.h. */ 11472_ACEOF 11473cat confdefs.h >>conftest.$ac_ext 11474cat >>conftest.$ac_ext <<_ACEOF 11475/* end confdefs.h. */ 11476 11477/* Override any GCC internal prototype to avoid an error. 11478 Use char because int might match the return type of a GCC 11479 builtin and then its argument prototype would still apply. */ 11480#ifdef __cplusplus 11481extern "C" 11482#endif 11483char shl_load (); 11484int 11485main () 11486{ 11487return shl_load (); 11488 ; 11489 return 0; 11490} 11491_ACEOF 11492rm -f conftest.$ac_objext conftest$ac_exeext 11493if { (ac_try="$ac_link" 11494case "(($ac_try" in 11495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11496 *) ac_try_echo=$ac_try;; 11497esac 11498eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11499 (eval "$ac_link") 2>conftest.er1 11500 ac_status=$? 11501 grep -v '^ *+' conftest.er1 >conftest.err 11502 rm -f conftest.er1 11503 cat conftest.err >&5 11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11505 (exit $ac_status); } && { 11506 test -z "$ac_c_werror_flag" || 11507 test ! -s conftest.err 11508 } && test -s conftest$ac_exeext && 11509 $as_test_x conftest$ac_exeext; then 11510 ac_cv_lib_dld_shl_load=yes 11511else 11512 echo "$as_me: failed program was:" >&5 11513sed 's/^/| /' conftest.$ac_ext >&5 11514 11515 ac_cv_lib_dld_shl_load=no 11516fi 11517 11518rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11519 conftest$ac_exeext conftest.$ac_ext 11520LIBS=$ac_check_lib_save_LIBS 11521fi 11522{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 11523echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } 11524if test $ac_cv_lib_dld_shl_load = yes; then 11525 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11526else 11527 { echo "$as_me:$LINENO: checking for dlopen" >&5 11528echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } 11529if test "${ac_cv_func_dlopen+set}" = set; then 11530 echo $ECHO_N "(cached) $ECHO_C" >&6 11531else 11532 cat >conftest.$ac_ext <<_ACEOF 11533/* confdefs.h. */ 11534_ACEOF 11535cat confdefs.h >>conftest.$ac_ext 11536cat >>conftest.$ac_ext <<_ACEOF 11537/* end confdefs.h. */ 11538/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 11539 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11540#define dlopen innocuous_dlopen 11541 11542/* System header to define __stub macros and hopefully few prototypes, 11543 which can conflict with char dlopen (); below. 11544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11545 <limits.h> exists even on freestanding compilers. */ 11546 11547#ifdef __STDC__ 11548# include <limits.h> 11549#else 11550# include <assert.h> 11551#endif 11552 11553#undef dlopen 11554 11555/* Override any GCC internal prototype to avoid an error. 11556 Use char because int might match the return type of a GCC 11557 builtin and then its argument prototype would still apply. */ 11558#ifdef __cplusplus 11559extern "C" 11560#endif 11561char dlopen (); 11562/* The GNU C library defines this for functions which it implements 11563 to always fail with ENOSYS. Some functions are actually named 11564 something starting with __ and the normal name is an alias. */ 11565#if defined __stub_dlopen || defined __stub___dlopen 11566choke me 11567#endif 11568 11569int 11570main () 11571{ 11572return dlopen (); 11573 ; 11574 return 0; 11575} 11576_ACEOF 11577rm -f conftest.$ac_objext conftest$ac_exeext 11578if { (ac_try="$ac_link" 11579case "(($ac_try" in 11580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11581 *) ac_try_echo=$ac_try;; 11582esac 11583eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11584 (eval "$ac_link") 2>conftest.er1 11585 ac_status=$? 11586 grep -v '^ *+' conftest.er1 >conftest.err 11587 rm -f conftest.er1 11588 cat conftest.err >&5 11589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11590 (exit $ac_status); } && { 11591 test -z "$ac_c_werror_flag" || 11592 test ! -s conftest.err 11593 } && test -s conftest$ac_exeext && 11594 $as_test_x conftest$ac_exeext; then 11595 ac_cv_func_dlopen=yes 11596else 11597 echo "$as_me: failed program was:" >&5 11598sed 's/^/| /' conftest.$ac_ext >&5 11599 11600 ac_cv_func_dlopen=no 11601fi 11602 11603rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11604 conftest$ac_exeext conftest.$ac_ext 11605fi 11606{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 11607echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } 11608if test $ac_cv_func_dlopen = yes; then 11609 lt_cv_dlopen="dlopen" 11610else 11611 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11612echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 11613if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11614 echo $ECHO_N "(cached) $ECHO_C" >&6 11615else 11616 ac_check_lib_save_LIBS=$LIBS 11617LIBS="-ldl $LIBS" 11618cat >conftest.$ac_ext <<_ACEOF 11619/* confdefs.h. */ 11620_ACEOF 11621cat confdefs.h >>conftest.$ac_ext 11622cat >>conftest.$ac_ext <<_ACEOF 11623/* end confdefs.h. */ 11624 11625/* Override any GCC internal prototype to avoid an error. 11626 Use char because int might match the return type of a GCC 11627 builtin and then its argument prototype would still apply. */ 11628#ifdef __cplusplus 11629extern "C" 11630#endif 11631char dlopen (); 11632int 11633main () 11634{ 11635return dlopen (); 11636 ; 11637 return 0; 11638} 11639_ACEOF 11640rm -f conftest.$ac_objext conftest$ac_exeext 11641if { (ac_try="$ac_link" 11642case "(($ac_try" in 11643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11644 *) ac_try_echo=$ac_try;; 11645esac 11646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11647 (eval "$ac_link") 2>conftest.er1 11648 ac_status=$? 11649 grep -v '^ *+' conftest.er1 >conftest.err 11650 rm -f conftest.er1 11651 cat conftest.err >&5 11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11653 (exit $ac_status); } && { 11654 test -z "$ac_c_werror_flag" || 11655 test ! -s conftest.err 11656 } && test -s conftest$ac_exeext && 11657 $as_test_x conftest$ac_exeext; then 11658 ac_cv_lib_dl_dlopen=yes 11659else 11660 echo "$as_me: failed program was:" >&5 11661sed 's/^/| /' conftest.$ac_ext >&5 11662 11663 ac_cv_lib_dl_dlopen=no 11664fi 11665 11666rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11667 conftest$ac_exeext conftest.$ac_ext 11668LIBS=$ac_check_lib_save_LIBS 11669fi 11670{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11671echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 11672if test $ac_cv_lib_dl_dlopen = yes; then 11673 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11674else 11675 { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 11676echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } 11677if test "${ac_cv_lib_svld_dlopen+set}" = set; then 11678 echo $ECHO_N "(cached) $ECHO_C" >&6 11679else 11680 ac_check_lib_save_LIBS=$LIBS 11681LIBS="-lsvld $LIBS" 11682cat >conftest.$ac_ext <<_ACEOF 11683/* confdefs.h. */ 11684_ACEOF 11685cat confdefs.h >>conftest.$ac_ext 11686cat >>conftest.$ac_ext <<_ACEOF 11687/* end confdefs.h. */ 11688 11689/* Override any GCC internal prototype to avoid an error. 11690 Use char because int might match the return type of a GCC 11691 builtin and then its argument prototype would still apply. */ 11692#ifdef __cplusplus 11693extern "C" 11694#endif 11695char dlopen (); 11696int 11697main () 11698{ 11699return dlopen (); 11700 ; 11701 return 0; 11702} 11703_ACEOF 11704rm -f conftest.$ac_objext conftest$ac_exeext 11705if { (ac_try="$ac_link" 11706case "(($ac_try" in 11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11708 *) ac_try_echo=$ac_try;; 11709esac 11710eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11711 (eval "$ac_link") 2>conftest.er1 11712 ac_status=$? 11713 grep -v '^ *+' conftest.er1 >conftest.err 11714 rm -f conftest.er1 11715 cat conftest.err >&5 11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11717 (exit $ac_status); } && { 11718 test -z "$ac_c_werror_flag" || 11719 test ! -s conftest.err 11720 } && test -s conftest$ac_exeext && 11721 $as_test_x conftest$ac_exeext; then 11722 ac_cv_lib_svld_dlopen=yes 11723else 11724 echo "$as_me: failed program was:" >&5 11725sed 's/^/| /' conftest.$ac_ext >&5 11726 11727 ac_cv_lib_svld_dlopen=no 11728fi 11729 11730rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11731 conftest$ac_exeext conftest.$ac_ext 11732LIBS=$ac_check_lib_save_LIBS 11733fi 11734{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11735echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } 11736if test $ac_cv_lib_svld_dlopen = yes; then 11737 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11738else 11739 { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11740echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } 11741if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11742 echo $ECHO_N "(cached) $ECHO_C" >&6 11743else 11744 ac_check_lib_save_LIBS=$LIBS 11745LIBS="-ldld $LIBS" 11746cat >conftest.$ac_ext <<_ACEOF 11747/* confdefs.h. */ 11748_ACEOF 11749cat confdefs.h >>conftest.$ac_ext 11750cat >>conftest.$ac_ext <<_ACEOF 11751/* end confdefs.h. */ 11752 11753/* Override any GCC internal prototype to avoid an error. 11754 Use char because int might match the return type of a GCC 11755 builtin and then its argument prototype would still apply. */ 11756#ifdef __cplusplus 11757extern "C" 11758#endif 11759char dld_link (); 11760int 11761main () 11762{ 11763return dld_link (); 11764 ; 11765 return 0; 11766} 11767_ACEOF 11768rm -f conftest.$ac_objext conftest$ac_exeext 11769if { (ac_try="$ac_link" 11770case "(($ac_try" in 11771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11772 *) ac_try_echo=$ac_try;; 11773esac 11774eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11775 (eval "$ac_link") 2>conftest.er1 11776 ac_status=$? 11777 grep -v '^ *+' conftest.er1 >conftest.err 11778 rm -f conftest.er1 11779 cat conftest.err >&5 11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11781 (exit $ac_status); } && { 11782 test -z "$ac_c_werror_flag" || 11783 test ! -s conftest.err 11784 } && test -s conftest$ac_exeext && 11785 $as_test_x conftest$ac_exeext; then 11786 ac_cv_lib_dld_dld_link=yes 11787else 11788 echo "$as_me: failed program was:" >&5 11789sed 's/^/| /' conftest.$ac_ext >&5 11790 11791 ac_cv_lib_dld_dld_link=no 11792fi 11793 11794rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11795 conftest$ac_exeext conftest.$ac_ext 11796LIBS=$ac_check_lib_save_LIBS 11797fi 11798{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11799echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } 11800if test $ac_cv_lib_dld_dld_link = yes; then 11801 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11802fi 11803 11804 11805fi 11806 11807 11808fi 11809 11810 11811fi 11812 11813 11814fi 11815 11816 11817fi 11818 11819 ;; 11820 esac 11821 11822 if test "x$lt_cv_dlopen" != xno; then 11823 enable_dlopen=yes 11824 else 11825 enable_dlopen=no 11826 fi 11827 11828 case $lt_cv_dlopen in 11829 dlopen) 11830 save_CPPFLAGS="$CPPFLAGS" 11831 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11832 11833 save_LDFLAGS="$LDFLAGS" 11834 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11835 11836 save_LIBS="$LIBS" 11837 LIBS="$lt_cv_dlopen_libs $LIBS" 11838 11839 { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11840echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } 11841if test "${lt_cv_dlopen_self+set}" = set; then 11842 echo $ECHO_N "(cached) $ECHO_C" >&6 11843else 11844 if test "$cross_compiling" = yes; then : 11845 lt_cv_dlopen_self=cross 11846else 11847 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11848 lt_status=$lt_dlunknown 11849 cat > conftest.$ac_ext <<_LT_EOF 11850#line 11850 "configure" 11851#include "confdefs.h" 11852 11853#if HAVE_DLFCN_H 11854#include <dlfcn.h> 11855#endif 11856 11857#include <stdio.h> 11858 11859#ifdef RTLD_GLOBAL 11860# define LT_DLGLOBAL RTLD_GLOBAL 11861#else 11862# ifdef DL_GLOBAL 11863# define LT_DLGLOBAL DL_GLOBAL 11864# else 11865# define LT_DLGLOBAL 0 11866# endif 11867#endif 11868 11869/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11870 find out it does not work in some platform. */ 11871#ifndef LT_DLLAZY_OR_NOW 11872# ifdef RTLD_LAZY 11873# define LT_DLLAZY_OR_NOW RTLD_LAZY 11874# else 11875# ifdef DL_LAZY 11876# define LT_DLLAZY_OR_NOW DL_LAZY 11877# else 11878# ifdef RTLD_NOW 11879# define LT_DLLAZY_OR_NOW RTLD_NOW 11880# else 11881# ifdef DL_NOW 11882# define LT_DLLAZY_OR_NOW DL_NOW 11883# else 11884# define LT_DLLAZY_OR_NOW 0 11885# endif 11886# endif 11887# endif 11888# endif 11889#endif 11890 11891#ifdef __cplusplus 11892extern "C" void exit (int); 11893#endif 11894 11895void fnord() { int i=42;} 11896int main () 11897{ 11898 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11899 int status = $lt_dlunknown; 11900 11901 if (self) 11902 { 11903 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11904 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11905 /* dlclose (self); */ 11906 } 11907 else 11908 puts (dlerror ()); 11909 11910 exit (status); 11911} 11912_LT_EOF 11913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11914 (eval $ac_link) 2>&5 11915 ac_status=$? 11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11917 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11918 (./conftest; exit; ) >&5 2>/dev/null 11919 lt_status=$? 11920 case x$lt_status in 11921 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11922 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11923 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11924 esac 11925 else : 11926 # compilation failed 11927 lt_cv_dlopen_self=no 11928 fi 11929fi 11930rm -fr conftest* 11931 11932 11933fi 11934{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 11935echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } 11936 11937 if test "x$lt_cv_dlopen_self" = xyes; then 11938 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11939 { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 11940echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } 11941if test "${lt_cv_dlopen_self_static+set}" = set; then 11942 echo $ECHO_N "(cached) $ECHO_C" >&6 11943else 11944 if test "$cross_compiling" = yes; then : 11945 lt_cv_dlopen_self_static=cross 11946else 11947 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11948 lt_status=$lt_dlunknown 11949 cat > conftest.$ac_ext <<_LT_EOF 11950#line 11950 "configure" 11951#include "confdefs.h" 11952 11953#if HAVE_DLFCN_H 11954#include <dlfcn.h> 11955#endif 11956 11957#include <stdio.h> 11958 11959#ifdef RTLD_GLOBAL 11960# define LT_DLGLOBAL RTLD_GLOBAL 11961#else 11962# ifdef DL_GLOBAL 11963# define LT_DLGLOBAL DL_GLOBAL 11964# else 11965# define LT_DLGLOBAL 0 11966# endif 11967#endif 11968 11969/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11970 find out it does not work in some platform. */ 11971#ifndef LT_DLLAZY_OR_NOW 11972# ifdef RTLD_LAZY 11973# define LT_DLLAZY_OR_NOW RTLD_LAZY 11974# else 11975# ifdef DL_LAZY 11976# define LT_DLLAZY_OR_NOW DL_LAZY 11977# else 11978# ifdef RTLD_NOW 11979# define LT_DLLAZY_OR_NOW RTLD_NOW 11980# else 11981# ifdef DL_NOW 11982# define LT_DLLAZY_OR_NOW DL_NOW 11983# else 11984# define LT_DLLAZY_OR_NOW 0 11985# endif 11986# endif 11987# endif 11988# endif 11989#endif 11990 11991#ifdef __cplusplus 11992extern "C" void exit (int); 11993#endif 11994 11995void fnord() { int i=42;} 11996int main () 11997{ 11998 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11999 int status = $lt_dlunknown; 12000 12001 if (self) 12002 { 12003 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12004 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12005 /* dlclose (self); */ 12006 } 12007 else 12008 puts (dlerror ()); 12009 12010 exit (status); 12011} 12012_LT_EOF 12013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12014 (eval $ac_link) 2>&5 12015 ac_status=$? 12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12017 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12018 (./conftest; exit; ) >&5 2>/dev/null 12019 lt_status=$? 12020 case x$lt_status in 12021 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12022 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12023 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12024 esac 12025 else : 12026 # compilation failed 12027 lt_cv_dlopen_self_static=no 12028 fi 12029fi 12030rm -fr conftest* 12031 12032 12033fi 12034{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 12035echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } 12036 fi 12037 12038 CPPFLAGS="$save_CPPFLAGS" 12039 LDFLAGS="$save_LDFLAGS" 12040 LIBS="$save_LIBS" 12041 ;; 12042 esac 12043 12044 case $lt_cv_dlopen_self in 12045 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12046 *) enable_dlopen_self=unknown ;; 12047 esac 12048 12049 case $lt_cv_dlopen_self_static in 12050 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12051 *) enable_dlopen_self_static=unknown ;; 12052 esac 12053fi 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071striplib= 12072old_striplib= 12073{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 12074echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } 12075if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12076 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12077 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12078 { echo "$as_me:$LINENO: result: yes" >&5 12079echo "${ECHO_T}yes" >&6; } 12080else 12081# FIXME - insert some real tests, host_os isn't really good enough 12082 case $host_os in 12083 darwin*) 12084 if test -n "$STRIP" ; then 12085 striplib="$STRIP -x" 12086 old_striplib="$STRIP -S" 12087 { echo "$as_me:$LINENO: result: yes" >&5 12088echo "${ECHO_T}yes" >&6; } 12089 else 12090 { echo "$as_me:$LINENO: result: no" >&5 12091echo "${ECHO_T}no" >&6; } 12092 fi 12093 ;; 12094 *) 12095 { echo "$as_me:$LINENO: result: no" >&5 12096echo "${ECHO_T}no" >&6; } 12097 ;; 12098 esac 12099fi 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 # Report which library types will actually be built 12113 { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 12114echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } 12115 { echo "$as_me:$LINENO: result: $can_build_shared" >&5 12116echo "${ECHO_T}$can_build_shared" >&6; } 12117 12118 { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 12119echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } 12120 test "$can_build_shared" = "no" && enable_shared=no 12121 12122 # On AIX, shared libraries and static libraries use the same namespace, and 12123 # are all built from PIC. 12124 case $host_os in 12125 aix3*) 12126 test "$enable_shared" = yes && enable_static=no 12127 if test -n "$RANLIB"; then 12128 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12129 postinstall_cmds='$RANLIB $lib' 12130 fi 12131 ;; 12132 12133 aix[4-9]*) 12134 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12135 test "$enable_shared" = yes && enable_static=no 12136 fi 12137 ;; 12138 esac 12139 { echo "$as_me:$LINENO: result: $enable_shared" >&5 12140echo "${ECHO_T}$enable_shared" >&6; } 12141 12142 { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 12143echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } 12144 # Make sure either enable_shared or enable_static is yes. 12145 test "$enable_shared" = yes || enable_static=yes 12146 { echo "$as_me:$LINENO: result: $enable_static" >&5 12147echo "${ECHO_T}$enable_static" >&6; } 12148 12149 12150 12151 12152fi 12153ac_ext=cpp 12154ac_cpp='$CXXCPP $CPPFLAGS' 12155ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12156ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12157ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12158 12159CC="$lt_save_CC" 12160 12161 12162ac_ext=cpp 12163ac_cpp='$CXXCPP $CPPFLAGS' 12164ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12165ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12166ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 12167 12168archive_cmds_need_lc_CXX=no 12169allow_undefined_flag_CXX= 12170always_export_symbols_CXX=no 12171archive_expsym_cmds_CXX= 12172compiler_needs_object_CXX=no 12173export_dynamic_flag_spec_CXX= 12174hardcode_direct_CXX=no 12175hardcode_direct_absolute_CXX=no 12176hardcode_libdir_flag_spec_CXX= 12177hardcode_libdir_flag_spec_ld_CXX= 12178hardcode_libdir_separator_CXX= 12179hardcode_minus_L_CXX=no 12180hardcode_shlibpath_var_CXX=unsupported 12181hardcode_automatic_CXX=no 12182inherit_rpath_CXX=no 12183module_cmds_CXX= 12184module_expsym_cmds_CXX= 12185link_all_deplibs_CXX=unknown 12186old_archive_cmds_CXX=$old_archive_cmds 12187no_undefined_flag_CXX= 12188whole_archive_flag_spec_CXX= 12189enable_shared_with_static_runtimes_CXX=no 12190 12191# Source file extension for C++ test sources. 12192ac_ext=cpp 12193 12194# Object file extension for compiled C++ test sources. 12195objext=o 12196objext_CXX=$objext 12197 12198# No sense in running all these tests if we already determined that 12199# the CXX compiler isn't working. Some variables (like enable_shared) 12200# are currently assumed to apply to all compilers on this platform, 12201# and will be corrupted by setting them based on a non-working compiler. 12202if test "$_lt_caught_CXX_error" != yes; then 12203 # Code to be used in simple compile tests 12204 lt_simple_compile_test_code="int some_variable = 0;" 12205 12206 # Code to be used in simple link tests 12207 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 12208 12209 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 12210 12211 12212 12213 12214 12215 12216# If no C compiler was specified, use CC. 12217LTCC=${LTCC-"$CC"} 12218 12219# If no C compiler flags were specified, use CFLAGS. 12220LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 12221 12222# Allow CC to be a program name with arguments. 12223compiler=$CC 12224 12225 12226 # save warnings/boilerplate of simple test code 12227 ac_outfile=conftest.$ac_objext 12228echo "$lt_simple_compile_test_code" >conftest.$ac_ext 12229eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12230_lt_compiler_boilerplate=`cat conftest.err` 12231$RM conftest* 12232 12233 ac_outfile=conftest.$ac_objext 12234echo "$lt_simple_link_test_code" >conftest.$ac_ext 12235eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 12236_lt_linker_boilerplate=`cat conftest.err` 12237$RM -r conftest* 12238 12239 12240 # Allow CC to be a program name with arguments. 12241 lt_save_CC=$CC 12242 lt_save_LD=$LD 12243 lt_save_GCC=$GCC 12244 GCC=$GXX 12245 lt_save_with_gnu_ld=$with_gnu_ld 12246 lt_save_path_LD=$lt_cv_path_LD 12247 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 12248 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 12249 else 12250 $as_unset lt_cv_prog_gnu_ld 12251 fi 12252 if test -n "${lt_cv_path_LDCXX+set}"; then 12253 lt_cv_path_LD=$lt_cv_path_LDCXX 12254 else 12255 $as_unset lt_cv_path_LD 12256 fi 12257 test -z "${LDCXX+set}" || LD=$LDCXX 12258 CC=${CXX-"c++"} 12259 compiler=$CC 12260 compiler_CXX=$CC 12261 for cc_temp in $compiler""; do 12262 case $cc_temp in 12263 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 12264 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 12265 \-*) ;; 12266 *) break;; 12267 esac 12268done 12269cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 12270 12271 12272 if test -n "$compiler"; then 12273 # We don't want -fno-exception when compiling C++ code, so set the 12274 # no_builtin_flag separately 12275 if test "$GXX" = yes; then 12276 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 12277 else 12278 lt_prog_compiler_no_builtin_flag_CXX= 12279 fi 12280 12281 if test "$GXX" = yes; then 12282 # Set up default GNU C++ configuration 12283 12284 12285 12286# Check whether --with-gnu-ld was given. 12287if test "${with_gnu_ld+set}" = set; then 12288 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 12289else 12290 with_gnu_ld=no 12291fi 12292 12293ac_prog=ld 12294if test "$GCC" = yes; then 12295 # Check if gcc -print-prog-name=ld gives a path. 12296 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 12297echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } 12298 case $host in 12299 *-*-mingw*) 12300 # gcc leaves a trailing carriage return which upsets mingw 12301 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 12302 *) 12303 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 12304 esac 12305 case $ac_prog in 12306 # Accept absolute paths. 12307 [\\/]* | ?:[\\/]*) 12308 re_direlt='/[^/][^/]*/\.\./' 12309 # Canonicalize the pathname of ld 12310 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 12311 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 12312 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 12313 done 12314 test -z "$LD" && LD="$ac_prog" 12315 ;; 12316 "") 12317 # If it fails, then pretend we aren't using GCC. 12318 ac_prog=ld 12319 ;; 12320 *) 12321 # If it is relative, then search for the first ld in PATH. 12322 with_gnu_ld=unknown 12323 ;; 12324 esac 12325elif test "$with_gnu_ld" = yes; then 12326 { echo "$as_me:$LINENO: checking for GNU ld" >&5 12327echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } 12328else 12329 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 12330echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } 12331fi 12332if test "${lt_cv_path_LD+set}" = set; then 12333 echo $ECHO_N "(cached) $ECHO_C" >&6 12334else 12335 if test -z "$LD"; then 12336 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 12337 for ac_dir in $PATH; do 12338 IFS="$lt_save_ifs" 12339 test -z "$ac_dir" && ac_dir=. 12340 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 12341 lt_cv_path_LD="$ac_dir/$ac_prog" 12342 # Check to see if the program is GNU ld. I'd rather use --version, 12343 # but apparently some variants of GNU ld only accept -v. 12344 # Break only if it was the GNU/non-GNU ld that we prefer. 12345 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 12346 *GNU* | *'with BFD'*) 12347 test "$with_gnu_ld" != no && break 12348 ;; 12349 *) 12350 test "$with_gnu_ld" != yes && break 12351 ;; 12352 esac 12353 fi 12354 done 12355 IFS="$lt_save_ifs" 12356else 12357 lt_cv_path_LD="$LD" # Let the user override the test with a path. 12358fi 12359fi 12360 12361LD="$lt_cv_path_LD" 12362if test -n "$LD"; then 12363 { echo "$as_me:$LINENO: result: $LD" >&5 12364echo "${ECHO_T}$LD" >&6; } 12365else 12366 { echo "$as_me:$LINENO: result: no" >&5 12367echo "${ECHO_T}no" >&6; } 12368fi 12369test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 12370echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 12371 { (exit 1); exit 1; }; } 12372{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 12373echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } 12374if test "${lt_cv_prog_gnu_ld+set}" = set; then 12375 echo $ECHO_N "(cached) $ECHO_C" >&6 12376else 12377 # I'd rather use --version here, but apparently some GNU lds only accept -v. 12378case `$LD -v 2>&1 </dev/null` in 12379*GNU* | *'with BFD'*) 12380 lt_cv_prog_gnu_ld=yes 12381 ;; 12382*) 12383 lt_cv_prog_gnu_ld=no 12384 ;; 12385esac 12386fi 12387{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 12388echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } 12389with_gnu_ld=$lt_cv_prog_gnu_ld 12390 12391 12392 12393 12394 12395 12396 12397 # Check if GNU C++ uses GNU ld as the underlying linker, since the 12398 # archiving commands below assume that GNU ld is being used. 12399 if test "$with_gnu_ld" = yes; then 12400 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12401 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' 12402 12403 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12404 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12405 12406 # If archive_cmds runs LD, not CC, wlarc should be empty 12407 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 12408 # investigate it a little bit more. (MM) 12409 wlarc='${wl}' 12410 12411 # ancient GNU ld didn't support --whole-archive et. al. 12412 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 12413 $GREP 'no-whole-archive' > /dev/null; then 12414 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 12415 else 12416 whole_archive_flag_spec_CXX= 12417 fi 12418 else 12419 with_gnu_ld=no 12420 wlarc= 12421 12422 # A generic and very simple default shared library creation 12423 # command for GNU C++ for the case where it uses the native 12424 # linker, instead of GNU ld. If possible, this setting should 12425 # overridden to take advantage of the native linker features on 12426 # the platform it is being used on. 12427 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 12428 fi 12429 12430 # Commands to make compiler produce verbose output that lists 12431 # what "hidden" libraries, object files and flags are used when 12432 # linking a shared library. 12433 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 12434 12435 else 12436 GXX=no 12437 with_gnu_ld=no 12438 wlarc= 12439 fi 12440 12441 # PORTME: fill in a description of your system's C++ link characteristics 12442 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 12443echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 12444 ld_shlibs_CXX=yes 12445 case $host_os in 12446 aix3*) 12447 # FIXME: insert proper C++ library support 12448 ld_shlibs_CXX=no 12449 ;; 12450 aix[4-9]*) 12451 if test "$host_cpu" = ia64; then 12452 # On IA64, the linker does run time linking by default, so we don't 12453 # have to do anything special. 12454 aix_use_runtimelinking=no 12455 exp_sym_flag='-Bexport' 12456 no_entry_flag="" 12457 else 12458 aix_use_runtimelinking=no 12459 12460 # Test if we are trying to use run time linking or normal 12461 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 12462 # need to do runtime linking. 12463 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 12464 for ld_flag in $LDFLAGS; do 12465 case $ld_flag in 12466 *-brtl*) 12467 aix_use_runtimelinking=yes 12468 break 12469 ;; 12470 esac 12471 done 12472 ;; 12473 esac 12474 12475 exp_sym_flag='-bexport' 12476 no_entry_flag='-bnoentry' 12477 fi 12478 12479 # When large executables or shared objects are built, AIX ld can 12480 # have problems creating the table of contents. If linking a library 12481 # or program results in "error TOC overflow" add -mminimal-toc to 12482 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 12483 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 12484 12485 archive_cmds_CXX='' 12486 hardcode_direct_CXX=yes 12487 hardcode_direct_absolute_CXX=yes 12488 hardcode_libdir_separator_CXX=':' 12489 link_all_deplibs_CXX=yes 12490 file_list_spec_CXX='${wl}-f,' 12491 12492 if test "$GXX" = yes; then 12493 case $host_os in aix4.[012]|aix4.[012].*) 12494 # We only want to do this on AIX 4.2 and lower, the check 12495 # below for broken collect2 doesn't work under 4.3+ 12496 collect2name=`${CC} -print-prog-name=collect2` 12497 if test -f "$collect2name" && 12498 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 12499 then 12500 # We have reworked collect2 12501 : 12502 else 12503 # We have old collect2 12504 hardcode_direct_CXX=unsupported 12505 # It fails to find uninstalled libraries when the uninstalled 12506 # path is not listed in the libpath. Setting hardcode_minus_L 12507 # to unsupported forces relinking 12508 hardcode_minus_L_CXX=yes 12509 hardcode_libdir_flag_spec_CXX='-L$libdir' 12510 hardcode_libdir_separator_CXX= 12511 fi 12512 esac 12513 shared_flag='-shared' 12514 if test "$aix_use_runtimelinking" = yes; then 12515 shared_flag="$shared_flag "'${wl}-G' 12516 fi 12517 else 12518 # not using gcc 12519 if test "$host_cpu" = ia64; then 12520 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 12521 # chokes on -Wl,-G. The following line is correct: 12522 shared_flag='-G' 12523 else 12524 if test "$aix_use_runtimelinking" = yes; then 12525 shared_flag='${wl}-G' 12526 else 12527 shared_flag='${wl}-bM:SRE' 12528 fi 12529 fi 12530 fi 12531 12532 # It seems that -bexpall does not export symbols beginning with 12533 # underscore (_), so it is better to generate a list of symbols to 12534 # export. 12535 always_export_symbols_CXX=yes 12536 if test "$aix_use_runtimelinking" = yes; then 12537 # Warning - without using the other runtime loading flags (-brtl), 12538 # -berok will link without error, but may produce a broken library. 12539 allow_undefined_flag_CXX='-berok' 12540 # Determine the default libpath from the value encoded in an empty 12541 # executable. 12542 cat >conftest.$ac_ext <<_ACEOF 12543/* confdefs.h. */ 12544_ACEOF 12545cat confdefs.h >>conftest.$ac_ext 12546cat >>conftest.$ac_ext <<_ACEOF 12547/* end confdefs.h. */ 12548 12549int 12550main () 12551{ 12552 12553 ; 12554 return 0; 12555} 12556_ACEOF 12557rm -f conftest.$ac_objext conftest$ac_exeext 12558if { (ac_try="$ac_link" 12559case "(($ac_try" in 12560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12561 *) ac_try_echo=$ac_try;; 12562esac 12563eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12564 (eval "$ac_link") 2>conftest.er1 12565 ac_status=$? 12566 grep -v '^ *+' conftest.er1 >conftest.err 12567 rm -f conftest.er1 12568 cat conftest.err >&5 12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12570 (exit $ac_status); } && { 12571 test -z "$ac_cxx_werror_flag" || 12572 test ! -s conftest.err 12573 } && test -s conftest$ac_exeext && 12574 $as_test_x conftest$ac_exeext; then 12575 12576lt_aix_libpath_sed=' 12577 /Import File Strings/,/^$/ { 12578 /^0/ { 12579 s/^0 *\(.*\)$/\1/ 12580 p 12581 } 12582 }' 12583aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12584# Check for a 64-bit object if we didn't find anything. 12585if test -z "$aix_libpath"; then 12586 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12587fi 12588else 12589 echo "$as_me: failed program was:" >&5 12590sed 's/^/| /' conftest.$ac_ext >&5 12591 12592 12593fi 12594 12595rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12596 conftest$ac_exeext conftest.$ac_ext 12597if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12598 12599 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12600 12601 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" 12602 else 12603 if test "$host_cpu" = ia64; then 12604 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' 12605 allow_undefined_flag_CXX="-z nodefs" 12606 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" 12607 else 12608 # Determine the default libpath from the value encoded in an 12609 # empty executable. 12610 cat >conftest.$ac_ext <<_ACEOF 12611/* confdefs.h. */ 12612_ACEOF 12613cat confdefs.h >>conftest.$ac_ext 12614cat >>conftest.$ac_ext <<_ACEOF 12615/* end confdefs.h. */ 12616 12617int 12618main () 12619{ 12620 12621 ; 12622 return 0; 12623} 12624_ACEOF 12625rm -f conftest.$ac_objext conftest$ac_exeext 12626if { (ac_try="$ac_link" 12627case "(($ac_try" in 12628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12629 *) ac_try_echo=$ac_try;; 12630esac 12631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12632 (eval "$ac_link") 2>conftest.er1 12633 ac_status=$? 12634 grep -v '^ *+' conftest.er1 >conftest.err 12635 rm -f conftest.er1 12636 cat conftest.err >&5 12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12638 (exit $ac_status); } && { 12639 test -z "$ac_cxx_werror_flag" || 12640 test ! -s conftest.err 12641 } && test -s conftest$ac_exeext && 12642 $as_test_x conftest$ac_exeext; then 12643 12644lt_aix_libpath_sed=' 12645 /Import File Strings/,/^$/ { 12646 /^0/ { 12647 s/^0 *\(.*\)$/\1/ 12648 p 12649 } 12650 }' 12651aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12652# Check for a 64-bit object if we didn't find anything. 12653if test -z "$aix_libpath"; then 12654 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 12655fi 12656else 12657 echo "$as_me: failed program was:" >&5 12658sed 's/^/| /' conftest.$ac_ext >&5 12659 12660 12661fi 12662 12663rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12664 conftest$ac_exeext conftest.$ac_ext 12665if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 12666 12667 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" 12668 # Warning - without using the other run time loading flags, 12669 # -berok will link without error, but may produce a broken library. 12670 no_undefined_flag_CXX=' ${wl}-bernotok' 12671 allow_undefined_flag_CXX=' ${wl}-berok' 12672 # Exported symbols can be pulled into shared objects from archives 12673 whole_archive_flag_spec_CXX='$convenience' 12674 archive_cmds_need_lc_CXX=yes 12675 # This is similar to how AIX traditionally builds its shared 12676 # libraries. 12677 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' 12678 fi 12679 fi 12680 ;; 12681 12682 beos*) 12683 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 12684 allow_undefined_flag_CXX=unsupported 12685 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 12686 # support --undefined. This deserves some investigation. FIXME 12687 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12688 else 12689 ld_shlibs_CXX=no 12690 fi 12691 ;; 12692 12693 chorus*) 12694 case $cc_basename in 12695 *) 12696 # FIXME: insert proper C++ library support 12697 ld_shlibs_CXX=no 12698 ;; 12699 esac 12700 ;; 12701 12702 cygwin* | mingw* | pw32*) 12703 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 12704 # as there is no search path for DLLs. 12705 hardcode_libdir_flag_spec_CXX='-L$libdir' 12706 allow_undefined_flag_CXX=unsupported 12707 always_export_symbols_CXX=no 12708 enable_shared_with_static_runtimes_CXX=yes 12709 12710 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 12711 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' 12712 # If the export-symbols file already is a .def file (1st line 12713 # is EXPORTS), use it as is; otherwise, prepend... 12714 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 12715 cp $export_symbols $output_objdir/$soname.def; 12716 else 12717 echo EXPORTS > $output_objdir/$soname.def; 12718 cat $export_symbols >> $output_objdir/$soname.def; 12719 fi~ 12720 $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' 12721 else 12722 ld_shlibs_CXX=no 12723 fi 12724 ;; 12725 darwin* | rhapsody*) 12726 12727 12728 archive_cmds_need_lc_CXX=no 12729 hardcode_direct_CXX=no 12730 hardcode_automatic_CXX=yes 12731 hardcode_shlibpath_var_CXX=unsupported 12732 whole_archive_flag_spec_CXX='' 12733 link_all_deplibs_CXX=yes 12734 allow_undefined_flag_CXX="$_lt_dar_allow_undefined" 12735 if test "$GCC" = "yes"; then 12736 output_verbose_link_cmd=echo 12737 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}" 12738 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 12739 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}" 12740 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}" 12741 if test "$lt_cv_apple_cc_single_mod" != "yes"; then 12742 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}" 12743 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}" 12744 fi 12745 12746 else 12747 ld_shlibs_CXX=no 12748 fi 12749 12750 ;; 12751 12752 dgux*) 12753 case $cc_basename in 12754 ec++*) 12755 # FIXME: insert proper C++ library support 12756 ld_shlibs_CXX=no 12757 ;; 12758 ghcx*) 12759 # Green Hills C++ Compiler 12760 # FIXME: insert proper C++ library support 12761 ld_shlibs_CXX=no 12762 ;; 12763 *) 12764 # FIXME: insert proper C++ library support 12765 ld_shlibs_CXX=no 12766 ;; 12767 esac 12768 ;; 12769 12770 freebsd[12]*) 12771 # C++ shared libraries reported to be fairly broken before 12772 # switch to ELF 12773 ld_shlibs_CXX=no 12774 ;; 12775 12776 freebsd-elf*) 12777 archive_cmds_need_lc_CXX=no 12778 ;; 12779 12780 freebsd* | dragonfly*) 12781 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 12782 # conventions 12783 ld_shlibs_CXX=yes 12784 ;; 12785 12786 gnu*) 12787 ;; 12788 12789 hpux9*) 12790 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12791 hardcode_libdir_separator_CXX=: 12792 export_dynamic_flag_spec_CXX='${wl}-E' 12793 hardcode_direct_CXX=yes 12794 hardcode_minus_L_CXX=yes # Not in the search PATH, 12795 # but as the default 12796 # location of the library. 12797 12798 case $cc_basename in 12799 CC*) 12800 # FIXME: insert proper C++ library support 12801 ld_shlibs_CXX=no 12802 ;; 12803 aCC*) 12804 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' 12805 # Commands to make compiler produce verbose output that lists 12806 # what "hidden" libraries, object files and flags are used when 12807 # linking a shared library. 12808 # 12809 # There doesn't appear to be a way to prevent this compiler from 12810 # explicitly linking system object files so we need to strip them 12811 # from the output so that they don't get included in the library 12812 # dependencies. 12813 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' 12814 ;; 12815 *) 12816 if test "$GXX" = yes; then 12817 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' 12818 else 12819 # FIXME: insert proper C++ library support 12820 ld_shlibs_CXX=no 12821 fi 12822 ;; 12823 esac 12824 ;; 12825 12826 hpux10*|hpux11*) 12827 if test $with_gnu_ld = no; then 12828 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' 12829 hardcode_libdir_separator_CXX=: 12830 12831 case $host_cpu in 12832 hppa*64*|ia64*) 12833 ;; 12834 *) 12835 export_dynamic_flag_spec_CXX='${wl}-E' 12836 ;; 12837 esac 12838 fi 12839 case $host_cpu in 12840 hppa*64*|ia64*) 12841 hardcode_direct_CXX=no 12842 hardcode_shlibpath_var_CXX=no 12843 ;; 12844 *) 12845 hardcode_direct_CXX=yes 12846 hardcode_direct_absolute_CXX=yes 12847 hardcode_minus_L_CXX=yes # Not in the search PATH, 12848 # but as the default 12849 # location of the library. 12850 ;; 12851 esac 12852 12853 case $cc_basename in 12854 CC*) 12855 # FIXME: insert proper C++ library support 12856 ld_shlibs_CXX=no 12857 ;; 12858 aCC*) 12859 case $host_cpu in 12860 hppa*64*) 12861 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12862 ;; 12863 ia64*) 12864 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12865 ;; 12866 *) 12867 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12868 ;; 12869 esac 12870 # Commands to make compiler produce verbose output that lists 12871 # what "hidden" libraries, object files and flags are used when 12872 # linking a shared library. 12873 # 12874 # There doesn't appear to be a way to prevent this compiler from 12875 # explicitly linking system object files so we need to strip them 12876 # from the output so that they don't get included in the library 12877 # dependencies. 12878 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' 12879 ;; 12880 *) 12881 if test "$GXX" = yes; then 12882 if test $with_gnu_ld = no; then 12883 case $host_cpu in 12884 hppa*64*) 12885 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12886 ;; 12887 ia64*) 12888 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 12889 ;; 12890 *) 12891 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' 12892 ;; 12893 esac 12894 fi 12895 else 12896 # FIXME: insert proper C++ library support 12897 ld_shlibs_CXX=no 12898 fi 12899 ;; 12900 esac 12901 ;; 12902 12903 interix[3-9]*) 12904 hardcode_direct_CXX=no 12905 hardcode_shlibpath_var_CXX=no 12906 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12907 export_dynamic_flag_spec_CXX='${wl}-E' 12908 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 12909 # Instead, shared libraries are loaded at an image base (0x10000000 by 12910 # default) and relocated if they conflict, which is a slow very memory 12911 # consuming and fragmenting process. To avoid this, we pick a random, 12912 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 12913 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 12914 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' 12915 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' 12916 ;; 12917 irix5* | irix6*) 12918 case $cc_basename in 12919 CC*) 12920 # SGI C++ 12921 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' 12922 12923 # Archives containing C++ object files must be created using 12924 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 12925 # necessary to make sure instantiated templates are included 12926 # in the archive. 12927 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 12928 ;; 12929 *) 12930 if test "$GXX" = yes; then 12931 if test "$with_gnu_ld" = no; then 12932 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' 12933 else 12934 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' 12935 fi 12936 fi 12937 link_all_deplibs_CXX=yes 12938 ;; 12939 esac 12940 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 12941 hardcode_libdir_separator_CXX=: 12942 inherit_rpath_CXX=yes 12943 ;; 12944 12945 linux* | k*bsd*-gnu) 12946 case $cc_basename in 12947 KCC*) 12948 # Kuck and Associates, Inc. (KAI) C++ Compiler 12949 12950 # KCC will only create a shared library if the output file 12951 # ends with ".so" (or ".sl" for HP-UX), so rename the library 12952 # to its proper name (with version) after linking. 12953 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' 12954 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' 12955 # Commands to make compiler produce verbose output that lists 12956 # what "hidden" libraries, object files and flags are used when 12957 # linking a shared library. 12958 # 12959 # There doesn't appear to be a way to prevent this compiler from 12960 # explicitly linking system object files so we need to strip them 12961 # from the output so that they don't get included in the library 12962 # dependencies. 12963 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' 12964 12965 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12966 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12967 12968 # Archives containing C++ object files must be created using 12969 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 12970 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 12971 ;; 12972 icpc* | ecpc* ) 12973 # Intel C++ 12974 with_gnu_ld=yes 12975 # version 8.0 and above of icpc choke on multiply defined symbols 12976 # if we add $predep_objects and $postdep_objects, however 7.1 and 12977 # earlier do not add the objects themselves. 12978 case `$CC -V 2>&1` in 12979 *"Version 7."*) 12980 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 12981 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' 12982 ;; 12983 *) # Version 8.0 or newer 12984 tmp_idyn= 12985 case $host_cpu in 12986 ia64*) tmp_idyn=' -i_dynamic';; 12987 esac 12988 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 12989 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' 12990 ;; 12991 esac 12992 archive_cmds_need_lc_CXX=no 12993 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 12994 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 12995 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 12996 ;; 12997 pgCC* | pgcpp*) 12998 # Portland Group C++ compiler 12999 case `$CC -V` in 13000 *pgCC\ [1-5]* | *pgcpp\ [1-5]*) 13001 prelink_cmds_CXX='tpldir=Template.dir~ 13002 rm -rf $tpldir~ 13003 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 13004 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' 13005 old_archive_cmds_CXX='tpldir=Template.dir~ 13006 rm -rf $tpldir~ 13007 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 13008 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ 13009 $RANLIB $oldlib' 13010 archive_cmds_CXX='tpldir=Template.dir~ 13011 rm -rf $tpldir~ 13012 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13013 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13014 archive_expsym_cmds_CXX='tpldir=Template.dir~ 13015 rm -rf $tpldir~ 13016 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 13017 $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' 13018 ;; 13019 *) # Version 6 will use weak symbols 13020 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' 13021 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' 13022 ;; 13023 esac 13024 13025 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' 13026 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13027 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' 13028 ;; 13029 cxx*) 13030 # Compaq C++ 13031 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' 13032 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' 13033 13034 runpath_var=LD_RUN_PATH 13035 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13036 hardcode_libdir_separator_CXX=: 13037 13038 # Commands to make compiler produce verbose output that lists 13039 # what "hidden" libraries, object files and flags are used when 13040 # linking a shared library. 13041 # 13042 # There doesn't appear to be a way to prevent this compiler from 13043 # explicitly linking system object files so we need to strip them 13044 # from the output so that they don't get included in the library 13045 # dependencies. 13046 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' 13047 ;; 13048 xl*) 13049 # IBM XL 8.0 on PPC, with GNU ld 13050 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13051 export_dynamic_flag_spec_CXX='${wl}--export-dynamic' 13052 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 13053 if test "x$supports_anon_versioning" = xyes; then 13054 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 13055 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 13056 echo "local: *; };" >> $output_objdir/$libname.ver~ 13057 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 13058 fi 13059 ;; 13060 *) 13061 case `$CC -V 2>&1 | sed 5q` in 13062 *Sun\ C*) 13063 # Sun C++ 5.9 13064 no_undefined_flag_CXX=' -zdefs' 13065 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13066 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' 13067 hardcode_libdir_flag_spec_CXX='-R$libdir' 13068 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' 13069 compiler_needs_object_CXX=yes 13070 13071 # Not sure whether something based on 13072 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 13073 # would be better. 13074 output_verbose_link_cmd='echo' 13075 13076 # Archives containing C++ object files must be created using 13077 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13078 # necessary to make sure instantiated templates are included 13079 # in the archive. 13080 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13081 ;; 13082 esac 13083 ;; 13084 esac 13085 ;; 13086 13087 lynxos*) 13088 # FIXME: insert proper C++ library support 13089 ld_shlibs_CXX=no 13090 ;; 13091 13092 m88k*) 13093 # FIXME: insert proper C++ library support 13094 ld_shlibs_CXX=no 13095 ;; 13096 13097 mvs*) 13098 case $cc_basename in 13099 cxx*) 13100 # FIXME: insert proper C++ library support 13101 ld_shlibs_CXX=no 13102 ;; 13103 *) 13104 # FIXME: insert proper C++ library support 13105 ld_shlibs_CXX=no 13106 ;; 13107 esac 13108 ;; 13109 13110 netbsd*) 13111 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 13112 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 13113 wlarc= 13114 hardcode_libdir_flag_spec_CXX='-R$libdir' 13115 hardcode_direct_CXX=yes 13116 hardcode_shlibpath_var_CXX=no 13117 fi 13118 # Workaround some broken pre-1.5 toolchains 13119 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 13120 ;; 13121 13122 *nto* | *qnx*) 13123 ld_shlibs_CXX=yes 13124 ;; 13125 13126 openbsd2*) 13127 # C++ shared libraries are fairly broken 13128 ld_shlibs_CXX=no 13129 ;; 13130 13131 openbsd*) 13132 if test -f /usr/libexec/ld.so; then 13133 hardcode_direct_CXX=yes 13134 hardcode_shlibpath_var_CXX=no 13135 hardcode_direct_absolute_CXX=yes 13136 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 13137 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13138 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 13139 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' 13140 export_dynamic_flag_spec_CXX='${wl}-E' 13141 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 13142 fi 13143 output_verbose_link_cmd=echo 13144 else 13145 ld_shlibs_CXX=no 13146 fi 13147 ;; 13148 13149 osf3* | osf4* | osf5*) 13150 case $cc_basename in 13151 KCC*) 13152 # Kuck and Associates, Inc. (KAI) C++ Compiler 13153 13154 # KCC will only create a shared library if the output file 13155 # ends with ".so" (or ".sl" for HP-UX), so rename the library 13156 # to its proper name (with version) after linking. 13157 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' 13158 13159 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' 13160 hardcode_libdir_separator_CXX=: 13161 13162 # Archives containing C++ object files must be created using 13163 # the KAI C++ compiler. 13164 case $host in 13165 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 13166 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 13167 esac 13168 ;; 13169 RCC*) 13170 # Rational C++ 2.4.1 13171 # FIXME: insert proper C++ library support 13172 ld_shlibs_CXX=no 13173 ;; 13174 cxx*) 13175 case $host in 13176 osf3*) 13177 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13178 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' 13179 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13180 ;; 13181 *) 13182 allow_undefined_flag_CXX=' -expect_unresolved \*' 13183 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' 13184 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 13185 echo "-hidden">> $lib.exp~ 13186 $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~ 13187 $RM $lib.exp' 13188 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 13189 ;; 13190 esac 13191 13192 hardcode_libdir_separator_CXX=: 13193 13194 # Commands to make compiler produce verbose output that lists 13195 # what "hidden" libraries, object files and flags are used when 13196 # linking a shared library. 13197 # 13198 # There doesn't appear to be a way to prevent this compiler from 13199 # explicitly linking system object files so we need to strip them 13200 # from the output so that they don't get included in the library 13201 # dependencies. 13202 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' 13203 ;; 13204 *) 13205 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13206 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' 13207 case $host in 13208 osf3*) 13209 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' 13210 ;; 13211 *) 13212 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' 13213 ;; 13214 esac 13215 13216 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' 13217 hardcode_libdir_separator_CXX=: 13218 13219 # Commands to make compiler produce verbose output that lists 13220 # what "hidden" libraries, object files and flags are used when 13221 # linking a shared library. 13222 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13223 13224 else 13225 # FIXME: insert proper C++ library support 13226 ld_shlibs_CXX=no 13227 fi 13228 ;; 13229 esac 13230 ;; 13231 13232 psos*) 13233 # FIXME: insert proper C++ library support 13234 ld_shlibs_CXX=no 13235 ;; 13236 13237 sunos4*) 13238 case $cc_basename in 13239 CC*) 13240 # Sun C++ 4.x 13241 # FIXME: insert proper C++ library support 13242 ld_shlibs_CXX=no 13243 ;; 13244 lcc*) 13245 # Lucid 13246 # FIXME: insert proper C++ library support 13247 ld_shlibs_CXX=no 13248 ;; 13249 *) 13250 # FIXME: insert proper C++ library support 13251 ld_shlibs_CXX=no 13252 ;; 13253 esac 13254 ;; 13255 13256 solaris*) 13257 case $cc_basename in 13258 CC*) 13259 # Sun C++ 4.2, 5.x and Centerline C++ 13260 archive_cmds_need_lc_CXX=yes 13261 no_undefined_flag_CXX=' -zdefs' 13262 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 13263 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13264 $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' 13265 13266 hardcode_libdir_flag_spec_CXX='-R$libdir' 13267 hardcode_shlibpath_var_CXX=no 13268 case $host_os in 13269 solaris2.[0-5] | solaris2.[0-5].*) ;; 13270 *) 13271 # The compiler driver will combine and reorder linker options, 13272 # but understands `-z linker_flag'. 13273 # Supported since Solaris 2.6 (maybe 2.5.1?) 13274 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 13275 ;; 13276 esac 13277 link_all_deplibs_CXX=yes 13278 13279 output_verbose_link_cmd='echo' 13280 13281 # Archives containing C++ object files must be created using 13282 # "CC -xar", where "CC" is the Sun C++ compiler. This is 13283 # necessary to make sure instantiated templates are included 13284 # in the archive. 13285 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 13286 ;; 13287 gcx*) 13288 # Green Hills C++ Compiler 13289 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13290 13291 # The C++ compiler must be used to create the archive. 13292 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 13293 ;; 13294 *) 13295 # GNU C++ compiler with Solaris linker 13296 if test "$GXX" = yes && test "$with_gnu_ld" = no; then 13297 no_undefined_flag_CXX=' ${wl}-z ${wl}defs' 13298 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 13299 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13300 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13301 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13302 13303 # Commands to make compiler produce verbose output that lists 13304 # what "hidden" libraries, object files and flags are used when 13305 # linking a shared library. 13306 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13307 else 13308 # g++ 2.7 appears to require `-G' NOT `-shared' on this 13309 # platform. 13310 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' 13311 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 13312 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' 13313 13314 # Commands to make compiler produce verbose output that lists 13315 # what "hidden" libraries, object files and flags are used when 13316 # linking a shared library. 13317 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 13318 fi 13319 13320 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' 13321 case $host_os in 13322 solaris2.[0-5] | solaris2.[0-5].*) ;; 13323 *) 13324 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 13325 ;; 13326 esac 13327 fi 13328 ;; 13329 esac 13330 ;; 13331 13332 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 13333 no_undefined_flag_CXX='${wl}-z,text' 13334 archive_cmds_need_lc_CXX=no 13335 hardcode_shlibpath_var_CXX=no 13336 runpath_var='LD_RUN_PATH' 13337 13338 case $cc_basename in 13339 CC*) 13340 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13341 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13342 ;; 13343 *) 13344 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13345 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13346 ;; 13347 esac 13348 ;; 13349 13350 sysv5* | sco3.2v5* | sco5v6*) 13351 # Note: We can NOT use -z defs as we might desire, because we do not 13352 # link with -lc, and that would cause any symbols used from libc to 13353 # always be unresolved, which means just about no library would 13354 # ever link correctly. If we're not using GNU ld we use -z text 13355 # though, which does catch some bad symbols but isn't as heavy-handed 13356 # as -z defs. 13357 no_undefined_flag_CXX='${wl}-z,text' 13358 allow_undefined_flag_CXX='${wl}-z,nodefs' 13359 archive_cmds_need_lc_CXX=no 13360 hardcode_shlibpath_var_CXX=no 13361 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' 13362 hardcode_libdir_separator_CXX=':' 13363 link_all_deplibs_CXX=yes 13364 export_dynamic_flag_spec_CXX='${wl}-Bexport' 13365 runpath_var='LD_RUN_PATH' 13366 13367 case $cc_basename in 13368 CC*) 13369 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13370 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13371 ;; 13372 *) 13373 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13374 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 13375 ;; 13376 esac 13377 ;; 13378 13379 tandem*) 13380 case $cc_basename in 13381 NCC*) 13382 # NonStop-UX NCC 3.20 13383 # FIXME: insert proper C++ library support 13384 ld_shlibs_CXX=no 13385 ;; 13386 *) 13387 # FIXME: insert proper C++ library support 13388 ld_shlibs_CXX=no 13389 ;; 13390 esac 13391 ;; 13392 13393 vxworks*) 13394 # FIXME: insert proper C++ library support 13395 ld_shlibs_CXX=no 13396 ;; 13397 13398 *) 13399 # FIXME: insert proper C++ library support 13400 ld_shlibs_CXX=no 13401 ;; 13402 esac 13403 13404 { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 13405echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 13406 test "$ld_shlibs_CXX" = no && can_build_shared=no 13407 13408 GCC_CXX="$GXX" 13409 LD_CXX="$LD" 13410 13411 ## CAVEAT EMPTOR: 13412 ## There is no encapsulation within the following macros, do not change 13413 ## the running order or otherwise move them around unless you know exactly 13414 ## what you are doing... 13415 # Dependencies to place before and after the object being linked: 13416predep_objects_CXX= 13417postdep_objects_CXX= 13418predeps_CXX= 13419postdeps_CXX= 13420compiler_lib_search_path_CXX= 13421 13422cat > conftest.$ac_ext <<_LT_EOF 13423class Foo 13424{ 13425public: 13426 Foo (void) { a = 0; } 13427private: 13428 int a; 13429}; 13430_LT_EOF 13431 13432if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 13433 (eval $ac_compile) 2>&5 13434 ac_status=$? 13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13436 (exit $ac_status); }; then 13437 # Parse the compiler output and extract the necessary 13438 # objects, libraries and library flags. 13439 13440 # Sentinel used to keep track of whether or not we are before 13441 # the conftest object file. 13442 pre_test_object_deps_done=no 13443 13444 for p in `eval "$output_verbose_link_cmd"`; do 13445 case $p in 13446 13447 -L* | -R* | -l*) 13448 # Some compilers place space between "-{L,R}" and the path. 13449 # Remove the space. 13450 if test $p = "-L" || 13451 test $p = "-R"; then 13452 prev=$p 13453 continue 13454 else 13455 prev= 13456 fi 13457 13458 if test "$pre_test_object_deps_done" = no; then 13459 case $p in 13460 -L* | -R*) 13461 # Internal compiler library paths should come after those 13462 # provided the user. The postdeps already come after the 13463 # user supplied libs so there is no need to process them. 13464 if test -z "$compiler_lib_search_path_CXX"; then 13465 compiler_lib_search_path_CXX="${prev}${p}" 13466 else 13467 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" 13468 fi 13469 ;; 13470 # The "-l" case would never come before the object being 13471 # linked, so don't bother handling this case. 13472 esac 13473 else 13474 if test -z "$postdeps_CXX"; then 13475 postdeps_CXX="${prev}${p}" 13476 else 13477 postdeps_CXX="${postdeps_CXX} ${prev}${p}" 13478 fi 13479 fi 13480 ;; 13481 13482 *.$objext) 13483 # This assumes that the test object file only shows up 13484 # once in the compiler output. 13485 if test "$p" = "conftest.$objext"; then 13486 pre_test_object_deps_done=yes 13487 continue 13488 fi 13489 13490 if test "$pre_test_object_deps_done" = no; then 13491 if test -z "$predep_objects_CXX"; then 13492 predep_objects_CXX="$p" 13493 else 13494 predep_objects_CXX="$predep_objects_CXX $p" 13495 fi 13496 else 13497 if test -z "$postdep_objects_CXX"; then 13498 postdep_objects_CXX="$p" 13499 else 13500 postdep_objects_CXX="$postdep_objects_CXX $p" 13501 fi 13502 fi 13503 ;; 13504 13505 *) ;; # Ignore the rest. 13506 13507 esac 13508 done 13509 13510 # Clean up. 13511 rm -f a.out a.exe 13512else 13513 echo "libtool.m4: error: problem compiling CXX test program" 13514fi 13515 13516$RM -f confest.$objext 13517 13518# PORTME: override above test on systems where it is broken 13519case $host_os in 13520interix[3-9]*) 13521 # Interix 3.5 installs completely hosed .la files for C++, so rather than 13522 # hack all around it, let's just trust "g++" to DTRT. 13523 predep_objects_CXX= 13524 postdep_objects_CXX= 13525 postdeps_CXX= 13526 ;; 13527 13528linux*) 13529 case `$CC -V 2>&1 | sed 5q` in 13530 *Sun\ C*) 13531 # Sun C++ 5.9 13532 13533 # The more standards-conforming stlport4 library is 13534 # incompatible with the Cstd library. Avoid specifying 13535 # it if it's in CXXFLAGS. Ignore libCrun as 13536 # -library=stlport4 depends on it. 13537 case " $CXX $CXXFLAGS " in 13538 *" -library=stlport4 "*) 13539 solaris_use_stlport4=yes 13540 ;; 13541 esac 13542 13543 if test "$solaris_use_stlport4" != yes; then 13544 postdeps_CXX='-library=Cstd -library=Crun' 13545 fi 13546 ;; 13547 esac 13548 ;; 13549 13550solaris*) 13551 case $cc_basename in 13552 CC*) 13553 # The more standards-conforming stlport4 library is 13554 # incompatible with the Cstd library. Avoid specifying 13555 # it if it's in CXXFLAGS. Ignore libCrun as 13556 # -library=stlport4 depends on it. 13557 case " $CXX $CXXFLAGS " in 13558 *" -library=stlport4 "*) 13559 solaris_use_stlport4=yes 13560 ;; 13561 esac 13562 13563 # Adding this requires a known-good setup of shared libraries for 13564 # Sun compiler versions before 5.6, else PIC objects from an old 13565 # archive will be linked into the output, leading to subtle bugs. 13566 if test "$solaris_use_stlport4" != yes; then 13567 postdeps_CXX='-library=Cstd -library=Crun' 13568 fi 13569 ;; 13570 esac 13571 ;; 13572esac 13573 13574 13575case " $postdeps_CXX " in 13576*" -lc "*) archive_cmds_need_lc_CXX=no ;; 13577esac 13578 compiler_lib_search_dirs_CXX= 13579if test -n "${compiler_lib_search_path_CXX}"; then 13580 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 13581fi 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 lt_prog_compiler_wl_CXX= 13614lt_prog_compiler_pic_CXX= 13615lt_prog_compiler_static_CXX= 13616 13617{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 13618echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } 13619 13620 # C++ specific cases for pic, static, wl, etc. 13621 if test "$GXX" = yes; then 13622 lt_prog_compiler_wl_CXX='-Wl,' 13623 lt_prog_compiler_static_CXX='-static' 13624 13625 case $host_os in 13626 aix*) 13627 # All AIX code is PIC. 13628 if test "$host_cpu" = ia64; then 13629 # AIX 5 now supports IA64 processor 13630 lt_prog_compiler_static_CXX='-Bstatic' 13631 fi 13632 ;; 13633 13634 amigaos*) 13635 case $host_cpu in 13636 powerpc) 13637 # see comment about AmigaOS4 .so support 13638 lt_prog_compiler_pic_CXX='-fPIC' 13639 ;; 13640 m68k) 13641 # FIXME: we need at least 68020 code to build shared libraries, but 13642 # adding the `-m68020' flag to GCC prevents building anything better, 13643 # like `-m68040'. 13644 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 13645 ;; 13646 esac 13647 ;; 13648 13649 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 13650 # PIC is the default for these OSes. 13651 ;; 13652 mingw* | cygwin* | os2* | pw32*) 13653 # This hack is so that the source file can tell whether it is being 13654 # built for inclusion in a dll (and should export symbols for example). 13655 # Although the cygwin gcc ignores -fPIC, still need this for old-style 13656 # (--disable-auto-import) libraries 13657 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 13658 ;; 13659 darwin* | rhapsody*) 13660 # PIC is the default on this platform 13661 # Common symbols not allowed in MH_DYLIB files 13662 lt_prog_compiler_pic_CXX='-fno-common' 13663 ;; 13664 *djgpp*) 13665 # DJGPP does not support shared libraries at all 13666 lt_prog_compiler_pic_CXX= 13667 ;; 13668 interix[3-9]*) 13669 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 13670 # Instead, we relocate shared libraries at runtime. 13671 ;; 13672 sysv4*MP*) 13673 if test -d /usr/nec; then 13674 lt_prog_compiler_pic_CXX=-Kconform_pic 13675 fi 13676 ;; 13677 hpux*) 13678 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 13679 # not for PA HP-UX. 13680 case $host_cpu in 13681 hppa*64*|ia64*) 13682 ;; 13683 *) 13684 lt_prog_compiler_pic_CXX='-fPIC' 13685 ;; 13686 esac 13687 ;; 13688 *qnx* | *nto*) 13689 # QNX uses GNU C++, but need to define -shared option too, otherwise 13690 # it will coredump. 13691 lt_prog_compiler_pic_CXX='-fPIC -shared' 13692 ;; 13693 *) 13694 lt_prog_compiler_pic_CXX='-fPIC' 13695 ;; 13696 esac 13697 else 13698 case $host_os in 13699 aix[4-9]*) 13700 # All AIX code is PIC. 13701 if test "$host_cpu" = ia64; then 13702 # AIX 5 now supports IA64 processor 13703 lt_prog_compiler_static_CXX='-Bstatic' 13704 else 13705 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 13706 fi 13707 ;; 13708 chorus*) 13709 case $cc_basename in 13710 cxch68*) 13711 # Green Hills C++ Compiler 13712 # _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" 13713 ;; 13714 esac 13715 ;; 13716 dgux*) 13717 case $cc_basename in 13718 ec++*) 13719 lt_prog_compiler_pic_CXX='-KPIC' 13720 ;; 13721 ghcx*) 13722 # Green Hills C++ Compiler 13723 lt_prog_compiler_pic_CXX='-pic' 13724 ;; 13725 *) 13726 ;; 13727 esac 13728 ;; 13729 freebsd* | dragonfly*) 13730 # FreeBSD uses GNU C++ 13731 ;; 13732 hpux9* | hpux10* | hpux11*) 13733 case $cc_basename in 13734 CC*) 13735 lt_prog_compiler_wl_CXX='-Wl,' 13736 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13737 if test "$host_cpu" != ia64; then 13738 lt_prog_compiler_pic_CXX='+Z' 13739 fi 13740 ;; 13741 aCC*) 13742 lt_prog_compiler_wl_CXX='-Wl,' 13743 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' 13744 case $host_cpu in 13745 hppa*64*|ia64*) 13746 # +Z the default 13747 ;; 13748 *) 13749 lt_prog_compiler_pic_CXX='+Z' 13750 ;; 13751 esac 13752 ;; 13753 *) 13754 ;; 13755 esac 13756 ;; 13757 interix*) 13758 # This is c89, which is MS Visual C++ (no shared libs) 13759 # Anyone wants to do a port? 13760 ;; 13761 irix5* | irix6* | nonstopux*) 13762 case $cc_basename in 13763 CC*) 13764 lt_prog_compiler_wl_CXX='-Wl,' 13765 lt_prog_compiler_static_CXX='-non_shared' 13766 # CC pic flag -KPIC is the default. 13767 ;; 13768 *) 13769 ;; 13770 esac 13771 ;; 13772 linux* | k*bsd*-gnu) 13773 case $cc_basename in 13774 KCC*) 13775 # KAI C++ Compiler 13776 lt_prog_compiler_wl_CXX='--backend -Wl,' 13777 lt_prog_compiler_pic_CXX='-fPIC' 13778 ;; 13779 icpc* | ecpc* ) 13780 # Intel C++ 13781 lt_prog_compiler_wl_CXX='-Wl,' 13782 lt_prog_compiler_pic_CXX='-KPIC' 13783 lt_prog_compiler_static_CXX='-static' 13784 ;; 13785 pgCC* | pgcpp*) 13786 # Portland Group C++ compiler 13787 lt_prog_compiler_wl_CXX='-Wl,' 13788 lt_prog_compiler_pic_CXX='-fpic' 13789 lt_prog_compiler_static_CXX='-Bstatic' 13790 ;; 13791 cxx*) 13792 # Compaq C++ 13793 # Make sure the PIC flag is empty. It appears that all Alpha 13794 # Linux and Compaq Tru64 Unix objects are PIC. 13795 lt_prog_compiler_pic_CXX= 13796 lt_prog_compiler_static_CXX='-non_shared' 13797 ;; 13798 xlc* | xlC*) 13799 # IBM XL 8.0 on PPC 13800 lt_prog_compiler_wl_CXX='-Wl,' 13801 lt_prog_compiler_pic_CXX='-qpic' 13802 lt_prog_compiler_static_CXX='-qstaticlink' 13803 ;; 13804 *) 13805 case `$CC -V 2>&1 | sed 5q` in 13806 *Sun\ C*) 13807 # Sun C++ 5.9 13808 lt_prog_compiler_pic_CXX='-KPIC' 13809 lt_prog_compiler_static_CXX='-Bstatic' 13810 lt_prog_compiler_wl_CXX='-Qoption ld ' 13811 ;; 13812 esac 13813 ;; 13814 esac 13815 ;; 13816 lynxos*) 13817 ;; 13818 m88k*) 13819 ;; 13820 mvs*) 13821 case $cc_basename in 13822 cxx*) 13823 lt_prog_compiler_pic_CXX='-W c,exportall' 13824 ;; 13825 *) 13826 ;; 13827 esac 13828 ;; 13829 netbsd* | netbsdelf*-gnu) 13830 ;; 13831 *qnx* | *nto*) 13832 # QNX uses GNU C++, but need to define -shared option too, otherwise 13833 # it will coredump. 13834 lt_prog_compiler_pic_CXX='-fPIC -shared' 13835 ;; 13836 osf3* | osf4* | osf5*) 13837 case $cc_basename in 13838 KCC*) 13839 lt_prog_compiler_wl_CXX='--backend -Wl,' 13840 ;; 13841 RCC*) 13842 # Rational C++ 2.4.1 13843 lt_prog_compiler_pic_CXX='-pic' 13844 ;; 13845 cxx*) 13846 # Digital/Compaq C++ 13847 lt_prog_compiler_wl_CXX='-Wl,' 13848 # Make sure the PIC flag is empty. It appears that all Alpha 13849 # Linux and Compaq Tru64 Unix objects are PIC. 13850 lt_prog_compiler_pic_CXX= 13851 lt_prog_compiler_static_CXX='-non_shared' 13852 ;; 13853 *) 13854 ;; 13855 esac 13856 ;; 13857 psos*) 13858 ;; 13859 solaris*) 13860 case $cc_basename in 13861 CC*) 13862 # Sun C++ 4.2, 5.x and Centerline C++ 13863 lt_prog_compiler_pic_CXX='-KPIC' 13864 lt_prog_compiler_static_CXX='-Bstatic' 13865 lt_prog_compiler_wl_CXX='-Qoption ld ' 13866 ;; 13867 gcx*) 13868 # Green Hills C++ Compiler 13869 lt_prog_compiler_pic_CXX='-PIC' 13870 ;; 13871 *) 13872 ;; 13873 esac 13874 ;; 13875 sunos4*) 13876 case $cc_basename in 13877 CC*) 13878 # Sun C++ 4.x 13879 lt_prog_compiler_pic_CXX='-pic' 13880 lt_prog_compiler_static_CXX='-Bstatic' 13881 ;; 13882 lcc*) 13883 # Lucid 13884 lt_prog_compiler_pic_CXX='-pic' 13885 ;; 13886 *) 13887 ;; 13888 esac 13889 ;; 13890 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 13891 case $cc_basename in 13892 CC*) 13893 lt_prog_compiler_wl_CXX='-Wl,' 13894 lt_prog_compiler_pic_CXX='-KPIC' 13895 lt_prog_compiler_static_CXX='-Bstatic' 13896 ;; 13897 esac 13898 ;; 13899 tandem*) 13900 case $cc_basename in 13901 NCC*) 13902 # NonStop-UX NCC 3.20 13903 lt_prog_compiler_pic_CXX='-KPIC' 13904 ;; 13905 *) 13906 ;; 13907 esac 13908 ;; 13909 vxworks*) 13910 ;; 13911 *) 13912 lt_prog_compiler_can_build_shared_CXX=no 13913 ;; 13914 esac 13915 fi 13916 13917case $host_os in 13918 # For platforms which do not support PIC, -DPIC is meaningless: 13919 *djgpp*) 13920 lt_prog_compiler_pic_CXX= 13921 ;; 13922 *) 13923 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 13924 ;; 13925esac 13926{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 13927echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } 13928 13929 13930 13931# 13932# Check to make sure the PIC flag actually works. 13933# 13934if test -n "$lt_prog_compiler_pic_CXX"; then 13935 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 13936echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } 13937if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then 13938 echo $ECHO_N "(cached) $ECHO_C" >&6 13939else 13940 lt_cv_prog_compiler_pic_works_CXX=no 13941 ac_outfile=conftest.$ac_objext 13942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 13943 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" 13944 # Insert the option either (1) after the last *FLAGS variable, or 13945 # (2) before a word containing "conftest.", or (3) at the end. 13946 # Note that $ac_compile itself does not contain backslashes and begins 13947 # with a dollar sign (not a hyphen), so the echo should work correctly. 13948 # The option is referenced via a variable to avoid confusing sed. 13949 lt_compile=`echo "$ac_compile" | $SED \ 13950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 13951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13952 -e 's:$: $lt_compiler_flag:'` 13953 (eval echo "\"\$as_me:13953: $lt_compile\"" >&5) 13954 (eval "$lt_compile" 2>conftest.err) 13955 ac_status=$? 13956 cat conftest.err >&5 13957 echo "$as_me:13957: \$? = $ac_status" >&5 13958 if (exit $ac_status) && test -s "$ac_outfile"; then 13959 # The compiler can only warn and ignore the option if not recognized 13960 # So say no if there are warnings other than the usual output. 13961 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 13962 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 13963 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 13964 lt_cv_prog_compiler_pic_works_CXX=yes 13965 fi 13966 fi 13967 $RM conftest* 13968 13969fi 13970{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 13971echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; } 13972 13973if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then 13974 case $lt_prog_compiler_pic_CXX in 13975 "" | " "*) ;; 13976 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 13977 esac 13978else 13979 lt_prog_compiler_pic_CXX= 13980 lt_prog_compiler_can_build_shared_CXX=no 13981fi 13982 13983fi 13984 13985 13986 13987# 13988# Check to make sure the static flag actually works. 13989# 13990wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 13991{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 13992echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } 13993if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then 13994 echo $ECHO_N "(cached) $ECHO_C" >&6 13995else 13996 lt_cv_prog_compiler_static_works_CXX=no 13997 save_LDFLAGS="$LDFLAGS" 13998 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 13999 echo "$lt_simple_link_test_code" > conftest.$ac_ext 14000 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 14001 # The linker can only warn and ignore the option if not recognized 14002 # So say no if there are warnings 14003 if test -s conftest.err; then 14004 # Append any errors to the config.log. 14005 cat conftest.err 1>&5 14006 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 14007 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 14008 if diff conftest.exp conftest.er2 >/dev/null; then 14009 lt_cv_prog_compiler_static_works_CXX=yes 14010 fi 14011 else 14012 lt_cv_prog_compiler_static_works_CXX=yes 14013 fi 14014 fi 14015 $RM -r conftest* 14016 LDFLAGS="$save_LDFLAGS" 14017 14018fi 14019{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 14020echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; } 14021 14022if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then 14023 : 14024else 14025 lt_prog_compiler_static_CXX= 14026fi 14027 14028 14029 14030 14031 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14032echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 14033if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 14034 echo $ECHO_N "(cached) $ECHO_C" >&6 14035else 14036 lt_cv_prog_compiler_c_o_CXX=no 14037 $RM -r conftest 2>/dev/null 14038 mkdir conftest 14039 cd conftest 14040 mkdir out 14041 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14042 14043 lt_compiler_flag="-o out/conftest2.$ac_objext" 14044 # Insert the option either (1) after the last *FLAGS variable, or 14045 # (2) before a word containing "conftest.", or (3) at the end. 14046 # Note that $ac_compile itself does not contain backslashes and begins 14047 # with a dollar sign (not a hyphen), so the echo should work correctly. 14048 lt_compile=`echo "$ac_compile" | $SED \ 14049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14051 -e 's:$: $lt_compiler_flag:'` 14052 (eval echo "\"\$as_me:14052: $lt_compile\"" >&5) 14053 (eval "$lt_compile" 2>out/conftest.err) 14054 ac_status=$? 14055 cat out/conftest.err >&5 14056 echo "$as_me:14056: \$? = $ac_status" >&5 14057 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14058 then 14059 # The compiler can only warn and ignore the option if not recognized 14060 # So say no if there are warnings 14061 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14062 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14063 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14064 lt_cv_prog_compiler_c_o_CXX=yes 14065 fi 14066 fi 14067 chmod u+w . 2>&5 14068 $RM conftest* 14069 # SGI C++ compiler will create directory out/ii_files/ for 14070 # template instantiation 14071 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14072 $RM out/* && rmdir out 14073 cd .. 14074 $RM -r conftest 14075 $RM conftest* 14076 14077fi 14078{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14079echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 14080 14081 14082 14083 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 14084echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } 14085if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then 14086 echo $ECHO_N "(cached) $ECHO_C" >&6 14087else 14088 lt_cv_prog_compiler_c_o_CXX=no 14089 $RM -r conftest 2>/dev/null 14090 mkdir conftest 14091 cd conftest 14092 mkdir out 14093 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14094 14095 lt_compiler_flag="-o out/conftest2.$ac_objext" 14096 # Insert the option either (1) after the last *FLAGS variable, or 14097 # (2) before a word containing "conftest.", or (3) at the end. 14098 # Note that $ac_compile itself does not contain backslashes and begins 14099 # with a dollar sign (not a hyphen), so the echo should work correctly. 14100 lt_compile=`echo "$ac_compile" | $SED \ 14101 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 14102 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14103 -e 's:$: $lt_compiler_flag:'` 14104 (eval echo "\"\$as_me:14104: $lt_compile\"" >&5) 14105 (eval "$lt_compile" 2>out/conftest.err) 14106 ac_status=$? 14107 cat out/conftest.err >&5 14108 echo "$as_me:14108: \$? = $ac_status" >&5 14109 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14110 then 14111 # The compiler can only warn and ignore the option if not recognized 14112 # So say no if there are warnings 14113 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 14114 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 14115 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 14116 lt_cv_prog_compiler_c_o_CXX=yes 14117 fi 14118 fi 14119 chmod u+w . 2>&5 14120 $RM conftest* 14121 # SGI C++ compiler will create directory out/ii_files/ for 14122 # template instantiation 14123 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 14124 $RM out/* && rmdir out 14125 cd .. 14126 $RM -r conftest 14127 $RM conftest* 14128 14129fi 14130{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 14131echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } 14132 14133 14134 14135 14136hard_links="nottested" 14137if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then 14138 # do not overwrite the value of need_locks provided by the user 14139 { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 14140echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } 14141 hard_links=yes 14142 $RM conftest* 14143 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14144 touch conftest.a 14145 ln conftest.a conftest.b 2>&5 || hard_links=no 14146 ln conftest.a conftest.b 2>/dev/null && hard_links=no 14147 { echo "$as_me:$LINENO: result: $hard_links" >&5 14148echo "${ECHO_T}$hard_links" >&6; } 14149 if test "$hard_links" = no; then 14150 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 14151echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 14152 need_locks=warn 14153 fi 14154else 14155 need_locks=no 14156fi 14157 14158 14159 14160 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14161echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } 14162 14163 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14164 case $host_os in 14165 aix[4-9]*) 14166 # If we're using GNU nm, then we don't want the "-C" option. 14167 # -C means demangle to AIX nm, but means don't demangle with GNU nm 14168 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 14169 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' 14170 else 14171 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' 14172 fi 14173 ;; 14174 pw32*) 14175 export_symbols_cmds_CXX="$ltdll_cmds" 14176 ;; 14177 cygwin* | mingw*) 14178 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' 14179 ;; 14180 linux* | k*bsd*-gnu) 14181 link_all_deplibs_CXX=no 14182 ;; 14183 *) 14184 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 14185 ;; 14186 esac 14187 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 14188 14189{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 14190echo "${ECHO_T}$ld_shlibs_CXX" >&6; } 14191test "$ld_shlibs_CXX" = no && can_build_shared=no 14192 14193with_gnu_ld_CXX=$with_gnu_ld 14194 14195 14196 14197 14198 14199 14200# 14201# Do we need to explicitly link libc? 14202# 14203case "x$archive_cmds_need_lc_CXX" in 14204x|xyes) 14205 # Assume -lc should be added 14206 archive_cmds_need_lc_CXX=yes 14207 14208 if test "$enable_shared" = yes && test "$GCC" = yes; then 14209 case $archive_cmds_CXX in 14210 *'~'*) 14211 # FIXME: we may have to deal with multi-command sequences. 14212 ;; 14213 '$CC '*) 14214 # Test whether the compiler implicitly links with -lc since on some 14215 # systems, -lgcc has to come before -lc. If gcc already passes -lc 14216 # to ld, don't add -lc before -lgcc. 14217 { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 14218echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } 14219 $RM conftest* 14220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 14221 14222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 14223 (eval $ac_compile) 2>&5 14224 ac_status=$? 14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14226 (exit $ac_status); } 2>conftest.err; then 14227 soname=conftest 14228 lib=conftest 14229 libobjs=conftest.$ac_objext 14230 deplibs= 14231 wl=$lt_prog_compiler_wl_CXX 14232 pic_flag=$lt_prog_compiler_pic_CXX 14233 compiler_flags=-v 14234 linker_flags=-v 14235 verstring= 14236 output_objdir=. 14237 libname=conftest 14238 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 14239 allow_undefined_flag_CXX= 14240 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 14241 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 14242 ac_status=$? 14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14244 (exit $ac_status); } 14245 then 14246 archive_cmds_need_lc_CXX=no 14247 else 14248 archive_cmds_need_lc_CXX=yes 14249 fi 14250 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 14251 else 14252 cat conftest.err 1>&5 14253 fi 14254 $RM conftest* 14255 { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 14256echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } 14257 ;; 14258 esac 14259 fi 14260 ;; 14261esac 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 14327echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } 14328 14329library_names_spec= 14330libname_spec='lib$name' 14331soname_spec= 14332shrext_cmds=".so" 14333postinstall_cmds= 14334postuninstall_cmds= 14335finish_cmds= 14336finish_eval= 14337shlibpath_var= 14338shlibpath_overrides_runpath=unknown 14339version_type=none 14340dynamic_linker="$host_os ld.so" 14341sys_lib_dlsearch_path_spec="/lib /usr/lib" 14342need_lib_prefix=unknown 14343hardcode_into_libs=no 14344 14345# when you set need_version to no, make sure it does not cause -set_version 14346# flags to be left without arguments 14347need_version=unknown 14348 14349case $host_os in 14350aix3*) 14351 version_type=linux 14352 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 14353 shlibpath_var=LIBPATH 14354 14355 # AIX 3 has no versioning support, so we append a major version to the name. 14356 soname_spec='${libname}${release}${shared_ext}$major' 14357 ;; 14358 14359aix[4-9]*) 14360 version_type=linux 14361 need_lib_prefix=no 14362 need_version=no 14363 hardcode_into_libs=yes 14364 if test "$host_cpu" = ia64; then 14365 # AIX 5 supports IA64 14366 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 14367 shlibpath_var=LD_LIBRARY_PATH 14368 else 14369 # With GCC up to 2.95.x, collect2 would create an import file 14370 # for dependence libraries. The import file would start with 14371 # the line `#! .'. This would cause the generated library to 14372 # depend on `.', always an invalid library. This was fixed in 14373 # development snapshots of GCC prior to 3.0. 14374 case $host_os in 14375 aix4 | aix4.[01] | aix4.[01].*) 14376 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 14377 echo ' yes ' 14378 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 14379 : 14380 else 14381 can_build_shared=no 14382 fi 14383 ;; 14384 esac 14385 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 14386 # soname into executable. Probably we can add versioning support to 14387 # collect2, so additional links can be useful in future. 14388 if test "$aix_use_runtimelinking" = yes; then 14389 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 14390 # instead of lib<name>.a to let people know that these are not 14391 # typical AIX shared libraries. 14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14393 else 14394 # We preserve .a as extension for shared libraries through AIX4.2 14395 # and later when we are not doing run time linking. 14396 library_names_spec='${libname}${release}.a $libname.a' 14397 soname_spec='${libname}${release}${shared_ext}$major' 14398 fi 14399 shlibpath_var=LIBPATH 14400 fi 14401 ;; 14402 14403amigaos*) 14404 case $host_cpu in 14405 powerpc) 14406 # Since July 2007 AmigaOS4 officially supports .so libraries. 14407 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14409 ;; 14410 m68k) 14411 library_names_spec='$libname.ixlibrary $libname.a' 14412 # Create ${libname}_ixlibrary.a entries in /sys/libs. 14413 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' 14414 ;; 14415 esac 14416 ;; 14417 14418beos*) 14419 library_names_spec='${libname}${shared_ext}' 14420 dynamic_linker="$host_os ld.so" 14421 shlibpath_var=LIBRARY_PATH 14422 ;; 14423 14424bsdi[45]*) 14425 version_type=linux 14426 need_version=no 14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14428 soname_spec='${libname}${release}${shared_ext}$major' 14429 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 14430 shlibpath_var=LD_LIBRARY_PATH 14431 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 14432 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 14433 # the default ld.so.conf also contains /usr/contrib/lib and 14434 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 14435 # libtool to hard-code these into programs 14436 ;; 14437 14438cygwin* | mingw* | pw32*) 14439 version_type=windows 14440 shrext_cmds=".dll" 14441 need_version=no 14442 need_lib_prefix=no 14443 14444 case $GCC,$host_os in 14445 yes,cygwin* | yes,mingw* | yes,pw32*) 14446 library_names_spec='$libname.dll.a' 14447 # DLL is installed to $(libdir)/../bin by postinstall_cmds 14448 postinstall_cmds='base_file=`basename \${file}`~ 14449 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 14450 dldir=$destdir/`dirname \$dlpath`~ 14451 test -d \$dldir || mkdir -p \$dldir~ 14452 $install_prog $dir/$dlname \$dldir/$dlname~ 14453 chmod a+x \$dldir/$dlname~ 14454 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 14455 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 14456 fi' 14457 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 14458 dlpath=$dir/\$dldll~ 14459 $RM \$dlpath' 14460 shlibpath_overrides_runpath=yes 14461 14462 case $host_os in 14463 cygwin*) 14464 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 14465 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14466 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 14467 ;; 14468 mingw*) 14469 # MinGW DLLs use traditional 'lib' prefix 14470 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14471 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 14472 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 14473 # It is most probably a Windows format PATH printed by 14474 # mingw gcc, but we are running on Cygwin. Gcc prints its search 14475 # path with ; separators, and with drive letters. We can handle the 14476 # drive letters (cygwin fileutils understands them), so leave them, 14477 # especially as we might pass files found there to a mingw objdump, 14478 # which wouldn't understand a cygwinified path. Ahh. 14479 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 14480 else 14481 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 14482 fi 14483 ;; 14484 pw32*) 14485 # pw32 DLLs use 'pw' prefix rather than 'lib' 14486 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 14487 ;; 14488 esac 14489 ;; 14490 14491 *) 14492 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 14493 ;; 14494 esac 14495 dynamic_linker='Win32 ld.exe' 14496 # FIXME: first we should search . and the directory the executable is in 14497 shlibpath_var=PATH 14498 ;; 14499 14500darwin* | rhapsody*) 14501 dynamic_linker="$host_os dyld" 14502 version_type=darwin 14503 need_lib_prefix=no 14504 need_version=no 14505 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 14506 soname_spec='${libname}${release}${major}$shared_ext' 14507 shlibpath_overrides_runpath=yes 14508 shlibpath_var=DYLD_LIBRARY_PATH 14509 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 14510 14511 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 14512 ;; 14513 14514dgux*) 14515 version_type=linux 14516 need_lib_prefix=no 14517 need_version=no 14518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 14519 soname_spec='${libname}${release}${shared_ext}$major' 14520 shlibpath_var=LD_LIBRARY_PATH 14521 ;; 14522 14523freebsd1*) 14524 dynamic_linker=no 14525 ;; 14526 14527freebsd* | dragonfly*) 14528 # DragonFly does not have aout. When/if they implement a new 14529 # versioning mechanism, adjust this. 14530 if test -x /usr/bin/objformat; then 14531 objformat=`/usr/bin/objformat` 14532 else 14533 case $host_os in 14534 freebsd[123]*) objformat=aout ;; 14535 *) objformat=elf ;; 14536 esac 14537 fi 14538 version_type=freebsd-$objformat 14539 case $version_type in 14540 freebsd-elf*) 14541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14542 need_version=no 14543 need_lib_prefix=no 14544 ;; 14545 freebsd-*) 14546 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 14547 need_version=yes 14548 ;; 14549 esac 14550 shlibpath_var=LD_LIBRARY_PATH 14551 case $host_os in 14552 freebsd2*) 14553 shlibpath_overrides_runpath=yes 14554 ;; 14555 freebsd3.[01]* | freebsdelf3.[01]*) 14556 shlibpath_overrides_runpath=yes 14557 hardcode_into_libs=yes 14558 ;; 14559 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 14560 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 14561 shlibpath_overrides_runpath=no 14562 hardcode_into_libs=yes 14563 ;; 14564 *) # from 4.6 on, and DragonFly 14565 shlibpath_overrides_runpath=yes 14566 hardcode_into_libs=yes 14567 ;; 14568 esac 14569 ;; 14570 14571gnu*) 14572 version_type=linux 14573 need_lib_prefix=no 14574 need_version=no 14575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 14576 soname_spec='${libname}${release}${shared_ext}$major' 14577 shlibpath_var=LD_LIBRARY_PATH 14578 hardcode_into_libs=yes 14579 ;; 14580 14581hpux9* | hpux10* | hpux11*) 14582 # Give a soname corresponding to the major version so that dld.sl refuses to 14583 # link against other versions. 14584 version_type=sunos 14585 need_lib_prefix=no 14586 need_version=no 14587 case $host_cpu in 14588 ia64*) 14589 shrext_cmds='.so' 14590 hardcode_into_libs=yes 14591 dynamic_linker="$host_os dld.so" 14592 shlibpath_var=LD_LIBRARY_PATH 14593 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14595 soname_spec='${libname}${release}${shared_ext}$major' 14596 if test "X$HPUX_IA64_MODE" = X32; then 14597 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 14598 else 14599 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 14600 fi 14601 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14602 ;; 14603 hppa*64*) 14604 shrext_cmds='.sl' 14605 hardcode_into_libs=yes 14606 dynamic_linker="$host_os dld.sl" 14607 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 14608 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 14609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14610 soname_spec='${libname}${release}${shared_ext}$major' 14611 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 14612 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 14613 ;; 14614 *) 14615 shrext_cmds='.sl' 14616 dynamic_linker="$host_os dld.sl" 14617 shlibpath_var=SHLIB_PATH 14618 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14620 soname_spec='${libname}${release}${shared_ext}$major' 14621 ;; 14622 esac 14623 # HP-UX runs *really* slowly unless shared libraries are mode 555. 14624 postinstall_cmds='chmod 555 $lib' 14625 ;; 14626 14627interix[3-9]*) 14628 version_type=linux 14629 need_lib_prefix=no 14630 need_version=no 14631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14632 soname_spec='${libname}${release}${shared_ext}$major' 14633 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 14634 shlibpath_var=LD_LIBRARY_PATH 14635 shlibpath_overrides_runpath=no 14636 hardcode_into_libs=yes 14637 ;; 14638 14639irix5* | irix6* | nonstopux*) 14640 case $host_os in 14641 nonstopux*) version_type=nonstopux ;; 14642 *) 14643 if test "$lt_cv_prog_gnu_ld" = yes; then 14644 version_type=linux 14645 else 14646 version_type=irix 14647 fi ;; 14648 esac 14649 need_lib_prefix=no 14650 need_version=no 14651 soname_spec='${libname}${release}${shared_ext}$major' 14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 14653 case $host_os in 14654 irix5* | nonstopux*) 14655 libsuff= shlibsuff= 14656 ;; 14657 *) 14658 case $LD in # libtool.m4 will add one of these switches to LD 14659 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 14660 libsuff= shlibsuff= libmagic=32-bit;; 14661 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 14662 libsuff=32 shlibsuff=N32 libmagic=N32;; 14663 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 14664 libsuff=64 shlibsuff=64 libmagic=64-bit;; 14665 *) libsuff= shlibsuff= libmagic=never-match;; 14666 esac 14667 ;; 14668 esac 14669 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 14670 shlibpath_overrides_runpath=no 14671 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 14672 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 14673 hardcode_into_libs=yes 14674 ;; 14675 14676# No shared lib support for Linux oldld, aout, or coff. 14677linux*oldld* | linux*aout* | linux*coff*) 14678 dynamic_linker=no 14679 ;; 14680 14681# This must be Linux ELF. 14682linux* | k*bsd*-gnu) 14683 version_type=linux 14684 need_lib_prefix=no 14685 need_version=no 14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14687 soname_spec='${libname}${release}${shared_ext}$major' 14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 14689 shlibpath_var=LD_LIBRARY_PATH 14690 shlibpath_overrides_runpath=no 14691 # Some binutils ld are patched to set DT_RUNPATH 14692 save_LDFLAGS=$LDFLAGS 14693 save_libdir=$libdir 14694 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 14695 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 14696 cat >conftest.$ac_ext <<_ACEOF 14697/* confdefs.h. */ 14698_ACEOF 14699cat confdefs.h >>conftest.$ac_ext 14700cat >>conftest.$ac_ext <<_ACEOF 14701/* end confdefs.h. */ 14702 14703int 14704main () 14705{ 14706 14707 ; 14708 return 0; 14709} 14710_ACEOF 14711rm -f conftest.$ac_objext conftest$ac_exeext 14712if { (ac_try="$ac_link" 14713case "(($ac_try" in 14714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14715 *) ac_try_echo=$ac_try;; 14716esac 14717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14718 (eval "$ac_link") 2>conftest.er1 14719 ac_status=$? 14720 grep -v '^ *+' conftest.er1 >conftest.err 14721 rm -f conftest.er1 14722 cat conftest.err >&5 14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14724 (exit $ac_status); } && { 14725 test -z "$ac_cxx_werror_flag" || 14726 test ! -s conftest.err 14727 } && test -s conftest$ac_exeext && 14728 $as_test_x conftest$ac_exeext; then 14729 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 14730 shlibpath_overrides_runpath=yes 14731fi 14732 14733else 14734 echo "$as_me: failed program was:" >&5 14735sed 's/^/| /' conftest.$ac_ext >&5 14736 14737 14738fi 14739 14740rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14741 conftest$ac_exeext conftest.$ac_ext 14742 LDFLAGS=$save_LDFLAGS 14743 libdir=$save_libdir 14744 14745 # This implies no fast_install, which is unacceptable. 14746 # Some rework will be needed to allow for fast_install 14747 # before this can be enabled. 14748 hardcode_into_libs=yes 14749 14750 # Append ld.so.conf contents to the search path 14751 if test -f /etc/ld.so.conf; then 14752 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' ' '` 14753 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 14754 fi 14755 14756 # We used to test for /lib/ld.so.1 and disable shared libraries on 14757 # powerpc, because MkLinux only supported shared libraries with the 14758 # GNU dynamic linker. Since this was broken with cross compilers, 14759 # most powerpc-linux boxes support dynamic linking these days and 14760 # people can always --disable-shared, the test was removed, and we 14761 # assume the GNU/Linux dynamic linker is in use. 14762 dynamic_linker='GNU/Linux ld.so' 14763 ;; 14764 14765netbsdelf*-gnu) 14766 version_type=linux 14767 need_lib_prefix=no 14768 need_version=no 14769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14770 soname_spec='${libname}${release}${shared_ext}$major' 14771 shlibpath_var=LD_LIBRARY_PATH 14772 shlibpath_overrides_runpath=no 14773 hardcode_into_libs=yes 14774 dynamic_linker='NetBSD ld.elf_so' 14775 ;; 14776 14777netbsd*) 14778 version_type=sunos 14779 need_lib_prefix=no 14780 need_version=no 14781 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14783 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14784 dynamic_linker='NetBSD (a.out) ld.so' 14785 else 14786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 14787 soname_spec='${libname}${release}${shared_ext}$major' 14788 dynamic_linker='NetBSD ld.elf_so' 14789 fi 14790 shlibpath_var=LD_LIBRARY_PATH 14791 shlibpath_overrides_runpath=yes 14792 hardcode_into_libs=yes 14793 ;; 14794 14795newsos6) 14796 version_type=linux 14797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14798 shlibpath_var=LD_LIBRARY_PATH 14799 shlibpath_overrides_runpath=yes 14800 ;; 14801 14802*nto* | *qnx*) 14803 version_type=qnx 14804 need_lib_prefix=no 14805 need_version=no 14806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14807 soname_spec='${libname}${release}${shared_ext}$major' 14808 shlibpath_var=LD_LIBRARY_PATH 14809 shlibpath_overrides_runpath=no 14810 hardcode_into_libs=yes 14811 dynamic_linker='ldqnx.so' 14812 ;; 14813 14814openbsd*) 14815 version_type=sunos 14816 sys_lib_dlsearch_path_spec="/usr/lib" 14817 need_lib_prefix=no 14818 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 14819 case $host_os in 14820 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 14821 *) need_version=no ;; 14822 esac 14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14824 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 14825 shlibpath_var=LD_LIBRARY_PATH 14826 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 14827 case $host_os in 14828 openbsd2.[89] | openbsd2.[89].*) 14829 shlibpath_overrides_runpath=no 14830 ;; 14831 *) 14832 shlibpath_overrides_runpath=yes 14833 ;; 14834 esac 14835 else 14836 shlibpath_overrides_runpath=yes 14837 fi 14838 ;; 14839 14840os2*) 14841 libname_spec='$name' 14842 shrext_cmds=".dll" 14843 need_lib_prefix=no 14844 library_names_spec='$libname${shared_ext} $libname.a' 14845 dynamic_linker='OS/2 ld.exe' 14846 shlibpath_var=LIBPATH 14847 ;; 14848 14849osf3* | osf4* | osf5*) 14850 version_type=osf 14851 need_lib_prefix=no 14852 need_version=no 14853 soname_spec='${libname}${release}${shared_ext}$major' 14854 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14855 shlibpath_var=LD_LIBRARY_PATH 14856 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 14857 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 14858 ;; 14859 14860rdos*) 14861 dynamic_linker=no 14862 ;; 14863 14864solaris*) 14865 version_type=linux 14866 need_lib_prefix=no 14867 need_version=no 14868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14869 soname_spec='${libname}${release}${shared_ext}$major' 14870 shlibpath_var=LD_LIBRARY_PATH 14871 shlibpath_overrides_runpath=yes 14872 hardcode_into_libs=yes 14873 # ldd complains unless libraries are executable 14874 postinstall_cmds='chmod +x $lib' 14875 ;; 14876 14877sunos4*) 14878 version_type=sunos 14879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 14880 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 14881 shlibpath_var=LD_LIBRARY_PATH 14882 shlibpath_overrides_runpath=yes 14883 if test "$with_gnu_ld" = yes; then 14884 need_lib_prefix=no 14885 fi 14886 need_version=yes 14887 ;; 14888 14889sysv4 | sysv4.3*) 14890 version_type=linux 14891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14892 soname_spec='${libname}${release}${shared_ext}$major' 14893 shlibpath_var=LD_LIBRARY_PATH 14894 case $host_vendor in 14895 sni) 14896 shlibpath_overrides_runpath=no 14897 need_lib_prefix=no 14898 runpath_var=LD_RUN_PATH 14899 ;; 14900 siemens) 14901 need_lib_prefix=no 14902 ;; 14903 motorola) 14904 need_lib_prefix=no 14905 need_version=no 14906 shlibpath_overrides_runpath=no 14907 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 14908 ;; 14909 esac 14910 ;; 14911 14912sysv4*MP*) 14913 if test -d /usr/nec ;then 14914 version_type=linux 14915 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 14916 soname_spec='$libname${shared_ext}.$major' 14917 shlibpath_var=LD_LIBRARY_PATH 14918 fi 14919 ;; 14920 14921sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 14922 version_type=freebsd-elf 14923 need_lib_prefix=no 14924 need_version=no 14925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 14926 soname_spec='${libname}${release}${shared_ext}$major' 14927 shlibpath_var=LD_LIBRARY_PATH 14928 shlibpath_overrides_runpath=yes 14929 hardcode_into_libs=yes 14930 if test "$with_gnu_ld" = yes; then 14931 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 14932 else 14933 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 14934 case $host_os in 14935 sco3.2v5*) 14936 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 14937 ;; 14938 esac 14939 fi 14940 sys_lib_dlsearch_path_spec='/usr/lib' 14941 ;; 14942 14943tpf*) 14944 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 14945 version_type=linux 14946 need_lib_prefix=no 14947 need_version=no 14948 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14949 shlibpath_var=LD_LIBRARY_PATH 14950 shlibpath_overrides_runpath=no 14951 hardcode_into_libs=yes 14952 ;; 14953 14954uts4*) 14955 version_type=linux 14956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 14957 soname_spec='${libname}${release}${shared_ext}$major' 14958 shlibpath_var=LD_LIBRARY_PATH 14959 ;; 14960 14961*) 14962 dynamic_linker=no 14963 ;; 14964esac 14965{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 14966echo "${ECHO_T}$dynamic_linker" >&6; } 14967test "$dynamic_linker" = no && can_build_shared=no 14968 14969variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 14970if test "$GCC" = yes; then 14971 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 14972fi 14973 14974if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 14975 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 14976fi 14977if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 14978 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 14979fi 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 15017echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } 15018hardcode_action_CXX= 15019if test -n "$hardcode_libdir_flag_spec_CXX" || 15020 test -n "$runpath_var_CXX" || 15021 test "X$hardcode_automatic_CXX" = "Xyes" ; then 15022 15023 # We can hardcode non-existent directories. 15024 if test "$hardcode_direct_CXX" != no && 15025 # If the only mechanism to avoid hardcoding is shlibpath_var, we 15026 # have to relink, otherwise we might link with an installed library 15027 # when we should be linking with a yet-to-be-installed one 15028 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && 15029 test "$hardcode_minus_L_CXX" != no; then 15030 # Linking always hardcodes the temporary library directory. 15031 hardcode_action_CXX=relink 15032 else 15033 # We can link without hardcoding, and we can hardcode nonexisting dirs. 15034 hardcode_action_CXX=immediate 15035 fi 15036else 15037 # We cannot hardcode anything, or else we can only hardcode existing 15038 # directories. 15039 hardcode_action_CXX=unsupported 15040fi 15041{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 15042echo "${ECHO_T}$hardcode_action_CXX" >&6; } 15043 15044if test "$hardcode_action_CXX" = relink || 15045 test "$inherit_rpath_CXX" = yes; then 15046 # Fast installation is not supported 15047 enable_fast_install=no 15048elif test "$shlibpath_overrides_runpath" = yes || 15049 test "$enable_shared" = no; then 15050 # Fast installation is not necessary 15051 enable_fast_install=needless 15052fi 15053 15054 15055 15056 15057 15058 15059 15060 fi # test -n "$compiler" 15061 15062 CC=$lt_save_CC 15063 LDCXX=$LD 15064 LD=$lt_save_LD 15065 GCC=$lt_save_GCC 15066 with_gnu_ld=$lt_save_with_gnu_ld 15067 lt_cv_path_LDCXX=$lt_cv_path_LD 15068 lt_cv_path_LD=$lt_save_path_LD 15069 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 15070 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 15071fi # test "$_lt_caught_CXX_error" != yes 15072 15073ac_ext=cpp 15074ac_cpp='$CXXCPP $CPPFLAGS' 15075ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 15076ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 15077ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 ac_config_commands="$ac_config_commands libtool" 15092 15093 15094 15095 15096# Only expand once: 15097 15098 15099 15100# Extract the first word of "lsb_release", so it can be a program name with args. 15101set dummy lsb_release; ac_word=$2 15102{ echo "$as_me:$LINENO: checking for $ac_word" >&5 15103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 15104if test "${ac_cv_path_LSB_RELEASE+set}" = set; then 15105 echo $ECHO_N "(cached) $ECHO_C" >&6 15106else 15107 case $LSB_RELEASE in 15108 [\\/]* | ?:[\\/]*) 15109 ac_cv_path_LSB_RELEASE="$LSB_RELEASE" # Let the user override the test with a path. 15110 ;; 15111 *) 15112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15113for as_dir in $PATH 15114do 15115 IFS=$as_save_IFS 15116 test -z "$as_dir" && as_dir=. 15117 for ac_exec_ext in '' $ac_executable_extensions; do 15118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 15119 ac_cv_path_LSB_RELEASE="$as_dir/$ac_word$ac_exec_ext" 15120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 15121 break 2 15122 fi 15123done 15124done 15125IFS=$as_save_IFS 15126 15127 test -z "$ac_cv_path_LSB_RELEASE" && ac_cv_path_LSB_RELEASE="no" 15128 ;; 15129esac 15130fi 15131LSB_RELEASE=$ac_cv_path_LSB_RELEASE 15132if test -n "$LSB_RELEASE"; then 15133 { echo "$as_me:$LINENO: result: $LSB_RELEASE" >&5 15134echo "${ECHO_T}$LSB_RELEASE" >&6; } 15135else 15136 { echo "$as_me:$LINENO: result: no" >&5 15137echo "${ECHO_T}no" >&6; } 15138fi 15139 15140 15141 15142# --------------------------------------------------------------------- 15143# Checks for libraries. 15144# --------------------------------------------------------------------- 15145 15146# --------------------------------------------------------------------- 15147# Checks for header files. 15148# --------------------------------------------------------------------- 15149 15150{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 15151echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 15152if test "${ac_cv_header_stdc+set}" = set; then 15153 echo $ECHO_N "(cached) $ECHO_C" >&6 15154else 15155 cat >conftest.$ac_ext <<_ACEOF 15156/* confdefs.h. */ 15157_ACEOF 15158cat confdefs.h >>conftest.$ac_ext 15159cat >>conftest.$ac_ext <<_ACEOF 15160/* end confdefs.h. */ 15161#include <stdlib.h> 15162#include <stdarg.h> 15163#include <string.h> 15164#include <float.h> 15165 15166int 15167main () 15168{ 15169 15170 ; 15171 return 0; 15172} 15173_ACEOF 15174rm -f conftest.$ac_objext 15175if { (ac_try="$ac_compile" 15176case "(($ac_try" in 15177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15178 *) ac_try_echo=$ac_try;; 15179esac 15180eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15181 (eval "$ac_compile") 2>conftest.er1 15182 ac_status=$? 15183 grep -v '^ *+' conftest.er1 >conftest.err 15184 rm -f conftest.er1 15185 cat conftest.err >&5 15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15187 (exit $ac_status); } && { 15188 test -z "$ac_cxx_werror_flag" || 15189 test ! -s conftest.err 15190 } && test -s conftest.$ac_objext; then 15191 ac_cv_header_stdc=yes 15192else 15193 echo "$as_me: failed program was:" >&5 15194sed 's/^/| /' conftest.$ac_ext >&5 15195 15196 ac_cv_header_stdc=no 15197fi 15198 15199rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15200 15201if test $ac_cv_header_stdc = yes; then 15202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 15203 cat >conftest.$ac_ext <<_ACEOF 15204/* confdefs.h. */ 15205_ACEOF 15206cat confdefs.h >>conftest.$ac_ext 15207cat >>conftest.$ac_ext <<_ACEOF 15208/* end confdefs.h. */ 15209#include <string.h> 15210 15211_ACEOF 15212if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15213 $EGREP "memchr" >/dev/null 2>&1; then 15214 : 15215else 15216 ac_cv_header_stdc=no 15217fi 15218rm -f conftest* 15219 15220fi 15221 15222if test $ac_cv_header_stdc = yes; then 15223 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 15224 cat >conftest.$ac_ext <<_ACEOF 15225/* confdefs.h. */ 15226_ACEOF 15227cat confdefs.h >>conftest.$ac_ext 15228cat >>conftest.$ac_ext <<_ACEOF 15229/* end confdefs.h. */ 15230#include <stdlib.h> 15231 15232_ACEOF 15233if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15234 $EGREP "free" >/dev/null 2>&1; then 15235 : 15236else 15237 ac_cv_header_stdc=no 15238fi 15239rm -f conftest* 15240 15241fi 15242 15243if test $ac_cv_header_stdc = yes; then 15244 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 15245 if test "$cross_compiling" = yes; then 15246 : 15247else 15248 cat >conftest.$ac_ext <<_ACEOF 15249/* confdefs.h. */ 15250_ACEOF 15251cat confdefs.h >>conftest.$ac_ext 15252cat >>conftest.$ac_ext <<_ACEOF 15253/* end confdefs.h. */ 15254#include <ctype.h> 15255#include <stdlib.h> 15256#if ((' ' & 0x0FF) == 0x020) 15257# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 15258# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 15259#else 15260# define ISLOWER(c) \ 15261 (('a' <= (c) && (c) <= 'i') \ 15262 || ('j' <= (c) && (c) <= 'r') \ 15263 || ('s' <= (c) && (c) <= 'z')) 15264# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 15265#endif 15266 15267#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 15268int 15269main () 15270{ 15271 int i; 15272 for (i = 0; i < 256; i++) 15273 if (XOR (islower (i), ISLOWER (i)) 15274 || toupper (i) != TOUPPER (i)) 15275 return 2; 15276 return 0; 15277} 15278_ACEOF 15279rm -f conftest$ac_exeext 15280if { (ac_try="$ac_link" 15281case "(($ac_try" in 15282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15283 *) ac_try_echo=$ac_try;; 15284esac 15285eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15286 (eval "$ac_link") 2>&5 15287 ac_status=$? 15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15290 { (case "(($ac_try" in 15291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15292 *) ac_try_echo=$ac_try;; 15293esac 15294eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15295 (eval "$ac_try") 2>&5 15296 ac_status=$? 15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15298 (exit $ac_status); }; }; then 15299 : 15300else 15301 echo "$as_me: program exited with status $ac_status" >&5 15302echo "$as_me: failed program was:" >&5 15303sed 's/^/| /' conftest.$ac_ext >&5 15304 15305( exit $ac_status ) 15306ac_cv_header_stdc=no 15307fi 15308rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15309fi 15310 15311 15312fi 15313fi 15314{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 15315echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 15316if test $ac_cv_header_stdc = yes; then 15317 15318cat >>confdefs.h <<\_ACEOF 15319#define STDC_HEADERS 1 15320_ACEOF 15321 15322fi 15323 15324 15325 15326 15327 15328 15329 15330for ac_header in limits.h malloc.h memory.h stddef.h stdlib.h string.h 15331do 15332as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 15333if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15334 { echo "$as_me:$LINENO: checking for $ac_header" >&5 15335echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15336if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15337 echo $ECHO_N "(cached) $ECHO_C" >&6 15338fi 15339ac_res=`eval echo '${'$as_ac_Header'}'` 15340 { echo "$as_me:$LINENO: result: $ac_res" >&5 15341echo "${ECHO_T}$ac_res" >&6; } 15342else 15343 # Is the header compilable? 15344{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 15345echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 15346cat >conftest.$ac_ext <<_ACEOF 15347/* confdefs.h. */ 15348_ACEOF 15349cat confdefs.h >>conftest.$ac_ext 15350cat >>conftest.$ac_ext <<_ACEOF 15351/* end confdefs.h. */ 15352$ac_includes_default 15353#include <$ac_header> 15354_ACEOF 15355rm -f conftest.$ac_objext 15356if { (ac_try="$ac_compile" 15357case "(($ac_try" in 15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15359 *) ac_try_echo=$ac_try;; 15360esac 15361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15362 (eval "$ac_compile") 2>conftest.er1 15363 ac_status=$? 15364 grep -v '^ *+' conftest.er1 >conftest.err 15365 rm -f conftest.er1 15366 cat conftest.err >&5 15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15368 (exit $ac_status); } && { 15369 test -z "$ac_cxx_werror_flag" || 15370 test ! -s conftest.err 15371 } && test -s conftest.$ac_objext; then 15372 ac_header_compiler=yes 15373else 15374 echo "$as_me: failed program was:" >&5 15375sed 's/^/| /' conftest.$ac_ext >&5 15376 15377 ac_header_compiler=no 15378fi 15379 15380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15381{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15382echo "${ECHO_T}$ac_header_compiler" >&6; } 15383 15384# Is the header present? 15385{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 15386echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 15387cat >conftest.$ac_ext <<_ACEOF 15388/* confdefs.h. */ 15389_ACEOF 15390cat confdefs.h >>conftest.$ac_ext 15391cat >>conftest.$ac_ext <<_ACEOF 15392/* end confdefs.h. */ 15393#include <$ac_header> 15394_ACEOF 15395if { (ac_try="$ac_cpp conftest.$ac_ext" 15396case "(($ac_try" in 15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15398 *) ac_try_echo=$ac_try;; 15399esac 15400eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15402 ac_status=$? 15403 grep -v '^ *+' conftest.er1 >conftest.err 15404 rm -f conftest.er1 15405 cat conftest.err >&5 15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15407 (exit $ac_status); } >/dev/null && { 15408 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 15409 test ! -s conftest.err 15410 }; then 15411 ac_header_preproc=yes 15412else 15413 echo "$as_me: failed program was:" >&5 15414sed 's/^/| /' conftest.$ac_ext >&5 15415 15416 ac_header_preproc=no 15417fi 15418 15419rm -f conftest.err conftest.$ac_ext 15420{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15421echo "${ECHO_T}$ac_header_preproc" >&6; } 15422 15423# So? What about this header? 15424case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 15425 yes:no: ) 15426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 15427echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 15428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 15429echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 15430 ac_header_preproc=yes 15431 ;; 15432 no:yes:* ) 15433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 15434echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 15435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 15436echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 15437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 15438echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 15439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 15440echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 15441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 15442echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 15443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 15444echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 15445 ( cat <<\_ASBOX 15446## ------------------------------------------------------ ## 15447## Report this to silgraphite-devel@lists.sourceforge.net ## 15448## ------------------------------------------------------ ## 15449_ASBOX 15450 ) | sed "s/^/$as_me: WARNING: /" >&2 15451 ;; 15452esac 15453{ echo "$as_me:$LINENO: checking for $ac_header" >&5 15454echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 15455if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15456 echo $ECHO_N "(cached) $ECHO_C" >&6 15457else 15458 eval "$as_ac_Header=\$ac_header_preproc" 15459fi 15460ac_res=`eval echo '${'$as_ac_Header'}'` 15461 { echo "$as_me:$LINENO: result: $ac_res" >&5 15462echo "${ECHO_T}$ac_res" >&6; } 15463 15464fi 15465if test `eval echo '${'$as_ac_Header'}'` = yes; then 15466 cat >>confdefs.h <<_ACEOF 15467#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 15468_ACEOF 15469 15470fi 15471 15472done 15473 15474 15475# --------------------------------------------------------------------- 15476# Checks for typedefs, structures, and compiler characteristics. 15477# --------------------------------------------------------------------- 15478{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 15479echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 15480if test "${ac_cv_c_bigendian+set}" = set; then 15481 echo $ECHO_N "(cached) $ECHO_C" >&6 15482else 15483 # See if sys/param.h defines the BYTE_ORDER macro. 15484cat >conftest.$ac_ext <<_ACEOF 15485/* confdefs.h. */ 15486_ACEOF 15487cat confdefs.h >>conftest.$ac_ext 15488cat >>conftest.$ac_ext <<_ACEOF 15489/* end confdefs.h. */ 15490#include <sys/types.h> 15491#include <sys/param.h> 15492 15493int 15494main () 15495{ 15496#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 15497 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 15498 bogus endian macros 15499#endif 15500 15501 ; 15502 return 0; 15503} 15504_ACEOF 15505rm -f conftest.$ac_objext 15506if { (ac_try="$ac_compile" 15507case "(($ac_try" in 15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15509 *) ac_try_echo=$ac_try;; 15510esac 15511eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15512 (eval "$ac_compile") 2>conftest.er1 15513 ac_status=$? 15514 grep -v '^ *+' conftest.er1 >conftest.err 15515 rm -f conftest.er1 15516 cat conftest.err >&5 15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15518 (exit $ac_status); } && { 15519 test -z "$ac_cxx_werror_flag" || 15520 test ! -s conftest.err 15521 } && test -s conftest.$ac_objext; then 15522 # It does; now see whether it defined to BIG_ENDIAN or not. 15523cat >conftest.$ac_ext <<_ACEOF 15524/* confdefs.h. */ 15525_ACEOF 15526cat confdefs.h >>conftest.$ac_ext 15527cat >>conftest.$ac_ext <<_ACEOF 15528/* end confdefs.h. */ 15529#include <sys/types.h> 15530#include <sys/param.h> 15531 15532int 15533main () 15534{ 15535#if BYTE_ORDER != BIG_ENDIAN 15536 not big endian 15537#endif 15538 15539 ; 15540 return 0; 15541} 15542_ACEOF 15543rm -f conftest.$ac_objext 15544if { (ac_try="$ac_compile" 15545case "(($ac_try" in 15546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15547 *) ac_try_echo=$ac_try;; 15548esac 15549eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15550 (eval "$ac_compile") 2>conftest.er1 15551 ac_status=$? 15552 grep -v '^ *+' conftest.er1 >conftest.err 15553 rm -f conftest.er1 15554 cat conftest.err >&5 15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15556 (exit $ac_status); } && { 15557 test -z "$ac_cxx_werror_flag" || 15558 test ! -s conftest.err 15559 } && test -s conftest.$ac_objext; then 15560 ac_cv_c_bigendian=yes 15561else 15562 echo "$as_me: failed program was:" >&5 15563sed 's/^/| /' conftest.$ac_ext >&5 15564 15565 ac_cv_c_bigendian=no 15566fi 15567 15568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15569else 15570 echo "$as_me: failed program was:" >&5 15571sed 's/^/| /' conftest.$ac_ext >&5 15572 15573 # It does not; compile a test program. 15574if test "$cross_compiling" = yes; then 15575 # try to guess the endianness by grepping values into an object file 15576 ac_cv_c_bigendian=unknown 15577 cat >conftest.$ac_ext <<_ACEOF 15578/* confdefs.h. */ 15579_ACEOF 15580cat confdefs.h >>conftest.$ac_ext 15581cat >>conftest.$ac_ext <<_ACEOF 15582/* end confdefs.h. */ 15583short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 15584short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 15585void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 15586short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 15587short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 15588void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 15589int 15590main () 15591{ 15592 _ascii (); _ebcdic (); 15593 ; 15594 return 0; 15595} 15596_ACEOF 15597rm -f conftest.$ac_objext 15598if { (ac_try="$ac_compile" 15599case "(($ac_try" in 15600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15601 *) ac_try_echo=$ac_try;; 15602esac 15603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15604 (eval "$ac_compile") 2>conftest.er1 15605 ac_status=$? 15606 grep -v '^ *+' conftest.er1 >conftest.err 15607 rm -f conftest.er1 15608 cat conftest.err >&5 15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15610 (exit $ac_status); } && { 15611 test -z "$ac_cxx_werror_flag" || 15612 test ! -s conftest.err 15613 } && test -s conftest.$ac_objext; then 15614 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 15615 ac_cv_c_bigendian=yes 15616fi 15617if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 15618 if test "$ac_cv_c_bigendian" = unknown; then 15619 ac_cv_c_bigendian=no 15620 else 15621 # finding both strings is unlikely to happen, but who knows? 15622 ac_cv_c_bigendian=unknown 15623 fi 15624fi 15625else 15626 echo "$as_me: failed program was:" >&5 15627sed 's/^/| /' conftest.$ac_ext >&5 15628 15629 15630fi 15631 15632rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15633else 15634 cat >conftest.$ac_ext <<_ACEOF 15635/* confdefs.h. */ 15636_ACEOF 15637cat confdefs.h >>conftest.$ac_ext 15638cat >>conftest.$ac_ext <<_ACEOF 15639/* end confdefs.h. */ 15640$ac_includes_default 15641int 15642main () 15643{ 15644 15645 /* Are we little or big endian? From Harbison&Steele. */ 15646 union 15647 { 15648 long int l; 15649 char c[sizeof (long int)]; 15650 } u; 15651 u.l = 1; 15652 return u.c[sizeof (long int) - 1] == 1; 15653 15654 ; 15655 return 0; 15656} 15657_ACEOF 15658rm -f conftest$ac_exeext 15659if { (ac_try="$ac_link" 15660case "(($ac_try" in 15661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15662 *) ac_try_echo=$ac_try;; 15663esac 15664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15665 (eval "$ac_link") 2>&5 15666 ac_status=$? 15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15669 { (case "(($ac_try" in 15670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15671 *) ac_try_echo=$ac_try;; 15672esac 15673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15674 (eval "$ac_try") 2>&5 15675 ac_status=$? 15676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15677 (exit $ac_status); }; }; then 15678 ac_cv_c_bigendian=no 15679else 15680 echo "$as_me: program exited with status $ac_status" >&5 15681echo "$as_me: failed program was:" >&5 15682sed 's/^/| /' conftest.$ac_ext >&5 15683 15684( exit $ac_status ) 15685ac_cv_c_bigendian=yes 15686fi 15687rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15688fi 15689 15690 15691fi 15692 15693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15694fi 15695{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 15696echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 15697case $ac_cv_c_bigendian in 15698 yes) 15699 15700cat >>confdefs.h <<\_ACEOF 15701#define WORDS_BIGENDIAN 1 15702_ACEOF 15703 ;; 15704 no) 15705 ;; 15706 *) 15707 { { echo "$as_me:$LINENO: error: unknown endianness 15708presetting ac_cv_c_bigendian=no (or yes) will help" >&5 15709echo "$as_me: error: unknown endianness 15710presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 15711 { (exit 1); exit 1; }; } ;; 15712esac 15713 15714{ echo "$as_me:$LINENO: checking for size_t" >&5 15715echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 15716if test "${ac_cv_type_size_t+set}" = set; then 15717 echo $ECHO_N "(cached) $ECHO_C" >&6 15718else 15719 cat >conftest.$ac_ext <<_ACEOF 15720/* confdefs.h. */ 15721_ACEOF 15722cat confdefs.h >>conftest.$ac_ext 15723cat >>conftest.$ac_ext <<_ACEOF 15724/* end confdefs.h. */ 15725$ac_includes_default 15726typedef size_t ac__type_new_; 15727int 15728main () 15729{ 15730if ((ac__type_new_ *) 0) 15731 return 0; 15732if (sizeof (ac__type_new_)) 15733 return 0; 15734 ; 15735 return 0; 15736} 15737_ACEOF 15738rm -f conftest.$ac_objext 15739if { (ac_try="$ac_compile" 15740case "(($ac_try" in 15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15742 *) ac_try_echo=$ac_try;; 15743esac 15744eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15745 (eval "$ac_compile") 2>conftest.er1 15746 ac_status=$? 15747 grep -v '^ *+' conftest.er1 >conftest.err 15748 rm -f conftest.er1 15749 cat conftest.err >&5 15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15751 (exit $ac_status); } && { 15752 test -z "$ac_cxx_werror_flag" || 15753 test ! -s conftest.err 15754 } && test -s conftest.$ac_objext; then 15755 ac_cv_type_size_t=yes 15756else 15757 echo "$as_me: failed program was:" >&5 15758sed 's/^/| /' conftest.$ac_ext >&5 15759 15760 ac_cv_type_size_t=no 15761fi 15762 15763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15764fi 15765{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 15766echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 15767if test $ac_cv_type_size_t = yes; then 15768 : 15769else 15770 15771cat >>confdefs.h <<_ACEOF 15772#define size_t unsigned int 15773_ACEOF 15774 15775fi 15776 15777{ echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 15778echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 15779if test "${ac_cv_struct_tm+set}" = set; then 15780 echo $ECHO_N "(cached) $ECHO_C" >&6 15781else 15782 cat >conftest.$ac_ext <<_ACEOF 15783/* confdefs.h. */ 15784_ACEOF 15785cat confdefs.h >>conftest.$ac_ext 15786cat >>conftest.$ac_ext <<_ACEOF 15787/* end confdefs.h. */ 15788#include <sys/types.h> 15789#include <time.h> 15790 15791int 15792main () 15793{ 15794struct tm tm; 15795 int *p = &tm.tm_sec; 15796 return !p; 15797 ; 15798 return 0; 15799} 15800_ACEOF 15801rm -f conftest.$ac_objext 15802if { (ac_try="$ac_compile" 15803case "(($ac_try" in 15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15805 *) ac_try_echo=$ac_try;; 15806esac 15807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15808 (eval "$ac_compile") 2>conftest.er1 15809 ac_status=$? 15810 grep -v '^ *+' conftest.er1 >conftest.err 15811 rm -f conftest.er1 15812 cat conftest.err >&5 15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15814 (exit $ac_status); } && { 15815 test -z "$ac_cxx_werror_flag" || 15816 test ! -s conftest.err 15817 } && test -s conftest.$ac_objext; then 15818 ac_cv_struct_tm=time.h 15819else 15820 echo "$as_me: failed program was:" >&5 15821sed 's/^/| /' conftest.$ac_ext >&5 15822 15823 ac_cv_struct_tm=sys/time.h 15824fi 15825 15826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15827fi 15828{ echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 15829echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 15830if test $ac_cv_struct_tm = sys/time.h; then 15831 15832cat >>confdefs.h <<\_ACEOF 15833#define TM_IN_SYS_TIME 1 15834_ACEOF 15835 15836fi 15837 15838{ echo "$as_me:$LINENO: checking for wchar_t" >&5 15839echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; } 15840if test "${ac_cv_type_wchar_t+set}" = set; then 15841 echo $ECHO_N "(cached) $ECHO_C" >&6 15842else 15843 cat >conftest.$ac_ext <<_ACEOF 15844/* confdefs.h. */ 15845_ACEOF 15846cat confdefs.h >>conftest.$ac_ext 15847cat >>conftest.$ac_ext <<_ACEOF 15848/* end confdefs.h. */ 15849$ac_includes_default 15850typedef wchar_t ac__type_new_; 15851int 15852main () 15853{ 15854if ((ac__type_new_ *) 0) 15855 return 0; 15856if (sizeof (ac__type_new_)) 15857 return 0; 15858 ; 15859 return 0; 15860} 15861_ACEOF 15862rm -f conftest.$ac_objext 15863if { (ac_try="$ac_compile" 15864case "(($ac_try" in 15865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15866 *) ac_try_echo=$ac_try;; 15867esac 15868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15869 (eval "$ac_compile") 2>conftest.er1 15870 ac_status=$? 15871 grep -v '^ *+' conftest.er1 >conftest.err 15872 rm -f conftest.er1 15873 cat conftest.err >&5 15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15875 (exit $ac_status); } && { 15876 test -z "$ac_cxx_werror_flag" || 15877 test ! -s conftest.err 15878 } && test -s conftest.$ac_objext; then 15879 ac_cv_type_wchar_t=yes 15880else 15881 echo "$as_me: failed program was:" >&5 15882sed 's/^/| /' conftest.$ac_ext >&5 15883 15884 ac_cv_type_wchar_t=no 15885fi 15886 15887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15888fi 15889{ echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5 15890echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; } 15891 15892# The cast to long int works around a bug in the HP C Compiler 15893# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 15894# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 15895# This bug is HP SR number 8606223364. 15896{ echo "$as_me:$LINENO: checking size of wchar_t" >&5 15897echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; } 15898if test "${ac_cv_sizeof_wchar_t+set}" = set; then 15899 echo $ECHO_N "(cached) $ECHO_C" >&6 15900else 15901 if test "$cross_compiling" = yes; then 15902 # Depending upon the size, compute the lo and hi bounds. 15903cat >conftest.$ac_ext <<_ACEOF 15904/* confdefs.h. */ 15905_ACEOF 15906cat confdefs.h >>conftest.$ac_ext 15907cat >>conftest.$ac_ext <<_ACEOF 15908/* end confdefs.h. */ 15909$ac_includes_default 15910 typedef wchar_t ac__type_sizeof_; 15911int 15912main () 15913{ 15914static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 15915test_array [0] = 0 15916 15917 ; 15918 return 0; 15919} 15920_ACEOF 15921rm -f conftest.$ac_objext 15922if { (ac_try="$ac_compile" 15923case "(($ac_try" in 15924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15925 *) ac_try_echo=$ac_try;; 15926esac 15927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15928 (eval "$ac_compile") 2>conftest.er1 15929 ac_status=$? 15930 grep -v '^ *+' conftest.er1 >conftest.err 15931 rm -f conftest.er1 15932 cat conftest.err >&5 15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15934 (exit $ac_status); } && { 15935 test -z "$ac_cxx_werror_flag" || 15936 test ! -s conftest.err 15937 } && test -s conftest.$ac_objext; then 15938 ac_lo=0 ac_mid=0 15939 while :; do 15940 cat >conftest.$ac_ext <<_ACEOF 15941/* confdefs.h. */ 15942_ACEOF 15943cat confdefs.h >>conftest.$ac_ext 15944cat >>conftest.$ac_ext <<_ACEOF 15945/* end confdefs.h. */ 15946$ac_includes_default 15947 typedef wchar_t ac__type_sizeof_; 15948int 15949main () 15950{ 15951static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 15952test_array [0] = 0 15953 15954 ; 15955 return 0; 15956} 15957_ACEOF 15958rm -f conftest.$ac_objext 15959if { (ac_try="$ac_compile" 15960case "(($ac_try" in 15961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15962 *) ac_try_echo=$ac_try;; 15963esac 15964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15965 (eval "$ac_compile") 2>conftest.er1 15966 ac_status=$? 15967 grep -v '^ *+' conftest.er1 >conftest.err 15968 rm -f conftest.er1 15969 cat conftest.err >&5 15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15971 (exit $ac_status); } && { 15972 test -z "$ac_cxx_werror_flag" || 15973 test ! -s conftest.err 15974 } && test -s conftest.$ac_objext; then 15975 ac_hi=$ac_mid; break 15976else 15977 echo "$as_me: failed program was:" >&5 15978sed 's/^/| /' conftest.$ac_ext >&5 15979 15980 ac_lo=`expr $ac_mid + 1` 15981 if test $ac_lo -le $ac_mid; then 15982 ac_lo= ac_hi= 15983 break 15984 fi 15985 ac_mid=`expr 2 '*' $ac_mid + 1` 15986fi 15987 15988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15989 done 15990else 15991 echo "$as_me: failed program was:" >&5 15992sed 's/^/| /' conftest.$ac_ext >&5 15993 15994 cat >conftest.$ac_ext <<_ACEOF 15995/* confdefs.h. */ 15996_ACEOF 15997cat confdefs.h >>conftest.$ac_ext 15998cat >>conftest.$ac_ext <<_ACEOF 15999/* end confdefs.h. */ 16000$ac_includes_default 16001 typedef wchar_t ac__type_sizeof_; 16002int 16003main () 16004{ 16005static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 16006test_array [0] = 0 16007 16008 ; 16009 return 0; 16010} 16011_ACEOF 16012rm -f conftest.$ac_objext 16013if { (ac_try="$ac_compile" 16014case "(($ac_try" in 16015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16016 *) ac_try_echo=$ac_try;; 16017esac 16018eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16019 (eval "$ac_compile") 2>conftest.er1 16020 ac_status=$? 16021 grep -v '^ *+' conftest.er1 >conftest.err 16022 rm -f conftest.er1 16023 cat conftest.err >&5 16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16025 (exit $ac_status); } && { 16026 test -z "$ac_cxx_werror_flag" || 16027 test ! -s conftest.err 16028 } && test -s conftest.$ac_objext; then 16029 ac_hi=-1 ac_mid=-1 16030 while :; do 16031 cat >conftest.$ac_ext <<_ACEOF 16032/* confdefs.h. */ 16033_ACEOF 16034cat confdefs.h >>conftest.$ac_ext 16035cat >>conftest.$ac_ext <<_ACEOF 16036/* end confdefs.h. */ 16037$ac_includes_default 16038 typedef wchar_t ac__type_sizeof_; 16039int 16040main () 16041{ 16042static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 16043test_array [0] = 0 16044 16045 ; 16046 return 0; 16047} 16048_ACEOF 16049rm -f conftest.$ac_objext 16050if { (ac_try="$ac_compile" 16051case "(($ac_try" in 16052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16053 *) ac_try_echo=$ac_try;; 16054esac 16055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16056 (eval "$ac_compile") 2>conftest.er1 16057 ac_status=$? 16058 grep -v '^ *+' conftest.er1 >conftest.err 16059 rm -f conftest.er1 16060 cat conftest.err >&5 16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16062 (exit $ac_status); } && { 16063 test -z "$ac_cxx_werror_flag" || 16064 test ! -s conftest.err 16065 } && test -s conftest.$ac_objext; then 16066 ac_lo=$ac_mid; break 16067else 16068 echo "$as_me: failed program was:" >&5 16069sed 's/^/| /' conftest.$ac_ext >&5 16070 16071 ac_hi=`expr '(' $ac_mid ')' - 1` 16072 if test $ac_mid -le $ac_hi; then 16073 ac_lo= ac_hi= 16074 break 16075 fi 16076 ac_mid=`expr 2 '*' $ac_mid` 16077fi 16078 16079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16080 done 16081else 16082 echo "$as_me: failed program was:" >&5 16083sed 's/^/| /' conftest.$ac_ext >&5 16084 16085 ac_lo= ac_hi= 16086fi 16087 16088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16089fi 16090 16091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16092# Binary search between lo and hi bounds. 16093while test "x$ac_lo" != "x$ac_hi"; do 16094 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16095 cat >conftest.$ac_ext <<_ACEOF 16096/* confdefs.h. */ 16097_ACEOF 16098cat confdefs.h >>conftest.$ac_ext 16099cat >>conftest.$ac_ext <<_ACEOF 16100/* end confdefs.h. */ 16101$ac_includes_default 16102 typedef wchar_t ac__type_sizeof_; 16103int 16104main () 16105{ 16106static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 16107test_array [0] = 0 16108 16109 ; 16110 return 0; 16111} 16112_ACEOF 16113rm -f conftest.$ac_objext 16114if { (ac_try="$ac_compile" 16115case "(($ac_try" in 16116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16117 *) ac_try_echo=$ac_try;; 16118esac 16119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16120 (eval "$ac_compile") 2>conftest.er1 16121 ac_status=$? 16122 grep -v '^ *+' conftest.er1 >conftest.err 16123 rm -f conftest.er1 16124 cat conftest.err >&5 16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16126 (exit $ac_status); } && { 16127 test -z "$ac_cxx_werror_flag" || 16128 test ! -s conftest.err 16129 } && test -s conftest.$ac_objext; then 16130 ac_hi=$ac_mid 16131else 16132 echo "$as_me: failed program was:" >&5 16133sed 's/^/| /' conftest.$ac_ext >&5 16134 16135 ac_lo=`expr '(' $ac_mid ')' + 1` 16136fi 16137 16138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16139done 16140case $ac_lo in 16141?*) ac_cv_sizeof_wchar_t=$ac_lo;; 16142'') if test "$ac_cv_type_wchar_t" = yes; then 16143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t) 16144See \`config.log' for more details." >&5 16145echo "$as_me: error: cannot compute sizeof (wchar_t) 16146See \`config.log' for more details." >&2;} 16147 { (exit 77); exit 77; }; } 16148 else 16149 ac_cv_sizeof_wchar_t=0 16150 fi ;; 16151esac 16152else 16153 cat >conftest.$ac_ext <<_ACEOF 16154/* confdefs.h. */ 16155_ACEOF 16156cat confdefs.h >>conftest.$ac_ext 16157cat >>conftest.$ac_ext <<_ACEOF 16158/* end confdefs.h. */ 16159$ac_includes_default 16160 typedef wchar_t ac__type_sizeof_; 16161static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 16162static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 16163#include <stdio.h> 16164#include <stdlib.h> 16165int 16166main () 16167{ 16168 16169 FILE *f = fopen ("conftest.val", "w"); 16170 if (! f) 16171 return 1; 16172 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 16173 { 16174 long int i = longval (); 16175 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 16176 return 1; 16177 fprintf (f, "%ld\n", i); 16178 } 16179 else 16180 { 16181 unsigned long int i = ulongval (); 16182 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 16183 return 1; 16184 fprintf (f, "%lu\n", i); 16185 } 16186 return ferror (f) || fclose (f) != 0; 16187 16188 ; 16189 return 0; 16190} 16191_ACEOF 16192rm -f conftest$ac_exeext 16193if { (ac_try="$ac_link" 16194case "(($ac_try" in 16195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16196 *) ac_try_echo=$ac_try;; 16197esac 16198eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16199 (eval "$ac_link") 2>&5 16200 ac_status=$? 16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16203 { (case "(($ac_try" in 16204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16205 *) ac_try_echo=$ac_try;; 16206esac 16207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16208 (eval "$ac_try") 2>&5 16209 ac_status=$? 16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16211 (exit $ac_status); }; }; then 16212 ac_cv_sizeof_wchar_t=`cat conftest.val` 16213else 16214 echo "$as_me: program exited with status $ac_status" >&5 16215echo "$as_me: failed program was:" >&5 16216sed 's/^/| /' conftest.$ac_ext >&5 16217 16218( exit $ac_status ) 16219if test "$ac_cv_type_wchar_t" = yes; then 16220 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t) 16221See \`config.log' for more details." >&5 16222echo "$as_me: error: cannot compute sizeof (wchar_t) 16223See \`config.log' for more details." >&2;} 16224 { (exit 77); exit 77; }; } 16225 else 16226 ac_cv_sizeof_wchar_t=0 16227 fi 16228fi 16229rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16230fi 16231rm -f conftest.val 16232fi 16233{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5 16234echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; } 16235 16236 16237 16238cat >>confdefs.h <<_ACEOF 16239#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 16240_ACEOF 16241 16242 16243 16244 16245# --------------------------------------------------------------------- 16246# Checks for library functions. 16247# --------------------------------------------------------------------- 16248{ echo "$as_me:$LINENO: checking for error_at_line" >&5 16249echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; } 16250if test "${ac_cv_lib_error_at_line+set}" = set; then 16251 echo $ECHO_N "(cached) $ECHO_C" >&6 16252else 16253 cat >conftest.$ac_ext <<_ACEOF 16254/* confdefs.h. */ 16255_ACEOF 16256cat confdefs.h >>conftest.$ac_ext 16257cat >>conftest.$ac_ext <<_ACEOF 16258/* end confdefs.h. */ 16259#include <error.h> 16260int 16261main () 16262{ 16263error_at_line (0, 0, "", 0, "an error occurred"); 16264 ; 16265 return 0; 16266} 16267_ACEOF 16268rm -f conftest.$ac_objext conftest$ac_exeext 16269if { (ac_try="$ac_link" 16270case "(($ac_try" in 16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16272 *) ac_try_echo=$ac_try;; 16273esac 16274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16275 (eval "$ac_link") 2>conftest.er1 16276 ac_status=$? 16277 grep -v '^ *+' conftest.er1 >conftest.err 16278 rm -f conftest.er1 16279 cat conftest.err >&5 16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16281 (exit $ac_status); } && { 16282 test -z "$ac_cxx_werror_flag" || 16283 test ! -s conftest.err 16284 } && test -s conftest$ac_exeext && 16285 $as_test_x conftest$ac_exeext; then 16286 ac_cv_lib_error_at_line=yes 16287else 16288 echo "$as_me: failed program was:" >&5 16289sed 's/^/| /' conftest.$ac_ext >&5 16290 16291 ac_cv_lib_error_at_line=no 16292fi 16293 16294rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16295 conftest$ac_exeext conftest.$ac_ext 16296fi 16297{ echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5 16298echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; } 16299if test $ac_cv_lib_error_at_line = no; then 16300 case " $LIBOBJS " in 16301 *" error.$ac_objext "* ) ;; 16302 *) LIBOBJS="$LIBOBJS error.$ac_objext" 16303 ;; 16304esac 16305 16306fi 16307 16308 16309for ac_header in stdlib.h 16310do 16311as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16312if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16313 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16314echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16315if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16316 echo $ECHO_N "(cached) $ECHO_C" >&6 16317fi 16318ac_res=`eval echo '${'$as_ac_Header'}'` 16319 { echo "$as_me:$LINENO: result: $ac_res" >&5 16320echo "${ECHO_T}$ac_res" >&6; } 16321else 16322 # Is the header compilable? 16323{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 16324echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 16325cat >conftest.$ac_ext <<_ACEOF 16326/* confdefs.h. */ 16327_ACEOF 16328cat confdefs.h >>conftest.$ac_ext 16329cat >>conftest.$ac_ext <<_ACEOF 16330/* end confdefs.h. */ 16331$ac_includes_default 16332#include <$ac_header> 16333_ACEOF 16334rm -f conftest.$ac_objext 16335if { (ac_try="$ac_compile" 16336case "(($ac_try" in 16337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16338 *) ac_try_echo=$ac_try;; 16339esac 16340eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16341 (eval "$ac_compile") 2>conftest.er1 16342 ac_status=$? 16343 grep -v '^ *+' conftest.er1 >conftest.err 16344 rm -f conftest.er1 16345 cat conftest.err >&5 16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16347 (exit $ac_status); } && { 16348 test -z "$ac_cxx_werror_flag" || 16349 test ! -s conftest.err 16350 } && test -s conftest.$ac_objext; then 16351 ac_header_compiler=yes 16352else 16353 echo "$as_me: failed program was:" >&5 16354sed 's/^/| /' conftest.$ac_ext >&5 16355 16356 ac_header_compiler=no 16357fi 16358 16359rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16360{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16361echo "${ECHO_T}$ac_header_compiler" >&6; } 16362 16363# Is the header present? 16364{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 16365echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 16366cat >conftest.$ac_ext <<_ACEOF 16367/* confdefs.h. */ 16368_ACEOF 16369cat confdefs.h >>conftest.$ac_ext 16370cat >>conftest.$ac_ext <<_ACEOF 16371/* end confdefs.h. */ 16372#include <$ac_header> 16373_ACEOF 16374if { (ac_try="$ac_cpp conftest.$ac_ext" 16375case "(($ac_try" in 16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16377 *) ac_try_echo=$ac_try;; 16378esac 16379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16381 ac_status=$? 16382 grep -v '^ *+' conftest.er1 >conftest.err 16383 rm -f conftest.er1 16384 cat conftest.err >&5 16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16386 (exit $ac_status); } >/dev/null && { 16387 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16388 test ! -s conftest.err 16389 }; then 16390 ac_header_preproc=yes 16391else 16392 echo "$as_me: failed program was:" >&5 16393sed 's/^/| /' conftest.$ac_ext >&5 16394 16395 ac_header_preproc=no 16396fi 16397 16398rm -f conftest.err conftest.$ac_ext 16399{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16400echo "${ECHO_T}$ac_header_preproc" >&6; } 16401 16402# So? What about this header? 16403case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16404 yes:no: ) 16405 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16406echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16408echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16409 ac_header_preproc=yes 16410 ;; 16411 no:yes:* ) 16412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16413echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16415echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16416 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16417echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16418 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16419echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16421echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16422 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16423echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16424 ( cat <<\_ASBOX 16425## ------------------------------------------------------ ## 16426## Report this to silgraphite-devel@lists.sourceforge.net ## 16427## ------------------------------------------------------ ## 16428_ASBOX 16429 ) | sed "s/^/$as_me: WARNING: /" >&2 16430 ;; 16431esac 16432{ echo "$as_me:$LINENO: checking for $ac_header" >&5 16433echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16434if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16435 echo $ECHO_N "(cached) $ECHO_C" >&6 16436else 16437 eval "$as_ac_Header=\$ac_header_preproc" 16438fi 16439ac_res=`eval echo '${'$as_ac_Header'}'` 16440 { echo "$as_me:$LINENO: result: $ac_res" >&5 16441echo "${ECHO_T}$ac_res" >&6; } 16442 16443fi 16444if test `eval echo '${'$as_ac_Header'}'` = yes; then 16445 cat >>confdefs.h <<_ACEOF 16446#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16447_ACEOF 16448 16449fi 16450 16451done 16452 16453{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 16454echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } 16455if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then 16456 echo $ECHO_N "(cached) $ECHO_C" >&6 16457else 16458 if test "$cross_compiling" = yes; then 16459 ac_cv_func_malloc_0_nonnull=no 16460else 16461 cat >conftest.$ac_ext <<_ACEOF 16462/* confdefs.h. */ 16463_ACEOF 16464cat confdefs.h >>conftest.$ac_ext 16465cat >>conftest.$ac_ext <<_ACEOF 16466/* end confdefs.h. */ 16467#if defined STDC_HEADERS || defined HAVE_STDLIB_H 16468# include <stdlib.h> 16469#else 16470char *malloc (); 16471#endif 16472 16473int 16474main () 16475{ 16476return ! malloc (0); 16477 ; 16478 return 0; 16479} 16480_ACEOF 16481rm -f conftest$ac_exeext 16482if { (ac_try="$ac_link" 16483case "(($ac_try" in 16484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16485 *) ac_try_echo=$ac_try;; 16486esac 16487eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16488 (eval "$ac_link") 2>&5 16489 ac_status=$? 16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16491 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16492 { (case "(($ac_try" in 16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16494 *) ac_try_echo=$ac_try;; 16495esac 16496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16497 (eval "$ac_try") 2>&5 16498 ac_status=$? 16499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16500 (exit $ac_status); }; }; then 16501 ac_cv_func_malloc_0_nonnull=yes 16502else 16503 echo "$as_me: program exited with status $ac_status" >&5 16504echo "$as_me: failed program was:" >&5 16505sed 's/^/| /' conftest.$ac_ext >&5 16506 16507( exit $ac_status ) 16508ac_cv_func_malloc_0_nonnull=no 16509fi 16510rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16511fi 16512 16513 16514fi 16515{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 16516echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } 16517if test $ac_cv_func_malloc_0_nonnull = yes; then 16518 16519cat >>confdefs.h <<\_ACEOF 16520#define HAVE_MALLOC 1 16521_ACEOF 16522 16523else 16524 cat >>confdefs.h <<\_ACEOF 16525#define HAVE_MALLOC 0 16526_ACEOF 16527 16528 case " $LIBOBJS " in 16529 *" malloc.$ac_objext "* ) ;; 16530 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 16531 ;; 16532esac 16533 16534 16535cat >>confdefs.h <<\_ACEOF 16536#define malloc rpl_malloc 16537_ACEOF 16538 16539fi 16540 16541 16542 16543{ echo "$as_me:$LINENO: checking for working memcmp" >&5 16544echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; } 16545if test "${ac_cv_func_memcmp_working+set}" = set; then 16546 echo $ECHO_N "(cached) $ECHO_C" >&6 16547else 16548 if test "$cross_compiling" = yes; then 16549 ac_cv_func_memcmp_working=no 16550else 16551 cat >conftest.$ac_ext <<_ACEOF 16552/* confdefs.h. */ 16553_ACEOF 16554cat confdefs.h >>conftest.$ac_ext 16555cat >>conftest.$ac_ext <<_ACEOF 16556/* end confdefs.h. */ 16557$ac_includes_default 16558int 16559main () 16560{ 16561 16562 /* Some versions of memcmp are not 8-bit clean. */ 16563 char c0 = '\100', c1 = '\200', c2 = '\201'; 16564 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) 16565 return 1; 16566 16567 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes 16568 or more and with at least one buffer not starting on a 4-byte boundary. 16569 William Lewis provided this test program. */ 16570 { 16571 char foo[21]; 16572 char bar[21]; 16573 int i; 16574 for (i = 0; i < 4; i++) 16575 { 16576 char *a = foo + i; 16577 char *b = bar + i; 16578 strcpy (a, "--------01111111"); 16579 strcpy (b, "--------10000000"); 16580 if (memcmp (a, b, 16) >= 0) 16581 return 1; 16582 } 16583 return 0; 16584 } 16585 16586 ; 16587 return 0; 16588} 16589_ACEOF 16590rm -f conftest$ac_exeext 16591if { (ac_try="$ac_link" 16592case "(($ac_try" in 16593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16594 *) ac_try_echo=$ac_try;; 16595esac 16596eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16597 (eval "$ac_link") 2>&5 16598 ac_status=$? 16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16601 { (case "(($ac_try" in 16602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16603 *) ac_try_echo=$ac_try;; 16604esac 16605eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16606 (eval "$ac_try") 2>&5 16607 ac_status=$? 16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16609 (exit $ac_status); }; }; then 16610 ac_cv_func_memcmp_working=yes 16611else 16612 echo "$as_me: program exited with status $ac_status" >&5 16613echo "$as_me: failed program was:" >&5 16614sed 's/^/| /' conftest.$ac_ext >&5 16615 16616( exit $ac_status ) 16617ac_cv_func_memcmp_working=no 16618fi 16619rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16620fi 16621 16622 16623fi 16624{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 16625echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; } 16626test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in 16627 *" memcmp.$ac_objext "* ) ;; 16628 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" 16629 ;; 16630esac 16631 16632 16633 16634for ac_header in stdlib.h 16635do 16636as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 16637if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16638 { echo "$as_me:$LINENO: checking for $ac_header" >&5 16639echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16640if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16641 echo $ECHO_N "(cached) $ECHO_C" >&6 16642fi 16643ac_res=`eval echo '${'$as_ac_Header'}'` 16644 { echo "$as_me:$LINENO: result: $ac_res" >&5 16645echo "${ECHO_T}$ac_res" >&6; } 16646else 16647 # Is the header compilable? 16648{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 16649echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 16650cat >conftest.$ac_ext <<_ACEOF 16651/* confdefs.h. */ 16652_ACEOF 16653cat confdefs.h >>conftest.$ac_ext 16654cat >>conftest.$ac_ext <<_ACEOF 16655/* end confdefs.h. */ 16656$ac_includes_default 16657#include <$ac_header> 16658_ACEOF 16659rm -f conftest.$ac_objext 16660if { (ac_try="$ac_compile" 16661case "(($ac_try" in 16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16663 *) ac_try_echo=$ac_try;; 16664esac 16665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16666 (eval "$ac_compile") 2>conftest.er1 16667 ac_status=$? 16668 grep -v '^ *+' conftest.er1 >conftest.err 16669 rm -f conftest.er1 16670 cat conftest.err >&5 16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16672 (exit $ac_status); } && { 16673 test -z "$ac_cxx_werror_flag" || 16674 test ! -s conftest.err 16675 } && test -s conftest.$ac_objext; then 16676 ac_header_compiler=yes 16677else 16678 echo "$as_me: failed program was:" >&5 16679sed 's/^/| /' conftest.$ac_ext >&5 16680 16681 ac_header_compiler=no 16682fi 16683 16684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16685{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 16686echo "${ECHO_T}$ac_header_compiler" >&6; } 16687 16688# Is the header present? 16689{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 16690echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 16691cat >conftest.$ac_ext <<_ACEOF 16692/* confdefs.h. */ 16693_ACEOF 16694cat confdefs.h >>conftest.$ac_ext 16695cat >>conftest.$ac_ext <<_ACEOF 16696/* end confdefs.h. */ 16697#include <$ac_header> 16698_ACEOF 16699if { (ac_try="$ac_cpp conftest.$ac_ext" 16700case "(($ac_try" in 16701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16702 *) ac_try_echo=$ac_try;; 16703esac 16704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 16706 ac_status=$? 16707 grep -v '^ *+' conftest.er1 >conftest.err 16708 rm -f conftest.er1 16709 cat conftest.err >&5 16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16711 (exit $ac_status); } >/dev/null && { 16712 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 16713 test ! -s conftest.err 16714 }; then 16715 ac_header_preproc=yes 16716else 16717 echo "$as_me: failed program was:" >&5 16718sed 's/^/| /' conftest.$ac_ext >&5 16719 16720 ac_header_preproc=no 16721fi 16722 16723rm -f conftest.err conftest.$ac_ext 16724{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 16725echo "${ECHO_T}$ac_header_preproc" >&6; } 16726 16727# So? What about this header? 16728case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 16729 yes:no: ) 16730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 16731echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 16732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 16733echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 16734 ac_header_preproc=yes 16735 ;; 16736 no:yes:* ) 16737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 16738echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 16739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 16740echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 16741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 16742echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 16743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 16744echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 16745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 16746echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 16747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 16748echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 16749 ( cat <<\_ASBOX 16750## ------------------------------------------------------ ## 16751## Report this to silgraphite-devel@lists.sourceforge.net ## 16752## ------------------------------------------------------ ## 16753_ASBOX 16754 ) | sed "s/^/$as_me: WARNING: /" >&2 16755 ;; 16756esac 16757{ echo "$as_me:$LINENO: checking for $ac_header" >&5 16758echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 16759if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 16760 echo $ECHO_N "(cached) $ECHO_C" >&6 16761else 16762 eval "$as_ac_Header=\$ac_header_preproc" 16763fi 16764ac_res=`eval echo '${'$as_ac_Header'}'` 16765 { echo "$as_me:$LINENO: result: $ac_res" >&5 16766echo "${ECHO_T}$ac_res" >&6; } 16767 16768fi 16769if test `eval echo '${'$as_ac_Header'}'` = yes; then 16770 cat >>confdefs.h <<_ACEOF 16771#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 16772_ACEOF 16773 16774fi 16775 16776done 16777 16778{ echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 16779echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } 16780if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then 16781 echo $ECHO_N "(cached) $ECHO_C" >&6 16782else 16783 if test "$cross_compiling" = yes; then 16784 ac_cv_func_realloc_0_nonnull=no 16785else 16786 cat >conftest.$ac_ext <<_ACEOF 16787/* confdefs.h. */ 16788_ACEOF 16789cat confdefs.h >>conftest.$ac_ext 16790cat >>conftest.$ac_ext <<_ACEOF 16791/* end confdefs.h. */ 16792#if defined STDC_HEADERS || defined HAVE_STDLIB_H 16793# include <stdlib.h> 16794#else 16795char *realloc (); 16796#endif 16797 16798int 16799main () 16800{ 16801return ! realloc (0, 0); 16802 ; 16803 return 0; 16804} 16805_ACEOF 16806rm -f conftest$ac_exeext 16807if { (ac_try="$ac_link" 16808case "(($ac_try" in 16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16810 *) ac_try_echo=$ac_try;; 16811esac 16812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16813 (eval "$ac_link") 2>&5 16814 ac_status=$? 16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16817 { (case "(($ac_try" in 16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16819 *) ac_try_echo=$ac_try;; 16820esac 16821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16822 (eval "$ac_try") 2>&5 16823 ac_status=$? 16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16825 (exit $ac_status); }; }; then 16826 ac_cv_func_realloc_0_nonnull=yes 16827else 16828 echo "$as_me: program exited with status $ac_status" >&5 16829echo "$as_me: failed program was:" >&5 16830sed 's/^/| /' conftest.$ac_ext >&5 16831 16832( exit $ac_status ) 16833ac_cv_func_realloc_0_nonnull=no 16834fi 16835rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16836fi 16837 16838 16839fi 16840{ echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 16841echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } 16842if test $ac_cv_func_realloc_0_nonnull = yes; then 16843 16844cat >>confdefs.h <<\_ACEOF 16845#define HAVE_REALLOC 1 16846_ACEOF 16847 16848else 16849 cat >>confdefs.h <<\_ACEOF 16850#define HAVE_REALLOC 0 16851_ACEOF 16852 16853 case " $LIBOBJS " in 16854 *" realloc.$ac_objext "* ) ;; 16855 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 16856 ;; 16857esac 16858 16859 16860cat >>confdefs.h <<\_ACEOF 16861#define realloc rpl_realloc 16862_ACEOF 16863 16864fi 16865 16866 16867 16868 16869for ac_func in vprintf 16870do 16871as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 16872{ echo "$as_me:$LINENO: checking for $ac_func" >&5 16873echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 16874if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16875 echo $ECHO_N "(cached) $ECHO_C" >&6 16876else 16877 cat >conftest.$ac_ext <<_ACEOF 16878/* confdefs.h. */ 16879_ACEOF 16880cat confdefs.h >>conftest.$ac_ext 16881cat >>conftest.$ac_ext <<_ACEOF 16882/* end confdefs.h. */ 16883/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16884 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16885#define $ac_func innocuous_$ac_func 16886 16887/* System header to define __stub macros and hopefully few prototypes, 16888 which can conflict with char $ac_func (); below. 16889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16890 <limits.h> exists even on freestanding compilers. */ 16891 16892#ifdef __STDC__ 16893# include <limits.h> 16894#else 16895# include <assert.h> 16896#endif 16897 16898#undef $ac_func 16899 16900/* Override any GCC internal prototype to avoid an error. 16901 Use char because int might match the return type of a GCC 16902 builtin and then its argument prototype would still apply. */ 16903#ifdef __cplusplus 16904extern "C" 16905#endif 16906char $ac_func (); 16907/* The GNU C library defines this for functions which it implements 16908 to always fail with ENOSYS. Some functions are actually named 16909 something starting with __ and the normal name is an alias. */ 16910#if defined __stub_$ac_func || defined __stub___$ac_func 16911choke me 16912#endif 16913 16914int 16915main () 16916{ 16917return $ac_func (); 16918 ; 16919 return 0; 16920} 16921_ACEOF 16922rm -f conftest.$ac_objext conftest$ac_exeext 16923if { (ac_try="$ac_link" 16924case "(($ac_try" in 16925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16926 *) ac_try_echo=$ac_try;; 16927esac 16928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16929 (eval "$ac_link") 2>conftest.er1 16930 ac_status=$? 16931 grep -v '^ *+' conftest.er1 >conftest.err 16932 rm -f conftest.er1 16933 cat conftest.err >&5 16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16935 (exit $ac_status); } && { 16936 test -z "$ac_cxx_werror_flag" || 16937 test ! -s conftest.err 16938 } && test -s conftest$ac_exeext && 16939 $as_test_x conftest$ac_exeext; then 16940 eval "$as_ac_var=yes" 16941else 16942 echo "$as_me: failed program was:" >&5 16943sed 's/^/| /' conftest.$ac_ext >&5 16944 16945 eval "$as_ac_var=no" 16946fi 16947 16948rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16949 conftest$ac_exeext conftest.$ac_ext 16950fi 16951ac_res=`eval echo '${'$as_ac_var'}'` 16952 { echo "$as_me:$LINENO: result: $ac_res" >&5 16953echo "${ECHO_T}$ac_res" >&6; } 16954if test `eval echo '${'$as_ac_var'}'` = yes; then 16955 cat >>confdefs.h <<_ACEOF 16956#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 16957_ACEOF 16958 16959{ echo "$as_me:$LINENO: checking for _doprnt" >&5 16960echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 16961if test "${ac_cv_func__doprnt+set}" = set; then 16962 echo $ECHO_N "(cached) $ECHO_C" >&6 16963else 16964 cat >conftest.$ac_ext <<_ACEOF 16965/* confdefs.h. */ 16966_ACEOF 16967cat confdefs.h >>conftest.$ac_ext 16968cat >>conftest.$ac_ext <<_ACEOF 16969/* end confdefs.h. */ 16970/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 16971 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16972#define _doprnt innocuous__doprnt 16973 16974/* System header to define __stub macros and hopefully few prototypes, 16975 which can conflict with char _doprnt (); below. 16976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16977 <limits.h> exists even on freestanding compilers. */ 16978 16979#ifdef __STDC__ 16980# include <limits.h> 16981#else 16982# include <assert.h> 16983#endif 16984 16985#undef _doprnt 16986 16987/* Override any GCC internal prototype to avoid an error. 16988 Use char because int might match the return type of a GCC 16989 builtin and then its argument prototype would still apply. */ 16990#ifdef __cplusplus 16991extern "C" 16992#endif 16993char _doprnt (); 16994/* The GNU C library defines this for functions which it implements 16995 to always fail with ENOSYS. Some functions are actually named 16996 something starting with __ and the normal name is an alias. */ 16997#if defined __stub__doprnt || defined __stub____doprnt 16998choke me 16999#endif 17000 17001int 17002main () 17003{ 17004return _doprnt (); 17005 ; 17006 return 0; 17007} 17008_ACEOF 17009rm -f conftest.$ac_objext conftest$ac_exeext 17010if { (ac_try="$ac_link" 17011case "(($ac_try" in 17012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17013 *) ac_try_echo=$ac_try;; 17014esac 17015eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17016 (eval "$ac_link") 2>conftest.er1 17017 ac_status=$? 17018 grep -v '^ *+' conftest.er1 >conftest.err 17019 rm -f conftest.er1 17020 cat conftest.err >&5 17021 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17022 (exit $ac_status); } && { 17023 test -z "$ac_cxx_werror_flag" || 17024 test ! -s conftest.err 17025 } && test -s conftest$ac_exeext && 17026 $as_test_x conftest$ac_exeext; then 17027 ac_cv_func__doprnt=yes 17028else 17029 echo "$as_me: failed program was:" >&5 17030sed 's/^/| /' conftest.$ac_ext >&5 17031 17032 ac_cv_func__doprnt=no 17033fi 17034 17035rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17036 conftest$ac_exeext conftest.$ac_ext 17037fi 17038{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 17039echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 17040if test $ac_cv_func__doprnt = yes; then 17041 17042cat >>confdefs.h <<\_ACEOF 17043#define HAVE_DOPRNT 1 17044_ACEOF 17045 17046fi 17047 17048fi 17049done 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059for ac_func in isascii memmove memset strcasecmp strchr strrchr strtoul 17060do 17061as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17062{ echo "$as_me:$LINENO: checking for $ac_func" >&5 17063echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 17064if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17065 echo $ECHO_N "(cached) $ECHO_C" >&6 17066else 17067 cat >conftest.$ac_ext <<_ACEOF 17068/* confdefs.h. */ 17069_ACEOF 17070cat confdefs.h >>conftest.$ac_ext 17071cat >>conftest.$ac_ext <<_ACEOF 17072/* end confdefs.h. */ 17073/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 17074 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17075#define $ac_func innocuous_$ac_func 17076 17077/* System header to define __stub macros and hopefully few prototypes, 17078 which can conflict with char $ac_func (); below. 17079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17080 <limits.h> exists even on freestanding compilers. */ 17081 17082#ifdef __STDC__ 17083# include <limits.h> 17084#else 17085# include <assert.h> 17086#endif 17087 17088#undef $ac_func 17089 17090/* Override any GCC internal prototype to avoid an error. 17091 Use char because int might match the return type of a GCC 17092 builtin and then its argument prototype would still apply. */ 17093#ifdef __cplusplus 17094extern "C" 17095#endif 17096char $ac_func (); 17097/* The GNU C library defines this for functions which it implements 17098 to always fail with ENOSYS. Some functions are actually named 17099 something starting with __ and the normal name is an alias. */ 17100#if defined __stub_$ac_func || defined __stub___$ac_func 17101choke me 17102#endif 17103 17104int 17105main () 17106{ 17107return $ac_func (); 17108 ; 17109 return 0; 17110} 17111_ACEOF 17112rm -f conftest.$ac_objext conftest$ac_exeext 17113if { (ac_try="$ac_link" 17114case "(($ac_try" in 17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17116 *) ac_try_echo=$ac_try;; 17117esac 17118eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17119 (eval "$ac_link") 2>conftest.er1 17120 ac_status=$? 17121 grep -v '^ *+' conftest.er1 >conftest.err 17122 rm -f conftest.er1 17123 cat conftest.err >&5 17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17125 (exit $ac_status); } && { 17126 test -z "$ac_cxx_werror_flag" || 17127 test ! -s conftest.err 17128 } && test -s conftest$ac_exeext && 17129 $as_test_x conftest$ac_exeext; then 17130 eval "$as_ac_var=yes" 17131else 17132 echo "$as_me: failed program was:" >&5 17133sed 's/^/| /' conftest.$ac_ext >&5 17134 17135 eval "$as_ac_var=no" 17136fi 17137 17138rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17139 conftest$ac_exeext conftest.$ac_ext 17140fi 17141ac_res=`eval echo '${'$as_ac_var'}'` 17142 { echo "$as_me:$LINENO: result: $ac_res" >&5 17143echo "${ECHO_T}$ac_res" >&6; } 17144if test `eval echo '${'$as_ac_var'}'` = yes; then 17145 cat >>confdefs.h <<_ACEOF 17146#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 17147_ACEOF 17148 17149fi 17150done 17151 17152 17153# --------------------------------------------------------------------- 17154# Enable debug 17155# --------------------------------------------------------------------- 17156if test "$enable_debug" = yes; then 17157 if test "$ac_cv_prog_cc_g" = yes; then 17158 CFLAGS="$CFLAGS -g -O0 " 17159 else 17160 CFLAGS="$CFLAGS -O0 " 17161 fi 17162 if test "$ac_cv_prog_cxx_g" = yes; then 17163 CXXFLAGS="$CXXFLAGS -g -O0 " 17164 else 17165 CXXFLAGS="$CXXFLAGS -O0 " 17166 fi 17167 CFLAGS="$CFLAGS -Werror -Wall " 17168 CXXFLAGS="$CXXFLAGS -Werror -Wall " 17169 cat >>confdefs.h <<\_ACEOF 17170#define DEBUG 1 17171_ACEOF 17172 17173else 17174 cat >>confdefs.h <<\_ACEOF 17175#define NDEBUG 1 17176_ACEOF 17177 17178fi 17179 17180# --------------------------------------------------------------------- 17181# Enable profile 17182# --------------------------------------------------------------------- 17183if test "$enable_profile" = yes; then 17184 CFLAGS="$CFLAGS -pg " 17185 CXXFLAGS="$CXXFLAGS -pg " 17186fi 17187if test "$enable_profilefn" = yes; then 17188 CFLAGS="$CFLAGS -g -finstrument-functions " 17189 CXXFLAGS="$CXXFLAGS -g -finstrument-functions " 17190 LIBS="$LIBS -g -finstrument-functions -lfnccheck " 17191fi 17192 17193 17194 17195# --------------------------------------------------------------------- 17196# Find pkg-config 17197# --------------------------------------------------------------------- 17198 17199 17200if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 17201 if test -n "$ac_tool_prefix"; then 17202 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 17203set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 17204{ echo "$as_me:$LINENO: checking for $ac_word" >&5 17205echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 17206if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 17207 echo $ECHO_N "(cached) $ECHO_C" >&6 17208else 17209 case $PKG_CONFIG in 17210 [\\/]* | ?:[\\/]*) 17211 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 17212 ;; 17213 *) 17214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17215for as_dir in $PATH 17216do 17217 IFS=$as_save_IFS 17218 test -z "$as_dir" && as_dir=. 17219 for ac_exec_ext in '' $ac_executable_extensions; do 17220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17221 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17223 break 2 17224 fi 17225done 17226done 17227IFS=$as_save_IFS 17228 17229 ;; 17230esac 17231fi 17232PKG_CONFIG=$ac_cv_path_PKG_CONFIG 17233if test -n "$PKG_CONFIG"; then 17234 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 17235echo "${ECHO_T}$PKG_CONFIG" >&6; } 17236else 17237 { echo "$as_me:$LINENO: result: no" >&5 17238echo "${ECHO_T}no" >&6; } 17239fi 17240 17241 17242fi 17243if test -z "$ac_cv_path_PKG_CONFIG"; then 17244 ac_pt_PKG_CONFIG=$PKG_CONFIG 17245 # Extract the first word of "pkg-config", so it can be a program name with args. 17246set dummy pkg-config; ac_word=$2 17247{ echo "$as_me:$LINENO: checking for $ac_word" >&5 17248echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 17249if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 17250 echo $ECHO_N "(cached) $ECHO_C" >&6 17251else 17252 case $ac_pt_PKG_CONFIG in 17253 [\\/]* | ?:[\\/]*) 17254 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 17255 ;; 17256 *) 17257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17258for as_dir in $PATH 17259do 17260 IFS=$as_save_IFS 17261 test -z "$as_dir" && as_dir=. 17262 for ac_exec_ext in '' $ac_executable_extensions; do 17263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 17264 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 17265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 17266 break 2 17267 fi 17268done 17269done 17270IFS=$as_save_IFS 17271 17272 ;; 17273esac 17274fi 17275ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 17276if test -n "$ac_pt_PKG_CONFIG"; then 17277 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 17278echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 17279else 17280 { echo "$as_me:$LINENO: result: no" >&5 17281echo "${ECHO_T}no" >&6; } 17282fi 17283 17284 if test "x$ac_pt_PKG_CONFIG" = x; then 17285 PKG_CONFIG="" 17286 else 17287 case $cross_compiling:$ac_tool_warned in 17288yes:) 17289{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 17290whose name does not start with the host triplet. If you think this 17291configuration is useful to you, please write to autoconf@gnu.org." >&5 17292echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 17293whose name does not start with the host triplet. If you think this 17294configuration is useful to you, please write to autoconf@gnu.org." >&2;} 17295ac_tool_warned=yes ;; 17296esac 17297 PKG_CONFIG=$ac_pt_PKG_CONFIG 17298 fi 17299else 17300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 17301fi 17302 17303fi 17304if test -n "$PKG_CONFIG"; then 17305 _pkg_min_version=0.14 17306 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 17307echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 17308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 17309 { echo "$as_me:$LINENO: result: yes" >&5 17310echo "${ECHO_T}yes" >&6; } 17311 else 17312 { echo "$as_me:$LINENO: result: no" >&5 17313echo "${ECHO_T}no" >&6; } 17314 PKG_CONFIG="" 17315 fi 17316 17317fi 17318 17319pkg_failed=no 17320{ echo "$as_me:$LINENO: checking for GR2" >&5 17321echo $ECHO_N "checking for GR2... $ECHO_C" >&6; } 17322 17323if test -n "$PKG_CONFIG"; then 17324 if test -n "$GR2_CFLAGS"; then 17325 pkg_cv_GR2_CFLAGS="$GR2_CFLAGS" 17326 else 17327 if test -n "$PKG_CONFIG" && \ 17328 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"silgraphite >= 2.2.0\"") >&5 17329 ($PKG_CONFIG --exists --print-errors "silgraphite >= 2.2.0") 2>&5 17330 ac_status=$? 17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17332 (exit $ac_status); }; then 17333 pkg_cv_GR2_CFLAGS=`$PKG_CONFIG --cflags "silgraphite >= 2.2.0" 2>/dev/null` 17334else 17335 pkg_failed=yes 17336fi 17337 fi 17338else 17339 pkg_failed=untried 17340fi 17341if test -n "$PKG_CONFIG"; then 17342 if test -n "$GR2_LIBS"; then 17343 pkg_cv_GR2_LIBS="$GR2_LIBS" 17344 else 17345 if test -n "$PKG_CONFIG" && \ 17346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"silgraphite >= 2.2.0\"") >&5 17347 ($PKG_CONFIG --exists --print-errors "silgraphite >= 2.2.0") 2>&5 17348 ac_status=$? 17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17350 (exit $ac_status); }; then 17351 pkg_cv_GR2_LIBS=`$PKG_CONFIG --libs "silgraphite >= 2.2.0" 2>/dev/null` 17352else 17353 pkg_failed=yes 17354fi 17355 fi 17356else 17357 pkg_failed=untried 17358fi 17359 17360 17361 17362if test $pkg_failed = yes; then 17363 17364if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17365 _pkg_short_errors_supported=yes 17366else 17367 _pkg_short_errors_supported=no 17368fi 17369 if test $_pkg_short_errors_supported = yes; then 17370 GR2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "silgraphite >= 2.2.0"` 17371 else 17372 GR2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "silgraphite >= 2.2.0"` 17373 fi 17374 # Put the nasty error message in config.log where it belongs 17375 echo "$GR2_PKG_ERRORS" >&5 17376 17377 { { echo "$as_me:$LINENO: error: Package requirements (silgraphite >= 2.2.0) were not met: 17378 17379$GR2_PKG_ERRORS 17380 17381Consider adjusting the PKG_CONFIG_PATH environment variable if you 17382installed software in a non-standard prefix. 17383 17384Alternatively, you may set the environment variables GR2_CFLAGS 17385and GR2_LIBS to avoid the need to call pkg-config. 17386See the pkg-config man page for more details. 17387" >&5 17388echo "$as_me: error: Package requirements (silgraphite >= 2.2.0) were not met: 17389 17390$GR2_PKG_ERRORS 17391 17392Consider adjusting the PKG_CONFIG_PATH environment variable if you 17393installed software in a non-standard prefix. 17394 17395Alternatively, you may set the environment variables GR2_CFLAGS 17396and GR2_LIBS to avoid the need to call pkg-config. 17397See the pkg-config man page for more details. 17398" >&2;} 17399 { (exit 1); exit 1; }; } 17400elif test $pkg_failed = untried; then 17401 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 17402is in your PATH or set the PKG_CONFIG environment variable to the full 17403path to pkg-config. 17404 17405Alternatively, you may set the environment variables GR2_CFLAGS 17406and GR2_LIBS to avoid the need to call pkg-config. 17407See the pkg-config man page for more details. 17408 17409To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17410See \`config.log' for more details." >&5 17411echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 17412is in your PATH or set the PKG_CONFIG environment variable to the full 17413path to pkg-config. 17414 17415Alternatively, you may set the environment variables GR2_CFLAGS 17416and GR2_LIBS to avoid the need to call pkg-config. 17417See the pkg-config man page for more details. 17418 17419To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17420See \`config.log' for more details." >&2;} 17421 { (exit 1); exit 1; }; } 17422else 17423 GR2_CFLAGS=$pkg_cv_GR2_CFLAGS 17424 GR2_LIBS=$pkg_cv_GR2_LIBS 17425 { echo "$as_me:$LINENO: result: yes" >&5 17426echo "${ECHO_T}yes" >&6; } 17427 : 17428fi 17429#PKG_CHECK_MODULES(GR2_FT, silgraphite-ft) 17430 17431PANGO_MODULE_VERSION=`$PKG_CONFIG --variable=pango_module_version pango` 17432PANGO_MAJOR_VERSION=`$PKG_CONFIG --modversion pango | sed -e 's/^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/\1/'` 17433PANGO_MINOR_VERSION=`$PKG_CONFIG --modversion pango | sed -e 's/^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/\2/'` 17434PANGO_MICRO_VERSION=`$PKG_CONFIG --modversion pango | sed -e 's/^\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/\3/'` 17435 17436 17437 17438 17439 17440pkg_failed=no 17441{ echo "$as_me:$LINENO: checking for PANGO" >&5 17442echo $ECHO_N "checking for PANGO... $ECHO_C" >&6; } 17443 17444if test -n "$PKG_CONFIG"; then 17445 if test -n "$PANGO_CFLAGS"; then 17446 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" 17447 else 17448 if test -n "$PKG_CONFIG" && \ 17449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango pangoft2 freetype2 fontconfig\"") >&5 17450 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango pangoft2 freetype2 fontconfig") 2>&5 17451 ac_status=$? 17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17453 (exit $ac_status); }; then 17454 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 pango pangoft2 freetype2 fontconfig" 2>/dev/null` 17455else 17456 pkg_failed=yes 17457fi 17458 fi 17459else 17460 pkg_failed=untried 17461fi 17462if test -n "$PKG_CONFIG"; then 17463 if test -n "$PANGO_LIBS"; then 17464 pkg_cv_PANGO_LIBS="$PANGO_LIBS" 17465 else 17466 if test -n "$PKG_CONFIG" && \ 17467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 pango pangoft2 freetype2 fontconfig\"") >&5 17468 ($PKG_CONFIG --exists --print-errors "glib-2.0 pango pangoft2 freetype2 fontconfig") 2>&5 17469 ac_status=$? 17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17471 (exit $ac_status); }; then 17472 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "glib-2.0 pango pangoft2 freetype2 fontconfig" 2>/dev/null` 17473else 17474 pkg_failed=yes 17475fi 17476 fi 17477else 17478 pkg_failed=untried 17479fi 17480 17481 17482 17483if test $pkg_failed = yes; then 17484 17485if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17486 _pkg_short_errors_supported=yes 17487else 17488 _pkg_short_errors_supported=no 17489fi 17490 if test $_pkg_short_errors_supported = yes; then 17491 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 pango pangoft2 freetype2 fontconfig"` 17492 else 17493 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 pango pangoft2 freetype2 fontconfig"` 17494 fi 17495 # Put the nasty error message in config.log where it belongs 17496 echo "$PANGO_PKG_ERRORS" >&5 17497 17498 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 pango pangoft2 freetype2 fontconfig) were not met: 17499 17500$PANGO_PKG_ERRORS 17501 17502Consider adjusting the PKG_CONFIG_PATH environment variable if you 17503installed software in a non-standard prefix. 17504 17505Alternatively, you may set the environment variables PANGO_CFLAGS 17506and PANGO_LIBS to avoid the need to call pkg-config. 17507See the pkg-config man page for more details. 17508" >&5 17509echo "$as_me: error: Package requirements (glib-2.0 pango pangoft2 freetype2 fontconfig) were not met: 17510 17511$PANGO_PKG_ERRORS 17512 17513Consider adjusting the PKG_CONFIG_PATH environment variable if you 17514installed software in a non-standard prefix. 17515 17516Alternatively, you may set the environment variables PANGO_CFLAGS 17517and PANGO_LIBS to avoid the need to call pkg-config. 17518See the pkg-config man page for more details. 17519" >&2;} 17520 { (exit 1); exit 1; }; } 17521elif test $pkg_failed = untried; then 17522 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 17523is in your PATH or set the PKG_CONFIG environment variable to the full 17524path to pkg-config. 17525 17526Alternatively, you may set the environment variables PANGO_CFLAGS 17527and PANGO_LIBS to avoid the need to call pkg-config. 17528See the pkg-config man page for more details. 17529 17530To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17531See \`config.log' for more details." >&5 17532echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 17533is in your PATH or set the PKG_CONFIG environment variable to the full 17534path to pkg-config. 17535 17536Alternatively, you may set the environment variables PANGO_CFLAGS 17537and PANGO_LIBS to avoid the need to call pkg-config. 17538See the pkg-config man page for more details. 17539 17540To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17541See \`config.log' for more details." >&2;} 17542 { (exit 1); exit 1; }; } 17543else 17544 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS 17545 PANGO_LIBS=$pkg_cv_PANGO_LIBS 17546 { echo "$as_me:$LINENO: result: yes" >&5 17547echo "${ECHO_T}yes" >&6; } 17548 : 17549fi 17550 17551 17552if test "$enable_examples" = yes; then 17553 17554pkg_failed=no 17555{ echo "$as_me:$LINENO: checking for GTK" >&5 17556echo $ECHO_N "checking for GTK... $ECHO_C" >&6; } 17557 17558if test -n "$PKG_CONFIG"; then 17559 if test -n "$GTK_CFLAGS"; then 17560 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 17561 else 17562 if test -n "$PKG_CONFIG" && \ 17563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5 17564 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 17565 ac_status=$? 17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17567 (exit $ac_status); }; then 17568 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` 17569else 17570 pkg_failed=yes 17571fi 17572 fi 17573else 17574 pkg_failed=untried 17575fi 17576if test -n "$PKG_CONFIG"; then 17577 if test -n "$GTK_LIBS"; then 17578 pkg_cv_GTK_LIBS="$GTK_LIBS" 17579 else 17580 if test -n "$PKG_CONFIG" && \ 17581 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5 17582 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 17583 ac_status=$? 17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17585 (exit $ac_status); }; then 17586 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` 17587else 17588 pkg_failed=yes 17589fi 17590 fi 17591else 17592 pkg_failed=untried 17593fi 17594 17595 17596 17597if test $pkg_failed = yes; then 17598 17599if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 17600 _pkg_short_errors_supported=yes 17601else 17602 _pkg_short_errors_supported=no 17603fi 17604 if test $_pkg_short_errors_supported = yes; then 17605 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"` 17606 else 17607 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"` 17608 fi 17609 # Put the nasty error message in config.log where it belongs 17610 echo "$GTK_PKG_ERRORS" >&5 17611 17612 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met: 17613 17614$GTK_PKG_ERRORS 17615 17616Consider adjusting the PKG_CONFIG_PATH environment variable if you 17617installed software in a non-standard prefix. 17618 17619Alternatively, you may set the environment variables GTK_CFLAGS 17620and GTK_LIBS to avoid the need to call pkg-config. 17621See the pkg-config man page for more details. 17622" >&5 17623echo "$as_me: error: Package requirements (gtk+-2.0) were not met: 17624 17625$GTK_PKG_ERRORS 17626 17627Consider adjusting the PKG_CONFIG_PATH environment variable if you 17628installed software in a non-standard prefix. 17629 17630Alternatively, you may set the environment variables GTK_CFLAGS 17631and GTK_LIBS to avoid the need to call pkg-config. 17632See the pkg-config man page for more details. 17633" >&2;} 17634 { (exit 1); exit 1; }; } 17635elif test $pkg_failed = untried; then 17636 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 17637is in your PATH or set the PKG_CONFIG environment variable to the full 17638path to pkg-config. 17639 17640Alternatively, you may set the environment variables GTK_CFLAGS 17641and GTK_LIBS to avoid the need to call pkg-config. 17642See the pkg-config man page for more details. 17643 17644To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17645See \`config.log' for more details." >&5 17646echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 17647is in your PATH or set the PKG_CONFIG environment variable to the full 17648path to pkg-config. 17649 17650Alternatively, you may set the environment variables GTK_CFLAGS 17651and GTK_LIBS to avoid the need to call pkg-config. 17652See the pkg-config man page for more details. 17653 17654To get pkg-config, see <http://pkg-config.freedesktop.org/>. 17655See \`config.log' for more details." >&2;} 17656 { (exit 1); exit 1; }; } 17657else 17658 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 17659 GTK_LIBS=$pkg_cv_GTK_LIBS 17660 { echo "$as_me:$LINENO: result: yes" >&5 17661echo "${ECHO_T}yes" >&6; } 17662 : 17663fi 17664 17665 17666fi 17667if test "x$enable_debug" = "xyes"; then 17668 PANGO_DEBUG_FLAGS="-DPANGO_ENABLE_DEBUG" 17669else 17670 PANGO_DEBUG_FLAGS="-DG_DISABLE_CAST_CHECKS" 17671 17672 if test "x$enable_debug" = "xno"; then 17673 PANGO_DEBUG_FLAGS="$GLIB_DEBUG_FLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS" 17674 fi 17675fi 17676 17677 17678# --------------------------------------------------------------------- 17679# Substitute variables into makefiles 17680# --------------------------------------------------------------------- 17681 17682 17683 if test x$enable_pangomodule = xyes; then 17684 PANGOMODULE_TRUE= 17685 PANGOMODULE_FALSE='#' 17686else 17687 PANGOMODULE_TRUE='#' 17688 PANGOMODULE_FALSE= 17689fi 17690 17691 if test x$enable_querymod = xyes; then 17692 PANGOQM_TRUE= 17693 PANGOQM_FALSE='#' 17694else 17695 PANGOQM_TRUE='#' 17696 PANGOQM_FALSE= 17697fi 17698 17699 if test x$enable_examples = xyes; then 17700 EXAMPLES_TRUE= 17701 EXAMPLES_FALSE='#' 17702else 17703 EXAMPLES_TRUE='#' 17704 EXAMPLES_FALSE= 17705fi 17706 17707 17708# --------------------------------------------------------------------- 17709# Distrib codename detection 17710# --------------------------------------------------------------------- 17711{ echo "$as_me:$LINENO: checking if already have REL_CODENAME" >&5 17712echo $ECHO_N "checking if already have REL_CODENAME... $ECHO_C" >&6; } 17713if test -z "${REL_CODENAME}"; then 17714 { echo "$as_me:$LINENO: result: no" >&5 17715echo "${ECHO_T}no" >&6; } 17716 { echo "$as_me:$LINENO: checking if have lsb_release" >&5 17717echo $ECHO_N "checking if have lsb_release... $ECHO_C" >&6; } 17718 if test "${LSB_RELEASE}" = "no"; then 17719 { echo "$as_me:$LINENO: result: no" >&5 17720echo "${ECHO_T}no" >&6; } 17721 REL_CODENAME="unstable" 17722 else 17723 { echo "$as_me:$LINENO: result: yes" >&5 17724echo "${ECHO_T}yes" >&6; } 17725 { echo "$as_me:$LINENO: checking if LSB_RELEASE is empty" >&5 17726echo $ECHO_N "checking if LSB_RELEASE is empty... $ECHO_C" >&6; } 17727 if test -z ${LSB_RELEASE}; then 17728 { echo "$as_me:$LINENO: result: yes" >&5 17729echo "${ECHO_T}yes" >&6; } 17730 REL_CODENAME="unstable" 17731 else 17732 { echo "$as_me:$LINENO: result: no" >&5 17733echo "${ECHO_T}no" >&6; } 17734 CODENAME=`${LSB_RELEASE} -c | sed -e 's/^\S*\s*//'` 17735 { echo "$as_me:$LINENO: checking if release is sid" >&5 17736echo $ECHO_N "checking if release is sid... $ECHO_C" >&6; } 17737 if test ${CODENAME} = 'sid'; then 17738 { echo "$as_me:$LINENO: result: yes" >&5 17739echo "${ECHO_T}yes" >&6; } 17740 REL_CODENAME="unstable" 17741 else 17742 { echo "$as_me:$LINENO: result: no" >&5 17743echo "${ECHO_T}no" >&6; } 17744 REL_CODENAME=${CODENAME} 17745 fi 17746 fi 17747 fi 17748else 17749 { echo "$as_me:$LINENO: result: yes" >&5 17750echo "${ECHO_T}yes" >&6; } 17751fi 17752 17753 17754 17755 17756# --------------------------------------------------------------------- 17757# Final output 17758# --------------------------------------------------------------------- 17759ac_config_files="$ac_config_files Makefile" 17760 17761cat >confcache <<\_ACEOF 17762# This file is a shell script that caches the results of configure 17763# tests run on this system so they can be shared between configure 17764# scripts and configure runs, see configure's option --config-cache. 17765# It is not useful on other systems. If it contains results you don't 17766# want to keep, you may remove or edit it. 17767# 17768# config.status only pays attention to the cache file if you give it 17769# the --recheck option to rerun configure. 17770# 17771# `ac_cv_env_foo' variables (set or unset) will be overridden when 17772# loading this file, other *unset* `ac_cv_foo' will be assigned the 17773# following values. 17774 17775_ACEOF 17776 17777# The following way of writing the cache mishandles newlines in values, 17778# but we know of no workaround that is simple, portable, and efficient. 17779# So, we kill variables containing newlines. 17780# Ultrix sh set writes to stderr and can't be redirected directly, 17781# and sets the high bit in the cache file unless we assign to the vars. 17782( 17783 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17784 eval ac_val=\$$ac_var 17785 case $ac_val in #( 17786 *${as_nl}*) 17787 case $ac_var in #( 17788 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 17789echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 17790 esac 17791 case $ac_var in #( 17792 _ | IFS | as_nl) ;; #( 17793 *) $as_unset $ac_var ;; 17794 esac ;; 17795 esac 17796 done 17797 17798 (set) 2>&1 | 17799 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17800 *${as_nl}ac_space=\ *) 17801 # `set' does not quote correctly, so add quotes (double-quote 17802 # substitution turns \\\\ into \\, and sed turns \\ into \). 17803 sed -n \ 17804 "s/'/'\\\\''/g; 17805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17806 ;; #( 17807 *) 17808 # `set' quotes correctly as required by POSIX, so do not add quotes. 17809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17810 ;; 17811 esac | 17812 sort 17813) | 17814 sed ' 17815 /^ac_cv_env_/b end 17816 t clear 17817 :clear 17818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17819 t end 17820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17821 :end' >>confcache 17822if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17823 if test -w "$cache_file"; then 17824 test "x$cache_file" != "x/dev/null" && 17825 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 17826echo "$as_me: updating cache $cache_file" >&6;} 17827 cat confcache >$cache_file 17828 else 17829 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 17830echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17831 fi 17832fi 17833rm -f confcache 17834 17835test "x$prefix" = xNONE && prefix=$ac_default_prefix 17836# Let make expand exec_prefix. 17837test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17838 17839# Transform confdefs.h into DEFS. 17840# Protect against shell expansion while executing Makefile rules. 17841# Protect against Makefile macro expansion. 17842# 17843# If the first sed substitution is executed (which looks for macros that 17844# take arguments), then branch to the quote section. Otherwise, 17845# look for a macro that doesn't take arguments. 17846ac_script=' 17847t clear 17848:clear 17849s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 17850t quote 17851s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 17852t quote 17853b any 17854:quote 17855s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 17856s/\[/\\&/g 17857s/\]/\\&/g 17858s/\$/$$/g 17859H 17860:any 17861${ 17862 g 17863 s/^\n// 17864 s/\n/ /g 17865 p 17866} 17867' 17868DEFS=`sed -n "$ac_script" confdefs.h` 17869 17870 17871ac_libobjs= 17872ac_ltlibobjs= 17873for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17874 # 1. Remove the extension, and $U if already installed. 17875 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17876 ac_i=`echo "$ac_i" | sed "$ac_script"` 17877 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17878 # will be set to the directory where LIBOBJS objects are built. 17879 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17880 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 17881done 17882LIBOBJS=$ac_libobjs 17883 17884LTLIBOBJS=$ac_ltlibobjs 17885 17886 17887if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17888 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 17889Usually this means the macro was only invoked conditionally." >&5 17890echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 17891Usually this means the macro was only invoked conditionally." >&2;} 17892 { (exit 1); exit 1; }; } 17893fi 17894if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17895 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 17896Usually this means the macro was only invoked conditionally." >&5 17897echo "$as_me: error: conditional \"AMDEP\" was never defined. 17898Usually this means the macro was only invoked conditionally." >&2;} 17899 { (exit 1); exit 1; }; } 17900fi 17901if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17902 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 17903Usually this means the macro was only invoked conditionally." >&5 17904echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 17905Usually this means the macro was only invoked conditionally." >&2;} 17906 { (exit 1); exit 1; }; } 17907fi 17908if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17909 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 17910Usually this means the macro was only invoked conditionally." >&5 17911echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 17912Usually this means the macro was only invoked conditionally." >&2;} 17913 { (exit 1); exit 1; }; } 17914fi 17915if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 17916 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 17917Usually this means the macro was only invoked conditionally." >&5 17918echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 17919Usually this means the macro was only invoked conditionally." >&2;} 17920 { (exit 1); exit 1; }; } 17921fi 17922if test -z "${PANGOMODULE_TRUE}" && test -z "${PANGOMODULE_FALSE}"; then 17923 { { echo "$as_me:$LINENO: error: conditional \"PANGOMODULE\" was never defined. 17924Usually this means the macro was only invoked conditionally." >&5 17925echo "$as_me: error: conditional \"PANGOMODULE\" was never defined. 17926Usually this means the macro was only invoked conditionally." >&2;} 17927 { (exit 1); exit 1; }; } 17928fi 17929if test -z "${PANGOQM_TRUE}" && test -z "${PANGOQM_FALSE}"; then 17930 { { echo "$as_me:$LINENO: error: conditional \"PANGOQM\" was never defined. 17931Usually this means the macro was only invoked conditionally." >&5 17932echo "$as_me: error: conditional \"PANGOQM\" was never defined. 17933Usually this means the macro was only invoked conditionally." >&2;} 17934 { (exit 1); exit 1; }; } 17935fi 17936if test -z "${EXAMPLES_TRUE}" && test -z "${EXAMPLES_FALSE}"; then 17937 { { echo "$as_me:$LINENO: error: conditional \"EXAMPLES\" was never defined. 17938Usually this means the macro was only invoked conditionally." >&5 17939echo "$as_me: error: conditional \"EXAMPLES\" was never defined. 17940Usually this means the macro was only invoked conditionally." >&2;} 17941 { (exit 1); exit 1; }; } 17942fi 17943 17944: ${CONFIG_STATUS=./config.status} 17945ac_clean_files_save=$ac_clean_files 17946ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17947{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 17948echo "$as_me: creating $CONFIG_STATUS" >&6;} 17949cat >$CONFIG_STATUS <<_ACEOF 17950#! $SHELL 17951# Generated by $as_me. 17952# Run this file to recreate the current configuration. 17953# Compiler output produced by configure, useful for debugging 17954# configure, is in config.log if it exists. 17955 17956debug=false 17957ac_cs_recheck=false 17958ac_cs_silent=false 17959SHELL=\${CONFIG_SHELL-$SHELL} 17960_ACEOF 17961 17962cat >>$CONFIG_STATUS <<\_ACEOF 17963## --------------------- ## 17964## M4sh Initialization. ## 17965## --------------------- ## 17966 17967# Be more Bourne compatible 17968DUALCASE=1; export DUALCASE # for MKS sh 17969if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17970 emulate sh 17971 NULLCMD=: 17972 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17973 # is contrary to our usage. Disable this feature. 17974 alias -g '${1+"$@"}'='"$@"' 17975 setopt NO_GLOB_SUBST 17976else 17977 case `(set -o) 2>/dev/null` in 17978 *posix*) set -o posix ;; 17979esac 17980 17981fi 17982 17983 17984 17985 17986# PATH needs CR 17987# Avoid depending upon Character Ranges. 17988as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17989as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17990as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17991as_cr_digits='0123456789' 17992as_cr_alnum=$as_cr_Letters$as_cr_digits 17993 17994# The user is always right. 17995if test "${PATH_SEPARATOR+set}" != set; then 17996 echo "#! /bin/sh" >conf$$.sh 17997 echo "exit 0" >>conf$$.sh 17998 chmod +x conf$$.sh 17999 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 18000 PATH_SEPARATOR=';' 18001 else 18002 PATH_SEPARATOR=: 18003 fi 18004 rm -f conf$$.sh 18005fi 18006 18007# Support unset when possible. 18008if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 18009 as_unset=unset 18010else 18011 as_unset=false 18012fi 18013 18014 18015# IFS 18016# We need space, tab and new line, in precisely that order. Quoting is 18017# there to prevent editors from complaining about space-tab. 18018# (If _AS_PATH_WALK were called with IFS unset, it would disable word 18019# splitting by setting IFS to empty value.) 18020as_nl=' 18021' 18022IFS=" "" $as_nl" 18023 18024# Find who we are. Look in the path if we contain no directory separator. 18025case $0 in 18026 *[\\/]* ) as_myself=$0 ;; 18027 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18028for as_dir in $PATH 18029do 18030 IFS=$as_save_IFS 18031 test -z "$as_dir" && as_dir=. 18032 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 18033done 18034IFS=$as_save_IFS 18035 18036 ;; 18037esac 18038# We did not find ourselves, most probably we were run as `sh COMMAND' 18039# in which case we are not to be found in the path. 18040if test "x$as_myself" = x; then 18041 as_myself=$0 18042fi 18043if test ! -f "$as_myself"; then 18044 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 18045 { (exit 1); exit 1; } 18046fi 18047 18048# Work around bugs in pre-3.0 UWIN ksh. 18049for as_var in ENV MAIL MAILPATH 18050do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 18051done 18052PS1='$ ' 18053PS2='> ' 18054PS4='+ ' 18055 18056# NLS nuisances. 18057for as_var in \ 18058 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 18059 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 18060 LC_TELEPHONE LC_TIME 18061do 18062 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 18063 eval $as_var=C; export $as_var 18064 else 18065 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 18066 fi 18067done 18068 18069# Required to use basename. 18070if expr a : '\(a\)' >/dev/null 2>&1 && 18071 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18072 as_expr=expr 18073else 18074 as_expr=false 18075fi 18076 18077if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 18078 as_basename=basename 18079else 18080 as_basename=false 18081fi 18082 18083 18084# Name of the executable. 18085as_me=`$as_basename -- "$0" || 18086$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 18087 X"$0" : 'X\(//\)$' \| \ 18088 X"$0" : 'X\(/\)' \| . 2>/dev/null || 18089echo X/"$0" | 18090 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18091 s//\1/ 18092 q 18093 } 18094 /^X\/\(\/\/\)$/{ 18095 s//\1/ 18096 q 18097 } 18098 /^X\/\(\/\).*/{ 18099 s//\1/ 18100 q 18101 } 18102 s/.*/./; q'` 18103 18104# CDPATH. 18105$as_unset CDPATH 18106 18107 18108 18109 as_lineno_1=$LINENO 18110 as_lineno_2=$LINENO 18111 test "x$as_lineno_1" != "x$as_lineno_2" && 18112 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 18113 18114 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 18115 # uniformly replaced by the line number. The first 'sed' inserts a 18116 # line-number line after each line using $LINENO; the second 'sed' 18117 # does the real work. The second script uses 'N' to pair each 18118 # line-number line with the line containing $LINENO, and appends 18119 # trailing '-' during substitution so that $LINENO is not a special 18120 # case at line end. 18121 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 18122 # scripts with optimization help from Paolo Bonzini. Blame Lee 18123 # E. McMahon (1931-1989) for sed's syntax. :-) 18124 sed -n ' 18125 p 18126 /[$]LINENO/= 18127 ' <$as_myself | 18128 sed ' 18129 s/[$]LINENO.*/&-/ 18130 t lineno 18131 b 18132 :lineno 18133 N 18134 :loop 18135 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 18136 t loop 18137 s/-\n.*// 18138 ' >$as_me.lineno && 18139 chmod +x "$as_me.lineno" || 18140 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 18141 { (exit 1); exit 1; }; } 18142 18143 # Don't try to exec as it changes $[0], causing all sort of problems 18144 # (the dirname of $[0] is not the place where we might find the 18145 # original and so on. Autoconf is especially sensitive to this). 18146 . "./$as_me.lineno" 18147 # Exit status is that of the last command. 18148 exit 18149} 18150 18151 18152if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 18153 as_dirname=dirname 18154else 18155 as_dirname=false 18156fi 18157 18158ECHO_C= ECHO_N= ECHO_T= 18159case `echo -n x` in 18160-n*) 18161 case `echo 'x\c'` in 18162 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 18163 *) ECHO_C='\c';; 18164 esac;; 18165*) 18166 ECHO_N='-n';; 18167esac 18168 18169if expr a : '\(a\)' >/dev/null 2>&1 && 18170 test "X`expr 00001 : '.*\(...\)'`" = X001; then 18171 as_expr=expr 18172else 18173 as_expr=false 18174fi 18175 18176rm -f conf$$ conf$$.exe conf$$.file 18177if test -d conf$$.dir; then 18178 rm -f conf$$.dir/conf$$.file 18179else 18180 rm -f conf$$.dir 18181 mkdir conf$$.dir 18182fi 18183echo >conf$$.file 18184if ln -s conf$$.file conf$$ 2>/dev/null; then 18185 as_ln_s='ln -s' 18186 # ... but there are two gotchas: 18187 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 18188 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 18189 # In both cases, we have to default to `cp -p'. 18190 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 18191 as_ln_s='cp -p' 18192elif ln conf$$.file conf$$ 2>/dev/null; then 18193 as_ln_s=ln 18194else 18195 as_ln_s='cp -p' 18196fi 18197rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 18198rmdir conf$$.dir 2>/dev/null 18199 18200if mkdir -p . 2>/dev/null; then 18201 as_mkdir_p=: 18202else 18203 test -d ./-p && rmdir ./-p 18204 as_mkdir_p=false 18205fi 18206 18207if test -x / >/dev/null 2>&1; then 18208 as_test_x='test -x' 18209else 18210 if ls -dL / >/dev/null 2>&1; then 18211 as_ls_L_option=L 18212 else 18213 as_ls_L_option= 18214 fi 18215 as_test_x=' 18216 eval sh -c '\'' 18217 if test -d "$1"; then 18218 test -d "$1/."; 18219 else 18220 case $1 in 18221 -*)set "./$1";; 18222 esac; 18223 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 18224 ???[sx]*):;;*)false;;esac;fi 18225 '\'' sh 18226 ' 18227fi 18228as_executable_p=$as_test_x 18229 18230# Sed expression to map a string onto a valid CPP name. 18231as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 18232 18233# Sed expression to map a string onto a valid variable name. 18234as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 18235 18236 18237exec 6>&1 18238 18239# Save the log message, to keep $[0] and so on meaningful, and to 18240# report actual input values of CONFIG_FILES etc. instead of their 18241# values after options handling. 18242ac_log=" 18243This file was extended by pango-graphite $as_me 0.9.3, which was 18244generated by GNU Autoconf 2.61. Invocation command line was 18245 18246 CONFIG_FILES = $CONFIG_FILES 18247 CONFIG_HEADERS = $CONFIG_HEADERS 18248 CONFIG_LINKS = $CONFIG_LINKS 18249 CONFIG_COMMANDS = $CONFIG_COMMANDS 18250 $ $0 $@ 18251 18252on `(hostname || uname -n) 2>/dev/null | sed 1q` 18253" 18254 18255_ACEOF 18256 18257cat >>$CONFIG_STATUS <<_ACEOF 18258# Files that config.status was made for. 18259config_files="$ac_config_files" 18260config_commands="$ac_config_commands" 18261 18262_ACEOF 18263 18264cat >>$CONFIG_STATUS <<\_ACEOF 18265ac_cs_usage="\ 18266\`$as_me' instantiates files from templates according to the 18267current configuration. 18268 18269Usage: $0 [OPTIONS] [FILE]... 18270 18271 -h, --help print this help, then exit 18272 -V, --version print version number and configuration settings, then exit 18273 -q, --quiet do not print progress messages 18274 -d, --debug don't remove temporary files 18275 --recheck update $as_me by reconfiguring in the same conditions 18276 --file=FILE[:TEMPLATE] 18277 instantiate the configuration file FILE 18278 18279Configuration files: 18280$config_files 18281 18282Configuration commands: 18283$config_commands 18284 18285Report bugs to <bug-autoconf@gnu.org>." 18286 18287_ACEOF 18288cat >>$CONFIG_STATUS <<_ACEOF 18289ac_cs_version="\\ 18290pango-graphite config.status 0.9.3 18291configured by $0, generated by GNU Autoconf 2.61, 18292 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 18293 18294Copyright (C) 2006 Free Software Foundation, Inc. 18295This config.status script is free software; the Free Software Foundation 18296gives unlimited permission to copy, distribute and modify it." 18297 18298ac_pwd='$ac_pwd' 18299srcdir='$srcdir' 18300INSTALL='$INSTALL' 18301MKDIR_P='$MKDIR_P' 18302_ACEOF 18303 18304cat >>$CONFIG_STATUS <<\_ACEOF 18305# If no file are specified by the user, then we need to provide default 18306# value. By we need to know if files were specified by the user. 18307ac_need_defaults=: 18308while test $# != 0 18309do 18310 case $1 in 18311 --*=*) 18312 ac_option=`expr "X$1" : 'X\([^=]*\)='` 18313 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 18314 ac_shift=: 18315 ;; 18316 *) 18317 ac_option=$1 18318 ac_optarg=$2 18319 ac_shift=shift 18320 ;; 18321 esac 18322 18323 case $ac_option in 18324 # Handling of the options. 18325 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 18326 ac_cs_recheck=: ;; 18327 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 18328 echo "$ac_cs_version"; exit ;; 18329 --debug | --debu | --deb | --de | --d | -d ) 18330 debug=: ;; 18331 --file | --fil | --fi | --f ) 18332 $ac_shift 18333 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 18334 ac_need_defaults=false;; 18335 --he | --h | --help | --hel | -h ) 18336 echo "$ac_cs_usage"; exit ;; 18337 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 18338 | -silent | --silent | --silen | --sile | --sil | --si | --s) 18339 ac_cs_silent=: ;; 18340 18341 # This is an error. 18342 -*) { echo "$as_me: error: unrecognized option: $1 18343Try \`$0 --help' for more information." >&2 18344 { (exit 1); exit 1; }; } ;; 18345 18346 *) ac_config_targets="$ac_config_targets $1" 18347 ac_need_defaults=false ;; 18348 18349 esac 18350 shift 18351done 18352 18353ac_configure_extra_args= 18354 18355if $ac_cs_silent; then 18356 exec 6>/dev/null 18357 ac_configure_extra_args="$ac_configure_extra_args --silent" 18358fi 18359 18360_ACEOF 18361cat >>$CONFIG_STATUS <<_ACEOF 18362if \$ac_cs_recheck; then 18363 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 18364 CONFIG_SHELL=$SHELL 18365 export CONFIG_SHELL 18366 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 18367fi 18368 18369_ACEOF 18370cat >>$CONFIG_STATUS <<\_ACEOF 18371exec 5>>config.log 18372{ 18373 echo 18374 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 18375## Running $as_me. ## 18376_ASBOX 18377 echo "$ac_log" 18378} >&5 18379 18380_ACEOF 18381cat >>$CONFIG_STATUS <<_ACEOF 18382# 18383# INIT-COMMANDS 18384# 18385AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 18386 18387 18388# The HP-UX ksh and POSIX shell print the target directory to stdout 18389# if CDPATH is set. 18390(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 18391 18392sed_quote_subst='$sed_quote_subst' 18393double_quote_subst='$double_quote_subst' 18394delay_variable_subst='$delay_variable_subst' 18395macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 18396macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 18397enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 18398enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 18399pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 18400enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 18401host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 18402host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 18403host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 18404build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 18405build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 18406build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 18407SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 18408Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 18409GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 18410EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 18411FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 18412LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 18413NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 18414LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 18415max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 18416ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 18417exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 18418lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 18419lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 18420lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 18421reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 18422reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18423deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 18424file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 18425AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 18426AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 18427STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 18428RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 18429old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18430old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18431old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18432CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 18433CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 18434compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 18435GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 18436lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 18437lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 18438lt_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"`' 18439lt_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"`' 18440objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 18441SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 18442ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 18443MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 18444lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 18445lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 18446lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 18447lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 18448lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 18449need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 18450DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 18451NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 18452LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 18453OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 18454OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 18455libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 18456shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18457extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18458archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 18459enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 18460export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 18461whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 18462compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 18463old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18464old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18465archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18466archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18467module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18468module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18469with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 18470allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 18471no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 18472hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 18473hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 18474hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 18475hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 18476hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 18477hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 18478hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 18479hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 18480inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 18481link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 18482fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 18483always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 18484export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18485exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 18486include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 18487prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18488file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 18489variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 18490need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 18491need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 18492version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 18493runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 18494shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 18495shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 18496libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 18497library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 18498soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 18499postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18500postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18501finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 18502finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 18503hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 18504sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 18505sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 18506hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 18507enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 18508enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 18509enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 18510old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 18511striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 18512compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`' 18513predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`' 18514postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`' 18515predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`' 18516postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`' 18517compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`' 18518LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18519old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18520compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18521GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18522lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18523lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18524lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18525lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18526lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18527archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18528enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18529export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18530whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18531compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18532old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18533old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18534archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18535archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18536module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18537module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18538with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18539allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18540no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18541hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18542hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18543hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18544hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18545hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18546hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18547hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18548hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18549inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18550link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18551fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18552always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18553export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18554exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18555include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18556prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18557file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18558hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18559compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18560predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18561postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18562predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18563postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18564compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`' 18565 18566LTCC='$LTCC' 18567LTCFLAGS='$LTCFLAGS' 18568compiler='$compiler_DEFAULT' 18569 18570# Quote evaled strings. 18571for var in SED \ 18572GREP \ 18573EGREP \ 18574FGREP \ 18575LD \ 18576NM \ 18577LN_S \ 18578lt_SP2NL \ 18579lt_NL2SP \ 18580reload_flag \ 18581deplibs_check_method \ 18582file_magic_cmd \ 18583AR \ 18584AR_FLAGS \ 18585STRIP \ 18586RANLIB \ 18587CC \ 18588CFLAGS \ 18589compiler \ 18590lt_cv_sys_global_symbol_pipe \ 18591lt_cv_sys_global_symbol_to_cdecl \ 18592lt_cv_sys_global_symbol_to_c_name_address \ 18593lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18594SHELL \ 18595ECHO \ 18596lt_prog_compiler_no_builtin_flag \ 18597lt_prog_compiler_wl \ 18598lt_prog_compiler_pic \ 18599lt_prog_compiler_static \ 18600lt_cv_prog_compiler_c_o \ 18601need_locks \ 18602DSYMUTIL \ 18603NMEDIT \ 18604LIPO \ 18605OTOOL \ 18606OTOOL64 \ 18607shrext_cmds \ 18608export_dynamic_flag_spec \ 18609whole_archive_flag_spec \ 18610compiler_needs_object \ 18611with_gnu_ld \ 18612allow_undefined_flag \ 18613no_undefined_flag \ 18614hardcode_libdir_flag_spec \ 18615hardcode_libdir_flag_spec_ld \ 18616hardcode_libdir_separator \ 18617fix_srcfile_path \ 18618exclude_expsyms \ 18619include_expsyms \ 18620file_list_spec \ 18621variables_saved_for_relink \ 18622libname_spec \ 18623library_names_spec \ 18624soname_spec \ 18625finish_eval \ 18626old_striplib \ 18627striplib \ 18628compiler_lib_search_dirs \ 18629predep_objects \ 18630postdep_objects \ 18631predeps \ 18632postdeps \ 18633compiler_lib_search_path \ 18634LD_CXX \ 18635compiler_CXX \ 18636lt_prog_compiler_no_builtin_flag_CXX \ 18637lt_prog_compiler_wl_CXX \ 18638lt_prog_compiler_pic_CXX \ 18639lt_prog_compiler_static_CXX \ 18640lt_cv_prog_compiler_c_o_CXX \ 18641export_dynamic_flag_spec_CXX \ 18642whole_archive_flag_spec_CXX \ 18643compiler_needs_object_CXX \ 18644with_gnu_ld_CXX \ 18645allow_undefined_flag_CXX \ 18646no_undefined_flag_CXX \ 18647hardcode_libdir_flag_spec_CXX \ 18648hardcode_libdir_flag_spec_ld_CXX \ 18649hardcode_libdir_separator_CXX \ 18650fix_srcfile_path_CXX \ 18651exclude_expsyms_CXX \ 18652include_expsyms_CXX \ 18653file_list_spec_CXX \ 18654compiler_lib_search_dirs_CXX \ 18655predep_objects_CXX \ 18656postdep_objects_CXX \ 18657predeps_CXX \ 18658postdeps_CXX \ 18659compiler_lib_search_path_CXX; do 18660 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 18661 *[\\\\\\\`\\"\\\$]*) 18662 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 18663 ;; 18664 *) 18665 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18666 ;; 18667 esac 18668done 18669 18670# Double-quote double-evaled strings. 18671for var in reload_cmds \ 18672old_postinstall_cmds \ 18673old_postuninstall_cmds \ 18674old_archive_cmds \ 18675extract_expsyms_cmds \ 18676old_archive_from_new_cmds \ 18677old_archive_from_expsyms_cmds \ 18678archive_cmds \ 18679archive_expsym_cmds \ 18680module_cmds \ 18681module_expsym_cmds \ 18682export_symbols_cmds \ 18683prelink_cmds \ 18684postinstall_cmds \ 18685postuninstall_cmds \ 18686finish_cmds \ 18687sys_lib_search_path_spec \ 18688sys_lib_dlsearch_path_spec \ 18689old_archive_cmds_CXX \ 18690old_archive_from_new_cmds_CXX \ 18691old_archive_from_expsyms_cmds_CXX \ 18692archive_cmds_CXX \ 18693archive_expsym_cmds_CXX \ 18694module_cmds_CXX \ 18695module_expsym_cmds_CXX \ 18696export_symbols_cmds_CXX \ 18697prelink_cmds_CXX; do 18698 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 18699 *[\\\\\\\`\\"\\\$]*) 18700 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 18701 ;; 18702 *) 18703 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18704 ;; 18705 esac 18706done 18707 18708# Fix-up fallback echo if it was mangled by the above quoting rules. 18709case \$lt_ECHO in 18710*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 18711 ;; 18712esac 18713 18714ac_aux_dir='$ac_aux_dir' 18715xsi_shell='$xsi_shell' 18716lt_shell_append='$lt_shell_append' 18717 18718# See if we are running on zsh, and set the options which allow our 18719# commands through without removal of \ escapes INIT. 18720if test -n "\${ZSH_VERSION+set}" ; then 18721 setopt NO_GLOB_SUBST 18722fi 18723 18724 18725 PACKAGE='$PACKAGE' 18726 VERSION='$VERSION' 18727 TIMESTAMP='$TIMESTAMP' 18728 RM='$RM' 18729 ofile='$ofile' 18730 18731 18732 18733 18734 18735 18736_ACEOF 18737 18738cat >>$CONFIG_STATUS <<\_ACEOF 18739 18740# Handling of arguments. 18741for ac_config_target in $ac_config_targets 18742do 18743 case $ac_config_target in 18744 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18745 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18746 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18747 18748 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 18749echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 18750 { (exit 1); exit 1; }; };; 18751 esac 18752done 18753 18754 18755# If the user did not use the arguments to specify the items to instantiate, 18756# then the envvar interface is used. Set only those that are not. 18757# We use the long form for the default assignment because of an extremely 18758# bizarre bug on SunOS 4.1.3. 18759if $ac_need_defaults; then 18760 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18762fi 18763 18764# Have a temporary directory for convenience. Make it in the build tree 18765# simply because there is no reason against having it here, and in addition, 18766# creating and moving files from /tmp can sometimes cause problems. 18767# Hook for its removal unless debugging. 18768# Note that there is a small window in which the directory will not be cleaned: 18769# after its creation but before its name has been assigned to `$tmp'. 18770$debug || 18771{ 18772 tmp= 18773 trap 'exit_status=$? 18774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 18775' 0 18776 trap '{ (exit 1); exit 1; }' 1 2 13 15 18777} 18778# Create a (secure) tmp directory for tmp files. 18779 18780{ 18781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18782 test -n "$tmp" && test -d "$tmp" 18783} || 18784{ 18785 tmp=./conf$$-$RANDOM 18786 (umask 077 && mkdir "$tmp") 18787} || 18788{ 18789 echo "$me: cannot create a temporary directory in ." >&2 18790 { (exit 1); exit 1; } 18791} 18792 18793# 18794# Set up the sed scripts for CONFIG_FILES section. 18795# 18796 18797# No need to generate the scripts if there are no CONFIG_FILES. 18798# This happens for instance when ./config.status config.h 18799if test -n "$CONFIG_FILES"; then 18800 18801_ACEOF 18802 18803 18804 18805ac_delim='%!_!# ' 18806for ac_last_try in false false false false false :; do 18807 cat >conf$$subs.sed <<_ACEOF 18808SHELL!$SHELL$ac_delim 18809PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 18810PACKAGE_NAME!$PACKAGE_NAME$ac_delim 18811PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 18812PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 18813PACKAGE_STRING!$PACKAGE_STRING$ac_delim 18814PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 18815exec_prefix!$exec_prefix$ac_delim 18816prefix!$prefix$ac_delim 18817program_transform_name!$program_transform_name$ac_delim 18818bindir!$bindir$ac_delim 18819sbindir!$sbindir$ac_delim 18820libexecdir!$libexecdir$ac_delim 18821datarootdir!$datarootdir$ac_delim 18822datadir!$datadir$ac_delim 18823sysconfdir!$sysconfdir$ac_delim 18824sharedstatedir!$sharedstatedir$ac_delim 18825localstatedir!$localstatedir$ac_delim 18826includedir!$includedir$ac_delim 18827oldincludedir!$oldincludedir$ac_delim 18828docdir!$docdir$ac_delim 18829infodir!$infodir$ac_delim 18830htmldir!$htmldir$ac_delim 18831dvidir!$dvidir$ac_delim 18832pdfdir!$pdfdir$ac_delim 18833psdir!$psdir$ac_delim 18834libdir!$libdir$ac_delim 18835localedir!$localedir$ac_delim 18836mandir!$mandir$ac_delim 18837DEFS!$DEFS$ac_delim 18838ECHO_C!$ECHO_C$ac_delim 18839ECHO_N!$ECHO_N$ac_delim 18840ECHO_T!$ECHO_T$ac_delim 18841LIBS!$LIBS$ac_delim 18842build_alias!$build_alias$ac_delim 18843host_alias!$host_alias$ac_delim 18844target_alias!$target_alias$ac_delim 18845INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 18846INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 18847INSTALL_DATA!$INSTALL_DATA$ac_delim 18848am__isrc!$am__isrc$ac_delim 18849CYGPATH_W!$CYGPATH_W$ac_delim 18850PACKAGE!$PACKAGE$ac_delim 18851VERSION!$VERSION$ac_delim 18852ACLOCAL!$ACLOCAL$ac_delim 18853AUTOCONF!$AUTOCONF$ac_delim 18854AUTOMAKE!$AUTOMAKE$ac_delim 18855AUTOHEADER!$AUTOHEADER$ac_delim 18856MAKEINFO!$MAKEINFO$ac_delim 18857install_sh!$install_sh$ac_delim 18858STRIP!$STRIP$ac_delim 18859INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 18860mkdir_p!$mkdir_p$ac_delim 18861AWK!$AWK$ac_delim 18862SET_MAKE!$SET_MAKE$ac_delim 18863am__leading_dot!$am__leading_dot$ac_delim 18864AMTAR!$AMTAR$ac_delim 18865am__tar!$am__tar$ac_delim 18866am__untar!$am__untar$ac_delim 18867MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 18868MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 18869MAINT!$MAINT$ac_delim 18870CC!$CC$ac_delim 18871CFLAGS!$CFLAGS$ac_delim 18872LDFLAGS!$LDFLAGS$ac_delim 18873CPPFLAGS!$CPPFLAGS$ac_delim 18874ac_ct_CC!$ac_ct_CC$ac_delim 18875EXEEXT!$EXEEXT$ac_delim 18876OBJEXT!$OBJEXT$ac_delim 18877DEPDIR!$DEPDIR$ac_delim 18878am__include!$am__include$ac_delim 18879am__quote!$am__quote$ac_delim 18880AMDEP_TRUE!$AMDEP_TRUE$ac_delim 18881AMDEP_FALSE!$AMDEP_FALSE$ac_delim 18882AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 18883CCDEPMODE!$CCDEPMODE$ac_delim 18884am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 18885am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 18886CXX!$CXX$ac_delim 18887CXXFLAGS!$CXXFLAGS$ac_delim 18888ac_ct_CXX!$ac_ct_CXX$ac_delim 18889CXXDEPMODE!$CXXDEPMODE$ac_delim 18890am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim 18891am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim 18892LIBTOOL!$LIBTOOL$ac_delim 18893build!$build$ac_delim 18894build_cpu!$build_cpu$ac_delim 18895build_vendor!$build_vendor$ac_delim 18896build_os!$build_os$ac_delim 18897host!$host$ac_delim 18898host_cpu!$host_cpu$ac_delim 18899host_vendor!$host_vendor$ac_delim 18900host_os!$host_os$ac_delim 18901SED!$SED$ac_delim 18902GREP!$GREP$ac_delim 18903EGREP!$EGREP$ac_delim 18904FGREP!$FGREP$ac_delim 18905_ACEOF 18906 18907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 18908 break 18909 elif $ac_last_try; then 18910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 18911echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 18912 { (exit 1); exit 1; }; } 18913 else 18914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18915 fi 18916done 18917 18918ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 18919if test -n "$ac_eof"; then 18920 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 18921 ac_eof=`expr $ac_eof + 1` 18922fi 18923 18924cat >>$CONFIG_STATUS <<_ACEOF 18925cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 18926/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18927_ACEOF 18928sed ' 18929s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 18930s/^/s,@/; s/!/@,|#_!!_#|/ 18931:n 18932t n 18933s/'"$ac_delim"'$/,g/; t 18934s/$/\\/; p 18935N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 18936' >>$CONFIG_STATUS <conf$$subs.sed 18937rm -f conf$$subs.sed 18938cat >>$CONFIG_STATUS <<_ACEOF 18939CEOF$ac_eof 18940_ACEOF 18941 18942 18943ac_delim='%!_!# ' 18944for ac_last_try in false false false false false :; do 18945 cat >conf$$subs.sed <<_ACEOF 18946LD!$LD$ac_delim 18947DUMPBIN!$DUMPBIN$ac_delim 18948ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim 18949NM!$NM$ac_delim 18950LN_S!$LN_S$ac_delim 18951AR!$AR$ac_delim 18952RANLIB!$RANLIB$ac_delim 18953lt_ECHO!$lt_ECHO$ac_delim 18954DSYMUTIL!$DSYMUTIL$ac_delim 18955NMEDIT!$NMEDIT$ac_delim 18956LIPO!$LIPO$ac_delim 18957OTOOL!$OTOOL$ac_delim 18958OTOOL64!$OTOOL64$ac_delim 18959CPP!$CPP$ac_delim 18960CXXCPP!$CXXCPP$ac_delim 18961LSB_RELEASE!$LSB_RELEASE$ac_delim 18962SIZEOF_WCHAR_T!$SIZEOF_WCHAR_T$ac_delim 18963LIBOBJS!$LIBOBJS$ac_delim 18964PKG_CONFIG!$PKG_CONFIG$ac_delim 18965GR2_CFLAGS!$GR2_CFLAGS$ac_delim 18966GR2_LIBS!$GR2_LIBS$ac_delim 18967PANGO_MODULE_VERSION!$PANGO_MODULE_VERSION$ac_delim 18968PANGO_MAJOR_VERSION!$PANGO_MAJOR_VERSION$ac_delim 18969PANGO_MINOR_VERSION!$PANGO_MINOR_VERSION$ac_delim 18970PANGO_MICRO_VERSION!$PANGO_MICRO_VERSION$ac_delim 18971PANGO_CFLAGS!$PANGO_CFLAGS$ac_delim 18972PANGO_LIBS!$PANGO_LIBS$ac_delim 18973GTK_CFLAGS!$GTK_CFLAGS$ac_delim 18974GTK_LIBS!$GTK_LIBS$ac_delim 18975PANGO_DEBUG_FLAGS!$PANGO_DEBUG_FLAGS$ac_delim 18976PANGO_DEBUG_CFLAGS!$PANGO_DEBUG_CFLAGS$ac_delim 18977PANGOMODULE_TRUE!$PANGOMODULE_TRUE$ac_delim 18978PANGOMODULE_FALSE!$PANGOMODULE_FALSE$ac_delim 18979PANGOQM_TRUE!$PANGOQM_TRUE$ac_delim 18980PANGOQM_FALSE!$PANGOQM_FALSE$ac_delim 18981EXAMPLES_TRUE!$EXAMPLES_TRUE$ac_delim 18982EXAMPLES_FALSE!$EXAMPLES_FALSE$ac_delim 18983REL_CODENAME!$REL_CODENAME$ac_delim 18984LTLIBOBJS!$LTLIBOBJS$ac_delim 18985_ACEOF 18986 18987 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 39; then 18988 break 18989 elif $ac_last_try; then 18990 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 18991echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 18992 { (exit 1); exit 1; }; } 18993 else 18994 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18995 fi 18996done 18997 18998ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 18999if test -n "$ac_eof"; then 19000 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 19001 ac_eof=`expr $ac_eof + 1` 19002fi 19003 19004cat >>$CONFIG_STATUS <<_ACEOF 19005cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 19006/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 19007_ACEOF 19008sed ' 19009s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 19010s/^/s,@/; s/!/@,|#_!!_#|/ 19011:n 19012t n 19013s/'"$ac_delim"'$/,g/; t 19014s/$/\\/; p 19015N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 19016' >>$CONFIG_STATUS <conf$$subs.sed 19017rm -f conf$$subs.sed 19018cat >>$CONFIG_STATUS <<_ACEOF 19019:end 19020s/|#_!!_#|//g 19021CEOF$ac_eof 19022_ACEOF 19023 19024 19025# VPATH may cause trouble with some makes, so we remove $(srcdir), 19026# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 19027# trailing colons and then remove the whole line if VPATH becomes empty 19028# (actually we leave an empty line to preserve line numbers). 19029if test "x$srcdir" = x.; then 19030 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 19031s/:*\$(srcdir):*/:/ 19032s/:*\${srcdir}:*/:/ 19033s/:*@srcdir@:*/:/ 19034s/^\([^=]*=[ ]*\):*/\1/ 19035s/:*$// 19036s/^[^=]*=[ ]*$// 19037}' 19038fi 19039 19040cat >>$CONFIG_STATUS <<\_ACEOF 19041fi # test -n "$CONFIG_FILES" 19042 19043 19044for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS 19045do 19046 case $ac_tag in 19047 :[FHLC]) ac_mode=$ac_tag; continue;; 19048 esac 19049 case $ac_mode$ac_tag in 19050 :[FHL]*:*);; 19051 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 19052echo "$as_me: error: Invalid tag $ac_tag." >&2;} 19053 { (exit 1); exit 1; }; };; 19054 :[FH]-) ac_tag=-:-;; 19055 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 19056 esac 19057 ac_save_IFS=$IFS 19058 IFS=: 19059 set x $ac_tag 19060 IFS=$ac_save_IFS 19061 shift 19062 ac_file=$1 19063 shift 19064 19065 case $ac_mode in 19066 :L) ac_source=$1;; 19067 :[FH]) 19068 ac_file_inputs= 19069 for ac_f 19070 do 19071 case $ac_f in 19072 -) ac_f="$tmp/stdin";; 19073 *) # Look for the file first in the build tree, then in the source tree 19074 # (if the path is not absolute). The absolute path cannot be DOS-style, 19075 # because $ac_f cannot contain `:'. 19076 test -f "$ac_f" || 19077 case $ac_f in 19078 [\\/$]*) false;; 19079 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 19080 esac || 19081 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 19082echo "$as_me: error: cannot find input file: $ac_f" >&2;} 19083 { (exit 1); exit 1; }; };; 19084 esac 19085 ac_file_inputs="$ac_file_inputs $ac_f" 19086 done 19087 19088 # Let's still pretend it is `configure' which instantiates (i.e., don't 19089 # use $as_me), people would be surprised to read: 19090 # /* config.h. Generated by config.status. */ 19091 configure_input="Generated from "`IFS=: 19092 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 19093 if test x"$ac_file" != x-; then 19094 configure_input="$ac_file. $configure_input" 19095 { echo "$as_me:$LINENO: creating $ac_file" >&5 19096echo "$as_me: creating $ac_file" >&6;} 19097 fi 19098 19099 case $ac_tag in 19100 *:-:* | *:-) cat >"$tmp/stdin";; 19101 esac 19102 ;; 19103 esac 19104 19105 ac_dir=`$as_dirname -- "$ac_file" || 19106$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19107 X"$ac_file" : 'X\(//\)[^/]' \| \ 19108 X"$ac_file" : 'X\(//\)$' \| \ 19109 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 19110echo X"$ac_file" | 19111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19112 s//\1/ 19113 q 19114 } 19115 /^X\(\/\/\)[^/].*/{ 19116 s//\1/ 19117 q 19118 } 19119 /^X\(\/\/\)$/{ 19120 s//\1/ 19121 q 19122 } 19123 /^X\(\/\).*/{ 19124 s//\1/ 19125 q 19126 } 19127 s/.*/./; q'` 19128 { as_dir="$ac_dir" 19129 case $as_dir in #( 19130 -*) as_dir=./$as_dir;; 19131 esac 19132 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 19133 as_dirs= 19134 while :; do 19135 case $as_dir in #( 19136 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 19137 *) as_qdir=$as_dir;; 19138 esac 19139 as_dirs="'$as_qdir' $as_dirs" 19140 as_dir=`$as_dirname -- "$as_dir" || 19141$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19142 X"$as_dir" : 'X\(//\)[^/]' \| \ 19143 X"$as_dir" : 'X\(//\)$' \| \ 19144 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19145echo X"$as_dir" | 19146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19147 s//\1/ 19148 q 19149 } 19150 /^X\(\/\/\)[^/].*/{ 19151 s//\1/ 19152 q 19153 } 19154 /^X\(\/\/\)$/{ 19155 s//\1/ 19156 q 19157 } 19158 /^X\(\/\).*/{ 19159 s//\1/ 19160 q 19161 } 19162 s/.*/./; q'` 19163 test -d "$as_dir" && break 19164 done 19165 test -z "$as_dirs" || eval "mkdir $as_dirs" 19166 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 19167echo "$as_me: error: cannot create directory $as_dir" >&2;} 19168 { (exit 1); exit 1; }; }; } 19169 ac_builddir=. 19170 19171case "$ac_dir" in 19172.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 19173*) 19174 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 19175 # A ".." for each directory in $ac_dir_suffix. 19176 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 19177 case $ac_top_builddir_sub in 19178 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 19179 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 19180 esac ;; 19181esac 19182ac_abs_top_builddir=$ac_pwd 19183ac_abs_builddir=$ac_pwd$ac_dir_suffix 19184# for backward compatibility: 19185ac_top_builddir=$ac_top_build_prefix 19186 19187case $srcdir in 19188 .) # We are building in place. 19189 ac_srcdir=. 19190 ac_top_srcdir=$ac_top_builddir_sub 19191 ac_abs_top_srcdir=$ac_pwd ;; 19192 [\\/]* | ?:[\\/]* ) # Absolute name. 19193 ac_srcdir=$srcdir$ac_dir_suffix; 19194 ac_top_srcdir=$srcdir 19195 ac_abs_top_srcdir=$srcdir ;; 19196 *) # Relative name. 19197 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 19198 ac_top_srcdir=$ac_top_build_prefix$srcdir 19199 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 19200esac 19201ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 19202 19203 19204 case $ac_mode in 19205 :F) 19206 # 19207 # CONFIG_FILE 19208 # 19209 19210 case $INSTALL in 19211 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 19212 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 19213 esac 19214 ac_MKDIR_P=$MKDIR_P 19215 case $MKDIR_P in 19216 [\\/$]* | ?:[\\/]* ) ;; 19217 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 19218 esac 19219_ACEOF 19220 19221cat >>$CONFIG_STATUS <<\_ACEOF 19222# If the template does not know about datarootdir, expand it. 19223# FIXME: This hack should be removed a few years after 2.60. 19224ac_datarootdir_hack=; ac_datarootdir_seen= 19225 19226case `sed -n '/datarootdir/ { 19227 p 19228 q 19229} 19230/@datadir@/p 19231/@docdir@/p 19232/@infodir@/p 19233/@localedir@/p 19234/@mandir@/p 19235' $ac_file_inputs` in 19236*datarootdir*) ac_datarootdir_seen=yes;; 19237*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 19238 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 19239echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 19240_ACEOF 19241cat >>$CONFIG_STATUS <<_ACEOF 19242 ac_datarootdir_hack=' 19243 s&@datadir@&$datadir&g 19244 s&@docdir@&$docdir&g 19245 s&@infodir@&$infodir&g 19246 s&@localedir@&$localedir&g 19247 s&@mandir@&$mandir&g 19248 s&\\\${datarootdir}&$datarootdir&g' ;; 19249esac 19250_ACEOF 19251 19252# Neutralize VPATH when `$srcdir' = `.'. 19253# Shell code in configure.ac might set extrasub. 19254# FIXME: do we really want to maintain this feature? 19255cat >>$CONFIG_STATUS <<_ACEOF 19256 sed "$ac_vpsub 19257$extrasub 19258_ACEOF 19259cat >>$CONFIG_STATUS <<\_ACEOF 19260:t 19261/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 19262s&@configure_input@&$configure_input&;t t 19263s&@top_builddir@&$ac_top_builddir_sub&;t t 19264s&@srcdir@&$ac_srcdir&;t t 19265s&@abs_srcdir@&$ac_abs_srcdir&;t t 19266s&@top_srcdir@&$ac_top_srcdir&;t t 19267s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 19268s&@builddir@&$ac_builddir&;t t 19269s&@abs_builddir@&$ac_abs_builddir&;t t 19270s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 19271s&@INSTALL@&$ac_INSTALL&;t t 19272s&@MKDIR_P@&$ac_MKDIR_P&;t t 19273$ac_datarootdir_hack 19274" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 19275 19276test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 19277 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 19278 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 19279 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19280which seems to be undefined. Please make sure it is defined." >&5 19281echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 19282which seems to be undefined. Please make sure it is defined." >&2;} 19283 19284 rm -f "$tmp/stdin" 19285 case $ac_file in 19286 -) cat "$tmp/out"; rm -f "$tmp/out";; 19287 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 19288 esac 19289 ;; 19290 19291 19292 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 19293echo "$as_me: executing $ac_file commands" >&6;} 19294 ;; 19295 esac 19296 19297 19298 case $ac_file$ac_mode in 19299 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 19300 # Strip MF so we end up with the name of the file. 19301 mf=`echo "$mf" | sed -e 's/:.*$//'` 19302 # Check whether this is an Automake generated Makefile or not. 19303 # We used to match only the files named `Makefile.in', but 19304 # some people rename them; so instead we look at the file content. 19305 # Grep'ing the first line is not enough: some people post-process 19306 # each Makefile.in and add a new line on top of each file to say so. 19307 # Grep'ing the whole file is not good either: AIX grep has a line 19308 # limit of 2048, but all sed's we know have understand at least 4000. 19309 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 19310 dirpart=`$as_dirname -- "$mf" || 19311$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19312 X"$mf" : 'X\(//\)[^/]' \| \ 19313 X"$mf" : 'X\(//\)$' \| \ 19314 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 19315echo X"$mf" | 19316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19317 s//\1/ 19318 q 19319 } 19320 /^X\(\/\/\)[^/].*/{ 19321 s//\1/ 19322 q 19323 } 19324 /^X\(\/\/\)$/{ 19325 s//\1/ 19326 q 19327 } 19328 /^X\(\/\).*/{ 19329 s//\1/ 19330 q 19331 } 19332 s/.*/./; q'` 19333 else 19334 continue 19335 fi 19336 # Extract the definition of DEPDIR, am__include, and am__quote 19337 # from the Makefile without running `make'. 19338 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 19339 test -z "$DEPDIR" && continue 19340 am__include=`sed -n 's/^am__include = //p' < "$mf"` 19341 test -z "am__include" && continue 19342 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 19343 # When using ansi2knr, U may be empty or an underscore; expand it 19344 U=`sed -n 's/^U = //p' < "$mf"` 19345 # Find all dependency output files, they are included files with 19346 # $(DEPDIR) in their names. We invoke sed twice because it is the 19347 # simplest approach to changing $(DEPDIR) to its actual value in the 19348 # expansion. 19349 for file in `sed -n " 19350 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 19351 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 19352 # Make sure the directory exists. 19353 test -f "$dirpart/$file" && continue 19354 fdir=`$as_dirname -- "$file" || 19355$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19356 X"$file" : 'X\(//\)[^/]' \| \ 19357 X"$file" : 'X\(//\)$' \| \ 19358 X"$file" : 'X\(/\)' \| . 2>/dev/null || 19359echo X"$file" | 19360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19361 s//\1/ 19362 q 19363 } 19364 /^X\(\/\/\)[^/].*/{ 19365 s//\1/ 19366 q 19367 } 19368 /^X\(\/\/\)$/{ 19369 s//\1/ 19370 q 19371 } 19372 /^X\(\/\).*/{ 19373 s//\1/ 19374 q 19375 } 19376 s/.*/./; q'` 19377 { as_dir=$dirpart/$fdir 19378 case $as_dir in #( 19379 -*) as_dir=./$as_dir;; 19380 esac 19381 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 19382 as_dirs= 19383 while :; do 19384 case $as_dir in #( 19385 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 19386 *) as_qdir=$as_dir;; 19387 esac 19388 as_dirs="'$as_qdir' $as_dirs" 19389 as_dir=`$as_dirname -- "$as_dir" || 19390$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 19391 X"$as_dir" : 'X\(//\)[^/]' \| \ 19392 X"$as_dir" : 'X\(//\)$' \| \ 19393 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 19394echo X"$as_dir" | 19395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 19396 s//\1/ 19397 q 19398 } 19399 /^X\(\/\/\)[^/].*/{ 19400 s//\1/ 19401 q 19402 } 19403 /^X\(\/\/\)$/{ 19404 s//\1/ 19405 q 19406 } 19407 /^X\(\/\).*/{ 19408 s//\1/ 19409 q 19410 } 19411 s/.*/./; q'` 19412 test -d "$as_dir" && break 19413 done 19414 test -z "$as_dirs" || eval "mkdir $as_dirs" 19415 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 19416echo "$as_me: error: cannot create directory $as_dir" >&2;} 19417 { (exit 1); exit 1; }; }; } 19418 # echo "creating $dirpart/$file" 19419 echo '# dummy' > "$dirpart/$file" 19420 done 19421done 19422 ;; 19423 "libtool":C) 19424 19425 # See if we are running on zsh, and set the options which allow our 19426 # commands through without removal of \ escapes. 19427 if test -n "${ZSH_VERSION+set}" ; then 19428 setopt NO_GLOB_SUBST 19429 fi 19430 19431 cfgfile="${ofile}T" 19432 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 19433 $RM "$cfgfile" 19434 19435 cat <<_LT_EOF >> "$cfgfile" 19436#! $SHELL 19437 19438# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 19439# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 19440# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 19441# NOTE: Changes made to this file will be lost: look at ltmain.sh. 19442# 19443# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 19444# 2006, 2007, 2008 Free Software Foundation, Inc. 19445# Written by Gordon Matzigkeit, 1996 19446# 19447# This file is part of GNU Libtool. 19448# 19449# GNU Libtool is free software; you can redistribute it and/or 19450# modify it under the terms of the GNU General Public License as 19451# published by the Free Software Foundation; either version 2 of 19452# the License, or (at your option) any later version. 19453# 19454# As a special exception to the GNU General Public License, 19455# if you distribute this file as part of a program or library that 19456# is built using GNU Libtool, you may include this file under the 19457# same distribution terms that you use for the rest of that program. 19458# 19459# GNU Libtool is distributed in the hope that it will be useful, 19460# but WITHOUT ANY WARRANTY; without even the implied warranty of 19461# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19462# GNU General Public License for more details. 19463# 19464# You should have received a copy of the GNU General Public License 19465# along with GNU Libtool; see the file COPYING. If not, a copy 19466# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 19467# obtained by writing to the Free Software Foundation, Inc., 19468# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19469 19470 19471# The names of the tagged configurations supported by this script. 19472available_tags="CXX " 19473 19474# ### BEGIN LIBTOOL CONFIG 19475 19476# Which release of libtool.m4 was used? 19477macro_version=$macro_version 19478macro_revision=$macro_revision 19479 19480# Whether or not to build shared libraries. 19481build_libtool_libs=$enable_shared 19482 19483# Whether or not to build static libraries. 19484build_old_libs=$enable_static 19485 19486# What type of objects to build. 19487pic_mode=$pic_mode 19488 19489# Whether or not to optimize for fast installation. 19490fast_install=$enable_fast_install 19491 19492# The host system. 19493host_alias=$host_alias 19494host=$host 19495host_os=$host_os 19496 19497# The build system. 19498build_alias=$build_alias 19499build=$build 19500build_os=$build_os 19501 19502# A sed program that does not truncate output. 19503SED=$lt_SED 19504 19505# Sed that helps us avoid accidentally triggering echo(1) options like -n. 19506Xsed="\$SED -e 1s/^X//" 19507 19508# A grep program that handles long lines. 19509GREP=$lt_GREP 19510 19511# An ERE matcher. 19512EGREP=$lt_EGREP 19513 19514# A literal string matcher. 19515FGREP=$lt_FGREP 19516 19517# A BSD- or MS-compatible name lister. 19518NM=$lt_NM 19519 19520# Whether we need soft or hard links. 19521LN_S=$lt_LN_S 19522 19523# What is the maximum length of a command? 19524max_cmd_len=$max_cmd_len 19525 19526# Object file suffix (normally "o"). 19527objext=$ac_objext 19528 19529# Executable file suffix (normally ""). 19530exeext=$exeext 19531 19532# whether the shell understands "unset". 19533lt_unset=$lt_unset 19534 19535# turn spaces into newlines. 19536SP2NL=$lt_lt_SP2NL 19537 19538# turn newlines into spaces. 19539NL2SP=$lt_lt_NL2SP 19540 19541# How to create reloadable object files. 19542reload_flag=$lt_reload_flag 19543reload_cmds=$lt_reload_cmds 19544 19545# Method to check whether dependent libraries are shared objects. 19546deplibs_check_method=$lt_deplibs_check_method 19547 19548# Command to use when deplibs_check_method == "file_magic". 19549file_magic_cmd=$lt_file_magic_cmd 19550 19551# The archiver. 19552AR=$lt_AR 19553AR_FLAGS=$lt_AR_FLAGS 19554 19555# A symbol stripping program. 19556STRIP=$lt_STRIP 19557 19558# Commands used to install an old-style archive. 19559RANLIB=$lt_RANLIB 19560old_postinstall_cmds=$lt_old_postinstall_cmds 19561old_postuninstall_cmds=$lt_old_postuninstall_cmds 19562 19563# A C compiler. 19564LTCC=$lt_CC 19565 19566# LTCC compiler flags. 19567LTCFLAGS=$lt_CFLAGS 19568 19569# Take the output of nm and produce a listing of raw symbols and C names. 19570global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19571 19572# Transform the output of nm in a proper C declaration. 19573global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19574 19575# Transform the output of nm in a C name address pair. 19576global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19577 19578# Transform the output of nm in a C name address pair when lib prefix is needed. 19579global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19580 19581# The name of the directory that contains temporary libtool files. 19582objdir=$objdir 19583 19584# Shell to use when invoking shell scripts. 19585SHELL=$lt_SHELL 19586 19587# An echo program that does not interpret backslashes. 19588ECHO=$lt_ECHO 19589 19590# Used to examine libraries when file_magic_cmd begins with "file". 19591MAGIC_CMD=$MAGIC_CMD 19592 19593# Must we lock files when doing compilation? 19594need_locks=$lt_need_locks 19595 19596# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19597DSYMUTIL=$lt_DSYMUTIL 19598 19599# Tool to change global to local symbols on Mac OS X. 19600NMEDIT=$lt_NMEDIT 19601 19602# Tool to manipulate fat objects and archives on Mac OS X. 19603LIPO=$lt_LIPO 19604 19605# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19606OTOOL=$lt_OTOOL 19607 19608# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19609OTOOL64=$lt_OTOOL64 19610 19611# Old archive suffix (normally "a"). 19612libext=$libext 19613 19614# Shared library suffix (normally ".so"). 19615shrext_cmds=$lt_shrext_cmds 19616 19617# The commands to extract the exported symbol list from a shared archive. 19618extract_expsyms_cmds=$lt_extract_expsyms_cmds 19619 19620# Variables whose values should be saved in libtool wrapper scripts and 19621# restored at link time. 19622variables_saved_for_relink=$lt_variables_saved_for_relink 19623 19624# Do we need the "lib" prefix for modules? 19625need_lib_prefix=$need_lib_prefix 19626 19627# Do we need a version for libraries? 19628need_version=$need_version 19629 19630# Library versioning type. 19631version_type=$version_type 19632 19633# Shared library runtime path variable. 19634runpath_var=$runpath_var 19635 19636# Shared library path variable. 19637shlibpath_var=$shlibpath_var 19638 19639# Is shlibpath searched before the hard-coded library search path? 19640shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19641 19642# Format of library name prefix. 19643libname_spec=$lt_libname_spec 19644 19645# List of archive names. First name is the real one, the rest are links. 19646# The last name is the one that the linker finds with -lNAME 19647library_names_spec=$lt_library_names_spec 19648 19649# The coded name of the library, if different from the real name. 19650soname_spec=$lt_soname_spec 19651 19652# Command to use after installation of a shared archive. 19653postinstall_cmds=$lt_postinstall_cmds 19654 19655# Command to use after uninstallation of a shared archive. 19656postuninstall_cmds=$lt_postuninstall_cmds 19657 19658# Commands used to finish a libtool library installation in a directory. 19659finish_cmds=$lt_finish_cmds 19660 19661# As "finish_cmds", except a single script fragment to be evaled but 19662# not shown. 19663finish_eval=$lt_finish_eval 19664 19665# Whether we should hardcode library paths into libraries. 19666hardcode_into_libs=$hardcode_into_libs 19667 19668# Compile-time system search path for libraries. 19669sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19670 19671# Run-time system search path for libraries. 19672sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 19673 19674# Whether dlopen is supported. 19675dlopen_support=$enable_dlopen 19676 19677# Whether dlopen of programs is supported. 19678dlopen_self=$enable_dlopen_self 19679 19680# Whether dlopen of statically linked programs is supported. 19681dlopen_self_static=$enable_dlopen_self_static 19682 19683# Commands to strip libraries. 19684old_striplib=$lt_old_striplib 19685striplib=$lt_striplib 19686 19687 19688# The linker used to build libraries. 19689LD=$lt_LD 19690 19691# Commands used to build an old-style archive. 19692old_archive_cmds=$lt_old_archive_cmds 19693 19694# A language specific compiler. 19695CC=$lt_compiler 19696 19697# Is the compiler the GNU compiler? 19698with_gcc=$GCC 19699 19700# Compiler flag to turn off builtin functions. 19701no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19702 19703# How to pass a linker flag through the compiler. 19704wl=$lt_lt_prog_compiler_wl 19705 19706# Additional compiler flags for building library objects. 19707pic_flag=$lt_lt_prog_compiler_pic 19708 19709# Compiler flag to prevent dynamic linking. 19710link_static_flag=$lt_lt_prog_compiler_static 19711 19712# Does compiler simultaneously support -c and -o options? 19713compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19714 19715# Whether or not to add -lc for building shared libraries. 19716build_libtool_need_lc=$archive_cmds_need_lc 19717 19718# Whether or not to disallow shared libs when runtime libs are static. 19719allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19720 19721# Compiler flag to allow reflexive dlopens. 19722export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19723 19724# Compiler flag to generate shared objects directly from archives. 19725whole_archive_flag_spec=$lt_whole_archive_flag_spec 19726 19727# Whether the compiler copes with passing no objects directly. 19728compiler_needs_object=$lt_compiler_needs_object 19729 19730# Create an old-style archive from a shared archive. 19731old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19732 19733# Create a temporary old-style archive to link instead of a shared archive. 19734old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19735 19736# Commands used to build a shared archive. 19737archive_cmds=$lt_archive_cmds 19738archive_expsym_cmds=$lt_archive_expsym_cmds 19739 19740# Commands used to build a loadable module if different from building 19741# a shared archive. 19742module_cmds=$lt_module_cmds 19743module_expsym_cmds=$lt_module_expsym_cmds 19744 19745# Whether we are building with GNU ld or not. 19746with_gnu_ld=$lt_with_gnu_ld 19747 19748# Flag that allows shared libraries with undefined symbols to be built. 19749allow_undefined_flag=$lt_allow_undefined_flag 19750 19751# Flag that enforces no undefined symbols. 19752no_undefined_flag=$lt_no_undefined_flag 19753 19754# Flag to hardcode \$libdir into a binary during linking. 19755# This must work even if \$libdir does not exist 19756hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19757 19758# If ld is used when linking, flag to hardcode \$libdir into a binary 19759# during linking. This must work even if \$libdir does not exist. 19760hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 19761 19762# Whether we need a single "-rpath" flag with a separated argument. 19763hardcode_libdir_separator=$lt_hardcode_libdir_separator 19764 19765# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19766# DIR into the resulting binary. 19767hardcode_direct=$hardcode_direct 19768 19769# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 19770# DIR into the resulting binary and the resulting library dependency is 19771# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 19772# library is relocated. 19773hardcode_direct_absolute=$hardcode_direct_absolute 19774 19775# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19776# into the resulting binary. 19777hardcode_minus_L=$hardcode_minus_L 19778 19779# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19780# into the resulting binary. 19781hardcode_shlibpath_var=$hardcode_shlibpath_var 19782 19783# Set to "yes" if building a shared library automatically hardcodes DIR 19784# into the library and all subsequent libraries and executables linked 19785# against it. 19786hardcode_automatic=$hardcode_automatic 19787 19788# Set to yes if linker adds runtime paths of dependent libraries 19789# to runtime path list. 19790inherit_rpath=$inherit_rpath 19791 19792# Whether libtool must link a program against all its dependency libraries. 19793link_all_deplibs=$link_all_deplibs 19794 19795# Fix the shell variable \$srcfile for the compiler. 19796fix_srcfile_path=$lt_fix_srcfile_path 19797 19798# Set to "yes" if exported symbols are required. 19799always_export_symbols=$always_export_symbols 19800 19801# The commands to list exported symbols. 19802export_symbols_cmds=$lt_export_symbols_cmds 19803 19804# Symbols that should not be listed in the preloaded symbols. 19805exclude_expsyms=$lt_exclude_expsyms 19806 19807# Symbols that must always be exported. 19808include_expsyms=$lt_include_expsyms 19809 19810# Commands necessary for linking programs (against libraries) with templates. 19811prelink_cmds=$lt_prelink_cmds 19812 19813# Specify filename containing input files. 19814file_list_spec=$lt_file_list_spec 19815 19816# How to hardcode a shared library path into an executable. 19817hardcode_action=$hardcode_action 19818 19819# The directories searched by this compiler when creating a shared library. 19820compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 19821 19822# Dependencies to place before and after the objects being linked to 19823# create a shared library. 19824predep_objects=$lt_predep_objects 19825postdep_objects=$lt_postdep_objects 19826predeps=$lt_predeps 19827postdeps=$lt_postdeps 19828 19829# The library search path used internally by the compiler when linking 19830# a shared library. 19831compiler_lib_search_path=$lt_compiler_lib_search_path 19832 19833# ### END LIBTOOL CONFIG 19834 19835_LT_EOF 19836 19837 case $host_os in 19838 aix3*) 19839 cat <<\_LT_EOF >> "$cfgfile" 19840# AIX sometimes has problems with the GCC collect2 program. For some 19841# reason, if we set the COLLECT_NAMES environment variable, the problems 19842# vanish in a puff of smoke. 19843if test "X${COLLECT_NAMES+set}" != Xset; then 19844 COLLECT_NAMES= 19845 export COLLECT_NAMES 19846fi 19847_LT_EOF 19848 ;; 19849 esac 19850 19851 19852ltmain="$ac_aux_dir/ltmain.sh" 19853 19854 19855 # We use sed instead of cat because bash on DJGPP gets confused if 19856 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19857 # text mode, it properly converts lines to CR/LF. This bash problem 19858 # is reportedly fixed, but why not run on old versions too? 19859 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 19860 || (rm -f "$cfgfile"; exit 1) 19861 19862 case $xsi_shell in 19863 yes) 19864 cat << \_LT_EOF >> "$cfgfile" 19865 19866# func_dirname file append nondir_replacement 19867# Compute the dirname of FILE. If nonempty, add APPEND to the result, 19868# otherwise set result to NONDIR_REPLACEMENT. 19869func_dirname () 19870{ 19871 case ${1} in 19872 */*) func_dirname_result="${1%/*}${2}" ;; 19873 * ) func_dirname_result="${3}" ;; 19874 esac 19875} 19876 19877# func_basename file 19878func_basename () 19879{ 19880 func_basename_result="${1##*/}" 19881} 19882 19883# func_dirname_and_basename file append nondir_replacement 19884# perform func_basename and func_dirname in a single function 19885# call: 19886# dirname: Compute the dirname of FILE. If nonempty, 19887# add APPEND to the result, otherwise set result 19888# to NONDIR_REPLACEMENT. 19889# value returned in "$func_dirname_result" 19890# basename: Compute filename of FILE. 19891# value retuned in "$func_basename_result" 19892# Implementation must be kept synchronized with func_dirname 19893# and func_basename. For efficiency, we do not delegate to 19894# those functions but instead duplicate the functionality here. 19895func_dirname_and_basename () 19896{ 19897 case ${1} in 19898 */*) func_dirname_result="${1%/*}${2}" ;; 19899 * ) func_dirname_result="${3}" ;; 19900 esac 19901 func_basename_result="${1##*/}" 19902} 19903 19904# func_stripname prefix suffix name 19905# strip PREFIX and SUFFIX off of NAME. 19906# PREFIX and SUFFIX must not contain globbing or regex special 19907# characters, hashes, percent signs, but SUFFIX may contain a leading 19908# dot (in which case that matches only a dot). 19909func_stripname () 19910{ 19911 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 19912 # positional parameters, so assign one to ordinary parameter first. 19913 func_stripname_result=${3} 19914 func_stripname_result=${func_stripname_result#"${1}"} 19915 func_stripname_result=${func_stripname_result%"${2}"} 19916} 19917 19918# func_opt_split 19919func_opt_split () 19920{ 19921 func_opt_split_opt=${1%%=*} 19922 func_opt_split_arg=${1#*=} 19923} 19924 19925# func_lo2o object 19926func_lo2o () 19927{ 19928 case ${1} in 19929 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 19930 *) func_lo2o_result=${1} ;; 19931 esac 19932} 19933 19934# func_xform libobj-or-source 19935func_xform () 19936{ 19937 func_xform_result=${1%.*}.lo 19938} 19939 19940# func_arith arithmetic-term... 19941func_arith () 19942{ 19943 func_arith_result=$(( $* )) 19944} 19945 19946# func_len string 19947# STRING may not start with a hyphen. 19948func_len () 19949{ 19950 func_len_result=${#1} 19951} 19952 19953_LT_EOF 19954 ;; 19955 *) # Bourne compatible functions. 19956 cat << \_LT_EOF >> "$cfgfile" 19957 19958# func_dirname file append nondir_replacement 19959# Compute the dirname of FILE. If nonempty, add APPEND to the result, 19960# otherwise set result to NONDIR_REPLACEMENT. 19961func_dirname () 19962{ 19963 # Extract subdirectory from the argument. 19964 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 19965 if test "X$func_dirname_result" = "X${1}"; then 19966 func_dirname_result="${3}" 19967 else 19968 func_dirname_result="$func_dirname_result${2}" 19969 fi 19970} 19971 19972# func_basename file 19973func_basename () 19974{ 19975 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 19976} 19977 19978 19979# func_stripname prefix suffix name 19980# strip PREFIX and SUFFIX off of NAME. 19981# PREFIX and SUFFIX must not contain globbing or regex special 19982# characters, hashes, percent signs, but SUFFIX may contain a leading 19983# dot (in which case that matches only a dot). 19984# func_strip_suffix prefix name 19985func_stripname () 19986{ 19987 case ${2} in 19988 .*) func_stripname_result=`$ECHO "X${3}" \ 19989 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 19990 *) func_stripname_result=`$ECHO "X${3}" \ 19991 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 19992 esac 19993} 19994 19995# sed scripts: 19996my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 19997my_sed_long_arg='1s/^-[^=]*=//' 19998 19999# func_opt_split 20000func_opt_split () 20001{ 20002 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 20003 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 20004} 20005 20006# func_lo2o object 20007func_lo2o () 20008{ 20009 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 20010} 20011 20012# func_xform libobj-or-source 20013func_xform () 20014{ 20015 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 20016} 20017 20018# func_arith arithmetic-term... 20019func_arith () 20020{ 20021 func_arith_result=`expr "$@"` 20022} 20023 20024# func_len string 20025# STRING may not start with a hyphen. 20026func_len () 20027{ 20028 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 20029} 20030 20031_LT_EOF 20032esac 20033 20034case $lt_shell_append in 20035 yes) 20036 cat << \_LT_EOF >> "$cfgfile" 20037 20038# func_append var value 20039# Append VALUE to the end of shell variable VAR. 20040func_append () 20041{ 20042 eval "$1+=\$2" 20043} 20044_LT_EOF 20045 ;; 20046 *) 20047 cat << \_LT_EOF >> "$cfgfile" 20048 20049# func_append var value 20050# Append VALUE to the end of shell variable VAR. 20051func_append () 20052{ 20053 eval "$1=\$$1\$2" 20054} 20055 20056_LT_EOF 20057 ;; 20058 esac 20059 20060 20061 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 20062 || (rm -f "$cfgfile"; exit 1) 20063 20064 mv -f "$cfgfile" "$ofile" || 20065 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 20066 chmod +x "$ofile" 20067 20068 20069 cat <<_LT_EOF >> "$ofile" 20070 20071# ### BEGIN LIBTOOL TAG CONFIG: CXX 20072 20073# The linker used to build libraries. 20074LD=$lt_LD_CXX 20075 20076# Commands used to build an old-style archive. 20077old_archive_cmds=$lt_old_archive_cmds_CXX 20078 20079# A language specific compiler. 20080CC=$lt_compiler_CXX 20081 20082# Is the compiler the GNU compiler? 20083with_gcc=$GCC_CXX 20084 20085# Compiler flag to turn off builtin functions. 20086no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 20087 20088# How to pass a linker flag through the compiler. 20089wl=$lt_lt_prog_compiler_wl_CXX 20090 20091# Additional compiler flags for building library objects. 20092pic_flag=$lt_lt_prog_compiler_pic_CXX 20093 20094# Compiler flag to prevent dynamic linking. 20095link_static_flag=$lt_lt_prog_compiler_static_CXX 20096 20097# Does compiler simultaneously support -c and -o options? 20098compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 20099 20100# Whether or not to add -lc for building shared libraries. 20101build_libtool_need_lc=$archive_cmds_need_lc_CXX 20102 20103# Whether or not to disallow shared libs when runtime libs are static. 20104allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 20105 20106# Compiler flag to allow reflexive dlopens. 20107export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 20108 20109# Compiler flag to generate shared objects directly from archives. 20110whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 20111 20112# Whether the compiler copes with passing no objects directly. 20113compiler_needs_object=$lt_compiler_needs_object_CXX 20114 20115# Create an old-style archive from a shared archive. 20116old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 20117 20118# Create a temporary old-style archive to link instead of a shared archive. 20119old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 20120 20121# Commands used to build a shared archive. 20122archive_cmds=$lt_archive_cmds_CXX 20123archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 20124 20125# Commands used to build a loadable module if different from building 20126# a shared archive. 20127module_cmds=$lt_module_cmds_CXX 20128module_expsym_cmds=$lt_module_expsym_cmds_CXX 20129 20130# Whether we are building with GNU ld or not. 20131with_gnu_ld=$lt_with_gnu_ld_CXX 20132 20133# Flag that allows shared libraries with undefined symbols to be built. 20134allow_undefined_flag=$lt_allow_undefined_flag_CXX 20135 20136# Flag that enforces no undefined symbols. 20137no_undefined_flag=$lt_no_undefined_flag_CXX 20138 20139# Flag to hardcode \$libdir into a binary during linking. 20140# This must work even if \$libdir does not exist 20141hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 20142 20143# If ld is used when linking, flag to hardcode \$libdir into a binary 20144# during linking. This must work even if \$libdir does not exist. 20145hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX 20146 20147# Whether we need a single "-rpath" flag with a separated argument. 20148hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 20149 20150# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 20151# DIR into the resulting binary. 20152hardcode_direct=$hardcode_direct_CXX 20153 20154# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 20155# DIR into the resulting binary and the resulting library dependency is 20156# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 20157# library is relocated. 20158hardcode_direct_absolute=$hardcode_direct_absolute_CXX 20159 20160# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 20161# into the resulting binary. 20162hardcode_minus_L=$hardcode_minus_L_CXX 20163 20164# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 20165# into the resulting binary. 20166hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 20167 20168# Set to "yes" if building a shared library automatically hardcodes DIR 20169# into the library and all subsequent libraries and executables linked 20170# against it. 20171hardcode_automatic=$hardcode_automatic_CXX 20172 20173# Set to yes if linker adds runtime paths of dependent libraries 20174# to runtime path list. 20175inherit_rpath=$inherit_rpath_CXX 20176 20177# Whether libtool must link a program against all its dependency libraries. 20178link_all_deplibs=$link_all_deplibs_CXX 20179 20180# Fix the shell variable \$srcfile for the compiler. 20181fix_srcfile_path=$lt_fix_srcfile_path_CXX 20182 20183# Set to "yes" if exported symbols are required. 20184always_export_symbols=$always_export_symbols_CXX 20185 20186# The commands to list exported symbols. 20187export_symbols_cmds=$lt_export_symbols_cmds_CXX 20188 20189# Symbols that should not be listed in the preloaded symbols. 20190exclude_expsyms=$lt_exclude_expsyms_CXX 20191 20192# Symbols that must always be exported. 20193include_expsyms=$lt_include_expsyms_CXX 20194 20195# Commands necessary for linking programs (against libraries) with templates. 20196prelink_cmds=$lt_prelink_cmds_CXX 20197 20198# Specify filename containing input files. 20199file_list_spec=$lt_file_list_spec_CXX 20200 20201# How to hardcode a shared library path into an executable. 20202hardcode_action=$hardcode_action_CXX 20203 20204# The directories searched by this compiler when creating a shared library. 20205compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 20206 20207# Dependencies to place before and after the objects being linked to 20208# create a shared library. 20209predep_objects=$lt_predep_objects_CXX 20210postdep_objects=$lt_postdep_objects_CXX 20211predeps=$lt_predeps_CXX 20212postdeps=$lt_postdeps_CXX 20213 20214# The library search path used internally by the compiler when linking 20215# a shared library. 20216compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 20217 20218# ### END LIBTOOL TAG CONFIG: CXX 20219_LT_EOF 20220 20221 ;; 20222 20223 esac 20224done # for ac_tag 20225 20226 20227{ (exit 0); exit 0; } 20228_ACEOF 20229chmod +x $CONFIG_STATUS 20230ac_clean_files=$ac_clean_files_save 20231 20232 20233# configure is writing to config.log, and then calls config.status. 20234# config.status does its own redirection, appending to config.log. 20235# Unfortunately, on DOS this fails, as config.log is still kept open 20236# by configure, so config.status won't be able to write to it; its 20237# output is simply discarded. So we exec the FD to /dev/null, 20238# effectively closing config.log, so it can be properly (re)opened and 20239# appended to by config.status. When coming back to configure, we 20240# need to make the FD available again. 20241if test "$no_create" != yes; then 20242 ac_cs_success=: 20243 ac_config_status_args= 20244 test "$silent" = yes && 20245 ac_config_status_args="$ac_config_status_args --quiet" 20246 exec 5>/dev/null 20247 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 20248 exec 5>>config.log 20249 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 20250 # would make configure fail if this is the last instruction. 20251 $ac_cs_success || { (exit 1); exit 1; } 20252fi 20253 20254