configure revision e169010a
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for libXcursor 1.1.10. 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='libXcursor' 747PACKAGE_TARNAME='libXcursor' 748PACKAGE_VERSION='1.1.10' 749PACKAGE_STRING='libXcursor 1.1.10' 750PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 751 752ac_unique_file="Makefile.am" 753# Factoring default headers for most tests. 754ac_includes_default="\ 755#include <stdio.h> 756#ifdef HAVE_SYS_TYPES_H 757# include <sys/types.h> 758#endif 759#ifdef HAVE_SYS_STAT_H 760# include <sys/stat.h> 761#endif 762#ifdef STDC_HEADERS 763# include <stdlib.h> 764# include <stddef.h> 765#else 766# ifdef HAVE_STDLIB_H 767# include <stdlib.h> 768# endif 769#endif 770#ifdef HAVE_STRING_H 771# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 772# include <memory.h> 773# endif 774# include <string.h> 775#endif 776#ifdef HAVE_STRINGS_H 777# include <strings.h> 778#endif 779#ifdef HAVE_INTTYPES_H 780# include <inttypes.h> 781#endif 782#ifdef HAVE_STDINT_H 783# include <stdint.h> 784#endif 785#ifdef HAVE_UNISTD_H 786# include <unistd.h> 787#endif" 788 789ac_subst_vars='am__EXEEXT_FALSE 790am__EXEEXT_TRUE 791LTLIBOBJS 792LIBOBJS 793LINT_FALSE 794LINT_TRUE 795LINT_FLAGS 796LINT 797distcleancheck_listfiles 798CHANGELOG_CMD 799ADMIN_MAN_DIR 800DRIVER_MAN_DIR 801MISC_MAN_DIR 802FILE_MAN_DIR 803LIB_MAN_DIR 804APP_MAN_DIR 805ADMIN_MAN_SUFFIX 806DRIVER_MAN_SUFFIX 807MISC_MAN_SUFFIX 808FILE_MAN_SUFFIX 809LIB_MAN_SUFFIX 810APP_MAN_SUFFIX 811XCURSOR_LIBS 812XCURSOR_CFLAGS 813PKG_CONFIG 814XCURSORPATH_LIST 815XCURSORPATH 816ICONDIR 817AM_BACKSLASH 818AM_DEFAULT_VERBOSITY 819CWARNFLAGS 820CPP 821OTOOL64 822OTOOL 823LIPO 824NMEDIT 825DSYMUTIL 826lt_ECHO 827RANLIB 828AR 829OBJDUMP 830LN_S 831NM 832ac_ct_DUMPBIN 833DUMPBIN 834LD 835FGREP 836EGREP 837GREP 838SED 839host_os 840host_vendor 841host_cpu 842host 843build_os 844build_vendor 845build_cpu 846build 847LIBTOOL 848am__fastdepCC_FALSE 849am__fastdepCC_TRUE 850CCDEPMODE 851AMDEPBACKSLASH 852AMDEP_FALSE 853AMDEP_TRUE 854am__quote 855am__include 856DEPDIR 857OBJEXT 858EXEEXT 859ac_ct_CC 860CPPFLAGS 861LDFLAGS 862CFLAGS 863CC 864MAINT 865MAINTAINER_MODE_FALSE 866MAINTAINER_MODE_TRUE 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_maintainer_mode 931enable_dependency_tracking 932enable_shared 933enable_static 934with_pic 935enable_fast_install 936with_gnu_ld 937enable_libtool_lock 938enable_silent_rules 939with_icondir 940with_cursorpath 941with_release_version 942with_lint 943' 944 ac_precious_vars='build_alias 945host_alias 946target_alias 947CC 948CFLAGS 949LDFLAGS 950LIBS 951CPPFLAGS 952CPP 953PKG_CONFIG 954XCURSOR_CFLAGS 955XCURSOR_LIBS' 956 957 958# Initialize some variables set by options. 959ac_init_help= 960ac_init_version=false 961ac_unrecognized_opts= 962ac_unrecognized_sep= 963# The variables have the same names as the options, with 964# dashes changed to underlines. 965cache_file=/dev/null 966exec_prefix=NONE 967no_create= 968no_recursion= 969prefix=NONE 970program_prefix=NONE 971program_suffix=NONE 972program_transform_name=s,x,x, 973silent= 974site= 975srcdir= 976verbose= 977x_includes=NONE 978x_libraries=NONE 979 980# Installation directory options. 981# These are left unexpanded so users can "make install exec_prefix=/foo" 982# and all the variables that are supposed to be based on exec_prefix 983# by default will actually change. 984# Use braces instead of parens because sh, perl, etc. also accept them. 985# (The list follows the same order as the GNU Coding Standards.) 986bindir='${exec_prefix}/bin' 987sbindir='${exec_prefix}/sbin' 988libexecdir='${exec_prefix}/libexec' 989datarootdir='${prefix}/share' 990datadir='${datarootdir}' 991sysconfdir='${prefix}/etc' 992sharedstatedir='${prefix}/com' 993localstatedir='${prefix}/var' 994includedir='${prefix}/include' 995oldincludedir='/usr/include' 996docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 997infodir='${datarootdir}/info' 998htmldir='${docdir}' 999dvidir='${docdir}' 1000pdfdir='${docdir}' 1001psdir='${docdir}' 1002libdir='${exec_prefix}/lib' 1003localedir='${datarootdir}/locale' 1004mandir='${datarootdir}/man' 1005 1006ac_prev= 1007ac_dashdash= 1008for ac_option 1009do 1010 # If the previous option needs an argument, assign it. 1011 if test -n "$ac_prev"; then 1012 eval $ac_prev=\$ac_option 1013 ac_prev= 1014 continue 1015 fi 1016 1017 case $ac_option in 1018 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1019 *) ac_optarg=yes ;; 1020 esac 1021 1022 # Accept the important Cygnus configure options, so we can diagnose typos. 1023 1024 case $ac_dashdash$ac_option in 1025 --) 1026 ac_dashdash=yes ;; 1027 1028 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1029 ac_prev=bindir ;; 1030 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1031 bindir=$ac_optarg ;; 1032 1033 -build | --build | --buil | --bui | --bu) 1034 ac_prev=build_alias ;; 1035 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1036 build_alias=$ac_optarg ;; 1037 1038 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1040 ac_prev=cache_file ;; 1041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1043 cache_file=$ac_optarg ;; 1044 1045 --config-cache | -C) 1046 cache_file=config.cache ;; 1047 1048 -datadir | --datadir | --datadi | --datad) 1049 ac_prev=datadir ;; 1050 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1051 datadir=$ac_optarg ;; 1052 1053 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1054 | --dataroo | --dataro | --datar) 1055 ac_prev=datarootdir ;; 1056 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1057 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1058 datarootdir=$ac_optarg ;; 1059 1060 -disable-* | --disable-*) 1061 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1062 # Reject names that are not valid shell variable names. 1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1064 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1065 { (exit 1); exit 1; }; } 1066 ac_useropt_orig=$ac_useropt 1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1068 case $ac_user_opts in 1069 *" 1070"enable_$ac_useropt" 1071"*) ;; 1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1073 ac_unrecognized_sep=', ';; 1074 esac 1075 eval enable_$ac_useropt=no ;; 1076 1077 -docdir | --docdir | --docdi | --doc | --do) 1078 ac_prev=docdir ;; 1079 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1080 docdir=$ac_optarg ;; 1081 1082 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1083 ac_prev=dvidir ;; 1084 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1085 dvidir=$ac_optarg ;; 1086 1087 -enable-* | --enable-*) 1088 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1089 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1092 { (exit 1); exit 1; }; } 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097"enable_$ac_useropt" 1098"*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval enable_$ac_useropt=\$ac_optarg ;; 1103 1104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1106 | --exec | --exe | --ex) 1107 ac_prev=exec_prefix ;; 1108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1110 | --exec=* | --exe=* | --ex=*) 1111 exec_prefix=$ac_optarg ;; 1112 1113 -gas | --gas | --ga | --g) 1114 # Obsolete; use --with-gas. 1115 with_gas=yes ;; 1116 1117 -help | --help | --hel | --he | -h) 1118 ac_init_help=long ;; 1119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1120 ac_init_help=recursive ;; 1121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1122 ac_init_help=short ;; 1123 1124 -host | --host | --hos | --ho) 1125 ac_prev=host_alias ;; 1126 -host=* | --host=* | --hos=* | --ho=*) 1127 host_alias=$ac_optarg ;; 1128 1129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1130 ac_prev=htmldir ;; 1131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1132 | --ht=*) 1133 htmldir=$ac_optarg ;; 1134 1135 -includedir | --includedir | --includedi | --included | --include \ 1136 | --includ | --inclu | --incl | --inc) 1137 ac_prev=includedir ;; 1138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1139 | --includ=* | --inclu=* | --incl=* | --inc=*) 1140 includedir=$ac_optarg ;; 1141 1142 -infodir | --infodir | --infodi | --infod | --info | --inf) 1143 ac_prev=infodir ;; 1144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1145 infodir=$ac_optarg ;; 1146 1147 -libdir | --libdir | --libdi | --libd) 1148 ac_prev=libdir ;; 1149 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1150 libdir=$ac_optarg ;; 1151 1152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1153 | --libexe | --libex | --libe) 1154 ac_prev=libexecdir ;; 1155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1156 | --libexe=* | --libex=* | --libe=*) 1157 libexecdir=$ac_optarg ;; 1158 1159 -localedir | --localedir | --localedi | --localed | --locale) 1160 ac_prev=localedir ;; 1161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1162 localedir=$ac_optarg ;; 1163 1164 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1165 | --localstate | --localstat | --localsta | --localst | --locals) 1166 ac_prev=localstatedir ;; 1167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1169 localstatedir=$ac_optarg ;; 1170 1171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1172 ac_prev=mandir ;; 1173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1174 mandir=$ac_optarg ;; 1175 1176 -nfp | --nfp | --nf) 1177 # Obsolete; use --without-fp. 1178 with_fp=no ;; 1179 1180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1181 | --no-cr | --no-c | -n) 1182 no_create=yes ;; 1183 1184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1186 no_recursion=yes ;; 1187 1188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1190 | --oldin | --oldi | --old | --ol | --o) 1191 ac_prev=oldincludedir ;; 1192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1195 oldincludedir=$ac_optarg ;; 1196 1197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1198 ac_prev=prefix ;; 1199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1200 prefix=$ac_optarg ;; 1201 1202 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1203 | --program-pre | --program-pr | --program-p) 1204 ac_prev=program_prefix ;; 1205 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1207 program_prefix=$ac_optarg ;; 1208 1209 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1210 | --program-suf | --program-su | --program-s) 1211 ac_prev=program_suffix ;; 1212 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1214 program_suffix=$ac_optarg ;; 1215 1216 -program-transform-name | --program-transform-name \ 1217 | --program-transform-nam | --program-transform-na \ 1218 | --program-transform-n | --program-transform- \ 1219 | --program-transform | --program-transfor \ 1220 | --program-transfo | --program-transf \ 1221 | --program-trans | --program-tran \ 1222 | --progr-tra | --program-tr | --program-t) 1223 ac_prev=program_transform_name ;; 1224 -program-transform-name=* | --program-transform-name=* \ 1225 | --program-transform-nam=* | --program-transform-na=* \ 1226 | --program-transform-n=* | --program-transform-=* \ 1227 | --program-transform=* | --program-transfor=* \ 1228 | --program-transfo=* | --program-transf=* \ 1229 | --program-trans=* | --program-tran=* \ 1230 | --progr-tra=* | --program-tr=* | --program-t=*) 1231 program_transform_name=$ac_optarg ;; 1232 1233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1234 ac_prev=pdfdir ;; 1235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1236 pdfdir=$ac_optarg ;; 1237 1238 -psdir | --psdir | --psdi | --psd | --ps) 1239 ac_prev=psdir ;; 1240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1241 psdir=$ac_optarg ;; 1242 1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1244 | -silent | --silent | --silen | --sile | --sil) 1245 silent=yes ;; 1246 1247 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1248 ac_prev=sbindir ;; 1249 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1250 | --sbi=* | --sb=*) 1251 sbindir=$ac_optarg ;; 1252 1253 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1254 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1255 | --sharedst | --shareds | --shared | --share | --shar \ 1256 | --sha | --sh) 1257 ac_prev=sharedstatedir ;; 1258 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1259 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1260 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1261 | --sha=* | --sh=*) 1262 sharedstatedir=$ac_optarg ;; 1263 1264 -site | --site | --sit) 1265 ac_prev=site ;; 1266 -site=* | --site=* | --sit=*) 1267 site=$ac_optarg ;; 1268 1269 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1270 ac_prev=srcdir ;; 1271 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1272 srcdir=$ac_optarg ;; 1273 1274 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1275 | --syscon | --sysco | --sysc | --sys | --sy) 1276 ac_prev=sysconfdir ;; 1277 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1278 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1279 sysconfdir=$ac_optarg ;; 1280 1281 -target | --target | --targe | --targ | --tar | --ta | --t) 1282 ac_prev=target_alias ;; 1283 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1284 target_alias=$ac_optarg ;; 1285 1286 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1287 verbose=yes ;; 1288 1289 -version | --version | --versio | --versi | --vers | -V) 1290 ac_init_version=: ;; 1291 1292 -with-* | --with-*) 1293 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1294 # Reject names that are not valid shell variable names. 1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1296 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1297 { (exit 1); exit 1; }; } 1298 ac_useropt_orig=$ac_useropt 1299 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1300 case $ac_user_opts in 1301 *" 1302"with_$ac_useropt" 1303"*) ;; 1304 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1305 ac_unrecognized_sep=', ';; 1306 esac 1307 eval with_$ac_useropt=\$ac_optarg ;; 1308 1309 -without-* | --without-*) 1310 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1311 # Reject names that are not valid shell variable names. 1312 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1313 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1314 { (exit 1); exit 1; }; } 1315 ac_useropt_orig=$ac_useropt 1316 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1317 case $ac_user_opts in 1318 *" 1319"with_$ac_useropt" 1320"*) ;; 1321 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1322 ac_unrecognized_sep=', ';; 1323 esac 1324 eval with_$ac_useropt=no ;; 1325 1326 --x) 1327 # Obsolete; use --with-x. 1328 with_x=yes ;; 1329 1330 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1331 | --x-incl | --x-inc | --x-in | --x-i) 1332 ac_prev=x_includes ;; 1333 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1334 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1335 x_includes=$ac_optarg ;; 1336 1337 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1338 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1339 ac_prev=x_libraries ;; 1340 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1341 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1342 x_libraries=$ac_optarg ;; 1343 1344 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1345Try \`$0 --help' for more information." >&2 1346 { (exit 1); exit 1; }; } 1347 ;; 1348 1349 *=*) 1350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1351 # Reject names that are not valid shell variable names. 1352 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1353 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1354 { (exit 1); exit 1; }; } 1355 eval $ac_envvar=\$ac_optarg 1356 export $ac_envvar ;; 1357 1358 *) 1359 # FIXME: should be removed in autoconf 3.0. 1360 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1361 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1362 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1363 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1364 ;; 1365 1366 esac 1367done 1368 1369if test -n "$ac_prev"; then 1370 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1371 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1372 { (exit 1); exit 1; }; } 1373fi 1374 1375if test -n "$ac_unrecognized_opts"; then 1376 case $enable_option_checking in 1377 no) ;; 1378 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1379 { (exit 1); exit 1; }; } ;; 1380 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1381 esac 1382fi 1383 1384# Check all directory arguments for consistency. 1385for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1386 datadir sysconfdir sharedstatedir localstatedir includedir \ 1387 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1388 libdir localedir mandir 1389do 1390 eval ac_val=\$$ac_var 1391 # Remove trailing slashes. 1392 case $ac_val in 1393 */ ) 1394 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1395 eval $ac_var=\$ac_val;; 1396 esac 1397 # Be sure to have absolute directory names. 1398 case $ac_val in 1399 [\\/$]* | ?:[\\/]* ) continue;; 1400 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1401 esac 1402 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1403 { (exit 1); exit 1; }; } 1404done 1405 1406# There might be people who depend on the old broken behavior: `$host' 1407# used to hold the argument of --host etc. 1408# FIXME: To remove some day. 1409build=$build_alias 1410host=$host_alias 1411target=$target_alias 1412 1413# FIXME: To remove some day. 1414if test "x$host_alias" != x; then 1415 if test "x$build_alias" = x; then 1416 cross_compiling=maybe 1417 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1418 If a cross compiler is detected then cross compile mode will be used." >&2 1419 elif test "x$build_alias" != "x$host_alias"; then 1420 cross_compiling=yes 1421 fi 1422fi 1423 1424ac_tool_prefix= 1425test -n "$host_alias" && ac_tool_prefix=$host_alias- 1426 1427test "$silent" = yes && exec 6>/dev/null 1428 1429 1430ac_pwd=`pwd` && test -n "$ac_pwd" && 1431ac_ls_di=`ls -di .` && 1432ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1433 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1434 { (exit 1); exit 1; }; } 1435test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1436 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1437 { (exit 1); exit 1; }; } 1438 1439 1440# Find the source files, if location was not specified. 1441if test -z "$srcdir"; then 1442 ac_srcdir_defaulted=yes 1443 # Try the directory containing this script, then the parent directory. 1444 ac_confdir=`$as_dirname -- "$as_myself" || 1445$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1446 X"$as_myself" : 'X\(//\)[^/]' \| \ 1447 X"$as_myself" : 'X\(//\)$' \| \ 1448 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1449$as_echo X"$as_myself" | 1450 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1451 s//\1/ 1452 q 1453 } 1454 /^X\(\/\/\)[^/].*/{ 1455 s//\1/ 1456 q 1457 } 1458 /^X\(\/\/\)$/{ 1459 s//\1/ 1460 q 1461 } 1462 /^X\(\/\).*/{ 1463 s//\1/ 1464 q 1465 } 1466 s/.*/./; q'` 1467 srcdir=$ac_confdir 1468 if test ! -r "$srcdir/$ac_unique_file"; then 1469 srcdir=.. 1470 fi 1471else 1472 ac_srcdir_defaulted=no 1473fi 1474if test ! -r "$srcdir/$ac_unique_file"; then 1475 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1476 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1477 { (exit 1); exit 1; }; } 1478fi 1479ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1480ac_abs_confdir=`( 1481 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1482 { (exit 1); exit 1; }; } 1483 pwd)` 1484# When building in place, set srcdir=. 1485if test "$ac_abs_confdir" = "$ac_pwd"; then 1486 srcdir=. 1487fi 1488# Remove unnecessary trailing slashes from srcdir. 1489# Double slashes in file names in object file debugging info 1490# mess up M-x gdb in Emacs. 1491case $srcdir in 1492*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1493esac 1494for ac_var in $ac_precious_vars; do 1495 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1496 eval ac_env_${ac_var}_value=\$${ac_var} 1497 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1498 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1499done 1500 1501# 1502# Report the --help message. 1503# 1504if test "$ac_init_help" = "long"; then 1505 # Omit some internal or obsolete options to make the list less imposing. 1506 # This message is too long to be a string in the A/UX 3.1 sh. 1507 cat <<_ACEOF 1508\`configure' configures libXcursor 1.1.10 to adapt to many kinds of systems. 1509 1510Usage: $0 [OPTION]... [VAR=VALUE]... 1511 1512To assign environment variables (e.g., CC, CFLAGS...), specify them as 1513VAR=VALUE. See below for descriptions of some of the useful variables. 1514 1515Defaults for the options are specified in brackets. 1516 1517Configuration: 1518 -h, --help display this help and exit 1519 --help=short display options specific to this package 1520 --help=recursive display the short help of all the included packages 1521 -V, --version display version information and exit 1522 -q, --quiet, --silent do not print \`checking...' messages 1523 --cache-file=FILE cache test results in FILE [disabled] 1524 -C, --config-cache alias for \`--cache-file=config.cache' 1525 -n, --no-create do not create output files 1526 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1527 1528Installation directories: 1529 --prefix=PREFIX install architecture-independent files in PREFIX 1530 [$ac_default_prefix] 1531 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1532 [PREFIX] 1533 1534By default, \`make install' will install all the files in 1535\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1536an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1537for instance \`--prefix=\$HOME'. 1538 1539For better control, use the options below. 1540 1541Fine tuning of the installation directories: 1542 --bindir=DIR user executables [EPREFIX/bin] 1543 --sbindir=DIR system admin executables [EPREFIX/sbin] 1544 --libexecdir=DIR program executables [EPREFIX/libexec] 1545 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1546 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1547 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1548 --libdir=DIR object code libraries [EPREFIX/lib] 1549 --includedir=DIR C header files [PREFIX/include] 1550 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1553 --infodir=DIR info documentation [DATAROOTDIR/info] 1554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1555 --mandir=DIR man documentation [DATAROOTDIR/man] 1556 --docdir=DIR documentation root [DATAROOTDIR/doc/libXcursor] 1557 --htmldir=DIR html documentation [DOCDIR] 1558 --dvidir=DIR dvi documentation [DOCDIR] 1559 --pdfdir=DIR pdf documentation [DOCDIR] 1560 --psdir=DIR ps documentation [DOCDIR] 1561_ACEOF 1562 1563 cat <<\_ACEOF 1564 1565Program names: 1566 --program-prefix=PREFIX prepend PREFIX to installed program names 1567 --program-suffix=SUFFIX append SUFFIX to installed program names 1568 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1569 1570System types: 1571 --build=BUILD configure for building on BUILD [guessed] 1572 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1573_ACEOF 1574fi 1575 1576if test -n "$ac_init_help"; then 1577 case $ac_init_help in 1578 short | recursive ) echo "Configuration of libXcursor 1.1.10:";; 1579 esac 1580 cat <<\_ACEOF 1581 1582Optional Features: 1583 --disable-option-checking ignore unrecognized --enable/--with options 1584 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1585 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1586 --enable-maintainer-mode enable make rules and dependencies not useful 1587 (and sometimes confusing) to the casual installer 1588 --disable-dependency-tracking speeds up one-time build 1589 --enable-dependency-tracking do not reject slow dependency extractors 1590 --enable-shared[=PKGS] build shared libraries [default=yes] 1591 --enable-static[=PKGS] build static libraries [default=yes] 1592 --enable-fast-install[=PKGS] 1593 optimize for fast installation [default=yes] 1594 --disable-libtool-lock avoid locking (might break parallel builds) 1595 --enable-silent-rules less verbose build output (undo: `make V=1') 1596 --disable-silent-rules verbose build output (undo: `make V=0') 1597 1598Optional Packages: 1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1601 --with-pic try to use only PIC/non-PIC objects [default=use 1602 both] 1603 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1604 --with-icondir=<path> Set default icon directory (default: 1605 ${datadir}/icons) 1606 --with-cursorpath=<paths> 1607 Set default search path for cursors 1608 --with-release-version=STRING 1609 Use release version string in package name 1610 --with-lint Use a lint-style source code checker (default: 1611 disabled) 1612 1613Some influential environment variables: 1614 CC C compiler command 1615 CFLAGS C compiler flags 1616 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1617 nonstandard directory <lib dir> 1618 LIBS libraries to pass to the linker, e.g. -l<library> 1619 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1620 you have headers in a nonstandard directory <include dir> 1621 CPP C preprocessor 1622 PKG_CONFIG path to pkg-config utility 1623 XCURSOR_CFLAGS 1624 C compiler flags for XCURSOR, overriding pkg-config 1625 XCURSOR_LIBS 1626 linker flags for XCURSOR, overriding pkg-config 1627 1628Use these variables to override the choices made by `configure' or to help 1629it to find libraries and programs with nonstandard names/locations. 1630 1631Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1632_ACEOF 1633ac_status=$? 1634fi 1635 1636if test "$ac_init_help" = "recursive"; then 1637 # If there are subdirs, report their specific --help. 1638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1639 test -d "$ac_dir" || 1640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1641 continue 1642 ac_builddir=. 1643 1644case "$ac_dir" in 1645.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1646*) 1647 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1648 # A ".." for each directory in $ac_dir_suffix. 1649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1650 case $ac_top_builddir_sub in 1651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1653 esac ;; 1654esac 1655ac_abs_top_builddir=$ac_pwd 1656ac_abs_builddir=$ac_pwd$ac_dir_suffix 1657# for backward compatibility: 1658ac_top_builddir=$ac_top_build_prefix 1659 1660case $srcdir in 1661 .) # We are building in place. 1662 ac_srcdir=. 1663 ac_top_srcdir=$ac_top_builddir_sub 1664 ac_abs_top_srcdir=$ac_pwd ;; 1665 [\\/]* | ?:[\\/]* ) # Absolute name. 1666 ac_srcdir=$srcdir$ac_dir_suffix; 1667 ac_top_srcdir=$srcdir 1668 ac_abs_top_srcdir=$srcdir ;; 1669 *) # Relative name. 1670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1671 ac_top_srcdir=$ac_top_build_prefix$srcdir 1672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1673esac 1674ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1675 1676 cd "$ac_dir" || { ac_status=$?; continue; } 1677 # Check for guested configure. 1678 if test -f "$ac_srcdir/configure.gnu"; then 1679 echo && 1680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1681 elif test -f "$ac_srcdir/configure"; then 1682 echo && 1683 $SHELL "$ac_srcdir/configure" --help=recursive 1684 else 1685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1686 fi || ac_status=$? 1687 cd "$ac_pwd" || { ac_status=$?; break; } 1688 done 1689fi 1690 1691test -n "$ac_init_help" && exit $ac_status 1692if $ac_init_version; then 1693 cat <<\_ACEOF 1694libXcursor configure 1.1.10 1695generated by GNU Autoconf 2.63 1696 1697Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 16982002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1699This configure script is free software; the Free Software Foundation 1700gives unlimited permission to copy, distribute and modify it. 1701_ACEOF 1702 exit 1703fi 1704cat >config.log <<_ACEOF 1705This file contains any messages produced by compilers while 1706running configure, to aid debugging if configure makes a mistake. 1707 1708It was created by libXcursor $as_me 1.1.10, which was 1709generated by GNU Autoconf 2.63. Invocation command line was 1710 1711 $ $0 $@ 1712 1713_ACEOF 1714exec 5>>config.log 1715{ 1716cat <<_ASUNAME 1717## --------- ## 1718## Platform. ## 1719## --------- ## 1720 1721hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1722uname -m = `(uname -m) 2>/dev/null || echo unknown` 1723uname -r = `(uname -r) 2>/dev/null || echo unknown` 1724uname -s = `(uname -s) 2>/dev/null || echo unknown` 1725uname -v = `(uname -v) 2>/dev/null || echo unknown` 1726 1727/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1728/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1729 1730/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1731/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1732/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1733/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1734/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1735/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1736/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1737 1738_ASUNAME 1739 1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741for as_dir in $PATH 1742do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 $as_echo "PATH: $as_dir" 1746done 1747IFS=$as_save_IFS 1748 1749} >&5 1750 1751cat >&5 <<_ACEOF 1752 1753 1754## ----------- ## 1755## Core tests. ## 1756## ----------- ## 1757 1758_ACEOF 1759 1760 1761# Keep a trace of the command line. 1762# Strip out --no-create and --no-recursion so they do not pile up. 1763# Strip out --silent because we don't want to record it for future runs. 1764# Also quote any args containing shell meta-characters. 1765# Make two passes to allow for proper duplicate-argument suppression. 1766ac_configure_args= 1767ac_configure_args0= 1768ac_configure_args1= 1769ac_must_keep_next=false 1770for ac_pass in 1 2 1771do 1772 for ac_arg 1773 do 1774 case $ac_arg in 1775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1777 | -silent | --silent | --silen | --sile | --sil) 1778 continue ;; 1779 *\'*) 1780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1781 esac 1782 case $ac_pass in 1783 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1784 2) 1785 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1786 if test $ac_must_keep_next = true; then 1787 ac_must_keep_next=false # Got value, back to normal. 1788 else 1789 case $ac_arg in 1790 *=* | --config-cache | -C | -disable-* | --disable-* \ 1791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1793 | -with-* | --with-* | -without-* | --without-* | --x) 1794 case "$ac_configure_args0 " in 1795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1796 esac 1797 ;; 1798 -* ) ac_must_keep_next=true ;; 1799 esac 1800 fi 1801 ac_configure_args="$ac_configure_args '$ac_arg'" 1802 ;; 1803 esac 1804 done 1805done 1806$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1807$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1808 1809# When interrupted or exit'd, cleanup temporary files, and complete 1810# config.log. We remove comments because anyway the quotes in there 1811# would cause problems or look ugly. 1812# WARNING: Use '\'' to represent an apostrophe within the trap. 1813# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1814trap 'exit_status=$? 1815 # Save into config.log some information that might help in debugging. 1816 { 1817 echo 1818 1819 cat <<\_ASBOX 1820## ---------------- ## 1821## Cache variables. ## 1822## ---------------- ## 1823_ASBOX 1824 echo 1825 # The following way of writing the cache mishandles newlines in values, 1826( 1827 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1828 eval ac_val=\$$ac_var 1829 case $ac_val in #( 1830 *${as_nl}*) 1831 case $ac_var in #( 1832 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1833$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1834 esac 1835 case $ac_var in #( 1836 _ | IFS | as_nl) ;; #( 1837 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1838 *) $as_unset $ac_var ;; 1839 esac ;; 1840 esac 1841 done 1842 (set) 2>&1 | 1843 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1844 *${as_nl}ac_space=\ *) 1845 sed -n \ 1846 "s/'\''/'\''\\\\'\'''\''/g; 1847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1848 ;; #( 1849 *) 1850 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1851 ;; 1852 esac | 1853 sort 1854) 1855 echo 1856 1857 cat <<\_ASBOX 1858## ----------------- ## 1859## Output variables. ## 1860## ----------------- ## 1861_ASBOX 1862 echo 1863 for ac_var in $ac_subst_vars 1864 do 1865 eval ac_val=\$$ac_var 1866 case $ac_val in 1867 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1868 esac 1869 $as_echo "$ac_var='\''$ac_val'\''" 1870 done | sort 1871 echo 1872 1873 if test -n "$ac_subst_files"; then 1874 cat <<\_ASBOX 1875## ------------------- ## 1876## File substitutions. ## 1877## ------------------- ## 1878_ASBOX 1879 echo 1880 for ac_var in $ac_subst_files 1881 do 1882 eval ac_val=\$$ac_var 1883 case $ac_val in 1884 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1885 esac 1886 $as_echo "$ac_var='\''$ac_val'\''" 1887 done | sort 1888 echo 1889 fi 1890 1891 if test -s confdefs.h; then 1892 cat <<\_ASBOX 1893## ----------- ## 1894## confdefs.h. ## 1895## ----------- ## 1896_ASBOX 1897 echo 1898 cat confdefs.h 1899 echo 1900 fi 1901 test "$ac_signal" != 0 && 1902 $as_echo "$as_me: caught signal $ac_signal" 1903 $as_echo "$as_me: exit $exit_status" 1904 } >&5 1905 rm -f core *.core core.conftest.* && 1906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1907 exit $exit_status 1908' 0 1909for ac_signal in 1 2 13 15; do 1910 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1911done 1912ac_signal=0 1913 1914# confdefs.h avoids OS command line length limits that DEFS can exceed. 1915rm -f -r conftest* confdefs.h 1916 1917# Predefined preprocessor variables. 1918 1919cat >>confdefs.h <<_ACEOF 1920#define PACKAGE_NAME "$PACKAGE_NAME" 1921_ACEOF 1922 1923 1924cat >>confdefs.h <<_ACEOF 1925#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1926_ACEOF 1927 1928 1929cat >>confdefs.h <<_ACEOF 1930#define PACKAGE_VERSION "$PACKAGE_VERSION" 1931_ACEOF 1932 1933 1934cat >>confdefs.h <<_ACEOF 1935#define PACKAGE_STRING "$PACKAGE_STRING" 1936_ACEOF 1937 1938 1939cat >>confdefs.h <<_ACEOF 1940#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1941_ACEOF 1942 1943 1944# Let the site file select an alternate cache file if it wants to. 1945# Prefer an explicitly selected file to automatically selected ones. 1946ac_site_file1=NONE 1947ac_site_file2=NONE 1948if test -n "$CONFIG_SITE"; then 1949 ac_site_file1=$CONFIG_SITE 1950elif test "x$prefix" != xNONE; then 1951 ac_site_file1=$prefix/share/config.site 1952 ac_site_file2=$prefix/etc/config.site 1953else 1954 ac_site_file1=$ac_default_prefix/share/config.site 1955 ac_site_file2=$ac_default_prefix/etc/config.site 1956fi 1957for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1958do 1959 test "x$ac_site_file" = xNONE && continue 1960 if test -r "$ac_site_file"; then 1961 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1962$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1963 sed 's/^/| /' "$ac_site_file" >&5 1964 . "$ac_site_file" 1965 fi 1966done 1967 1968if test -r "$cache_file"; then 1969 # Some versions of bash will fail to source /dev/null (special 1970 # files actually), so we avoid doing that. 1971 if test -f "$cache_file"; then 1972 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1973$as_echo "$as_me: loading cache $cache_file" >&6;} 1974 case $cache_file in 1975 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1976 *) . "./$cache_file";; 1977 esac 1978 fi 1979else 1980 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1981$as_echo "$as_me: creating cache $cache_file" >&6;} 1982 >$cache_file 1983fi 1984 1985# Check that the precious variables saved in the cache have kept the same 1986# value. 1987ac_cache_corrupted=false 1988for ac_var in $ac_precious_vars; do 1989 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1990 eval ac_new_set=\$ac_env_${ac_var}_set 1991 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1992 eval ac_new_val=\$ac_env_${ac_var}_value 1993 case $ac_old_set,$ac_new_set in 1994 set,) 1995 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1996$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1997 ac_cache_corrupted=: ;; 1998 ,set) 1999 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2000$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2001 ac_cache_corrupted=: ;; 2002 ,);; 2003 *) 2004 if test "x$ac_old_val" != "x$ac_new_val"; then 2005 # differences in whitespace do not lead to failure. 2006 ac_old_val_w=`echo x $ac_old_val` 2007 ac_new_val_w=`echo x $ac_new_val` 2008 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2009 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2010$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2011 ac_cache_corrupted=: 2012 else 2013 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2014$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2015 eval $ac_var=\$ac_old_val 2016 fi 2017 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2018$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2019 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2020$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2021 fi;; 2022 esac 2023 # Pass precious variables to config.status. 2024 if test "$ac_new_set" = set; then 2025 case $ac_new_val in 2026 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2027 *) ac_arg=$ac_var=$ac_new_val ;; 2028 esac 2029 case " $ac_configure_args " in 2030 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2031 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2032 esac 2033 fi 2034done 2035if $ac_cache_corrupted; then 2036 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2038 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2039$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2040 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2041$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2042 { (exit 1); exit 1; }; } 2043fi 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069ac_ext=c 2070ac_cpp='$CPP $CPPFLAGS' 2071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2073ac_compiler_gnu=$ac_cv_c_compiler_gnu 2074 2075 2076am__api_version='1.11' 2077 2078ac_aux_dir= 2079for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2080 if test -f "$ac_dir/install-sh"; then 2081 ac_aux_dir=$ac_dir 2082 ac_install_sh="$ac_aux_dir/install-sh -c" 2083 break 2084 elif test -f "$ac_dir/install.sh"; then 2085 ac_aux_dir=$ac_dir 2086 ac_install_sh="$ac_aux_dir/install.sh -c" 2087 break 2088 elif test -f "$ac_dir/shtool"; then 2089 ac_aux_dir=$ac_dir 2090 ac_install_sh="$ac_aux_dir/shtool install -c" 2091 break 2092 fi 2093done 2094if test -z "$ac_aux_dir"; then 2095 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2096$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2097 { (exit 1); exit 1; }; } 2098fi 2099 2100# These three variables are undocumented and unsupported, 2101# and are intended to be withdrawn in a future Autoconf release. 2102# They can cause serious problems if a builder's source tree is in a directory 2103# whose full name contains unusual characters. 2104ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2105ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2106ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2107 2108 2109# Find a good install program. We prefer a C program (faster), 2110# so one script is as good as another. But avoid the broken or 2111# incompatible versions: 2112# SysV /etc/install, /usr/sbin/install 2113# SunOS /usr/etc/install 2114# IRIX /sbin/install 2115# AIX /bin/install 2116# AmigaOS /C/install, which installs bootblocks on floppy discs 2117# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2118# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2119# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2120# OS/2's system install, which has a completely different semantic 2121# ./install, which can be erroneously created by make from ./install.sh. 2122# Reject install programs that cannot install multiple files. 2123{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2124$as_echo_n "checking for a BSD-compatible install... " >&6; } 2125if test -z "$INSTALL"; then 2126if test "${ac_cv_path_install+set}" = set; then 2127 $as_echo_n "(cached) " >&6 2128else 2129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2130for as_dir in $PATH 2131do 2132 IFS=$as_save_IFS 2133 test -z "$as_dir" && as_dir=. 2134 # Account for people who put trailing slashes in PATH elements. 2135case $as_dir/ in 2136 ./ | .// | /cC/* | \ 2137 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2138 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2139 /usr/ucb/* ) ;; 2140 *) 2141 # OSF1 and SCO ODT 3.0 have their own names for install. 2142 # Don't use installbsd from OSF since it installs stuff as root 2143 # by default. 2144 for ac_prog in ginstall scoinst install; do 2145 for ac_exec_ext in '' $ac_executable_extensions; do 2146 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2147 if test $ac_prog = install && 2148 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2149 # AIX install. It has an incompatible calling convention. 2150 : 2151 elif test $ac_prog = install && 2152 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2153 # program-specific install script used by HP pwplus--don't use. 2154 : 2155 else 2156 rm -rf conftest.one conftest.two conftest.dir 2157 echo one > conftest.one 2158 echo two > conftest.two 2159 mkdir conftest.dir 2160 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2161 test -s conftest.one && test -s conftest.two && 2162 test -s conftest.dir/conftest.one && 2163 test -s conftest.dir/conftest.two 2164 then 2165 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2166 break 3 2167 fi 2168 fi 2169 fi 2170 done 2171 done 2172 ;; 2173esac 2174 2175done 2176IFS=$as_save_IFS 2177 2178rm -rf conftest.one conftest.two conftest.dir 2179 2180fi 2181 if test "${ac_cv_path_install+set}" = set; then 2182 INSTALL=$ac_cv_path_install 2183 else 2184 # As a last resort, use the slow shell script. Don't cache a 2185 # value for INSTALL within a source directory, because that will 2186 # break other packages using the cache if that directory is 2187 # removed, or if the value is a relative name. 2188 INSTALL=$ac_install_sh 2189 fi 2190fi 2191{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2192$as_echo "$INSTALL" >&6; } 2193 2194# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2195# It thinks the first close brace ends the variable substitution. 2196test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2197 2198test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2199 2200test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2201 2202{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2203$as_echo_n "checking whether build environment is sane... " >&6; } 2204# Just in case 2205sleep 1 2206echo timestamp > conftest.file 2207# Reject unsafe characters in $srcdir or the absolute working directory 2208# name. Accept space and tab only in the latter. 2209am_lf=' 2210' 2211case `pwd` in 2212 *[\\\"\#\$\&\'\`$am_lf]*) 2213 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2214$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2215 { (exit 1); exit 1; }; };; 2216esac 2217case $srcdir in 2218 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2219 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2220$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2221 { (exit 1); exit 1; }; };; 2222esac 2223 2224# Do `set' in a subshell so we don't clobber the current shell's 2225# arguments. Must try -L first in case configure is actually a 2226# symlink; some systems play weird games with the mod time of symlinks 2227# (eg FreeBSD returns the mod time of the symlink's containing 2228# directory). 2229if ( 2230 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2231 if test "$*" = "X"; then 2232 # -L didn't work. 2233 set X `ls -t "$srcdir/configure" conftest.file` 2234 fi 2235 rm -f conftest.file 2236 if test "$*" != "X $srcdir/configure conftest.file" \ 2237 && test "$*" != "X conftest.file $srcdir/configure"; then 2238 2239 # If neither matched, then we have a broken ls. This can happen 2240 # if, for instance, CONFIG_SHELL is bash and it inherits a 2241 # broken ls alias from the environment. This has actually 2242 # happened. Such a system could not be considered "sane". 2243 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2244alias in your environment" >&5 2245$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2246alias in your environment" >&2;} 2247 { (exit 1); exit 1; }; } 2248 fi 2249 2250 test "$2" = conftest.file 2251 ) 2252then 2253 # Ok. 2254 : 2255else 2256 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2257Check your system clock" >&5 2258$as_echo "$as_me: error: newly created file is older than distributed files! 2259Check your system clock" >&2;} 2260 { (exit 1); exit 1; }; } 2261fi 2262{ $as_echo "$as_me:$LINENO: result: yes" >&5 2263$as_echo "yes" >&6; } 2264test "$program_prefix" != NONE && 2265 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2266# Use a double $ so make ignores it. 2267test "$program_suffix" != NONE && 2268 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2269# Double any \ or $. 2270# By default was `s,x,x', remove it if useless. 2271ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2272program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2273 2274# expand $ac_aux_dir to an absolute path 2275am_aux_dir=`cd $ac_aux_dir && pwd` 2276 2277if test x"${MISSING+set}" != xset; then 2278 case $am_aux_dir in 2279 *\ * | *\ *) 2280 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2281 *) 2282 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2283 esac 2284fi 2285# Use eval to expand $SHELL 2286if eval "$MISSING --run true"; then 2287 am_missing_run="$MISSING --run " 2288else 2289 am_missing_run= 2290 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2291$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2292fi 2293 2294if test x"${install_sh}" != xset; then 2295 case $am_aux_dir in 2296 *\ * | *\ *) 2297 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2298 *) 2299 install_sh="\${SHELL} $am_aux_dir/install-sh" 2300 esac 2301fi 2302 2303# Installed binaries are usually stripped using `strip' when the user 2304# run `make install-strip'. However `strip' might not be the right 2305# tool to use in cross-compilation environments, therefore Automake 2306# will honor the `STRIP' environment variable to overrule this program. 2307if test "$cross_compiling" != no; then 2308 if test -n "$ac_tool_prefix"; then 2309 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2310set dummy ${ac_tool_prefix}strip; ac_word=$2 2311{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2312$as_echo_n "checking for $ac_word... " >&6; } 2313if test "${ac_cv_prog_STRIP+set}" = set; then 2314 $as_echo_n "(cached) " >&6 2315else 2316 if test -n "$STRIP"; then 2317 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2318else 2319as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2320for as_dir in $PATH 2321do 2322 IFS=$as_save_IFS 2323 test -z "$as_dir" && as_dir=. 2324 for ac_exec_ext in '' $ac_executable_extensions; do 2325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2326 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2327 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2328 break 2 2329 fi 2330done 2331done 2332IFS=$as_save_IFS 2333 2334fi 2335fi 2336STRIP=$ac_cv_prog_STRIP 2337if test -n "$STRIP"; then 2338 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2339$as_echo "$STRIP" >&6; } 2340else 2341 { $as_echo "$as_me:$LINENO: result: no" >&5 2342$as_echo "no" >&6; } 2343fi 2344 2345 2346fi 2347if test -z "$ac_cv_prog_STRIP"; then 2348 ac_ct_STRIP=$STRIP 2349 # Extract the first word of "strip", so it can be a program name with args. 2350set dummy strip; ac_word=$2 2351{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2352$as_echo_n "checking for $ac_word... " >&6; } 2353if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2354 $as_echo_n "(cached) " >&6 2355else 2356 if test -n "$ac_ct_STRIP"; then 2357 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2358else 2359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2360for as_dir in $PATH 2361do 2362 IFS=$as_save_IFS 2363 test -z "$as_dir" && as_dir=. 2364 for ac_exec_ext in '' $ac_executable_extensions; do 2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2366 ac_cv_prog_ac_ct_STRIP="strip" 2367 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2368 break 2 2369 fi 2370done 2371done 2372IFS=$as_save_IFS 2373 2374fi 2375fi 2376ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2377if test -n "$ac_ct_STRIP"; then 2378 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2379$as_echo "$ac_ct_STRIP" >&6; } 2380else 2381 { $as_echo "$as_me:$LINENO: result: no" >&5 2382$as_echo "no" >&6; } 2383fi 2384 2385 if test "x$ac_ct_STRIP" = x; then 2386 STRIP=":" 2387 else 2388 case $cross_compiling:$ac_tool_warned in 2389yes:) 2390{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2391$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2392ac_tool_warned=yes ;; 2393esac 2394 STRIP=$ac_ct_STRIP 2395 fi 2396else 2397 STRIP="$ac_cv_prog_STRIP" 2398fi 2399 2400fi 2401INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2402 2403{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2404$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2405if test -z "$MKDIR_P"; then 2406 if test "${ac_cv_path_mkdir+set}" = set; then 2407 $as_echo_n "(cached) " >&6 2408else 2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2410for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2411do 2412 IFS=$as_save_IFS 2413 test -z "$as_dir" && as_dir=. 2414 for ac_prog in mkdir gmkdir; do 2415 for ac_exec_ext in '' $ac_executable_extensions; do 2416 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2417 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2418 'mkdir (GNU coreutils) '* | \ 2419 'mkdir (coreutils) '* | \ 2420 'mkdir (fileutils) '4.1*) 2421 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2422 break 3;; 2423 esac 2424 done 2425 done 2426done 2427IFS=$as_save_IFS 2428 2429fi 2430 2431 if test "${ac_cv_path_mkdir+set}" = set; then 2432 MKDIR_P="$ac_cv_path_mkdir -p" 2433 else 2434 # As a last resort, use the slow shell script. Don't cache a 2435 # value for MKDIR_P within a source directory, because that will 2436 # break other packages using the cache if that directory is 2437 # removed, or if the value is a relative name. 2438 test -d ./--version && rmdir ./--version 2439 MKDIR_P="$ac_install_sh -d" 2440 fi 2441fi 2442{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2443$as_echo "$MKDIR_P" >&6; } 2444 2445mkdir_p="$MKDIR_P" 2446case $mkdir_p in 2447 [\\/$]* | ?:[\\/]*) ;; 2448 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2449esac 2450 2451for ac_prog in gawk mawk nawk awk 2452do 2453 # Extract the first word of "$ac_prog", so it can be a program name with args. 2454set dummy $ac_prog; ac_word=$2 2455{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2456$as_echo_n "checking for $ac_word... " >&6; } 2457if test "${ac_cv_prog_AWK+set}" = set; then 2458 $as_echo_n "(cached) " >&6 2459else 2460 if test -n "$AWK"; then 2461 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2462else 2463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2464for as_dir in $PATH 2465do 2466 IFS=$as_save_IFS 2467 test -z "$as_dir" && as_dir=. 2468 for ac_exec_ext in '' $ac_executable_extensions; do 2469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2470 ac_cv_prog_AWK="$ac_prog" 2471 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2472 break 2 2473 fi 2474done 2475done 2476IFS=$as_save_IFS 2477 2478fi 2479fi 2480AWK=$ac_cv_prog_AWK 2481if test -n "$AWK"; then 2482 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2483$as_echo "$AWK" >&6; } 2484else 2485 { $as_echo "$as_me:$LINENO: result: no" >&5 2486$as_echo "no" >&6; } 2487fi 2488 2489 2490 test -n "$AWK" && break 2491done 2492 2493{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2494$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2495set x ${MAKE-make} 2496ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2497if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2498 $as_echo_n "(cached) " >&6 2499else 2500 cat >conftest.make <<\_ACEOF 2501SHELL = /bin/sh 2502all: 2503 @echo '@@@%%%=$(MAKE)=@@@%%%' 2504_ACEOF 2505# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2506case `${MAKE-make} -f conftest.make 2>/dev/null` in 2507 *@@@%%%=?*=@@@%%%*) 2508 eval ac_cv_prog_make_${ac_make}_set=yes;; 2509 *) 2510 eval ac_cv_prog_make_${ac_make}_set=no;; 2511esac 2512rm -f conftest.make 2513fi 2514if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2515 { $as_echo "$as_me:$LINENO: result: yes" >&5 2516$as_echo "yes" >&6; } 2517 SET_MAKE= 2518else 2519 { $as_echo "$as_me:$LINENO: result: no" >&5 2520$as_echo "no" >&6; } 2521 SET_MAKE="MAKE=${MAKE-make}" 2522fi 2523 2524rm -rf .tst 2>/dev/null 2525mkdir .tst 2>/dev/null 2526if test -d .tst; then 2527 am__leading_dot=. 2528else 2529 am__leading_dot=_ 2530fi 2531rmdir .tst 2>/dev/null 2532 2533if test "`cd $srcdir && pwd`" != "`pwd`"; then 2534 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2535 # is not polluted with repeated "-I." 2536 am__isrc=' -I$(srcdir)' 2537 # test to see if srcdir already configured 2538 if test -f $srcdir/config.status; then 2539 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2540$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2541 { (exit 1); exit 1; }; } 2542 fi 2543fi 2544 2545# test whether we have cygpath 2546if test -z "$CYGPATH_W"; then 2547 if (cygpath --version) >/dev/null 2>/dev/null; then 2548 CYGPATH_W='cygpath -w' 2549 else 2550 CYGPATH_W=echo 2551 fi 2552fi 2553 2554 2555# Define the identity of the package. 2556 PACKAGE='libXcursor' 2557 VERSION='1.1.10' 2558 2559 2560cat >>confdefs.h <<_ACEOF 2561#define PACKAGE "$PACKAGE" 2562_ACEOF 2563 2564 2565cat >>confdefs.h <<_ACEOF 2566#define VERSION "$VERSION" 2567_ACEOF 2568 2569# Some tools Automake needs. 2570 2571ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2572 2573 2574AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2575 2576 2577AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2578 2579 2580AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2581 2582 2583MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2584 2585# We need awk for the "check" target. The system "awk" is bad on 2586# some platforms. 2587# Always define AMTAR for backward compatibility. 2588 2589AMTAR=${AMTAR-"${am_missing_run}tar"} 2590 2591am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2592 2593 2594 2595 2596 2597 2598 2599{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2600$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2601 # Check whether --enable-maintainer-mode was given. 2602if test "${enable_maintainer_mode+set}" = set; then 2603 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2604else 2605 USE_MAINTAINER_MODE=no 2606fi 2607 2608 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2609$as_echo "$USE_MAINTAINER_MODE" >&6; } 2610 if test $USE_MAINTAINER_MODE = yes; then 2611 MAINTAINER_MODE_TRUE= 2612 MAINTAINER_MODE_FALSE='#' 2613else 2614 MAINTAINER_MODE_TRUE='#' 2615 MAINTAINER_MODE_FALSE= 2616fi 2617 2618 MAINT=$MAINTAINER_MODE_TRUE 2619 2620 2621ac_config_headers="$ac_config_headers config.h" 2622 2623 2624# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637# Check for progs 2638ac_ext=c 2639ac_cpp='$CPP $CPPFLAGS' 2640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2642ac_compiler_gnu=$ac_cv_c_compiler_gnu 2643if test -n "$ac_tool_prefix"; then 2644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2645set dummy ${ac_tool_prefix}gcc; ac_word=$2 2646{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2647$as_echo_n "checking for $ac_word... " >&6; } 2648if test "${ac_cv_prog_CC+set}" = set; then 2649 $as_echo_n "(cached) " >&6 2650else 2651 if test -n "$CC"; then 2652 ac_cv_prog_CC="$CC" # Let the user override the test. 2653else 2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2655for as_dir in $PATH 2656do 2657 IFS=$as_save_IFS 2658 test -z "$as_dir" && as_dir=. 2659 for ac_exec_ext in '' $ac_executable_extensions; do 2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2661 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2662 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2663 break 2 2664 fi 2665done 2666done 2667IFS=$as_save_IFS 2668 2669fi 2670fi 2671CC=$ac_cv_prog_CC 2672if test -n "$CC"; then 2673 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2674$as_echo "$CC" >&6; } 2675else 2676 { $as_echo "$as_me:$LINENO: result: no" >&5 2677$as_echo "no" >&6; } 2678fi 2679 2680 2681fi 2682if test -z "$ac_cv_prog_CC"; then 2683 ac_ct_CC=$CC 2684 # Extract the first word of "gcc", so it can be a program name with args. 2685set dummy gcc; ac_word=$2 2686{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2687$as_echo_n "checking for $ac_word... " >&6; } 2688if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2689 $as_echo_n "(cached) " >&6 2690else 2691 if test -n "$ac_ct_CC"; then 2692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2693else 2694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2695for as_dir in $PATH 2696do 2697 IFS=$as_save_IFS 2698 test -z "$as_dir" && as_dir=. 2699 for ac_exec_ext in '' $ac_executable_extensions; do 2700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2701 ac_cv_prog_ac_ct_CC="gcc" 2702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2703 break 2 2704 fi 2705done 2706done 2707IFS=$as_save_IFS 2708 2709fi 2710fi 2711ac_ct_CC=$ac_cv_prog_ac_ct_CC 2712if test -n "$ac_ct_CC"; then 2713 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2714$as_echo "$ac_ct_CC" >&6; } 2715else 2716 { $as_echo "$as_me:$LINENO: result: no" >&5 2717$as_echo "no" >&6; } 2718fi 2719 2720 if test "x$ac_ct_CC" = x; then 2721 CC="" 2722 else 2723 case $cross_compiling:$ac_tool_warned in 2724yes:) 2725{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2726$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2727ac_tool_warned=yes ;; 2728esac 2729 CC=$ac_ct_CC 2730 fi 2731else 2732 CC="$ac_cv_prog_CC" 2733fi 2734 2735if test -z "$CC"; then 2736 if test -n "$ac_tool_prefix"; then 2737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2738set dummy ${ac_tool_prefix}cc; ac_word=$2 2739{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2740$as_echo_n "checking for $ac_word... " >&6; } 2741if test "${ac_cv_prog_CC+set}" = set; then 2742 $as_echo_n "(cached) " >&6 2743else 2744 if test -n "$CC"; then 2745 ac_cv_prog_CC="$CC" # Let the user override the test. 2746else 2747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2748for as_dir in $PATH 2749do 2750 IFS=$as_save_IFS 2751 test -z "$as_dir" && as_dir=. 2752 for ac_exec_ext in '' $ac_executable_extensions; do 2753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2754 ac_cv_prog_CC="${ac_tool_prefix}cc" 2755 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2756 break 2 2757 fi 2758done 2759done 2760IFS=$as_save_IFS 2761 2762fi 2763fi 2764CC=$ac_cv_prog_CC 2765if test -n "$CC"; then 2766 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2767$as_echo "$CC" >&6; } 2768else 2769 { $as_echo "$as_me:$LINENO: result: no" >&5 2770$as_echo "no" >&6; } 2771fi 2772 2773 2774 fi 2775fi 2776if test -z "$CC"; then 2777 # Extract the first word of "cc", so it can be a program name with args. 2778set dummy cc; ac_word=$2 2779{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2780$as_echo_n "checking for $ac_word... " >&6; } 2781if test "${ac_cv_prog_CC+set}" = set; then 2782 $as_echo_n "(cached) " >&6 2783else 2784 if test -n "$CC"; then 2785 ac_cv_prog_CC="$CC" # Let the user override the test. 2786else 2787 ac_prog_rejected=no 2788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2789for as_dir in $PATH 2790do 2791 IFS=$as_save_IFS 2792 test -z "$as_dir" && as_dir=. 2793 for ac_exec_ext in '' $ac_executable_extensions; do 2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2796 ac_prog_rejected=yes 2797 continue 2798 fi 2799 ac_cv_prog_CC="cc" 2800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2801 break 2 2802 fi 2803done 2804done 2805IFS=$as_save_IFS 2806 2807if test $ac_prog_rejected = yes; then 2808 # We found a bogon in the path, so make sure we never use it. 2809 set dummy $ac_cv_prog_CC 2810 shift 2811 if test $# != 0; then 2812 # We chose a different compiler from the bogus one. 2813 # However, it has the same basename, so the bogon will be chosen 2814 # first if we set CC to just the basename; use the full file name. 2815 shift 2816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2817 fi 2818fi 2819fi 2820fi 2821CC=$ac_cv_prog_CC 2822if test -n "$CC"; then 2823 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2824$as_echo "$CC" >&6; } 2825else 2826 { $as_echo "$as_me:$LINENO: result: no" >&5 2827$as_echo "no" >&6; } 2828fi 2829 2830 2831fi 2832if test -z "$CC"; then 2833 if test -n "$ac_tool_prefix"; then 2834 for ac_prog in cl.exe 2835 do 2836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2837set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2838{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2839$as_echo_n "checking for $ac_word... " >&6; } 2840if test "${ac_cv_prog_CC+set}" = set; then 2841 $as_echo_n "(cached) " >&6 2842else 2843 if test -n "$CC"; then 2844 ac_cv_prog_CC="$CC" # Let the user override the test. 2845else 2846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2847for as_dir in $PATH 2848do 2849 IFS=$as_save_IFS 2850 test -z "$as_dir" && as_dir=. 2851 for ac_exec_ext in '' $ac_executable_extensions; do 2852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2854 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2855 break 2 2856 fi 2857done 2858done 2859IFS=$as_save_IFS 2860 2861fi 2862fi 2863CC=$ac_cv_prog_CC 2864if test -n "$CC"; then 2865 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2866$as_echo "$CC" >&6; } 2867else 2868 { $as_echo "$as_me:$LINENO: result: no" >&5 2869$as_echo "no" >&6; } 2870fi 2871 2872 2873 test -n "$CC" && break 2874 done 2875fi 2876if test -z "$CC"; then 2877 ac_ct_CC=$CC 2878 for ac_prog in cl.exe 2879do 2880 # Extract the first word of "$ac_prog", so it can be a program name with args. 2881set dummy $ac_prog; ac_word=$2 2882{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2883$as_echo_n "checking for $ac_word... " >&6; } 2884if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2885 $as_echo_n "(cached) " >&6 2886else 2887 if test -n "$ac_ct_CC"; then 2888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2889else 2890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2891for as_dir in $PATH 2892do 2893 IFS=$as_save_IFS 2894 test -z "$as_dir" && as_dir=. 2895 for ac_exec_ext in '' $ac_executable_extensions; do 2896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2897 ac_cv_prog_ac_ct_CC="$ac_prog" 2898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2899 break 2 2900 fi 2901done 2902done 2903IFS=$as_save_IFS 2904 2905fi 2906fi 2907ac_ct_CC=$ac_cv_prog_ac_ct_CC 2908if test -n "$ac_ct_CC"; then 2909 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2910$as_echo "$ac_ct_CC" >&6; } 2911else 2912 { $as_echo "$as_me:$LINENO: result: no" >&5 2913$as_echo "no" >&6; } 2914fi 2915 2916 2917 test -n "$ac_ct_CC" && break 2918done 2919 2920 if test "x$ac_ct_CC" = x; then 2921 CC="" 2922 else 2923 case $cross_compiling:$ac_tool_warned in 2924yes:) 2925{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2926$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2927ac_tool_warned=yes ;; 2928esac 2929 CC=$ac_ct_CC 2930 fi 2931fi 2932 2933fi 2934 2935 2936test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2938{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2939See \`config.log' for more details." >&5 2940$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2941See \`config.log' for more details." >&2;} 2942 { (exit 1); exit 1; }; }; } 2943 2944# Provide some information about the compiler. 2945$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2946set X $ac_compile 2947ac_compiler=$2 2948{ (ac_try="$ac_compiler --version >&5" 2949case "(($ac_try" in 2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2951 *) ac_try_echo=$ac_try;; 2952esac 2953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2954$as_echo "$ac_try_echo") >&5 2955 (eval "$ac_compiler --version >&5") 2>&5 2956 ac_status=$? 2957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); } 2959{ (ac_try="$ac_compiler -v >&5" 2960case "(($ac_try" in 2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2962 *) ac_try_echo=$ac_try;; 2963esac 2964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2965$as_echo "$ac_try_echo") >&5 2966 (eval "$ac_compiler -v >&5") 2>&5 2967 ac_status=$? 2968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2969 (exit $ac_status); } 2970{ (ac_try="$ac_compiler -V >&5" 2971case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974esac 2975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2976$as_echo "$ac_try_echo") >&5 2977 (eval "$ac_compiler -V >&5") 2>&5 2978 ac_status=$? 2979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2980 (exit $ac_status); } 2981 2982cat >conftest.$ac_ext <<_ACEOF 2983/* confdefs.h. */ 2984_ACEOF 2985cat confdefs.h >>conftest.$ac_ext 2986cat >>conftest.$ac_ext <<_ACEOF 2987/* end confdefs.h. */ 2988 2989int 2990main () 2991{ 2992 2993 ; 2994 return 0; 2995} 2996_ACEOF 2997ac_clean_files_save=$ac_clean_files 2998ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2999# Try to create an executable without -o first, disregard a.out. 3000# It will help us diagnose broken compilers, and finding out an intuition 3001# of exeext. 3002{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3003$as_echo_n "checking for C compiler default output file name... " >&6; } 3004ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3005 3006# The possible output files: 3007ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3008 3009ac_rmfiles= 3010for ac_file in $ac_files 3011do 3012 case $ac_file in 3013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3014 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3015 esac 3016done 3017rm -f $ac_rmfiles 3018 3019if { (ac_try="$ac_link_default" 3020case "(($ac_try" in 3021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3022 *) ac_try_echo=$ac_try;; 3023esac 3024eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3025$as_echo "$ac_try_echo") >&5 3026 (eval "$ac_link_default") 2>&5 3027 ac_status=$? 3028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3029 (exit $ac_status); }; then 3030 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3031# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3032# in a Makefile. We should not override ac_cv_exeext if it was cached, 3033# so that the user can short-circuit this test for compilers unknown to 3034# Autoconf. 3035for ac_file in $ac_files '' 3036do 3037 test -f "$ac_file" || continue 3038 case $ac_file in 3039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3040 ;; 3041 [ab].out ) 3042 # We found the default executable, but exeext='' is most 3043 # certainly right. 3044 break;; 3045 *.* ) 3046 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3047 then :; else 3048 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3049 fi 3050 # We set ac_cv_exeext here because the later test for it is not 3051 # safe: cross compilers may not add the suffix if given an `-o' 3052 # argument, so we may need to know it at that point already. 3053 # Even if this section looks crufty: it has the advantage of 3054 # actually working. 3055 break;; 3056 * ) 3057 break;; 3058 esac 3059done 3060test "$ac_cv_exeext" = no && ac_cv_exeext= 3061 3062else 3063 ac_file='' 3064fi 3065 3066{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3067$as_echo "$ac_file" >&6; } 3068if test -z "$ac_file"; then 3069 $as_echo "$as_me: failed program was:" >&5 3070sed 's/^/| /' conftest.$ac_ext >&5 3071 3072{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3073$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3074{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3075See \`config.log' for more details." >&5 3076$as_echo "$as_me: error: C compiler cannot create executables 3077See \`config.log' for more details." >&2;} 3078 { (exit 77); exit 77; }; }; } 3079fi 3080 3081ac_exeext=$ac_cv_exeext 3082 3083# Check that the compiler produces executables we can run. If not, either 3084# the compiler is broken, or we cross compile. 3085{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3086$as_echo_n "checking whether the C compiler works... " >&6; } 3087# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3088# If not cross compiling, check that we can run a simple program. 3089if test "$cross_compiling" != yes; then 3090 if { ac_try='./$ac_file' 3091 { (case "(($ac_try" in 3092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3093 *) ac_try_echo=$ac_try;; 3094esac 3095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3096$as_echo "$ac_try_echo") >&5 3097 (eval "$ac_try") 2>&5 3098 ac_status=$? 3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 (exit $ac_status); }; }; then 3101 cross_compiling=no 3102 else 3103 if test "$cross_compiling" = maybe; then 3104 cross_compiling=yes 3105 else 3106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3108{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3109If you meant to cross compile, use \`--host'. 3110See \`config.log' for more details." >&5 3111$as_echo "$as_me: error: cannot run C compiled programs. 3112If you meant to cross compile, use \`--host'. 3113See \`config.log' for more details." >&2;} 3114 { (exit 1); exit 1; }; }; } 3115 fi 3116 fi 3117fi 3118{ $as_echo "$as_me:$LINENO: result: yes" >&5 3119$as_echo "yes" >&6; } 3120 3121rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3122ac_clean_files=$ac_clean_files_save 3123# Check that the compiler produces executables we can run. If not, either 3124# the compiler is broken, or we cross compile. 3125{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3126$as_echo_n "checking whether we are cross compiling... " >&6; } 3127{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3128$as_echo "$cross_compiling" >&6; } 3129 3130{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3131$as_echo_n "checking for suffix of executables... " >&6; } 3132if { (ac_try="$ac_link" 3133case "(($ac_try" in 3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3135 *) ac_try_echo=$ac_try;; 3136esac 3137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3138$as_echo "$ac_try_echo") >&5 3139 (eval "$ac_link") 2>&5 3140 ac_status=$? 3141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3142 (exit $ac_status); }; then 3143 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3144# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3145# work properly (i.e., refer to `conftest.exe'), while it won't with 3146# `rm'. 3147for ac_file in conftest.exe conftest conftest.*; do 3148 test -f "$ac_file" || continue 3149 case $ac_file in 3150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3151 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3152 break;; 3153 * ) break;; 3154 esac 3155done 3156else 3157 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3158$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3159{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3160See \`config.log' for more details." >&5 3161$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3162See \`config.log' for more details." >&2;} 3163 { (exit 1); exit 1; }; }; } 3164fi 3165 3166rm -f conftest$ac_cv_exeext 3167{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3168$as_echo "$ac_cv_exeext" >&6; } 3169 3170rm -f conftest.$ac_ext 3171EXEEXT=$ac_cv_exeext 3172ac_exeext=$EXEEXT 3173{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3174$as_echo_n "checking for suffix of object files... " >&6; } 3175if test "${ac_cv_objext+set}" = set; then 3176 $as_echo_n "(cached) " >&6 3177else 3178 cat >conftest.$ac_ext <<_ACEOF 3179/* confdefs.h. */ 3180_ACEOF 3181cat confdefs.h >>conftest.$ac_ext 3182cat >>conftest.$ac_ext <<_ACEOF 3183/* end confdefs.h. */ 3184 3185int 3186main () 3187{ 3188 3189 ; 3190 return 0; 3191} 3192_ACEOF 3193rm -f conftest.o conftest.obj 3194if { (ac_try="$ac_compile" 3195case "(($ac_try" in 3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3197 *) ac_try_echo=$ac_try;; 3198esac 3199eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3200$as_echo "$ac_try_echo") >&5 3201 (eval "$ac_compile") 2>&5 3202 ac_status=$? 3203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3204 (exit $ac_status); }; then 3205 for ac_file in conftest.o conftest.obj conftest.*; do 3206 test -f "$ac_file" || continue; 3207 case $ac_file in 3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3209 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3210 break;; 3211 esac 3212done 3213else 3214 $as_echo "$as_me: failed program was:" >&5 3215sed 's/^/| /' conftest.$ac_ext >&5 3216 3217{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3219{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3220See \`config.log' for more details." >&5 3221$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3222See \`config.log' for more details." >&2;} 3223 { (exit 1); exit 1; }; }; } 3224fi 3225 3226rm -f conftest.$ac_cv_objext conftest.$ac_ext 3227fi 3228{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3229$as_echo "$ac_cv_objext" >&6; } 3230OBJEXT=$ac_cv_objext 3231ac_objext=$OBJEXT 3232{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3233$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3234if test "${ac_cv_c_compiler_gnu+set}" = set; then 3235 $as_echo_n "(cached) " >&6 3236else 3237 cat >conftest.$ac_ext <<_ACEOF 3238/* confdefs.h. */ 3239_ACEOF 3240cat confdefs.h >>conftest.$ac_ext 3241cat >>conftest.$ac_ext <<_ACEOF 3242/* end confdefs.h. */ 3243 3244int 3245main () 3246{ 3247#ifndef __GNUC__ 3248 choke me 3249#endif 3250 3251 ; 3252 return 0; 3253} 3254_ACEOF 3255rm -f conftest.$ac_objext 3256if { (ac_try="$ac_compile" 3257case "(($ac_try" in 3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3259 *) ac_try_echo=$ac_try;; 3260esac 3261eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3262$as_echo "$ac_try_echo") >&5 3263 (eval "$ac_compile") 2>conftest.er1 3264 ac_status=$? 3265 grep -v '^ *+' conftest.er1 >conftest.err 3266 rm -f conftest.er1 3267 cat conftest.err >&5 3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3269 (exit $ac_status); } && { 3270 test -z "$ac_c_werror_flag" || 3271 test ! -s conftest.err 3272 } && test -s conftest.$ac_objext; then 3273 ac_compiler_gnu=yes 3274else 3275 $as_echo "$as_me: failed program was:" >&5 3276sed 's/^/| /' conftest.$ac_ext >&5 3277 3278 ac_compiler_gnu=no 3279fi 3280 3281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3282ac_cv_c_compiler_gnu=$ac_compiler_gnu 3283 3284fi 3285{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3286$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3287if test $ac_compiler_gnu = yes; then 3288 GCC=yes 3289else 3290 GCC= 3291fi 3292ac_test_CFLAGS=${CFLAGS+set} 3293ac_save_CFLAGS=$CFLAGS 3294{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3295$as_echo_n "checking whether $CC accepts -g... " >&6; } 3296if test "${ac_cv_prog_cc_g+set}" = set; then 3297 $as_echo_n "(cached) " >&6 3298else 3299 ac_save_c_werror_flag=$ac_c_werror_flag 3300 ac_c_werror_flag=yes 3301 ac_cv_prog_cc_g=no 3302 CFLAGS="-g" 3303 cat >conftest.$ac_ext <<_ACEOF 3304/* confdefs.h. */ 3305_ACEOF 3306cat confdefs.h >>conftest.$ac_ext 3307cat >>conftest.$ac_ext <<_ACEOF 3308/* end confdefs.h. */ 3309 3310int 3311main () 3312{ 3313 3314 ; 3315 return 0; 3316} 3317_ACEOF 3318rm -f conftest.$ac_objext 3319if { (ac_try="$ac_compile" 3320case "(($ac_try" in 3321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3322 *) ac_try_echo=$ac_try;; 3323esac 3324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3325$as_echo "$ac_try_echo") >&5 3326 (eval "$ac_compile") 2>conftest.er1 3327 ac_status=$? 3328 grep -v '^ *+' conftest.er1 >conftest.err 3329 rm -f conftest.er1 3330 cat conftest.err >&5 3331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); } && { 3333 test -z "$ac_c_werror_flag" || 3334 test ! -s conftest.err 3335 } && test -s conftest.$ac_objext; then 3336 ac_cv_prog_cc_g=yes 3337else 3338 $as_echo "$as_me: failed program was:" >&5 3339sed 's/^/| /' conftest.$ac_ext >&5 3340 3341 CFLAGS="" 3342 cat >conftest.$ac_ext <<_ACEOF 3343/* confdefs.h. */ 3344_ACEOF 3345cat confdefs.h >>conftest.$ac_ext 3346cat >>conftest.$ac_ext <<_ACEOF 3347/* end confdefs.h. */ 3348 3349int 3350main () 3351{ 3352 3353 ; 3354 return 0; 3355} 3356_ACEOF 3357rm -f conftest.$ac_objext 3358if { (ac_try="$ac_compile" 3359case "(($ac_try" in 3360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3361 *) ac_try_echo=$ac_try;; 3362esac 3363eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3364$as_echo "$ac_try_echo") >&5 3365 (eval "$ac_compile") 2>conftest.er1 3366 ac_status=$? 3367 grep -v '^ *+' conftest.er1 >conftest.err 3368 rm -f conftest.er1 3369 cat conftest.err >&5 3370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3371 (exit $ac_status); } && { 3372 test -z "$ac_c_werror_flag" || 3373 test ! -s conftest.err 3374 } && test -s conftest.$ac_objext; then 3375 : 3376else 3377 $as_echo "$as_me: failed program was:" >&5 3378sed 's/^/| /' conftest.$ac_ext >&5 3379 3380 ac_c_werror_flag=$ac_save_c_werror_flag 3381 CFLAGS="-g" 3382 cat >conftest.$ac_ext <<_ACEOF 3383/* confdefs.h. */ 3384_ACEOF 3385cat confdefs.h >>conftest.$ac_ext 3386cat >>conftest.$ac_ext <<_ACEOF 3387/* end confdefs.h. */ 3388 3389int 3390main () 3391{ 3392 3393 ; 3394 return 0; 3395} 3396_ACEOF 3397rm -f conftest.$ac_objext 3398if { (ac_try="$ac_compile" 3399case "(($ac_try" in 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3401 *) ac_try_echo=$ac_try;; 3402esac 3403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3404$as_echo "$ac_try_echo") >&5 3405 (eval "$ac_compile") 2>conftest.er1 3406 ac_status=$? 3407 grep -v '^ *+' conftest.er1 >conftest.err 3408 rm -f conftest.er1 3409 cat conftest.err >&5 3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3411 (exit $ac_status); } && { 3412 test -z "$ac_c_werror_flag" || 3413 test ! -s conftest.err 3414 } && test -s conftest.$ac_objext; then 3415 ac_cv_prog_cc_g=yes 3416else 3417 $as_echo "$as_me: failed program was:" >&5 3418sed 's/^/| /' conftest.$ac_ext >&5 3419 3420 3421fi 3422 3423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3424fi 3425 3426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3427fi 3428 3429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3430 ac_c_werror_flag=$ac_save_c_werror_flag 3431fi 3432{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3433$as_echo "$ac_cv_prog_cc_g" >&6; } 3434if test "$ac_test_CFLAGS" = set; then 3435 CFLAGS=$ac_save_CFLAGS 3436elif test $ac_cv_prog_cc_g = yes; then 3437 if test "$GCC" = yes; then 3438 CFLAGS="-g -O2" 3439 else 3440 CFLAGS="-g" 3441 fi 3442else 3443 if test "$GCC" = yes; then 3444 CFLAGS="-O2" 3445 else 3446 CFLAGS= 3447 fi 3448fi 3449{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3450$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3451if test "${ac_cv_prog_cc_c89+set}" = set; then 3452 $as_echo_n "(cached) " >&6 3453else 3454 ac_cv_prog_cc_c89=no 3455ac_save_CC=$CC 3456cat >conftest.$ac_ext <<_ACEOF 3457/* confdefs.h. */ 3458_ACEOF 3459cat confdefs.h >>conftest.$ac_ext 3460cat >>conftest.$ac_ext <<_ACEOF 3461/* end confdefs.h. */ 3462#include <stdarg.h> 3463#include <stdio.h> 3464#include <sys/types.h> 3465#include <sys/stat.h> 3466/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3467struct buf { int x; }; 3468FILE * (*rcsopen) (struct buf *, struct stat *, int); 3469static char *e (p, i) 3470 char **p; 3471 int i; 3472{ 3473 return p[i]; 3474} 3475static char *f (char * (*g) (char **, int), char **p, ...) 3476{ 3477 char *s; 3478 va_list v; 3479 va_start (v,p); 3480 s = g (p, va_arg (v,int)); 3481 va_end (v); 3482 return s; 3483} 3484 3485/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3486 function prototypes and stuff, but not '\xHH' hex character constants. 3487 These don't provoke an error unfortunately, instead are silently treated 3488 as 'x'. The following induces an error, until -std is added to get 3489 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3490 array size at least. It's necessary to write '\x00'==0 to get something 3491 that's true only with -std. */ 3492int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3493 3494/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3495 inside strings and character constants. */ 3496#define FOO(x) 'x' 3497int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3498 3499int test (int i, double x); 3500struct s1 {int (*f) (int a);}; 3501struct s2 {int (*f) (double a);}; 3502int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3503int argc; 3504char **argv; 3505int 3506main () 3507{ 3508return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3509 ; 3510 return 0; 3511} 3512_ACEOF 3513for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3514 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3515do 3516 CC="$ac_save_CC $ac_arg" 3517 rm -f conftest.$ac_objext 3518if { (ac_try="$ac_compile" 3519case "(($ac_try" in 3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3521 *) ac_try_echo=$ac_try;; 3522esac 3523eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3524$as_echo "$ac_try_echo") >&5 3525 (eval "$ac_compile") 2>conftest.er1 3526 ac_status=$? 3527 grep -v '^ *+' conftest.er1 >conftest.err 3528 rm -f conftest.er1 3529 cat conftest.err >&5 3530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3531 (exit $ac_status); } && { 3532 test -z "$ac_c_werror_flag" || 3533 test ! -s conftest.err 3534 } && test -s conftest.$ac_objext; then 3535 ac_cv_prog_cc_c89=$ac_arg 3536else 3537 $as_echo "$as_me: failed program was:" >&5 3538sed 's/^/| /' conftest.$ac_ext >&5 3539 3540 3541fi 3542 3543rm -f core conftest.err conftest.$ac_objext 3544 test "x$ac_cv_prog_cc_c89" != "xno" && break 3545done 3546rm -f conftest.$ac_ext 3547CC=$ac_save_CC 3548 3549fi 3550# AC_CACHE_VAL 3551case "x$ac_cv_prog_cc_c89" in 3552 x) 3553 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3554$as_echo "none needed" >&6; } ;; 3555 xno) 3556 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3557$as_echo "unsupported" >&6; } ;; 3558 *) 3559 CC="$CC $ac_cv_prog_cc_c89" 3560 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3561$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3562esac 3563 3564 3565ac_ext=c 3566ac_cpp='$CPP $CPPFLAGS' 3567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3569ac_compiler_gnu=$ac_cv_c_compiler_gnu 3570DEPDIR="${am__leading_dot}deps" 3571 3572ac_config_commands="$ac_config_commands depfiles" 3573 3574 3575am_make=${MAKE-make} 3576cat > confinc << 'END' 3577am__doit: 3578 @echo this is the am__doit target 3579.PHONY: am__doit 3580END 3581# If we don't find an include directive, just comment out the code. 3582{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3583$as_echo_n "checking for style of include used by $am_make... " >&6; } 3584am__include="#" 3585am__quote= 3586_am_result=none 3587# First try GNU make style include. 3588echo "include confinc" > confmf 3589# Ignore all kinds of additional output from `make'. 3590case `$am_make -s -f confmf 2> /dev/null` in #( 3591*the\ am__doit\ target*) 3592 am__include=include 3593 am__quote= 3594 _am_result=GNU 3595 ;; 3596esac 3597# Now try BSD make style include. 3598if test "$am__include" = "#"; then 3599 echo '.include "confinc"' > confmf 3600 case `$am_make -s -f confmf 2> /dev/null` in #( 3601 *the\ am__doit\ target*) 3602 am__include=.include 3603 am__quote="\"" 3604 _am_result=BSD 3605 ;; 3606 esac 3607fi 3608 3609 3610{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3611$as_echo "$_am_result" >&6; } 3612rm -f confinc confmf 3613 3614# Check whether --enable-dependency-tracking was given. 3615if test "${enable_dependency_tracking+set}" = set; then 3616 enableval=$enable_dependency_tracking; 3617fi 3618 3619if test "x$enable_dependency_tracking" != xno; then 3620 am_depcomp="$ac_aux_dir/depcomp" 3621 AMDEPBACKSLASH='\' 3622fi 3623 if test "x$enable_dependency_tracking" != xno; then 3624 AMDEP_TRUE= 3625 AMDEP_FALSE='#' 3626else 3627 AMDEP_TRUE='#' 3628 AMDEP_FALSE= 3629fi 3630 3631 3632 3633depcc="$CC" am_compiler_list= 3634 3635{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3636$as_echo_n "checking dependency style of $depcc... " >&6; } 3637if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3638 $as_echo_n "(cached) " >&6 3639else 3640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3641 # We make a subdir and do the tests there. Otherwise we can end up 3642 # making bogus files that we don't know about and never remove. For 3643 # instance it was reported that on HP-UX the gcc test will end up 3644 # making a dummy file named `D' -- because `-MD' means `put the output 3645 # in D'. 3646 mkdir conftest.dir 3647 # Copy depcomp to subdir because otherwise we won't find it if we're 3648 # using a relative directory. 3649 cp "$am_depcomp" conftest.dir 3650 cd conftest.dir 3651 # We will build objects and dependencies in a subdirectory because 3652 # it helps to detect inapplicable dependency modes. For instance 3653 # both Tru64's cc and ICC support -MD to output dependencies as a 3654 # side effect of compilation, but ICC will put the dependencies in 3655 # the current directory while Tru64 will put them in the object 3656 # directory. 3657 mkdir sub 3658 3659 am_cv_CC_dependencies_compiler_type=none 3660 if test "$am_compiler_list" = ""; then 3661 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3662 fi 3663 am__universal=false 3664 case " $depcc " in #( 3665 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3666 esac 3667 3668 for depmode in $am_compiler_list; do 3669 # Setup a source with many dependencies, because some compilers 3670 # like to wrap large dependency lists on column 80 (with \), and 3671 # we should not choose a depcomp mode which is confused by this. 3672 # 3673 # We need to recreate these files for each test, as the compiler may 3674 # overwrite some of them when testing with obscure command lines. 3675 # This happens at least with the AIX C compiler. 3676 : > sub/conftest.c 3677 for i in 1 2 3 4 5 6; do 3678 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3679 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3680 # Solaris 8's {/usr,}/bin/sh. 3681 touch sub/conftst$i.h 3682 done 3683 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3684 3685 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3686 # mode. It turns out that the SunPro C++ compiler does not properly 3687 # handle `-M -o', and we need to detect this. Also, some Intel 3688 # versions had trouble with output in subdirs 3689 am__obj=sub/conftest.${OBJEXT-o} 3690 am__minus_obj="-o $am__obj" 3691 case $depmode in 3692 gcc) 3693 # This depmode causes a compiler race in universal mode. 3694 test "$am__universal" = false || continue 3695 ;; 3696 nosideeffect) 3697 # after this tag, mechanisms are not by side-effect, so they'll 3698 # only be used when explicitly requested 3699 if test "x$enable_dependency_tracking" = xyes; then 3700 continue 3701 else 3702 break 3703 fi 3704 ;; 3705 msvisualcpp | msvcmsys) 3706 # This compiler won't grok `-c -o', but also, the minuso test has 3707 # not run yet. These depmodes are late enough in the game, and 3708 # so weak that their functioning should not be impacted. 3709 am__obj=conftest.${OBJEXT-o} 3710 am__minus_obj= 3711 ;; 3712 none) break ;; 3713 esac 3714 if depmode=$depmode \ 3715 source=sub/conftest.c object=$am__obj \ 3716 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3717 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3718 >/dev/null 2>conftest.err && 3719 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3720 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3721 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3722 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3723 # icc doesn't choke on unknown options, it will just issue warnings 3724 # or remarks (even with -Werror). So we grep stderr for any message 3725 # that says an option was ignored or not supported. 3726 # When given -MP, icc 7.0 and 7.1 complain thusly: 3727 # icc: Command line warning: ignoring option '-M'; no argument required 3728 # The diagnosis changed in icc 8.0: 3729 # icc: Command line remark: option '-MP' not supported 3730 if (grep 'ignoring option' conftest.err || 3731 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3732 am_cv_CC_dependencies_compiler_type=$depmode 3733 break 3734 fi 3735 fi 3736 done 3737 3738 cd .. 3739 rm -rf conftest.dir 3740else 3741 am_cv_CC_dependencies_compiler_type=none 3742fi 3743 3744fi 3745{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3746$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3747CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3748 3749 if 3750 test "x$enable_dependency_tracking" != xno \ 3751 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3752 am__fastdepCC_TRUE= 3753 am__fastdepCC_FALSE='#' 3754else 3755 am__fastdepCC_TRUE='#' 3756 am__fastdepCC_FALSE= 3757fi 3758 3759 3760case `pwd` in 3761 *\ * | *\ *) 3762 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3763$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3764esac 3765 3766 3767 3768macro_version='2.2.6' 3769macro_revision='1.3012' 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783ltmain="$ac_aux_dir/ltmain.sh" 3784 3785# Make sure we can run config.sub. 3786$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3787 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3788$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3789 { (exit 1); exit 1; }; } 3790 3791{ $as_echo "$as_me:$LINENO: checking build system type" >&5 3792$as_echo_n "checking build system type... " >&6; } 3793if test "${ac_cv_build+set}" = set; then 3794 $as_echo_n "(cached) " >&6 3795else 3796 ac_build_alias=$build_alias 3797test "x$ac_build_alias" = x && 3798 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3799test "x$ac_build_alias" = x && 3800 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3801$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3802 { (exit 1); exit 1; }; } 3803ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3804 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3805$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3806 { (exit 1); exit 1; }; } 3807 3808fi 3809{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3810$as_echo "$ac_cv_build" >&6; } 3811case $ac_cv_build in 3812*-*-*) ;; 3813*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3814$as_echo "$as_me: error: invalid value of canonical build" >&2;} 3815 { (exit 1); exit 1; }; };; 3816esac 3817build=$ac_cv_build 3818ac_save_IFS=$IFS; IFS='-' 3819set x $ac_cv_build 3820shift 3821build_cpu=$1 3822build_vendor=$2 3823shift; shift 3824# Remember, the first character of IFS is used to create $*, 3825# except with old shells: 3826build_os=$* 3827IFS=$ac_save_IFS 3828case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3829 3830 3831{ $as_echo "$as_me:$LINENO: checking host system type" >&5 3832$as_echo_n "checking host system type... " >&6; } 3833if test "${ac_cv_host+set}" = set; then 3834 $as_echo_n "(cached) " >&6 3835else 3836 if test "x$host_alias" = x; then 3837 ac_cv_host=$ac_cv_build 3838else 3839 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3840 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3841$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3842 { (exit 1); exit 1; }; } 3843fi 3844 3845fi 3846{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3847$as_echo "$ac_cv_host" >&6; } 3848case $ac_cv_host in 3849*-*-*) ;; 3850*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3851$as_echo "$as_me: error: invalid value of canonical host" >&2;} 3852 { (exit 1); exit 1; }; };; 3853esac 3854host=$ac_cv_host 3855ac_save_IFS=$IFS; IFS='-' 3856set x $ac_cv_host 3857shift 3858host_cpu=$1 3859host_vendor=$2 3860shift; shift 3861# Remember, the first character of IFS is used to create $*, 3862# except with old shells: 3863host_os=$* 3864IFS=$ac_save_IFS 3865case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3866 3867 3868{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 3869$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3870if test "${ac_cv_path_SED+set}" = set; then 3871 $as_echo_n "(cached) " >&6 3872else 3873 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3874 for ac_i in 1 2 3 4 5 6 7; do 3875 ac_script="$ac_script$as_nl$ac_script" 3876 done 3877 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3878 $as_unset ac_script || ac_script= 3879 if test -z "$SED"; then 3880 ac_path_SED_found=false 3881 # Loop through the user's path and test for each of PROGNAME-LIST 3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3883for as_dir in $PATH 3884do 3885 IFS=$as_save_IFS 3886 test -z "$as_dir" && as_dir=. 3887 for ac_prog in sed gsed; do 3888 for ac_exec_ext in '' $ac_executable_extensions; do 3889 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 3890 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 3891# Check for GNU ac_path_SED and select it if it is found. 3892 # Check for GNU $ac_path_SED 3893case `"$ac_path_SED" --version 2>&1` in 3894*GNU*) 3895 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 3896*) 3897 ac_count=0 3898 $as_echo_n 0123456789 >"conftest.in" 3899 while : 3900 do 3901 cat "conftest.in" "conftest.in" >"conftest.tmp" 3902 mv "conftest.tmp" "conftest.in" 3903 cp "conftest.in" "conftest.nl" 3904 $as_echo '' >> "conftest.nl" 3905 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 3906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3907 ac_count=`expr $ac_count + 1` 3908 if test $ac_count -gt ${ac_path_SED_max-0}; then 3909 # Best one so far, save it but keep looking for a better one 3910 ac_cv_path_SED="$ac_path_SED" 3911 ac_path_SED_max=$ac_count 3912 fi 3913 # 10*(2^10) chars as input seems more than enough 3914 test $ac_count -gt 10 && break 3915 done 3916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3917esac 3918 3919 $ac_path_SED_found && break 3 3920 done 3921 done 3922done 3923IFS=$as_save_IFS 3924 if test -z "$ac_cv_path_SED"; then 3925 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 3926$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 3927 { (exit 1); exit 1; }; } 3928 fi 3929else 3930 ac_cv_path_SED=$SED 3931fi 3932 3933fi 3934{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 3935$as_echo "$ac_cv_path_SED" >&6; } 3936 SED="$ac_cv_path_SED" 3937 rm -f conftest.sed 3938 3939test -z "$SED" && SED=sed 3940Xsed="$SED -e 1s/^X//" 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3953$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3954if test "${ac_cv_path_GREP+set}" = set; then 3955 $as_echo_n "(cached) " >&6 3956else 3957 if test -z "$GREP"; then 3958 ac_path_GREP_found=false 3959 # Loop through the user's path and test for each of PROGNAME-LIST 3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3961for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3962do 3963 IFS=$as_save_IFS 3964 test -z "$as_dir" && as_dir=. 3965 for ac_prog in grep ggrep; do 3966 for ac_exec_ext in '' $ac_executable_extensions; do 3967 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3968 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3969# Check for GNU ac_path_GREP and select it if it is found. 3970 # Check for GNU $ac_path_GREP 3971case `"$ac_path_GREP" --version 2>&1` in 3972*GNU*) 3973 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3974*) 3975 ac_count=0 3976 $as_echo_n 0123456789 >"conftest.in" 3977 while : 3978 do 3979 cat "conftest.in" "conftest.in" >"conftest.tmp" 3980 mv "conftest.tmp" "conftest.in" 3981 cp "conftest.in" "conftest.nl" 3982 $as_echo 'GREP' >> "conftest.nl" 3983 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3984 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3985 ac_count=`expr $ac_count + 1` 3986 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3987 # Best one so far, save it but keep looking for a better one 3988 ac_cv_path_GREP="$ac_path_GREP" 3989 ac_path_GREP_max=$ac_count 3990 fi 3991 # 10*(2^10) chars as input seems more than enough 3992 test $ac_count -gt 10 && break 3993 done 3994 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3995esac 3996 3997 $ac_path_GREP_found && break 3 3998 done 3999 done 4000done 4001IFS=$as_save_IFS 4002 if test -z "$ac_cv_path_GREP"; then 4003 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4004$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4005 { (exit 1); exit 1; }; } 4006 fi 4007else 4008 ac_cv_path_GREP=$GREP 4009fi 4010 4011fi 4012{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4013$as_echo "$ac_cv_path_GREP" >&6; } 4014 GREP="$ac_cv_path_GREP" 4015 4016 4017{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4018$as_echo_n "checking for egrep... " >&6; } 4019if test "${ac_cv_path_EGREP+set}" = set; then 4020 $as_echo_n "(cached) " >&6 4021else 4022 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4023 then ac_cv_path_EGREP="$GREP -E" 4024 else 4025 if test -z "$EGREP"; then 4026 ac_path_EGREP_found=false 4027 # Loop through the user's path and test for each of PROGNAME-LIST 4028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4029for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4030do 4031 IFS=$as_save_IFS 4032 test -z "$as_dir" && as_dir=. 4033 for ac_prog in egrep; do 4034 for ac_exec_ext in '' $ac_executable_extensions; do 4035 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4036 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4037# Check for GNU ac_path_EGREP and select it if it is found. 4038 # Check for GNU $ac_path_EGREP 4039case `"$ac_path_EGREP" --version 2>&1` in 4040*GNU*) 4041 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4042*) 4043 ac_count=0 4044 $as_echo_n 0123456789 >"conftest.in" 4045 while : 4046 do 4047 cat "conftest.in" "conftest.in" >"conftest.tmp" 4048 mv "conftest.tmp" "conftest.in" 4049 cp "conftest.in" "conftest.nl" 4050 $as_echo 'EGREP' >> "conftest.nl" 4051 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4052 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4053 ac_count=`expr $ac_count + 1` 4054 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4055 # Best one so far, save it but keep looking for a better one 4056 ac_cv_path_EGREP="$ac_path_EGREP" 4057 ac_path_EGREP_max=$ac_count 4058 fi 4059 # 10*(2^10) chars as input seems more than enough 4060 test $ac_count -gt 10 && break 4061 done 4062 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4063esac 4064 4065 $ac_path_EGREP_found && break 3 4066 done 4067 done 4068done 4069IFS=$as_save_IFS 4070 if test -z "$ac_cv_path_EGREP"; then 4071 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4072$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4073 { (exit 1); exit 1; }; } 4074 fi 4075else 4076 ac_cv_path_EGREP=$EGREP 4077fi 4078 4079 fi 4080fi 4081{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4082$as_echo "$ac_cv_path_EGREP" >&6; } 4083 EGREP="$ac_cv_path_EGREP" 4084 4085 4086{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4087$as_echo_n "checking for fgrep... " >&6; } 4088if test "${ac_cv_path_FGREP+set}" = set; then 4089 $as_echo_n "(cached) " >&6 4090else 4091 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4092 then ac_cv_path_FGREP="$GREP -F" 4093 else 4094 if test -z "$FGREP"; then 4095 ac_path_FGREP_found=false 4096 # Loop through the user's path and test for each of PROGNAME-LIST 4097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4098for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4099do 4100 IFS=$as_save_IFS 4101 test -z "$as_dir" && as_dir=. 4102 for ac_prog in fgrep; do 4103 for ac_exec_ext in '' $ac_executable_extensions; do 4104 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4105 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4106# Check for GNU ac_path_FGREP and select it if it is found. 4107 # Check for GNU $ac_path_FGREP 4108case `"$ac_path_FGREP" --version 2>&1` in 4109*GNU*) 4110 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4111*) 4112 ac_count=0 4113 $as_echo_n 0123456789 >"conftest.in" 4114 while : 4115 do 4116 cat "conftest.in" "conftest.in" >"conftest.tmp" 4117 mv "conftest.tmp" "conftest.in" 4118 cp "conftest.in" "conftest.nl" 4119 $as_echo 'FGREP' >> "conftest.nl" 4120 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4121 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4122 ac_count=`expr $ac_count + 1` 4123 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4124 # Best one so far, save it but keep looking for a better one 4125 ac_cv_path_FGREP="$ac_path_FGREP" 4126 ac_path_FGREP_max=$ac_count 4127 fi 4128 # 10*(2^10) chars as input seems more than enough 4129 test $ac_count -gt 10 && break 4130 done 4131 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4132esac 4133 4134 $ac_path_FGREP_found && break 3 4135 done 4136 done 4137done 4138IFS=$as_save_IFS 4139 if test -z "$ac_cv_path_FGREP"; then 4140 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4141$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4142 { (exit 1); exit 1; }; } 4143 fi 4144else 4145 ac_cv_path_FGREP=$FGREP 4146fi 4147 4148 fi 4149fi 4150{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4151$as_echo "$ac_cv_path_FGREP" >&6; } 4152 FGREP="$ac_cv_path_FGREP" 4153 4154 4155test -z "$GREP" && GREP=grep 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175# Check whether --with-gnu-ld was given. 4176if test "${with_gnu_ld+set}" = set; then 4177 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4178else 4179 with_gnu_ld=no 4180fi 4181 4182ac_prog=ld 4183if test "$GCC" = yes; then 4184 # Check if gcc -print-prog-name=ld gives a path. 4185 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4186$as_echo_n "checking for ld used by $CC... " >&6; } 4187 case $host in 4188 *-*-mingw*) 4189 # gcc leaves a trailing carriage return which upsets mingw 4190 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4191 *) 4192 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4193 esac 4194 case $ac_prog in 4195 # Accept absolute paths. 4196 [\\/]* | ?:[\\/]*) 4197 re_direlt='/[^/][^/]*/\.\./' 4198 # Canonicalize the pathname of ld 4199 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4200 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4201 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4202 done 4203 test -z "$LD" && LD="$ac_prog" 4204 ;; 4205 "") 4206 # If it fails, then pretend we aren't using GCC. 4207 ac_prog=ld 4208 ;; 4209 *) 4210 # If it is relative, then search for the first ld in PATH. 4211 with_gnu_ld=unknown 4212 ;; 4213 esac 4214elif test "$with_gnu_ld" = yes; then 4215 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4216$as_echo_n "checking for GNU ld... " >&6; } 4217else 4218 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4219$as_echo_n "checking for non-GNU ld... " >&6; } 4220fi 4221if test "${lt_cv_path_LD+set}" = set; then 4222 $as_echo_n "(cached) " >&6 4223else 4224 if test -z "$LD"; then 4225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4226 for ac_dir in $PATH; do 4227 IFS="$lt_save_ifs" 4228 test -z "$ac_dir" && ac_dir=. 4229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4230 lt_cv_path_LD="$ac_dir/$ac_prog" 4231 # Check to see if the program is GNU ld. I'd rather use --version, 4232 # but apparently some variants of GNU ld only accept -v. 4233 # Break only if it was the GNU/non-GNU ld that we prefer. 4234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4235 *GNU* | *'with BFD'*) 4236 test "$with_gnu_ld" != no && break 4237 ;; 4238 *) 4239 test "$with_gnu_ld" != yes && break 4240 ;; 4241 esac 4242 fi 4243 done 4244 IFS="$lt_save_ifs" 4245else 4246 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4247fi 4248fi 4249 4250LD="$lt_cv_path_LD" 4251if test -n "$LD"; then 4252 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4253$as_echo "$LD" >&6; } 4254else 4255 { $as_echo "$as_me:$LINENO: result: no" >&5 4256$as_echo "no" >&6; } 4257fi 4258test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4259$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4260 { (exit 1); exit 1; }; } 4261{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4262$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4263if test "${lt_cv_prog_gnu_ld+set}" = set; then 4264 $as_echo_n "(cached) " >&6 4265else 4266 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4267case `$LD -v 2>&1 </dev/null` in 4268*GNU* | *'with BFD'*) 4269 lt_cv_prog_gnu_ld=yes 4270 ;; 4271*) 4272 lt_cv_prog_gnu_ld=no 4273 ;; 4274esac 4275fi 4276{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4277$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4278with_gnu_ld=$lt_cv_prog_gnu_ld 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4289$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4290if test "${lt_cv_path_NM+set}" = set; then 4291 $as_echo_n "(cached) " >&6 4292else 4293 if test -n "$NM"; then 4294 # Let the user override the test. 4295 lt_cv_path_NM="$NM" 4296else 4297 lt_nm_to_check="${ac_tool_prefix}nm" 4298 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4299 lt_nm_to_check="$lt_nm_to_check nm" 4300 fi 4301 for lt_tmp_nm in $lt_nm_to_check; do 4302 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4303 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4304 IFS="$lt_save_ifs" 4305 test -z "$ac_dir" && ac_dir=. 4306 tmp_nm="$ac_dir/$lt_tmp_nm" 4307 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4308 # Check to see if the nm accepts a BSD-compat flag. 4309 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4310 # nm: unknown option "B" ignored 4311 # Tru64's nm complains that /dev/null is an invalid object file 4312 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4313 */dev/null* | *'Invalid file or object type'*) 4314 lt_cv_path_NM="$tmp_nm -B" 4315 break 4316 ;; 4317 *) 4318 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4319 */dev/null*) 4320 lt_cv_path_NM="$tmp_nm -p" 4321 break 4322 ;; 4323 *) 4324 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4325 continue # so that we can try to find one that supports BSD flags 4326 ;; 4327 esac 4328 ;; 4329 esac 4330 fi 4331 done 4332 IFS="$lt_save_ifs" 4333 done 4334 : ${lt_cv_path_NM=no} 4335fi 4336fi 4337{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4338$as_echo "$lt_cv_path_NM" >&6; } 4339if test "$lt_cv_path_NM" != "no"; then 4340 NM="$lt_cv_path_NM" 4341else 4342 # Didn't find any BSD compatible name lister, look for dumpbin. 4343 if test -n "$ac_tool_prefix"; then 4344 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4345 do 4346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4347set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4348{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4349$as_echo_n "checking for $ac_word... " >&6; } 4350if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4351 $as_echo_n "(cached) " >&6 4352else 4353 if test -n "$DUMPBIN"; then 4354 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4355else 4356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4357for as_dir in $PATH 4358do 4359 IFS=$as_save_IFS 4360 test -z "$as_dir" && as_dir=. 4361 for ac_exec_ext in '' $ac_executable_extensions; do 4362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4363 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4364 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4365 break 2 4366 fi 4367done 4368done 4369IFS=$as_save_IFS 4370 4371fi 4372fi 4373DUMPBIN=$ac_cv_prog_DUMPBIN 4374if test -n "$DUMPBIN"; then 4375 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4376$as_echo "$DUMPBIN" >&6; } 4377else 4378 { $as_echo "$as_me:$LINENO: result: no" >&5 4379$as_echo "no" >&6; } 4380fi 4381 4382 4383 test -n "$DUMPBIN" && break 4384 done 4385fi 4386if test -z "$DUMPBIN"; then 4387 ac_ct_DUMPBIN=$DUMPBIN 4388 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4389do 4390 # Extract the first word of "$ac_prog", so it can be a program name with args. 4391set dummy $ac_prog; ac_word=$2 4392{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4393$as_echo_n "checking for $ac_word... " >&6; } 4394if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4395 $as_echo_n "(cached) " >&6 4396else 4397 if test -n "$ac_ct_DUMPBIN"; then 4398 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4399else 4400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4401for as_dir in $PATH 4402do 4403 IFS=$as_save_IFS 4404 test -z "$as_dir" && as_dir=. 4405 for ac_exec_ext in '' $ac_executable_extensions; do 4406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4407 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4408 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4409 break 2 4410 fi 4411done 4412done 4413IFS=$as_save_IFS 4414 4415fi 4416fi 4417ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4418if test -n "$ac_ct_DUMPBIN"; then 4419 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4420$as_echo "$ac_ct_DUMPBIN" >&6; } 4421else 4422 { $as_echo "$as_me:$LINENO: result: no" >&5 4423$as_echo "no" >&6; } 4424fi 4425 4426 4427 test -n "$ac_ct_DUMPBIN" && break 4428done 4429 4430 if test "x$ac_ct_DUMPBIN" = x; then 4431 DUMPBIN=":" 4432 else 4433 case $cross_compiling:$ac_tool_warned in 4434yes:) 4435{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4436$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4437ac_tool_warned=yes ;; 4438esac 4439 DUMPBIN=$ac_ct_DUMPBIN 4440 fi 4441fi 4442 4443 4444 if test "$DUMPBIN" != ":"; then 4445 NM="$DUMPBIN" 4446 fi 4447fi 4448test -z "$NM" && NM=nm 4449 4450 4451 4452 4453 4454 4455{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4456$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4457if test "${lt_cv_nm_interface+set}" = set; then 4458 $as_echo_n "(cached) " >&6 4459else 4460 lt_cv_nm_interface="BSD nm" 4461 echo "int some_variable = 0;" > conftest.$ac_ext 4462 (eval echo "\"\$as_me:4462: $ac_compile\"" >&5) 4463 (eval "$ac_compile" 2>conftest.err) 4464 cat conftest.err >&5 4465 (eval echo "\"\$as_me:4465: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4466 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4467 cat conftest.err >&5 4468 (eval echo "\"\$as_me:4468: output\"" >&5) 4469 cat conftest.out >&5 4470 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4471 lt_cv_nm_interface="MS dumpbin" 4472 fi 4473 rm -f conftest* 4474fi 4475{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4476$as_echo "$lt_cv_nm_interface" >&6; } 4477 4478{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4479$as_echo_n "checking whether ln -s works... " >&6; } 4480LN_S=$as_ln_s 4481if test "$LN_S" = "ln -s"; then 4482 { $as_echo "$as_me:$LINENO: result: yes" >&5 4483$as_echo "yes" >&6; } 4484else 4485 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4486$as_echo "no, using $LN_S" >&6; } 4487fi 4488 4489# find the maximum length of command line arguments 4490{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4491$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4492if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4493 $as_echo_n "(cached) " >&6 4494else 4495 i=0 4496 teststring="ABCD" 4497 4498 case $build_os in 4499 msdosdjgpp*) 4500 # On DJGPP, this test can blow up pretty badly due to problems in libc 4501 # (any single argument exceeding 2000 bytes causes a buffer overrun 4502 # during glob expansion). Even if it were fixed, the result of this 4503 # check would be larger than it should be. 4504 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4505 ;; 4506 4507 gnu*) 4508 # Under GNU Hurd, this test is not required because there is 4509 # no limit to the length of command line arguments. 4510 # Libtool will interpret -1 as no limit whatsoever 4511 lt_cv_sys_max_cmd_len=-1; 4512 ;; 4513 4514 cygwin* | mingw* | cegcc*) 4515 # On Win9x/ME, this test blows up -- it succeeds, but takes 4516 # about 5 minutes as the teststring grows exponentially. 4517 # Worse, since 9x/ME are not pre-emptively multitasking, 4518 # you end up with a "frozen" computer, even though with patience 4519 # the test eventually succeeds (with a max line length of 256k). 4520 # Instead, let's just punt: use the minimum linelength reported by 4521 # all of the supported platforms: 8192 (on NT/2K/XP). 4522 lt_cv_sys_max_cmd_len=8192; 4523 ;; 4524 4525 amigaos*) 4526 # On AmigaOS with pdksh, this test takes hours, literally. 4527 # So we just punt and use a minimum line length of 8192. 4528 lt_cv_sys_max_cmd_len=8192; 4529 ;; 4530 4531 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4532 # This has been around since 386BSD, at least. Likely further. 4533 if test -x /sbin/sysctl; then 4534 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4535 elif test -x /usr/sbin/sysctl; then 4536 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4537 else 4538 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4539 fi 4540 # And add a safety zone 4541 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4543 ;; 4544 4545 interix*) 4546 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4547 lt_cv_sys_max_cmd_len=196608 4548 ;; 4549 4550 osf*) 4551 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4552 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4553 # nice to cause kernel panics so lets avoid the loop below. 4554 # First set a reasonable default. 4555 lt_cv_sys_max_cmd_len=16384 4556 # 4557 if test -x /sbin/sysconfig; then 4558 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4559 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4560 esac 4561 fi 4562 ;; 4563 sco3.2v5*) 4564 lt_cv_sys_max_cmd_len=102400 4565 ;; 4566 sysv5* | sco5v6* | sysv4.2uw2*) 4567 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4568 if test -n "$kargmax"; then 4569 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4570 else 4571 lt_cv_sys_max_cmd_len=32768 4572 fi 4573 ;; 4574 *) 4575 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4576 if test -n "$lt_cv_sys_max_cmd_len"; then 4577 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4579 else 4580 # Make teststring a little bigger before we do anything with it. 4581 # a 1K string should be a reasonable start. 4582 for i in 1 2 3 4 5 6 7 8 ; do 4583 teststring=$teststring$teststring 4584 done 4585 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4586 # If test is not a shell built-in, we'll probably end up computing a 4587 # maximum length that is only half of the actual maximum length, but 4588 # we can't tell. 4589 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4590 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4591 test $i != 17 # 1/2 MB should be enough 4592 do 4593 i=`expr $i + 1` 4594 teststring=$teststring$teststring 4595 done 4596 # Only check the string length outside the loop. 4597 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4598 teststring= 4599 # Add a significant safety factor because C++ compilers can tack on 4600 # massive amounts of additional arguments before passing them to the 4601 # linker. It appears as though 1/2 is a usable value. 4602 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4603 fi 4604 ;; 4605 esac 4606 4607fi 4608 4609if test -n $lt_cv_sys_max_cmd_len ; then 4610 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 4611$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4612else 4613 { $as_echo "$as_me:$LINENO: result: none" >&5 4614$as_echo "none" >&6; } 4615fi 4616max_cmd_len=$lt_cv_sys_max_cmd_len 4617 4618 4619 4620 4621 4622 4623: ${CP="cp -f"} 4624: ${MV="mv -f"} 4625: ${RM="rm -f"} 4626 4627{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 4628$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4629# Try some XSI features 4630xsi_shell=no 4631( _lt_dummy="a/b/c" 4632 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4633 = c,a/b,, \ 4634 && eval 'test $(( 1 + 1 )) -eq 2 \ 4635 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4636 && xsi_shell=yes 4637{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 4638$as_echo "$xsi_shell" >&6; } 4639 4640 4641{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 4642$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4643lt_shell_append=no 4644( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4645 >/dev/null 2>&1 \ 4646 && lt_shell_append=yes 4647{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 4648$as_echo "$lt_shell_append" >&6; } 4649 4650 4651if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4652 lt_unset=unset 4653else 4654 lt_unset=false 4655fi 4656 4657 4658 4659 4660 4661# test EBCDIC or ASCII 4662case `echo X|tr X '\101'` in 4663 A) # ASCII based system 4664 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4665 lt_SP2NL='tr \040 \012' 4666 lt_NL2SP='tr \015\012 \040\040' 4667 ;; 4668 *) # EBCDIC based system 4669 lt_SP2NL='tr \100 \n' 4670 lt_NL2SP='tr \r\n \100\100' 4671 ;; 4672esac 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 4683$as_echo_n "checking for $LD option to reload object files... " >&6; } 4684if test "${lt_cv_ld_reload_flag+set}" = set; then 4685 $as_echo_n "(cached) " >&6 4686else 4687 lt_cv_ld_reload_flag='-r' 4688fi 4689{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 4690$as_echo "$lt_cv_ld_reload_flag" >&6; } 4691reload_flag=$lt_cv_ld_reload_flag 4692case $reload_flag in 4693"" | " "*) ;; 4694*) reload_flag=" $reload_flag" ;; 4695esac 4696reload_cmds='$LD$reload_flag -o $output$reload_objs' 4697case $host_os in 4698 darwin*) 4699 if test "$GCC" = yes; then 4700 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4701 else 4702 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4703 fi 4704 ;; 4705esac 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715if test -n "$ac_tool_prefix"; then 4716 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4717set dummy ${ac_tool_prefix}objdump; ac_word=$2 4718{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4719$as_echo_n "checking for $ac_word... " >&6; } 4720if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4721 $as_echo_n "(cached) " >&6 4722else 4723 if test -n "$OBJDUMP"; then 4724 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4725else 4726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4727for as_dir in $PATH 4728do 4729 IFS=$as_save_IFS 4730 test -z "$as_dir" && as_dir=. 4731 for ac_exec_ext in '' $ac_executable_extensions; do 4732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4733 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4734 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4735 break 2 4736 fi 4737done 4738done 4739IFS=$as_save_IFS 4740 4741fi 4742fi 4743OBJDUMP=$ac_cv_prog_OBJDUMP 4744if test -n "$OBJDUMP"; then 4745 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4746$as_echo "$OBJDUMP" >&6; } 4747else 4748 { $as_echo "$as_me:$LINENO: result: no" >&5 4749$as_echo "no" >&6; } 4750fi 4751 4752 4753fi 4754if test -z "$ac_cv_prog_OBJDUMP"; then 4755 ac_ct_OBJDUMP=$OBJDUMP 4756 # Extract the first word of "objdump", so it can be a program name with args. 4757set dummy objdump; ac_word=$2 4758{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4759$as_echo_n "checking for $ac_word... " >&6; } 4760if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4761 $as_echo_n "(cached) " >&6 4762else 4763 if test -n "$ac_ct_OBJDUMP"; then 4764 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4765else 4766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4767for as_dir in $PATH 4768do 4769 IFS=$as_save_IFS 4770 test -z "$as_dir" && as_dir=. 4771 for ac_exec_ext in '' $ac_executable_extensions; do 4772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4773 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4774 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4775 break 2 4776 fi 4777done 4778done 4779IFS=$as_save_IFS 4780 4781fi 4782fi 4783ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4784if test -n "$ac_ct_OBJDUMP"; then 4785 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4786$as_echo "$ac_ct_OBJDUMP" >&6; } 4787else 4788 { $as_echo "$as_me:$LINENO: result: no" >&5 4789$as_echo "no" >&6; } 4790fi 4791 4792 if test "x$ac_ct_OBJDUMP" = x; then 4793 OBJDUMP="false" 4794 else 4795 case $cross_compiling:$ac_tool_warned in 4796yes:) 4797{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4799ac_tool_warned=yes ;; 4800esac 4801 OBJDUMP=$ac_ct_OBJDUMP 4802 fi 4803else 4804 OBJDUMP="$ac_cv_prog_OBJDUMP" 4805fi 4806 4807test -z "$OBJDUMP" && OBJDUMP=objdump 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 4818$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4819if test "${lt_cv_deplibs_check_method+set}" = set; then 4820 $as_echo_n "(cached) " >&6 4821else 4822 lt_cv_file_magic_cmd='$MAGIC_CMD' 4823lt_cv_file_magic_test_file= 4824lt_cv_deplibs_check_method='unknown' 4825# Need to set the preceding variable on all platforms that support 4826# interlibrary dependencies. 4827# 'none' -- dependencies not supported. 4828# `unknown' -- same as none, but documents that we really don't know. 4829# 'pass_all' -- all dependencies passed with no checks. 4830# 'test_compile' -- check by making test program. 4831# 'file_magic [[regex]]' -- check by looking for files in library path 4832# which responds to the $file_magic_cmd with a given extended regex. 4833# If you have `file' or equivalent on your system and you're not sure 4834# whether `pass_all' will *always* work, you probably want this one. 4835 4836case $host_os in 4837aix[4-9]*) 4838 lt_cv_deplibs_check_method=pass_all 4839 ;; 4840 4841beos*) 4842 lt_cv_deplibs_check_method=pass_all 4843 ;; 4844 4845bsdi[45]*) 4846 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4847 lt_cv_file_magic_cmd='/usr/bin/file -L' 4848 lt_cv_file_magic_test_file=/shlib/libc.so 4849 ;; 4850 4851cygwin*) 4852 # func_win32_libid is a shell function defined in ltmain.sh 4853 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4854 lt_cv_file_magic_cmd='func_win32_libid' 4855 ;; 4856 4857mingw* | pw32*) 4858 # Base MSYS/MinGW do not provide the 'file' command needed by 4859 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4860 # unless we find 'file', for example because we are cross-compiling. 4861 if ( file / ) >/dev/null 2>&1; then 4862 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4863 lt_cv_file_magic_cmd='func_win32_libid' 4864 else 4865 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4866 lt_cv_file_magic_cmd='$OBJDUMP -f' 4867 fi 4868 ;; 4869 4870cegcc) 4871 # use the weaker test based on 'objdump'. See mingw*. 4872 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4873 lt_cv_file_magic_cmd='$OBJDUMP -f' 4874 ;; 4875 4876darwin* | rhapsody*) 4877 lt_cv_deplibs_check_method=pass_all 4878 ;; 4879 4880freebsd* | dragonfly*) 4881 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4882 case $host_cpu in 4883 i*86 ) 4884 # Not sure whether the presence of OpenBSD here was a mistake. 4885 # Let's accept both of them until this is cleared up. 4886 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4887 lt_cv_file_magic_cmd=/usr/bin/file 4888 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4889 ;; 4890 esac 4891 else 4892 lt_cv_deplibs_check_method=pass_all 4893 fi 4894 ;; 4895 4896gnu*) 4897 lt_cv_deplibs_check_method=pass_all 4898 ;; 4899 4900hpux10.20* | hpux11*) 4901 lt_cv_file_magic_cmd=/usr/bin/file 4902 case $host_cpu in 4903 ia64*) 4904 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 4905 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 4906 ;; 4907 hppa*64*) 4908 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]' 4909 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 4910 ;; 4911 *) 4912 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 4913 lt_cv_file_magic_test_file=/usr/lib/libc.sl 4914 ;; 4915 esac 4916 ;; 4917 4918interix[3-9]*) 4919 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 4920 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 4921 ;; 4922 4923irix5* | irix6* | nonstopux*) 4924 case $LD in 4925 *-32|*"-32 ") libmagic=32-bit;; 4926 *-n32|*"-n32 ") libmagic=N32;; 4927 *-64|*"-64 ") libmagic=64-bit;; 4928 *) libmagic=never-match;; 4929 esac 4930 lt_cv_deplibs_check_method=pass_all 4931 ;; 4932 4933# This must be Linux ELF. 4934linux* | k*bsd*-gnu) 4935 lt_cv_deplibs_check_method=pass_all 4936 ;; 4937 4938netbsd*) 4939 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4940 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4941 else 4942 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 4943 fi 4944 ;; 4945 4946newos6*) 4947 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 4948 lt_cv_file_magic_cmd=/usr/bin/file 4949 lt_cv_file_magic_test_file=/usr/lib/libnls.so 4950 ;; 4951 4952*nto* | *qnx*) 4953 lt_cv_deplibs_check_method=pass_all 4954 ;; 4955 4956openbsd*) 4957 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 4958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 4959 else 4960 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 4961 fi 4962 ;; 4963 4964osf3* | osf4* | osf5*) 4965 lt_cv_deplibs_check_method=pass_all 4966 ;; 4967 4968rdos*) 4969 lt_cv_deplibs_check_method=pass_all 4970 ;; 4971 4972solaris*) 4973 lt_cv_deplibs_check_method=pass_all 4974 ;; 4975 4976sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 4977 lt_cv_deplibs_check_method=pass_all 4978 ;; 4979 4980sysv4 | sysv4.3*) 4981 case $host_vendor in 4982 motorola) 4983 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]' 4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 4985 ;; 4986 ncr) 4987 lt_cv_deplibs_check_method=pass_all 4988 ;; 4989 sequent) 4990 lt_cv_file_magic_cmd='/bin/file' 4991 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 4992 ;; 4993 sni) 4994 lt_cv_file_magic_cmd='/bin/file' 4995 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 4996 lt_cv_file_magic_test_file=/lib/libc.so 4997 ;; 4998 siemens) 4999 lt_cv_deplibs_check_method=pass_all 5000 ;; 5001 pc) 5002 lt_cv_deplibs_check_method=pass_all 5003 ;; 5004 esac 5005 ;; 5006 5007tpf*) 5008 lt_cv_deplibs_check_method=pass_all 5009 ;; 5010esac 5011 5012fi 5013{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5014$as_echo "$lt_cv_deplibs_check_method" >&6; } 5015file_magic_cmd=$lt_cv_file_magic_cmd 5016deplibs_check_method=$lt_cv_deplibs_check_method 5017test -z "$deplibs_check_method" && deplibs_check_method=unknown 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030if test -n "$ac_tool_prefix"; then 5031 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5032set dummy ${ac_tool_prefix}ar; ac_word=$2 5033{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5034$as_echo_n "checking for $ac_word... " >&6; } 5035if test "${ac_cv_prog_AR+set}" = set; then 5036 $as_echo_n "(cached) " >&6 5037else 5038 if test -n "$AR"; then 5039 ac_cv_prog_AR="$AR" # Let the user override the test. 5040else 5041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5042for as_dir in $PATH 5043do 5044 IFS=$as_save_IFS 5045 test -z "$as_dir" && as_dir=. 5046 for ac_exec_ext in '' $ac_executable_extensions; do 5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5048 ac_cv_prog_AR="${ac_tool_prefix}ar" 5049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5050 break 2 5051 fi 5052done 5053done 5054IFS=$as_save_IFS 5055 5056fi 5057fi 5058AR=$ac_cv_prog_AR 5059if test -n "$AR"; then 5060 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5061$as_echo "$AR" >&6; } 5062else 5063 { $as_echo "$as_me:$LINENO: result: no" >&5 5064$as_echo "no" >&6; } 5065fi 5066 5067 5068fi 5069if test -z "$ac_cv_prog_AR"; then 5070 ac_ct_AR=$AR 5071 # Extract the first word of "ar", so it can be a program name with args. 5072set dummy ar; ac_word=$2 5073{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5074$as_echo_n "checking for $ac_word... " >&6; } 5075if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5076 $as_echo_n "(cached) " >&6 5077else 5078 if test -n "$ac_ct_AR"; then 5079 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5080else 5081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5082for as_dir in $PATH 5083do 5084 IFS=$as_save_IFS 5085 test -z "$as_dir" && as_dir=. 5086 for ac_exec_ext in '' $ac_executable_extensions; do 5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5088 ac_cv_prog_ac_ct_AR="ar" 5089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5090 break 2 5091 fi 5092done 5093done 5094IFS=$as_save_IFS 5095 5096fi 5097fi 5098ac_ct_AR=$ac_cv_prog_ac_ct_AR 5099if test -n "$ac_ct_AR"; then 5100 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5101$as_echo "$ac_ct_AR" >&6; } 5102else 5103 { $as_echo "$as_me:$LINENO: result: no" >&5 5104$as_echo "no" >&6; } 5105fi 5106 5107 if test "x$ac_ct_AR" = x; then 5108 AR="false" 5109 else 5110 case $cross_compiling:$ac_tool_warned in 5111yes:) 5112{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5114ac_tool_warned=yes ;; 5115esac 5116 AR=$ac_ct_AR 5117 fi 5118else 5119 AR="$ac_cv_prog_AR" 5120fi 5121 5122test -z "$AR" && AR=ar 5123test -z "$AR_FLAGS" && AR_FLAGS=cru 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135if test -n "$ac_tool_prefix"; then 5136 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5137set dummy ${ac_tool_prefix}strip; ac_word=$2 5138{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5139$as_echo_n "checking for $ac_word... " >&6; } 5140if test "${ac_cv_prog_STRIP+set}" = set; then 5141 $as_echo_n "(cached) " >&6 5142else 5143 if test -n "$STRIP"; then 5144 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5145else 5146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5147for as_dir in $PATH 5148do 5149 IFS=$as_save_IFS 5150 test -z "$as_dir" && as_dir=. 5151 for ac_exec_ext in '' $ac_executable_extensions; do 5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5153 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5155 break 2 5156 fi 5157done 5158done 5159IFS=$as_save_IFS 5160 5161fi 5162fi 5163STRIP=$ac_cv_prog_STRIP 5164if test -n "$STRIP"; then 5165 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5166$as_echo "$STRIP" >&6; } 5167else 5168 { $as_echo "$as_me:$LINENO: result: no" >&5 5169$as_echo "no" >&6; } 5170fi 5171 5172 5173fi 5174if test -z "$ac_cv_prog_STRIP"; then 5175 ac_ct_STRIP=$STRIP 5176 # Extract the first word of "strip", so it can be a program name with args. 5177set dummy strip; ac_word=$2 5178{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5179$as_echo_n "checking for $ac_word... " >&6; } 5180if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 5181 $as_echo_n "(cached) " >&6 5182else 5183 if test -n "$ac_ct_STRIP"; then 5184 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5185else 5186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5187for as_dir in $PATH 5188do 5189 IFS=$as_save_IFS 5190 test -z "$as_dir" && as_dir=. 5191 for ac_exec_ext in '' $ac_executable_extensions; do 5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5193 ac_cv_prog_ac_ct_STRIP="strip" 5194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5195 break 2 5196 fi 5197done 5198done 5199IFS=$as_save_IFS 5200 5201fi 5202fi 5203ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5204if test -n "$ac_ct_STRIP"; then 5205 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 5206$as_echo "$ac_ct_STRIP" >&6; } 5207else 5208 { $as_echo "$as_me:$LINENO: result: no" >&5 5209$as_echo "no" >&6; } 5210fi 5211 5212 if test "x$ac_ct_STRIP" = x; then 5213 STRIP=":" 5214 else 5215 case $cross_compiling:$ac_tool_warned in 5216yes:) 5217{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5218$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5219ac_tool_warned=yes ;; 5220esac 5221 STRIP=$ac_ct_STRIP 5222 fi 5223else 5224 STRIP="$ac_cv_prog_STRIP" 5225fi 5226 5227test -z "$STRIP" && STRIP=: 5228 5229 5230 5231 5232 5233 5234if test -n "$ac_tool_prefix"; then 5235 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5236set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5237{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5238$as_echo_n "checking for $ac_word... " >&6; } 5239if test "${ac_cv_prog_RANLIB+set}" = set; then 5240 $as_echo_n "(cached) " >&6 5241else 5242 if test -n "$RANLIB"; then 5243 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5244else 5245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5246for as_dir in $PATH 5247do 5248 IFS=$as_save_IFS 5249 test -z "$as_dir" && as_dir=. 5250 for ac_exec_ext in '' $ac_executable_extensions; do 5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5252 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5253 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5254 break 2 5255 fi 5256done 5257done 5258IFS=$as_save_IFS 5259 5260fi 5261fi 5262RANLIB=$ac_cv_prog_RANLIB 5263if test -n "$RANLIB"; then 5264 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 5265$as_echo "$RANLIB" >&6; } 5266else 5267 { $as_echo "$as_me:$LINENO: result: no" >&5 5268$as_echo "no" >&6; } 5269fi 5270 5271 5272fi 5273if test -z "$ac_cv_prog_RANLIB"; then 5274 ac_ct_RANLIB=$RANLIB 5275 # Extract the first word of "ranlib", so it can be a program name with args. 5276set dummy ranlib; ac_word=$2 5277{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5278$as_echo_n "checking for $ac_word... " >&6; } 5279if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 5280 $as_echo_n "(cached) " >&6 5281else 5282 if test -n "$ac_ct_RANLIB"; then 5283 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5284else 5285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5286for as_dir in $PATH 5287do 5288 IFS=$as_save_IFS 5289 test -z "$as_dir" && as_dir=. 5290 for ac_exec_ext in '' $ac_executable_extensions; do 5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5292 ac_cv_prog_ac_ct_RANLIB="ranlib" 5293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5294 break 2 5295 fi 5296done 5297done 5298IFS=$as_save_IFS 5299 5300fi 5301fi 5302ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5303if test -n "$ac_ct_RANLIB"; then 5304 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 5305$as_echo "$ac_ct_RANLIB" >&6; } 5306else 5307 { $as_echo "$as_me:$LINENO: result: no" >&5 5308$as_echo "no" >&6; } 5309fi 5310 5311 if test "x$ac_ct_RANLIB" = x; then 5312 RANLIB=":" 5313 else 5314 case $cross_compiling:$ac_tool_warned in 5315yes:) 5316{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5317$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5318ac_tool_warned=yes ;; 5319esac 5320 RANLIB=$ac_ct_RANLIB 5321 fi 5322else 5323 RANLIB="$ac_cv_prog_RANLIB" 5324fi 5325 5326test -z "$RANLIB" && RANLIB=: 5327 5328 5329 5330 5331 5332 5333# Determine commands to create old-style static archives. 5334old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5335old_postinstall_cmds='chmod 644 $oldlib' 5336old_postuninstall_cmds= 5337 5338if test -n "$RANLIB"; then 5339 case $host_os in 5340 openbsd*) 5341 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5342 ;; 5343 *) 5344 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5345 ;; 5346 esac 5347 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5348fi 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383# If no C compiler was specified, use CC. 5384LTCC=${LTCC-"$CC"} 5385 5386# If no C compiler flags were specified, use CFLAGS. 5387LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5388 5389# Allow CC to be a program name with arguments. 5390compiler=$CC 5391 5392 5393# Check for command to grab the raw symbol name followed by C symbol from nm. 5394{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 5395$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5396if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 5397 $as_echo_n "(cached) " >&6 5398else 5399 5400# These are sane defaults that work on at least a few old systems. 5401# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5402 5403# Character class describing NM global symbol codes. 5404symcode='[BCDEGRST]' 5405 5406# Regexp to match symbols that can be accessed directly from C. 5407sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5408 5409# Define system-specific variables. 5410case $host_os in 5411aix*) 5412 symcode='[BCDT]' 5413 ;; 5414cygwin* | mingw* | pw32* | cegcc*) 5415 symcode='[ABCDGISTW]' 5416 ;; 5417hpux*) 5418 if test "$host_cpu" = ia64; then 5419 symcode='[ABCDEGRST]' 5420 fi 5421 ;; 5422irix* | nonstopux*) 5423 symcode='[BCDEGRST]' 5424 ;; 5425osf*) 5426 symcode='[BCDEGQRST]' 5427 ;; 5428solaris*) 5429 symcode='[BDRT]' 5430 ;; 5431sco3.2v5*) 5432 symcode='[DT]' 5433 ;; 5434sysv4.2uw2*) 5435 symcode='[DT]' 5436 ;; 5437sysv5* | sco5v6* | unixware* | OpenUNIX*) 5438 symcode='[ABDT]' 5439 ;; 5440sysv4) 5441 symcode='[DFNSTU]' 5442 ;; 5443esac 5444 5445# If we're using GNU nm, then use its standard symbol codes. 5446case `$NM -V 2>&1` in 5447*GNU* | *'with BFD'*) 5448 symcode='[ABCDGIRSTW]' ;; 5449esac 5450 5451# Transform an extracted symbol line into a proper C declaration. 5452# Some systems (esp. on ia64) link data and code symbols differently, 5453# so use this general approach. 5454lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5455 5456# Transform an extracted symbol line into symbol name and symbol address 5457lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5458lt_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'" 5459 5460# Handle CRLF in mingw tool chain 5461opt_cr= 5462case $build_os in 5463mingw*) 5464 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5465 ;; 5466esac 5467 5468# Try without a prefix underscore, then with it. 5469for ac_symprfx in "" "_"; do 5470 5471 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5472 symxfrm="\\1 $ac_symprfx\\2 \\2" 5473 5474 # Write the raw and C identifiers. 5475 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5476 # Fake it for dumpbin and say T for any non-static function 5477 # and D for any global variable. 5478 # Also find C++ and __fastcall symbols from MSVC++, 5479 # which start with @ or ?. 5480 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5481" {last_section=section; section=\$ 3};"\ 5482" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5483" \$ 0!~/External *\|/{next};"\ 5484" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5485" {if(hide[section]) next};"\ 5486" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5487" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5488" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5489" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5490" ' prfx=^$ac_symprfx" 5491 else 5492 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5493 fi 5494 5495 # Check to see that the pipe works correctly. 5496 pipe_works=no 5497 5498 rm -f conftest* 5499 cat > conftest.$ac_ext <<_LT_EOF 5500#ifdef __cplusplus 5501extern "C" { 5502#endif 5503char nm_test_var; 5504void nm_test_func(void); 5505void nm_test_func(void){} 5506#ifdef __cplusplus 5507} 5508#endif 5509int main(){nm_test_var='a';nm_test_func();return(0);} 5510_LT_EOF 5511 5512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5513 (eval $ac_compile) 2>&5 5514 ac_status=$? 5515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5516 (exit $ac_status); }; then 5517 # Now try to grab the symbols. 5518 nlist=conftest.nm 5519 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 5520 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5521 ac_status=$? 5522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5523 (exit $ac_status); } && test -s "$nlist"; then 5524 # Try sorting and uniquifying the output. 5525 if sort "$nlist" | uniq > "$nlist"T; then 5526 mv -f "$nlist"T "$nlist" 5527 else 5528 rm -f "$nlist"T 5529 fi 5530 5531 # Make sure that we snagged all the symbols we need. 5532 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5533 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5534 cat <<_LT_EOF > conftest.$ac_ext 5535#ifdef __cplusplus 5536extern "C" { 5537#endif 5538 5539_LT_EOF 5540 # Now generate the symbol file. 5541 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5542 5543 cat <<_LT_EOF >> conftest.$ac_ext 5544 5545/* The mapping between symbol names and symbols. */ 5546const struct { 5547 const char *name; 5548 void *address; 5549} 5550lt__PROGRAM__LTX_preloaded_symbols[] = 5551{ 5552 { "@PROGRAM@", (void *) 0 }, 5553_LT_EOF 5554 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5555 cat <<\_LT_EOF >> conftest.$ac_ext 5556 {0, (void *) 0} 5557}; 5558 5559/* This works around a problem in FreeBSD linker */ 5560#ifdef FREEBSD_WORKAROUND 5561static const void *lt_preloaded_setup() { 5562 return lt__PROGRAM__LTX_preloaded_symbols; 5563} 5564#endif 5565 5566#ifdef __cplusplus 5567} 5568#endif 5569_LT_EOF 5570 # Now try linking the two files. 5571 mv conftest.$ac_objext conftstm.$ac_objext 5572 lt_save_LIBS="$LIBS" 5573 lt_save_CFLAGS="$CFLAGS" 5574 LIBS="conftstm.$ac_objext" 5575 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5577 (eval $ac_link) 2>&5 5578 ac_status=$? 5579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5580 (exit $ac_status); } && test -s conftest${ac_exeext}; then 5581 pipe_works=yes 5582 fi 5583 LIBS="$lt_save_LIBS" 5584 CFLAGS="$lt_save_CFLAGS" 5585 else 5586 echo "cannot find nm_test_func in $nlist" >&5 5587 fi 5588 else 5589 echo "cannot find nm_test_var in $nlist" >&5 5590 fi 5591 else 5592 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5593 fi 5594 else 5595 echo "$progname: failed program was:" >&5 5596 cat conftest.$ac_ext >&5 5597 fi 5598 rm -rf conftest* conftst* 5599 5600 # Do not use the global_symbol_pipe unless it works. 5601 if test "$pipe_works" = yes; then 5602 break 5603 else 5604 lt_cv_sys_global_symbol_pipe= 5605 fi 5606done 5607 5608fi 5609 5610if test -z "$lt_cv_sys_global_symbol_pipe"; then 5611 lt_cv_sys_global_symbol_to_cdecl= 5612fi 5613if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5614 { $as_echo "$as_me:$LINENO: result: failed" >&5 5615$as_echo "failed" >&6; } 5616else 5617 { $as_echo "$as_me:$LINENO: result: ok" >&5 5618$as_echo "ok" >&6; } 5619fi 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643# Check whether --enable-libtool-lock was given. 5644if test "${enable_libtool_lock+set}" = set; then 5645 enableval=$enable_libtool_lock; 5646fi 5647 5648test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5649 5650# Some flags need to be propagated to the compiler or linker for good 5651# libtool support. 5652case $host in 5653ia64-*-hpux*) 5654 # Find out which ABI we are using. 5655 echo 'int i;' > conftest.$ac_ext 5656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5657 (eval $ac_compile) 2>&5 5658 ac_status=$? 5659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 (exit $ac_status); }; then 5661 case `/usr/bin/file conftest.$ac_objext` in 5662 *ELF-32*) 5663 HPUX_IA64_MODE="32" 5664 ;; 5665 *ELF-64*) 5666 HPUX_IA64_MODE="64" 5667 ;; 5668 esac 5669 fi 5670 rm -rf conftest* 5671 ;; 5672*-*-irix6*) 5673 # Find out which ABI we are using. 5674 echo '#line 5674 "configure"' > conftest.$ac_ext 5675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5676 (eval $ac_compile) 2>&5 5677 ac_status=$? 5678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5679 (exit $ac_status); }; then 5680 if test "$lt_cv_prog_gnu_ld" = yes; then 5681 case `/usr/bin/file conftest.$ac_objext` in 5682 *32-bit*) 5683 LD="${LD-ld} -melf32bsmip" 5684 ;; 5685 *N32*) 5686 LD="${LD-ld} -melf32bmipn32" 5687 ;; 5688 *64-bit*) 5689 LD="${LD-ld} -melf64bmip" 5690 ;; 5691 esac 5692 else 5693 case `/usr/bin/file conftest.$ac_objext` in 5694 *32-bit*) 5695 LD="${LD-ld} -32" 5696 ;; 5697 *N32*) 5698 LD="${LD-ld} -n32" 5699 ;; 5700 *64-bit*) 5701 LD="${LD-ld} -64" 5702 ;; 5703 esac 5704 fi 5705 fi 5706 rm -rf conftest* 5707 ;; 5708 5709x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5710s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5711 # Find out which ABI we are using. 5712 echo 'int i;' > conftest.$ac_ext 5713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5714 (eval $ac_compile) 2>&5 5715 ac_status=$? 5716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5717 (exit $ac_status); }; then 5718 case `/usr/bin/file conftest.o` in 5719 *32-bit*) 5720 case $host in 5721 x86_64-*kfreebsd*-gnu) 5722 LD="${LD-ld} -m elf_i386_fbsd" 5723 ;; 5724 x86_64-*linux*) 5725 LD="${LD-ld} -m elf_i386" 5726 ;; 5727 ppc64-*linux*|powerpc64-*linux*) 5728 LD="${LD-ld} -m elf32ppclinux" 5729 ;; 5730 s390x-*linux*) 5731 LD="${LD-ld} -m elf_s390" 5732 ;; 5733 sparc64-*linux*) 5734 LD="${LD-ld} -m elf32_sparc" 5735 ;; 5736 esac 5737 ;; 5738 *64-bit*) 5739 case $host in 5740 x86_64-*kfreebsd*-gnu) 5741 LD="${LD-ld} -m elf_x86_64_fbsd" 5742 ;; 5743 x86_64-*linux*) 5744 LD="${LD-ld} -m elf_x86_64" 5745 ;; 5746 ppc*-*linux*|powerpc*-*linux*) 5747 LD="${LD-ld} -m elf64ppc" 5748 ;; 5749 s390*-*linux*|s390*-*tpf*) 5750 LD="${LD-ld} -m elf64_s390" 5751 ;; 5752 sparc*-*linux*) 5753 LD="${LD-ld} -m elf64_sparc" 5754 ;; 5755 esac 5756 ;; 5757 esac 5758 fi 5759 rm -rf conftest* 5760 ;; 5761 5762*-*-sco3.2v5*) 5763 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5764 SAVE_CFLAGS="$CFLAGS" 5765 CFLAGS="$CFLAGS -belf" 5766 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 5767$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5768if test "${lt_cv_cc_needs_belf+set}" = set; then 5769 $as_echo_n "(cached) " >&6 5770else 5771 ac_ext=c 5772ac_cpp='$CPP $CPPFLAGS' 5773ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5774ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5775ac_compiler_gnu=$ac_cv_c_compiler_gnu 5776 5777 cat >conftest.$ac_ext <<_ACEOF 5778/* confdefs.h. */ 5779_ACEOF 5780cat confdefs.h >>conftest.$ac_ext 5781cat >>conftest.$ac_ext <<_ACEOF 5782/* end confdefs.h. */ 5783 5784int 5785main () 5786{ 5787 5788 ; 5789 return 0; 5790} 5791_ACEOF 5792rm -f conftest.$ac_objext conftest$ac_exeext 5793if { (ac_try="$ac_link" 5794case "(($ac_try" in 5795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5796 *) ac_try_echo=$ac_try;; 5797esac 5798eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5799$as_echo "$ac_try_echo") >&5 5800 (eval "$ac_link") 2>conftest.er1 5801 ac_status=$? 5802 grep -v '^ *+' conftest.er1 >conftest.err 5803 rm -f conftest.er1 5804 cat conftest.err >&5 5805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5806 (exit $ac_status); } && { 5807 test -z "$ac_c_werror_flag" || 5808 test ! -s conftest.err 5809 } && test -s conftest$ac_exeext && { 5810 test "$cross_compiling" = yes || 5811 $as_test_x conftest$ac_exeext 5812 }; then 5813 lt_cv_cc_needs_belf=yes 5814else 5815 $as_echo "$as_me: failed program was:" >&5 5816sed 's/^/| /' conftest.$ac_ext >&5 5817 5818 lt_cv_cc_needs_belf=no 5819fi 5820 5821rm -rf conftest.dSYM 5822rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5823 conftest$ac_exeext conftest.$ac_ext 5824 ac_ext=c 5825ac_cpp='$CPP $CPPFLAGS' 5826ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5827ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5828ac_compiler_gnu=$ac_cv_c_compiler_gnu 5829 5830fi 5831{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 5832$as_echo "$lt_cv_cc_needs_belf" >&6; } 5833 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5834 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5835 CFLAGS="$SAVE_CFLAGS" 5836 fi 5837 ;; 5838sparc*-*solaris*) 5839 # Find out which ABI we are using. 5840 echo 'int i;' > conftest.$ac_ext 5841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5842 (eval $ac_compile) 2>&5 5843 ac_status=$? 5844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5845 (exit $ac_status); }; then 5846 case `/usr/bin/file conftest.o` in 5847 *64-bit*) 5848 case $lt_cv_prog_gnu_ld in 5849 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5850 *) 5851 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5852 LD="${LD-ld} -64" 5853 fi 5854 ;; 5855 esac 5856 ;; 5857 esac 5858 fi 5859 rm -rf conftest* 5860 ;; 5861esac 5862 5863need_locks="$enable_libtool_lock" 5864 5865 5866 case $host_os in 5867 rhapsody* | darwin*) 5868 if test -n "$ac_tool_prefix"; then 5869 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5870set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5871{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5872$as_echo_n "checking for $ac_word... " >&6; } 5873if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 5874 $as_echo_n "(cached) " >&6 5875else 5876 if test -n "$DSYMUTIL"; then 5877 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5878else 5879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5880for as_dir in $PATH 5881do 5882 IFS=$as_save_IFS 5883 test -z "$as_dir" && as_dir=. 5884 for ac_exec_ext in '' $ac_executable_extensions; do 5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5886 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5887 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5888 break 2 5889 fi 5890done 5891done 5892IFS=$as_save_IFS 5893 5894fi 5895fi 5896DSYMUTIL=$ac_cv_prog_DSYMUTIL 5897if test -n "$DSYMUTIL"; then 5898 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 5899$as_echo "$DSYMUTIL" >&6; } 5900else 5901 { $as_echo "$as_me:$LINENO: result: no" >&5 5902$as_echo "no" >&6; } 5903fi 5904 5905 5906fi 5907if test -z "$ac_cv_prog_DSYMUTIL"; then 5908 ac_ct_DSYMUTIL=$DSYMUTIL 5909 # Extract the first word of "dsymutil", so it can be a program name with args. 5910set dummy dsymutil; ac_word=$2 5911{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5912$as_echo_n "checking for $ac_word... " >&6; } 5913if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 5914 $as_echo_n "(cached) " >&6 5915else 5916 if test -n "$ac_ct_DSYMUTIL"; then 5917 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 5918else 5919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5920for as_dir in $PATH 5921do 5922 IFS=$as_save_IFS 5923 test -z "$as_dir" && as_dir=. 5924 for ac_exec_ext in '' $ac_executable_extensions; do 5925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5926 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 5927 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5928 break 2 5929 fi 5930done 5931done 5932IFS=$as_save_IFS 5933 5934fi 5935fi 5936ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 5937if test -n "$ac_ct_DSYMUTIL"; then 5938 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 5939$as_echo "$ac_ct_DSYMUTIL" >&6; } 5940else 5941 { $as_echo "$as_me:$LINENO: result: no" >&5 5942$as_echo "no" >&6; } 5943fi 5944 5945 if test "x$ac_ct_DSYMUTIL" = x; then 5946 DSYMUTIL=":" 5947 else 5948 case $cross_compiling:$ac_tool_warned in 5949yes:) 5950{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5952ac_tool_warned=yes ;; 5953esac 5954 DSYMUTIL=$ac_ct_DSYMUTIL 5955 fi 5956else 5957 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 5958fi 5959 5960 if test -n "$ac_tool_prefix"; then 5961 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 5962set dummy ${ac_tool_prefix}nmedit; ac_word=$2 5963{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5964$as_echo_n "checking for $ac_word... " >&6; } 5965if test "${ac_cv_prog_NMEDIT+set}" = set; then 5966 $as_echo_n "(cached) " >&6 5967else 5968 if test -n "$NMEDIT"; then 5969 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 5970else 5971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5972for as_dir in $PATH 5973do 5974 IFS=$as_save_IFS 5975 test -z "$as_dir" && as_dir=. 5976 for ac_exec_ext in '' $ac_executable_extensions; do 5977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5978 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 5979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5980 break 2 5981 fi 5982done 5983done 5984IFS=$as_save_IFS 5985 5986fi 5987fi 5988NMEDIT=$ac_cv_prog_NMEDIT 5989if test -n "$NMEDIT"; then 5990 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 5991$as_echo "$NMEDIT" >&6; } 5992else 5993 { $as_echo "$as_me:$LINENO: result: no" >&5 5994$as_echo "no" >&6; } 5995fi 5996 5997 5998fi 5999if test -z "$ac_cv_prog_NMEDIT"; then 6000 ac_ct_NMEDIT=$NMEDIT 6001 # Extract the first word of "nmedit", so it can be a program name with args. 6002set dummy nmedit; ac_word=$2 6003{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6004$as_echo_n "checking for $ac_word... " >&6; } 6005if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 6006 $as_echo_n "(cached) " >&6 6007else 6008 if test -n "$ac_ct_NMEDIT"; then 6009 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6010else 6011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6012for as_dir in $PATH 6013do 6014 IFS=$as_save_IFS 6015 test -z "$as_dir" && as_dir=. 6016 for ac_exec_ext in '' $ac_executable_extensions; do 6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6018 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6020 break 2 6021 fi 6022done 6023done 6024IFS=$as_save_IFS 6025 6026fi 6027fi 6028ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6029if test -n "$ac_ct_NMEDIT"; then 6030 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 6031$as_echo "$ac_ct_NMEDIT" >&6; } 6032else 6033 { $as_echo "$as_me:$LINENO: result: no" >&5 6034$as_echo "no" >&6; } 6035fi 6036 6037 if test "x$ac_ct_NMEDIT" = x; then 6038 NMEDIT=":" 6039 else 6040 case $cross_compiling:$ac_tool_warned in 6041yes:) 6042{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6044ac_tool_warned=yes ;; 6045esac 6046 NMEDIT=$ac_ct_NMEDIT 6047 fi 6048else 6049 NMEDIT="$ac_cv_prog_NMEDIT" 6050fi 6051 6052 if test -n "$ac_tool_prefix"; then 6053 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6054set dummy ${ac_tool_prefix}lipo; ac_word=$2 6055{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6056$as_echo_n "checking for $ac_word... " >&6; } 6057if test "${ac_cv_prog_LIPO+set}" = set; then 6058 $as_echo_n "(cached) " >&6 6059else 6060 if test -n "$LIPO"; then 6061 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6062else 6063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6064for as_dir in $PATH 6065do 6066 IFS=$as_save_IFS 6067 test -z "$as_dir" && as_dir=. 6068 for ac_exec_ext in '' $ac_executable_extensions; do 6069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6070 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6071 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6072 break 2 6073 fi 6074done 6075done 6076IFS=$as_save_IFS 6077 6078fi 6079fi 6080LIPO=$ac_cv_prog_LIPO 6081if test -n "$LIPO"; then 6082 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 6083$as_echo "$LIPO" >&6; } 6084else 6085 { $as_echo "$as_me:$LINENO: result: no" >&5 6086$as_echo "no" >&6; } 6087fi 6088 6089 6090fi 6091if test -z "$ac_cv_prog_LIPO"; then 6092 ac_ct_LIPO=$LIPO 6093 # Extract the first word of "lipo", so it can be a program name with args. 6094set dummy lipo; ac_word=$2 6095{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6096$as_echo_n "checking for $ac_word... " >&6; } 6097if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 6098 $as_echo_n "(cached) " >&6 6099else 6100 if test -n "$ac_ct_LIPO"; then 6101 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6102else 6103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6104for as_dir in $PATH 6105do 6106 IFS=$as_save_IFS 6107 test -z "$as_dir" && as_dir=. 6108 for ac_exec_ext in '' $ac_executable_extensions; do 6109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6110 ac_cv_prog_ac_ct_LIPO="lipo" 6111 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6112 break 2 6113 fi 6114done 6115done 6116IFS=$as_save_IFS 6117 6118fi 6119fi 6120ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6121if test -n "$ac_ct_LIPO"; then 6122 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 6123$as_echo "$ac_ct_LIPO" >&6; } 6124else 6125 { $as_echo "$as_me:$LINENO: result: no" >&5 6126$as_echo "no" >&6; } 6127fi 6128 6129 if test "x$ac_ct_LIPO" = x; then 6130 LIPO=":" 6131 else 6132 case $cross_compiling:$ac_tool_warned in 6133yes:) 6134{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6136ac_tool_warned=yes ;; 6137esac 6138 LIPO=$ac_ct_LIPO 6139 fi 6140else 6141 LIPO="$ac_cv_prog_LIPO" 6142fi 6143 6144 if test -n "$ac_tool_prefix"; then 6145 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6146set dummy ${ac_tool_prefix}otool; ac_word=$2 6147{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6148$as_echo_n "checking for $ac_word... " >&6; } 6149if test "${ac_cv_prog_OTOOL+set}" = set; then 6150 $as_echo_n "(cached) " >&6 6151else 6152 if test -n "$OTOOL"; then 6153 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6154else 6155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6156for as_dir in $PATH 6157do 6158 IFS=$as_save_IFS 6159 test -z "$as_dir" && as_dir=. 6160 for ac_exec_ext in '' $ac_executable_extensions; do 6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6162 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6164 break 2 6165 fi 6166done 6167done 6168IFS=$as_save_IFS 6169 6170fi 6171fi 6172OTOOL=$ac_cv_prog_OTOOL 6173if test -n "$OTOOL"; then 6174 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 6175$as_echo "$OTOOL" >&6; } 6176else 6177 { $as_echo "$as_me:$LINENO: result: no" >&5 6178$as_echo "no" >&6; } 6179fi 6180 6181 6182fi 6183if test -z "$ac_cv_prog_OTOOL"; then 6184 ac_ct_OTOOL=$OTOOL 6185 # Extract the first word of "otool", so it can be a program name with args. 6186set dummy otool; ac_word=$2 6187{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6188$as_echo_n "checking for $ac_word... " >&6; } 6189if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 6190 $as_echo_n "(cached) " >&6 6191else 6192 if test -n "$ac_ct_OTOOL"; then 6193 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6194else 6195as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6196for as_dir in $PATH 6197do 6198 IFS=$as_save_IFS 6199 test -z "$as_dir" && as_dir=. 6200 for ac_exec_ext in '' $ac_executable_extensions; do 6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6202 ac_cv_prog_ac_ct_OTOOL="otool" 6203 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6204 break 2 6205 fi 6206done 6207done 6208IFS=$as_save_IFS 6209 6210fi 6211fi 6212ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6213if test -n "$ac_ct_OTOOL"; then 6214 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 6215$as_echo "$ac_ct_OTOOL" >&6; } 6216else 6217 { $as_echo "$as_me:$LINENO: result: no" >&5 6218$as_echo "no" >&6; } 6219fi 6220 6221 if test "x$ac_ct_OTOOL" = x; then 6222 OTOOL=":" 6223 else 6224 case $cross_compiling:$ac_tool_warned in 6225yes:) 6226{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6227$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6228ac_tool_warned=yes ;; 6229esac 6230 OTOOL=$ac_ct_OTOOL 6231 fi 6232else 6233 OTOOL="$ac_cv_prog_OTOOL" 6234fi 6235 6236 if test -n "$ac_tool_prefix"; then 6237 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6238set dummy ${ac_tool_prefix}otool64; ac_word=$2 6239{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6240$as_echo_n "checking for $ac_word... " >&6; } 6241if test "${ac_cv_prog_OTOOL64+set}" = set; then 6242 $as_echo_n "(cached) " >&6 6243else 6244 if test -n "$OTOOL64"; then 6245 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6246else 6247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6248for as_dir in $PATH 6249do 6250 IFS=$as_save_IFS 6251 test -z "$as_dir" && as_dir=. 6252 for ac_exec_ext in '' $ac_executable_extensions; do 6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6254 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6255 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6256 break 2 6257 fi 6258done 6259done 6260IFS=$as_save_IFS 6261 6262fi 6263fi 6264OTOOL64=$ac_cv_prog_OTOOL64 6265if test -n "$OTOOL64"; then 6266 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 6267$as_echo "$OTOOL64" >&6; } 6268else 6269 { $as_echo "$as_me:$LINENO: result: no" >&5 6270$as_echo "no" >&6; } 6271fi 6272 6273 6274fi 6275if test -z "$ac_cv_prog_OTOOL64"; then 6276 ac_ct_OTOOL64=$OTOOL64 6277 # Extract the first word of "otool64", so it can be a program name with args. 6278set dummy otool64; ac_word=$2 6279{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6280$as_echo_n "checking for $ac_word... " >&6; } 6281if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 6282 $as_echo_n "(cached) " >&6 6283else 6284 if test -n "$ac_ct_OTOOL64"; then 6285 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6286else 6287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6288for as_dir in $PATH 6289do 6290 IFS=$as_save_IFS 6291 test -z "$as_dir" && as_dir=. 6292 for ac_exec_ext in '' $ac_executable_extensions; do 6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6294 ac_cv_prog_ac_ct_OTOOL64="otool64" 6295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6296 break 2 6297 fi 6298done 6299done 6300IFS=$as_save_IFS 6301 6302fi 6303fi 6304ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6305if test -n "$ac_ct_OTOOL64"; then 6306 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 6307$as_echo "$ac_ct_OTOOL64" >&6; } 6308else 6309 { $as_echo "$as_me:$LINENO: result: no" >&5 6310$as_echo "no" >&6; } 6311fi 6312 6313 if test "x$ac_ct_OTOOL64" = x; then 6314 OTOOL64=":" 6315 else 6316 case $cross_compiling:$ac_tool_warned in 6317yes:) 6318{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6319$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6320ac_tool_warned=yes ;; 6321esac 6322 OTOOL64=$ac_ct_OTOOL64 6323 fi 6324else 6325 OTOOL64="$ac_cv_prog_OTOOL64" 6326fi 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 6355$as_echo_n "checking for -single_module linker flag... " >&6; } 6356if test "${lt_cv_apple_cc_single_mod+set}" = set; then 6357 $as_echo_n "(cached) " >&6 6358else 6359 lt_cv_apple_cc_single_mod=no 6360 if test -z "${LT_MULTI_MODULE}"; then 6361 # By default we will add the -single_module flag. You can override 6362 # by either setting the environment variable LT_MULTI_MODULE 6363 # non-empty at configure time, or by adding -multi_module to the 6364 # link flags. 6365 rm -rf libconftest.dylib* 6366 echo "int foo(void){return 1;}" > conftest.c 6367 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6368-dynamiclib -Wl,-single_module conftest.c" >&5 6369 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6370 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6371 _lt_result=$? 6372 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6373 lt_cv_apple_cc_single_mod=yes 6374 else 6375 cat conftest.err >&5 6376 fi 6377 rm -rf libconftest.dylib* 6378 rm -f conftest.* 6379 fi 6380fi 6381{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 6382$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6383 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 6384$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6385if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 6386 $as_echo_n "(cached) " >&6 6387else 6388 lt_cv_ld_exported_symbols_list=no 6389 save_LDFLAGS=$LDFLAGS 6390 echo "_main" > conftest.sym 6391 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6392 cat >conftest.$ac_ext <<_ACEOF 6393/* confdefs.h. */ 6394_ACEOF 6395cat confdefs.h >>conftest.$ac_ext 6396cat >>conftest.$ac_ext <<_ACEOF 6397/* end confdefs.h. */ 6398 6399int 6400main () 6401{ 6402 6403 ; 6404 return 0; 6405} 6406_ACEOF 6407rm -f conftest.$ac_objext conftest$ac_exeext 6408if { (ac_try="$ac_link" 6409case "(($ac_try" in 6410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6411 *) ac_try_echo=$ac_try;; 6412esac 6413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6414$as_echo "$ac_try_echo") >&5 6415 (eval "$ac_link") 2>conftest.er1 6416 ac_status=$? 6417 grep -v '^ *+' conftest.er1 >conftest.err 6418 rm -f conftest.er1 6419 cat conftest.err >&5 6420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6421 (exit $ac_status); } && { 6422 test -z "$ac_c_werror_flag" || 6423 test ! -s conftest.err 6424 } && test -s conftest$ac_exeext && { 6425 test "$cross_compiling" = yes || 6426 $as_test_x conftest$ac_exeext 6427 }; then 6428 lt_cv_ld_exported_symbols_list=yes 6429else 6430 $as_echo "$as_me: failed program was:" >&5 6431sed 's/^/| /' conftest.$ac_ext >&5 6432 6433 lt_cv_ld_exported_symbols_list=no 6434fi 6435 6436rm -rf conftest.dSYM 6437rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6438 conftest$ac_exeext conftest.$ac_ext 6439 LDFLAGS="$save_LDFLAGS" 6440 6441fi 6442{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 6443$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6444 case $host_os in 6445 rhapsody* | darwin1.[012]) 6446 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6447 darwin1.*) 6448 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6449 darwin*) # darwin 5.x on 6450 # if running on 10.5 or later, the deployment target defaults 6451 # to the OS version, if on x86, and 10.4, the deployment 6452 # target defaults to 10.4. Don't you love it? 6453 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6454 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6455 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6456 10.[012]*) 6457 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6458 10.*) 6459 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6460 esac 6461 ;; 6462 esac 6463 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6464 _lt_dar_single_mod='$single_module' 6465 fi 6466 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6467 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6468 else 6469 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6470 fi 6471 if test "$DSYMUTIL" != ":"; then 6472 _lt_dsymutil='~$DSYMUTIL $lib || :' 6473 else 6474 _lt_dsymutil= 6475 fi 6476 ;; 6477 esac 6478 6479ac_ext=c 6480ac_cpp='$CPP $CPPFLAGS' 6481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6483ac_compiler_gnu=$ac_cv_c_compiler_gnu 6484{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 6485$as_echo_n "checking how to run the C preprocessor... " >&6; } 6486# On Suns, sometimes $CPP names a directory. 6487if test -n "$CPP" && test -d "$CPP"; then 6488 CPP= 6489fi 6490if test -z "$CPP"; then 6491 if test "${ac_cv_prog_CPP+set}" = set; then 6492 $as_echo_n "(cached) " >&6 6493else 6494 # Double quotes because CPP needs to be expanded 6495 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6496 do 6497 ac_preproc_ok=false 6498for ac_c_preproc_warn_flag in '' yes 6499do 6500 # Use a header file that comes with gcc, so configuring glibc 6501 # with a fresh cross-compiler works. 6502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6503 # <limits.h> exists even on freestanding compilers. 6504 # On the NeXT, cc -E runs the code through the compiler's parser, 6505 # not just through cpp. "Syntax error" is here to catch this case. 6506 cat >conftest.$ac_ext <<_ACEOF 6507/* confdefs.h. */ 6508_ACEOF 6509cat confdefs.h >>conftest.$ac_ext 6510cat >>conftest.$ac_ext <<_ACEOF 6511/* end confdefs.h. */ 6512#ifdef __STDC__ 6513# include <limits.h> 6514#else 6515# include <assert.h> 6516#endif 6517 Syntax error 6518_ACEOF 6519if { (ac_try="$ac_cpp conftest.$ac_ext" 6520case "(($ac_try" in 6521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6522 *) ac_try_echo=$ac_try;; 6523esac 6524eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6525$as_echo "$ac_try_echo") >&5 6526 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6527 ac_status=$? 6528 grep -v '^ *+' conftest.er1 >conftest.err 6529 rm -f conftest.er1 6530 cat conftest.err >&5 6531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6532 (exit $ac_status); } >/dev/null && { 6533 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6534 test ! -s conftest.err 6535 }; then 6536 : 6537else 6538 $as_echo "$as_me: failed program was:" >&5 6539sed 's/^/| /' conftest.$ac_ext >&5 6540 6541 # Broken: fails on valid input. 6542continue 6543fi 6544 6545rm -f conftest.err conftest.$ac_ext 6546 6547 # OK, works on sane cases. Now check whether nonexistent headers 6548 # can be detected and how. 6549 cat >conftest.$ac_ext <<_ACEOF 6550/* confdefs.h. */ 6551_ACEOF 6552cat confdefs.h >>conftest.$ac_ext 6553cat >>conftest.$ac_ext <<_ACEOF 6554/* end confdefs.h. */ 6555#include <ac_nonexistent.h> 6556_ACEOF 6557if { (ac_try="$ac_cpp conftest.$ac_ext" 6558case "(($ac_try" in 6559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6560 *) ac_try_echo=$ac_try;; 6561esac 6562eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6563$as_echo "$ac_try_echo") >&5 6564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6565 ac_status=$? 6566 grep -v '^ *+' conftest.er1 >conftest.err 6567 rm -f conftest.er1 6568 cat conftest.err >&5 6569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6570 (exit $ac_status); } >/dev/null && { 6571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6572 test ! -s conftest.err 6573 }; then 6574 # Broken: success on invalid input. 6575continue 6576else 6577 $as_echo "$as_me: failed program was:" >&5 6578sed 's/^/| /' conftest.$ac_ext >&5 6579 6580 # Passes both tests. 6581ac_preproc_ok=: 6582break 6583fi 6584 6585rm -f conftest.err conftest.$ac_ext 6586 6587done 6588# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6589rm -f conftest.err conftest.$ac_ext 6590if $ac_preproc_ok; then 6591 break 6592fi 6593 6594 done 6595 ac_cv_prog_CPP=$CPP 6596 6597fi 6598 CPP=$ac_cv_prog_CPP 6599else 6600 ac_cv_prog_CPP=$CPP 6601fi 6602{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 6603$as_echo "$CPP" >&6; } 6604ac_preproc_ok=false 6605for ac_c_preproc_warn_flag in '' yes 6606do 6607 # Use a header file that comes with gcc, so configuring glibc 6608 # with a fresh cross-compiler works. 6609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6610 # <limits.h> exists even on freestanding compilers. 6611 # On the NeXT, cc -E runs the code through the compiler's parser, 6612 # not just through cpp. "Syntax error" is here to catch this case. 6613 cat >conftest.$ac_ext <<_ACEOF 6614/* confdefs.h. */ 6615_ACEOF 6616cat confdefs.h >>conftest.$ac_ext 6617cat >>conftest.$ac_ext <<_ACEOF 6618/* end confdefs.h. */ 6619#ifdef __STDC__ 6620# include <limits.h> 6621#else 6622# include <assert.h> 6623#endif 6624 Syntax error 6625_ACEOF 6626if { (ac_try="$ac_cpp conftest.$ac_ext" 6627case "(($ac_try" in 6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6629 *) ac_try_echo=$ac_try;; 6630esac 6631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6632$as_echo "$ac_try_echo") >&5 6633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6634 ac_status=$? 6635 grep -v '^ *+' conftest.er1 >conftest.err 6636 rm -f conftest.er1 6637 cat conftest.err >&5 6638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6639 (exit $ac_status); } >/dev/null && { 6640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6641 test ! -s conftest.err 6642 }; then 6643 : 6644else 6645 $as_echo "$as_me: failed program was:" >&5 6646sed 's/^/| /' conftest.$ac_ext >&5 6647 6648 # Broken: fails on valid input. 6649continue 6650fi 6651 6652rm -f conftest.err conftest.$ac_ext 6653 6654 # OK, works on sane cases. Now check whether nonexistent headers 6655 # can be detected and how. 6656 cat >conftest.$ac_ext <<_ACEOF 6657/* confdefs.h. */ 6658_ACEOF 6659cat confdefs.h >>conftest.$ac_ext 6660cat >>conftest.$ac_ext <<_ACEOF 6661/* end confdefs.h. */ 6662#include <ac_nonexistent.h> 6663_ACEOF 6664if { (ac_try="$ac_cpp conftest.$ac_ext" 6665case "(($ac_try" in 6666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6667 *) ac_try_echo=$ac_try;; 6668esac 6669eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6670$as_echo "$ac_try_echo") >&5 6671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6672 ac_status=$? 6673 grep -v '^ *+' conftest.er1 >conftest.err 6674 rm -f conftest.er1 6675 cat conftest.err >&5 6676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6677 (exit $ac_status); } >/dev/null && { 6678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6679 test ! -s conftest.err 6680 }; then 6681 # Broken: success on invalid input. 6682continue 6683else 6684 $as_echo "$as_me: failed program was:" >&5 6685sed 's/^/| /' conftest.$ac_ext >&5 6686 6687 # Passes both tests. 6688ac_preproc_ok=: 6689break 6690fi 6691 6692rm -f conftest.err conftest.$ac_ext 6693 6694done 6695# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6696rm -f conftest.err conftest.$ac_ext 6697if $ac_preproc_ok; then 6698 : 6699else 6700 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 6701$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6702{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 6703See \`config.log' for more details." >&5 6704$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 6705See \`config.log' for more details." >&2;} 6706 { (exit 1); exit 1; }; }; } 6707fi 6708 6709ac_ext=c 6710ac_cpp='$CPP $CPPFLAGS' 6711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6713ac_compiler_gnu=$ac_cv_c_compiler_gnu 6714 6715 6716{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 6717$as_echo_n "checking for ANSI C header files... " >&6; } 6718if test "${ac_cv_header_stdc+set}" = set; then 6719 $as_echo_n "(cached) " >&6 6720else 6721 cat >conftest.$ac_ext <<_ACEOF 6722/* confdefs.h. */ 6723_ACEOF 6724cat confdefs.h >>conftest.$ac_ext 6725cat >>conftest.$ac_ext <<_ACEOF 6726/* end confdefs.h. */ 6727#include <stdlib.h> 6728#include <stdarg.h> 6729#include <string.h> 6730#include <float.h> 6731 6732int 6733main () 6734{ 6735 6736 ; 6737 return 0; 6738} 6739_ACEOF 6740rm -f conftest.$ac_objext 6741if { (ac_try="$ac_compile" 6742case "(($ac_try" in 6743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6744 *) ac_try_echo=$ac_try;; 6745esac 6746eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6747$as_echo "$ac_try_echo") >&5 6748 (eval "$ac_compile") 2>conftest.er1 6749 ac_status=$? 6750 grep -v '^ *+' conftest.er1 >conftest.err 6751 rm -f conftest.er1 6752 cat conftest.err >&5 6753 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6754 (exit $ac_status); } && { 6755 test -z "$ac_c_werror_flag" || 6756 test ! -s conftest.err 6757 } && test -s conftest.$ac_objext; then 6758 ac_cv_header_stdc=yes 6759else 6760 $as_echo "$as_me: failed program was:" >&5 6761sed 's/^/| /' conftest.$ac_ext >&5 6762 6763 ac_cv_header_stdc=no 6764fi 6765 6766rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6767 6768if test $ac_cv_header_stdc = yes; then 6769 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6770 cat >conftest.$ac_ext <<_ACEOF 6771/* confdefs.h. */ 6772_ACEOF 6773cat confdefs.h >>conftest.$ac_ext 6774cat >>conftest.$ac_ext <<_ACEOF 6775/* end confdefs.h. */ 6776#include <string.h> 6777 6778_ACEOF 6779if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6780 $EGREP "memchr" >/dev/null 2>&1; then 6781 : 6782else 6783 ac_cv_header_stdc=no 6784fi 6785rm -f conftest* 6786 6787fi 6788 6789if test $ac_cv_header_stdc = yes; then 6790 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6791 cat >conftest.$ac_ext <<_ACEOF 6792/* confdefs.h. */ 6793_ACEOF 6794cat confdefs.h >>conftest.$ac_ext 6795cat >>conftest.$ac_ext <<_ACEOF 6796/* end confdefs.h. */ 6797#include <stdlib.h> 6798 6799_ACEOF 6800if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6801 $EGREP "free" >/dev/null 2>&1; then 6802 : 6803else 6804 ac_cv_header_stdc=no 6805fi 6806rm -f conftest* 6807 6808fi 6809 6810if test $ac_cv_header_stdc = yes; then 6811 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6812 if test "$cross_compiling" = yes; then 6813 : 6814else 6815 cat >conftest.$ac_ext <<_ACEOF 6816/* confdefs.h. */ 6817_ACEOF 6818cat confdefs.h >>conftest.$ac_ext 6819cat >>conftest.$ac_ext <<_ACEOF 6820/* end confdefs.h. */ 6821#include <ctype.h> 6822#include <stdlib.h> 6823#if ((' ' & 0x0FF) == 0x020) 6824# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6825# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6826#else 6827# define ISLOWER(c) \ 6828 (('a' <= (c) && (c) <= 'i') \ 6829 || ('j' <= (c) && (c) <= 'r') \ 6830 || ('s' <= (c) && (c) <= 'z')) 6831# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6832#endif 6833 6834#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6835int 6836main () 6837{ 6838 int i; 6839 for (i = 0; i < 256; i++) 6840 if (XOR (islower (i), ISLOWER (i)) 6841 || toupper (i) != TOUPPER (i)) 6842 return 2; 6843 return 0; 6844} 6845_ACEOF 6846rm -f conftest$ac_exeext 6847if { (ac_try="$ac_link" 6848case "(($ac_try" in 6849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6850 *) ac_try_echo=$ac_try;; 6851esac 6852eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6853$as_echo "$ac_try_echo") >&5 6854 (eval "$ac_link") 2>&5 6855 ac_status=$? 6856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6858 { (case "(($ac_try" in 6859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6860 *) ac_try_echo=$ac_try;; 6861esac 6862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6863$as_echo "$ac_try_echo") >&5 6864 (eval "$ac_try") 2>&5 6865 ac_status=$? 6866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6867 (exit $ac_status); }; }; then 6868 : 6869else 6870 $as_echo "$as_me: program exited with status $ac_status" >&5 6871$as_echo "$as_me: failed program was:" >&5 6872sed 's/^/| /' conftest.$ac_ext >&5 6873 6874( exit $ac_status ) 6875ac_cv_header_stdc=no 6876fi 6877rm -rf conftest.dSYM 6878rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6879fi 6880 6881 6882fi 6883fi 6884{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 6885$as_echo "$ac_cv_header_stdc" >&6; } 6886if test $ac_cv_header_stdc = yes; then 6887 6888cat >>confdefs.h <<\_ACEOF 6889#define STDC_HEADERS 1 6890_ACEOF 6891 6892fi 6893 6894# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6905 inttypes.h stdint.h unistd.h 6906do 6907as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6908{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6909$as_echo_n "checking for $ac_header... " >&6; } 6910if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6911 $as_echo_n "(cached) " >&6 6912else 6913 cat >conftest.$ac_ext <<_ACEOF 6914/* confdefs.h. */ 6915_ACEOF 6916cat confdefs.h >>conftest.$ac_ext 6917cat >>conftest.$ac_ext <<_ACEOF 6918/* end confdefs.h. */ 6919$ac_includes_default 6920 6921#include <$ac_header> 6922_ACEOF 6923rm -f conftest.$ac_objext 6924if { (ac_try="$ac_compile" 6925case "(($ac_try" in 6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6927 *) ac_try_echo=$ac_try;; 6928esac 6929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6930$as_echo "$ac_try_echo") >&5 6931 (eval "$ac_compile") 2>conftest.er1 6932 ac_status=$? 6933 grep -v '^ *+' conftest.er1 >conftest.err 6934 rm -f conftest.er1 6935 cat conftest.err >&5 6936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); } && { 6938 test -z "$ac_c_werror_flag" || 6939 test ! -s conftest.err 6940 } && test -s conftest.$ac_objext; then 6941 eval "$as_ac_Header=yes" 6942else 6943 $as_echo "$as_me: failed program was:" >&5 6944sed 's/^/| /' conftest.$ac_ext >&5 6945 6946 eval "$as_ac_Header=no" 6947fi 6948 6949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6950fi 6951ac_res=`eval 'as_val=${'$as_ac_Header'} 6952 $as_echo "$as_val"'` 6953 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 6954$as_echo "$ac_res" >&6; } 6955as_val=`eval 'as_val=${'$as_ac_Header'} 6956 $as_echo "$as_val"'` 6957 if test "x$as_val" = x""yes; then 6958 cat >>confdefs.h <<_ACEOF 6959#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6960_ACEOF 6961 6962fi 6963 6964done 6965 6966 6967 6968for ac_header in dlfcn.h 6969do 6970as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6971{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6972$as_echo_n "checking for $ac_header... " >&6; } 6973if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6974 $as_echo_n "(cached) " >&6 6975else 6976 cat >conftest.$ac_ext <<_ACEOF 6977/* confdefs.h. */ 6978_ACEOF 6979cat confdefs.h >>conftest.$ac_ext 6980cat >>conftest.$ac_ext <<_ACEOF 6981/* end confdefs.h. */ 6982$ac_includes_default 6983 6984#include <$ac_header> 6985_ACEOF 6986rm -f conftest.$ac_objext 6987if { (ac_try="$ac_compile" 6988case "(($ac_try" in 6989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6990 *) ac_try_echo=$ac_try;; 6991esac 6992eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6993$as_echo "$ac_try_echo") >&5 6994 (eval "$ac_compile") 2>conftest.er1 6995 ac_status=$? 6996 grep -v '^ *+' conftest.er1 >conftest.err 6997 rm -f conftest.er1 6998 cat conftest.err >&5 6999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7000 (exit $ac_status); } && { 7001 test -z "$ac_c_werror_flag" || 7002 test ! -s conftest.err 7003 } && test -s conftest.$ac_objext; then 7004 eval "$as_ac_Header=yes" 7005else 7006 $as_echo "$as_me: failed program was:" >&5 7007sed 's/^/| /' conftest.$ac_ext >&5 7008 7009 eval "$as_ac_Header=no" 7010fi 7011 7012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7013fi 7014ac_res=`eval 'as_val=${'$as_ac_Header'} 7015 $as_echo "$as_val"'` 7016 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7017$as_echo "$ac_res" >&6; } 7018as_val=`eval 'as_val=${'$as_ac_Header'} 7019 $as_echo "$as_val"'` 7020 if test "x$as_val" = x""yes; then 7021 cat >>confdefs.h <<_ACEOF 7022#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7023_ACEOF 7024 7025fi 7026 7027done 7028 7029 7030 7031# Set options 7032 7033 7034 7035 enable_dlopen=no 7036 7037 7038 enable_win32_dll=no 7039 7040 7041 # Check whether --enable-shared was given. 7042if test "${enable_shared+set}" = set; then 7043 enableval=$enable_shared; p=${PACKAGE-default} 7044 case $enableval in 7045 yes) enable_shared=yes ;; 7046 no) enable_shared=no ;; 7047 *) 7048 enable_shared=no 7049 # Look at the argument we got. We use all the common list separators. 7050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7051 for pkg in $enableval; do 7052 IFS="$lt_save_ifs" 7053 if test "X$pkg" = "X$p"; then 7054 enable_shared=yes 7055 fi 7056 done 7057 IFS="$lt_save_ifs" 7058 ;; 7059 esac 7060else 7061 enable_shared=yes 7062fi 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 # Check whether --enable-static was given. 7073if test "${enable_static+set}" = set; then 7074 enableval=$enable_static; p=${PACKAGE-default} 7075 case $enableval in 7076 yes) enable_static=yes ;; 7077 no) enable_static=no ;; 7078 *) 7079 enable_static=no 7080 # Look at the argument we got. We use all the common list separators. 7081 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7082 for pkg in $enableval; do 7083 IFS="$lt_save_ifs" 7084 if test "X$pkg" = "X$p"; then 7085 enable_static=yes 7086 fi 7087 done 7088 IFS="$lt_save_ifs" 7089 ;; 7090 esac 7091else 7092 enable_static=yes 7093fi 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104# Check whether --with-pic was given. 7105if test "${with_pic+set}" = set; then 7106 withval=$with_pic; pic_mode="$withval" 7107else 7108 pic_mode=default 7109fi 7110 7111 7112test -z "$pic_mode" && pic_mode=default 7113 7114 7115 7116 7117 7118 7119 7120 # Check whether --enable-fast-install was given. 7121if test "${enable_fast_install+set}" = set; then 7122 enableval=$enable_fast_install; p=${PACKAGE-default} 7123 case $enableval in 7124 yes) enable_fast_install=yes ;; 7125 no) enable_fast_install=no ;; 7126 *) 7127 enable_fast_install=no 7128 # Look at the argument we got. We use all the common list separators. 7129 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7130 for pkg in $enableval; do 7131 IFS="$lt_save_ifs" 7132 if test "X$pkg" = "X$p"; then 7133 enable_fast_install=yes 7134 fi 7135 done 7136 IFS="$lt_save_ifs" 7137 ;; 7138 esac 7139else 7140 enable_fast_install=yes 7141fi 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153# This can be used to rebuild libtool when needed 7154LIBTOOL_DEPS="$ltmain" 7155 7156# Always use our own libtool. 7157LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183test -z "$LN_S" && LN_S="ln -s" 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198if test -n "${ZSH_VERSION+set}" ; then 7199 setopt NO_GLOB_SUBST 7200fi 7201 7202{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7203$as_echo_n "checking for objdir... " >&6; } 7204if test "${lt_cv_objdir+set}" = set; then 7205 $as_echo_n "(cached) " >&6 7206else 7207 rm -f .libs 2>/dev/null 7208mkdir .libs 2>/dev/null 7209if test -d .libs; then 7210 lt_cv_objdir=.libs 7211else 7212 # MS-DOS does not allow filenames that begin with a dot. 7213 lt_cv_objdir=_libs 7214fi 7215rmdir .libs 2>/dev/null 7216fi 7217{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7218$as_echo "$lt_cv_objdir" >&6; } 7219objdir=$lt_cv_objdir 7220 7221 7222 7223 7224 7225cat >>confdefs.h <<_ACEOF 7226#define LT_OBJDIR "$lt_cv_objdir/" 7227_ACEOF 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245case $host_os in 7246aix3*) 7247 # AIX sometimes has problems with the GCC collect2 program. For some 7248 # reason, if we set the COLLECT_NAMES environment variable, the problems 7249 # vanish in a puff of smoke. 7250 if test "X${COLLECT_NAMES+set}" != Xset; then 7251 COLLECT_NAMES= 7252 export COLLECT_NAMES 7253 fi 7254 ;; 7255esac 7256 7257# Sed substitution that helps us do robust quoting. It backslashifies 7258# metacharacters that are still active within double-quoted strings. 7259sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7260 7261# Same as above, but do not quote variable references. 7262double_quote_subst='s/\(["`\\]\)/\\\1/g' 7263 7264# Sed substitution to delay expansion of an escaped shell variable in a 7265# double_quote_subst'ed string. 7266delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7267 7268# Sed substitution to delay expansion of an escaped single quote. 7269delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7270 7271# Sed substitution to avoid accidental globbing in evaled expressions 7272no_glob_subst='s/\*/\\\*/g' 7273 7274# Global variables: 7275ofile=libtool 7276can_build_shared=yes 7277 7278# All known linkers require a `.a' archive for static linking (except MSVC, 7279# which needs '.lib'). 7280libext=a 7281 7282with_gnu_ld="$lt_cv_prog_gnu_ld" 7283 7284old_CC="$CC" 7285old_CFLAGS="$CFLAGS" 7286 7287# Set sane defaults for various variables 7288test -z "$CC" && CC=cc 7289test -z "$LTCC" && LTCC=$CC 7290test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7291test -z "$LD" && LD=ld 7292test -z "$ac_objext" && ac_objext=o 7293 7294for cc_temp in $compiler""; do 7295 case $cc_temp in 7296 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7297 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7298 \-*) ;; 7299 *) break;; 7300 esac 7301done 7302cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7303 7304 7305# Only perform the check for file, if the check method requires it 7306test -z "$MAGIC_CMD" && MAGIC_CMD=file 7307case $deplibs_check_method in 7308file_magic*) 7309 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7310 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 7311$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7312if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7313 $as_echo_n "(cached) " >&6 7314else 7315 case $MAGIC_CMD in 7316[\\/*] | ?:[\\/]*) 7317 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7318 ;; 7319*) 7320 lt_save_MAGIC_CMD="$MAGIC_CMD" 7321 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7322 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7323 for ac_dir in $ac_dummy; do 7324 IFS="$lt_save_ifs" 7325 test -z "$ac_dir" && ac_dir=. 7326 if test -f $ac_dir/${ac_tool_prefix}file; then 7327 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7328 if test -n "$file_magic_test_file"; then 7329 case $deplibs_check_method in 7330 "file_magic "*) 7331 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7332 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7333 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7334 $EGREP "$file_magic_regex" > /dev/null; then 7335 : 7336 else 7337 cat <<_LT_EOF 1>&2 7338 7339*** Warning: the command libtool uses to detect shared libraries, 7340*** $file_magic_cmd, produces output that libtool cannot recognize. 7341*** The result is that libtool may fail to recognize shared libraries 7342*** as such. This will affect the creation of libtool libraries that 7343*** depend on shared libraries, but programs linked with such libtool 7344*** libraries will work regardless of this problem. Nevertheless, you 7345*** may want to report the problem to your system manager and/or to 7346*** bug-libtool@gnu.org 7347 7348_LT_EOF 7349 fi ;; 7350 esac 7351 fi 7352 break 7353 fi 7354 done 7355 IFS="$lt_save_ifs" 7356 MAGIC_CMD="$lt_save_MAGIC_CMD" 7357 ;; 7358esac 7359fi 7360 7361MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7362if test -n "$MAGIC_CMD"; then 7363 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7364$as_echo "$MAGIC_CMD" >&6; } 7365else 7366 { $as_echo "$as_me:$LINENO: result: no" >&5 7367$as_echo "no" >&6; } 7368fi 7369 7370 7371 7372 7373 7374if test -z "$lt_cv_path_MAGIC_CMD"; then 7375 if test -n "$ac_tool_prefix"; then 7376 { $as_echo "$as_me:$LINENO: checking for file" >&5 7377$as_echo_n "checking for file... " >&6; } 7378if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 7379 $as_echo_n "(cached) " >&6 7380else 7381 case $MAGIC_CMD in 7382[\\/*] | ?:[\\/]*) 7383 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7384 ;; 7385*) 7386 lt_save_MAGIC_CMD="$MAGIC_CMD" 7387 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7388 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7389 for ac_dir in $ac_dummy; do 7390 IFS="$lt_save_ifs" 7391 test -z "$ac_dir" && ac_dir=. 7392 if test -f $ac_dir/file; then 7393 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7394 if test -n "$file_magic_test_file"; then 7395 case $deplibs_check_method in 7396 "file_magic "*) 7397 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7399 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7400 $EGREP "$file_magic_regex" > /dev/null; then 7401 : 7402 else 7403 cat <<_LT_EOF 1>&2 7404 7405*** Warning: the command libtool uses to detect shared libraries, 7406*** $file_magic_cmd, produces output that libtool cannot recognize. 7407*** The result is that libtool may fail to recognize shared libraries 7408*** as such. This will affect the creation of libtool libraries that 7409*** depend on shared libraries, but programs linked with such libtool 7410*** libraries will work regardless of this problem. Nevertheless, you 7411*** may want to report the problem to your system manager and/or to 7412*** bug-libtool@gnu.org 7413 7414_LT_EOF 7415 fi ;; 7416 esac 7417 fi 7418 break 7419 fi 7420 done 7421 IFS="$lt_save_ifs" 7422 MAGIC_CMD="$lt_save_MAGIC_CMD" 7423 ;; 7424esac 7425fi 7426 7427MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7428if test -n "$MAGIC_CMD"; then 7429 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 7430$as_echo "$MAGIC_CMD" >&6; } 7431else 7432 { $as_echo "$as_me:$LINENO: result: no" >&5 7433$as_echo "no" >&6; } 7434fi 7435 7436 7437 else 7438 MAGIC_CMD=: 7439 fi 7440fi 7441 7442 fi 7443 ;; 7444esac 7445 7446# Use C for the default configuration in the libtool script 7447 7448lt_save_CC="$CC" 7449ac_ext=c 7450ac_cpp='$CPP $CPPFLAGS' 7451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7453ac_compiler_gnu=$ac_cv_c_compiler_gnu 7454 7455 7456# Source file extension for C test sources. 7457ac_ext=c 7458 7459# Object file extension for compiled C test sources. 7460objext=o 7461objext=$objext 7462 7463# Code to be used in simple compile tests 7464lt_simple_compile_test_code="int some_variable = 0;" 7465 7466# Code to be used in simple link tests 7467lt_simple_link_test_code='int main(){return(0);}' 7468 7469 7470 7471 7472 7473 7474 7475# If no C compiler was specified, use CC. 7476LTCC=${LTCC-"$CC"} 7477 7478# If no C compiler flags were specified, use CFLAGS. 7479LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7480 7481# Allow CC to be a program name with arguments. 7482compiler=$CC 7483 7484# Save the default compiler, since it gets overwritten when the other 7485# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7486compiler_DEFAULT=$CC 7487 7488# save warnings/boilerplate of simple test code 7489ac_outfile=conftest.$ac_objext 7490echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7491eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7492_lt_compiler_boilerplate=`cat conftest.err` 7493$RM conftest* 7494 7495ac_outfile=conftest.$ac_objext 7496echo "$lt_simple_link_test_code" >conftest.$ac_ext 7497eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7498_lt_linker_boilerplate=`cat conftest.err` 7499$RM -r conftest* 7500 7501 7502if test -n "$compiler"; then 7503 7504lt_prog_compiler_no_builtin_flag= 7505 7506if test "$GCC" = yes; then 7507 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7508 7509 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7510$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7511if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 7512 $as_echo_n "(cached) " >&6 7513else 7514 lt_cv_prog_compiler_rtti_exceptions=no 7515 ac_outfile=conftest.$ac_objext 7516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7517 lt_compiler_flag="-fno-rtti -fno-exceptions" 7518 # Insert the option either (1) after the last *FLAGS variable, or 7519 # (2) before a word containing "conftest.", or (3) at the end. 7520 # Note that $ac_compile itself does not contain backslashes and begins 7521 # with a dollar sign (not a hyphen), so the echo should work correctly. 7522 # The option is referenced via a variable to avoid confusing sed. 7523 lt_compile=`echo "$ac_compile" | $SED \ 7524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7526 -e 's:$: $lt_compiler_flag:'` 7527 (eval echo "\"\$as_me:7527: $lt_compile\"" >&5) 7528 (eval "$lt_compile" 2>conftest.err) 7529 ac_status=$? 7530 cat conftest.err >&5 7531 echo "$as_me:7531: \$? = $ac_status" >&5 7532 if (exit $ac_status) && test -s "$ac_outfile"; then 7533 # The compiler can only warn and ignore the option if not recognized 7534 # So say no if there are warnings other than the usual output. 7535 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7538 lt_cv_prog_compiler_rtti_exceptions=yes 7539 fi 7540 fi 7541 $RM conftest* 7542 7543fi 7544{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7545$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7546 7547if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7548 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7549else 7550 : 7551fi 7552 7553fi 7554 7555 7556 7557 7558 7559 7560 lt_prog_compiler_wl= 7561lt_prog_compiler_pic= 7562lt_prog_compiler_static= 7563 7564{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 7565$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7566 7567 if test "$GCC" = yes; then 7568 lt_prog_compiler_wl='-Wl,' 7569 lt_prog_compiler_static='-static' 7570 7571 case $host_os in 7572 aix*) 7573 # All AIX code is PIC. 7574 if test "$host_cpu" = ia64; then 7575 # AIX 5 now supports IA64 processor 7576 lt_prog_compiler_static='-Bstatic' 7577 fi 7578 ;; 7579 7580 amigaos*) 7581 case $host_cpu in 7582 powerpc) 7583 # see comment about AmigaOS4 .so support 7584 lt_prog_compiler_pic='-fPIC' 7585 ;; 7586 m68k) 7587 # FIXME: we need at least 68020 code to build shared libraries, but 7588 # adding the `-m68020' flag to GCC prevents building anything better, 7589 # like `-m68040'. 7590 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7591 ;; 7592 esac 7593 ;; 7594 7595 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7596 # PIC is the default for these OSes. 7597 ;; 7598 7599 mingw* | cygwin* | pw32* | os2* | cegcc*) 7600 # This hack is so that the source file can tell whether it is being 7601 # built for inclusion in a dll (and should export symbols for example). 7602 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7603 # (--disable-auto-import) libraries 7604 lt_prog_compiler_pic='-DDLL_EXPORT' 7605 ;; 7606 7607 darwin* | rhapsody*) 7608 # PIC is the default on this platform 7609 # Common symbols not allowed in MH_DYLIB files 7610 lt_prog_compiler_pic='-fno-common' 7611 ;; 7612 7613 hpux*) 7614 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7615 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7616 # sets the default TLS model and affects inlining. 7617 case $host_cpu in 7618 hppa*64*) 7619 # +Z the default 7620 ;; 7621 *) 7622 lt_prog_compiler_pic='-fPIC' 7623 ;; 7624 esac 7625 ;; 7626 7627 interix[3-9]*) 7628 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7629 # Instead, we relocate shared libraries at runtime. 7630 ;; 7631 7632 msdosdjgpp*) 7633 # Just because we use GCC doesn't mean we suddenly get shared libraries 7634 # on systems that don't support them. 7635 lt_prog_compiler_can_build_shared=no 7636 enable_shared=no 7637 ;; 7638 7639 *nto* | *qnx*) 7640 # QNX uses GNU C++, but need to define -shared option too, otherwise 7641 # it will coredump. 7642 lt_prog_compiler_pic='-fPIC -shared' 7643 ;; 7644 7645 sysv4*MP*) 7646 if test -d /usr/nec; then 7647 lt_prog_compiler_pic=-Kconform_pic 7648 fi 7649 ;; 7650 7651 *) 7652 lt_prog_compiler_pic='-fPIC' 7653 ;; 7654 esac 7655 else 7656 # PORTME Check for flag to pass linker flags through the system compiler. 7657 case $host_os in 7658 aix*) 7659 lt_prog_compiler_wl='-Wl,' 7660 if test "$host_cpu" = ia64; then 7661 # AIX 5 now supports IA64 processor 7662 lt_prog_compiler_static='-Bstatic' 7663 else 7664 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7665 fi 7666 ;; 7667 7668 mingw* | cygwin* | pw32* | os2* | cegcc*) 7669 # This hack is so that the source file can tell whether it is being 7670 # built for inclusion in a dll (and should export symbols for example). 7671 lt_prog_compiler_pic='-DDLL_EXPORT' 7672 ;; 7673 7674 hpux9* | hpux10* | hpux11*) 7675 lt_prog_compiler_wl='-Wl,' 7676 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7677 # not for PA HP-UX. 7678 case $host_cpu in 7679 hppa*64*|ia64*) 7680 # +Z the default 7681 ;; 7682 *) 7683 lt_prog_compiler_pic='+Z' 7684 ;; 7685 esac 7686 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7687 lt_prog_compiler_static='${wl}-a ${wl}archive' 7688 ;; 7689 7690 irix5* | irix6* | nonstopux*) 7691 lt_prog_compiler_wl='-Wl,' 7692 # PIC (with -KPIC) is the default. 7693 lt_prog_compiler_static='-non_shared' 7694 ;; 7695 7696 linux* | k*bsd*-gnu) 7697 case $cc_basename in 7698 # old Intel for x86_64 which still supported -KPIC. 7699 ecc*) 7700 lt_prog_compiler_wl='-Wl,' 7701 lt_prog_compiler_pic='-KPIC' 7702 lt_prog_compiler_static='-static' 7703 ;; 7704 # icc used to be incompatible with GCC. 7705 # ICC 10 doesn't accept -KPIC any more. 7706 icc* | ifort*) 7707 lt_prog_compiler_wl='-Wl,' 7708 lt_prog_compiler_pic='-fPIC' 7709 lt_prog_compiler_static='-static' 7710 ;; 7711 # Lahey Fortran 8.1. 7712 lf95*) 7713 lt_prog_compiler_wl='-Wl,' 7714 lt_prog_compiler_pic='--shared' 7715 lt_prog_compiler_static='--static' 7716 ;; 7717 pgcc* | pgf77* | pgf90* | pgf95*) 7718 # Portland Group compilers (*not* the Pentium gcc compiler, 7719 # which looks to be a dead project) 7720 lt_prog_compiler_wl='-Wl,' 7721 lt_prog_compiler_pic='-fpic' 7722 lt_prog_compiler_static='-Bstatic' 7723 ;; 7724 ccc*) 7725 lt_prog_compiler_wl='-Wl,' 7726 # All Alpha code is PIC. 7727 lt_prog_compiler_static='-non_shared' 7728 ;; 7729 xl*) 7730 # IBM XL C 8.0/Fortran 10.1 on PPC 7731 lt_prog_compiler_wl='-Wl,' 7732 lt_prog_compiler_pic='-qpic' 7733 lt_prog_compiler_static='-qstaticlink' 7734 ;; 7735 *) 7736 case `$CC -V 2>&1 | sed 5q` in 7737 *Sun\ C*) 7738 # Sun C 5.9 7739 lt_prog_compiler_pic='-KPIC' 7740 lt_prog_compiler_static='-Bstatic' 7741 lt_prog_compiler_wl='-Wl,' 7742 ;; 7743 *Sun\ F*) 7744 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7745 lt_prog_compiler_pic='-KPIC' 7746 lt_prog_compiler_static='-Bstatic' 7747 lt_prog_compiler_wl='' 7748 ;; 7749 esac 7750 ;; 7751 esac 7752 ;; 7753 7754 newsos6) 7755 lt_prog_compiler_pic='-KPIC' 7756 lt_prog_compiler_static='-Bstatic' 7757 ;; 7758 7759 *nto* | *qnx*) 7760 # QNX uses GNU C++, but need to define -shared option too, otherwise 7761 # it will coredump. 7762 lt_prog_compiler_pic='-fPIC -shared' 7763 ;; 7764 7765 osf3* | osf4* | osf5*) 7766 lt_prog_compiler_wl='-Wl,' 7767 # All OSF/1 code is PIC. 7768 lt_prog_compiler_static='-non_shared' 7769 ;; 7770 7771 rdos*) 7772 lt_prog_compiler_static='-non_shared' 7773 ;; 7774 7775 solaris*) 7776 lt_prog_compiler_pic='-KPIC' 7777 lt_prog_compiler_static='-Bstatic' 7778 case $cc_basename in 7779 f77* | f90* | f95*) 7780 lt_prog_compiler_wl='-Qoption ld ';; 7781 *) 7782 lt_prog_compiler_wl='-Wl,';; 7783 esac 7784 ;; 7785 7786 sunos4*) 7787 lt_prog_compiler_wl='-Qoption ld ' 7788 lt_prog_compiler_pic='-PIC' 7789 lt_prog_compiler_static='-Bstatic' 7790 ;; 7791 7792 sysv4 | sysv4.2uw2* | sysv4.3*) 7793 lt_prog_compiler_wl='-Wl,' 7794 lt_prog_compiler_pic='-KPIC' 7795 lt_prog_compiler_static='-Bstatic' 7796 ;; 7797 7798 sysv4*MP*) 7799 if test -d /usr/nec ;then 7800 lt_prog_compiler_pic='-Kconform_pic' 7801 lt_prog_compiler_static='-Bstatic' 7802 fi 7803 ;; 7804 7805 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7806 lt_prog_compiler_wl='-Wl,' 7807 lt_prog_compiler_pic='-KPIC' 7808 lt_prog_compiler_static='-Bstatic' 7809 ;; 7810 7811 unicos*) 7812 lt_prog_compiler_wl='-Wl,' 7813 lt_prog_compiler_can_build_shared=no 7814 ;; 7815 7816 uts4*) 7817 lt_prog_compiler_pic='-pic' 7818 lt_prog_compiler_static='-Bstatic' 7819 ;; 7820 7821 *) 7822 lt_prog_compiler_can_build_shared=no 7823 ;; 7824 esac 7825 fi 7826 7827case $host_os in 7828 # For platforms which do not support PIC, -DPIC is meaningless: 7829 *djgpp*) 7830 lt_prog_compiler_pic= 7831 ;; 7832 *) 7833 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7834 ;; 7835esac 7836{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 7837$as_echo "$lt_prog_compiler_pic" >&6; } 7838 7839 7840 7841 7842 7843 7844# 7845# Check to make sure the PIC flag actually works. 7846# 7847if test -n "$lt_prog_compiler_pic"; then 7848 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7849$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7850if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 7851 $as_echo_n "(cached) " >&6 7852else 7853 lt_cv_prog_compiler_pic_works=no 7854 ac_outfile=conftest.$ac_objext 7855 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7856 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7857 # Insert the option either (1) after the last *FLAGS variable, or 7858 # (2) before a word containing "conftest.", or (3) at the end. 7859 # Note that $ac_compile itself does not contain backslashes and begins 7860 # with a dollar sign (not a hyphen), so the echo should work correctly. 7861 # The option is referenced via a variable to avoid confusing sed. 7862 lt_compile=`echo "$ac_compile" | $SED \ 7863 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7864 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7865 -e 's:$: $lt_compiler_flag:'` 7866 (eval echo "\"\$as_me:7866: $lt_compile\"" >&5) 7867 (eval "$lt_compile" 2>conftest.err) 7868 ac_status=$? 7869 cat conftest.err >&5 7870 echo "$as_me:7870: \$? = $ac_status" >&5 7871 if (exit $ac_status) && test -s "$ac_outfile"; then 7872 # The compiler can only warn and ignore the option if not recognized 7873 # So say no if there are warnings other than the usual output. 7874 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7875 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7876 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7877 lt_cv_prog_compiler_pic_works=yes 7878 fi 7879 fi 7880 $RM conftest* 7881 7882fi 7883{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 7884$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7885 7886if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7887 case $lt_prog_compiler_pic in 7888 "" | " "*) ;; 7889 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7890 esac 7891else 7892 lt_prog_compiler_pic= 7893 lt_prog_compiler_can_build_shared=no 7894fi 7895 7896fi 7897 7898 7899 7900 7901 7902 7903# 7904# Check to make sure the static flag actually works. 7905# 7906wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7907{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7908$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7909if test "${lt_cv_prog_compiler_static_works+set}" = set; then 7910 $as_echo_n "(cached) " >&6 7911else 7912 lt_cv_prog_compiler_static_works=no 7913 save_LDFLAGS="$LDFLAGS" 7914 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7915 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7916 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7917 # The linker can only warn and ignore the option if not recognized 7918 # So say no if there are warnings 7919 if test -s conftest.err; then 7920 # Append any errors to the config.log. 7921 cat conftest.err 1>&5 7922 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7923 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7924 if diff conftest.exp conftest.er2 >/dev/null; then 7925 lt_cv_prog_compiler_static_works=yes 7926 fi 7927 else 7928 lt_cv_prog_compiler_static_works=yes 7929 fi 7930 fi 7931 $RM -r conftest* 7932 LDFLAGS="$save_LDFLAGS" 7933 7934fi 7935{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 7936$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7937 7938if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7939 : 7940else 7941 lt_prog_compiler_static= 7942fi 7943 7944 7945 7946 7947 7948 7949 7950 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 7951$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7952if test "${lt_cv_prog_compiler_c_o+set}" = set; then 7953 $as_echo_n "(cached) " >&6 7954else 7955 lt_cv_prog_compiler_c_o=no 7956 $RM -r conftest 2>/dev/null 7957 mkdir conftest 7958 cd conftest 7959 mkdir out 7960 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7961 7962 lt_compiler_flag="-o out/conftest2.$ac_objext" 7963 # Insert the option either (1) after the last *FLAGS variable, or 7964 # (2) before a word containing "conftest.", or (3) at the end. 7965 # Note that $ac_compile itself does not contain backslashes and begins 7966 # with a dollar sign (not a hyphen), so the echo should work correctly. 7967 lt_compile=`echo "$ac_compile" | $SED \ 7968 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7970 -e 's:$: $lt_compiler_flag:'` 7971 (eval echo "\"\$as_me:7971: $lt_compile\"" >&5) 7972 (eval "$lt_compile" 2>out/conftest.err) 7973 ac_status=$? 7974 cat out/conftest.err >&5 7975 echo "$as_me:7975: \$? = $ac_status" >&5 7976 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7977 then 7978 # The compiler can only warn and ignore the option if not recognized 7979 # So say no if there are warnings 7980 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7981 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7982 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7983 lt_cv_prog_compiler_c_o=yes 7984 fi 7985 fi 7986 chmod u+w . 2>&5 7987 $RM conftest* 7988 # SGI C++ compiler will create directory out/ii_files/ for 7989 # template instantiation 7990 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7991 $RM out/* && rmdir out 7992 cd .. 7993 $RM -r conftest 7994 $RM conftest* 7995 7996fi 7997{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 7998$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7999 8000 8001 8002 8003 8004 8005 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8006$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8007if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8008 $as_echo_n "(cached) " >&6 8009else 8010 lt_cv_prog_compiler_c_o=no 8011 $RM -r conftest 2>/dev/null 8012 mkdir conftest 8013 cd conftest 8014 mkdir out 8015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8016 8017 lt_compiler_flag="-o out/conftest2.$ac_objext" 8018 # Insert the option either (1) after the last *FLAGS variable, or 8019 # (2) before a word containing "conftest.", or (3) at the end. 8020 # Note that $ac_compile itself does not contain backslashes and begins 8021 # with a dollar sign (not a hyphen), so the echo should work correctly. 8022 lt_compile=`echo "$ac_compile" | $SED \ 8023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8025 -e 's:$: $lt_compiler_flag:'` 8026 (eval echo "\"\$as_me:8026: $lt_compile\"" >&5) 8027 (eval "$lt_compile" 2>out/conftest.err) 8028 ac_status=$? 8029 cat out/conftest.err >&5 8030 echo "$as_me:8030: \$? = $ac_status" >&5 8031 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8032 then 8033 # The compiler can only warn and ignore the option if not recognized 8034 # So say no if there are warnings 8035 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8036 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8037 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8038 lt_cv_prog_compiler_c_o=yes 8039 fi 8040 fi 8041 chmod u+w . 2>&5 8042 $RM conftest* 8043 # SGI C++ compiler will create directory out/ii_files/ for 8044 # template instantiation 8045 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8046 $RM out/* && rmdir out 8047 cd .. 8048 $RM -r conftest 8049 $RM conftest* 8050 8051fi 8052{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8053$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8054 8055 8056 8057 8058hard_links="nottested" 8059if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8060 # do not overwrite the value of need_locks provided by the user 8061 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8062$as_echo_n "checking if we can lock with hard links... " >&6; } 8063 hard_links=yes 8064 $RM conftest* 8065 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8066 touch conftest.a 8067 ln conftest.a conftest.b 2>&5 || hard_links=no 8068 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8069 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8070$as_echo "$hard_links" >&6; } 8071 if test "$hard_links" = no; then 8072 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8073$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8074 need_locks=warn 8075 fi 8076else 8077 need_locks=no 8078fi 8079 8080 8081 8082 8083 8084 8085 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8086$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8087 8088 runpath_var= 8089 allow_undefined_flag= 8090 always_export_symbols=no 8091 archive_cmds= 8092 archive_expsym_cmds= 8093 compiler_needs_object=no 8094 enable_shared_with_static_runtimes=no 8095 export_dynamic_flag_spec= 8096 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8097 hardcode_automatic=no 8098 hardcode_direct=no 8099 hardcode_direct_absolute=no 8100 hardcode_libdir_flag_spec= 8101 hardcode_libdir_flag_spec_ld= 8102 hardcode_libdir_separator= 8103 hardcode_minus_L=no 8104 hardcode_shlibpath_var=unsupported 8105 inherit_rpath=no 8106 link_all_deplibs=unknown 8107 module_cmds= 8108 module_expsym_cmds= 8109 old_archive_from_new_cmds= 8110 old_archive_from_expsyms_cmds= 8111 thread_safe_flag_spec= 8112 whole_archive_flag_spec= 8113 # include_expsyms should be a list of space-separated symbols to be *always* 8114 # included in the symbol list 8115 include_expsyms= 8116 # exclude_expsyms can be an extended regexp of symbols to exclude 8117 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8118 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8119 # as well as any symbol that contains `d'. 8120 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8121 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8122 # platforms (ab)use it in PIC code, but their linkers get confused if 8123 # the symbol is explicitly referenced. Since portable code cannot 8124 # rely on this symbol name, it's probably fine to never include it in 8125 # preloaded symbol tables. 8126 # Exclude shared library initialization/finalization symbols. 8127 extract_expsyms_cmds= 8128 8129 case $host_os in 8130 cygwin* | mingw* | pw32* | cegcc*) 8131 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8132 # When not using gcc, we currently assume that we are using 8133 # Microsoft Visual C++. 8134 if test "$GCC" != yes; then 8135 with_gnu_ld=no 8136 fi 8137 ;; 8138 interix*) 8139 # we just hope/assume this is gcc and not c89 (= MSVC++) 8140 with_gnu_ld=yes 8141 ;; 8142 openbsd*) 8143 with_gnu_ld=no 8144 ;; 8145 esac 8146 8147 ld_shlibs=yes 8148 if test "$with_gnu_ld" = yes; then 8149 # If archive_cmds runs LD, not CC, wlarc should be empty 8150 wlarc='${wl}' 8151 8152 # Set some defaults for GNU ld with shared library support. These 8153 # are reset later if shared libraries are not supported. Putting them 8154 # here allows them to be overridden if necessary. 8155 runpath_var=LD_RUN_PATH 8156 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8157 export_dynamic_flag_spec='${wl}--export-dynamic' 8158 # ancient GNU ld didn't support --whole-archive et. al. 8159 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8160 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8161 else 8162 whole_archive_flag_spec= 8163 fi 8164 supports_anon_versioning=no 8165 case `$LD -v 2>&1` in 8166 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8167 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8168 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8169 *\ 2.11.*) ;; # other 2.11 versions 8170 *) supports_anon_versioning=yes ;; 8171 esac 8172 8173 # See if GNU ld supports shared libraries. 8174 case $host_os in 8175 aix[3-9]*) 8176 # On AIX/PPC, the GNU linker is very broken 8177 if test "$host_cpu" != ia64; then 8178 ld_shlibs=no 8179 cat <<_LT_EOF 1>&2 8180 8181*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8182*** to be unable to reliably create shared libraries on AIX. 8183*** Therefore, libtool is disabling shared libraries support. If you 8184*** really care for shared libraries, you may want to modify your PATH 8185*** so that a non-GNU linker is found, and then restart. 8186 8187_LT_EOF 8188 fi 8189 ;; 8190 8191 amigaos*) 8192 case $host_cpu in 8193 powerpc) 8194 # see comment about AmigaOS4 .so support 8195 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8196 archive_expsym_cmds='' 8197 ;; 8198 m68k) 8199 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)' 8200 hardcode_libdir_flag_spec='-L$libdir' 8201 hardcode_minus_L=yes 8202 ;; 8203 esac 8204 ;; 8205 8206 beos*) 8207 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8208 allow_undefined_flag=unsupported 8209 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8210 # support --undefined. This deserves some investigation. FIXME 8211 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8212 else 8213 ld_shlibs=no 8214 fi 8215 ;; 8216 8217 cygwin* | mingw* | pw32* | cegcc*) 8218 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8219 # as there is no search path for DLLs. 8220 hardcode_libdir_flag_spec='-L$libdir' 8221 allow_undefined_flag=unsupported 8222 always_export_symbols=no 8223 enable_shared_with_static_runtimes=yes 8224 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8225 8226 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8227 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8228 # If the export-symbols file already is a .def file (1st line 8229 # is EXPORTS), use it as is; otherwise, prepend... 8230 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8231 cp $export_symbols $output_objdir/$soname.def; 8232 else 8233 echo EXPORTS > $output_objdir/$soname.def; 8234 cat $export_symbols >> $output_objdir/$soname.def; 8235 fi~ 8236 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8237 else 8238 ld_shlibs=no 8239 fi 8240 ;; 8241 8242 interix[3-9]*) 8243 hardcode_direct=no 8244 hardcode_shlibpath_var=no 8245 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8246 export_dynamic_flag_spec='${wl}-E' 8247 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8248 # Instead, shared libraries are loaded at an image base (0x10000000 by 8249 # default) and relocated if they conflict, which is a slow very memory 8250 # consuming and fragmenting process. To avoid this, we pick a random, 8251 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8252 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8253 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8254 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' 8255 ;; 8256 8257 gnu* | linux* | tpf* | k*bsd*-gnu) 8258 tmp_diet=no 8259 if test "$host_os" = linux-dietlibc; then 8260 case $cc_basename in 8261 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8262 esac 8263 fi 8264 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8265 && test "$tmp_diet" = no 8266 then 8267 tmp_addflag= 8268 tmp_sharedflag='-shared' 8269 case $cc_basename,$host_cpu in 8270 pgcc*) # Portland Group C compiler 8271 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' 8272 tmp_addflag=' $pic_flag' 8273 ;; 8274 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8275 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' 8276 tmp_addflag=' $pic_flag -Mnomain' ;; 8277 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8278 tmp_addflag=' -i_dynamic' ;; 8279 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8280 tmp_addflag=' -i_dynamic -nofor_main' ;; 8281 ifc* | ifort*) # Intel Fortran compiler 8282 tmp_addflag=' -nofor_main' ;; 8283 lf95*) # Lahey Fortran 8.1 8284 whole_archive_flag_spec= 8285 tmp_sharedflag='--shared' ;; 8286 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8287 tmp_sharedflag='-qmkshrobj' 8288 tmp_addflag= ;; 8289 esac 8290 case `$CC -V 2>&1 | sed 5q` in 8291 *Sun\ C*) # Sun C 5.9 8292 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' 8293 compiler_needs_object=yes 8294 tmp_sharedflag='-G' ;; 8295 *Sun\ F*) # Sun Fortran 8.3 8296 tmp_sharedflag='-G' ;; 8297 esac 8298 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8299 8300 if test "x$supports_anon_versioning" = xyes; then 8301 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8303 echo "local: *; };" >> $output_objdir/$libname.ver~ 8304 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8305 fi 8306 8307 case $cc_basename in 8308 xlf*) 8309 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8310 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8311 hardcode_libdir_flag_spec= 8312 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8313 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8314 if test "x$supports_anon_versioning" = xyes; then 8315 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8316 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8317 echo "local: *; };" >> $output_objdir/$libname.ver~ 8318 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8319 fi 8320 ;; 8321 esac 8322 else 8323 ld_shlibs=no 8324 fi 8325 ;; 8326 8327 netbsd*) 8328 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8329 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8330 wlarc= 8331 else 8332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8333 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8334 fi 8335 ;; 8336 8337 solaris*) 8338 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8339 ld_shlibs=no 8340 cat <<_LT_EOF 1>&2 8341 8342*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8343*** create shared libraries on Solaris systems. Therefore, libtool 8344*** is disabling shared libraries support. We urge you to upgrade GNU 8345*** binutils to release 2.9.1 or newer. Another option is to modify 8346*** your PATH or compiler configuration so that the native linker is 8347*** used, and then restart. 8348 8349_LT_EOF 8350 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8351 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8352 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8353 else 8354 ld_shlibs=no 8355 fi 8356 ;; 8357 8358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8359 case `$LD -v 2>&1` in 8360 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8361 ld_shlibs=no 8362 cat <<_LT_EOF 1>&2 8363 8364*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8365*** reliably create shared libraries on SCO systems. Therefore, libtool 8366*** is disabling shared libraries support. We urge you to upgrade GNU 8367*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8368*** your PATH or compiler configuration so that the native linker is 8369*** used, and then restart. 8370 8371_LT_EOF 8372 ;; 8373 *) 8374 # For security reasons, it is highly recommended that you always 8375 # use absolute paths for naming shared libraries, and exclude the 8376 # DT_RUNPATH tag from executables and libraries. But doing so 8377 # requires that you compile everything twice, which is a pain. 8378 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8379 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8380 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8381 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8382 else 8383 ld_shlibs=no 8384 fi 8385 ;; 8386 esac 8387 ;; 8388 8389 sunos4*) 8390 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8391 wlarc= 8392 hardcode_direct=yes 8393 hardcode_shlibpath_var=no 8394 ;; 8395 8396 *) 8397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8399 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8400 else 8401 ld_shlibs=no 8402 fi 8403 ;; 8404 esac 8405 8406 if test "$ld_shlibs" = no; then 8407 runpath_var= 8408 hardcode_libdir_flag_spec= 8409 export_dynamic_flag_spec= 8410 whole_archive_flag_spec= 8411 fi 8412 else 8413 # PORTME fill in a description of your system's linker (not GNU ld) 8414 case $host_os in 8415 aix3*) 8416 allow_undefined_flag=unsupported 8417 always_export_symbols=yes 8418 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' 8419 # Note: this linker hardcodes the directories in LIBPATH if there 8420 # are no directories specified by -L. 8421 hardcode_minus_L=yes 8422 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8423 # Neither direct hardcoding nor static linking is supported with a 8424 # broken collect2. 8425 hardcode_direct=unsupported 8426 fi 8427 ;; 8428 8429 aix[4-9]*) 8430 if test "$host_cpu" = ia64; then 8431 # On IA64, the linker does run time linking by default, so we don't 8432 # have to do anything special. 8433 aix_use_runtimelinking=no 8434 exp_sym_flag='-Bexport' 8435 no_entry_flag="" 8436 else 8437 # If we're using GNU nm, then we don't want the "-C" option. 8438 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8439 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8440 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' 8441 else 8442 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' 8443 fi 8444 aix_use_runtimelinking=no 8445 8446 # Test if we are trying to use run time linking or normal 8447 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8448 # need to do runtime linking. 8449 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8450 for ld_flag in $LDFLAGS; do 8451 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8452 aix_use_runtimelinking=yes 8453 break 8454 fi 8455 done 8456 ;; 8457 esac 8458 8459 exp_sym_flag='-bexport' 8460 no_entry_flag='-bnoentry' 8461 fi 8462 8463 # When large executables or shared objects are built, AIX ld can 8464 # have problems creating the table of contents. If linking a library 8465 # or program results in "error TOC overflow" add -mminimal-toc to 8466 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8467 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8468 8469 archive_cmds='' 8470 hardcode_direct=yes 8471 hardcode_direct_absolute=yes 8472 hardcode_libdir_separator=':' 8473 link_all_deplibs=yes 8474 file_list_spec='${wl}-f,' 8475 8476 if test "$GCC" = yes; then 8477 case $host_os in aix4.[012]|aix4.[012].*) 8478 # We only want to do this on AIX 4.2 and lower, the check 8479 # below for broken collect2 doesn't work under 4.3+ 8480 collect2name=`${CC} -print-prog-name=collect2` 8481 if test -f "$collect2name" && 8482 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8483 then 8484 # We have reworked collect2 8485 : 8486 else 8487 # We have old collect2 8488 hardcode_direct=unsupported 8489 # It fails to find uninstalled libraries when the uninstalled 8490 # path is not listed in the libpath. Setting hardcode_minus_L 8491 # to unsupported forces relinking 8492 hardcode_minus_L=yes 8493 hardcode_libdir_flag_spec='-L$libdir' 8494 hardcode_libdir_separator= 8495 fi 8496 ;; 8497 esac 8498 shared_flag='-shared' 8499 if test "$aix_use_runtimelinking" = yes; then 8500 shared_flag="$shared_flag "'${wl}-G' 8501 fi 8502 else 8503 # not using gcc 8504 if test "$host_cpu" = ia64; then 8505 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8506 # chokes on -Wl,-G. The following line is correct: 8507 shared_flag='-G' 8508 else 8509 if test "$aix_use_runtimelinking" = yes; then 8510 shared_flag='${wl}-G' 8511 else 8512 shared_flag='${wl}-bM:SRE' 8513 fi 8514 fi 8515 fi 8516 8517 export_dynamic_flag_spec='${wl}-bexpall' 8518 # It seems that -bexpall does not export symbols beginning with 8519 # underscore (_), so it is better to generate a list of symbols to export. 8520 always_export_symbols=yes 8521 if test "$aix_use_runtimelinking" = yes; then 8522 # Warning - without using the other runtime loading flags (-brtl), 8523 # -berok will link without error, but may produce a broken library. 8524 allow_undefined_flag='-berok' 8525 # Determine the default libpath from the value encoded in an 8526 # empty executable. 8527 cat >conftest.$ac_ext <<_ACEOF 8528/* confdefs.h. */ 8529_ACEOF 8530cat confdefs.h >>conftest.$ac_ext 8531cat >>conftest.$ac_ext <<_ACEOF 8532/* end confdefs.h. */ 8533 8534int 8535main () 8536{ 8537 8538 ; 8539 return 0; 8540} 8541_ACEOF 8542rm -f conftest.$ac_objext conftest$ac_exeext 8543if { (ac_try="$ac_link" 8544case "(($ac_try" in 8545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8546 *) ac_try_echo=$ac_try;; 8547esac 8548eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8549$as_echo "$ac_try_echo") >&5 8550 (eval "$ac_link") 2>conftest.er1 8551 ac_status=$? 8552 grep -v '^ *+' conftest.er1 >conftest.err 8553 rm -f conftest.er1 8554 cat conftest.err >&5 8555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8556 (exit $ac_status); } && { 8557 test -z "$ac_c_werror_flag" || 8558 test ! -s conftest.err 8559 } && test -s conftest$ac_exeext && { 8560 test "$cross_compiling" = yes || 8561 $as_test_x conftest$ac_exeext 8562 }; then 8563 8564lt_aix_libpath_sed=' 8565 /Import File Strings/,/^$/ { 8566 /^0/ { 8567 s/^0 *\(.*\)$/\1/ 8568 p 8569 } 8570 }' 8571aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8572# Check for a 64-bit object if we didn't find anything. 8573if test -z "$aix_libpath"; then 8574 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8575fi 8576else 8577 $as_echo "$as_me: failed program was:" >&5 8578sed 's/^/| /' conftest.$ac_ext >&5 8579 8580 8581fi 8582 8583rm -rf conftest.dSYM 8584rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8585 conftest$ac_exeext conftest.$ac_ext 8586if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8587 8588 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8589 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" 8590 else 8591 if test "$host_cpu" = ia64; then 8592 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8593 allow_undefined_flag="-z nodefs" 8594 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" 8595 else 8596 # Determine the default libpath from the value encoded in an 8597 # empty executable. 8598 cat >conftest.$ac_ext <<_ACEOF 8599/* confdefs.h. */ 8600_ACEOF 8601cat confdefs.h >>conftest.$ac_ext 8602cat >>conftest.$ac_ext <<_ACEOF 8603/* end confdefs.h. */ 8604 8605int 8606main () 8607{ 8608 8609 ; 8610 return 0; 8611} 8612_ACEOF 8613rm -f conftest.$ac_objext conftest$ac_exeext 8614if { (ac_try="$ac_link" 8615case "(($ac_try" in 8616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8617 *) ac_try_echo=$ac_try;; 8618esac 8619eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8620$as_echo "$ac_try_echo") >&5 8621 (eval "$ac_link") 2>conftest.er1 8622 ac_status=$? 8623 grep -v '^ *+' conftest.er1 >conftest.err 8624 rm -f conftest.er1 8625 cat conftest.err >&5 8626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8627 (exit $ac_status); } && { 8628 test -z "$ac_c_werror_flag" || 8629 test ! -s conftest.err 8630 } && test -s conftest$ac_exeext && { 8631 test "$cross_compiling" = yes || 8632 $as_test_x conftest$ac_exeext 8633 }; then 8634 8635lt_aix_libpath_sed=' 8636 /Import File Strings/,/^$/ { 8637 /^0/ { 8638 s/^0 *\(.*\)$/\1/ 8639 p 8640 } 8641 }' 8642aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8643# Check for a 64-bit object if we didn't find anything. 8644if test -z "$aix_libpath"; then 8645 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8646fi 8647else 8648 $as_echo "$as_me: failed program was:" >&5 8649sed 's/^/| /' conftest.$ac_ext >&5 8650 8651 8652fi 8653 8654rm -rf conftest.dSYM 8655rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8656 conftest$ac_exeext conftest.$ac_ext 8657if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8658 8659 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8660 # Warning - without using the other run time loading flags, 8661 # -berok will link without error, but may produce a broken library. 8662 no_undefined_flag=' ${wl}-bernotok' 8663 allow_undefined_flag=' ${wl}-berok' 8664 # Exported symbols can be pulled into shared objects from archives 8665 whole_archive_flag_spec='$convenience' 8666 archive_cmds_need_lc=yes 8667 # This is similar to how AIX traditionally builds its shared libraries. 8668 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' 8669 fi 8670 fi 8671 ;; 8672 8673 amigaos*) 8674 case $host_cpu in 8675 powerpc) 8676 # see comment about AmigaOS4 .so support 8677 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8678 archive_expsym_cmds='' 8679 ;; 8680 m68k) 8681 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)' 8682 hardcode_libdir_flag_spec='-L$libdir' 8683 hardcode_minus_L=yes 8684 ;; 8685 esac 8686 ;; 8687 8688 bsdi[45]*) 8689 export_dynamic_flag_spec=-rdynamic 8690 ;; 8691 8692 cygwin* | mingw* | pw32* | cegcc*) 8693 # When not using gcc, we currently assume that we are using 8694 # Microsoft Visual C++. 8695 # hardcode_libdir_flag_spec is actually meaningless, as there is 8696 # no search path for DLLs. 8697 hardcode_libdir_flag_spec=' ' 8698 allow_undefined_flag=unsupported 8699 # Tell ltmain to make .lib files, not .a files. 8700 libext=lib 8701 # Tell ltmain to make .dll files, not .so files. 8702 shrext_cmds=".dll" 8703 # FIXME: Setting linknames here is a bad hack. 8704 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8705 # The linker will automatically build a .lib file if we build a DLL. 8706 old_archive_from_new_cmds='true' 8707 # FIXME: Should let the user specify the lib program. 8708 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8709 fix_srcfile_path='`cygpath -w "$srcfile"`' 8710 enable_shared_with_static_runtimes=yes 8711 ;; 8712 8713 darwin* | rhapsody*) 8714 8715 8716 archive_cmds_need_lc=no 8717 hardcode_direct=no 8718 hardcode_automatic=yes 8719 hardcode_shlibpath_var=unsupported 8720 whole_archive_flag_spec='' 8721 link_all_deplibs=yes 8722 allow_undefined_flag="$_lt_dar_allow_undefined" 8723 case $cc_basename in 8724 ifort*) _lt_dar_can_shared=yes ;; 8725 *) _lt_dar_can_shared=$GCC ;; 8726 esac 8727 if test "$_lt_dar_can_shared" = "yes"; then 8728 output_verbose_link_cmd=echo 8729 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8730 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8731 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}" 8732 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}" 8733 8734 else 8735 ld_shlibs=no 8736 fi 8737 8738 ;; 8739 8740 dgux*) 8741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8742 hardcode_libdir_flag_spec='-L$libdir' 8743 hardcode_shlibpath_var=no 8744 ;; 8745 8746 freebsd1*) 8747 ld_shlibs=no 8748 ;; 8749 8750 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8751 # support. Future versions do this automatically, but an explicit c++rt0.o 8752 # does not break anything, and helps significantly (at the cost of a little 8753 # extra space). 8754 freebsd2.2*) 8755 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8756 hardcode_libdir_flag_spec='-R$libdir' 8757 hardcode_direct=yes 8758 hardcode_shlibpath_var=no 8759 ;; 8760 8761 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8762 freebsd2*) 8763 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8764 hardcode_direct=yes 8765 hardcode_minus_L=yes 8766 hardcode_shlibpath_var=no 8767 ;; 8768 8769 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8770 freebsd* | dragonfly*) 8771 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8772 hardcode_libdir_flag_spec='-R$libdir' 8773 hardcode_direct=yes 8774 hardcode_shlibpath_var=no 8775 ;; 8776 8777 hpux9*) 8778 if test "$GCC" = yes; then 8779 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' 8780 else 8781 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' 8782 fi 8783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8784 hardcode_libdir_separator=: 8785 hardcode_direct=yes 8786 8787 # hardcode_minus_L: Not really in the search PATH, 8788 # but as the default location of the library. 8789 hardcode_minus_L=yes 8790 export_dynamic_flag_spec='${wl}-E' 8791 ;; 8792 8793 hpux10*) 8794 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8795 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8796 else 8797 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8798 fi 8799 if test "$with_gnu_ld" = no; then 8800 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8801 hardcode_libdir_flag_spec_ld='+b $libdir' 8802 hardcode_libdir_separator=: 8803 hardcode_direct=yes 8804 hardcode_direct_absolute=yes 8805 export_dynamic_flag_spec='${wl}-E' 8806 # hardcode_minus_L: Not really in the search PATH, 8807 # but as the default location of the library. 8808 hardcode_minus_L=yes 8809 fi 8810 ;; 8811 8812 hpux11*) 8813 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8814 case $host_cpu in 8815 hppa*64*) 8816 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8817 ;; 8818 ia64*) 8819 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8820 ;; 8821 *) 8822 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8823 ;; 8824 esac 8825 else 8826 case $host_cpu in 8827 hppa*64*) 8828 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8829 ;; 8830 ia64*) 8831 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8832 ;; 8833 *) 8834 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8835 ;; 8836 esac 8837 fi 8838 if test "$with_gnu_ld" = no; then 8839 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8840 hardcode_libdir_separator=: 8841 8842 case $host_cpu in 8843 hppa*64*|ia64*) 8844 hardcode_direct=no 8845 hardcode_shlibpath_var=no 8846 ;; 8847 *) 8848 hardcode_direct=yes 8849 hardcode_direct_absolute=yes 8850 export_dynamic_flag_spec='${wl}-E' 8851 8852 # hardcode_minus_L: Not really in the search PATH, 8853 # but as the default location of the library. 8854 hardcode_minus_L=yes 8855 ;; 8856 esac 8857 fi 8858 ;; 8859 8860 irix5* | irix6* | nonstopux*) 8861 if test "$GCC" = yes; then 8862 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' 8863 # Try to use the -exported_symbol ld option, if it does not 8864 # work, assume that -exports_file does not work either and 8865 # implicitly export all symbols. 8866 save_LDFLAGS="$LDFLAGS" 8867 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8868 cat >conftest.$ac_ext <<_ACEOF 8869int foo(void) {} 8870_ACEOF 8871rm -f conftest.$ac_objext conftest$ac_exeext 8872if { (ac_try="$ac_link" 8873case "(($ac_try" in 8874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8875 *) ac_try_echo=$ac_try;; 8876esac 8877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8878$as_echo "$ac_try_echo") >&5 8879 (eval "$ac_link") 2>conftest.er1 8880 ac_status=$? 8881 grep -v '^ *+' conftest.er1 >conftest.err 8882 rm -f conftest.er1 8883 cat conftest.err >&5 8884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8885 (exit $ac_status); } && { 8886 test -z "$ac_c_werror_flag" || 8887 test ! -s conftest.err 8888 } && test -s conftest$ac_exeext && { 8889 test "$cross_compiling" = yes || 8890 $as_test_x conftest$ac_exeext 8891 }; then 8892 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' 8893 8894else 8895 $as_echo "$as_me: failed program was:" >&5 8896sed 's/^/| /' conftest.$ac_ext >&5 8897 8898 8899fi 8900 8901rm -rf conftest.dSYM 8902rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8903 conftest$ac_exeext conftest.$ac_ext 8904 LDFLAGS="$save_LDFLAGS" 8905 else 8906 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' 8907 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' 8908 fi 8909 archive_cmds_need_lc='no' 8910 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8911 hardcode_libdir_separator=: 8912 inherit_rpath=yes 8913 link_all_deplibs=yes 8914 ;; 8915 8916 netbsd*) 8917 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8918 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8919 else 8920 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8921 fi 8922 hardcode_libdir_flag_spec='-R$libdir' 8923 hardcode_direct=yes 8924 hardcode_shlibpath_var=no 8925 ;; 8926 8927 newsos6) 8928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8929 hardcode_direct=yes 8930 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8931 hardcode_libdir_separator=: 8932 hardcode_shlibpath_var=no 8933 ;; 8934 8935 *nto* | *qnx*) 8936 ;; 8937 8938 openbsd*) 8939 if test -f /usr/libexec/ld.so; then 8940 hardcode_direct=yes 8941 hardcode_shlibpath_var=no 8942 hardcode_direct_absolute=yes 8943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8944 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8945 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8946 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8947 export_dynamic_flag_spec='${wl}-E' 8948 else 8949 case $host_os in 8950 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8951 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8952 hardcode_libdir_flag_spec='-R$libdir' 8953 ;; 8954 *) 8955 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8957 ;; 8958 esac 8959 fi 8960 else 8961 ld_shlibs=no 8962 fi 8963 ;; 8964 8965 os2*) 8966 hardcode_libdir_flag_spec='-L$libdir' 8967 hardcode_minus_L=yes 8968 allow_undefined_flag=unsupported 8969 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' 8970 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8971 ;; 8972 8973 osf3*) 8974 if test "$GCC" = yes; then 8975 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8976 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' 8977 else 8978 allow_undefined_flag=' -expect_unresolved \*' 8979 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' 8980 fi 8981 archive_cmds_need_lc='no' 8982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8983 hardcode_libdir_separator=: 8984 ;; 8985 8986 osf4* | osf5*) # as osf3* with the addition of -msym flag 8987 if test "$GCC" = yes; then 8988 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8989 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' 8990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8991 else 8992 allow_undefined_flag=' -expect_unresolved \*' 8993 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' 8994 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~ 8995 $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' 8996 8997 # Both c and cxx compiler support -rpath directly 8998 hardcode_libdir_flag_spec='-rpath $libdir' 8999 fi 9000 archive_cmds_need_lc='no' 9001 hardcode_libdir_separator=: 9002 ;; 9003 9004 solaris*) 9005 no_undefined_flag=' -z defs' 9006 if test "$GCC" = yes; then 9007 wlarc='${wl}' 9008 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9009 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9010 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9011 else 9012 case `$CC -V 2>&1` in 9013 *"Compilers 5.0"*) 9014 wlarc='' 9015 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9016 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9017 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9018 ;; 9019 *) 9020 wlarc='${wl}' 9021 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9022 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9023 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9024 ;; 9025 esac 9026 fi 9027 hardcode_libdir_flag_spec='-R$libdir' 9028 hardcode_shlibpath_var=no 9029 case $host_os in 9030 solaris2.[0-5] | solaris2.[0-5].*) ;; 9031 *) 9032 # The compiler driver will combine and reorder linker options, 9033 # but understands `-z linker_flag'. GCC discards it without `$wl', 9034 # but is careful enough not to reorder. 9035 # Supported since Solaris 2.6 (maybe 2.5.1?) 9036 if test "$GCC" = yes; then 9037 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9038 else 9039 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9040 fi 9041 ;; 9042 esac 9043 link_all_deplibs=yes 9044 ;; 9045 9046 sunos4*) 9047 if test "x$host_vendor" = xsequent; then 9048 # Use $CC to link under sequent, because it throws in some extra .o 9049 # files that make .init and .fini sections work. 9050 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9051 else 9052 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9053 fi 9054 hardcode_libdir_flag_spec='-L$libdir' 9055 hardcode_direct=yes 9056 hardcode_minus_L=yes 9057 hardcode_shlibpath_var=no 9058 ;; 9059 9060 sysv4) 9061 case $host_vendor in 9062 sni) 9063 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9064 hardcode_direct=yes # is this really true??? 9065 ;; 9066 siemens) 9067 ## LD is ld it makes a PLAMLIB 9068 ## CC just makes a GrossModule. 9069 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9070 reload_cmds='$CC -r -o $output$reload_objs' 9071 hardcode_direct=no 9072 ;; 9073 motorola) 9074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9075 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9076 ;; 9077 esac 9078 runpath_var='LD_RUN_PATH' 9079 hardcode_shlibpath_var=no 9080 ;; 9081 9082 sysv4.3*) 9083 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9084 hardcode_shlibpath_var=no 9085 export_dynamic_flag_spec='-Bexport' 9086 ;; 9087 9088 sysv4*MP*) 9089 if test -d /usr/nec; then 9090 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9091 hardcode_shlibpath_var=no 9092 runpath_var=LD_RUN_PATH 9093 hardcode_runpath_var=yes 9094 ld_shlibs=yes 9095 fi 9096 ;; 9097 9098 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9099 no_undefined_flag='${wl}-z,text' 9100 archive_cmds_need_lc=no 9101 hardcode_shlibpath_var=no 9102 runpath_var='LD_RUN_PATH' 9103 9104 if test "$GCC" = yes; then 9105 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9106 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9107 else 9108 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9109 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9110 fi 9111 ;; 9112 9113 sysv5* | sco3.2v5* | sco5v6*) 9114 # Note: We can NOT use -z defs as we might desire, because we do not 9115 # link with -lc, and that would cause any symbols used from libc to 9116 # always be unresolved, which means just about no library would 9117 # ever link correctly. If we're not using GNU ld we use -z text 9118 # though, which does catch some bad symbols but isn't as heavy-handed 9119 # as -z defs. 9120 no_undefined_flag='${wl}-z,text' 9121 allow_undefined_flag='${wl}-z,nodefs' 9122 archive_cmds_need_lc=no 9123 hardcode_shlibpath_var=no 9124 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9125 hardcode_libdir_separator=':' 9126 link_all_deplibs=yes 9127 export_dynamic_flag_spec='${wl}-Bexport' 9128 runpath_var='LD_RUN_PATH' 9129 9130 if test "$GCC" = yes; then 9131 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9132 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9133 else 9134 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9135 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9136 fi 9137 ;; 9138 9139 uts4*) 9140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9141 hardcode_libdir_flag_spec='-L$libdir' 9142 hardcode_shlibpath_var=no 9143 ;; 9144 9145 *) 9146 ld_shlibs=no 9147 ;; 9148 esac 9149 9150 if test x$host_vendor = xsni; then 9151 case $host in 9152 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9153 export_dynamic_flag_spec='${wl}-Blargedynsym' 9154 ;; 9155 esac 9156 fi 9157 fi 9158 9159{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9160$as_echo "$ld_shlibs" >&6; } 9161test "$ld_shlibs" = no && can_build_shared=no 9162 9163with_gnu_ld=$with_gnu_ld 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179# 9180# Do we need to explicitly link libc? 9181# 9182case "x$archive_cmds_need_lc" in 9183x|xyes) 9184 # Assume -lc should be added 9185 archive_cmds_need_lc=yes 9186 9187 if test "$enable_shared" = yes && test "$GCC" = yes; then 9188 case $archive_cmds in 9189 *'~'*) 9190 # FIXME: we may have to deal with multi-command sequences. 9191 ;; 9192 '$CC '*) 9193 # Test whether the compiler implicitly links with -lc since on some 9194 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9195 # to ld, don't add -lc before -lgcc. 9196 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9197$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9198 $RM conftest* 9199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9200 9201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9202 (eval $ac_compile) 2>&5 9203 ac_status=$? 9204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9205 (exit $ac_status); } 2>conftest.err; then 9206 soname=conftest 9207 lib=conftest 9208 libobjs=conftest.$ac_objext 9209 deplibs= 9210 wl=$lt_prog_compiler_wl 9211 pic_flag=$lt_prog_compiler_pic 9212 compiler_flags=-v 9213 linker_flags=-v 9214 verstring= 9215 output_objdir=. 9216 libname=conftest 9217 lt_save_allow_undefined_flag=$allow_undefined_flag 9218 allow_undefined_flag= 9219 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9221 ac_status=$? 9222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9223 (exit $ac_status); } 9224 then 9225 archive_cmds_need_lc=no 9226 else 9227 archive_cmds_need_lc=yes 9228 fi 9229 allow_undefined_flag=$lt_save_allow_undefined_flag 9230 else 9231 cat conftest.err 1>&5 9232 fi 9233 $RM conftest* 9234 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9235$as_echo "$archive_cmds_need_lc" >&6; } 9236 ;; 9237 esac 9238 fi 9239 ;; 9240esac 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 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 9399$as_echo_n "checking dynamic linker characteristics... " >&6; } 9400 9401if test "$GCC" = yes; then 9402 case $host_os in 9403 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9404 *) lt_awk_arg="/^libraries:/" ;; 9405 esac 9406 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9407 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9408 # if the path contains ";" then we assume it to be the separator 9409 # otherwise default to the standard path separator (i.e. ":") - it is 9410 # assumed that no part of a normal pathname contains ";" but that should 9411 # okay in the real world where ";" in dirpaths is itself problematic. 9412 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9413 else 9414 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9415 fi 9416 # Ok, now we have the path, separated by spaces, we can step through it 9417 # and add multilib dir if necessary. 9418 lt_tmp_lt_search_path_spec= 9419 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9420 for lt_sys_path in $lt_search_path_spec; do 9421 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9423 else 9424 test -d "$lt_sys_path" && \ 9425 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9426 fi 9427 done 9428 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9429BEGIN {RS=" "; FS="/|\n";} { 9430 lt_foo=""; 9431 lt_count=0; 9432 for (lt_i = NF; lt_i > 0; lt_i--) { 9433 if ($lt_i != "" && $lt_i != ".") { 9434 if ($lt_i == "..") { 9435 lt_count++; 9436 } else { 9437 if (lt_count == 0) { 9438 lt_foo="/" $lt_i lt_foo; 9439 } else { 9440 lt_count--; 9441 } 9442 } 9443 } 9444 } 9445 if (lt_foo != "") { lt_freq[lt_foo]++; } 9446 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9447}'` 9448 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9449else 9450 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9451fi 9452library_names_spec= 9453libname_spec='lib$name' 9454soname_spec= 9455shrext_cmds=".so" 9456postinstall_cmds= 9457postuninstall_cmds= 9458finish_cmds= 9459finish_eval= 9460shlibpath_var= 9461shlibpath_overrides_runpath=unknown 9462version_type=none 9463dynamic_linker="$host_os ld.so" 9464sys_lib_dlsearch_path_spec="/lib /usr/lib" 9465need_lib_prefix=unknown 9466hardcode_into_libs=no 9467 9468# when you set need_version to no, make sure it does not cause -set_version 9469# flags to be left without arguments 9470need_version=unknown 9471 9472case $host_os in 9473aix3*) 9474 version_type=linux 9475 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9476 shlibpath_var=LIBPATH 9477 9478 # AIX 3 has no versioning support, so we append a major version to the name. 9479 soname_spec='${libname}${release}${shared_ext}$major' 9480 ;; 9481 9482aix[4-9]*) 9483 version_type=linux 9484 need_lib_prefix=no 9485 need_version=no 9486 hardcode_into_libs=yes 9487 if test "$host_cpu" = ia64; then 9488 # AIX 5 supports IA64 9489 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9490 shlibpath_var=LD_LIBRARY_PATH 9491 else 9492 # With GCC up to 2.95.x, collect2 would create an import file 9493 # for dependence libraries. The import file would start with 9494 # the line `#! .'. This would cause the generated library to 9495 # depend on `.', always an invalid library. This was fixed in 9496 # development snapshots of GCC prior to 3.0. 9497 case $host_os in 9498 aix4 | aix4.[01] | aix4.[01].*) 9499 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9500 echo ' yes ' 9501 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9502 : 9503 else 9504 can_build_shared=no 9505 fi 9506 ;; 9507 esac 9508 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9509 # soname into executable. Probably we can add versioning support to 9510 # collect2, so additional links can be useful in future. 9511 if test "$aix_use_runtimelinking" = yes; then 9512 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9513 # instead of lib<name>.a to let people know that these are not 9514 # typical AIX shared libraries. 9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9516 else 9517 # We preserve .a as extension for shared libraries through AIX4.2 9518 # and later when we are not doing run time linking. 9519 library_names_spec='${libname}${release}.a $libname.a' 9520 soname_spec='${libname}${release}${shared_ext}$major' 9521 fi 9522 shlibpath_var=LIBPATH 9523 fi 9524 ;; 9525 9526amigaos*) 9527 case $host_cpu in 9528 powerpc) 9529 # Since July 2007 AmigaOS4 officially supports .so libraries. 9530 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9532 ;; 9533 m68k) 9534 library_names_spec='$libname.ixlibrary $libname.a' 9535 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9536 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' 9537 ;; 9538 esac 9539 ;; 9540 9541beos*) 9542 library_names_spec='${libname}${shared_ext}' 9543 dynamic_linker="$host_os ld.so" 9544 shlibpath_var=LIBRARY_PATH 9545 ;; 9546 9547bsdi[45]*) 9548 version_type=linux 9549 need_version=no 9550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9551 soname_spec='${libname}${release}${shared_ext}$major' 9552 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9553 shlibpath_var=LD_LIBRARY_PATH 9554 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9555 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9556 # the default ld.so.conf also contains /usr/contrib/lib and 9557 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9558 # libtool to hard-code these into programs 9559 ;; 9560 9561cygwin* | mingw* | pw32* | cegcc*) 9562 version_type=windows 9563 shrext_cmds=".dll" 9564 need_version=no 9565 need_lib_prefix=no 9566 9567 case $GCC,$host_os in 9568 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9569 library_names_spec='$libname.dll.a' 9570 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9571 postinstall_cmds='base_file=`basename \${file}`~ 9572 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9573 dldir=$destdir/`dirname \$dlpath`~ 9574 test -d \$dldir || mkdir -p \$dldir~ 9575 $install_prog $dir/$dlname \$dldir/$dlname~ 9576 chmod a+x \$dldir/$dlname~ 9577 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9578 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9579 fi' 9580 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9581 dlpath=$dir/\$dldll~ 9582 $RM \$dlpath' 9583 shlibpath_overrides_runpath=yes 9584 9585 case $host_os in 9586 cygwin*) 9587 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9588 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9589 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9590 ;; 9591 mingw* | cegcc*) 9592 # MinGW DLLs use traditional 'lib' prefix 9593 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9594 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9595 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9596 # It is most probably a Windows format PATH printed by 9597 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9598 # path with ; separators, and with drive letters. We can handle the 9599 # drive letters (cygwin fileutils understands them), so leave them, 9600 # especially as we might pass files found there to a mingw objdump, 9601 # which wouldn't understand a cygwinified path. Ahh. 9602 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9603 else 9604 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9605 fi 9606 ;; 9607 pw32*) 9608 # pw32 DLLs use 'pw' prefix rather than 'lib' 9609 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9610 ;; 9611 esac 9612 ;; 9613 9614 *) 9615 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9616 ;; 9617 esac 9618 dynamic_linker='Win32 ld.exe' 9619 # FIXME: first we should search . and the directory the executable is in 9620 shlibpath_var=PATH 9621 ;; 9622 9623darwin* | rhapsody*) 9624 dynamic_linker="$host_os dyld" 9625 version_type=darwin 9626 need_lib_prefix=no 9627 need_version=no 9628 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9629 soname_spec='${libname}${release}${major}$shared_ext' 9630 shlibpath_overrides_runpath=yes 9631 shlibpath_var=DYLD_LIBRARY_PATH 9632 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9633 9634 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9635 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9636 ;; 9637 9638dgux*) 9639 version_type=linux 9640 need_lib_prefix=no 9641 need_version=no 9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9643 soname_spec='${libname}${release}${shared_ext}$major' 9644 shlibpath_var=LD_LIBRARY_PATH 9645 ;; 9646 9647freebsd1*) 9648 dynamic_linker=no 9649 ;; 9650 9651freebsd* | dragonfly*) 9652 # DragonFly does not have aout. When/if they implement a new 9653 # versioning mechanism, adjust this. 9654 if test -x /usr/bin/objformat; then 9655 objformat=`/usr/bin/objformat` 9656 else 9657 case $host_os in 9658 freebsd[123]*) objformat=aout ;; 9659 *) objformat=elf ;; 9660 esac 9661 fi 9662 version_type=freebsd-$objformat 9663 case $version_type in 9664 freebsd-elf*) 9665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9666 need_version=no 9667 need_lib_prefix=no 9668 ;; 9669 freebsd-*) 9670 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9671 need_version=yes 9672 ;; 9673 esac 9674 shlibpath_var=LD_LIBRARY_PATH 9675 case $host_os in 9676 freebsd2*) 9677 shlibpath_overrides_runpath=yes 9678 ;; 9679 freebsd3.[01]* | freebsdelf3.[01]*) 9680 shlibpath_overrides_runpath=yes 9681 hardcode_into_libs=yes 9682 ;; 9683 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9684 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9685 shlibpath_overrides_runpath=no 9686 hardcode_into_libs=yes 9687 ;; 9688 *) # from 4.6 on, and DragonFly 9689 shlibpath_overrides_runpath=yes 9690 hardcode_into_libs=yes 9691 ;; 9692 esac 9693 ;; 9694 9695gnu*) 9696 version_type=linux 9697 need_lib_prefix=no 9698 need_version=no 9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9700 soname_spec='${libname}${release}${shared_ext}$major' 9701 shlibpath_var=LD_LIBRARY_PATH 9702 hardcode_into_libs=yes 9703 ;; 9704 9705hpux9* | hpux10* | hpux11*) 9706 # Give a soname corresponding to the major version so that dld.sl refuses to 9707 # link against other versions. 9708 version_type=sunos 9709 need_lib_prefix=no 9710 need_version=no 9711 case $host_cpu in 9712 ia64*) 9713 shrext_cmds='.so' 9714 hardcode_into_libs=yes 9715 dynamic_linker="$host_os dld.so" 9716 shlibpath_var=LD_LIBRARY_PATH 9717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9719 soname_spec='${libname}${release}${shared_ext}$major' 9720 if test "X$HPUX_IA64_MODE" = X32; then 9721 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9722 else 9723 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9724 fi 9725 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9726 ;; 9727 hppa*64*) 9728 shrext_cmds='.sl' 9729 hardcode_into_libs=yes 9730 dynamic_linker="$host_os dld.sl" 9731 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9732 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9734 soname_spec='${libname}${release}${shared_ext}$major' 9735 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9736 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9737 ;; 9738 *) 9739 shrext_cmds='.sl' 9740 dynamic_linker="$host_os dld.sl" 9741 shlibpath_var=SHLIB_PATH 9742 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9744 soname_spec='${libname}${release}${shared_ext}$major' 9745 ;; 9746 esac 9747 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9748 postinstall_cmds='chmod 555 $lib' 9749 ;; 9750 9751interix[3-9]*) 9752 version_type=linux 9753 need_lib_prefix=no 9754 need_version=no 9755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9756 soname_spec='${libname}${release}${shared_ext}$major' 9757 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9758 shlibpath_var=LD_LIBRARY_PATH 9759 shlibpath_overrides_runpath=no 9760 hardcode_into_libs=yes 9761 ;; 9762 9763irix5* | irix6* | nonstopux*) 9764 case $host_os in 9765 nonstopux*) version_type=nonstopux ;; 9766 *) 9767 if test "$lt_cv_prog_gnu_ld" = yes; then 9768 version_type=linux 9769 else 9770 version_type=irix 9771 fi ;; 9772 esac 9773 need_lib_prefix=no 9774 need_version=no 9775 soname_spec='${libname}${release}${shared_ext}$major' 9776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9777 case $host_os in 9778 irix5* | nonstopux*) 9779 libsuff= shlibsuff= 9780 ;; 9781 *) 9782 case $LD in # libtool.m4 will add one of these switches to LD 9783 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9784 libsuff= shlibsuff= libmagic=32-bit;; 9785 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9786 libsuff=32 shlibsuff=N32 libmagic=N32;; 9787 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9788 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9789 *) libsuff= shlibsuff= libmagic=never-match;; 9790 esac 9791 ;; 9792 esac 9793 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9794 shlibpath_overrides_runpath=no 9795 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9796 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9797 hardcode_into_libs=yes 9798 ;; 9799 9800# No shared lib support for Linux oldld, aout, or coff. 9801linux*oldld* | linux*aout* | linux*coff*) 9802 dynamic_linker=no 9803 ;; 9804 9805# This must be Linux ELF. 9806linux* | k*bsd*-gnu) 9807 version_type=linux 9808 need_lib_prefix=no 9809 need_version=no 9810 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9811 soname_spec='${libname}${release}${shared_ext}$major' 9812 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9813 shlibpath_var=LD_LIBRARY_PATH 9814 shlibpath_overrides_runpath=no 9815 # Some binutils ld are patched to set DT_RUNPATH 9816 save_LDFLAGS=$LDFLAGS 9817 save_libdir=$libdir 9818 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9819 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9820 cat >conftest.$ac_ext <<_ACEOF 9821/* confdefs.h. */ 9822_ACEOF 9823cat confdefs.h >>conftest.$ac_ext 9824cat >>conftest.$ac_ext <<_ACEOF 9825/* end confdefs.h. */ 9826 9827int 9828main () 9829{ 9830 9831 ; 9832 return 0; 9833} 9834_ACEOF 9835rm -f conftest.$ac_objext conftest$ac_exeext 9836if { (ac_try="$ac_link" 9837case "(($ac_try" in 9838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9839 *) ac_try_echo=$ac_try;; 9840esac 9841eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9842$as_echo "$ac_try_echo") >&5 9843 (eval "$ac_link") 2>conftest.er1 9844 ac_status=$? 9845 grep -v '^ *+' conftest.er1 >conftest.err 9846 rm -f conftest.er1 9847 cat conftest.err >&5 9848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9849 (exit $ac_status); } && { 9850 test -z "$ac_c_werror_flag" || 9851 test ! -s conftest.err 9852 } && test -s conftest$ac_exeext && { 9853 test "$cross_compiling" = yes || 9854 $as_test_x conftest$ac_exeext 9855 }; then 9856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 9857 shlibpath_overrides_runpath=yes 9858fi 9859 9860else 9861 $as_echo "$as_me: failed program was:" >&5 9862sed 's/^/| /' conftest.$ac_ext >&5 9863 9864 9865fi 9866 9867rm -rf conftest.dSYM 9868rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9869 conftest$ac_exeext conftest.$ac_ext 9870 LDFLAGS=$save_LDFLAGS 9871 libdir=$save_libdir 9872 9873 # This implies no fast_install, which is unacceptable. 9874 # Some rework will be needed to allow for fast_install 9875 # before this can be enabled. 9876 hardcode_into_libs=yes 9877 9878 # Add ABI-specific directories to the system library path. 9879 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 9880 9881 # Append ld.so.conf contents to the search path 9882 if test -f /etc/ld.so.conf; then 9883 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' ' '` 9884 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 9885 fi 9886 9887 # We used to test for /lib/ld.so.1 and disable shared libraries on 9888 # powerpc, because MkLinux only supported shared libraries with the 9889 # GNU dynamic linker. Since this was broken with cross compilers, 9890 # most powerpc-linux boxes support dynamic linking these days and 9891 # people can always --disable-shared, the test was removed, and we 9892 # assume the GNU/Linux dynamic linker is in use. 9893 dynamic_linker='GNU/Linux ld.so' 9894 ;; 9895 9896netbsd*) 9897 version_type=sunos 9898 need_lib_prefix=no 9899 need_version=no 9900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9903 dynamic_linker='NetBSD (a.out) ld.so' 9904 else 9905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9906 soname_spec='${libname}${release}${shared_ext}$major' 9907 dynamic_linker='NetBSD ld.elf_so' 9908 fi 9909 shlibpath_var=LD_LIBRARY_PATH 9910 shlibpath_overrides_runpath=yes 9911 hardcode_into_libs=yes 9912 ;; 9913 9914newsos6) 9915 version_type=linux 9916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9917 shlibpath_var=LD_LIBRARY_PATH 9918 shlibpath_overrides_runpath=yes 9919 ;; 9920 9921*nto* | *qnx*) 9922 version_type=qnx 9923 need_lib_prefix=no 9924 need_version=no 9925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9926 soname_spec='${libname}${release}${shared_ext}$major' 9927 shlibpath_var=LD_LIBRARY_PATH 9928 shlibpath_overrides_runpath=no 9929 hardcode_into_libs=yes 9930 dynamic_linker='ldqnx.so' 9931 ;; 9932 9933openbsd*) 9934 version_type=sunos 9935 sys_lib_dlsearch_path_spec="/usr/lib" 9936 need_lib_prefix=no 9937 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9938 case $host_os in 9939 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9940 *) need_version=no ;; 9941 esac 9942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9944 shlibpath_var=LD_LIBRARY_PATH 9945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9946 case $host_os in 9947 openbsd2.[89] | openbsd2.[89].*) 9948 shlibpath_overrides_runpath=no 9949 ;; 9950 *) 9951 shlibpath_overrides_runpath=yes 9952 ;; 9953 esac 9954 else 9955 shlibpath_overrides_runpath=yes 9956 fi 9957 ;; 9958 9959os2*) 9960 libname_spec='$name' 9961 shrext_cmds=".dll" 9962 need_lib_prefix=no 9963 library_names_spec='$libname${shared_ext} $libname.a' 9964 dynamic_linker='OS/2 ld.exe' 9965 shlibpath_var=LIBPATH 9966 ;; 9967 9968osf3* | osf4* | osf5*) 9969 version_type=osf 9970 need_lib_prefix=no 9971 need_version=no 9972 soname_spec='${libname}${release}${shared_ext}$major' 9973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9974 shlibpath_var=LD_LIBRARY_PATH 9975 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9976 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9977 ;; 9978 9979rdos*) 9980 dynamic_linker=no 9981 ;; 9982 9983solaris*) 9984 version_type=linux 9985 need_lib_prefix=no 9986 need_version=no 9987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9988 soname_spec='${libname}${release}${shared_ext}$major' 9989 shlibpath_var=LD_LIBRARY_PATH 9990 shlibpath_overrides_runpath=yes 9991 hardcode_into_libs=yes 9992 # ldd complains unless libraries are executable 9993 postinstall_cmds='chmod +x $lib' 9994 ;; 9995 9996sunos4*) 9997 version_type=sunos 9998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9999 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10000 shlibpath_var=LD_LIBRARY_PATH 10001 shlibpath_overrides_runpath=yes 10002 if test "$with_gnu_ld" = yes; then 10003 need_lib_prefix=no 10004 fi 10005 need_version=yes 10006 ;; 10007 10008sysv4 | sysv4.3*) 10009 version_type=linux 10010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10011 soname_spec='${libname}${release}${shared_ext}$major' 10012 shlibpath_var=LD_LIBRARY_PATH 10013 case $host_vendor in 10014 sni) 10015 shlibpath_overrides_runpath=no 10016 need_lib_prefix=no 10017 runpath_var=LD_RUN_PATH 10018 ;; 10019 siemens) 10020 need_lib_prefix=no 10021 ;; 10022 motorola) 10023 need_lib_prefix=no 10024 need_version=no 10025 shlibpath_overrides_runpath=no 10026 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10027 ;; 10028 esac 10029 ;; 10030 10031sysv4*MP*) 10032 if test -d /usr/nec ;then 10033 version_type=linux 10034 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10035 soname_spec='$libname${shared_ext}.$major' 10036 shlibpath_var=LD_LIBRARY_PATH 10037 fi 10038 ;; 10039 10040sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10041 version_type=freebsd-elf 10042 need_lib_prefix=no 10043 need_version=no 10044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10045 soname_spec='${libname}${release}${shared_ext}$major' 10046 shlibpath_var=LD_LIBRARY_PATH 10047 shlibpath_overrides_runpath=yes 10048 hardcode_into_libs=yes 10049 if test "$with_gnu_ld" = yes; then 10050 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10051 else 10052 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10053 case $host_os in 10054 sco3.2v5*) 10055 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10056 ;; 10057 esac 10058 fi 10059 sys_lib_dlsearch_path_spec='/usr/lib' 10060 ;; 10061 10062tpf*) 10063 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10064 version_type=linux 10065 need_lib_prefix=no 10066 need_version=no 10067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10068 shlibpath_var=LD_LIBRARY_PATH 10069 shlibpath_overrides_runpath=no 10070 hardcode_into_libs=yes 10071 ;; 10072 10073uts4*) 10074 version_type=linux 10075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10076 soname_spec='${libname}${release}${shared_ext}$major' 10077 shlibpath_var=LD_LIBRARY_PATH 10078 ;; 10079 10080*) 10081 dynamic_linker=no 10082 ;; 10083esac 10084{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10085$as_echo "$dynamic_linker" >&6; } 10086test "$dynamic_linker" = no && can_build_shared=no 10087 10088variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10089if test "$GCC" = yes; then 10090 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10091fi 10092 10093if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10094 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10095fi 10096if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10097 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10098fi 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 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10187$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10188hardcode_action= 10189if test -n "$hardcode_libdir_flag_spec" || 10190 test -n "$runpath_var" || 10191 test "X$hardcode_automatic" = "Xyes" ; then 10192 10193 # We can hardcode non-existent directories. 10194 if test "$hardcode_direct" != no && 10195 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10196 # have to relink, otherwise we might link with an installed library 10197 # when we should be linking with a yet-to-be-installed one 10198 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10199 test "$hardcode_minus_L" != no; then 10200 # Linking always hardcodes the temporary library directory. 10201 hardcode_action=relink 10202 else 10203 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10204 hardcode_action=immediate 10205 fi 10206else 10207 # We cannot hardcode anything, or else we can only hardcode existing 10208 # directories. 10209 hardcode_action=unsupported 10210fi 10211{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10212$as_echo "$hardcode_action" >&6; } 10213 10214if test "$hardcode_action" = relink || 10215 test "$inherit_rpath" = yes; then 10216 # Fast installation is not supported 10217 enable_fast_install=no 10218elif test "$shlibpath_overrides_runpath" = yes || 10219 test "$enable_shared" = no; then 10220 # Fast installation is not necessary 10221 enable_fast_install=needless 10222fi 10223 10224 10225 10226 10227 10228 10229 if test "x$enable_dlopen" != xyes; then 10230 enable_dlopen=unknown 10231 enable_dlopen_self=unknown 10232 enable_dlopen_self_static=unknown 10233else 10234 lt_cv_dlopen=no 10235 lt_cv_dlopen_libs= 10236 10237 case $host_os in 10238 beos*) 10239 lt_cv_dlopen="load_add_on" 10240 lt_cv_dlopen_libs= 10241 lt_cv_dlopen_self=yes 10242 ;; 10243 10244 mingw* | pw32* | cegcc*) 10245 lt_cv_dlopen="LoadLibrary" 10246 lt_cv_dlopen_libs= 10247 ;; 10248 10249 cygwin*) 10250 lt_cv_dlopen="dlopen" 10251 lt_cv_dlopen_libs= 10252 ;; 10253 10254 darwin*) 10255 # if libdl is installed we need to link against it 10256 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10257$as_echo_n "checking for dlopen in -ldl... " >&6; } 10258if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10259 $as_echo_n "(cached) " >&6 10260else 10261 ac_check_lib_save_LIBS=$LIBS 10262LIBS="-ldl $LIBS" 10263cat >conftest.$ac_ext <<_ACEOF 10264/* confdefs.h. */ 10265_ACEOF 10266cat confdefs.h >>conftest.$ac_ext 10267cat >>conftest.$ac_ext <<_ACEOF 10268/* end confdefs.h. */ 10269 10270/* Override any GCC internal prototype to avoid an error. 10271 Use char because int might match the return type of a GCC 10272 builtin and then its argument prototype would still apply. */ 10273#ifdef __cplusplus 10274extern "C" 10275#endif 10276char dlopen (); 10277int 10278main () 10279{ 10280return dlopen (); 10281 ; 10282 return 0; 10283} 10284_ACEOF 10285rm -f conftest.$ac_objext conftest$ac_exeext 10286if { (ac_try="$ac_link" 10287case "(($ac_try" in 10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10289 *) ac_try_echo=$ac_try;; 10290esac 10291eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10292$as_echo "$ac_try_echo") >&5 10293 (eval "$ac_link") 2>conftest.er1 10294 ac_status=$? 10295 grep -v '^ *+' conftest.er1 >conftest.err 10296 rm -f conftest.er1 10297 cat conftest.err >&5 10298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10299 (exit $ac_status); } && { 10300 test -z "$ac_c_werror_flag" || 10301 test ! -s conftest.err 10302 } && test -s conftest$ac_exeext && { 10303 test "$cross_compiling" = yes || 10304 $as_test_x conftest$ac_exeext 10305 }; then 10306 ac_cv_lib_dl_dlopen=yes 10307else 10308 $as_echo "$as_me: failed program was:" >&5 10309sed 's/^/| /' conftest.$ac_ext >&5 10310 10311 ac_cv_lib_dl_dlopen=no 10312fi 10313 10314rm -rf conftest.dSYM 10315rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10316 conftest$ac_exeext conftest.$ac_ext 10317LIBS=$ac_check_lib_save_LIBS 10318fi 10319{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10320$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10321if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10322 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10323else 10324 10325 lt_cv_dlopen="dyld" 10326 lt_cv_dlopen_libs= 10327 lt_cv_dlopen_self=yes 10328 10329fi 10330 10331 ;; 10332 10333 *) 10334 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 10335$as_echo_n "checking for shl_load... " >&6; } 10336if test "${ac_cv_func_shl_load+set}" = set; then 10337 $as_echo_n "(cached) " >&6 10338else 10339 cat >conftest.$ac_ext <<_ACEOF 10340/* confdefs.h. */ 10341_ACEOF 10342cat confdefs.h >>conftest.$ac_ext 10343cat >>conftest.$ac_ext <<_ACEOF 10344/* end confdefs.h. */ 10345/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 10346 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10347#define shl_load innocuous_shl_load 10348 10349/* System header to define __stub macros and hopefully few prototypes, 10350 which can conflict with char shl_load (); below. 10351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10352 <limits.h> exists even on freestanding compilers. */ 10353 10354#ifdef __STDC__ 10355# include <limits.h> 10356#else 10357# include <assert.h> 10358#endif 10359 10360#undef shl_load 10361 10362/* Override any GCC internal prototype to avoid an error. 10363 Use char because int might match the return type of a GCC 10364 builtin and then its argument prototype would still apply. */ 10365#ifdef __cplusplus 10366extern "C" 10367#endif 10368char shl_load (); 10369/* The GNU C library defines this for functions which it implements 10370 to always fail with ENOSYS. Some functions are actually named 10371 something starting with __ and the normal name is an alias. */ 10372#if defined __stub_shl_load || defined __stub___shl_load 10373choke me 10374#endif 10375 10376int 10377main () 10378{ 10379return shl_load (); 10380 ; 10381 return 0; 10382} 10383_ACEOF 10384rm -f conftest.$ac_objext conftest$ac_exeext 10385if { (ac_try="$ac_link" 10386case "(($ac_try" in 10387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10388 *) ac_try_echo=$ac_try;; 10389esac 10390eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10391$as_echo "$ac_try_echo") >&5 10392 (eval "$ac_link") 2>conftest.er1 10393 ac_status=$? 10394 grep -v '^ *+' conftest.er1 >conftest.err 10395 rm -f conftest.er1 10396 cat conftest.err >&5 10397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10398 (exit $ac_status); } && { 10399 test -z "$ac_c_werror_flag" || 10400 test ! -s conftest.err 10401 } && test -s conftest$ac_exeext && { 10402 test "$cross_compiling" = yes || 10403 $as_test_x conftest$ac_exeext 10404 }; then 10405 ac_cv_func_shl_load=yes 10406else 10407 $as_echo "$as_me: failed program was:" >&5 10408sed 's/^/| /' conftest.$ac_ext >&5 10409 10410 ac_cv_func_shl_load=no 10411fi 10412 10413rm -rf conftest.dSYM 10414rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10415 conftest$ac_exeext conftest.$ac_ext 10416fi 10417{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 10418$as_echo "$ac_cv_func_shl_load" >&6; } 10419if test "x$ac_cv_func_shl_load" = x""yes; then 10420 lt_cv_dlopen="shl_load" 10421else 10422 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 10423$as_echo_n "checking for shl_load in -ldld... " >&6; } 10424if test "${ac_cv_lib_dld_shl_load+set}" = set; then 10425 $as_echo_n "(cached) " >&6 10426else 10427 ac_check_lib_save_LIBS=$LIBS 10428LIBS="-ldld $LIBS" 10429cat >conftest.$ac_ext <<_ACEOF 10430/* confdefs.h. */ 10431_ACEOF 10432cat confdefs.h >>conftest.$ac_ext 10433cat >>conftest.$ac_ext <<_ACEOF 10434/* end confdefs.h. */ 10435 10436/* Override any GCC internal prototype to avoid an error. 10437 Use char because int might match the return type of a GCC 10438 builtin and then its argument prototype would still apply. */ 10439#ifdef __cplusplus 10440extern "C" 10441#endif 10442char shl_load (); 10443int 10444main () 10445{ 10446return shl_load (); 10447 ; 10448 return 0; 10449} 10450_ACEOF 10451rm -f conftest.$ac_objext conftest$ac_exeext 10452if { (ac_try="$ac_link" 10453case "(($ac_try" in 10454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10455 *) ac_try_echo=$ac_try;; 10456esac 10457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10458$as_echo "$ac_try_echo") >&5 10459 (eval "$ac_link") 2>conftest.er1 10460 ac_status=$? 10461 grep -v '^ *+' conftest.er1 >conftest.err 10462 rm -f conftest.er1 10463 cat conftest.err >&5 10464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10465 (exit $ac_status); } && { 10466 test -z "$ac_c_werror_flag" || 10467 test ! -s conftest.err 10468 } && test -s conftest$ac_exeext && { 10469 test "$cross_compiling" = yes || 10470 $as_test_x conftest$ac_exeext 10471 }; then 10472 ac_cv_lib_dld_shl_load=yes 10473else 10474 $as_echo "$as_me: failed program was:" >&5 10475sed 's/^/| /' conftest.$ac_ext >&5 10476 10477 ac_cv_lib_dld_shl_load=no 10478fi 10479 10480rm -rf conftest.dSYM 10481rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10482 conftest$ac_exeext conftest.$ac_ext 10483LIBS=$ac_check_lib_save_LIBS 10484fi 10485{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 10486$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 10487if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 10488 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 10489else 10490 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 10491$as_echo_n "checking for dlopen... " >&6; } 10492if test "${ac_cv_func_dlopen+set}" = set; then 10493 $as_echo_n "(cached) " >&6 10494else 10495 cat >conftest.$ac_ext <<_ACEOF 10496/* confdefs.h. */ 10497_ACEOF 10498cat confdefs.h >>conftest.$ac_ext 10499cat >>conftest.$ac_ext <<_ACEOF 10500/* end confdefs.h. */ 10501/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 10502 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 10503#define dlopen innocuous_dlopen 10504 10505/* System header to define __stub macros and hopefully few prototypes, 10506 which can conflict with char dlopen (); below. 10507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 10508 <limits.h> exists even on freestanding compilers. */ 10509 10510#ifdef __STDC__ 10511# include <limits.h> 10512#else 10513# include <assert.h> 10514#endif 10515 10516#undef dlopen 10517 10518/* Override any GCC internal prototype to avoid an error. 10519 Use char because int might match the return type of a GCC 10520 builtin and then its argument prototype would still apply. */ 10521#ifdef __cplusplus 10522extern "C" 10523#endif 10524char dlopen (); 10525/* The GNU C library defines this for functions which it implements 10526 to always fail with ENOSYS. Some functions are actually named 10527 something starting with __ and the normal name is an alias. */ 10528#if defined __stub_dlopen || defined __stub___dlopen 10529choke me 10530#endif 10531 10532int 10533main () 10534{ 10535return dlopen (); 10536 ; 10537 return 0; 10538} 10539_ACEOF 10540rm -f conftest.$ac_objext conftest$ac_exeext 10541if { (ac_try="$ac_link" 10542case "(($ac_try" in 10543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10544 *) ac_try_echo=$ac_try;; 10545esac 10546eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10547$as_echo "$ac_try_echo") >&5 10548 (eval "$ac_link") 2>conftest.er1 10549 ac_status=$? 10550 grep -v '^ *+' conftest.er1 >conftest.err 10551 rm -f conftest.er1 10552 cat conftest.err >&5 10553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10554 (exit $ac_status); } && { 10555 test -z "$ac_c_werror_flag" || 10556 test ! -s conftest.err 10557 } && test -s conftest$ac_exeext && { 10558 test "$cross_compiling" = yes || 10559 $as_test_x conftest$ac_exeext 10560 }; then 10561 ac_cv_func_dlopen=yes 10562else 10563 $as_echo "$as_me: failed program was:" >&5 10564sed 's/^/| /' conftest.$ac_ext >&5 10565 10566 ac_cv_func_dlopen=no 10567fi 10568 10569rm -rf conftest.dSYM 10570rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10571 conftest$ac_exeext conftest.$ac_ext 10572fi 10573{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 10574$as_echo "$ac_cv_func_dlopen" >&6; } 10575if test "x$ac_cv_func_dlopen" = x""yes; then 10576 lt_cv_dlopen="dlopen" 10577else 10578 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10579$as_echo_n "checking for dlopen in -ldl... " >&6; } 10580if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10581 $as_echo_n "(cached) " >&6 10582else 10583 ac_check_lib_save_LIBS=$LIBS 10584LIBS="-ldl $LIBS" 10585cat >conftest.$ac_ext <<_ACEOF 10586/* confdefs.h. */ 10587_ACEOF 10588cat confdefs.h >>conftest.$ac_ext 10589cat >>conftest.$ac_ext <<_ACEOF 10590/* end confdefs.h. */ 10591 10592/* Override any GCC internal prototype to avoid an error. 10593 Use char because int might match the return type of a GCC 10594 builtin and then its argument prototype would still apply. */ 10595#ifdef __cplusplus 10596extern "C" 10597#endif 10598char dlopen (); 10599int 10600main () 10601{ 10602return dlopen (); 10603 ; 10604 return 0; 10605} 10606_ACEOF 10607rm -f conftest.$ac_objext conftest$ac_exeext 10608if { (ac_try="$ac_link" 10609case "(($ac_try" in 10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10611 *) ac_try_echo=$ac_try;; 10612esac 10613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10614$as_echo "$ac_try_echo") >&5 10615 (eval "$ac_link") 2>conftest.er1 10616 ac_status=$? 10617 grep -v '^ *+' conftest.er1 >conftest.err 10618 rm -f conftest.er1 10619 cat conftest.err >&5 10620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10621 (exit $ac_status); } && { 10622 test -z "$ac_c_werror_flag" || 10623 test ! -s conftest.err 10624 } && test -s conftest$ac_exeext && { 10625 test "$cross_compiling" = yes || 10626 $as_test_x conftest$ac_exeext 10627 }; then 10628 ac_cv_lib_dl_dlopen=yes 10629else 10630 $as_echo "$as_me: failed program was:" >&5 10631sed 's/^/| /' conftest.$ac_ext >&5 10632 10633 ac_cv_lib_dl_dlopen=no 10634fi 10635 10636rm -rf conftest.dSYM 10637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10638 conftest$ac_exeext conftest.$ac_ext 10639LIBS=$ac_check_lib_save_LIBS 10640fi 10641{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 10642$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10643if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 10644 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10645else 10646 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 10647$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10648if test "${ac_cv_lib_svld_dlopen+set}" = set; then 10649 $as_echo_n "(cached) " >&6 10650else 10651 ac_check_lib_save_LIBS=$LIBS 10652LIBS="-lsvld $LIBS" 10653cat >conftest.$ac_ext <<_ACEOF 10654/* confdefs.h. */ 10655_ACEOF 10656cat confdefs.h >>conftest.$ac_ext 10657cat >>conftest.$ac_ext <<_ACEOF 10658/* end confdefs.h. */ 10659 10660/* Override any GCC internal prototype to avoid an error. 10661 Use char because int might match the return type of a GCC 10662 builtin and then its argument prototype would still apply. */ 10663#ifdef __cplusplus 10664extern "C" 10665#endif 10666char dlopen (); 10667int 10668main () 10669{ 10670return dlopen (); 10671 ; 10672 return 0; 10673} 10674_ACEOF 10675rm -f conftest.$ac_objext conftest$ac_exeext 10676if { (ac_try="$ac_link" 10677case "(($ac_try" in 10678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10679 *) ac_try_echo=$ac_try;; 10680esac 10681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10682$as_echo "$ac_try_echo") >&5 10683 (eval "$ac_link") 2>conftest.er1 10684 ac_status=$? 10685 grep -v '^ *+' conftest.er1 >conftest.err 10686 rm -f conftest.er1 10687 cat conftest.err >&5 10688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10689 (exit $ac_status); } && { 10690 test -z "$ac_c_werror_flag" || 10691 test ! -s conftest.err 10692 } && test -s conftest$ac_exeext && { 10693 test "$cross_compiling" = yes || 10694 $as_test_x conftest$ac_exeext 10695 }; then 10696 ac_cv_lib_svld_dlopen=yes 10697else 10698 $as_echo "$as_me: failed program was:" >&5 10699sed 's/^/| /' conftest.$ac_ext >&5 10700 10701 ac_cv_lib_svld_dlopen=no 10702fi 10703 10704rm -rf conftest.dSYM 10705rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10706 conftest$ac_exeext conftest.$ac_ext 10707LIBS=$ac_check_lib_save_LIBS 10708fi 10709{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 10710$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10711if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 10712 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10713else 10714 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 10715$as_echo_n "checking for dld_link in -ldld... " >&6; } 10716if test "${ac_cv_lib_dld_dld_link+set}" = set; then 10717 $as_echo_n "(cached) " >&6 10718else 10719 ac_check_lib_save_LIBS=$LIBS 10720LIBS="-ldld $LIBS" 10721cat >conftest.$ac_ext <<_ACEOF 10722/* confdefs.h. */ 10723_ACEOF 10724cat confdefs.h >>conftest.$ac_ext 10725cat >>conftest.$ac_ext <<_ACEOF 10726/* end confdefs.h. */ 10727 10728/* Override any GCC internal prototype to avoid an error. 10729 Use char because int might match the return type of a GCC 10730 builtin and then its argument prototype would still apply. */ 10731#ifdef __cplusplus 10732extern "C" 10733#endif 10734char dld_link (); 10735int 10736main () 10737{ 10738return dld_link (); 10739 ; 10740 return 0; 10741} 10742_ACEOF 10743rm -f conftest.$ac_objext conftest$ac_exeext 10744if { (ac_try="$ac_link" 10745case "(($ac_try" in 10746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10747 *) ac_try_echo=$ac_try;; 10748esac 10749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10750$as_echo "$ac_try_echo") >&5 10751 (eval "$ac_link") 2>conftest.er1 10752 ac_status=$? 10753 grep -v '^ *+' conftest.er1 >conftest.err 10754 rm -f conftest.er1 10755 cat conftest.err >&5 10756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10757 (exit $ac_status); } && { 10758 test -z "$ac_c_werror_flag" || 10759 test ! -s conftest.err 10760 } && test -s conftest$ac_exeext && { 10761 test "$cross_compiling" = yes || 10762 $as_test_x conftest$ac_exeext 10763 }; then 10764 ac_cv_lib_dld_dld_link=yes 10765else 10766 $as_echo "$as_me: failed program was:" >&5 10767sed 's/^/| /' conftest.$ac_ext >&5 10768 10769 ac_cv_lib_dld_dld_link=no 10770fi 10771 10772rm -rf conftest.dSYM 10773rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10774 conftest$ac_exeext conftest.$ac_ext 10775LIBS=$ac_check_lib_save_LIBS 10776fi 10777{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 10778$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10779if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 10780 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10781fi 10782 10783 10784fi 10785 10786 10787fi 10788 10789 10790fi 10791 10792 10793fi 10794 10795 10796fi 10797 10798 ;; 10799 esac 10800 10801 if test "x$lt_cv_dlopen" != xno; then 10802 enable_dlopen=yes 10803 else 10804 enable_dlopen=no 10805 fi 10806 10807 case $lt_cv_dlopen in 10808 dlopen) 10809 save_CPPFLAGS="$CPPFLAGS" 10810 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10811 10812 save_LDFLAGS="$LDFLAGS" 10813 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10814 10815 save_LIBS="$LIBS" 10816 LIBS="$lt_cv_dlopen_libs $LIBS" 10817 10818 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 10819$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10820if test "${lt_cv_dlopen_self+set}" = set; then 10821 $as_echo_n "(cached) " >&6 10822else 10823 if test "$cross_compiling" = yes; then : 10824 lt_cv_dlopen_self=cross 10825else 10826 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10827 lt_status=$lt_dlunknown 10828 cat > conftest.$ac_ext <<_LT_EOF 10829#line 10829 "configure" 10830#include "confdefs.h" 10831 10832#if HAVE_DLFCN_H 10833#include <dlfcn.h> 10834#endif 10835 10836#include <stdio.h> 10837 10838#ifdef RTLD_GLOBAL 10839# define LT_DLGLOBAL RTLD_GLOBAL 10840#else 10841# ifdef DL_GLOBAL 10842# define LT_DLGLOBAL DL_GLOBAL 10843# else 10844# define LT_DLGLOBAL 0 10845# endif 10846#endif 10847 10848/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10849 find out it does not work in some platform. */ 10850#ifndef LT_DLLAZY_OR_NOW 10851# ifdef RTLD_LAZY 10852# define LT_DLLAZY_OR_NOW RTLD_LAZY 10853# else 10854# ifdef DL_LAZY 10855# define LT_DLLAZY_OR_NOW DL_LAZY 10856# else 10857# ifdef RTLD_NOW 10858# define LT_DLLAZY_OR_NOW RTLD_NOW 10859# else 10860# ifdef DL_NOW 10861# define LT_DLLAZY_OR_NOW DL_NOW 10862# else 10863# define LT_DLLAZY_OR_NOW 0 10864# endif 10865# endif 10866# endif 10867# endif 10868#endif 10869 10870void fnord() { int i=42;} 10871int main () 10872{ 10873 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10874 int status = $lt_dlunknown; 10875 10876 if (self) 10877 { 10878 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10879 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10880 /* dlclose (self); */ 10881 } 10882 else 10883 puts (dlerror ()); 10884 10885 return status; 10886} 10887_LT_EOF 10888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10889 (eval $ac_link) 2>&5 10890 ac_status=$? 10891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10892 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10893 (./conftest; exit; ) >&5 2>/dev/null 10894 lt_status=$? 10895 case x$lt_status in 10896 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10897 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10898 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10899 esac 10900 else : 10901 # compilation failed 10902 lt_cv_dlopen_self=no 10903 fi 10904fi 10905rm -fr conftest* 10906 10907 10908fi 10909{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 10910$as_echo "$lt_cv_dlopen_self" >&6; } 10911 10912 if test "x$lt_cv_dlopen_self" = xyes; then 10913 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10914 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 10915$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10916if test "${lt_cv_dlopen_self_static+set}" = set; then 10917 $as_echo_n "(cached) " >&6 10918else 10919 if test "$cross_compiling" = yes; then : 10920 lt_cv_dlopen_self_static=cross 10921else 10922 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10923 lt_status=$lt_dlunknown 10924 cat > conftest.$ac_ext <<_LT_EOF 10925#line 10925 "configure" 10926#include "confdefs.h" 10927 10928#if HAVE_DLFCN_H 10929#include <dlfcn.h> 10930#endif 10931 10932#include <stdio.h> 10933 10934#ifdef RTLD_GLOBAL 10935# define LT_DLGLOBAL RTLD_GLOBAL 10936#else 10937# ifdef DL_GLOBAL 10938# define LT_DLGLOBAL DL_GLOBAL 10939# else 10940# define LT_DLGLOBAL 0 10941# endif 10942#endif 10943 10944/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10945 find out it does not work in some platform. */ 10946#ifndef LT_DLLAZY_OR_NOW 10947# ifdef RTLD_LAZY 10948# define LT_DLLAZY_OR_NOW RTLD_LAZY 10949# else 10950# ifdef DL_LAZY 10951# define LT_DLLAZY_OR_NOW DL_LAZY 10952# else 10953# ifdef RTLD_NOW 10954# define LT_DLLAZY_OR_NOW RTLD_NOW 10955# else 10956# ifdef DL_NOW 10957# define LT_DLLAZY_OR_NOW DL_NOW 10958# else 10959# define LT_DLLAZY_OR_NOW 0 10960# endif 10961# endif 10962# endif 10963# endif 10964#endif 10965 10966void fnord() { int i=42;} 10967int main () 10968{ 10969 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10970 int status = $lt_dlunknown; 10971 10972 if (self) 10973 { 10974 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10975 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10976 /* dlclose (self); */ 10977 } 10978 else 10979 puts (dlerror ()); 10980 10981 return status; 10982} 10983_LT_EOF 10984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10985 (eval $ac_link) 2>&5 10986 ac_status=$? 10987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10988 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 10989 (./conftest; exit; ) >&5 2>/dev/null 10990 lt_status=$? 10991 case x$lt_status in 10992 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10993 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10994 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10995 esac 10996 else : 10997 # compilation failed 10998 lt_cv_dlopen_self_static=no 10999 fi 11000fi 11001rm -fr conftest* 11002 11003 11004fi 11005{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 11006$as_echo "$lt_cv_dlopen_self_static" >&6; } 11007 fi 11008 11009 CPPFLAGS="$save_CPPFLAGS" 11010 LDFLAGS="$save_LDFLAGS" 11011 LIBS="$save_LIBS" 11012 ;; 11013 esac 11014 11015 case $lt_cv_dlopen_self in 11016 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11017 *) enable_dlopen_self=unknown ;; 11018 esac 11019 11020 case $lt_cv_dlopen_self_static in 11021 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11022 *) enable_dlopen_self_static=unknown ;; 11023 esac 11024fi 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042striplib= 11043old_striplib= 11044{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11045$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11046if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11047 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11048 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11049 { $as_echo "$as_me:$LINENO: result: yes" >&5 11050$as_echo "yes" >&6; } 11051else 11052# FIXME - insert some real tests, host_os isn't really good enough 11053 case $host_os in 11054 darwin*) 11055 if test -n "$STRIP" ; then 11056 striplib="$STRIP -x" 11057 old_striplib="$STRIP -S" 11058 { $as_echo "$as_me:$LINENO: result: yes" >&5 11059$as_echo "yes" >&6; } 11060 else 11061 { $as_echo "$as_me:$LINENO: result: no" >&5 11062$as_echo "no" >&6; } 11063 fi 11064 ;; 11065 *) 11066 { $as_echo "$as_me:$LINENO: result: no" >&5 11067$as_echo "no" >&6; } 11068 ;; 11069 esac 11070fi 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 # Report which library types will actually be built 11084 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11085$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11086 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11087$as_echo "$can_build_shared" >&6; } 11088 11089 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11090$as_echo_n "checking whether to build shared libraries... " >&6; } 11091 test "$can_build_shared" = "no" && enable_shared=no 11092 11093 # On AIX, shared libraries and static libraries use the same namespace, and 11094 # are all built from PIC. 11095 case $host_os in 11096 aix3*) 11097 test "$enable_shared" = yes && enable_static=no 11098 if test -n "$RANLIB"; then 11099 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11100 postinstall_cmds='$RANLIB $lib' 11101 fi 11102 ;; 11103 11104 aix[4-9]*) 11105 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11106 test "$enable_shared" = yes && enable_static=no 11107 fi 11108 ;; 11109 esac 11110 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11111$as_echo "$enable_shared" >&6; } 11112 11113 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11114$as_echo_n "checking whether to build static libraries... " >&6; } 11115 # Make sure either enable_shared or enable_static is yes. 11116 test "$enable_shared" = yes || enable_static=yes 11117 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11118$as_echo "$enable_static" >&6; } 11119 11120 11121 11122 11123fi 11124ac_ext=c 11125ac_cpp='$CPP $CPPFLAGS' 11126ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11127ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11128ac_compiler_gnu=$ac_cv_c_compiler_gnu 11129 11130CC="$lt_save_CC" 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 ac_config_commands="$ac_config_commands libtool" 11145 11146 11147 11148 11149# Only expand once: 11150 11151 11152 11153 11154if test "x$GCC" = xyes ; then 11155 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 11156-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 11157-Wbad-function-cast" 11158 case `$CC -dumpversion` in 11159 3.4.* | 4.*) 11160 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 11161 ;; 11162 esac 11163else 11164 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 11165$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 11166if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 11167 $as_echo_n "(cached) " >&6 11168else 11169 cat >conftest.$ac_ext <<_ACEOF 11170/* confdefs.h. */ 11171_ACEOF 11172cat confdefs.h >>conftest.$ac_ext 11173cat >>conftest.$ac_ext <<_ACEOF 11174/* end confdefs.h. */ 11175$ac_includes_default 11176int 11177main () 11178{ 11179#ifndef __SUNPRO_C 11180 (void) __SUNPRO_C; 11181#endif 11182 11183 ; 11184 return 0; 11185} 11186_ACEOF 11187rm -f conftest.$ac_objext 11188if { (ac_try="$ac_compile" 11189case "(($ac_try" in 11190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11191 *) ac_try_echo=$ac_try;; 11192esac 11193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11194$as_echo "$ac_try_echo") >&5 11195 (eval "$ac_compile") 2>conftest.er1 11196 ac_status=$? 11197 grep -v '^ *+' conftest.er1 >conftest.err 11198 rm -f conftest.er1 11199 cat conftest.err >&5 11200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11201 (exit $ac_status); } && { 11202 test -z "$ac_c_werror_flag" || 11203 test ! -s conftest.err 11204 } && test -s conftest.$ac_objext; then 11205 ac_cv_have_decl___SUNPRO_C=yes 11206else 11207 $as_echo "$as_me: failed program was:" >&5 11208sed 's/^/| /' conftest.$ac_ext >&5 11209 11210 ac_cv_have_decl___SUNPRO_C=no 11211fi 11212 11213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11214fi 11215{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 11216$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 11217if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 11218 SUNCC="yes" 11219else 11220 SUNCC="no" 11221fi 11222 11223 if test "x$SUNCC" = "xyes"; then 11224 CWARNFLAGS="-v" 11225 fi 11226fi 11227 11228# Check whether --enable-silent-rules was given. 11229if test "${enable_silent_rules+set}" = set; then 11230 enableval=$enable_silent_rules; 11231fi 11232 11233case $enable_silent_rules in 11234yes) AM_DEFAULT_VERBOSITY=0;; 11235no) AM_DEFAULT_VERBOSITY=1;; 11236*) AM_DEFAULT_VERBOSITY=0;; 11237esac 11238AM_BACKSLASH='\' 11239 11240 11241 11242 11243# Check whether --with-icondir was given. 11244if test "${with_icondir+set}" = set; then 11245 withval=$with_icondir; ICONDIR="$withval" 11246else 11247 ICONDIR=${datadir}/icons 11248fi 11249 11250 11251 11252DEF_CURSORPATH="~/.icons:${datadir}/icons:${datadir}/pixmaps" 11253if test "x${ICONDIR}" != "x${datadir}/icons"; then 11254 DEF_CURSORPATH="${DEF_CURSORPATH}:${ICONDIR}" 11255fi 11256 11257# Check whether --with-cursorpath was given. 11258if test "${with_cursorpath+set}" = set; then 11259 withval=$with_cursorpath; XCURSORPATH="$withval" 11260else 11261 XCURSORPATH=$DEF_CURSORPATH 11262fi 11263 11264 11265 11266# Reformat cursor path for man page 11267XCURSORPATH_LIST=`echo $XCURSORPATH | sed 's/:/, /g'` 11268 11269 11270# Check for X 11271 11272 11273if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 11274 if test -n "$ac_tool_prefix"; then 11275 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 11276set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 11277{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11278$as_echo_n "checking for $ac_word... " >&6; } 11279if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 11280 $as_echo_n "(cached) " >&6 11281else 11282 case $PKG_CONFIG in 11283 [\\/]* | ?:[\\/]*) 11284 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 11285 ;; 11286 *) 11287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11288for as_dir in $PATH 11289do 11290 IFS=$as_save_IFS 11291 test -z "$as_dir" && as_dir=. 11292 for ac_exec_ext in '' $ac_executable_extensions; do 11293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11294 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11295 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11296 break 2 11297 fi 11298done 11299done 11300IFS=$as_save_IFS 11301 11302 ;; 11303esac 11304fi 11305PKG_CONFIG=$ac_cv_path_PKG_CONFIG 11306if test -n "$PKG_CONFIG"; then 11307 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 11308$as_echo "$PKG_CONFIG" >&6; } 11309else 11310 { $as_echo "$as_me:$LINENO: result: no" >&5 11311$as_echo "no" >&6; } 11312fi 11313 11314 11315fi 11316if test -z "$ac_cv_path_PKG_CONFIG"; then 11317 ac_pt_PKG_CONFIG=$PKG_CONFIG 11318 # Extract the first word of "pkg-config", so it can be a program name with args. 11319set dummy pkg-config; ac_word=$2 11320{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11321$as_echo_n "checking for $ac_word... " >&6; } 11322if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 11323 $as_echo_n "(cached) " >&6 11324else 11325 case $ac_pt_PKG_CONFIG in 11326 [\\/]* | ?:[\\/]*) 11327 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 11328 ;; 11329 *) 11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11331for as_dir in $PATH 11332do 11333 IFS=$as_save_IFS 11334 test -z "$as_dir" && as_dir=. 11335 for ac_exec_ext in '' $ac_executable_extensions; do 11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11337 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 11338 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11339 break 2 11340 fi 11341done 11342done 11343IFS=$as_save_IFS 11344 11345 ;; 11346esac 11347fi 11348ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 11349if test -n "$ac_pt_PKG_CONFIG"; then 11350 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 11351$as_echo "$ac_pt_PKG_CONFIG" >&6; } 11352else 11353 { $as_echo "$as_me:$LINENO: result: no" >&5 11354$as_echo "no" >&6; } 11355fi 11356 11357 if test "x$ac_pt_PKG_CONFIG" = x; then 11358 PKG_CONFIG="" 11359 else 11360 case $cross_compiling:$ac_tool_warned in 11361yes:) 11362{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 11363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11364ac_tool_warned=yes ;; 11365esac 11366 PKG_CONFIG=$ac_pt_PKG_CONFIG 11367 fi 11368else 11369 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 11370fi 11371 11372fi 11373if test -n "$PKG_CONFIG"; then 11374 _pkg_min_version=0.9.0 11375 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 11376$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 11377 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 11378 { $as_echo "$as_me:$LINENO: result: yes" >&5 11379$as_echo "yes" >&6; } 11380 else 11381 { $as_echo "$as_me:$LINENO: result: no" >&5 11382$as_echo "no" >&6; } 11383 PKG_CONFIG="" 11384 fi 11385 11386fi 11387 11388pkg_failed=no 11389{ $as_echo "$as_me:$LINENO: checking for XCURSOR" >&5 11390$as_echo_n "checking for XCURSOR... " >&6; } 11391 11392if test -n "$XCURSOR_CFLAGS"; then 11393 pkg_cv_XCURSOR_CFLAGS="$XCURSOR_CFLAGS" 11394 elif test -n "$PKG_CONFIG"; then 11395 if test -n "$PKG_CONFIG" && \ 11396 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\"") >&5 11397 ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5 11398 ac_status=$? 11399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11400 (exit $ac_status); }; then 11401 pkg_cv_XCURSOR_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null` 11402else 11403 pkg_failed=yes 11404fi 11405 else 11406 pkg_failed=untried 11407fi 11408if test -n "$XCURSOR_LIBS"; then 11409 pkg_cv_XCURSOR_LIBS="$XCURSOR_LIBS" 11410 elif test -n "$PKG_CONFIG"; then 11411 if test -n "$PKG_CONFIG" && \ 11412 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 xfixes x11 fixesproto\"") >&5 11413 ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto") 2>&5 11414 ac_status=$? 11415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11416 (exit $ac_status); }; then 11417 pkg_cv_XCURSOR_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 xfixes x11 fixesproto" 2>/dev/null` 11418else 11419 pkg_failed=yes 11420fi 11421 else 11422 pkg_failed=untried 11423fi 11424 11425 11426 11427if test $pkg_failed = yes; then 11428 11429if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11430 _pkg_short_errors_supported=yes 11431else 11432 _pkg_short_errors_supported=no 11433fi 11434 if test $_pkg_short_errors_supported = yes; then 11435 XCURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1` 11436 else 11437 XCURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2 xfixes x11 fixesproto" 2>&1` 11438 fi 11439 # Put the nasty error message in config.log where it belongs 11440 echo "$XCURSOR_PKG_ERRORS" >&5 11441 11442 { { $as_echo "$as_me:$LINENO: error: Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met: 11443 11444$XCURSOR_PKG_ERRORS 11445 11446Consider adjusting the PKG_CONFIG_PATH environment variable if you 11447installed software in a non-standard prefix. 11448 11449Alternatively, you may set the environment variables XCURSOR_CFLAGS 11450and XCURSOR_LIBS to avoid the need to call pkg-config. 11451See the pkg-config man page for more details. 11452" >&5 11453$as_echo "$as_me: error: Package requirements (xrender >= 0.8.2 xfixes x11 fixesproto) were not met: 11454 11455$XCURSOR_PKG_ERRORS 11456 11457Consider adjusting the PKG_CONFIG_PATH environment variable if you 11458installed software in a non-standard prefix. 11459 11460Alternatively, you may set the environment variables XCURSOR_CFLAGS 11461and XCURSOR_LIBS to avoid the need to call pkg-config. 11462See the pkg-config man page for more details. 11463" >&2;} 11464 { (exit 1); exit 1; }; } 11465elif test $pkg_failed = untried; then 11466 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 11467$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11468{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 11469is in your PATH or set the PKG_CONFIG environment variable to the full 11470path to pkg-config. 11471 11472Alternatively, you may set the environment variables XCURSOR_CFLAGS 11473and XCURSOR_LIBS to avoid the need to call pkg-config. 11474See the pkg-config man page for more details. 11475 11476To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11477See \`config.log' for more details." >&5 11478$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 11479is in your PATH or set the PKG_CONFIG environment variable to the full 11480path to pkg-config. 11481 11482Alternatively, you may set the environment variables XCURSOR_CFLAGS 11483and XCURSOR_LIBS to avoid the need to call pkg-config. 11484See the pkg-config man page for more details. 11485 11486To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11487See \`config.log' for more details." >&2;} 11488 { (exit 1); exit 1; }; }; } 11489else 11490 XCURSOR_CFLAGS=$pkg_cv_XCURSOR_CFLAGS 11491 XCURSOR_LIBS=$pkg_cv_XCURSOR_LIBS 11492 { $as_echo "$as_me:$LINENO: result: yes" >&5 11493$as_echo "yes" >&6; } 11494 : 11495fi 11496 11497cat >>confdefs.h <<\_ACEOF 11498#define HAVE_XFIXES 1 11499_ACEOF 11500 11501XCURSOR_CFLAGS="$CWARNFLAGS $XCURSOR_CFLAGS" 11502 11503 11504 11505 11506 11507 11508if test x$APP_MAN_SUFFIX = x ; then 11509 APP_MAN_SUFFIX=1 11510fi 11511if test x$APP_MAN_DIR = x ; then 11512 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 11513fi 11514 11515if test x$LIB_MAN_SUFFIX = x ; then 11516 LIB_MAN_SUFFIX=3 11517fi 11518if test x$LIB_MAN_DIR = x ; then 11519 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 11520fi 11521 11522if test x$FILE_MAN_SUFFIX = x ; then 11523 case $host_os in 11524 solaris*) FILE_MAN_SUFFIX=4 ;; 11525 *) FILE_MAN_SUFFIX=5 ;; 11526 esac 11527fi 11528if test x$FILE_MAN_DIR = x ; then 11529 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 11530fi 11531 11532if test x$MISC_MAN_SUFFIX = x ; then 11533 case $host_os in 11534 solaris*) MISC_MAN_SUFFIX=5 ;; 11535 *) MISC_MAN_SUFFIX=7 ;; 11536 esac 11537fi 11538if test x$MISC_MAN_DIR = x ; then 11539 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 11540fi 11541 11542if test x$DRIVER_MAN_SUFFIX = x ; then 11543 case $host_os in 11544 solaris*) DRIVER_MAN_SUFFIX=7 ;; 11545 *) DRIVER_MAN_SUFFIX=4 ;; 11546 esac 11547fi 11548if test x$DRIVER_MAN_DIR = x ; then 11549 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 11550fi 11551 11552if test x$ADMIN_MAN_SUFFIX = x ; then 11553 case $host_os in 11554 solaris*) ADMIN_MAN_SUFFIX=1m ;; 11555 *) ADMIN_MAN_SUFFIX=8 ;; 11556 esac 11557fi 11558if test x$ADMIN_MAN_DIR = x ; then 11559 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 11560fi 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578# Check whether --with-release-version was given. 11579if test "${with_release_version+set}" = set; then 11580 withval=$with_release_version; RELEASE_VERSION="$withval" 11581else 11582 RELEASE_VERSION="" 11583fi 11584 11585 if test "x$RELEASE_VERSION" != "x"; then 11586 PACKAGE="$PACKAGE-$RELEASE_VERSION" 11587 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 11588 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 11589$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 11590 fi 11591 11592cat >>confdefs.h <<_ACEOF 11593#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 11594_ACEOF 11595 11596 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 11597 if test "x$PVM" = "x"; then 11598 PVM="0" 11599 fi 11600 11601cat >>confdefs.h <<_ACEOF 11602#define PACKAGE_VERSION_MINOR $PVM 11603_ACEOF 11604 11605 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 11606 if test "x$PVP" = "x"; then 11607 PVP="0" 11608 fi 11609 11610cat >>confdefs.h <<_ACEOF 11611#define PACKAGE_VERSION_PATCHLEVEL $PVP 11612_ACEOF 11613 11614 11615 11616CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 11617mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 11618echo 'git directory not found: installing possibly empty changelog.' >&2)" 11619 11620distcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 11621 11622 11623 11624 11625 11626# Allow checking code with lint, sparse, etc. 11627 11628# Check whether --with-lint was given. 11629if test "${with_lint+set}" = set; then 11630 withval=$with_lint; use_lint=$withval 11631else 11632 use_lint=no 11633fi 11634 11635if test "x$use_lint" = "xyes" ; then 11636 LINT="lint" 11637else 11638 LINT="$use_lint" 11639fi 11640if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then 11641 case $LINT in 11642 lint|*/lint) 11643 case $host_os in 11644 solaris*) 11645 LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 11646 ;; 11647 esac 11648 ;; 11649 esac 11650fi 11651 11652 11653 11654 if test x$LINT != xno; then 11655 LINT_TRUE= 11656 LINT_FALSE='#' 11657else 11658 LINT_TRUE='#' 11659 LINT_FALSE= 11660fi 11661 11662 11663 11664 11665ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcursor.pc" 11666 11667cat >confcache <<\_ACEOF 11668# This file is a shell script that caches the results of configure 11669# tests run on this system so they can be shared between configure 11670# scripts and configure runs, see configure's option --config-cache. 11671# It is not useful on other systems. If it contains results you don't 11672# want to keep, you may remove or edit it. 11673# 11674# config.status only pays attention to the cache file if you give it 11675# the --recheck option to rerun configure. 11676# 11677# `ac_cv_env_foo' variables (set or unset) will be overridden when 11678# loading this file, other *unset* `ac_cv_foo' will be assigned the 11679# following values. 11680 11681_ACEOF 11682 11683# The following way of writing the cache mishandles newlines in values, 11684# but we know of no workaround that is simple, portable, and efficient. 11685# So, we kill variables containing newlines. 11686# Ultrix sh set writes to stderr and can't be redirected directly, 11687# and sets the high bit in the cache file unless we assign to the vars. 11688( 11689 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11690 eval ac_val=\$$ac_var 11691 case $ac_val in #( 11692 *${as_nl}*) 11693 case $ac_var in #( 11694 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 11695$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11696 esac 11697 case $ac_var in #( 11698 _ | IFS | as_nl) ;; #( 11699 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11700 *) $as_unset $ac_var ;; 11701 esac ;; 11702 esac 11703 done 11704 11705 (set) 2>&1 | 11706 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11707 *${as_nl}ac_space=\ *) 11708 # `set' does not quote correctly, so add quotes (double-quote 11709 # substitution turns \\\\ into \\, and sed turns \\ into \). 11710 sed -n \ 11711 "s/'/'\\\\''/g; 11712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11713 ;; #( 11714 *) 11715 # `set' quotes correctly as required by POSIX, so do not add quotes. 11716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11717 ;; 11718 esac | 11719 sort 11720) | 11721 sed ' 11722 /^ac_cv_env_/b end 11723 t clear 11724 :clear 11725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11726 t end 11727 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11728 :end' >>confcache 11729if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11730 if test -w "$cache_file"; then 11731 test "x$cache_file" != "x/dev/null" && 11732 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 11733$as_echo "$as_me: updating cache $cache_file" >&6;} 11734 cat confcache >$cache_file 11735 else 11736 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 11737$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11738 fi 11739fi 11740rm -f confcache 11741 11742test "x$prefix" = xNONE && prefix=$ac_default_prefix 11743# Let make expand exec_prefix. 11744test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11745 11746DEFS=-DHAVE_CONFIG_H 11747 11748ac_libobjs= 11749ac_ltlibobjs= 11750for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11751 # 1. Remove the extension, and $U if already installed. 11752 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11753 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11754 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11755 # will be set to the directory where LIBOBJS objects are built. 11756 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11757 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 11758done 11759LIBOBJS=$ac_libobjs 11760 11761LTLIBOBJS=$ac_ltlibobjs 11762 11763 11764 if test -n "$EXEEXT"; then 11765 am__EXEEXT_TRUE= 11766 am__EXEEXT_FALSE='#' 11767else 11768 am__EXEEXT_TRUE='#' 11769 am__EXEEXT_FALSE= 11770fi 11771 11772if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11773 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 11774Usually this means the macro was only invoked conditionally." >&5 11775$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 11776Usually this means the macro was only invoked conditionally." >&2;} 11777 { (exit 1); exit 1; }; } 11778fi 11779if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11780 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 11781Usually this means the macro was only invoked conditionally." >&5 11782$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 11783Usually this means the macro was only invoked conditionally." >&2;} 11784 { (exit 1); exit 1; }; } 11785fi 11786if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11787 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 11788Usually this means the macro was only invoked conditionally." >&5 11789$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 11790Usually this means the macro was only invoked conditionally." >&2;} 11791 { (exit 1); exit 1; }; } 11792fi 11793if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 11794 { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined. 11795Usually this means the macro was only invoked conditionally." >&5 11796$as_echo "$as_me: error: conditional \"LINT\" was never defined. 11797Usually this means the macro was only invoked conditionally." >&2;} 11798 { (exit 1); exit 1; }; } 11799fi 11800 11801: ${CONFIG_STATUS=./config.status} 11802ac_write_fail=0 11803ac_clean_files_save=$ac_clean_files 11804ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11805{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 11806$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11807cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11808#! $SHELL 11809# Generated by $as_me. 11810# Run this file to recreate the current configuration. 11811# Compiler output produced by configure, useful for debugging 11812# configure, is in config.log if it exists. 11813 11814debug=false 11815ac_cs_recheck=false 11816ac_cs_silent=false 11817SHELL=\${CONFIG_SHELL-$SHELL} 11818_ACEOF 11819 11820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11821## --------------------- ## 11822## M4sh Initialization. ## 11823## --------------------- ## 11824 11825# Be more Bourne compatible 11826DUALCASE=1; export DUALCASE # for MKS sh 11827if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 11828 emulate sh 11829 NULLCMD=: 11830 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11831 # is contrary to our usage. Disable this feature. 11832 alias -g '${1+"$@"}'='"$@"' 11833 setopt NO_GLOB_SUBST 11834else 11835 case `(set -o) 2>/dev/null` in 11836 *posix*) set -o posix ;; 11837esac 11838 11839fi 11840 11841 11842 11843 11844# PATH needs CR 11845# Avoid depending upon Character Ranges. 11846as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11847as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11848as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11849as_cr_digits='0123456789' 11850as_cr_alnum=$as_cr_Letters$as_cr_digits 11851 11852as_nl=' 11853' 11854export as_nl 11855# Printing a long string crashes Solaris 7 /usr/bin/printf. 11856as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11857as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11858as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11859if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11860 as_echo='printf %s\n' 11861 as_echo_n='printf %s' 11862else 11863 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11864 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11865 as_echo_n='/usr/ucb/echo -n' 11866 else 11867 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11868 as_echo_n_body='eval 11869 arg=$1; 11870 case $arg in 11871 *"$as_nl"*) 11872 expr "X$arg" : "X\\(.*\\)$as_nl"; 11873 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11874 esac; 11875 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11876 ' 11877 export as_echo_n_body 11878 as_echo_n='sh -c $as_echo_n_body as_echo' 11879 fi 11880 export as_echo_body 11881 as_echo='sh -c $as_echo_body as_echo' 11882fi 11883 11884# The user is always right. 11885if test "${PATH_SEPARATOR+set}" != set; then 11886 PATH_SEPARATOR=: 11887 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11888 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11889 PATH_SEPARATOR=';' 11890 } 11891fi 11892 11893# Support unset when possible. 11894if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 11895 as_unset=unset 11896else 11897 as_unset=false 11898fi 11899 11900 11901# IFS 11902# We need space, tab and new line, in precisely that order. Quoting is 11903# there to prevent editors from complaining about space-tab. 11904# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11905# splitting by setting IFS to empty value.) 11906IFS=" "" $as_nl" 11907 11908# Find who we are. Look in the path if we contain no directory separator. 11909case $0 in 11910 *[\\/]* ) as_myself=$0 ;; 11911 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11912for as_dir in $PATH 11913do 11914 IFS=$as_save_IFS 11915 test -z "$as_dir" && as_dir=. 11916 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11917done 11918IFS=$as_save_IFS 11919 11920 ;; 11921esac 11922# We did not find ourselves, most probably we were run as `sh COMMAND' 11923# in which case we are not to be found in the path. 11924if test "x$as_myself" = x; then 11925 as_myself=$0 11926fi 11927if test ! -f "$as_myself"; then 11928 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11929 { (exit 1); exit 1; } 11930fi 11931 11932# Work around bugs in pre-3.0 UWIN ksh. 11933for as_var in ENV MAIL MAILPATH 11934do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11935done 11936PS1='$ ' 11937PS2='> ' 11938PS4='+ ' 11939 11940# NLS nuisances. 11941LC_ALL=C 11942export LC_ALL 11943LANGUAGE=C 11944export LANGUAGE 11945 11946# Required to use basename. 11947if expr a : '\(a\)' >/dev/null 2>&1 && 11948 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11949 as_expr=expr 11950else 11951 as_expr=false 11952fi 11953 11954if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11955 as_basename=basename 11956else 11957 as_basename=false 11958fi 11959 11960 11961# Name of the executable. 11962as_me=`$as_basename -- "$0" || 11963$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11964 X"$0" : 'X\(//\)$' \| \ 11965 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11966$as_echo X/"$0" | 11967 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11968 s//\1/ 11969 q 11970 } 11971 /^X\/\(\/\/\)$/{ 11972 s//\1/ 11973 q 11974 } 11975 /^X\/\(\/\).*/{ 11976 s//\1/ 11977 q 11978 } 11979 s/.*/./; q'` 11980 11981# CDPATH. 11982$as_unset CDPATH 11983 11984 11985 11986 as_lineno_1=$LINENO 11987 as_lineno_2=$LINENO 11988 test "x$as_lineno_1" != "x$as_lineno_2" && 11989 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 11990 11991 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 11992 # uniformly replaced by the line number. The first 'sed' inserts a 11993 # line-number line after each line using $LINENO; the second 'sed' 11994 # does the real work. The second script uses 'N' to pair each 11995 # line-number line with the line containing $LINENO, and appends 11996 # trailing '-' during substitution so that $LINENO is not a special 11997 # case at line end. 11998 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 11999 # scripts with optimization help from Paolo Bonzini. Blame Lee 12000 # E. McMahon (1931-1989) for sed's syntax. :-) 12001 sed -n ' 12002 p 12003 /[$]LINENO/= 12004 ' <$as_myself | 12005 sed ' 12006 s/[$]LINENO.*/&-/ 12007 t lineno 12008 b 12009 :lineno 12010 N 12011 :loop 12012 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12013 t loop 12014 s/-\n.*// 12015 ' >$as_me.lineno && 12016 chmod +x "$as_me.lineno" || 12017 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12018 { (exit 1); exit 1; }; } 12019 12020 # Don't try to exec as it changes $[0], causing all sort of problems 12021 # (the dirname of $[0] is not the place where we might find the 12022 # original and so on. Autoconf is especially sensitive to this). 12023 . "./$as_me.lineno" 12024 # Exit status is that of the last command. 12025 exit 12026} 12027 12028 12029if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12030 as_dirname=dirname 12031else 12032 as_dirname=false 12033fi 12034 12035ECHO_C= ECHO_N= ECHO_T= 12036case `echo -n x` in 12037-n*) 12038 case `echo 'x\c'` in 12039 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12040 *) ECHO_C='\c';; 12041 esac;; 12042*) 12043 ECHO_N='-n';; 12044esac 12045if expr a : '\(a\)' >/dev/null 2>&1 && 12046 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12047 as_expr=expr 12048else 12049 as_expr=false 12050fi 12051 12052rm -f conf$$ conf$$.exe conf$$.file 12053if test -d conf$$.dir; then 12054 rm -f conf$$.dir/conf$$.file 12055else 12056 rm -f conf$$.dir 12057 mkdir conf$$.dir 2>/dev/null 12058fi 12059if (echo >conf$$.file) 2>/dev/null; then 12060 if ln -s conf$$.file conf$$ 2>/dev/null; then 12061 as_ln_s='ln -s' 12062 # ... but there are two gotchas: 12063 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12064 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12065 # In both cases, we have to default to `cp -p'. 12066 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12067 as_ln_s='cp -p' 12068 elif ln conf$$.file conf$$ 2>/dev/null; then 12069 as_ln_s=ln 12070 else 12071 as_ln_s='cp -p' 12072 fi 12073else 12074 as_ln_s='cp -p' 12075fi 12076rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12077rmdir conf$$.dir 2>/dev/null 12078 12079if mkdir -p . 2>/dev/null; then 12080 as_mkdir_p=: 12081else 12082 test -d ./-p && rmdir ./-p 12083 as_mkdir_p=false 12084fi 12085 12086if test -x / >/dev/null 2>&1; then 12087 as_test_x='test -x' 12088else 12089 if ls -dL / >/dev/null 2>&1; then 12090 as_ls_L_option=L 12091 else 12092 as_ls_L_option= 12093 fi 12094 as_test_x=' 12095 eval sh -c '\'' 12096 if test -d "$1"; then 12097 test -d "$1/."; 12098 else 12099 case $1 in 12100 -*)set "./$1";; 12101 esac; 12102 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 12103 ???[sx]*):;;*)false;;esac;fi 12104 '\'' sh 12105 ' 12106fi 12107as_executable_p=$as_test_x 12108 12109# Sed expression to map a string onto a valid CPP name. 12110as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12111 12112# Sed expression to map a string onto a valid variable name. 12113as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12114 12115 12116exec 6>&1 12117 12118# Save the log message, to keep $[0] and so on meaningful, and to 12119# report actual input values of CONFIG_FILES etc. instead of their 12120# values after options handling. 12121ac_log=" 12122This file was extended by libXcursor $as_me 1.1.10, which was 12123generated by GNU Autoconf 2.63. Invocation command line was 12124 12125 CONFIG_FILES = $CONFIG_FILES 12126 CONFIG_HEADERS = $CONFIG_HEADERS 12127 CONFIG_LINKS = $CONFIG_LINKS 12128 CONFIG_COMMANDS = $CONFIG_COMMANDS 12129 $ $0 $@ 12130 12131on `(hostname || uname -n) 2>/dev/null | sed 1q` 12132" 12133 12134_ACEOF 12135 12136case $ac_config_files in *" 12137"*) set x $ac_config_files; shift; ac_config_files=$*;; 12138esac 12139 12140case $ac_config_headers in *" 12141"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 12142esac 12143 12144 12145cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12146# Files that config.status was made for. 12147config_files="$ac_config_files" 12148config_headers="$ac_config_headers" 12149config_commands="$ac_config_commands" 12150 12151_ACEOF 12152 12153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12154ac_cs_usage="\ 12155\`$as_me' instantiates files from templates according to the 12156current configuration. 12157 12158Usage: $0 [OPTION]... [FILE]... 12159 12160 -h, --help print this help, then exit 12161 -V, --version print version number and configuration settings, then exit 12162 -q, --quiet, --silent 12163 do not print progress messages 12164 -d, --debug don't remove temporary files 12165 --recheck update $as_me by reconfiguring in the same conditions 12166 --file=FILE[:TEMPLATE] 12167 instantiate the configuration file FILE 12168 --header=FILE[:TEMPLATE] 12169 instantiate the configuration header FILE 12170 12171Configuration files: 12172$config_files 12173 12174Configuration headers: 12175$config_headers 12176 12177Configuration commands: 12178$config_commands 12179 12180Report bugs to <bug-autoconf@gnu.org>." 12181 12182_ACEOF 12183cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12184ac_cs_version="\\ 12185libXcursor config.status 1.1.10 12186configured by $0, generated by GNU Autoconf 2.63, 12187 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12188 12189Copyright (C) 2008 Free Software Foundation, Inc. 12190This config.status script is free software; the Free Software Foundation 12191gives unlimited permission to copy, distribute and modify it." 12192 12193ac_pwd='$ac_pwd' 12194srcdir='$srcdir' 12195INSTALL='$INSTALL' 12196MKDIR_P='$MKDIR_P' 12197AWK='$AWK' 12198test -n "\$AWK" || AWK=awk 12199_ACEOF 12200 12201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12202# The default lists apply if the user does not specify any file. 12203ac_need_defaults=: 12204while test $# != 0 12205do 12206 case $1 in 12207 --*=*) 12208 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12209 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12210 ac_shift=: 12211 ;; 12212 *) 12213 ac_option=$1 12214 ac_optarg=$2 12215 ac_shift=shift 12216 ;; 12217 esac 12218 12219 case $ac_option in 12220 # Handling of the options. 12221 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12222 ac_cs_recheck=: ;; 12223 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12224 $as_echo "$ac_cs_version"; exit ;; 12225 --debug | --debu | --deb | --de | --d | -d ) 12226 debug=: ;; 12227 --file | --fil | --fi | --f ) 12228 $ac_shift 12229 case $ac_optarg in 12230 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12231 esac 12232 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 12233 ac_need_defaults=false;; 12234 --header | --heade | --head | --hea ) 12235 $ac_shift 12236 case $ac_optarg in 12237 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12238 esac 12239 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 12240 ac_need_defaults=false;; 12241 --he | --h) 12242 # Conflict between --help and --header 12243 { $as_echo "$as_me: error: ambiguous option: $1 12244Try \`$0 --help' for more information." >&2 12245 { (exit 1); exit 1; }; };; 12246 --help | --hel | -h ) 12247 $as_echo "$ac_cs_usage"; exit ;; 12248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12249 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12250 ac_cs_silent=: ;; 12251 12252 # This is an error. 12253 -*) { $as_echo "$as_me: error: unrecognized option: $1 12254Try \`$0 --help' for more information." >&2 12255 { (exit 1); exit 1; }; } ;; 12256 12257 *) ac_config_targets="$ac_config_targets $1" 12258 ac_need_defaults=false ;; 12259 12260 esac 12261 shift 12262done 12263 12264ac_configure_extra_args= 12265 12266if $ac_cs_silent; then 12267 exec 6>/dev/null 12268 ac_configure_extra_args="$ac_configure_extra_args --silent" 12269fi 12270 12271_ACEOF 12272cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12273if \$ac_cs_recheck; then 12274 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12275 shift 12276 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12277 CONFIG_SHELL='$SHELL' 12278 export CONFIG_SHELL 12279 exec "\$@" 12280fi 12281 12282_ACEOF 12283cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12284exec 5>>config.log 12285{ 12286 echo 12287 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12288## Running $as_me. ## 12289_ASBOX 12290 $as_echo "$ac_log" 12291} >&5 12292 12293_ACEOF 12294cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12295# 12296# INIT-COMMANDS 12297# 12298AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12299 12300 12301# The HP-UX ksh and POSIX shell print the target directory to stdout 12302# if CDPATH is set. 12303(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12304 12305sed_quote_subst='$sed_quote_subst' 12306double_quote_subst='$double_quote_subst' 12307delay_variable_subst='$delay_variable_subst' 12308macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 12309macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 12310enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 12311enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 12312pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 12313enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 12314host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 12315host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 12316host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 12317build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 12318build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 12319build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 12320SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 12321Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 12322GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 12323EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 12324FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 12325LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 12326NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 12327LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 12328max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 12329ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 12330exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 12331lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 12332lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 12333lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 12334reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 12335reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12336OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 12337deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 12338file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 12339AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 12340AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12341STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 12342RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 12343old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12344old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12345old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12346CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 12347CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12348compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 12349GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 12350lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 12351lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 12352lt_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"`' 12353lt_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"`' 12354objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 12355SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 12356ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 12357MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 12358lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 12359lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 12360lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 12361lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 12362lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 12363need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 12364DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 12365NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 12366LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 12367OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 12368OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 12369libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 12370shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12371extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12372archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 12373enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 12374export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12375whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12376compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 12377old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12378old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12379archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12380archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12381module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12382module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12383with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 12384allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12385no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12386hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12387hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 12388hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 12389hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 12390hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 12391hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 12392hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12393hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 12394inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 12395link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 12396fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 12397always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 12398export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12399exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12400include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12401prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12402file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 12403variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 12404need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 12405need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 12406version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 12407runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12408shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12409shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 12410libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12411library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 12412soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12413postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12414postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12415finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12416finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 12417hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 12418sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12419sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12420hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 12421enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 12422enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 12423enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 12424old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 12425striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 12426 12427LTCC='$LTCC' 12428LTCFLAGS='$LTCFLAGS' 12429compiler='$compiler_DEFAULT' 12430 12431# Quote evaled strings. 12432for var in SED \ 12433GREP \ 12434EGREP \ 12435FGREP \ 12436LD \ 12437NM \ 12438LN_S \ 12439lt_SP2NL \ 12440lt_NL2SP \ 12441reload_flag \ 12442OBJDUMP \ 12443deplibs_check_method \ 12444file_magic_cmd \ 12445AR \ 12446AR_FLAGS \ 12447STRIP \ 12448RANLIB \ 12449CC \ 12450CFLAGS \ 12451compiler \ 12452lt_cv_sys_global_symbol_pipe \ 12453lt_cv_sys_global_symbol_to_cdecl \ 12454lt_cv_sys_global_symbol_to_c_name_address \ 12455lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12456SHELL \ 12457ECHO \ 12458lt_prog_compiler_no_builtin_flag \ 12459lt_prog_compiler_wl \ 12460lt_prog_compiler_pic \ 12461lt_prog_compiler_static \ 12462lt_cv_prog_compiler_c_o \ 12463need_locks \ 12464DSYMUTIL \ 12465NMEDIT \ 12466LIPO \ 12467OTOOL \ 12468OTOOL64 \ 12469shrext_cmds \ 12470export_dynamic_flag_spec \ 12471whole_archive_flag_spec \ 12472compiler_needs_object \ 12473with_gnu_ld \ 12474allow_undefined_flag \ 12475no_undefined_flag \ 12476hardcode_libdir_flag_spec \ 12477hardcode_libdir_flag_spec_ld \ 12478hardcode_libdir_separator \ 12479fix_srcfile_path \ 12480exclude_expsyms \ 12481include_expsyms \ 12482file_list_spec \ 12483variables_saved_for_relink \ 12484libname_spec \ 12485library_names_spec \ 12486soname_spec \ 12487finish_eval \ 12488old_striplib \ 12489striplib; do 12490 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12491 *[\\\\\\\`\\"\\\$]*) 12492 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12493 ;; 12494 *) 12495 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12496 ;; 12497 esac 12498done 12499 12500# Double-quote double-evaled strings. 12501for var in reload_cmds \ 12502old_postinstall_cmds \ 12503old_postuninstall_cmds \ 12504old_archive_cmds \ 12505extract_expsyms_cmds \ 12506old_archive_from_new_cmds \ 12507old_archive_from_expsyms_cmds \ 12508archive_cmds \ 12509archive_expsym_cmds \ 12510module_cmds \ 12511module_expsym_cmds \ 12512export_symbols_cmds \ 12513prelink_cmds \ 12514postinstall_cmds \ 12515postuninstall_cmds \ 12516finish_cmds \ 12517sys_lib_search_path_spec \ 12518sys_lib_dlsearch_path_spec; do 12519 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12520 *[\\\\\\\`\\"\\\$]*) 12521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12522 ;; 12523 *) 12524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12525 ;; 12526 esac 12527done 12528 12529# Fix-up fallback echo if it was mangled by the above quoting rules. 12530case \$lt_ECHO in 12531*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 12532 ;; 12533esac 12534 12535ac_aux_dir='$ac_aux_dir' 12536xsi_shell='$xsi_shell' 12537lt_shell_append='$lt_shell_append' 12538 12539# See if we are running on zsh, and set the options which allow our 12540# commands through without removal of \ escapes INIT. 12541if test -n "\${ZSH_VERSION+set}" ; then 12542 setopt NO_GLOB_SUBST 12543fi 12544 12545 12546 PACKAGE='$PACKAGE' 12547 VERSION='$VERSION' 12548 TIMESTAMP='$TIMESTAMP' 12549 RM='$RM' 12550 ofile='$ofile' 12551 12552 12553 12554 12555_ACEOF 12556 12557cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12558 12559# Handling of arguments. 12560for ac_config_target in $ac_config_targets 12561do 12562 case $ac_config_target in 12563 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12564 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12565 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12566 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12567 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12568 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 12569 "xcursor.pc") CONFIG_FILES="$CONFIG_FILES xcursor.pc" ;; 12570 12571 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12572$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12573 { (exit 1); exit 1; }; };; 12574 esac 12575done 12576 12577 12578# If the user did not use the arguments to specify the items to instantiate, 12579# then the envvar interface is used. Set only those that are not. 12580# We use the long form for the default assignment because of an extremely 12581# bizarre bug on SunOS 4.1.3. 12582if $ac_need_defaults; then 12583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12586fi 12587 12588# Have a temporary directory for convenience. Make it in the build tree 12589# simply because there is no reason against having it here, and in addition, 12590# creating and moving files from /tmp can sometimes cause problems. 12591# Hook for its removal unless debugging. 12592# Note that there is a small window in which the directory will not be cleaned: 12593# after its creation but before its name has been assigned to `$tmp'. 12594$debug || 12595{ 12596 tmp= 12597 trap 'exit_status=$? 12598 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12599' 0 12600 trap '{ (exit 1); exit 1; }' 1 2 13 15 12601} 12602# Create a (secure) tmp directory for tmp files. 12603 12604{ 12605 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12606 test -n "$tmp" && test -d "$tmp" 12607} || 12608{ 12609 tmp=./conf$$-$RANDOM 12610 (umask 077 && mkdir "$tmp") 12611} || 12612{ 12613 $as_echo "$as_me: cannot create a temporary directory in ." >&2 12614 { (exit 1); exit 1; } 12615} 12616 12617# Set up the scripts for CONFIG_FILES section. 12618# No need to generate them if there are no CONFIG_FILES. 12619# This happens for instance with `./config.status config.h'. 12620if test -n "$CONFIG_FILES"; then 12621 12622 12623ac_cr=' 12624' 12625ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12626if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12627 ac_cs_awk_cr='\\r' 12628else 12629 ac_cs_awk_cr=$ac_cr 12630fi 12631 12632echo 'BEGIN {' >"$tmp/subs1.awk" && 12633_ACEOF 12634 12635 12636{ 12637 echo "cat >conf$$subs.awk <<_ACEOF" && 12638 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12639 echo "_ACEOF" 12640} >conf$$subs.sh || 12641 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12642$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12643 { (exit 1); exit 1; }; } 12644ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 12645ac_delim='%!_!# ' 12646for ac_last_try in false false false false false :; do 12647 . ./conf$$subs.sh || 12648 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12649$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12650 { (exit 1); exit 1; }; } 12651 12652 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12653 if test $ac_delim_n = $ac_delim_num; then 12654 break 12655 elif $ac_last_try; then 12656 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12657$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12658 { (exit 1); exit 1; }; } 12659 else 12660 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12661 fi 12662done 12663rm -f conf$$subs.sh 12664 12665cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12666cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 12667_ACEOF 12668sed -n ' 12669h 12670s/^/S["/; s/!.*/"]=/ 12671p 12672g 12673s/^[^!]*!// 12674:repl 12675t repl 12676s/'"$ac_delim"'$// 12677t delim 12678:nl 12679h 12680s/\(.\{148\}\).*/\1/ 12681t more1 12682s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12683p 12684n 12685b repl 12686:more1 12687s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12688p 12689g 12690s/.\{148\}// 12691t nl 12692:delim 12693h 12694s/\(.\{148\}\).*/\1/ 12695t more2 12696s/["\\]/\\&/g; s/^/"/; s/$/"/ 12697p 12698b 12699:more2 12700s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12701p 12702g 12703s/.\{148\}// 12704t delim 12705' <conf$$subs.awk | sed ' 12706/^[^""]/{ 12707 N 12708 s/\n// 12709} 12710' >>$CONFIG_STATUS || ac_write_fail=1 12711rm -f conf$$subs.awk 12712cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12713_ACAWK 12714cat >>"\$tmp/subs1.awk" <<_ACAWK && 12715 for (key in S) S_is_set[key] = 1 12716 FS = "" 12717 12718} 12719{ 12720 line = $ 0 12721 nfields = split(line, field, "@") 12722 substed = 0 12723 len = length(field[1]) 12724 for (i = 2; i < nfields; i++) { 12725 key = field[i] 12726 keylen = length(key) 12727 if (S_is_set[key]) { 12728 value = S[key] 12729 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12730 len += length(value) + length(field[++i]) 12731 substed = 1 12732 } else 12733 len += 1 + keylen 12734 } 12735 12736 print line 12737} 12738 12739_ACAWK 12740_ACEOF 12741cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12742if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12743 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12744else 12745 cat 12746fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 12747 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 12748$as_echo "$as_me: error: could not setup config files machinery" >&2;} 12749 { (exit 1); exit 1; }; } 12750_ACEOF 12751 12752# VPATH may cause trouble with some makes, so we remove $(srcdir), 12753# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 12754# trailing colons and then remove the whole line if VPATH becomes empty 12755# (actually we leave an empty line to preserve line numbers). 12756if test "x$srcdir" = x.; then 12757 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 12758s/:*\$(srcdir):*/:/ 12759s/:*\${srcdir}:*/:/ 12760s/:*@srcdir@:*/:/ 12761s/^\([^=]*=[ ]*\):*/\1/ 12762s/:*$// 12763s/^[^=]*=[ ]*$// 12764}' 12765fi 12766 12767cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12768fi # test -n "$CONFIG_FILES" 12769 12770# Set up the scripts for CONFIG_HEADERS section. 12771# No need to generate them if there are no CONFIG_HEADERS. 12772# This happens for instance with `./config.status Makefile'. 12773if test -n "$CONFIG_HEADERS"; then 12774cat >"$tmp/defines.awk" <<\_ACAWK || 12775BEGIN { 12776_ACEOF 12777 12778# Transform confdefs.h into an awk script `defines.awk', embedded as 12779# here-document in config.status, that substitutes the proper values into 12780# config.h.in to produce config.h. 12781 12782# Create a delimiter string that does not exist in confdefs.h, to ease 12783# handling of long lines. 12784ac_delim='%!_!# ' 12785for ac_last_try in false false :; do 12786 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 12787 if test -z "$ac_t"; then 12788 break 12789 elif $ac_last_try; then 12790 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 12791$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 12792 { (exit 1); exit 1; }; } 12793 else 12794 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12795 fi 12796done 12797 12798# For the awk script, D is an array of macro values keyed by name, 12799# likewise P contains macro parameters if any. Preserve backslash 12800# newline sequences. 12801 12802ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12803sed -n ' 12804s/.\{148\}/&'"$ac_delim"'/g 12805t rset 12806:rset 12807s/^[ ]*#[ ]*define[ ][ ]*/ / 12808t def 12809d 12810:def 12811s/\\$// 12812t bsnl 12813s/["\\]/\\&/g 12814s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12815D["\1"]=" \3"/p 12816s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12817d 12818:bsnl 12819s/["\\]/\\&/g 12820s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12821D["\1"]=" \3\\\\\\n"\\/p 12822t cont 12823s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12824t cont 12825d 12826:cont 12827n 12828s/.\{148\}/&'"$ac_delim"'/g 12829t clear 12830:clear 12831s/\\$// 12832t bsnlc 12833s/["\\]/\\&/g; s/^/"/; s/$/"/p 12834d 12835:bsnlc 12836s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12837b cont 12838' <confdefs.h | sed ' 12839s/'"$ac_delim"'/"\\\ 12840"/g' >>$CONFIG_STATUS || ac_write_fail=1 12841 12842cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12843 for (key in D) D_is_set[key] = 1 12844 FS = "" 12845} 12846/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12847 line = \$ 0 12848 split(line, arg, " ") 12849 if (arg[1] == "#") { 12850 defundef = arg[2] 12851 mac1 = arg[3] 12852 } else { 12853 defundef = substr(arg[1], 2) 12854 mac1 = arg[2] 12855 } 12856 split(mac1, mac2, "(") #) 12857 macro = mac2[1] 12858 prefix = substr(line, 1, index(line, defundef) - 1) 12859 if (D_is_set[macro]) { 12860 # Preserve the white space surrounding the "#". 12861 print prefix "define", macro P[macro] D[macro] 12862 next 12863 } else { 12864 # Replace #undef with comments. This is necessary, for example, 12865 # in the case of _POSIX_SOURCE, which is predefined and required 12866 # on some systems where configure will not decide to define it. 12867 if (defundef == "undef") { 12868 print "/*", prefix defundef, macro, "*/" 12869 next 12870 } 12871 } 12872} 12873{ print } 12874_ACAWK 12875_ACEOF 12876cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12877 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 12878$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 12879 { (exit 1); exit 1; }; } 12880fi # test -n "$CONFIG_HEADERS" 12881 12882 12883eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 12884shift 12885for ac_tag 12886do 12887 case $ac_tag in 12888 :[FHLC]) ac_mode=$ac_tag; continue;; 12889 esac 12890 case $ac_mode$ac_tag in 12891 :[FHL]*:*);; 12892 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 12893$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 12894 { (exit 1); exit 1; }; };; 12895 :[FH]-) ac_tag=-:-;; 12896 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12897 esac 12898 ac_save_IFS=$IFS 12899 IFS=: 12900 set x $ac_tag 12901 IFS=$ac_save_IFS 12902 shift 12903 ac_file=$1 12904 shift 12905 12906 case $ac_mode in 12907 :L) ac_source=$1;; 12908 :[FH]) 12909 ac_file_inputs= 12910 for ac_f 12911 do 12912 case $ac_f in 12913 -) ac_f="$tmp/stdin";; 12914 *) # Look for the file first in the build tree, then in the source tree 12915 # (if the path is not absolute). The absolute path cannot be DOS-style, 12916 # because $ac_f cannot contain `:'. 12917 test -f "$ac_f" || 12918 case $ac_f in 12919 [\\/$]*) false;; 12920 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12921 esac || 12922 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 12923$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 12924 { (exit 1); exit 1; }; };; 12925 esac 12926 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12927 ac_file_inputs="$ac_file_inputs '$ac_f'" 12928 done 12929 12930 # Let's still pretend it is `configure' which instantiates (i.e., don't 12931 # use $as_me), people would be surprised to read: 12932 # /* config.h. Generated by config.status. */ 12933 configure_input='Generated from '` 12934 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12935 `' by configure.' 12936 if test x"$ac_file" != x-; then 12937 configure_input="$ac_file. $configure_input" 12938 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 12939$as_echo "$as_me: creating $ac_file" >&6;} 12940 fi 12941 # Neutralize special characters interpreted by sed in replacement strings. 12942 case $configure_input in #( 12943 *\&* | *\|* | *\\* ) 12944 ac_sed_conf_input=`$as_echo "$configure_input" | 12945 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12946 *) ac_sed_conf_input=$configure_input;; 12947 esac 12948 12949 case $ac_tag in 12950 *:-:* | *:-) cat >"$tmp/stdin" \ 12951 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 12952$as_echo "$as_me: error: could not create $ac_file" >&2;} 12953 { (exit 1); exit 1; }; } ;; 12954 esac 12955 ;; 12956 esac 12957 12958 ac_dir=`$as_dirname -- "$ac_file" || 12959$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12960 X"$ac_file" : 'X\(//\)[^/]' \| \ 12961 X"$ac_file" : 'X\(//\)$' \| \ 12962 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12963$as_echo X"$ac_file" | 12964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12965 s//\1/ 12966 q 12967 } 12968 /^X\(\/\/\)[^/].*/{ 12969 s//\1/ 12970 q 12971 } 12972 /^X\(\/\/\)$/{ 12973 s//\1/ 12974 q 12975 } 12976 /^X\(\/\).*/{ 12977 s//\1/ 12978 q 12979 } 12980 s/.*/./; q'` 12981 { as_dir="$ac_dir" 12982 case $as_dir in #( 12983 -*) as_dir=./$as_dir;; 12984 esac 12985 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 12986 as_dirs= 12987 while :; do 12988 case $as_dir in #( 12989 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12990 *) as_qdir=$as_dir;; 12991 esac 12992 as_dirs="'$as_qdir' $as_dirs" 12993 as_dir=`$as_dirname -- "$as_dir" || 12994$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12995 X"$as_dir" : 'X\(//\)[^/]' \| \ 12996 X"$as_dir" : 'X\(//\)$' \| \ 12997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12998$as_echo X"$as_dir" | 12999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13000 s//\1/ 13001 q 13002 } 13003 /^X\(\/\/\)[^/].*/{ 13004 s//\1/ 13005 q 13006 } 13007 /^X\(\/\/\)$/{ 13008 s//\1/ 13009 q 13010 } 13011 /^X\(\/\).*/{ 13012 s//\1/ 13013 q 13014 } 13015 s/.*/./; q'` 13016 test -d "$as_dir" && break 13017 done 13018 test -z "$as_dirs" || eval "mkdir $as_dirs" 13019 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13020$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13021 { (exit 1); exit 1; }; }; } 13022 ac_builddir=. 13023 13024case "$ac_dir" in 13025.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13026*) 13027 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13028 # A ".." for each directory in $ac_dir_suffix. 13029 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13030 case $ac_top_builddir_sub in 13031 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13032 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13033 esac ;; 13034esac 13035ac_abs_top_builddir=$ac_pwd 13036ac_abs_builddir=$ac_pwd$ac_dir_suffix 13037# for backward compatibility: 13038ac_top_builddir=$ac_top_build_prefix 13039 13040case $srcdir in 13041 .) # We are building in place. 13042 ac_srcdir=. 13043 ac_top_srcdir=$ac_top_builddir_sub 13044 ac_abs_top_srcdir=$ac_pwd ;; 13045 [\\/]* | ?:[\\/]* ) # Absolute name. 13046 ac_srcdir=$srcdir$ac_dir_suffix; 13047 ac_top_srcdir=$srcdir 13048 ac_abs_top_srcdir=$srcdir ;; 13049 *) # Relative name. 13050 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13051 ac_top_srcdir=$ac_top_build_prefix$srcdir 13052 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13053esac 13054ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13055 13056 13057 case $ac_mode in 13058 :F) 13059 # 13060 # CONFIG_FILE 13061 # 13062 13063 case $INSTALL in 13064 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13065 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13066 esac 13067 ac_MKDIR_P=$MKDIR_P 13068 case $MKDIR_P in 13069 [\\/$]* | ?:[\\/]* ) ;; 13070 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13071 esac 13072_ACEOF 13073 13074cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13075# If the template does not know about datarootdir, expand it. 13076# FIXME: This hack should be removed a few years after 2.60. 13077ac_datarootdir_hack=; ac_datarootdir_seen= 13078 13079ac_sed_dataroot=' 13080/datarootdir/ { 13081 p 13082 q 13083} 13084/@datadir@/p 13085/@docdir@/p 13086/@infodir@/p 13087/@localedir@/p 13088/@mandir@/p 13089' 13090case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13091*datarootdir*) ac_datarootdir_seen=yes;; 13092*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13093 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13094$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13095_ACEOF 13096cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13097 ac_datarootdir_hack=' 13098 s&@datadir@&$datadir&g 13099 s&@docdir@&$docdir&g 13100 s&@infodir@&$infodir&g 13101 s&@localedir@&$localedir&g 13102 s&@mandir@&$mandir&g 13103 s&\\\${datarootdir}&$datarootdir&g' ;; 13104esac 13105_ACEOF 13106 13107# Neutralize VPATH when `$srcdir' = `.'. 13108# Shell code in configure.ac might set extrasub. 13109# FIXME: do we really want to maintain this feature? 13110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13111ac_sed_extra="$ac_vpsub 13112$extrasub 13113_ACEOF 13114cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13115:t 13116/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13117s|@configure_input@|$ac_sed_conf_input|;t t 13118s&@top_builddir@&$ac_top_builddir_sub&;t t 13119s&@top_build_prefix@&$ac_top_build_prefix&;t t 13120s&@srcdir@&$ac_srcdir&;t t 13121s&@abs_srcdir@&$ac_abs_srcdir&;t t 13122s&@top_srcdir@&$ac_top_srcdir&;t t 13123s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13124s&@builddir@&$ac_builddir&;t t 13125s&@abs_builddir@&$ac_abs_builddir&;t t 13126s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13127s&@INSTALL@&$ac_INSTALL&;t t 13128s&@MKDIR_P@&$ac_MKDIR_P&;t t 13129$ac_datarootdir_hack 13130" 13131eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13132 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13133$as_echo "$as_me: error: could not create $ac_file" >&2;} 13134 { (exit 1); exit 1; }; } 13135 13136test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13137 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13138 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13139 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13140which seems to be undefined. Please make sure it is defined." >&5 13141$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13142which seems to be undefined. Please make sure it is defined." >&2;} 13143 13144 rm -f "$tmp/stdin" 13145 case $ac_file in 13146 -) cat "$tmp/out" && rm -f "$tmp/out";; 13147 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13148 esac \ 13149 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13150$as_echo "$as_me: error: could not create $ac_file" >&2;} 13151 { (exit 1); exit 1; }; } 13152 ;; 13153 :H) 13154 # 13155 # CONFIG_HEADER 13156 # 13157 if test x"$ac_file" != x-; then 13158 { 13159 $as_echo "/* $configure_input */" \ 13160 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13161 } >"$tmp/config.h" \ 13162 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13163$as_echo "$as_me: error: could not create $ac_file" >&2;} 13164 { (exit 1); exit 1; }; } 13165 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13166 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 13167$as_echo "$as_me: $ac_file is unchanged" >&6;} 13168 else 13169 rm -f "$ac_file" 13170 mv "$tmp/config.h" "$ac_file" \ 13171 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13172$as_echo "$as_me: error: could not create $ac_file" >&2;} 13173 { (exit 1); exit 1; }; } 13174 fi 13175 else 13176 $as_echo "/* $configure_input */" \ 13177 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13178 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 13179$as_echo "$as_me: error: could not create -" >&2;} 13180 { (exit 1); exit 1; }; } 13181 fi 13182# Compute "$ac_file"'s index in $config_headers. 13183_am_arg="$ac_file" 13184_am_stamp_count=1 13185for _am_header in $config_headers :; do 13186 case $_am_header in 13187 $_am_arg | $_am_arg:* ) 13188 break ;; 13189 * ) 13190 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 13191 esac 13192done 13193echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 13194$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13195 X"$_am_arg" : 'X\(//\)[^/]' \| \ 13196 X"$_am_arg" : 'X\(//\)$' \| \ 13197 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 13198$as_echo X"$_am_arg" | 13199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13200 s//\1/ 13201 q 13202 } 13203 /^X\(\/\/\)[^/].*/{ 13204 s//\1/ 13205 q 13206 } 13207 /^X\(\/\/\)$/{ 13208 s//\1/ 13209 q 13210 } 13211 /^X\(\/\).*/{ 13212 s//\1/ 13213 q 13214 } 13215 s/.*/./; q'`/stamp-h$_am_stamp_count 13216 ;; 13217 13218 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 13219$as_echo "$as_me: executing $ac_file commands" >&6;} 13220 ;; 13221 esac 13222 13223 13224 case $ac_file$ac_mode in 13225 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13226 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13227 # are listed without --file. Let's play safe and only enable the eval 13228 # if we detect the quoting. 13229 case $CONFIG_FILES in 13230 *\'*) eval set x "$CONFIG_FILES" ;; 13231 *) set x $CONFIG_FILES ;; 13232 esac 13233 shift 13234 for mf 13235 do 13236 # Strip MF so we end up with the name of the file. 13237 mf=`echo "$mf" | sed -e 's/:.*$//'` 13238 # Check whether this is an Automake generated Makefile or not. 13239 # We used to match only the files named `Makefile.in', but 13240 # some people rename them; so instead we look at the file content. 13241 # Grep'ing the first line is not enough: some people post-process 13242 # each Makefile.in and add a new line on top of each file to say so. 13243 # Grep'ing the whole file is not good either: AIX grep has a line 13244 # limit of 2048, but all sed's we know have understand at least 4000. 13245 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13246 dirpart=`$as_dirname -- "$mf" || 13247$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13248 X"$mf" : 'X\(//\)[^/]' \| \ 13249 X"$mf" : 'X\(//\)$' \| \ 13250 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13251$as_echo X"$mf" | 13252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13253 s//\1/ 13254 q 13255 } 13256 /^X\(\/\/\)[^/].*/{ 13257 s//\1/ 13258 q 13259 } 13260 /^X\(\/\/\)$/{ 13261 s//\1/ 13262 q 13263 } 13264 /^X\(\/\).*/{ 13265 s//\1/ 13266 q 13267 } 13268 s/.*/./; q'` 13269 else 13270 continue 13271 fi 13272 # Extract the definition of DEPDIR, am__include, and am__quote 13273 # from the Makefile without running `make'. 13274 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13275 test -z "$DEPDIR" && continue 13276 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13277 test -z "am__include" && continue 13278 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13279 # When using ansi2knr, U may be empty or an underscore; expand it 13280 U=`sed -n 's/^U = //p' < "$mf"` 13281 # Find all dependency output files, they are included files with 13282 # $(DEPDIR) in their names. We invoke sed twice because it is the 13283 # simplest approach to changing $(DEPDIR) to its actual value in the 13284 # expansion. 13285 for file in `sed -n " 13286 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13287 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13288 # Make sure the directory exists. 13289 test -f "$dirpart/$file" && continue 13290 fdir=`$as_dirname -- "$file" || 13291$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13292 X"$file" : 'X\(//\)[^/]' \| \ 13293 X"$file" : 'X\(//\)$' \| \ 13294 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13295$as_echo X"$file" | 13296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13297 s//\1/ 13298 q 13299 } 13300 /^X\(\/\/\)[^/].*/{ 13301 s//\1/ 13302 q 13303 } 13304 /^X\(\/\/\)$/{ 13305 s//\1/ 13306 q 13307 } 13308 /^X\(\/\).*/{ 13309 s//\1/ 13310 q 13311 } 13312 s/.*/./; q'` 13313 { as_dir=$dirpart/$fdir 13314 case $as_dir in #( 13315 -*) as_dir=./$as_dir;; 13316 esac 13317 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13318 as_dirs= 13319 while :; do 13320 case $as_dir in #( 13321 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13322 *) as_qdir=$as_dir;; 13323 esac 13324 as_dirs="'$as_qdir' $as_dirs" 13325 as_dir=`$as_dirname -- "$as_dir" || 13326$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13327 X"$as_dir" : 'X\(//\)[^/]' \| \ 13328 X"$as_dir" : 'X\(//\)$' \| \ 13329 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13330$as_echo X"$as_dir" | 13331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13332 s//\1/ 13333 q 13334 } 13335 /^X\(\/\/\)[^/].*/{ 13336 s//\1/ 13337 q 13338 } 13339 /^X\(\/\/\)$/{ 13340 s//\1/ 13341 q 13342 } 13343 /^X\(\/\).*/{ 13344 s//\1/ 13345 q 13346 } 13347 s/.*/./; q'` 13348 test -d "$as_dir" && break 13349 done 13350 test -z "$as_dirs" || eval "mkdir $as_dirs" 13351 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13352$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13353 { (exit 1); exit 1; }; }; } 13354 # echo "creating $dirpart/$file" 13355 echo '# dummy' > "$dirpart/$file" 13356 done 13357 done 13358} 13359 ;; 13360 "libtool":C) 13361 13362 # See if we are running on zsh, and set the options which allow our 13363 # commands through without removal of \ escapes. 13364 if test -n "${ZSH_VERSION+set}" ; then 13365 setopt NO_GLOB_SUBST 13366 fi 13367 13368 cfgfile="${ofile}T" 13369 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13370 $RM "$cfgfile" 13371 13372 cat <<_LT_EOF >> "$cfgfile" 13373#! $SHELL 13374 13375# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13376# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13377# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13378# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13379# 13380# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13381# 2006, 2007, 2008 Free Software Foundation, Inc. 13382# Written by Gordon Matzigkeit, 1996 13383# 13384# This file is part of GNU Libtool. 13385# 13386# GNU Libtool is free software; you can redistribute it and/or 13387# modify it under the terms of the GNU General Public License as 13388# published by the Free Software Foundation; either version 2 of 13389# the License, or (at your option) any later version. 13390# 13391# As a special exception to the GNU General Public License, 13392# if you distribute this file as part of a program or library that 13393# is built using GNU Libtool, you may include this file under the 13394# same distribution terms that you use for the rest of that program. 13395# 13396# GNU Libtool is distributed in the hope that it will be useful, 13397# but WITHOUT ANY WARRANTY; without even the implied warranty of 13398# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13399# GNU General Public License for more details. 13400# 13401# You should have received a copy of the GNU General Public License 13402# along with GNU Libtool; see the file COPYING. If not, a copy 13403# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13404# obtained by writing to the Free Software Foundation, Inc., 13405# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13406 13407 13408# The names of the tagged configurations supported by this script. 13409available_tags="" 13410 13411# ### BEGIN LIBTOOL CONFIG 13412 13413# Which release of libtool.m4 was used? 13414macro_version=$macro_version 13415macro_revision=$macro_revision 13416 13417# Whether or not to build shared libraries. 13418build_libtool_libs=$enable_shared 13419 13420# Whether or not to build static libraries. 13421build_old_libs=$enable_static 13422 13423# What type of objects to build. 13424pic_mode=$pic_mode 13425 13426# Whether or not to optimize for fast installation. 13427fast_install=$enable_fast_install 13428 13429# The host system. 13430host_alias=$host_alias 13431host=$host 13432host_os=$host_os 13433 13434# The build system. 13435build_alias=$build_alias 13436build=$build 13437build_os=$build_os 13438 13439# A sed program that does not truncate output. 13440SED=$lt_SED 13441 13442# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13443Xsed="\$SED -e 1s/^X//" 13444 13445# A grep program that handles long lines. 13446GREP=$lt_GREP 13447 13448# An ERE matcher. 13449EGREP=$lt_EGREP 13450 13451# A literal string matcher. 13452FGREP=$lt_FGREP 13453 13454# A BSD- or MS-compatible name lister. 13455NM=$lt_NM 13456 13457# Whether we need soft or hard links. 13458LN_S=$lt_LN_S 13459 13460# What is the maximum length of a command? 13461max_cmd_len=$max_cmd_len 13462 13463# Object file suffix (normally "o"). 13464objext=$ac_objext 13465 13466# Executable file suffix (normally ""). 13467exeext=$exeext 13468 13469# whether the shell understands "unset". 13470lt_unset=$lt_unset 13471 13472# turn spaces into newlines. 13473SP2NL=$lt_lt_SP2NL 13474 13475# turn newlines into spaces. 13476NL2SP=$lt_lt_NL2SP 13477 13478# How to create reloadable object files. 13479reload_flag=$lt_reload_flag 13480reload_cmds=$lt_reload_cmds 13481 13482# An object symbol dumper. 13483OBJDUMP=$lt_OBJDUMP 13484 13485# Method to check whether dependent libraries are shared objects. 13486deplibs_check_method=$lt_deplibs_check_method 13487 13488# Command to use when deplibs_check_method == "file_magic". 13489file_magic_cmd=$lt_file_magic_cmd 13490 13491# The archiver. 13492AR=$lt_AR 13493AR_FLAGS=$lt_AR_FLAGS 13494 13495# A symbol stripping program. 13496STRIP=$lt_STRIP 13497 13498# Commands used to install an old-style archive. 13499RANLIB=$lt_RANLIB 13500old_postinstall_cmds=$lt_old_postinstall_cmds 13501old_postuninstall_cmds=$lt_old_postuninstall_cmds 13502 13503# A C compiler. 13504LTCC=$lt_CC 13505 13506# LTCC compiler flags. 13507LTCFLAGS=$lt_CFLAGS 13508 13509# Take the output of nm and produce a listing of raw symbols and C names. 13510global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13511 13512# Transform the output of nm in a proper C declaration. 13513global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13514 13515# Transform the output of nm in a C name address pair. 13516global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13517 13518# Transform the output of nm in a C name address pair when lib prefix is needed. 13519global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13520 13521# The name of the directory that contains temporary libtool files. 13522objdir=$objdir 13523 13524# Shell to use when invoking shell scripts. 13525SHELL=$lt_SHELL 13526 13527# An echo program that does not interpret backslashes. 13528ECHO=$lt_ECHO 13529 13530# Used to examine libraries when file_magic_cmd begins with "file". 13531MAGIC_CMD=$MAGIC_CMD 13532 13533# Must we lock files when doing compilation? 13534need_locks=$lt_need_locks 13535 13536# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13537DSYMUTIL=$lt_DSYMUTIL 13538 13539# Tool to change global to local symbols on Mac OS X. 13540NMEDIT=$lt_NMEDIT 13541 13542# Tool to manipulate fat objects and archives on Mac OS X. 13543LIPO=$lt_LIPO 13544 13545# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13546OTOOL=$lt_OTOOL 13547 13548# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13549OTOOL64=$lt_OTOOL64 13550 13551# Old archive suffix (normally "a"). 13552libext=$libext 13553 13554# Shared library suffix (normally ".so"). 13555shrext_cmds=$lt_shrext_cmds 13556 13557# The commands to extract the exported symbol list from a shared archive. 13558extract_expsyms_cmds=$lt_extract_expsyms_cmds 13559 13560# Variables whose values should be saved in libtool wrapper scripts and 13561# restored at link time. 13562variables_saved_for_relink=$lt_variables_saved_for_relink 13563 13564# Do we need the "lib" prefix for modules? 13565need_lib_prefix=$need_lib_prefix 13566 13567# Do we need a version for libraries? 13568need_version=$need_version 13569 13570# Library versioning type. 13571version_type=$version_type 13572 13573# Shared library runtime path variable. 13574runpath_var=$runpath_var 13575 13576# Shared library path variable. 13577shlibpath_var=$shlibpath_var 13578 13579# Is shlibpath searched before the hard-coded library search path? 13580shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13581 13582# Format of library name prefix. 13583libname_spec=$lt_libname_spec 13584 13585# List of archive names. First name is the real one, the rest are links. 13586# The last name is the one that the linker finds with -lNAME 13587library_names_spec=$lt_library_names_spec 13588 13589# The coded name of the library, if different from the real name. 13590soname_spec=$lt_soname_spec 13591 13592# Command to use after installation of a shared archive. 13593postinstall_cmds=$lt_postinstall_cmds 13594 13595# Command to use after uninstallation of a shared archive. 13596postuninstall_cmds=$lt_postuninstall_cmds 13597 13598# Commands used to finish a libtool library installation in a directory. 13599finish_cmds=$lt_finish_cmds 13600 13601# As "finish_cmds", except a single script fragment to be evaled but 13602# not shown. 13603finish_eval=$lt_finish_eval 13604 13605# Whether we should hardcode library paths into libraries. 13606hardcode_into_libs=$hardcode_into_libs 13607 13608# Compile-time system search path for libraries. 13609sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13610 13611# Run-time system search path for libraries. 13612sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13613 13614# Whether dlopen is supported. 13615dlopen_support=$enable_dlopen 13616 13617# Whether dlopen of programs is supported. 13618dlopen_self=$enable_dlopen_self 13619 13620# Whether dlopen of statically linked programs is supported. 13621dlopen_self_static=$enable_dlopen_self_static 13622 13623# Commands to strip libraries. 13624old_striplib=$lt_old_striplib 13625striplib=$lt_striplib 13626 13627 13628# The linker used to build libraries. 13629LD=$lt_LD 13630 13631# Commands used to build an old-style archive. 13632old_archive_cmds=$lt_old_archive_cmds 13633 13634# A language specific compiler. 13635CC=$lt_compiler 13636 13637# Is the compiler the GNU compiler? 13638with_gcc=$GCC 13639 13640# Compiler flag to turn off builtin functions. 13641no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13642 13643# How to pass a linker flag through the compiler. 13644wl=$lt_lt_prog_compiler_wl 13645 13646# Additional compiler flags for building library objects. 13647pic_flag=$lt_lt_prog_compiler_pic 13648 13649# Compiler flag to prevent dynamic linking. 13650link_static_flag=$lt_lt_prog_compiler_static 13651 13652# Does compiler simultaneously support -c and -o options? 13653compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13654 13655# Whether or not to add -lc for building shared libraries. 13656build_libtool_need_lc=$archive_cmds_need_lc 13657 13658# Whether or not to disallow shared libs when runtime libs are static. 13659allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13660 13661# Compiler flag to allow reflexive dlopens. 13662export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13663 13664# Compiler flag to generate shared objects directly from archives. 13665whole_archive_flag_spec=$lt_whole_archive_flag_spec 13666 13667# Whether the compiler copes with passing no objects directly. 13668compiler_needs_object=$lt_compiler_needs_object 13669 13670# Create an old-style archive from a shared archive. 13671old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13672 13673# Create a temporary old-style archive to link instead of a shared archive. 13674old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13675 13676# Commands used to build a shared archive. 13677archive_cmds=$lt_archive_cmds 13678archive_expsym_cmds=$lt_archive_expsym_cmds 13679 13680# Commands used to build a loadable module if different from building 13681# a shared archive. 13682module_cmds=$lt_module_cmds 13683module_expsym_cmds=$lt_module_expsym_cmds 13684 13685# Whether we are building with GNU ld or not. 13686with_gnu_ld=$lt_with_gnu_ld 13687 13688# Flag that allows shared libraries with undefined symbols to be built. 13689allow_undefined_flag=$lt_allow_undefined_flag 13690 13691# Flag that enforces no undefined symbols. 13692no_undefined_flag=$lt_no_undefined_flag 13693 13694# Flag to hardcode \$libdir into a binary during linking. 13695# This must work even if \$libdir does not exist 13696hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13697 13698# If ld is used when linking, flag to hardcode \$libdir into a binary 13699# during linking. This must work even if \$libdir does not exist. 13700hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 13701 13702# Whether we need a single "-rpath" flag with a separated argument. 13703hardcode_libdir_separator=$lt_hardcode_libdir_separator 13704 13705# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13706# DIR into the resulting binary. 13707hardcode_direct=$hardcode_direct 13708 13709# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13710# DIR into the resulting binary and the resulting library dependency is 13711# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13712# library is relocated. 13713hardcode_direct_absolute=$hardcode_direct_absolute 13714 13715# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13716# into the resulting binary. 13717hardcode_minus_L=$hardcode_minus_L 13718 13719# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13720# into the resulting binary. 13721hardcode_shlibpath_var=$hardcode_shlibpath_var 13722 13723# Set to "yes" if building a shared library automatically hardcodes DIR 13724# into the library and all subsequent libraries and executables linked 13725# against it. 13726hardcode_automatic=$hardcode_automatic 13727 13728# Set to yes if linker adds runtime paths of dependent libraries 13729# to runtime path list. 13730inherit_rpath=$inherit_rpath 13731 13732# Whether libtool must link a program against all its dependency libraries. 13733link_all_deplibs=$link_all_deplibs 13734 13735# Fix the shell variable \$srcfile for the compiler. 13736fix_srcfile_path=$lt_fix_srcfile_path 13737 13738# Set to "yes" if exported symbols are required. 13739always_export_symbols=$always_export_symbols 13740 13741# The commands to list exported symbols. 13742export_symbols_cmds=$lt_export_symbols_cmds 13743 13744# Symbols that should not be listed in the preloaded symbols. 13745exclude_expsyms=$lt_exclude_expsyms 13746 13747# Symbols that must always be exported. 13748include_expsyms=$lt_include_expsyms 13749 13750# Commands necessary for linking programs (against libraries) with templates. 13751prelink_cmds=$lt_prelink_cmds 13752 13753# Specify filename containing input files. 13754file_list_spec=$lt_file_list_spec 13755 13756# How to hardcode a shared library path into an executable. 13757hardcode_action=$hardcode_action 13758 13759# ### END LIBTOOL CONFIG 13760 13761_LT_EOF 13762 13763 case $host_os in 13764 aix3*) 13765 cat <<\_LT_EOF >> "$cfgfile" 13766# AIX sometimes has problems with the GCC collect2 program. For some 13767# reason, if we set the COLLECT_NAMES environment variable, the problems 13768# vanish in a puff of smoke. 13769if test "X${COLLECT_NAMES+set}" != Xset; then 13770 COLLECT_NAMES= 13771 export COLLECT_NAMES 13772fi 13773_LT_EOF 13774 ;; 13775 esac 13776 13777 13778ltmain="$ac_aux_dir/ltmain.sh" 13779 13780 13781 # We use sed instead of cat because bash on DJGPP gets confused if 13782 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13783 # text mode, it properly converts lines to CR/LF. This bash problem 13784 # is reportedly fixed, but why not run on old versions too? 13785 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 13786 || (rm -f "$cfgfile"; exit 1) 13787 13788 case $xsi_shell in 13789 yes) 13790 cat << \_LT_EOF >> "$cfgfile" 13791 13792# func_dirname file append nondir_replacement 13793# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13794# otherwise set result to NONDIR_REPLACEMENT. 13795func_dirname () 13796{ 13797 case ${1} in 13798 */*) func_dirname_result="${1%/*}${2}" ;; 13799 * ) func_dirname_result="${3}" ;; 13800 esac 13801} 13802 13803# func_basename file 13804func_basename () 13805{ 13806 func_basename_result="${1##*/}" 13807} 13808 13809# func_dirname_and_basename file append nondir_replacement 13810# perform func_basename and func_dirname in a single function 13811# call: 13812# dirname: Compute the dirname of FILE. If nonempty, 13813# add APPEND to the result, otherwise set result 13814# to NONDIR_REPLACEMENT. 13815# value returned in "$func_dirname_result" 13816# basename: Compute filename of FILE. 13817# value retuned in "$func_basename_result" 13818# Implementation must be kept synchronized with func_dirname 13819# and func_basename. For efficiency, we do not delegate to 13820# those functions but instead duplicate the functionality here. 13821func_dirname_and_basename () 13822{ 13823 case ${1} in 13824 */*) func_dirname_result="${1%/*}${2}" ;; 13825 * ) func_dirname_result="${3}" ;; 13826 esac 13827 func_basename_result="${1##*/}" 13828} 13829 13830# func_stripname prefix suffix name 13831# strip PREFIX and SUFFIX off of NAME. 13832# PREFIX and SUFFIX must not contain globbing or regex special 13833# characters, hashes, percent signs, but SUFFIX may contain a leading 13834# dot (in which case that matches only a dot). 13835func_stripname () 13836{ 13837 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 13838 # positional parameters, so assign one to ordinary parameter first. 13839 func_stripname_result=${3} 13840 func_stripname_result=${func_stripname_result#"${1}"} 13841 func_stripname_result=${func_stripname_result%"${2}"} 13842} 13843 13844# func_opt_split 13845func_opt_split () 13846{ 13847 func_opt_split_opt=${1%%=*} 13848 func_opt_split_arg=${1#*=} 13849} 13850 13851# func_lo2o object 13852func_lo2o () 13853{ 13854 case ${1} in 13855 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 13856 *) func_lo2o_result=${1} ;; 13857 esac 13858} 13859 13860# func_xform libobj-or-source 13861func_xform () 13862{ 13863 func_xform_result=${1%.*}.lo 13864} 13865 13866# func_arith arithmetic-term... 13867func_arith () 13868{ 13869 func_arith_result=$(( $* )) 13870} 13871 13872# func_len string 13873# STRING may not start with a hyphen. 13874func_len () 13875{ 13876 func_len_result=${#1} 13877} 13878 13879_LT_EOF 13880 ;; 13881 *) # Bourne compatible functions. 13882 cat << \_LT_EOF >> "$cfgfile" 13883 13884# func_dirname file append nondir_replacement 13885# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13886# otherwise set result to NONDIR_REPLACEMENT. 13887func_dirname () 13888{ 13889 # Extract subdirectory from the argument. 13890 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 13891 if test "X$func_dirname_result" = "X${1}"; then 13892 func_dirname_result="${3}" 13893 else 13894 func_dirname_result="$func_dirname_result${2}" 13895 fi 13896} 13897 13898# func_basename file 13899func_basename () 13900{ 13901 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 13902} 13903 13904 13905# func_stripname prefix suffix name 13906# strip PREFIX and SUFFIX off of NAME. 13907# PREFIX and SUFFIX must not contain globbing or regex special 13908# characters, hashes, percent signs, but SUFFIX may contain a leading 13909# dot (in which case that matches only a dot). 13910# func_strip_suffix prefix name 13911func_stripname () 13912{ 13913 case ${2} in 13914 .*) func_stripname_result=`$ECHO "X${3}" \ 13915 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 13916 *) func_stripname_result=`$ECHO "X${3}" \ 13917 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 13918 esac 13919} 13920 13921# sed scripts: 13922my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 13923my_sed_long_arg='1s/^-[^=]*=//' 13924 13925# func_opt_split 13926func_opt_split () 13927{ 13928 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 13929 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 13930} 13931 13932# func_lo2o object 13933func_lo2o () 13934{ 13935 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 13936} 13937 13938# func_xform libobj-or-source 13939func_xform () 13940{ 13941 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 13942} 13943 13944# func_arith arithmetic-term... 13945func_arith () 13946{ 13947 func_arith_result=`expr "$@"` 13948} 13949 13950# func_len string 13951# STRING may not start with a hyphen. 13952func_len () 13953{ 13954 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 13955} 13956 13957_LT_EOF 13958esac 13959 13960case $lt_shell_append in 13961 yes) 13962 cat << \_LT_EOF >> "$cfgfile" 13963 13964# func_append var value 13965# Append VALUE to the end of shell variable VAR. 13966func_append () 13967{ 13968 eval "$1+=\$2" 13969} 13970_LT_EOF 13971 ;; 13972 *) 13973 cat << \_LT_EOF >> "$cfgfile" 13974 13975# func_append var value 13976# Append VALUE to the end of shell variable VAR. 13977func_append () 13978{ 13979 eval "$1=\$$1\$2" 13980} 13981 13982_LT_EOF 13983 ;; 13984 esac 13985 13986 13987 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 13988 || (rm -f "$cfgfile"; exit 1) 13989 13990 mv -f "$cfgfile" "$ofile" || 13991 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 13992 chmod +x "$ofile" 13993 13994 ;; 13995 13996 esac 13997done # for ac_tag 13998 13999 14000{ (exit 0); exit 0; } 14001_ACEOF 14002chmod +x $CONFIG_STATUS 14003ac_clean_files=$ac_clean_files_save 14004 14005test $ac_write_fail = 0 || 14006 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 14007$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 14008 { (exit 1); exit 1; }; } 14009 14010 14011# configure is writing to config.log, and then calls config.status. 14012# config.status does its own redirection, appending to config.log. 14013# Unfortunately, on DOS this fails, as config.log is still kept open 14014# by configure, so config.status won't be able to write to it; its 14015# output is simply discarded. So we exec the FD to /dev/null, 14016# effectively closing config.log, so it can be properly (re)opened and 14017# appended to by config.status. When coming back to configure, we 14018# need to make the FD available again. 14019if test "$no_create" != yes; then 14020 ac_cs_success=: 14021 ac_config_status_args= 14022 test "$silent" = yes && 14023 ac_config_status_args="$ac_config_status_args --quiet" 14024 exec 5>/dev/null 14025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 14026 exec 5>>config.log 14027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 14028 # would make configure fail if this is the last instruction. 14029 $ac_cs_success || { (exit 1); exit 1; } 14030fi 14031if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 14032 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 14033$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 14034fi 14035 14036