configure revision 7f7f5e4e
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for libXfont 1.4.0. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in 26 *posix*) set -o posix ;; 27esac 28 29fi 30 31 32 33 34# PATH needs CR 35# Avoid depending upon Character Ranges. 36as_cr_letters='abcdefghijklmnopqrstuvwxyz' 37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38as_cr_Letters=$as_cr_letters$as_cr_LETTERS 39as_cr_digits='0123456789' 40as_cr_alnum=$as_cr_Letters$as_cr_digits 41 42as_nl=' 43' 44export as_nl 45# Printing a long string crashes Solaris 7 /usr/bin/printf. 46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83# Support unset when possible. 84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 85 as_unset=unset 86else 87 as_unset=false 88fi 89 90 91# IFS 92# We need space, tab and new line, in precisely that order. Quoting is 93# there to prevent editors from complaining about space-tab. 94# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95# splitting by setting IFS to empty value.) 96IFS=" "" $as_nl" 97 98# Find who we are. Look in the path if we contain no directory separator. 99case $0 in 100 *[\\/]* ) as_myself=$0 ;; 101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 102for as_dir in $PATH 103do 104 IFS=$as_save_IFS 105 test -z "$as_dir" && as_dir=. 106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 107done 108IFS=$as_save_IFS 109 110 ;; 111esac 112# We did not find ourselves, most probably we were run as `sh COMMAND' 113# in which case we are not to be found in the path. 114if test "x$as_myself" = x; then 115 as_myself=$0 116fi 117if test ! -f "$as_myself"; then 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 { (exit 1); exit 1; } 120fi 121 122# Work around bugs in pre-3.0 UWIN ksh. 123for as_var in ENV MAIL MAILPATH 124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# Required to use basename. 137if expr a : '\(a\)' >/dev/null 2>&1 && 138 test "X`expr 00001 : '.*\(...\)'`" = X001; then 139 as_expr=expr 140else 141 as_expr=false 142fi 143 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 145 as_basename=basename 146else 147 as_basename=false 148fi 149 150 151# Name of the executable. 152as_me=`$as_basename -- "$0" || 153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154 X"$0" : 'X\(//\)$' \| \ 155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156$as_echo X/"$0" | 157 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 s//\1/ 159 q 160 } 161 /^X\/\(\/\/\)$/{ 162 s//\1/ 163 q 164 } 165 /^X\/\(\/\).*/{ 166 s//\1/ 167 q 168 } 169 s/.*/./; q'` 170 171# CDPATH. 172$as_unset CDPATH 173 174 175if test "x$CONFIG_SHELL" = x; then 176 if (eval ":") 2>/dev/null; then 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 182 if test $as_have_required = yes && (eval ": 183(as_func_return () { 184 (exit \$1) 185} 186as_func_success () { 187 as_func_return 0 188} 189as_func_failure () { 190 as_func_return 1 191} 192as_func_ret_success () { 193 return 0 194} 195as_func_ret_failure () { 196 return 1 197} 198 199exitcode=0 200if as_func_success; then 201 : 202else 203 exitcode=1 204 echo as_func_success failed. 205fi 206 207if as_func_failure; then 208 exitcode=1 209 echo as_func_failure succeeded. 210fi 211 212if as_func_ret_success; then 213 : 214else 215 exitcode=1 216 echo as_func_ret_success failed. 217fi 218 219if as_func_ret_failure; then 220 exitcode=1 221 echo as_func_ret_failure succeeded. 222fi 223 224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 225 : 226else 227 exitcode=1 228 echo positional parameters were not saved. 229fi 230 231test \$exitcode = 0) || { (exit 1); exit 1; } 232 233( 234 as_lineno_1=\$LINENO 235 as_lineno_2=\$LINENO 236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 238") 2> /dev/null; then 239 : 240else 241 as_candidate_shells= 242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 244do 245 IFS=$as_save_IFS 246 test -z "$as_dir" && as_dir=. 247 case $as_dir in 248 /*) 249 for as_base in sh bash ksh sh5; do 250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 251 done;; 252 esac 253done 254IFS=$as_save_IFS 255 256 257 for as_shell in $as_candidate_shells $SHELL; do 258 # Try only shells that exist, to save several forks. 259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 260 { ("$as_shell") 2> /dev/null <<\_ASEOF 261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271esac 272 273fi 274 275 276: 277_ASEOF 278}; then 279 CONFIG_SHELL=$as_shell 280 as_have_required=yes 281 if { "$as_shell" 2> /dev/null <<\_ASEOF 282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283 emulate sh 284 NULLCMD=: 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 286 # is contrary to our usage. Disable this feature. 287 alias -g '${1+"$@"}'='"$@"' 288 setopt NO_GLOB_SUBST 289else 290 case `(set -o) 2>/dev/null` in 291 *posix*) set -o posix ;; 292esac 293 294fi 295 296 297: 298(as_func_return () { 299 (exit $1) 300} 301as_func_success () { 302 as_func_return 0 303} 304as_func_failure () { 305 as_func_return 1 306} 307as_func_ret_success () { 308 return 0 309} 310as_func_ret_failure () { 311 return 1 312} 313 314exitcode=0 315if as_func_success; then 316 : 317else 318 exitcode=1 319 echo as_func_success failed. 320fi 321 322if as_func_failure; then 323 exitcode=1 324 echo as_func_failure succeeded. 325fi 326 327if as_func_ret_success; then 328 : 329else 330 exitcode=1 331 echo as_func_ret_success failed. 332fi 333 334if as_func_ret_failure; then 335 exitcode=1 336 echo as_func_ret_failure succeeded. 337fi 338 339if ( set x; as_func_ret_success y && test x = "$1" ); then 340 : 341else 342 exitcode=1 343 echo positional parameters were not saved. 344fi 345 346test $exitcode = 0) || { (exit 1); exit 1; } 347 348( 349 as_lineno_1=$LINENO 350 as_lineno_2=$LINENO 351 test "x$as_lineno_1" != "x$as_lineno_2" && 352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 353 354_ASEOF 355}; then 356 break 357fi 358 359fi 360 361 done 362 363 if test "x$CONFIG_SHELL" != x; then 364 for as_var in BASH_ENV ENV 365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 done 367 export CONFIG_SHELL 368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369fi 370 371 372 if test $as_have_required = no; then 373 echo This script requires a shell more modern than all the 374 echo shells that I found on your system. Please install a 375 echo modern shell, or manually run the script under such a 376 echo shell if you do have one. 377 { (exit 1); exit 1; } 378fi 379 380 381fi 382 383fi 384 385 386 387(eval "as_func_return () { 388 (exit \$1) 389} 390as_func_success () { 391 as_func_return 0 392} 393as_func_failure () { 394 as_func_return 1 395} 396as_func_ret_success () { 397 return 0 398} 399as_func_ret_failure () { 400 return 1 401} 402 403exitcode=0 404if as_func_success; then 405 : 406else 407 exitcode=1 408 echo as_func_success failed. 409fi 410 411if as_func_failure; then 412 exitcode=1 413 echo as_func_failure succeeded. 414fi 415 416if as_func_ret_success; then 417 : 418else 419 exitcode=1 420 echo as_func_ret_success failed. 421fi 422 423if as_func_ret_failure; then 424 exitcode=1 425 echo as_func_ret_failure succeeded. 426fi 427 428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 429 : 430else 431 exitcode=1 432 echo positional parameters were not saved. 433fi 434 435test \$exitcode = 0") || { 436 echo No shell found that supports shell functions. 437 echo Please tell bug-autoconf@gnu.org about your system, 438 echo including any error possibly output before this message. 439 echo This can help us improve future autoconf versions. 440 echo Configuration will now proceed without shell functions. 441} 442 443 444 445 as_lineno_1=$LINENO 446 as_lineno_2=$LINENO 447 test "x$as_lineno_1" != "x$as_lineno_2" && 448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 449 450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 451 # uniformly replaced by the line number. The first 'sed' inserts a 452 # line-number line after each line using $LINENO; the second 'sed' 453 # does the real work. The second script uses 'N' to pair each 454 # line-number line with the line containing $LINENO, and appends 455 # trailing '-' during substitution so that $LINENO is not a special 456 # case at line end. 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 458 # scripts with optimization help from Paolo Bonzini. Blame Lee 459 # E. McMahon (1931-1989) for sed's syntax. :-) 460 sed -n ' 461 p 462 /[$]LINENO/= 463 ' <$as_myself | 464 sed ' 465 s/[$]LINENO.*/&-/ 466 t lineno 467 b 468 :lineno 469 N 470 :loop 471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 472 t loop 473 s/-\n.*// 474 ' >$as_me.lineno && 475 chmod +x "$as_me.lineno" || 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { (exit 1); exit 1; }; } 478 479 # Don't try to exec as it changes $[0], causing all sort of problems 480 # (the dirname of $[0] is not the place where we might find the 481 # original and so on. Autoconf is especially sensitive to this). 482 . "./$as_me.lineno" 483 # Exit status is that of the last command. 484 exit 485} 486 487 488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 489 as_dirname=dirname 490else 491 as_dirname=false 492fi 493 494ECHO_C= ECHO_N= ECHO_T= 495case `echo -n x` in 496-n*) 497 case `echo 'x\c'` in 498 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 499 *) ECHO_C='\c';; 500 esac;; 501*) 502 ECHO_N='-n';; 503esac 504if expr a : '\(a\)' >/dev/null 2>&1 && 505 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 as_expr=expr 507else 508 as_expr=false 509fi 510 511rm -f conf$$ conf$$.exe conf$$.file 512if test -d conf$$.dir; then 513 rm -f conf$$.dir/conf$$.file 514else 515 rm -f conf$$.dir 516 mkdir conf$$.dir 2>/dev/null 517fi 518if (echo >conf$$.file) 2>/dev/null; then 519 if ln -s conf$$.file conf$$ 2>/dev/null; then 520 as_ln_s='ln -s' 521 # ... but there are two gotchas: 522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # In both cases, we have to default to `cp -p'. 525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 as_ln_s='cp -p' 527 elif ln conf$$.file conf$$ 2>/dev/null; then 528 as_ln_s=ln 529 else 530 as_ln_s='cp -p' 531 fi 532else 533 as_ln_s='cp -p' 534fi 535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 536rmdir conf$$.dir 2>/dev/null 537 538if mkdir -p . 2>/dev/null; then 539 as_mkdir_p=: 540else 541 test -d ./-p && rmdir ./-p 542 as_mkdir_p=false 543fi 544 545if test -x / >/dev/null 2>&1; then 546 as_test_x='test -x' 547else 548 if ls -dL / >/dev/null 2>&1; then 549 as_ls_L_option=L 550 else 551 as_ls_L_option= 552 fi 553 as_test_x=' 554 eval sh -c '\'' 555 if test -d "$1"; then 556 test -d "$1/."; 557 else 558 case $1 in 559 -*)set "./$1";; 560 esac; 561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 ???[sx]*):;;*)false;;esac;fi 563 '\'' sh 564 ' 565fi 566as_executable_p=$as_test_x 567 568# Sed expression to map a string onto a valid CPP name. 569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 570 571# Sed expression to map a string onto a valid variable name. 572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 573 574 575 576 577# Check that we are running under the correct shell. 578SHELL=${CONFIG_SHELL-/bin/sh} 579 580case X$lt_ECHO in 581X*--fallback-echo) 582 # Remove one level of quotation (which was required for Make). 583 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 584 ;; 585esac 586 587ECHO=${lt_ECHO-echo} 588if test "X$1" = X--no-reexec; then 589 # Discard the --no-reexec flag, and continue. 590 shift 591elif test "X$1" = X--fallback-echo; then 592 # Avoid inline document here, it may be left over 593 : 594elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 595 # Yippee, $ECHO works! 596 : 597else 598 # Restart under the correct shell. 599 exec $SHELL "$0" --no-reexec ${1+"$@"} 600fi 601 602if test "X$1" = X--fallback-echo; then 603 # used as fallback echo 604 shift 605 cat <<_LT_EOF 606$* 607_LT_EOF 608 exit 0 609fi 610 611# The HP-UX ksh and POSIX shell print the target directory to stdout 612# if CDPATH is set. 613(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 614 615if test -z "$lt_ECHO"; then 616 if test "X${echo_test_string+set}" != Xset; then 617 # find a string as large as possible, as long as the shell can cope with it 618 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 620 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 622 then 623 break 624 fi 625 done 626 fi 627 628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 629 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 630 test "X$echo_testing_string" = "X$echo_test_string"; then 631 : 632 else 633 # The Solaris, AIX, and Digital Unix default echo programs unquote 634 # backslashes. This makes it impossible to quote backslashes using 635 # echo "$something" | sed 's/\\/\\\\/g' 636 # 637 # So, first we look for a working echo in the user's PATH. 638 639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 640 for dir in $PATH /usr/ucb; do 641 IFS="$lt_save_ifs" 642 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 644 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 645 test "X$echo_testing_string" = "X$echo_test_string"; then 646 ECHO="$dir/echo" 647 break 648 fi 649 done 650 IFS="$lt_save_ifs" 651 652 if test "X$ECHO" = Xecho; then 653 # We didn't find a better echo, so look for alternatives. 654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 655 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 656 test "X$echo_testing_string" = "X$echo_test_string"; then 657 # This shell has a builtin print -r that does the trick. 658 ECHO='print -r' 659 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 660 test "X$CONFIG_SHELL" != X/bin/ksh; then 661 # If we have ksh, try running configure again with it. 662 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 663 export ORIGINAL_CONFIG_SHELL 664 CONFIG_SHELL=/bin/ksh 665 export CONFIG_SHELL 666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 667 else 668 # Try using printf. 669 ECHO='printf %s\n' 670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 671 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 672 test "X$echo_testing_string" = "X$echo_test_string"; then 673 # Cool, printf works 674 : 675 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 676 test "X$echo_testing_string" = 'X\t' && 677 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 678 test "X$echo_testing_string" = "X$echo_test_string"; then 679 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 680 export CONFIG_SHELL 681 SHELL="$CONFIG_SHELL" 682 export SHELL 683 ECHO="$CONFIG_SHELL $0 --fallback-echo" 684 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 685 test "X$echo_testing_string" = 'X\t' && 686 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 687 test "X$echo_testing_string" = "X$echo_test_string"; then 688 ECHO="$CONFIG_SHELL $0 --fallback-echo" 689 else 690 # maybe with a smaller string... 691 prev=: 692 693 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 695 then 696 break 697 fi 698 prev="$cmd" 699 done 700 701 if test "$prev" != 'sed 50q "$0"'; then 702 echo_test_string=`eval $prev` 703 export echo_test_string 704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 705 else 706 # Oops. We lost completely, so just stick with echo. 707 ECHO=echo 708 fi 709 fi 710 fi 711 fi 712 fi 713fi 714 715# Copy echo and quote the copy suitably for passing to libtool from 716# the Makefile, instead of quoting the original, which is used later. 717lt_ECHO=$ECHO 718if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 719 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 720fi 721 722 723 724 725exec 7<&0 </dev/null 6>&1 726 727# Name of the host. 728# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 729# so uname gets run too. 730ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 731 732# 733# Initializations. 734# 735ac_default_prefix=/usr/local 736ac_clean_files= 737ac_config_libobj_dir=. 738LIBOBJS= 739cross_compiling=no 740subdirs= 741MFLAGS= 742MAKEFLAGS= 743SHELL=${CONFIG_SHELL-/bin/sh} 744 745# Identity of this package. 746PACKAGE_NAME='libXfont' 747PACKAGE_TARNAME='libXfont' 748PACKAGE_VERSION='1.4.0' 749PACKAGE_STRING='libXfont 1.4.0' 750PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 751 752# Factoring default headers for most tests. 753ac_includes_default="\ 754#include <stdio.h> 755#ifdef HAVE_SYS_TYPES_H 756# include <sys/types.h> 757#endif 758#ifdef HAVE_SYS_STAT_H 759# include <sys/stat.h> 760#endif 761#ifdef STDC_HEADERS 762# include <stdlib.h> 763# include <stddef.h> 764#else 765# ifdef HAVE_STDLIB_H 766# include <stdlib.h> 767# endif 768#endif 769#ifdef HAVE_STRING_H 770# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 771# include <memory.h> 772# endif 773# include <string.h> 774#endif 775#ifdef HAVE_STRINGS_H 776# include <strings.h> 777#endif 778#ifdef HAVE_INTTYPES_H 779# include <inttypes.h> 780#endif 781#ifdef HAVE_STDINT_H 782# include <stdint.h> 783#endif 784#ifdef HAVE_UNISTD_H 785# include <unistd.h> 786#endif" 787 788ac_subst_vars='LTLIBOBJS 789LIBOBJS 790distcleancheck_listfiles 791CHANGELOG_CMD 792OS_CFLAGS 793CWARNFLAGS 794XFONT_LIBS 795XFONT_CFLAGS 796MATH_LIBS 797XFONT_FC_FALSE 798XFONT_FC_TRUE 799XFONT_FONTFILE_FALSE 800XFONT_FONTFILE_TRUE 801XFONT_BITMAP_FALSE 802XFONT_BITMAP_TRUE 803XFONT_SNFFORMAT_FALSE 804XFONT_SNFFORMAT_TRUE 805XFONT_BDFFORMAT_FALSE 806XFONT_BDFFORMAT_TRUE 807XFONT_PCFFORMAT_FALSE 808XFONT_PCFFORMAT_TRUE 809XFONT_BUILTINS_FALSE 810XFONT_BUILTINS_TRUE 811Z_LIBS 812X_BZIP2_FONT_COMPRESSION_FALSE 813X_BZIP2_FONT_COMPRESSION_TRUE 814X_GZIP_FONT_COMPRESSION 815FREETYPE_REQUIRES 816ft_config 817FREETYPE_LIBS 818FREETYPE_CFLAGS 819XFONT_FREETYPE_FALSE 820XFONT_FREETYPE_TRUE 821ENCODINGSDIR 822PKG_CONFIG 823CPP 824OTOOL64 825OTOOL 826LIPO 827NMEDIT 828DSYMUTIL 829lt_ECHO 830RANLIB 831AR 832OBJDUMP 833LN_S 834NM 835ac_ct_DUMPBIN 836DUMPBIN 837LD 838FGREP 839EGREP 840GREP 841SED 842host_os 843host_vendor 844host_cpu 845host 846build_os 847build_vendor 848build_cpu 849build 850LIBTOOL 851am__fastdepCC_FALSE 852am__fastdepCC_TRUE 853CCDEPMODE 854AMDEPBACKSLASH 855AMDEP_FALSE 856AMDEP_TRUE 857am__quote 858am__include 859DEPDIR 860OBJEXT 861EXEEXT 862ac_ct_CC 863CPPFLAGS 864LDFLAGS 865CFLAGS 866CC 867am__untar 868am__tar 869AMTAR 870am__leading_dot 871SET_MAKE 872AWK 873mkdir_p 874MKDIR_P 875INSTALL_STRIP_PROGRAM 876STRIP 877install_sh 878MAKEINFO 879AUTOHEADER 880AUTOMAKE 881AUTOCONF 882ACLOCAL 883VERSION 884PACKAGE 885CYGPATH_W 886am__isrc 887INSTALL_DATA 888INSTALL_SCRIPT 889INSTALL_PROGRAM 890target_alias 891host_alias 892build_alias 893LIBS 894ECHO_T 895ECHO_N 896ECHO_C 897DEFS 898mandir 899localedir 900libdir 901psdir 902pdfdir 903dvidir 904htmldir 905infodir 906docdir 907oldincludedir 908includedir 909localstatedir 910sharedstatedir 911sysconfdir 912datadir 913datarootdir 914libexecdir 915sbindir 916bindir 917program_transform_name 918prefix 919exec_prefix 920PACKAGE_BUGREPORT 921PACKAGE_STRING 922PACKAGE_VERSION 923PACKAGE_TARNAME 924PACKAGE_NAME 925PATH_SEPARATOR 926SHELL' 927ac_subst_files='' 928ac_user_opts=' 929enable_option_checking 930enable_dependency_tracking 931enable_shared 932enable_static 933with_pic 934enable_fast_install 935with_gnu_ld 936enable_libtool_lock 937with_encodingsdir 938enable_freetype 939with_freetype_config 940with_bzip2 941enable_builtins 942enable_pcfformat 943enable_bdfformat 944enable_snfformat 945enable_fc 946enable_unix_transport 947enable_tcp_transport 948enable_ipv6 949enable_local_transport 950with_release_version 951' 952 ac_precious_vars='build_alias 953host_alias 954target_alias 955CC 956CFLAGS 957LDFLAGS 958LIBS 959CPPFLAGS 960CPP 961PKG_CONFIG 962FREETYPE_CFLAGS 963FREETYPE_LIBS 964XFONT_CFLAGS 965XFONT_LIBS' 966 967 968# Initialize some variables set by options. 969ac_init_help= 970ac_init_version=false 971ac_unrecognized_opts= 972ac_unrecognized_sep= 973# The variables have the same names as the options, with 974# dashes changed to underlines. 975cache_file=/dev/null 976exec_prefix=NONE 977no_create= 978no_recursion= 979prefix=NONE 980program_prefix=NONE 981program_suffix=NONE 982program_transform_name=s,x,x, 983silent= 984site= 985srcdir= 986verbose= 987x_includes=NONE 988x_libraries=NONE 989 990# Installation directory options. 991# These are left unexpanded so users can "make install exec_prefix=/foo" 992# and all the variables that are supposed to be based on exec_prefix 993# by default will actually change. 994# Use braces instead of parens because sh, perl, etc. also accept them. 995# (The list follows the same order as the GNU Coding Standards.) 996bindir='${exec_prefix}/bin' 997sbindir='${exec_prefix}/sbin' 998libexecdir='${exec_prefix}/libexec' 999datarootdir='${prefix}/share' 1000datadir='${datarootdir}' 1001sysconfdir='${prefix}/etc' 1002sharedstatedir='${prefix}/com' 1003localstatedir='${prefix}/var' 1004includedir='${prefix}/include' 1005oldincludedir='/usr/include' 1006docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1007infodir='${datarootdir}/info' 1008htmldir='${docdir}' 1009dvidir='${docdir}' 1010pdfdir='${docdir}' 1011psdir='${docdir}' 1012libdir='${exec_prefix}/lib' 1013localedir='${datarootdir}/locale' 1014mandir='${datarootdir}/man' 1015 1016ac_prev= 1017ac_dashdash= 1018for ac_option 1019do 1020 # If the previous option needs an argument, assign it. 1021 if test -n "$ac_prev"; then 1022 eval $ac_prev=\$ac_option 1023 ac_prev= 1024 continue 1025 fi 1026 1027 case $ac_option in 1028 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1029 *) ac_optarg=yes ;; 1030 esac 1031 1032 # Accept the important Cygnus configure options, so we can diagnose typos. 1033 1034 case $ac_dashdash$ac_option in 1035 --) 1036 ac_dashdash=yes ;; 1037 1038 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1039 ac_prev=bindir ;; 1040 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1041 bindir=$ac_optarg ;; 1042 1043 -build | --build | --buil | --bui | --bu) 1044 ac_prev=build_alias ;; 1045 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1046 build_alias=$ac_optarg ;; 1047 1048 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1049 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1050 ac_prev=cache_file ;; 1051 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1052 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1053 cache_file=$ac_optarg ;; 1054 1055 --config-cache | -C) 1056 cache_file=config.cache ;; 1057 1058 -datadir | --datadir | --datadi | --datad) 1059 ac_prev=datadir ;; 1060 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1061 datadir=$ac_optarg ;; 1062 1063 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1064 | --dataroo | --dataro | --datar) 1065 ac_prev=datarootdir ;; 1066 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1067 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1068 datarootdir=$ac_optarg ;; 1069 1070 -disable-* | --disable-*) 1071 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1072 # Reject names that are not valid shell variable names. 1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1074 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1075 { (exit 1); exit 1; }; } 1076 ac_useropt_orig=$ac_useropt 1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1078 case $ac_user_opts in 1079 *" 1080"enable_$ac_useropt" 1081"*) ;; 1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1083 ac_unrecognized_sep=', ';; 1084 esac 1085 eval enable_$ac_useropt=no ;; 1086 1087 -docdir | --docdir | --docdi | --doc | --do) 1088 ac_prev=docdir ;; 1089 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1090 docdir=$ac_optarg ;; 1091 1092 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1093 ac_prev=dvidir ;; 1094 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1095 dvidir=$ac_optarg ;; 1096 1097 -enable-* | --enable-*) 1098 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1099 # Reject names that are not valid shell variable names. 1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1102 { (exit 1); exit 1; }; } 1103 ac_useropt_orig=$ac_useropt 1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1105 case $ac_user_opts in 1106 *" 1107"enable_$ac_useropt" 1108"*) ;; 1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1110 ac_unrecognized_sep=', ';; 1111 esac 1112 eval enable_$ac_useropt=\$ac_optarg ;; 1113 1114 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1115 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1116 | --exec | --exe | --ex) 1117 ac_prev=exec_prefix ;; 1118 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1119 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1120 | --exec=* | --exe=* | --ex=*) 1121 exec_prefix=$ac_optarg ;; 1122 1123 -gas | --gas | --ga | --g) 1124 # Obsolete; use --with-gas. 1125 with_gas=yes ;; 1126 1127 -help | --help | --hel | --he | -h) 1128 ac_init_help=long ;; 1129 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1130 ac_init_help=recursive ;; 1131 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1132 ac_init_help=short ;; 1133 1134 -host | --host | --hos | --ho) 1135 ac_prev=host_alias ;; 1136 -host=* | --host=* | --hos=* | --ho=*) 1137 host_alias=$ac_optarg ;; 1138 1139 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1140 ac_prev=htmldir ;; 1141 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1142 | --ht=*) 1143 htmldir=$ac_optarg ;; 1144 1145 -includedir | --includedir | --includedi | --included | --include \ 1146 | --includ | --inclu | --incl | --inc) 1147 ac_prev=includedir ;; 1148 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1149 | --includ=* | --inclu=* | --incl=* | --inc=*) 1150 includedir=$ac_optarg ;; 1151 1152 -infodir | --infodir | --infodi | --infod | --info | --inf) 1153 ac_prev=infodir ;; 1154 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1155 infodir=$ac_optarg ;; 1156 1157 -libdir | --libdir | --libdi | --libd) 1158 ac_prev=libdir ;; 1159 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1160 libdir=$ac_optarg ;; 1161 1162 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1163 | --libexe | --libex | --libe) 1164 ac_prev=libexecdir ;; 1165 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1166 | --libexe=* | --libex=* | --libe=*) 1167 libexecdir=$ac_optarg ;; 1168 1169 -localedir | --localedir | --localedi | --localed | --locale) 1170 ac_prev=localedir ;; 1171 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1172 localedir=$ac_optarg ;; 1173 1174 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1175 | --localstate | --localstat | --localsta | --localst | --locals) 1176 ac_prev=localstatedir ;; 1177 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1178 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1179 localstatedir=$ac_optarg ;; 1180 1181 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1182 ac_prev=mandir ;; 1183 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1184 mandir=$ac_optarg ;; 1185 1186 -nfp | --nfp | --nf) 1187 # Obsolete; use --without-fp. 1188 with_fp=no ;; 1189 1190 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1191 | --no-cr | --no-c | -n) 1192 no_create=yes ;; 1193 1194 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1195 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1196 no_recursion=yes ;; 1197 1198 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1199 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1200 | --oldin | --oldi | --old | --ol | --o) 1201 ac_prev=oldincludedir ;; 1202 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1203 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1204 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1205 oldincludedir=$ac_optarg ;; 1206 1207 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1208 ac_prev=prefix ;; 1209 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1210 prefix=$ac_optarg ;; 1211 1212 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1213 | --program-pre | --program-pr | --program-p) 1214 ac_prev=program_prefix ;; 1215 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1216 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1217 program_prefix=$ac_optarg ;; 1218 1219 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1220 | --program-suf | --program-su | --program-s) 1221 ac_prev=program_suffix ;; 1222 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1223 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1224 program_suffix=$ac_optarg ;; 1225 1226 -program-transform-name | --program-transform-name \ 1227 | --program-transform-nam | --program-transform-na \ 1228 | --program-transform-n | --program-transform- \ 1229 | --program-transform | --program-transfor \ 1230 | --program-transfo | --program-transf \ 1231 | --program-trans | --program-tran \ 1232 | --progr-tra | --program-tr | --program-t) 1233 ac_prev=program_transform_name ;; 1234 -program-transform-name=* | --program-transform-name=* \ 1235 | --program-transform-nam=* | --program-transform-na=* \ 1236 | --program-transform-n=* | --program-transform-=* \ 1237 | --program-transform=* | --program-transfor=* \ 1238 | --program-transfo=* | --program-transf=* \ 1239 | --program-trans=* | --program-tran=* \ 1240 | --progr-tra=* | --program-tr=* | --program-t=*) 1241 program_transform_name=$ac_optarg ;; 1242 1243 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1244 ac_prev=pdfdir ;; 1245 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1246 pdfdir=$ac_optarg ;; 1247 1248 -psdir | --psdir | --psdi | --psd | --ps) 1249 ac_prev=psdir ;; 1250 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1251 psdir=$ac_optarg ;; 1252 1253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1254 | -silent | --silent | --silen | --sile | --sil) 1255 silent=yes ;; 1256 1257 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1258 ac_prev=sbindir ;; 1259 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1260 | --sbi=* | --sb=*) 1261 sbindir=$ac_optarg ;; 1262 1263 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1264 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1265 | --sharedst | --shareds | --shared | --share | --shar \ 1266 | --sha | --sh) 1267 ac_prev=sharedstatedir ;; 1268 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1269 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1270 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1271 | --sha=* | --sh=*) 1272 sharedstatedir=$ac_optarg ;; 1273 1274 -site | --site | --sit) 1275 ac_prev=site ;; 1276 -site=* | --site=* | --sit=*) 1277 site=$ac_optarg ;; 1278 1279 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1280 ac_prev=srcdir ;; 1281 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1282 srcdir=$ac_optarg ;; 1283 1284 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1285 | --syscon | --sysco | --sysc | --sys | --sy) 1286 ac_prev=sysconfdir ;; 1287 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1288 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1289 sysconfdir=$ac_optarg ;; 1290 1291 -target | --target | --targe | --targ | --tar | --ta | --t) 1292 ac_prev=target_alias ;; 1293 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1294 target_alias=$ac_optarg ;; 1295 1296 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1297 verbose=yes ;; 1298 1299 -version | --version | --versio | --versi | --vers | -V) 1300 ac_init_version=: ;; 1301 1302 -with-* | --with-*) 1303 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1304 # Reject names that are not valid shell variable names. 1305 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1306 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1307 { (exit 1); exit 1; }; } 1308 ac_useropt_orig=$ac_useropt 1309 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1310 case $ac_user_opts in 1311 *" 1312"with_$ac_useropt" 1313"*) ;; 1314 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1315 ac_unrecognized_sep=', ';; 1316 esac 1317 eval with_$ac_useropt=\$ac_optarg ;; 1318 1319 -without-* | --without-*) 1320 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1321 # Reject names that are not valid shell variable names. 1322 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1323 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1324 { (exit 1); exit 1; }; } 1325 ac_useropt_orig=$ac_useropt 1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1327 case $ac_user_opts in 1328 *" 1329"with_$ac_useropt" 1330"*) ;; 1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1332 ac_unrecognized_sep=', ';; 1333 esac 1334 eval with_$ac_useropt=no ;; 1335 1336 --x) 1337 # Obsolete; use --with-x. 1338 with_x=yes ;; 1339 1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1341 | --x-incl | --x-inc | --x-in | --x-i) 1342 ac_prev=x_includes ;; 1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1345 x_includes=$ac_optarg ;; 1346 1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1349 ac_prev=x_libraries ;; 1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1352 x_libraries=$ac_optarg ;; 1353 1354 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1355Try \`$0 --help' for more information." >&2 1356 { (exit 1); exit 1; }; } 1357 ;; 1358 1359 *=*) 1360 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1361 # Reject names that are not valid shell variable names. 1362 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1363 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1364 { (exit 1); exit 1; }; } 1365 eval $ac_envvar=\$ac_optarg 1366 export $ac_envvar ;; 1367 1368 *) 1369 # FIXME: should be removed in autoconf 3.0. 1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1373 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1374 ;; 1375 1376 esac 1377done 1378 1379if test -n "$ac_prev"; then 1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1381 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1382 { (exit 1); exit 1; }; } 1383fi 1384 1385if test -n "$ac_unrecognized_opts"; then 1386 case $enable_option_checking in 1387 no) ;; 1388 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1389 { (exit 1); exit 1; }; } ;; 1390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1391 esac 1392fi 1393 1394# Check all directory arguments for consistency. 1395for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1396 datadir sysconfdir sharedstatedir localstatedir includedir \ 1397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1398 libdir localedir mandir 1399do 1400 eval ac_val=\$$ac_var 1401 # Remove trailing slashes. 1402 case $ac_val in 1403 */ ) 1404 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1405 eval $ac_var=\$ac_val;; 1406 esac 1407 # Be sure to have absolute directory names. 1408 case $ac_val in 1409 [\\/$]* | ?:[\\/]* ) continue;; 1410 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1411 esac 1412 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1413 { (exit 1); exit 1; }; } 1414done 1415 1416# There might be people who depend on the old broken behavior: `$host' 1417# used to hold the argument of --host etc. 1418# FIXME: To remove some day. 1419build=$build_alias 1420host=$host_alias 1421target=$target_alias 1422 1423# FIXME: To remove some day. 1424if test "x$host_alias" != x; then 1425 if test "x$build_alias" = x; then 1426 cross_compiling=maybe 1427 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1428 If a cross compiler is detected then cross compile mode will be used." >&2 1429 elif test "x$build_alias" != "x$host_alias"; then 1430 cross_compiling=yes 1431 fi 1432fi 1433 1434ac_tool_prefix= 1435test -n "$host_alias" && ac_tool_prefix=$host_alias- 1436 1437test "$silent" = yes && exec 6>/dev/null 1438 1439 1440ac_pwd=`pwd` && test -n "$ac_pwd" && 1441ac_ls_di=`ls -di .` && 1442ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1443 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1444 { (exit 1); exit 1; }; } 1445test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1446 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1447 { (exit 1); exit 1; }; } 1448 1449 1450# Find the source files, if location was not specified. 1451if test -z "$srcdir"; then 1452 ac_srcdir_defaulted=yes 1453 # Try the directory containing this script, then the parent directory. 1454 ac_confdir=`$as_dirname -- "$as_myself" || 1455$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1456 X"$as_myself" : 'X\(//\)[^/]' \| \ 1457 X"$as_myself" : 'X\(//\)$' \| \ 1458 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1459$as_echo X"$as_myself" | 1460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1461 s//\1/ 1462 q 1463 } 1464 /^X\(\/\/\)[^/].*/{ 1465 s//\1/ 1466 q 1467 } 1468 /^X\(\/\/\)$/{ 1469 s//\1/ 1470 q 1471 } 1472 /^X\(\/\).*/{ 1473 s//\1/ 1474 q 1475 } 1476 s/.*/./; q'` 1477 srcdir=$ac_confdir 1478 if test ! -r "$srcdir/$ac_unique_file"; then 1479 srcdir=.. 1480 fi 1481else 1482 ac_srcdir_defaulted=no 1483fi 1484if test ! -r "$srcdir/$ac_unique_file"; then 1485 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1486 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1487 { (exit 1); exit 1; }; } 1488fi 1489ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1490ac_abs_confdir=`( 1491 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1492 { (exit 1); exit 1; }; } 1493 pwd)` 1494# When building in place, set srcdir=. 1495if test "$ac_abs_confdir" = "$ac_pwd"; then 1496 srcdir=. 1497fi 1498# Remove unnecessary trailing slashes from srcdir. 1499# Double slashes in file names in object file debugging info 1500# mess up M-x gdb in Emacs. 1501case $srcdir in 1502*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1503esac 1504for ac_var in $ac_precious_vars; do 1505 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1506 eval ac_env_${ac_var}_value=\$${ac_var} 1507 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1508 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1509done 1510 1511# 1512# Report the --help message. 1513# 1514if test "$ac_init_help" = "long"; then 1515 # Omit some internal or obsolete options to make the list less imposing. 1516 # This message is too long to be a string in the A/UX 3.1 sh. 1517 cat <<_ACEOF 1518\`configure' configures libXfont 1.4.0 to adapt to many kinds of systems. 1519 1520Usage: $0 [OPTION]... [VAR=VALUE]... 1521 1522To assign environment variables (e.g., CC, CFLAGS...), specify them as 1523VAR=VALUE. See below for descriptions of some of the useful variables. 1524 1525Defaults for the options are specified in brackets. 1526 1527Configuration: 1528 -h, --help display this help and exit 1529 --help=short display options specific to this package 1530 --help=recursive display the short help of all the included packages 1531 -V, --version display version information and exit 1532 -q, --quiet, --silent do not print \`checking...' messages 1533 --cache-file=FILE cache test results in FILE [disabled] 1534 -C, --config-cache alias for \`--cache-file=config.cache' 1535 -n, --no-create do not create output files 1536 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1537 1538Installation directories: 1539 --prefix=PREFIX install architecture-independent files in PREFIX 1540 [$ac_default_prefix] 1541 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1542 [PREFIX] 1543 1544By default, \`make install' will install all the files in 1545\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1546an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1547for instance \`--prefix=\$HOME'. 1548 1549For better control, use the options below. 1550 1551Fine tuning of the installation directories: 1552 --bindir=DIR user executables [EPREFIX/bin] 1553 --sbindir=DIR system admin executables [EPREFIX/sbin] 1554 --libexecdir=DIR program executables [EPREFIX/libexec] 1555 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1556 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1557 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1558 --libdir=DIR object code libraries [EPREFIX/lib] 1559 --includedir=DIR C header files [PREFIX/include] 1560 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1561 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1562 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1563 --infodir=DIR info documentation [DATAROOTDIR/info] 1564 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1565 --mandir=DIR man documentation [DATAROOTDIR/man] 1566 --docdir=DIR documentation root [DATAROOTDIR/doc/libXfont] 1567 --htmldir=DIR html documentation [DOCDIR] 1568 --dvidir=DIR dvi documentation [DOCDIR] 1569 --pdfdir=DIR pdf documentation [DOCDIR] 1570 --psdir=DIR ps documentation [DOCDIR] 1571_ACEOF 1572 1573 cat <<\_ACEOF 1574 1575Program names: 1576 --program-prefix=PREFIX prepend PREFIX to installed program names 1577 --program-suffix=SUFFIX append SUFFIX to installed program names 1578 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1579 1580System types: 1581 --build=BUILD configure for building on BUILD [guessed] 1582 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1583_ACEOF 1584fi 1585 1586if test -n "$ac_init_help"; then 1587 case $ac_init_help in 1588 short | recursive ) echo "Configuration of libXfont 1.4.0:";; 1589 esac 1590 cat <<\_ACEOF 1591 1592Optional Features: 1593 --disable-option-checking ignore unrecognized --enable/--with options 1594 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1595 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1596 --disable-dependency-tracking speeds up one-time build 1597 --enable-dependency-tracking do not reject slow dependency extractors 1598 --enable-shared[=PKGS] build shared libraries [default=yes] 1599 --enable-static[=PKGS] build static libraries [default=yes] 1600 --enable-fast-install[=PKGS] 1601 optimize for fast installation [default=yes] 1602 --disable-libtool-lock avoid locking (might break parallel builds) 1603 --disable-freetype 1604 --disable-builtins 1605 --disable-pcfformat 1606 --disable-bdfformat 1607 --disable-snfformat 1608 --disable-fc 1609 --enable-unix-transport Enable UNIX domain socket transport 1610 --enable-tcp-transport Enable TCP socket transport 1611 --enable-IPv6 Enable IPv6 support 1612 --enable-local-transport 1613 Enable os-specific local transport 1614 1615Optional Packages: 1616 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1617 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1618 --with-pic try to use only PIC/non-PIC objects [default=use 1619 both] 1620 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1621 --with-encodingsdir=ENCODINGSDIR 1622 Path to font encodings 1623 --with-freetype-config=PROG Use FreeType configuration program PROG 1624 --with-bzip2 Support bzip2 compressed bitmap fonts 1625 --with-release-version=STRING 1626 Use release version string in package name 1627 1628Some influential environment variables: 1629 CC C compiler command 1630 CFLAGS C compiler flags 1631 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1632 nonstandard directory <lib dir> 1633 LIBS libraries to pass to the linker, e.g. -l<library> 1634 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1635 you have headers in a nonstandard directory <include dir> 1636 CPP C preprocessor 1637 PKG_CONFIG path to pkg-config utility 1638 FREETYPE_CFLAGS 1639 C compiler flags for FREETYPE, overriding pkg-config 1640 FREETYPE_LIBS 1641 linker flags for FREETYPE, overriding pkg-config 1642 XFONT_CFLAGS 1643 C compiler flags for XFONT, overriding pkg-config 1644 XFONT_LIBS linker flags for XFONT, overriding pkg-config 1645 1646Use these variables to override the choices made by `configure' or to help 1647it to find libraries and programs with nonstandard names/locations. 1648 1649Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1650_ACEOF 1651ac_status=$? 1652fi 1653 1654if test "$ac_init_help" = "recursive"; then 1655 # If there are subdirs, report their specific --help. 1656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1657 test -d "$ac_dir" || 1658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1659 continue 1660 ac_builddir=. 1661 1662case "$ac_dir" in 1663.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1664*) 1665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1666 # A ".." for each directory in $ac_dir_suffix. 1667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1668 case $ac_top_builddir_sub in 1669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1671 esac ;; 1672esac 1673ac_abs_top_builddir=$ac_pwd 1674ac_abs_builddir=$ac_pwd$ac_dir_suffix 1675# for backward compatibility: 1676ac_top_builddir=$ac_top_build_prefix 1677 1678case $srcdir in 1679 .) # We are building in place. 1680 ac_srcdir=. 1681 ac_top_srcdir=$ac_top_builddir_sub 1682 ac_abs_top_srcdir=$ac_pwd ;; 1683 [\\/]* | ?:[\\/]* ) # Absolute name. 1684 ac_srcdir=$srcdir$ac_dir_suffix; 1685 ac_top_srcdir=$srcdir 1686 ac_abs_top_srcdir=$srcdir ;; 1687 *) # Relative name. 1688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1689 ac_top_srcdir=$ac_top_build_prefix$srcdir 1690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1691esac 1692ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1693 1694 cd "$ac_dir" || { ac_status=$?; continue; } 1695 # Check for guested configure. 1696 if test -f "$ac_srcdir/configure.gnu"; then 1697 echo && 1698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1699 elif test -f "$ac_srcdir/configure"; then 1700 echo && 1701 $SHELL "$ac_srcdir/configure" --help=recursive 1702 else 1703 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1704 fi || ac_status=$? 1705 cd "$ac_pwd" || { ac_status=$?; break; } 1706 done 1707fi 1708 1709test -n "$ac_init_help" && exit $ac_status 1710if $ac_init_version; then 1711 cat <<\_ACEOF 1712libXfont configure 1.4.0 1713generated by GNU Autoconf 2.63 1714 1715Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 17162002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1717This configure script is free software; the Free Software Foundation 1718gives unlimited permission to copy, distribute and modify it. 1719_ACEOF 1720 exit 1721fi 1722cat >config.log <<_ACEOF 1723This file contains any messages produced by compilers while 1724running configure, to aid debugging if configure makes a mistake. 1725 1726It was created by libXfont $as_me 1.4.0, which was 1727generated by GNU Autoconf 2.63. Invocation command line was 1728 1729 $ $0 $@ 1730 1731_ACEOF 1732exec 5>>config.log 1733{ 1734cat <<_ASUNAME 1735## --------- ## 1736## Platform. ## 1737## --------- ## 1738 1739hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1740uname -m = `(uname -m) 2>/dev/null || echo unknown` 1741uname -r = `(uname -r) 2>/dev/null || echo unknown` 1742uname -s = `(uname -s) 2>/dev/null || echo unknown` 1743uname -v = `(uname -v) 2>/dev/null || echo unknown` 1744 1745/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1746/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1747 1748/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1749/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1750/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1751/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1752/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1753/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1754/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1755 1756_ASUNAME 1757 1758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1759for as_dir in $PATH 1760do 1761 IFS=$as_save_IFS 1762 test -z "$as_dir" && as_dir=. 1763 $as_echo "PATH: $as_dir" 1764done 1765IFS=$as_save_IFS 1766 1767} >&5 1768 1769cat >&5 <<_ACEOF 1770 1771 1772## ----------- ## 1773## Core tests. ## 1774## ----------- ## 1775 1776_ACEOF 1777 1778 1779# Keep a trace of the command line. 1780# Strip out --no-create and --no-recursion so they do not pile up. 1781# Strip out --silent because we don't want to record it for future runs. 1782# Also quote any args containing shell meta-characters. 1783# Make two passes to allow for proper duplicate-argument suppression. 1784ac_configure_args= 1785ac_configure_args0= 1786ac_configure_args1= 1787ac_must_keep_next=false 1788for ac_pass in 1 2 1789do 1790 for ac_arg 1791 do 1792 case $ac_arg in 1793 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1794 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1795 | -silent | --silent | --silen | --sile | --sil) 1796 continue ;; 1797 *\'*) 1798 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1799 esac 1800 case $ac_pass in 1801 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1802 2) 1803 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1804 if test $ac_must_keep_next = true; then 1805 ac_must_keep_next=false # Got value, back to normal. 1806 else 1807 case $ac_arg in 1808 *=* | --config-cache | -C | -disable-* | --disable-* \ 1809 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1810 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1811 | -with-* | --with-* | -without-* | --without-* | --x) 1812 case "$ac_configure_args0 " in 1813 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1814 esac 1815 ;; 1816 -* ) ac_must_keep_next=true ;; 1817 esac 1818 fi 1819 ac_configure_args="$ac_configure_args '$ac_arg'" 1820 ;; 1821 esac 1822 done 1823done 1824$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1825$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1826 1827# When interrupted or exit'd, cleanup temporary files, and complete 1828# config.log. We remove comments because anyway the quotes in there 1829# would cause problems or look ugly. 1830# WARNING: Use '\'' to represent an apostrophe within the trap. 1831# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1832trap 'exit_status=$? 1833 # Save into config.log some information that might help in debugging. 1834 { 1835 echo 1836 1837 cat <<\_ASBOX 1838## ---------------- ## 1839## Cache variables. ## 1840## ---------------- ## 1841_ASBOX 1842 echo 1843 # The following way of writing the cache mishandles newlines in values, 1844( 1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1846 eval ac_val=\$$ac_var 1847 case $ac_val in #( 1848 *${as_nl}*) 1849 case $ac_var in #( 1850 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1851$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1852 esac 1853 case $ac_var in #( 1854 _ | IFS | as_nl) ;; #( 1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1856 *) $as_unset $ac_var ;; 1857 esac ;; 1858 esac 1859 done 1860 (set) 2>&1 | 1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1862 *${as_nl}ac_space=\ *) 1863 sed -n \ 1864 "s/'\''/'\''\\\\'\'''\''/g; 1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1866 ;; #( 1867 *) 1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1869 ;; 1870 esac | 1871 sort 1872) 1873 echo 1874 1875 cat <<\_ASBOX 1876## ----------------- ## 1877## Output variables. ## 1878## ----------------- ## 1879_ASBOX 1880 echo 1881 for ac_var in $ac_subst_vars 1882 do 1883 eval ac_val=\$$ac_var 1884 case $ac_val in 1885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1886 esac 1887 $as_echo "$ac_var='\''$ac_val'\''" 1888 done | sort 1889 echo 1890 1891 if test -n "$ac_subst_files"; then 1892 cat <<\_ASBOX 1893## ------------------- ## 1894## File substitutions. ## 1895## ------------------- ## 1896_ASBOX 1897 echo 1898 for ac_var in $ac_subst_files 1899 do 1900 eval ac_val=\$$ac_var 1901 case $ac_val in 1902 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1903 esac 1904 $as_echo "$ac_var='\''$ac_val'\''" 1905 done | sort 1906 echo 1907 fi 1908 1909 if test -s confdefs.h; then 1910 cat <<\_ASBOX 1911## ----------- ## 1912## confdefs.h. ## 1913## ----------- ## 1914_ASBOX 1915 echo 1916 cat confdefs.h 1917 echo 1918 fi 1919 test "$ac_signal" != 0 && 1920 $as_echo "$as_me: caught signal $ac_signal" 1921 $as_echo "$as_me: exit $exit_status" 1922 } >&5 1923 rm -f core *.core core.conftest.* && 1924 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1925 exit $exit_status 1926' 0 1927for ac_signal in 1 2 13 15; do 1928 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1929done 1930ac_signal=0 1931 1932# confdefs.h avoids OS command line length limits that DEFS can exceed. 1933rm -f -r conftest* confdefs.h 1934 1935# Predefined preprocessor variables. 1936 1937cat >>confdefs.h <<_ACEOF 1938#define PACKAGE_NAME "$PACKAGE_NAME" 1939_ACEOF 1940 1941 1942cat >>confdefs.h <<_ACEOF 1943#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1944_ACEOF 1945 1946 1947cat >>confdefs.h <<_ACEOF 1948#define PACKAGE_VERSION "$PACKAGE_VERSION" 1949_ACEOF 1950 1951 1952cat >>confdefs.h <<_ACEOF 1953#define PACKAGE_STRING "$PACKAGE_STRING" 1954_ACEOF 1955 1956 1957cat >>confdefs.h <<_ACEOF 1958#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1959_ACEOF 1960 1961 1962# Let the site file select an alternate cache file if it wants to. 1963# Prefer an explicitly selected file to automatically selected ones. 1964ac_site_file1=NONE 1965ac_site_file2=NONE 1966if test -n "$CONFIG_SITE"; then 1967 ac_site_file1=$CONFIG_SITE 1968elif test "x$prefix" != xNONE; then 1969 ac_site_file1=$prefix/share/config.site 1970 ac_site_file2=$prefix/etc/config.site 1971else 1972 ac_site_file1=$ac_default_prefix/share/config.site 1973 ac_site_file2=$ac_default_prefix/etc/config.site 1974fi 1975for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1976do 1977 test "x$ac_site_file" = xNONE && continue 1978 if test -r "$ac_site_file"; then 1979 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1980$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1981 sed 's/^/| /' "$ac_site_file" >&5 1982 . "$ac_site_file" 1983 fi 1984done 1985 1986if test -r "$cache_file"; then 1987 # Some versions of bash will fail to source /dev/null (special 1988 # files actually), so we avoid doing that. 1989 if test -f "$cache_file"; then 1990 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1991$as_echo "$as_me: loading cache $cache_file" >&6;} 1992 case $cache_file in 1993 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1994 *) . "./$cache_file";; 1995 esac 1996 fi 1997else 1998 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1999$as_echo "$as_me: creating cache $cache_file" >&6;} 2000 >$cache_file 2001fi 2002 2003# Check that the precious variables saved in the cache have kept the same 2004# value. 2005ac_cache_corrupted=false 2006for ac_var in $ac_precious_vars; do 2007 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2008 eval ac_new_set=\$ac_env_${ac_var}_set 2009 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2010 eval ac_new_val=\$ac_env_${ac_var}_value 2011 case $ac_old_set,$ac_new_set in 2012 set,) 2013 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2014$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2015 ac_cache_corrupted=: ;; 2016 ,set) 2017 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2018$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2019 ac_cache_corrupted=: ;; 2020 ,);; 2021 *) 2022 if test "x$ac_old_val" != "x$ac_new_val"; then 2023 # differences in whitespace do not lead to failure. 2024 ac_old_val_w=`echo x $ac_old_val` 2025 ac_new_val_w=`echo x $ac_new_val` 2026 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2027 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2028$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2029 ac_cache_corrupted=: 2030 else 2031 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2032$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2033 eval $ac_var=\$ac_old_val 2034 fi 2035 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2036$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2037 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2038$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2039 fi;; 2040 esac 2041 # Pass precious variables to config.status. 2042 if test "$ac_new_set" = set; then 2043 case $ac_new_val in 2044 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2045 *) ac_arg=$ac_var=$ac_new_val ;; 2046 esac 2047 case " $ac_configure_args " in 2048 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2049 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2050 esac 2051 fi 2052done 2053if $ac_cache_corrupted; then 2054 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2056 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2057$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2058 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2059$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2060 { (exit 1); exit 1; }; } 2061fi 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087ac_ext=c 2088ac_cpp='$CPP $CPPFLAGS' 2089ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2090ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2091ac_compiler_gnu=$ac_cv_c_compiler_gnu 2092 2093 2094am__api_version='1.10' 2095 2096ac_aux_dir= 2097for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2098 if test -f "$ac_dir/install-sh"; then 2099 ac_aux_dir=$ac_dir 2100 ac_install_sh="$ac_aux_dir/install-sh -c" 2101 break 2102 elif test -f "$ac_dir/install.sh"; then 2103 ac_aux_dir=$ac_dir 2104 ac_install_sh="$ac_aux_dir/install.sh -c" 2105 break 2106 elif test -f "$ac_dir/shtool"; then 2107 ac_aux_dir=$ac_dir 2108 ac_install_sh="$ac_aux_dir/shtool install -c" 2109 break 2110 fi 2111done 2112if test -z "$ac_aux_dir"; then 2113 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2114$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2115 { (exit 1); exit 1; }; } 2116fi 2117 2118# These three variables are undocumented and unsupported, 2119# and are intended to be withdrawn in a future Autoconf release. 2120# They can cause serious problems if a builder's source tree is in a directory 2121# whose full name contains unusual characters. 2122ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2123ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2124ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2125 2126 2127# Find a good install program. We prefer a C program (faster), 2128# so one script is as good as another. But avoid the broken or 2129# incompatible versions: 2130# SysV /etc/install, /usr/sbin/install 2131# SunOS /usr/etc/install 2132# IRIX /sbin/install 2133# AIX /bin/install 2134# AmigaOS /C/install, which installs bootblocks on floppy discs 2135# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2136# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2137# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2138# OS/2's system install, which has a completely different semantic 2139# ./install, which can be erroneously created by make from ./install.sh. 2140# Reject install programs that cannot install multiple files. 2141{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2142$as_echo_n "checking for a BSD-compatible install... " >&6; } 2143if test -z "$INSTALL"; then 2144if test "${ac_cv_path_install+set}" = set; then 2145 $as_echo_n "(cached) " >&6 2146else 2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2148for as_dir in $PATH 2149do 2150 IFS=$as_save_IFS 2151 test -z "$as_dir" && as_dir=. 2152 # Account for people who put trailing slashes in PATH elements. 2153case $as_dir/ in 2154 ./ | .// | /cC/* | \ 2155 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2156 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2157 /usr/ucb/* ) ;; 2158 *) 2159 # OSF1 and SCO ODT 3.0 have their own names for install. 2160 # Don't use installbsd from OSF since it installs stuff as root 2161 # by default. 2162 for ac_prog in ginstall scoinst install; do 2163 for ac_exec_ext in '' $ac_executable_extensions; do 2164 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2165 if test $ac_prog = install && 2166 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2167 # AIX install. It has an incompatible calling convention. 2168 : 2169 elif test $ac_prog = install && 2170 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2171 # program-specific install script used by HP pwplus--don't use. 2172 : 2173 else 2174 rm -rf conftest.one conftest.two conftest.dir 2175 echo one > conftest.one 2176 echo two > conftest.two 2177 mkdir conftest.dir 2178 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2179 test -s conftest.one && test -s conftest.two && 2180 test -s conftest.dir/conftest.one && 2181 test -s conftest.dir/conftest.two 2182 then 2183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2184 break 3 2185 fi 2186 fi 2187 fi 2188 done 2189 done 2190 ;; 2191esac 2192 2193done 2194IFS=$as_save_IFS 2195 2196rm -rf conftest.one conftest.two conftest.dir 2197 2198fi 2199 if test "${ac_cv_path_install+set}" = set; then 2200 INSTALL=$ac_cv_path_install 2201 else 2202 # As a last resort, use the slow shell script. Don't cache a 2203 # value for INSTALL within a source directory, because that will 2204 # break other packages using the cache if that directory is 2205 # removed, or if the value is a relative name. 2206 INSTALL=$ac_install_sh 2207 fi 2208fi 2209{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2210$as_echo "$INSTALL" >&6; } 2211 2212# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2213# It thinks the first close brace ends the variable substitution. 2214test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2215 2216test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2217 2218test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2219 2220{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2221$as_echo_n "checking whether build environment is sane... " >&6; } 2222# Just in case 2223sleep 1 2224echo timestamp > conftest.file 2225# Do `set' in a subshell so we don't clobber the current shell's 2226# arguments. Must try -L first in case configure is actually a 2227# symlink; some systems play weird games with the mod time of symlinks 2228# (eg FreeBSD returns the mod time of the symlink's containing 2229# directory). 2230if ( 2231 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2232 if test "$*" = "X"; then 2233 # -L didn't work. 2234 set X `ls -t $srcdir/configure conftest.file` 2235 fi 2236 rm -f conftest.file 2237 if test "$*" != "X $srcdir/configure conftest.file" \ 2238 && test "$*" != "X conftest.file $srcdir/configure"; then 2239 2240 # If neither matched, then we have a broken ls. This can happen 2241 # if, for instance, CONFIG_SHELL is bash and it inherits a 2242 # broken ls alias from the environment. This has actually 2243 # happened. Such a system could not be considered "sane". 2244 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2245alias in your environment" >&5 2246$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2247alias in your environment" >&2;} 2248 { (exit 1); exit 1; }; } 2249 fi 2250 2251 test "$2" = conftest.file 2252 ) 2253then 2254 # Ok. 2255 : 2256else 2257 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2258Check your system clock" >&5 2259$as_echo "$as_me: error: newly created file is older than distributed files! 2260Check your system clock" >&2;} 2261 { (exit 1); exit 1; }; } 2262fi 2263{ $as_echo "$as_me:$LINENO: result: yes" >&5 2264$as_echo "yes" >&6; } 2265test "$program_prefix" != NONE && 2266 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2267# Use a double $ so make ignores it. 2268test "$program_suffix" != NONE && 2269 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2270# Double any \ or $. 2271# By default was `s,x,x', remove it if useless. 2272ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2273program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2274 2275# expand $ac_aux_dir to an absolute path 2276am_aux_dir=`cd $ac_aux_dir && pwd` 2277 2278test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2279# Use eval to expand $SHELL 2280if eval "$MISSING --run true"; then 2281 am_missing_run="$MISSING --run " 2282else 2283 am_missing_run= 2284 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2285$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2286fi 2287 2288{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2289$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2290if test -z "$MKDIR_P"; then 2291 if test "${ac_cv_path_mkdir+set}" = set; then 2292 $as_echo_n "(cached) " >&6 2293else 2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2295for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2296do 2297 IFS=$as_save_IFS 2298 test -z "$as_dir" && as_dir=. 2299 for ac_prog in mkdir gmkdir; do 2300 for ac_exec_ext in '' $ac_executable_extensions; do 2301 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2302 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2303 'mkdir (GNU coreutils) '* | \ 2304 'mkdir (coreutils) '* | \ 2305 'mkdir (fileutils) '4.1*) 2306 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2307 break 3;; 2308 esac 2309 done 2310 done 2311done 2312IFS=$as_save_IFS 2313 2314fi 2315 2316 if test "${ac_cv_path_mkdir+set}" = set; then 2317 MKDIR_P="$ac_cv_path_mkdir -p" 2318 else 2319 # As a last resort, use the slow shell script. Don't cache a 2320 # value for MKDIR_P within a source directory, because that will 2321 # break other packages using the cache if that directory is 2322 # removed, or if the value is a relative name. 2323 test -d ./--version && rmdir ./--version 2324 MKDIR_P="$ac_install_sh -d" 2325 fi 2326fi 2327{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2328$as_echo "$MKDIR_P" >&6; } 2329 2330mkdir_p="$MKDIR_P" 2331case $mkdir_p in 2332 [\\/$]* | ?:[\\/]*) ;; 2333 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2334esac 2335 2336for ac_prog in gawk mawk nawk awk 2337do 2338 # Extract the first word of "$ac_prog", so it can be a program name with args. 2339set dummy $ac_prog; ac_word=$2 2340{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2341$as_echo_n "checking for $ac_word... " >&6; } 2342if test "${ac_cv_prog_AWK+set}" = set; then 2343 $as_echo_n "(cached) " >&6 2344else 2345 if test -n "$AWK"; then 2346 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2347else 2348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2349for as_dir in $PATH 2350do 2351 IFS=$as_save_IFS 2352 test -z "$as_dir" && as_dir=. 2353 for ac_exec_ext in '' $ac_executable_extensions; do 2354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2355 ac_cv_prog_AWK="$ac_prog" 2356 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2357 break 2 2358 fi 2359done 2360done 2361IFS=$as_save_IFS 2362 2363fi 2364fi 2365AWK=$ac_cv_prog_AWK 2366if test -n "$AWK"; then 2367 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2368$as_echo "$AWK" >&6; } 2369else 2370 { $as_echo "$as_me:$LINENO: result: no" >&5 2371$as_echo "no" >&6; } 2372fi 2373 2374 2375 test -n "$AWK" && break 2376done 2377 2378{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2379$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2380set x ${MAKE-make} 2381ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2382if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2383 $as_echo_n "(cached) " >&6 2384else 2385 cat >conftest.make <<\_ACEOF 2386SHELL = /bin/sh 2387all: 2388 @echo '@@@%%%=$(MAKE)=@@@%%%' 2389_ACEOF 2390# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2391case `${MAKE-make} -f conftest.make 2>/dev/null` in 2392 *@@@%%%=?*=@@@%%%*) 2393 eval ac_cv_prog_make_${ac_make}_set=yes;; 2394 *) 2395 eval ac_cv_prog_make_${ac_make}_set=no;; 2396esac 2397rm -f conftest.make 2398fi 2399if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2400 { $as_echo "$as_me:$LINENO: result: yes" >&5 2401$as_echo "yes" >&6; } 2402 SET_MAKE= 2403else 2404 { $as_echo "$as_me:$LINENO: result: no" >&5 2405$as_echo "no" >&6; } 2406 SET_MAKE="MAKE=${MAKE-make}" 2407fi 2408 2409rm -rf .tst 2>/dev/null 2410mkdir .tst 2>/dev/null 2411if test -d .tst; then 2412 am__leading_dot=. 2413else 2414 am__leading_dot=_ 2415fi 2416rmdir .tst 2>/dev/null 2417 2418if test "`cd $srcdir && pwd`" != "`pwd`"; then 2419 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2420 # is not polluted with repeated "-I." 2421 am__isrc=' -I$(srcdir)' 2422 # test to see if srcdir already configured 2423 if test -f $srcdir/config.status; then 2424 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2425$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2426 { (exit 1); exit 1; }; } 2427 fi 2428fi 2429 2430# test whether we have cygpath 2431if test -z "$CYGPATH_W"; then 2432 if (cygpath --version) >/dev/null 2>/dev/null; then 2433 CYGPATH_W='cygpath -w' 2434 else 2435 CYGPATH_W=echo 2436 fi 2437fi 2438 2439 2440# Define the identity of the package. 2441 PACKAGE='libXfont' 2442 VERSION='1.4.0' 2443 2444 2445cat >>confdefs.h <<_ACEOF 2446#define PACKAGE "$PACKAGE" 2447_ACEOF 2448 2449 2450cat >>confdefs.h <<_ACEOF 2451#define VERSION "$VERSION" 2452_ACEOF 2453 2454# Some tools Automake needs. 2455 2456ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2457 2458 2459AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2460 2461 2462AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2463 2464 2465AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2466 2467 2468MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2469 2470install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2471 2472# Installed binaries are usually stripped using `strip' when the user 2473# run `make install-strip'. However `strip' might not be the right 2474# tool to use in cross-compilation environments, therefore Automake 2475# will honor the `STRIP' environment variable to overrule this program. 2476if test "$cross_compiling" != no; then 2477 if test -n "$ac_tool_prefix"; then 2478 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2479set dummy ${ac_tool_prefix}strip; ac_word=$2 2480{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2481$as_echo_n "checking for $ac_word... " >&6; } 2482if test "${ac_cv_prog_STRIP+set}" = set; then 2483 $as_echo_n "(cached) " >&6 2484else 2485 if test -n "$STRIP"; then 2486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2487else 2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2495 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 break 2 2498 fi 2499done 2500done 2501IFS=$as_save_IFS 2502 2503fi 2504fi 2505STRIP=$ac_cv_prog_STRIP 2506if test -n "$STRIP"; then 2507 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2508$as_echo "$STRIP" >&6; } 2509else 2510 { $as_echo "$as_me:$LINENO: result: no" >&5 2511$as_echo "no" >&6; } 2512fi 2513 2514 2515fi 2516if test -z "$ac_cv_prog_STRIP"; then 2517 ac_ct_STRIP=$STRIP 2518 # Extract the first word of "strip", so it can be a program name with args. 2519set dummy strip; ac_word=$2 2520{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2521$as_echo_n "checking for $ac_word... " >&6; } 2522if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2523 $as_echo_n "(cached) " >&6 2524else 2525 if test -n "$ac_ct_STRIP"; then 2526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2527else 2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2529for as_dir in $PATH 2530do 2531 IFS=$as_save_IFS 2532 test -z "$as_dir" && as_dir=. 2533 for ac_exec_ext in '' $ac_executable_extensions; do 2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2535 ac_cv_prog_ac_ct_STRIP="strip" 2536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2537 break 2 2538 fi 2539done 2540done 2541IFS=$as_save_IFS 2542 2543fi 2544fi 2545ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2546if test -n "$ac_ct_STRIP"; then 2547 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2548$as_echo "$ac_ct_STRIP" >&6; } 2549else 2550 { $as_echo "$as_me:$LINENO: result: no" >&5 2551$as_echo "no" >&6; } 2552fi 2553 2554 if test "x$ac_ct_STRIP" = x; then 2555 STRIP=":" 2556 else 2557 case $cross_compiling:$ac_tool_warned in 2558yes:) 2559{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2561ac_tool_warned=yes ;; 2562esac 2563 STRIP=$ac_ct_STRIP 2564 fi 2565else 2566 STRIP="$ac_cv_prog_STRIP" 2567fi 2568 2569fi 2570INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2571 2572# We need awk for the "check" target. The system "awk" is bad on 2573# some platforms. 2574# Always define AMTAR for backward compatibility. 2575 2576AMTAR=${AMTAR-"${am_missing_run}tar"} 2577 2578am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2579 2580 2581 2582 2583 2584ac_config_headers="$ac_config_headers config.h" 2585 2586ac_config_headers="$ac_config_headers include/X11/fonts/fontconf.h" 2587 2588 2589# Require xorg-macros version >= 1.2.0 for XORG_CWARNFLAGS & XORG_CHANGELOG 2590 2591 2592 XORG_MACROS_needed_version=1.2 2593 XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'` 2594 XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 2595 { $as_echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5 2596$as_echo_n "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... " >&6; } 2597 XORG_MACROS_version=1.2.1 2598 XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'` 2599 XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 2600 if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then 2601 { { $as_echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5 2602$as_echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;} 2603 { (exit 1); exit 1; }; } 2604 fi 2605 if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then 2606 { { $as_echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5 2607$as_echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;} 2608 { (exit 1); exit 1; }; } 2609 fi 2610 { $as_echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5 2611$as_echo "yes, $XORG_MACROS_version" >&6; } 2612 2613 2614# Check for progs 2615ac_ext=c 2616ac_cpp='$CPP $CPPFLAGS' 2617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2619ac_compiler_gnu=$ac_cv_c_compiler_gnu 2620if test -n "$ac_tool_prefix"; then 2621 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2622set dummy ${ac_tool_prefix}gcc; ac_word=$2 2623{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2624$as_echo_n "checking for $ac_word... " >&6; } 2625if test "${ac_cv_prog_CC+set}" = set; then 2626 $as_echo_n "(cached) " >&6 2627else 2628 if test -n "$CC"; then 2629 ac_cv_prog_CC="$CC" # Let the user override the test. 2630else 2631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2632for as_dir in $PATH 2633do 2634 IFS=$as_save_IFS 2635 test -z "$as_dir" && as_dir=. 2636 for ac_exec_ext in '' $ac_executable_extensions; do 2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2638 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2639 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2640 break 2 2641 fi 2642done 2643done 2644IFS=$as_save_IFS 2645 2646fi 2647fi 2648CC=$ac_cv_prog_CC 2649if test -n "$CC"; then 2650 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2651$as_echo "$CC" >&6; } 2652else 2653 { $as_echo "$as_me:$LINENO: result: no" >&5 2654$as_echo "no" >&6; } 2655fi 2656 2657 2658fi 2659if test -z "$ac_cv_prog_CC"; then 2660 ac_ct_CC=$CC 2661 # Extract the first word of "gcc", so it can be a program name with args. 2662set dummy gcc; ac_word=$2 2663{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2664$as_echo_n "checking for $ac_word... " >&6; } 2665if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2666 $as_echo_n "(cached) " >&6 2667else 2668 if test -n "$ac_ct_CC"; then 2669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2670else 2671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2672for as_dir in $PATH 2673do 2674 IFS=$as_save_IFS 2675 test -z "$as_dir" && as_dir=. 2676 for ac_exec_ext in '' $ac_executable_extensions; do 2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2678 ac_cv_prog_ac_ct_CC="gcc" 2679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2680 break 2 2681 fi 2682done 2683done 2684IFS=$as_save_IFS 2685 2686fi 2687fi 2688ac_ct_CC=$ac_cv_prog_ac_ct_CC 2689if test -n "$ac_ct_CC"; then 2690 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2691$as_echo "$ac_ct_CC" >&6; } 2692else 2693 { $as_echo "$as_me:$LINENO: result: no" >&5 2694$as_echo "no" >&6; } 2695fi 2696 2697 if test "x$ac_ct_CC" = x; then 2698 CC="" 2699 else 2700 case $cross_compiling:$ac_tool_warned in 2701yes:) 2702{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2704ac_tool_warned=yes ;; 2705esac 2706 CC=$ac_ct_CC 2707 fi 2708else 2709 CC="$ac_cv_prog_CC" 2710fi 2711 2712if test -z "$CC"; then 2713 if test -n "$ac_tool_prefix"; then 2714 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2715set dummy ${ac_tool_prefix}cc; ac_word=$2 2716{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2717$as_echo_n "checking for $ac_word... " >&6; } 2718if test "${ac_cv_prog_CC+set}" = set; then 2719 $as_echo_n "(cached) " >&6 2720else 2721 if test -n "$CC"; then 2722 ac_cv_prog_CC="$CC" # Let the user override the test. 2723else 2724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2725for as_dir in $PATH 2726do 2727 IFS=$as_save_IFS 2728 test -z "$as_dir" && as_dir=. 2729 for ac_exec_ext in '' $ac_executable_extensions; do 2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2731 ac_cv_prog_CC="${ac_tool_prefix}cc" 2732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2733 break 2 2734 fi 2735done 2736done 2737IFS=$as_save_IFS 2738 2739fi 2740fi 2741CC=$ac_cv_prog_CC 2742if test -n "$CC"; then 2743 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2744$as_echo "$CC" >&6; } 2745else 2746 { $as_echo "$as_me:$LINENO: result: no" >&5 2747$as_echo "no" >&6; } 2748fi 2749 2750 2751 fi 2752fi 2753if test -z "$CC"; then 2754 # Extract the first word of "cc", so it can be a program name with args. 2755set dummy cc; ac_word=$2 2756{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2757$as_echo_n "checking for $ac_word... " >&6; } 2758if test "${ac_cv_prog_CC+set}" = set; then 2759 $as_echo_n "(cached) " >&6 2760else 2761 if test -n "$CC"; then 2762 ac_cv_prog_CC="$CC" # Let the user override the test. 2763else 2764 ac_prog_rejected=no 2765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2766for as_dir in $PATH 2767do 2768 IFS=$as_save_IFS 2769 test -z "$as_dir" && as_dir=. 2770 for ac_exec_ext in '' $ac_executable_extensions; do 2771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2772 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2773 ac_prog_rejected=yes 2774 continue 2775 fi 2776 ac_cv_prog_CC="cc" 2777 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2778 break 2 2779 fi 2780done 2781done 2782IFS=$as_save_IFS 2783 2784if test $ac_prog_rejected = yes; then 2785 # We found a bogon in the path, so make sure we never use it. 2786 set dummy $ac_cv_prog_CC 2787 shift 2788 if test $# != 0; then 2789 # We chose a different compiler from the bogus one. 2790 # However, it has the same basename, so the bogon will be chosen 2791 # first if we set CC to just the basename; use the full file name. 2792 shift 2793 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2794 fi 2795fi 2796fi 2797fi 2798CC=$ac_cv_prog_CC 2799if test -n "$CC"; then 2800 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2801$as_echo "$CC" >&6; } 2802else 2803 { $as_echo "$as_me:$LINENO: result: no" >&5 2804$as_echo "no" >&6; } 2805fi 2806 2807 2808fi 2809if test -z "$CC"; then 2810 if test -n "$ac_tool_prefix"; then 2811 for ac_prog in cl.exe 2812 do 2813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2814set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2815{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2816$as_echo_n "checking for $ac_word... " >&6; } 2817if test "${ac_cv_prog_CC+set}" = set; then 2818 $as_echo_n "(cached) " >&6 2819else 2820 if test -n "$CC"; then 2821 ac_cv_prog_CC="$CC" # Let the user override the test. 2822else 2823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2824for as_dir in $PATH 2825do 2826 IFS=$as_save_IFS 2827 test -z "$as_dir" && as_dir=. 2828 for ac_exec_ext in '' $ac_executable_extensions; do 2829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2830 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2831 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2832 break 2 2833 fi 2834done 2835done 2836IFS=$as_save_IFS 2837 2838fi 2839fi 2840CC=$ac_cv_prog_CC 2841if test -n "$CC"; then 2842 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2843$as_echo "$CC" >&6; } 2844else 2845 { $as_echo "$as_me:$LINENO: result: no" >&5 2846$as_echo "no" >&6; } 2847fi 2848 2849 2850 test -n "$CC" && break 2851 done 2852fi 2853if test -z "$CC"; then 2854 ac_ct_CC=$CC 2855 for ac_prog in cl.exe 2856do 2857 # Extract the first word of "$ac_prog", so it can be a program name with args. 2858set dummy $ac_prog; ac_word=$2 2859{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2860$as_echo_n "checking for $ac_word... " >&6; } 2861if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2862 $as_echo_n "(cached) " >&6 2863else 2864 if test -n "$ac_ct_CC"; then 2865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2866else 2867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2868for as_dir in $PATH 2869do 2870 IFS=$as_save_IFS 2871 test -z "$as_dir" && as_dir=. 2872 for ac_exec_ext in '' $ac_executable_extensions; do 2873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2874 ac_cv_prog_ac_ct_CC="$ac_prog" 2875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2876 break 2 2877 fi 2878done 2879done 2880IFS=$as_save_IFS 2881 2882fi 2883fi 2884ac_ct_CC=$ac_cv_prog_ac_ct_CC 2885if test -n "$ac_ct_CC"; then 2886 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2887$as_echo "$ac_ct_CC" >&6; } 2888else 2889 { $as_echo "$as_me:$LINENO: result: no" >&5 2890$as_echo "no" >&6; } 2891fi 2892 2893 2894 test -n "$ac_ct_CC" && break 2895done 2896 2897 if test "x$ac_ct_CC" = x; then 2898 CC="" 2899 else 2900 case $cross_compiling:$ac_tool_warned in 2901yes:) 2902{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2904ac_tool_warned=yes ;; 2905esac 2906 CC=$ac_ct_CC 2907 fi 2908fi 2909 2910fi 2911 2912 2913test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2914$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2915{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2916See \`config.log' for more details." >&5 2917$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2918See \`config.log' for more details." >&2;} 2919 { (exit 1); exit 1; }; }; } 2920 2921# Provide some information about the compiler. 2922$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2923set X $ac_compile 2924ac_compiler=$2 2925{ (ac_try="$ac_compiler --version >&5" 2926case "(($ac_try" in 2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2928 *) ac_try_echo=$ac_try;; 2929esac 2930eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2931$as_echo "$ac_try_echo") >&5 2932 (eval "$ac_compiler --version >&5") 2>&5 2933 ac_status=$? 2934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2935 (exit $ac_status); } 2936{ (ac_try="$ac_compiler -v >&5" 2937case "(($ac_try" in 2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2939 *) ac_try_echo=$ac_try;; 2940esac 2941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2942$as_echo "$ac_try_echo") >&5 2943 (eval "$ac_compiler -v >&5") 2>&5 2944 ac_status=$? 2945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2946 (exit $ac_status); } 2947{ (ac_try="$ac_compiler -V >&5" 2948case "(($ac_try" in 2949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2950 *) ac_try_echo=$ac_try;; 2951esac 2952eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2953$as_echo "$ac_try_echo") >&5 2954 (eval "$ac_compiler -V >&5") 2>&5 2955 ac_status=$? 2956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); } 2958 2959cat >conftest.$ac_ext <<_ACEOF 2960/* confdefs.h. */ 2961_ACEOF 2962cat confdefs.h >>conftest.$ac_ext 2963cat >>conftest.$ac_ext <<_ACEOF 2964/* end confdefs.h. */ 2965 2966int 2967main () 2968{ 2969 2970 ; 2971 return 0; 2972} 2973_ACEOF 2974ac_clean_files_save=$ac_clean_files 2975ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2976# Try to create an executable without -o first, disregard a.out. 2977# It will help us diagnose broken compilers, and finding out an intuition 2978# of exeext. 2979{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2980$as_echo_n "checking for C compiler default output file name... " >&6; } 2981ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2982 2983# The possible output files: 2984ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2985 2986ac_rmfiles= 2987for ac_file in $ac_files 2988do 2989 case $ac_file in 2990 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2991 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2992 esac 2993done 2994rm -f $ac_rmfiles 2995 2996if { (ac_try="$ac_link_default" 2997case "(($ac_try" in 2998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2999 *) ac_try_echo=$ac_try;; 3000esac 3001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3002$as_echo "$ac_try_echo") >&5 3003 (eval "$ac_link_default") 2>&5 3004 ac_status=$? 3005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3006 (exit $ac_status); }; then 3007 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3008# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3009# in a Makefile. We should not override ac_cv_exeext if it was cached, 3010# so that the user can short-circuit this test for compilers unknown to 3011# Autoconf. 3012for ac_file in $ac_files '' 3013do 3014 test -f "$ac_file" || continue 3015 case $ac_file in 3016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3017 ;; 3018 [ab].out ) 3019 # We found the default executable, but exeext='' is most 3020 # certainly right. 3021 break;; 3022 *.* ) 3023 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3024 then :; else 3025 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3026 fi 3027 # We set ac_cv_exeext here because the later test for it is not 3028 # safe: cross compilers may not add the suffix if given an `-o' 3029 # argument, so we may need to know it at that point already. 3030 # Even if this section looks crufty: it has the advantage of 3031 # actually working. 3032 break;; 3033 * ) 3034 break;; 3035 esac 3036done 3037test "$ac_cv_exeext" = no && ac_cv_exeext= 3038 3039else 3040 ac_file='' 3041fi 3042 3043{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3044$as_echo "$ac_file" >&6; } 3045if test -z "$ac_file"; then 3046 $as_echo "$as_me: failed program was:" >&5 3047sed 's/^/| /' conftest.$ac_ext >&5 3048 3049{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3050$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3051{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3052See \`config.log' for more details." >&5 3053$as_echo "$as_me: error: C compiler cannot create executables 3054See \`config.log' for more details." >&2;} 3055 { (exit 77); exit 77; }; }; } 3056fi 3057 3058ac_exeext=$ac_cv_exeext 3059 3060# Check that the compiler produces executables we can run. If not, either 3061# the compiler is broken, or we cross compile. 3062{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3063$as_echo_n "checking whether the C compiler works... " >&6; } 3064# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3065# If not cross compiling, check that we can run a simple program. 3066if test "$cross_compiling" != yes; then 3067 if { ac_try='./$ac_file' 3068 { (case "(($ac_try" in 3069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3070 *) ac_try_echo=$ac_try;; 3071esac 3072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3073$as_echo "$ac_try_echo") >&5 3074 (eval "$ac_try") 2>&5 3075 ac_status=$? 3076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); }; }; then 3078 cross_compiling=no 3079 else 3080 if test "$cross_compiling" = maybe; then 3081 cross_compiling=yes 3082 else 3083 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3085{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3086If you meant to cross compile, use \`--host'. 3087See \`config.log' for more details." >&5 3088$as_echo "$as_me: error: cannot run C compiled programs. 3089If you meant to cross compile, use \`--host'. 3090See \`config.log' for more details." >&2;} 3091 { (exit 1); exit 1; }; }; } 3092 fi 3093 fi 3094fi 3095{ $as_echo "$as_me:$LINENO: result: yes" >&5 3096$as_echo "yes" >&6; } 3097 3098rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3099ac_clean_files=$ac_clean_files_save 3100# Check that the compiler produces executables we can run. If not, either 3101# the compiler is broken, or we cross compile. 3102{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3103$as_echo_n "checking whether we are cross compiling... " >&6; } 3104{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3105$as_echo "$cross_compiling" >&6; } 3106 3107{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3108$as_echo_n "checking for suffix of executables... " >&6; } 3109if { (ac_try="$ac_link" 3110case "(($ac_try" in 3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3112 *) ac_try_echo=$ac_try;; 3113esac 3114eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3115$as_echo "$ac_try_echo") >&5 3116 (eval "$ac_link") 2>&5 3117 ac_status=$? 3118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3119 (exit $ac_status); }; then 3120 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3121# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3122# work properly (i.e., refer to `conftest.exe'), while it won't with 3123# `rm'. 3124for ac_file in conftest.exe conftest conftest.*; do 3125 test -f "$ac_file" || continue 3126 case $ac_file in 3127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3128 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3129 break;; 3130 * ) break;; 3131 esac 3132done 3133else 3134 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3136{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3137See \`config.log' for more details." >&5 3138$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3139See \`config.log' for more details." >&2;} 3140 { (exit 1); exit 1; }; }; } 3141fi 3142 3143rm -f conftest$ac_cv_exeext 3144{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3145$as_echo "$ac_cv_exeext" >&6; } 3146 3147rm -f conftest.$ac_ext 3148EXEEXT=$ac_cv_exeext 3149ac_exeext=$EXEEXT 3150{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3151$as_echo_n "checking for suffix of object files... " >&6; } 3152if test "${ac_cv_objext+set}" = set; then 3153 $as_echo_n "(cached) " >&6 3154else 3155 cat >conftest.$ac_ext <<_ACEOF 3156/* confdefs.h. */ 3157_ACEOF 3158cat confdefs.h >>conftest.$ac_ext 3159cat >>conftest.$ac_ext <<_ACEOF 3160/* end confdefs.h. */ 3161 3162int 3163main () 3164{ 3165 3166 ; 3167 return 0; 3168} 3169_ACEOF 3170rm -f conftest.o conftest.obj 3171if { (ac_try="$ac_compile" 3172case "(($ac_try" in 3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3174 *) ac_try_echo=$ac_try;; 3175esac 3176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3177$as_echo "$ac_try_echo") >&5 3178 (eval "$ac_compile") 2>&5 3179 ac_status=$? 3180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3181 (exit $ac_status); }; then 3182 for ac_file in conftest.o conftest.obj conftest.*; do 3183 test -f "$ac_file" || continue; 3184 case $ac_file in 3185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3186 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3187 break;; 3188 esac 3189done 3190else 3191 $as_echo "$as_me: failed program was:" >&5 3192sed 's/^/| /' conftest.$ac_ext >&5 3193 3194{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3196{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3197See \`config.log' for more details." >&5 3198$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3199See \`config.log' for more details." >&2;} 3200 { (exit 1); exit 1; }; }; } 3201fi 3202 3203rm -f conftest.$ac_cv_objext conftest.$ac_ext 3204fi 3205{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3206$as_echo "$ac_cv_objext" >&6; } 3207OBJEXT=$ac_cv_objext 3208ac_objext=$OBJEXT 3209{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3210$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3211if test "${ac_cv_c_compiler_gnu+set}" = set; then 3212 $as_echo_n "(cached) " >&6 3213else 3214 cat >conftest.$ac_ext <<_ACEOF 3215/* confdefs.h. */ 3216_ACEOF 3217cat confdefs.h >>conftest.$ac_ext 3218cat >>conftest.$ac_ext <<_ACEOF 3219/* end confdefs.h. */ 3220 3221int 3222main () 3223{ 3224#ifndef __GNUC__ 3225 choke me 3226#endif 3227 3228 ; 3229 return 0; 3230} 3231_ACEOF 3232rm -f conftest.$ac_objext 3233if { (ac_try="$ac_compile" 3234case "(($ac_try" in 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3236 *) ac_try_echo=$ac_try;; 3237esac 3238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3239$as_echo "$ac_try_echo") >&5 3240 (eval "$ac_compile") 2>conftest.er1 3241 ac_status=$? 3242 grep -v '^ *+' conftest.er1 >conftest.err 3243 rm -f conftest.er1 3244 cat conftest.err >&5 3245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3246 (exit $ac_status); } && { 3247 test -z "$ac_c_werror_flag" || 3248 test ! -s conftest.err 3249 } && test -s conftest.$ac_objext; then 3250 ac_compiler_gnu=yes 3251else 3252 $as_echo "$as_me: failed program was:" >&5 3253sed 's/^/| /' conftest.$ac_ext >&5 3254 3255 ac_compiler_gnu=no 3256fi 3257 3258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3259ac_cv_c_compiler_gnu=$ac_compiler_gnu 3260 3261fi 3262{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3263$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3264if test $ac_compiler_gnu = yes; then 3265 GCC=yes 3266else 3267 GCC= 3268fi 3269ac_test_CFLAGS=${CFLAGS+set} 3270ac_save_CFLAGS=$CFLAGS 3271{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3272$as_echo_n "checking whether $CC accepts -g... " >&6; } 3273if test "${ac_cv_prog_cc_g+set}" = set; then 3274 $as_echo_n "(cached) " >&6 3275else 3276 ac_save_c_werror_flag=$ac_c_werror_flag 3277 ac_c_werror_flag=yes 3278 ac_cv_prog_cc_g=no 3279 CFLAGS="-g" 3280 cat >conftest.$ac_ext <<_ACEOF 3281/* confdefs.h. */ 3282_ACEOF 3283cat confdefs.h >>conftest.$ac_ext 3284cat >>conftest.$ac_ext <<_ACEOF 3285/* end confdefs.h. */ 3286 3287int 3288main () 3289{ 3290 3291 ; 3292 return 0; 3293} 3294_ACEOF 3295rm -f conftest.$ac_objext 3296if { (ac_try="$ac_compile" 3297case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300esac 3301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3302$as_echo "$ac_try_echo") >&5 3303 (eval "$ac_compile") 2>conftest.er1 3304 ac_status=$? 3305 grep -v '^ *+' conftest.er1 >conftest.err 3306 rm -f conftest.er1 3307 cat conftest.err >&5 3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3309 (exit $ac_status); } && { 3310 test -z "$ac_c_werror_flag" || 3311 test ! -s conftest.err 3312 } && test -s conftest.$ac_objext; then 3313 ac_cv_prog_cc_g=yes 3314else 3315 $as_echo "$as_me: failed program was:" >&5 3316sed 's/^/| /' conftest.$ac_ext >&5 3317 3318 CFLAGS="" 3319 cat >conftest.$ac_ext <<_ACEOF 3320/* confdefs.h. */ 3321_ACEOF 3322cat confdefs.h >>conftest.$ac_ext 3323cat >>conftest.$ac_ext <<_ACEOF 3324/* end confdefs.h. */ 3325 3326int 3327main () 3328{ 3329 3330 ; 3331 return 0; 3332} 3333_ACEOF 3334rm -f conftest.$ac_objext 3335if { (ac_try="$ac_compile" 3336case "(($ac_try" in 3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3338 *) ac_try_echo=$ac_try;; 3339esac 3340eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3341$as_echo "$ac_try_echo") >&5 3342 (eval "$ac_compile") 2>conftest.er1 3343 ac_status=$? 3344 grep -v '^ *+' conftest.er1 >conftest.err 3345 rm -f conftest.er1 3346 cat conftest.err >&5 3347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3348 (exit $ac_status); } && { 3349 test -z "$ac_c_werror_flag" || 3350 test ! -s conftest.err 3351 } && test -s conftest.$ac_objext; then 3352 : 3353else 3354 $as_echo "$as_me: failed program was:" >&5 3355sed 's/^/| /' conftest.$ac_ext >&5 3356 3357 ac_c_werror_flag=$ac_save_c_werror_flag 3358 CFLAGS="-g" 3359 cat >conftest.$ac_ext <<_ACEOF 3360/* confdefs.h. */ 3361_ACEOF 3362cat confdefs.h >>conftest.$ac_ext 3363cat >>conftest.$ac_ext <<_ACEOF 3364/* end confdefs.h. */ 3365 3366int 3367main () 3368{ 3369 3370 ; 3371 return 0; 3372} 3373_ACEOF 3374rm -f conftest.$ac_objext 3375if { (ac_try="$ac_compile" 3376case "(($ac_try" in 3377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3378 *) ac_try_echo=$ac_try;; 3379esac 3380eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3381$as_echo "$ac_try_echo") >&5 3382 (eval "$ac_compile") 2>conftest.er1 3383 ac_status=$? 3384 grep -v '^ *+' conftest.er1 >conftest.err 3385 rm -f conftest.er1 3386 cat conftest.err >&5 3387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 (exit $ac_status); } && { 3389 test -z "$ac_c_werror_flag" || 3390 test ! -s conftest.err 3391 } && test -s conftest.$ac_objext; then 3392 ac_cv_prog_cc_g=yes 3393else 3394 $as_echo "$as_me: failed program was:" >&5 3395sed 's/^/| /' conftest.$ac_ext >&5 3396 3397 3398fi 3399 3400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3401fi 3402 3403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3404fi 3405 3406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3407 ac_c_werror_flag=$ac_save_c_werror_flag 3408fi 3409{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3410$as_echo "$ac_cv_prog_cc_g" >&6; } 3411if test "$ac_test_CFLAGS" = set; then 3412 CFLAGS=$ac_save_CFLAGS 3413elif test $ac_cv_prog_cc_g = yes; then 3414 if test "$GCC" = yes; then 3415 CFLAGS="-g -O2" 3416 else 3417 CFLAGS="-g" 3418 fi 3419else 3420 if test "$GCC" = yes; then 3421 CFLAGS="-O2" 3422 else 3423 CFLAGS= 3424 fi 3425fi 3426{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3427$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3428if test "${ac_cv_prog_cc_c89+set}" = set; then 3429 $as_echo_n "(cached) " >&6 3430else 3431 ac_cv_prog_cc_c89=no 3432ac_save_CC=$CC 3433cat >conftest.$ac_ext <<_ACEOF 3434/* confdefs.h. */ 3435_ACEOF 3436cat confdefs.h >>conftest.$ac_ext 3437cat >>conftest.$ac_ext <<_ACEOF 3438/* end confdefs.h. */ 3439#include <stdarg.h> 3440#include <stdio.h> 3441#include <sys/types.h> 3442#include <sys/stat.h> 3443/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3444struct buf { int x; }; 3445FILE * (*rcsopen) (struct buf *, struct stat *, int); 3446static char *e (p, i) 3447 char **p; 3448 int i; 3449{ 3450 return p[i]; 3451} 3452static char *f (char * (*g) (char **, int), char **p, ...) 3453{ 3454 char *s; 3455 va_list v; 3456 va_start (v,p); 3457 s = g (p, va_arg (v,int)); 3458 va_end (v); 3459 return s; 3460} 3461 3462/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3463 function prototypes and stuff, but not '\xHH' hex character constants. 3464 These don't provoke an error unfortunately, instead are silently treated 3465 as 'x'. The following induces an error, until -std is added to get 3466 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3467 array size at least. It's necessary to write '\x00'==0 to get something 3468 that's true only with -std. */ 3469int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3470 3471/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3472 inside strings and character constants. */ 3473#define FOO(x) 'x' 3474int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3475 3476int test (int i, double x); 3477struct s1 {int (*f) (int a);}; 3478struct s2 {int (*f) (double a);}; 3479int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3480int argc; 3481char **argv; 3482int 3483main () 3484{ 3485return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3486 ; 3487 return 0; 3488} 3489_ACEOF 3490for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3491 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3492do 3493 CC="$ac_save_CC $ac_arg" 3494 rm -f conftest.$ac_objext 3495if { (ac_try="$ac_compile" 3496case "(($ac_try" in 3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3498 *) ac_try_echo=$ac_try;; 3499esac 3500eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3501$as_echo "$ac_try_echo") >&5 3502 (eval "$ac_compile") 2>conftest.er1 3503 ac_status=$? 3504 grep -v '^ *+' conftest.er1 >conftest.err 3505 rm -f conftest.er1 3506 cat conftest.err >&5 3507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 (exit $ac_status); } && { 3509 test -z "$ac_c_werror_flag" || 3510 test ! -s conftest.err 3511 } && test -s conftest.$ac_objext; then 3512 ac_cv_prog_cc_c89=$ac_arg 3513else 3514 $as_echo "$as_me: failed program was:" >&5 3515sed 's/^/| /' conftest.$ac_ext >&5 3516 3517 3518fi 3519 3520rm -f core conftest.err conftest.$ac_objext 3521 test "x$ac_cv_prog_cc_c89" != "xno" && break 3522done 3523rm -f conftest.$ac_ext 3524CC=$ac_save_CC 3525 3526fi 3527# AC_CACHE_VAL 3528case "x$ac_cv_prog_cc_c89" in 3529 x) 3530 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3531$as_echo "none needed" >&6; } ;; 3532 xno) 3533 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3534$as_echo "unsupported" >&6; } ;; 3535 *) 3536 CC="$CC $ac_cv_prog_cc_c89" 3537 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3538$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3539esac 3540 3541 3542ac_ext=c 3543ac_cpp='$CPP $CPPFLAGS' 3544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3546ac_compiler_gnu=$ac_cv_c_compiler_gnu 3547DEPDIR="${am__leading_dot}deps" 3548 3549ac_config_commands="$ac_config_commands depfiles" 3550 3551 3552am_make=${MAKE-make} 3553cat > confinc << 'END' 3554am__doit: 3555 @echo done 3556.PHONY: am__doit 3557END 3558# If we don't find an include directive, just comment out the code. 3559{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3560$as_echo_n "checking for style of include used by $am_make... " >&6; } 3561am__include="#" 3562am__quote= 3563_am_result=none 3564# First try GNU make style include. 3565echo "include confinc" > confmf 3566# We grep out `Entering directory' and `Leaving directory' 3567# messages which can occur if `w' ends up in MAKEFLAGS. 3568# In particular we don't look at `^make:' because GNU make might 3569# be invoked under some other name (usually "gmake"), in which 3570# case it prints its new name instead of `make'. 3571if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3572 am__include=include 3573 am__quote= 3574 _am_result=GNU 3575fi 3576# Now try BSD make style include. 3577if test "$am__include" = "#"; then 3578 echo '.include "confinc"' > confmf 3579 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3580 am__include=.include 3581 am__quote="\"" 3582 _am_result=BSD 3583 fi 3584fi 3585 3586 3587{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3588$as_echo "$_am_result" >&6; } 3589rm -f confinc confmf 3590 3591# Check whether --enable-dependency-tracking was given. 3592if test "${enable_dependency_tracking+set}" = set; then 3593 enableval=$enable_dependency_tracking; 3594fi 3595 3596if test "x$enable_dependency_tracking" != xno; then 3597 am_depcomp="$ac_aux_dir/depcomp" 3598 AMDEPBACKSLASH='\' 3599fi 3600 if test "x$enable_dependency_tracking" != xno; then 3601 AMDEP_TRUE= 3602 AMDEP_FALSE='#' 3603else 3604 AMDEP_TRUE='#' 3605 AMDEP_FALSE= 3606fi 3607 3608 3609 3610depcc="$CC" am_compiler_list= 3611 3612{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3613$as_echo_n "checking dependency style of $depcc... " >&6; } 3614if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3615 $as_echo_n "(cached) " >&6 3616else 3617 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3618 # We make a subdir and do the tests there. Otherwise we can end up 3619 # making bogus files that we don't know about and never remove. For 3620 # instance it was reported that on HP-UX the gcc test will end up 3621 # making a dummy file named `D' -- because `-MD' means `put the output 3622 # in D'. 3623 mkdir conftest.dir 3624 # Copy depcomp to subdir because otherwise we won't find it if we're 3625 # using a relative directory. 3626 cp "$am_depcomp" conftest.dir 3627 cd conftest.dir 3628 # We will build objects and dependencies in a subdirectory because 3629 # it helps to detect inapplicable dependency modes. For instance 3630 # both Tru64's cc and ICC support -MD to output dependencies as a 3631 # side effect of compilation, but ICC will put the dependencies in 3632 # the current directory while Tru64 will put them in the object 3633 # directory. 3634 mkdir sub 3635 3636 am_cv_CC_dependencies_compiler_type=none 3637 if test "$am_compiler_list" = ""; then 3638 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3639 fi 3640 for depmode in $am_compiler_list; do 3641 # Setup a source with many dependencies, because some compilers 3642 # like to wrap large dependency lists on column 80 (with \), and 3643 # we should not choose a depcomp mode which is confused by this. 3644 # 3645 # We need to recreate these files for each test, as the compiler may 3646 # overwrite some of them when testing with obscure command lines. 3647 # This happens at least with the AIX C compiler. 3648 : > sub/conftest.c 3649 for i in 1 2 3 4 5 6; do 3650 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3651 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3652 # Solaris 8's {/usr,}/bin/sh. 3653 touch sub/conftst$i.h 3654 done 3655 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3656 3657 case $depmode in 3658 nosideeffect) 3659 # after this tag, mechanisms are not by side-effect, so they'll 3660 # only be used when explicitly requested 3661 if test "x$enable_dependency_tracking" = xyes; then 3662 continue 3663 else 3664 break 3665 fi 3666 ;; 3667 none) break ;; 3668 esac 3669 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3670 # mode. It turns out that the SunPro C++ compiler does not properly 3671 # handle `-M -o', and we need to detect this. 3672 if depmode=$depmode \ 3673 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3674 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3675 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3676 >/dev/null 2>conftest.err && 3677 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3678 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3679 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3680 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3681 # icc doesn't choke on unknown options, it will just issue warnings 3682 # or remarks (even with -Werror). So we grep stderr for any message 3683 # that says an option was ignored or not supported. 3684 # When given -MP, icc 7.0 and 7.1 complain thusly: 3685 # icc: Command line warning: ignoring option '-M'; no argument required 3686 # The diagnosis changed in icc 8.0: 3687 # icc: Command line remark: option '-MP' not supported 3688 if (grep 'ignoring option' conftest.err || 3689 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3690 am_cv_CC_dependencies_compiler_type=$depmode 3691 break 3692 fi 3693 fi 3694 done 3695 3696 cd .. 3697 rm -rf conftest.dir 3698else 3699 am_cv_CC_dependencies_compiler_type=none 3700fi 3701 3702fi 3703{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3704$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3705CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3706 3707 if 3708 test "x$enable_dependency_tracking" != xno \ 3709 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3710 am__fastdepCC_TRUE= 3711 am__fastdepCC_FALSE='#' 3712else 3713 am__fastdepCC_TRUE='#' 3714 am__fastdepCC_FALSE= 3715fi 3716 3717 3718case `pwd` in 3719 *\ * | *\ *) 3720 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3721$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3722esac 3723 3724 3725 3726macro_version='2.2.6' 3727macro_revision='1.3012' 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741ltmain="$ac_aux_dir/ltmain.sh" 3742 3743# Make sure we can run config.sub. 3744$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3745 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3746$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3747 { (exit 1); exit 1; }; } 3748 3749{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3750$as_echo_n "checking build system type... " >&6; } 3751if test "${ac_cv_build+set}" = set; then 3752 $as_echo_n "(cached) " >&6 3753else 3754 ac_build_alias=$build_alias 3755test "x$ac_build_alias" = x && 3756 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3757test "x$ac_build_alias" = x && 3758 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3759$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3760 { (exit 1); exit 1; }; } 3761ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3762 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3763$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3764 { (exit 1); exit 1; }; } 3765 3766fi 3767{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3768$as_echo "$ac_cv_build" >&6; } 3769case $ac_cv_build in 3770*-*-*) ;; 3771*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3772$as_echo "$as_me: error: invalid value of canonical build" >&2;} 3773 { (exit 1); exit 1; }; };; 3774esac 3775build=$ac_cv_build 3776ac_save_IFS=$IFS; IFS='-' 3777set x $ac_cv_build 3778shift 3779build_cpu=$1 3780build_vendor=$2 3781shift; shift 3782# Remember, the first character of IFS is used to create $*, 3783# except with old shells: 3784build_os=$* 3785IFS=$ac_save_IFS 3786case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3787 3788 3789{ $as_echo "$as_me:$LINENO: checking host system type" >&5 3790$as_echo_n "checking host system type... " >&6; } 3791if test "${ac_cv_host+set}" = set; then 3792 $as_echo_n "(cached) " >&6 3793else 3794 if test "x$host_alias" = x; then 3795 ac_cv_host=$ac_cv_build 3796else 3797 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3798 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3799$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3800 { (exit 1); exit 1; }; } 3801fi 3802 3803fi 3804{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3805$as_echo "$ac_cv_host" >&6; } 3806case $ac_cv_host in 3807*-*-*) ;; 3808*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3809$as_echo "$as_me: error: invalid value of canonical host" >&2;} 3810 { (exit 1); exit 1; }; };; 3811esac 3812host=$ac_cv_host 3813ac_save_IFS=$IFS; IFS='-' 3814set x $ac_cv_host 3815shift 3816host_cpu=$1 3817host_vendor=$2 3818shift; shift 3819# Remember, the first character of IFS is used to create $*, 3820# except with old shells: 3821host_os=$* 3822IFS=$ac_save_IFS 3823case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3824 3825 3826{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 3827$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3828if test "${ac_cv_path_SED+set}" = set; then 3829 $as_echo_n "(cached) " >&6 3830else 3831 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3832 for ac_i in 1 2 3 4 5 6 7; do 3833 ac_script="$ac_script$as_nl$ac_script" 3834 done 3835 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3836 $as_unset ac_script || ac_script= 3837 if test -z "$SED"; then 3838 ac_path_SED_found=false 3839 # Loop through the user's path and test for each of PROGNAME-LIST 3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3841for as_dir in $PATH 3842do 3843 IFS=$as_save_IFS 3844 test -z "$as_dir" && as_dir=. 3845 for ac_prog in sed gsed; do 3846 for ac_exec_ext in '' $ac_executable_extensions; do 3847 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3848 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 3849# Check for GNU ac_path_SED and select it if it is found. 3850 # Check for GNU $ac_path_SED 3851case `"$ac_path_SED" --version 2>&1` in 3852*GNU*) 3853 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3854*) 3855 ac_count=0 3856 $as_echo_n 0123456789 >"conftest.in" 3857 while : 3858 do 3859 cat "conftest.in" "conftest.in" >"conftest.tmp" 3860 mv "conftest.tmp" "conftest.in" 3861 cp "conftest.in" "conftest.nl" 3862 $as_echo '' >> "conftest.nl" 3863 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3865 ac_count=`expr $ac_count + 1` 3866 if test $ac_count -gt ${ac_path_SED_max-0}; then 3867 # Best one so far, save it but keep looking for a better one 3868 ac_cv_path_SED="$ac_path_SED" 3869 ac_path_SED_max=$ac_count 3870 fi 3871 # 10*(2^10) chars as input seems more than enough 3872 test $ac_count -gt 10 && break 3873 done 3874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3875esac 3876 3877 $ac_path_SED_found && break 3 3878 done 3879 done 3880done 3881IFS=$as_save_IFS 3882 if test -z "$ac_cv_path_SED"; then 3883 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 3884$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 3885 { (exit 1); exit 1; }; } 3886 fi 3887else 3888 ac_cv_path_SED=$SED 3889fi 3890 3891fi 3892{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 3893$as_echo "$ac_cv_path_SED" >&6; } 3894 SED="$ac_cv_path_SED" 3895 rm -f conftest.sed 3896 3897test -z "$SED" && SED=sed 3898Xsed="$SED -e 1s/^X//" 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3911$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3912if test "${ac_cv_path_GREP+set}" = set; then 3913 $as_echo_n "(cached) " >&6 3914else 3915 if test -z "$GREP"; then 3916 ac_path_GREP_found=false 3917 # Loop through the user's path and test for each of PROGNAME-LIST 3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3919for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3920do 3921 IFS=$as_save_IFS 3922 test -z "$as_dir" && as_dir=. 3923 for ac_prog in grep ggrep; do 3924 for ac_exec_ext in '' $ac_executable_extensions; do 3925 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3926 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3927# Check for GNU ac_path_GREP and select it if it is found. 3928 # Check for GNU $ac_path_GREP 3929case `"$ac_path_GREP" --version 2>&1` in 3930*GNU*) 3931 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3932*) 3933 ac_count=0 3934 $as_echo_n 0123456789 >"conftest.in" 3935 while : 3936 do 3937 cat "conftest.in" "conftest.in" >"conftest.tmp" 3938 mv "conftest.tmp" "conftest.in" 3939 cp "conftest.in" "conftest.nl" 3940 $as_echo 'GREP' >> "conftest.nl" 3941 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3942 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3943 ac_count=`expr $ac_count + 1` 3944 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3945 # Best one so far, save it but keep looking for a better one 3946 ac_cv_path_GREP="$ac_path_GREP" 3947 ac_path_GREP_max=$ac_count 3948 fi 3949 # 10*(2^10) chars as input seems more than enough 3950 test $ac_count -gt 10 && break 3951 done 3952 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3953esac 3954 3955 $ac_path_GREP_found && break 3 3956 done 3957 done 3958done 3959IFS=$as_save_IFS 3960 if test -z "$ac_cv_path_GREP"; then 3961 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3962$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3963 { (exit 1); exit 1; }; } 3964 fi 3965else 3966 ac_cv_path_GREP=$GREP 3967fi 3968 3969fi 3970{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3971$as_echo "$ac_cv_path_GREP" >&6; } 3972 GREP="$ac_cv_path_GREP" 3973 3974 3975{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 3976$as_echo_n "checking for egrep... " >&6; } 3977if test "${ac_cv_path_EGREP+set}" = set; then 3978 $as_echo_n "(cached) " >&6 3979else 3980 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3981 then ac_cv_path_EGREP="$GREP -E" 3982 else 3983 if test -z "$EGREP"; then 3984 ac_path_EGREP_found=false 3985 # Loop through the user's path and test for each of PROGNAME-LIST 3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3987for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3988do 3989 IFS=$as_save_IFS 3990 test -z "$as_dir" && as_dir=. 3991 for ac_prog in egrep; do 3992 for ac_exec_ext in '' $ac_executable_extensions; do 3993 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3994 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3995# Check for GNU ac_path_EGREP and select it if it is found. 3996 # Check for GNU $ac_path_EGREP 3997case `"$ac_path_EGREP" --version 2>&1` in 3998*GNU*) 3999 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4000*) 4001 ac_count=0 4002 $as_echo_n 0123456789 >"conftest.in" 4003 while : 4004 do 4005 cat "conftest.in" "conftest.in" >"conftest.tmp" 4006 mv "conftest.tmp" "conftest.in" 4007 cp "conftest.in" "conftest.nl" 4008 $as_echo 'EGREP' >> "conftest.nl" 4009 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4011 ac_count=`expr $ac_count + 1` 4012 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4013 # Best one so far, save it but keep looking for a better one 4014 ac_cv_path_EGREP="$ac_path_EGREP" 4015 ac_path_EGREP_max=$ac_count 4016 fi 4017 # 10*(2^10) chars as input seems more than enough 4018 test $ac_count -gt 10 && break 4019 done 4020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4021esac 4022 4023 $ac_path_EGREP_found && break 3 4024 done 4025 done 4026done 4027IFS=$as_save_IFS 4028 if test -z "$ac_cv_path_EGREP"; then 4029 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4030$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4031 { (exit 1); exit 1; }; } 4032 fi 4033else 4034 ac_cv_path_EGREP=$EGREP 4035fi 4036 4037 fi 4038fi 4039{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4040$as_echo "$ac_cv_path_EGREP" >&6; } 4041 EGREP="$ac_cv_path_EGREP" 4042 4043 4044{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4045$as_echo_n "checking for fgrep... " >&6; } 4046if test "${ac_cv_path_FGREP+set}" = set; then 4047 $as_echo_n "(cached) " >&6 4048else 4049 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4050 then ac_cv_path_FGREP="$GREP -F" 4051 else 4052 if test -z "$FGREP"; then 4053 ac_path_FGREP_found=false 4054 # Loop through the user's path and test for each of PROGNAME-LIST 4055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4056for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4057do 4058 IFS=$as_save_IFS 4059 test -z "$as_dir" && as_dir=. 4060 for ac_prog in fgrep; do 4061 for ac_exec_ext in '' $ac_executable_extensions; do 4062 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4063 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4064# Check for GNU ac_path_FGREP and select it if it is found. 4065 # Check for GNU $ac_path_FGREP 4066case `"$ac_path_FGREP" --version 2>&1` in 4067*GNU*) 4068 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4069*) 4070 ac_count=0 4071 $as_echo_n 0123456789 >"conftest.in" 4072 while : 4073 do 4074 cat "conftest.in" "conftest.in" >"conftest.tmp" 4075 mv "conftest.tmp" "conftest.in" 4076 cp "conftest.in" "conftest.nl" 4077 $as_echo 'FGREP' >> "conftest.nl" 4078 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4079 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4080 ac_count=`expr $ac_count + 1` 4081 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4082 # Best one so far, save it but keep looking for a better one 4083 ac_cv_path_FGREP="$ac_path_FGREP" 4084 ac_path_FGREP_max=$ac_count 4085 fi 4086 # 10*(2^10) chars as input seems more than enough 4087 test $ac_count -gt 10 && break 4088 done 4089 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4090esac 4091 4092 $ac_path_FGREP_found && break 3 4093 done 4094 done 4095done 4096IFS=$as_save_IFS 4097 if test -z "$ac_cv_path_FGREP"; then 4098 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4099$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4100 { (exit 1); exit 1; }; } 4101 fi 4102else 4103 ac_cv_path_FGREP=$FGREP 4104fi 4105 4106 fi 4107fi 4108{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4109$as_echo "$ac_cv_path_FGREP" >&6; } 4110 FGREP="$ac_cv_path_FGREP" 4111 4112 4113test -z "$GREP" && GREP=grep 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133# Check whether --with-gnu-ld was given. 4134if test "${with_gnu_ld+set}" = set; then 4135 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4136else 4137 with_gnu_ld=no 4138fi 4139 4140ac_prog=ld 4141if test "$GCC" = yes; then 4142 # Check if gcc -print-prog-name=ld gives a path. 4143 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4144$as_echo_n "checking for ld used by $CC... " >&6; } 4145 case $host in 4146 *-*-mingw*) 4147 # gcc leaves a trailing carriage return which upsets mingw 4148 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4149 *) 4150 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4151 esac 4152 case $ac_prog in 4153 # Accept absolute paths. 4154 [\\/]* | ?:[\\/]*) 4155 re_direlt='/[^/][^/]*/\.\./' 4156 # Canonicalize the pathname of ld 4157 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4158 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4159 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4160 done 4161 test -z "$LD" && LD="$ac_prog" 4162 ;; 4163 "") 4164 # If it fails, then pretend we aren't using GCC. 4165 ac_prog=ld 4166 ;; 4167 *) 4168 # If it is relative, then search for the first ld in PATH. 4169 with_gnu_ld=unknown 4170 ;; 4171 esac 4172elif test "$with_gnu_ld" = yes; then 4173 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4174$as_echo_n "checking for GNU ld... " >&6; } 4175else 4176 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4177$as_echo_n "checking for non-GNU ld... " >&6; } 4178fi 4179if test "${lt_cv_path_LD+set}" = set; then 4180 $as_echo_n "(cached) " >&6 4181else 4182 if test -z "$LD"; then 4183 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4184 for ac_dir in $PATH; do 4185 IFS="$lt_save_ifs" 4186 test -z "$ac_dir" && ac_dir=. 4187 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4188 lt_cv_path_LD="$ac_dir/$ac_prog" 4189 # Check to see if the program is GNU ld. I'd rather use --version, 4190 # but apparently some variants of GNU ld only accept -v. 4191 # Break only if it was the GNU/non-GNU ld that we prefer. 4192 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4193 *GNU* | *'with BFD'*) 4194 test "$with_gnu_ld" != no && break 4195 ;; 4196 *) 4197 test "$with_gnu_ld" != yes && break 4198 ;; 4199 esac 4200 fi 4201 done 4202 IFS="$lt_save_ifs" 4203else 4204 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4205fi 4206fi 4207 4208LD="$lt_cv_path_LD" 4209if test -n "$LD"; then 4210 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4211$as_echo "$LD" >&6; } 4212else 4213 { $as_echo "$as_me:$LINENO: result: no" >&5 4214$as_echo "no" >&6; } 4215fi 4216test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4217$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4218 { (exit 1); exit 1; }; } 4219{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4220$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4221if test "${lt_cv_prog_gnu_ld+set}" = set; then 4222 $as_echo_n "(cached) " >&6 4223else 4224 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4225case `$LD -v 2>&1 </dev/null` in 4226*GNU* | *'with BFD'*) 4227 lt_cv_prog_gnu_ld=yes 4228 ;; 4229*) 4230 lt_cv_prog_gnu_ld=no 4231 ;; 4232esac 4233fi 4234{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4235$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4236with_gnu_ld=$lt_cv_prog_gnu_ld 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4247$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4248if test "${lt_cv_path_NM+set}" = set; then 4249 $as_echo_n "(cached) " >&6 4250else 4251 if test -n "$NM"; then 4252 # Let the user override the test. 4253 lt_cv_path_NM="$NM" 4254else 4255 lt_nm_to_check="${ac_tool_prefix}nm" 4256 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4257 lt_nm_to_check="$lt_nm_to_check nm" 4258 fi 4259 for lt_tmp_nm in $lt_nm_to_check; do 4260 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4261 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4262 IFS="$lt_save_ifs" 4263 test -z "$ac_dir" && ac_dir=. 4264 tmp_nm="$ac_dir/$lt_tmp_nm" 4265 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4266 # Check to see if the nm accepts a BSD-compat flag. 4267 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4268 # nm: unknown option "B" ignored 4269 # Tru64's nm complains that /dev/null is an invalid object file 4270 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4271 */dev/null* | *'Invalid file or object type'*) 4272 lt_cv_path_NM="$tmp_nm -B" 4273 break 4274 ;; 4275 *) 4276 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4277 */dev/null*) 4278 lt_cv_path_NM="$tmp_nm -p" 4279 break 4280 ;; 4281 *) 4282 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4283 continue # so that we can try to find one that supports BSD flags 4284 ;; 4285 esac 4286 ;; 4287 esac 4288 fi 4289 done 4290 IFS="$lt_save_ifs" 4291 done 4292 : ${lt_cv_path_NM=no} 4293fi 4294fi 4295{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4296$as_echo "$lt_cv_path_NM" >&6; } 4297if test "$lt_cv_path_NM" != "no"; then 4298 NM="$lt_cv_path_NM" 4299else 4300 # Didn't find any BSD compatible name lister, look for dumpbin. 4301 if test -n "$ac_tool_prefix"; then 4302 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4303 do 4304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4305set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4306{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4307$as_echo_n "checking for $ac_word... " >&6; } 4308if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4309 $as_echo_n "(cached) " >&6 4310else 4311 if test -n "$DUMPBIN"; then 4312 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4313else 4314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4315for as_dir in $PATH 4316do 4317 IFS=$as_save_IFS 4318 test -z "$as_dir" && as_dir=. 4319 for ac_exec_ext in '' $ac_executable_extensions; do 4320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4321 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4323 break 2 4324 fi 4325done 4326done 4327IFS=$as_save_IFS 4328 4329fi 4330fi 4331DUMPBIN=$ac_cv_prog_DUMPBIN 4332if test -n "$DUMPBIN"; then 4333 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4334$as_echo "$DUMPBIN" >&6; } 4335else 4336 { $as_echo "$as_me:$LINENO: result: no" >&5 4337$as_echo "no" >&6; } 4338fi 4339 4340 4341 test -n "$DUMPBIN" && break 4342 done 4343fi 4344if test -z "$DUMPBIN"; then 4345 ac_ct_DUMPBIN=$DUMPBIN 4346 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4347do 4348 # Extract the first word of "$ac_prog", so it can be a program name with args. 4349set dummy $ac_prog; ac_word=$2 4350{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4351$as_echo_n "checking for $ac_word... " >&6; } 4352if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4353 $as_echo_n "(cached) " >&6 4354else 4355 if test -n "$ac_ct_DUMPBIN"; then 4356 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4357else 4358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4359for as_dir in $PATH 4360do 4361 IFS=$as_save_IFS 4362 test -z "$as_dir" && as_dir=. 4363 for ac_exec_ext in '' $ac_executable_extensions; do 4364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4365 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4367 break 2 4368 fi 4369done 4370done 4371IFS=$as_save_IFS 4372 4373fi 4374fi 4375ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4376if test -n "$ac_ct_DUMPBIN"; then 4377 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4378$as_echo "$ac_ct_DUMPBIN" >&6; } 4379else 4380 { $as_echo "$as_me:$LINENO: result: no" >&5 4381$as_echo "no" >&6; } 4382fi 4383 4384 4385 test -n "$ac_ct_DUMPBIN" && break 4386done 4387 4388 if test "x$ac_ct_DUMPBIN" = x; then 4389 DUMPBIN=":" 4390 else 4391 case $cross_compiling:$ac_tool_warned in 4392yes:) 4393{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4394$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4395ac_tool_warned=yes ;; 4396esac 4397 DUMPBIN=$ac_ct_DUMPBIN 4398 fi 4399fi 4400 4401 4402 if test "$DUMPBIN" != ":"; then 4403 NM="$DUMPBIN" 4404 fi 4405fi 4406test -z "$NM" && NM=nm 4407 4408 4409 4410 4411 4412 4413{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4414$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4415if test "${lt_cv_nm_interface+set}" = set; then 4416 $as_echo_n "(cached) " >&6 4417else 4418 lt_cv_nm_interface="BSD nm" 4419 echo "int some_variable = 0;" > conftest.$ac_ext 4420 (eval echo "\"\$as_me:4420: $ac_compile\"" >&5) 4421 (eval "$ac_compile" 2>conftest.err) 4422 cat conftest.err >&5 4423 (eval echo "\"\$as_me:4423: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4424 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4425 cat conftest.err >&5 4426 (eval echo "\"\$as_me:4426: output\"" >&5) 4427 cat conftest.out >&5 4428 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4429 lt_cv_nm_interface="MS dumpbin" 4430 fi 4431 rm -f conftest* 4432fi 4433{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4434$as_echo "$lt_cv_nm_interface" >&6; } 4435 4436{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4437$as_echo_n "checking whether ln -s works... " >&6; } 4438LN_S=$as_ln_s 4439if test "$LN_S" = "ln -s"; then 4440 { $as_echo "$as_me:$LINENO: result: yes" >&5 4441$as_echo "yes" >&6; } 4442else 4443 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4444$as_echo "no, using $LN_S" >&6; } 4445fi 4446 4447# find the maximum length of command line arguments 4448{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4449$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4450if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4451 $as_echo_n "(cached) " >&6 4452else 4453 i=0 4454 teststring="ABCD" 4455 4456 case $build_os in 4457 msdosdjgpp*) 4458 # On DJGPP, this test can blow up pretty badly due to problems in libc 4459 # (any single argument exceeding 2000 bytes causes a buffer overrun 4460 # during glob expansion). Even if it were fixed, the result of this 4461 # check would be larger than it should be. 4462 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4463 ;; 4464 4465 gnu*) 4466 # Under GNU Hurd, this test is not required because there is 4467 # no limit to the length of command line arguments. 4468 # Libtool will interpret -1 as no limit whatsoever 4469 lt_cv_sys_max_cmd_len=-1; 4470 ;; 4471 4472 cygwin* | mingw* | cegcc*) 4473 # On Win9x/ME, this test blows up -- it succeeds, but takes 4474 # about 5 minutes as the teststring grows exponentially. 4475 # Worse, since 9x/ME are not pre-emptively multitasking, 4476 # you end up with a "frozen" computer, even though with patience 4477 # the test eventually succeeds (with a max line length of 256k). 4478 # Instead, let's just punt: use the minimum linelength reported by 4479 # all of the supported platforms: 8192 (on NT/2K/XP). 4480 lt_cv_sys_max_cmd_len=8192; 4481 ;; 4482 4483 amigaos*) 4484 # On AmigaOS with pdksh, this test takes hours, literally. 4485 # So we just punt and use a minimum line length of 8192. 4486 lt_cv_sys_max_cmd_len=8192; 4487 ;; 4488 4489 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4490 # This has been around since 386BSD, at least. Likely further. 4491 if test -x /sbin/sysctl; then 4492 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4493 elif test -x /usr/sbin/sysctl; then 4494 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4495 else 4496 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4497 fi 4498 # And add a safety zone 4499 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4500 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4501 ;; 4502 4503 interix*) 4504 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4505 lt_cv_sys_max_cmd_len=196608 4506 ;; 4507 4508 osf*) 4509 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4510 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4511 # nice to cause kernel panics so lets avoid the loop below. 4512 # First set a reasonable default. 4513 lt_cv_sys_max_cmd_len=16384 4514 # 4515 if test -x /sbin/sysconfig; then 4516 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4517 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4518 esac 4519 fi 4520 ;; 4521 sco3.2v5*) 4522 lt_cv_sys_max_cmd_len=102400 4523 ;; 4524 sysv5* | sco5v6* | sysv4.2uw2*) 4525 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4526 if test -n "$kargmax"; then 4527 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4528 else 4529 lt_cv_sys_max_cmd_len=32768 4530 fi 4531 ;; 4532 *) 4533 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4534 if test -n "$lt_cv_sys_max_cmd_len"; then 4535 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4536 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4537 else 4538 # Make teststring a little bigger before we do anything with it. 4539 # a 1K string should be a reasonable start. 4540 for i in 1 2 3 4 5 6 7 8 ; do 4541 teststring=$teststring$teststring 4542 done 4543 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4544 # If test is not a shell built-in, we'll probably end up computing a 4545 # maximum length that is only half of the actual maximum length, but 4546 # we can't tell. 4547 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4548 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4549 test $i != 17 # 1/2 MB should be enough 4550 do 4551 i=`expr $i + 1` 4552 teststring=$teststring$teststring 4553 done 4554 # Only check the string length outside the loop. 4555 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4556 teststring= 4557 # Add a significant safety factor because C++ compilers can tack on 4558 # massive amounts of additional arguments before passing them to the 4559 # linker. It appears as though 1/2 is a usable value. 4560 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4561 fi 4562 ;; 4563 esac 4564 4565fi 4566 4567if test -n $lt_cv_sys_max_cmd_len ; then 4568 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 4569$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4570else 4571 { $as_echo "$as_me:$LINENO: result: none" >&5 4572$as_echo "none" >&6; } 4573fi 4574max_cmd_len=$lt_cv_sys_max_cmd_len 4575 4576 4577 4578 4579 4580 4581: ${CP="cp -f"} 4582: ${MV="mv -f"} 4583: ${RM="rm -f"} 4584 4585{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 4586$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4587# Try some XSI features 4588xsi_shell=no 4589( _lt_dummy="a/b/c" 4590 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4591 = c,a/b,, \ 4592 && eval 'test $(( 1 + 1 )) -eq 2 \ 4593 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4594 && xsi_shell=yes 4595{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 4596$as_echo "$xsi_shell" >&6; } 4597 4598 4599{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 4600$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4601lt_shell_append=no 4602( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4603 >/dev/null 2>&1 \ 4604 && lt_shell_append=yes 4605{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 4606$as_echo "$lt_shell_append" >&6; } 4607 4608 4609if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4610 lt_unset=unset 4611else 4612 lt_unset=false 4613fi 4614 4615 4616 4617 4618 4619# test EBCDIC or ASCII 4620case `echo X|tr X '\101'` in 4621 A) # ASCII based system 4622 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4623 lt_SP2NL='tr \040 \012' 4624 lt_NL2SP='tr \015\012 \040\040' 4625 ;; 4626 *) # EBCDIC based system 4627 lt_SP2NL='tr \100 \n' 4628 lt_NL2SP='tr \r\n \100\100' 4629 ;; 4630esac 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4641$as_echo_n "checking for $LD option to reload object files... " >&6; } 4642if test "${lt_cv_ld_reload_flag+set}" = set; then 4643 $as_echo_n "(cached) " >&6 4644else 4645 lt_cv_ld_reload_flag='-r' 4646fi 4647{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4648$as_echo "$lt_cv_ld_reload_flag" >&6; } 4649reload_flag=$lt_cv_ld_reload_flag 4650case $reload_flag in 4651"" | " "*) ;; 4652*) reload_flag=" $reload_flag" ;; 4653esac 4654reload_cmds='$LD$reload_flag -o $output$reload_objs' 4655case $host_os in 4656 darwin*) 4657 if test "$GCC" = yes; then 4658 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4659 else 4660 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4661 fi 4662 ;; 4663esac 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673if test -n "$ac_tool_prefix"; then 4674 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4675set dummy ${ac_tool_prefix}objdump; ac_word=$2 4676{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4677$as_echo_n "checking for $ac_word... " >&6; } 4678if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4679 $as_echo_n "(cached) " >&6 4680else 4681 if test -n "$OBJDUMP"; then 4682 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4683else 4684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4685for as_dir in $PATH 4686do 4687 IFS=$as_save_IFS 4688 test -z "$as_dir" && as_dir=. 4689 for ac_exec_ext in '' $ac_executable_extensions; do 4690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4691 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4693 break 2 4694 fi 4695done 4696done 4697IFS=$as_save_IFS 4698 4699fi 4700fi 4701OBJDUMP=$ac_cv_prog_OBJDUMP 4702if test -n "$OBJDUMP"; then 4703 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4704$as_echo "$OBJDUMP" >&6; } 4705else 4706 { $as_echo "$as_me:$LINENO: result: no" >&5 4707$as_echo "no" >&6; } 4708fi 4709 4710 4711fi 4712if test -z "$ac_cv_prog_OBJDUMP"; then 4713 ac_ct_OBJDUMP=$OBJDUMP 4714 # Extract the first word of "objdump", so it can be a program name with args. 4715set dummy objdump; ac_word=$2 4716{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4717$as_echo_n "checking for $ac_word... " >&6; } 4718if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4719 $as_echo_n "(cached) " >&6 4720else 4721 if test -n "$ac_ct_OBJDUMP"; then 4722 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4723else 4724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4725for as_dir in $PATH 4726do 4727 IFS=$as_save_IFS 4728 test -z "$as_dir" && as_dir=. 4729 for ac_exec_ext in '' $ac_executable_extensions; do 4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4731 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4733 break 2 4734 fi 4735done 4736done 4737IFS=$as_save_IFS 4738 4739fi 4740fi 4741ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4742if test -n "$ac_ct_OBJDUMP"; then 4743 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4744$as_echo "$ac_ct_OBJDUMP" >&6; } 4745else 4746 { $as_echo "$as_me:$LINENO: result: no" >&5 4747$as_echo "no" >&6; } 4748fi 4749 4750 if test "x$ac_ct_OBJDUMP" = x; then 4751 OBJDUMP="false" 4752 else 4753 case $cross_compiling:$ac_tool_warned in 4754yes:) 4755{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4756$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4757ac_tool_warned=yes ;; 4758esac 4759 OBJDUMP=$ac_ct_OBJDUMP 4760 fi 4761else 4762 OBJDUMP="$ac_cv_prog_OBJDUMP" 4763fi 4764 4765test -z "$OBJDUMP" && OBJDUMP=objdump 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 4776$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4777if test "${lt_cv_deplibs_check_method+set}" = set; then 4778 $as_echo_n "(cached) " >&6 4779else 4780 lt_cv_file_magic_cmd='$MAGIC_CMD' 4781lt_cv_file_magic_test_file= 4782lt_cv_deplibs_check_method='unknown' 4783# Need to set the preceding variable on all platforms that support 4784# interlibrary dependencies. 4785# 'none' -- dependencies not supported. 4786# `unknown' -- same as none, but documents that we really don't know. 4787# 'pass_all' -- all dependencies passed with no checks. 4788# 'test_compile' -- check by making test program. 4789# 'file_magic [[regex]]' -- check by looking for files in library path 4790# which responds to the $file_magic_cmd with a given extended regex. 4791# If you have `file' or equivalent on your system and you're not sure 4792# whether `pass_all' will *always* work, you probably want this one. 4793 4794case $host_os in 4795aix[4-9]*) 4796 lt_cv_deplibs_check_method=pass_all 4797 ;; 4798 4799beos*) 4800 lt_cv_deplibs_check_method=pass_all 4801 ;; 4802 4803bsdi[45]*) 4804 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4805 lt_cv_file_magic_cmd='/usr/bin/file -L' 4806 lt_cv_file_magic_test_file=/shlib/libc.so 4807 ;; 4808 4809cygwin*) 4810 # func_win32_libid is a shell function defined in ltmain.sh 4811 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4812 lt_cv_file_magic_cmd='func_win32_libid' 4813 ;; 4814 4815mingw* | pw32*) 4816 # Base MSYS/MinGW do not provide the 'file' command needed by 4817 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4818 # unless we find 'file', for example because we are cross-compiling. 4819 if ( file / ) >/dev/null 2>&1; then 4820 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4821 lt_cv_file_magic_cmd='func_win32_libid' 4822 else 4823 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4824 lt_cv_file_magic_cmd='$OBJDUMP -f' 4825 fi 4826 ;; 4827 4828cegcc) 4829 # use the weaker test based on 'objdump'. See mingw*. 4830 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4831 lt_cv_file_magic_cmd='$OBJDUMP -f' 4832 ;; 4833 4834darwin* | rhapsody*) 4835 lt_cv_deplibs_check_method=pass_all 4836 ;; 4837 4838freebsd* | dragonfly*) 4839 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4840 case $host_cpu in 4841 i*86 ) 4842 # Not sure whether the presence of OpenBSD here was a mistake. 4843 # Let's accept both of them until this is cleared up. 4844 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4845 lt_cv_file_magic_cmd=/usr/bin/file 4846 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4847 ;; 4848 esac 4849 else 4850 lt_cv_deplibs_check_method=pass_all 4851 fi 4852 ;; 4853 4854gnu*) 4855 lt_cv_deplibs_check_method=pass_all 4856 ;; 4857 4858hpux10.20* | hpux11*) 4859 lt_cv_file_magic_cmd=/usr/bin/file 4860 case $host_cpu in 4861 ia64*) 4862 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4863 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4864 ;; 4865 hppa*64*) 4866 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]' 4867 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4868 ;; 4869 *) 4870 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4871 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4872 ;; 4873 esac 4874 ;; 4875 4876interix[3-9]*) 4877 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4878 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4879 ;; 4880 4881irix5* | irix6* | nonstopux*) 4882 case $LD in 4883 *-32|*"-32 ") libmagic=32-bit;; 4884 *-n32|*"-n32 ") libmagic=N32;; 4885 *-64|*"-64 ") libmagic=64-bit;; 4886 *) libmagic=never-match;; 4887 esac 4888 lt_cv_deplibs_check_method=pass_all 4889 ;; 4890 4891# This must be Linux ELF. 4892linux* | k*bsd*-gnu) 4893 lt_cv_deplibs_check_method=pass_all 4894 ;; 4895 4896netbsd*) 4897 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4898 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4899 else 4900 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4901 fi 4902 ;; 4903 4904newos6*) 4905 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4906 lt_cv_file_magic_cmd=/usr/bin/file 4907 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4908 ;; 4909 4910*nto* | *qnx*) 4911 lt_cv_deplibs_check_method=pass_all 4912 ;; 4913 4914openbsd*) 4915 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4916 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4917 else 4918 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4919 fi 4920 ;; 4921 4922osf3* | osf4* | osf5*) 4923 lt_cv_deplibs_check_method=pass_all 4924 ;; 4925 4926rdos*) 4927 lt_cv_deplibs_check_method=pass_all 4928 ;; 4929 4930solaris*) 4931 lt_cv_deplibs_check_method=pass_all 4932 ;; 4933 4934sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4935 lt_cv_deplibs_check_method=pass_all 4936 ;; 4937 4938sysv4 | sysv4.3*) 4939 case $host_vendor in 4940 motorola) 4941 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]' 4942 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4943 ;; 4944 ncr) 4945 lt_cv_deplibs_check_method=pass_all 4946 ;; 4947 sequent) 4948 lt_cv_file_magic_cmd='/bin/file' 4949 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4950 ;; 4951 sni) 4952 lt_cv_file_magic_cmd='/bin/file' 4953 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4954 lt_cv_file_magic_test_file=/lib/libc.so 4955 ;; 4956 siemens) 4957 lt_cv_deplibs_check_method=pass_all 4958 ;; 4959 pc) 4960 lt_cv_deplibs_check_method=pass_all 4961 ;; 4962 esac 4963 ;; 4964 4965tpf*) 4966 lt_cv_deplibs_check_method=pass_all 4967 ;; 4968esac 4969 4970fi 4971{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 4972$as_echo "$lt_cv_deplibs_check_method" >&6; } 4973file_magic_cmd=$lt_cv_file_magic_cmd 4974deplibs_check_method=$lt_cv_deplibs_check_method 4975test -z "$deplibs_check_method" && deplibs_check_method=unknown 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988if test -n "$ac_tool_prefix"; then 4989 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 4990set dummy ${ac_tool_prefix}ar; ac_word=$2 4991{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4992$as_echo_n "checking for $ac_word... " >&6; } 4993if test "${ac_cv_prog_AR+set}" = set; then 4994 $as_echo_n "(cached) " >&6 4995else 4996 if test -n "$AR"; then 4997 ac_cv_prog_AR="$AR" # Let the user override the test. 4998else 4999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5000for as_dir in $PATH 5001do 5002 IFS=$as_save_IFS 5003 test -z "$as_dir" && as_dir=. 5004 for ac_exec_ext in '' $ac_executable_extensions; do 5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5006 ac_cv_prog_AR="${ac_tool_prefix}ar" 5007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5008 break 2 5009 fi 5010done 5011done 5012IFS=$as_save_IFS 5013 5014fi 5015fi 5016AR=$ac_cv_prog_AR 5017if test -n "$AR"; then 5018 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5019$as_echo "$AR" >&6; } 5020else 5021 { $as_echo "$as_me:$LINENO: result: no" >&5 5022$as_echo "no" >&6; } 5023fi 5024 5025 5026fi 5027if test -z "$ac_cv_prog_AR"; then 5028 ac_ct_AR=$AR 5029 # Extract the first word of "ar", so it can be a program name with args. 5030set dummy ar; ac_word=$2 5031{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5032$as_echo_n "checking for $ac_word... " >&6; } 5033if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5034 $as_echo_n "(cached) " >&6 5035else 5036 if test -n "$ac_ct_AR"; then 5037 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5038else 5039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5040for as_dir in $PATH 5041do 5042 IFS=$as_save_IFS 5043 test -z "$as_dir" && as_dir=. 5044 for ac_exec_ext in '' $ac_executable_extensions; do 5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5046 ac_cv_prog_ac_ct_AR="ar" 5047 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5048 break 2 5049 fi 5050done 5051done 5052IFS=$as_save_IFS 5053 5054fi 5055fi 5056ac_ct_AR=$ac_cv_prog_ac_ct_AR 5057if test -n "$ac_ct_AR"; then 5058 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5059$as_echo "$ac_ct_AR" >&6; } 5060else 5061 { $as_echo "$as_me:$LINENO: result: no" >&5 5062$as_echo "no" >&6; } 5063fi 5064 5065 if test "x$ac_ct_AR" = x; then 5066 AR="false" 5067 else 5068 case $cross_compiling:$ac_tool_warned in 5069yes:) 5070{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5071$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5072ac_tool_warned=yes ;; 5073esac 5074 AR=$ac_ct_AR 5075 fi 5076else 5077 AR="$ac_cv_prog_AR" 5078fi 5079 5080test -z "$AR" && AR=ar 5081test -z "$AR_FLAGS" && AR_FLAGS=cru 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093if test -n "$ac_tool_prefix"; then 5094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5095set dummy ${ac_tool_prefix}strip; ac_word=$2 5096{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5097$as_echo_n "checking for $ac_word... " >&6; } 5098if test "${ac_cv_prog_STRIP+set}" = set; then 5099 $as_echo_n "(cached) " >&6 5100else 5101 if test -n "$STRIP"; then 5102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5103else 5104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5105for as_dir in $PATH 5106do 5107 IFS=$as_save_IFS 5108 test -z "$as_dir" && as_dir=. 5109 for ac_exec_ext in '' $ac_executable_extensions; do 5110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5111 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5112 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5113 break 2 5114 fi 5115done 5116done 5117IFS=$as_save_IFS 5118 5119fi 5120fi 5121STRIP=$ac_cv_prog_STRIP 5122if test -n "$STRIP"; then 5123 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5124$as_echo "$STRIP" >&6; } 5125else 5126 { $as_echo "$as_me:$LINENO: result: no" >&5 5127$as_echo "no" >&6; } 5128fi 5129 5130 5131fi 5132if test -z "$ac_cv_prog_STRIP"; then 5133 ac_ct_STRIP=$STRIP 5134 # Extract the first word of "strip", so it can be a program name with args. 5135set dummy strip; ac_word=$2 5136{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5137$as_echo_n "checking for $ac_word... " >&6; } 5138if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5139 $as_echo_n "(cached) " >&6 5140else 5141 if test -n "$ac_ct_STRIP"; then 5142 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5143else 5144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5145for as_dir in $PATH 5146do 5147 IFS=$as_save_IFS 5148 test -z "$as_dir" && as_dir=. 5149 for ac_exec_ext in '' $ac_executable_extensions; do 5150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5151 ac_cv_prog_ac_ct_STRIP="strip" 5152 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5153 break 2 5154 fi 5155done 5156done 5157IFS=$as_save_IFS 5158 5159fi 5160fi 5161ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5162if test -n "$ac_ct_STRIP"; then 5163 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5164$as_echo "$ac_ct_STRIP" >&6; } 5165else 5166 { $as_echo "$as_me:$LINENO: result: no" >&5 5167$as_echo "no" >&6; } 5168fi 5169 5170 if test "x$ac_ct_STRIP" = x; then 5171 STRIP=":" 5172 else 5173 case $cross_compiling:$ac_tool_warned in 5174yes:) 5175{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5177ac_tool_warned=yes ;; 5178esac 5179 STRIP=$ac_ct_STRIP 5180 fi 5181else 5182 STRIP="$ac_cv_prog_STRIP" 5183fi 5184 5185test -z "$STRIP" && STRIP=: 5186 5187 5188 5189 5190 5191 5192if test -n "$ac_tool_prefix"; then 5193 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5194set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5195{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5196$as_echo_n "checking for $ac_word... " >&6; } 5197if test "${ac_cv_prog_RANLIB+set}" = set; then 5198 $as_echo_n "(cached) " >&6 5199else 5200 if test -n "$RANLIB"; then 5201 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5202else 5203as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5204for as_dir in $PATH 5205do 5206 IFS=$as_save_IFS 5207 test -z "$as_dir" && as_dir=. 5208 for ac_exec_ext in '' $ac_executable_extensions; do 5209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5210 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5212 break 2 5213 fi 5214done 5215done 5216IFS=$as_save_IFS 5217 5218fi 5219fi 5220RANLIB=$ac_cv_prog_RANLIB 5221if test -n "$RANLIB"; then 5222 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5223$as_echo "$RANLIB" >&6; } 5224else 5225 { $as_echo "$as_me:$LINENO: result: no" >&5 5226$as_echo "no" >&6; } 5227fi 5228 5229 5230fi 5231if test -z "$ac_cv_prog_RANLIB"; then 5232 ac_ct_RANLIB=$RANLIB 5233 # Extract the first word of "ranlib", so it can be a program name with args. 5234set dummy ranlib; ac_word=$2 5235{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5236$as_echo_n "checking for $ac_word... " >&6; } 5237if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5238 $as_echo_n "(cached) " >&6 5239else 5240 if test -n "$ac_ct_RANLIB"; then 5241 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5242else 5243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5244for as_dir in $PATH 5245do 5246 IFS=$as_save_IFS 5247 test -z "$as_dir" && as_dir=. 5248 for ac_exec_ext in '' $ac_executable_extensions; do 5249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5250 ac_cv_prog_ac_ct_RANLIB="ranlib" 5251 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5252 break 2 5253 fi 5254done 5255done 5256IFS=$as_save_IFS 5257 5258fi 5259fi 5260ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5261if test -n "$ac_ct_RANLIB"; then 5262 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5263$as_echo "$ac_ct_RANLIB" >&6; } 5264else 5265 { $as_echo "$as_me:$LINENO: result: no" >&5 5266$as_echo "no" >&6; } 5267fi 5268 5269 if test "x$ac_ct_RANLIB" = x; then 5270 RANLIB=":" 5271 else 5272 case $cross_compiling:$ac_tool_warned in 5273yes:) 5274{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5275$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5276ac_tool_warned=yes ;; 5277esac 5278 RANLIB=$ac_ct_RANLIB 5279 fi 5280else 5281 RANLIB="$ac_cv_prog_RANLIB" 5282fi 5283 5284test -z "$RANLIB" && RANLIB=: 5285 5286 5287 5288 5289 5290 5291# Determine commands to create old-style static archives. 5292old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5293old_postinstall_cmds='chmod 644 $oldlib' 5294old_postuninstall_cmds= 5295 5296if test -n "$RANLIB"; then 5297 case $host_os in 5298 openbsd*) 5299 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5300 ;; 5301 *) 5302 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5303 ;; 5304 esac 5305 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5306fi 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341# If no C compiler was specified, use CC. 5342LTCC=${LTCC-"$CC"} 5343 5344# If no C compiler flags were specified, use CFLAGS. 5345LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5346 5347# Allow CC to be a program name with arguments. 5348compiler=$CC 5349 5350 5351# Check for command to grab the raw symbol name followed by C symbol from nm. 5352{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5353$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5354if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5355 $as_echo_n "(cached) " >&6 5356else 5357 5358# These are sane defaults that work on at least a few old systems. 5359# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5360 5361# Character class describing NM global symbol codes. 5362symcode='[BCDEGRST]' 5363 5364# Regexp to match symbols that can be accessed directly from C. 5365sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5366 5367# Define system-specific variables. 5368case $host_os in 5369aix*) 5370 symcode='[BCDT]' 5371 ;; 5372cygwin* | mingw* | pw32* | cegcc*) 5373 symcode='[ABCDGISTW]' 5374 ;; 5375hpux*) 5376 if test "$host_cpu" = ia64; then 5377 symcode='[ABCDEGRST]' 5378 fi 5379 ;; 5380irix* | nonstopux*) 5381 symcode='[BCDEGRST]' 5382 ;; 5383osf*) 5384 symcode='[BCDEGQRST]' 5385 ;; 5386solaris*) 5387 symcode='[BDRT]' 5388 ;; 5389sco3.2v5*) 5390 symcode='[DT]' 5391 ;; 5392sysv4.2uw2*) 5393 symcode='[DT]' 5394 ;; 5395sysv5* | sco5v6* | unixware* | OpenUNIX*) 5396 symcode='[ABDT]' 5397 ;; 5398sysv4) 5399 symcode='[DFNSTU]' 5400 ;; 5401esac 5402 5403# If we're using GNU nm, then use its standard symbol codes. 5404case `$NM -V 2>&1` in 5405*GNU* | *'with BFD'*) 5406 symcode='[ABCDGIRSTW]' ;; 5407esac 5408 5409# Transform an extracted symbol line into a proper C declaration. 5410# Some systems (esp. on ia64) link data and code symbols differently, 5411# so use this general approach. 5412lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5413 5414# Transform an extracted symbol line into symbol name and symbol address 5415lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5416lt_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'" 5417 5418# Handle CRLF in mingw tool chain 5419opt_cr= 5420case $build_os in 5421mingw*) 5422 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5423 ;; 5424esac 5425 5426# Try without a prefix underscore, then with it. 5427for ac_symprfx in "" "_"; do 5428 5429 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5430 symxfrm="\\1 $ac_symprfx\\2 \\2" 5431 5432 # Write the raw and C identifiers. 5433 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5434 # Fake it for dumpbin and say T for any non-static function 5435 # and D for any global variable. 5436 # Also find C++ and __fastcall symbols from MSVC++, 5437 # which start with @ or ?. 5438 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5439" {last_section=section; section=\$ 3};"\ 5440" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5441" \$ 0!~/External *\|/{next};"\ 5442" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5443" {if(hide[section]) next};"\ 5444" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5445" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5446" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5447" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5448" ' prfx=^$ac_symprfx" 5449 else 5450 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5451 fi 5452 5453 # Check to see that the pipe works correctly. 5454 pipe_works=no 5455 5456 rm -f conftest* 5457 cat > conftest.$ac_ext <<_LT_EOF 5458#ifdef __cplusplus 5459extern "C" { 5460#endif 5461char nm_test_var; 5462void nm_test_func(void); 5463void nm_test_func(void){} 5464#ifdef __cplusplus 5465} 5466#endif 5467int main(){nm_test_var='a';nm_test_func();return(0);} 5468_LT_EOF 5469 5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5471 (eval $ac_compile) 2>&5 5472 ac_status=$? 5473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5474 (exit $ac_status); }; then 5475 # Now try to grab the symbols. 5476 nlist=conftest.nm 5477 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5478 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5479 ac_status=$? 5480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5481 (exit $ac_status); } && test -s "$nlist"; then 5482 # Try sorting and uniquifying the output. 5483 if sort "$nlist" | uniq > "$nlist"T; then 5484 mv -f "$nlist"T "$nlist" 5485 else 5486 rm -f "$nlist"T 5487 fi 5488 5489 # Make sure that we snagged all the symbols we need. 5490 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5491 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5492 cat <<_LT_EOF > conftest.$ac_ext 5493#ifdef __cplusplus 5494extern "C" { 5495#endif 5496 5497_LT_EOF 5498 # Now generate the symbol file. 5499 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5500 5501 cat <<_LT_EOF >> conftest.$ac_ext 5502 5503/* The mapping between symbol names and symbols. */ 5504const struct { 5505 const char *name; 5506 void *address; 5507} 5508lt__PROGRAM__LTX_preloaded_symbols[] = 5509{ 5510 { "@PROGRAM@", (void *) 0 }, 5511_LT_EOF 5512 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5513 cat <<\_LT_EOF >> conftest.$ac_ext 5514 {0, (void *) 0} 5515}; 5516 5517/* This works around a problem in FreeBSD linker */ 5518#ifdef FREEBSD_WORKAROUND 5519static const void *lt_preloaded_setup() { 5520 return lt__PROGRAM__LTX_preloaded_symbols; 5521} 5522#endif 5523 5524#ifdef __cplusplus 5525} 5526#endif 5527_LT_EOF 5528 # Now try linking the two files. 5529 mv conftest.$ac_objext conftstm.$ac_objext 5530 lt_save_LIBS="$LIBS" 5531 lt_save_CFLAGS="$CFLAGS" 5532 LIBS="conftstm.$ac_objext" 5533 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5535 (eval $ac_link) 2>&5 5536 ac_status=$? 5537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5538 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5539 pipe_works=yes 5540 fi 5541 LIBS="$lt_save_LIBS" 5542 CFLAGS="$lt_save_CFLAGS" 5543 else 5544 echo "cannot find nm_test_func in $nlist" >&5 5545 fi 5546 else 5547 echo "cannot find nm_test_var in $nlist" >&5 5548 fi 5549 else 5550 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5551 fi 5552 else 5553 echo "$progname: failed program was:" >&5 5554 cat conftest.$ac_ext >&5 5555 fi 5556 rm -rf conftest* conftst* 5557 5558 # Do not use the global_symbol_pipe unless it works. 5559 if test "$pipe_works" = yes; then 5560 break 5561 else 5562 lt_cv_sys_global_symbol_pipe= 5563 fi 5564done 5565 5566fi 5567 5568if test -z "$lt_cv_sys_global_symbol_pipe"; then 5569 lt_cv_sys_global_symbol_to_cdecl= 5570fi 5571if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5572 { $as_echo "$as_me:$LINENO: result: failed" >&5 5573$as_echo "failed" >&6; } 5574else 5575 { $as_echo "$as_me:$LINENO: result: ok" >&5 5576$as_echo "ok" >&6; } 5577fi 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601# Check whether --enable-libtool-lock was given. 5602if test "${enable_libtool_lock+set}" = set; then 5603 enableval=$enable_libtool_lock; 5604fi 5605 5606test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5607 5608# Some flags need to be propagated to the compiler or linker for good 5609# libtool support. 5610case $host in 5611ia64-*-hpux*) 5612 # Find out which ABI we are using. 5613 echo 'int i;' > conftest.$ac_ext 5614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5615 (eval $ac_compile) 2>&5 5616 ac_status=$? 5617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5618 (exit $ac_status); }; then 5619 case `/usr/bin/file conftest.$ac_objext` in 5620 *ELF-32*) 5621 HPUX_IA64_MODE="32" 5622 ;; 5623 *ELF-64*) 5624 HPUX_IA64_MODE="64" 5625 ;; 5626 esac 5627 fi 5628 rm -rf conftest* 5629 ;; 5630*-*-irix6*) 5631 # Find out which ABI we are using. 5632 echo '#line 5632 "configure"' > conftest.$ac_ext 5633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5634 (eval $ac_compile) 2>&5 5635 ac_status=$? 5636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); }; then 5638 if test "$lt_cv_prog_gnu_ld" = yes; then 5639 case `/usr/bin/file conftest.$ac_objext` in 5640 *32-bit*) 5641 LD="${LD-ld} -melf32bsmip" 5642 ;; 5643 *N32*) 5644 LD="${LD-ld} -melf32bmipn32" 5645 ;; 5646 *64-bit*) 5647 LD="${LD-ld} -melf64bmip" 5648 ;; 5649 esac 5650 else 5651 case `/usr/bin/file conftest.$ac_objext` in 5652 *32-bit*) 5653 LD="${LD-ld} -32" 5654 ;; 5655 *N32*) 5656 LD="${LD-ld} -n32" 5657 ;; 5658 *64-bit*) 5659 LD="${LD-ld} -64" 5660 ;; 5661 esac 5662 fi 5663 fi 5664 rm -rf conftest* 5665 ;; 5666 5667x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5668s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5669 # Find out which ABI we are using. 5670 echo 'int i;' > conftest.$ac_ext 5671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5672 (eval $ac_compile) 2>&5 5673 ac_status=$? 5674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5675 (exit $ac_status); }; then 5676 case `/usr/bin/file conftest.o` in 5677 *32-bit*) 5678 case $host in 5679 x86_64-*kfreebsd*-gnu) 5680 LD="${LD-ld} -m elf_i386_fbsd" 5681 ;; 5682 x86_64-*linux*) 5683 LD="${LD-ld} -m elf_i386" 5684 ;; 5685 ppc64-*linux*|powerpc64-*linux*) 5686 LD="${LD-ld} -m elf32ppclinux" 5687 ;; 5688 s390x-*linux*) 5689 LD="${LD-ld} -m elf_s390" 5690 ;; 5691 sparc64-*linux*) 5692 LD="${LD-ld} -m elf32_sparc" 5693 ;; 5694 esac 5695 ;; 5696 *64-bit*) 5697 case $host in 5698 x86_64-*kfreebsd*-gnu) 5699 LD="${LD-ld} -m elf_x86_64_fbsd" 5700 ;; 5701 x86_64-*linux*) 5702 LD="${LD-ld} -m elf_x86_64" 5703 ;; 5704 ppc*-*linux*|powerpc*-*linux*) 5705 LD="${LD-ld} -m elf64ppc" 5706 ;; 5707 s390*-*linux*|s390*-*tpf*) 5708 LD="${LD-ld} -m elf64_s390" 5709 ;; 5710 sparc*-*linux*) 5711 LD="${LD-ld} -m elf64_sparc" 5712 ;; 5713 esac 5714 ;; 5715 esac 5716 fi 5717 rm -rf conftest* 5718 ;; 5719 5720*-*-sco3.2v5*) 5721 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5722 SAVE_CFLAGS="$CFLAGS" 5723 CFLAGS="$CFLAGS -belf" 5724 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5725$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5726if test "${lt_cv_cc_needs_belf+set}" = set; then 5727 $as_echo_n "(cached) " >&6 5728else 5729 ac_ext=c 5730ac_cpp='$CPP $CPPFLAGS' 5731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5733ac_compiler_gnu=$ac_cv_c_compiler_gnu 5734 5735 cat >conftest.$ac_ext <<_ACEOF 5736/* confdefs.h. */ 5737_ACEOF 5738cat confdefs.h >>conftest.$ac_ext 5739cat >>conftest.$ac_ext <<_ACEOF 5740/* end confdefs.h. */ 5741 5742int 5743main () 5744{ 5745 5746 ; 5747 return 0; 5748} 5749_ACEOF 5750rm -f conftest.$ac_objext conftest$ac_exeext 5751if { (ac_try="$ac_link" 5752case "(($ac_try" in 5753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5754 *) ac_try_echo=$ac_try;; 5755esac 5756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5757$as_echo "$ac_try_echo") >&5 5758 (eval "$ac_link") 2>conftest.er1 5759 ac_status=$? 5760 grep -v '^ *+' conftest.er1 >conftest.err 5761 rm -f conftest.er1 5762 cat conftest.err >&5 5763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5764 (exit $ac_status); } && { 5765 test -z "$ac_c_werror_flag" || 5766 test ! -s conftest.err 5767 } && test -s conftest$ac_exeext && { 5768 test "$cross_compiling" = yes || 5769 $as_test_x conftest$ac_exeext 5770 }; then 5771 lt_cv_cc_needs_belf=yes 5772else 5773 $as_echo "$as_me: failed program was:" >&5 5774sed 's/^/| /' conftest.$ac_ext >&5 5775 5776 lt_cv_cc_needs_belf=no 5777fi 5778 5779rm -rf conftest.dSYM 5780rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5781 conftest$ac_exeext conftest.$ac_ext 5782 ac_ext=c 5783ac_cpp='$CPP $CPPFLAGS' 5784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5786ac_compiler_gnu=$ac_cv_c_compiler_gnu 5787 5788fi 5789{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5790$as_echo "$lt_cv_cc_needs_belf" >&6; } 5791 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5792 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5793 CFLAGS="$SAVE_CFLAGS" 5794 fi 5795 ;; 5796sparc*-*solaris*) 5797 # Find out which ABI we are using. 5798 echo 'int i;' > conftest.$ac_ext 5799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5800 (eval $ac_compile) 2>&5 5801 ac_status=$? 5802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5803 (exit $ac_status); }; then 5804 case `/usr/bin/file conftest.o` in 5805 *64-bit*) 5806 case $lt_cv_prog_gnu_ld in 5807 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5808 *) 5809 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5810 LD="${LD-ld} -64" 5811 fi 5812 ;; 5813 esac 5814 ;; 5815 esac 5816 fi 5817 rm -rf conftest* 5818 ;; 5819esac 5820 5821need_locks="$enable_libtool_lock" 5822 5823 5824 case $host_os in 5825 rhapsody* | darwin*) 5826 if test -n "$ac_tool_prefix"; then 5827 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5828set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5829{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5830$as_echo_n "checking for $ac_word... " >&6; } 5831if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 5832 $as_echo_n "(cached) " >&6 5833else 5834 if test -n "$DSYMUTIL"; then 5835 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5836else 5837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5838for as_dir in $PATH 5839do 5840 IFS=$as_save_IFS 5841 test -z "$as_dir" && as_dir=. 5842 for ac_exec_ext in '' $ac_executable_extensions; do 5843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5844 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5845 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5846 break 2 5847 fi 5848done 5849done 5850IFS=$as_save_IFS 5851 5852fi 5853fi 5854DSYMUTIL=$ac_cv_prog_DSYMUTIL 5855if test -n "$DSYMUTIL"; then 5856 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 5857$as_echo "$DSYMUTIL" >&6; } 5858else 5859 { $as_echo "$as_me:$LINENO: result: no" >&5 5860$as_echo "no" >&6; } 5861fi 5862 5863 5864fi 5865if test -z "$ac_cv_prog_DSYMUTIL"; then 5866 ac_ct_DSYMUTIL=$DSYMUTIL 5867 # Extract the first word of "dsymutil", so it can be a program name with args. 5868set dummy dsymutil; ac_word=$2 5869{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5870$as_echo_n "checking for $ac_word... " >&6; } 5871if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 5872 $as_echo_n "(cached) " >&6 5873else 5874 if test -n "$ac_ct_DSYMUTIL"; then 5875 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 5876else 5877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5878for as_dir in $PATH 5879do 5880 IFS=$as_save_IFS 5881 test -z "$as_dir" && as_dir=. 5882 for ac_exec_ext in '' $ac_executable_extensions; do 5883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5884 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 5885 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5886 break 2 5887 fi 5888done 5889done 5890IFS=$as_save_IFS 5891 5892fi 5893fi 5894ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 5895if test -n "$ac_ct_DSYMUTIL"; then 5896 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 5897$as_echo "$ac_ct_DSYMUTIL" >&6; } 5898else 5899 { $as_echo "$as_me:$LINENO: result: no" >&5 5900$as_echo "no" >&6; } 5901fi 5902 5903 if test "x$ac_ct_DSYMUTIL" = x; then 5904 DSYMUTIL=":" 5905 else 5906 case $cross_compiling:$ac_tool_warned in 5907yes:) 5908{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5909$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5910ac_tool_warned=yes ;; 5911esac 5912 DSYMUTIL=$ac_ct_DSYMUTIL 5913 fi 5914else 5915 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 5916fi 5917 5918 if test -n "$ac_tool_prefix"; then 5919 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 5920set dummy ${ac_tool_prefix}nmedit; ac_word=$2 5921{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5922$as_echo_n "checking for $ac_word... " >&6; } 5923if test "${ac_cv_prog_NMEDIT+set}" = set; then 5924 $as_echo_n "(cached) " >&6 5925else 5926 if test -n "$NMEDIT"; then 5927 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 5928else 5929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5930for as_dir in $PATH 5931do 5932 IFS=$as_save_IFS 5933 test -z "$as_dir" && as_dir=. 5934 for ac_exec_ext in '' $ac_executable_extensions; do 5935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5936 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 5937 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5938 break 2 5939 fi 5940done 5941done 5942IFS=$as_save_IFS 5943 5944fi 5945fi 5946NMEDIT=$ac_cv_prog_NMEDIT 5947if test -n "$NMEDIT"; then 5948 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 5949$as_echo "$NMEDIT" >&6; } 5950else 5951 { $as_echo "$as_me:$LINENO: result: no" >&5 5952$as_echo "no" >&6; } 5953fi 5954 5955 5956fi 5957if test -z "$ac_cv_prog_NMEDIT"; then 5958 ac_ct_NMEDIT=$NMEDIT 5959 # Extract the first word of "nmedit", so it can be a program name with args. 5960set dummy nmedit; ac_word=$2 5961{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5962$as_echo_n "checking for $ac_word... " >&6; } 5963if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 5964 $as_echo_n "(cached) " >&6 5965else 5966 if test -n "$ac_ct_NMEDIT"; then 5967 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 5968else 5969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5970for as_dir in $PATH 5971do 5972 IFS=$as_save_IFS 5973 test -z "$as_dir" && as_dir=. 5974 for ac_exec_ext in '' $ac_executable_extensions; do 5975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5976 ac_cv_prog_ac_ct_NMEDIT="nmedit" 5977 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5978 break 2 5979 fi 5980done 5981done 5982IFS=$as_save_IFS 5983 5984fi 5985fi 5986ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 5987if test -n "$ac_ct_NMEDIT"; then 5988 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 5989$as_echo "$ac_ct_NMEDIT" >&6; } 5990else 5991 { $as_echo "$as_me:$LINENO: result: no" >&5 5992$as_echo "no" >&6; } 5993fi 5994 5995 if test "x$ac_ct_NMEDIT" = x; then 5996 NMEDIT=":" 5997 else 5998 case $cross_compiling:$ac_tool_warned in 5999yes:) 6000{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6001$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6002ac_tool_warned=yes ;; 6003esac 6004 NMEDIT=$ac_ct_NMEDIT 6005 fi 6006else 6007 NMEDIT="$ac_cv_prog_NMEDIT" 6008fi 6009 6010 if test -n "$ac_tool_prefix"; then 6011 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6012set dummy ${ac_tool_prefix}lipo; ac_word=$2 6013{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6014$as_echo_n "checking for $ac_word... " >&6; } 6015if test "${ac_cv_prog_LIPO+set}" = set; then 6016 $as_echo_n "(cached) " >&6 6017else 6018 if test -n "$LIPO"; then 6019 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6020else 6021as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6022for as_dir in $PATH 6023do 6024 IFS=$as_save_IFS 6025 test -z "$as_dir" && as_dir=. 6026 for ac_exec_ext in '' $ac_executable_extensions; do 6027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6028 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6029 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6030 break 2 6031 fi 6032done 6033done 6034IFS=$as_save_IFS 6035 6036fi 6037fi 6038LIPO=$ac_cv_prog_LIPO 6039if test -n "$LIPO"; then 6040 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 6041$as_echo "$LIPO" >&6; } 6042else 6043 { $as_echo "$as_me:$LINENO: result: no" >&5 6044$as_echo "no" >&6; } 6045fi 6046 6047 6048fi 6049if test -z "$ac_cv_prog_LIPO"; then 6050 ac_ct_LIPO=$LIPO 6051 # Extract the first word of "lipo", so it can be a program name with args. 6052set dummy lipo; ac_word=$2 6053{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6054$as_echo_n "checking for $ac_word... " >&6; } 6055if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6056 $as_echo_n "(cached) " >&6 6057else 6058 if test -n "$ac_ct_LIPO"; then 6059 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6060else 6061as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6062for as_dir in $PATH 6063do 6064 IFS=$as_save_IFS 6065 test -z "$as_dir" && as_dir=. 6066 for ac_exec_ext in '' $ac_executable_extensions; do 6067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6068 ac_cv_prog_ac_ct_LIPO="lipo" 6069 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6070 break 2 6071 fi 6072done 6073done 6074IFS=$as_save_IFS 6075 6076fi 6077fi 6078ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6079if test -n "$ac_ct_LIPO"; then 6080 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6081$as_echo "$ac_ct_LIPO" >&6; } 6082else 6083 { $as_echo "$as_me:$LINENO: result: no" >&5 6084$as_echo "no" >&6; } 6085fi 6086 6087 if test "x$ac_ct_LIPO" = x; then 6088 LIPO=":" 6089 else 6090 case $cross_compiling:$ac_tool_warned in 6091yes:) 6092{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6093$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6094ac_tool_warned=yes ;; 6095esac 6096 LIPO=$ac_ct_LIPO 6097 fi 6098else 6099 LIPO="$ac_cv_prog_LIPO" 6100fi 6101 6102 if test -n "$ac_tool_prefix"; then 6103 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6104set dummy ${ac_tool_prefix}otool; ac_word=$2 6105{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6106$as_echo_n "checking for $ac_word... " >&6; } 6107if test "${ac_cv_prog_OTOOL+set}" = set; then 6108 $as_echo_n "(cached) " >&6 6109else 6110 if test -n "$OTOOL"; then 6111 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6112else 6113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6114for as_dir in $PATH 6115do 6116 IFS=$as_save_IFS 6117 test -z "$as_dir" && as_dir=. 6118 for ac_exec_ext in '' $ac_executable_extensions; do 6119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6120 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6122 break 2 6123 fi 6124done 6125done 6126IFS=$as_save_IFS 6127 6128fi 6129fi 6130OTOOL=$ac_cv_prog_OTOOL 6131if test -n "$OTOOL"; then 6132 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 6133$as_echo "$OTOOL" >&6; } 6134else 6135 { $as_echo "$as_me:$LINENO: result: no" >&5 6136$as_echo "no" >&6; } 6137fi 6138 6139 6140fi 6141if test -z "$ac_cv_prog_OTOOL"; then 6142 ac_ct_OTOOL=$OTOOL 6143 # Extract the first word of "otool", so it can be a program name with args. 6144set dummy otool; ac_word=$2 6145{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6146$as_echo_n "checking for $ac_word... " >&6; } 6147if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6148 $as_echo_n "(cached) " >&6 6149else 6150 if test -n "$ac_ct_OTOOL"; then 6151 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6152else 6153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6154for as_dir in $PATH 6155do 6156 IFS=$as_save_IFS 6157 test -z "$as_dir" && as_dir=. 6158 for ac_exec_ext in '' $ac_executable_extensions; do 6159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6160 ac_cv_prog_ac_ct_OTOOL="otool" 6161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6162 break 2 6163 fi 6164done 6165done 6166IFS=$as_save_IFS 6167 6168fi 6169fi 6170ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6171if test -n "$ac_ct_OTOOL"; then 6172 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6173$as_echo "$ac_ct_OTOOL" >&6; } 6174else 6175 { $as_echo "$as_me:$LINENO: result: no" >&5 6176$as_echo "no" >&6; } 6177fi 6178 6179 if test "x$ac_ct_OTOOL" = x; then 6180 OTOOL=":" 6181 else 6182 case $cross_compiling:$ac_tool_warned in 6183yes:) 6184{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6186ac_tool_warned=yes ;; 6187esac 6188 OTOOL=$ac_ct_OTOOL 6189 fi 6190else 6191 OTOOL="$ac_cv_prog_OTOOL" 6192fi 6193 6194 if test -n "$ac_tool_prefix"; then 6195 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6196set dummy ${ac_tool_prefix}otool64; ac_word=$2 6197{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6198$as_echo_n "checking for $ac_word... " >&6; } 6199if test "${ac_cv_prog_OTOOL64+set}" = set; then 6200 $as_echo_n "(cached) " >&6 6201else 6202 if test -n "$OTOOL64"; then 6203 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6204else 6205as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6206for as_dir in $PATH 6207do 6208 IFS=$as_save_IFS 6209 test -z "$as_dir" && as_dir=. 6210 for ac_exec_ext in '' $ac_executable_extensions; do 6211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6212 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6214 break 2 6215 fi 6216done 6217done 6218IFS=$as_save_IFS 6219 6220fi 6221fi 6222OTOOL64=$ac_cv_prog_OTOOL64 6223if test -n "$OTOOL64"; then 6224 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 6225$as_echo "$OTOOL64" >&6; } 6226else 6227 { $as_echo "$as_me:$LINENO: result: no" >&5 6228$as_echo "no" >&6; } 6229fi 6230 6231 6232fi 6233if test -z "$ac_cv_prog_OTOOL64"; then 6234 ac_ct_OTOOL64=$OTOOL64 6235 # Extract the first word of "otool64", so it can be a program name with args. 6236set dummy otool64; ac_word=$2 6237{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6238$as_echo_n "checking for $ac_word... " >&6; } 6239if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6240 $as_echo_n "(cached) " >&6 6241else 6242 if test -n "$ac_ct_OTOOL64"; then 6243 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6244else 6245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6246for as_dir in $PATH 6247do 6248 IFS=$as_save_IFS 6249 test -z "$as_dir" && as_dir=. 6250 for ac_exec_ext in '' $ac_executable_extensions; do 6251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6252 ac_cv_prog_ac_ct_OTOOL64="otool64" 6253 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6254 break 2 6255 fi 6256done 6257done 6258IFS=$as_save_IFS 6259 6260fi 6261fi 6262ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6263if test -n "$ac_ct_OTOOL64"; then 6264 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6265$as_echo "$ac_ct_OTOOL64" >&6; } 6266else 6267 { $as_echo "$as_me:$LINENO: result: no" >&5 6268$as_echo "no" >&6; } 6269fi 6270 6271 if test "x$ac_ct_OTOOL64" = x; then 6272 OTOOL64=":" 6273 else 6274 case $cross_compiling:$ac_tool_warned in 6275yes:) 6276{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6277$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6278ac_tool_warned=yes ;; 6279esac 6280 OTOOL64=$ac_ct_OTOOL64 6281 fi 6282else 6283 OTOOL64="$ac_cv_prog_OTOOL64" 6284fi 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6313$as_echo_n "checking for -single_module linker flag... " >&6; } 6314if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6315 $as_echo_n "(cached) " >&6 6316else 6317 lt_cv_apple_cc_single_mod=no 6318 if test -z "${LT_MULTI_MODULE}"; then 6319 # By default we will add the -single_module flag. You can override 6320 # by either setting the environment variable LT_MULTI_MODULE 6321 # non-empty at configure time, or by adding -multi_module to the 6322 # link flags. 6323 rm -rf libconftest.dylib* 6324 echo "int foo(void){return 1;}" > conftest.c 6325 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6326-dynamiclib -Wl,-single_module conftest.c" >&5 6327 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6328 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6329 _lt_result=$? 6330 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6331 lt_cv_apple_cc_single_mod=yes 6332 else 6333 cat conftest.err >&5 6334 fi 6335 rm -rf libconftest.dylib* 6336 rm -f conftest.* 6337 fi 6338fi 6339{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6340$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6341 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6342$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6343if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6344 $as_echo_n "(cached) " >&6 6345else 6346 lt_cv_ld_exported_symbols_list=no 6347 save_LDFLAGS=$LDFLAGS 6348 echo "_main" > conftest.sym 6349 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6350 cat >conftest.$ac_ext <<_ACEOF 6351/* confdefs.h. */ 6352_ACEOF 6353cat confdefs.h >>conftest.$ac_ext 6354cat >>conftest.$ac_ext <<_ACEOF 6355/* end confdefs.h. */ 6356 6357int 6358main () 6359{ 6360 6361 ; 6362 return 0; 6363} 6364_ACEOF 6365rm -f conftest.$ac_objext conftest$ac_exeext 6366if { (ac_try="$ac_link" 6367case "(($ac_try" in 6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6369 *) ac_try_echo=$ac_try;; 6370esac 6371eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6372$as_echo "$ac_try_echo") >&5 6373 (eval "$ac_link") 2>conftest.er1 6374 ac_status=$? 6375 grep -v '^ *+' conftest.er1 >conftest.err 6376 rm -f conftest.er1 6377 cat conftest.err >&5 6378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6379 (exit $ac_status); } && { 6380 test -z "$ac_c_werror_flag" || 6381 test ! -s conftest.err 6382 } && test -s conftest$ac_exeext && { 6383 test "$cross_compiling" = yes || 6384 $as_test_x conftest$ac_exeext 6385 }; then 6386 lt_cv_ld_exported_symbols_list=yes 6387else 6388 $as_echo "$as_me: failed program was:" >&5 6389sed 's/^/| /' conftest.$ac_ext >&5 6390 6391 lt_cv_ld_exported_symbols_list=no 6392fi 6393 6394rm -rf conftest.dSYM 6395rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6396 conftest$ac_exeext conftest.$ac_ext 6397 LDFLAGS="$save_LDFLAGS" 6398 6399fi 6400{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6401$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6402 case $host_os in 6403 rhapsody* | darwin1.[012]) 6404 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6405 darwin1.*) 6406 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6407 darwin*) # darwin 5.x on 6408 # if running on 10.5 or later, the deployment target defaults 6409 # to the OS version, if on x86, and 10.4, the deployment 6410 # target defaults to 10.4. Don't you love it? 6411 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6412 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6413 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6414 10.[012]*) 6415 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6416 10.*) 6417 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6418 esac 6419 ;; 6420 esac 6421 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6422 _lt_dar_single_mod='$single_module' 6423 fi 6424 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6425 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6426 else 6427 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6428 fi 6429 if test "$DSYMUTIL" != ":"; then 6430 _lt_dsymutil='~$DSYMUTIL $lib || :' 6431 else 6432 _lt_dsymutil= 6433 fi 6434 ;; 6435 esac 6436 6437ac_ext=c 6438ac_cpp='$CPP $CPPFLAGS' 6439ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6440ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6441ac_compiler_gnu=$ac_cv_c_compiler_gnu 6442{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6443$as_echo_n "checking how to run the C preprocessor... " >&6; } 6444# On Suns, sometimes $CPP names a directory. 6445if test -n "$CPP" && test -d "$CPP"; then 6446 CPP= 6447fi 6448if test -z "$CPP"; then 6449 if test "${ac_cv_prog_CPP+set}" = set; then 6450 $as_echo_n "(cached) " >&6 6451else 6452 # Double quotes because CPP needs to be expanded 6453 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6454 do 6455 ac_preproc_ok=false 6456for ac_c_preproc_warn_flag in '' yes 6457do 6458 # Use a header file that comes with gcc, so configuring glibc 6459 # with a fresh cross-compiler works. 6460 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6461 # <limits.h> exists even on freestanding compilers. 6462 # On the NeXT, cc -E runs the code through the compiler's parser, 6463 # not just through cpp. "Syntax error" is here to catch this case. 6464 cat >conftest.$ac_ext <<_ACEOF 6465/* confdefs.h. */ 6466_ACEOF 6467cat confdefs.h >>conftest.$ac_ext 6468cat >>conftest.$ac_ext <<_ACEOF 6469/* end confdefs.h. */ 6470#ifdef __STDC__ 6471# include <limits.h> 6472#else 6473# include <assert.h> 6474#endif 6475 Syntax error 6476_ACEOF 6477if { (ac_try="$ac_cpp conftest.$ac_ext" 6478case "(($ac_try" in 6479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6480 *) ac_try_echo=$ac_try;; 6481esac 6482eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6483$as_echo "$ac_try_echo") >&5 6484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6485 ac_status=$? 6486 grep -v '^ *+' conftest.er1 >conftest.err 6487 rm -f conftest.er1 6488 cat conftest.err >&5 6489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6490 (exit $ac_status); } >/dev/null && { 6491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6492 test ! -s conftest.err 6493 }; then 6494 : 6495else 6496 $as_echo "$as_me: failed program was:" >&5 6497sed 's/^/| /' conftest.$ac_ext >&5 6498 6499 # Broken: fails on valid input. 6500continue 6501fi 6502 6503rm -f conftest.err conftest.$ac_ext 6504 6505 # OK, works on sane cases. Now check whether nonexistent headers 6506 # can be detected and how. 6507 cat >conftest.$ac_ext <<_ACEOF 6508/* confdefs.h. */ 6509_ACEOF 6510cat confdefs.h >>conftest.$ac_ext 6511cat >>conftest.$ac_ext <<_ACEOF 6512/* end confdefs.h. */ 6513#include <ac_nonexistent.h> 6514_ACEOF 6515if { (ac_try="$ac_cpp conftest.$ac_ext" 6516case "(($ac_try" in 6517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6518 *) ac_try_echo=$ac_try;; 6519esac 6520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6521$as_echo "$ac_try_echo") >&5 6522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6523 ac_status=$? 6524 grep -v '^ *+' conftest.er1 >conftest.err 6525 rm -f conftest.er1 6526 cat conftest.err >&5 6527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6528 (exit $ac_status); } >/dev/null && { 6529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6530 test ! -s conftest.err 6531 }; then 6532 # Broken: success on invalid input. 6533continue 6534else 6535 $as_echo "$as_me: failed program was:" >&5 6536sed 's/^/| /' conftest.$ac_ext >&5 6537 6538 # Passes both tests. 6539ac_preproc_ok=: 6540break 6541fi 6542 6543rm -f conftest.err conftest.$ac_ext 6544 6545done 6546# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6547rm -f conftest.err conftest.$ac_ext 6548if $ac_preproc_ok; then 6549 break 6550fi 6551 6552 done 6553 ac_cv_prog_CPP=$CPP 6554 6555fi 6556 CPP=$ac_cv_prog_CPP 6557else 6558 ac_cv_prog_CPP=$CPP 6559fi 6560{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 6561$as_echo "$CPP" >&6; } 6562ac_preproc_ok=false 6563for ac_c_preproc_warn_flag in '' yes 6564do 6565 # Use a header file that comes with gcc, so configuring glibc 6566 # with a fresh cross-compiler works. 6567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6568 # <limits.h> exists even on freestanding compilers. 6569 # On the NeXT, cc -E runs the code through the compiler's parser, 6570 # not just through cpp. "Syntax error" is here to catch this case. 6571 cat >conftest.$ac_ext <<_ACEOF 6572/* confdefs.h. */ 6573_ACEOF 6574cat confdefs.h >>conftest.$ac_ext 6575cat >>conftest.$ac_ext <<_ACEOF 6576/* end confdefs.h. */ 6577#ifdef __STDC__ 6578# include <limits.h> 6579#else 6580# include <assert.h> 6581#endif 6582 Syntax error 6583_ACEOF 6584if { (ac_try="$ac_cpp conftest.$ac_ext" 6585case "(($ac_try" in 6586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6587 *) ac_try_echo=$ac_try;; 6588esac 6589eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6590$as_echo "$ac_try_echo") >&5 6591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6592 ac_status=$? 6593 grep -v '^ *+' conftest.er1 >conftest.err 6594 rm -f conftest.er1 6595 cat conftest.err >&5 6596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6597 (exit $ac_status); } >/dev/null && { 6598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6599 test ! -s conftest.err 6600 }; then 6601 : 6602else 6603 $as_echo "$as_me: failed program was:" >&5 6604sed 's/^/| /' conftest.$ac_ext >&5 6605 6606 # Broken: fails on valid input. 6607continue 6608fi 6609 6610rm -f conftest.err conftest.$ac_ext 6611 6612 # OK, works on sane cases. Now check whether nonexistent headers 6613 # can be detected and how. 6614 cat >conftest.$ac_ext <<_ACEOF 6615/* confdefs.h. */ 6616_ACEOF 6617cat confdefs.h >>conftest.$ac_ext 6618cat >>conftest.$ac_ext <<_ACEOF 6619/* end confdefs.h. */ 6620#include <ac_nonexistent.h> 6621_ACEOF 6622if { (ac_try="$ac_cpp conftest.$ac_ext" 6623case "(($ac_try" in 6624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6625 *) ac_try_echo=$ac_try;; 6626esac 6627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6628$as_echo "$ac_try_echo") >&5 6629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6630 ac_status=$? 6631 grep -v '^ *+' conftest.er1 >conftest.err 6632 rm -f conftest.er1 6633 cat conftest.err >&5 6634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6635 (exit $ac_status); } >/dev/null && { 6636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6637 test ! -s conftest.err 6638 }; then 6639 # Broken: success on invalid input. 6640continue 6641else 6642 $as_echo "$as_me: failed program was:" >&5 6643sed 's/^/| /' conftest.$ac_ext >&5 6644 6645 # Passes both tests. 6646ac_preproc_ok=: 6647break 6648fi 6649 6650rm -f conftest.err conftest.$ac_ext 6651 6652done 6653# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6654rm -f conftest.err conftest.$ac_ext 6655if $ac_preproc_ok; then 6656 : 6657else 6658 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6660{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6661See \`config.log' for more details." >&5 6662$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6663See \`config.log' for more details." >&2;} 6664 { (exit 1); exit 1; }; }; } 6665fi 6666 6667ac_ext=c 6668ac_cpp='$CPP $CPPFLAGS' 6669ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6670ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6671ac_compiler_gnu=$ac_cv_c_compiler_gnu 6672 6673 6674{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6675$as_echo_n "checking for ANSI C header files... " >&6; } 6676if test "${ac_cv_header_stdc+set}" = set; then 6677 $as_echo_n "(cached) " >&6 6678else 6679 cat >conftest.$ac_ext <<_ACEOF 6680/* confdefs.h. */ 6681_ACEOF 6682cat confdefs.h >>conftest.$ac_ext 6683cat >>conftest.$ac_ext <<_ACEOF 6684/* end confdefs.h. */ 6685#include <stdlib.h> 6686#include <stdarg.h> 6687#include <string.h> 6688#include <float.h> 6689 6690int 6691main () 6692{ 6693 6694 ; 6695 return 0; 6696} 6697_ACEOF 6698rm -f conftest.$ac_objext 6699if { (ac_try="$ac_compile" 6700case "(($ac_try" in 6701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6702 *) ac_try_echo=$ac_try;; 6703esac 6704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6705$as_echo "$ac_try_echo") >&5 6706 (eval "$ac_compile") 2>conftest.er1 6707 ac_status=$? 6708 grep -v '^ *+' conftest.er1 >conftest.err 6709 rm -f conftest.er1 6710 cat conftest.err >&5 6711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6712 (exit $ac_status); } && { 6713 test -z "$ac_c_werror_flag" || 6714 test ! -s conftest.err 6715 } && test -s conftest.$ac_objext; then 6716 ac_cv_header_stdc=yes 6717else 6718 $as_echo "$as_me: failed program was:" >&5 6719sed 's/^/| /' conftest.$ac_ext >&5 6720 6721 ac_cv_header_stdc=no 6722fi 6723 6724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6725 6726if test $ac_cv_header_stdc = yes; then 6727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6728 cat >conftest.$ac_ext <<_ACEOF 6729/* confdefs.h. */ 6730_ACEOF 6731cat confdefs.h >>conftest.$ac_ext 6732cat >>conftest.$ac_ext <<_ACEOF 6733/* end confdefs.h. */ 6734#include <string.h> 6735 6736_ACEOF 6737if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6738 $EGREP "memchr" >/dev/null 2>&1; then 6739 : 6740else 6741 ac_cv_header_stdc=no 6742fi 6743rm -f conftest* 6744 6745fi 6746 6747if test $ac_cv_header_stdc = yes; then 6748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6749 cat >conftest.$ac_ext <<_ACEOF 6750/* confdefs.h. */ 6751_ACEOF 6752cat confdefs.h >>conftest.$ac_ext 6753cat >>conftest.$ac_ext <<_ACEOF 6754/* end confdefs.h. */ 6755#include <stdlib.h> 6756 6757_ACEOF 6758if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6759 $EGREP "free" >/dev/null 2>&1; then 6760 : 6761else 6762 ac_cv_header_stdc=no 6763fi 6764rm -f conftest* 6765 6766fi 6767 6768if test $ac_cv_header_stdc = yes; then 6769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6770 if test "$cross_compiling" = yes; then 6771 : 6772else 6773 cat >conftest.$ac_ext <<_ACEOF 6774/* confdefs.h. */ 6775_ACEOF 6776cat confdefs.h >>conftest.$ac_ext 6777cat >>conftest.$ac_ext <<_ACEOF 6778/* end confdefs.h. */ 6779#include <ctype.h> 6780#include <stdlib.h> 6781#if ((' ' & 0x0FF) == 0x020) 6782# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6783# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6784#else 6785# define ISLOWER(c) \ 6786 (('a' <= (c) && (c) <= 'i') \ 6787 || ('j' <= (c) && (c) <= 'r') \ 6788 || ('s' <= (c) && (c) <= 'z')) 6789# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6790#endif 6791 6792#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6793int 6794main () 6795{ 6796 int i; 6797 for (i = 0; i < 256; i++) 6798 if (XOR (islower (i), ISLOWER (i)) 6799 || toupper (i) != TOUPPER (i)) 6800 return 2; 6801 return 0; 6802} 6803_ACEOF 6804rm -f conftest$ac_exeext 6805if { (ac_try="$ac_link" 6806case "(($ac_try" in 6807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6808 *) ac_try_echo=$ac_try;; 6809esac 6810eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6811$as_echo "$ac_try_echo") >&5 6812 (eval "$ac_link") 2>&5 6813 ac_status=$? 6814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6816 { (case "(($ac_try" in 6817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6818 *) ac_try_echo=$ac_try;; 6819esac 6820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6821$as_echo "$ac_try_echo") >&5 6822 (eval "$ac_try") 2>&5 6823 ac_status=$? 6824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6825 (exit $ac_status); }; }; then 6826 : 6827else 6828 $as_echo "$as_me: program exited with status $ac_status" >&5 6829$as_echo "$as_me: failed program was:" >&5 6830sed 's/^/| /' conftest.$ac_ext >&5 6831 6832( exit $ac_status ) 6833ac_cv_header_stdc=no 6834fi 6835rm -rf conftest.dSYM 6836rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6837fi 6838 6839 6840fi 6841fi 6842{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6843$as_echo "$ac_cv_header_stdc" >&6; } 6844if test $ac_cv_header_stdc = yes; then 6845 6846cat >>confdefs.h <<\_ACEOF 6847#define STDC_HEADERS 1 6848_ACEOF 6849 6850fi 6851 6852# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6863 inttypes.h stdint.h unistd.h 6864do 6865as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6866{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6867$as_echo_n "checking for $ac_header... " >&6; } 6868if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6869 $as_echo_n "(cached) " >&6 6870else 6871 cat >conftest.$ac_ext <<_ACEOF 6872/* confdefs.h. */ 6873_ACEOF 6874cat confdefs.h >>conftest.$ac_ext 6875cat >>conftest.$ac_ext <<_ACEOF 6876/* end confdefs.h. */ 6877$ac_includes_default 6878 6879#include <$ac_header> 6880_ACEOF 6881rm -f conftest.$ac_objext 6882if { (ac_try="$ac_compile" 6883case "(($ac_try" in 6884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6885 *) ac_try_echo=$ac_try;; 6886esac 6887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6888$as_echo "$ac_try_echo") >&5 6889 (eval "$ac_compile") 2>conftest.er1 6890 ac_status=$? 6891 grep -v '^ *+' conftest.er1 >conftest.err 6892 rm -f conftest.er1 6893 cat conftest.err >&5 6894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6895 (exit $ac_status); } && { 6896 test -z "$ac_c_werror_flag" || 6897 test ! -s conftest.err 6898 } && test -s conftest.$ac_objext; then 6899 eval "$as_ac_Header=yes" 6900else 6901 $as_echo "$as_me: failed program was:" >&5 6902sed 's/^/| /' conftest.$ac_ext >&5 6903 6904 eval "$as_ac_Header=no" 6905fi 6906 6907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6908fi 6909ac_res=`eval 'as_val=${'$as_ac_Header'} 6910 $as_echo "$as_val"'` 6911 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6912$as_echo "$ac_res" >&6; } 6913as_val=`eval 'as_val=${'$as_ac_Header'} 6914 $as_echo "$as_val"'` 6915 if test "x$as_val" = x""yes; then 6916 cat >>confdefs.h <<_ACEOF 6917#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6918_ACEOF 6919 6920fi 6921 6922done 6923 6924 6925 6926for ac_header in dlfcn.h 6927do 6928as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6929{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6930$as_echo_n "checking for $ac_header... " >&6; } 6931if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6932 $as_echo_n "(cached) " >&6 6933else 6934 cat >conftest.$ac_ext <<_ACEOF 6935/* confdefs.h. */ 6936_ACEOF 6937cat confdefs.h >>conftest.$ac_ext 6938cat >>conftest.$ac_ext <<_ACEOF 6939/* end confdefs.h. */ 6940$ac_includes_default 6941 6942#include <$ac_header> 6943_ACEOF 6944rm -f conftest.$ac_objext 6945if { (ac_try="$ac_compile" 6946case "(($ac_try" in 6947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6948 *) ac_try_echo=$ac_try;; 6949esac 6950eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6951$as_echo "$ac_try_echo") >&5 6952 (eval "$ac_compile") 2>conftest.er1 6953 ac_status=$? 6954 grep -v '^ *+' conftest.er1 >conftest.err 6955 rm -f conftest.er1 6956 cat conftest.err >&5 6957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6958 (exit $ac_status); } && { 6959 test -z "$ac_c_werror_flag" || 6960 test ! -s conftest.err 6961 } && test -s conftest.$ac_objext; then 6962 eval "$as_ac_Header=yes" 6963else 6964 $as_echo "$as_me: failed program was:" >&5 6965sed 's/^/| /' conftest.$ac_ext >&5 6966 6967 eval "$as_ac_Header=no" 6968fi 6969 6970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6971fi 6972ac_res=`eval 'as_val=${'$as_ac_Header'} 6973 $as_echo "$as_val"'` 6974 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6975$as_echo "$ac_res" >&6; } 6976as_val=`eval 'as_val=${'$as_ac_Header'} 6977 $as_echo "$as_val"'` 6978 if test "x$as_val" = x""yes; then 6979 cat >>confdefs.h <<_ACEOF 6980#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6981_ACEOF 6982 6983fi 6984 6985done 6986 6987 6988 6989# Set options 6990 6991 6992 6993 enable_dlopen=no 6994 6995 6996 enable_win32_dll=no 6997 6998 6999 # Check whether --enable-shared was given. 7000if test "${enable_shared+set}" = set; then 7001 enableval=$enable_shared; p=${PACKAGE-default} 7002 case $enableval in 7003 yes) enable_shared=yes ;; 7004 no) enable_shared=no ;; 7005 *) 7006 enable_shared=no 7007 # Look at the argument we got. We use all the common list separators. 7008 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7009 for pkg in $enableval; do 7010 IFS="$lt_save_ifs" 7011 if test "X$pkg" = "X$p"; then 7012 enable_shared=yes 7013 fi 7014 done 7015 IFS="$lt_save_ifs" 7016 ;; 7017 esac 7018else 7019 enable_shared=yes 7020fi 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 # Check whether --enable-static was given. 7031if test "${enable_static+set}" = set; then 7032 enableval=$enable_static; p=${PACKAGE-default} 7033 case $enableval in 7034 yes) enable_static=yes ;; 7035 no) enable_static=no ;; 7036 *) 7037 enable_static=no 7038 # Look at the argument we got. We use all the common list separators. 7039 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7040 for pkg in $enableval; do 7041 IFS="$lt_save_ifs" 7042 if test "X$pkg" = "X$p"; then 7043 enable_static=yes 7044 fi 7045 done 7046 IFS="$lt_save_ifs" 7047 ;; 7048 esac 7049else 7050 enable_static=yes 7051fi 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062# Check whether --with-pic was given. 7063if test "${with_pic+set}" = set; then 7064 withval=$with_pic; pic_mode="$withval" 7065else 7066 pic_mode=default 7067fi 7068 7069 7070test -z "$pic_mode" && pic_mode=default 7071 7072 7073 7074 7075 7076 7077 7078 # Check whether --enable-fast-install was given. 7079if test "${enable_fast_install+set}" = set; then 7080 enableval=$enable_fast_install; p=${PACKAGE-default} 7081 case $enableval in 7082 yes) enable_fast_install=yes ;; 7083 no) enable_fast_install=no ;; 7084 *) 7085 enable_fast_install=no 7086 # Look at the argument we got. We use all the common list separators. 7087 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7088 for pkg in $enableval; do 7089 IFS="$lt_save_ifs" 7090 if test "X$pkg" = "X$p"; then 7091 enable_fast_install=yes 7092 fi 7093 done 7094 IFS="$lt_save_ifs" 7095 ;; 7096 esac 7097else 7098 enable_fast_install=yes 7099fi 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111# This can be used to rebuild libtool when needed 7112LIBTOOL_DEPS="$ltmain" 7113 7114# Always use our own libtool. 7115LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141test -z "$LN_S" && LN_S="ln -s" 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156if test -n "${ZSH_VERSION+set}" ; then 7157 setopt NO_GLOB_SUBST 7158fi 7159 7160{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7161$as_echo_n "checking for objdir... " >&6; } 7162if test "${lt_cv_objdir+set}" = set; then 7163 $as_echo_n "(cached) " >&6 7164else 7165 rm -f .libs 2>/dev/null 7166mkdir .libs 2>/dev/null 7167if test -d .libs; then 7168 lt_cv_objdir=.libs 7169else 7170 # MS-DOS does not allow filenames that begin with a dot. 7171 lt_cv_objdir=_libs 7172fi 7173rmdir .libs 2>/dev/null 7174fi 7175{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7176$as_echo "$lt_cv_objdir" >&6; } 7177objdir=$lt_cv_objdir 7178 7179 7180 7181 7182 7183cat >>confdefs.h <<_ACEOF 7184#define LT_OBJDIR "$lt_cv_objdir/" 7185_ACEOF 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203case $host_os in 7204aix3*) 7205 # AIX sometimes has problems with the GCC collect2 program. For some 7206 # reason, if we set the COLLECT_NAMES environment variable, the problems 7207 # vanish in a puff of smoke. 7208 if test "X${COLLECT_NAMES+set}" != Xset; then 7209 COLLECT_NAMES= 7210 export COLLECT_NAMES 7211 fi 7212 ;; 7213esac 7214 7215# Sed substitution that helps us do robust quoting. It backslashifies 7216# metacharacters that are still active within double-quoted strings. 7217sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7218 7219# Same as above, but do not quote variable references. 7220double_quote_subst='s/\(["`\\]\)/\\\1/g' 7221 7222# Sed substitution to delay expansion of an escaped shell variable in a 7223# double_quote_subst'ed string. 7224delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7225 7226# Sed substitution to delay expansion of an escaped single quote. 7227delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7228 7229# Sed substitution to avoid accidental globbing in evaled expressions 7230no_glob_subst='s/\*/\\\*/g' 7231 7232# Global variables: 7233ofile=libtool 7234can_build_shared=yes 7235 7236# All known linkers require a `.a' archive for static linking (except MSVC, 7237# which needs '.lib'). 7238libext=a 7239 7240with_gnu_ld="$lt_cv_prog_gnu_ld" 7241 7242old_CC="$CC" 7243old_CFLAGS="$CFLAGS" 7244 7245# Set sane defaults for various variables 7246test -z "$CC" && CC=cc 7247test -z "$LTCC" && LTCC=$CC 7248test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7249test -z "$LD" && LD=ld 7250test -z "$ac_objext" && ac_objext=o 7251 7252for cc_temp in $compiler""; do 7253 case $cc_temp in 7254 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7255 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7256 \-*) ;; 7257 *) break;; 7258 esac 7259done 7260cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7261 7262 7263# Only perform the check for file, if the check method requires it 7264test -z "$MAGIC_CMD" && MAGIC_CMD=file 7265case $deplibs_check_method in 7266file_magic*) 7267 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7268 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7269$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7270if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7271 $as_echo_n "(cached) " >&6 7272else 7273 case $MAGIC_CMD in 7274[\\/*] | ?:[\\/]*) 7275 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7276 ;; 7277*) 7278 lt_save_MAGIC_CMD="$MAGIC_CMD" 7279 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7280 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7281 for ac_dir in $ac_dummy; do 7282 IFS="$lt_save_ifs" 7283 test -z "$ac_dir" && ac_dir=. 7284 if test -f $ac_dir/${ac_tool_prefix}file; then 7285 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7286 if test -n "$file_magic_test_file"; then 7287 case $deplibs_check_method in 7288 "file_magic "*) 7289 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7290 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7291 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7292 $EGREP "$file_magic_regex" > /dev/null; then 7293 : 7294 else 7295 cat <<_LT_EOF 1>&2 7296 7297*** Warning: the command libtool uses to detect shared libraries, 7298*** $file_magic_cmd, produces output that libtool cannot recognize. 7299*** The result is that libtool may fail to recognize shared libraries 7300*** as such. This will affect the creation of libtool libraries that 7301*** depend on shared libraries, but programs linked with such libtool 7302*** libraries will work regardless of this problem. Nevertheless, you 7303*** may want to report the problem to your system manager and/or to 7304*** bug-libtool@gnu.org 7305 7306_LT_EOF 7307 fi ;; 7308 esac 7309 fi 7310 break 7311 fi 7312 done 7313 IFS="$lt_save_ifs" 7314 MAGIC_CMD="$lt_save_MAGIC_CMD" 7315 ;; 7316esac 7317fi 7318 7319MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7320if test -n "$MAGIC_CMD"; then 7321 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7322$as_echo "$MAGIC_CMD" >&6; } 7323else 7324 { $as_echo "$as_me:$LINENO: result: no" >&5 7325$as_echo "no" >&6; } 7326fi 7327 7328 7329 7330 7331 7332if test -z "$lt_cv_path_MAGIC_CMD"; then 7333 if test -n "$ac_tool_prefix"; then 7334 { $as_echo "$as_me:$LINENO: checking for file" >&5 7335$as_echo_n "checking for file... " >&6; } 7336if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7337 $as_echo_n "(cached) " >&6 7338else 7339 case $MAGIC_CMD in 7340[\\/*] | ?:[\\/]*) 7341 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7342 ;; 7343*) 7344 lt_save_MAGIC_CMD="$MAGIC_CMD" 7345 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7346 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7347 for ac_dir in $ac_dummy; do 7348 IFS="$lt_save_ifs" 7349 test -z "$ac_dir" && ac_dir=. 7350 if test -f $ac_dir/file; then 7351 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7352 if test -n "$file_magic_test_file"; then 7353 case $deplibs_check_method in 7354 "file_magic "*) 7355 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7356 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7357 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7358 $EGREP "$file_magic_regex" > /dev/null; then 7359 : 7360 else 7361 cat <<_LT_EOF 1>&2 7362 7363*** Warning: the command libtool uses to detect shared libraries, 7364*** $file_magic_cmd, produces output that libtool cannot recognize. 7365*** The result is that libtool may fail to recognize shared libraries 7366*** as such. This will affect the creation of libtool libraries that 7367*** depend on shared libraries, but programs linked with such libtool 7368*** libraries will work regardless of this problem. Nevertheless, you 7369*** may want to report the problem to your system manager and/or to 7370*** bug-libtool@gnu.org 7371 7372_LT_EOF 7373 fi ;; 7374 esac 7375 fi 7376 break 7377 fi 7378 done 7379 IFS="$lt_save_ifs" 7380 MAGIC_CMD="$lt_save_MAGIC_CMD" 7381 ;; 7382esac 7383fi 7384 7385MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7386if test -n "$MAGIC_CMD"; then 7387 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7388$as_echo "$MAGIC_CMD" >&6; } 7389else 7390 { $as_echo "$as_me:$LINENO: result: no" >&5 7391$as_echo "no" >&6; } 7392fi 7393 7394 7395 else 7396 MAGIC_CMD=: 7397 fi 7398fi 7399 7400 fi 7401 ;; 7402esac 7403 7404# Use C for the default configuration in the libtool script 7405 7406lt_save_CC="$CC" 7407ac_ext=c 7408ac_cpp='$CPP $CPPFLAGS' 7409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7411ac_compiler_gnu=$ac_cv_c_compiler_gnu 7412 7413 7414# Source file extension for C test sources. 7415ac_ext=c 7416 7417# Object file extension for compiled C test sources. 7418objext=o 7419objext=$objext 7420 7421# Code to be used in simple compile tests 7422lt_simple_compile_test_code="int some_variable = 0;" 7423 7424# Code to be used in simple link tests 7425lt_simple_link_test_code='int main(){return(0);}' 7426 7427 7428 7429 7430 7431 7432 7433# If no C compiler was specified, use CC. 7434LTCC=${LTCC-"$CC"} 7435 7436# If no C compiler flags were specified, use CFLAGS. 7437LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7438 7439# Allow CC to be a program name with arguments. 7440compiler=$CC 7441 7442# Save the default compiler, since it gets overwritten when the other 7443# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7444compiler_DEFAULT=$CC 7445 7446# save warnings/boilerplate of simple test code 7447ac_outfile=conftest.$ac_objext 7448echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7449eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7450_lt_compiler_boilerplate=`cat conftest.err` 7451$RM conftest* 7452 7453ac_outfile=conftest.$ac_objext 7454echo "$lt_simple_link_test_code" >conftest.$ac_ext 7455eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7456_lt_linker_boilerplate=`cat conftest.err` 7457$RM -r conftest* 7458 7459 7460if test -n "$compiler"; then 7461 7462lt_prog_compiler_no_builtin_flag= 7463 7464if test "$GCC" = yes; then 7465 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7466 7467 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7468$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7469if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7470 $as_echo_n "(cached) " >&6 7471else 7472 lt_cv_prog_compiler_rtti_exceptions=no 7473 ac_outfile=conftest.$ac_objext 7474 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7475 lt_compiler_flag="-fno-rtti -fno-exceptions" 7476 # Insert the option either (1) after the last *FLAGS variable, or 7477 # (2) before a word containing "conftest.", or (3) at the end. 7478 # Note that $ac_compile itself does not contain backslashes and begins 7479 # with a dollar sign (not a hyphen), so the echo should work correctly. 7480 # The option is referenced via a variable to avoid confusing sed. 7481 lt_compile=`echo "$ac_compile" | $SED \ 7482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7484 -e 's:$: $lt_compiler_flag:'` 7485 (eval echo "\"\$as_me:7485: $lt_compile\"" >&5) 7486 (eval "$lt_compile" 2>conftest.err) 7487 ac_status=$? 7488 cat conftest.err >&5 7489 echo "$as_me:7489: \$? = $ac_status" >&5 7490 if (exit $ac_status) && test -s "$ac_outfile"; then 7491 # The compiler can only warn and ignore the option if not recognized 7492 # So say no if there are warnings other than the usual output. 7493 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7494 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7495 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7496 lt_cv_prog_compiler_rtti_exceptions=yes 7497 fi 7498 fi 7499 $RM conftest* 7500 7501fi 7502{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7503$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7504 7505if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7506 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7507else 7508 : 7509fi 7510 7511fi 7512 7513 7514 7515 7516 7517 7518 lt_prog_compiler_wl= 7519lt_prog_compiler_pic= 7520lt_prog_compiler_static= 7521 7522{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7523$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7524 7525 if test "$GCC" = yes; then 7526 lt_prog_compiler_wl='-Wl,' 7527 lt_prog_compiler_static='-static' 7528 7529 case $host_os in 7530 aix*) 7531 # All AIX code is PIC. 7532 if test "$host_cpu" = ia64; then 7533 # AIX 5 now supports IA64 processor 7534 lt_prog_compiler_static='-Bstatic' 7535 fi 7536 ;; 7537 7538 amigaos*) 7539 case $host_cpu in 7540 powerpc) 7541 # see comment about AmigaOS4 .so support 7542 lt_prog_compiler_pic='-fPIC' 7543 ;; 7544 m68k) 7545 # FIXME: we need at least 68020 code to build shared libraries, but 7546 # adding the `-m68020' flag to GCC prevents building anything better, 7547 # like `-m68040'. 7548 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7549 ;; 7550 esac 7551 ;; 7552 7553 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7554 # PIC is the default for these OSes. 7555 ;; 7556 7557 mingw* | cygwin* | pw32* | os2* | cegcc*) 7558 # This hack is so that the source file can tell whether it is being 7559 # built for inclusion in a dll (and should export symbols for example). 7560 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7561 # (--disable-auto-import) libraries 7562 lt_prog_compiler_pic='-DDLL_EXPORT' 7563 ;; 7564 7565 darwin* | rhapsody*) 7566 # PIC is the default on this platform 7567 # Common symbols not allowed in MH_DYLIB files 7568 lt_prog_compiler_pic='-fno-common' 7569 ;; 7570 7571 hpux*) 7572 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7573 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7574 # sets the default TLS model and affects inlining. 7575 case $host_cpu in 7576 hppa*64*) 7577 # +Z the default 7578 ;; 7579 *) 7580 lt_prog_compiler_pic='-fPIC' 7581 ;; 7582 esac 7583 ;; 7584 7585 interix[3-9]*) 7586 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7587 # Instead, we relocate shared libraries at runtime. 7588 ;; 7589 7590 msdosdjgpp*) 7591 # Just because we use GCC doesn't mean we suddenly get shared libraries 7592 # on systems that don't support them. 7593 lt_prog_compiler_can_build_shared=no 7594 enable_shared=no 7595 ;; 7596 7597 *nto* | *qnx*) 7598 # QNX uses GNU C++, but need to define -shared option too, otherwise 7599 # it will coredump. 7600 lt_prog_compiler_pic='-fPIC -shared' 7601 ;; 7602 7603 sysv4*MP*) 7604 if test -d /usr/nec; then 7605 lt_prog_compiler_pic=-Kconform_pic 7606 fi 7607 ;; 7608 7609 *) 7610 lt_prog_compiler_pic='-fPIC' 7611 ;; 7612 esac 7613 else 7614 # PORTME Check for flag to pass linker flags through the system compiler. 7615 case $host_os in 7616 aix*) 7617 lt_prog_compiler_wl='-Wl,' 7618 if test "$host_cpu" = ia64; then 7619 # AIX 5 now supports IA64 processor 7620 lt_prog_compiler_static='-Bstatic' 7621 else 7622 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7623 fi 7624 ;; 7625 7626 mingw* | cygwin* | pw32* | os2* | cegcc*) 7627 # This hack is so that the source file can tell whether it is being 7628 # built for inclusion in a dll (and should export symbols for example). 7629 lt_prog_compiler_pic='-DDLL_EXPORT' 7630 ;; 7631 7632 hpux9* | hpux10* | hpux11*) 7633 lt_prog_compiler_wl='-Wl,' 7634 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7635 # not for PA HP-UX. 7636 case $host_cpu in 7637 hppa*64*|ia64*) 7638 # +Z the default 7639 ;; 7640 *) 7641 lt_prog_compiler_pic='+Z' 7642 ;; 7643 esac 7644 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7645 lt_prog_compiler_static='${wl}-a ${wl}archive' 7646 ;; 7647 7648 irix5* | irix6* | nonstopux*) 7649 lt_prog_compiler_wl='-Wl,' 7650 # PIC (with -KPIC) is the default. 7651 lt_prog_compiler_static='-non_shared' 7652 ;; 7653 7654 linux* | k*bsd*-gnu) 7655 case $cc_basename in 7656 # old Intel for x86_64 which still supported -KPIC. 7657 ecc*) 7658 lt_prog_compiler_wl='-Wl,' 7659 lt_prog_compiler_pic='-KPIC' 7660 lt_prog_compiler_static='-static' 7661 ;; 7662 # icc used to be incompatible with GCC. 7663 # ICC 10 doesn't accept -KPIC any more. 7664 icc* | ifort*) 7665 lt_prog_compiler_wl='-Wl,' 7666 lt_prog_compiler_pic='-fPIC' 7667 lt_prog_compiler_static='-static' 7668 ;; 7669 # Lahey Fortran 8.1. 7670 lf95*) 7671 lt_prog_compiler_wl='-Wl,' 7672 lt_prog_compiler_pic='--shared' 7673 lt_prog_compiler_static='--static' 7674 ;; 7675 pgcc* | pgf77* | pgf90* | pgf95*) 7676 # Portland Group compilers (*not* the Pentium gcc compiler, 7677 # which looks to be a dead project) 7678 lt_prog_compiler_wl='-Wl,' 7679 lt_prog_compiler_pic='-fpic' 7680 lt_prog_compiler_static='-Bstatic' 7681 ;; 7682 ccc*) 7683 lt_prog_compiler_wl='-Wl,' 7684 # All Alpha code is PIC. 7685 lt_prog_compiler_static='-non_shared' 7686 ;; 7687 xl*) 7688 # IBM XL C 8.0/Fortran 10.1 on PPC 7689 lt_prog_compiler_wl='-Wl,' 7690 lt_prog_compiler_pic='-qpic' 7691 lt_prog_compiler_static='-qstaticlink' 7692 ;; 7693 *) 7694 case `$CC -V 2>&1 | sed 5q` in 7695 *Sun\ C*) 7696 # Sun C 5.9 7697 lt_prog_compiler_pic='-KPIC' 7698 lt_prog_compiler_static='-Bstatic' 7699 lt_prog_compiler_wl='-Wl,' 7700 ;; 7701 *Sun\ F*) 7702 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7703 lt_prog_compiler_pic='-KPIC' 7704 lt_prog_compiler_static='-Bstatic' 7705 lt_prog_compiler_wl='' 7706 ;; 7707 esac 7708 ;; 7709 esac 7710 ;; 7711 7712 newsos6) 7713 lt_prog_compiler_pic='-KPIC' 7714 lt_prog_compiler_static='-Bstatic' 7715 ;; 7716 7717 *nto* | *qnx*) 7718 # QNX uses GNU C++, but need to define -shared option too, otherwise 7719 # it will coredump. 7720 lt_prog_compiler_pic='-fPIC -shared' 7721 ;; 7722 7723 osf3* | osf4* | osf5*) 7724 lt_prog_compiler_wl='-Wl,' 7725 # All OSF/1 code is PIC. 7726 lt_prog_compiler_static='-non_shared' 7727 ;; 7728 7729 rdos*) 7730 lt_prog_compiler_static='-non_shared' 7731 ;; 7732 7733 solaris*) 7734 lt_prog_compiler_pic='-KPIC' 7735 lt_prog_compiler_static='-Bstatic' 7736 case $cc_basename in 7737 f77* | f90* | f95*) 7738 lt_prog_compiler_wl='-Qoption ld ';; 7739 *) 7740 lt_prog_compiler_wl='-Wl,';; 7741 esac 7742 ;; 7743 7744 sunos4*) 7745 lt_prog_compiler_wl='-Qoption ld ' 7746 lt_prog_compiler_pic='-PIC' 7747 lt_prog_compiler_static='-Bstatic' 7748 ;; 7749 7750 sysv4 | sysv4.2uw2* | sysv4.3*) 7751 lt_prog_compiler_wl='-Wl,' 7752 lt_prog_compiler_pic='-KPIC' 7753 lt_prog_compiler_static='-Bstatic' 7754 ;; 7755 7756 sysv4*MP*) 7757 if test -d /usr/nec ;then 7758 lt_prog_compiler_pic='-Kconform_pic' 7759 lt_prog_compiler_static='-Bstatic' 7760 fi 7761 ;; 7762 7763 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7764 lt_prog_compiler_wl='-Wl,' 7765 lt_prog_compiler_pic='-KPIC' 7766 lt_prog_compiler_static='-Bstatic' 7767 ;; 7768 7769 unicos*) 7770 lt_prog_compiler_wl='-Wl,' 7771 lt_prog_compiler_can_build_shared=no 7772 ;; 7773 7774 uts4*) 7775 lt_prog_compiler_pic='-pic' 7776 lt_prog_compiler_static='-Bstatic' 7777 ;; 7778 7779 *) 7780 lt_prog_compiler_can_build_shared=no 7781 ;; 7782 esac 7783 fi 7784 7785case $host_os in 7786 # For platforms which do not support PIC, -DPIC is meaningless: 7787 *djgpp*) 7788 lt_prog_compiler_pic= 7789 ;; 7790 *) 7791 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7792 ;; 7793esac 7794{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 7795$as_echo "$lt_prog_compiler_pic" >&6; } 7796 7797 7798 7799 7800 7801 7802# 7803# Check to make sure the PIC flag actually works. 7804# 7805if test -n "$lt_prog_compiler_pic"; then 7806 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7807$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7808if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 7809 $as_echo_n "(cached) " >&6 7810else 7811 lt_cv_prog_compiler_pic_works=no 7812 ac_outfile=conftest.$ac_objext 7813 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7814 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7815 # Insert the option either (1) after the last *FLAGS variable, or 7816 # (2) before a word containing "conftest.", or (3) at the end. 7817 # Note that $ac_compile itself does not contain backslashes and begins 7818 # with a dollar sign (not a hyphen), so the echo should work correctly. 7819 # The option is referenced via a variable to avoid confusing sed. 7820 lt_compile=`echo "$ac_compile" | $SED \ 7821 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7822 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7823 -e 's:$: $lt_compiler_flag:'` 7824 (eval echo "\"\$as_me:7824: $lt_compile\"" >&5) 7825 (eval "$lt_compile" 2>conftest.err) 7826 ac_status=$? 7827 cat conftest.err >&5 7828 echo "$as_me:7828: \$? = $ac_status" >&5 7829 if (exit $ac_status) && test -s "$ac_outfile"; then 7830 # The compiler can only warn and ignore the option if not recognized 7831 # So say no if there are warnings other than the usual output. 7832 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7834 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7835 lt_cv_prog_compiler_pic_works=yes 7836 fi 7837 fi 7838 $RM conftest* 7839 7840fi 7841{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 7842$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7843 7844if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7845 case $lt_prog_compiler_pic in 7846 "" | " "*) ;; 7847 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7848 esac 7849else 7850 lt_prog_compiler_pic= 7851 lt_prog_compiler_can_build_shared=no 7852fi 7853 7854fi 7855 7856 7857 7858 7859 7860 7861# 7862# Check to make sure the static flag actually works. 7863# 7864wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7865{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7866$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7867if test "${lt_cv_prog_compiler_static_works+set}" = set; then 7868 $as_echo_n "(cached) " >&6 7869else 7870 lt_cv_prog_compiler_static_works=no 7871 save_LDFLAGS="$LDFLAGS" 7872 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7873 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7874 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7875 # The linker can only warn and ignore the option if not recognized 7876 # So say no if there are warnings 7877 if test -s conftest.err; then 7878 # Append any errors to the config.log. 7879 cat conftest.err 1>&5 7880 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7881 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7882 if diff conftest.exp conftest.er2 >/dev/null; then 7883 lt_cv_prog_compiler_static_works=yes 7884 fi 7885 else 7886 lt_cv_prog_compiler_static_works=yes 7887 fi 7888 fi 7889 $RM -r conftest* 7890 LDFLAGS="$save_LDFLAGS" 7891 7892fi 7893{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 7894$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7895 7896if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7897 : 7898else 7899 lt_prog_compiler_static= 7900fi 7901 7902 7903 7904 7905 7906 7907 7908 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7909$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7910if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7911 $as_echo_n "(cached) " >&6 7912else 7913 lt_cv_prog_compiler_c_o=no 7914 $RM -r conftest 2>/dev/null 7915 mkdir conftest 7916 cd conftest 7917 mkdir out 7918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7919 7920 lt_compiler_flag="-o out/conftest2.$ac_objext" 7921 # Insert the option either (1) after the last *FLAGS variable, or 7922 # (2) before a word containing "conftest.", or (3) at the end. 7923 # Note that $ac_compile itself does not contain backslashes and begins 7924 # with a dollar sign (not a hyphen), so the echo should work correctly. 7925 lt_compile=`echo "$ac_compile" | $SED \ 7926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7928 -e 's:$: $lt_compiler_flag:'` 7929 (eval echo "\"\$as_me:7929: $lt_compile\"" >&5) 7930 (eval "$lt_compile" 2>out/conftest.err) 7931 ac_status=$? 7932 cat out/conftest.err >&5 7933 echo "$as_me:7933: \$? = $ac_status" >&5 7934 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7935 then 7936 # The compiler can only warn and ignore the option if not recognized 7937 # So say no if there are warnings 7938 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7941 lt_cv_prog_compiler_c_o=yes 7942 fi 7943 fi 7944 chmod u+w . 2>&5 7945 $RM conftest* 7946 # SGI C++ compiler will create directory out/ii_files/ for 7947 # template instantiation 7948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7949 $RM out/* && rmdir out 7950 cd .. 7951 $RM -r conftest 7952 $RM conftest* 7953 7954fi 7955{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7956$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7957 7958 7959 7960 7961 7962 7963 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7964$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7965if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7966 $as_echo_n "(cached) " >&6 7967else 7968 lt_cv_prog_compiler_c_o=no 7969 $RM -r conftest 2>/dev/null 7970 mkdir conftest 7971 cd conftest 7972 mkdir out 7973 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7974 7975 lt_compiler_flag="-o out/conftest2.$ac_objext" 7976 # Insert the option either (1) after the last *FLAGS variable, or 7977 # (2) before a word containing "conftest.", or (3) at the end. 7978 # Note that $ac_compile itself does not contain backslashes and begins 7979 # with a dollar sign (not a hyphen), so the echo should work correctly. 7980 lt_compile=`echo "$ac_compile" | $SED \ 7981 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7982 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7983 -e 's:$: $lt_compiler_flag:'` 7984 (eval echo "\"\$as_me:7984: $lt_compile\"" >&5) 7985 (eval "$lt_compile" 2>out/conftest.err) 7986 ac_status=$? 7987 cat out/conftest.err >&5 7988 echo "$as_me:7988: \$? = $ac_status" >&5 7989 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7990 then 7991 # The compiler can only warn and ignore the option if not recognized 7992 # So say no if there are warnings 7993 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7994 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7995 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7996 lt_cv_prog_compiler_c_o=yes 7997 fi 7998 fi 7999 chmod u+w . 2>&5 8000 $RM conftest* 8001 # SGI C++ compiler will create directory out/ii_files/ for 8002 # template instantiation 8003 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8004 $RM out/* && rmdir out 8005 cd .. 8006 $RM -r conftest 8007 $RM conftest* 8008 8009fi 8010{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8011$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8012 8013 8014 8015 8016hard_links="nottested" 8017if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8018 # do not overwrite the value of need_locks provided by the user 8019 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8020$as_echo_n "checking if we can lock with hard links... " >&6; } 8021 hard_links=yes 8022 $RM conftest* 8023 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8024 touch conftest.a 8025 ln conftest.a conftest.b 2>&5 || hard_links=no 8026 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8027 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8028$as_echo "$hard_links" >&6; } 8029 if test "$hard_links" = no; then 8030 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8031$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8032 need_locks=warn 8033 fi 8034else 8035 need_locks=no 8036fi 8037 8038 8039 8040 8041 8042 8043 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8044$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8045 8046 runpath_var= 8047 allow_undefined_flag= 8048 always_export_symbols=no 8049 archive_cmds= 8050 archive_expsym_cmds= 8051 compiler_needs_object=no 8052 enable_shared_with_static_runtimes=no 8053 export_dynamic_flag_spec= 8054 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8055 hardcode_automatic=no 8056 hardcode_direct=no 8057 hardcode_direct_absolute=no 8058 hardcode_libdir_flag_spec= 8059 hardcode_libdir_flag_spec_ld= 8060 hardcode_libdir_separator= 8061 hardcode_minus_L=no 8062 hardcode_shlibpath_var=unsupported 8063 inherit_rpath=no 8064 link_all_deplibs=unknown 8065 module_cmds= 8066 module_expsym_cmds= 8067 old_archive_from_new_cmds= 8068 old_archive_from_expsyms_cmds= 8069 thread_safe_flag_spec= 8070 whole_archive_flag_spec= 8071 # include_expsyms should be a list of space-separated symbols to be *always* 8072 # included in the symbol list 8073 include_expsyms= 8074 # exclude_expsyms can be an extended regexp of symbols to exclude 8075 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8076 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8077 # as well as any symbol that contains `d'. 8078 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8079 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8080 # platforms (ab)use it in PIC code, but their linkers get confused if 8081 # the symbol is explicitly referenced. Since portable code cannot 8082 # rely on this symbol name, it's probably fine to never include it in 8083 # preloaded symbol tables. 8084 # Exclude shared library initialization/finalization symbols. 8085 extract_expsyms_cmds= 8086 8087 case $host_os in 8088 cygwin* | mingw* | pw32* | cegcc*) 8089 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8090 # When not using gcc, we currently assume that we are using 8091 # Microsoft Visual C++. 8092 if test "$GCC" != yes; then 8093 with_gnu_ld=no 8094 fi 8095 ;; 8096 interix*) 8097 # we just hope/assume this is gcc and not c89 (= MSVC++) 8098 with_gnu_ld=yes 8099 ;; 8100 openbsd*) 8101 with_gnu_ld=no 8102 ;; 8103 esac 8104 8105 ld_shlibs=yes 8106 if test "$with_gnu_ld" = yes; then 8107 # If archive_cmds runs LD, not CC, wlarc should be empty 8108 wlarc='${wl}' 8109 8110 # Set some defaults for GNU ld with shared library support. These 8111 # are reset later if shared libraries are not supported. Putting them 8112 # here allows them to be overridden if necessary. 8113 runpath_var=LD_RUN_PATH 8114 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8115 export_dynamic_flag_spec='${wl}--export-dynamic' 8116 # ancient GNU ld didn't support --whole-archive et. al. 8117 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8118 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8119 else 8120 whole_archive_flag_spec= 8121 fi 8122 supports_anon_versioning=no 8123 case `$LD -v 2>&1` in 8124 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8125 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8126 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8127 *\ 2.11.*) ;; # other 2.11 versions 8128 *) supports_anon_versioning=yes ;; 8129 esac 8130 8131 # See if GNU ld supports shared libraries. 8132 case $host_os in 8133 aix[3-9]*) 8134 # On AIX/PPC, the GNU linker is very broken 8135 if test "$host_cpu" != ia64; then 8136 ld_shlibs=no 8137 cat <<_LT_EOF 1>&2 8138 8139*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8140*** to be unable to reliably create shared libraries on AIX. 8141*** Therefore, libtool is disabling shared libraries support. If you 8142*** really care for shared libraries, you may want to modify your PATH 8143*** so that a non-GNU linker is found, and then restart. 8144 8145_LT_EOF 8146 fi 8147 ;; 8148 8149 amigaos*) 8150 case $host_cpu in 8151 powerpc) 8152 # see comment about AmigaOS4 .so support 8153 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8154 archive_expsym_cmds='' 8155 ;; 8156 m68k) 8157 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)' 8158 hardcode_libdir_flag_spec='-L$libdir' 8159 hardcode_minus_L=yes 8160 ;; 8161 esac 8162 ;; 8163 8164 beos*) 8165 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8166 allow_undefined_flag=unsupported 8167 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8168 # support --undefined. This deserves some investigation. FIXME 8169 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8170 else 8171 ld_shlibs=no 8172 fi 8173 ;; 8174 8175 cygwin* | mingw* | pw32* | cegcc*) 8176 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8177 # as there is no search path for DLLs. 8178 hardcode_libdir_flag_spec='-L$libdir' 8179 allow_undefined_flag=unsupported 8180 always_export_symbols=no 8181 enable_shared_with_static_runtimes=yes 8182 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8183 8184 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8186 # If the export-symbols file already is a .def file (1st line 8187 # is EXPORTS), use it as is; otherwise, prepend... 8188 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8189 cp $export_symbols $output_objdir/$soname.def; 8190 else 8191 echo EXPORTS > $output_objdir/$soname.def; 8192 cat $export_symbols >> $output_objdir/$soname.def; 8193 fi~ 8194 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8195 else 8196 ld_shlibs=no 8197 fi 8198 ;; 8199 8200 interix[3-9]*) 8201 hardcode_direct=no 8202 hardcode_shlibpath_var=no 8203 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8204 export_dynamic_flag_spec='${wl}-E' 8205 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8206 # Instead, shared libraries are loaded at an image base (0x10000000 by 8207 # default) and relocated if they conflict, which is a slow very memory 8208 # consuming and fragmenting process. To avoid this, we pick a random, 8209 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8210 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8211 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8212 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' 8213 ;; 8214 8215 gnu* | linux* | tpf* | k*bsd*-gnu) 8216 tmp_diet=no 8217 if test "$host_os" = linux-dietlibc; then 8218 case $cc_basename in 8219 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8220 esac 8221 fi 8222 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8223 && test "$tmp_diet" = no 8224 then 8225 tmp_addflag= 8226 tmp_sharedflag='-shared' 8227 case $cc_basename,$host_cpu in 8228 pgcc*) # Portland Group C compiler 8229 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' 8230 tmp_addflag=' $pic_flag' 8231 ;; 8232 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8233 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' 8234 tmp_addflag=' $pic_flag -Mnomain' ;; 8235 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8236 tmp_addflag=' -i_dynamic' ;; 8237 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8238 tmp_addflag=' -i_dynamic -nofor_main' ;; 8239 ifc* | ifort*) # Intel Fortran compiler 8240 tmp_addflag=' -nofor_main' ;; 8241 lf95*) # Lahey Fortran 8.1 8242 whole_archive_flag_spec= 8243 tmp_sharedflag='--shared' ;; 8244 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8245 tmp_sharedflag='-qmkshrobj' 8246 tmp_addflag= ;; 8247 esac 8248 case `$CC -V 2>&1 | sed 5q` in 8249 *Sun\ C*) # Sun C 5.9 8250 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' 8251 compiler_needs_object=yes 8252 tmp_sharedflag='-G' ;; 8253 *Sun\ F*) # Sun Fortran 8.3 8254 tmp_sharedflag='-G' ;; 8255 esac 8256 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8257 8258 if test "x$supports_anon_versioning" = xyes; then 8259 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8260 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8261 echo "local: *; };" >> $output_objdir/$libname.ver~ 8262 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8263 fi 8264 8265 case $cc_basename in 8266 xlf*) 8267 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8268 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8269 hardcode_libdir_flag_spec= 8270 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8271 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8272 if test "x$supports_anon_versioning" = xyes; then 8273 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8274 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8275 echo "local: *; };" >> $output_objdir/$libname.ver~ 8276 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8277 fi 8278 ;; 8279 esac 8280 else 8281 ld_shlibs=no 8282 fi 8283 ;; 8284 8285 netbsd*) 8286 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8287 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8288 wlarc= 8289 else 8290 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8291 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8292 fi 8293 ;; 8294 8295 solaris*) 8296 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8297 ld_shlibs=no 8298 cat <<_LT_EOF 1>&2 8299 8300*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8301*** create shared libraries on Solaris systems. Therefore, libtool 8302*** is disabling shared libraries support. We urge you to upgrade GNU 8303*** binutils to release 2.9.1 or newer. Another option is to modify 8304*** your PATH or compiler configuration so that the native linker is 8305*** used, and then restart. 8306 8307_LT_EOF 8308 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8309 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8310 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8311 else 8312 ld_shlibs=no 8313 fi 8314 ;; 8315 8316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8317 case `$LD -v 2>&1` in 8318 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8319 ld_shlibs=no 8320 cat <<_LT_EOF 1>&2 8321 8322*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8323*** reliably create shared libraries on SCO systems. Therefore, libtool 8324*** is disabling shared libraries support. We urge you to upgrade GNU 8325*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8326*** your PATH or compiler configuration so that the native linker is 8327*** used, and then restart. 8328 8329_LT_EOF 8330 ;; 8331 *) 8332 # For security reasons, it is highly recommended that you always 8333 # use absolute paths for naming shared libraries, and exclude the 8334 # DT_RUNPATH tag from executables and libraries. But doing so 8335 # requires that you compile everything twice, which is a pain. 8336 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8337 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8339 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8340 else 8341 ld_shlibs=no 8342 fi 8343 ;; 8344 esac 8345 ;; 8346 8347 sunos4*) 8348 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8349 wlarc= 8350 hardcode_direct=yes 8351 hardcode_shlibpath_var=no 8352 ;; 8353 8354 *) 8355 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8356 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8357 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8358 else 8359 ld_shlibs=no 8360 fi 8361 ;; 8362 esac 8363 8364 if test "$ld_shlibs" = no; then 8365 runpath_var= 8366 hardcode_libdir_flag_spec= 8367 export_dynamic_flag_spec= 8368 whole_archive_flag_spec= 8369 fi 8370 else 8371 # PORTME fill in a description of your system's linker (not GNU ld) 8372 case $host_os in 8373 aix3*) 8374 allow_undefined_flag=unsupported 8375 always_export_symbols=yes 8376 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' 8377 # Note: this linker hardcodes the directories in LIBPATH if there 8378 # are no directories specified by -L. 8379 hardcode_minus_L=yes 8380 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8381 # Neither direct hardcoding nor static linking is supported with a 8382 # broken collect2. 8383 hardcode_direct=unsupported 8384 fi 8385 ;; 8386 8387 aix[4-9]*) 8388 if test "$host_cpu" = ia64; then 8389 # On IA64, the linker does run time linking by default, so we don't 8390 # have to do anything special. 8391 aix_use_runtimelinking=no 8392 exp_sym_flag='-Bexport' 8393 no_entry_flag="" 8394 else 8395 # If we're using GNU nm, then we don't want the "-C" option. 8396 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8397 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8398 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' 8399 else 8400 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' 8401 fi 8402 aix_use_runtimelinking=no 8403 8404 # Test if we are trying to use run time linking or normal 8405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8406 # need to do runtime linking. 8407 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8408 for ld_flag in $LDFLAGS; do 8409 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8410 aix_use_runtimelinking=yes 8411 break 8412 fi 8413 done 8414 ;; 8415 esac 8416 8417 exp_sym_flag='-bexport' 8418 no_entry_flag='-bnoentry' 8419 fi 8420 8421 # When large executables or shared objects are built, AIX ld can 8422 # have problems creating the table of contents. If linking a library 8423 # or program results in "error TOC overflow" add -mminimal-toc to 8424 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8425 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8426 8427 archive_cmds='' 8428 hardcode_direct=yes 8429 hardcode_direct_absolute=yes 8430 hardcode_libdir_separator=':' 8431 link_all_deplibs=yes 8432 file_list_spec='${wl}-f,' 8433 8434 if test "$GCC" = yes; then 8435 case $host_os in aix4.[012]|aix4.[012].*) 8436 # We only want to do this on AIX 4.2 and lower, the check 8437 # below for broken collect2 doesn't work under 4.3+ 8438 collect2name=`${CC} -print-prog-name=collect2` 8439 if test -f "$collect2name" && 8440 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8441 then 8442 # We have reworked collect2 8443 : 8444 else 8445 # We have old collect2 8446 hardcode_direct=unsupported 8447 # It fails to find uninstalled libraries when the uninstalled 8448 # path is not listed in the libpath. Setting hardcode_minus_L 8449 # to unsupported forces relinking 8450 hardcode_minus_L=yes 8451 hardcode_libdir_flag_spec='-L$libdir' 8452 hardcode_libdir_separator= 8453 fi 8454 ;; 8455 esac 8456 shared_flag='-shared' 8457 if test "$aix_use_runtimelinking" = yes; then 8458 shared_flag="$shared_flag "'${wl}-G' 8459 fi 8460 else 8461 # not using gcc 8462 if test "$host_cpu" = ia64; then 8463 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8464 # chokes on -Wl,-G. The following line is correct: 8465 shared_flag='-G' 8466 else 8467 if test "$aix_use_runtimelinking" = yes; then 8468 shared_flag='${wl}-G' 8469 else 8470 shared_flag='${wl}-bM:SRE' 8471 fi 8472 fi 8473 fi 8474 8475 export_dynamic_flag_spec='${wl}-bexpall' 8476 # It seems that -bexpall does not export symbols beginning with 8477 # underscore (_), so it is better to generate a list of symbols to export. 8478 always_export_symbols=yes 8479 if test "$aix_use_runtimelinking" = yes; then 8480 # Warning - without using the other runtime loading flags (-brtl), 8481 # -berok will link without error, but may produce a broken library. 8482 allow_undefined_flag='-berok' 8483 # Determine the default libpath from the value encoded in an 8484 # empty executable. 8485 cat >conftest.$ac_ext <<_ACEOF 8486/* confdefs.h. */ 8487_ACEOF 8488cat confdefs.h >>conftest.$ac_ext 8489cat >>conftest.$ac_ext <<_ACEOF 8490/* end confdefs.h. */ 8491 8492int 8493main () 8494{ 8495 8496 ; 8497 return 0; 8498} 8499_ACEOF 8500rm -f conftest.$ac_objext conftest$ac_exeext 8501if { (ac_try="$ac_link" 8502case "(($ac_try" in 8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8504 *) ac_try_echo=$ac_try;; 8505esac 8506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8507$as_echo "$ac_try_echo") >&5 8508 (eval "$ac_link") 2>conftest.er1 8509 ac_status=$? 8510 grep -v '^ *+' conftest.er1 >conftest.err 8511 rm -f conftest.er1 8512 cat conftest.err >&5 8513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8514 (exit $ac_status); } && { 8515 test -z "$ac_c_werror_flag" || 8516 test ! -s conftest.err 8517 } && test -s conftest$ac_exeext && { 8518 test "$cross_compiling" = yes || 8519 $as_test_x conftest$ac_exeext 8520 }; then 8521 8522lt_aix_libpath_sed=' 8523 /Import File Strings/,/^$/ { 8524 /^0/ { 8525 s/^0 *\(.*\)$/\1/ 8526 p 8527 } 8528 }' 8529aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8530# Check for a 64-bit object if we didn't find anything. 8531if test -z "$aix_libpath"; then 8532 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8533fi 8534else 8535 $as_echo "$as_me: failed program was:" >&5 8536sed 's/^/| /' conftest.$ac_ext >&5 8537 8538 8539fi 8540 8541rm -rf conftest.dSYM 8542rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8543 conftest$ac_exeext conftest.$ac_ext 8544if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8545 8546 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8547 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" 8548 else 8549 if test "$host_cpu" = ia64; then 8550 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8551 allow_undefined_flag="-z nodefs" 8552 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" 8553 else 8554 # Determine the default libpath from the value encoded in an 8555 # empty executable. 8556 cat >conftest.$ac_ext <<_ACEOF 8557/* confdefs.h. */ 8558_ACEOF 8559cat confdefs.h >>conftest.$ac_ext 8560cat >>conftest.$ac_ext <<_ACEOF 8561/* end confdefs.h. */ 8562 8563int 8564main () 8565{ 8566 8567 ; 8568 return 0; 8569} 8570_ACEOF 8571rm -f conftest.$ac_objext conftest$ac_exeext 8572if { (ac_try="$ac_link" 8573case "(($ac_try" in 8574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8575 *) ac_try_echo=$ac_try;; 8576esac 8577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8578$as_echo "$ac_try_echo") >&5 8579 (eval "$ac_link") 2>conftest.er1 8580 ac_status=$? 8581 grep -v '^ *+' conftest.er1 >conftest.err 8582 rm -f conftest.er1 8583 cat conftest.err >&5 8584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8585 (exit $ac_status); } && { 8586 test -z "$ac_c_werror_flag" || 8587 test ! -s conftest.err 8588 } && test -s conftest$ac_exeext && { 8589 test "$cross_compiling" = yes || 8590 $as_test_x conftest$ac_exeext 8591 }; then 8592 8593lt_aix_libpath_sed=' 8594 /Import File Strings/,/^$/ { 8595 /^0/ { 8596 s/^0 *\(.*\)$/\1/ 8597 p 8598 } 8599 }' 8600aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8601# Check for a 64-bit object if we didn't find anything. 8602if test -z "$aix_libpath"; then 8603 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8604fi 8605else 8606 $as_echo "$as_me: failed program was:" >&5 8607sed 's/^/| /' conftest.$ac_ext >&5 8608 8609 8610fi 8611 8612rm -rf conftest.dSYM 8613rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8614 conftest$ac_exeext conftest.$ac_ext 8615if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8616 8617 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8618 # Warning - without using the other run time loading flags, 8619 # -berok will link without error, but may produce a broken library. 8620 no_undefined_flag=' ${wl}-bernotok' 8621 allow_undefined_flag=' ${wl}-berok' 8622 # Exported symbols can be pulled into shared objects from archives 8623 whole_archive_flag_spec='$convenience' 8624 archive_cmds_need_lc=yes 8625 # This is similar to how AIX traditionally builds its shared libraries. 8626 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' 8627 fi 8628 fi 8629 ;; 8630 8631 amigaos*) 8632 case $host_cpu in 8633 powerpc) 8634 # see comment about AmigaOS4 .so support 8635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8636 archive_expsym_cmds='' 8637 ;; 8638 m68k) 8639 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)' 8640 hardcode_libdir_flag_spec='-L$libdir' 8641 hardcode_minus_L=yes 8642 ;; 8643 esac 8644 ;; 8645 8646 bsdi[45]*) 8647 export_dynamic_flag_spec=-rdynamic 8648 ;; 8649 8650 cygwin* | mingw* | pw32* | cegcc*) 8651 # When not using gcc, we currently assume that we are using 8652 # Microsoft Visual C++. 8653 # hardcode_libdir_flag_spec is actually meaningless, as there is 8654 # no search path for DLLs. 8655 hardcode_libdir_flag_spec=' ' 8656 allow_undefined_flag=unsupported 8657 # Tell ltmain to make .lib files, not .a files. 8658 libext=lib 8659 # Tell ltmain to make .dll files, not .so files. 8660 shrext_cmds=".dll" 8661 # FIXME: Setting linknames here is a bad hack. 8662 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8663 # The linker will automatically build a .lib file if we build a DLL. 8664 old_archive_from_new_cmds='true' 8665 # FIXME: Should let the user specify the lib program. 8666 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8667 fix_srcfile_path='`cygpath -w "$srcfile"`' 8668 enable_shared_with_static_runtimes=yes 8669 ;; 8670 8671 darwin* | rhapsody*) 8672 8673 8674 archive_cmds_need_lc=no 8675 hardcode_direct=no 8676 hardcode_automatic=yes 8677 hardcode_shlibpath_var=unsupported 8678 whole_archive_flag_spec='' 8679 link_all_deplibs=yes 8680 allow_undefined_flag="$_lt_dar_allow_undefined" 8681 case $cc_basename in 8682 ifort*) _lt_dar_can_shared=yes ;; 8683 *) _lt_dar_can_shared=$GCC ;; 8684 esac 8685 if test "$_lt_dar_can_shared" = "yes"; then 8686 output_verbose_link_cmd=echo 8687 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8688 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8689 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}" 8690 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}" 8691 8692 else 8693 ld_shlibs=no 8694 fi 8695 8696 ;; 8697 8698 dgux*) 8699 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8700 hardcode_libdir_flag_spec='-L$libdir' 8701 hardcode_shlibpath_var=no 8702 ;; 8703 8704 freebsd1*) 8705 ld_shlibs=no 8706 ;; 8707 8708 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8709 # support. Future versions do this automatically, but an explicit c++rt0.o 8710 # does not break anything, and helps significantly (at the cost of a little 8711 # extra space). 8712 freebsd2.2*) 8713 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8714 hardcode_libdir_flag_spec='-R$libdir' 8715 hardcode_direct=yes 8716 hardcode_shlibpath_var=no 8717 ;; 8718 8719 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8720 freebsd2*) 8721 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8722 hardcode_direct=yes 8723 hardcode_minus_L=yes 8724 hardcode_shlibpath_var=no 8725 ;; 8726 8727 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8728 freebsd* | dragonfly*) 8729 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8730 hardcode_libdir_flag_spec='-R$libdir' 8731 hardcode_direct=yes 8732 hardcode_shlibpath_var=no 8733 ;; 8734 8735 hpux9*) 8736 if test "$GCC" = yes; then 8737 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' 8738 else 8739 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' 8740 fi 8741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8742 hardcode_libdir_separator=: 8743 hardcode_direct=yes 8744 8745 # hardcode_minus_L: Not really in the search PATH, 8746 # but as the default location of the library. 8747 hardcode_minus_L=yes 8748 export_dynamic_flag_spec='${wl}-E' 8749 ;; 8750 8751 hpux10*) 8752 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8753 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8754 else 8755 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8756 fi 8757 if test "$with_gnu_ld" = no; then 8758 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8759 hardcode_libdir_flag_spec_ld='+b $libdir' 8760 hardcode_libdir_separator=: 8761 hardcode_direct=yes 8762 hardcode_direct_absolute=yes 8763 export_dynamic_flag_spec='${wl}-E' 8764 # hardcode_minus_L: Not really in the search PATH, 8765 # but as the default location of the library. 8766 hardcode_minus_L=yes 8767 fi 8768 ;; 8769 8770 hpux11*) 8771 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8772 case $host_cpu in 8773 hppa*64*) 8774 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8775 ;; 8776 ia64*) 8777 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8778 ;; 8779 *) 8780 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8781 ;; 8782 esac 8783 else 8784 case $host_cpu in 8785 hppa*64*) 8786 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8787 ;; 8788 ia64*) 8789 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8790 ;; 8791 *) 8792 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8793 ;; 8794 esac 8795 fi 8796 if test "$with_gnu_ld" = no; then 8797 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8798 hardcode_libdir_separator=: 8799 8800 case $host_cpu in 8801 hppa*64*|ia64*) 8802 hardcode_direct=no 8803 hardcode_shlibpath_var=no 8804 ;; 8805 *) 8806 hardcode_direct=yes 8807 hardcode_direct_absolute=yes 8808 export_dynamic_flag_spec='${wl}-E' 8809 8810 # hardcode_minus_L: Not really in the search PATH, 8811 # but as the default location of the library. 8812 hardcode_minus_L=yes 8813 ;; 8814 esac 8815 fi 8816 ;; 8817 8818 irix5* | irix6* | nonstopux*) 8819 if test "$GCC" = yes; then 8820 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' 8821 # Try to use the -exported_symbol ld option, if it does not 8822 # work, assume that -exports_file does not work either and 8823 # implicitly export all symbols. 8824 save_LDFLAGS="$LDFLAGS" 8825 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8826 cat >conftest.$ac_ext <<_ACEOF 8827int foo(void) {} 8828_ACEOF 8829rm -f conftest.$ac_objext conftest$ac_exeext 8830if { (ac_try="$ac_link" 8831case "(($ac_try" in 8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8833 *) ac_try_echo=$ac_try;; 8834esac 8835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8836$as_echo "$ac_try_echo") >&5 8837 (eval "$ac_link") 2>conftest.er1 8838 ac_status=$? 8839 grep -v '^ *+' conftest.er1 >conftest.err 8840 rm -f conftest.er1 8841 cat conftest.err >&5 8842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8843 (exit $ac_status); } && { 8844 test -z "$ac_c_werror_flag" || 8845 test ! -s conftest.err 8846 } && test -s conftest$ac_exeext && { 8847 test "$cross_compiling" = yes || 8848 $as_test_x conftest$ac_exeext 8849 }; then 8850 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' 8851 8852else 8853 $as_echo "$as_me: failed program was:" >&5 8854sed 's/^/| /' conftest.$ac_ext >&5 8855 8856 8857fi 8858 8859rm -rf conftest.dSYM 8860rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8861 conftest$ac_exeext conftest.$ac_ext 8862 LDFLAGS="$save_LDFLAGS" 8863 else 8864 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' 8865 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' 8866 fi 8867 archive_cmds_need_lc='no' 8868 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8869 hardcode_libdir_separator=: 8870 inherit_rpath=yes 8871 link_all_deplibs=yes 8872 ;; 8873 8874 netbsd*) 8875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8876 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8877 else 8878 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8879 fi 8880 hardcode_libdir_flag_spec='-R$libdir' 8881 hardcode_direct=yes 8882 hardcode_shlibpath_var=no 8883 ;; 8884 8885 newsos6) 8886 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8887 hardcode_direct=yes 8888 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8889 hardcode_libdir_separator=: 8890 hardcode_shlibpath_var=no 8891 ;; 8892 8893 *nto* | *qnx*) 8894 ;; 8895 8896 openbsd*) 8897 if test -f /usr/libexec/ld.so; then 8898 hardcode_direct=yes 8899 hardcode_shlibpath_var=no 8900 hardcode_direct_absolute=yes 8901 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8902 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8903 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8904 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8905 export_dynamic_flag_spec='${wl}-E' 8906 else 8907 case $host_os in 8908 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8909 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8910 hardcode_libdir_flag_spec='-R$libdir' 8911 ;; 8912 *) 8913 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8914 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8915 ;; 8916 esac 8917 fi 8918 else 8919 ld_shlibs=no 8920 fi 8921 ;; 8922 8923 os2*) 8924 hardcode_libdir_flag_spec='-L$libdir' 8925 hardcode_minus_L=yes 8926 allow_undefined_flag=unsupported 8927 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' 8928 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8929 ;; 8930 8931 osf3*) 8932 if test "$GCC" = yes; then 8933 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8934 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' 8935 else 8936 allow_undefined_flag=' -expect_unresolved \*' 8937 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' 8938 fi 8939 archive_cmds_need_lc='no' 8940 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8941 hardcode_libdir_separator=: 8942 ;; 8943 8944 osf4* | osf5*) # as osf3* with the addition of -msym flag 8945 if test "$GCC" = yes; then 8946 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8947 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' 8948 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8949 else 8950 allow_undefined_flag=' -expect_unresolved \*' 8951 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' 8952 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~ 8953 $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' 8954 8955 # Both c and cxx compiler support -rpath directly 8956 hardcode_libdir_flag_spec='-rpath $libdir' 8957 fi 8958 archive_cmds_need_lc='no' 8959 hardcode_libdir_separator=: 8960 ;; 8961 8962 solaris*) 8963 no_undefined_flag=' -z defs' 8964 if test "$GCC" = yes; then 8965 wlarc='${wl}' 8966 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8967 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8968 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8969 else 8970 case `$CC -V 2>&1` in 8971 *"Compilers 5.0"*) 8972 wlarc='' 8973 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8974 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8975 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8976 ;; 8977 *) 8978 wlarc='${wl}' 8979 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8980 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8981 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8982 ;; 8983 esac 8984 fi 8985 hardcode_libdir_flag_spec='-R$libdir' 8986 hardcode_shlibpath_var=no 8987 case $host_os in 8988 solaris2.[0-5] | solaris2.[0-5].*) ;; 8989 *) 8990 # The compiler driver will combine and reorder linker options, 8991 # but understands `-z linker_flag'. GCC discards it without `$wl', 8992 # but is careful enough not to reorder. 8993 # Supported since Solaris 2.6 (maybe 2.5.1?) 8994 if test "$GCC" = yes; then 8995 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8996 else 8997 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8998 fi 8999 ;; 9000 esac 9001 link_all_deplibs=yes 9002 ;; 9003 9004 sunos4*) 9005 if test "x$host_vendor" = xsequent; then 9006 # Use $CC to link under sequent, because it throws in some extra .o 9007 # files that make .init and .fini sections work. 9008 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9009 else 9010 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9011 fi 9012 hardcode_libdir_flag_spec='-L$libdir' 9013 hardcode_direct=yes 9014 hardcode_minus_L=yes 9015 hardcode_shlibpath_var=no 9016 ;; 9017 9018 sysv4) 9019 case $host_vendor in 9020 sni) 9021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9022 hardcode_direct=yes # is this really true??? 9023 ;; 9024 siemens) 9025 ## LD is ld it makes a PLAMLIB 9026 ## CC just makes a GrossModule. 9027 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9028 reload_cmds='$CC -r -o $output$reload_objs' 9029 hardcode_direct=no 9030 ;; 9031 motorola) 9032 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9033 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9034 ;; 9035 esac 9036 runpath_var='LD_RUN_PATH' 9037 hardcode_shlibpath_var=no 9038 ;; 9039 9040 sysv4.3*) 9041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9042 hardcode_shlibpath_var=no 9043 export_dynamic_flag_spec='-Bexport' 9044 ;; 9045 9046 sysv4*MP*) 9047 if test -d /usr/nec; then 9048 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9049 hardcode_shlibpath_var=no 9050 runpath_var=LD_RUN_PATH 9051 hardcode_runpath_var=yes 9052 ld_shlibs=yes 9053 fi 9054 ;; 9055 9056 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9057 no_undefined_flag='${wl}-z,text' 9058 archive_cmds_need_lc=no 9059 hardcode_shlibpath_var=no 9060 runpath_var='LD_RUN_PATH' 9061 9062 if test "$GCC" = yes; then 9063 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9064 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9065 else 9066 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9067 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9068 fi 9069 ;; 9070 9071 sysv5* | sco3.2v5* | sco5v6*) 9072 # Note: We can NOT use -z defs as we might desire, because we do not 9073 # link with -lc, and that would cause any symbols used from libc to 9074 # always be unresolved, which means just about no library would 9075 # ever link correctly. If we're not using GNU ld we use -z text 9076 # though, which does catch some bad symbols but isn't as heavy-handed 9077 # as -z defs. 9078 no_undefined_flag='${wl}-z,text' 9079 allow_undefined_flag='${wl}-z,nodefs' 9080 archive_cmds_need_lc=no 9081 hardcode_shlibpath_var=no 9082 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9083 hardcode_libdir_separator=':' 9084 link_all_deplibs=yes 9085 export_dynamic_flag_spec='${wl}-Bexport' 9086 runpath_var='LD_RUN_PATH' 9087 9088 if test "$GCC" = yes; then 9089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9091 else 9092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9094 fi 9095 ;; 9096 9097 uts4*) 9098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9099 hardcode_libdir_flag_spec='-L$libdir' 9100 hardcode_shlibpath_var=no 9101 ;; 9102 9103 *) 9104 ld_shlibs=no 9105 ;; 9106 esac 9107 9108 if test x$host_vendor = xsni; then 9109 case $host in 9110 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9111 export_dynamic_flag_spec='${wl}-Blargedynsym' 9112 ;; 9113 esac 9114 fi 9115 fi 9116 9117{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9118$as_echo "$ld_shlibs" >&6; } 9119test "$ld_shlibs" = no && can_build_shared=no 9120 9121with_gnu_ld=$with_gnu_ld 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137# 9138# Do we need to explicitly link libc? 9139# 9140case "x$archive_cmds_need_lc" in 9141x|xyes) 9142 # Assume -lc should be added 9143 archive_cmds_need_lc=yes 9144 9145 if test "$enable_shared" = yes && test "$GCC" = yes; then 9146 case $archive_cmds in 9147 *'~'*) 9148 # FIXME: we may have to deal with multi-command sequences. 9149 ;; 9150 '$CC '*) 9151 # Test whether the compiler implicitly links with -lc since on some 9152 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9153 # to ld, don't add -lc before -lgcc. 9154 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9155$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9156 $RM conftest* 9157 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9158 9159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9160 (eval $ac_compile) 2>&5 9161 ac_status=$? 9162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9163 (exit $ac_status); } 2>conftest.err; then 9164 soname=conftest 9165 lib=conftest 9166 libobjs=conftest.$ac_objext 9167 deplibs= 9168 wl=$lt_prog_compiler_wl 9169 pic_flag=$lt_prog_compiler_pic 9170 compiler_flags=-v 9171 linker_flags=-v 9172 verstring= 9173 output_objdir=. 9174 libname=conftest 9175 lt_save_allow_undefined_flag=$allow_undefined_flag 9176 allow_undefined_flag= 9177 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9178 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9179 ac_status=$? 9180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9181 (exit $ac_status); } 9182 then 9183 archive_cmds_need_lc=no 9184 else 9185 archive_cmds_need_lc=yes 9186 fi 9187 allow_undefined_flag=$lt_save_allow_undefined_flag 9188 else 9189 cat conftest.err 1>&5 9190 fi 9191 $RM conftest* 9192 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9193$as_echo "$archive_cmds_need_lc" >&6; } 9194 ;; 9195 esac 9196 fi 9197 ;; 9198esac 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9357$as_echo_n "checking dynamic linker characteristics... " >&6; } 9358 9359if test "$GCC" = yes; then 9360 case $host_os in 9361 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9362 *) lt_awk_arg="/^libraries:/" ;; 9363 esac 9364 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9365 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9366 # if the path contains ";" then we assume it to be the separator 9367 # otherwise default to the standard path separator (i.e. ":") - it is 9368 # assumed that no part of a normal pathname contains ";" but that should 9369 # okay in the real world where ";" in dirpaths is itself problematic. 9370 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9371 else 9372 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9373 fi 9374 # Ok, now we have the path, separated by spaces, we can step through it 9375 # and add multilib dir if necessary. 9376 lt_tmp_lt_search_path_spec= 9377 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9378 for lt_sys_path in $lt_search_path_spec; do 9379 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9380 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9381 else 9382 test -d "$lt_sys_path" && \ 9383 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9384 fi 9385 done 9386 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9387BEGIN {RS=" "; FS="/|\n";} { 9388 lt_foo=""; 9389 lt_count=0; 9390 for (lt_i = NF; lt_i > 0; lt_i--) { 9391 if ($lt_i != "" && $lt_i != ".") { 9392 if ($lt_i == "..") { 9393 lt_count++; 9394 } else { 9395 if (lt_count == 0) { 9396 lt_foo="/" $lt_i lt_foo; 9397 } else { 9398 lt_count--; 9399 } 9400 } 9401 } 9402 } 9403 if (lt_foo != "") { lt_freq[lt_foo]++; } 9404 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9405}'` 9406 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9407else 9408 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9409fi 9410library_names_spec= 9411libname_spec='lib$name' 9412soname_spec= 9413shrext_cmds=".so" 9414postinstall_cmds= 9415postuninstall_cmds= 9416finish_cmds= 9417finish_eval= 9418shlibpath_var= 9419shlibpath_overrides_runpath=unknown 9420version_type=none 9421dynamic_linker="$host_os ld.so" 9422sys_lib_dlsearch_path_spec="/lib /usr/lib" 9423need_lib_prefix=unknown 9424hardcode_into_libs=no 9425 9426# when you set need_version to no, make sure it does not cause -set_version 9427# flags to be left without arguments 9428need_version=unknown 9429 9430case $host_os in 9431aix3*) 9432 version_type=linux 9433 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9434 shlibpath_var=LIBPATH 9435 9436 # AIX 3 has no versioning support, so we append a major version to the name. 9437 soname_spec='${libname}${release}${shared_ext}$major' 9438 ;; 9439 9440aix[4-9]*) 9441 version_type=linux 9442 need_lib_prefix=no 9443 need_version=no 9444 hardcode_into_libs=yes 9445 if test "$host_cpu" = ia64; then 9446 # AIX 5 supports IA64 9447 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9448 shlibpath_var=LD_LIBRARY_PATH 9449 else 9450 # With GCC up to 2.95.x, collect2 would create an import file 9451 # for dependence libraries. The import file would start with 9452 # the line `#! .'. This would cause the generated library to 9453 # depend on `.', always an invalid library. This was fixed in 9454 # development snapshots of GCC prior to 3.0. 9455 case $host_os in 9456 aix4 | aix4.[01] | aix4.[01].*) 9457 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9458 echo ' yes ' 9459 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9460 : 9461 else 9462 can_build_shared=no 9463 fi 9464 ;; 9465 esac 9466 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9467 # soname into executable. Probably we can add versioning support to 9468 # collect2, so additional links can be useful in future. 9469 if test "$aix_use_runtimelinking" = yes; then 9470 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9471 # instead of lib<name>.a to let people know that these are not 9472 # typical AIX shared libraries. 9473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9474 else 9475 # We preserve .a as extension for shared libraries through AIX4.2 9476 # and later when we are not doing run time linking. 9477 library_names_spec='${libname}${release}.a $libname.a' 9478 soname_spec='${libname}${release}${shared_ext}$major' 9479 fi 9480 shlibpath_var=LIBPATH 9481 fi 9482 ;; 9483 9484amigaos*) 9485 case $host_cpu in 9486 powerpc) 9487 # Since July 2007 AmigaOS4 officially supports .so libraries. 9488 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9490 ;; 9491 m68k) 9492 library_names_spec='$libname.ixlibrary $libname.a' 9493 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9494 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' 9495 ;; 9496 esac 9497 ;; 9498 9499beos*) 9500 library_names_spec='${libname}${shared_ext}' 9501 dynamic_linker="$host_os ld.so" 9502 shlibpath_var=LIBRARY_PATH 9503 ;; 9504 9505bsdi[45]*) 9506 version_type=linux 9507 need_version=no 9508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9509 soname_spec='${libname}${release}${shared_ext}$major' 9510 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9511 shlibpath_var=LD_LIBRARY_PATH 9512 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9513 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9514 # the default ld.so.conf also contains /usr/contrib/lib and 9515 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9516 # libtool to hard-code these into programs 9517 ;; 9518 9519cygwin* | mingw* | pw32* | cegcc*) 9520 version_type=windows 9521 shrext_cmds=".dll" 9522 need_version=no 9523 need_lib_prefix=no 9524 9525 case $GCC,$host_os in 9526 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9527 library_names_spec='$libname.dll.a' 9528 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9529 postinstall_cmds='base_file=`basename \${file}`~ 9530 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9531 dldir=$destdir/`dirname \$dlpath`~ 9532 test -d \$dldir || mkdir -p \$dldir~ 9533 $install_prog $dir/$dlname \$dldir/$dlname~ 9534 chmod a+x \$dldir/$dlname~ 9535 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9536 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9537 fi' 9538 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9539 dlpath=$dir/\$dldll~ 9540 $RM \$dlpath' 9541 shlibpath_overrides_runpath=yes 9542 9543 case $host_os in 9544 cygwin*) 9545 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9546 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9547 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9548 ;; 9549 mingw* | cegcc*) 9550 # MinGW DLLs use traditional 'lib' prefix 9551 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9552 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9553 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9554 # It is most probably a Windows format PATH printed by 9555 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9556 # path with ; separators, and with drive letters. We can handle the 9557 # drive letters (cygwin fileutils understands them), so leave them, 9558 # especially as we might pass files found there to a mingw objdump, 9559 # which wouldn't understand a cygwinified path. Ahh. 9560 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9561 else 9562 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9563 fi 9564 ;; 9565 pw32*) 9566 # pw32 DLLs use 'pw' prefix rather than 'lib' 9567 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9568 ;; 9569 esac 9570 ;; 9571 9572 *) 9573 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9574 ;; 9575 esac 9576 dynamic_linker='Win32 ld.exe' 9577 # FIXME: first we should search . and the directory the executable is in 9578 shlibpath_var=PATH 9579 ;; 9580 9581darwin* | rhapsody*) 9582 dynamic_linker="$host_os dyld" 9583 version_type=darwin 9584 need_lib_prefix=no 9585 need_version=no 9586 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9587 soname_spec='${libname}${release}${major}$shared_ext' 9588 shlibpath_overrides_runpath=yes 9589 shlibpath_var=DYLD_LIBRARY_PATH 9590 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9591 9592 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9593 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9594 ;; 9595 9596dgux*) 9597 version_type=linux 9598 need_lib_prefix=no 9599 need_version=no 9600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9601 soname_spec='${libname}${release}${shared_ext}$major' 9602 shlibpath_var=LD_LIBRARY_PATH 9603 ;; 9604 9605freebsd1*) 9606 dynamic_linker=no 9607 ;; 9608 9609freebsd* | dragonfly*) 9610 # DragonFly does not have aout. When/if they implement a new 9611 # versioning mechanism, adjust this. 9612 if test -x /usr/bin/objformat; then 9613 objformat=`/usr/bin/objformat` 9614 else 9615 case $host_os in 9616 freebsd[123]*) objformat=aout ;; 9617 *) objformat=elf ;; 9618 esac 9619 fi 9620 version_type=freebsd-$objformat 9621 case $version_type in 9622 freebsd-elf*) 9623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9624 need_version=no 9625 need_lib_prefix=no 9626 ;; 9627 freebsd-*) 9628 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9629 need_version=yes 9630 ;; 9631 esac 9632 shlibpath_var=LD_LIBRARY_PATH 9633 case $host_os in 9634 freebsd2*) 9635 shlibpath_overrides_runpath=yes 9636 ;; 9637 freebsd3.[01]* | freebsdelf3.[01]*) 9638 shlibpath_overrides_runpath=yes 9639 hardcode_into_libs=yes 9640 ;; 9641 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9642 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9643 shlibpath_overrides_runpath=no 9644 hardcode_into_libs=yes 9645 ;; 9646 *) # from 4.6 on, and DragonFly 9647 shlibpath_overrides_runpath=yes 9648 hardcode_into_libs=yes 9649 ;; 9650 esac 9651 ;; 9652 9653gnu*) 9654 version_type=linux 9655 need_lib_prefix=no 9656 need_version=no 9657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9658 soname_spec='${libname}${release}${shared_ext}$major' 9659 shlibpath_var=LD_LIBRARY_PATH 9660 hardcode_into_libs=yes 9661 ;; 9662 9663hpux9* | hpux10* | hpux11*) 9664 # Give a soname corresponding to the major version so that dld.sl refuses to 9665 # link against other versions. 9666 version_type=sunos 9667 need_lib_prefix=no 9668 need_version=no 9669 case $host_cpu in 9670 ia64*) 9671 shrext_cmds='.so' 9672 hardcode_into_libs=yes 9673 dynamic_linker="$host_os dld.so" 9674 shlibpath_var=LD_LIBRARY_PATH 9675 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9677 soname_spec='${libname}${release}${shared_ext}$major' 9678 if test "X$HPUX_IA64_MODE" = X32; then 9679 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9680 else 9681 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9682 fi 9683 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9684 ;; 9685 hppa*64*) 9686 shrext_cmds='.sl' 9687 hardcode_into_libs=yes 9688 dynamic_linker="$host_os dld.sl" 9689 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9692 soname_spec='${libname}${release}${shared_ext}$major' 9693 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9694 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9695 ;; 9696 *) 9697 shrext_cmds='.sl' 9698 dynamic_linker="$host_os dld.sl" 9699 shlibpath_var=SHLIB_PATH 9700 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9702 soname_spec='${libname}${release}${shared_ext}$major' 9703 ;; 9704 esac 9705 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9706 postinstall_cmds='chmod 555 $lib' 9707 ;; 9708 9709interix[3-9]*) 9710 version_type=linux 9711 need_lib_prefix=no 9712 need_version=no 9713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9714 soname_spec='${libname}${release}${shared_ext}$major' 9715 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9716 shlibpath_var=LD_LIBRARY_PATH 9717 shlibpath_overrides_runpath=no 9718 hardcode_into_libs=yes 9719 ;; 9720 9721irix5* | irix6* | nonstopux*) 9722 case $host_os in 9723 nonstopux*) version_type=nonstopux ;; 9724 *) 9725 if test "$lt_cv_prog_gnu_ld" = yes; then 9726 version_type=linux 9727 else 9728 version_type=irix 9729 fi ;; 9730 esac 9731 need_lib_prefix=no 9732 need_version=no 9733 soname_spec='${libname}${release}${shared_ext}$major' 9734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9735 case $host_os in 9736 irix5* | nonstopux*) 9737 libsuff= shlibsuff= 9738 ;; 9739 *) 9740 case $LD in # libtool.m4 will add one of these switches to LD 9741 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9742 libsuff= shlibsuff= libmagic=32-bit;; 9743 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9744 libsuff=32 shlibsuff=N32 libmagic=N32;; 9745 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9746 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9747 *) libsuff= shlibsuff= libmagic=never-match;; 9748 esac 9749 ;; 9750 esac 9751 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9752 shlibpath_overrides_runpath=no 9753 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9754 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9755 hardcode_into_libs=yes 9756 ;; 9757 9758# No shared lib support for Linux oldld, aout, or coff. 9759linux*oldld* | linux*aout* | linux*coff*) 9760 dynamic_linker=no 9761 ;; 9762 9763# This must be Linux ELF. 9764linux* | k*bsd*-gnu) 9765 version_type=linux 9766 need_lib_prefix=no 9767 need_version=no 9768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9769 soname_spec='${libname}${release}${shared_ext}$major' 9770 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9771 shlibpath_var=LD_LIBRARY_PATH 9772 shlibpath_overrides_runpath=no 9773 # Some binutils ld are patched to set DT_RUNPATH 9774 save_LDFLAGS=$LDFLAGS 9775 save_libdir=$libdir 9776 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9777 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9778 cat >conftest.$ac_ext <<_ACEOF 9779/* confdefs.h. */ 9780_ACEOF 9781cat confdefs.h >>conftest.$ac_ext 9782cat >>conftest.$ac_ext <<_ACEOF 9783/* end confdefs.h. */ 9784 9785int 9786main () 9787{ 9788 9789 ; 9790 return 0; 9791} 9792_ACEOF 9793rm -f conftest.$ac_objext conftest$ac_exeext 9794if { (ac_try="$ac_link" 9795case "(($ac_try" in 9796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9797 *) ac_try_echo=$ac_try;; 9798esac 9799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9800$as_echo "$ac_try_echo") >&5 9801 (eval "$ac_link") 2>conftest.er1 9802 ac_status=$? 9803 grep -v '^ *+' conftest.er1 >conftest.err 9804 rm -f conftest.er1 9805 cat conftest.err >&5 9806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9807 (exit $ac_status); } && { 9808 test -z "$ac_c_werror_flag" || 9809 test ! -s conftest.err 9810 } && test -s conftest$ac_exeext && { 9811 test "$cross_compiling" = yes || 9812 $as_test_x conftest$ac_exeext 9813 }; then 9814 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 9815 shlibpath_overrides_runpath=yes 9816fi 9817 9818else 9819 $as_echo "$as_me: failed program was:" >&5 9820sed 's/^/| /' conftest.$ac_ext >&5 9821 9822 9823fi 9824 9825rm -rf conftest.dSYM 9826rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9827 conftest$ac_exeext conftest.$ac_ext 9828 LDFLAGS=$save_LDFLAGS 9829 libdir=$save_libdir 9830 9831 # This implies no fast_install, which is unacceptable. 9832 # Some rework will be needed to allow for fast_install 9833 # before this can be enabled. 9834 hardcode_into_libs=yes 9835 9836 # Append ld.so.conf contents to the search path 9837 if test -f /etc/ld.so.conf; then 9838 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' ' '` 9839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9840 fi 9841 9842 # We used to test for /lib/ld.so.1 and disable shared libraries on 9843 # powerpc, because MkLinux only supported shared libraries with the 9844 # GNU dynamic linker. Since this was broken with cross compilers, 9845 # most powerpc-linux boxes support dynamic linking these days and 9846 # people can always --disable-shared, the test was removed, and we 9847 # assume the GNU/Linux dynamic linker is in use. 9848 dynamic_linker='GNU/Linux ld.so' 9849 ;; 9850 9851netbsd*) 9852 version_type=sunos 9853 need_lib_prefix=no 9854 need_version=no 9855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9858 dynamic_linker='NetBSD (a.out) ld.so' 9859 else 9860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9861 soname_spec='${libname}${release}${shared_ext}$major' 9862 dynamic_linker='NetBSD ld.elf_so' 9863 fi 9864 shlibpath_var=LD_LIBRARY_PATH 9865 shlibpath_overrides_runpath=yes 9866 hardcode_into_libs=yes 9867 ;; 9868 9869newsos6) 9870 version_type=linux 9871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9872 shlibpath_var=LD_LIBRARY_PATH 9873 shlibpath_overrides_runpath=yes 9874 ;; 9875 9876*nto* | *qnx*) 9877 version_type=qnx 9878 need_lib_prefix=no 9879 need_version=no 9880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9881 soname_spec='${libname}${release}${shared_ext}$major' 9882 shlibpath_var=LD_LIBRARY_PATH 9883 shlibpath_overrides_runpath=no 9884 hardcode_into_libs=yes 9885 dynamic_linker='ldqnx.so' 9886 ;; 9887 9888openbsd*) 9889 version_type=sunos 9890 sys_lib_dlsearch_path_spec="/usr/lib" 9891 need_lib_prefix=no 9892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9893 case $host_os in 9894 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9895 *) need_version=no ;; 9896 esac 9897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9899 shlibpath_var=LD_LIBRARY_PATH 9900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9901 case $host_os in 9902 openbsd2.[89] | openbsd2.[89].*) 9903 shlibpath_overrides_runpath=no 9904 ;; 9905 *) 9906 shlibpath_overrides_runpath=yes 9907 ;; 9908 esac 9909 else 9910 shlibpath_overrides_runpath=yes 9911 fi 9912 ;; 9913 9914os2*) 9915 libname_spec='$name' 9916 shrext_cmds=".dll" 9917 need_lib_prefix=no 9918 library_names_spec='$libname${shared_ext} $libname.a' 9919 dynamic_linker='OS/2 ld.exe' 9920 shlibpath_var=LIBPATH 9921 ;; 9922 9923osf3* | osf4* | osf5*) 9924 version_type=osf 9925 need_lib_prefix=no 9926 need_version=no 9927 soname_spec='${libname}${release}${shared_ext}$major' 9928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9929 shlibpath_var=LD_LIBRARY_PATH 9930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9932 ;; 9933 9934rdos*) 9935 dynamic_linker=no 9936 ;; 9937 9938solaris*) 9939 version_type=linux 9940 need_lib_prefix=no 9941 need_version=no 9942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9943 soname_spec='${libname}${release}${shared_ext}$major' 9944 shlibpath_var=LD_LIBRARY_PATH 9945 shlibpath_overrides_runpath=yes 9946 hardcode_into_libs=yes 9947 # ldd complains unless libraries are executable 9948 postinstall_cmds='chmod +x $lib' 9949 ;; 9950 9951sunos4*) 9952 version_type=sunos 9953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9955 shlibpath_var=LD_LIBRARY_PATH 9956 shlibpath_overrides_runpath=yes 9957 if test "$with_gnu_ld" = yes; then 9958 need_lib_prefix=no 9959 fi 9960 need_version=yes 9961 ;; 9962 9963sysv4 | sysv4.3*) 9964 version_type=linux 9965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9966 soname_spec='${libname}${release}${shared_ext}$major' 9967 shlibpath_var=LD_LIBRARY_PATH 9968 case $host_vendor in 9969 sni) 9970 shlibpath_overrides_runpath=no 9971 need_lib_prefix=no 9972 runpath_var=LD_RUN_PATH 9973 ;; 9974 siemens) 9975 need_lib_prefix=no 9976 ;; 9977 motorola) 9978 need_lib_prefix=no 9979 need_version=no 9980 shlibpath_overrides_runpath=no 9981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9982 ;; 9983 esac 9984 ;; 9985 9986sysv4*MP*) 9987 if test -d /usr/nec ;then 9988 version_type=linux 9989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9990 soname_spec='$libname${shared_ext}.$major' 9991 shlibpath_var=LD_LIBRARY_PATH 9992 fi 9993 ;; 9994 9995sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9996 version_type=freebsd-elf 9997 need_lib_prefix=no 9998 need_version=no 9999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10000 soname_spec='${libname}${release}${shared_ext}$major' 10001 shlibpath_var=LD_LIBRARY_PATH 10002 shlibpath_overrides_runpath=yes 10003 hardcode_into_libs=yes 10004 if test "$with_gnu_ld" = yes; then 10005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10006 else 10007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10008 case $host_os in 10009 sco3.2v5*) 10010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10011 ;; 10012 esac 10013 fi 10014 sys_lib_dlsearch_path_spec='/usr/lib' 10015 ;; 10016 10017tpf*) 10018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10019 version_type=linux 10020 need_lib_prefix=no 10021 need_version=no 10022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10023 shlibpath_var=LD_LIBRARY_PATH 10024 shlibpath_overrides_runpath=no 10025 hardcode_into_libs=yes 10026 ;; 10027 10028uts4*) 10029 version_type=linux 10030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10031 soname_spec='${libname}${release}${shared_ext}$major' 10032 shlibpath_var=LD_LIBRARY_PATH 10033 ;; 10034 10035*) 10036 dynamic_linker=no 10037 ;; 10038esac 10039{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10040$as_echo "$dynamic_linker" >&6; } 10041test "$dynamic_linker" = no && can_build_shared=no 10042 10043variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10044if test "$GCC" = yes; then 10045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10046fi 10047 10048if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10050fi 10051if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10053fi 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10142$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10143hardcode_action= 10144if test -n "$hardcode_libdir_flag_spec" || 10145 test -n "$runpath_var" || 10146 test "X$hardcode_automatic" = "Xyes" ; then 10147 10148 # We can hardcode non-existent directories. 10149 if test "$hardcode_direct" != no && 10150 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10151 # have to relink, otherwise we might link with an installed library 10152 # when we should be linking with a yet-to-be-installed one 10153 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10154 test "$hardcode_minus_L" != no; then 10155 # Linking always hardcodes the temporary library directory. 10156 hardcode_action=relink 10157 else 10158 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10159 hardcode_action=immediate 10160 fi 10161else 10162 # We cannot hardcode anything, or else we can only hardcode existing 10163 # directories. 10164 hardcode_action=unsupported 10165fi 10166{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10167$as_echo "$hardcode_action" >&6; } 10168 10169if test "$hardcode_action" = relink || 10170 test "$inherit_rpath" = yes; then 10171 # Fast installation is not supported 10172 enable_fast_install=no 10173elif test "$shlibpath_overrides_runpath" = yes || 10174 test "$enable_shared" = no; then 10175 # Fast installation is not necessary 10176 enable_fast_install=needless 10177fi 10178 10179 10180 10181 10182 10183 10184 if test "x$enable_dlopen" != xyes; then 10185 enable_dlopen=unknown 10186 enable_dlopen_self=unknown 10187 enable_dlopen_self_static=unknown 10188else 10189 lt_cv_dlopen=no 10190 lt_cv_dlopen_libs= 10191 10192 case $host_os in 10193 beos*) 10194 lt_cv_dlopen="load_add_on" 10195 lt_cv_dlopen_libs= 10196 lt_cv_dlopen_self=yes 10197 ;; 10198 10199 mingw* | pw32* | cegcc*) 10200 lt_cv_dlopen="LoadLibrary" 10201 lt_cv_dlopen_libs= 10202 ;; 10203 10204 cygwin*) 10205 lt_cv_dlopen="dlopen" 10206 lt_cv_dlopen_libs= 10207 ;; 10208 10209 darwin*) 10210 # if libdl is installed we need to link against it 10211 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10212$as_echo_n "checking for dlopen in -ldl... " >&6; } 10213if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10214 $as_echo_n "(cached) " >&6 10215else 10216 ac_check_lib_save_LIBS=$LIBS 10217LIBS="-ldl $LIBS" 10218cat >conftest.$ac_ext <<_ACEOF 10219/* confdefs.h. */ 10220_ACEOF 10221cat confdefs.h >>conftest.$ac_ext 10222cat >>conftest.$ac_ext <<_ACEOF 10223/* end confdefs.h. */ 10224 10225/* Override any GCC internal prototype to avoid an error. 10226 Use char because int might match the return type of a GCC 10227 builtin and then its argument prototype would still apply. */ 10228#ifdef __cplusplus 10229extern "C" 10230#endif 10231char dlopen (); 10232int 10233main () 10234{ 10235return dlopen (); 10236 ; 10237 return 0; 10238} 10239_ACEOF 10240rm -f conftest.$ac_objext conftest$ac_exeext 10241if { (ac_try="$ac_link" 10242case "(($ac_try" in 10243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10244 *) ac_try_echo=$ac_try;; 10245esac 10246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10247$as_echo "$ac_try_echo") >&5 10248 (eval "$ac_link") 2>conftest.er1 10249 ac_status=$? 10250 grep -v '^ *+' conftest.er1 >conftest.err 10251 rm -f conftest.er1 10252 cat conftest.err >&5 10253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10254 (exit $ac_status); } && { 10255 test -z "$ac_c_werror_flag" || 10256 test ! -s conftest.err 10257 } && test -s conftest$ac_exeext && { 10258 test "$cross_compiling" = yes || 10259 $as_test_x conftest$ac_exeext 10260 }; then 10261 ac_cv_lib_dl_dlopen=yes 10262else 10263 $as_echo "$as_me: failed program was:" >&5 10264sed 's/^/| /' conftest.$ac_ext >&5 10265 10266 ac_cv_lib_dl_dlopen=no 10267fi 10268 10269rm -rf conftest.dSYM 10270rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10271 conftest$ac_exeext conftest.$ac_ext 10272LIBS=$ac_check_lib_save_LIBS 10273fi 10274{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10275$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10276if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10277 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10278else 10279 10280 lt_cv_dlopen="dyld" 10281 lt_cv_dlopen_libs= 10282 lt_cv_dlopen_self=yes 10283 10284fi 10285 10286 ;; 10287 10288 *) 10289 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 10290$as_echo_n "checking for shl_load... " >&6; } 10291if test "${ac_cv_func_shl_load+set}" = set; then 10292 $as_echo_n "(cached) " >&6 10293else 10294 cat >conftest.$ac_ext <<_ACEOF 10295/* confdefs.h. */ 10296_ACEOF 10297cat confdefs.h >>conftest.$ac_ext 10298cat >>conftest.$ac_ext <<_ACEOF 10299/* end confdefs.h. */ 10300/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10301 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10302#define shl_load innocuous_shl_load 10303 10304/* System header to define __stub macros and hopefully few prototypes, 10305 which can conflict with char shl_load (); below. 10306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10307 <limits.h> exists even on freestanding compilers. */ 10308 10309#ifdef __STDC__ 10310# include <limits.h> 10311#else 10312# include <assert.h> 10313#endif 10314 10315#undef shl_load 10316 10317/* Override any GCC internal prototype to avoid an error. 10318 Use char because int might match the return type of a GCC 10319 builtin and then its argument prototype would still apply. */ 10320#ifdef __cplusplus 10321extern "C" 10322#endif 10323char shl_load (); 10324/* The GNU C library defines this for functions which it implements 10325 to always fail with ENOSYS. Some functions are actually named 10326 something starting with __ and the normal name is an alias. */ 10327#if defined __stub_shl_load || defined __stub___shl_load 10328choke me 10329#endif 10330 10331int 10332main () 10333{ 10334return shl_load (); 10335 ; 10336 return 0; 10337} 10338_ACEOF 10339rm -f conftest.$ac_objext conftest$ac_exeext 10340if { (ac_try="$ac_link" 10341case "(($ac_try" in 10342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10343 *) ac_try_echo=$ac_try;; 10344esac 10345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10346$as_echo "$ac_try_echo") >&5 10347 (eval "$ac_link") 2>conftest.er1 10348 ac_status=$? 10349 grep -v '^ *+' conftest.er1 >conftest.err 10350 rm -f conftest.er1 10351 cat conftest.err >&5 10352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10353 (exit $ac_status); } && { 10354 test -z "$ac_c_werror_flag" || 10355 test ! -s conftest.err 10356 } && test -s conftest$ac_exeext && { 10357 test "$cross_compiling" = yes || 10358 $as_test_x conftest$ac_exeext 10359 }; then 10360 ac_cv_func_shl_load=yes 10361else 10362 $as_echo "$as_me: failed program was:" >&5 10363sed 's/^/| /' conftest.$ac_ext >&5 10364 10365 ac_cv_func_shl_load=no 10366fi 10367 10368rm -rf conftest.dSYM 10369rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10370 conftest$ac_exeext conftest.$ac_ext 10371fi 10372{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10373$as_echo "$ac_cv_func_shl_load" >&6; } 10374if test "x$ac_cv_func_shl_load" = x""yes; then 10375 lt_cv_dlopen="shl_load" 10376else 10377 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10378$as_echo_n "checking for shl_load in -ldld... " >&6; } 10379if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10380 $as_echo_n "(cached) " >&6 10381else 10382 ac_check_lib_save_LIBS=$LIBS 10383LIBS="-ldld $LIBS" 10384cat >conftest.$ac_ext <<_ACEOF 10385/* confdefs.h. */ 10386_ACEOF 10387cat confdefs.h >>conftest.$ac_ext 10388cat >>conftest.$ac_ext <<_ACEOF 10389/* end confdefs.h. */ 10390 10391/* Override any GCC internal prototype to avoid an error. 10392 Use char because int might match the return type of a GCC 10393 builtin and then its argument prototype would still apply. */ 10394#ifdef __cplusplus 10395extern "C" 10396#endif 10397char shl_load (); 10398int 10399main () 10400{ 10401return shl_load (); 10402 ; 10403 return 0; 10404} 10405_ACEOF 10406rm -f conftest.$ac_objext conftest$ac_exeext 10407if { (ac_try="$ac_link" 10408case "(($ac_try" in 10409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10410 *) ac_try_echo=$ac_try;; 10411esac 10412eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10413$as_echo "$ac_try_echo") >&5 10414 (eval "$ac_link") 2>conftest.er1 10415 ac_status=$? 10416 grep -v '^ *+' conftest.er1 >conftest.err 10417 rm -f conftest.er1 10418 cat conftest.err >&5 10419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10420 (exit $ac_status); } && { 10421 test -z "$ac_c_werror_flag" || 10422 test ! -s conftest.err 10423 } && test -s conftest$ac_exeext && { 10424 test "$cross_compiling" = yes || 10425 $as_test_x conftest$ac_exeext 10426 }; then 10427 ac_cv_lib_dld_shl_load=yes 10428else 10429 $as_echo "$as_me: failed program was:" >&5 10430sed 's/^/| /' conftest.$ac_ext >&5 10431 10432 ac_cv_lib_dld_shl_load=no 10433fi 10434 10435rm -rf conftest.dSYM 10436rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10437 conftest$ac_exeext conftest.$ac_ext 10438LIBS=$ac_check_lib_save_LIBS 10439fi 10440{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10441$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10442if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 10443 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10444else 10445 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 10446$as_echo_n "checking for dlopen... " >&6; } 10447if test "${ac_cv_func_dlopen+set}" = set; then 10448 $as_echo_n "(cached) " >&6 10449else 10450 cat >conftest.$ac_ext <<_ACEOF 10451/* confdefs.h. */ 10452_ACEOF 10453cat confdefs.h >>conftest.$ac_ext 10454cat >>conftest.$ac_ext <<_ACEOF 10455/* end confdefs.h. */ 10456/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10457 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10458#define dlopen innocuous_dlopen 10459 10460/* System header to define __stub macros and hopefully few prototypes, 10461 which can conflict with char dlopen (); below. 10462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10463 <limits.h> exists even on freestanding compilers. */ 10464 10465#ifdef __STDC__ 10466# include <limits.h> 10467#else 10468# include <assert.h> 10469#endif 10470 10471#undef dlopen 10472 10473/* Override any GCC internal prototype to avoid an error. 10474 Use char because int might match the return type of a GCC 10475 builtin and then its argument prototype would still apply. */ 10476#ifdef __cplusplus 10477extern "C" 10478#endif 10479char dlopen (); 10480/* The GNU C library defines this for functions which it implements 10481 to always fail with ENOSYS. Some functions are actually named 10482 something starting with __ and the normal name is an alias. */ 10483#if defined __stub_dlopen || defined __stub___dlopen 10484choke me 10485#endif 10486 10487int 10488main () 10489{ 10490return dlopen (); 10491 ; 10492 return 0; 10493} 10494_ACEOF 10495rm -f conftest.$ac_objext conftest$ac_exeext 10496if { (ac_try="$ac_link" 10497case "(($ac_try" in 10498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10499 *) ac_try_echo=$ac_try;; 10500esac 10501eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10502$as_echo "$ac_try_echo") >&5 10503 (eval "$ac_link") 2>conftest.er1 10504 ac_status=$? 10505 grep -v '^ *+' conftest.er1 >conftest.err 10506 rm -f conftest.er1 10507 cat conftest.err >&5 10508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10509 (exit $ac_status); } && { 10510 test -z "$ac_c_werror_flag" || 10511 test ! -s conftest.err 10512 } && test -s conftest$ac_exeext && { 10513 test "$cross_compiling" = yes || 10514 $as_test_x conftest$ac_exeext 10515 }; then 10516 ac_cv_func_dlopen=yes 10517else 10518 $as_echo "$as_me: failed program was:" >&5 10519sed 's/^/| /' conftest.$ac_ext >&5 10520 10521 ac_cv_func_dlopen=no 10522fi 10523 10524rm -rf conftest.dSYM 10525rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10526 conftest$ac_exeext conftest.$ac_ext 10527fi 10528{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10529$as_echo "$ac_cv_func_dlopen" >&6; } 10530if test "x$ac_cv_func_dlopen" = x""yes; then 10531 lt_cv_dlopen="dlopen" 10532else 10533 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10534$as_echo_n "checking for dlopen in -ldl... " >&6; } 10535if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10536 $as_echo_n "(cached) " >&6 10537else 10538 ac_check_lib_save_LIBS=$LIBS 10539LIBS="-ldl $LIBS" 10540cat >conftest.$ac_ext <<_ACEOF 10541/* confdefs.h. */ 10542_ACEOF 10543cat confdefs.h >>conftest.$ac_ext 10544cat >>conftest.$ac_ext <<_ACEOF 10545/* end confdefs.h. */ 10546 10547/* Override any GCC internal prototype to avoid an error. 10548 Use char because int might match the return type of a GCC 10549 builtin and then its argument prototype would still apply. */ 10550#ifdef __cplusplus 10551extern "C" 10552#endif 10553char dlopen (); 10554int 10555main () 10556{ 10557return dlopen (); 10558 ; 10559 return 0; 10560} 10561_ACEOF 10562rm -f conftest.$ac_objext conftest$ac_exeext 10563if { (ac_try="$ac_link" 10564case "(($ac_try" in 10565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10566 *) ac_try_echo=$ac_try;; 10567esac 10568eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10569$as_echo "$ac_try_echo") >&5 10570 (eval "$ac_link") 2>conftest.er1 10571 ac_status=$? 10572 grep -v '^ *+' conftest.er1 >conftest.err 10573 rm -f conftest.er1 10574 cat conftest.err >&5 10575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10576 (exit $ac_status); } && { 10577 test -z "$ac_c_werror_flag" || 10578 test ! -s conftest.err 10579 } && test -s conftest$ac_exeext && { 10580 test "$cross_compiling" = yes || 10581 $as_test_x conftest$ac_exeext 10582 }; then 10583 ac_cv_lib_dl_dlopen=yes 10584else 10585 $as_echo "$as_me: failed program was:" >&5 10586sed 's/^/| /' conftest.$ac_ext >&5 10587 10588 ac_cv_lib_dl_dlopen=no 10589fi 10590 10591rm -rf conftest.dSYM 10592rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10593 conftest$ac_exeext conftest.$ac_ext 10594LIBS=$ac_check_lib_save_LIBS 10595fi 10596{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10597$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10598if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10599 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10600else 10601 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10602$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10603if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10604 $as_echo_n "(cached) " >&6 10605else 10606 ac_check_lib_save_LIBS=$LIBS 10607LIBS="-lsvld $LIBS" 10608cat >conftest.$ac_ext <<_ACEOF 10609/* confdefs.h. */ 10610_ACEOF 10611cat confdefs.h >>conftest.$ac_ext 10612cat >>conftest.$ac_ext <<_ACEOF 10613/* end confdefs.h. */ 10614 10615/* Override any GCC internal prototype to avoid an error. 10616 Use char because int might match the return type of a GCC 10617 builtin and then its argument prototype would still apply. */ 10618#ifdef __cplusplus 10619extern "C" 10620#endif 10621char dlopen (); 10622int 10623main () 10624{ 10625return dlopen (); 10626 ; 10627 return 0; 10628} 10629_ACEOF 10630rm -f conftest.$ac_objext conftest$ac_exeext 10631if { (ac_try="$ac_link" 10632case "(($ac_try" in 10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10634 *) ac_try_echo=$ac_try;; 10635esac 10636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10637$as_echo "$ac_try_echo") >&5 10638 (eval "$ac_link") 2>conftest.er1 10639 ac_status=$? 10640 grep -v '^ *+' conftest.er1 >conftest.err 10641 rm -f conftest.er1 10642 cat conftest.err >&5 10643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10644 (exit $ac_status); } && { 10645 test -z "$ac_c_werror_flag" || 10646 test ! -s conftest.err 10647 } && test -s conftest$ac_exeext && { 10648 test "$cross_compiling" = yes || 10649 $as_test_x conftest$ac_exeext 10650 }; then 10651 ac_cv_lib_svld_dlopen=yes 10652else 10653 $as_echo "$as_me: failed program was:" >&5 10654sed 's/^/| /' conftest.$ac_ext >&5 10655 10656 ac_cv_lib_svld_dlopen=no 10657fi 10658 10659rm -rf conftest.dSYM 10660rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10661 conftest$ac_exeext conftest.$ac_ext 10662LIBS=$ac_check_lib_save_LIBS 10663fi 10664{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10665$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10666if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 10667 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10668else 10669 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10670$as_echo_n "checking for dld_link in -ldld... " >&6; } 10671if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10672 $as_echo_n "(cached) " >&6 10673else 10674 ac_check_lib_save_LIBS=$LIBS 10675LIBS="-ldld $LIBS" 10676cat >conftest.$ac_ext <<_ACEOF 10677/* confdefs.h. */ 10678_ACEOF 10679cat confdefs.h >>conftest.$ac_ext 10680cat >>conftest.$ac_ext <<_ACEOF 10681/* end confdefs.h. */ 10682 10683/* Override any GCC internal prototype to avoid an error. 10684 Use char because int might match the return type of a GCC 10685 builtin and then its argument prototype would still apply. */ 10686#ifdef __cplusplus 10687extern "C" 10688#endif 10689char dld_link (); 10690int 10691main () 10692{ 10693return dld_link (); 10694 ; 10695 return 0; 10696} 10697_ACEOF 10698rm -f conftest.$ac_objext conftest$ac_exeext 10699if { (ac_try="$ac_link" 10700case "(($ac_try" in 10701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10702 *) ac_try_echo=$ac_try;; 10703esac 10704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10705$as_echo "$ac_try_echo") >&5 10706 (eval "$ac_link") 2>conftest.er1 10707 ac_status=$? 10708 grep -v '^ *+' conftest.er1 >conftest.err 10709 rm -f conftest.er1 10710 cat conftest.err >&5 10711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10712 (exit $ac_status); } && { 10713 test -z "$ac_c_werror_flag" || 10714 test ! -s conftest.err 10715 } && test -s conftest$ac_exeext && { 10716 test "$cross_compiling" = yes || 10717 $as_test_x conftest$ac_exeext 10718 }; then 10719 ac_cv_lib_dld_dld_link=yes 10720else 10721 $as_echo "$as_me: failed program was:" >&5 10722sed 's/^/| /' conftest.$ac_ext >&5 10723 10724 ac_cv_lib_dld_dld_link=no 10725fi 10726 10727rm -rf conftest.dSYM 10728rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10729 conftest$ac_exeext conftest.$ac_ext 10730LIBS=$ac_check_lib_save_LIBS 10731fi 10732{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10733$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10734if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 10735 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10736fi 10737 10738 10739fi 10740 10741 10742fi 10743 10744 10745fi 10746 10747 10748fi 10749 10750 10751fi 10752 10753 ;; 10754 esac 10755 10756 if test "x$lt_cv_dlopen" != xno; then 10757 enable_dlopen=yes 10758 else 10759 enable_dlopen=no 10760 fi 10761 10762 case $lt_cv_dlopen in 10763 dlopen) 10764 save_CPPFLAGS="$CPPFLAGS" 10765 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10766 10767 save_LDFLAGS="$LDFLAGS" 10768 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10769 10770 save_LIBS="$LIBS" 10771 LIBS="$lt_cv_dlopen_libs $LIBS" 10772 10773 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10774$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10775if test "${lt_cv_dlopen_self+set}" = set; then 10776 $as_echo_n "(cached) " >&6 10777else 10778 if test "$cross_compiling" = yes; then : 10779 lt_cv_dlopen_self=cross 10780else 10781 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10782 lt_status=$lt_dlunknown 10783 cat > conftest.$ac_ext <<_LT_EOF 10784#line 10784 "configure" 10785#include "confdefs.h" 10786 10787#if HAVE_DLFCN_H 10788#include <dlfcn.h> 10789#endif 10790 10791#include <stdio.h> 10792 10793#ifdef RTLD_GLOBAL 10794# define LT_DLGLOBAL RTLD_GLOBAL 10795#else 10796# ifdef DL_GLOBAL 10797# define LT_DLGLOBAL DL_GLOBAL 10798# else 10799# define LT_DLGLOBAL 0 10800# endif 10801#endif 10802 10803/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10804 find out it does not work in some platform. */ 10805#ifndef LT_DLLAZY_OR_NOW 10806# ifdef RTLD_LAZY 10807# define LT_DLLAZY_OR_NOW RTLD_LAZY 10808# else 10809# ifdef DL_LAZY 10810# define LT_DLLAZY_OR_NOW DL_LAZY 10811# else 10812# ifdef RTLD_NOW 10813# define LT_DLLAZY_OR_NOW RTLD_NOW 10814# else 10815# ifdef DL_NOW 10816# define LT_DLLAZY_OR_NOW DL_NOW 10817# else 10818# define LT_DLLAZY_OR_NOW 0 10819# endif 10820# endif 10821# endif 10822# endif 10823#endif 10824 10825void fnord() { int i=42;} 10826int main () 10827{ 10828 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10829 int status = $lt_dlunknown; 10830 10831 if (self) 10832 { 10833 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10834 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10835 /* dlclose (self); */ 10836 } 10837 else 10838 puts (dlerror ()); 10839 10840 return status; 10841} 10842_LT_EOF 10843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10844 (eval $ac_link) 2>&5 10845 ac_status=$? 10846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10847 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10848 (./conftest; exit; ) >&5 2>/dev/null 10849 lt_status=$? 10850 case x$lt_status in 10851 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10852 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10853 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10854 esac 10855 else : 10856 # compilation failed 10857 lt_cv_dlopen_self=no 10858 fi 10859fi 10860rm -fr conftest* 10861 10862 10863fi 10864{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10865$as_echo "$lt_cv_dlopen_self" >&6; } 10866 10867 if test "x$lt_cv_dlopen_self" = xyes; then 10868 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10869 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10870$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10871if test "${lt_cv_dlopen_self_static+set}" = set; then 10872 $as_echo_n "(cached) " >&6 10873else 10874 if test "$cross_compiling" = yes; then : 10875 lt_cv_dlopen_self_static=cross 10876else 10877 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10878 lt_status=$lt_dlunknown 10879 cat > conftest.$ac_ext <<_LT_EOF 10880#line 10880 "configure" 10881#include "confdefs.h" 10882 10883#if HAVE_DLFCN_H 10884#include <dlfcn.h> 10885#endif 10886 10887#include <stdio.h> 10888 10889#ifdef RTLD_GLOBAL 10890# define LT_DLGLOBAL RTLD_GLOBAL 10891#else 10892# ifdef DL_GLOBAL 10893# define LT_DLGLOBAL DL_GLOBAL 10894# else 10895# define LT_DLGLOBAL 0 10896# endif 10897#endif 10898 10899/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10900 find out it does not work in some platform. */ 10901#ifndef LT_DLLAZY_OR_NOW 10902# ifdef RTLD_LAZY 10903# define LT_DLLAZY_OR_NOW RTLD_LAZY 10904# else 10905# ifdef DL_LAZY 10906# define LT_DLLAZY_OR_NOW DL_LAZY 10907# else 10908# ifdef RTLD_NOW 10909# define LT_DLLAZY_OR_NOW RTLD_NOW 10910# else 10911# ifdef DL_NOW 10912# define LT_DLLAZY_OR_NOW DL_NOW 10913# else 10914# define LT_DLLAZY_OR_NOW 0 10915# endif 10916# endif 10917# endif 10918# endif 10919#endif 10920 10921void fnord() { int i=42;} 10922int main () 10923{ 10924 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10925 int status = $lt_dlunknown; 10926 10927 if (self) 10928 { 10929 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10930 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10931 /* dlclose (self); */ 10932 } 10933 else 10934 puts (dlerror ()); 10935 10936 return status; 10937} 10938_LT_EOF 10939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10940 (eval $ac_link) 2>&5 10941 ac_status=$? 10942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10943 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10944 (./conftest; exit; ) >&5 2>/dev/null 10945 lt_status=$? 10946 case x$lt_status in 10947 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10948 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10949 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10950 esac 10951 else : 10952 # compilation failed 10953 lt_cv_dlopen_self_static=no 10954 fi 10955fi 10956rm -fr conftest* 10957 10958 10959fi 10960{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 10961$as_echo "$lt_cv_dlopen_self_static" >&6; } 10962 fi 10963 10964 CPPFLAGS="$save_CPPFLAGS" 10965 LDFLAGS="$save_LDFLAGS" 10966 LIBS="$save_LIBS" 10967 ;; 10968 esac 10969 10970 case $lt_cv_dlopen_self in 10971 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10972 *) enable_dlopen_self=unknown ;; 10973 esac 10974 10975 case $lt_cv_dlopen_self_static in 10976 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10977 *) enable_dlopen_self_static=unknown ;; 10978 esac 10979fi 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997striplib= 10998old_striplib= 10999{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11000$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11001if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11002 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11003 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11004 { $as_echo "$as_me:$LINENO: result: yes" >&5 11005$as_echo "yes" >&6; } 11006else 11007# FIXME - insert some real tests, host_os isn't really good enough 11008 case $host_os in 11009 darwin*) 11010 if test -n "$STRIP" ; then 11011 striplib="$STRIP -x" 11012 old_striplib="$STRIP -S" 11013 { $as_echo "$as_me:$LINENO: result: yes" >&5 11014$as_echo "yes" >&6; } 11015 else 11016 { $as_echo "$as_me:$LINENO: result: no" >&5 11017$as_echo "no" >&6; } 11018 fi 11019 ;; 11020 *) 11021 { $as_echo "$as_me:$LINENO: result: no" >&5 11022$as_echo "no" >&6; } 11023 ;; 11024 esac 11025fi 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 # Report which library types will actually be built 11039 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11040$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11041 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11042$as_echo "$can_build_shared" >&6; } 11043 11044 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11045$as_echo_n "checking whether to build shared libraries... " >&6; } 11046 test "$can_build_shared" = "no" && enable_shared=no 11047 11048 # On AIX, shared libraries and static libraries use the same namespace, and 11049 # are all built from PIC. 11050 case $host_os in 11051 aix3*) 11052 test "$enable_shared" = yes && enable_static=no 11053 if test -n "$RANLIB"; then 11054 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11055 postinstall_cmds='$RANLIB $lib' 11056 fi 11057 ;; 11058 11059 aix[4-9]*) 11060 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11061 test "$enable_shared" = yes && enable_static=no 11062 fi 11063 ;; 11064 esac 11065 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11066$as_echo "$enable_shared" >&6; } 11067 11068 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11069$as_echo_n "checking whether to build static libraries... " >&6; } 11070 # Make sure either enable_shared or enable_static is yes. 11071 test "$enable_shared" = yes || enable_static=yes 11072 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11073$as_echo "$enable_static" >&6; } 11074 11075 11076 11077 11078fi 11079ac_ext=c 11080ac_cpp='$CPP $CPPFLAGS' 11081ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11082ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11083ac_compiler_gnu=$ac_cv_c_compiler_gnu 11084 11085CC="$lt_save_CC" 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 ac_config_commands="$ac_config_commands libtool" 11100 11101 11102 11103 11104# Only expand once: 11105 11106 11107 11108 11109if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11110 if test -n "$ac_tool_prefix"; then 11111 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11112set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11113{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11114$as_echo_n "checking for $ac_word... " >&6; } 11115if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11116 $as_echo_n "(cached) " >&6 11117else 11118 case $PKG_CONFIG in 11119 [\\/]* | ?:[\\/]*) 11120 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11121 ;; 11122 *) 11123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11124for as_dir in $PATH 11125do 11126 IFS=$as_save_IFS 11127 test -z "$as_dir" && as_dir=. 11128 for ac_exec_ext in '' $ac_executable_extensions; do 11129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11130 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11131 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11132 break 2 11133 fi 11134done 11135done 11136IFS=$as_save_IFS 11137 11138 ;; 11139esac 11140fi 11141PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11142if test -n "$PKG_CONFIG"; then 11143 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11144$as_echo "$PKG_CONFIG" >&6; } 11145else 11146 { $as_echo "$as_me:$LINENO: result: no" >&5 11147$as_echo "no" >&6; } 11148fi 11149 11150 11151fi 11152if test -z "$ac_cv_path_PKG_CONFIG"; then 11153 ac_pt_PKG_CONFIG=$PKG_CONFIG 11154 # Extract the first word of "pkg-config", so it can be a program name with args. 11155set dummy pkg-config; ac_word=$2 11156{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11157$as_echo_n "checking for $ac_word... " >&6; } 11158if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 11159 $as_echo_n "(cached) " >&6 11160else 11161 case $ac_pt_PKG_CONFIG in 11162 [\\/]* | ?:[\\/]*) 11163 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11164 ;; 11165 *) 11166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11167for as_dir in $PATH 11168do 11169 IFS=$as_save_IFS 11170 test -z "$as_dir" && as_dir=. 11171 for ac_exec_ext in '' $ac_executable_extensions; do 11172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11173 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11174 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11175 break 2 11176 fi 11177done 11178done 11179IFS=$as_save_IFS 11180 11181 ;; 11182esac 11183fi 11184ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11185if test -n "$ac_pt_PKG_CONFIG"; then 11186 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 11187$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11188else 11189 { $as_echo "$as_me:$LINENO: result: no" >&5 11190$as_echo "no" >&6; } 11191fi 11192 11193 if test "x$ac_pt_PKG_CONFIG" = x; then 11194 PKG_CONFIG="" 11195 else 11196 case $cross_compiling:$ac_tool_warned in 11197yes:) 11198{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 11199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11200ac_tool_warned=yes ;; 11201esac 11202 PKG_CONFIG=$ac_pt_PKG_CONFIG 11203 fi 11204else 11205 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11206fi 11207 11208fi 11209if test -n "$PKG_CONFIG"; then 11210 _pkg_min_version=0.9.0 11211 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 11212$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11213 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11214 { $as_echo "$as_me:$LINENO: result: yes" >&5 11215$as_echo "yes" >&6; } 11216 else 11217 { $as_echo "$as_me:$LINENO: result: no" >&5 11218$as_echo "no" >&6; } 11219 PKG_CONFIG="" 11220 fi 11221 11222fi 11223 11224# Look for headers 11225 11226 11227 11228for ac_header in endian.h poll.h sys/poll.h 11229do 11230as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 11231if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11232 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11233$as_echo_n "checking for $ac_header... " >&6; } 11234if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11235 $as_echo_n "(cached) " >&6 11236fi 11237ac_res=`eval 'as_val=${'$as_ac_Header'} 11238 $as_echo "$as_val"'` 11239 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11240$as_echo "$ac_res" >&6; } 11241else 11242 # Is the header compilable? 11243{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 11244$as_echo_n "checking $ac_header usability... " >&6; } 11245cat >conftest.$ac_ext <<_ACEOF 11246/* confdefs.h. */ 11247_ACEOF 11248cat confdefs.h >>conftest.$ac_ext 11249cat >>conftest.$ac_ext <<_ACEOF 11250/* end confdefs.h. */ 11251$ac_includes_default 11252#include <$ac_header> 11253_ACEOF 11254rm -f conftest.$ac_objext 11255if { (ac_try="$ac_compile" 11256case "(($ac_try" in 11257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11258 *) ac_try_echo=$ac_try;; 11259esac 11260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11261$as_echo "$ac_try_echo") >&5 11262 (eval "$ac_compile") 2>conftest.er1 11263 ac_status=$? 11264 grep -v '^ *+' conftest.er1 >conftest.err 11265 rm -f conftest.er1 11266 cat conftest.err >&5 11267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11268 (exit $ac_status); } && { 11269 test -z "$ac_c_werror_flag" || 11270 test ! -s conftest.err 11271 } && test -s conftest.$ac_objext; then 11272 ac_header_compiler=yes 11273else 11274 $as_echo "$as_me: failed program was:" >&5 11275sed 's/^/| /' conftest.$ac_ext >&5 11276 11277 ac_header_compiler=no 11278fi 11279 11280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11281{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11282$as_echo "$ac_header_compiler" >&6; } 11283 11284# Is the header present? 11285{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 11286$as_echo_n "checking $ac_header presence... " >&6; } 11287cat >conftest.$ac_ext <<_ACEOF 11288/* confdefs.h. */ 11289_ACEOF 11290cat confdefs.h >>conftest.$ac_ext 11291cat >>conftest.$ac_ext <<_ACEOF 11292/* end confdefs.h. */ 11293#include <$ac_header> 11294_ACEOF 11295if { (ac_try="$ac_cpp conftest.$ac_ext" 11296case "(($ac_try" in 11297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11298 *) ac_try_echo=$ac_try;; 11299esac 11300eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11301$as_echo "$ac_try_echo") >&5 11302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11303 ac_status=$? 11304 grep -v '^ *+' conftest.er1 >conftest.err 11305 rm -f conftest.er1 11306 cat conftest.err >&5 11307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11308 (exit $ac_status); } >/dev/null && { 11309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11310 test ! -s conftest.err 11311 }; then 11312 ac_header_preproc=yes 11313else 11314 $as_echo "$as_me: failed program was:" >&5 11315sed 's/^/| /' conftest.$ac_ext >&5 11316 11317 ac_header_preproc=no 11318fi 11319 11320rm -f conftest.err conftest.$ac_ext 11321{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11322$as_echo "$ac_header_preproc" >&6; } 11323 11324# So? What about this header? 11325case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11326 yes:no: ) 11327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11328$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11330$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11331 ac_header_preproc=yes 11332 ;; 11333 no:yes:* ) 11334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11335$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11337$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11339$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11341$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11342 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11343$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11344 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11345$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11346 ( cat <<\_ASBOX 11347## ---------------------------------------------------------------------- ## 11348## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 11349## ---------------------------------------------------------------------- ## 11350_ASBOX 11351 ) | sed "s/^/$as_me: WARNING: /" >&2 11352 ;; 11353esac 11354{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 11355$as_echo_n "checking for $ac_header... " >&6; } 11356if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11357 $as_echo_n "(cached) " >&6 11358else 11359 eval "$as_ac_Header=\$ac_header_preproc" 11360fi 11361ac_res=`eval 'as_val=${'$as_ac_Header'} 11362 $as_echo "$as_val"'` 11363 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11364$as_echo "$ac_res" >&6; } 11365 11366fi 11367as_val=`eval 'as_val=${'$as_ac_Header'} 11368 $as_echo "$as_val"'` 11369 if test "x$as_val" = x""yes; then 11370 cat >>confdefs.h <<_ACEOF 11371#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 11372_ACEOF 11373 11374fi 11375 11376done 11377 11378 11379for ac_func in poll 11380do 11381as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11382{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 11383$as_echo_n "checking for $ac_func... " >&6; } 11384if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11385 $as_echo_n "(cached) " >&6 11386else 11387 cat >conftest.$ac_ext <<_ACEOF 11388/* confdefs.h. */ 11389_ACEOF 11390cat confdefs.h >>conftest.$ac_ext 11391cat >>conftest.$ac_ext <<_ACEOF 11392/* end confdefs.h. */ 11393/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 11394 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11395#define $ac_func innocuous_$ac_func 11396 11397/* System header to define __stub macros and hopefully few prototypes, 11398 which can conflict with char $ac_func (); below. 11399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11400 <limits.h> exists even on freestanding compilers. */ 11401 11402#ifdef __STDC__ 11403# include <limits.h> 11404#else 11405# include <assert.h> 11406#endif 11407 11408#undef $ac_func 11409 11410/* Override any GCC internal prototype to avoid an error. 11411 Use char because int might match the return type of a GCC 11412 builtin and then its argument prototype would still apply. */ 11413#ifdef __cplusplus 11414extern "C" 11415#endif 11416char $ac_func (); 11417/* The GNU C library defines this for functions which it implements 11418 to always fail with ENOSYS. Some functions are actually named 11419 something starting with __ and the normal name is an alias. */ 11420#if defined __stub_$ac_func || defined __stub___$ac_func 11421choke me 11422#endif 11423 11424int 11425main () 11426{ 11427return $ac_func (); 11428 ; 11429 return 0; 11430} 11431_ACEOF 11432rm -f conftest.$ac_objext conftest$ac_exeext 11433if { (ac_try="$ac_link" 11434case "(($ac_try" in 11435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11436 *) ac_try_echo=$ac_try;; 11437esac 11438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11439$as_echo "$ac_try_echo") >&5 11440 (eval "$ac_link") 2>conftest.er1 11441 ac_status=$? 11442 grep -v '^ *+' conftest.er1 >conftest.err 11443 rm -f conftest.er1 11444 cat conftest.err >&5 11445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11446 (exit $ac_status); } && { 11447 test -z "$ac_c_werror_flag" || 11448 test ! -s conftest.err 11449 } && test -s conftest$ac_exeext && { 11450 test "$cross_compiling" = yes || 11451 $as_test_x conftest$ac_exeext 11452 }; then 11453 eval "$as_ac_var=yes" 11454else 11455 $as_echo "$as_me: failed program was:" >&5 11456sed 's/^/| /' conftest.$ac_ext >&5 11457 11458 eval "$as_ac_var=no" 11459fi 11460 11461rm -rf conftest.dSYM 11462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11463 conftest$ac_exeext conftest.$ac_ext 11464fi 11465ac_res=`eval 'as_val=${'$as_ac_var'} 11466 $as_echo "$as_val"'` 11467 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 11468$as_echo "$ac_res" >&6; } 11469as_val=`eval 'as_val=${'$as_ac_var'} 11470 $as_echo "$as_val"'` 11471 if test "x$as_val" = x""yes; then 11472 cat >>confdefs.h <<_ACEOF 11473#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11474_ACEOF 11475 11476fi 11477done 11478 11479 11480 11481 11482DEFAULT_ENCODINGSDIR=${libdir}/X11/fonts/encodings 11483 11484# Check whether --with-encodingsdir was given. 11485if test "${with_encodingsdir+set}" = set; then 11486 withval=$with_encodingsdir; ENCODINGSDIR="$withval" 11487else 11488 ENCODINGSDIR="$DEFAULT_ENCODINGSDIR" 11489fi 11490 11491 11492 11493# 11494# select libraries to include 11495# 11496 11497XFONT_FONTFILE=no 11498 11499# 11500# Scalable fonts in files: 11501# FreeType 11502# Bitstream Speedo rasterizer 11503# 11504# Check whether --enable-freetype was given. 11505if test "${enable_freetype+set}" = set; then 11506 enableval=$enable_freetype; XFONT_FREETYPE=$enableval 11507else 11508 XFONT_FREETYPE=yes 11509fi 11510 11511 if test x$XFONT_FREETYPE = xyes; then 11512 XFONT_FREETYPE_TRUE= 11513 XFONT_FREETYPE_FALSE='#' 11514else 11515 XFONT_FREETYPE_TRUE='#' 11516 XFONT_FREETYPE_FALSE= 11517fi 11518 11519if test x$XFONT_FREETYPE = xyes; then 11520 11521cat >>confdefs.h <<\_ACEOF 11522#define XFONT_FREETYPE 1 11523_ACEOF 11524 11525 11526# Check whether --with-freetype-config was given. 11527if test "${with_freetype_config+set}" = set; then 11528 withval=$with_freetype_config; freetype_config=$withval 11529else 11530 freetype_config=auto 11531fi 11532 11533 11534 if test "$freetype_config" = "auto" ; then 11535 11536pkg_failed=no 11537{ $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5 11538$as_echo_n "checking for FREETYPE... " >&6; } 11539 11540if test -n "$FREETYPE_CFLAGS"; then 11541 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS" 11542 elif test -n "$PKG_CONFIG"; then 11543 if test -n "$PKG_CONFIG" && \ 11544 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 11545 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 11546 ac_status=$? 11547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11548 (exit $ac_status); }; then 11549 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` 11550else 11551 pkg_failed=yes 11552fi 11553 else 11554 pkg_failed=untried 11555fi 11556if test -n "$FREETYPE_LIBS"; then 11557 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS" 11558 elif test -n "$PKG_CONFIG"; then 11559 if test -n "$PKG_CONFIG" && \ 11560 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5 11561 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 11562 ac_status=$? 11563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11564 (exit $ac_status); }; then 11565 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` 11566else 11567 pkg_failed=yes 11568fi 11569 else 11570 pkg_failed=untried 11571fi 11572 11573 11574 11575if test $pkg_failed = yes; then 11576 11577if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11578 _pkg_short_errors_supported=yes 11579else 11580 _pkg_short_errors_supported=no 11581fi 11582 if test $_pkg_short_errors_supported = yes; then 11583 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1` 11584 else 11585 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1` 11586 fi 11587 # Put the nasty error message in config.log where it belongs 11588 echo "$FREETYPE_PKG_ERRORS" >&5 11589 11590 { $as_echo "$as_me:$LINENO: result: no" >&5 11591$as_echo "no" >&6; } 11592 freetype_config=yes 11593elif test $pkg_failed = untried; then 11594 freetype_config=yes 11595else 11596 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS 11597 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS 11598 { $as_echo "$as_me:$LINENO: result: yes" >&5 11599$as_echo "yes" >&6; } 11600 freetype_config=no 11601fi 11602 fi 11603 11604 if test "$freetype_config" = "yes"; then 11605 # Extract the first word of "freetype-config", so it can be a program name with args. 11606set dummy freetype-config; ac_word=$2 11607{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11608$as_echo_n "checking for $ac_word... " >&6; } 11609if test "${ac_cv_path_ft_config+set}" = set; then 11610 $as_echo_n "(cached) " >&6 11611else 11612 case $ft_config in 11613 [\\/]* | ?:[\\/]*) 11614 ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path. 11615 ;; 11616 *) 11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11618for as_dir in $PATH 11619do 11620 IFS=$as_save_IFS 11621 test -z "$as_dir" && as_dir=. 11622 for ac_exec_ext in '' $ac_executable_extensions; do 11623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11624 ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext" 11625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11626 break 2 11627 fi 11628done 11629done 11630IFS=$as_save_IFS 11631 11632 test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no" 11633 ;; 11634esac 11635fi 11636ft_config=$ac_cv_path_ft_config 11637if test -n "$ft_config"; then 11638 { $as_echo "$as_me:$LINENO: result: $ft_config" >&5 11639$as_echo "$ft_config" >&6; } 11640else 11641 { $as_echo "$as_me:$LINENO: result: no" >&5 11642$as_echo "no" >&6; } 11643fi 11644 11645 11646 if test "$ft_config" = "no"; then 11647 { { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5 11648$as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;} 11649 { (exit 1); exit 1; }; } 11650 fi 11651 else 11652 ft_config="$freetype_config" 11653 fi 11654 11655 if test "$freetype_config" != "no"; then 11656 FREETYPE_CFLAGS="`$ft_config --cflags`" 11657 FREETYPE_LIBS="`$ft_config --libs`" 11658 fi 11659 FREETYPE_REQUIRES="freetype2" 11660 XFONT_FONTFILE=yes 11661else 11662 FREETYPE_CFLAGS="" 11663 FREETYPE_LIBS="" 11664 FREETYPE_REQUIRES="" 11665fi 11666 11667 11668 11669 11670# 11671# Bitmap fonts in files: 11672# Builtins (gzipped pcf format in .text segment) 11673# PCF 11674# BDF 11675# SNF 11676# 11677 11678 11679cat >>confdefs.h <<\_ACEOF 11680#define X_GZIP_FONT_COMPRESSION 1 11681_ACEOF 11682 11683X_GZIP_FONT_COMPRESSION=1 11684 11685{ $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5 11686$as_echo_n "checking for gzopen in -lz... " >&6; } 11687if test "${ac_cv_lib_z_gzopen+set}" = set; then 11688 $as_echo_n "(cached) " >&6 11689else 11690 ac_check_lib_save_LIBS=$LIBS 11691LIBS="-lz $LIBS" 11692cat >conftest.$ac_ext <<_ACEOF 11693/* confdefs.h. */ 11694_ACEOF 11695cat confdefs.h >>conftest.$ac_ext 11696cat >>conftest.$ac_ext <<_ACEOF 11697/* end confdefs.h. */ 11698 11699/* Override any GCC internal prototype to avoid an error. 11700 Use char because int might match the return type of a GCC 11701 builtin and then its argument prototype would still apply. */ 11702#ifdef __cplusplus 11703extern "C" 11704#endif 11705char gzopen (); 11706int 11707main () 11708{ 11709return gzopen (); 11710 ; 11711 return 0; 11712} 11713_ACEOF 11714rm -f conftest.$ac_objext conftest$ac_exeext 11715if { (ac_try="$ac_link" 11716case "(($ac_try" in 11717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11718 *) ac_try_echo=$ac_try;; 11719esac 11720eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11721$as_echo "$ac_try_echo") >&5 11722 (eval "$ac_link") 2>conftest.er1 11723 ac_status=$? 11724 grep -v '^ *+' conftest.er1 >conftest.err 11725 rm -f conftest.er1 11726 cat conftest.err >&5 11727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11728 (exit $ac_status); } && { 11729 test -z "$ac_c_werror_flag" || 11730 test ! -s conftest.err 11731 } && test -s conftest$ac_exeext && { 11732 test "$cross_compiling" = yes || 11733 $as_test_x conftest$ac_exeext 11734 }; then 11735 ac_cv_lib_z_gzopen=yes 11736else 11737 $as_echo "$as_me: failed program was:" >&5 11738sed 's/^/| /' conftest.$ac_ext >&5 11739 11740 ac_cv_lib_z_gzopen=no 11741fi 11742 11743rm -rf conftest.dSYM 11744rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11745 conftest$ac_exeext conftest.$ac_ext 11746LIBS=$ac_check_lib_save_LIBS 11747fi 11748{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5 11749$as_echo "$ac_cv_lib_z_gzopen" >&6; } 11750if test "x$ac_cv_lib_z_gzopen" = x""yes; then 11751 Z_LIBS=-lz 11752else 11753 { { $as_echo "$as_me:$LINENO: error: *** zlib is required" >&5 11754$as_echo "$as_me: error: *** zlib is required" >&2;} 11755 { (exit 1); exit 1; }; } 11756fi 11757 11758 11759 11760# Check whether --with-bzip2 was given. 11761if test "${with_bzip2+set}" = set; then 11762 withval=$with_bzip2; 11763else 11764 with_bzip2=no 11765fi 11766 11767if test "x$with_bzip2" = xyes; then 11768 { $as_echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5 11769$as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; } 11770if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then 11771 $as_echo_n "(cached) " >&6 11772else 11773 ac_check_lib_save_LIBS=$LIBS 11774LIBS="-lbz2 $LIBS" 11775cat >conftest.$ac_ext <<_ACEOF 11776/* confdefs.h. */ 11777_ACEOF 11778cat confdefs.h >>conftest.$ac_ext 11779cat >>conftest.$ac_ext <<_ACEOF 11780/* end confdefs.h. */ 11781 11782/* Override any GCC internal prototype to avoid an error. 11783 Use char because int might match the return type of a GCC 11784 builtin and then its argument prototype would still apply. */ 11785#ifdef __cplusplus 11786extern "C" 11787#endif 11788char BZ2_bzopen (); 11789int 11790main () 11791{ 11792return BZ2_bzopen (); 11793 ; 11794 return 0; 11795} 11796_ACEOF 11797rm -f conftest.$ac_objext conftest$ac_exeext 11798if { (ac_try="$ac_link" 11799case "(($ac_try" in 11800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11801 *) ac_try_echo=$ac_try;; 11802esac 11803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11804$as_echo "$ac_try_echo") >&5 11805 (eval "$ac_link") 2>conftest.er1 11806 ac_status=$? 11807 grep -v '^ *+' conftest.er1 >conftest.err 11808 rm -f conftest.er1 11809 cat conftest.err >&5 11810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11811 (exit $ac_status); } && { 11812 test -z "$ac_c_werror_flag" || 11813 test ! -s conftest.err 11814 } && test -s conftest$ac_exeext && { 11815 test "$cross_compiling" = yes || 11816 $as_test_x conftest$ac_exeext 11817 }; then 11818 ac_cv_lib_bz2_BZ2_bzopen=yes 11819else 11820 $as_echo "$as_me: failed program was:" >&5 11821sed 's/^/| /' conftest.$ac_ext >&5 11822 11823 ac_cv_lib_bz2_BZ2_bzopen=no 11824fi 11825 11826rm -rf conftest.dSYM 11827rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11828 conftest$ac_exeext conftest.$ac_ext 11829LIBS=$ac_check_lib_save_LIBS 11830fi 11831{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5 11832$as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; } 11833if test "x$ac_cv_lib_bz2_BZ2_bzopen" = x""yes; then 11834 Z_LIBS="$Z_LIBS -lbz2" 11835else 11836 { { $as_echo "$as_me:$LINENO: error: *** libbz2 is required for bzip2 support" >&5 11837$as_echo "$as_me: error: *** libbz2 is required for bzip2 support" >&2;} 11838 { (exit 1); exit 1; }; } 11839fi 11840 11841 11842cat >>confdefs.h <<\_ACEOF 11843#define X_BZIP2_FONT_COMPRESSION 1 11844_ACEOF 11845 11846fi 11847 if test "x$with_bzip2" = xyes ; then 11848 X_BZIP2_FONT_COMPRESSION_TRUE= 11849 X_BZIP2_FONT_COMPRESSION_FALSE='#' 11850else 11851 X_BZIP2_FONT_COMPRESSION_TRUE='#' 11852 X_BZIP2_FONT_COMPRESSION_FALSE= 11853fi 11854 11855 11856 11857# Check whether --enable-builtins was given. 11858if test "${enable_builtins+set}" = set; then 11859 enableval=$enable_builtins; XFONT_BUILTINS=$enableval 11860else 11861 XFONT_BUILTINS=yes 11862fi 11863 11864 if test "x$XFONT_BUILTINS" = xyes ; then 11865 XFONT_BUILTINS_TRUE= 11866 XFONT_BUILTINS_FALSE='#' 11867else 11868 XFONT_BUILTINS_TRUE='#' 11869 XFONT_BUILTINS_FALSE= 11870fi 11871 11872if test "x$XFONT_BUILTINS" = xyes; then 11873 11874cat >>confdefs.h <<\_ACEOF 11875#define XFONT_BUILTINS 1 11876_ACEOF 11877 11878 XFONT_BITMAP=yes 11879fi 11880 11881# Check whether --enable-pcfformat was given. 11882if test "${enable_pcfformat+set}" = set; then 11883 enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval 11884else 11885 XFONT_PCFFORMAT=yes 11886fi 11887 11888 if test "x$XFONT_PCFFORMAT" = xyes; then 11889 XFONT_PCFFORMAT_TRUE= 11890 XFONT_PCFFORMAT_FALSE='#' 11891else 11892 XFONT_PCFFORMAT_TRUE='#' 11893 XFONT_PCFFORMAT_FALSE= 11894fi 11895 11896if test "x$XFONT_PCFFORMAT" = xyes; then 11897 11898cat >>confdefs.h <<\_ACEOF 11899#define XFONT_PCFFORMAT 1 11900_ACEOF 11901 11902 XFONT_BITMAP=yes 11903fi 11904 11905# Check whether --enable-bdfformat was given. 11906if test "${enable_bdfformat+set}" = set; then 11907 enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval 11908else 11909 XFONT_BDFFORMAT=yes 11910fi 11911 11912 if test "x$XFONT_BDFFORMAT" = xyes; then 11913 XFONT_BDFFORMAT_TRUE= 11914 XFONT_BDFFORMAT_FALSE='#' 11915else 11916 XFONT_BDFFORMAT_TRUE='#' 11917 XFONT_BDFFORMAT_FALSE= 11918fi 11919 11920if test "x$XFONT_BDFFORMAT" = xyes; then 11921 11922cat >>confdefs.h <<\_ACEOF 11923#define XFONT_BDFFORMAT 1 11924_ACEOF 11925 11926 XFONT_BITMAP=yes 11927fi 11928 11929# Check whether --enable-snfformat was given. 11930if test "${enable_snfformat+set}" = set; then 11931 enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval 11932else 11933 XFONT_SNFFORMAT=yes 11934fi 11935 11936 if test "x$XFONT_SNFFORMAT" = xyes; then 11937 XFONT_SNFFORMAT_TRUE= 11938 XFONT_SNFFORMAT_FALSE='#' 11939else 11940 XFONT_SNFFORMAT_TRUE='#' 11941 XFONT_SNFFORMAT_FALSE= 11942fi 11943 11944if test "x$XFONT_SNFFORMAT" = xyes; then 11945 11946cat >>confdefs.h <<\_ACEOF 11947#define XFONT_SNFFORMAT 1 11948_ACEOF 11949 11950 XFONT_BITMAP=yes 11951fi 11952 11953 if test "x$XFONT_BITMAP" = xyes ; then 11954 XFONT_BITMAP_TRUE= 11955 XFONT_BITMAP_FALSE='#' 11956else 11957 XFONT_BITMAP_TRUE='#' 11958 XFONT_BITMAP_FALSE= 11959fi 11960 11961if test "x$XFONT_BITMAP" = xyes; then 11962 11963cat >>confdefs.h <<\_ACEOF 11964#define XFONT_BITMAP 1 11965_ACEOF 11966 11967 XFONT_FONTFILE=yes 11968fi 11969 11970 if test "x$XFONT_FONTFILE" = xyes; then 11971 XFONT_FONTFILE_TRUE= 11972 XFONT_FONTFILE_FALSE='#' 11973else 11974 XFONT_FONTFILE_TRUE='#' 11975 XFONT_FONTFILE_FALSE= 11976fi 11977 11978if test "x$XFONT_FONTFILE" = xyes; then 11979 11980cat >>confdefs.h <<\_ACEOF 11981#define XFONT_FONTFILE 1 11982_ACEOF 11983 11984fi 11985 11986# 11987# Support connection to font servers? 11988# 11989 11990# Check whether --enable-fc was given. 11991if test "${enable_fc+set}" = set; then 11992 enableval=$enable_fc; XFONT_FC=$enableval 11993else 11994 XFONT_FC=yes 11995fi 11996 11997 if test "x$XFONT_FC" = xyes; then 11998 XFONT_FC_TRUE= 11999 XFONT_FC_FALSE='#' 12000else 12001 XFONT_FC_TRUE='#' 12002 XFONT_FC_FALSE= 12003fi 12004 12005if test "x$XFONT_FC" = xyes; then 12006 12007cat >>confdefs.h <<\_ACEOF 12008#define XFONT_FC 1 12009_ACEOF 12010 12011fi 12012 12013 12014{ $as_echo "$as_me:$LINENO: checking for hypot in -lm" >&5 12015$as_echo_n "checking for hypot in -lm... " >&6; } 12016if test "${ac_cv_lib_m_hypot+set}" = set; then 12017 $as_echo_n "(cached) " >&6 12018else 12019 ac_check_lib_save_LIBS=$LIBS 12020LIBS="-lm $LIBS" 12021cat >conftest.$ac_ext <<_ACEOF 12022/* confdefs.h. */ 12023_ACEOF 12024cat confdefs.h >>conftest.$ac_ext 12025cat >>conftest.$ac_ext <<_ACEOF 12026/* end confdefs.h. */ 12027 12028/* Override any GCC internal prototype to avoid an error. 12029 Use char because int might match the return type of a GCC 12030 builtin and then its argument prototype would still apply. */ 12031#ifdef __cplusplus 12032extern "C" 12033#endif 12034char hypot (); 12035int 12036main () 12037{ 12038return hypot (); 12039 ; 12040 return 0; 12041} 12042_ACEOF 12043rm -f conftest.$ac_objext conftest$ac_exeext 12044if { (ac_try="$ac_link" 12045case "(($ac_try" in 12046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12047 *) ac_try_echo=$ac_try;; 12048esac 12049eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12050$as_echo "$ac_try_echo") >&5 12051 (eval "$ac_link") 2>conftest.er1 12052 ac_status=$? 12053 grep -v '^ *+' conftest.er1 >conftest.err 12054 rm -f conftest.er1 12055 cat conftest.err >&5 12056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12057 (exit $ac_status); } && { 12058 test -z "$ac_c_werror_flag" || 12059 test ! -s conftest.err 12060 } && test -s conftest$ac_exeext && { 12061 test "$cross_compiling" = yes || 12062 $as_test_x conftest$ac_exeext 12063 }; then 12064 ac_cv_lib_m_hypot=yes 12065else 12066 $as_echo "$as_me: failed program was:" >&5 12067sed 's/^/| /' conftest.$ac_ext >&5 12068 12069 ac_cv_lib_m_hypot=no 12070fi 12071 12072rm -rf conftest.dSYM 12073rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12074 conftest$ac_exeext conftest.$ac_ext 12075LIBS=$ac_check_lib_save_LIBS 12076fi 12077{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5 12078$as_echo "$ac_cv_lib_m_hypot" >&6; } 12079if test "x$ac_cv_lib_m_hypot" = x""yes; then 12080 MATH_LIBS=-lm 12081 12082else 12083 { { $as_echo "$as_me:$LINENO: error: *** libm is required" >&5 12084$as_echo "$as_me: error: *** libm is required" >&2;} 12085 { (exit 1); exit 1; }; } 12086fi 12087 12088 12089 12090pkg_failed=no 12091{ $as_echo "$as_me:$LINENO: checking for XFONT" >&5 12092$as_echo_n "checking for XFONT... " >&6; } 12093 12094if test -n "$XFONT_CFLAGS"; then 12095 pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS" 12096 elif test -n "$PKG_CONFIG"; then 12097 if test -n "$PKG_CONFIG" && \ 12098 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5 12099 ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5 12100 ac_status=$? 12101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12102 (exit $ac_status); }; then 12103 pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto fontenc" 2>/dev/null` 12104else 12105 pkg_failed=yes 12106fi 12107 else 12108 pkg_failed=untried 12109fi 12110if test -n "$XFONT_LIBS"; then 12111 pkg_cv_XFONT_LIBS="$XFONT_LIBS" 12112 elif test -n "$PKG_CONFIG"; then 12113 if test -n "$PKG_CONFIG" && \ 12114 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5 12115 ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5 12116 ac_status=$? 12117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12118 (exit $ac_status); }; then 12119 pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto fontenc" 2>/dev/null` 12120else 12121 pkg_failed=yes 12122fi 12123 else 12124 pkg_failed=untried 12125fi 12126 12127 12128 12129if test $pkg_failed = yes; then 12130 12131if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 12132 _pkg_short_errors_supported=yes 12133else 12134 _pkg_short_errors_supported=no 12135fi 12136 if test $_pkg_short_errors_supported = yes; then 12137 XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto xtrans fontsproto fontenc" 2>&1` 12138 else 12139 XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto xtrans fontsproto fontenc" 2>&1` 12140 fi 12141 # Put the nasty error message in config.log where it belongs 12142 echo "$XFONT_PKG_ERRORS" >&5 12143 12144 { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto xtrans fontsproto fontenc) were not met: 12145 12146$XFONT_PKG_ERRORS 12147 12148Consider adjusting the PKG_CONFIG_PATH environment variable if you 12149installed software in a non-standard prefix. 12150 12151Alternatively, you may set the environment variables XFONT_CFLAGS 12152and XFONT_LIBS to avoid the need to call pkg-config. 12153See the pkg-config man page for more details. 12154" >&5 12155$as_echo "$as_me: error: Package requirements (xproto xtrans fontsproto fontenc) were not met: 12156 12157$XFONT_PKG_ERRORS 12158 12159Consider adjusting the PKG_CONFIG_PATH environment variable if you 12160installed software in a non-standard prefix. 12161 12162Alternatively, you may set the environment variables XFONT_CFLAGS 12163and XFONT_LIBS to avoid the need to call pkg-config. 12164See the pkg-config man page for more details. 12165" >&2;} 12166 { (exit 1); exit 1; }; } 12167elif test $pkg_failed = untried; then 12168 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 12169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12170{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 12171is in your PATH or set the PKG_CONFIG environment variable to the full 12172path to pkg-config. 12173 12174Alternatively, you may set the environment variables XFONT_CFLAGS 12175and XFONT_LIBS to avoid the need to call pkg-config. 12176See the pkg-config man page for more details. 12177 12178To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12179See \`config.log' for more details." >&5 12180$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 12181is in your PATH or set the PKG_CONFIG environment variable to the full 12182path to pkg-config. 12183 12184Alternatively, you may set the environment variables XFONT_CFLAGS 12185and XFONT_LIBS to avoid the need to call pkg-config. 12186See the pkg-config man page for more details. 12187 12188To get pkg-config, see <http://pkg-config.freedesktop.org/>. 12189See \`config.log' for more details." >&2;} 12190 { (exit 1); exit 1; }; }; } 12191else 12192 XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS 12193 XFONT_LIBS=$pkg_cv_XFONT_LIBS 12194 { $as_echo "$as_me:$LINENO: result: yes" >&5 12195$as_echo "yes" >&6; } 12196 : 12197fi 12198 12199# Transport selection macro from xtrans.m4 12200{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5 12201$as_echo_n "checking return type of signal handlers... " >&6; } 12202if test "${ac_cv_type_signal+set}" = set; then 12203 $as_echo_n "(cached) " >&6 12204else 12205 cat >conftest.$ac_ext <<_ACEOF 12206/* confdefs.h. */ 12207_ACEOF 12208cat confdefs.h >>conftest.$ac_ext 12209cat >>conftest.$ac_ext <<_ACEOF 12210/* end confdefs.h. */ 12211#include <sys/types.h> 12212#include <signal.h> 12213 12214int 12215main () 12216{ 12217return *(signal (0, 0)) (0) == 1; 12218 ; 12219 return 0; 12220} 12221_ACEOF 12222rm -f conftest.$ac_objext 12223if { (ac_try="$ac_compile" 12224case "(($ac_try" in 12225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12226 *) ac_try_echo=$ac_try;; 12227esac 12228eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12229$as_echo "$ac_try_echo") >&5 12230 (eval "$ac_compile") 2>conftest.er1 12231 ac_status=$? 12232 grep -v '^ *+' conftest.er1 >conftest.err 12233 rm -f conftest.er1 12234 cat conftest.err >&5 12235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12236 (exit $ac_status); } && { 12237 test -z "$ac_c_werror_flag" || 12238 test ! -s conftest.err 12239 } && test -s conftest.$ac_objext; then 12240 ac_cv_type_signal=int 12241else 12242 $as_echo "$as_me: failed program was:" >&5 12243sed 's/^/| /' conftest.$ac_ext >&5 12244 12245 ac_cv_type_signal=void 12246fi 12247 12248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12249fi 12250{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 12251$as_echo "$ac_cv_type_signal" >&6; } 12252 12253cat >>confdefs.h <<_ACEOF 12254#define RETSIGTYPE $ac_cv_type_signal 12255_ACEOF 12256 12257 12258 12259 12260 12261 case $host_os in 12262 mingw*) unixdef="no" ;; 12263 *) unixdef="yes" ;; 12264 esac 12265 # Check whether --enable-unix-transport was given. 12266if test "${enable_unix_transport+set}" = set; then 12267 enableval=$enable_unix_transport; UNIXCONN=$enableval 12268else 12269 UNIXCONN=$unixdef 12270fi 12271 12272 { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5 12273$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; } 12274 if test "$UNIXCONN" = "yes"; then 12275 12276cat >>confdefs.h <<\_ACEOF 12277#define UNIXCONN 1 12278_ACEOF 12279 12280 fi 12281 { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5 12282$as_echo "$UNIXCONN" >&6; } 12283 # Check whether --enable-tcp-transport was given. 12284if test "${enable_tcp_transport+set}" = set; then 12285 enableval=$enable_tcp_transport; TCPCONN=$enableval 12286else 12287 TCPCONN=yes 12288fi 12289 12290 { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5 12291$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; } 12292 { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5 12293$as_echo "$TCPCONN" >&6; } 12294 if test "$TCPCONN" = "yes"; then 12295 12296cat >>confdefs.h <<\_ACEOF 12297#define TCPCONN 1 12298_ACEOF 12299 12300 12301 # SVR4 hides these in libraries other than libc 12302 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 12303$as_echo_n "checking for library containing socket... " >&6; } 12304if test "${ac_cv_search_socket+set}" = set; then 12305 $as_echo_n "(cached) " >&6 12306else 12307 ac_func_search_save_LIBS=$LIBS 12308cat >conftest.$ac_ext <<_ACEOF 12309/* confdefs.h. */ 12310_ACEOF 12311cat confdefs.h >>conftest.$ac_ext 12312cat >>conftest.$ac_ext <<_ACEOF 12313/* end confdefs.h. */ 12314 12315/* Override any GCC internal prototype to avoid an error. 12316 Use char because int might match the return type of a GCC 12317 builtin and then its argument prototype would still apply. */ 12318#ifdef __cplusplus 12319extern "C" 12320#endif 12321char socket (); 12322int 12323main () 12324{ 12325return socket (); 12326 ; 12327 return 0; 12328} 12329_ACEOF 12330for ac_lib in '' socket; do 12331 if test -z "$ac_lib"; then 12332 ac_res="none required" 12333 else 12334 ac_res=-l$ac_lib 12335 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12336 fi 12337 rm -f conftest.$ac_objext conftest$ac_exeext 12338if { (ac_try="$ac_link" 12339case "(($ac_try" in 12340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12341 *) ac_try_echo=$ac_try;; 12342esac 12343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12344$as_echo "$ac_try_echo") >&5 12345 (eval "$ac_link") 2>conftest.er1 12346 ac_status=$? 12347 grep -v '^ *+' conftest.er1 >conftest.err 12348 rm -f conftest.er1 12349 cat conftest.err >&5 12350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12351 (exit $ac_status); } && { 12352 test -z "$ac_c_werror_flag" || 12353 test ! -s conftest.err 12354 } && test -s conftest$ac_exeext && { 12355 test "$cross_compiling" = yes || 12356 $as_test_x conftest$ac_exeext 12357 }; then 12358 ac_cv_search_socket=$ac_res 12359else 12360 $as_echo "$as_me: failed program was:" >&5 12361sed 's/^/| /' conftest.$ac_ext >&5 12362 12363 12364fi 12365 12366rm -rf conftest.dSYM 12367rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12368 conftest$ac_exeext 12369 if test "${ac_cv_search_socket+set}" = set; then 12370 break 12371fi 12372done 12373if test "${ac_cv_search_socket+set}" = set; then 12374 : 12375else 12376 ac_cv_search_socket=no 12377fi 12378rm conftest.$ac_ext 12379LIBS=$ac_func_search_save_LIBS 12380fi 12381{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 12382$as_echo "$ac_cv_search_socket" >&6; } 12383ac_res=$ac_cv_search_socket 12384if test "$ac_res" != no; then 12385 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12386 12387fi 12388 12389 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 12390$as_echo_n "checking for library containing gethostbyname... " >&6; } 12391if test "${ac_cv_search_gethostbyname+set}" = set; then 12392 $as_echo_n "(cached) " >&6 12393else 12394 ac_func_search_save_LIBS=$LIBS 12395cat >conftest.$ac_ext <<_ACEOF 12396/* confdefs.h. */ 12397_ACEOF 12398cat confdefs.h >>conftest.$ac_ext 12399cat >>conftest.$ac_ext <<_ACEOF 12400/* end confdefs.h. */ 12401 12402/* Override any GCC internal prototype to avoid an error. 12403 Use char because int might match the return type of a GCC 12404 builtin and then its argument prototype would still apply. */ 12405#ifdef __cplusplus 12406extern "C" 12407#endif 12408char gethostbyname (); 12409int 12410main () 12411{ 12412return gethostbyname (); 12413 ; 12414 return 0; 12415} 12416_ACEOF 12417for ac_lib in '' nsl; do 12418 if test -z "$ac_lib"; then 12419 ac_res="none required" 12420 else 12421 ac_res=-l$ac_lib 12422 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12423 fi 12424 rm -f conftest.$ac_objext conftest$ac_exeext 12425if { (ac_try="$ac_link" 12426case "(($ac_try" in 12427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12428 *) ac_try_echo=$ac_try;; 12429esac 12430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12431$as_echo "$ac_try_echo") >&5 12432 (eval "$ac_link") 2>conftest.er1 12433 ac_status=$? 12434 grep -v '^ *+' conftest.er1 >conftest.err 12435 rm -f conftest.er1 12436 cat conftest.err >&5 12437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12438 (exit $ac_status); } && { 12439 test -z "$ac_c_werror_flag" || 12440 test ! -s conftest.err 12441 } && test -s conftest$ac_exeext && { 12442 test "$cross_compiling" = yes || 12443 $as_test_x conftest$ac_exeext 12444 }; then 12445 ac_cv_search_gethostbyname=$ac_res 12446else 12447 $as_echo "$as_me: failed program was:" >&5 12448sed 's/^/| /' conftest.$ac_ext >&5 12449 12450 12451fi 12452 12453rm -rf conftest.dSYM 12454rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12455 conftest$ac_exeext 12456 if test "${ac_cv_search_gethostbyname+set}" = set; then 12457 break 12458fi 12459done 12460if test "${ac_cv_search_gethostbyname+set}" = set; then 12461 : 12462else 12463 ac_cv_search_gethostbyname=no 12464fi 12465rm conftest.$ac_ext 12466LIBS=$ac_func_search_save_LIBS 12467fi 12468{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 12469$as_echo "$ac_cv_search_gethostbyname" >&6; } 12470ac_res=$ac_cv_search_gethostbyname 12471if test "$ac_res" != no; then 12472 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12473 12474fi 12475 12476 12477 # Needs to come after above checks for libsocket & libnsl for SVR4 systems 12478 # Check whether --enable-ipv6 was given. 12479if test "${enable_ipv6+set}" = set; then 12480 enableval=$enable_ipv6; IPV6CONN=$enableval 12481else 12482 { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5 12483$as_echo_n "checking for getaddrinfo... " >&6; } 12484if test "${ac_cv_func_getaddrinfo+set}" = set; then 12485 $as_echo_n "(cached) " >&6 12486else 12487 cat >conftest.$ac_ext <<_ACEOF 12488/* confdefs.h. */ 12489_ACEOF 12490cat confdefs.h >>conftest.$ac_ext 12491cat >>conftest.$ac_ext <<_ACEOF 12492/* end confdefs.h. */ 12493/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 12494 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12495#define getaddrinfo innocuous_getaddrinfo 12496 12497/* System header to define __stub macros and hopefully few prototypes, 12498 which can conflict with char getaddrinfo (); below. 12499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12500 <limits.h> exists even on freestanding compilers. */ 12501 12502#ifdef __STDC__ 12503# include <limits.h> 12504#else 12505# include <assert.h> 12506#endif 12507 12508#undef getaddrinfo 12509 12510/* Override any GCC internal prototype to avoid an error. 12511 Use char because int might match the return type of a GCC 12512 builtin and then its argument prototype would still apply. */ 12513#ifdef __cplusplus 12514extern "C" 12515#endif 12516char getaddrinfo (); 12517/* The GNU C library defines this for functions which it implements 12518 to always fail with ENOSYS. Some functions are actually named 12519 something starting with __ and the normal name is an alias. */ 12520#if defined __stub_getaddrinfo || defined __stub___getaddrinfo 12521choke me 12522#endif 12523 12524int 12525main () 12526{ 12527return getaddrinfo (); 12528 ; 12529 return 0; 12530} 12531_ACEOF 12532rm -f conftest.$ac_objext conftest$ac_exeext 12533if { (ac_try="$ac_link" 12534case "(($ac_try" in 12535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12536 *) ac_try_echo=$ac_try;; 12537esac 12538eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12539$as_echo "$ac_try_echo") >&5 12540 (eval "$ac_link") 2>conftest.er1 12541 ac_status=$? 12542 grep -v '^ *+' conftest.er1 >conftest.err 12543 rm -f conftest.er1 12544 cat conftest.err >&5 12545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12546 (exit $ac_status); } && { 12547 test -z "$ac_c_werror_flag" || 12548 test ! -s conftest.err 12549 } && test -s conftest$ac_exeext && { 12550 test "$cross_compiling" = yes || 12551 $as_test_x conftest$ac_exeext 12552 }; then 12553 ac_cv_func_getaddrinfo=yes 12554else 12555 $as_echo "$as_me: failed program was:" >&5 12556sed 's/^/| /' conftest.$ac_ext >&5 12557 12558 ac_cv_func_getaddrinfo=no 12559fi 12560 12561rm -rf conftest.dSYM 12562rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12563 conftest$ac_exeext conftest.$ac_ext 12564fi 12565{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 12566$as_echo "$ac_cv_func_getaddrinfo" >&6; } 12567if test "x$ac_cv_func_getaddrinfo" = x""yes; then 12568 IPV6CONN=yes 12569else 12570 IPV6CONN=no 12571fi 12572 12573fi 12574 12575 { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5 12576$as_echo_n "checking if IPv6 support should be built... " >&6; } 12577 if test "$IPV6CONN" = "yes"; then 12578 12579cat >>confdefs.h <<\_ACEOF 12580#define IPv6 1 12581_ACEOF 12582 12583 fi 12584 { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5 12585$as_echo "$IPV6CONN" >&6; } 12586 12587 # 4.3BSD-Reno added a new member to struct sockaddr_in 12588 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 12589$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; } 12590if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 12591 $as_echo_n "(cached) " >&6 12592else 12593 cat >conftest.$ac_ext <<_ACEOF 12594/* confdefs.h. */ 12595_ACEOF 12596cat confdefs.h >>conftest.$ac_ext 12597cat >>conftest.$ac_ext <<_ACEOF 12598/* end confdefs.h. */ 12599 12600#include <sys/types.h> 12601#include <sys/socket.h> 12602#include <netinet/in.h> 12603 12604 12605int 12606main () 12607{ 12608static struct sockaddr_in ac_aggr; 12609if (ac_aggr.sin_len) 12610return 0; 12611 ; 12612 return 0; 12613} 12614_ACEOF 12615rm -f conftest.$ac_objext 12616if { (ac_try="$ac_compile" 12617case "(($ac_try" in 12618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12619 *) ac_try_echo=$ac_try;; 12620esac 12621eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12622$as_echo "$ac_try_echo") >&5 12623 (eval "$ac_compile") 2>conftest.er1 12624 ac_status=$? 12625 grep -v '^ *+' conftest.er1 >conftest.err 12626 rm -f conftest.er1 12627 cat conftest.err >&5 12628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12629 (exit $ac_status); } && { 12630 test -z "$ac_c_werror_flag" || 12631 test ! -s conftest.err 12632 } && test -s conftest.$ac_objext; then 12633 ac_cv_member_struct_sockaddr_in_sin_len=yes 12634else 12635 $as_echo "$as_me: failed program was:" >&5 12636sed 's/^/| /' conftest.$ac_ext >&5 12637 12638 cat >conftest.$ac_ext <<_ACEOF 12639/* confdefs.h. */ 12640_ACEOF 12641cat confdefs.h >>conftest.$ac_ext 12642cat >>conftest.$ac_ext <<_ACEOF 12643/* end confdefs.h. */ 12644 12645#include <sys/types.h> 12646#include <sys/socket.h> 12647#include <netinet/in.h> 12648 12649 12650int 12651main () 12652{ 12653static struct sockaddr_in ac_aggr; 12654if (sizeof ac_aggr.sin_len) 12655return 0; 12656 ; 12657 return 0; 12658} 12659_ACEOF 12660rm -f conftest.$ac_objext 12661if { (ac_try="$ac_compile" 12662case "(($ac_try" in 12663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12664 *) ac_try_echo=$ac_try;; 12665esac 12666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12667$as_echo "$ac_try_echo") >&5 12668 (eval "$ac_compile") 2>conftest.er1 12669 ac_status=$? 12670 grep -v '^ *+' conftest.er1 >conftest.err 12671 rm -f conftest.er1 12672 cat conftest.err >&5 12673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12674 (exit $ac_status); } && { 12675 test -z "$ac_c_werror_flag" || 12676 test ! -s conftest.err 12677 } && test -s conftest.$ac_objext; then 12678 ac_cv_member_struct_sockaddr_in_sin_len=yes 12679else 12680 $as_echo "$as_me: failed program was:" >&5 12681sed 's/^/| /' conftest.$ac_ext >&5 12682 12683 ac_cv_member_struct_sockaddr_in_sin_len=no 12684fi 12685 12686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12687fi 12688 12689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12690fi 12691{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 12692$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } 12693if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then 12694 12695cat >>confdefs.h <<\_ACEOF 12696#define BSD44SOCKETS 1 12697_ACEOF 12698 12699fi 12700 12701 12702 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc. 12703 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 12704$as_echo_n "checking for socklen_t... " >&6; } 12705if test "${ac_cv_type_socklen_t+set}" = set; then 12706 $as_echo_n "(cached) " >&6 12707else 12708 ac_cv_type_socklen_t=no 12709cat >conftest.$ac_ext <<_ACEOF 12710/* confdefs.h. */ 12711_ACEOF 12712cat confdefs.h >>conftest.$ac_ext 12713cat >>conftest.$ac_ext <<_ACEOF 12714/* end confdefs.h. */ 12715 12716$ac_includes_default 12717#include <sys/socket.h> 12718 12719int 12720main () 12721{ 12722if (sizeof (socklen_t)) 12723 return 0; 12724 ; 12725 return 0; 12726} 12727_ACEOF 12728rm -f conftest.$ac_objext 12729if { (ac_try="$ac_compile" 12730case "(($ac_try" in 12731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12732 *) ac_try_echo=$ac_try;; 12733esac 12734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12735$as_echo "$ac_try_echo") >&5 12736 (eval "$ac_compile") 2>conftest.er1 12737 ac_status=$? 12738 grep -v '^ *+' conftest.er1 >conftest.err 12739 rm -f conftest.er1 12740 cat conftest.err >&5 12741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12742 (exit $ac_status); } && { 12743 test -z "$ac_c_werror_flag" || 12744 test ! -s conftest.err 12745 } && test -s conftest.$ac_objext; then 12746 cat >conftest.$ac_ext <<_ACEOF 12747/* confdefs.h. */ 12748_ACEOF 12749cat confdefs.h >>conftest.$ac_ext 12750cat >>conftest.$ac_ext <<_ACEOF 12751/* end confdefs.h. */ 12752 12753$ac_includes_default 12754#include <sys/socket.h> 12755 12756int 12757main () 12758{ 12759if (sizeof ((socklen_t))) 12760 return 0; 12761 ; 12762 return 0; 12763} 12764_ACEOF 12765rm -f conftest.$ac_objext 12766if { (ac_try="$ac_compile" 12767case "(($ac_try" in 12768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12769 *) ac_try_echo=$ac_try;; 12770esac 12771eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12772$as_echo "$ac_try_echo") >&5 12773 (eval "$ac_compile") 2>conftest.er1 12774 ac_status=$? 12775 grep -v '^ *+' conftest.er1 >conftest.err 12776 rm -f conftest.er1 12777 cat conftest.err >&5 12778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12779 (exit $ac_status); } && { 12780 test -z "$ac_c_werror_flag" || 12781 test ! -s conftest.err 12782 } && test -s conftest.$ac_objext; then 12783 : 12784else 12785 $as_echo "$as_me: failed program was:" >&5 12786sed 's/^/| /' conftest.$ac_ext >&5 12787 12788 ac_cv_type_socklen_t=yes 12789fi 12790 12791rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12792else 12793 $as_echo "$as_me: failed program was:" >&5 12794sed 's/^/| /' conftest.$ac_ext >&5 12795 12796 12797fi 12798 12799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12800fi 12801{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 12802$as_echo "$ac_cv_type_socklen_t" >&6; } 12803if test "x$ac_cv_type_socklen_t" = x""yes; then 12804 12805cat >>confdefs.h <<_ACEOF 12806#define HAVE_SOCKLEN_T 1 12807_ACEOF 12808 12809 12810fi 12811 12812 12813 12814 fi 12815 case $host_os in 12816 solaris*|sco*|sysv4*) localdef="yes" ;; 12817 *) localdef="no" ;; 12818 esac 12819 # Check whether --enable-local-transport was given. 12820if test "${enable_local_transport+set}" = set; then 12821 enableval=$enable_local_transport; LOCALCONN=$enableval 12822else 12823 LOCALCONN=$localdef 12824fi 12825 12826 { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5 12827$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; } 12828 { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5 12829$as_echo "$LOCALCONN" >&6; } 12830 if test "$LOCALCONN" = "yes"; then 12831 12832cat >>confdefs.h <<\_ACEOF 12833#define LOCALCONN 1 12834_ACEOF 12835 12836 fi 12837 12838 12839 12840 12841 12842if test "x$GCC" = xyes ; then 12843 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 12844-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 12845-Wbad-function-cast" 12846 case `gcc -dumpversion` in 12847 3.4.* | 4.*) 12848 CWARNFLAGS+=" -Wold-style-definition -Wdeclaration-after-statement" 12849 ;; 12850 esac 12851else 12852 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 12853$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 12854if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 12855 $as_echo_n "(cached) " >&6 12856else 12857 cat >conftest.$ac_ext <<_ACEOF 12858/* confdefs.h. */ 12859_ACEOF 12860cat confdefs.h >>conftest.$ac_ext 12861cat >>conftest.$ac_ext <<_ACEOF 12862/* end confdefs.h. */ 12863$ac_includes_default 12864int 12865main () 12866{ 12867#ifndef __SUNPRO_C 12868 (void) __SUNPRO_C; 12869#endif 12870 12871 ; 12872 return 0; 12873} 12874_ACEOF 12875rm -f conftest.$ac_objext 12876if { (ac_try="$ac_compile" 12877case "(($ac_try" in 12878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12879 *) ac_try_echo=$ac_try;; 12880esac 12881eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12882$as_echo "$ac_try_echo") >&5 12883 (eval "$ac_compile") 2>conftest.er1 12884 ac_status=$? 12885 grep -v '^ *+' conftest.er1 >conftest.err 12886 rm -f conftest.er1 12887 cat conftest.err >&5 12888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12889 (exit $ac_status); } && { 12890 test -z "$ac_c_werror_flag" || 12891 test ! -s conftest.err 12892 } && test -s conftest.$ac_objext; then 12893 ac_cv_have_decl___SUNPRO_C=yes 12894else 12895 $as_echo "$as_me: failed program was:" >&5 12896sed 's/^/| /' conftest.$ac_ext >&5 12897 12898 ac_cv_have_decl___SUNPRO_C=no 12899fi 12900 12901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12902fi 12903{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 12904$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 12905if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 12906 SUNCC="yes" 12907else 12908 SUNCC="no" 12909fi 12910 12911 if test "x$SUNCC" = "xyes"; then 12912 CWARNFLAGS="-v" 12913 fi 12914fi 12915 12916 12917 12918case $host_os in 12919 linux*) 12920 OS_CFLAGS="-D_XOPEN_SOURCE" 12921 ;; 12922 darwin*) 12923 OS_CFLAGS="-Wl,-flat_namespace" 12924 ;; 12925 *) 12926 OS_CFLAGS= 12927 ;; 12928esac 12929 12930 12931 12932 12933# Check whether --with-release-version was given. 12934if test "${with_release_version+set}" = set; then 12935 withval=$with_release_version; RELEASE_VERSION="$withval" 12936else 12937 RELEASE_VERSION="" 12938fi 12939 12940 if test "x$RELEASE_VERSION" != "x"; then 12941 PACKAGE="$PACKAGE-$RELEASE_VERSION" 12942 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 12943 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 12944$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 12945 fi 12946 12947cat >>confdefs.h <<_ACEOF 12948#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 12949_ACEOF 12950 12951 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 12952 if test "x$PVM" = "x"; then 12953 PVM="0" 12954 fi 12955 12956cat >>confdefs.h <<_ACEOF 12957#define PACKAGE_VERSION_MINOR $PVM 12958_ACEOF 12959 12960 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 12961 if test "x$PVP" = "x"; then 12962 PVP="0" 12963 fi 12964 12965cat >>confdefs.h <<_ACEOF 12966#define PACKAGE_VERSION_PATCHLEVEL $PVP 12967_ACEOF 12968 12969 12970 12971CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 12972mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 12973echo 'git directory not found: installing possibly empty changelog.' >&2)" 12974 12975distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 12976 12977 12978 12979ac_config_files="$ac_config_files Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc" 12980 12981cat >confcache <<\_ACEOF 12982# This file is a shell script that caches the results of configure 12983# tests run on this system so they can be shared between configure 12984# scripts and configure runs, see configure's option --config-cache. 12985# It is not useful on other systems. If it contains results you don't 12986# want to keep, you may remove or edit it. 12987# 12988# config.status only pays attention to the cache file if you give it 12989# the --recheck option to rerun configure. 12990# 12991# `ac_cv_env_foo' variables (set or unset) will be overridden when 12992# loading this file, other *unset* `ac_cv_foo' will be assigned the 12993# following values. 12994 12995_ACEOF 12996 12997# The following way of writing the cache mishandles newlines in values, 12998# but we know of no workaround that is simple, portable, and efficient. 12999# So, we kill variables containing newlines. 13000# Ultrix sh set writes to stderr and can't be redirected directly, 13001# and sets the high bit in the cache file unless we assign to the vars. 13002( 13003 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13004 eval ac_val=\$$ac_var 13005 case $ac_val in #( 13006 *${as_nl}*) 13007 case $ac_var in #( 13008 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 13009$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13010 esac 13011 case $ac_var in #( 13012 _ | IFS | as_nl) ;; #( 13013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13014 *) $as_unset $ac_var ;; 13015 esac ;; 13016 esac 13017 done 13018 13019 (set) 2>&1 | 13020 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13021 *${as_nl}ac_space=\ *) 13022 # `set' does not quote correctly, so add quotes (double-quote 13023 # substitution turns \\\\ into \\, and sed turns \\ into \). 13024 sed -n \ 13025 "s/'/'\\\\''/g; 13026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13027 ;; #( 13028 *) 13029 # `set' quotes correctly as required by POSIX, so do not add quotes. 13030 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13031 ;; 13032 esac | 13033 sort 13034) | 13035 sed ' 13036 /^ac_cv_env_/b end 13037 t clear 13038 :clear 13039 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13040 t end 13041 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13042 :end' >>confcache 13043if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13044 if test -w "$cache_file"; then 13045 test "x$cache_file" != "x/dev/null" && 13046 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 13047$as_echo "$as_me: updating cache $cache_file" >&6;} 13048 cat confcache >$cache_file 13049 else 13050 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13051$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13052 fi 13053fi 13054rm -f confcache 13055 13056test "x$prefix" = xNONE && prefix=$ac_default_prefix 13057# Let make expand exec_prefix. 13058test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13059 13060DEFS=-DHAVE_CONFIG_H 13061 13062ac_libobjs= 13063ac_ltlibobjs= 13064for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13065 # 1. Remove the extension, and $U if already installed. 13066 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13067 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13068 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13069 # will be set to the directory where LIBOBJS objects are built. 13070 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13071 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 13072done 13073LIBOBJS=$ac_libobjs 13074 13075LTLIBOBJS=$ac_ltlibobjs 13076 13077 13078if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13079 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 13080Usually this means the macro was only invoked conditionally." >&5 13081$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 13082Usually this means the macro was only invoked conditionally." >&2;} 13083 { (exit 1); exit 1; }; } 13084fi 13085if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13086 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 13087Usually this means the macro was only invoked conditionally." >&5 13088$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 13089Usually this means the macro was only invoked conditionally." >&2;} 13090 { (exit 1); exit 1; }; } 13091fi 13092if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then 13093 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FREETYPE\" was never defined. 13094Usually this means the macro was only invoked conditionally." >&5 13095$as_echo "$as_me: error: conditional \"XFONT_FREETYPE\" was never defined. 13096Usually this means the macro was only invoked conditionally." >&2;} 13097 { (exit 1); exit 1; }; } 13098fi 13099if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then 13100 { { $as_echo "$as_me:$LINENO: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined. 13101Usually this means the macro was only invoked conditionally." >&5 13102$as_echo "$as_me: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined. 13103Usually this means the macro was only invoked conditionally." >&2;} 13104 { (exit 1); exit 1; }; } 13105fi 13106if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then 13107 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BUILTINS\" was never defined. 13108Usually this means the macro was only invoked conditionally." >&5 13109$as_echo "$as_me: error: conditional \"XFONT_BUILTINS\" was never defined. 13110Usually this means the macro was only invoked conditionally." >&2;} 13111 { (exit 1); exit 1; }; } 13112fi 13113if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then 13114 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_PCFFORMAT\" was never defined. 13115Usually this means the macro was only invoked conditionally." >&5 13116$as_echo "$as_me: error: conditional \"XFONT_PCFFORMAT\" was never defined. 13117Usually this means the macro was only invoked conditionally." >&2;} 13118 { (exit 1); exit 1; }; } 13119fi 13120if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then 13121 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BDFFORMAT\" was never defined. 13122Usually this means the macro was only invoked conditionally." >&5 13123$as_echo "$as_me: error: conditional \"XFONT_BDFFORMAT\" was never defined. 13124Usually this means the macro was only invoked conditionally." >&2;} 13125 { (exit 1); exit 1; }; } 13126fi 13127if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then 13128 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_SNFFORMAT\" was never defined. 13129Usually this means the macro was only invoked conditionally." >&5 13130$as_echo "$as_me: error: conditional \"XFONT_SNFFORMAT\" was never defined. 13131Usually this means the macro was only invoked conditionally." >&2;} 13132 { (exit 1); exit 1; }; } 13133fi 13134if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then 13135 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BITMAP\" was never defined. 13136Usually this means the macro was only invoked conditionally." >&5 13137$as_echo "$as_me: error: conditional \"XFONT_BITMAP\" was never defined. 13138Usually this means the macro was only invoked conditionally." >&2;} 13139 { (exit 1); exit 1; }; } 13140fi 13141if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then 13142 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FONTFILE\" was never defined. 13143Usually this means the macro was only invoked conditionally." >&5 13144$as_echo "$as_me: error: conditional \"XFONT_FONTFILE\" was never defined. 13145Usually this means the macro was only invoked conditionally." >&2;} 13146 { (exit 1); exit 1; }; } 13147fi 13148if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then 13149 { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FC\" was never defined. 13150Usually this means the macro was only invoked conditionally." >&5 13151$as_echo "$as_me: error: conditional \"XFONT_FC\" was never defined. 13152Usually this means the macro was only invoked conditionally." >&2;} 13153 { (exit 1); exit 1; }; } 13154fi 13155 13156: ${CONFIG_STATUS=./config.status} 13157ac_write_fail=0 13158ac_clean_files_save=$ac_clean_files 13159ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13160{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13161$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13162cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13163#! $SHELL 13164# Generated by $as_me. 13165# Run this file to recreate the current configuration. 13166# Compiler output produced by configure, useful for debugging 13167# configure, is in config.log if it exists. 13168 13169debug=false 13170ac_cs_recheck=false 13171ac_cs_silent=false 13172SHELL=\${CONFIG_SHELL-$SHELL} 13173_ACEOF 13174 13175cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13176## --------------------- ## 13177## M4sh Initialization. ## 13178## --------------------- ## 13179 13180# Be more Bourne compatible 13181DUALCASE=1; export DUALCASE # for MKS sh 13182if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13183 emulate sh 13184 NULLCMD=: 13185 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13186 # is contrary to our usage. Disable this feature. 13187 alias -g '${1+"$@"}'='"$@"' 13188 setopt NO_GLOB_SUBST 13189else 13190 case `(set -o) 2>/dev/null` in 13191 *posix*) set -o posix ;; 13192esac 13193 13194fi 13195 13196 13197 13198 13199# PATH needs CR 13200# Avoid depending upon Character Ranges. 13201as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13202as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13203as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13204as_cr_digits='0123456789' 13205as_cr_alnum=$as_cr_Letters$as_cr_digits 13206 13207as_nl=' 13208' 13209export as_nl 13210# Printing a long string crashes Solaris 7 /usr/bin/printf. 13211as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13212as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13213as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13214if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13215 as_echo='printf %s\n' 13216 as_echo_n='printf %s' 13217else 13218 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13219 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13220 as_echo_n='/usr/ucb/echo -n' 13221 else 13222 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13223 as_echo_n_body='eval 13224 arg=$1; 13225 case $arg in 13226 *"$as_nl"*) 13227 expr "X$arg" : "X\\(.*\\)$as_nl"; 13228 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13229 esac; 13230 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13231 ' 13232 export as_echo_n_body 13233 as_echo_n='sh -c $as_echo_n_body as_echo' 13234 fi 13235 export as_echo_body 13236 as_echo='sh -c $as_echo_body as_echo' 13237fi 13238 13239# The user is always right. 13240if test "${PATH_SEPARATOR+set}" != set; then 13241 PATH_SEPARATOR=: 13242 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13243 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13244 PATH_SEPARATOR=';' 13245 } 13246fi 13247 13248# Support unset when possible. 13249if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13250 as_unset=unset 13251else 13252 as_unset=false 13253fi 13254 13255 13256# IFS 13257# We need space, tab and new line, in precisely that order. Quoting is 13258# there to prevent editors from complaining about space-tab. 13259# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13260# splitting by setting IFS to empty value.) 13261IFS=" "" $as_nl" 13262 13263# Find who we are. Look in the path if we contain no directory separator. 13264case $0 in 13265 *[\\/]* ) as_myself=$0 ;; 13266 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13267for as_dir in $PATH 13268do 13269 IFS=$as_save_IFS 13270 test -z "$as_dir" && as_dir=. 13271 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13272done 13273IFS=$as_save_IFS 13274 13275 ;; 13276esac 13277# We did not find ourselves, most probably we were run as `sh COMMAND' 13278# in which case we are not to be found in the path. 13279if test "x$as_myself" = x; then 13280 as_myself=$0 13281fi 13282if test ! -f "$as_myself"; then 13283 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13284 { (exit 1); exit 1; } 13285fi 13286 13287# Work around bugs in pre-3.0 UWIN ksh. 13288for as_var in ENV MAIL MAILPATH 13289do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 13290done 13291PS1='$ ' 13292PS2='> ' 13293PS4='+ ' 13294 13295# NLS nuisances. 13296LC_ALL=C 13297export LC_ALL 13298LANGUAGE=C 13299export LANGUAGE 13300 13301# Required to use basename. 13302if expr a : '\(a\)' >/dev/null 2>&1 && 13303 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13304 as_expr=expr 13305else 13306 as_expr=false 13307fi 13308 13309if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13310 as_basename=basename 13311else 13312 as_basename=false 13313fi 13314 13315 13316# Name of the executable. 13317as_me=`$as_basename -- "$0" || 13318$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13319 X"$0" : 'X\(//\)$' \| \ 13320 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13321$as_echo X/"$0" | 13322 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13323 s//\1/ 13324 q 13325 } 13326 /^X\/\(\/\/\)$/{ 13327 s//\1/ 13328 q 13329 } 13330 /^X\/\(\/\).*/{ 13331 s//\1/ 13332 q 13333 } 13334 s/.*/./; q'` 13335 13336# CDPATH. 13337$as_unset CDPATH 13338 13339 13340 13341 as_lineno_1=$LINENO 13342 as_lineno_2=$LINENO 13343 test "x$as_lineno_1" != "x$as_lineno_2" && 13344 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13345 13346 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13347 # uniformly replaced by the line number. The first 'sed' inserts a 13348 # line-number line after each line using $LINENO; the second 'sed' 13349 # does the real work. The second script uses 'N' to pair each 13350 # line-number line with the line containing $LINENO, and appends 13351 # trailing '-' during substitution so that $LINENO is not a special 13352 # case at line end. 13353 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13354 # scripts with optimization help from Paolo Bonzini. Blame Lee 13355 # E. McMahon (1931-1989) for sed's syntax. :-) 13356 sed -n ' 13357 p 13358 /[$]LINENO/= 13359 ' <$as_myself | 13360 sed ' 13361 s/[$]LINENO.*/&-/ 13362 t lineno 13363 b 13364 :lineno 13365 N 13366 :loop 13367 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13368 t loop 13369 s/-\n.*// 13370 ' >$as_me.lineno && 13371 chmod +x "$as_me.lineno" || 13372 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13373 { (exit 1); exit 1; }; } 13374 13375 # Don't try to exec as it changes $[0], causing all sort of problems 13376 # (the dirname of $[0] is not the place where we might find the 13377 # original and so on. Autoconf is especially sensitive to this). 13378 . "./$as_me.lineno" 13379 # Exit status is that of the last command. 13380 exit 13381} 13382 13383 13384if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13385 as_dirname=dirname 13386else 13387 as_dirname=false 13388fi 13389 13390ECHO_C= ECHO_N= ECHO_T= 13391case `echo -n x` in 13392-n*) 13393 case `echo 'x\c'` in 13394 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13395 *) ECHO_C='\c';; 13396 esac;; 13397*) 13398 ECHO_N='-n';; 13399esac 13400if expr a : '\(a\)' >/dev/null 2>&1 && 13401 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13402 as_expr=expr 13403else 13404 as_expr=false 13405fi 13406 13407rm -f conf$$ conf$$.exe conf$$.file 13408if test -d conf$$.dir; then 13409 rm -f conf$$.dir/conf$$.file 13410else 13411 rm -f conf$$.dir 13412 mkdir conf$$.dir 2>/dev/null 13413fi 13414if (echo >conf$$.file) 2>/dev/null; then 13415 if ln -s conf$$.file conf$$ 2>/dev/null; then 13416 as_ln_s='ln -s' 13417 # ... but there are two gotchas: 13418 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13419 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13420 # In both cases, we have to default to `cp -p'. 13421 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13422 as_ln_s='cp -p' 13423 elif ln conf$$.file conf$$ 2>/dev/null; then 13424 as_ln_s=ln 13425 else 13426 as_ln_s='cp -p' 13427 fi 13428else 13429 as_ln_s='cp -p' 13430fi 13431rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13432rmdir conf$$.dir 2>/dev/null 13433 13434if mkdir -p . 2>/dev/null; then 13435 as_mkdir_p=: 13436else 13437 test -d ./-p && rmdir ./-p 13438 as_mkdir_p=false 13439fi 13440 13441if test -x / >/dev/null 2>&1; then 13442 as_test_x='test -x' 13443else 13444 if ls -dL / >/dev/null 2>&1; then 13445 as_ls_L_option=L 13446 else 13447 as_ls_L_option= 13448 fi 13449 as_test_x=' 13450 eval sh -c '\'' 13451 if test -d "$1"; then 13452 test -d "$1/."; 13453 else 13454 case $1 in 13455 -*)set "./$1";; 13456 esac; 13457 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13458 ???[sx]*):;;*)false;;esac;fi 13459 '\'' sh 13460 ' 13461fi 13462as_executable_p=$as_test_x 13463 13464# Sed expression to map a string onto a valid CPP name. 13465as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13466 13467# Sed expression to map a string onto a valid variable name. 13468as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13469 13470 13471exec 6>&1 13472 13473# Save the log message, to keep $[0] and so on meaningful, and to 13474# report actual input values of CONFIG_FILES etc. instead of their 13475# values after options handling. 13476ac_log=" 13477This file was extended by libXfont $as_me 1.4.0, which was 13478generated by GNU Autoconf 2.63. Invocation command line was 13479 13480 CONFIG_FILES = $CONFIG_FILES 13481 CONFIG_HEADERS = $CONFIG_HEADERS 13482 CONFIG_LINKS = $CONFIG_LINKS 13483 CONFIG_COMMANDS = $CONFIG_COMMANDS 13484 $ $0 $@ 13485 13486on `(hostname || uname -n) 2>/dev/null | sed 1q` 13487" 13488 13489_ACEOF 13490 13491case $ac_config_files in *" 13492"*) set x $ac_config_files; shift; ac_config_files=$*;; 13493esac 13494 13495case $ac_config_headers in *" 13496"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13497esac 13498 13499 13500cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13501# Files that config.status was made for. 13502config_files="$ac_config_files" 13503config_headers="$ac_config_headers" 13504config_commands="$ac_config_commands" 13505 13506_ACEOF 13507 13508cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13509ac_cs_usage="\ 13510\`$as_me' instantiates files from templates according to the 13511current configuration. 13512 13513Usage: $0 [OPTION]... [FILE]... 13514 13515 -h, --help print this help, then exit 13516 -V, --version print version number and configuration settings, then exit 13517 -q, --quiet, --silent 13518 do not print progress messages 13519 -d, --debug don't remove temporary files 13520 --recheck update $as_me by reconfiguring in the same conditions 13521 --file=FILE[:TEMPLATE] 13522 instantiate the configuration file FILE 13523 --header=FILE[:TEMPLATE] 13524 instantiate the configuration header FILE 13525 13526Configuration files: 13527$config_files 13528 13529Configuration headers: 13530$config_headers 13531 13532Configuration commands: 13533$config_commands 13534 13535Report bugs to <bug-autoconf@gnu.org>." 13536 13537_ACEOF 13538cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13539ac_cs_version="\\ 13540libXfont config.status 1.4.0 13541configured by $0, generated by GNU Autoconf 2.63, 13542 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13543 13544Copyright (C) 2008 Free Software Foundation, Inc. 13545This config.status script is free software; the Free Software Foundation 13546gives unlimited permission to copy, distribute and modify it." 13547 13548ac_pwd='$ac_pwd' 13549srcdir='$srcdir' 13550INSTALL='$INSTALL' 13551MKDIR_P='$MKDIR_P' 13552AWK='$AWK' 13553test -n "\$AWK" || AWK=awk 13554_ACEOF 13555 13556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13557# The default lists apply if the user does not specify any file. 13558ac_need_defaults=: 13559while test $# != 0 13560do 13561 case $1 in 13562 --*=*) 13563 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13564 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13565 ac_shift=: 13566 ;; 13567 *) 13568 ac_option=$1 13569 ac_optarg=$2 13570 ac_shift=shift 13571 ;; 13572 esac 13573 13574 case $ac_option in 13575 # Handling of the options. 13576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13577 ac_cs_recheck=: ;; 13578 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13579 $as_echo "$ac_cs_version"; exit ;; 13580 --debug | --debu | --deb | --de | --d | -d ) 13581 debug=: ;; 13582 --file | --fil | --fi | --f ) 13583 $ac_shift 13584 case $ac_optarg in 13585 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13586 esac 13587 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 13588 ac_need_defaults=false;; 13589 --header | --heade | --head | --hea ) 13590 $ac_shift 13591 case $ac_optarg in 13592 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13593 esac 13594 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 13595 ac_need_defaults=false;; 13596 --he | --h) 13597 # Conflict between --help and --header 13598 { $as_echo "$as_me: error: ambiguous option: $1 13599Try \`$0 --help' for more information." >&2 13600 { (exit 1); exit 1; }; };; 13601 --help | --hel | -h ) 13602 $as_echo "$ac_cs_usage"; exit ;; 13603 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13604 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13605 ac_cs_silent=: ;; 13606 13607 # This is an error. 13608 -*) { $as_echo "$as_me: error: unrecognized option: $1 13609Try \`$0 --help' for more information." >&2 13610 { (exit 1); exit 1; }; } ;; 13611 13612 *) ac_config_targets="$ac_config_targets $1" 13613 ac_need_defaults=false ;; 13614 13615 esac 13616 shift 13617done 13618 13619ac_configure_extra_args= 13620 13621if $ac_cs_silent; then 13622 exec 6>/dev/null 13623 ac_configure_extra_args="$ac_configure_extra_args --silent" 13624fi 13625 13626_ACEOF 13627cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13628if \$ac_cs_recheck; then 13629 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13630 shift 13631 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13632 CONFIG_SHELL='$SHELL' 13633 export CONFIG_SHELL 13634 exec "\$@" 13635fi 13636 13637_ACEOF 13638cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13639exec 5>>config.log 13640{ 13641 echo 13642 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13643## Running $as_me. ## 13644_ASBOX 13645 $as_echo "$ac_log" 13646} >&5 13647 13648_ACEOF 13649cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13650# 13651# INIT-COMMANDS 13652# 13653AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13654 13655 13656# The HP-UX ksh and POSIX shell print the target directory to stdout 13657# if CDPATH is set. 13658(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13659 13660sed_quote_subst='$sed_quote_subst' 13661double_quote_subst='$double_quote_subst' 13662delay_variable_subst='$delay_variable_subst' 13663macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 13664macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 13665enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 13666enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 13667pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 13668enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 13669host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 13670host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 13671host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 13672build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 13673build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 13674build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 13675SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 13676Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 13677GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 13678EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 13679FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 13680LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 13681NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 13682LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 13683max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 13684ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 13685exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 13686lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 13687lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 13688lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 13689reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 13690reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13691OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 13692deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 13693file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 13694AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 13695AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13696STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 13697RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 13698old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13699old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13700old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13701CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 13702CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13703compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 13704GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 13705lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 13706lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 13707lt_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"`' 13708lt_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"`' 13709objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 13710SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 13711ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 13712MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 13713lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 13714lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 13715lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 13716lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 13717lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 13718need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 13719DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 13720NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 13721LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 13722OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 13723OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 13724libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 13725shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13726extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13727archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 13728enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 13729export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13730whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13731compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 13732old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13733old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13734archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13735archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13736module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13737module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13738with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 13739allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13740no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 13741hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 13742hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 13743hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 13744hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 13745hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 13746hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 13747hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13748hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 13749inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 13750link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 13751fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 13752always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 13753export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13754exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13755include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 13756prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13757file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 13758variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 13759need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 13760need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 13761version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 13762runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13763shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 13764shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 13765libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13766library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 13767soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 13768postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13769postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13770finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13771finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 13772hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 13773sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13774sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 13775hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 13776enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 13777enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 13778enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 13779old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 13780striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 13781 13782LTCC='$LTCC' 13783LTCFLAGS='$LTCFLAGS' 13784compiler='$compiler_DEFAULT' 13785 13786# Quote evaled strings. 13787for var in SED \ 13788GREP \ 13789EGREP \ 13790FGREP \ 13791LD \ 13792NM \ 13793LN_S \ 13794lt_SP2NL \ 13795lt_NL2SP \ 13796reload_flag \ 13797OBJDUMP \ 13798deplibs_check_method \ 13799file_magic_cmd \ 13800AR \ 13801AR_FLAGS \ 13802STRIP \ 13803RANLIB \ 13804CC \ 13805CFLAGS \ 13806compiler \ 13807lt_cv_sys_global_symbol_pipe \ 13808lt_cv_sys_global_symbol_to_cdecl \ 13809lt_cv_sys_global_symbol_to_c_name_address \ 13810lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 13811SHELL \ 13812ECHO \ 13813lt_prog_compiler_no_builtin_flag \ 13814lt_prog_compiler_wl \ 13815lt_prog_compiler_pic \ 13816lt_prog_compiler_static \ 13817lt_cv_prog_compiler_c_o \ 13818need_locks \ 13819DSYMUTIL \ 13820NMEDIT \ 13821LIPO \ 13822OTOOL \ 13823OTOOL64 \ 13824shrext_cmds \ 13825export_dynamic_flag_spec \ 13826whole_archive_flag_spec \ 13827compiler_needs_object \ 13828with_gnu_ld \ 13829allow_undefined_flag \ 13830no_undefined_flag \ 13831hardcode_libdir_flag_spec \ 13832hardcode_libdir_flag_spec_ld \ 13833hardcode_libdir_separator \ 13834fix_srcfile_path \ 13835exclude_expsyms \ 13836include_expsyms \ 13837file_list_spec \ 13838variables_saved_for_relink \ 13839libname_spec \ 13840library_names_spec \ 13841soname_spec \ 13842finish_eval \ 13843old_striplib \ 13844striplib; do 13845 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13846 *[\\\\\\\`\\"\\\$]*) 13847 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 13848 ;; 13849 *) 13850 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13851 ;; 13852 esac 13853done 13854 13855# Double-quote double-evaled strings. 13856for var in reload_cmds \ 13857old_postinstall_cmds \ 13858old_postuninstall_cmds \ 13859old_archive_cmds \ 13860extract_expsyms_cmds \ 13861old_archive_from_new_cmds \ 13862old_archive_from_expsyms_cmds \ 13863archive_cmds \ 13864archive_expsym_cmds \ 13865module_cmds \ 13866module_expsym_cmds \ 13867export_symbols_cmds \ 13868prelink_cmds \ 13869postinstall_cmds \ 13870postuninstall_cmds \ 13871finish_cmds \ 13872sys_lib_search_path_spec \ 13873sys_lib_dlsearch_path_spec; do 13874 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 13875 *[\\\\\\\`\\"\\\$]*) 13876 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 13877 ;; 13878 *) 13879 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 13880 ;; 13881 esac 13882done 13883 13884# Fix-up fallback echo if it was mangled by the above quoting rules. 13885case \$lt_ECHO in 13886*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 13887 ;; 13888esac 13889 13890ac_aux_dir='$ac_aux_dir' 13891xsi_shell='$xsi_shell' 13892lt_shell_append='$lt_shell_append' 13893 13894# See if we are running on zsh, and set the options which allow our 13895# commands through without removal of \ escapes INIT. 13896if test -n "\${ZSH_VERSION+set}" ; then 13897 setopt NO_GLOB_SUBST 13898fi 13899 13900 13901 PACKAGE='$PACKAGE' 13902 VERSION='$VERSION' 13903 TIMESTAMP='$TIMESTAMP' 13904 RM='$RM' 13905 ofile='$ofile' 13906 13907 13908 13909 13910_ACEOF 13911 13912cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13913 13914# Handling of arguments. 13915for ac_config_target in $ac_config_targets 13916do 13917 case $ac_config_target in 13918 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 13919 "include/X11/fonts/fontconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/fonts/fontconf.h" ;; 13920 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 13921 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 13922 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 13923 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 13924 "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;; 13925 "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;; 13926 "src/builtins/Makefile") CONFIG_FILES="$CONFIG_FILES src/builtins/Makefile" ;; 13927 "src/bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/bitmap/Makefile" ;; 13928 "src/fc/Makefile") CONFIG_FILES="$CONFIG_FILES src/fc/Makefile" ;; 13929 "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;; 13930 "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;; 13931 "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;; 13932 13933 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 13934$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 13935 { (exit 1); exit 1; }; };; 13936 esac 13937done 13938 13939 13940# If the user did not use the arguments to specify the items to instantiate, 13941# then the envvar interface is used. Set only those that are not. 13942# We use the long form for the default assignment because of an extremely 13943# bizarre bug on SunOS 4.1.3. 13944if $ac_need_defaults; then 13945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 13946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 13947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 13948fi 13949 13950# Have a temporary directory for convenience. Make it in the build tree 13951# simply because there is no reason against having it here, and in addition, 13952# creating and moving files from /tmp can sometimes cause problems. 13953# Hook for its removal unless debugging. 13954# Note that there is a small window in which the directory will not be cleaned: 13955# after its creation but before its name has been assigned to `$tmp'. 13956$debug || 13957{ 13958 tmp= 13959 trap 'exit_status=$? 13960 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 13961' 0 13962 trap '{ (exit 1); exit 1; }' 1 2 13 15 13963} 13964# Create a (secure) tmp directory for tmp files. 13965 13966{ 13967 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 13968 test -n "$tmp" && test -d "$tmp" 13969} || 13970{ 13971 tmp=./conf$$-$RANDOM 13972 (umask 077 && mkdir "$tmp") 13973} || 13974{ 13975 $as_echo "$as_me: cannot create a temporary directory in ." >&2 13976 { (exit 1); exit 1; } 13977} 13978 13979# Set up the scripts for CONFIG_FILES section. 13980# No need to generate them if there are no CONFIG_FILES. 13981# This happens for instance with `./config.status config.h'. 13982if test -n "$CONFIG_FILES"; then 13983 13984 13985ac_cr=' 13986' 13987ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 13988if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 13989 ac_cs_awk_cr='\\r' 13990else 13991 ac_cs_awk_cr=$ac_cr 13992fi 13993 13994echo 'BEGIN {' >"$tmp/subs1.awk" && 13995_ACEOF 13996 13997 13998{ 13999 echo "cat >conf$$subs.awk <<_ACEOF" && 14000 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14001 echo "_ACEOF" 14002} >conf$$subs.sh || 14003 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14004$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14005 { (exit 1); exit 1; }; } 14006ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14007ac_delim='%!_!# ' 14008for ac_last_try in false false false false false :; do 14009 . ./conf$$subs.sh || 14010 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14011$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14012 { (exit 1); exit 1; }; } 14013 14014 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14015 if test $ac_delim_n = $ac_delim_num; then 14016 break 14017 elif $ac_last_try; then 14018 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14019$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14020 { (exit 1); exit 1; }; } 14021 else 14022 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14023 fi 14024done 14025rm -f conf$$subs.sh 14026 14027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14028cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14029_ACEOF 14030sed -n ' 14031h 14032s/^/S["/; s/!.*/"]=/ 14033p 14034g 14035s/^[^!]*!// 14036:repl 14037t repl 14038s/'"$ac_delim"'$// 14039t delim 14040:nl 14041h 14042s/\(.\{148\}\).*/\1/ 14043t more1 14044s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14045p 14046n 14047b repl 14048:more1 14049s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14050p 14051g 14052s/.\{148\}// 14053t nl 14054:delim 14055h 14056s/\(.\{148\}\).*/\1/ 14057t more2 14058s/["\\]/\\&/g; s/^/"/; s/$/"/ 14059p 14060b 14061:more2 14062s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14063p 14064g 14065s/.\{148\}// 14066t delim 14067' <conf$$subs.awk | sed ' 14068/^[^""]/{ 14069 N 14070 s/\n// 14071} 14072' >>$CONFIG_STATUS || ac_write_fail=1 14073rm -f conf$$subs.awk 14074cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14075_ACAWK 14076cat >>"\$tmp/subs1.awk" <<_ACAWK && 14077 for (key in S) S_is_set[key] = 1 14078 FS = "" 14079 14080} 14081{ 14082 line = $ 0 14083 nfields = split(line, field, "@") 14084 substed = 0 14085 len = length(field[1]) 14086 for (i = 2; i < nfields; i++) { 14087 key = field[i] 14088 keylen = length(key) 14089 if (S_is_set[key]) { 14090 value = S[key] 14091 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14092 len += length(value) + length(field[++i]) 14093 substed = 1 14094 } else 14095 len += 1 + keylen 14096 } 14097 14098 print line 14099} 14100 14101_ACAWK 14102_ACEOF 14103cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14104if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14105 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14106else 14107 cat 14108fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14109 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14110$as_echo "$as_me: error: could not setup config files machinery" >&2;} 14111 { (exit 1); exit 1; }; } 14112_ACEOF 14113 14114# VPATH may cause trouble with some makes, so we remove $(srcdir), 14115# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14116# trailing colons and then remove the whole line if VPATH becomes empty 14117# (actually we leave an empty line to preserve line numbers). 14118if test "x$srcdir" = x.; then 14119 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14120s/:*\$(srcdir):*/:/ 14121s/:*\${srcdir}:*/:/ 14122s/:*@srcdir@:*/:/ 14123s/^\([^=]*=[ ]*\):*/\1/ 14124s/:*$// 14125s/^[^=]*=[ ]*$// 14126}' 14127fi 14128 14129cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14130fi # test -n "$CONFIG_FILES" 14131 14132# Set up the scripts for CONFIG_HEADERS section. 14133# No need to generate them if there are no CONFIG_HEADERS. 14134# This happens for instance with `./config.status Makefile'. 14135if test -n "$CONFIG_HEADERS"; then 14136cat >"$tmp/defines.awk" <<\_ACAWK || 14137BEGIN { 14138_ACEOF 14139 14140# Transform confdefs.h into an awk script `defines.awk', embedded as 14141# here-document in config.status, that substitutes the proper values into 14142# config.h.in to produce config.h. 14143 14144# Create a delimiter string that does not exist in confdefs.h, to ease 14145# handling of long lines. 14146ac_delim='%!_!# ' 14147for ac_last_try in false false :; do 14148 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14149 if test -z "$ac_t"; then 14150 break 14151 elif $ac_last_try; then 14152 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14153$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14154 { (exit 1); exit 1; }; } 14155 else 14156 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14157 fi 14158done 14159 14160# For the awk script, D is an array of macro values keyed by name, 14161# likewise P contains macro parameters if any. Preserve backslash 14162# newline sequences. 14163 14164ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14165sed -n ' 14166s/.\{148\}/&'"$ac_delim"'/g 14167t rset 14168:rset 14169s/^[ ]*#[ ]*define[ ][ ]*/ / 14170t def 14171d 14172:def 14173s/\\$// 14174t bsnl 14175s/["\\]/\\&/g 14176s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14177D["\1"]=" \3"/p 14178s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14179d 14180:bsnl 14181s/["\\]/\\&/g 14182s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14183D["\1"]=" \3\\\\\\n"\\/p 14184t cont 14185s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14186t cont 14187d 14188:cont 14189n 14190s/.\{148\}/&'"$ac_delim"'/g 14191t clear 14192:clear 14193s/\\$// 14194t bsnlc 14195s/["\\]/\\&/g; s/^/"/; s/$/"/p 14196d 14197:bsnlc 14198s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14199b cont 14200' <confdefs.h | sed ' 14201s/'"$ac_delim"'/"\\\ 14202"/g' >>$CONFIG_STATUS || ac_write_fail=1 14203 14204cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14205 for (key in D) D_is_set[key] = 1 14206 FS = "" 14207} 14208/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14209 line = \$ 0 14210 split(line, arg, " ") 14211 if (arg[1] == "#") { 14212 defundef = arg[2] 14213 mac1 = arg[3] 14214 } else { 14215 defundef = substr(arg[1], 2) 14216 mac1 = arg[2] 14217 } 14218 split(mac1, mac2, "(") #) 14219 macro = mac2[1] 14220 prefix = substr(line, 1, index(line, defundef) - 1) 14221 if (D_is_set[macro]) { 14222 # Preserve the white space surrounding the "#". 14223 print prefix "define", macro P[macro] D[macro] 14224 next 14225 } else { 14226 # Replace #undef with comments. This is necessary, for example, 14227 # in the case of _POSIX_SOURCE, which is predefined and required 14228 # on some systems where configure will not decide to define it. 14229 if (defundef == "undef") { 14230 print "/*", prefix defundef, macro, "*/" 14231 next 14232 } 14233 } 14234} 14235{ print } 14236_ACAWK 14237_ACEOF 14238cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14239 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14240$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14241 { (exit 1); exit 1; }; } 14242fi # test -n "$CONFIG_HEADERS" 14243 14244 14245eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14246shift 14247for ac_tag 14248do 14249 case $ac_tag in 14250 :[FHLC]) ac_mode=$ac_tag; continue;; 14251 esac 14252 case $ac_mode$ac_tag in 14253 :[FHL]*:*);; 14254 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14255$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14256 { (exit 1); exit 1; }; };; 14257 :[FH]-) ac_tag=-:-;; 14258 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14259 esac 14260 ac_save_IFS=$IFS 14261 IFS=: 14262 set x $ac_tag 14263 IFS=$ac_save_IFS 14264 shift 14265 ac_file=$1 14266 shift 14267 14268 case $ac_mode in 14269 :L) ac_source=$1;; 14270 :[FH]) 14271 ac_file_inputs= 14272 for ac_f 14273 do 14274 case $ac_f in 14275 -) ac_f="$tmp/stdin";; 14276 *) # Look for the file first in the build tree, then in the source tree 14277 # (if the path is not absolute). The absolute path cannot be DOS-style, 14278 # because $ac_f cannot contain `:'. 14279 test -f "$ac_f" || 14280 case $ac_f in 14281 [\\/$]*) false;; 14282 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14283 esac || 14284 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14285$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14286 { (exit 1); exit 1; }; };; 14287 esac 14288 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14289 ac_file_inputs="$ac_file_inputs '$ac_f'" 14290 done 14291 14292 # Let's still pretend it is `configure' which instantiates (i.e., don't 14293 # use $as_me), people would be surprised to read: 14294 # /* config.h. Generated by config.status. */ 14295 configure_input='Generated from '` 14296 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14297 `' by configure.' 14298 if test x"$ac_file" != x-; then 14299 configure_input="$ac_file. $configure_input" 14300 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 14301$as_echo "$as_me: creating $ac_file" >&6;} 14302 fi 14303 # Neutralize special characters interpreted by sed in replacement strings. 14304 case $configure_input in #( 14305 *\&* | *\|* | *\\* ) 14306 ac_sed_conf_input=`$as_echo "$configure_input" | 14307 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14308 *) ac_sed_conf_input=$configure_input;; 14309 esac 14310 14311 case $ac_tag in 14312 *:-:* | *:-) cat >"$tmp/stdin" \ 14313 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14314$as_echo "$as_me: error: could not create $ac_file" >&2;} 14315 { (exit 1); exit 1; }; } ;; 14316 esac 14317 ;; 14318 esac 14319 14320 ac_dir=`$as_dirname -- "$ac_file" || 14321$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14322 X"$ac_file" : 'X\(//\)[^/]' \| \ 14323 X"$ac_file" : 'X\(//\)$' \| \ 14324 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14325$as_echo X"$ac_file" | 14326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14327 s//\1/ 14328 q 14329 } 14330 /^X\(\/\/\)[^/].*/{ 14331 s//\1/ 14332 q 14333 } 14334 /^X\(\/\/\)$/{ 14335 s//\1/ 14336 q 14337 } 14338 /^X\(\/\).*/{ 14339 s//\1/ 14340 q 14341 } 14342 s/.*/./; q'` 14343 { as_dir="$ac_dir" 14344 case $as_dir in #( 14345 -*) as_dir=./$as_dir;; 14346 esac 14347 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14348 as_dirs= 14349 while :; do 14350 case $as_dir in #( 14351 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14352 *) as_qdir=$as_dir;; 14353 esac 14354 as_dirs="'$as_qdir' $as_dirs" 14355 as_dir=`$as_dirname -- "$as_dir" || 14356$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14357 X"$as_dir" : 'X\(//\)[^/]' \| \ 14358 X"$as_dir" : 'X\(//\)$' \| \ 14359 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14360$as_echo X"$as_dir" | 14361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14362 s//\1/ 14363 q 14364 } 14365 /^X\(\/\/\)[^/].*/{ 14366 s//\1/ 14367 q 14368 } 14369 /^X\(\/\/\)$/{ 14370 s//\1/ 14371 q 14372 } 14373 /^X\(\/\).*/{ 14374 s//\1/ 14375 q 14376 } 14377 s/.*/./; q'` 14378 test -d "$as_dir" && break 14379 done 14380 test -z "$as_dirs" || eval "mkdir $as_dirs" 14381 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14382$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14383 { (exit 1); exit 1; }; }; } 14384 ac_builddir=. 14385 14386case "$ac_dir" in 14387.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14388*) 14389 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14390 # A ".." for each directory in $ac_dir_suffix. 14391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14392 case $ac_top_builddir_sub in 14393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14395 esac ;; 14396esac 14397ac_abs_top_builddir=$ac_pwd 14398ac_abs_builddir=$ac_pwd$ac_dir_suffix 14399# for backward compatibility: 14400ac_top_builddir=$ac_top_build_prefix 14401 14402case $srcdir in 14403 .) # We are building in place. 14404 ac_srcdir=. 14405 ac_top_srcdir=$ac_top_builddir_sub 14406 ac_abs_top_srcdir=$ac_pwd ;; 14407 [\\/]* | ?:[\\/]* ) # Absolute name. 14408 ac_srcdir=$srcdir$ac_dir_suffix; 14409 ac_top_srcdir=$srcdir 14410 ac_abs_top_srcdir=$srcdir ;; 14411 *) # Relative name. 14412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14413 ac_top_srcdir=$ac_top_build_prefix$srcdir 14414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14415esac 14416ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14417 14418 14419 case $ac_mode in 14420 :F) 14421 # 14422 # CONFIG_FILE 14423 # 14424 14425 case $INSTALL in 14426 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14427 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14428 esac 14429 ac_MKDIR_P=$MKDIR_P 14430 case $MKDIR_P in 14431 [\\/$]* | ?:[\\/]* ) ;; 14432 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14433 esac 14434_ACEOF 14435 14436cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14437# If the template does not know about datarootdir, expand it. 14438# FIXME: This hack should be removed a few years after 2.60. 14439ac_datarootdir_hack=; ac_datarootdir_seen= 14440 14441ac_sed_dataroot=' 14442/datarootdir/ { 14443 p 14444 q 14445} 14446/@datadir@/p 14447/@docdir@/p 14448/@infodir@/p 14449/@localedir@/p 14450/@mandir@/p 14451' 14452case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14453*datarootdir*) ac_datarootdir_seen=yes;; 14454*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14455 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14456$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14457_ACEOF 14458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14459 ac_datarootdir_hack=' 14460 s&@datadir@&$datadir&g 14461 s&@docdir@&$docdir&g 14462 s&@infodir@&$infodir&g 14463 s&@localedir@&$localedir&g 14464 s&@mandir@&$mandir&g 14465 s&\\\${datarootdir}&$datarootdir&g' ;; 14466esac 14467_ACEOF 14468 14469# Neutralize VPATH when `$srcdir' = `.'. 14470# Shell code in configure.ac might set extrasub. 14471# FIXME: do we really want to maintain this feature? 14472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14473ac_sed_extra="$ac_vpsub 14474$extrasub 14475_ACEOF 14476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14477:t 14478/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14479s|@configure_input@|$ac_sed_conf_input|;t t 14480s&@top_builddir@&$ac_top_builddir_sub&;t t 14481s&@top_build_prefix@&$ac_top_build_prefix&;t t 14482s&@srcdir@&$ac_srcdir&;t t 14483s&@abs_srcdir@&$ac_abs_srcdir&;t t 14484s&@top_srcdir@&$ac_top_srcdir&;t t 14485s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14486s&@builddir@&$ac_builddir&;t t 14487s&@abs_builddir@&$ac_abs_builddir&;t t 14488s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14489s&@INSTALL@&$ac_INSTALL&;t t 14490s&@MKDIR_P@&$ac_MKDIR_P&;t t 14491$ac_datarootdir_hack 14492" 14493eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14494 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14495$as_echo "$as_me: error: could not create $ac_file" >&2;} 14496 { (exit 1); exit 1; }; } 14497 14498test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14499 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14500 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14501 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14502which seems to be undefined. Please make sure it is defined." >&5 14503$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14504which seems to be undefined. Please make sure it is defined." >&2;} 14505 14506 rm -f "$tmp/stdin" 14507 case $ac_file in 14508 -) cat "$tmp/out" && rm -f "$tmp/out";; 14509 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14510 esac \ 14511 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14512$as_echo "$as_me: error: could not create $ac_file" >&2;} 14513 { (exit 1); exit 1; }; } 14514 ;; 14515 :H) 14516 # 14517 # CONFIG_HEADER 14518 # 14519 if test x"$ac_file" != x-; then 14520 { 14521 $as_echo "/* $configure_input */" \ 14522 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14523 } >"$tmp/config.h" \ 14524 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14525$as_echo "$as_me: error: could not create $ac_file" >&2;} 14526 { (exit 1); exit 1; }; } 14527 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14528 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14529$as_echo "$as_me: $ac_file is unchanged" >&6;} 14530 else 14531 rm -f "$ac_file" 14532 mv "$tmp/config.h" "$ac_file" \ 14533 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14534$as_echo "$as_me: error: could not create $ac_file" >&2;} 14535 { (exit 1); exit 1; }; } 14536 fi 14537 else 14538 $as_echo "/* $configure_input */" \ 14539 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14540 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14541$as_echo "$as_me: error: could not create -" >&2;} 14542 { (exit 1); exit 1; }; } 14543 fi 14544# Compute "$ac_file"'s index in $config_headers. 14545_am_arg="$ac_file" 14546_am_stamp_count=1 14547for _am_header in $config_headers :; do 14548 case $_am_header in 14549 $_am_arg | $_am_arg:* ) 14550 break ;; 14551 * ) 14552 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14553 esac 14554done 14555echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14556$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14557 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14558 X"$_am_arg" : 'X\(//\)$' \| \ 14559 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14560$as_echo X"$_am_arg" | 14561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14562 s//\1/ 14563 q 14564 } 14565 /^X\(\/\/\)[^/].*/{ 14566 s//\1/ 14567 q 14568 } 14569 /^X\(\/\/\)$/{ 14570 s//\1/ 14571 q 14572 } 14573 /^X\(\/\).*/{ 14574 s//\1/ 14575 q 14576 } 14577 s/.*/./; q'`/stamp-h$_am_stamp_count 14578 ;; 14579 14580 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 14581$as_echo "$as_me: executing $ac_file commands" >&6;} 14582 ;; 14583 esac 14584 14585 14586 case $ac_file$ac_mode in 14587 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 14588# are listed without --file. Let's play safe and only enable the eval 14589# if we detect the quoting. 14590case $CONFIG_FILES in 14591*\'*) eval set x "$CONFIG_FILES" ;; 14592*) set x $CONFIG_FILES ;; 14593esac 14594shift 14595for mf 14596do 14597 # Strip MF so we end up with the name of the file. 14598 mf=`echo "$mf" | sed -e 's/:.*$//'` 14599 # Check whether this is an Automake generated Makefile or not. 14600 # We used to match only the files named `Makefile.in', but 14601 # some people rename them; so instead we look at the file content. 14602 # Grep'ing the first line is not enough: some people post-process 14603 # each Makefile.in and add a new line on top of each file to say so. 14604 # Grep'ing the whole file is not good either: AIX grep has a line 14605 # limit of 2048, but all sed's we know have understand at least 4000. 14606 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14607 dirpart=`$as_dirname -- "$mf" || 14608$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14609 X"$mf" : 'X\(//\)[^/]' \| \ 14610 X"$mf" : 'X\(//\)$' \| \ 14611 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14612$as_echo X"$mf" | 14613 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14614 s//\1/ 14615 q 14616 } 14617 /^X\(\/\/\)[^/].*/{ 14618 s//\1/ 14619 q 14620 } 14621 /^X\(\/\/\)$/{ 14622 s//\1/ 14623 q 14624 } 14625 /^X\(\/\).*/{ 14626 s//\1/ 14627 q 14628 } 14629 s/.*/./; q'` 14630 else 14631 continue 14632 fi 14633 # Extract the definition of DEPDIR, am__include, and am__quote 14634 # from the Makefile without running `make'. 14635 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14636 test -z "$DEPDIR" && continue 14637 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14638 test -z "am__include" && continue 14639 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14640 # When using ansi2knr, U may be empty or an underscore; expand it 14641 U=`sed -n 's/^U = //p' < "$mf"` 14642 # Find all dependency output files, they are included files with 14643 # $(DEPDIR) in their names. We invoke sed twice because it is the 14644 # simplest approach to changing $(DEPDIR) to its actual value in the 14645 # expansion. 14646 for file in `sed -n " 14647 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14648 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14649 # Make sure the directory exists. 14650 test -f "$dirpart/$file" && continue 14651 fdir=`$as_dirname -- "$file" || 14652$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14653 X"$file" : 'X\(//\)[^/]' \| \ 14654 X"$file" : 'X\(//\)$' \| \ 14655 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14656$as_echo X"$file" | 14657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14658 s//\1/ 14659 q 14660 } 14661 /^X\(\/\/\)[^/].*/{ 14662 s//\1/ 14663 q 14664 } 14665 /^X\(\/\/\)$/{ 14666 s//\1/ 14667 q 14668 } 14669 /^X\(\/\).*/{ 14670 s//\1/ 14671 q 14672 } 14673 s/.*/./; q'` 14674 { as_dir=$dirpart/$fdir 14675 case $as_dir in #( 14676 -*) as_dir=./$as_dir;; 14677 esac 14678 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14679 as_dirs= 14680 while :; do 14681 case $as_dir in #( 14682 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14683 *) as_qdir=$as_dir;; 14684 esac 14685 as_dirs="'$as_qdir' $as_dirs" 14686 as_dir=`$as_dirname -- "$as_dir" || 14687$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14688 X"$as_dir" : 'X\(//\)[^/]' \| \ 14689 X"$as_dir" : 'X\(//\)$' \| \ 14690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14691$as_echo X"$as_dir" | 14692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14693 s//\1/ 14694 q 14695 } 14696 /^X\(\/\/\)[^/].*/{ 14697 s//\1/ 14698 q 14699 } 14700 /^X\(\/\/\)$/{ 14701 s//\1/ 14702 q 14703 } 14704 /^X\(\/\).*/{ 14705 s//\1/ 14706 q 14707 } 14708 s/.*/./; q'` 14709 test -d "$as_dir" && break 14710 done 14711 test -z "$as_dirs" || eval "mkdir $as_dirs" 14712 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14713$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14714 { (exit 1); exit 1; }; }; } 14715 # echo "creating $dirpart/$file" 14716 echo '# dummy' > "$dirpart/$file" 14717 done 14718done 14719 ;; 14720 "libtool":C) 14721 14722 # See if we are running on zsh, and set the options which allow our 14723 # commands through without removal of \ escapes. 14724 if test -n "${ZSH_VERSION+set}" ; then 14725 setopt NO_GLOB_SUBST 14726 fi 14727 14728 cfgfile="${ofile}T" 14729 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 14730 $RM "$cfgfile" 14731 14732 cat <<_LT_EOF >> "$cfgfile" 14733#! $SHELL 14734 14735# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 14736# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 14737# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 14738# NOTE: Changes made to this file will be lost: look at ltmain.sh. 14739# 14740# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 14741# 2006, 2007, 2008 Free Software Foundation, Inc. 14742# Written by Gordon Matzigkeit, 1996 14743# 14744# This file is part of GNU Libtool. 14745# 14746# GNU Libtool is free software; you can redistribute it and/or 14747# modify it under the terms of the GNU General Public License as 14748# published by the Free Software Foundation; either version 2 of 14749# the License, or (at your option) any later version. 14750# 14751# As a special exception to the GNU General Public License, 14752# if you distribute this file as part of a program or library that 14753# is built using GNU Libtool, you may include this file under the 14754# same distribution terms that you use for the rest of that program. 14755# 14756# GNU Libtool is distributed in the hope that it will be useful, 14757# but WITHOUT ANY WARRANTY; without even the implied warranty of 14758# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14759# GNU General Public License for more details. 14760# 14761# You should have received a copy of the GNU General Public License 14762# along with GNU Libtool; see the file COPYING. If not, a copy 14763# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 14764# obtained by writing to the Free Software Foundation, Inc., 14765# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 14766 14767 14768# The names of the tagged configurations supported by this script. 14769available_tags="" 14770 14771# ### BEGIN LIBTOOL CONFIG 14772 14773# Which release of libtool.m4 was used? 14774macro_version=$macro_version 14775macro_revision=$macro_revision 14776 14777# Whether or not to build shared libraries. 14778build_libtool_libs=$enable_shared 14779 14780# Whether or not to build static libraries. 14781build_old_libs=$enable_static 14782 14783# What type of objects to build. 14784pic_mode=$pic_mode 14785 14786# Whether or not to optimize for fast installation. 14787fast_install=$enable_fast_install 14788 14789# The host system. 14790host_alias=$host_alias 14791host=$host 14792host_os=$host_os 14793 14794# The build system. 14795build_alias=$build_alias 14796build=$build 14797build_os=$build_os 14798 14799# A sed program that does not truncate output. 14800SED=$lt_SED 14801 14802# Sed that helps us avoid accidentally triggering echo(1) options like -n. 14803Xsed="\$SED -e 1s/^X//" 14804 14805# A grep program that handles long lines. 14806GREP=$lt_GREP 14807 14808# An ERE matcher. 14809EGREP=$lt_EGREP 14810 14811# A literal string matcher. 14812FGREP=$lt_FGREP 14813 14814# A BSD- or MS-compatible name lister. 14815NM=$lt_NM 14816 14817# Whether we need soft or hard links. 14818LN_S=$lt_LN_S 14819 14820# What is the maximum length of a command? 14821max_cmd_len=$max_cmd_len 14822 14823# Object file suffix (normally "o"). 14824objext=$ac_objext 14825 14826# Executable file suffix (normally ""). 14827exeext=$exeext 14828 14829# whether the shell understands "unset". 14830lt_unset=$lt_unset 14831 14832# turn spaces into newlines. 14833SP2NL=$lt_lt_SP2NL 14834 14835# turn newlines into spaces. 14836NL2SP=$lt_lt_NL2SP 14837 14838# How to create reloadable object files. 14839reload_flag=$lt_reload_flag 14840reload_cmds=$lt_reload_cmds 14841 14842# An object symbol dumper. 14843OBJDUMP=$lt_OBJDUMP 14844 14845# Method to check whether dependent libraries are shared objects. 14846deplibs_check_method=$lt_deplibs_check_method 14847 14848# Command to use when deplibs_check_method == "file_magic". 14849file_magic_cmd=$lt_file_magic_cmd 14850 14851# The archiver. 14852AR=$lt_AR 14853AR_FLAGS=$lt_AR_FLAGS 14854 14855# A symbol stripping program. 14856STRIP=$lt_STRIP 14857 14858# Commands used to install an old-style archive. 14859RANLIB=$lt_RANLIB 14860old_postinstall_cmds=$lt_old_postinstall_cmds 14861old_postuninstall_cmds=$lt_old_postuninstall_cmds 14862 14863# A C compiler. 14864LTCC=$lt_CC 14865 14866# LTCC compiler flags. 14867LTCFLAGS=$lt_CFLAGS 14868 14869# Take the output of nm and produce a listing of raw symbols and C names. 14870global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 14871 14872# Transform the output of nm in a proper C declaration. 14873global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 14874 14875# Transform the output of nm in a C name address pair. 14876global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 14877 14878# Transform the output of nm in a C name address pair when lib prefix is needed. 14879global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 14880 14881# The name of the directory that contains temporary libtool files. 14882objdir=$objdir 14883 14884# Shell to use when invoking shell scripts. 14885SHELL=$lt_SHELL 14886 14887# An echo program that does not interpret backslashes. 14888ECHO=$lt_ECHO 14889 14890# Used to examine libraries when file_magic_cmd begins with "file". 14891MAGIC_CMD=$MAGIC_CMD 14892 14893# Must we lock files when doing compilation? 14894need_locks=$lt_need_locks 14895 14896# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 14897DSYMUTIL=$lt_DSYMUTIL 14898 14899# Tool to change global to local symbols on Mac OS X. 14900NMEDIT=$lt_NMEDIT 14901 14902# Tool to manipulate fat objects and archives on Mac OS X. 14903LIPO=$lt_LIPO 14904 14905# ldd/readelf like tool for Mach-O binaries on Mac OS X. 14906OTOOL=$lt_OTOOL 14907 14908# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 14909OTOOL64=$lt_OTOOL64 14910 14911# Old archive suffix (normally "a"). 14912libext=$libext 14913 14914# Shared library suffix (normally ".so"). 14915shrext_cmds=$lt_shrext_cmds 14916 14917# The commands to extract the exported symbol list from a shared archive. 14918extract_expsyms_cmds=$lt_extract_expsyms_cmds 14919 14920# Variables whose values should be saved in libtool wrapper scripts and 14921# restored at link time. 14922variables_saved_for_relink=$lt_variables_saved_for_relink 14923 14924# Do we need the "lib" prefix for modules? 14925need_lib_prefix=$need_lib_prefix 14926 14927# Do we need a version for libraries? 14928need_version=$need_version 14929 14930# Library versioning type. 14931version_type=$version_type 14932 14933# Shared library runtime path variable. 14934runpath_var=$runpath_var 14935 14936# Shared library path variable. 14937shlibpath_var=$shlibpath_var 14938 14939# Is shlibpath searched before the hard-coded library search path? 14940shlibpath_overrides_runpath=$shlibpath_overrides_runpath 14941 14942# Format of library name prefix. 14943libname_spec=$lt_libname_spec 14944 14945# List of archive names. First name is the real one, the rest are links. 14946# The last name is the one that the linker finds with -lNAME 14947library_names_spec=$lt_library_names_spec 14948 14949# The coded name of the library, if different from the real name. 14950soname_spec=$lt_soname_spec 14951 14952# Command to use after installation of a shared archive. 14953postinstall_cmds=$lt_postinstall_cmds 14954 14955# Command to use after uninstallation of a shared archive. 14956postuninstall_cmds=$lt_postuninstall_cmds 14957 14958# Commands used to finish a libtool library installation in a directory. 14959finish_cmds=$lt_finish_cmds 14960 14961# As "finish_cmds", except a single script fragment to be evaled but 14962# not shown. 14963finish_eval=$lt_finish_eval 14964 14965# Whether we should hardcode library paths into libraries. 14966hardcode_into_libs=$hardcode_into_libs 14967 14968# Compile-time system search path for libraries. 14969sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 14970 14971# Run-time system search path for libraries. 14972sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 14973 14974# Whether dlopen is supported. 14975dlopen_support=$enable_dlopen 14976 14977# Whether dlopen of programs is supported. 14978dlopen_self=$enable_dlopen_self 14979 14980# Whether dlopen of statically linked programs is supported. 14981dlopen_self_static=$enable_dlopen_self_static 14982 14983# Commands to strip libraries. 14984old_striplib=$lt_old_striplib 14985striplib=$lt_striplib 14986 14987 14988# The linker used to build libraries. 14989LD=$lt_LD 14990 14991# Commands used to build an old-style archive. 14992old_archive_cmds=$lt_old_archive_cmds 14993 14994# A language specific compiler. 14995CC=$lt_compiler 14996 14997# Is the compiler the GNU compiler? 14998with_gcc=$GCC 14999 15000# Compiler flag to turn off builtin functions. 15001no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15002 15003# How to pass a linker flag through the compiler. 15004wl=$lt_lt_prog_compiler_wl 15005 15006# Additional compiler flags for building library objects. 15007pic_flag=$lt_lt_prog_compiler_pic 15008 15009# Compiler flag to prevent dynamic linking. 15010link_static_flag=$lt_lt_prog_compiler_static 15011 15012# Does compiler simultaneously support -c and -o options? 15013compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15014 15015# Whether or not to add -lc for building shared libraries. 15016build_libtool_need_lc=$archive_cmds_need_lc 15017 15018# Whether or not to disallow shared libs when runtime libs are static. 15019allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15020 15021# Compiler flag to allow reflexive dlopens. 15022export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15023 15024# Compiler flag to generate shared objects directly from archives. 15025whole_archive_flag_spec=$lt_whole_archive_flag_spec 15026 15027# Whether the compiler copes with passing no objects directly. 15028compiler_needs_object=$lt_compiler_needs_object 15029 15030# Create an old-style archive from a shared archive. 15031old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15032 15033# Create a temporary old-style archive to link instead of a shared archive. 15034old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15035 15036# Commands used to build a shared archive. 15037archive_cmds=$lt_archive_cmds 15038archive_expsym_cmds=$lt_archive_expsym_cmds 15039 15040# Commands used to build a loadable module if different from building 15041# a shared archive. 15042module_cmds=$lt_module_cmds 15043module_expsym_cmds=$lt_module_expsym_cmds 15044 15045# Whether we are building with GNU ld or not. 15046with_gnu_ld=$lt_with_gnu_ld 15047 15048# Flag that allows shared libraries with undefined symbols to be built. 15049allow_undefined_flag=$lt_allow_undefined_flag 15050 15051# Flag that enforces no undefined symbols. 15052no_undefined_flag=$lt_no_undefined_flag 15053 15054# Flag to hardcode \$libdir into a binary during linking. 15055# This must work even if \$libdir does not exist 15056hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15057 15058# If ld is used when linking, flag to hardcode \$libdir into a binary 15059# during linking. This must work even if \$libdir does not exist. 15060hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15061 15062# Whether we need a single "-rpath" flag with a separated argument. 15063hardcode_libdir_separator=$lt_hardcode_libdir_separator 15064 15065# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15066# DIR into the resulting binary. 15067hardcode_direct=$hardcode_direct 15068 15069# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15070# DIR into the resulting binary and the resulting library dependency is 15071# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15072# library is relocated. 15073hardcode_direct_absolute=$hardcode_direct_absolute 15074 15075# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15076# into the resulting binary. 15077hardcode_minus_L=$hardcode_minus_L 15078 15079# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15080# into the resulting binary. 15081hardcode_shlibpath_var=$hardcode_shlibpath_var 15082 15083# Set to "yes" if building a shared library automatically hardcodes DIR 15084# into the library and all subsequent libraries and executables linked 15085# against it. 15086hardcode_automatic=$hardcode_automatic 15087 15088# Set to yes if linker adds runtime paths of dependent libraries 15089# to runtime path list. 15090inherit_rpath=$inherit_rpath 15091 15092# Whether libtool must link a program against all its dependency libraries. 15093link_all_deplibs=$link_all_deplibs 15094 15095# Fix the shell variable \$srcfile for the compiler. 15096fix_srcfile_path=$lt_fix_srcfile_path 15097 15098# Set to "yes" if exported symbols are required. 15099always_export_symbols=$always_export_symbols 15100 15101# The commands to list exported symbols. 15102export_symbols_cmds=$lt_export_symbols_cmds 15103 15104# Symbols that should not be listed in the preloaded symbols. 15105exclude_expsyms=$lt_exclude_expsyms 15106 15107# Symbols that must always be exported. 15108include_expsyms=$lt_include_expsyms 15109 15110# Commands necessary for linking programs (against libraries) with templates. 15111prelink_cmds=$lt_prelink_cmds 15112 15113# Specify filename containing input files. 15114file_list_spec=$lt_file_list_spec 15115 15116# How to hardcode a shared library path into an executable. 15117hardcode_action=$hardcode_action 15118 15119# ### END LIBTOOL CONFIG 15120 15121_LT_EOF 15122 15123 case $host_os in 15124 aix3*) 15125 cat <<\_LT_EOF >> "$cfgfile" 15126# AIX sometimes has problems with the GCC collect2 program. For some 15127# reason, if we set the COLLECT_NAMES environment variable, the problems 15128# vanish in a puff of smoke. 15129if test "X${COLLECT_NAMES+set}" != Xset; then 15130 COLLECT_NAMES= 15131 export COLLECT_NAMES 15132fi 15133_LT_EOF 15134 ;; 15135 esac 15136 15137 15138ltmain="$ac_aux_dir/ltmain.sh" 15139 15140 15141 # We use sed instead of cat because bash on DJGPP gets confused if 15142 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15143 # text mode, it properly converts lines to CR/LF. This bash problem 15144 # is reportedly fixed, but why not run on old versions too? 15145 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 15146 || (rm -f "$cfgfile"; exit 1) 15147 15148 case $xsi_shell in 15149 yes) 15150 cat << \_LT_EOF >> "$cfgfile" 15151 15152# func_dirname file append nondir_replacement 15153# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15154# otherwise set result to NONDIR_REPLACEMENT. 15155func_dirname () 15156{ 15157 case ${1} in 15158 */*) func_dirname_result="${1%/*}${2}" ;; 15159 * ) func_dirname_result="${3}" ;; 15160 esac 15161} 15162 15163# func_basename file 15164func_basename () 15165{ 15166 func_basename_result="${1##*/}" 15167} 15168 15169# func_dirname_and_basename file append nondir_replacement 15170# perform func_basename and func_dirname in a single function 15171# call: 15172# dirname: Compute the dirname of FILE. If nonempty, 15173# add APPEND to the result, otherwise set result 15174# to NONDIR_REPLACEMENT. 15175# value returned in "$func_dirname_result" 15176# basename: Compute filename of FILE. 15177# value retuned in "$func_basename_result" 15178# Implementation must be kept synchronized with func_dirname 15179# and func_basename. For efficiency, we do not delegate to 15180# those functions but instead duplicate the functionality here. 15181func_dirname_and_basename () 15182{ 15183 case ${1} in 15184 */*) func_dirname_result="${1%/*}${2}" ;; 15185 * ) func_dirname_result="${3}" ;; 15186 esac 15187 func_basename_result="${1##*/}" 15188} 15189 15190# func_stripname prefix suffix name 15191# strip PREFIX and SUFFIX off of NAME. 15192# PREFIX and SUFFIX must not contain globbing or regex special 15193# characters, hashes, percent signs, but SUFFIX may contain a leading 15194# dot (in which case that matches only a dot). 15195func_stripname () 15196{ 15197 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 15198 # positional parameters, so assign one to ordinary parameter first. 15199 func_stripname_result=${3} 15200 func_stripname_result=${func_stripname_result#"${1}"} 15201 func_stripname_result=${func_stripname_result%"${2}"} 15202} 15203 15204# func_opt_split 15205func_opt_split () 15206{ 15207 func_opt_split_opt=${1%%=*} 15208 func_opt_split_arg=${1#*=} 15209} 15210 15211# func_lo2o object 15212func_lo2o () 15213{ 15214 case ${1} in 15215 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 15216 *) func_lo2o_result=${1} ;; 15217 esac 15218} 15219 15220# func_xform libobj-or-source 15221func_xform () 15222{ 15223 func_xform_result=${1%.*}.lo 15224} 15225 15226# func_arith arithmetic-term... 15227func_arith () 15228{ 15229 func_arith_result=$(( $* )) 15230} 15231 15232# func_len string 15233# STRING may not start with a hyphen. 15234func_len () 15235{ 15236 func_len_result=${#1} 15237} 15238 15239_LT_EOF 15240 ;; 15241 *) # Bourne compatible functions. 15242 cat << \_LT_EOF >> "$cfgfile" 15243 15244# func_dirname file append nondir_replacement 15245# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15246# otherwise set result to NONDIR_REPLACEMENT. 15247func_dirname () 15248{ 15249 # Extract subdirectory from the argument. 15250 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 15251 if test "X$func_dirname_result" = "X${1}"; then 15252 func_dirname_result="${3}" 15253 else 15254 func_dirname_result="$func_dirname_result${2}" 15255 fi 15256} 15257 15258# func_basename file 15259func_basename () 15260{ 15261 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 15262} 15263 15264 15265# func_stripname prefix suffix name 15266# strip PREFIX and SUFFIX off of NAME. 15267# PREFIX and SUFFIX must not contain globbing or regex special 15268# characters, hashes, percent signs, but SUFFIX may contain a leading 15269# dot (in which case that matches only a dot). 15270# func_strip_suffix prefix name 15271func_stripname () 15272{ 15273 case ${2} in 15274 .*) func_stripname_result=`$ECHO "X${3}" \ 15275 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 15276 *) func_stripname_result=`$ECHO "X${3}" \ 15277 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 15278 esac 15279} 15280 15281# sed scripts: 15282my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 15283my_sed_long_arg='1s/^-[^=]*=//' 15284 15285# func_opt_split 15286func_opt_split () 15287{ 15288 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 15289 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 15290} 15291 15292# func_lo2o object 15293func_lo2o () 15294{ 15295 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 15296} 15297 15298# func_xform libobj-or-source 15299func_xform () 15300{ 15301 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 15302} 15303 15304# func_arith arithmetic-term... 15305func_arith () 15306{ 15307 func_arith_result=`expr "$@"` 15308} 15309 15310# func_len string 15311# STRING may not start with a hyphen. 15312func_len () 15313{ 15314 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 15315} 15316 15317_LT_EOF 15318esac 15319 15320case $lt_shell_append in 15321 yes) 15322 cat << \_LT_EOF >> "$cfgfile" 15323 15324# func_append var value 15325# Append VALUE to the end of shell variable VAR. 15326func_append () 15327{ 15328 eval "$1+=\$2" 15329} 15330_LT_EOF 15331 ;; 15332 *) 15333 cat << \_LT_EOF >> "$cfgfile" 15334 15335# func_append var value 15336# Append VALUE to the end of shell variable VAR. 15337func_append () 15338{ 15339 eval "$1=\$$1\$2" 15340} 15341 15342_LT_EOF 15343 ;; 15344 esac 15345 15346 15347 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15348 || (rm -f "$cfgfile"; exit 1) 15349 15350 mv -f "$cfgfile" "$ofile" || 15351 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15352 chmod +x "$ofile" 15353 15354 ;; 15355 15356 esac 15357done # for ac_tag 15358 15359 15360{ (exit 0); exit 0; } 15361_ACEOF 15362chmod +x $CONFIG_STATUS 15363ac_clean_files=$ac_clean_files_save 15364 15365test $ac_write_fail = 0 || 15366 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 15367$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 15368 { (exit 1); exit 1; }; } 15369 15370 15371# configure is writing to config.log, and then calls config.status. 15372# config.status does its own redirection, appending to config.log. 15373# Unfortunately, on DOS this fails, as config.log is still kept open 15374# by configure, so config.status won't be able to write to it; its 15375# output is simply discarded. So we exec the FD to /dev/null, 15376# effectively closing config.log, so it can be properly (re)opened and 15377# appended to by config.status. When coming back to configure, we 15378# need to make the FD available again. 15379if test "$no_create" != yes; then 15380 ac_cs_success=: 15381 ac_config_status_args= 15382 test "$silent" = yes && 15383 ac_config_status_args="$ac_config_status_args --quiet" 15384 exec 5>/dev/null 15385 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15386 exec 5>>config.log 15387 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15388 # would make configure fail if this is the last instruction. 15389 $ac_cs_success || { (exit 1); exit 1; } 15390fi 15391if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15392 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15393$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15394fi 15395 15396