configure revision 9418810d
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for xf86-input-vmmouse 12.6.9. 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='xf86-input-vmmouse' 747PACKAGE_TARNAME='xf86-input-vmmouse' 748PACKAGE_VERSION='12.6.9' 749PACKAGE_STRING='xf86-input-vmmouse 12.6.9' 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 793XORG_LIBS 794XORG_CFLAGS 795HAS_UDEV_RULES_DIR_FALSE 796HAS_UDEV_RULES_DIR_TRUE 797UDEV_RULES_DIR 798HAL_FDI_DIR 799HAL_CALLOUTS_DIR 800HAL_BIN_DIR 801HAS_XORG_CONF_DIR_FALSE 802HAS_XORG_CONF_DIR_TRUE 803XORG_CONF_DIR 804inputdir 805OTOOL64 806OTOOL 807LIPO 808NMEDIT 809DSYMUTIL 810lt_ECHO 811RANLIB 812AR 813OBJDUMP 814LN_S 815NM 816ac_ct_DUMPBIN 817DUMPBIN 818LD 819FGREP 820SED 821LIBTOOL 822DRIVER_NAME 823AM_BACKSLASH 824AM_DEFAULT_VERBOSITY 825ADMIN_MAN_DIR 826DRIVER_MAN_DIR 827MISC_MAN_DIR 828FILE_MAN_DIR 829LIB_MAN_DIR 830APP_MAN_DIR 831ADMIN_MAN_SUFFIX 832DRIVER_MAN_SUFFIX 833MISC_MAN_SUFFIX 834FILE_MAN_SUFFIX 835LIB_MAN_SUFFIX 836APP_MAN_SUFFIX 837host_os 838host_vendor 839host_cpu 840host 841build_os 842build_vendor 843build_cpu 844build 845INSTALL_CMD 846PKG_CONFIG 847CHANGELOG_CMD 848CWARNFLAGS 849EGREP 850GREP 851CPP 852am__fastdepCC_FALSE 853am__fastdepCC_TRUE 854CCDEPMODE 855AMDEPBACKSLASH 856AMDEP_FALSE 857AMDEP_TRUE 858am__quote 859am__include 860DEPDIR 861OBJEXT 862EXEEXT 863ac_ct_CC 864CPPFLAGS 865LDFLAGS 866CFLAGS 867CC 868MAINT 869MAINTAINER_MODE_FALSE 870MAINTAINER_MODE_TRUE 871am__untar 872am__tar 873AMTAR 874am__leading_dot 875SET_MAKE 876AWK 877mkdir_p 878MKDIR_P 879INSTALL_STRIP_PROGRAM 880STRIP 881install_sh 882MAKEINFO 883AUTOHEADER 884AUTOMAKE 885AUTOCONF 886ACLOCAL 887VERSION 888PACKAGE 889CYGPATH_W 890am__isrc 891INSTALL_DATA 892INSTALL_SCRIPT 893INSTALL_PROGRAM 894target_alias 895host_alias 896build_alias 897LIBS 898ECHO_T 899ECHO_N 900ECHO_C 901DEFS 902mandir 903localedir 904libdir 905psdir 906pdfdir 907dvidir 908htmldir 909infodir 910docdir 911oldincludedir 912includedir 913localstatedir 914sharedstatedir 915sysconfdir 916datadir 917datarootdir 918libexecdir 919sbindir 920bindir 921program_transform_name 922prefix 923exec_prefix 924PACKAGE_BUGREPORT 925PACKAGE_STRING 926PACKAGE_VERSION 927PACKAGE_TARNAME 928PACKAGE_NAME 929PATH_SEPARATOR 930SHELL' 931ac_subst_files='' 932ac_user_opts=' 933enable_option_checking 934enable_maintainer_mode 935enable_dependency_tracking 936enable_strict_compilation 937with_release_version 938enable_silent_rules 939enable_static 940enable_shared 941with_pic 942enable_fast_install 943with_gnu_ld 944enable_libtool_lock 945with_xorg_module_dir 946with_xorg_conf_dir 947with_hal_bin_dir 948with_hal_callouts_dir 949with_hal_fdi_dir 950with_udev_rules_dir 951' 952 ac_precious_vars='build_alias 953host_alias 954target_alias 955CC 956CFLAGS 957LDFLAGS 958LIBS 959CPPFLAGS 960CPP 961PKG_CONFIG 962XORG_CFLAGS 963XORG_LIBS' 964 965 966# Initialize some variables set by options. 967ac_init_help= 968ac_init_version=false 969ac_unrecognized_opts= 970ac_unrecognized_sep= 971# The variables have the same names as the options, with 972# dashes changed to underlines. 973cache_file=/dev/null 974exec_prefix=NONE 975no_create= 976no_recursion= 977prefix=NONE 978program_prefix=NONE 979program_suffix=NONE 980program_transform_name=s,x,x, 981silent= 982site= 983srcdir= 984verbose= 985x_includes=NONE 986x_libraries=NONE 987 988# Installation directory options. 989# These are left unexpanded so users can "make install exec_prefix=/foo" 990# and all the variables that are supposed to be based on exec_prefix 991# by default will actually change. 992# Use braces instead of parens because sh, perl, etc. also accept them. 993# (The list follows the same order as the GNU Coding Standards.) 994bindir='${exec_prefix}/bin' 995sbindir='${exec_prefix}/sbin' 996libexecdir='${exec_prefix}/libexec' 997datarootdir='${prefix}/share' 998datadir='${datarootdir}' 999sysconfdir='${prefix}/etc' 1000sharedstatedir='${prefix}/com' 1001localstatedir='${prefix}/var' 1002includedir='${prefix}/include' 1003oldincludedir='/usr/include' 1004docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1005infodir='${datarootdir}/info' 1006htmldir='${docdir}' 1007dvidir='${docdir}' 1008pdfdir='${docdir}' 1009psdir='${docdir}' 1010libdir='${exec_prefix}/lib' 1011localedir='${datarootdir}/locale' 1012mandir='${datarootdir}/man' 1013 1014ac_prev= 1015ac_dashdash= 1016for ac_option 1017do 1018 # If the previous option needs an argument, assign it. 1019 if test -n "$ac_prev"; then 1020 eval $ac_prev=\$ac_option 1021 ac_prev= 1022 continue 1023 fi 1024 1025 case $ac_option in 1026 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1027 *) ac_optarg=yes ;; 1028 esac 1029 1030 # Accept the important Cygnus configure options, so we can diagnose typos. 1031 1032 case $ac_dashdash$ac_option in 1033 --) 1034 ac_dashdash=yes ;; 1035 1036 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1037 ac_prev=bindir ;; 1038 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1039 bindir=$ac_optarg ;; 1040 1041 -build | --build | --buil | --bui | --bu) 1042 ac_prev=build_alias ;; 1043 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1044 build_alias=$ac_optarg ;; 1045 1046 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1047 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1048 ac_prev=cache_file ;; 1049 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1050 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1051 cache_file=$ac_optarg ;; 1052 1053 --config-cache | -C) 1054 cache_file=config.cache ;; 1055 1056 -datadir | --datadir | --datadi | --datad) 1057 ac_prev=datadir ;; 1058 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1059 datadir=$ac_optarg ;; 1060 1061 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1062 | --dataroo | --dataro | --datar) 1063 ac_prev=datarootdir ;; 1064 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1065 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1066 datarootdir=$ac_optarg ;; 1067 1068 -disable-* | --disable-*) 1069 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1070 # Reject names that are not valid shell variable names. 1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1072 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1073 { (exit 1); exit 1; }; } 1074 ac_useropt_orig=$ac_useropt 1075 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1076 case $ac_user_opts in 1077 *" 1078"enable_$ac_useropt" 1079"*) ;; 1080 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1081 ac_unrecognized_sep=', ';; 1082 esac 1083 eval enable_$ac_useropt=no ;; 1084 1085 -docdir | --docdir | --docdi | --doc | --do) 1086 ac_prev=docdir ;; 1087 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1088 docdir=$ac_optarg ;; 1089 1090 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1091 ac_prev=dvidir ;; 1092 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1093 dvidir=$ac_optarg ;; 1094 1095 -enable-* | --enable-*) 1096 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1097 # Reject names that are not valid shell variable names. 1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1099 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1100 { (exit 1); exit 1; }; } 1101 ac_useropt_orig=$ac_useropt 1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1103 case $ac_user_opts in 1104 *" 1105"enable_$ac_useropt" 1106"*) ;; 1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1108 ac_unrecognized_sep=', ';; 1109 esac 1110 eval enable_$ac_useropt=\$ac_optarg ;; 1111 1112 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1113 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1114 | --exec | --exe | --ex) 1115 ac_prev=exec_prefix ;; 1116 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1117 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1118 | --exec=* | --exe=* | --ex=*) 1119 exec_prefix=$ac_optarg ;; 1120 1121 -gas | --gas | --ga | --g) 1122 # Obsolete; use --with-gas. 1123 with_gas=yes ;; 1124 1125 -help | --help | --hel | --he | -h) 1126 ac_init_help=long ;; 1127 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1128 ac_init_help=recursive ;; 1129 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1130 ac_init_help=short ;; 1131 1132 -host | --host | --hos | --ho) 1133 ac_prev=host_alias ;; 1134 -host=* | --host=* | --hos=* | --ho=*) 1135 host_alias=$ac_optarg ;; 1136 1137 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1138 ac_prev=htmldir ;; 1139 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1140 | --ht=*) 1141 htmldir=$ac_optarg ;; 1142 1143 -includedir | --includedir | --includedi | --included | --include \ 1144 | --includ | --inclu | --incl | --inc) 1145 ac_prev=includedir ;; 1146 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1147 | --includ=* | --inclu=* | --incl=* | --inc=*) 1148 includedir=$ac_optarg ;; 1149 1150 -infodir | --infodir | --infodi | --infod | --info | --inf) 1151 ac_prev=infodir ;; 1152 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1153 infodir=$ac_optarg ;; 1154 1155 -libdir | --libdir | --libdi | --libd) 1156 ac_prev=libdir ;; 1157 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1158 libdir=$ac_optarg ;; 1159 1160 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1161 | --libexe | --libex | --libe) 1162 ac_prev=libexecdir ;; 1163 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1164 | --libexe=* | --libex=* | --libe=*) 1165 libexecdir=$ac_optarg ;; 1166 1167 -localedir | --localedir | --localedi | --localed | --locale) 1168 ac_prev=localedir ;; 1169 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1170 localedir=$ac_optarg ;; 1171 1172 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1173 | --localstate | --localstat | --localsta | --localst | --locals) 1174 ac_prev=localstatedir ;; 1175 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1176 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1177 localstatedir=$ac_optarg ;; 1178 1179 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1180 ac_prev=mandir ;; 1181 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1182 mandir=$ac_optarg ;; 1183 1184 -nfp | --nfp | --nf) 1185 # Obsolete; use --without-fp. 1186 with_fp=no ;; 1187 1188 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1189 | --no-cr | --no-c | -n) 1190 no_create=yes ;; 1191 1192 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1193 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1194 no_recursion=yes ;; 1195 1196 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1197 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1198 | --oldin | --oldi | --old | --ol | --o) 1199 ac_prev=oldincludedir ;; 1200 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1201 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1202 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1203 oldincludedir=$ac_optarg ;; 1204 1205 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1206 ac_prev=prefix ;; 1207 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1208 prefix=$ac_optarg ;; 1209 1210 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1211 | --program-pre | --program-pr | --program-p) 1212 ac_prev=program_prefix ;; 1213 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1214 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1215 program_prefix=$ac_optarg ;; 1216 1217 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1218 | --program-suf | --program-su | --program-s) 1219 ac_prev=program_suffix ;; 1220 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1221 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1222 program_suffix=$ac_optarg ;; 1223 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 ac_prev=program_transform_name ;; 1232 -program-transform-name=* | --program-transform-name=* \ 1233 | --program-transform-nam=* | --program-transform-na=* \ 1234 | --program-transform-n=* | --program-transform-=* \ 1235 | --program-transform=* | --program-transfor=* \ 1236 | --program-transfo=* | --program-transf=* \ 1237 | --program-trans=* | --program-tran=* \ 1238 | --progr-tra=* | --program-tr=* | --program-t=*) 1239 program_transform_name=$ac_optarg ;; 1240 1241 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1242 ac_prev=pdfdir ;; 1243 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1244 pdfdir=$ac_optarg ;; 1245 1246 -psdir | --psdir | --psdi | --psd | --ps) 1247 ac_prev=psdir ;; 1248 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1249 psdir=$ac_optarg ;; 1250 1251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1252 | -silent | --silent | --silen | --sile | --sil) 1253 silent=yes ;; 1254 1255 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1256 ac_prev=sbindir ;; 1257 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1258 | --sbi=* | --sb=*) 1259 sbindir=$ac_optarg ;; 1260 1261 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1262 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1263 | --sharedst | --shareds | --shared | --share | --shar \ 1264 | --sha | --sh) 1265 ac_prev=sharedstatedir ;; 1266 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1267 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1268 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1269 | --sha=* | --sh=*) 1270 sharedstatedir=$ac_optarg ;; 1271 1272 -site | --site | --sit) 1273 ac_prev=site ;; 1274 -site=* | --site=* | --sit=*) 1275 site=$ac_optarg ;; 1276 1277 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1278 ac_prev=srcdir ;; 1279 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1280 srcdir=$ac_optarg ;; 1281 1282 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1283 | --syscon | --sysco | --sysc | --sys | --sy) 1284 ac_prev=sysconfdir ;; 1285 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1286 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1287 sysconfdir=$ac_optarg ;; 1288 1289 -target | --target | --targe | --targ | --tar | --ta | --t) 1290 ac_prev=target_alias ;; 1291 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1292 target_alias=$ac_optarg ;; 1293 1294 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1295 verbose=yes ;; 1296 1297 -version | --version | --versio | --versi | --vers | -V) 1298 ac_init_version=: ;; 1299 1300 -with-* | --with-*) 1301 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1302 # Reject names that are not valid shell variable names. 1303 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1304 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1305 { (exit 1); exit 1; }; } 1306 ac_useropt_orig=$ac_useropt 1307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1308 case $ac_user_opts in 1309 *" 1310"with_$ac_useropt" 1311"*) ;; 1312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1313 ac_unrecognized_sep=', ';; 1314 esac 1315 eval with_$ac_useropt=\$ac_optarg ;; 1316 1317 -without-* | --without-*) 1318 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1319 # Reject names that are not valid shell variable names. 1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1321 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1322 { (exit 1); exit 1; }; } 1323 ac_useropt_orig=$ac_useropt 1324 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1325 case $ac_user_opts in 1326 *" 1327"with_$ac_useropt" 1328"*) ;; 1329 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1330 ac_unrecognized_sep=', ';; 1331 esac 1332 eval with_$ac_useropt=no ;; 1333 1334 --x) 1335 # Obsolete; use --with-x. 1336 with_x=yes ;; 1337 1338 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1339 | --x-incl | --x-inc | --x-in | --x-i) 1340 ac_prev=x_includes ;; 1341 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1342 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1343 x_includes=$ac_optarg ;; 1344 1345 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1346 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1347 ac_prev=x_libraries ;; 1348 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1349 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1350 x_libraries=$ac_optarg ;; 1351 1352 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1353Try \`$0 --help' for more information." >&2 1354 { (exit 1); exit 1; }; } 1355 ;; 1356 1357 *=*) 1358 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1359 # Reject names that are not valid shell variable names. 1360 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1361 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1362 { (exit 1); exit 1; }; } 1363 eval $ac_envvar=\$ac_optarg 1364 export $ac_envvar ;; 1365 1366 *) 1367 # FIXME: should be removed in autoconf 3.0. 1368 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1369 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1370 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1371 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1372 ;; 1373 1374 esac 1375done 1376 1377if test -n "$ac_prev"; then 1378 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1379 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1380 { (exit 1); exit 1; }; } 1381fi 1382 1383if test -n "$ac_unrecognized_opts"; then 1384 case $enable_option_checking in 1385 no) ;; 1386 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1387 { (exit 1); exit 1; }; } ;; 1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1389 esac 1390fi 1391 1392# Check all directory arguments for consistency. 1393for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1394 datadir sysconfdir sharedstatedir localstatedir includedir \ 1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1396 libdir localedir mandir 1397do 1398 eval ac_val=\$$ac_var 1399 # Remove trailing slashes. 1400 case $ac_val in 1401 */ ) 1402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1403 eval $ac_var=\$ac_val;; 1404 esac 1405 # Be sure to have absolute directory names. 1406 case $ac_val in 1407 [\\/$]* | ?:[\\/]* ) continue;; 1408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1409 esac 1410 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1411 { (exit 1); exit 1; }; } 1412done 1413 1414# There might be people who depend on the old broken behavior: `$host' 1415# used to hold the argument of --host etc. 1416# FIXME: To remove some day. 1417build=$build_alias 1418host=$host_alias 1419target=$target_alias 1420 1421# FIXME: To remove some day. 1422if test "x$host_alias" != x; then 1423 if test "x$build_alias" = x; then 1424 cross_compiling=maybe 1425 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1426 If a cross compiler is detected then cross compile mode will be used." >&2 1427 elif test "x$build_alias" != "x$host_alias"; then 1428 cross_compiling=yes 1429 fi 1430fi 1431 1432ac_tool_prefix= 1433test -n "$host_alias" && ac_tool_prefix=$host_alias- 1434 1435test "$silent" = yes && exec 6>/dev/null 1436 1437 1438ac_pwd=`pwd` && test -n "$ac_pwd" && 1439ac_ls_di=`ls -di .` && 1440ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1441 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1442 { (exit 1); exit 1; }; } 1443test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1444 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1445 { (exit 1); exit 1; }; } 1446 1447 1448# Find the source files, if location was not specified. 1449if test -z "$srcdir"; then 1450 ac_srcdir_defaulted=yes 1451 # Try the directory containing this script, then the parent directory. 1452 ac_confdir=`$as_dirname -- "$as_myself" || 1453$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1454 X"$as_myself" : 'X\(//\)[^/]' \| \ 1455 X"$as_myself" : 'X\(//\)$' \| \ 1456 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1457$as_echo X"$as_myself" | 1458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1459 s//\1/ 1460 q 1461 } 1462 /^X\(\/\/\)[^/].*/{ 1463 s//\1/ 1464 q 1465 } 1466 /^X\(\/\/\)$/{ 1467 s//\1/ 1468 q 1469 } 1470 /^X\(\/\).*/{ 1471 s//\1/ 1472 q 1473 } 1474 s/.*/./; q'` 1475 srcdir=$ac_confdir 1476 if test ! -r "$srcdir/$ac_unique_file"; then 1477 srcdir=.. 1478 fi 1479else 1480 ac_srcdir_defaulted=no 1481fi 1482if test ! -r "$srcdir/$ac_unique_file"; then 1483 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1484 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1485 { (exit 1); exit 1; }; } 1486fi 1487ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1488ac_abs_confdir=`( 1489 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1490 { (exit 1); exit 1; }; } 1491 pwd)` 1492# When building in place, set srcdir=. 1493if test "$ac_abs_confdir" = "$ac_pwd"; then 1494 srcdir=. 1495fi 1496# Remove unnecessary trailing slashes from srcdir. 1497# Double slashes in file names in object file debugging info 1498# mess up M-x gdb in Emacs. 1499case $srcdir in 1500*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1501esac 1502for ac_var in $ac_precious_vars; do 1503 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1504 eval ac_env_${ac_var}_value=\$${ac_var} 1505 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1506 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1507done 1508 1509# 1510# Report the --help message. 1511# 1512if test "$ac_init_help" = "long"; then 1513 # Omit some internal or obsolete options to make the list less imposing. 1514 # This message is too long to be a string in the A/UX 3.1 sh. 1515 cat <<_ACEOF 1516\`configure' configures xf86-input-vmmouse 12.6.9 to adapt to many kinds of systems. 1517 1518Usage: $0 [OPTION]... [VAR=VALUE]... 1519 1520To assign environment variables (e.g., CC, CFLAGS...), specify them as 1521VAR=VALUE. See below for descriptions of some of the useful variables. 1522 1523Defaults for the options are specified in brackets. 1524 1525Configuration: 1526 -h, --help display this help and exit 1527 --help=short display options specific to this package 1528 --help=recursive display the short help of all the included packages 1529 -V, --version display version information and exit 1530 -q, --quiet, --silent do not print \`checking...' messages 1531 --cache-file=FILE cache test results in FILE [disabled] 1532 -C, --config-cache alias for \`--cache-file=config.cache' 1533 -n, --no-create do not create output files 1534 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1535 1536Installation directories: 1537 --prefix=PREFIX install architecture-independent files in PREFIX 1538 [$ac_default_prefix] 1539 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1540 [PREFIX] 1541 1542By default, \`make install' will install all the files in 1543\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1544an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1545for instance \`--prefix=\$HOME'. 1546 1547For better control, use the options below. 1548 1549Fine tuning of the installation directories: 1550 --bindir=DIR user executables [EPREFIX/bin] 1551 --sbindir=DIR system admin executables [EPREFIX/sbin] 1552 --libexecdir=DIR program executables [EPREFIX/libexec] 1553 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1554 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1555 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1556 --libdir=DIR object code libraries [EPREFIX/lib] 1557 --includedir=DIR C header files [PREFIX/include] 1558 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1559 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1560 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1561 --infodir=DIR info documentation [DATAROOTDIR/info] 1562 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1563 --mandir=DIR man documentation [DATAROOTDIR/man] 1564 --docdir=DIR documentation root 1565 [DATAROOTDIR/doc/xf86-input-vmmouse] 1566 --htmldir=DIR html documentation [DOCDIR] 1567 --dvidir=DIR dvi documentation [DOCDIR] 1568 --pdfdir=DIR pdf documentation [DOCDIR] 1569 --psdir=DIR ps documentation [DOCDIR] 1570_ACEOF 1571 1572 cat <<\_ACEOF 1573 1574Program names: 1575 --program-prefix=PREFIX prepend PREFIX to installed program names 1576 --program-suffix=SUFFIX append SUFFIX to installed program names 1577 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1578 1579System types: 1580 --build=BUILD configure for building on BUILD [guessed] 1581 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1582_ACEOF 1583fi 1584 1585if test -n "$ac_init_help"; then 1586 case $ac_init_help in 1587 short | recursive ) echo "Configuration of xf86-input-vmmouse 12.6.9:";; 1588 esac 1589 cat <<\_ACEOF 1590 1591Optional Features: 1592 --disable-option-checking ignore unrecognized --enable/--with options 1593 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1594 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1595 --enable-maintainer-mode enable make rules and dependencies not useful 1596 (and sometimes confusing) to the casual installer 1597 --disable-dependency-tracking speeds up one-time build 1598 --enable-dependency-tracking do not reject slow dependency extractors 1599 --enable-strict-compilation 1600 Enable all warnings from compiler and make them 1601 errors (default: disabled) 1602 --enable-silent-rules less verbose build output (undo: `make V=1') 1603 --disable-silent-rules verbose build output (undo: `make V=0') 1604 --enable-static[=PKGS] build static libraries [default=no] 1605 --enable-shared[=PKGS] build shared libraries [default=yes] 1606 --enable-fast-install[=PKGS] 1607 optimize for fast installation [default=yes] 1608 --disable-libtool-lock avoid locking (might break parallel builds) 1609 1610Optional Packages: 1611 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1612 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1613 --with-release-version=STRING 1614 Use release version string in package name 1615 --with-pic try to use only PIC/non-PIC objects [default=use 1616 both] 1617 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1618 --with-xorg-module-dir=DIR 1619 Default xorg module directory 1620 [default=$libdir/xorg/modules] 1621 --with-xorg-conf-dir=DIR 1622 Default xorg.conf.d directory 1623 [default=from], [$PKG_CONFIG], [xorg-server] 1624 --with-hal-bin-dir=DIR Directory where HAL binaries where installed 1625 [default=$bindir] 1626 --with-hal-callouts-dir=DIR 1627 Directory where HAL expects its callout scripts to 1628 be located [default=$libdir/hal] 1629 --with-hal-fdi-dir=DIR Directory where HAL expects its fdi files to be 1630 located 1631 [default=$datadir/hal/fdi/policy/20thirdparty] 1632 --with-udev-rules-dir=DIR 1633 Default udev rules.d directory 1634 [default=($prefix)/lib/udev/rules.d], [on], [Linux,], [none], [otherwise] 1635 1636Some influential environment variables: 1637 CC C compiler command 1638 CFLAGS C compiler flags 1639 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1640 nonstandard directory <lib dir> 1641 LIBS libraries to pass to the linker, e.g. -l<library> 1642 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1643 you have headers in a nonstandard directory <include dir> 1644 CPP C preprocessor 1645 PKG_CONFIG path to pkg-config utility 1646 XORG_CFLAGS C compiler flags for XORG, overriding pkg-config 1647 XORG_LIBS linker flags for XORG, overriding pkg-config 1648 1649Use these variables to override the choices made by `configure' or to help 1650it to find libraries and programs with nonstandard names/locations. 1651 1652Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1653_ACEOF 1654ac_status=$? 1655fi 1656 1657if test "$ac_init_help" = "recursive"; then 1658 # If there are subdirs, report their specific --help. 1659 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1660 test -d "$ac_dir" || 1661 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1662 continue 1663 ac_builddir=. 1664 1665case "$ac_dir" in 1666.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1667*) 1668 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1669 # A ".." for each directory in $ac_dir_suffix. 1670 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1671 case $ac_top_builddir_sub in 1672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1673 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1674 esac ;; 1675esac 1676ac_abs_top_builddir=$ac_pwd 1677ac_abs_builddir=$ac_pwd$ac_dir_suffix 1678# for backward compatibility: 1679ac_top_builddir=$ac_top_build_prefix 1680 1681case $srcdir in 1682 .) # We are building in place. 1683 ac_srcdir=. 1684 ac_top_srcdir=$ac_top_builddir_sub 1685 ac_abs_top_srcdir=$ac_pwd ;; 1686 [\\/]* | ?:[\\/]* ) # Absolute name. 1687 ac_srcdir=$srcdir$ac_dir_suffix; 1688 ac_top_srcdir=$srcdir 1689 ac_abs_top_srcdir=$srcdir ;; 1690 *) # Relative name. 1691 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1692 ac_top_srcdir=$ac_top_build_prefix$srcdir 1693 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1694esac 1695ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1696 1697 cd "$ac_dir" || { ac_status=$?; continue; } 1698 # Check for guested configure. 1699 if test -f "$ac_srcdir/configure.gnu"; then 1700 echo && 1701 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1702 elif test -f "$ac_srcdir/configure"; then 1703 echo && 1704 $SHELL "$ac_srcdir/configure" --help=recursive 1705 else 1706 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1707 fi || ac_status=$? 1708 cd "$ac_pwd" || { ac_status=$?; break; } 1709 done 1710fi 1711 1712test -n "$ac_init_help" && exit $ac_status 1713if $ac_init_version; then 1714 cat <<\_ACEOF 1715xf86-input-vmmouse configure 12.6.9 1716generated by GNU Autoconf 2.63 1717 1718Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 17192002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1720This configure script is free software; the Free Software Foundation 1721gives unlimited permission to copy, distribute and modify it. 1722_ACEOF 1723 exit 1724fi 1725cat >config.log <<_ACEOF 1726This file contains any messages produced by compilers while 1727running configure, to aid debugging if configure makes a mistake. 1728 1729It was created by xf86-input-vmmouse $as_me 12.6.9, which was 1730generated by GNU Autoconf 2.63. Invocation command line was 1731 1732 $ $0 $@ 1733 1734_ACEOF 1735exec 5>>config.log 1736{ 1737cat <<_ASUNAME 1738## --------- ## 1739## Platform. ## 1740## --------- ## 1741 1742hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1743uname -m = `(uname -m) 2>/dev/null || echo unknown` 1744uname -r = `(uname -r) 2>/dev/null || echo unknown` 1745uname -s = `(uname -s) 2>/dev/null || echo unknown` 1746uname -v = `(uname -v) 2>/dev/null || echo unknown` 1747 1748/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1749/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1750 1751/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1752/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1753/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1754/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1755/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1756/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1757/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1758 1759_ASUNAME 1760 1761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1762for as_dir in $PATH 1763do 1764 IFS=$as_save_IFS 1765 test -z "$as_dir" && as_dir=. 1766 $as_echo "PATH: $as_dir" 1767done 1768IFS=$as_save_IFS 1769 1770} >&5 1771 1772cat >&5 <<_ACEOF 1773 1774 1775## ----------- ## 1776## Core tests. ## 1777## ----------- ## 1778 1779_ACEOF 1780 1781 1782# Keep a trace of the command line. 1783# Strip out --no-create and --no-recursion so they do not pile up. 1784# Strip out --silent because we don't want to record it for future runs. 1785# Also quote any args containing shell meta-characters. 1786# Make two passes to allow for proper duplicate-argument suppression. 1787ac_configure_args= 1788ac_configure_args0= 1789ac_configure_args1= 1790ac_must_keep_next=false 1791for ac_pass in 1 2 1792do 1793 for ac_arg 1794 do 1795 case $ac_arg in 1796 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1797 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1798 | -silent | --silent | --silen | --sile | --sil) 1799 continue ;; 1800 *\'*) 1801 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1802 esac 1803 case $ac_pass in 1804 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1805 2) 1806 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1807 if test $ac_must_keep_next = true; then 1808 ac_must_keep_next=false # Got value, back to normal. 1809 else 1810 case $ac_arg in 1811 *=* | --config-cache | -C | -disable-* | --disable-* \ 1812 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1813 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1814 | -with-* | --with-* | -without-* | --without-* | --x) 1815 case "$ac_configure_args0 " in 1816 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1817 esac 1818 ;; 1819 -* ) ac_must_keep_next=true ;; 1820 esac 1821 fi 1822 ac_configure_args="$ac_configure_args '$ac_arg'" 1823 ;; 1824 esac 1825 done 1826done 1827$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1828$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1829 1830# When interrupted or exit'd, cleanup temporary files, and complete 1831# config.log. We remove comments because anyway the quotes in there 1832# would cause problems or look ugly. 1833# WARNING: Use '\'' to represent an apostrophe within the trap. 1834# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1835trap 'exit_status=$? 1836 # Save into config.log some information that might help in debugging. 1837 { 1838 echo 1839 1840 cat <<\_ASBOX 1841## ---------------- ## 1842## Cache variables. ## 1843## ---------------- ## 1844_ASBOX 1845 echo 1846 # The following way of writing the cache mishandles newlines in values, 1847( 1848 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1849 eval ac_val=\$$ac_var 1850 case $ac_val in #( 1851 *${as_nl}*) 1852 case $ac_var in #( 1853 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1854$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1855 esac 1856 case $ac_var in #( 1857 _ | IFS | as_nl) ;; #( 1858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1859 *) $as_unset $ac_var ;; 1860 esac ;; 1861 esac 1862 done 1863 (set) 2>&1 | 1864 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1865 *${as_nl}ac_space=\ *) 1866 sed -n \ 1867 "s/'\''/'\''\\\\'\'''\''/g; 1868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1869 ;; #( 1870 *) 1871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1872 ;; 1873 esac | 1874 sort 1875) 1876 echo 1877 1878 cat <<\_ASBOX 1879## ----------------- ## 1880## Output variables. ## 1881## ----------------- ## 1882_ASBOX 1883 echo 1884 for ac_var in $ac_subst_vars 1885 do 1886 eval ac_val=\$$ac_var 1887 case $ac_val in 1888 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1889 esac 1890 $as_echo "$ac_var='\''$ac_val'\''" 1891 done | sort 1892 echo 1893 1894 if test -n "$ac_subst_files"; then 1895 cat <<\_ASBOX 1896## ------------------- ## 1897## File substitutions. ## 1898## ------------------- ## 1899_ASBOX 1900 echo 1901 for ac_var in $ac_subst_files 1902 do 1903 eval ac_val=\$$ac_var 1904 case $ac_val in 1905 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1906 esac 1907 $as_echo "$ac_var='\''$ac_val'\''" 1908 done | sort 1909 echo 1910 fi 1911 1912 if test -s confdefs.h; then 1913 cat <<\_ASBOX 1914## ----------- ## 1915## confdefs.h. ## 1916## ----------- ## 1917_ASBOX 1918 echo 1919 cat confdefs.h 1920 echo 1921 fi 1922 test "$ac_signal" != 0 && 1923 $as_echo "$as_me: caught signal $ac_signal" 1924 $as_echo "$as_me: exit $exit_status" 1925 } >&5 1926 rm -f core *.core core.conftest.* && 1927 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1928 exit $exit_status 1929' 0 1930for ac_signal in 1 2 13 15; do 1931 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1932done 1933ac_signal=0 1934 1935# confdefs.h avoids OS command line length limits that DEFS can exceed. 1936rm -f -r conftest* confdefs.h 1937 1938# Predefined preprocessor variables. 1939 1940cat >>confdefs.h <<_ACEOF 1941#define PACKAGE_NAME "$PACKAGE_NAME" 1942_ACEOF 1943 1944 1945cat >>confdefs.h <<_ACEOF 1946#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1947_ACEOF 1948 1949 1950cat >>confdefs.h <<_ACEOF 1951#define PACKAGE_VERSION "$PACKAGE_VERSION" 1952_ACEOF 1953 1954 1955cat >>confdefs.h <<_ACEOF 1956#define PACKAGE_STRING "$PACKAGE_STRING" 1957_ACEOF 1958 1959 1960cat >>confdefs.h <<_ACEOF 1961#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1962_ACEOF 1963 1964 1965# Let the site file select an alternate cache file if it wants to. 1966# Prefer an explicitly selected file to automatically selected ones. 1967ac_site_file1=NONE 1968ac_site_file2=NONE 1969if test -n "$CONFIG_SITE"; then 1970 ac_site_file1=$CONFIG_SITE 1971elif test "x$prefix" != xNONE; then 1972 ac_site_file1=$prefix/share/config.site 1973 ac_site_file2=$prefix/etc/config.site 1974else 1975 ac_site_file1=$ac_default_prefix/share/config.site 1976 ac_site_file2=$ac_default_prefix/etc/config.site 1977fi 1978for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1979do 1980 test "x$ac_site_file" = xNONE && continue 1981 if test -r "$ac_site_file"; then 1982 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1983$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1984 sed 's/^/| /' "$ac_site_file" >&5 1985 . "$ac_site_file" 1986 fi 1987done 1988 1989if test -r "$cache_file"; then 1990 # Some versions of bash will fail to source /dev/null (special 1991 # files actually), so we avoid doing that. 1992 if test -f "$cache_file"; then 1993 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1994$as_echo "$as_me: loading cache $cache_file" >&6;} 1995 case $cache_file in 1996 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1997 *) . "./$cache_file";; 1998 esac 1999 fi 2000else 2001 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2002$as_echo "$as_me: creating cache $cache_file" >&6;} 2003 >$cache_file 2004fi 2005 2006# Check that the precious variables saved in the cache have kept the same 2007# value. 2008ac_cache_corrupted=false 2009for ac_var in $ac_precious_vars; do 2010 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2011 eval ac_new_set=\$ac_env_${ac_var}_set 2012 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2013 eval ac_new_val=\$ac_env_${ac_var}_value 2014 case $ac_old_set,$ac_new_set in 2015 set,) 2016 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2017$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2018 ac_cache_corrupted=: ;; 2019 ,set) 2020 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2021$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2022 ac_cache_corrupted=: ;; 2023 ,);; 2024 *) 2025 if test "x$ac_old_val" != "x$ac_new_val"; then 2026 # differences in whitespace do not lead to failure. 2027 ac_old_val_w=`echo x $ac_old_val` 2028 ac_new_val_w=`echo x $ac_new_val` 2029 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2030 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2031$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2032 ac_cache_corrupted=: 2033 else 2034 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2035$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2036 eval $ac_var=\$ac_old_val 2037 fi 2038 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2039$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2040 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2041$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2042 fi;; 2043 esac 2044 # Pass precious variables to config.status. 2045 if test "$ac_new_set" = set; then 2046 case $ac_new_val in 2047 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2048 *) ac_arg=$ac_var=$ac_new_val ;; 2049 esac 2050 case " $ac_configure_args " in 2051 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2052 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2053 esac 2054 fi 2055done 2056if $ac_cache_corrupted; then 2057 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2059 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2060$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2061 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2062$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2063 { (exit 1); exit 1; }; } 2064fi 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090ac_ext=c 2091ac_cpp='$CPP $CPPFLAGS' 2092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2093ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2094ac_compiler_gnu=$ac_cv_c_compiler_gnu 2095 2096 2097 2098 2099ac_aux_dir= 2100for ac_dir in . "$srcdir"/.; do 2101 if test -f "$ac_dir/install-sh"; then 2102 ac_aux_dir=$ac_dir 2103 ac_install_sh="$ac_aux_dir/install-sh -c" 2104 break 2105 elif test -f "$ac_dir/install.sh"; then 2106 ac_aux_dir=$ac_dir 2107 ac_install_sh="$ac_aux_dir/install.sh -c" 2108 break 2109 elif test -f "$ac_dir/shtool"; then 2110 ac_aux_dir=$ac_dir 2111 ac_install_sh="$ac_aux_dir/shtool install -c" 2112 break 2113 fi 2114done 2115if test -z "$ac_aux_dir"; then 2116 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5 2117$as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;} 2118 { (exit 1); exit 1; }; } 2119fi 2120 2121# These three variables are undocumented and unsupported, 2122# and are intended to be withdrawn in a future Autoconf release. 2123# They can cause serious problems if a builder's source tree is in a directory 2124# whose full name contains unusual characters. 2125ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2126ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2127ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2128 2129 2130am__api_version='1.11' 2131 2132# Find a good install program. We prefer a C program (faster), 2133# so one script is as good as another. But avoid the broken or 2134# incompatible versions: 2135# SysV /etc/install, /usr/sbin/install 2136# SunOS /usr/etc/install 2137# IRIX /sbin/install 2138# AIX /bin/install 2139# AmigaOS /C/install, which installs bootblocks on floppy discs 2140# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2141# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2142# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2143# OS/2's system install, which has a completely different semantic 2144# ./install, which can be erroneously created by make from ./install.sh. 2145# Reject install programs that cannot install multiple files. 2146{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2147$as_echo_n "checking for a BSD-compatible install... " >&6; } 2148if test -z "$INSTALL"; then 2149if test "${ac_cv_path_install+set}" = set; then 2150 $as_echo_n "(cached) " >&6 2151else 2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2153for as_dir in $PATH 2154do 2155 IFS=$as_save_IFS 2156 test -z "$as_dir" && as_dir=. 2157 # Account for people who put trailing slashes in PATH elements. 2158case $as_dir/ in 2159 ./ | .// | /cC/* | \ 2160 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2161 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2162 /usr/ucb/* ) ;; 2163 *) 2164 # OSF1 and SCO ODT 3.0 have their own names for install. 2165 # Don't use installbsd from OSF since it installs stuff as root 2166 # by default. 2167 for ac_prog in ginstall scoinst install; do 2168 for ac_exec_ext in '' $ac_executable_extensions; do 2169 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2170 if test $ac_prog = install && 2171 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2172 # AIX install. It has an incompatible calling convention. 2173 : 2174 elif test $ac_prog = install && 2175 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2176 # program-specific install script used by HP pwplus--don't use. 2177 : 2178 else 2179 rm -rf conftest.one conftest.two conftest.dir 2180 echo one > conftest.one 2181 echo two > conftest.two 2182 mkdir conftest.dir 2183 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2184 test -s conftest.one && test -s conftest.two && 2185 test -s conftest.dir/conftest.one && 2186 test -s conftest.dir/conftest.two 2187 then 2188 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2189 break 3 2190 fi 2191 fi 2192 fi 2193 done 2194 done 2195 ;; 2196esac 2197 2198done 2199IFS=$as_save_IFS 2200 2201rm -rf conftest.one conftest.two conftest.dir 2202 2203fi 2204 if test "${ac_cv_path_install+set}" = set; then 2205 INSTALL=$ac_cv_path_install 2206 else 2207 # As a last resort, use the slow shell script. Don't cache a 2208 # value for INSTALL within a source directory, because that will 2209 # break other packages using the cache if that directory is 2210 # removed, or if the value is a relative name. 2211 INSTALL=$ac_install_sh 2212 fi 2213fi 2214{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2215$as_echo "$INSTALL" >&6; } 2216 2217# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2218# It thinks the first close brace ends the variable substitution. 2219test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2220 2221test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2222 2223test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2224 2225{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2226$as_echo_n "checking whether build environment is sane... " >&6; } 2227# Just in case 2228sleep 1 2229echo timestamp > conftest.file 2230# Reject unsafe characters in $srcdir or the absolute working directory 2231# name. Accept space and tab only in the latter. 2232am_lf=' 2233' 2234case `pwd` in 2235 *[\\\"\#\$\&\'\`$am_lf]*) 2236 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2237$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2238 { (exit 1); exit 1; }; };; 2239esac 2240case $srcdir in 2241 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2242 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2243$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2244 { (exit 1); exit 1; }; };; 2245esac 2246 2247# Do `set' in a subshell so we don't clobber the current shell's 2248# arguments. Must try -L first in case configure is actually a 2249# symlink; some systems play weird games with the mod time of symlinks 2250# (eg FreeBSD returns the mod time of the symlink's containing 2251# directory). 2252if ( 2253 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2254 if test "$*" = "X"; then 2255 # -L didn't work. 2256 set X `ls -t "$srcdir/configure" conftest.file` 2257 fi 2258 rm -f conftest.file 2259 if test "$*" != "X $srcdir/configure conftest.file" \ 2260 && test "$*" != "X conftest.file $srcdir/configure"; then 2261 2262 # If neither matched, then we have a broken ls. This can happen 2263 # if, for instance, CONFIG_SHELL is bash and it inherits a 2264 # broken ls alias from the environment. This has actually 2265 # happened. Such a system could not be considered "sane". 2266 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2267alias in your environment" >&5 2268$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2269alias in your environment" >&2;} 2270 { (exit 1); exit 1; }; } 2271 fi 2272 2273 test "$2" = conftest.file 2274 ) 2275then 2276 # Ok. 2277 : 2278else 2279 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2280Check your system clock" >&5 2281$as_echo "$as_me: error: newly created file is older than distributed files! 2282Check your system clock" >&2;} 2283 { (exit 1); exit 1; }; } 2284fi 2285{ $as_echo "$as_me:$LINENO: result: yes" >&5 2286$as_echo "yes" >&6; } 2287test "$program_prefix" != NONE && 2288 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2289# Use a double $ so make ignores it. 2290test "$program_suffix" != NONE && 2291 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2292# Double any \ or $. 2293# By default was `s,x,x', remove it if useless. 2294ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2295program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2296 2297# expand $ac_aux_dir to an absolute path 2298am_aux_dir=`cd $ac_aux_dir && pwd` 2299 2300if test x"${MISSING+set}" != xset; then 2301 case $am_aux_dir in 2302 *\ * | *\ *) 2303 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2304 *) 2305 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2306 esac 2307fi 2308# Use eval to expand $SHELL 2309if eval "$MISSING --run true"; then 2310 am_missing_run="$MISSING --run " 2311else 2312 am_missing_run= 2313 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2314$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2315fi 2316 2317if test x"${install_sh}" != xset; then 2318 case $am_aux_dir in 2319 *\ * | *\ *) 2320 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2321 *) 2322 install_sh="\${SHELL} $am_aux_dir/install-sh" 2323 esac 2324fi 2325 2326# Installed binaries are usually stripped using `strip' when the user 2327# run `make install-strip'. However `strip' might not be the right 2328# tool to use in cross-compilation environments, therefore Automake 2329# will honor the `STRIP' environment variable to overrule this program. 2330if test "$cross_compiling" != no; then 2331 if test -n "$ac_tool_prefix"; then 2332 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2333set dummy ${ac_tool_prefix}strip; ac_word=$2 2334{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2335$as_echo_n "checking for $ac_word... " >&6; } 2336if test "${ac_cv_prog_STRIP+set}" = set; then 2337 $as_echo_n "(cached) " >&6 2338else 2339 if test -n "$STRIP"; then 2340 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2341else 2342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2343for as_dir in $PATH 2344do 2345 IFS=$as_save_IFS 2346 test -z "$as_dir" && as_dir=. 2347 for ac_exec_ext in '' $ac_executable_extensions; do 2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2349 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2350 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2351 break 2 2352 fi 2353done 2354done 2355IFS=$as_save_IFS 2356 2357fi 2358fi 2359STRIP=$ac_cv_prog_STRIP 2360if test -n "$STRIP"; then 2361 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2362$as_echo "$STRIP" >&6; } 2363else 2364 { $as_echo "$as_me:$LINENO: result: no" >&5 2365$as_echo "no" >&6; } 2366fi 2367 2368 2369fi 2370if test -z "$ac_cv_prog_STRIP"; then 2371 ac_ct_STRIP=$STRIP 2372 # Extract the first word of "strip", so it can be a program name with args. 2373set dummy strip; ac_word=$2 2374{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2375$as_echo_n "checking for $ac_word... " >&6; } 2376if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2377 $as_echo_n "(cached) " >&6 2378else 2379 if test -n "$ac_ct_STRIP"; then 2380 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2381else 2382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2383for as_dir in $PATH 2384do 2385 IFS=$as_save_IFS 2386 test -z "$as_dir" && as_dir=. 2387 for ac_exec_ext in '' $ac_executable_extensions; do 2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2389 ac_cv_prog_ac_ct_STRIP="strip" 2390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2391 break 2 2392 fi 2393done 2394done 2395IFS=$as_save_IFS 2396 2397fi 2398fi 2399ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2400if test -n "$ac_ct_STRIP"; then 2401 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2402$as_echo "$ac_ct_STRIP" >&6; } 2403else 2404 { $as_echo "$as_me:$LINENO: result: no" >&5 2405$as_echo "no" >&6; } 2406fi 2407 2408 if test "x$ac_ct_STRIP" = x; then 2409 STRIP=":" 2410 else 2411 case $cross_compiling:$ac_tool_warned in 2412yes:) 2413{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2414$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2415ac_tool_warned=yes ;; 2416esac 2417 STRIP=$ac_ct_STRIP 2418 fi 2419else 2420 STRIP="$ac_cv_prog_STRIP" 2421fi 2422 2423fi 2424INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2425 2426{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2427$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2428if test -z "$MKDIR_P"; then 2429 if test "${ac_cv_path_mkdir+set}" = set; then 2430 $as_echo_n "(cached) " >&6 2431else 2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2433for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2434do 2435 IFS=$as_save_IFS 2436 test -z "$as_dir" && as_dir=. 2437 for ac_prog in mkdir gmkdir; do 2438 for ac_exec_ext in '' $ac_executable_extensions; do 2439 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2440 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2441 'mkdir (GNU coreutils) '* | \ 2442 'mkdir (coreutils) '* | \ 2443 'mkdir (fileutils) '4.1*) 2444 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2445 break 3;; 2446 esac 2447 done 2448 done 2449done 2450IFS=$as_save_IFS 2451 2452fi 2453 2454 if test "${ac_cv_path_mkdir+set}" = set; then 2455 MKDIR_P="$ac_cv_path_mkdir -p" 2456 else 2457 # As a last resort, use the slow shell script. Don't cache a 2458 # value for MKDIR_P within a source directory, because that will 2459 # break other packages using the cache if that directory is 2460 # removed, or if the value is a relative name. 2461 test -d ./--version && rmdir ./--version 2462 MKDIR_P="$ac_install_sh -d" 2463 fi 2464fi 2465{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2466$as_echo "$MKDIR_P" >&6; } 2467 2468mkdir_p="$MKDIR_P" 2469case $mkdir_p in 2470 [\\/$]* | ?:[\\/]*) ;; 2471 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2472esac 2473 2474for ac_prog in gawk mawk nawk awk 2475do 2476 # Extract the first word of "$ac_prog", so it can be a program name with args. 2477set dummy $ac_prog; ac_word=$2 2478{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2479$as_echo_n "checking for $ac_word... " >&6; } 2480if test "${ac_cv_prog_AWK+set}" = set; then 2481 $as_echo_n "(cached) " >&6 2482else 2483 if test -n "$AWK"; then 2484 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2485else 2486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2487for as_dir in $PATH 2488do 2489 IFS=$as_save_IFS 2490 test -z "$as_dir" && as_dir=. 2491 for ac_exec_ext in '' $ac_executable_extensions; do 2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2493 ac_cv_prog_AWK="$ac_prog" 2494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2495 break 2 2496 fi 2497done 2498done 2499IFS=$as_save_IFS 2500 2501fi 2502fi 2503AWK=$ac_cv_prog_AWK 2504if test -n "$AWK"; then 2505 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2506$as_echo "$AWK" >&6; } 2507else 2508 { $as_echo "$as_me:$LINENO: result: no" >&5 2509$as_echo "no" >&6; } 2510fi 2511 2512 2513 test -n "$AWK" && break 2514done 2515 2516{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2517$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2518set x ${MAKE-make} 2519ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2520if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2521 $as_echo_n "(cached) " >&6 2522else 2523 cat >conftest.make <<\_ACEOF 2524SHELL = /bin/sh 2525all: 2526 @echo '@@@%%%=$(MAKE)=@@@%%%' 2527_ACEOF 2528# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2529case `${MAKE-make} -f conftest.make 2>/dev/null` in 2530 *@@@%%%=?*=@@@%%%*) 2531 eval ac_cv_prog_make_${ac_make}_set=yes;; 2532 *) 2533 eval ac_cv_prog_make_${ac_make}_set=no;; 2534esac 2535rm -f conftest.make 2536fi 2537if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2538 { $as_echo "$as_me:$LINENO: result: yes" >&5 2539$as_echo "yes" >&6; } 2540 SET_MAKE= 2541else 2542 { $as_echo "$as_me:$LINENO: result: no" >&5 2543$as_echo "no" >&6; } 2544 SET_MAKE="MAKE=${MAKE-make}" 2545fi 2546 2547rm -rf .tst 2>/dev/null 2548mkdir .tst 2>/dev/null 2549if test -d .tst; then 2550 am__leading_dot=. 2551else 2552 am__leading_dot=_ 2553fi 2554rmdir .tst 2>/dev/null 2555 2556if test "`cd $srcdir && pwd`" != "`pwd`"; then 2557 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2558 # is not polluted with repeated "-I." 2559 am__isrc=' -I$(srcdir)' 2560 # test to see if srcdir already configured 2561 if test -f $srcdir/config.status; then 2562 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2563$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2564 { (exit 1); exit 1; }; } 2565 fi 2566fi 2567 2568# test whether we have cygpath 2569if test -z "$CYGPATH_W"; then 2570 if (cygpath --version) >/dev/null 2>/dev/null; then 2571 CYGPATH_W='cygpath -w' 2572 else 2573 CYGPATH_W=echo 2574 fi 2575fi 2576 2577 2578# Define the identity of the package. 2579 PACKAGE='xf86-input-vmmouse' 2580 VERSION='12.6.9' 2581 2582 2583cat >>confdefs.h <<_ACEOF 2584#define PACKAGE "$PACKAGE" 2585_ACEOF 2586 2587 2588cat >>confdefs.h <<_ACEOF 2589#define VERSION "$VERSION" 2590_ACEOF 2591 2592# Some tools Automake needs. 2593 2594ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2595 2596 2597AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2598 2599 2600AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2601 2602 2603AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2604 2605 2606MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2607 2608# We need awk for the "check" target. The system "awk" is bad on 2609# some platforms. 2610# Always define AMTAR for backward compatibility. 2611 2612AMTAR=${AMTAR-"${am_missing_run}tar"} 2613 2614am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2615 2616 2617 2618 2619 2620 2621 2622{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2623$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2624 # Check whether --enable-maintainer-mode was given. 2625if test "${enable_maintainer_mode+set}" = set; then 2626 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2627else 2628 USE_MAINTAINER_MODE=no 2629fi 2630 2631 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2632$as_echo "$USE_MAINTAINER_MODE" >&6; } 2633 if test $USE_MAINTAINER_MODE = yes; then 2634 MAINTAINER_MODE_TRUE= 2635 MAINTAINER_MODE_FALSE='#' 2636else 2637 MAINTAINER_MODE_TRUE='#' 2638 MAINTAINER_MODE_FALSE= 2639fi 2640 2641 MAINT=$MAINTAINER_MODE_TRUE 2642 2643 2644 2645# Require xorg-macros: XORG_DEFAULT_OPTIONS 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657DEPDIR="${am__leading_dot}deps" 2658 2659ac_config_commands="$ac_config_commands depfiles" 2660 2661 2662am_make=${MAKE-make} 2663cat > confinc << 'END' 2664am__doit: 2665 @echo this is the am__doit target 2666.PHONY: am__doit 2667END 2668# If we don't find an include directive, just comment out the code. 2669{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2670$as_echo_n "checking for style of include used by $am_make... " >&6; } 2671am__include="#" 2672am__quote= 2673_am_result=none 2674# First try GNU make style include. 2675echo "include confinc" > confmf 2676# Ignore all kinds of additional output from `make'. 2677case `$am_make -s -f confmf 2> /dev/null` in #( 2678*the\ am__doit\ target*) 2679 am__include=include 2680 am__quote= 2681 _am_result=GNU 2682 ;; 2683esac 2684# Now try BSD make style include. 2685if test "$am__include" = "#"; then 2686 echo '.include "confinc"' > confmf 2687 case `$am_make -s -f confmf 2> /dev/null` in #( 2688 *the\ am__doit\ target*) 2689 am__include=.include 2690 am__quote="\"" 2691 _am_result=BSD 2692 ;; 2693 esac 2694fi 2695 2696 2697{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 2698$as_echo "$_am_result" >&6; } 2699rm -f confinc confmf 2700 2701# Check whether --enable-dependency-tracking was given. 2702if test "${enable_dependency_tracking+set}" = set; then 2703 enableval=$enable_dependency_tracking; 2704fi 2705 2706if test "x$enable_dependency_tracking" != xno; then 2707 am_depcomp="$ac_aux_dir/depcomp" 2708 AMDEPBACKSLASH='\' 2709fi 2710 if test "x$enable_dependency_tracking" != xno; then 2711 AMDEP_TRUE= 2712 AMDEP_FALSE='#' 2713else 2714 AMDEP_TRUE='#' 2715 AMDEP_FALSE= 2716fi 2717 2718 2719ac_ext=c 2720ac_cpp='$CPP $CPPFLAGS' 2721ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2722ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2723ac_compiler_gnu=$ac_cv_c_compiler_gnu 2724if test -n "$ac_tool_prefix"; then 2725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2726set dummy ${ac_tool_prefix}gcc; ac_word=$2 2727{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2728$as_echo_n "checking for $ac_word... " >&6; } 2729if test "${ac_cv_prog_CC+set}" = set; then 2730 $as_echo_n "(cached) " >&6 2731else 2732 if test -n "$CC"; then 2733 ac_cv_prog_CC="$CC" # Let the user override the test. 2734else 2735as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2736for as_dir in $PATH 2737do 2738 IFS=$as_save_IFS 2739 test -z "$as_dir" && as_dir=. 2740 for ac_exec_ext in '' $ac_executable_extensions; do 2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2742 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2744 break 2 2745 fi 2746done 2747done 2748IFS=$as_save_IFS 2749 2750fi 2751fi 2752CC=$ac_cv_prog_CC 2753if test -n "$CC"; then 2754 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2755$as_echo "$CC" >&6; } 2756else 2757 { $as_echo "$as_me:$LINENO: result: no" >&5 2758$as_echo "no" >&6; } 2759fi 2760 2761 2762fi 2763if test -z "$ac_cv_prog_CC"; then 2764 ac_ct_CC=$CC 2765 # Extract the first word of "gcc", so it can be a program name with args. 2766set dummy gcc; ac_word=$2 2767{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2768$as_echo_n "checking for $ac_word... " >&6; } 2769if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2770 $as_echo_n "(cached) " >&6 2771else 2772 if test -n "$ac_ct_CC"; then 2773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2774else 2775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2776for as_dir in $PATH 2777do 2778 IFS=$as_save_IFS 2779 test -z "$as_dir" && as_dir=. 2780 for ac_exec_ext in '' $ac_executable_extensions; do 2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2782 ac_cv_prog_ac_ct_CC="gcc" 2783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2784 break 2 2785 fi 2786done 2787done 2788IFS=$as_save_IFS 2789 2790fi 2791fi 2792ac_ct_CC=$ac_cv_prog_ac_ct_CC 2793if test -n "$ac_ct_CC"; then 2794 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2795$as_echo "$ac_ct_CC" >&6; } 2796else 2797 { $as_echo "$as_me:$LINENO: result: no" >&5 2798$as_echo "no" >&6; } 2799fi 2800 2801 if test "x$ac_ct_CC" = x; then 2802 CC="" 2803 else 2804 case $cross_compiling:$ac_tool_warned in 2805yes:) 2806{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2807$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2808ac_tool_warned=yes ;; 2809esac 2810 CC=$ac_ct_CC 2811 fi 2812else 2813 CC="$ac_cv_prog_CC" 2814fi 2815 2816if test -z "$CC"; then 2817 if test -n "$ac_tool_prefix"; then 2818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2819set dummy ${ac_tool_prefix}cc; ac_word=$2 2820{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2821$as_echo_n "checking for $ac_word... " >&6; } 2822if test "${ac_cv_prog_CC+set}" = set; then 2823 $as_echo_n "(cached) " >&6 2824else 2825 if test -n "$CC"; then 2826 ac_cv_prog_CC="$CC" # Let the user override the test. 2827else 2828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2829for as_dir in $PATH 2830do 2831 IFS=$as_save_IFS 2832 test -z "$as_dir" && as_dir=. 2833 for ac_exec_ext in '' $ac_executable_extensions; do 2834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2835 ac_cv_prog_CC="${ac_tool_prefix}cc" 2836 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2837 break 2 2838 fi 2839done 2840done 2841IFS=$as_save_IFS 2842 2843fi 2844fi 2845CC=$ac_cv_prog_CC 2846if test -n "$CC"; then 2847 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2848$as_echo "$CC" >&6; } 2849else 2850 { $as_echo "$as_me:$LINENO: result: no" >&5 2851$as_echo "no" >&6; } 2852fi 2853 2854 2855 fi 2856fi 2857if test -z "$CC"; then 2858 # Extract the first word of "cc", so it can be a program name with args. 2859set dummy cc; ac_word=$2 2860{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2861$as_echo_n "checking for $ac_word... " >&6; } 2862if test "${ac_cv_prog_CC+set}" = set; then 2863 $as_echo_n "(cached) " >&6 2864else 2865 if test -n "$CC"; then 2866 ac_cv_prog_CC="$CC" # Let the user override the test. 2867else 2868 ac_prog_rejected=no 2869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2870for as_dir in $PATH 2871do 2872 IFS=$as_save_IFS 2873 test -z "$as_dir" && as_dir=. 2874 for ac_exec_ext in '' $ac_executable_extensions; do 2875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2877 ac_prog_rejected=yes 2878 continue 2879 fi 2880 ac_cv_prog_CC="cc" 2881 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2882 break 2 2883 fi 2884done 2885done 2886IFS=$as_save_IFS 2887 2888if test $ac_prog_rejected = yes; then 2889 # We found a bogon in the path, so make sure we never use it. 2890 set dummy $ac_cv_prog_CC 2891 shift 2892 if test $# != 0; then 2893 # We chose a different compiler from the bogus one. 2894 # However, it has the same basename, so the bogon will be chosen 2895 # first if we set CC to just the basename; use the full file name. 2896 shift 2897 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2898 fi 2899fi 2900fi 2901fi 2902CC=$ac_cv_prog_CC 2903if test -n "$CC"; then 2904 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2905$as_echo "$CC" >&6; } 2906else 2907 { $as_echo "$as_me:$LINENO: result: no" >&5 2908$as_echo "no" >&6; } 2909fi 2910 2911 2912fi 2913if test -z "$CC"; then 2914 if test -n "$ac_tool_prefix"; then 2915 for ac_prog in cl.exe 2916 do 2917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2918set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2919{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2920$as_echo_n "checking for $ac_word... " >&6; } 2921if test "${ac_cv_prog_CC+set}" = set; then 2922 $as_echo_n "(cached) " >&6 2923else 2924 if test -n "$CC"; then 2925 ac_cv_prog_CC="$CC" # Let the user override the test. 2926else 2927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2928for as_dir in $PATH 2929do 2930 IFS=$as_save_IFS 2931 test -z "$as_dir" && as_dir=. 2932 for ac_exec_ext in '' $ac_executable_extensions; do 2933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2934 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2936 break 2 2937 fi 2938done 2939done 2940IFS=$as_save_IFS 2941 2942fi 2943fi 2944CC=$ac_cv_prog_CC 2945if test -n "$CC"; then 2946 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2947$as_echo "$CC" >&6; } 2948else 2949 { $as_echo "$as_me:$LINENO: result: no" >&5 2950$as_echo "no" >&6; } 2951fi 2952 2953 2954 test -n "$CC" && break 2955 done 2956fi 2957if test -z "$CC"; then 2958 ac_ct_CC=$CC 2959 for ac_prog in cl.exe 2960do 2961 # Extract the first word of "$ac_prog", so it can be a program name with args. 2962set dummy $ac_prog; ac_word=$2 2963{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2964$as_echo_n "checking for $ac_word... " >&6; } 2965if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2966 $as_echo_n "(cached) " >&6 2967else 2968 if test -n "$ac_ct_CC"; then 2969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2970else 2971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2972for as_dir in $PATH 2973do 2974 IFS=$as_save_IFS 2975 test -z "$as_dir" && as_dir=. 2976 for ac_exec_ext in '' $ac_executable_extensions; do 2977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2978 ac_cv_prog_ac_ct_CC="$ac_prog" 2979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2980 break 2 2981 fi 2982done 2983done 2984IFS=$as_save_IFS 2985 2986fi 2987fi 2988ac_ct_CC=$ac_cv_prog_ac_ct_CC 2989if test -n "$ac_ct_CC"; then 2990 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2991$as_echo "$ac_ct_CC" >&6; } 2992else 2993 { $as_echo "$as_me:$LINENO: result: no" >&5 2994$as_echo "no" >&6; } 2995fi 2996 2997 2998 test -n "$ac_ct_CC" && break 2999done 3000 3001 if test "x$ac_ct_CC" = x; then 3002 CC="" 3003 else 3004 case $cross_compiling:$ac_tool_warned in 3005yes:) 3006{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3008ac_tool_warned=yes ;; 3009esac 3010 CC=$ac_ct_CC 3011 fi 3012fi 3013 3014fi 3015 3016 3017test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3019{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3020See \`config.log' for more details." >&5 3021$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3022See \`config.log' for more details." >&2;} 3023 { (exit 1); exit 1; }; }; } 3024 3025# Provide some information about the compiler. 3026$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3027set X $ac_compile 3028ac_compiler=$2 3029{ (ac_try="$ac_compiler --version >&5" 3030case "(($ac_try" in 3031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3032 *) ac_try_echo=$ac_try;; 3033esac 3034eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3035$as_echo "$ac_try_echo") >&5 3036 (eval "$ac_compiler --version >&5") 2>&5 3037 ac_status=$? 3038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3039 (exit $ac_status); } 3040{ (ac_try="$ac_compiler -v >&5" 3041case "(($ac_try" in 3042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3043 *) ac_try_echo=$ac_try;; 3044esac 3045eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3046$as_echo "$ac_try_echo") >&5 3047 (eval "$ac_compiler -v >&5") 2>&5 3048 ac_status=$? 3049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); } 3051{ (ac_try="$ac_compiler -V >&5" 3052case "(($ac_try" in 3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *) ac_try_echo=$ac_try;; 3055esac 3056eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3057$as_echo "$ac_try_echo") >&5 3058 (eval "$ac_compiler -V >&5") 2>&5 3059 ac_status=$? 3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3061 (exit $ac_status); } 3062 3063cat >conftest.$ac_ext <<_ACEOF 3064/* confdefs.h. */ 3065_ACEOF 3066cat confdefs.h >>conftest.$ac_ext 3067cat >>conftest.$ac_ext <<_ACEOF 3068/* end confdefs.h. */ 3069 3070int 3071main () 3072{ 3073 3074 ; 3075 return 0; 3076} 3077_ACEOF 3078ac_clean_files_save=$ac_clean_files 3079ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3080# Try to create an executable without -o first, disregard a.out. 3081# It will help us diagnose broken compilers, and finding out an intuition 3082# of exeext. 3083{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3084$as_echo_n "checking for C compiler default output file name... " >&6; } 3085ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3086 3087# The possible output files: 3088ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3089 3090ac_rmfiles= 3091for ac_file in $ac_files 3092do 3093 case $ac_file in 3094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3095 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3096 esac 3097done 3098rm -f $ac_rmfiles 3099 3100if { (ac_try="$ac_link_default" 3101case "(($ac_try" in 3102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3103 *) ac_try_echo=$ac_try;; 3104esac 3105eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3106$as_echo "$ac_try_echo") >&5 3107 (eval "$ac_link_default") 2>&5 3108 ac_status=$? 3109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3110 (exit $ac_status); }; then 3111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3112# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3113# in a Makefile. We should not override ac_cv_exeext if it was cached, 3114# so that the user can short-circuit this test for compilers unknown to 3115# Autoconf. 3116for ac_file in $ac_files '' 3117do 3118 test -f "$ac_file" || continue 3119 case $ac_file in 3120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3121 ;; 3122 [ab].out ) 3123 # We found the default executable, but exeext='' is most 3124 # certainly right. 3125 break;; 3126 *.* ) 3127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3128 then :; else 3129 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3130 fi 3131 # We set ac_cv_exeext here because the later test for it is not 3132 # safe: cross compilers may not add the suffix if given an `-o' 3133 # argument, so we may need to know it at that point already. 3134 # Even if this section looks crufty: it has the advantage of 3135 # actually working. 3136 break;; 3137 * ) 3138 break;; 3139 esac 3140done 3141test "$ac_cv_exeext" = no && ac_cv_exeext= 3142 3143else 3144 ac_file='' 3145fi 3146 3147{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3148$as_echo "$ac_file" >&6; } 3149if test -z "$ac_file"; then 3150 $as_echo "$as_me: failed program was:" >&5 3151sed 's/^/| /' conftest.$ac_ext >&5 3152 3153{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3154$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3155{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3156See \`config.log' for more details." >&5 3157$as_echo "$as_me: error: C compiler cannot create executables 3158See \`config.log' for more details." >&2;} 3159 { (exit 77); exit 77; }; }; } 3160fi 3161 3162ac_exeext=$ac_cv_exeext 3163 3164# Check that the compiler produces executables we can run. If not, either 3165# the compiler is broken, or we cross compile. 3166{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3167$as_echo_n "checking whether the C compiler works... " >&6; } 3168# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3169# If not cross compiling, check that we can run a simple program. 3170if test "$cross_compiling" != yes; then 3171 if { ac_try='./$ac_file' 3172 { (case "(($ac_try" in 3173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3174 *) ac_try_echo=$ac_try;; 3175esac 3176eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3177$as_echo "$ac_try_echo") >&5 3178 (eval "$ac_try") 2>&5 3179 ac_status=$? 3180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3181 (exit $ac_status); }; }; then 3182 cross_compiling=no 3183 else 3184 if test "$cross_compiling" = maybe; then 3185 cross_compiling=yes 3186 else 3187 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3189{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3190If you meant to cross compile, use \`--host'. 3191See \`config.log' for more details." >&5 3192$as_echo "$as_me: error: cannot run C compiled programs. 3193If you meant to cross compile, use \`--host'. 3194See \`config.log' for more details." >&2;} 3195 { (exit 1); exit 1; }; }; } 3196 fi 3197 fi 3198fi 3199{ $as_echo "$as_me:$LINENO: result: yes" >&5 3200$as_echo "yes" >&6; } 3201 3202rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3203ac_clean_files=$ac_clean_files_save 3204# Check that the compiler produces executables we can run. If not, either 3205# the compiler is broken, or we cross compile. 3206{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3207$as_echo_n "checking whether we are cross compiling... " >&6; } 3208{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3209$as_echo "$cross_compiling" >&6; } 3210 3211{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3212$as_echo_n "checking for suffix of executables... " >&6; } 3213if { (ac_try="$ac_link" 3214case "(($ac_try" in 3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3216 *) ac_try_echo=$ac_try;; 3217esac 3218eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3219$as_echo "$ac_try_echo") >&5 3220 (eval "$ac_link") 2>&5 3221 ac_status=$? 3222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3223 (exit $ac_status); }; then 3224 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3225# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3226# work properly (i.e., refer to `conftest.exe'), while it won't with 3227# `rm'. 3228for ac_file in conftest.exe conftest conftest.*; do 3229 test -f "$ac_file" || continue 3230 case $ac_file in 3231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3232 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3233 break;; 3234 * ) break;; 3235 esac 3236done 3237else 3238 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3240{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3241See \`config.log' for more details." >&5 3242$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3243See \`config.log' for more details." >&2;} 3244 { (exit 1); exit 1; }; }; } 3245fi 3246 3247rm -f conftest$ac_cv_exeext 3248{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3249$as_echo "$ac_cv_exeext" >&6; } 3250 3251rm -f conftest.$ac_ext 3252EXEEXT=$ac_cv_exeext 3253ac_exeext=$EXEEXT 3254{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3255$as_echo_n "checking for suffix of object files... " >&6; } 3256if test "${ac_cv_objext+set}" = set; then 3257 $as_echo_n "(cached) " >&6 3258else 3259 cat >conftest.$ac_ext <<_ACEOF 3260/* confdefs.h. */ 3261_ACEOF 3262cat confdefs.h >>conftest.$ac_ext 3263cat >>conftest.$ac_ext <<_ACEOF 3264/* end confdefs.h. */ 3265 3266int 3267main () 3268{ 3269 3270 ; 3271 return 0; 3272} 3273_ACEOF 3274rm -f conftest.o conftest.obj 3275if { (ac_try="$ac_compile" 3276case "(($ac_try" in 3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3278 *) ac_try_echo=$ac_try;; 3279esac 3280eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3281$as_echo "$ac_try_echo") >&5 3282 (eval "$ac_compile") 2>&5 3283 ac_status=$? 3284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3285 (exit $ac_status); }; then 3286 for ac_file in conftest.o conftest.obj conftest.*; do 3287 test -f "$ac_file" || continue; 3288 case $ac_file in 3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3290 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3291 break;; 3292 esac 3293done 3294else 3295 $as_echo "$as_me: failed program was:" >&5 3296sed 's/^/| /' conftest.$ac_ext >&5 3297 3298{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3299$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3300{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3301See \`config.log' for more details." >&5 3302$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3303See \`config.log' for more details." >&2;} 3304 { (exit 1); exit 1; }; }; } 3305fi 3306 3307rm -f conftest.$ac_cv_objext conftest.$ac_ext 3308fi 3309{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3310$as_echo "$ac_cv_objext" >&6; } 3311OBJEXT=$ac_cv_objext 3312ac_objext=$OBJEXT 3313{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3314$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3315if test "${ac_cv_c_compiler_gnu+set}" = set; then 3316 $as_echo_n "(cached) " >&6 3317else 3318 cat >conftest.$ac_ext <<_ACEOF 3319/* confdefs.h. */ 3320_ACEOF 3321cat confdefs.h >>conftest.$ac_ext 3322cat >>conftest.$ac_ext <<_ACEOF 3323/* end confdefs.h. */ 3324 3325int 3326main () 3327{ 3328#ifndef __GNUC__ 3329 choke me 3330#endif 3331 3332 ; 3333 return 0; 3334} 3335_ACEOF 3336rm -f conftest.$ac_objext 3337if { (ac_try="$ac_compile" 3338case "(($ac_try" in 3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3340 *) ac_try_echo=$ac_try;; 3341esac 3342eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3343$as_echo "$ac_try_echo") >&5 3344 (eval "$ac_compile") 2>conftest.er1 3345 ac_status=$? 3346 grep -v '^ *+' conftest.er1 >conftest.err 3347 rm -f conftest.er1 3348 cat conftest.err >&5 3349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3350 (exit $ac_status); } && { 3351 test -z "$ac_c_werror_flag" || 3352 test ! -s conftest.err 3353 } && test -s conftest.$ac_objext; then 3354 ac_compiler_gnu=yes 3355else 3356 $as_echo "$as_me: failed program was:" >&5 3357sed 's/^/| /' conftest.$ac_ext >&5 3358 3359 ac_compiler_gnu=no 3360fi 3361 3362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3363ac_cv_c_compiler_gnu=$ac_compiler_gnu 3364 3365fi 3366{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3367$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3368if test $ac_compiler_gnu = yes; then 3369 GCC=yes 3370else 3371 GCC= 3372fi 3373ac_test_CFLAGS=${CFLAGS+set} 3374ac_save_CFLAGS=$CFLAGS 3375{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3376$as_echo_n "checking whether $CC accepts -g... " >&6; } 3377if test "${ac_cv_prog_cc_g+set}" = set; then 3378 $as_echo_n "(cached) " >&6 3379else 3380 ac_save_c_werror_flag=$ac_c_werror_flag 3381 ac_c_werror_flag=yes 3382 ac_cv_prog_cc_g=no 3383 CFLAGS="-g" 3384 cat >conftest.$ac_ext <<_ACEOF 3385/* confdefs.h. */ 3386_ACEOF 3387cat confdefs.h >>conftest.$ac_ext 3388cat >>conftest.$ac_ext <<_ACEOF 3389/* end confdefs.h. */ 3390 3391int 3392main () 3393{ 3394 3395 ; 3396 return 0; 3397} 3398_ACEOF 3399rm -f conftest.$ac_objext 3400if { (ac_try="$ac_compile" 3401case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404esac 3405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3406$as_echo "$ac_try_echo") >&5 3407 (eval "$ac_compile") 2>conftest.er1 3408 ac_status=$? 3409 grep -v '^ *+' conftest.er1 >conftest.err 3410 rm -f conftest.er1 3411 cat conftest.err >&5 3412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3413 (exit $ac_status); } && { 3414 test -z "$ac_c_werror_flag" || 3415 test ! -s conftest.err 3416 } && test -s conftest.$ac_objext; then 3417 ac_cv_prog_cc_g=yes 3418else 3419 $as_echo "$as_me: failed program was:" >&5 3420sed 's/^/| /' conftest.$ac_ext >&5 3421 3422 CFLAGS="" 3423 cat >conftest.$ac_ext <<_ACEOF 3424/* confdefs.h. */ 3425_ACEOF 3426cat confdefs.h >>conftest.$ac_ext 3427cat >>conftest.$ac_ext <<_ACEOF 3428/* end confdefs.h. */ 3429 3430int 3431main () 3432{ 3433 3434 ; 3435 return 0; 3436} 3437_ACEOF 3438rm -f conftest.$ac_objext 3439if { (ac_try="$ac_compile" 3440case "(($ac_try" in 3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3442 *) ac_try_echo=$ac_try;; 3443esac 3444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3445$as_echo "$ac_try_echo") >&5 3446 (eval "$ac_compile") 2>conftest.er1 3447 ac_status=$? 3448 grep -v '^ *+' conftest.er1 >conftest.err 3449 rm -f conftest.er1 3450 cat conftest.err >&5 3451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3452 (exit $ac_status); } && { 3453 test -z "$ac_c_werror_flag" || 3454 test ! -s conftest.err 3455 } && test -s conftest.$ac_objext; then 3456 : 3457else 3458 $as_echo "$as_me: failed program was:" >&5 3459sed 's/^/| /' conftest.$ac_ext >&5 3460 3461 ac_c_werror_flag=$ac_save_c_werror_flag 3462 CFLAGS="-g" 3463 cat >conftest.$ac_ext <<_ACEOF 3464/* confdefs.h. */ 3465_ACEOF 3466cat confdefs.h >>conftest.$ac_ext 3467cat >>conftest.$ac_ext <<_ACEOF 3468/* end confdefs.h. */ 3469 3470int 3471main () 3472{ 3473 3474 ; 3475 return 0; 3476} 3477_ACEOF 3478rm -f conftest.$ac_objext 3479if { (ac_try="$ac_compile" 3480case "(($ac_try" in 3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3482 *) ac_try_echo=$ac_try;; 3483esac 3484eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3485$as_echo "$ac_try_echo") >&5 3486 (eval "$ac_compile") 2>conftest.er1 3487 ac_status=$? 3488 grep -v '^ *+' conftest.er1 >conftest.err 3489 rm -f conftest.er1 3490 cat conftest.err >&5 3491 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3492 (exit $ac_status); } && { 3493 test -z "$ac_c_werror_flag" || 3494 test ! -s conftest.err 3495 } && test -s conftest.$ac_objext; then 3496 ac_cv_prog_cc_g=yes 3497else 3498 $as_echo "$as_me: failed program was:" >&5 3499sed 's/^/| /' conftest.$ac_ext >&5 3500 3501 3502fi 3503 3504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3505fi 3506 3507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3508fi 3509 3510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3511 ac_c_werror_flag=$ac_save_c_werror_flag 3512fi 3513{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3514$as_echo "$ac_cv_prog_cc_g" >&6; } 3515if test "$ac_test_CFLAGS" = set; then 3516 CFLAGS=$ac_save_CFLAGS 3517elif test $ac_cv_prog_cc_g = yes; then 3518 if test "$GCC" = yes; then 3519 CFLAGS="-g -O2" 3520 else 3521 CFLAGS="-g" 3522 fi 3523else 3524 if test "$GCC" = yes; then 3525 CFLAGS="-O2" 3526 else 3527 CFLAGS= 3528 fi 3529fi 3530{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3531$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3532if test "${ac_cv_prog_cc_c89+set}" = set; then 3533 $as_echo_n "(cached) " >&6 3534else 3535 ac_cv_prog_cc_c89=no 3536ac_save_CC=$CC 3537cat >conftest.$ac_ext <<_ACEOF 3538/* confdefs.h. */ 3539_ACEOF 3540cat confdefs.h >>conftest.$ac_ext 3541cat >>conftest.$ac_ext <<_ACEOF 3542/* end confdefs.h. */ 3543#include <stdarg.h> 3544#include <stdio.h> 3545#include <sys/types.h> 3546#include <sys/stat.h> 3547/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3548struct buf { int x; }; 3549FILE * (*rcsopen) (struct buf *, struct stat *, int); 3550static char *e (p, i) 3551 char **p; 3552 int i; 3553{ 3554 return p[i]; 3555} 3556static char *f (char * (*g) (char **, int), char **p, ...) 3557{ 3558 char *s; 3559 va_list v; 3560 va_start (v,p); 3561 s = g (p, va_arg (v,int)); 3562 va_end (v); 3563 return s; 3564} 3565 3566/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3567 function prototypes and stuff, but not '\xHH' hex character constants. 3568 These don't provoke an error unfortunately, instead are silently treated 3569 as 'x'. The following induces an error, until -std is added to get 3570 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3571 array size at least. It's necessary to write '\x00'==0 to get something 3572 that's true only with -std. */ 3573int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3574 3575/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3576 inside strings and character constants. */ 3577#define FOO(x) 'x' 3578int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3579 3580int test (int i, double x); 3581struct s1 {int (*f) (int a);}; 3582struct s2 {int (*f) (double a);}; 3583int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3584int argc; 3585char **argv; 3586int 3587main () 3588{ 3589return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3590 ; 3591 return 0; 3592} 3593_ACEOF 3594for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3595 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3596do 3597 CC="$ac_save_CC $ac_arg" 3598 rm -f conftest.$ac_objext 3599if { (ac_try="$ac_compile" 3600case "(($ac_try" in 3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3602 *) ac_try_echo=$ac_try;; 3603esac 3604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3605$as_echo "$ac_try_echo") >&5 3606 (eval "$ac_compile") 2>conftest.er1 3607 ac_status=$? 3608 grep -v '^ *+' conftest.er1 >conftest.err 3609 rm -f conftest.er1 3610 cat conftest.err >&5 3611 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3612 (exit $ac_status); } && { 3613 test -z "$ac_c_werror_flag" || 3614 test ! -s conftest.err 3615 } && test -s conftest.$ac_objext; then 3616 ac_cv_prog_cc_c89=$ac_arg 3617else 3618 $as_echo "$as_me: failed program was:" >&5 3619sed 's/^/| /' conftest.$ac_ext >&5 3620 3621 3622fi 3623 3624rm -f core conftest.err conftest.$ac_objext 3625 test "x$ac_cv_prog_cc_c89" != "xno" && break 3626done 3627rm -f conftest.$ac_ext 3628CC=$ac_save_CC 3629 3630fi 3631# AC_CACHE_VAL 3632case "x$ac_cv_prog_cc_c89" in 3633 x) 3634 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3635$as_echo "none needed" >&6; } ;; 3636 xno) 3637 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3638$as_echo "unsupported" >&6; } ;; 3639 *) 3640 CC="$CC $ac_cv_prog_cc_c89" 3641 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3642$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3643esac 3644 3645 3646ac_ext=c 3647ac_cpp='$CPP $CPPFLAGS' 3648ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3649ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3650ac_compiler_gnu=$ac_cv_c_compiler_gnu 3651 3652depcc="$CC" am_compiler_list= 3653 3654{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3655$as_echo_n "checking dependency style of $depcc... " >&6; } 3656if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3657 $as_echo_n "(cached) " >&6 3658else 3659 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3660 # We make a subdir and do the tests there. Otherwise we can end up 3661 # making bogus files that we don't know about and never remove. For 3662 # instance it was reported that on HP-UX the gcc test will end up 3663 # making a dummy file named `D' -- because `-MD' means `put the output 3664 # in D'. 3665 mkdir conftest.dir 3666 # Copy depcomp to subdir because otherwise we won't find it if we're 3667 # using a relative directory. 3668 cp "$am_depcomp" conftest.dir 3669 cd conftest.dir 3670 # We will build objects and dependencies in a subdirectory because 3671 # it helps to detect inapplicable dependency modes. For instance 3672 # both Tru64's cc and ICC support -MD to output dependencies as a 3673 # side effect of compilation, but ICC will put the dependencies in 3674 # the current directory while Tru64 will put them in the object 3675 # directory. 3676 mkdir sub 3677 3678 am_cv_CC_dependencies_compiler_type=none 3679 if test "$am_compiler_list" = ""; then 3680 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3681 fi 3682 am__universal=false 3683 case " $depcc " in #( 3684 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3685 esac 3686 3687 for depmode in $am_compiler_list; do 3688 # Setup a source with many dependencies, because some compilers 3689 # like to wrap large dependency lists on column 80 (with \), and 3690 # we should not choose a depcomp mode which is confused by this. 3691 # 3692 # We need to recreate these files for each test, as the compiler may 3693 # overwrite some of them when testing with obscure command lines. 3694 # This happens at least with the AIX C compiler. 3695 : > sub/conftest.c 3696 for i in 1 2 3 4 5 6; do 3697 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3698 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3699 # Solaris 8's {/usr,}/bin/sh. 3700 touch sub/conftst$i.h 3701 done 3702 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3703 3704 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3705 # mode. It turns out that the SunPro C++ compiler does not properly 3706 # handle `-M -o', and we need to detect this. Also, some Intel 3707 # versions had trouble with output in subdirs 3708 am__obj=sub/conftest.${OBJEXT-o} 3709 am__minus_obj="-o $am__obj" 3710 case $depmode in 3711 gcc) 3712 # This depmode causes a compiler race in universal mode. 3713 test "$am__universal" = false || continue 3714 ;; 3715 nosideeffect) 3716 # after this tag, mechanisms are not by side-effect, so they'll 3717 # only be used when explicitly requested 3718 if test "x$enable_dependency_tracking" = xyes; then 3719 continue 3720 else 3721 break 3722 fi 3723 ;; 3724 msvisualcpp | msvcmsys) 3725 # This compiler won't grok `-c -o', but also, the minuso test has 3726 # not run yet. These depmodes are late enough in the game, and 3727 # so weak that their functioning should not be impacted. 3728 am__obj=conftest.${OBJEXT-o} 3729 am__minus_obj= 3730 ;; 3731 none) break ;; 3732 esac 3733 if depmode=$depmode \ 3734 source=sub/conftest.c object=$am__obj \ 3735 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3736 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3737 >/dev/null 2>conftest.err && 3738 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3739 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3740 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3741 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3742 # icc doesn't choke on unknown options, it will just issue warnings 3743 # or remarks (even with -Werror). So we grep stderr for any message 3744 # that says an option was ignored or not supported. 3745 # When given -MP, icc 7.0 and 7.1 complain thusly: 3746 # icc: Command line warning: ignoring option '-M'; no argument required 3747 # The diagnosis changed in icc 8.0: 3748 # icc: Command line remark: option '-MP' not supported 3749 if (grep 'ignoring option' conftest.err || 3750 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3751 am_cv_CC_dependencies_compiler_type=$depmode 3752 break 3753 fi 3754 fi 3755 done 3756 3757 cd .. 3758 rm -rf conftest.dir 3759else 3760 am_cv_CC_dependencies_compiler_type=none 3761fi 3762 3763fi 3764{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3765$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3766CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3767 3768 if 3769 test "x$enable_dependency_tracking" != xno \ 3770 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3771 am__fastdepCC_TRUE= 3772 am__fastdepCC_FALSE='#' 3773else 3774 am__fastdepCC_TRUE='#' 3775 am__fastdepCC_FALSE= 3776fi 3777 3778 3779 3780ac_ext=c 3781ac_cpp='$CPP $CPPFLAGS' 3782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3784ac_compiler_gnu=$ac_cv_c_compiler_gnu 3785{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3786$as_echo_n "checking how to run the C preprocessor... " >&6; } 3787# On Suns, sometimes $CPP names a directory. 3788if test -n "$CPP" && test -d "$CPP"; then 3789 CPP= 3790fi 3791if test -z "$CPP"; then 3792 if test "${ac_cv_prog_CPP+set}" = set; then 3793 $as_echo_n "(cached) " >&6 3794else 3795 # Double quotes because CPP needs to be expanded 3796 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3797 do 3798 ac_preproc_ok=false 3799for ac_c_preproc_warn_flag in '' yes 3800do 3801 # Use a header file that comes with gcc, so configuring glibc 3802 # with a fresh cross-compiler works. 3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3804 # <limits.h> exists even on freestanding compilers. 3805 # On the NeXT, cc -E runs the code through the compiler's parser, 3806 # not just through cpp. "Syntax error" is here to catch this case. 3807 cat >conftest.$ac_ext <<_ACEOF 3808/* confdefs.h. */ 3809_ACEOF 3810cat confdefs.h >>conftest.$ac_ext 3811cat >>conftest.$ac_ext <<_ACEOF 3812/* end confdefs.h. */ 3813#ifdef __STDC__ 3814# include <limits.h> 3815#else 3816# include <assert.h> 3817#endif 3818 Syntax error 3819_ACEOF 3820if { (ac_try="$ac_cpp conftest.$ac_ext" 3821case "(($ac_try" in 3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3823 *) ac_try_echo=$ac_try;; 3824esac 3825eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3826$as_echo "$ac_try_echo") >&5 3827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3828 ac_status=$? 3829 grep -v '^ *+' conftest.er1 >conftest.err 3830 rm -f conftest.er1 3831 cat conftest.err >&5 3832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3833 (exit $ac_status); } >/dev/null && { 3834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3835 test ! -s conftest.err 3836 }; then 3837 : 3838else 3839 $as_echo "$as_me: failed program was:" >&5 3840sed 's/^/| /' conftest.$ac_ext >&5 3841 3842 # Broken: fails on valid input. 3843continue 3844fi 3845 3846rm -f conftest.err conftest.$ac_ext 3847 3848 # OK, works on sane cases. Now check whether nonexistent headers 3849 # can be detected and how. 3850 cat >conftest.$ac_ext <<_ACEOF 3851/* confdefs.h. */ 3852_ACEOF 3853cat confdefs.h >>conftest.$ac_ext 3854cat >>conftest.$ac_ext <<_ACEOF 3855/* end confdefs.h. */ 3856#include <ac_nonexistent.h> 3857_ACEOF 3858if { (ac_try="$ac_cpp conftest.$ac_ext" 3859case "(($ac_try" in 3860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3861 *) ac_try_echo=$ac_try;; 3862esac 3863eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3864$as_echo "$ac_try_echo") >&5 3865 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3866 ac_status=$? 3867 grep -v '^ *+' conftest.er1 >conftest.err 3868 rm -f conftest.er1 3869 cat conftest.err >&5 3870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3871 (exit $ac_status); } >/dev/null && { 3872 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3873 test ! -s conftest.err 3874 }; then 3875 # Broken: success on invalid input. 3876continue 3877else 3878 $as_echo "$as_me: failed program was:" >&5 3879sed 's/^/| /' conftest.$ac_ext >&5 3880 3881 # Passes both tests. 3882ac_preproc_ok=: 3883break 3884fi 3885 3886rm -f conftest.err conftest.$ac_ext 3887 3888done 3889# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3890rm -f conftest.err conftest.$ac_ext 3891if $ac_preproc_ok; then 3892 break 3893fi 3894 3895 done 3896 ac_cv_prog_CPP=$CPP 3897 3898fi 3899 CPP=$ac_cv_prog_CPP 3900else 3901 ac_cv_prog_CPP=$CPP 3902fi 3903{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 3904$as_echo "$CPP" >&6; } 3905ac_preproc_ok=false 3906for ac_c_preproc_warn_flag in '' yes 3907do 3908 # Use a header file that comes with gcc, so configuring glibc 3909 # with a fresh cross-compiler works. 3910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3911 # <limits.h> exists even on freestanding compilers. 3912 # On the NeXT, cc -E runs the code through the compiler's parser, 3913 # not just through cpp. "Syntax error" is here to catch this case. 3914 cat >conftest.$ac_ext <<_ACEOF 3915/* confdefs.h. */ 3916_ACEOF 3917cat confdefs.h >>conftest.$ac_ext 3918cat >>conftest.$ac_ext <<_ACEOF 3919/* end confdefs.h. */ 3920#ifdef __STDC__ 3921# include <limits.h> 3922#else 3923# include <assert.h> 3924#endif 3925 Syntax error 3926_ACEOF 3927if { (ac_try="$ac_cpp conftest.$ac_ext" 3928case "(($ac_try" in 3929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3930 *) ac_try_echo=$ac_try;; 3931esac 3932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3933$as_echo "$ac_try_echo") >&5 3934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3935 ac_status=$? 3936 grep -v '^ *+' conftest.er1 >conftest.err 3937 rm -f conftest.er1 3938 cat conftest.err >&5 3939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3940 (exit $ac_status); } >/dev/null && { 3941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3942 test ! -s conftest.err 3943 }; then 3944 : 3945else 3946 $as_echo "$as_me: failed program was:" >&5 3947sed 's/^/| /' conftest.$ac_ext >&5 3948 3949 # Broken: fails on valid input. 3950continue 3951fi 3952 3953rm -f conftest.err conftest.$ac_ext 3954 3955 # OK, works on sane cases. Now check whether nonexistent headers 3956 # can be detected and how. 3957 cat >conftest.$ac_ext <<_ACEOF 3958/* confdefs.h. */ 3959_ACEOF 3960cat confdefs.h >>conftest.$ac_ext 3961cat >>conftest.$ac_ext <<_ACEOF 3962/* end confdefs.h. */ 3963#include <ac_nonexistent.h> 3964_ACEOF 3965if { (ac_try="$ac_cpp conftest.$ac_ext" 3966case "(($ac_try" in 3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3968 *) ac_try_echo=$ac_try;; 3969esac 3970eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3971$as_echo "$ac_try_echo") >&5 3972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3973 ac_status=$? 3974 grep -v '^ *+' conftest.er1 >conftest.err 3975 rm -f conftest.er1 3976 cat conftest.err >&5 3977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3978 (exit $ac_status); } >/dev/null && { 3979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3980 test ! -s conftest.err 3981 }; then 3982 # Broken: success on invalid input. 3983continue 3984else 3985 $as_echo "$as_me: failed program was:" >&5 3986sed 's/^/| /' conftest.$ac_ext >&5 3987 3988 # Passes both tests. 3989ac_preproc_ok=: 3990break 3991fi 3992 3993rm -f conftest.err conftest.$ac_ext 3994 3995done 3996# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3997rm -f conftest.err conftest.$ac_ext 3998if $ac_preproc_ok; then 3999 : 4000else 4001 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4003{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4004See \`config.log' for more details." >&5 4005$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4006See \`config.log' for more details." >&2;} 4007 { (exit 1); exit 1; }; }; } 4008fi 4009 4010ac_ext=c 4011ac_cpp='$CPP $CPPFLAGS' 4012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4013ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4014ac_compiler_gnu=$ac_cv_c_compiler_gnu 4015 4016 4017{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4018$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4019if test "${ac_cv_path_GREP+set}" = set; then 4020 $as_echo_n "(cached) " >&6 4021else 4022 if test -z "$GREP"; then 4023 ac_path_GREP_found=false 4024 # Loop through the user's path and test for each of PROGNAME-LIST 4025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4026for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4027do 4028 IFS=$as_save_IFS 4029 test -z "$as_dir" && as_dir=. 4030 for ac_prog in grep ggrep; do 4031 for ac_exec_ext in '' $ac_executable_extensions; do 4032 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4033 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4034# Check for GNU ac_path_GREP and select it if it is found. 4035 # Check for GNU $ac_path_GREP 4036case `"$ac_path_GREP" --version 2>&1` in 4037*GNU*) 4038 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4039*) 4040 ac_count=0 4041 $as_echo_n 0123456789 >"conftest.in" 4042 while : 4043 do 4044 cat "conftest.in" "conftest.in" >"conftest.tmp" 4045 mv "conftest.tmp" "conftest.in" 4046 cp "conftest.in" "conftest.nl" 4047 $as_echo 'GREP' >> "conftest.nl" 4048 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4049 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4050 ac_count=`expr $ac_count + 1` 4051 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4052 # Best one so far, save it but keep looking for a better one 4053 ac_cv_path_GREP="$ac_path_GREP" 4054 ac_path_GREP_max=$ac_count 4055 fi 4056 # 10*(2^10) chars as input seems more than enough 4057 test $ac_count -gt 10 && break 4058 done 4059 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4060esac 4061 4062 $ac_path_GREP_found && break 3 4063 done 4064 done 4065done 4066IFS=$as_save_IFS 4067 if test -z "$ac_cv_path_GREP"; then 4068 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4069$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4070 { (exit 1); exit 1; }; } 4071 fi 4072else 4073 ac_cv_path_GREP=$GREP 4074fi 4075 4076fi 4077{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4078$as_echo "$ac_cv_path_GREP" >&6; } 4079 GREP="$ac_cv_path_GREP" 4080 4081 4082{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4083$as_echo_n "checking for egrep... " >&6; } 4084if test "${ac_cv_path_EGREP+set}" = set; then 4085 $as_echo_n "(cached) " >&6 4086else 4087 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4088 then ac_cv_path_EGREP="$GREP -E" 4089 else 4090 if test -z "$EGREP"; then 4091 ac_path_EGREP_found=false 4092 # Loop through the user's path and test for each of PROGNAME-LIST 4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4094for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4095do 4096 IFS=$as_save_IFS 4097 test -z "$as_dir" && as_dir=. 4098 for ac_prog in egrep; do 4099 for ac_exec_ext in '' $ac_executable_extensions; do 4100 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4101 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4102# Check for GNU ac_path_EGREP and select it if it is found. 4103 # Check for GNU $ac_path_EGREP 4104case `"$ac_path_EGREP" --version 2>&1` in 4105*GNU*) 4106 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4107*) 4108 ac_count=0 4109 $as_echo_n 0123456789 >"conftest.in" 4110 while : 4111 do 4112 cat "conftest.in" "conftest.in" >"conftest.tmp" 4113 mv "conftest.tmp" "conftest.in" 4114 cp "conftest.in" "conftest.nl" 4115 $as_echo 'EGREP' >> "conftest.nl" 4116 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4117 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4118 ac_count=`expr $ac_count + 1` 4119 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4120 # Best one so far, save it but keep looking for a better one 4121 ac_cv_path_EGREP="$ac_path_EGREP" 4122 ac_path_EGREP_max=$ac_count 4123 fi 4124 # 10*(2^10) chars as input seems more than enough 4125 test $ac_count -gt 10 && break 4126 done 4127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4128esac 4129 4130 $ac_path_EGREP_found && break 3 4131 done 4132 done 4133done 4134IFS=$as_save_IFS 4135 if test -z "$ac_cv_path_EGREP"; then 4136 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4137$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4138 { (exit 1); exit 1; }; } 4139 fi 4140else 4141 ac_cv_path_EGREP=$EGREP 4142fi 4143 4144 fi 4145fi 4146{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4147$as_echo "$ac_cv_path_EGREP" >&6; } 4148 EGREP="$ac_cv_path_EGREP" 4149 4150 4151{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4152$as_echo_n "checking for ANSI C header files... " >&6; } 4153if test "${ac_cv_header_stdc+set}" = set; then 4154 $as_echo_n "(cached) " >&6 4155else 4156 cat >conftest.$ac_ext <<_ACEOF 4157/* confdefs.h. */ 4158_ACEOF 4159cat confdefs.h >>conftest.$ac_ext 4160cat >>conftest.$ac_ext <<_ACEOF 4161/* end confdefs.h. */ 4162#include <stdlib.h> 4163#include <stdarg.h> 4164#include <string.h> 4165#include <float.h> 4166 4167int 4168main () 4169{ 4170 4171 ; 4172 return 0; 4173} 4174_ACEOF 4175rm -f conftest.$ac_objext 4176if { (ac_try="$ac_compile" 4177case "(($ac_try" in 4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4179 *) ac_try_echo=$ac_try;; 4180esac 4181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4182$as_echo "$ac_try_echo") >&5 4183 (eval "$ac_compile") 2>conftest.er1 4184 ac_status=$? 4185 grep -v '^ *+' conftest.er1 >conftest.err 4186 rm -f conftest.er1 4187 cat conftest.err >&5 4188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4189 (exit $ac_status); } && { 4190 test -z "$ac_c_werror_flag" || 4191 test ! -s conftest.err 4192 } && test -s conftest.$ac_objext; then 4193 ac_cv_header_stdc=yes 4194else 4195 $as_echo "$as_me: failed program was:" >&5 4196sed 's/^/| /' conftest.$ac_ext >&5 4197 4198 ac_cv_header_stdc=no 4199fi 4200 4201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4202 4203if test $ac_cv_header_stdc = yes; then 4204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4205 cat >conftest.$ac_ext <<_ACEOF 4206/* confdefs.h. */ 4207_ACEOF 4208cat confdefs.h >>conftest.$ac_ext 4209cat >>conftest.$ac_ext <<_ACEOF 4210/* end confdefs.h. */ 4211#include <string.h> 4212 4213_ACEOF 4214if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4215 $EGREP "memchr" >/dev/null 2>&1; then 4216 : 4217else 4218 ac_cv_header_stdc=no 4219fi 4220rm -f conftest* 4221 4222fi 4223 4224if test $ac_cv_header_stdc = yes; then 4225 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4226 cat >conftest.$ac_ext <<_ACEOF 4227/* confdefs.h. */ 4228_ACEOF 4229cat confdefs.h >>conftest.$ac_ext 4230cat >>conftest.$ac_ext <<_ACEOF 4231/* end confdefs.h. */ 4232#include <stdlib.h> 4233 4234_ACEOF 4235if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4236 $EGREP "free" >/dev/null 2>&1; then 4237 : 4238else 4239 ac_cv_header_stdc=no 4240fi 4241rm -f conftest* 4242 4243fi 4244 4245if test $ac_cv_header_stdc = yes; then 4246 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4247 if test "$cross_compiling" = yes; then 4248 : 4249else 4250 cat >conftest.$ac_ext <<_ACEOF 4251/* confdefs.h. */ 4252_ACEOF 4253cat confdefs.h >>conftest.$ac_ext 4254cat >>conftest.$ac_ext <<_ACEOF 4255/* end confdefs.h. */ 4256#include <ctype.h> 4257#include <stdlib.h> 4258#if ((' ' & 0x0FF) == 0x020) 4259# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4260# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4261#else 4262# define ISLOWER(c) \ 4263 (('a' <= (c) && (c) <= 'i') \ 4264 || ('j' <= (c) && (c) <= 'r') \ 4265 || ('s' <= (c) && (c) <= 'z')) 4266# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4267#endif 4268 4269#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4270int 4271main () 4272{ 4273 int i; 4274 for (i = 0; i < 256; i++) 4275 if (XOR (islower (i), ISLOWER (i)) 4276 || toupper (i) != TOUPPER (i)) 4277 return 2; 4278 return 0; 4279} 4280_ACEOF 4281rm -f conftest$ac_exeext 4282if { (ac_try="$ac_link" 4283case "(($ac_try" in 4284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4285 *) ac_try_echo=$ac_try;; 4286esac 4287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4288$as_echo "$ac_try_echo") >&5 4289 (eval "$ac_link") 2>&5 4290 ac_status=$? 4291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4293 { (case "(($ac_try" in 4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4295 *) ac_try_echo=$ac_try;; 4296esac 4297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4298$as_echo "$ac_try_echo") >&5 4299 (eval "$ac_try") 2>&5 4300 ac_status=$? 4301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4302 (exit $ac_status); }; }; then 4303 : 4304else 4305 $as_echo "$as_me: program exited with status $ac_status" >&5 4306$as_echo "$as_me: failed program was:" >&5 4307sed 's/^/| /' conftest.$ac_ext >&5 4308 4309( exit $ac_status ) 4310ac_cv_header_stdc=no 4311fi 4312rm -rf conftest.dSYM 4313rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4314fi 4315 4316 4317fi 4318fi 4319{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4320$as_echo "$ac_cv_header_stdc" >&6; } 4321if test $ac_cv_header_stdc = yes; then 4322 4323cat >>confdefs.h <<\_ACEOF 4324#define STDC_HEADERS 1 4325_ACEOF 4326 4327fi 4328 4329# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4340 inttypes.h stdint.h unistd.h 4341do 4342as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4343{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4344$as_echo_n "checking for $ac_header... " >&6; } 4345if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4346 $as_echo_n "(cached) " >&6 4347else 4348 cat >conftest.$ac_ext <<_ACEOF 4349/* confdefs.h. */ 4350_ACEOF 4351cat confdefs.h >>conftest.$ac_ext 4352cat >>conftest.$ac_ext <<_ACEOF 4353/* end confdefs.h. */ 4354$ac_includes_default 4355 4356#include <$ac_header> 4357_ACEOF 4358rm -f conftest.$ac_objext 4359if { (ac_try="$ac_compile" 4360case "(($ac_try" in 4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4362 *) ac_try_echo=$ac_try;; 4363esac 4364eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4365$as_echo "$ac_try_echo") >&5 4366 (eval "$ac_compile") 2>conftest.er1 4367 ac_status=$? 4368 grep -v '^ *+' conftest.er1 >conftest.err 4369 rm -f conftest.er1 4370 cat conftest.err >&5 4371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4372 (exit $ac_status); } && { 4373 test -z "$ac_c_werror_flag" || 4374 test ! -s conftest.err 4375 } && test -s conftest.$ac_objext; then 4376 eval "$as_ac_Header=yes" 4377else 4378 $as_echo "$as_me: failed program was:" >&5 4379sed 's/^/| /' conftest.$ac_ext >&5 4380 4381 eval "$as_ac_Header=no" 4382fi 4383 4384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4385fi 4386ac_res=`eval 'as_val=${'$as_ac_Header'} 4387 $as_echo "$as_val"'` 4388 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4389$as_echo "$ac_res" >&6; } 4390as_val=`eval 'as_val=${'$as_ac_Header'} 4391 $as_echo "$as_val"'` 4392 if test "x$as_val" = x""yes; then 4393 cat >>confdefs.h <<_ACEOF 4394#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4395_ACEOF 4396 4397fi 4398 4399done 4400 4401 4402 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 4403$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 4404if test "${ac_cv_prog_cc_c99+set}" = set; then 4405 $as_echo_n "(cached) " >&6 4406else 4407 ac_cv_prog_cc_c99=no 4408ac_save_CC=$CC 4409cat >conftest.$ac_ext <<_ACEOF 4410/* confdefs.h. */ 4411_ACEOF 4412cat confdefs.h >>conftest.$ac_ext 4413cat >>conftest.$ac_ext <<_ACEOF 4414/* end confdefs.h. */ 4415#include <stdarg.h> 4416#include <stdbool.h> 4417#include <stdlib.h> 4418#include <wchar.h> 4419#include <stdio.h> 4420 4421// Check varargs macros. These examples are taken from C99 6.10.3.5. 4422#define debug(...) fprintf (stderr, __VA_ARGS__) 4423#define showlist(...) puts (#__VA_ARGS__) 4424#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 4425static void 4426test_varargs_macros (void) 4427{ 4428 int x = 1234; 4429 int y = 5678; 4430 debug ("Flag"); 4431 debug ("X = %d\n", x); 4432 showlist (The first, second, and third items.); 4433 report (x>y, "x is %d but y is %d", x, y); 4434} 4435 4436// Check long long types. 4437#define BIG64 18446744073709551615ull 4438#define BIG32 4294967295ul 4439#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 4440#if !BIG_OK 4441 your preprocessor is broken; 4442#endif 4443#if BIG_OK 4444#else 4445 your preprocessor is broken; 4446#endif 4447static long long int bignum = -9223372036854775807LL; 4448static unsigned long long int ubignum = BIG64; 4449 4450struct incomplete_array 4451{ 4452 int datasize; 4453 double data[]; 4454}; 4455 4456struct named_init { 4457 int number; 4458 const wchar_t *name; 4459 double average; 4460}; 4461 4462typedef const char *ccp; 4463 4464static inline int 4465test_restrict (ccp restrict text) 4466{ 4467 // See if C++-style comments work. 4468 // Iterate through items via the restricted pointer. 4469 // Also check for declarations in for loops. 4470 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4471 continue; 4472 return 0; 4473} 4474 4475// Check varargs and va_copy. 4476static void 4477test_varargs (const char *format, ...) 4478{ 4479 va_list args; 4480 va_start (args, format); 4481 va_list args_copy; 4482 va_copy (args_copy, args); 4483 4484 const char *str; 4485 int number; 4486 float fnumber; 4487 4488 while (*format) 4489 { 4490 switch (*format++) 4491 { 4492 case 's': // string 4493 str = va_arg (args_copy, const char *); 4494 break; 4495 case 'd': // int 4496 number = va_arg (args_copy, int); 4497 break; 4498 case 'f': // float 4499 fnumber = va_arg (args_copy, double); 4500 break; 4501 default: 4502 break; 4503 } 4504 } 4505 va_end (args_copy); 4506 va_end (args); 4507} 4508 4509int 4510main () 4511{ 4512 4513 // Check bool. 4514 _Bool success = false; 4515 4516 // Check restrict. 4517 if (test_restrict ("String literal") == 0) 4518 success = true; 4519 char *restrict newvar = "Another string"; 4520 4521 // Check varargs. 4522 test_varargs ("s, d' f .", "string", 65, 34.234); 4523 test_varargs_macros (); 4524 4525 // Check flexible array members. 4526 struct incomplete_array *ia = 4527 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4528 ia->datasize = 10; 4529 for (int i = 0; i < ia->datasize; ++i) 4530 ia->data[i] = i * 1.234; 4531 4532 // Check named initializers. 4533 struct named_init ni = { 4534 .number = 34, 4535 .name = L"Test wide string", 4536 .average = 543.34343, 4537 }; 4538 4539 ni.number = 58; 4540 4541 int dynamic_array[ni.number]; 4542 dynamic_array[ni.number - 1] = 543; 4543 4544 // work around unused variable warnings 4545 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4546 || dynamic_array[ni.number - 1] != 543); 4547 4548 ; 4549 return 0; 4550} 4551_ACEOF 4552for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 4553do 4554 CC="$ac_save_CC $ac_arg" 4555 rm -f conftest.$ac_objext 4556if { (ac_try="$ac_compile" 4557case "(($ac_try" in 4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4559 *) ac_try_echo=$ac_try;; 4560esac 4561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4562$as_echo "$ac_try_echo") >&5 4563 (eval "$ac_compile") 2>conftest.er1 4564 ac_status=$? 4565 grep -v '^ *+' conftest.er1 >conftest.err 4566 rm -f conftest.er1 4567 cat conftest.err >&5 4568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4569 (exit $ac_status); } && { 4570 test -z "$ac_c_werror_flag" || 4571 test ! -s conftest.err 4572 } && test -s conftest.$ac_objext; then 4573 ac_cv_prog_cc_c99=$ac_arg 4574else 4575 $as_echo "$as_me: failed program was:" >&5 4576sed 's/^/| /' conftest.$ac_ext >&5 4577 4578 4579fi 4580 4581rm -f core conftest.err conftest.$ac_objext 4582 test "x$ac_cv_prog_cc_c99" != "xno" && break 4583done 4584rm -f conftest.$ac_ext 4585CC=$ac_save_CC 4586 4587fi 4588# AC_CACHE_VAL 4589case "x$ac_cv_prog_cc_c99" in 4590 x) 4591 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4592$as_echo "none needed" >&6; } ;; 4593 xno) 4594 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4595$as_echo "unsupported" >&6; } ;; 4596 *) 4597 CC="$CC $ac_cv_prog_cc_c99" 4598 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 4599$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4600esac 4601 4602 4603 4604 4605 4606if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4607 if test -n "$ac_tool_prefix"; then 4608 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4609set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4610{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4611$as_echo_n "checking for $ac_word... " >&6; } 4612if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4613 $as_echo_n "(cached) " >&6 4614else 4615 case $PKG_CONFIG in 4616 [\\/]* | ?:[\\/]*) 4617 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4618 ;; 4619 *) 4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4621for as_dir in $PATH 4622do 4623 IFS=$as_save_IFS 4624 test -z "$as_dir" && as_dir=. 4625 for ac_exec_ext in '' $ac_executable_extensions; do 4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4627 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4629 break 2 4630 fi 4631done 4632done 4633IFS=$as_save_IFS 4634 4635 ;; 4636esac 4637fi 4638PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4639if test -n "$PKG_CONFIG"; then 4640 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4641$as_echo "$PKG_CONFIG" >&6; } 4642else 4643 { $as_echo "$as_me:$LINENO: result: no" >&5 4644$as_echo "no" >&6; } 4645fi 4646 4647 4648fi 4649if test -z "$ac_cv_path_PKG_CONFIG"; then 4650 ac_pt_PKG_CONFIG=$PKG_CONFIG 4651 # Extract the first word of "pkg-config", so it can be a program name with args. 4652set dummy pkg-config; ac_word=$2 4653{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4654$as_echo_n "checking for $ac_word... " >&6; } 4655if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4656 $as_echo_n "(cached) " >&6 4657else 4658 case $ac_pt_PKG_CONFIG in 4659 [\\/]* | ?:[\\/]*) 4660 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4661 ;; 4662 *) 4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4664for as_dir in $PATH 4665do 4666 IFS=$as_save_IFS 4667 test -z "$as_dir" && as_dir=. 4668 for ac_exec_ext in '' $ac_executable_extensions; do 4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4670 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4671 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4672 break 2 4673 fi 4674done 4675done 4676IFS=$as_save_IFS 4677 4678 ;; 4679esac 4680fi 4681ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4682if test -n "$ac_pt_PKG_CONFIG"; then 4683 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4684$as_echo "$ac_pt_PKG_CONFIG" >&6; } 4685else 4686 { $as_echo "$as_me:$LINENO: result: no" >&5 4687$as_echo "no" >&6; } 4688fi 4689 4690 if test "x$ac_pt_PKG_CONFIG" = x; then 4691 PKG_CONFIG="" 4692 else 4693 case $cross_compiling:$ac_tool_warned in 4694yes:) 4695{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4697ac_tool_warned=yes ;; 4698esac 4699 PKG_CONFIG=$ac_pt_PKG_CONFIG 4700 fi 4701else 4702 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4703fi 4704 4705fi 4706if test -n "$PKG_CONFIG"; then 4707 _pkg_min_version=0.9.0 4708 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4709$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4710 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4711 { $as_echo "$as_me:$LINENO: result: yes" >&5 4712$as_echo "yes" >&6; } 4713 else 4714 { $as_echo "$as_me:$LINENO: result: no" >&5 4715$as_echo "no" >&6; } 4716 PKG_CONFIG="" 4717 fi 4718 4719fi 4720# Make sure we can run config.sub. 4721$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4722 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4723$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4724 { (exit 1); exit 1; }; } 4725 4726{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4727$as_echo_n "checking build system type... " >&6; } 4728if test "${ac_cv_build+set}" = set; then 4729 $as_echo_n "(cached) " >&6 4730else 4731 ac_build_alias=$build_alias 4732test "x$ac_build_alias" = x && 4733 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4734test "x$ac_build_alias" = x && 4735 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4736$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4737 { (exit 1); exit 1; }; } 4738ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4739 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4740$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4741 { (exit 1); exit 1; }; } 4742 4743fi 4744{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4745$as_echo "$ac_cv_build" >&6; } 4746case $ac_cv_build in 4747*-*-*) ;; 4748*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4749$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4750 { (exit 1); exit 1; }; };; 4751esac 4752build=$ac_cv_build 4753ac_save_IFS=$IFS; IFS='-' 4754set x $ac_cv_build 4755shift 4756build_cpu=$1 4757build_vendor=$2 4758shift; shift 4759# Remember, the first character of IFS is used to create $*, 4760# except with old shells: 4761build_os=$* 4762IFS=$ac_save_IFS 4763case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4764 4765 4766{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4767$as_echo_n "checking host system type... " >&6; } 4768if test "${ac_cv_host+set}" = set; then 4769 $as_echo_n "(cached) " >&6 4770else 4771 if test "x$host_alias" = x; then 4772 ac_cv_host=$ac_cv_build 4773else 4774 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4775 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4776$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4777 { (exit 1); exit 1; }; } 4778fi 4779 4780fi 4781{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4782$as_echo "$ac_cv_host" >&6; } 4783case $ac_cv_host in 4784*-*-*) ;; 4785*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4786$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4787 { (exit 1); exit 1; }; };; 4788esac 4789host=$ac_cv_host 4790ac_save_IFS=$IFS; IFS='-' 4791set x $ac_cv_host 4792shift 4793host_cpu=$1 4794host_vendor=$2 4795shift; shift 4796# Remember, the first character of IFS is used to create $*, 4797# except with old shells: 4798host_os=$* 4799IFS=$ac_save_IFS 4800case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4801 4802 4803 4804 4805 4806if test "x$GCC" = xyes ; then 4807 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 4808-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 4809-Wbad-function-cast -Wformat=2" 4810 case `$CC -dumpversion` in 4811 3.4.* | 4.*) 4812 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 4813 ;; 4814 esac 4815else 4816 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4817$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4818if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4819 $as_echo_n "(cached) " >&6 4820else 4821 cat >conftest.$ac_ext <<_ACEOF 4822/* confdefs.h. */ 4823_ACEOF 4824cat confdefs.h >>conftest.$ac_ext 4825cat >>conftest.$ac_ext <<_ACEOF 4826/* end confdefs.h. */ 4827$ac_includes_default 4828int 4829main () 4830{ 4831#ifndef __SUNPRO_C 4832 (void) __SUNPRO_C; 4833#endif 4834 4835 ; 4836 return 0; 4837} 4838_ACEOF 4839rm -f conftest.$ac_objext 4840if { (ac_try="$ac_compile" 4841case "(($ac_try" in 4842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4843 *) ac_try_echo=$ac_try;; 4844esac 4845eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4846$as_echo "$ac_try_echo") >&5 4847 (eval "$ac_compile") 2>conftest.er1 4848 ac_status=$? 4849 grep -v '^ *+' conftest.er1 >conftest.err 4850 rm -f conftest.er1 4851 cat conftest.err >&5 4852 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4853 (exit $ac_status); } && { 4854 test -z "$ac_c_werror_flag" || 4855 test ! -s conftest.err 4856 } && test -s conftest.$ac_objext; then 4857 ac_cv_have_decl___SUNPRO_C=yes 4858else 4859 $as_echo "$as_me: failed program was:" >&5 4860sed 's/^/| /' conftest.$ac_ext >&5 4861 4862 ac_cv_have_decl___SUNPRO_C=no 4863fi 4864 4865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4866fi 4867{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4868$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4869if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4870 SUNCC="yes" 4871else 4872 SUNCC="no" 4873fi 4874 4875 if test "x$SUNCC" = "xyes"; then 4876 CWARNFLAGS="-v" 4877 fi 4878fi 4879 4880 4881 4882 4883 4884 4885 4886# Check whether --enable-strict-compilation was given. 4887if test "${enable_strict_compilation+set}" = set; then 4888 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 4889else 4890 STRICT_COMPILE=no 4891fi 4892 4893if test "x$STRICT_COMPILE" = "xyes"; then 4894 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 4895$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 4896if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 4897 $as_echo_n "(cached) " >&6 4898else 4899 cat >conftest.$ac_ext <<_ACEOF 4900/* confdefs.h. */ 4901_ACEOF 4902cat confdefs.h >>conftest.$ac_ext 4903cat >>conftest.$ac_ext <<_ACEOF 4904/* end confdefs.h. */ 4905$ac_includes_default 4906int 4907main () 4908{ 4909#ifndef __SUNPRO_C 4910 (void) __SUNPRO_C; 4911#endif 4912 4913 ; 4914 return 0; 4915} 4916_ACEOF 4917rm -f conftest.$ac_objext 4918if { (ac_try="$ac_compile" 4919case "(($ac_try" in 4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4921 *) ac_try_echo=$ac_try;; 4922esac 4923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4924$as_echo "$ac_try_echo") >&5 4925 (eval "$ac_compile") 2>conftest.er1 4926 ac_status=$? 4927 grep -v '^ *+' conftest.er1 >conftest.err 4928 rm -f conftest.er1 4929 cat conftest.err >&5 4930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4931 (exit $ac_status); } && { 4932 test -z "$ac_c_werror_flag" || 4933 test ! -s conftest.err 4934 } && test -s conftest.$ac_objext; then 4935 ac_cv_have_decl___SUNPRO_C=yes 4936else 4937 $as_echo "$as_me: failed program was:" >&5 4938sed 's/^/| /' conftest.$ac_ext >&5 4939 4940 ac_cv_have_decl___SUNPRO_C=no 4941fi 4942 4943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4944fi 4945{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 4946$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 4947if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 4948 SUNCC="yes" 4949else 4950 SUNCC="no" 4951fi 4952 4953 { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 4954$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 4955if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 4956 $as_echo_n "(cached) " >&6 4957else 4958 cat >conftest.$ac_ext <<_ACEOF 4959/* confdefs.h. */ 4960_ACEOF 4961cat confdefs.h >>conftest.$ac_ext 4962cat >>conftest.$ac_ext <<_ACEOF 4963/* end confdefs.h. */ 4964$ac_includes_default 4965int 4966main () 4967{ 4968#ifndef __INTEL_COMPILER 4969 (void) __INTEL_COMPILER; 4970#endif 4971 4972 ; 4973 return 0; 4974} 4975_ACEOF 4976rm -f conftest.$ac_objext 4977if { (ac_try="$ac_compile" 4978case "(($ac_try" in 4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4980 *) ac_try_echo=$ac_try;; 4981esac 4982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4983$as_echo "$ac_try_echo") >&5 4984 (eval "$ac_compile") 2>conftest.er1 4985 ac_status=$? 4986 grep -v '^ *+' conftest.er1 >conftest.err 4987 rm -f conftest.er1 4988 cat conftest.err >&5 4989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4990 (exit $ac_status); } && { 4991 test -z "$ac_c_werror_flag" || 4992 test ! -s conftest.err 4993 } && test -s conftest.$ac_objext; then 4994 ac_cv_have_decl___INTEL_COMPILER=yes 4995else 4996 $as_echo "$as_me: failed program was:" >&5 4997sed 's/^/| /' conftest.$ac_ext >&5 4998 4999 ac_cv_have_decl___INTEL_COMPILER=no 5000fi 5001 5002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5003fi 5004{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 5005$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 5006if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 5007 INTELCC="yes" 5008else 5009 INTELCC="no" 5010fi 5011 5012 if test "x$GCC" = xyes ; then 5013 STRICT_CFLAGS="-pedantic -Werror" 5014 elif test "x$SUNCC" = "xyes"; then 5015 STRICT_CFLAGS="-errwarn" 5016 elif test "x$INTELCC" = "xyes"; then 5017 STRICT_CFLAGS="-Werror" 5018 fi 5019fi 5020CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 5021 5022 5023 5024 5025# Check whether --with-release-version was given. 5026if test "${with_release_version+set}" = set; then 5027 withval=$with_release_version; RELEASE_VERSION="$withval" 5028else 5029 RELEASE_VERSION="" 5030fi 5031 5032 if test "x$RELEASE_VERSION" != "x"; then 5033 PACKAGE="$PACKAGE-$RELEASE_VERSION" 5034 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 5035 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 5036$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 5037 fi 5038 5039cat >>confdefs.h <<_ACEOF 5040#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 5041_ACEOF 5042 5043 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 5044 if test "x$PVM" = "x"; then 5045 PVM="0" 5046 fi 5047 5048cat >>confdefs.h <<_ACEOF 5049#define PACKAGE_VERSION_MINOR $PVM 5050_ACEOF 5051 5052 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 5053 if test "x$PVP" = "x"; then 5054 PVP="0" 5055 fi 5056 5057cat >>confdefs.h <<_ACEOF 5058#define PACKAGE_VERSION_PATCHLEVEL $PVP 5059_ACEOF 5060 5061 5062 5063CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 5064mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 5065|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 5066echo 'git directory not found: installing possibly empty changelog.' >&2)" 5067 5068 5069 5070 5071macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 5072INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 5073mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 5074|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 5075echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 5076 5077 5078 5079 5080 5081if test x$APP_MAN_SUFFIX = x ; then 5082 APP_MAN_SUFFIX=1 5083fi 5084if test x$APP_MAN_DIR = x ; then 5085 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 5086fi 5087 5088if test x$LIB_MAN_SUFFIX = x ; then 5089 LIB_MAN_SUFFIX=3 5090fi 5091if test x$LIB_MAN_DIR = x ; then 5092 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 5093fi 5094 5095if test x$FILE_MAN_SUFFIX = x ; then 5096 case $host_os in 5097 solaris*) FILE_MAN_SUFFIX=4 ;; 5098 *) FILE_MAN_SUFFIX=5 ;; 5099 esac 5100fi 5101if test x$FILE_MAN_DIR = x ; then 5102 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 5103fi 5104 5105if test x$MISC_MAN_SUFFIX = x ; then 5106 case $host_os in 5107 solaris*) MISC_MAN_SUFFIX=5 ;; 5108 *) MISC_MAN_SUFFIX=7 ;; 5109 esac 5110fi 5111if test x$MISC_MAN_DIR = x ; then 5112 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 5113fi 5114 5115if test x$DRIVER_MAN_SUFFIX = x ; then 5116 case $host_os in 5117 solaris*) DRIVER_MAN_SUFFIX=7 ;; 5118 *) DRIVER_MAN_SUFFIX=4 ;; 5119 esac 5120fi 5121if test x$DRIVER_MAN_DIR = x ; then 5122 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 5123fi 5124 5125if test x$ADMIN_MAN_SUFFIX = x ; then 5126 case $host_os in 5127 solaris*) ADMIN_MAN_SUFFIX=1m ;; 5128 *) ADMIN_MAN_SUFFIX=8 ;; 5129 esac 5130fi 5131if test x$ADMIN_MAN_DIR = x ; then 5132 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 5133fi 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149# Check whether --enable-silent-rules was given. 5150if test "${enable_silent_rules+set}" = set; then 5151 enableval=$enable_silent_rules; 5152fi 5153 5154case $enable_silent_rules in 5155yes) AM_DEFAULT_VERBOSITY=0;; 5156no) AM_DEFAULT_VERBOSITY=1;; 5157*) AM_DEFAULT_VERBOSITY=0;; 5158esac 5159AM_BACKSLASH='\' 5160 5161 5162 5163DRIVER_NAME=vmmouse 5164 5165 5166ac_config_headers="$ac_config_headers config.h" 5167 5168 5169# Checks for programs. 5170# Check whether --enable-static was given. 5171if test "${enable_static+set}" = set; then 5172 enableval=$enable_static; p=${PACKAGE-default} 5173 case $enableval in 5174 yes) enable_static=yes ;; 5175 no) enable_static=no ;; 5176 *) 5177 enable_static=no 5178 # Look at the argument we got. We use all the common list separators. 5179 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 5180 for pkg in $enableval; do 5181 IFS="$lt_save_ifs" 5182 if test "X$pkg" = "X$p"; then 5183 enable_static=yes 5184 fi 5185 done 5186 IFS="$lt_save_ifs" 5187 ;; 5188 esac 5189else 5190 enable_static=no 5191fi 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201case `pwd` in 5202 *\ * | *\ *) 5203 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5204$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5205esac 5206 5207 5208 5209macro_version='2.2.6b' 5210macro_revision='1.3017' 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224ltmain="$ac_aux_dir/ltmain.sh" 5225 5226{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 5227$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5228if test "${ac_cv_path_SED+set}" = set; then 5229 $as_echo_n "(cached) " >&6 5230else 5231 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5232 for ac_i in 1 2 3 4 5 6 7; do 5233 ac_script="$ac_script$as_nl$ac_script" 5234 done 5235 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5236 $as_unset ac_script || ac_script= 5237 if test -z "$SED"; then 5238 ac_path_SED_found=false 5239 # Loop through the user's path and test for each of PROGNAME-LIST 5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5241for as_dir in $PATH 5242do 5243 IFS=$as_save_IFS 5244 test -z "$as_dir" && as_dir=. 5245 for ac_prog in sed gsed; do 5246 for ac_exec_ext in '' $ac_executable_extensions; do 5247 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5248 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5249# Check for GNU ac_path_SED and select it if it is found. 5250 # Check for GNU $ac_path_SED 5251case `"$ac_path_SED" --version 2>&1` in 5252*GNU*) 5253 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5254*) 5255 ac_count=0 5256 $as_echo_n 0123456789 >"conftest.in" 5257 while : 5258 do 5259 cat "conftest.in" "conftest.in" >"conftest.tmp" 5260 mv "conftest.tmp" "conftest.in" 5261 cp "conftest.in" "conftest.nl" 5262 $as_echo '' >> "conftest.nl" 5263 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5264 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5265 ac_count=`expr $ac_count + 1` 5266 if test $ac_count -gt ${ac_path_SED_max-0}; then 5267 # Best one so far, save it but keep looking for a better one 5268 ac_cv_path_SED="$ac_path_SED" 5269 ac_path_SED_max=$ac_count 5270 fi 5271 # 10*(2^10) chars as input seems more than enough 5272 test $ac_count -gt 10 && break 5273 done 5274 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5275esac 5276 5277 $ac_path_SED_found && break 3 5278 done 5279 done 5280done 5281IFS=$as_save_IFS 5282 if test -z "$ac_cv_path_SED"; then 5283 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 5284$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 5285 { (exit 1); exit 1; }; } 5286 fi 5287else 5288 ac_cv_path_SED=$SED 5289fi 5290 5291fi 5292{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 5293$as_echo "$ac_cv_path_SED" >&6; } 5294 SED="$ac_cv_path_SED" 5295 rm -f conftest.sed 5296 5297test -z "$SED" && SED=sed 5298Xsed="$SED -e 1s/^X//" 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 5311$as_echo_n "checking for fgrep... " >&6; } 5312if test "${ac_cv_path_FGREP+set}" = set; then 5313 $as_echo_n "(cached) " >&6 5314else 5315 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5316 then ac_cv_path_FGREP="$GREP -F" 5317 else 5318 if test -z "$FGREP"; then 5319 ac_path_FGREP_found=false 5320 # Loop through the user's path and test for each of PROGNAME-LIST 5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5322for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5323do 5324 IFS=$as_save_IFS 5325 test -z "$as_dir" && as_dir=. 5326 for ac_prog in fgrep; do 5327 for ac_exec_ext in '' $ac_executable_extensions; do 5328 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5329 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5330# Check for GNU ac_path_FGREP and select it if it is found. 5331 # Check for GNU $ac_path_FGREP 5332case `"$ac_path_FGREP" --version 2>&1` in 5333*GNU*) 5334 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5335*) 5336 ac_count=0 5337 $as_echo_n 0123456789 >"conftest.in" 5338 while : 5339 do 5340 cat "conftest.in" "conftest.in" >"conftest.tmp" 5341 mv "conftest.tmp" "conftest.in" 5342 cp "conftest.in" "conftest.nl" 5343 $as_echo 'FGREP' >> "conftest.nl" 5344 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5345 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5346 ac_count=`expr $ac_count + 1` 5347 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5348 # Best one so far, save it but keep looking for a better one 5349 ac_cv_path_FGREP="$ac_path_FGREP" 5350 ac_path_FGREP_max=$ac_count 5351 fi 5352 # 10*(2^10) chars as input seems more than enough 5353 test $ac_count -gt 10 && break 5354 done 5355 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5356esac 5357 5358 $ac_path_FGREP_found && break 3 5359 done 5360 done 5361done 5362IFS=$as_save_IFS 5363 if test -z "$ac_cv_path_FGREP"; then 5364 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5365$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5366 { (exit 1); exit 1; }; } 5367 fi 5368else 5369 ac_cv_path_FGREP=$FGREP 5370fi 5371 5372 fi 5373fi 5374{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 5375$as_echo "$ac_cv_path_FGREP" >&6; } 5376 FGREP="$ac_cv_path_FGREP" 5377 5378 5379test -z "$GREP" && GREP=grep 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399# Check whether --with-gnu-ld was given. 5400if test "${with_gnu_ld+set}" = set; then 5401 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5402else 5403 with_gnu_ld=no 5404fi 5405 5406ac_prog=ld 5407if test "$GCC" = yes; then 5408 # Check if gcc -print-prog-name=ld gives a path. 5409 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 5410$as_echo_n "checking for ld used by $CC... " >&6; } 5411 case $host in 5412 *-*-mingw*) 5413 # gcc leaves a trailing carriage return which upsets mingw 5414 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5415 *) 5416 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5417 esac 5418 case $ac_prog in 5419 # Accept absolute paths. 5420 [\\/]* | ?:[\\/]*) 5421 re_direlt='/[^/][^/]*/\.\./' 5422 # Canonicalize the pathname of ld 5423 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5424 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5425 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5426 done 5427 test -z "$LD" && LD="$ac_prog" 5428 ;; 5429 "") 5430 # If it fails, then pretend we aren't using GCC. 5431 ac_prog=ld 5432 ;; 5433 *) 5434 # If it is relative, then search for the first ld in PATH. 5435 with_gnu_ld=unknown 5436 ;; 5437 esac 5438elif test "$with_gnu_ld" = yes; then 5439 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 5440$as_echo_n "checking for GNU ld... " >&6; } 5441else 5442 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 5443$as_echo_n "checking for non-GNU ld... " >&6; } 5444fi 5445if test "${lt_cv_path_LD+set}" = set; then 5446 $as_echo_n "(cached) " >&6 5447else 5448 if test -z "$LD"; then 5449 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5450 for ac_dir in $PATH; do 5451 IFS="$lt_save_ifs" 5452 test -z "$ac_dir" && ac_dir=. 5453 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5454 lt_cv_path_LD="$ac_dir/$ac_prog" 5455 # Check to see if the program is GNU ld. I'd rather use --version, 5456 # but apparently some variants of GNU ld only accept -v. 5457 # Break only if it was the GNU/non-GNU ld that we prefer. 5458 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5459 *GNU* | *'with BFD'*) 5460 test "$with_gnu_ld" != no && break 5461 ;; 5462 *) 5463 test "$with_gnu_ld" != yes && break 5464 ;; 5465 esac 5466 fi 5467 done 5468 IFS="$lt_save_ifs" 5469else 5470 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5471fi 5472fi 5473 5474LD="$lt_cv_path_LD" 5475if test -n "$LD"; then 5476 { $as_echo "$as_me:$LINENO: result: $LD" >&5 5477$as_echo "$LD" >&6; } 5478else 5479 { $as_echo "$as_me:$LINENO: result: no" >&5 5480$as_echo "no" >&6; } 5481fi 5482test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 5483$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 5484 { (exit 1); exit 1; }; } 5485{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 5486$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5487if test "${lt_cv_prog_gnu_ld+set}" = set; then 5488 $as_echo_n "(cached) " >&6 5489else 5490 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5491case `$LD -v 2>&1 </dev/null` in 5492*GNU* | *'with BFD'*) 5493 lt_cv_prog_gnu_ld=yes 5494 ;; 5495*) 5496 lt_cv_prog_gnu_ld=no 5497 ;; 5498esac 5499fi 5500{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 5501$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5502with_gnu_ld=$lt_cv_prog_gnu_ld 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 5513$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5514if test "${lt_cv_path_NM+set}" = set; then 5515 $as_echo_n "(cached) " >&6 5516else 5517 if test -n "$NM"; then 5518 # Let the user override the test. 5519 lt_cv_path_NM="$NM" 5520else 5521 lt_nm_to_check="${ac_tool_prefix}nm" 5522 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5523 lt_nm_to_check="$lt_nm_to_check nm" 5524 fi 5525 for lt_tmp_nm in $lt_nm_to_check; do 5526 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5527 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5528 IFS="$lt_save_ifs" 5529 test -z "$ac_dir" && ac_dir=. 5530 tmp_nm="$ac_dir/$lt_tmp_nm" 5531 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5532 # Check to see if the nm accepts a BSD-compat flag. 5533 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5534 # nm: unknown option "B" ignored 5535 # Tru64's nm complains that /dev/null is an invalid object file 5536 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5537 */dev/null* | *'Invalid file or object type'*) 5538 lt_cv_path_NM="$tmp_nm -B" 5539 break 5540 ;; 5541 *) 5542 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5543 */dev/null*) 5544 lt_cv_path_NM="$tmp_nm -p" 5545 break 5546 ;; 5547 *) 5548 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5549 continue # so that we can try to find one that supports BSD flags 5550 ;; 5551 esac 5552 ;; 5553 esac 5554 fi 5555 done 5556 IFS="$lt_save_ifs" 5557 done 5558 : ${lt_cv_path_NM=no} 5559fi 5560fi 5561{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 5562$as_echo "$lt_cv_path_NM" >&6; } 5563if test "$lt_cv_path_NM" != "no"; then 5564 NM="$lt_cv_path_NM" 5565else 5566 # Didn't find any BSD compatible name lister, look for dumpbin. 5567 if test -n "$ac_tool_prefix"; then 5568 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5569 do 5570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5571set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5572{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5573$as_echo_n "checking for $ac_word... " >&6; } 5574if test "${ac_cv_prog_DUMPBIN+set}" = set; then 5575 $as_echo_n "(cached) " >&6 5576else 5577 if test -n "$DUMPBIN"; then 5578 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5579else 5580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5581for as_dir in $PATH 5582do 5583 IFS=$as_save_IFS 5584 test -z "$as_dir" && as_dir=. 5585 for ac_exec_ext in '' $ac_executable_extensions; do 5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5587 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5589 break 2 5590 fi 5591done 5592done 5593IFS=$as_save_IFS 5594 5595fi 5596fi 5597DUMPBIN=$ac_cv_prog_DUMPBIN 5598if test -n "$DUMPBIN"; then 5599 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 5600$as_echo "$DUMPBIN" >&6; } 5601else 5602 { $as_echo "$as_me:$LINENO: result: no" >&5 5603$as_echo "no" >&6; } 5604fi 5605 5606 5607 test -n "$DUMPBIN" && break 5608 done 5609fi 5610if test -z "$DUMPBIN"; then 5611 ac_ct_DUMPBIN=$DUMPBIN 5612 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5613do 5614 # Extract the first word of "$ac_prog", so it can be a program name with args. 5615set dummy $ac_prog; ac_word=$2 5616{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5617$as_echo_n "checking for $ac_word... " >&6; } 5618if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 5619 $as_echo_n "(cached) " >&6 5620else 5621 if test -n "$ac_ct_DUMPBIN"; then 5622 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5623else 5624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5625for as_dir in $PATH 5626do 5627 IFS=$as_save_IFS 5628 test -z "$as_dir" && as_dir=. 5629 for ac_exec_ext in '' $ac_executable_extensions; do 5630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5631 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5632 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5633 break 2 5634 fi 5635done 5636done 5637IFS=$as_save_IFS 5638 5639fi 5640fi 5641ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5642if test -n "$ac_ct_DUMPBIN"; then 5643 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 5644$as_echo "$ac_ct_DUMPBIN" >&6; } 5645else 5646 { $as_echo "$as_me:$LINENO: result: no" >&5 5647$as_echo "no" >&6; } 5648fi 5649 5650 5651 test -n "$ac_ct_DUMPBIN" && break 5652done 5653 5654 if test "x$ac_ct_DUMPBIN" = x; then 5655 DUMPBIN=":" 5656 else 5657 case $cross_compiling:$ac_tool_warned in 5658yes:) 5659{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5660$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5661ac_tool_warned=yes ;; 5662esac 5663 DUMPBIN=$ac_ct_DUMPBIN 5664 fi 5665fi 5666 5667 5668 if test "$DUMPBIN" != ":"; then 5669 NM="$DUMPBIN" 5670 fi 5671fi 5672test -z "$NM" && NM=nm 5673 5674 5675 5676 5677 5678 5679{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 5680$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5681if test "${lt_cv_nm_interface+set}" = set; then 5682 $as_echo_n "(cached) " >&6 5683else 5684 lt_cv_nm_interface="BSD nm" 5685 echo "int some_variable = 0;" > conftest.$ac_ext 5686 (eval echo "\"\$as_me:5686: $ac_compile\"" >&5) 5687 (eval "$ac_compile" 2>conftest.err) 5688 cat conftest.err >&5 5689 (eval echo "\"\$as_me:5689: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5690 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5691 cat conftest.err >&5 5692 (eval echo "\"\$as_me:5692: output\"" >&5) 5693 cat conftest.out >&5 5694 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5695 lt_cv_nm_interface="MS dumpbin" 5696 fi 5697 rm -f conftest* 5698fi 5699{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 5700$as_echo "$lt_cv_nm_interface" >&6; } 5701 5702{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 5703$as_echo_n "checking whether ln -s works... " >&6; } 5704LN_S=$as_ln_s 5705if test "$LN_S" = "ln -s"; then 5706 { $as_echo "$as_me:$LINENO: result: yes" >&5 5707$as_echo "yes" >&6; } 5708else 5709 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 5710$as_echo "no, using $LN_S" >&6; } 5711fi 5712 5713# find the maximum length of command line arguments 5714{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 5715$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5716if test "${lt_cv_sys_max_cmd_len+set}" = set; then 5717 $as_echo_n "(cached) " >&6 5718else 5719 i=0 5720 teststring="ABCD" 5721 5722 case $build_os in 5723 msdosdjgpp*) 5724 # On DJGPP, this test can blow up pretty badly due to problems in libc 5725 # (any single argument exceeding 2000 bytes causes a buffer overrun 5726 # during glob expansion). Even if it were fixed, the result of this 5727 # check would be larger than it should be. 5728 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5729 ;; 5730 5731 gnu*) 5732 # Under GNU Hurd, this test is not required because there is 5733 # no limit to the length of command line arguments. 5734 # Libtool will interpret -1 as no limit whatsoever 5735 lt_cv_sys_max_cmd_len=-1; 5736 ;; 5737 5738 cygwin* | mingw* | cegcc*) 5739 # On Win9x/ME, this test blows up -- it succeeds, but takes 5740 # about 5 minutes as the teststring grows exponentially. 5741 # Worse, since 9x/ME are not pre-emptively multitasking, 5742 # you end up with a "frozen" computer, even though with patience 5743 # the test eventually succeeds (with a max line length of 256k). 5744 # Instead, let's just punt: use the minimum linelength reported by 5745 # all of the supported platforms: 8192 (on NT/2K/XP). 5746 lt_cv_sys_max_cmd_len=8192; 5747 ;; 5748 5749 amigaos*) 5750 # On AmigaOS with pdksh, this test takes hours, literally. 5751 # So we just punt and use a minimum line length of 8192. 5752 lt_cv_sys_max_cmd_len=8192; 5753 ;; 5754 5755 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5756 # This has been around since 386BSD, at least. Likely further. 5757 if test -x /sbin/sysctl; then 5758 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5759 elif test -x /usr/sbin/sysctl; then 5760 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5761 else 5762 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5763 fi 5764 # And add a safety zone 5765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5766 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5767 ;; 5768 5769 interix*) 5770 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5771 lt_cv_sys_max_cmd_len=196608 5772 ;; 5773 5774 osf*) 5775 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5776 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5777 # nice to cause kernel panics so lets avoid the loop below. 5778 # First set a reasonable default. 5779 lt_cv_sys_max_cmd_len=16384 5780 # 5781 if test -x /sbin/sysconfig; then 5782 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5783 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5784 esac 5785 fi 5786 ;; 5787 sco3.2v5*) 5788 lt_cv_sys_max_cmd_len=102400 5789 ;; 5790 sysv5* | sco5v6* | sysv4.2uw2*) 5791 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5792 if test -n "$kargmax"; then 5793 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5794 else 5795 lt_cv_sys_max_cmd_len=32768 5796 fi 5797 ;; 5798 *) 5799 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5800 if test -n "$lt_cv_sys_max_cmd_len"; then 5801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5802 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5803 else 5804 # Make teststring a little bigger before we do anything with it. 5805 # a 1K string should be a reasonable start. 5806 for i in 1 2 3 4 5 6 7 8 ; do 5807 teststring=$teststring$teststring 5808 done 5809 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5810 # If test is not a shell built-in, we'll probably end up computing a 5811 # maximum length that is only half of the actual maximum length, but 5812 # we can't tell. 5813 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5814 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5815 test $i != 17 # 1/2 MB should be enough 5816 do 5817 i=`expr $i + 1` 5818 teststring=$teststring$teststring 5819 done 5820 # Only check the string length outside the loop. 5821 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5822 teststring= 5823 # Add a significant safety factor because C++ compilers can tack on 5824 # massive amounts of additional arguments before passing them to the 5825 # linker. It appears as though 1/2 is a usable value. 5826 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5827 fi 5828 ;; 5829 esac 5830 5831fi 5832 5833if test -n $lt_cv_sys_max_cmd_len ; then 5834 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5835$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5836else 5837 { $as_echo "$as_me:$LINENO: result: none" >&5 5838$as_echo "none" >&6; } 5839fi 5840max_cmd_len=$lt_cv_sys_max_cmd_len 5841 5842 5843 5844 5845 5846 5847: ${CP="cp -f"} 5848: ${MV="mv -f"} 5849: ${RM="rm -f"} 5850 5851{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 5852$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5853# Try some XSI features 5854xsi_shell=no 5855( _lt_dummy="a/b/c" 5856 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5857 = c,a/b,, \ 5858 && eval 'test $(( 1 + 1 )) -eq 2 \ 5859 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5860 && xsi_shell=yes 5861{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 5862$as_echo "$xsi_shell" >&6; } 5863 5864 5865{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 5866$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5867lt_shell_append=no 5868( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5869 >/dev/null 2>&1 \ 5870 && lt_shell_append=yes 5871{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 5872$as_echo "$lt_shell_append" >&6; } 5873 5874 5875if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5876 lt_unset=unset 5877else 5878 lt_unset=false 5879fi 5880 5881 5882 5883 5884 5885# test EBCDIC or ASCII 5886case `echo X|tr X '\101'` in 5887 A) # ASCII based system 5888 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5889 lt_SP2NL='tr \040 \012' 5890 lt_NL2SP='tr \015\012 \040\040' 5891 ;; 5892 *) # EBCDIC based system 5893 lt_SP2NL='tr \100 \n' 5894 lt_NL2SP='tr \r\n \100\100' 5895 ;; 5896esac 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5907$as_echo_n "checking for $LD option to reload object files... " >&6; } 5908if test "${lt_cv_ld_reload_flag+set}" = set; then 5909 $as_echo_n "(cached) " >&6 5910else 5911 lt_cv_ld_reload_flag='-r' 5912fi 5913{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5914$as_echo "$lt_cv_ld_reload_flag" >&6; } 5915reload_flag=$lt_cv_ld_reload_flag 5916case $reload_flag in 5917"" | " "*) ;; 5918*) reload_flag=" $reload_flag" ;; 5919esac 5920reload_cmds='$LD$reload_flag -o $output$reload_objs' 5921case $host_os in 5922 darwin*) 5923 if test "$GCC" = yes; then 5924 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5925 else 5926 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5927 fi 5928 ;; 5929esac 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939if test -n "$ac_tool_prefix"; then 5940 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5941set dummy ${ac_tool_prefix}objdump; ac_word=$2 5942{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5943$as_echo_n "checking for $ac_word... " >&6; } 5944if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5945 $as_echo_n "(cached) " >&6 5946else 5947 if test -n "$OBJDUMP"; then 5948 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5949else 5950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5951for as_dir in $PATH 5952do 5953 IFS=$as_save_IFS 5954 test -z "$as_dir" && as_dir=. 5955 for ac_exec_ext in '' $ac_executable_extensions; do 5956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5957 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5959 break 2 5960 fi 5961done 5962done 5963IFS=$as_save_IFS 5964 5965fi 5966fi 5967OBJDUMP=$ac_cv_prog_OBJDUMP 5968if test -n "$OBJDUMP"; then 5969 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5970$as_echo "$OBJDUMP" >&6; } 5971else 5972 { $as_echo "$as_me:$LINENO: result: no" >&5 5973$as_echo "no" >&6; } 5974fi 5975 5976 5977fi 5978if test -z "$ac_cv_prog_OBJDUMP"; then 5979 ac_ct_OBJDUMP=$OBJDUMP 5980 # Extract the first word of "objdump", so it can be a program name with args. 5981set dummy objdump; ac_word=$2 5982{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5983$as_echo_n "checking for $ac_word... " >&6; } 5984if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5985 $as_echo_n "(cached) " >&6 5986else 5987 if test -n "$ac_ct_OBJDUMP"; then 5988 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5989else 5990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5991for as_dir in $PATH 5992do 5993 IFS=$as_save_IFS 5994 test -z "$as_dir" && as_dir=. 5995 for ac_exec_ext in '' $ac_executable_extensions; do 5996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5997 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5999 break 2 6000 fi 6001done 6002done 6003IFS=$as_save_IFS 6004 6005fi 6006fi 6007ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6008if test -n "$ac_ct_OBJDUMP"; then 6009 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 6010$as_echo "$ac_ct_OBJDUMP" >&6; } 6011else 6012 { $as_echo "$as_me:$LINENO: result: no" >&5 6013$as_echo "no" >&6; } 6014fi 6015 6016 if test "x$ac_ct_OBJDUMP" = x; then 6017 OBJDUMP="false" 6018 else 6019 case $cross_compiling:$ac_tool_warned in 6020yes:) 6021{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6022$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6023ac_tool_warned=yes ;; 6024esac 6025 OBJDUMP=$ac_ct_OBJDUMP 6026 fi 6027else 6028 OBJDUMP="$ac_cv_prog_OBJDUMP" 6029fi 6030 6031test -z "$OBJDUMP" && OBJDUMP=objdump 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 6042$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6043if test "${lt_cv_deplibs_check_method+set}" = set; then 6044 $as_echo_n "(cached) " >&6 6045else 6046 lt_cv_file_magic_cmd='$MAGIC_CMD' 6047lt_cv_file_magic_test_file= 6048lt_cv_deplibs_check_method='unknown' 6049# Need to set the preceding variable on all platforms that support 6050# interlibrary dependencies. 6051# 'none' -- dependencies not supported. 6052# `unknown' -- same as none, but documents that we really don't know. 6053# 'pass_all' -- all dependencies passed with no checks. 6054# 'test_compile' -- check by making test program. 6055# 'file_magic [[regex]]' -- check by looking for files in library path 6056# which responds to the $file_magic_cmd with a given extended regex. 6057# If you have `file' or equivalent on your system and you're not sure 6058# whether `pass_all' will *always* work, you probably want this one. 6059 6060case $host_os in 6061aix[4-9]*) 6062 lt_cv_deplibs_check_method=pass_all 6063 ;; 6064 6065beos*) 6066 lt_cv_deplibs_check_method=pass_all 6067 ;; 6068 6069bsdi[45]*) 6070 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6071 lt_cv_file_magic_cmd='/usr/bin/file -L' 6072 lt_cv_file_magic_test_file=/shlib/libc.so 6073 ;; 6074 6075cygwin*) 6076 # func_win32_libid is a shell function defined in ltmain.sh 6077 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6078 lt_cv_file_magic_cmd='func_win32_libid' 6079 ;; 6080 6081mingw* | pw32*) 6082 # Base MSYS/MinGW do not provide the 'file' command needed by 6083 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6084 # unless we find 'file', for example because we are cross-compiling. 6085 if ( file / ) >/dev/null 2>&1; then 6086 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6087 lt_cv_file_magic_cmd='func_win32_libid' 6088 else 6089 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 6090 lt_cv_file_magic_cmd='$OBJDUMP -f' 6091 fi 6092 ;; 6093 6094cegcc) 6095 # use the weaker test based on 'objdump'. See mingw*. 6096 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6097 lt_cv_file_magic_cmd='$OBJDUMP -f' 6098 ;; 6099 6100darwin* | rhapsody*) 6101 lt_cv_deplibs_check_method=pass_all 6102 ;; 6103 6104freebsd* | dragonfly*) 6105 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6106 case $host_cpu in 6107 i*86 ) 6108 # Not sure whether the presence of OpenBSD here was a mistake. 6109 # Let's accept both of them until this is cleared up. 6110 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6111 lt_cv_file_magic_cmd=/usr/bin/file 6112 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6113 ;; 6114 esac 6115 else 6116 lt_cv_deplibs_check_method=pass_all 6117 fi 6118 ;; 6119 6120gnu*) 6121 lt_cv_deplibs_check_method=pass_all 6122 ;; 6123 6124hpux10.20* | hpux11*) 6125 lt_cv_file_magic_cmd=/usr/bin/file 6126 case $host_cpu in 6127 ia64*) 6128 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6129 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6130 ;; 6131 hppa*64*) 6132 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]' 6133 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6134 ;; 6135 *) 6136 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 6137 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6138 ;; 6139 esac 6140 ;; 6141 6142interix[3-9]*) 6143 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6144 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6145 ;; 6146 6147irix5* | irix6* | nonstopux*) 6148 case $LD in 6149 *-32|*"-32 ") libmagic=32-bit;; 6150 *-n32|*"-n32 ") libmagic=N32;; 6151 *-64|*"-64 ") libmagic=64-bit;; 6152 *) libmagic=never-match;; 6153 esac 6154 lt_cv_deplibs_check_method=pass_all 6155 ;; 6156 6157# This must be Linux ELF. 6158linux* | k*bsd*-gnu) 6159 lt_cv_deplibs_check_method=pass_all 6160 ;; 6161 6162netbsd*) 6163 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6164 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6165 else 6166 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6167 fi 6168 ;; 6169 6170newos6*) 6171 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6172 lt_cv_file_magic_cmd=/usr/bin/file 6173 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6174 ;; 6175 6176*nto* | *qnx*) 6177 lt_cv_deplibs_check_method=pass_all 6178 ;; 6179 6180openbsd*) 6181 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6182 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6183 else 6184 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6185 fi 6186 ;; 6187 6188osf3* | osf4* | osf5*) 6189 lt_cv_deplibs_check_method=pass_all 6190 ;; 6191 6192rdos*) 6193 lt_cv_deplibs_check_method=pass_all 6194 ;; 6195 6196solaris*) 6197 lt_cv_deplibs_check_method=pass_all 6198 ;; 6199 6200sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6201 lt_cv_deplibs_check_method=pass_all 6202 ;; 6203 6204sysv4 | sysv4.3*) 6205 case $host_vendor in 6206 motorola) 6207 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]' 6208 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6209 ;; 6210 ncr) 6211 lt_cv_deplibs_check_method=pass_all 6212 ;; 6213 sequent) 6214 lt_cv_file_magic_cmd='/bin/file' 6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6216 ;; 6217 sni) 6218 lt_cv_file_magic_cmd='/bin/file' 6219 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6220 lt_cv_file_magic_test_file=/lib/libc.so 6221 ;; 6222 siemens) 6223 lt_cv_deplibs_check_method=pass_all 6224 ;; 6225 pc) 6226 lt_cv_deplibs_check_method=pass_all 6227 ;; 6228 esac 6229 ;; 6230 6231tpf*) 6232 lt_cv_deplibs_check_method=pass_all 6233 ;; 6234esac 6235 6236fi 6237{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 6238$as_echo "$lt_cv_deplibs_check_method" >&6; } 6239file_magic_cmd=$lt_cv_file_magic_cmd 6240deplibs_check_method=$lt_cv_deplibs_check_method 6241test -z "$deplibs_check_method" && deplibs_check_method=unknown 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254if test -n "$ac_tool_prefix"; then 6255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6256set dummy ${ac_tool_prefix}ar; ac_word=$2 6257{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6258$as_echo_n "checking for $ac_word... " >&6; } 6259if test "${ac_cv_prog_AR+set}" = set; then 6260 $as_echo_n "(cached) " >&6 6261else 6262 if test -n "$AR"; then 6263 ac_cv_prog_AR="$AR" # Let the user override the test. 6264else 6265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6266for as_dir in $PATH 6267do 6268 IFS=$as_save_IFS 6269 test -z "$as_dir" && as_dir=. 6270 for ac_exec_ext in '' $ac_executable_extensions; do 6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6272 ac_cv_prog_AR="${ac_tool_prefix}ar" 6273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6274 break 2 6275 fi 6276done 6277done 6278IFS=$as_save_IFS 6279 6280fi 6281fi 6282AR=$ac_cv_prog_AR 6283if test -n "$AR"; then 6284 { $as_echo "$as_me:$LINENO: result: $AR" >&5 6285$as_echo "$AR" >&6; } 6286else 6287 { $as_echo "$as_me:$LINENO: result: no" >&5 6288$as_echo "no" >&6; } 6289fi 6290 6291 6292fi 6293if test -z "$ac_cv_prog_AR"; then 6294 ac_ct_AR=$AR 6295 # Extract the first word of "ar", so it can be a program name with args. 6296set dummy ar; ac_word=$2 6297{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6298$as_echo_n "checking for $ac_word... " >&6; } 6299if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 6300 $as_echo_n "(cached) " >&6 6301else 6302 if test -n "$ac_ct_AR"; then 6303 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6304else 6305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6306for as_dir in $PATH 6307do 6308 IFS=$as_save_IFS 6309 test -z "$as_dir" && as_dir=. 6310 for ac_exec_ext in '' $ac_executable_extensions; do 6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6312 ac_cv_prog_ac_ct_AR="ar" 6313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6314 break 2 6315 fi 6316done 6317done 6318IFS=$as_save_IFS 6319 6320fi 6321fi 6322ac_ct_AR=$ac_cv_prog_ac_ct_AR 6323if test -n "$ac_ct_AR"; then 6324 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 6325$as_echo "$ac_ct_AR" >&6; } 6326else 6327 { $as_echo "$as_me:$LINENO: result: no" >&5 6328$as_echo "no" >&6; } 6329fi 6330 6331 if test "x$ac_ct_AR" = x; then 6332 AR="false" 6333 else 6334 case $cross_compiling:$ac_tool_warned in 6335yes:) 6336{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6338ac_tool_warned=yes ;; 6339esac 6340 AR=$ac_ct_AR 6341 fi 6342else 6343 AR="$ac_cv_prog_AR" 6344fi 6345 6346test -z "$AR" && AR=ar 6347test -z "$AR_FLAGS" && AR_FLAGS=cru 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359if test -n "$ac_tool_prefix"; then 6360 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6361set dummy ${ac_tool_prefix}strip; ac_word=$2 6362{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6363$as_echo_n "checking for $ac_word... " >&6; } 6364if test "${ac_cv_prog_STRIP+set}" = set; then 6365 $as_echo_n "(cached) " >&6 6366else 6367 if test -n "$STRIP"; then 6368 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6369else 6370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6371for as_dir in $PATH 6372do 6373 IFS=$as_save_IFS 6374 test -z "$as_dir" && as_dir=. 6375 for ac_exec_ext in '' $ac_executable_extensions; do 6376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6377 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6378 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6379 break 2 6380 fi 6381done 6382done 6383IFS=$as_save_IFS 6384 6385fi 6386fi 6387STRIP=$ac_cv_prog_STRIP 6388if test -n "$STRIP"; then 6389 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 6390$as_echo "$STRIP" >&6; } 6391else 6392 { $as_echo "$as_me:$LINENO: result: no" >&5 6393$as_echo "no" >&6; } 6394fi 6395 6396 6397fi 6398if test -z "$ac_cv_prog_STRIP"; then 6399 ac_ct_STRIP=$STRIP 6400 # Extract the first word of "strip", so it can be a program name with args. 6401set dummy strip; ac_word=$2 6402{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6403$as_echo_n "checking for $ac_word... " >&6; } 6404if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 6405 $as_echo_n "(cached) " >&6 6406else 6407 if test -n "$ac_ct_STRIP"; then 6408 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6409else 6410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6411for as_dir in $PATH 6412do 6413 IFS=$as_save_IFS 6414 test -z "$as_dir" && as_dir=. 6415 for ac_exec_ext in '' $ac_executable_extensions; do 6416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6417 ac_cv_prog_ac_ct_STRIP="strip" 6418 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6419 break 2 6420 fi 6421done 6422done 6423IFS=$as_save_IFS 6424 6425fi 6426fi 6427ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6428if test -n "$ac_ct_STRIP"; then 6429 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 6430$as_echo "$ac_ct_STRIP" >&6; } 6431else 6432 { $as_echo "$as_me:$LINENO: result: no" >&5 6433$as_echo "no" >&6; } 6434fi 6435 6436 if test "x$ac_ct_STRIP" = x; then 6437 STRIP=":" 6438 else 6439 case $cross_compiling:$ac_tool_warned in 6440yes:) 6441{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6442$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6443ac_tool_warned=yes ;; 6444esac 6445 STRIP=$ac_ct_STRIP 6446 fi 6447else 6448 STRIP="$ac_cv_prog_STRIP" 6449fi 6450 6451test -z "$STRIP" && STRIP=: 6452 6453 6454 6455 6456 6457 6458if test -n "$ac_tool_prefix"; then 6459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6460set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6461{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6462$as_echo_n "checking for $ac_word... " >&6; } 6463if test "${ac_cv_prog_RANLIB+set}" = set; then 6464 $as_echo_n "(cached) " >&6 6465else 6466 if test -n "$RANLIB"; then 6467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6468else 6469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6470for as_dir in $PATH 6471do 6472 IFS=$as_save_IFS 6473 test -z "$as_dir" && as_dir=. 6474 for ac_exec_ext in '' $ac_executable_extensions; do 6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6477 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6478 break 2 6479 fi 6480done 6481done 6482IFS=$as_save_IFS 6483 6484fi 6485fi 6486RANLIB=$ac_cv_prog_RANLIB 6487if test -n "$RANLIB"; then 6488 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6489$as_echo "$RANLIB" >&6; } 6490else 6491 { $as_echo "$as_me:$LINENO: result: no" >&5 6492$as_echo "no" >&6; } 6493fi 6494 6495 6496fi 6497if test -z "$ac_cv_prog_RANLIB"; then 6498 ac_ct_RANLIB=$RANLIB 6499 # Extract the first word of "ranlib", so it can be a program name with args. 6500set dummy ranlib; ac_word=$2 6501{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6502$as_echo_n "checking for $ac_word... " >&6; } 6503if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6504 $as_echo_n "(cached) " >&6 6505else 6506 if test -n "$ac_ct_RANLIB"; then 6507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6508else 6509as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6510for as_dir in $PATH 6511do 6512 IFS=$as_save_IFS 6513 test -z "$as_dir" && as_dir=. 6514 for ac_exec_ext in '' $ac_executable_extensions; do 6515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6516 ac_cv_prog_ac_ct_RANLIB="ranlib" 6517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6518 break 2 6519 fi 6520done 6521done 6522IFS=$as_save_IFS 6523 6524fi 6525fi 6526ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6527if test -n "$ac_ct_RANLIB"; then 6528 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6529$as_echo "$ac_ct_RANLIB" >&6; } 6530else 6531 { $as_echo "$as_me:$LINENO: result: no" >&5 6532$as_echo "no" >&6; } 6533fi 6534 6535 if test "x$ac_ct_RANLIB" = x; then 6536 RANLIB=":" 6537 else 6538 case $cross_compiling:$ac_tool_warned in 6539yes:) 6540{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6542ac_tool_warned=yes ;; 6543esac 6544 RANLIB=$ac_ct_RANLIB 6545 fi 6546else 6547 RANLIB="$ac_cv_prog_RANLIB" 6548fi 6549 6550test -z "$RANLIB" && RANLIB=: 6551 6552 6553 6554 6555 6556 6557# Determine commands to create old-style static archives. 6558old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6559old_postinstall_cmds='chmod 644 $oldlib' 6560old_postuninstall_cmds= 6561 6562if test -n "$RANLIB"; then 6563 case $host_os in 6564 openbsd*) 6565 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6566 ;; 6567 *) 6568 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6569 ;; 6570 esac 6571 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6572fi 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607# If no C compiler was specified, use CC. 6608LTCC=${LTCC-"$CC"} 6609 6610# If no C compiler flags were specified, use CFLAGS. 6611LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6612 6613# Allow CC to be a program name with arguments. 6614compiler=$CC 6615 6616 6617# Check for command to grab the raw symbol name followed by C symbol from nm. 6618{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6619$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6620if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6621 $as_echo_n "(cached) " >&6 6622else 6623 6624# These are sane defaults that work on at least a few old systems. 6625# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6626 6627# Character class describing NM global symbol codes. 6628symcode='[BCDEGRST]' 6629 6630# Regexp to match symbols that can be accessed directly from C. 6631sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6632 6633# Define system-specific variables. 6634case $host_os in 6635aix*) 6636 symcode='[BCDT]' 6637 ;; 6638cygwin* | mingw* | pw32* | cegcc*) 6639 symcode='[ABCDGISTW]' 6640 ;; 6641hpux*) 6642 if test "$host_cpu" = ia64; then 6643 symcode='[ABCDEGRST]' 6644 fi 6645 ;; 6646irix* | nonstopux*) 6647 symcode='[BCDEGRST]' 6648 ;; 6649osf*) 6650 symcode='[BCDEGQRST]' 6651 ;; 6652solaris*) 6653 symcode='[BDRT]' 6654 ;; 6655sco3.2v5*) 6656 symcode='[DT]' 6657 ;; 6658sysv4.2uw2*) 6659 symcode='[DT]' 6660 ;; 6661sysv5* | sco5v6* | unixware* | OpenUNIX*) 6662 symcode='[ABDT]' 6663 ;; 6664sysv4) 6665 symcode='[DFNSTU]' 6666 ;; 6667esac 6668 6669# If we're using GNU nm, then use its standard symbol codes. 6670case `$NM -V 2>&1` in 6671*GNU* | *'with BFD'*) 6672 symcode='[ABCDGIRSTW]' ;; 6673esac 6674 6675# Transform an extracted symbol line into a proper C declaration. 6676# Some systems (esp. on ia64) link data and code symbols differently, 6677# so use this general approach. 6678lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6679 6680# Transform an extracted symbol line into symbol name and symbol address 6681lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6682lt_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'" 6683 6684# Handle CRLF in mingw tool chain 6685opt_cr= 6686case $build_os in 6687mingw*) 6688 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6689 ;; 6690esac 6691 6692# Try without a prefix underscore, then with it. 6693for ac_symprfx in "" "_"; do 6694 6695 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6696 symxfrm="\\1 $ac_symprfx\\2 \\2" 6697 6698 # Write the raw and C identifiers. 6699 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6700 # Fake it for dumpbin and say T for any non-static function 6701 # and D for any global variable. 6702 # Also find C++ and __fastcall symbols from MSVC++, 6703 # which start with @ or ?. 6704 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6705" {last_section=section; section=\$ 3};"\ 6706" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6707" \$ 0!~/External *\|/{next};"\ 6708" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6709" {if(hide[section]) next};"\ 6710" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6711" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6712" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6713" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6714" ' prfx=^$ac_symprfx" 6715 else 6716 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6717 fi 6718 6719 # Check to see that the pipe works correctly. 6720 pipe_works=no 6721 6722 rm -f conftest* 6723 cat > conftest.$ac_ext <<_LT_EOF 6724#ifdef __cplusplus 6725extern "C" { 6726#endif 6727char nm_test_var; 6728void nm_test_func(void); 6729void nm_test_func(void){} 6730#ifdef __cplusplus 6731} 6732#endif 6733int main(){nm_test_var='a';nm_test_func();return(0);} 6734_LT_EOF 6735 6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6737 (eval $ac_compile) 2>&5 6738 ac_status=$? 6739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6740 (exit $ac_status); }; then 6741 # Now try to grab the symbols. 6742 nlist=conftest.nm 6743 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 6744 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6745 ac_status=$? 6746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6747 (exit $ac_status); } && test -s "$nlist"; then 6748 # Try sorting and uniquifying the output. 6749 if sort "$nlist" | uniq > "$nlist"T; then 6750 mv -f "$nlist"T "$nlist" 6751 else 6752 rm -f "$nlist"T 6753 fi 6754 6755 # Make sure that we snagged all the symbols we need. 6756 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6757 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6758 cat <<_LT_EOF > conftest.$ac_ext 6759#ifdef __cplusplus 6760extern "C" { 6761#endif 6762 6763_LT_EOF 6764 # Now generate the symbol file. 6765 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6766 6767 cat <<_LT_EOF >> conftest.$ac_ext 6768 6769/* The mapping between symbol names and symbols. */ 6770const struct { 6771 const char *name; 6772 void *address; 6773} 6774lt__PROGRAM__LTX_preloaded_symbols[] = 6775{ 6776 { "@PROGRAM@", (void *) 0 }, 6777_LT_EOF 6778 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6779 cat <<\_LT_EOF >> conftest.$ac_ext 6780 {0, (void *) 0} 6781}; 6782 6783/* This works around a problem in FreeBSD linker */ 6784#ifdef FREEBSD_WORKAROUND 6785static const void *lt_preloaded_setup() { 6786 return lt__PROGRAM__LTX_preloaded_symbols; 6787} 6788#endif 6789 6790#ifdef __cplusplus 6791} 6792#endif 6793_LT_EOF 6794 # Now try linking the two files. 6795 mv conftest.$ac_objext conftstm.$ac_objext 6796 lt_save_LIBS="$LIBS" 6797 lt_save_CFLAGS="$CFLAGS" 6798 LIBS="conftstm.$ac_objext" 6799 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6801 (eval $ac_link) 2>&5 6802 ac_status=$? 6803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6804 (exit $ac_status); } && test -s conftest${ac_exeext}; then 6805 pipe_works=yes 6806 fi 6807 LIBS="$lt_save_LIBS" 6808 CFLAGS="$lt_save_CFLAGS" 6809 else 6810 echo "cannot find nm_test_func in $nlist" >&5 6811 fi 6812 else 6813 echo "cannot find nm_test_var in $nlist" >&5 6814 fi 6815 else 6816 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6817 fi 6818 else 6819 echo "$progname: failed program was:" >&5 6820 cat conftest.$ac_ext >&5 6821 fi 6822 rm -rf conftest* conftst* 6823 6824 # Do not use the global_symbol_pipe unless it works. 6825 if test "$pipe_works" = yes; then 6826 break 6827 else 6828 lt_cv_sys_global_symbol_pipe= 6829 fi 6830done 6831 6832fi 6833 6834if test -z "$lt_cv_sys_global_symbol_pipe"; then 6835 lt_cv_sys_global_symbol_to_cdecl= 6836fi 6837if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6838 { $as_echo "$as_me:$LINENO: result: failed" >&5 6839$as_echo "failed" >&6; } 6840else 6841 { $as_echo "$as_me:$LINENO: result: ok" >&5 6842$as_echo "ok" >&6; } 6843fi 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866# Check whether --enable-libtool-lock was given. 6867if test "${enable_libtool_lock+set}" = set; then 6868 enableval=$enable_libtool_lock; 6869fi 6870 6871test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6872 6873# Some flags need to be propagated to the compiler or linker for good 6874# libtool support. 6875case $host in 6876ia64-*-hpux*) 6877 # Find out which ABI we are using. 6878 echo 'int i;' > conftest.$ac_ext 6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6880 (eval $ac_compile) 2>&5 6881 ac_status=$? 6882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6883 (exit $ac_status); }; then 6884 case `/usr/bin/file conftest.$ac_objext` in 6885 *ELF-32*) 6886 HPUX_IA64_MODE="32" 6887 ;; 6888 *ELF-64*) 6889 HPUX_IA64_MODE="64" 6890 ;; 6891 esac 6892 fi 6893 rm -rf conftest* 6894 ;; 6895*-*-irix6*) 6896 # Find out which ABI we are using. 6897 echo '#line 6897 "configure"' > conftest.$ac_ext 6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6899 (eval $ac_compile) 2>&5 6900 ac_status=$? 6901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6902 (exit $ac_status); }; then 6903 if test "$lt_cv_prog_gnu_ld" = yes; then 6904 case `/usr/bin/file conftest.$ac_objext` in 6905 *32-bit*) 6906 LD="${LD-ld} -melf32bsmip" 6907 ;; 6908 *N32*) 6909 LD="${LD-ld} -melf32bmipn32" 6910 ;; 6911 *64-bit*) 6912 LD="${LD-ld} -melf64bmip" 6913 ;; 6914 esac 6915 else 6916 case `/usr/bin/file conftest.$ac_objext` in 6917 *32-bit*) 6918 LD="${LD-ld} -32" 6919 ;; 6920 *N32*) 6921 LD="${LD-ld} -n32" 6922 ;; 6923 *64-bit*) 6924 LD="${LD-ld} -64" 6925 ;; 6926 esac 6927 fi 6928 fi 6929 rm -rf conftest* 6930 ;; 6931 6932x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6933s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6934 # Find out which ABI we are using. 6935 echo 'int i;' > conftest.$ac_ext 6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6937 (eval $ac_compile) 2>&5 6938 ac_status=$? 6939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6940 (exit $ac_status); }; then 6941 case `/usr/bin/file conftest.o` in 6942 *32-bit*) 6943 case $host in 6944 x86_64-*kfreebsd*-gnu) 6945 LD="${LD-ld} -m elf_i386_fbsd" 6946 ;; 6947 x86_64-*linux*) 6948 LD="${LD-ld} -m elf_i386" 6949 ;; 6950 ppc64-*linux*|powerpc64-*linux*) 6951 LD="${LD-ld} -m elf32ppclinux" 6952 ;; 6953 s390x-*linux*) 6954 LD="${LD-ld} -m elf_s390" 6955 ;; 6956 sparc64-*linux*) 6957 LD="${LD-ld} -m elf32_sparc" 6958 ;; 6959 esac 6960 ;; 6961 *64-bit*) 6962 case $host in 6963 x86_64-*kfreebsd*-gnu) 6964 LD="${LD-ld} -m elf_x86_64_fbsd" 6965 ;; 6966 x86_64-*linux*) 6967 LD="${LD-ld} -m elf_x86_64" 6968 ;; 6969 ppc*-*linux*|powerpc*-*linux*) 6970 LD="${LD-ld} -m elf64ppc" 6971 ;; 6972 s390*-*linux*|s390*-*tpf*) 6973 LD="${LD-ld} -m elf64_s390" 6974 ;; 6975 sparc*-*linux*) 6976 LD="${LD-ld} -m elf64_sparc" 6977 ;; 6978 esac 6979 ;; 6980 esac 6981 fi 6982 rm -rf conftest* 6983 ;; 6984 6985*-*-sco3.2v5*) 6986 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6987 SAVE_CFLAGS="$CFLAGS" 6988 CFLAGS="$CFLAGS -belf" 6989 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6990$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6991if test "${lt_cv_cc_needs_belf+set}" = set; then 6992 $as_echo_n "(cached) " >&6 6993else 6994 ac_ext=c 6995ac_cpp='$CPP $CPPFLAGS' 6996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6998ac_compiler_gnu=$ac_cv_c_compiler_gnu 6999 7000 cat >conftest.$ac_ext <<_ACEOF 7001/* confdefs.h. */ 7002_ACEOF 7003cat confdefs.h >>conftest.$ac_ext 7004cat >>conftest.$ac_ext <<_ACEOF 7005/* end confdefs.h. */ 7006 7007int 7008main () 7009{ 7010 7011 ; 7012 return 0; 7013} 7014_ACEOF 7015rm -f conftest.$ac_objext conftest$ac_exeext 7016if { (ac_try="$ac_link" 7017case "(($ac_try" in 7018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7019 *) ac_try_echo=$ac_try;; 7020esac 7021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7022$as_echo "$ac_try_echo") >&5 7023 (eval "$ac_link") 2>conftest.er1 7024 ac_status=$? 7025 grep -v '^ *+' conftest.er1 >conftest.err 7026 rm -f conftest.er1 7027 cat conftest.err >&5 7028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7029 (exit $ac_status); } && { 7030 test -z "$ac_c_werror_flag" || 7031 test ! -s conftest.err 7032 } && test -s conftest$ac_exeext && { 7033 test "$cross_compiling" = yes || 7034 $as_test_x conftest$ac_exeext 7035 }; then 7036 lt_cv_cc_needs_belf=yes 7037else 7038 $as_echo "$as_me: failed program was:" >&5 7039sed 's/^/| /' conftest.$ac_ext >&5 7040 7041 lt_cv_cc_needs_belf=no 7042fi 7043 7044rm -rf conftest.dSYM 7045rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7046 conftest$ac_exeext conftest.$ac_ext 7047 ac_ext=c 7048ac_cpp='$CPP $CPPFLAGS' 7049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7051ac_compiler_gnu=$ac_cv_c_compiler_gnu 7052 7053fi 7054{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 7055$as_echo "$lt_cv_cc_needs_belf" >&6; } 7056 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 7057 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 7058 CFLAGS="$SAVE_CFLAGS" 7059 fi 7060 ;; 7061sparc*-*solaris*) 7062 # Find out which ABI we are using. 7063 echo 'int i;' > conftest.$ac_ext 7064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7065 (eval $ac_compile) 2>&5 7066 ac_status=$? 7067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7068 (exit $ac_status); }; then 7069 case `/usr/bin/file conftest.o` in 7070 *64-bit*) 7071 case $lt_cv_prog_gnu_ld in 7072 yes*) LD="${LD-ld} -m elf64_sparc" ;; 7073 *) 7074 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 7075 LD="${LD-ld} -64" 7076 fi 7077 ;; 7078 esac 7079 ;; 7080 esac 7081 fi 7082 rm -rf conftest* 7083 ;; 7084esac 7085 7086need_locks="$enable_libtool_lock" 7087 7088 7089 case $host_os in 7090 rhapsody* | darwin*) 7091 if test -n "$ac_tool_prefix"; then 7092 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7093set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7094{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7095$as_echo_n "checking for $ac_word... " >&6; } 7096if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 7097 $as_echo_n "(cached) " >&6 7098else 7099 if test -n "$DSYMUTIL"; then 7100 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7101else 7102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7103for as_dir in $PATH 7104do 7105 IFS=$as_save_IFS 7106 test -z "$as_dir" && as_dir=. 7107 for ac_exec_ext in '' $ac_executable_extensions; do 7108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7109 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7110 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7111 break 2 7112 fi 7113done 7114done 7115IFS=$as_save_IFS 7116 7117fi 7118fi 7119DSYMUTIL=$ac_cv_prog_DSYMUTIL 7120if test -n "$DSYMUTIL"; then 7121 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 7122$as_echo "$DSYMUTIL" >&6; } 7123else 7124 { $as_echo "$as_me:$LINENO: result: no" >&5 7125$as_echo "no" >&6; } 7126fi 7127 7128 7129fi 7130if test -z "$ac_cv_prog_DSYMUTIL"; then 7131 ac_ct_DSYMUTIL=$DSYMUTIL 7132 # Extract the first word of "dsymutil", so it can be a program name with args. 7133set dummy dsymutil; ac_word=$2 7134{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7135$as_echo_n "checking for $ac_word... " >&6; } 7136if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 7137 $as_echo_n "(cached) " >&6 7138else 7139 if test -n "$ac_ct_DSYMUTIL"; then 7140 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7141else 7142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7143for as_dir in $PATH 7144do 7145 IFS=$as_save_IFS 7146 test -z "$as_dir" && as_dir=. 7147 for ac_exec_ext in '' $ac_executable_extensions; do 7148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7149 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7151 break 2 7152 fi 7153done 7154done 7155IFS=$as_save_IFS 7156 7157fi 7158fi 7159ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7160if test -n "$ac_ct_DSYMUTIL"; then 7161 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 7162$as_echo "$ac_ct_DSYMUTIL" >&6; } 7163else 7164 { $as_echo "$as_me:$LINENO: result: no" >&5 7165$as_echo "no" >&6; } 7166fi 7167 7168 if test "x$ac_ct_DSYMUTIL" = x; then 7169 DSYMUTIL=":" 7170 else 7171 case $cross_compiling:$ac_tool_warned in 7172yes:) 7173{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7174$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7175ac_tool_warned=yes ;; 7176esac 7177 DSYMUTIL=$ac_ct_DSYMUTIL 7178 fi 7179else 7180 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7181fi 7182 7183 if test -n "$ac_tool_prefix"; then 7184 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7185set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7186{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7187$as_echo_n "checking for $ac_word... " >&6; } 7188if test "${ac_cv_prog_NMEDIT+set}" = set; then 7189 $as_echo_n "(cached) " >&6 7190else 7191 if test -n "$NMEDIT"; then 7192 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7193else 7194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7195for as_dir in $PATH 7196do 7197 IFS=$as_save_IFS 7198 test -z "$as_dir" && as_dir=. 7199 for ac_exec_ext in '' $ac_executable_extensions; do 7200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7201 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7202 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7203 break 2 7204 fi 7205done 7206done 7207IFS=$as_save_IFS 7208 7209fi 7210fi 7211NMEDIT=$ac_cv_prog_NMEDIT 7212if test -n "$NMEDIT"; then 7213 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 7214$as_echo "$NMEDIT" >&6; } 7215else 7216 { $as_echo "$as_me:$LINENO: result: no" >&5 7217$as_echo "no" >&6; } 7218fi 7219 7220 7221fi 7222if test -z "$ac_cv_prog_NMEDIT"; then 7223 ac_ct_NMEDIT=$NMEDIT 7224 # Extract the first word of "nmedit", so it can be a program name with args. 7225set dummy nmedit; ac_word=$2 7226{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7227$as_echo_n "checking for $ac_word... " >&6; } 7228if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 7229 $as_echo_n "(cached) " >&6 7230else 7231 if test -n "$ac_ct_NMEDIT"; then 7232 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7233else 7234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7235for as_dir in $PATH 7236do 7237 IFS=$as_save_IFS 7238 test -z "$as_dir" && as_dir=. 7239 for ac_exec_ext in '' $ac_executable_extensions; do 7240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7241 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7242 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7243 break 2 7244 fi 7245done 7246done 7247IFS=$as_save_IFS 7248 7249fi 7250fi 7251ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7252if test -n "$ac_ct_NMEDIT"; then 7253 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7254$as_echo "$ac_ct_NMEDIT" >&6; } 7255else 7256 { $as_echo "$as_me:$LINENO: result: no" >&5 7257$as_echo "no" >&6; } 7258fi 7259 7260 if test "x$ac_ct_NMEDIT" = x; then 7261 NMEDIT=":" 7262 else 7263 case $cross_compiling:$ac_tool_warned in 7264yes:) 7265{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7267ac_tool_warned=yes ;; 7268esac 7269 NMEDIT=$ac_ct_NMEDIT 7270 fi 7271else 7272 NMEDIT="$ac_cv_prog_NMEDIT" 7273fi 7274 7275 if test -n "$ac_tool_prefix"; then 7276 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7277set dummy ${ac_tool_prefix}lipo; ac_word=$2 7278{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7279$as_echo_n "checking for $ac_word... " >&6; } 7280if test "${ac_cv_prog_LIPO+set}" = set; then 7281 $as_echo_n "(cached) " >&6 7282else 7283 if test -n "$LIPO"; then 7284 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7285else 7286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7287for as_dir in $PATH 7288do 7289 IFS=$as_save_IFS 7290 test -z "$as_dir" && as_dir=. 7291 for ac_exec_ext in '' $ac_executable_extensions; do 7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7293 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7295 break 2 7296 fi 7297done 7298done 7299IFS=$as_save_IFS 7300 7301fi 7302fi 7303LIPO=$ac_cv_prog_LIPO 7304if test -n "$LIPO"; then 7305 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 7306$as_echo "$LIPO" >&6; } 7307else 7308 { $as_echo "$as_me:$LINENO: result: no" >&5 7309$as_echo "no" >&6; } 7310fi 7311 7312 7313fi 7314if test -z "$ac_cv_prog_LIPO"; then 7315 ac_ct_LIPO=$LIPO 7316 # Extract the first word of "lipo", so it can be a program name with args. 7317set dummy lipo; ac_word=$2 7318{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7319$as_echo_n "checking for $ac_word... " >&6; } 7320if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 7321 $as_echo_n "(cached) " >&6 7322else 7323 if test -n "$ac_ct_LIPO"; then 7324 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7325else 7326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7327for as_dir in $PATH 7328do 7329 IFS=$as_save_IFS 7330 test -z "$as_dir" && as_dir=. 7331 for ac_exec_ext in '' $ac_executable_extensions; do 7332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7333 ac_cv_prog_ac_ct_LIPO="lipo" 7334 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7335 break 2 7336 fi 7337done 7338done 7339IFS=$as_save_IFS 7340 7341fi 7342fi 7343ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7344if test -n "$ac_ct_LIPO"; then 7345 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 7346$as_echo "$ac_ct_LIPO" >&6; } 7347else 7348 { $as_echo "$as_me:$LINENO: result: no" >&5 7349$as_echo "no" >&6; } 7350fi 7351 7352 if test "x$ac_ct_LIPO" = x; then 7353 LIPO=":" 7354 else 7355 case $cross_compiling:$ac_tool_warned in 7356yes:) 7357{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7358$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7359ac_tool_warned=yes ;; 7360esac 7361 LIPO=$ac_ct_LIPO 7362 fi 7363else 7364 LIPO="$ac_cv_prog_LIPO" 7365fi 7366 7367 if test -n "$ac_tool_prefix"; then 7368 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7369set dummy ${ac_tool_prefix}otool; ac_word=$2 7370{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7371$as_echo_n "checking for $ac_word... " >&6; } 7372if test "${ac_cv_prog_OTOOL+set}" = set; then 7373 $as_echo_n "(cached) " >&6 7374else 7375 if test -n "$OTOOL"; then 7376 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7377else 7378as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7379for as_dir in $PATH 7380do 7381 IFS=$as_save_IFS 7382 test -z "$as_dir" && as_dir=. 7383 for ac_exec_ext in '' $ac_executable_extensions; do 7384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7385 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7386 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7387 break 2 7388 fi 7389done 7390done 7391IFS=$as_save_IFS 7392 7393fi 7394fi 7395OTOOL=$ac_cv_prog_OTOOL 7396if test -n "$OTOOL"; then 7397 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 7398$as_echo "$OTOOL" >&6; } 7399else 7400 { $as_echo "$as_me:$LINENO: result: no" >&5 7401$as_echo "no" >&6; } 7402fi 7403 7404 7405fi 7406if test -z "$ac_cv_prog_OTOOL"; then 7407 ac_ct_OTOOL=$OTOOL 7408 # Extract the first word of "otool", so it can be a program name with args. 7409set dummy otool; ac_word=$2 7410{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7411$as_echo_n "checking for $ac_word... " >&6; } 7412if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 7413 $as_echo_n "(cached) " >&6 7414else 7415 if test -n "$ac_ct_OTOOL"; then 7416 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7417else 7418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7419for as_dir in $PATH 7420do 7421 IFS=$as_save_IFS 7422 test -z "$as_dir" && as_dir=. 7423 for ac_exec_ext in '' $ac_executable_extensions; do 7424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7425 ac_cv_prog_ac_ct_OTOOL="otool" 7426 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7427 break 2 7428 fi 7429done 7430done 7431IFS=$as_save_IFS 7432 7433fi 7434fi 7435ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7436if test -n "$ac_ct_OTOOL"; then 7437 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 7438$as_echo "$ac_ct_OTOOL" >&6; } 7439else 7440 { $as_echo "$as_me:$LINENO: result: no" >&5 7441$as_echo "no" >&6; } 7442fi 7443 7444 if test "x$ac_ct_OTOOL" = x; then 7445 OTOOL=":" 7446 else 7447 case $cross_compiling:$ac_tool_warned in 7448yes:) 7449{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7450$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7451ac_tool_warned=yes ;; 7452esac 7453 OTOOL=$ac_ct_OTOOL 7454 fi 7455else 7456 OTOOL="$ac_cv_prog_OTOOL" 7457fi 7458 7459 if test -n "$ac_tool_prefix"; then 7460 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7461set dummy ${ac_tool_prefix}otool64; ac_word=$2 7462{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7463$as_echo_n "checking for $ac_word... " >&6; } 7464if test "${ac_cv_prog_OTOOL64+set}" = set; then 7465 $as_echo_n "(cached) " >&6 7466else 7467 if test -n "$OTOOL64"; then 7468 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7469else 7470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7471for as_dir in $PATH 7472do 7473 IFS=$as_save_IFS 7474 test -z "$as_dir" && as_dir=. 7475 for ac_exec_ext in '' $ac_executable_extensions; do 7476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7477 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7479 break 2 7480 fi 7481done 7482done 7483IFS=$as_save_IFS 7484 7485fi 7486fi 7487OTOOL64=$ac_cv_prog_OTOOL64 7488if test -n "$OTOOL64"; then 7489 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 7490$as_echo "$OTOOL64" >&6; } 7491else 7492 { $as_echo "$as_me:$LINENO: result: no" >&5 7493$as_echo "no" >&6; } 7494fi 7495 7496 7497fi 7498if test -z "$ac_cv_prog_OTOOL64"; then 7499 ac_ct_OTOOL64=$OTOOL64 7500 # Extract the first word of "otool64", so it can be a program name with args. 7501set dummy otool64; ac_word=$2 7502{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7503$as_echo_n "checking for $ac_word... " >&6; } 7504if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 7505 $as_echo_n "(cached) " >&6 7506else 7507 if test -n "$ac_ct_OTOOL64"; then 7508 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7509else 7510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7511for as_dir in $PATH 7512do 7513 IFS=$as_save_IFS 7514 test -z "$as_dir" && as_dir=. 7515 for ac_exec_ext in '' $ac_executable_extensions; do 7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7517 ac_cv_prog_ac_ct_OTOOL64="otool64" 7518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7519 break 2 7520 fi 7521done 7522done 7523IFS=$as_save_IFS 7524 7525fi 7526fi 7527ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7528if test -n "$ac_ct_OTOOL64"; then 7529 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 7530$as_echo "$ac_ct_OTOOL64" >&6; } 7531else 7532 { $as_echo "$as_me:$LINENO: result: no" >&5 7533$as_echo "no" >&6; } 7534fi 7535 7536 if test "x$ac_ct_OTOOL64" = x; then 7537 OTOOL64=":" 7538 else 7539 case $cross_compiling:$ac_tool_warned in 7540yes:) 7541{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7543ac_tool_warned=yes ;; 7544esac 7545 OTOOL64=$ac_ct_OTOOL64 7546 fi 7547else 7548 OTOOL64="$ac_cv_prog_OTOOL64" 7549fi 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 7578$as_echo_n "checking for -single_module linker flag... " >&6; } 7579if test "${lt_cv_apple_cc_single_mod+set}" = set; then 7580 $as_echo_n "(cached) " >&6 7581else 7582 lt_cv_apple_cc_single_mod=no 7583 if test -z "${LT_MULTI_MODULE}"; then 7584 # By default we will add the -single_module flag. You can override 7585 # by either setting the environment variable LT_MULTI_MODULE 7586 # non-empty at configure time, or by adding -multi_module to the 7587 # link flags. 7588 rm -rf libconftest.dylib* 7589 echo "int foo(void){return 1;}" > conftest.c 7590 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7591-dynamiclib -Wl,-single_module conftest.c" >&5 7592 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7593 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7594 _lt_result=$? 7595 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7596 lt_cv_apple_cc_single_mod=yes 7597 else 7598 cat conftest.err >&5 7599 fi 7600 rm -rf libconftest.dylib* 7601 rm -f conftest.* 7602 fi 7603fi 7604{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 7605$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7606 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 7607$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7608if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 7609 $as_echo_n "(cached) " >&6 7610else 7611 lt_cv_ld_exported_symbols_list=no 7612 save_LDFLAGS=$LDFLAGS 7613 echo "_main" > conftest.sym 7614 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7615 cat >conftest.$ac_ext <<_ACEOF 7616/* confdefs.h. */ 7617_ACEOF 7618cat confdefs.h >>conftest.$ac_ext 7619cat >>conftest.$ac_ext <<_ACEOF 7620/* end confdefs.h. */ 7621 7622int 7623main () 7624{ 7625 7626 ; 7627 return 0; 7628} 7629_ACEOF 7630rm -f conftest.$ac_objext conftest$ac_exeext 7631if { (ac_try="$ac_link" 7632case "(($ac_try" in 7633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7634 *) ac_try_echo=$ac_try;; 7635esac 7636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7637$as_echo "$ac_try_echo") >&5 7638 (eval "$ac_link") 2>conftest.er1 7639 ac_status=$? 7640 grep -v '^ *+' conftest.er1 >conftest.err 7641 rm -f conftest.er1 7642 cat conftest.err >&5 7643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7644 (exit $ac_status); } && { 7645 test -z "$ac_c_werror_flag" || 7646 test ! -s conftest.err 7647 } && test -s conftest$ac_exeext && { 7648 test "$cross_compiling" = yes || 7649 $as_test_x conftest$ac_exeext 7650 }; then 7651 lt_cv_ld_exported_symbols_list=yes 7652else 7653 $as_echo "$as_me: failed program was:" >&5 7654sed 's/^/| /' conftest.$ac_ext >&5 7655 7656 lt_cv_ld_exported_symbols_list=no 7657fi 7658 7659rm -rf conftest.dSYM 7660rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7661 conftest$ac_exeext conftest.$ac_ext 7662 LDFLAGS="$save_LDFLAGS" 7663 7664fi 7665{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 7666$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7667 case $host_os in 7668 rhapsody* | darwin1.[012]) 7669 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7670 darwin1.*) 7671 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7672 darwin*) # darwin 5.x on 7673 # if running on 10.5 or later, the deployment target defaults 7674 # to the OS version, if on x86, and 10.4, the deployment 7675 # target defaults to 10.4. Don't you love it? 7676 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7677 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7678 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7679 10.[012]*) 7680 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7681 10.*) 7682 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7683 esac 7684 ;; 7685 esac 7686 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7687 _lt_dar_single_mod='$single_module' 7688 fi 7689 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7690 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7691 else 7692 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7693 fi 7694 if test "$DSYMUTIL" != ":"; then 7695 _lt_dsymutil='~$DSYMUTIL $lib || :' 7696 else 7697 _lt_dsymutil= 7698 fi 7699 ;; 7700 esac 7701 7702 7703for ac_header in dlfcn.h 7704do 7705as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7706{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7707$as_echo_n "checking for $ac_header... " >&6; } 7708if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7709 $as_echo_n "(cached) " >&6 7710else 7711 cat >conftest.$ac_ext <<_ACEOF 7712/* confdefs.h. */ 7713_ACEOF 7714cat confdefs.h >>conftest.$ac_ext 7715cat >>conftest.$ac_ext <<_ACEOF 7716/* end confdefs.h. */ 7717$ac_includes_default 7718 7719#include <$ac_header> 7720_ACEOF 7721rm -f conftest.$ac_objext 7722if { (ac_try="$ac_compile" 7723case "(($ac_try" in 7724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7725 *) ac_try_echo=$ac_try;; 7726esac 7727eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7728$as_echo "$ac_try_echo") >&5 7729 (eval "$ac_compile") 2>conftest.er1 7730 ac_status=$? 7731 grep -v '^ *+' conftest.er1 >conftest.err 7732 rm -f conftest.er1 7733 cat conftest.err >&5 7734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7735 (exit $ac_status); } && { 7736 test -z "$ac_c_werror_flag" || 7737 test ! -s conftest.err 7738 } && test -s conftest.$ac_objext; then 7739 eval "$as_ac_Header=yes" 7740else 7741 $as_echo "$as_me: failed program was:" >&5 7742sed 's/^/| /' conftest.$ac_ext >&5 7743 7744 eval "$as_ac_Header=no" 7745fi 7746 7747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7748fi 7749ac_res=`eval 'as_val=${'$as_ac_Header'} 7750 $as_echo "$as_val"'` 7751 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7752$as_echo "$ac_res" >&6; } 7753as_val=`eval 'as_val=${'$as_ac_Header'} 7754 $as_echo "$as_val"'` 7755 if test "x$as_val" = x""yes; then 7756 cat >>confdefs.h <<_ACEOF 7757#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7758_ACEOF 7759 7760fi 7761 7762done 7763 7764 7765 7766# Set options 7767 7768 7769 7770 enable_dlopen=no 7771 7772 7773 enable_win32_dll=no 7774 7775 7776 # Check whether --enable-shared was given. 7777if test "${enable_shared+set}" = set; then 7778 enableval=$enable_shared; p=${PACKAGE-default} 7779 case $enableval in 7780 yes) enable_shared=yes ;; 7781 no) enable_shared=no ;; 7782 *) 7783 enable_shared=no 7784 # Look at the argument we got. We use all the common list separators. 7785 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7786 for pkg in $enableval; do 7787 IFS="$lt_save_ifs" 7788 if test "X$pkg" = "X$p"; then 7789 enable_shared=yes 7790 fi 7791 done 7792 IFS="$lt_save_ifs" 7793 ;; 7794 esac 7795else 7796 enable_shared=yes 7797fi 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809# Check whether --with-pic was given. 7810if test "${with_pic+set}" = set; then 7811 withval=$with_pic; pic_mode="$withval" 7812else 7813 pic_mode=default 7814fi 7815 7816 7817test -z "$pic_mode" && pic_mode=default 7818 7819 7820 7821 7822 7823 7824 7825 # Check whether --enable-fast-install was given. 7826if test "${enable_fast_install+set}" = set; then 7827 enableval=$enable_fast_install; p=${PACKAGE-default} 7828 case $enableval in 7829 yes) enable_fast_install=yes ;; 7830 no) enable_fast_install=no ;; 7831 *) 7832 enable_fast_install=no 7833 # Look at the argument we got. We use all the common list separators. 7834 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7835 for pkg in $enableval; do 7836 IFS="$lt_save_ifs" 7837 if test "X$pkg" = "X$p"; then 7838 enable_fast_install=yes 7839 fi 7840 done 7841 IFS="$lt_save_ifs" 7842 ;; 7843 esac 7844else 7845 enable_fast_install=yes 7846fi 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858# This can be used to rebuild libtool when needed 7859LIBTOOL_DEPS="$ltmain" 7860 7861# Always use our own libtool. 7862LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888test -z "$LN_S" && LN_S="ln -s" 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903if test -n "${ZSH_VERSION+set}" ; then 7904 setopt NO_GLOB_SUBST 7905fi 7906 7907{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 7908$as_echo_n "checking for objdir... " >&6; } 7909if test "${lt_cv_objdir+set}" = set; then 7910 $as_echo_n "(cached) " >&6 7911else 7912 rm -f .libs 2>/dev/null 7913mkdir .libs 2>/dev/null 7914if test -d .libs; then 7915 lt_cv_objdir=.libs 7916else 7917 # MS-DOS does not allow filenames that begin with a dot. 7918 lt_cv_objdir=_libs 7919fi 7920rmdir .libs 2>/dev/null 7921fi 7922{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 7923$as_echo "$lt_cv_objdir" >&6; } 7924objdir=$lt_cv_objdir 7925 7926 7927 7928 7929 7930cat >>confdefs.h <<_ACEOF 7931#define LT_OBJDIR "$lt_cv_objdir/" 7932_ACEOF 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950case $host_os in 7951aix3*) 7952 # AIX sometimes has problems with the GCC collect2 program. For some 7953 # reason, if we set the COLLECT_NAMES environment variable, the problems 7954 # vanish in a puff of smoke. 7955 if test "X${COLLECT_NAMES+set}" != Xset; then 7956 COLLECT_NAMES= 7957 export COLLECT_NAMES 7958 fi 7959 ;; 7960esac 7961 7962# Sed substitution that helps us do robust quoting. It backslashifies 7963# metacharacters that are still active within double-quoted strings. 7964sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7965 7966# Same as above, but do not quote variable references. 7967double_quote_subst='s/\(["`\\]\)/\\\1/g' 7968 7969# Sed substitution to delay expansion of an escaped shell variable in a 7970# double_quote_subst'ed string. 7971delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7972 7973# Sed substitution to delay expansion of an escaped single quote. 7974delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7975 7976# Sed substitution to avoid accidental globbing in evaled expressions 7977no_glob_subst='s/\*/\\\*/g' 7978 7979# Global variables: 7980ofile=libtool 7981can_build_shared=yes 7982 7983# All known linkers require a `.a' archive for static linking (except MSVC, 7984# which needs '.lib'). 7985libext=a 7986 7987with_gnu_ld="$lt_cv_prog_gnu_ld" 7988 7989old_CC="$CC" 7990old_CFLAGS="$CFLAGS" 7991 7992# Set sane defaults for various variables 7993test -z "$CC" && CC=cc 7994test -z "$LTCC" && LTCC=$CC 7995test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7996test -z "$LD" && LD=ld 7997test -z "$ac_objext" && ac_objext=o 7998 7999for cc_temp in $compiler""; do 8000 case $cc_temp in 8001 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8002 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8003 \-*) ;; 8004 *) break;; 8005 esac 8006done 8007cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8008 8009 8010# Only perform the check for file, if the check method requires it 8011test -z "$MAGIC_CMD" && MAGIC_CMD=file 8012case $deplibs_check_method in 8013file_magic*) 8014 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8015 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 8016$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8017if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8018 $as_echo_n "(cached) " >&6 8019else 8020 case $MAGIC_CMD in 8021[\\/*] | ?:[\\/]*) 8022 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8023 ;; 8024*) 8025 lt_save_MAGIC_CMD="$MAGIC_CMD" 8026 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8027 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8028 for ac_dir in $ac_dummy; do 8029 IFS="$lt_save_ifs" 8030 test -z "$ac_dir" && ac_dir=. 8031 if test -f $ac_dir/${ac_tool_prefix}file; then 8032 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8033 if test -n "$file_magic_test_file"; then 8034 case $deplibs_check_method in 8035 "file_magic "*) 8036 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8037 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8038 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8039 $EGREP "$file_magic_regex" > /dev/null; then 8040 : 8041 else 8042 cat <<_LT_EOF 1>&2 8043 8044*** Warning: the command libtool uses to detect shared libraries, 8045*** $file_magic_cmd, produces output that libtool cannot recognize. 8046*** The result is that libtool may fail to recognize shared libraries 8047*** as such. This will affect the creation of libtool libraries that 8048*** depend on shared libraries, but programs linked with such libtool 8049*** libraries will work regardless of this problem. Nevertheless, you 8050*** may want to report the problem to your system manager and/or to 8051*** bug-libtool@gnu.org 8052 8053_LT_EOF 8054 fi ;; 8055 esac 8056 fi 8057 break 8058 fi 8059 done 8060 IFS="$lt_save_ifs" 8061 MAGIC_CMD="$lt_save_MAGIC_CMD" 8062 ;; 8063esac 8064fi 8065 8066MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8067if test -n "$MAGIC_CMD"; then 8068 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8069$as_echo "$MAGIC_CMD" >&6; } 8070else 8071 { $as_echo "$as_me:$LINENO: result: no" >&5 8072$as_echo "no" >&6; } 8073fi 8074 8075 8076 8077 8078 8079if test -z "$lt_cv_path_MAGIC_CMD"; then 8080 if test -n "$ac_tool_prefix"; then 8081 { $as_echo "$as_me:$LINENO: checking for file" >&5 8082$as_echo_n "checking for file... " >&6; } 8083if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8084 $as_echo_n "(cached) " >&6 8085else 8086 case $MAGIC_CMD in 8087[\\/*] | ?:[\\/]*) 8088 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8089 ;; 8090*) 8091 lt_save_MAGIC_CMD="$MAGIC_CMD" 8092 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8093 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8094 for ac_dir in $ac_dummy; do 8095 IFS="$lt_save_ifs" 8096 test -z "$ac_dir" && ac_dir=. 8097 if test -f $ac_dir/file; then 8098 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8099 if test -n "$file_magic_test_file"; then 8100 case $deplibs_check_method in 8101 "file_magic "*) 8102 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8103 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8104 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8105 $EGREP "$file_magic_regex" > /dev/null; then 8106 : 8107 else 8108 cat <<_LT_EOF 1>&2 8109 8110*** Warning: the command libtool uses to detect shared libraries, 8111*** $file_magic_cmd, produces output that libtool cannot recognize. 8112*** The result is that libtool may fail to recognize shared libraries 8113*** as such. This will affect the creation of libtool libraries that 8114*** depend on shared libraries, but programs linked with such libtool 8115*** libraries will work regardless of this problem. Nevertheless, you 8116*** may want to report the problem to your system manager and/or to 8117*** bug-libtool@gnu.org 8118 8119_LT_EOF 8120 fi ;; 8121 esac 8122 fi 8123 break 8124 fi 8125 done 8126 IFS="$lt_save_ifs" 8127 MAGIC_CMD="$lt_save_MAGIC_CMD" 8128 ;; 8129esac 8130fi 8131 8132MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8133if test -n "$MAGIC_CMD"; then 8134 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8135$as_echo "$MAGIC_CMD" >&6; } 8136else 8137 { $as_echo "$as_me:$LINENO: result: no" >&5 8138$as_echo "no" >&6; } 8139fi 8140 8141 8142 else 8143 MAGIC_CMD=: 8144 fi 8145fi 8146 8147 fi 8148 ;; 8149esac 8150 8151# Use C for the default configuration in the libtool script 8152 8153lt_save_CC="$CC" 8154ac_ext=c 8155ac_cpp='$CPP $CPPFLAGS' 8156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8158ac_compiler_gnu=$ac_cv_c_compiler_gnu 8159 8160 8161# Source file extension for C test sources. 8162ac_ext=c 8163 8164# Object file extension for compiled C test sources. 8165objext=o 8166objext=$objext 8167 8168# Code to be used in simple compile tests 8169lt_simple_compile_test_code="int some_variable = 0;" 8170 8171# Code to be used in simple link tests 8172lt_simple_link_test_code='int main(){return(0);}' 8173 8174 8175 8176 8177 8178 8179 8180# If no C compiler was specified, use CC. 8181LTCC=${LTCC-"$CC"} 8182 8183# If no C compiler flags were specified, use CFLAGS. 8184LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8185 8186# Allow CC to be a program name with arguments. 8187compiler=$CC 8188 8189# Save the default compiler, since it gets overwritten when the other 8190# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8191compiler_DEFAULT=$CC 8192 8193# save warnings/boilerplate of simple test code 8194ac_outfile=conftest.$ac_objext 8195echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8196eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8197_lt_compiler_boilerplate=`cat conftest.err` 8198$RM conftest* 8199 8200ac_outfile=conftest.$ac_objext 8201echo "$lt_simple_link_test_code" >conftest.$ac_ext 8202eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8203_lt_linker_boilerplate=`cat conftest.err` 8204$RM -r conftest* 8205 8206 8207if test -n "$compiler"; then 8208 8209lt_prog_compiler_no_builtin_flag= 8210 8211if test "$GCC" = yes; then 8212 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8213 8214 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8215$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8216if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8217 $as_echo_n "(cached) " >&6 8218else 8219 lt_cv_prog_compiler_rtti_exceptions=no 8220 ac_outfile=conftest.$ac_objext 8221 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8222 lt_compiler_flag="-fno-rtti -fno-exceptions" 8223 # Insert the option either (1) after the last *FLAGS variable, or 8224 # (2) before a word containing "conftest.", or (3) at the end. 8225 # Note that $ac_compile itself does not contain backslashes and begins 8226 # with a dollar sign (not a hyphen), so the echo should work correctly. 8227 # The option is referenced via a variable to avoid confusing sed. 8228 lt_compile=`echo "$ac_compile" | $SED \ 8229 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8230 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8231 -e 's:$: $lt_compiler_flag:'` 8232 (eval echo "\"\$as_me:8232: $lt_compile\"" >&5) 8233 (eval "$lt_compile" 2>conftest.err) 8234 ac_status=$? 8235 cat conftest.err >&5 8236 echo "$as_me:8236: \$? = $ac_status" >&5 8237 if (exit $ac_status) && test -s "$ac_outfile"; then 8238 # The compiler can only warn and ignore the option if not recognized 8239 # So say no if there are warnings other than the usual output. 8240 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8241 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8242 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8243 lt_cv_prog_compiler_rtti_exceptions=yes 8244 fi 8245 fi 8246 $RM conftest* 8247 8248fi 8249{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8250$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8251 8252if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8253 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8254else 8255 : 8256fi 8257 8258fi 8259 8260 8261 8262 8263 8264 8265 lt_prog_compiler_wl= 8266lt_prog_compiler_pic= 8267lt_prog_compiler_static= 8268 8269{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8270$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8271 8272 if test "$GCC" = yes; then 8273 lt_prog_compiler_wl='-Wl,' 8274 lt_prog_compiler_static='-static' 8275 8276 case $host_os in 8277 aix*) 8278 # All AIX code is PIC. 8279 if test "$host_cpu" = ia64; then 8280 # AIX 5 now supports IA64 processor 8281 lt_prog_compiler_static='-Bstatic' 8282 fi 8283 ;; 8284 8285 amigaos*) 8286 case $host_cpu in 8287 powerpc) 8288 # see comment about AmigaOS4 .so support 8289 lt_prog_compiler_pic='-fPIC' 8290 ;; 8291 m68k) 8292 # FIXME: we need at least 68020 code to build shared libraries, but 8293 # adding the `-m68020' flag to GCC prevents building anything better, 8294 # like `-m68040'. 8295 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8296 ;; 8297 esac 8298 ;; 8299 8300 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8301 # PIC is the default for these OSes. 8302 ;; 8303 8304 mingw* | cygwin* | pw32* | os2* | cegcc*) 8305 # This hack is so that the source file can tell whether it is being 8306 # built for inclusion in a dll (and should export symbols for example). 8307 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8308 # (--disable-auto-import) libraries 8309 lt_prog_compiler_pic='-DDLL_EXPORT' 8310 ;; 8311 8312 darwin* | rhapsody*) 8313 # PIC is the default on this platform 8314 # Common symbols not allowed in MH_DYLIB files 8315 lt_prog_compiler_pic='-fno-common' 8316 ;; 8317 8318 hpux*) 8319 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8320 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8321 # sets the default TLS model and affects inlining. 8322 case $host_cpu in 8323 hppa*64*) 8324 # +Z the default 8325 ;; 8326 *) 8327 lt_prog_compiler_pic='-fPIC' 8328 ;; 8329 esac 8330 ;; 8331 8332 interix[3-9]*) 8333 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8334 # Instead, we relocate shared libraries at runtime. 8335 ;; 8336 8337 msdosdjgpp*) 8338 # Just because we use GCC doesn't mean we suddenly get shared libraries 8339 # on systems that don't support them. 8340 lt_prog_compiler_can_build_shared=no 8341 enable_shared=no 8342 ;; 8343 8344 *nto* | *qnx*) 8345 # QNX uses GNU C++, but need to define -shared option too, otherwise 8346 # it will coredump. 8347 lt_prog_compiler_pic='-fPIC -shared' 8348 ;; 8349 8350 sysv4*MP*) 8351 if test -d /usr/nec; then 8352 lt_prog_compiler_pic=-Kconform_pic 8353 fi 8354 ;; 8355 8356 *) 8357 lt_prog_compiler_pic='-fPIC' 8358 ;; 8359 esac 8360 else 8361 # PORTME Check for flag to pass linker flags through the system compiler. 8362 case $host_os in 8363 aix*) 8364 lt_prog_compiler_wl='-Wl,' 8365 if test "$host_cpu" = ia64; then 8366 # AIX 5 now supports IA64 processor 8367 lt_prog_compiler_static='-Bstatic' 8368 else 8369 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8370 fi 8371 ;; 8372 8373 mingw* | cygwin* | pw32* | os2* | cegcc*) 8374 # This hack is so that the source file can tell whether it is being 8375 # built for inclusion in a dll (and should export symbols for example). 8376 lt_prog_compiler_pic='-DDLL_EXPORT' 8377 ;; 8378 8379 hpux9* | hpux10* | hpux11*) 8380 lt_prog_compiler_wl='-Wl,' 8381 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8382 # not for PA HP-UX. 8383 case $host_cpu in 8384 hppa*64*|ia64*) 8385 # +Z the default 8386 ;; 8387 *) 8388 lt_prog_compiler_pic='+Z' 8389 ;; 8390 esac 8391 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8392 lt_prog_compiler_static='${wl}-a ${wl}archive' 8393 ;; 8394 8395 irix5* | irix6* | nonstopux*) 8396 lt_prog_compiler_wl='-Wl,' 8397 # PIC (with -KPIC) is the default. 8398 lt_prog_compiler_static='-non_shared' 8399 ;; 8400 8401 linux* | k*bsd*-gnu) 8402 case $cc_basename in 8403 # old Intel for x86_64 which still supported -KPIC. 8404 ecc*) 8405 lt_prog_compiler_wl='-Wl,' 8406 lt_prog_compiler_pic='-KPIC' 8407 lt_prog_compiler_static='-static' 8408 ;; 8409 # icc used to be incompatible with GCC. 8410 # ICC 10 doesn't accept -KPIC any more. 8411 icc* | ifort*) 8412 lt_prog_compiler_wl='-Wl,' 8413 lt_prog_compiler_pic='-fPIC' 8414 lt_prog_compiler_static='-static' 8415 ;; 8416 # Lahey Fortran 8.1. 8417 lf95*) 8418 lt_prog_compiler_wl='-Wl,' 8419 lt_prog_compiler_pic='--shared' 8420 lt_prog_compiler_static='--static' 8421 ;; 8422 pgcc* | pgf77* | pgf90* | pgf95*) 8423 # Portland Group compilers (*not* the Pentium gcc compiler, 8424 # which looks to be a dead project) 8425 lt_prog_compiler_wl='-Wl,' 8426 lt_prog_compiler_pic='-fpic' 8427 lt_prog_compiler_static='-Bstatic' 8428 ;; 8429 ccc*) 8430 lt_prog_compiler_wl='-Wl,' 8431 # All Alpha code is PIC. 8432 lt_prog_compiler_static='-non_shared' 8433 ;; 8434 xl*) 8435 # IBM XL C 8.0/Fortran 10.1 on PPC 8436 lt_prog_compiler_wl='-Wl,' 8437 lt_prog_compiler_pic='-qpic' 8438 lt_prog_compiler_static='-qstaticlink' 8439 ;; 8440 *) 8441 case `$CC -V 2>&1 | sed 5q` in 8442 *Sun\ C*) 8443 # Sun C 5.9 8444 lt_prog_compiler_pic='-KPIC' 8445 lt_prog_compiler_static='-Bstatic' 8446 lt_prog_compiler_wl='-Wl,' 8447 ;; 8448 *Sun\ F*) 8449 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8450 lt_prog_compiler_pic='-KPIC' 8451 lt_prog_compiler_static='-Bstatic' 8452 lt_prog_compiler_wl='' 8453 ;; 8454 esac 8455 ;; 8456 esac 8457 ;; 8458 8459 newsos6) 8460 lt_prog_compiler_pic='-KPIC' 8461 lt_prog_compiler_static='-Bstatic' 8462 ;; 8463 8464 *nto* | *qnx*) 8465 # QNX uses GNU C++, but need to define -shared option too, otherwise 8466 # it will coredump. 8467 lt_prog_compiler_pic='-fPIC -shared' 8468 ;; 8469 8470 osf3* | osf4* | osf5*) 8471 lt_prog_compiler_wl='-Wl,' 8472 # All OSF/1 code is PIC. 8473 lt_prog_compiler_static='-non_shared' 8474 ;; 8475 8476 rdos*) 8477 lt_prog_compiler_static='-non_shared' 8478 ;; 8479 8480 solaris*) 8481 lt_prog_compiler_pic='-KPIC' 8482 lt_prog_compiler_static='-Bstatic' 8483 case $cc_basename in 8484 f77* | f90* | f95*) 8485 lt_prog_compiler_wl='-Qoption ld ';; 8486 *) 8487 lt_prog_compiler_wl='-Wl,';; 8488 esac 8489 ;; 8490 8491 sunos4*) 8492 lt_prog_compiler_wl='-Qoption ld ' 8493 lt_prog_compiler_pic='-PIC' 8494 lt_prog_compiler_static='-Bstatic' 8495 ;; 8496 8497 sysv4 | sysv4.2uw2* | sysv4.3*) 8498 lt_prog_compiler_wl='-Wl,' 8499 lt_prog_compiler_pic='-KPIC' 8500 lt_prog_compiler_static='-Bstatic' 8501 ;; 8502 8503 sysv4*MP*) 8504 if test -d /usr/nec ;then 8505 lt_prog_compiler_pic='-Kconform_pic' 8506 lt_prog_compiler_static='-Bstatic' 8507 fi 8508 ;; 8509 8510 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8511 lt_prog_compiler_wl='-Wl,' 8512 lt_prog_compiler_pic='-KPIC' 8513 lt_prog_compiler_static='-Bstatic' 8514 ;; 8515 8516 unicos*) 8517 lt_prog_compiler_wl='-Wl,' 8518 lt_prog_compiler_can_build_shared=no 8519 ;; 8520 8521 uts4*) 8522 lt_prog_compiler_pic='-pic' 8523 lt_prog_compiler_static='-Bstatic' 8524 ;; 8525 8526 *) 8527 lt_prog_compiler_can_build_shared=no 8528 ;; 8529 esac 8530 fi 8531 8532case $host_os in 8533 # For platforms which do not support PIC, -DPIC is meaningless: 8534 *djgpp*) 8535 lt_prog_compiler_pic= 8536 ;; 8537 *) 8538 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8539 ;; 8540esac 8541{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8542$as_echo "$lt_prog_compiler_pic" >&6; } 8543 8544 8545 8546 8547 8548 8549# 8550# Check to make sure the PIC flag actually works. 8551# 8552if test -n "$lt_prog_compiler_pic"; then 8553 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8554$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8555if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8556 $as_echo_n "(cached) " >&6 8557else 8558 lt_cv_prog_compiler_pic_works=no 8559 ac_outfile=conftest.$ac_objext 8560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8561 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8562 # Insert the option either (1) after the last *FLAGS variable, or 8563 # (2) before a word containing "conftest.", or (3) at the end. 8564 # Note that $ac_compile itself does not contain backslashes and begins 8565 # with a dollar sign (not a hyphen), so the echo should work correctly. 8566 # The option is referenced via a variable to avoid confusing sed. 8567 lt_compile=`echo "$ac_compile" | $SED \ 8568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8570 -e 's:$: $lt_compiler_flag:'` 8571 (eval echo "\"\$as_me:8571: $lt_compile\"" >&5) 8572 (eval "$lt_compile" 2>conftest.err) 8573 ac_status=$? 8574 cat conftest.err >&5 8575 echo "$as_me:8575: \$? = $ac_status" >&5 8576 if (exit $ac_status) && test -s "$ac_outfile"; then 8577 # The compiler can only warn and ignore the option if not recognized 8578 # So say no if there are warnings other than the usual output. 8579 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8580 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8581 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8582 lt_cv_prog_compiler_pic_works=yes 8583 fi 8584 fi 8585 $RM conftest* 8586 8587fi 8588{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8589$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8590 8591if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8592 case $lt_prog_compiler_pic in 8593 "" | " "*) ;; 8594 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8595 esac 8596else 8597 lt_prog_compiler_pic= 8598 lt_prog_compiler_can_build_shared=no 8599fi 8600 8601fi 8602 8603 8604 8605 8606 8607 8608# 8609# Check to make sure the static flag actually works. 8610# 8611wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8612{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8613$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8614if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8615 $as_echo_n "(cached) " >&6 8616else 8617 lt_cv_prog_compiler_static_works=no 8618 save_LDFLAGS="$LDFLAGS" 8619 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8620 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8621 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8622 # The linker can only warn and ignore the option if not recognized 8623 # So say no if there are warnings 8624 if test -s conftest.err; then 8625 # Append any errors to the config.log. 8626 cat conftest.err 1>&5 8627 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 8628 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8629 if diff conftest.exp conftest.er2 >/dev/null; then 8630 lt_cv_prog_compiler_static_works=yes 8631 fi 8632 else 8633 lt_cv_prog_compiler_static_works=yes 8634 fi 8635 fi 8636 $RM -r conftest* 8637 LDFLAGS="$save_LDFLAGS" 8638 8639fi 8640{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8641$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8642 8643if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8644 : 8645else 8646 lt_prog_compiler_static= 8647fi 8648 8649 8650 8651 8652 8653 8654 8655 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8656$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8657if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8658 $as_echo_n "(cached) " >&6 8659else 8660 lt_cv_prog_compiler_c_o=no 8661 $RM -r conftest 2>/dev/null 8662 mkdir conftest 8663 cd conftest 8664 mkdir out 8665 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8666 8667 lt_compiler_flag="-o out/conftest2.$ac_objext" 8668 # Insert the option either (1) after the last *FLAGS variable, or 8669 # (2) before a word containing "conftest.", or (3) at the end. 8670 # Note that $ac_compile itself does not contain backslashes and begins 8671 # with a dollar sign (not a hyphen), so the echo should work correctly. 8672 lt_compile=`echo "$ac_compile" | $SED \ 8673 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8675 -e 's:$: $lt_compiler_flag:'` 8676 (eval echo "\"\$as_me:8676: $lt_compile\"" >&5) 8677 (eval "$lt_compile" 2>out/conftest.err) 8678 ac_status=$? 8679 cat out/conftest.err >&5 8680 echo "$as_me:8680: \$? = $ac_status" >&5 8681 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8682 then 8683 # The compiler can only warn and ignore the option if not recognized 8684 # So say no if there are warnings 8685 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8686 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8687 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8688 lt_cv_prog_compiler_c_o=yes 8689 fi 8690 fi 8691 chmod u+w . 2>&5 8692 $RM conftest* 8693 # SGI C++ compiler will create directory out/ii_files/ for 8694 # template instantiation 8695 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8696 $RM out/* && rmdir out 8697 cd .. 8698 $RM -r conftest 8699 $RM conftest* 8700 8701fi 8702{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8703$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8704 8705 8706 8707 8708 8709 8710 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8711$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8712if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8713 $as_echo_n "(cached) " >&6 8714else 8715 lt_cv_prog_compiler_c_o=no 8716 $RM -r conftest 2>/dev/null 8717 mkdir conftest 8718 cd conftest 8719 mkdir out 8720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8721 8722 lt_compiler_flag="-o out/conftest2.$ac_objext" 8723 # Insert the option either (1) after the last *FLAGS variable, or 8724 # (2) before a word containing "conftest.", or (3) at the end. 8725 # Note that $ac_compile itself does not contain backslashes and begins 8726 # with a dollar sign (not a hyphen), so the echo should work correctly. 8727 lt_compile=`echo "$ac_compile" | $SED \ 8728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8730 -e 's:$: $lt_compiler_flag:'` 8731 (eval echo "\"\$as_me:8731: $lt_compile\"" >&5) 8732 (eval "$lt_compile" 2>out/conftest.err) 8733 ac_status=$? 8734 cat out/conftest.err >&5 8735 echo "$as_me:8735: \$? = $ac_status" >&5 8736 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8737 then 8738 # The compiler can only warn and ignore the option if not recognized 8739 # So say no if there are warnings 8740 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8741 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8742 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8743 lt_cv_prog_compiler_c_o=yes 8744 fi 8745 fi 8746 chmod u+w . 2>&5 8747 $RM conftest* 8748 # SGI C++ compiler will create directory out/ii_files/ for 8749 # template instantiation 8750 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8751 $RM out/* && rmdir out 8752 cd .. 8753 $RM -r conftest 8754 $RM conftest* 8755 8756fi 8757{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8758$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8759 8760 8761 8762 8763hard_links="nottested" 8764if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8765 # do not overwrite the value of need_locks provided by the user 8766 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8767$as_echo_n "checking if we can lock with hard links... " >&6; } 8768 hard_links=yes 8769 $RM conftest* 8770 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8771 touch conftest.a 8772 ln conftest.a conftest.b 2>&5 || hard_links=no 8773 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8774 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8775$as_echo "$hard_links" >&6; } 8776 if test "$hard_links" = no; then 8777 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8778$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8779 need_locks=warn 8780 fi 8781else 8782 need_locks=no 8783fi 8784 8785 8786 8787 8788 8789 8790 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8791$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8792 8793 runpath_var= 8794 allow_undefined_flag= 8795 always_export_symbols=no 8796 archive_cmds= 8797 archive_expsym_cmds= 8798 compiler_needs_object=no 8799 enable_shared_with_static_runtimes=no 8800 export_dynamic_flag_spec= 8801 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8802 hardcode_automatic=no 8803 hardcode_direct=no 8804 hardcode_direct_absolute=no 8805 hardcode_libdir_flag_spec= 8806 hardcode_libdir_flag_spec_ld= 8807 hardcode_libdir_separator= 8808 hardcode_minus_L=no 8809 hardcode_shlibpath_var=unsupported 8810 inherit_rpath=no 8811 link_all_deplibs=unknown 8812 module_cmds= 8813 module_expsym_cmds= 8814 old_archive_from_new_cmds= 8815 old_archive_from_expsyms_cmds= 8816 thread_safe_flag_spec= 8817 whole_archive_flag_spec= 8818 # include_expsyms should be a list of space-separated symbols to be *always* 8819 # included in the symbol list 8820 include_expsyms= 8821 # exclude_expsyms can be an extended regexp of symbols to exclude 8822 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8823 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8824 # as well as any symbol that contains `d'. 8825 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8826 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8827 # platforms (ab)use it in PIC code, but their linkers get confused if 8828 # the symbol is explicitly referenced. Since portable code cannot 8829 # rely on this symbol name, it's probably fine to never include it in 8830 # preloaded symbol tables. 8831 # Exclude shared library initialization/finalization symbols. 8832 extract_expsyms_cmds= 8833 8834 case $host_os in 8835 cygwin* | mingw* | pw32* | cegcc*) 8836 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8837 # When not using gcc, we currently assume that we are using 8838 # Microsoft Visual C++. 8839 if test "$GCC" != yes; then 8840 with_gnu_ld=no 8841 fi 8842 ;; 8843 interix*) 8844 # we just hope/assume this is gcc and not c89 (= MSVC++) 8845 with_gnu_ld=yes 8846 ;; 8847 openbsd*) 8848 with_gnu_ld=no 8849 ;; 8850 esac 8851 8852 ld_shlibs=yes 8853 if test "$with_gnu_ld" = yes; then 8854 # If archive_cmds runs LD, not CC, wlarc should be empty 8855 wlarc='${wl}' 8856 8857 # Set some defaults for GNU ld with shared library support. These 8858 # are reset later if shared libraries are not supported. Putting them 8859 # here allows them to be overridden if necessary. 8860 runpath_var=LD_RUN_PATH 8861 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8862 export_dynamic_flag_spec='${wl}--export-dynamic' 8863 # ancient GNU ld didn't support --whole-archive et. al. 8864 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8865 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8866 else 8867 whole_archive_flag_spec= 8868 fi 8869 supports_anon_versioning=no 8870 case `$LD -v 2>&1` in 8871 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8872 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8873 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8874 *\ 2.11.*) ;; # other 2.11 versions 8875 *) supports_anon_versioning=yes ;; 8876 esac 8877 8878 # See if GNU ld supports shared libraries. 8879 case $host_os in 8880 aix[3-9]*) 8881 # On AIX/PPC, the GNU linker is very broken 8882 if test "$host_cpu" != ia64; then 8883 ld_shlibs=no 8884 cat <<_LT_EOF 1>&2 8885 8886*** Warning: the GNU linker, at least up to release 2.9.1, is reported 8887*** to be unable to reliably create shared libraries on AIX. 8888*** Therefore, libtool is disabling shared libraries support. If you 8889*** really care for shared libraries, you may want to modify your PATH 8890*** so that a non-GNU linker is found, and then restart. 8891 8892_LT_EOF 8893 fi 8894 ;; 8895 8896 amigaos*) 8897 case $host_cpu in 8898 powerpc) 8899 # see comment about AmigaOS4 .so support 8900 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8901 archive_expsym_cmds='' 8902 ;; 8903 m68k) 8904 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)' 8905 hardcode_libdir_flag_spec='-L$libdir' 8906 hardcode_minus_L=yes 8907 ;; 8908 esac 8909 ;; 8910 8911 beos*) 8912 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8913 allow_undefined_flag=unsupported 8914 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8915 # support --undefined. This deserves some investigation. FIXME 8916 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8917 else 8918 ld_shlibs=no 8919 fi 8920 ;; 8921 8922 cygwin* | mingw* | pw32* | cegcc*) 8923 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8924 # as there is no search path for DLLs. 8925 hardcode_libdir_flag_spec='-L$libdir' 8926 allow_undefined_flag=unsupported 8927 always_export_symbols=no 8928 enable_shared_with_static_runtimes=yes 8929 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8930 8931 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8933 # If the export-symbols file already is a .def file (1st line 8934 # is EXPORTS), use it as is; otherwise, prepend... 8935 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8936 cp $export_symbols $output_objdir/$soname.def; 8937 else 8938 echo EXPORTS > $output_objdir/$soname.def; 8939 cat $export_symbols >> $output_objdir/$soname.def; 8940 fi~ 8941 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8942 else 8943 ld_shlibs=no 8944 fi 8945 ;; 8946 8947 interix[3-9]*) 8948 hardcode_direct=no 8949 hardcode_shlibpath_var=no 8950 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8951 export_dynamic_flag_spec='${wl}-E' 8952 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8953 # Instead, shared libraries are loaded at an image base (0x10000000 by 8954 # default) and relocated if they conflict, which is a slow very memory 8955 # consuming and fragmenting process. To avoid this, we pick a random, 8956 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8957 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8958 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8959 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' 8960 ;; 8961 8962 gnu* | linux* | tpf* | k*bsd*-gnu) 8963 tmp_diet=no 8964 if test "$host_os" = linux-dietlibc; then 8965 case $cc_basename in 8966 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8967 esac 8968 fi 8969 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8970 && test "$tmp_diet" = no 8971 then 8972 tmp_addflag= 8973 tmp_sharedflag='-shared' 8974 case $cc_basename,$host_cpu in 8975 pgcc*) # Portland Group C compiler 8976 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' 8977 tmp_addflag=' $pic_flag' 8978 ;; 8979 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8980 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' 8981 tmp_addflag=' $pic_flag -Mnomain' ;; 8982 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8983 tmp_addflag=' -i_dynamic' ;; 8984 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8985 tmp_addflag=' -i_dynamic -nofor_main' ;; 8986 ifc* | ifort*) # Intel Fortran compiler 8987 tmp_addflag=' -nofor_main' ;; 8988 lf95*) # Lahey Fortran 8.1 8989 whole_archive_flag_spec= 8990 tmp_sharedflag='--shared' ;; 8991 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8992 tmp_sharedflag='-qmkshrobj' 8993 tmp_addflag= ;; 8994 esac 8995 case `$CC -V 2>&1 | sed 5q` in 8996 *Sun\ C*) # Sun C 5.9 8997 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' 8998 compiler_needs_object=yes 8999 tmp_sharedflag='-G' ;; 9000 *Sun\ F*) # Sun Fortran 8.3 9001 tmp_sharedflag='-G' ;; 9002 esac 9003 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9004 9005 if test "x$supports_anon_versioning" = xyes; then 9006 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9007 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9008 echo "local: *; };" >> $output_objdir/$libname.ver~ 9009 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9010 fi 9011 9012 case $cc_basename in 9013 xlf*) 9014 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9015 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9016 hardcode_libdir_flag_spec= 9017 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9018 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9019 if test "x$supports_anon_versioning" = xyes; then 9020 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9021 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9022 echo "local: *; };" >> $output_objdir/$libname.ver~ 9023 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9024 fi 9025 ;; 9026 esac 9027 else 9028 ld_shlibs=no 9029 fi 9030 ;; 9031 9032 netbsd*) 9033 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9034 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9035 wlarc= 9036 else 9037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9039 fi 9040 ;; 9041 9042 solaris*) 9043 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9044 ld_shlibs=no 9045 cat <<_LT_EOF 1>&2 9046 9047*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9048*** create shared libraries on Solaris systems. Therefore, libtool 9049*** is disabling shared libraries support. We urge you to upgrade GNU 9050*** binutils to release 2.9.1 or newer. Another option is to modify 9051*** your PATH or compiler configuration so that the native linker is 9052*** used, and then restart. 9053 9054_LT_EOF 9055 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9056 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9057 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9058 else 9059 ld_shlibs=no 9060 fi 9061 ;; 9062 9063 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9064 case `$LD -v 2>&1` in 9065 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9066 ld_shlibs=no 9067 cat <<_LT_EOF 1>&2 9068 9069*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9070*** reliably create shared libraries on SCO systems. Therefore, libtool 9071*** is disabling shared libraries support. We urge you to upgrade GNU 9072*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9073*** your PATH or compiler configuration so that the native linker is 9074*** used, and then restart. 9075 9076_LT_EOF 9077 ;; 9078 *) 9079 # For security reasons, it is highly recommended that you always 9080 # use absolute paths for naming shared libraries, and exclude the 9081 # DT_RUNPATH tag from executables and libraries. But doing so 9082 # requires that you compile everything twice, which is a pain. 9083 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9084 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9085 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9086 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9087 else 9088 ld_shlibs=no 9089 fi 9090 ;; 9091 esac 9092 ;; 9093 9094 sunos4*) 9095 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9096 wlarc= 9097 hardcode_direct=yes 9098 hardcode_shlibpath_var=no 9099 ;; 9100 9101 *) 9102 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9103 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9104 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9105 else 9106 ld_shlibs=no 9107 fi 9108 ;; 9109 esac 9110 9111 if test "$ld_shlibs" = no; then 9112 runpath_var= 9113 hardcode_libdir_flag_spec= 9114 export_dynamic_flag_spec= 9115 whole_archive_flag_spec= 9116 fi 9117 else 9118 # PORTME fill in a description of your system's linker (not GNU ld) 9119 case $host_os in 9120 aix3*) 9121 allow_undefined_flag=unsupported 9122 always_export_symbols=yes 9123 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' 9124 # Note: this linker hardcodes the directories in LIBPATH if there 9125 # are no directories specified by -L. 9126 hardcode_minus_L=yes 9127 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9128 # Neither direct hardcoding nor static linking is supported with a 9129 # broken collect2. 9130 hardcode_direct=unsupported 9131 fi 9132 ;; 9133 9134 aix[4-9]*) 9135 if test "$host_cpu" = ia64; then 9136 # On IA64, the linker does run time linking by default, so we don't 9137 # have to do anything special. 9138 aix_use_runtimelinking=no 9139 exp_sym_flag='-Bexport' 9140 no_entry_flag="" 9141 else 9142 # If we're using GNU nm, then we don't want the "-C" option. 9143 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9144 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9145 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' 9146 else 9147 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' 9148 fi 9149 aix_use_runtimelinking=no 9150 9151 # Test if we are trying to use run time linking or normal 9152 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9153 # need to do runtime linking. 9154 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9155 for ld_flag in $LDFLAGS; do 9156 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9157 aix_use_runtimelinking=yes 9158 break 9159 fi 9160 done 9161 ;; 9162 esac 9163 9164 exp_sym_flag='-bexport' 9165 no_entry_flag='-bnoentry' 9166 fi 9167 9168 # When large executables or shared objects are built, AIX ld can 9169 # have problems creating the table of contents. If linking a library 9170 # or program results in "error TOC overflow" add -mminimal-toc to 9171 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9172 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9173 9174 archive_cmds='' 9175 hardcode_direct=yes 9176 hardcode_direct_absolute=yes 9177 hardcode_libdir_separator=':' 9178 link_all_deplibs=yes 9179 file_list_spec='${wl}-f,' 9180 9181 if test "$GCC" = yes; then 9182 case $host_os in aix4.[012]|aix4.[012].*) 9183 # We only want to do this on AIX 4.2 and lower, the check 9184 # below for broken collect2 doesn't work under 4.3+ 9185 collect2name=`${CC} -print-prog-name=collect2` 9186 if test -f "$collect2name" && 9187 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9188 then 9189 # We have reworked collect2 9190 : 9191 else 9192 # We have old collect2 9193 hardcode_direct=unsupported 9194 # It fails to find uninstalled libraries when the uninstalled 9195 # path is not listed in the libpath. Setting hardcode_minus_L 9196 # to unsupported forces relinking 9197 hardcode_minus_L=yes 9198 hardcode_libdir_flag_spec='-L$libdir' 9199 hardcode_libdir_separator= 9200 fi 9201 ;; 9202 esac 9203 shared_flag='-shared' 9204 if test "$aix_use_runtimelinking" = yes; then 9205 shared_flag="$shared_flag "'${wl}-G' 9206 fi 9207 else 9208 # not using gcc 9209 if test "$host_cpu" = ia64; then 9210 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9211 # chokes on -Wl,-G. The following line is correct: 9212 shared_flag='-G' 9213 else 9214 if test "$aix_use_runtimelinking" = yes; then 9215 shared_flag='${wl}-G' 9216 else 9217 shared_flag='${wl}-bM:SRE' 9218 fi 9219 fi 9220 fi 9221 9222 export_dynamic_flag_spec='${wl}-bexpall' 9223 # It seems that -bexpall does not export symbols beginning with 9224 # underscore (_), so it is better to generate a list of symbols to export. 9225 always_export_symbols=yes 9226 if test "$aix_use_runtimelinking" = yes; then 9227 # Warning - without using the other runtime loading flags (-brtl), 9228 # -berok will link without error, but may produce a broken library. 9229 allow_undefined_flag='-berok' 9230 # Determine the default libpath from the value encoded in an 9231 # empty executable. 9232 cat >conftest.$ac_ext <<_ACEOF 9233/* confdefs.h. */ 9234_ACEOF 9235cat confdefs.h >>conftest.$ac_ext 9236cat >>conftest.$ac_ext <<_ACEOF 9237/* end confdefs.h. */ 9238 9239int 9240main () 9241{ 9242 9243 ; 9244 return 0; 9245} 9246_ACEOF 9247rm -f conftest.$ac_objext conftest$ac_exeext 9248if { (ac_try="$ac_link" 9249case "(($ac_try" in 9250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9251 *) ac_try_echo=$ac_try;; 9252esac 9253eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9254$as_echo "$ac_try_echo") >&5 9255 (eval "$ac_link") 2>conftest.er1 9256 ac_status=$? 9257 grep -v '^ *+' conftest.er1 >conftest.err 9258 rm -f conftest.er1 9259 cat conftest.err >&5 9260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9261 (exit $ac_status); } && { 9262 test -z "$ac_c_werror_flag" || 9263 test ! -s conftest.err 9264 } && test -s conftest$ac_exeext && { 9265 test "$cross_compiling" = yes || 9266 $as_test_x conftest$ac_exeext 9267 }; then 9268 9269lt_aix_libpath_sed=' 9270 /Import File Strings/,/^$/ { 9271 /^0/ { 9272 s/^0 *\(.*\)$/\1/ 9273 p 9274 } 9275 }' 9276aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9277# Check for a 64-bit object if we didn't find anything. 9278if test -z "$aix_libpath"; then 9279 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9280fi 9281else 9282 $as_echo "$as_me: failed program was:" >&5 9283sed 's/^/| /' conftest.$ac_ext >&5 9284 9285 9286fi 9287 9288rm -rf conftest.dSYM 9289rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9290 conftest$ac_exeext conftest.$ac_ext 9291if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9292 9293 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9294 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" 9295 else 9296 if test "$host_cpu" = ia64; then 9297 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9298 allow_undefined_flag="-z nodefs" 9299 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" 9300 else 9301 # Determine the default libpath from the value encoded in an 9302 # empty executable. 9303 cat >conftest.$ac_ext <<_ACEOF 9304/* confdefs.h. */ 9305_ACEOF 9306cat confdefs.h >>conftest.$ac_ext 9307cat >>conftest.$ac_ext <<_ACEOF 9308/* end confdefs.h. */ 9309 9310int 9311main () 9312{ 9313 9314 ; 9315 return 0; 9316} 9317_ACEOF 9318rm -f conftest.$ac_objext conftest$ac_exeext 9319if { (ac_try="$ac_link" 9320case "(($ac_try" in 9321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9322 *) ac_try_echo=$ac_try;; 9323esac 9324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9325$as_echo "$ac_try_echo") >&5 9326 (eval "$ac_link") 2>conftest.er1 9327 ac_status=$? 9328 grep -v '^ *+' conftest.er1 >conftest.err 9329 rm -f conftest.er1 9330 cat conftest.err >&5 9331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9332 (exit $ac_status); } && { 9333 test -z "$ac_c_werror_flag" || 9334 test ! -s conftest.err 9335 } && test -s conftest$ac_exeext && { 9336 test "$cross_compiling" = yes || 9337 $as_test_x conftest$ac_exeext 9338 }; then 9339 9340lt_aix_libpath_sed=' 9341 /Import File Strings/,/^$/ { 9342 /^0/ { 9343 s/^0 *\(.*\)$/\1/ 9344 p 9345 } 9346 }' 9347aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9348# Check for a 64-bit object if we didn't find anything. 9349if test -z "$aix_libpath"; then 9350 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9351fi 9352else 9353 $as_echo "$as_me: failed program was:" >&5 9354sed 's/^/| /' conftest.$ac_ext >&5 9355 9356 9357fi 9358 9359rm -rf conftest.dSYM 9360rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9361 conftest$ac_exeext conftest.$ac_ext 9362if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9363 9364 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9365 # Warning - without using the other run time loading flags, 9366 # -berok will link without error, but may produce a broken library. 9367 no_undefined_flag=' ${wl}-bernotok' 9368 allow_undefined_flag=' ${wl}-berok' 9369 # Exported symbols can be pulled into shared objects from archives 9370 whole_archive_flag_spec='$convenience' 9371 archive_cmds_need_lc=yes 9372 # This is similar to how AIX traditionally builds its shared libraries. 9373 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' 9374 fi 9375 fi 9376 ;; 9377 9378 amigaos*) 9379 case $host_cpu in 9380 powerpc) 9381 # see comment about AmigaOS4 .so support 9382 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9383 archive_expsym_cmds='' 9384 ;; 9385 m68k) 9386 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)' 9387 hardcode_libdir_flag_spec='-L$libdir' 9388 hardcode_minus_L=yes 9389 ;; 9390 esac 9391 ;; 9392 9393 bsdi[45]*) 9394 export_dynamic_flag_spec=-rdynamic 9395 ;; 9396 9397 cygwin* | mingw* | pw32* | cegcc*) 9398 # When not using gcc, we currently assume that we are using 9399 # Microsoft Visual C++. 9400 # hardcode_libdir_flag_spec is actually meaningless, as there is 9401 # no search path for DLLs. 9402 hardcode_libdir_flag_spec=' ' 9403 allow_undefined_flag=unsupported 9404 # Tell ltmain to make .lib files, not .a files. 9405 libext=lib 9406 # Tell ltmain to make .dll files, not .so files. 9407 shrext_cmds=".dll" 9408 # FIXME: Setting linknames here is a bad hack. 9409 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9410 # The linker will automatically build a .lib file if we build a DLL. 9411 old_archive_from_new_cmds='true' 9412 # FIXME: Should let the user specify the lib program. 9413 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9414 fix_srcfile_path='`cygpath -w "$srcfile"`' 9415 enable_shared_with_static_runtimes=yes 9416 ;; 9417 9418 darwin* | rhapsody*) 9419 9420 9421 archive_cmds_need_lc=no 9422 hardcode_direct=no 9423 hardcode_automatic=yes 9424 hardcode_shlibpath_var=unsupported 9425 whole_archive_flag_spec='' 9426 link_all_deplibs=yes 9427 allow_undefined_flag="$_lt_dar_allow_undefined" 9428 case $cc_basename in 9429 ifort*) _lt_dar_can_shared=yes ;; 9430 *) _lt_dar_can_shared=$GCC ;; 9431 esac 9432 if test "$_lt_dar_can_shared" = "yes"; then 9433 output_verbose_link_cmd=echo 9434 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9435 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9436 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}" 9437 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}" 9438 9439 else 9440 ld_shlibs=no 9441 fi 9442 9443 ;; 9444 9445 dgux*) 9446 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9447 hardcode_libdir_flag_spec='-L$libdir' 9448 hardcode_shlibpath_var=no 9449 ;; 9450 9451 freebsd1*) 9452 ld_shlibs=no 9453 ;; 9454 9455 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9456 # support. Future versions do this automatically, but an explicit c++rt0.o 9457 # does not break anything, and helps significantly (at the cost of a little 9458 # extra space). 9459 freebsd2.2*) 9460 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9461 hardcode_libdir_flag_spec='-R$libdir' 9462 hardcode_direct=yes 9463 hardcode_shlibpath_var=no 9464 ;; 9465 9466 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9467 freebsd2*) 9468 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9469 hardcode_direct=yes 9470 hardcode_minus_L=yes 9471 hardcode_shlibpath_var=no 9472 ;; 9473 9474 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9475 freebsd* | dragonfly*) 9476 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9477 hardcode_libdir_flag_spec='-R$libdir' 9478 hardcode_direct=yes 9479 hardcode_shlibpath_var=no 9480 ;; 9481 9482 hpux9*) 9483 if test "$GCC" = yes; then 9484 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' 9485 else 9486 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' 9487 fi 9488 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9489 hardcode_libdir_separator=: 9490 hardcode_direct=yes 9491 9492 # hardcode_minus_L: Not really in the search PATH, 9493 # but as the default location of the library. 9494 hardcode_minus_L=yes 9495 export_dynamic_flag_spec='${wl}-E' 9496 ;; 9497 9498 hpux10*) 9499 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9500 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9501 else 9502 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9503 fi 9504 if test "$with_gnu_ld" = no; then 9505 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9506 hardcode_libdir_flag_spec_ld='+b $libdir' 9507 hardcode_libdir_separator=: 9508 hardcode_direct=yes 9509 hardcode_direct_absolute=yes 9510 export_dynamic_flag_spec='${wl}-E' 9511 # hardcode_minus_L: Not really in the search PATH, 9512 # but as the default location of the library. 9513 hardcode_minus_L=yes 9514 fi 9515 ;; 9516 9517 hpux11*) 9518 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9519 case $host_cpu in 9520 hppa*64*) 9521 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9522 ;; 9523 ia64*) 9524 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9525 ;; 9526 *) 9527 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9528 ;; 9529 esac 9530 else 9531 case $host_cpu in 9532 hppa*64*) 9533 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9534 ;; 9535 ia64*) 9536 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9537 ;; 9538 *) 9539 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9540 ;; 9541 esac 9542 fi 9543 if test "$with_gnu_ld" = no; then 9544 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9545 hardcode_libdir_separator=: 9546 9547 case $host_cpu in 9548 hppa*64*|ia64*) 9549 hardcode_direct=no 9550 hardcode_shlibpath_var=no 9551 ;; 9552 *) 9553 hardcode_direct=yes 9554 hardcode_direct_absolute=yes 9555 export_dynamic_flag_spec='${wl}-E' 9556 9557 # hardcode_minus_L: Not really in the search PATH, 9558 # but as the default location of the library. 9559 hardcode_minus_L=yes 9560 ;; 9561 esac 9562 fi 9563 ;; 9564 9565 irix5* | irix6* | nonstopux*) 9566 if test "$GCC" = yes; then 9567 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' 9568 # Try to use the -exported_symbol ld option, if it does not 9569 # work, assume that -exports_file does not work either and 9570 # implicitly export all symbols. 9571 save_LDFLAGS="$LDFLAGS" 9572 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9573 cat >conftest.$ac_ext <<_ACEOF 9574int foo(void) {} 9575_ACEOF 9576rm -f conftest.$ac_objext conftest$ac_exeext 9577if { (ac_try="$ac_link" 9578case "(($ac_try" in 9579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9580 *) ac_try_echo=$ac_try;; 9581esac 9582eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9583$as_echo "$ac_try_echo") >&5 9584 (eval "$ac_link") 2>conftest.er1 9585 ac_status=$? 9586 grep -v '^ *+' conftest.er1 >conftest.err 9587 rm -f conftest.er1 9588 cat conftest.err >&5 9589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9590 (exit $ac_status); } && { 9591 test -z "$ac_c_werror_flag" || 9592 test ! -s conftest.err 9593 } && test -s conftest$ac_exeext && { 9594 test "$cross_compiling" = yes || 9595 $as_test_x conftest$ac_exeext 9596 }; then 9597 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' 9598 9599else 9600 $as_echo "$as_me: failed program was:" >&5 9601sed 's/^/| /' conftest.$ac_ext >&5 9602 9603 9604fi 9605 9606rm -rf conftest.dSYM 9607rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9608 conftest$ac_exeext conftest.$ac_ext 9609 LDFLAGS="$save_LDFLAGS" 9610 else 9611 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' 9612 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' 9613 fi 9614 archive_cmds_need_lc='no' 9615 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9616 hardcode_libdir_separator=: 9617 inherit_rpath=yes 9618 link_all_deplibs=yes 9619 ;; 9620 9621 netbsd*) 9622 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9623 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9624 else 9625 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9626 fi 9627 hardcode_libdir_flag_spec='-R$libdir' 9628 hardcode_direct=yes 9629 hardcode_shlibpath_var=no 9630 ;; 9631 9632 newsos6) 9633 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9634 hardcode_direct=yes 9635 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9636 hardcode_libdir_separator=: 9637 hardcode_shlibpath_var=no 9638 ;; 9639 9640 *nto* | *qnx*) 9641 ;; 9642 9643 openbsd*) 9644 if test -f /usr/libexec/ld.so; then 9645 hardcode_direct=yes 9646 hardcode_shlibpath_var=no 9647 hardcode_direct_absolute=yes 9648 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9649 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9650 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9651 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9652 export_dynamic_flag_spec='${wl}-E' 9653 else 9654 case $host_os in 9655 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9656 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9657 hardcode_libdir_flag_spec='-R$libdir' 9658 ;; 9659 *) 9660 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9661 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9662 ;; 9663 esac 9664 fi 9665 else 9666 ld_shlibs=no 9667 fi 9668 ;; 9669 9670 os2*) 9671 hardcode_libdir_flag_spec='-L$libdir' 9672 hardcode_minus_L=yes 9673 allow_undefined_flag=unsupported 9674 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' 9675 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9676 ;; 9677 9678 osf3*) 9679 if test "$GCC" = yes; then 9680 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9681 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' 9682 else 9683 allow_undefined_flag=' -expect_unresolved \*' 9684 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' 9685 fi 9686 archive_cmds_need_lc='no' 9687 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9688 hardcode_libdir_separator=: 9689 ;; 9690 9691 osf4* | osf5*) # as osf3* with the addition of -msym flag 9692 if test "$GCC" = yes; then 9693 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9694 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' 9695 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9696 else 9697 allow_undefined_flag=' -expect_unresolved \*' 9698 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' 9699 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~ 9700 $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' 9701 9702 # Both c and cxx compiler support -rpath directly 9703 hardcode_libdir_flag_spec='-rpath $libdir' 9704 fi 9705 archive_cmds_need_lc='no' 9706 hardcode_libdir_separator=: 9707 ;; 9708 9709 solaris*) 9710 no_undefined_flag=' -z defs' 9711 if test "$GCC" = yes; then 9712 wlarc='${wl}' 9713 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9714 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9715 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9716 else 9717 case `$CC -V 2>&1` in 9718 *"Compilers 5.0"*) 9719 wlarc='' 9720 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9721 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9722 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9723 ;; 9724 *) 9725 wlarc='${wl}' 9726 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9727 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9728 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9729 ;; 9730 esac 9731 fi 9732 hardcode_libdir_flag_spec='-R$libdir' 9733 hardcode_shlibpath_var=no 9734 case $host_os in 9735 solaris2.[0-5] | solaris2.[0-5].*) ;; 9736 *) 9737 # The compiler driver will combine and reorder linker options, 9738 # but understands `-z linker_flag'. GCC discards it without `$wl', 9739 # but is careful enough not to reorder. 9740 # Supported since Solaris 2.6 (maybe 2.5.1?) 9741 if test "$GCC" = yes; then 9742 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9743 else 9744 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9745 fi 9746 ;; 9747 esac 9748 link_all_deplibs=yes 9749 ;; 9750 9751 sunos4*) 9752 if test "x$host_vendor" = xsequent; then 9753 # Use $CC to link under sequent, because it throws in some extra .o 9754 # files that make .init and .fini sections work. 9755 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9756 else 9757 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9758 fi 9759 hardcode_libdir_flag_spec='-L$libdir' 9760 hardcode_direct=yes 9761 hardcode_minus_L=yes 9762 hardcode_shlibpath_var=no 9763 ;; 9764 9765 sysv4) 9766 case $host_vendor in 9767 sni) 9768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9769 hardcode_direct=yes # is this really true??? 9770 ;; 9771 siemens) 9772 ## LD is ld it makes a PLAMLIB 9773 ## CC just makes a GrossModule. 9774 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9775 reload_cmds='$CC -r -o $output$reload_objs' 9776 hardcode_direct=no 9777 ;; 9778 motorola) 9779 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9780 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9781 ;; 9782 esac 9783 runpath_var='LD_RUN_PATH' 9784 hardcode_shlibpath_var=no 9785 ;; 9786 9787 sysv4.3*) 9788 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9789 hardcode_shlibpath_var=no 9790 export_dynamic_flag_spec='-Bexport' 9791 ;; 9792 9793 sysv4*MP*) 9794 if test -d /usr/nec; then 9795 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9796 hardcode_shlibpath_var=no 9797 runpath_var=LD_RUN_PATH 9798 hardcode_runpath_var=yes 9799 ld_shlibs=yes 9800 fi 9801 ;; 9802 9803 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9804 no_undefined_flag='${wl}-z,text' 9805 archive_cmds_need_lc=no 9806 hardcode_shlibpath_var=no 9807 runpath_var='LD_RUN_PATH' 9808 9809 if test "$GCC" = yes; then 9810 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9811 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9812 else 9813 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9814 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9815 fi 9816 ;; 9817 9818 sysv5* | sco3.2v5* | sco5v6*) 9819 # Note: We can NOT use -z defs as we might desire, because we do not 9820 # link with -lc, and that would cause any symbols used from libc to 9821 # always be unresolved, which means just about no library would 9822 # ever link correctly. If we're not using GNU ld we use -z text 9823 # though, which does catch some bad symbols but isn't as heavy-handed 9824 # as -z defs. 9825 no_undefined_flag='${wl}-z,text' 9826 allow_undefined_flag='${wl}-z,nodefs' 9827 archive_cmds_need_lc=no 9828 hardcode_shlibpath_var=no 9829 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9830 hardcode_libdir_separator=':' 9831 link_all_deplibs=yes 9832 export_dynamic_flag_spec='${wl}-Bexport' 9833 runpath_var='LD_RUN_PATH' 9834 9835 if test "$GCC" = yes; then 9836 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9837 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9838 else 9839 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9840 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9841 fi 9842 ;; 9843 9844 uts4*) 9845 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9846 hardcode_libdir_flag_spec='-L$libdir' 9847 hardcode_shlibpath_var=no 9848 ;; 9849 9850 *) 9851 ld_shlibs=no 9852 ;; 9853 esac 9854 9855 if test x$host_vendor = xsni; then 9856 case $host in 9857 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9858 export_dynamic_flag_spec='${wl}-Blargedynsym' 9859 ;; 9860 esac 9861 fi 9862 fi 9863 9864{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 9865$as_echo "$ld_shlibs" >&6; } 9866test "$ld_shlibs" = no && can_build_shared=no 9867 9868with_gnu_ld=$with_gnu_ld 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884# 9885# Do we need to explicitly link libc? 9886# 9887case "x$archive_cmds_need_lc" in 9888x|xyes) 9889 # Assume -lc should be added 9890 archive_cmds_need_lc=yes 9891 9892 if test "$enable_shared" = yes && test "$GCC" = yes; then 9893 case $archive_cmds in 9894 *'~'*) 9895 # FIXME: we may have to deal with multi-command sequences. 9896 ;; 9897 '$CC '*) 9898 # Test whether the compiler implicitly links with -lc since on some 9899 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9900 # to ld, don't add -lc before -lgcc. 9901 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 9902$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9903 $RM conftest* 9904 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9905 9906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9907 (eval $ac_compile) 2>&5 9908 ac_status=$? 9909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9910 (exit $ac_status); } 2>conftest.err; then 9911 soname=conftest 9912 lib=conftest 9913 libobjs=conftest.$ac_objext 9914 deplibs= 9915 wl=$lt_prog_compiler_wl 9916 pic_flag=$lt_prog_compiler_pic 9917 compiler_flags=-v 9918 linker_flags=-v 9919 verstring= 9920 output_objdir=. 9921 libname=conftest 9922 lt_save_allow_undefined_flag=$allow_undefined_flag 9923 allow_undefined_flag= 9924 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 9925 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 9926 ac_status=$? 9927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9928 (exit $ac_status); } 9929 then 9930 archive_cmds_need_lc=no 9931 else 9932 archive_cmds_need_lc=yes 9933 fi 9934 allow_undefined_flag=$lt_save_allow_undefined_flag 9935 else 9936 cat conftest.err 1>&5 9937 fi 9938 $RM conftest* 9939 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 9940$as_echo "$archive_cmds_need_lc" >&6; } 9941 ;; 9942 esac 9943 fi 9944 ;; 9945esac 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10104$as_echo_n "checking dynamic linker characteristics... " >&6; } 10105 10106if test "$GCC" = yes; then 10107 case $host_os in 10108 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10109 *) lt_awk_arg="/^libraries:/" ;; 10110 esac 10111 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10112 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10113 # if the path contains ";" then we assume it to be the separator 10114 # otherwise default to the standard path separator (i.e. ":") - it is 10115 # assumed that no part of a normal pathname contains ";" but that should 10116 # okay in the real world where ";" in dirpaths is itself problematic. 10117 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10118 else 10119 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10120 fi 10121 # Ok, now we have the path, separated by spaces, we can step through it 10122 # and add multilib dir if necessary. 10123 lt_tmp_lt_search_path_spec= 10124 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10125 for lt_sys_path in $lt_search_path_spec; do 10126 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10127 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10128 else 10129 test -d "$lt_sys_path" && \ 10130 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10131 fi 10132 done 10133 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10134BEGIN {RS=" "; FS="/|\n";} { 10135 lt_foo=""; 10136 lt_count=0; 10137 for (lt_i = NF; lt_i > 0; lt_i--) { 10138 if ($lt_i != "" && $lt_i != ".") { 10139 if ($lt_i == "..") { 10140 lt_count++; 10141 } else { 10142 if (lt_count == 0) { 10143 lt_foo="/" $lt_i lt_foo; 10144 } else { 10145 lt_count--; 10146 } 10147 } 10148 } 10149 } 10150 if (lt_foo != "") { lt_freq[lt_foo]++; } 10151 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10152}'` 10153 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10154else 10155 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10156fi 10157library_names_spec= 10158libname_spec='lib$name' 10159soname_spec= 10160shrext_cmds=".so" 10161postinstall_cmds= 10162postuninstall_cmds= 10163finish_cmds= 10164finish_eval= 10165shlibpath_var= 10166shlibpath_overrides_runpath=unknown 10167version_type=none 10168dynamic_linker="$host_os ld.so" 10169sys_lib_dlsearch_path_spec="/lib /usr/lib" 10170need_lib_prefix=unknown 10171hardcode_into_libs=no 10172 10173# when you set need_version to no, make sure it does not cause -set_version 10174# flags to be left without arguments 10175need_version=unknown 10176 10177case $host_os in 10178aix3*) 10179 version_type=linux 10180 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10181 shlibpath_var=LIBPATH 10182 10183 # AIX 3 has no versioning support, so we append a major version to the name. 10184 soname_spec='${libname}${release}${shared_ext}$major' 10185 ;; 10186 10187aix[4-9]*) 10188 version_type=linux 10189 need_lib_prefix=no 10190 need_version=no 10191 hardcode_into_libs=yes 10192 if test "$host_cpu" = ia64; then 10193 # AIX 5 supports IA64 10194 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10195 shlibpath_var=LD_LIBRARY_PATH 10196 else 10197 # With GCC up to 2.95.x, collect2 would create an import file 10198 # for dependence libraries. The import file would start with 10199 # the line `#! .'. This would cause the generated library to 10200 # depend on `.', always an invalid library. This was fixed in 10201 # development snapshots of GCC prior to 3.0. 10202 case $host_os in 10203 aix4 | aix4.[01] | aix4.[01].*) 10204 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10205 echo ' yes ' 10206 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10207 : 10208 else 10209 can_build_shared=no 10210 fi 10211 ;; 10212 esac 10213 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10214 # soname into executable. Probably we can add versioning support to 10215 # collect2, so additional links can be useful in future. 10216 if test "$aix_use_runtimelinking" = yes; then 10217 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10218 # instead of lib<name>.a to let people know that these are not 10219 # typical AIX shared libraries. 10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10221 else 10222 # We preserve .a as extension for shared libraries through AIX4.2 10223 # and later when we are not doing run time linking. 10224 library_names_spec='${libname}${release}.a $libname.a' 10225 soname_spec='${libname}${release}${shared_ext}$major' 10226 fi 10227 shlibpath_var=LIBPATH 10228 fi 10229 ;; 10230 10231amigaos*) 10232 case $host_cpu in 10233 powerpc) 10234 # Since July 2007 AmigaOS4 officially supports .so libraries. 10235 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10237 ;; 10238 m68k) 10239 library_names_spec='$libname.ixlibrary $libname.a' 10240 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10241 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' 10242 ;; 10243 esac 10244 ;; 10245 10246beos*) 10247 library_names_spec='${libname}${shared_ext}' 10248 dynamic_linker="$host_os ld.so" 10249 shlibpath_var=LIBRARY_PATH 10250 ;; 10251 10252bsdi[45]*) 10253 version_type=linux 10254 need_version=no 10255 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10256 soname_spec='${libname}${release}${shared_ext}$major' 10257 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10258 shlibpath_var=LD_LIBRARY_PATH 10259 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10260 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10261 # the default ld.so.conf also contains /usr/contrib/lib and 10262 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10263 # libtool to hard-code these into programs 10264 ;; 10265 10266cygwin* | mingw* | pw32* | cegcc*) 10267 version_type=windows 10268 shrext_cmds=".dll" 10269 need_version=no 10270 need_lib_prefix=no 10271 10272 case $GCC,$host_os in 10273 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10274 library_names_spec='$libname.dll.a' 10275 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10276 postinstall_cmds='base_file=`basename \${file}`~ 10277 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10278 dldir=$destdir/`dirname \$dlpath`~ 10279 test -d \$dldir || mkdir -p \$dldir~ 10280 $install_prog $dir/$dlname \$dldir/$dlname~ 10281 chmod a+x \$dldir/$dlname~ 10282 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10283 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10284 fi' 10285 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10286 dlpath=$dir/\$dldll~ 10287 $RM \$dlpath' 10288 shlibpath_overrides_runpath=yes 10289 10290 case $host_os in 10291 cygwin*) 10292 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10293 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10294 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10295 ;; 10296 mingw* | cegcc*) 10297 # MinGW DLLs use traditional 'lib' prefix 10298 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10299 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10300 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10301 # It is most probably a Windows format PATH printed by 10302 # mingw gcc, but we are running on Cygwin. Gcc prints its search 10303 # path with ; separators, and with drive letters. We can handle the 10304 # drive letters (cygwin fileutils understands them), so leave them, 10305 # especially as we might pass files found there to a mingw objdump, 10306 # which wouldn't understand a cygwinified path. Ahh. 10307 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10308 else 10309 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10310 fi 10311 ;; 10312 pw32*) 10313 # pw32 DLLs use 'pw' prefix rather than 'lib' 10314 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10315 ;; 10316 esac 10317 ;; 10318 10319 *) 10320 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10321 ;; 10322 esac 10323 dynamic_linker='Win32 ld.exe' 10324 # FIXME: first we should search . and the directory the executable is in 10325 shlibpath_var=PATH 10326 ;; 10327 10328darwin* | rhapsody*) 10329 dynamic_linker="$host_os dyld" 10330 version_type=darwin 10331 need_lib_prefix=no 10332 need_version=no 10333 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10334 soname_spec='${libname}${release}${major}$shared_ext' 10335 shlibpath_overrides_runpath=yes 10336 shlibpath_var=DYLD_LIBRARY_PATH 10337 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10338 10339 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10340 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10341 ;; 10342 10343dgux*) 10344 version_type=linux 10345 need_lib_prefix=no 10346 need_version=no 10347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10348 soname_spec='${libname}${release}${shared_ext}$major' 10349 shlibpath_var=LD_LIBRARY_PATH 10350 ;; 10351 10352freebsd1*) 10353 dynamic_linker=no 10354 ;; 10355 10356freebsd* | dragonfly*) 10357 # DragonFly does not have aout. When/if they implement a new 10358 # versioning mechanism, adjust this. 10359 if test -x /usr/bin/objformat; then 10360 objformat=`/usr/bin/objformat` 10361 else 10362 case $host_os in 10363 freebsd[123]*) objformat=aout ;; 10364 *) objformat=elf ;; 10365 esac 10366 fi 10367 version_type=freebsd-$objformat 10368 case $version_type in 10369 freebsd-elf*) 10370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10371 need_version=no 10372 need_lib_prefix=no 10373 ;; 10374 freebsd-*) 10375 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10376 need_version=yes 10377 ;; 10378 esac 10379 shlibpath_var=LD_LIBRARY_PATH 10380 case $host_os in 10381 freebsd2*) 10382 shlibpath_overrides_runpath=yes 10383 ;; 10384 freebsd3.[01]* | freebsdelf3.[01]*) 10385 shlibpath_overrides_runpath=yes 10386 hardcode_into_libs=yes 10387 ;; 10388 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10389 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10390 shlibpath_overrides_runpath=no 10391 hardcode_into_libs=yes 10392 ;; 10393 *) # from 4.6 on, and DragonFly 10394 shlibpath_overrides_runpath=yes 10395 hardcode_into_libs=yes 10396 ;; 10397 esac 10398 ;; 10399 10400gnu*) 10401 version_type=linux 10402 need_lib_prefix=no 10403 need_version=no 10404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10405 soname_spec='${libname}${release}${shared_ext}$major' 10406 shlibpath_var=LD_LIBRARY_PATH 10407 hardcode_into_libs=yes 10408 ;; 10409 10410hpux9* | hpux10* | hpux11*) 10411 # Give a soname corresponding to the major version so that dld.sl refuses to 10412 # link against other versions. 10413 version_type=sunos 10414 need_lib_prefix=no 10415 need_version=no 10416 case $host_cpu in 10417 ia64*) 10418 shrext_cmds='.so' 10419 hardcode_into_libs=yes 10420 dynamic_linker="$host_os dld.so" 10421 shlibpath_var=LD_LIBRARY_PATH 10422 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10423 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10424 soname_spec='${libname}${release}${shared_ext}$major' 10425 if test "X$HPUX_IA64_MODE" = X32; then 10426 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10427 else 10428 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10429 fi 10430 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10431 ;; 10432 hppa*64*) 10433 shrext_cmds='.sl' 10434 hardcode_into_libs=yes 10435 dynamic_linker="$host_os dld.sl" 10436 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10437 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10439 soname_spec='${libname}${release}${shared_ext}$major' 10440 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10441 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10442 ;; 10443 *) 10444 shrext_cmds='.sl' 10445 dynamic_linker="$host_os dld.sl" 10446 shlibpath_var=SHLIB_PATH 10447 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10449 soname_spec='${libname}${release}${shared_ext}$major' 10450 ;; 10451 esac 10452 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10453 postinstall_cmds='chmod 555 $lib' 10454 ;; 10455 10456interix[3-9]*) 10457 version_type=linux 10458 need_lib_prefix=no 10459 need_version=no 10460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10461 soname_spec='${libname}${release}${shared_ext}$major' 10462 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10463 shlibpath_var=LD_LIBRARY_PATH 10464 shlibpath_overrides_runpath=no 10465 hardcode_into_libs=yes 10466 ;; 10467 10468irix5* | irix6* | nonstopux*) 10469 case $host_os in 10470 nonstopux*) version_type=nonstopux ;; 10471 *) 10472 if test "$lt_cv_prog_gnu_ld" = yes; then 10473 version_type=linux 10474 else 10475 version_type=irix 10476 fi ;; 10477 esac 10478 need_lib_prefix=no 10479 need_version=no 10480 soname_spec='${libname}${release}${shared_ext}$major' 10481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10482 case $host_os in 10483 irix5* | nonstopux*) 10484 libsuff= shlibsuff= 10485 ;; 10486 *) 10487 case $LD in # libtool.m4 will add one of these switches to LD 10488 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10489 libsuff= shlibsuff= libmagic=32-bit;; 10490 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10491 libsuff=32 shlibsuff=N32 libmagic=N32;; 10492 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10493 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10494 *) libsuff= shlibsuff= libmagic=never-match;; 10495 esac 10496 ;; 10497 esac 10498 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10499 shlibpath_overrides_runpath=no 10500 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10501 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10502 hardcode_into_libs=yes 10503 ;; 10504 10505# No shared lib support for Linux oldld, aout, or coff. 10506linux*oldld* | linux*aout* | linux*coff*) 10507 dynamic_linker=no 10508 ;; 10509 10510# This must be Linux ELF. 10511linux* | k*bsd*-gnu) 10512 version_type=linux 10513 need_lib_prefix=no 10514 need_version=no 10515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10516 soname_spec='${libname}${release}${shared_ext}$major' 10517 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10518 shlibpath_var=LD_LIBRARY_PATH 10519 shlibpath_overrides_runpath=no 10520 # Some binutils ld are patched to set DT_RUNPATH 10521 save_LDFLAGS=$LDFLAGS 10522 save_libdir=$libdir 10523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10525 cat >conftest.$ac_ext <<_ACEOF 10526/* confdefs.h. */ 10527_ACEOF 10528cat confdefs.h >>conftest.$ac_ext 10529cat >>conftest.$ac_ext <<_ACEOF 10530/* end confdefs.h. */ 10531 10532int 10533main () 10534{ 10535 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 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10562 shlibpath_overrides_runpath=yes 10563fi 10564 10565else 10566 $as_echo "$as_me: failed program was:" >&5 10567sed 's/^/| /' conftest.$ac_ext >&5 10568 10569 10570fi 10571 10572rm -rf conftest.dSYM 10573rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10574 conftest$ac_exeext conftest.$ac_ext 10575 LDFLAGS=$save_LDFLAGS 10576 libdir=$save_libdir 10577 10578 # This implies no fast_install, which is unacceptable. 10579 # Some rework will be needed to allow for fast_install 10580 # before this can be enabled. 10581 hardcode_into_libs=yes 10582 10583 # Add ABI-specific directories to the system library path. 10584 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10585 10586 # Append ld.so.conf contents to the search path 10587 if test -f /etc/ld.so.conf; then 10588 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' ' '` 10589 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10590 fi 10591 10592 # We used to test for /lib/ld.so.1 and disable shared libraries on 10593 # powerpc, because MkLinux only supported shared libraries with the 10594 # GNU dynamic linker. Since this was broken with cross compilers, 10595 # most powerpc-linux boxes support dynamic linking these days and 10596 # people can always --disable-shared, the test was removed, and we 10597 # assume the GNU/Linux dynamic linker is in use. 10598 dynamic_linker='GNU/Linux ld.so' 10599 ;; 10600 10601netbsd*) 10602 version_type=sunos 10603 need_lib_prefix=no 10604 need_version=no 10605 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10608 dynamic_linker='NetBSD (a.out) ld.so' 10609 else 10610 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10611 soname_spec='${libname}${release}${shared_ext}$major' 10612 dynamic_linker='NetBSD ld.elf_so' 10613 fi 10614 shlibpath_var=LD_LIBRARY_PATH 10615 shlibpath_overrides_runpath=yes 10616 hardcode_into_libs=yes 10617 ;; 10618 10619newsos6) 10620 version_type=linux 10621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10622 shlibpath_var=LD_LIBRARY_PATH 10623 shlibpath_overrides_runpath=yes 10624 ;; 10625 10626*nto* | *qnx*) 10627 version_type=qnx 10628 need_lib_prefix=no 10629 need_version=no 10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10631 soname_spec='${libname}${release}${shared_ext}$major' 10632 shlibpath_var=LD_LIBRARY_PATH 10633 shlibpath_overrides_runpath=no 10634 hardcode_into_libs=yes 10635 dynamic_linker='ldqnx.so' 10636 ;; 10637 10638openbsd*) 10639 version_type=sunos 10640 sys_lib_dlsearch_path_spec="/usr/lib" 10641 need_lib_prefix=no 10642 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10643 case $host_os in 10644 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10645 *) need_version=no ;; 10646 esac 10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10648 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10649 shlibpath_var=LD_LIBRARY_PATH 10650 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10651 case $host_os in 10652 openbsd2.[89] | openbsd2.[89].*) 10653 shlibpath_overrides_runpath=no 10654 ;; 10655 *) 10656 shlibpath_overrides_runpath=yes 10657 ;; 10658 esac 10659 else 10660 shlibpath_overrides_runpath=yes 10661 fi 10662 ;; 10663 10664os2*) 10665 libname_spec='$name' 10666 shrext_cmds=".dll" 10667 need_lib_prefix=no 10668 library_names_spec='$libname${shared_ext} $libname.a' 10669 dynamic_linker='OS/2 ld.exe' 10670 shlibpath_var=LIBPATH 10671 ;; 10672 10673osf3* | osf4* | osf5*) 10674 version_type=osf 10675 need_lib_prefix=no 10676 need_version=no 10677 soname_spec='${libname}${release}${shared_ext}$major' 10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10679 shlibpath_var=LD_LIBRARY_PATH 10680 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10681 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10682 ;; 10683 10684rdos*) 10685 dynamic_linker=no 10686 ;; 10687 10688solaris*) 10689 version_type=linux 10690 need_lib_prefix=no 10691 need_version=no 10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10693 soname_spec='${libname}${release}${shared_ext}$major' 10694 shlibpath_var=LD_LIBRARY_PATH 10695 shlibpath_overrides_runpath=yes 10696 hardcode_into_libs=yes 10697 # ldd complains unless libraries are executable 10698 postinstall_cmds='chmod +x $lib' 10699 ;; 10700 10701sunos4*) 10702 version_type=sunos 10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10704 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10705 shlibpath_var=LD_LIBRARY_PATH 10706 shlibpath_overrides_runpath=yes 10707 if test "$with_gnu_ld" = yes; then 10708 need_lib_prefix=no 10709 fi 10710 need_version=yes 10711 ;; 10712 10713sysv4 | sysv4.3*) 10714 version_type=linux 10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10716 soname_spec='${libname}${release}${shared_ext}$major' 10717 shlibpath_var=LD_LIBRARY_PATH 10718 case $host_vendor in 10719 sni) 10720 shlibpath_overrides_runpath=no 10721 need_lib_prefix=no 10722 runpath_var=LD_RUN_PATH 10723 ;; 10724 siemens) 10725 need_lib_prefix=no 10726 ;; 10727 motorola) 10728 need_lib_prefix=no 10729 need_version=no 10730 shlibpath_overrides_runpath=no 10731 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10732 ;; 10733 esac 10734 ;; 10735 10736sysv4*MP*) 10737 if test -d /usr/nec ;then 10738 version_type=linux 10739 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10740 soname_spec='$libname${shared_ext}.$major' 10741 shlibpath_var=LD_LIBRARY_PATH 10742 fi 10743 ;; 10744 10745sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10746 version_type=freebsd-elf 10747 need_lib_prefix=no 10748 need_version=no 10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10750 soname_spec='${libname}${release}${shared_ext}$major' 10751 shlibpath_var=LD_LIBRARY_PATH 10752 shlibpath_overrides_runpath=yes 10753 hardcode_into_libs=yes 10754 if test "$with_gnu_ld" = yes; then 10755 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10756 else 10757 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10758 case $host_os in 10759 sco3.2v5*) 10760 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10761 ;; 10762 esac 10763 fi 10764 sys_lib_dlsearch_path_spec='/usr/lib' 10765 ;; 10766 10767tpf*) 10768 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10769 version_type=linux 10770 need_lib_prefix=no 10771 need_version=no 10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10773 shlibpath_var=LD_LIBRARY_PATH 10774 shlibpath_overrides_runpath=no 10775 hardcode_into_libs=yes 10776 ;; 10777 10778uts4*) 10779 version_type=linux 10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10781 soname_spec='${libname}${release}${shared_ext}$major' 10782 shlibpath_var=LD_LIBRARY_PATH 10783 ;; 10784 10785*) 10786 dynamic_linker=no 10787 ;; 10788esac 10789{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 10790$as_echo "$dynamic_linker" >&6; } 10791test "$dynamic_linker" = no && can_build_shared=no 10792 10793variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10794if test "$GCC" = yes; then 10795 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10796fi 10797 10798if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10799 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10800fi 10801if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10802 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10803fi 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 10892$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 10893hardcode_action= 10894if test -n "$hardcode_libdir_flag_spec" || 10895 test -n "$runpath_var" || 10896 test "X$hardcode_automatic" = "Xyes" ; then 10897 10898 # We can hardcode non-existent directories. 10899 if test "$hardcode_direct" != no && 10900 # If the only mechanism to avoid hardcoding is shlibpath_var, we 10901 # have to relink, otherwise we might link with an installed library 10902 # when we should be linking with a yet-to-be-installed one 10903 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 10904 test "$hardcode_minus_L" != no; then 10905 # Linking always hardcodes the temporary library directory. 10906 hardcode_action=relink 10907 else 10908 # We can link without hardcoding, and we can hardcode nonexisting dirs. 10909 hardcode_action=immediate 10910 fi 10911else 10912 # We cannot hardcode anything, or else we can only hardcode existing 10913 # directories. 10914 hardcode_action=unsupported 10915fi 10916{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 10917$as_echo "$hardcode_action" >&6; } 10918 10919if test "$hardcode_action" = relink || 10920 test "$inherit_rpath" = yes; then 10921 # Fast installation is not supported 10922 enable_fast_install=no 10923elif test "$shlibpath_overrides_runpath" = yes || 10924 test "$enable_shared" = no; then 10925 # Fast installation is not necessary 10926 enable_fast_install=needless 10927fi 10928 10929 10930 10931 10932 10933 10934 if test "x$enable_dlopen" != xyes; then 10935 enable_dlopen=unknown 10936 enable_dlopen_self=unknown 10937 enable_dlopen_self_static=unknown 10938else 10939 lt_cv_dlopen=no 10940 lt_cv_dlopen_libs= 10941 10942 case $host_os in 10943 beos*) 10944 lt_cv_dlopen="load_add_on" 10945 lt_cv_dlopen_libs= 10946 lt_cv_dlopen_self=yes 10947 ;; 10948 10949 mingw* | pw32* | cegcc*) 10950 lt_cv_dlopen="LoadLibrary" 10951 lt_cv_dlopen_libs= 10952 ;; 10953 10954 cygwin*) 10955 lt_cv_dlopen="dlopen" 10956 lt_cv_dlopen_libs= 10957 ;; 10958 10959 darwin*) 10960 # if libdl is installed we need to link against it 10961 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 10962$as_echo_n "checking for dlopen in -ldl... " >&6; } 10963if test "${ac_cv_lib_dl_dlopen+set}" = set; then 10964 $as_echo_n "(cached) " >&6 10965else 10966 ac_check_lib_save_LIBS=$LIBS 10967LIBS="-ldl $LIBS" 10968cat >conftest.$ac_ext <<_ACEOF 10969/* confdefs.h. */ 10970_ACEOF 10971cat confdefs.h >>conftest.$ac_ext 10972cat >>conftest.$ac_ext <<_ACEOF 10973/* end confdefs.h. */ 10974 10975/* Override any GCC internal prototype to avoid an error. 10976 Use char because int might match the return type of a GCC 10977 builtin and then its argument prototype would still apply. */ 10978#ifdef __cplusplus 10979extern "C" 10980#endif 10981char dlopen (); 10982int 10983main () 10984{ 10985return dlopen (); 10986 ; 10987 return 0; 10988} 10989_ACEOF 10990rm -f conftest.$ac_objext conftest$ac_exeext 10991if { (ac_try="$ac_link" 10992case "(($ac_try" in 10993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10994 *) ac_try_echo=$ac_try;; 10995esac 10996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10997$as_echo "$ac_try_echo") >&5 10998 (eval "$ac_link") 2>conftest.er1 10999 ac_status=$? 11000 grep -v '^ *+' conftest.er1 >conftest.err 11001 rm -f conftest.er1 11002 cat conftest.err >&5 11003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11004 (exit $ac_status); } && { 11005 test -z "$ac_c_werror_flag" || 11006 test ! -s conftest.err 11007 } && test -s conftest$ac_exeext && { 11008 test "$cross_compiling" = yes || 11009 $as_test_x conftest$ac_exeext 11010 }; then 11011 ac_cv_lib_dl_dlopen=yes 11012else 11013 $as_echo "$as_me: failed program was:" >&5 11014sed 's/^/| /' conftest.$ac_ext >&5 11015 11016 ac_cv_lib_dl_dlopen=no 11017fi 11018 11019rm -rf conftest.dSYM 11020rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11021 conftest$ac_exeext conftest.$ac_ext 11022LIBS=$ac_check_lib_save_LIBS 11023fi 11024{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11025$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11026if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11027 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11028else 11029 11030 lt_cv_dlopen="dyld" 11031 lt_cv_dlopen_libs= 11032 lt_cv_dlopen_self=yes 11033 11034fi 11035 11036 ;; 11037 11038 *) 11039 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 11040$as_echo_n "checking for shl_load... " >&6; } 11041if test "${ac_cv_func_shl_load+set}" = set; then 11042 $as_echo_n "(cached) " >&6 11043else 11044 cat >conftest.$ac_ext <<_ACEOF 11045/* confdefs.h. */ 11046_ACEOF 11047cat confdefs.h >>conftest.$ac_ext 11048cat >>conftest.$ac_ext <<_ACEOF 11049/* end confdefs.h. */ 11050/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 11051 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11052#define shl_load innocuous_shl_load 11053 11054/* System header to define __stub macros and hopefully few prototypes, 11055 which can conflict with char shl_load (); below. 11056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11057 <limits.h> exists even on freestanding compilers. */ 11058 11059#ifdef __STDC__ 11060# include <limits.h> 11061#else 11062# include <assert.h> 11063#endif 11064 11065#undef shl_load 11066 11067/* Override any GCC internal prototype to avoid an error. 11068 Use char because int might match the return type of a GCC 11069 builtin and then its argument prototype would still apply. */ 11070#ifdef __cplusplus 11071extern "C" 11072#endif 11073char shl_load (); 11074/* The GNU C library defines this for functions which it implements 11075 to always fail with ENOSYS. Some functions are actually named 11076 something starting with __ and the normal name is an alias. */ 11077#if defined __stub_shl_load || defined __stub___shl_load 11078choke me 11079#endif 11080 11081int 11082main () 11083{ 11084return shl_load (); 11085 ; 11086 return 0; 11087} 11088_ACEOF 11089rm -f conftest.$ac_objext conftest$ac_exeext 11090if { (ac_try="$ac_link" 11091case "(($ac_try" in 11092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11093 *) ac_try_echo=$ac_try;; 11094esac 11095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11096$as_echo "$ac_try_echo") >&5 11097 (eval "$ac_link") 2>conftest.er1 11098 ac_status=$? 11099 grep -v '^ *+' conftest.er1 >conftest.err 11100 rm -f conftest.er1 11101 cat conftest.err >&5 11102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11103 (exit $ac_status); } && { 11104 test -z "$ac_c_werror_flag" || 11105 test ! -s conftest.err 11106 } && test -s conftest$ac_exeext && { 11107 test "$cross_compiling" = yes || 11108 $as_test_x conftest$ac_exeext 11109 }; then 11110 ac_cv_func_shl_load=yes 11111else 11112 $as_echo "$as_me: failed program was:" >&5 11113sed 's/^/| /' conftest.$ac_ext >&5 11114 11115 ac_cv_func_shl_load=no 11116fi 11117 11118rm -rf conftest.dSYM 11119rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11120 conftest$ac_exeext conftest.$ac_ext 11121fi 11122{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 11123$as_echo "$ac_cv_func_shl_load" >&6; } 11124if test "x$ac_cv_func_shl_load" = x""yes; then 11125 lt_cv_dlopen="shl_load" 11126else 11127 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 11128$as_echo_n "checking for shl_load in -ldld... " >&6; } 11129if test "${ac_cv_lib_dld_shl_load+set}" = set; then 11130 $as_echo_n "(cached) " >&6 11131else 11132 ac_check_lib_save_LIBS=$LIBS 11133LIBS="-ldld $LIBS" 11134cat >conftest.$ac_ext <<_ACEOF 11135/* confdefs.h. */ 11136_ACEOF 11137cat confdefs.h >>conftest.$ac_ext 11138cat >>conftest.$ac_ext <<_ACEOF 11139/* end confdefs.h. */ 11140 11141/* Override any GCC internal prototype to avoid an error. 11142 Use char because int might match the return type of a GCC 11143 builtin and then its argument prototype would still apply. */ 11144#ifdef __cplusplus 11145extern "C" 11146#endif 11147char shl_load (); 11148int 11149main () 11150{ 11151return shl_load (); 11152 ; 11153 return 0; 11154} 11155_ACEOF 11156rm -f conftest.$ac_objext conftest$ac_exeext 11157if { (ac_try="$ac_link" 11158case "(($ac_try" in 11159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11160 *) ac_try_echo=$ac_try;; 11161esac 11162eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11163$as_echo "$ac_try_echo") >&5 11164 (eval "$ac_link") 2>conftest.er1 11165 ac_status=$? 11166 grep -v '^ *+' conftest.er1 >conftest.err 11167 rm -f conftest.er1 11168 cat conftest.err >&5 11169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11170 (exit $ac_status); } && { 11171 test -z "$ac_c_werror_flag" || 11172 test ! -s conftest.err 11173 } && test -s conftest$ac_exeext && { 11174 test "$cross_compiling" = yes || 11175 $as_test_x conftest$ac_exeext 11176 }; then 11177 ac_cv_lib_dld_shl_load=yes 11178else 11179 $as_echo "$as_me: failed program was:" >&5 11180sed 's/^/| /' conftest.$ac_ext >&5 11181 11182 ac_cv_lib_dld_shl_load=no 11183fi 11184 11185rm -rf conftest.dSYM 11186rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11187 conftest$ac_exeext conftest.$ac_ext 11188LIBS=$ac_check_lib_save_LIBS 11189fi 11190{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 11191$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11192if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 11193 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11194else 11195 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 11196$as_echo_n "checking for dlopen... " >&6; } 11197if test "${ac_cv_func_dlopen+set}" = set; then 11198 $as_echo_n "(cached) " >&6 11199else 11200 cat >conftest.$ac_ext <<_ACEOF 11201/* confdefs.h. */ 11202_ACEOF 11203cat confdefs.h >>conftest.$ac_ext 11204cat >>conftest.$ac_ext <<_ACEOF 11205/* end confdefs.h. */ 11206/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 11207 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11208#define dlopen innocuous_dlopen 11209 11210/* System header to define __stub macros and hopefully few prototypes, 11211 which can conflict with char dlopen (); below. 11212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11213 <limits.h> exists even on freestanding compilers. */ 11214 11215#ifdef __STDC__ 11216# include <limits.h> 11217#else 11218# include <assert.h> 11219#endif 11220 11221#undef dlopen 11222 11223/* Override any GCC internal prototype to avoid an error. 11224 Use char because int might match the return type of a GCC 11225 builtin and then its argument prototype would still apply. */ 11226#ifdef __cplusplus 11227extern "C" 11228#endif 11229char dlopen (); 11230/* The GNU C library defines this for functions which it implements 11231 to always fail with ENOSYS. Some functions are actually named 11232 something starting with __ and the normal name is an alias. */ 11233#if defined __stub_dlopen || defined __stub___dlopen 11234choke me 11235#endif 11236 11237int 11238main () 11239{ 11240return dlopen (); 11241 ; 11242 return 0; 11243} 11244_ACEOF 11245rm -f conftest.$ac_objext conftest$ac_exeext 11246if { (ac_try="$ac_link" 11247case "(($ac_try" in 11248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11249 *) ac_try_echo=$ac_try;; 11250esac 11251eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11252$as_echo "$ac_try_echo") >&5 11253 (eval "$ac_link") 2>conftest.er1 11254 ac_status=$? 11255 grep -v '^ *+' conftest.er1 >conftest.err 11256 rm -f conftest.er1 11257 cat conftest.err >&5 11258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11259 (exit $ac_status); } && { 11260 test -z "$ac_c_werror_flag" || 11261 test ! -s conftest.err 11262 } && test -s conftest$ac_exeext && { 11263 test "$cross_compiling" = yes || 11264 $as_test_x conftest$ac_exeext 11265 }; then 11266 ac_cv_func_dlopen=yes 11267else 11268 $as_echo "$as_me: failed program was:" >&5 11269sed 's/^/| /' conftest.$ac_ext >&5 11270 11271 ac_cv_func_dlopen=no 11272fi 11273 11274rm -rf conftest.dSYM 11275rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11276 conftest$ac_exeext conftest.$ac_ext 11277fi 11278{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 11279$as_echo "$ac_cv_func_dlopen" >&6; } 11280if test "x$ac_cv_func_dlopen" = x""yes; then 11281 lt_cv_dlopen="dlopen" 11282else 11283 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11284$as_echo_n "checking for dlopen in -ldl... " >&6; } 11285if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11286 $as_echo_n "(cached) " >&6 11287else 11288 ac_check_lib_save_LIBS=$LIBS 11289LIBS="-ldl $LIBS" 11290cat >conftest.$ac_ext <<_ACEOF 11291/* confdefs.h. */ 11292_ACEOF 11293cat confdefs.h >>conftest.$ac_ext 11294cat >>conftest.$ac_ext <<_ACEOF 11295/* end confdefs.h. */ 11296 11297/* Override any GCC internal prototype to avoid an error. 11298 Use char because int might match the return type of a GCC 11299 builtin and then its argument prototype would still apply. */ 11300#ifdef __cplusplus 11301extern "C" 11302#endif 11303char dlopen (); 11304int 11305main () 11306{ 11307return dlopen (); 11308 ; 11309 return 0; 11310} 11311_ACEOF 11312rm -f conftest.$ac_objext conftest$ac_exeext 11313if { (ac_try="$ac_link" 11314case "(($ac_try" in 11315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11316 *) ac_try_echo=$ac_try;; 11317esac 11318eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11319$as_echo "$ac_try_echo") >&5 11320 (eval "$ac_link") 2>conftest.er1 11321 ac_status=$? 11322 grep -v '^ *+' conftest.er1 >conftest.err 11323 rm -f conftest.er1 11324 cat conftest.err >&5 11325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11326 (exit $ac_status); } && { 11327 test -z "$ac_c_werror_flag" || 11328 test ! -s conftest.err 11329 } && test -s conftest$ac_exeext && { 11330 test "$cross_compiling" = yes || 11331 $as_test_x conftest$ac_exeext 11332 }; then 11333 ac_cv_lib_dl_dlopen=yes 11334else 11335 $as_echo "$as_me: failed program was:" >&5 11336sed 's/^/| /' conftest.$ac_ext >&5 11337 11338 ac_cv_lib_dl_dlopen=no 11339fi 11340 11341rm -rf conftest.dSYM 11342rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11343 conftest$ac_exeext conftest.$ac_ext 11344LIBS=$ac_check_lib_save_LIBS 11345fi 11346{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11347$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11348if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11349 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11350else 11351 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 11352$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11353if test "${ac_cv_lib_svld_dlopen+set}" = set; then 11354 $as_echo_n "(cached) " >&6 11355else 11356 ac_check_lib_save_LIBS=$LIBS 11357LIBS="-lsvld $LIBS" 11358cat >conftest.$ac_ext <<_ACEOF 11359/* confdefs.h. */ 11360_ACEOF 11361cat confdefs.h >>conftest.$ac_ext 11362cat >>conftest.$ac_ext <<_ACEOF 11363/* end confdefs.h. */ 11364 11365/* Override any GCC internal prototype to avoid an error. 11366 Use char because int might match the return type of a GCC 11367 builtin and then its argument prototype would still apply. */ 11368#ifdef __cplusplus 11369extern "C" 11370#endif 11371char dlopen (); 11372int 11373main () 11374{ 11375return dlopen (); 11376 ; 11377 return 0; 11378} 11379_ACEOF 11380rm -f conftest.$ac_objext conftest$ac_exeext 11381if { (ac_try="$ac_link" 11382case "(($ac_try" in 11383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11384 *) ac_try_echo=$ac_try;; 11385esac 11386eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11387$as_echo "$ac_try_echo") >&5 11388 (eval "$ac_link") 2>conftest.er1 11389 ac_status=$? 11390 grep -v '^ *+' conftest.er1 >conftest.err 11391 rm -f conftest.er1 11392 cat conftest.err >&5 11393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11394 (exit $ac_status); } && { 11395 test -z "$ac_c_werror_flag" || 11396 test ! -s conftest.err 11397 } && test -s conftest$ac_exeext && { 11398 test "$cross_compiling" = yes || 11399 $as_test_x conftest$ac_exeext 11400 }; then 11401 ac_cv_lib_svld_dlopen=yes 11402else 11403 $as_echo "$as_me: failed program was:" >&5 11404sed 's/^/| /' conftest.$ac_ext >&5 11405 11406 ac_cv_lib_svld_dlopen=no 11407fi 11408 11409rm -rf conftest.dSYM 11410rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11411 conftest$ac_exeext conftest.$ac_ext 11412LIBS=$ac_check_lib_save_LIBS 11413fi 11414{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11415$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11416if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 11417 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11418else 11419 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11420$as_echo_n "checking for dld_link in -ldld... " >&6; } 11421if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11422 $as_echo_n "(cached) " >&6 11423else 11424 ac_check_lib_save_LIBS=$LIBS 11425LIBS="-ldld $LIBS" 11426cat >conftest.$ac_ext <<_ACEOF 11427/* confdefs.h. */ 11428_ACEOF 11429cat confdefs.h >>conftest.$ac_ext 11430cat >>conftest.$ac_ext <<_ACEOF 11431/* end confdefs.h. */ 11432 11433/* Override any GCC internal prototype to avoid an error. 11434 Use char because int might match the return type of a GCC 11435 builtin and then its argument prototype would still apply. */ 11436#ifdef __cplusplus 11437extern "C" 11438#endif 11439char dld_link (); 11440int 11441main () 11442{ 11443return dld_link (); 11444 ; 11445 return 0; 11446} 11447_ACEOF 11448rm -f conftest.$ac_objext conftest$ac_exeext 11449if { (ac_try="$ac_link" 11450case "(($ac_try" in 11451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11452 *) ac_try_echo=$ac_try;; 11453esac 11454eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11455$as_echo "$ac_try_echo") >&5 11456 (eval "$ac_link") 2>conftest.er1 11457 ac_status=$? 11458 grep -v '^ *+' conftest.er1 >conftest.err 11459 rm -f conftest.er1 11460 cat conftest.err >&5 11461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11462 (exit $ac_status); } && { 11463 test -z "$ac_c_werror_flag" || 11464 test ! -s conftest.err 11465 } && test -s conftest$ac_exeext && { 11466 test "$cross_compiling" = yes || 11467 $as_test_x conftest$ac_exeext 11468 }; then 11469 ac_cv_lib_dld_dld_link=yes 11470else 11471 $as_echo "$as_me: failed program was:" >&5 11472sed 's/^/| /' conftest.$ac_ext >&5 11473 11474 ac_cv_lib_dld_dld_link=no 11475fi 11476 11477rm -rf conftest.dSYM 11478rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11479 conftest$ac_exeext conftest.$ac_ext 11480LIBS=$ac_check_lib_save_LIBS 11481fi 11482{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11483$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11484if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 11485 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11486fi 11487 11488 11489fi 11490 11491 11492fi 11493 11494 11495fi 11496 11497 11498fi 11499 11500 11501fi 11502 11503 ;; 11504 esac 11505 11506 if test "x$lt_cv_dlopen" != xno; then 11507 enable_dlopen=yes 11508 else 11509 enable_dlopen=no 11510 fi 11511 11512 case $lt_cv_dlopen in 11513 dlopen) 11514 save_CPPFLAGS="$CPPFLAGS" 11515 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11516 11517 save_LDFLAGS="$LDFLAGS" 11518 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11519 11520 save_LIBS="$LIBS" 11521 LIBS="$lt_cv_dlopen_libs $LIBS" 11522 11523 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11524$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11525if test "${lt_cv_dlopen_self+set}" = set; then 11526 $as_echo_n "(cached) " >&6 11527else 11528 if test "$cross_compiling" = yes; then : 11529 lt_cv_dlopen_self=cross 11530else 11531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11532 lt_status=$lt_dlunknown 11533 cat > conftest.$ac_ext <<_LT_EOF 11534#line 11534 "configure" 11535#include "confdefs.h" 11536 11537#if HAVE_DLFCN_H 11538#include <dlfcn.h> 11539#endif 11540 11541#include <stdio.h> 11542 11543#ifdef RTLD_GLOBAL 11544# define LT_DLGLOBAL RTLD_GLOBAL 11545#else 11546# ifdef DL_GLOBAL 11547# define LT_DLGLOBAL DL_GLOBAL 11548# else 11549# define LT_DLGLOBAL 0 11550# endif 11551#endif 11552 11553/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11554 find out it does not work in some platform. */ 11555#ifndef LT_DLLAZY_OR_NOW 11556# ifdef RTLD_LAZY 11557# define LT_DLLAZY_OR_NOW RTLD_LAZY 11558# else 11559# ifdef DL_LAZY 11560# define LT_DLLAZY_OR_NOW DL_LAZY 11561# else 11562# ifdef RTLD_NOW 11563# define LT_DLLAZY_OR_NOW RTLD_NOW 11564# else 11565# ifdef DL_NOW 11566# define LT_DLLAZY_OR_NOW DL_NOW 11567# else 11568# define LT_DLLAZY_OR_NOW 0 11569# endif 11570# endif 11571# endif 11572# endif 11573#endif 11574 11575void fnord() { int i=42;} 11576int main () 11577{ 11578 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11579 int status = $lt_dlunknown; 11580 11581 if (self) 11582 { 11583 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11584 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11585 /* dlclose (self); */ 11586 } 11587 else 11588 puts (dlerror ()); 11589 11590 return status; 11591} 11592_LT_EOF 11593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11594 (eval $ac_link) 2>&5 11595 ac_status=$? 11596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11597 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11598 (./conftest; exit; ) >&5 2>/dev/null 11599 lt_status=$? 11600 case x$lt_status in 11601 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11602 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11603 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11604 esac 11605 else : 11606 # compilation failed 11607 lt_cv_dlopen_self=no 11608 fi 11609fi 11610rm -fr conftest* 11611 11612 11613fi 11614{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 11615$as_echo "$lt_cv_dlopen_self" >&6; } 11616 11617 if test "x$lt_cv_dlopen_self" = xyes; then 11618 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11619 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 11620$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11621if test "${lt_cv_dlopen_self_static+set}" = set; then 11622 $as_echo_n "(cached) " >&6 11623else 11624 if test "$cross_compiling" = yes; then : 11625 lt_cv_dlopen_self_static=cross 11626else 11627 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11628 lt_status=$lt_dlunknown 11629 cat > conftest.$ac_ext <<_LT_EOF 11630#line 11630 "configure" 11631#include "confdefs.h" 11632 11633#if HAVE_DLFCN_H 11634#include <dlfcn.h> 11635#endif 11636 11637#include <stdio.h> 11638 11639#ifdef RTLD_GLOBAL 11640# define LT_DLGLOBAL RTLD_GLOBAL 11641#else 11642# ifdef DL_GLOBAL 11643# define LT_DLGLOBAL DL_GLOBAL 11644# else 11645# define LT_DLGLOBAL 0 11646# endif 11647#endif 11648 11649/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11650 find out it does not work in some platform. */ 11651#ifndef LT_DLLAZY_OR_NOW 11652# ifdef RTLD_LAZY 11653# define LT_DLLAZY_OR_NOW RTLD_LAZY 11654# else 11655# ifdef DL_LAZY 11656# define LT_DLLAZY_OR_NOW DL_LAZY 11657# else 11658# ifdef RTLD_NOW 11659# define LT_DLLAZY_OR_NOW RTLD_NOW 11660# else 11661# ifdef DL_NOW 11662# define LT_DLLAZY_OR_NOW DL_NOW 11663# else 11664# define LT_DLLAZY_OR_NOW 0 11665# endif 11666# endif 11667# endif 11668# endif 11669#endif 11670 11671void fnord() { int i=42;} 11672int main () 11673{ 11674 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11675 int status = $lt_dlunknown; 11676 11677 if (self) 11678 { 11679 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11680 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11681 /* dlclose (self); */ 11682 } 11683 else 11684 puts (dlerror ()); 11685 11686 return status; 11687} 11688_LT_EOF 11689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11690 (eval $ac_link) 2>&5 11691 ac_status=$? 11692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11693 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 11694 (./conftest; exit; ) >&5 2>/dev/null 11695 lt_status=$? 11696 case x$lt_status in 11697 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11698 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11699 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11700 esac 11701 else : 11702 # compilation failed 11703 lt_cv_dlopen_self_static=no 11704 fi 11705fi 11706rm -fr conftest* 11707 11708 11709fi 11710{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 11711$as_echo "$lt_cv_dlopen_self_static" >&6; } 11712 fi 11713 11714 CPPFLAGS="$save_CPPFLAGS" 11715 LDFLAGS="$save_LDFLAGS" 11716 LIBS="$save_LIBS" 11717 ;; 11718 esac 11719 11720 case $lt_cv_dlopen_self in 11721 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11722 *) enable_dlopen_self=unknown ;; 11723 esac 11724 11725 case $lt_cv_dlopen_self_static in 11726 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11727 *) enable_dlopen_self_static=unknown ;; 11728 esac 11729fi 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747striplib= 11748old_striplib= 11749{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 11750$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11751if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11752 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11753 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11754 { $as_echo "$as_me:$LINENO: result: yes" >&5 11755$as_echo "yes" >&6; } 11756else 11757# FIXME - insert some real tests, host_os isn't really good enough 11758 case $host_os in 11759 darwin*) 11760 if test -n "$STRIP" ; then 11761 striplib="$STRIP -x" 11762 old_striplib="$STRIP -S" 11763 { $as_echo "$as_me:$LINENO: result: yes" >&5 11764$as_echo "yes" >&6; } 11765 else 11766 { $as_echo "$as_me:$LINENO: result: no" >&5 11767$as_echo "no" >&6; } 11768 fi 11769 ;; 11770 *) 11771 { $as_echo "$as_me:$LINENO: result: no" >&5 11772$as_echo "no" >&6; } 11773 ;; 11774 esac 11775fi 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 # Report which library types will actually be built 11789 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 11790$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11791 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 11792$as_echo "$can_build_shared" >&6; } 11793 11794 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 11795$as_echo_n "checking whether to build shared libraries... " >&6; } 11796 test "$can_build_shared" = "no" && enable_shared=no 11797 11798 # On AIX, shared libraries and static libraries use the same namespace, and 11799 # are all built from PIC. 11800 case $host_os in 11801 aix3*) 11802 test "$enable_shared" = yes && enable_static=no 11803 if test -n "$RANLIB"; then 11804 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11805 postinstall_cmds='$RANLIB $lib' 11806 fi 11807 ;; 11808 11809 aix[4-9]*) 11810 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11811 test "$enable_shared" = yes && enable_static=no 11812 fi 11813 ;; 11814 esac 11815 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 11816$as_echo "$enable_shared" >&6; } 11817 11818 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 11819$as_echo_n "checking whether to build static libraries... " >&6; } 11820 # Make sure either enable_shared or enable_static is yes. 11821 test "$enable_shared" = yes || enable_static=yes 11822 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 11823$as_echo "$enable_static" >&6; } 11824 11825 11826 11827 11828fi 11829ac_ext=c 11830ac_cpp='$CPP $CPPFLAGS' 11831ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11832ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11833ac_compiler_gnu=$ac_cv_c_compiler_gnu 11834 11835CC="$lt_save_CC" 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 ac_config_commands="$ac_config_commands libtool" 11850 11851 11852 11853 11854# Only expand once: 11855 11856 11857ac_ext=c 11858ac_cpp='$CPP $CPPFLAGS' 11859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11861ac_compiler_gnu=$ac_cv_c_compiler_gnu 11862if test -n "$ac_tool_prefix"; then 11863 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 11864set dummy ${ac_tool_prefix}gcc; ac_word=$2 11865{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11866$as_echo_n "checking for $ac_word... " >&6; } 11867if test "${ac_cv_prog_CC+set}" = set; then 11868 $as_echo_n "(cached) " >&6 11869else 11870 if test -n "$CC"; then 11871 ac_cv_prog_CC="$CC" # Let the user override the test. 11872else 11873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11874for as_dir in $PATH 11875do 11876 IFS=$as_save_IFS 11877 test -z "$as_dir" && as_dir=. 11878 for ac_exec_ext in '' $ac_executable_extensions; do 11879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11880 ac_cv_prog_CC="${ac_tool_prefix}gcc" 11881 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11882 break 2 11883 fi 11884done 11885done 11886IFS=$as_save_IFS 11887 11888fi 11889fi 11890CC=$ac_cv_prog_CC 11891if test -n "$CC"; then 11892 { $as_echo "$as_me:$LINENO: result: $CC" >&5 11893$as_echo "$CC" >&6; } 11894else 11895 { $as_echo "$as_me:$LINENO: result: no" >&5 11896$as_echo "no" >&6; } 11897fi 11898 11899 11900fi 11901if test -z "$ac_cv_prog_CC"; then 11902 ac_ct_CC=$CC 11903 # Extract the first word of "gcc", so it can be a program name with args. 11904set dummy gcc; ac_word=$2 11905{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11906$as_echo_n "checking for $ac_word... " >&6; } 11907if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 11908 $as_echo_n "(cached) " >&6 11909else 11910 if test -n "$ac_ct_CC"; then 11911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 11912else 11913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11914for as_dir in $PATH 11915do 11916 IFS=$as_save_IFS 11917 test -z "$as_dir" && as_dir=. 11918 for ac_exec_ext in '' $ac_executable_extensions; do 11919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11920 ac_cv_prog_ac_ct_CC="gcc" 11921 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11922 break 2 11923 fi 11924done 11925done 11926IFS=$as_save_IFS 11927 11928fi 11929fi 11930ac_ct_CC=$ac_cv_prog_ac_ct_CC 11931if test -n "$ac_ct_CC"; then 11932 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 11933$as_echo "$ac_ct_CC" >&6; } 11934else 11935 { $as_echo "$as_me:$LINENO: result: no" >&5 11936$as_echo "no" >&6; } 11937fi 11938 11939 if test "x$ac_ct_CC" = x; then 11940 CC="" 11941 else 11942 case $cross_compiling:$ac_tool_warned in 11943yes:) 11944{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 11945$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 11946ac_tool_warned=yes ;; 11947esac 11948 CC=$ac_ct_CC 11949 fi 11950else 11951 CC="$ac_cv_prog_CC" 11952fi 11953 11954if test -z "$CC"; then 11955 if test -n "$ac_tool_prefix"; then 11956 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 11957set dummy ${ac_tool_prefix}cc; ac_word=$2 11958{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11959$as_echo_n "checking for $ac_word... " >&6; } 11960if test "${ac_cv_prog_CC+set}" = set; then 11961 $as_echo_n "(cached) " >&6 11962else 11963 if test -n "$CC"; then 11964 ac_cv_prog_CC="$CC" # Let the user override the test. 11965else 11966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11967for as_dir in $PATH 11968do 11969 IFS=$as_save_IFS 11970 test -z "$as_dir" && as_dir=. 11971 for ac_exec_ext in '' $ac_executable_extensions; do 11972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11973 ac_cv_prog_CC="${ac_tool_prefix}cc" 11974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 11975 break 2 11976 fi 11977done 11978done 11979IFS=$as_save_IFS 11980 11981fi 11982fi 11983CC=$ac_cv_prog_CC 11984if test -n "$CC"; then 11985 { $as_echo "$as_me:$LINENO: result: $CC" >&5 11986$as_echo "$CC" >&6; } 11987else 11988 { $as_echo "$as_me:$LINENO: result: no" >&5 11989$as_echo "no" >&6; } 11990fi 11991 11992 11993 fi 11994fi 11995if test -z "$CC"; then 11996 # Extract the first word of "cc", so it can be a program name with args. 11997set dummy cc; ac_word=$2 11998{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 11999$as_echo_n "checking for $ac_word... " >&6; } 12000if test "${ac_cv_prog_CC+set}" = set; then 12001 $as_echo_n "(cached) " >&6 12002else 12003 if test -n "$CC"; then 12004 ac_cv_prog_CC="$CC" # Let the user override the test. 12005else 12006 ac_prog_rejected=no 12007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12008for as_dir in $PATH 12009do 12010 IFS=$as_save_IFS 12011 test -z "$as_dir" && as_dir=. 12012 for ac_exec_ext in '' $ac_executable_extensions; do 12013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12014 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 12015 ac_prog_rejected=yes 12016 continue 12017 fi 12018 ac_cv_prog_CC="cc" 12019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12020 break 2 12021 fi 12022done 12023done 12024IFS=$as_save_IFS 12025 12026if test $ac_prog_rejected = yes; then 12027 # We found a bogon in the path, so make sure we never use it. 12028 set dummy $ac_cv_prog_CC 12029 shift 12030 if test $# != 0; then 12031 # We chose a different compiler from the bogus one. 12032 # However, it has the same basename, so the bogon will be chosen 12033 # first if we set CC to just the basename; use the full file name. 12034 shift 12035 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 12036 fi 12037fi 12038fi 12039fi 12040CC=$ac_cv_prog_CC 12041if test -n "$CC"; then 12042 { $as_echo "$as_me:$LINENO: result: $CC" >&5 12043$as_echo "$CC" >&6; } 12044else 12045 { $as_echo "$as_me:$LINENO: result: no" >&5 12046$as_echo "no" >&6; } 12047fi 12048 12049 12050fi 12051if test -z "$CC"; then 12052 if test -n "$ac_tool_prefix"; then 12053 for ac_prog in cl.exe 12054 do 12055 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 12056set dummy $ac_tool_prefix$ac_prog; ac_word=$2 12057{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12058$as_echo_n "checking for $ac_word... " >&6; } 12059if test "${ac_cv_prog_CC+set}" = set; then 12060 $as_echo_n "(cached) " >&6 12061else 12062 if test -n "$CC"; then 12063 ac_cv_prog_CC="$CC" # Let the user override the test. 12064else 12065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12066for as_dir in $PATH 12067do 12068 IFS=$as_save_IFS 12069 test -z "$as_dir" && as_dir=. 12070 for ac_exec_ext in '' $ac_executable_extensions; do 12071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12072 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 12073 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12074 break 2 12075 fi 12076done 12077done 12078IFS=$as_save_IFS 12079 12080fi 12081fi 12082CC=$ac_cv_prog_CC 12083if test -n "$CC"; then 12084 { $as_echo "$as_me:$LINENO: result: $CC" >&5 12085$as_echo "$CC" >&6; } 12086else 12087 { $as_echo "$as_me:$LINENO: result: no" >&5 12088$as_echo "no" >&6; } 12089fi 12090 12091 12092 test -n "$CC" && break 12093 done 12094fi 12095if test -z "$CC"; then 12096 ac_ct_CC=$CC 12097 for ac_prog in cl.exe 12098do 12099 # Extract the first word of "$ac_prog", so it can be a program name with args. 12100set dummy $ac_prog; ac_word=$2 12101{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12102$as_echo_n "checking for $ac_word... " >&6; } 12103if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 12104 $as_echo_n "(cached) " >&6 12105else 12106 if test -n "$ac_ct_CC"; then 12107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 12108else 12109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12110for as_dir in $PATH 12111do 12112 IFS=$as_save_IFS 12113 test -z "$as_dir" && as_dir=. 12114 for ac_exec_ext in '' $ac_executable_extensions; do 12115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12116 ac_cv_prog_ac_ct_CC="$ac_prog" 12117 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12118 break 2 12119 fi 12120done 12121done 12122IFS=$as_save_IFS 12123 12124fi 12125fi 12126ac_ct_CC=$ac_cv_prog_ac_ct_CC 12127if test -n "$ac_ct_CC"; then 12128 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 12129$as_echo "$ac_ct_CC" >&6; } 12130else 12131 { $as_echo "$as_me:$LINENO: result: no" >&5 12132$as_echo "no" >&6; } 12133fi 12134 12135 12136 test -n "$ac_ct_CC" && break 12137done 12138 12139 if test "x$ac_ct_CC" = x; then 12140 CC="" 12141 else 12142 case $cross_compiling:$ac_tool_warned in 12143yes:) 12144{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 12145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12146ac_tool_warned=yes ;; 12147esac 12148 CC=$ac_ct_CC 12149 fi 12150fi 12151 12152fi 12153 12154 12155test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 12156$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12157{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 12158See \`config.log' for more details." >&5 12159$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 12160See \`config.log' for more details." >&2;} 12161 { (exit 1); exit 1; }; }; } 12162 12163# Provide some information about the compiler. 12164$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 12165set X $ac_compile 12166ac_compiler=$2 12167{ (ac_try="$ac_compiler --version >&5" 12168case "(($ac_try" in 12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12170 *) ac_try_echo=$ac_try;; 12171esac 12172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12173$as_echo "$ac_try_echo") >&5 12174 (eval "$ac_compiler --version >&5") 2>&5 12175 ac_status=$? 12176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12177 (exit $ac_status); } 12178{ (ac_try="$ac_compiler -v >&5" 12179case "(($ac_try" in 12180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12181 *) ac_try_echo=$ac_try;; 12182esac 12183eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12184$as_echo "$ac_try_echo") >&5 12185 (eval "$ac_compiler -v >&5") 2>&5 12186 ac_status=$? 12187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12188 (exit $ac_status); } 12189{ (ac_try="$ac_compiler -V >&5" 12190case "(($ac_try" in 12191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12192 *) ac_try_echo=$ac_try;; 12193esac 12194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12195$as_echo "$ac_try_echo") >&5 12196 (eval "$ac_compiler -V >&5") 2>&5 12197 ac_status=$? 12198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12199 (exit $ac_status); } 12200 12201{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 12202$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 12203if test "${ac_cv_c_compiler_gnu+set}" = set; then 12204 $as_echo_n "(cached) " >&6 12205else 12206 cat >conftest.$ac_ext <<_ACEOF 12207/* confdefs.h. */ 12208_ACEOF 12209cat confdefs.h >>conftest.$ac_ext 12210cat >>conftest.$ac_ext <<_ACEOF 12211/* end confdefs.h. */ 12212 12213int 12214main () 12215{ 12216#ifndef __GNUC__ 12217 choke me 12218#endif 12219 12220 ; 12221 return 0; 12222} 12223_ACEOF 12224rm -f conftest.$ac_objext 12225if { (ac_try="$ac_compile" 12226case "(($ac_try" in 12227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12228 *) ac_try_echo=$ac_try;; 12229esac 12230eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12231$as_echo "$ac_try_echo") >&5 12232 (eval "$ac_compile") 2>conftest.er1 12233 ac_status=$? 12234 grep -v '^ *+' conftest.er1 >conftest.err 12235 rm -f conftest.er1 12236 cat conftest.err >&5 12237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12238 (exit $ac_status); } && { 12239 test -z "$ac_c_werror_flag" || 12240 test ! -s conftest.err 12241 } && test -s conftest.$ac_objext; then 12242 ac_compiler_gnu=yes 12243else 12244 $as_echo "$as_me: failed program was:" >&5 12245sed 's/^/| /' conftest.$ac_ext >&5 12246 12247 ac_compiler_gnu=no 12248fi 12249 12250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12251ac_cv_c_compiler_gnu=$ac_compiler_gnu 12252 12253fi 12254{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 12255$as_echo "$ac_cv_c_compiler_gnu" >&6; } 12256if test $ac_compiler_gnu = yes; then 12257 GCC=yes 12258else 12259 GCC= 12260fi 12261ac_test_CFLAGS=${CFLAGS+set} 12262ac_save_CFLAGS=$CFLAGS 12263{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 12264$as_echo_n "checking whether $CC accepts -g... " >&6; } 12265if test "${ac_cv_prog_cc_g+set}" = set; then 12266 $as_echo_n "(cached) " >&6 12267else 12268 ac_save_c_werror_flag=$ac_c_werror_flag 12269 ac_c_werror_flag=yes 12270 ac_cv_prog_cc_g=no 12271 CFLAGS="-g" 12272 cat >conftest.$ac_ext <<_ACEOF 12273/* confdefs.h. */ 12274_ACEOF 12275cat confdefs.h >>conftest.$ac_ext 12276cat >>conftest.$ac_ext <<_ACEOF 12277/* end confdefs.h. */ 12278 12279int 12280main () 12281{ 12282 12283 ; 12284 return 0; 12285} 12286_ACEOF 12287rm -f conftest.$ac_objext 12288if { (ac_try="$ac_compile" 12289case "(($ac_try" in 12290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12291 *) ac_try_echo=$ac_try;; 12292esac 12293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12294$as_echo "$ac_try_echo") >&5 12295 (eval "$ac_compile") 2>conftest.er1 12296 ac_status=$? 12297 grep -v '^ *+' conftest.er1 >conftest.err 12298 rm -f conftest.er1 12299 cat conftest.err >&5 12300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12301 (exit $ac_status); } && { 12302 test -z "$ac_c_werror_flag" || 12303 test ! -s conftest.err 12304 } && test -s conftest.$ac_objext; then 12305 ac_cv_prog_cc_g=yes 12306else 12307 $as_echo "$as_me: failed program was:" >&5 12308sed 's/^/| /' conftest.$ac_ext >&5 12309 12310 CFLAGS="" 12311 cat >conftest.$ac_ext <<_ACEOF 12312/* confdefs.h. */ 12313_ACEOF 12314cat confdefs.h >>conftest.$ac_ext 12315cat >>conftest.$ac_ext <<_ACEOF 12316/* end confdefs.h. */ 12317 12318int 12319main () 12320{ 12321 12322 ; 12323 return 0; 12324} 12325_ACEOF 12326rm -f conftest.$ac_objext 12327if { (ac_try="$ac_compile" 12328case "(($ac_try" in 12329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12330 *) ac_try_echo=$ac_try;; 12331esac 12332eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12333$as_echo "$ac_try_echo") >&5 12334 (eval "$ac_compile") 2>conftest.er1 12335 ac_status=$? 12336 grep -v '^ *+' conftest.er1 >conftest.err 12337 rm -f conftest.er1 12338 cat conftest.err >&5 12339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12340 (exit $ac_status); } && { 12341 test -z "$ac_c_werror_flag" || 12342 test ! -s conftest.err 12343 } && test -s conftest.$ac_objext; then 12344 : 12345else 12346 $as_echo "$as_me: failed program was:" >&5 12347sed 's/^/| /' conftest.$ac_ext >&5 12348 12349 ac_c_werror_flag=$ac_save_c_werror_flag 12350 CFLAGS="-g" 12351 cat >conftest.$ac_ext <<_ACEOF 12352/* confdefs.h. */ 12353_ACEOF 12354cat confdefs.h >>conftest.$ac_ext 12355cat >>conftest.$ac_ext <<_ACEOF 12356/* end confdefs.h. */ 12357 12358int 12359main () 12360{ 12361 12362 ; 12363 return 0; 12364} 12365_ACEOF 12366rm -f conftest.$ac_objext 12367if { (ac_try="$ac_compile" 12368case "(($ac_try" in 12369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12370 *) ac_try_echo=$ac_try;; 12371esac 12372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12373$as_echo "$ac_try_echo") >&5 12374 (eval "$ac_compile") 2>conftest.er1 12375 ac_status=$? 12376 grep -v '^ *+' conftest.er1 >conftest.err 12377 rm -f conftest.er1 12378 cat conftest.err >&5 12379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12380 (exit $ac_status); } && { 12381 test -z "$ac_c_werror_flag" || 12382 test ! -s conftest.err 12383 } && test -s conftest.$ac_objext; then 12384 ac_cv_prog_cc_g=yes 12385else 12386 $as_echo "$as_me: failed program was:" >&5 12387sed 's/^/| /' conftest.$ac_ext >&5 12388 12389 12390fi 12391 12392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12393fi 12394 12395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12396fi 12397 12398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12399 ac_c_werror_flag=$ac_save_c_werror_flag 12400fi 12401{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 12402$as_echo "$ac_cv_prog_cc_g" >&6; } 12403if test "$ac_test_CFLAGS" = set; then 12404 CFLAGS=$ac_save_CFLAGS 12405elif test $ac_cv_prog_cc_g = yes; then 12406 if test "$GCC" = yes; then 12407 CFLAGS="-g -O2" 12408 else 12409 CFLAGS="-g" 12410 fi 12411else 12412 if test "$GCC" = yes; then 12413 CFLAGS="-O2" 12414 else 12415 CFLAGS= 12416 fi 12417fi 12418{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 12419$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 12420if test "${ac_cv_prog_cc_c89+set}" = set; then 12421 $as_echo_n "(cached) " >&6 12422else 12423 ac_cv_prog_cc_c89=no 12424ac_save_CC=$CC 12425cat >conftest.$ac_ext <<_ACEOF 12426/* confdefs.h. */ 12427_ACEOF 12428cat confdefs.h >>conftest.$ac_ext 12429cat >>conftest.$ac_ext <<_ACEOF 12430/* end confdefs.h. */ 12431#include <stdarg.h> 12432#include <stdio.h> 12433#include <sys/types.h> 12434#include <sys/stat.h> 12435/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 12436struct buf { int x; }; 12437FILE * (*rcsopen) (struct buf *, struct stat *, int); 12438static char *e (p, i) 12439 char **p; 12440 int i; 12441{ 12442 return p[i]; 12443} 12444static char *f (char * (*g) (char **, int), char **p, ...) 12445{ 12446 char *s; 12447 va_list v; 12448 va_start (v,p); 12449 s = g (p, va_arg (v,int)); 12450 va_end (v); 12451 return s; 12452} 12453 12454/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 12455 function prototypes and stuff, but not '\xHH' hex character constants. 12456 These don't provoke an error unfortunately, instead are silently treated 12457 as 'x'. The following induces an error, until -std is added to get 12458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 12459 array size at least. It's necessary to write '\x00'==0 to get something 12460 that's true only with -std. */ 12461int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 12462 12463/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 12464 inside strings and character constants. */ 12465#define FOO(x) 'x' 12466int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 12467 12468int test (int i, double x); 12469struct s1 {int (*f) (int a);}; 12470struct s2 {int (*f) (double a);}; 12471int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 12472int argc; 12473char **argv; 12474int 12475main () 12476{ 12477return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 12478 ; 12479 return 0; 12480} 12481_ACEOF 12482for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 12483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 12484do 12485 CC="$ac_save_CC $ac_arg" 12486 rm -f conftest.$ac_objext 12487if { (ac_try="$ac_compile" 12488case "(($ac_try" in 12489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12490 *) ac_try_echo=$ac_try;; 12491esac 12492eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12493$as_echo "$ac_try_echo") >&5 12494 (eval "$ac_compile") 2>conftest.er1 12495 ac_status=$? 12496 grep -v '^ *+' conftest.er1 >conftest.err 12497 rm -f conftest.er1 12498 cat conftest.err >&5 12499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12500 (exit $ac_status); } && { 12501 test -z "$ac_c_werror_flag" || 12502 test ! -s conftest.err 12503 } && test -s conftest.$ac_objext; then 12504 ac_cv_prog_cc_c89=$ac_arg 12505else 12506 $as_echo "$as_me: failed program was:" >&5 12507sed 's/^/| /' conftest.$ac_ext >&5 12508 12509 12510fi 12511 12512rm -f core conftest.err conftest.$ac_objext 12513 test "x$ac_cv_prog_cc_c89" != "xno" && break 12514done 12515rm -f conftest.$ac_ext 12516CC=$ac_save_CC 12517 12518fi 12519# AC_CACHE_VAL 12520case "x$ac_cv_prog_cc_c89" in 12521 x) 12522 { $as_echo "$as_me:$LINENO: result: none needed" >&5 12523$as_echo "none needed" >&6; } ;; 12524 xno) 12525 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 12526$as_echo "unsupported" >&6; } ;; 12527 *) 12528 CC="$CC $ac_cv_prog_cc_c89" 12529 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 12530$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 12531esac 12532 12533 12534ac_ext=c 12535ac_cpp='$CPP $CPPFLAGS' 12536ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12537ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12538ac_compiler_gnu=$ac_cv_c_compiler_gnu 12539 12540depcc="$CC" am_compiler_list= 12541 12542{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 12543$as_echo_n "checking dependency style of $depcc... " >&6; } 12544if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 12545 $as_echo_n "(cached) " >&6 12546else 12547 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 12548 # We make a subdir and do the tests there. Otherwise we can end up 12549 # making bogus files that we don't know about and never remove. For 12550 # instance it was reported that on HP-UX the gcc test will end up 12551 # making a dummy file named `D' -- because `-MD' means `put the output 12552 # in D'. 12553 mkdir conftest.dir 12554 # Copy depcomp to subdir because otherwise we won't find it if we're 12555 # using a relative directory. 12556 cp "$am_depcomp" conftest.dir 12557 cd conftest.dir 12558 # We will build objects and dependencies in a subdirectory because 12559 # it helps to detect inapplicable dependency modes. For instance 12560 # both Tru64's cc and ICC support -MD to output dependencies as a 12561 # side effect of compilation, but ICC will put the dependencies in 12562 # the current directory while Tru64 will put them in the object 12563 # directory. 12564 mkdir sub 12565 12566 am_cv_CC_dependencies_compiler_type=none 12567 if test "$am_compiler_list" = ""; then 12568 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 12569 fi 12570 am__universal=false 12571 case " $depcc " in #( 12572 *\ -arch\ *\ -arch\ *) am__universal=true ;; 12573 esac 12574 12575 for depmode in $am_compiler_list; do 12576 # Setup a source with many dependencies, because some compilers 12577 # like to wrap large dependency lists on column 80 (with \), and 12578 # we should not choose a depcomp mode which is confused by this. 12579 # 12580 # We need to recreate these files for each test, as the compiler may 12581 # overwrite some of them when testing with obscure command lines. 12582 # This happens at least with the AIX C compiler. 12583 : > sub/conftest.c 12584 for i in 1 2 3 4 5 6; do 12585 echo '#include "conftst'$i'.h"' >> sub/conftest.c 12586 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 12587 # Solaris 8's {/usr,}/bin/sh. 12588 touch sub/conftst$i.h 12589 done 12590 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 12591 12592 # We check with `-c' and `-o' for the sake of the "dashmstdout" 12593 # mode. It turns out that the SunPro C++ compiler does not properly 12594 # handle `-M -o', and we need to detect this. Also, some Intel 12595 # versions had trouble with output in subdirs 12596 am__obj=sub/conftest.${OBJEXT-o} 12597 am__minus_obj="-o $am__obj" 12598 case $depmode in 12599 gcc) 12600 # This depmode causes a compiler race in universal mode. 12601 test "$am__universal" = false || continue 12602 ;; 12603 nosideeffect) 12604 # after this tag, mechanisms are not by side-effect, so they'll 12605 # only be used when explicitly requested 12606 if test "x$enable_dependency_tracking" = xyes; then 12607 continue 12608 else 12609 break 12610 fi 12611 ;; 12612 msvisualcpp | msvcmsys) 12613 # This compiler won't grok `-c -o', but also, the minuso test has 12614 # not run yet. These depmodes are late enough in the game, and 12615 # so weak that their functioning should not be impacted. 12616 am__obj=conftest.${OBJEXT-o} 12617 am__minus_obj= 12618 ;; 12619 none) break ;; 12620 esac 12621 if depmode=$depmode \ 12622 source=sub/conftest.c object=$am__obj \ 12623 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 12624 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 12625 >/dev/null 2>conftest.err && 12626 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 12627 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 12628 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 12629 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 12630 # icc doesn't choke on unknown options, it will just issue warnings 12631 # or remarks (even with -Werror). So we grep stderr for any message 12632 # that says an option was ignored or not supported. 12633 # When given -MP, icc 7.0 and 7.1 complain thusly: 12634 # icc: Command line warning: ignoring option '-M'; no argument required 12635 # The diagnosis changed in icc 8.0: 12636 # icc: Command line remark: option '-MP' not supported 12637 if (grep 'ignoring option' conftest.err || 12638 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 12639 am_cv_CC_dependencies_compiler_type=$depmode 12640 break 12641 fi 12642 fi 12643 done 12644 12645 cd .. 12646 rm -rf conftest.dir 12647else 12648 am_cv_CC_dependencies_compiler_type=none 12649fi 12650 12651fi 12652{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 12653$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 12654CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 12655 12656 if 12657 test "x$enable_dependency_tracking" != xno \ 12658 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 12659 am__fastdepCC_TRUE= 12660 am__fastdepCC_FALSE='#' 12661else 12662 am__fastdepCC_TRUE='#' 12663 am__fastdepCC_FALSE= 12664fi 12665 12666 12667{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 12668$as_echo_n "checking for a sed that does not truncate output... " >&6; } 12669if test "${ac_cv_path_SED+set}" = set; then 12670 $as_echo_n "(cached) " >&6 12671else 12672 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 12673 for ac_i in 1 2 3 4 5 6 7; do 12674 ac_script="$ac_script$as_nl$ac_script" 12675 done 12676 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 12677 $as_unset ac_script || ac_script= 12678 if test -z "$SED"; then 12679 ac_path_SED_found=false 12680 # Loop through the user's path and test for each of PROGNAME-LIST 12681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12682for as_dir in $PATH 12683do 12684 IFS=$as_save_IFS 12685 test -z "$as_dir" && as_dir=. 12686 for ac_prog in sed gsed; do 12687 for ac_exec_ext in '' $ac_executable_extensions; do 12688 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 12689 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 12690# Check for GNU ac_path_SED and select it if it is found. 12691 # Check for GNU $ac_path_SED 12692case `"$ac_path_SED" --version 2>&1` in 12693*GNU*) 12694 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 12695*) 12696 ac_count=0 12697 $as_echo_n 0123456789 >"conftest.in" 12698 while : 12699 do 12700 cat "conftest.in" "conftest.in" >"conftest.tmp" 12701 mv "conftest.tmp" "conftest.in" 12702 cp "conftest.in" "conftest.nl" 12703 $as_echo '' >> "conftest.nl" 12704 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 12705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 12706 ac_count=`expr $ac_count + 1` 12707 if test $ac_count -gt ${ac_path_SED_max-0}; then 12708 # Best one so far, save it but keep looking for a better one 12709 ac_cv_path_SED="$ac_path_SED" 12710 ac_path_SED_max=$ac_count 12711 fi 12712 # 10*(2^10) chars as input seems more than enough 12713 test $ac_count -gt 10 && break 12714 done 12715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 12716esac 12717 12718 $ac_path_SED_found && break 3 12719 done 12720 done 12721done 12722IFS=$as_save_IFS 12723 if test -z "$ac_cv_path_SED"; then 12724 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 12725$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 12726 { (exit 1); exit 1; }; } 12727 fi 12728else 12729 ac_cv_path_SED=$SED 12730fi 12731 12732fi 12733{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 12734$as_echo "$ac_cv_path_SED" >&6; } 12735 SED="$ac_cv_path_SED" 12736 rm -f conftest.sed 12737 12738 12739 12740 12741 12742 12743# Check whether --with-xorg-module-dir was given. 12744if test "${with_xorg_module_dir+set}" = set; then 12745 withval=$with_xorg_module_dir; moduledir="$withval" 12746else 12747 moduledir="$libdir/xorg/modules" 12748fi 12749 12750inputdir=${moduledir}/input 12751 12752 12753 12754# Check whether --with-xorg-conf-dir was given. 12755if test "${with_xorg_conf_dir+set}" = set; then 12756 withval=$with_xorg_conf_dir; XORG_CONF_DIR="$withval" 12757else 12758 XORG_CONF_DIR="`$PKG_CONFIG --variable=sysconfigdir xorg-server`" 12759fi 12760 12761 12762 if test "x$XORG_CONF_DIR" != "x" && test "x$XORG_CONF_DIR" != "xno"; then 12763 HAS_XORG_CONF_DIR_TRUE= 12764 HAS_XORG_CONF_DIR_FALSE='#' 12765else 12766 HAS_XORG_CONF_DIR_TRUE='#' 12767 HAS_XORG_CONF_DIR_FALSE= 12768fi 12769 12770 12771 12772# Check whether --with-hal-bin-dir was given. 12773if test "${with_hal_bin_dir+set}" = set; then 12774 withval=$with_hal_bin_dir; halbindir="$withval" 12775else 12776 halbindir="$bindir" 12777fi 12778 12779HAL_BIN_DIR=${halbindir} 12780 12781 12782 12783# Check whether --with-hal-callouts-dir was given. 12784if test "${with_hal_callouts_dir+set}" = set; then 12785 withval=$with_hal_callouts_dir; halcalloutsdir="$withval" 12786else 12787 halcalloutsdir="$libdir/hal" 12788fi 12789 12790HAL_CALLOUTS_DIR=${halcalloutsdir} 12791 12792 12793 12794# Check whether --with-hal-fdi-dir was given. 12795if test "${with_hal_fdi_dir+set}" = set; then 12796 withval=$with_hal_fdi_dir; halfdidir="$withval" 12797else 12798 halfdidir="$datadir/hal/fdi/policy/20thirdparty" 12799fi 12800 12801HAL_FDI_DIR=${halfdidir} 12802 12803 12804case $host_os in 12805 linux*) 12806 if test "x$prefix" = "xNONE" -o "x$prefix" = "x/usr" -o "x$prefix" = "x/usr/local" ; then 12807 slashlibdir=/lib 12808 else 12809 slashlibdir=$prefix/lib 12810 fi 12811 UDEV_RULES_DIR=$slashlibdir/udev/rules.d 12812 ;; 12813 *) 12814 UDEV_RULES_DIR=no 12815 ;; 12816esac 12817 12818 12819# Check whether --with-udev-rules-dir was given. 12820if test "${with_udev_rules_dir+set}" = set; then 12821 withval=$with_udev_rules_dir; UDEV_RULES_DIR="$withval" 12822fi 12823 12824 12825 if test "x$UDEV_RULES_DIR" != "xno"; then 12826 HAS_UDEV_RULES_DIR_TRUE= 12827 HAS_UDEV_RULES_DIR_FALSE='#' 12828else 12829 HAS_UDEV_RULES_DIR_TRUE='#' 12830 HAS_UDEV_RULES_DIR_FALSE= 12831fi 12832 12833 12834# Checks for extensions 12835 12836 12837 SAVE_CFLAGS="$CFLAGS" 12838 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" 12839 cat >conftest.$ac_ext <<_ACEOF 12840/* confdefs.h. */ 12841_ACEOF 12842cat confdefs.h >>conftest.$ac_ext 12843cat >>conftest.$ac_ext <<_ACEOF 12844/* end confdefs.h. */ 12845 12846#include "xorg-server.h" 12847#if !defined RANDR 12848#error RANDR not defined 12849#endif 12850 12851int 12852main () 12853{ 12854 12855 ; 12856 return 0; 12857} 12858_ACEOF 12859rm -f conftest.$ac_objext 12860if { (ac_try="$ac_compile" 12861case "(($ac_try" in 12862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12863 *) ac_try_echo=$ac_try;; 12864esac 12865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12866$as_echo "$ac_try_echo") >&5 12867 (eval "$ac_compile") 2>conftest.er1 12868 ac_status=$? 12869 grep -v '^ *+' conftest.er1 >conftest.err 12870 rm -f conftest.er1 12871 cat conftest.err >&5 12872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12873 (exit $ac_status); } && { 12874 test -z "$ac_c_werror_flag" || 12875 test ! -s conftest.err 12876 } && test -s conftest.$ac_objext; then 12877 _EXT_CHECK=yes 12878else 12879 $as_echo "$as_me: failed program was:" >&5 12880sed 's/^/| /' conftest.$ac_ext >&5 12881 12882 _EXT_CHECK=no 12883fi 12884 12885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12886 CFLAGS="$SAVE_CFLAGS" 12887 { $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5 12888$as_echo_n "checking if RANDR is defined... " >&6; } 12889 { $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5 12890$as_echo "$_EXT_CHECK" >&6; } 12891 if test "$_EXT_CHECK" != no; then 12892 REQUIRED_MODULES="$REQUIRED_MODULES randrproto" 12893 fi 12894 12895 12896 12897 SAVE_CFLAGS="$CFLAGS" 12898 CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`" 12899 cat >conftest.$ac_ext <<_ACEOF 12900/* confdefs.h. */ 12901_ACEOF 12902cat confdefs.h >>conftest.$ac_ext 12903cat >>conftest.$ac_ext <<_ACEOF 12904/* end confdefs.h. */ 12905 12906#include "xorg-server.h" 12907#if !defined XINPUT 12908#error XINPUT not defined 12909#endif 12910 12911int 12912main () 12913{ 12914 12915 ; 12916 return 0; 12917} 12918_ACEOF 12919rm -f conftest.$ac_objext 12920if { (ac_try="$ac_compile" 12921case "(($ac_try" in 12922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12923 *) ac_try_echo=$ac_try;; 12924esac 12925eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12926$as_echo "$ac_try_echo") >&5 12927 (eval "$ac_compile") 2>conftest.er1 12928 ac_status=$? 12929 grep -v '^ *+' conftest.er1 >conftest.err 12930 rm -f conftest.er1 12931 cat conftest.err >&5 12932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12933 (exit $ac_status); } && { 12934 test -z "$ac_c_werror_flag" || 12935 test ! -s conftest.err 12936 } && test -s conftest.$ac_objext; then 12937 _EXT_CHECK=yes 12938else 12939 $as_echo "$as_me: failed program was:" >&5 12940sed 's/^/| /' conftest.$ac_ext >&5 12941 12942 _EXT_CHECK=no 12943fi 12944 12945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12946 CFLAGS="$SAVE_CFLAGS" 12947 { $as_echo "$as_me:$LINENO: checking if XINPUT is defined" >&5 12948$as_echo_n "checking if XINPUT is defined... " >&6; } 12949 { $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5 12950$as_echo "$_EXT_CHECK" >&6; } 12951 if test "$_EXT_CHECK" != no; then 12952 REQUIRED_MODULES="$REQUIRED_MODULES inputproto" 12953 fi 12954 12955 12956# Checks for pkg-config packages 12957 12958pkg_failed=no 12959{ $as_echo "$as_me:$LINENO: checking for XORG" >&5 12960$as_echo_n "checking for XORG... " >&6; } 12961 12962if test -n "$XORG_CFLAGS"; then 12963 pkg_cv_XORG_CFLAGS="$XORG_CFLAGS" 12964 elif test -n "$PKG_CONFIG"; then 12965 if test -n "$PKG_CONFIG" && \ 12966 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\"") >&5 12967 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5 12968 ac_status=$? 12969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12970 (exit $ac_status); }; then 12971 pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null` 12972else 12973 pkg_failed=yes 12974fi 12975 else 12976 pkg_failed=untried 12977fi 12978if test -n "$XORG_LIBS"; then 12979 pkg_cv_XORG_LIBS="$XORG_LIBS" 12980 elif test -n "$PKG_CONFIG"; then 12981 if test -n "$PKG_CONFIG" && \ 12982 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.1 xproto \$REQUIRED_MODULES\"") >&5 12983 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES") 2>&5 12984 ac_status=$? 12985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12986 (exit $ac_status); }; then 12987 pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>/dev/null` 12988else 12989 pkg_failed=yes 12990fi 12991 else 12992 pkg_failed=untried 12993fi 12994 12995 12996 12997if test $pkg_failed = yes; then 12998 12999if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13000 _pkg_short_errors_supported=yes 13001else 13002 _pkg_short_errors_supported=no 13003fi 13004 if test $_pkg_short_errors_supported = yes; then 13005 XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1` 13006 else 13007 XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.1 xproto $REQUIRED_MODULES" 2>&1` 13008 fi 13009 # Put the nasty error message in config.log where it belongs 13010 echo "$XORG_PKG_ERRORS" >&5 13011 13012 { { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.1 xproto $REQUIRED_MODULES) were not met: 13013 13014$XORG_PKG_ERRORS 13015 13016Consider adjusting the PKG_CONFIG_PATH environment variable if you 13017installed software in a non-standard prefix. 13018 13019Alternatively, you may set the environment variables XORG_CFLAGS 13020and XORG_LIBS to avoid the need to call pkg-config. 13021See the pkg-config man page for more details. 13022" >&5 13023$as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.1 xproto $REQUIRED_MODULES) were not met: 13024 13025$XORG_PKG_ERRORS 13026 13027Consider adjusting the PKG_CONFIG_PATH environment variable if you 13028installed software in a non-standard prefix. 13029 13030Alternatively, you may set the environment variables XORG_CFLAGS 13031and XORG_LIBS to avoid the need to call pkg-config. 13032See the pkg-config man page for more details. 13033" >&2;} 13034 { (exit 1); exit 1; }; } 13035elif test $pkg_failed = untried; then 13036 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 13037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13038{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 13039is in your PATH or set the PKG_CONFIG environment variable to the full 13040path to pkg-config. 13041 13042Alternatively, you may set the environment variables XORG_CFLAGS 13043and XORG_LIBS to avoid the need to call pkg-config. 13044See the pkg-config man page for more details. 13045 13046To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13047See \`config.log' for more details." >&5 13048$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 13049is in your PATH or set the PKG_CONFIG environment variable to the full 13050path to pkg-config. 13051 13052Alternatively, you may set the environment variables XORG_CFLAGS 13053and XORG_LIBS to avoid the need to call pkg-config. 13054See the pkg-config man page for more details. 13055 13056To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13057See \`config.log' for more details." >&2;} 13058 { (exit 1); exit 1; }; }; } 13059else 13060 XORG_CFLAGS=$pkg_cv_XORG_CFLAGS 13061 XORG_LIBS=$pkg_cv_XORG_LIBS 13062 { $as_echo "$as_me:$LINENO: result: yes" >&5 13063$as_echo "yes" >&6; } 13064 : 13065fi 13066 13067if test -n "$PKG_CONFIG" && \ 13068 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0\"") >&5 13069 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0") 2>&5 13070 ac_status=$? 13071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13072 (exit $ac_status); }; then 13073 13074cat >>confdefs.h <<\_ACEOF 13075#define HAVE_XORG_SERVER_1_1_0 1 13076_ACEOF 13077 13078fi 13079 13080if test -n "$PKG_CONFIG" && \ 13081 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90\"") >&5 13082 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.3.99.0 xorg-server <= 1.4.0.90") 2>&5 13083 ac_status=$? 13084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13085 (exit $ac_status); }; then 13086 13087cat >>confdefs.h <<\_ACEOF 13088#define CALL_CONVERSION_PROC 1 13089_ACEOF 13090 13091fi 13092if test -n "$PKG_CONFIG" && \ 13093 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server > 1.4.0.90\"") >&5 13094 ($PKG_CONFIG --exists --print-errors "xorg-server > 1.4.0.90") 2>&5 13095 ac_status=$? 13096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13097 (exit $ac_status); }; then 13098 13099cat >>confdefs.h <<\_ACEOF 13100#define ABS_VALUATOR_AXES 1 13101_ACEOF 13102 13103fi 13104if test -n "$PKG_CONFIG" && \ 13105 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.6.0\"") >&5 13106 ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.6.0") 2>&5 13107 ac_status=$? 13108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13109 (exit $ac_status); }; then 13110 13111cat >>confdefs.h <<\_ACEOF 13112#define NO_MOUSE_MODULE 1 13113_ACEOF 13114 13115fi 13116 13117CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src' 13118 13119 13120# Checks for libraries. 13121 13122# Checks for header files. 13123{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 13124$as_echo_n "checking for ANSI C header files... " >&6; } 13125if test "${ac_cv_header_stdc+set}" = set; then 13126 $as_echo_n "(cached) " >&6 13127else 13128 cat >conftest.$ac_ext <<_ACEOF 13129/* confdefs.h. */ 13130_ACEOF 13131cat confdefs.h >>conftest.$ac_ext 13132cat >>conftest.$ac_ext <<_ACEOF 13133/* end confdefs.h. */ 13134#include <stdlib.h> 13135#include <stdarg.h> 13136#include <string.h> 13137#include <float.h> 13138 13139int 13140main () 13141{ 13142 13143 ; 13144 return 0; 13145} 13146_ACEOF 13147rm -f conftest.$ac_objext 13148if { (ac_try="$ac_compile" 13149case "(($ac_try" in 13150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13151 *) ac_try_echo=$ac_try;; 13152esac 13153eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13154$as_echo "$ac_try_echo") >&5 13155 (eval "$ac_compile") 2>conftest.er1 13156 ac_status=$? 13157 grep -v '^ *+' conftest.er1 >conftest.err 13158 rm -f conftest.er1 13159 cat conftest.err >&5 13160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13161 (exit $ac_status); } && { 13162 test -z "$ac_c_werror_flag" || 13163 test ! -s conftest.err 13164 } && test -s conftest.$ac_objext; then 13165 ac_cv_header_stdc=yes 13166else 13167 $as_echo "$as_me: failed program was:" >&5 13168sed 's/^/| /' conftest.$ac_ext >&5 13169 13170 ac_cv_header_stdc=no 13171fi 13172 13173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13174 13175if test $ac_cv_header_stdc = yes; then 13176 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13177 cat >conftest.$ac_ext <<_ACEOF 13178/* confdefs.h. */ 13179_ACEOF 13180cat confdefs.h >>conftest.$ac_ext 13181cat >>conftest.$ac_ext <<_ACEOF 13182/* end confdefs.h. */ 13183#include <string.h> 13184 13185_ACEOF 13186if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13187 $EGREP "memchr" >/dev/null 2>&1; then 13188 : 13189else 13190 ac_cv_header_stdc=no 13191fi 13192rm -f conftest* 13193 13194fi 13195 13196if test $ac_cv_header_stdc = yes; then 13197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13198 cat >conftest.$ac_ext <<_ACEOF 13199/* confdefs.h. */ 13200_ACEOF 13201cat confdefs.h >>conftest.$ac_ext 13202cat >>conftest.$ac_ext <<_ACEOF 13203/* end confdefs.h. */ 13204#include <stdlib.h> 13205 13206_ACEOF 13207if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13208 $EGREP "free" >/dev/null 2>&1; then 13209 : 13210else 13211 ac_cv_header_stdc=no 13212fi 13213rm -f conftest* 13214 13215fi 13216 13217if test $ac_cv_header_stdc = yes; then 13218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13219 if test "$cross_compiling" = yes; then 13220 : 13221else 13222 cat >conftest.$ac_ext <<_ACEOF 13223/* confdefs.h. */ 13224_ACEOF 13225cat confdefs.h >>conftest.$ac_ext 13226cat >>conftest.$ac_ext <<_ACEOF 13227/* end confdefs.h. */ 13228#include <ctype.h> 13229#include <stdlib.h> 13230#if ((' ' & 0x0FF) == 0x020) 13231# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13232# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13233#else 13234# define ISLOWER(c) \ 13235 (('a' <= (c) && (c) <= 'i') \ 13236 || ('j' <= (c) && (c) <= 'r') \ 13237 || ('s' <= (c) && (c) <= 'z')) 13238# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13239#endif 13240 13241#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13242int 13243main () 13244{ 13245 int i; 13246 for (i = 0; i < 256; i++) 13247 if (XOR (islower (i), ISLOWER (i)) 13248 || toupper (i) != TOUPPER (i)) 13249 return 2; 13250 return 0; 13251} 13252_ACEOF 13253rm -f conftest$ac_exeext 13254if { (ac_try="$ac_link" 13255case "(($ac_try" in 13256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13257 *) ac_try_echo=$ac_try;; 13258esac 13259eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13260$as_echo "$ac_try_echo") >&5 13261 (eval "$ac_link") 2>&5 13262 ac_status=$? 13263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13265 { (case "(($ac_try" in 13266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13267 *) ac_try_echo=$ac_try;; 13268esac 13269eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13270$as_echo "$ac_try_echo") >&5 13271 (eval "$ac_try") 2>&5 13272 ac_status=$? 13273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13274 (exit $ac_status); }; }; then 13275 : 13276else 13277 $as_echo "$as_me: program exited with status $ac_status" >&5 13278$as_echo "$as_me: failed program was:" >&5 13279sed 's/^/| /' conftest.$ac_ext >&5 13280 13281( exit $ac_status ) 13282ac_cv_header_stdc=no 13283fi 13284rm -rf conftest.dSYM 13285rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13286fi 13287 13288 13289fi 13290fi 13291{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 13292$as_echo "$ac_cv_header_stdc" >&6; } 13293if test $ac_cv_header_stdc = yes; then 13294 13295cat >>confdefs.h <<\_ACEOF 13296#define STDC_HEADERS 1 13297_ACEOF 13298 13299fi 13300 13301 13302ac_config_files="$ac_config_files Makefile shared/Makefile src/Makefile tools/Makefile fdi/Makefile man/Makefile" 13303 13304cat >confcache <<\_ACEOF 13305# This file is a shell script that caches the results of configure 13306# tests run on this system so they can be shared between configure 13307# scripts and configure runs, see configure's option --config-cache. 13308# It is not useful on other systems. If it contains results you don't 13309# want to keep, you may remove or edit it. 13310# 13311# config.status only pays attention to the cache file if you give it 13312# the --recheck option to rerun configure. 13313# 13314# `ac_cv_env_foo' variables (set or unset) will be overridden when 13315# loading this file, other *unset* `ac_cv_foo' will be assigned the 13316# following values. 13317 13318_ACEOF 13319 13320# The following way of writing the cache mishandles newlines in values, 13321# but we know of no workaround that is simple, portable, and efficient. 13322# So, we kill variables containing newlines. 13323# Ultrix sh set writes to stderr and can't be redirected directly, 13324# and sets the high bit in the cache file unless we assign to the vars. 13325( 13326 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13327 eval ac_val=\$$ac_var 13328 case $ac_val in #( 13329 *${as_nl}*) 13330 case $ac_var in #( 13331 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 13332$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13333 esac 13334 case $ac_var in #( 13335 _ | IFS | as_nl) ;; #( 13336 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13337 *) $as_unset $ac_var ;; 13338 esac ;; 13339 esac 13340 done 13341 13342 (set) 2>&1 | 13343 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13344 *${as_nl}ac_space=\ *) 13345 # `set' does not quote correctly, so add quotes (double-quote 13346 # substitution turns \\\\ into \\, and sed turns \\ into \). 13347 sed -n \ 13348 "s/'/'\\\\''/g; 13349 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13350 ;; #( 13351 *) 13352 # `set' quotes correctly as required by POSIX, so do not add quotes. 13353 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13354 ;; 13355 esac | 13356 sort 13357) | 13358 sed ' 13359 /^ac_cv_env_/b end 13360 t clear 13361 :clear 13362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13363 t end 13364 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13365 :end' >>confcache 13366if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13367 if test -w "$cache_file"; then 13368 test "x$cache_file" != "x/dev/null" && 13369 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 13370$as_echo "$as_me: updating cache $cache_file" >&6;} 13371 cat confcache >$cache_file 13372 else 13373 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 13374$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13375 fi 13376fi 13377rm -f confcache 13378 13379test "x$prefix" = xNONE && prefix=$ac_default_prefix 13380# Let make expand exec_prefix. 13381test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13382 13383DEFS=-DHAVE_CONFIG_H 13384 13385ac_libobjs= 13386ac_ltlibobjs= 13387for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13388 # 1. Remove the extension, and $U if already installed. 13389 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13390 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13391 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13392 # will be set to the directory where LIBOBJS objects are built. 13393 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13394 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 13395done 13396LIBOBJS=$ac_libobjs 13397 13398LTLIBOBJS=$ac_ltlibobjs 13399 13400 13401 if test -n "$EXEEXT"; then 13402 am__EXEEXT_TRUE= 13403 am__EXEEXT_FALSE='#' 13404else 13405 am__EXEEXT_TRUE='#' 13406 am__EXEEXT_FALSE= 13407fi 13408 13409if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13410 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 13411Usually this means the macro was only invoked conditionally." >&5 13412$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 13413Usually this means the macro was only invoked conditionally." >&2;} 13414 { (exit 1); exit 1; }; } 13415fi 13416if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13417 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 13418Usually this means the macro was only invoked conditionally." >&5 13419$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 13420Usually this means the macro was only invoked conditionally." >&2;} 13421 { (exit 1); exit 1; }; } 13422fi 13423if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13424 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 13425Usually this means the macro was only invoked conditionally." >&5 13426$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 13427Usually this means the macro was only invoked conditionally." >&2;} 13428 { (exit 1); exit 1; }; } 13429fi 13430if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13431 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 13432Usually this means the macro was only invoked conditionally." >&5 13433$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 13434Usually this means the macro was only invoked conditionally." >&2;} 13435 { (exit 1); exit 1; }; } 13436fi 13437if test -z "${HAS_XORG_CONF_DIR_TRUE}" && test -z "${HAS_XORG_CONF_DIR_FALSE}"; then 13438 { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_XORG_CONF_DIR\" was never defined. 13439Usually this means the macro was only invoked conditionally." >&5 13440$as_echo "$as_me: error: conditional \"HAS_XORG_CONF_DIR\" was never defined. 13441Usually this means the macro was only invoked conditionally." >&2;} 13442 { (exit 1); exit 1; }; } 13443fi 13444if test -z "${HAS_UDEV_RULES_DIR_TRUE}" && test -z "${HAS_UDEV_RULES_DIR_FALSE}"; then 13445 { { $as_echo "$as_me:$LINENO: error: conditional \"HAS_UDEV_RULES_DIR\" was never defined. 13446Usually this means the macro was only invoked conditionally." >&5 13447$as_echo "$as_me: error: conditional \"HAS_UDEV_RULES_DIR\" was never defined. 13448Usually this means the macro was only invoked conditionally." >&2;} 13449 { (exit 1); exit 1; }; } 13450fi 13451 13452: ${CONFIG_STATUS=./config.status} 13453ac_write_fail=0 13454ac_clean_files_save=$ac_clean_files 13455ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13456{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 13457$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13458cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13459#! $SHELL 13460# Generated by $as_me. 13461# Run this file to recreate the current configuration. 13462# Compiler output produced by configure, useful for debugging 13463# configure, is in config.log if it exists. 13464 13465debug=false 13466ac_cs_recheck=false 13467ac_cs_silent=false 13468SHELL=\${CONFIG_SHELL-$SHELL} 13469_ACEOF 13470 13471cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13472## --------------------- ## 13473## M4sh Initialization. ## 13474## --------------------- ## 13475 13476# Be more Bourne compatible 13477DUALCASE=1; export DUALCASE # for MKS sh 13478if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 13479 emulate sh 13480 NULLCMD=: 13481 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13482 # is contrary to our usage. Disable this feature. 13483 alias -g '${1+"$@"}'='"$@"' 13484 setopt NO_GLOB_SUBST 13485else 13486 case `(set -o) 2>/dev/null` in 13487 *posix*) set -o posix ;; 13488esac 13489 13490fi 13491 13492 13493 13494 13495# PATH needs CR 13496# Avoid depending upon Character Ranges. 13497as_cr_letters='abcdefghijklmnopqrstuvwxyz' 13498as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13499as_cr_Letters=$as_cr_letters$as_cr_LETTERS 13500as_cr_digits='0123456789' 13501as_cr_alnum=$as_cr_Letters$as_cr_digits 13502 13503as_nl=' 13504' 13505export as_nl 13506# Printing a long string crashes Solaris 7 /usr/bin/printf. 13507as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13508as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13509as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13510if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13511 as_echo='printf %s\n' 13512 as_echo_n='printf %s' 13513else 13514 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13515 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13516 as_echo_n='/usr/ucb/echo -n' 13517 else 13518 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13519 as_echo_n_body='eval 13520 arg=$1; 13521 case $arg in 13522 *"$as_nl"*) 13523 expr "X$arg" : "X\\(.*\\)$as_nl"; 13524 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13525 esac; 13526 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13527 ' 13528 export as_echo_n_body 13529 as_echo_n='sh -c $as_echo_n_body as_echo' 13530 fi 13531 export as_echo_body 13532 as_echo='sh -c $as_echo_body as_echo' 13533fi 13534 13535# The user is always right. 13536if test "${PATH_SEPARATOR+set}" != set; then 13537 PATH_SEPARATOR=: 13538 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13539 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13540 PATH_SEPARATOR=';' 13541 } 13542fi 13543 13544# Support unset when possible. 13545if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 13546 as_unset=unset 13547else 13548 as_unset=false 13549fi 13550 13551 13552# IFS 13553# We need space, tab and new line, in precisely that order. Quoting is 13554# there to prevent editors from complaining about space-tab. 13555# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13556# splitting by setting IFS to empty value.) 13557IFS=" "" $as_nl" 13558 13559# Find who we are. Look in the path if we contain no directory separator. 13560case $0 in 13561 *[\\/]* ) as_myself=$0 ;; 13562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13563for as_dir in $PATH 13564do 13565 IFS=$as_save_IFS 13566 test -z "$as_dir" && as_dir=. 13567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13568done 13569IFS=$as_save_IFS 13570 13571 ;; 13572esac 13573# We did not find ourselves, most probably we were run as `sh COMMAND' 13574# in which case we are not to be found in the path. 13575if test "x$as_myself" = x; then 13576 as_myself=$0 13577fi 13578if test ! -f "$as_myself"; then 13579 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13580 { (exit 1); exit 1; } 13581fi 13582 13583# Work around bugs in pre-3.0 UWIN ksh. 13584for as_var in ENV MAIL MAILPATH 13585do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 13586done 13587PS1='$ ' 13588PS2='> ' 13589PS4='+ ' 13590 13591# NLS nuisances. 13592LC_ALL=C 13593export LC_ALL 13594LANGUAGE=C 13595export LANGUAGE 13596 13597# Required to use basename. 13598if expr a : '\(a\)' >/dev/null 2>&1 && 13599 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13600 as_expr=expr 13601else 13602 as_expr=false 13603fi 13604 13605if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 13606 as_basename=basename 13607else 13608 as_basename=false 13609fi 13610 13611 13612# Name of the executable. 13613as_me=`$as_basename -- "$0" || 13614$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 13615 X"$0" : 'X\(//\)$' \| \ 13616 X"$0" : 'X\(/\)' \| . 2>/dev/null || 13617$as_echo X/"$0" | 13618 sed '/^.*\/\([^/][^/]*\)\/*$/{ 13619 s//\1/ 13620 q 13621 } 13622 /^X\/\(\/\/\)$/{ 13623 s//\1/ 13624 q 13625 } 13626 /^X\/\(\/\).*/{ 13627 s//\1/ 13628 q 13629 } 13630 s/.*/./; q'` 13631 13632# CDPATH. 13633$as_unset CDPATH 13634 13635 13636 13637 as_lineno_1=$LINENO 13638 as_lineno_2=$LINENO 13639 test "x$as_lineno_1" != "x$as_lineno_2" && 13640 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 13641 13642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 13643 # uniformly replaced by the line number. The first 'sed' inserts a 13644 # line-number line after each line using $LINENO; the second 'sed' 13645 # does the real work. The second script uses 'N' to pair each 13646 # line-number line with the line containing $LINENO, and appends 13647 # trailing '-' during substitution so that $LINENO is not a special 13648 # case at line end. 13649 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 13650 # scripts with optimization help from Paolo Bonzini. Blame Lee 13651 # E. McMahon (1931-1989) for sed's syntax. :-) 13652 sed -n ' 13653 p 13654 /[$]LINENO/= 13655 ' <$as_myself | 13656 sed ' 13657 s/[$]LINENO.*/&-/ 13658 t lineno 13659 b 13660 :lineno 13661 N 13662 :loop 13663 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 13664 t loop 13665 s/-\n.*// 13666 ' >$as_me.lineno && 13667 chmod +x "$as_me.lineno" || 13668 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 13669 { (exit 1); exit 1; }; } 13670 13671 # Don't try to exec as it changes $[0], causing all sort of problems 13672 # (the dirname of $[0] is not the place where we might find the 13673 # original and so on. Autoconf is especially sensitive to this). 13674 . "./$as_me.lineno" 13675 # Exit status is that of the last command. 13676 exit 13677} 13678 13679 13680if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 13681 as_dirname=dirname 13682else 13683 as_dirname=false 13684fi 13685 13686ECHO_C= ECHO_N= ECHO_T= 13687case `echo -n x` in 13688-n*) 13689 case `echo 'x\c'` in 13690 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 13691 *) ECHO_C='\c';; 13692 esac;; 13693*) 13694 ECHO_N='-n';; 13695esac 13696if expr a : '\(a\)' >/dev/null 2>&1 && 13697 test "X`expr 00001 : '.*\(...\)'`" = X001; then 13698 as_expr=expr 13699else 13700 as_expr=false 13701fi 13702 13703rm -f conf$$ conf$$.exe conf$$.file 13704if test -d conf$$.dir; then 13705 rm -f conf$$.dir/conf$$.file 13706else 13707 rm -f conf$$.dir 13708 mkdir conf$$.dir 2>/dev/null 13709fi 13710if (echo >conf$$.file) 2>/dev/null; then 13711 if ln -s conf$$.file conf$$ 2>/dev/null; then 13712 as_ln_s='ln -s' 13713 # ... but there are two gotchas: 13714 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 13715 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 13716 # In both cases, we have to default to `cp -p'. 13717 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 13718 as_ln_s='cp -p' 13719 elif ln conf$$.file conf$$ 2>/dev/null; then 13720 as_ln_s=ln 13721 else 13722 as_ln_s='cp -p' 13723 fi 13724else 13725 as_ln_s='cp -p' 13726fi 13727rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 13728rmdir conf$$.dir 2>/dev/null 13729 13730if mkdir -p . 2>/dev/null; then 13731 as_mkdir_p=: 13732else 13733 test -d ./-p && rmdir ./-p 13734 as_mkdir_p=false 13735fi 13736 13737if test -x / >/dev/null 2>&1; then 13738 as_test_x='test -x' 13739else 13740 if ls -dL / >/dev/null 2>&1; then 13741 as_ls_L_option=L 13742 else 13743 as_ls_L_option= 13744 fi 13745 as_test_x=' 13746 eval sh -c '\'' 13747 if test -d "$1"; then 13748 test -d "$1/."; 13749 else 13750 case $1 in 13751 -*)set "./$1";; 13752 esac; 13753 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 13754 ???[sx]*):;;*)false;;esac;fi 13755 '\'' sh 13756 ' 13757fi 13758as_executable_p=$as_test_x 13759 13760# Sed expression to map a string onto a valid CPP name. 13761as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 13762 13763# Sed expression to map a string onto a valid variable name. 13764as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 13765 13766 13767exec 6>&1 13768 13769# Save the log message, to keep $[0] and so on meaningful, and to 13770# report actual input values of CONFIG_FILES etc. instead of their 13771# values after options handling. 13772ac_log=" 13773This file was extended by xf86-input-vmmouse $as_me 12.6.9, which was 13774generated by GNU Autoconf 2.63. Invocation command line was 13775 13776 CONFIG_FILES = $CONFIG_FILES 13777 CONFIG_HEADERS = $CONFIG_HEADERS 13778 CONFIG_LINKS = $CONFIG_LINKS 13779 CONFIG_COMMANDS = $CONFIG_COMMANDS 13780 $ $0 $@ 13781 13782on `(hostname || uname -n) 2>/dev/null | sed 1q` 13783" 13784 13785_ACEOF 13786 13787case $ac_config_files in *" 13788"*) set x $ac_config_files; shift; ac_config_files=$*;; 13789esac 13790 13791case $ac_config_headers in *" 13792"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 13793esac 13794 13795 13796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13797# Files that config.status was made for. 13798config_files="$ac_config_files" 13799config_headers="$ac_config_headers" 13800config_commands="$ac_config_commands" 13801 13802_ACEOF 13803 13804cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13805ac_cs_usage="\ 13806\`$as_me' instantiates files from templates according to the 13807current configuration. 13808 13809Usage: $0 [OPTION]... [FILE]... 13810 13811 -h, --help print this help, then exit 13812 -V, --version print version number and configuration settings, then exit 13813 -q, --quiet, --silent 13814 do not print progress messages 13815 -d, --debug don't remove temporary files 13816 --recheck update $as_me by reconfiguring in the same conditions 13817 --file=FILE[:TEMPLATE] 13818 instantiate the configuration file FILE 13819 --header=FILE[:TEMPLATE] 13820 instantiate the configuration header FILE 13821 13822Configuration files: 13823$config_files 13824 13825Configuration headers: 13826$config_headers 13827 13828Configuration commands: 13829$config_commands 13830 13831Report bugs to <bug-autoconf@gnu.org>." 13832 13833_ACEOF 13834cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13835ac_cs_version="\\ 13836xf86-input-vmmouse config.status 12.6.9 13837configured by $0, generated by GNU Autoconf 2.63, 13838 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 13839 13840Copyright (C) 2008 Free Software Foundation, Inc. 13841This config.status script is free software; the Free Software Foundation 13842gives unlimited permission to copy, distribute and modify it." 13843 13844ac_pwd='$ac_pwd' 13845srcdir='$srcdir' 13846INSTALL='$INSTALL' 13847MKDIR_P='$MKDIR_P' 13848AWK='$AWK' 13849test -n "\$AWK" || AWK=awk 13850_ACEOF 13851 13852cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13853# The default lists apply if the user does not specify any file. 13854ac_need_defaults=: 13855while test $# != 0 13856do 13857 case $1 in 13858 --*=*) 13859 ac_option=`expr "X$1" : 'X\([^=]*\)='` 13860 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 13861 ac_shift=: 13862 ;; 13863 *) 13864 ac_option=$1 13865 ac_optarg=$2 13866 ac_shift=shift 13867 ;; 13868 esac 13869 13870 case $ac_option in 13871 # Handling of the options. 13872 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 13873 ac_cs_recheck=: ;; 13874 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 13875 $as_echo "$ac_cs_version"; exit ;; 13876 --debug | --debu | --deb | --de | --d | -d ) 13877 debug=: ;; 13878 --file | --fil | --fi | --f ) 13879 $ac_shift 13880 case $ac_optarg in 13881 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13882 esac 13883 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 13884 ac_need_defaults=false;; 13885 --header | --heade | --head | --hea ) 13886 $ac_shift 13887 case $ac_optarg in 13888 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 13889 esac 13890 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 13891 ac_need_defaults=false;; 13892 --he | --h) 13893 # Conflict between --help and --header 13894 { $as_echo "$as_me: error: ambiguous option: $1 13895Try \`$0 --help' for more information." >&2 13896 { (exit 1); exit 1; }; };; 13897 --help | --hel | -h ) 13898 $as_echo "$ac_cs_usage"; exit ;; 13899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 13900 | -silent | --silent | --silen | --sile | --sil | --si | --s) 13901 ac_cs_silent=: ;; 13902 13903 # This is an error. 13904 -*) { $as_echo "$as_me: error: unrecognized option: $1 13905Try \`$0 --help' for more information." >&2 13906 { (exit 1); exit 1; }; } ;; 13907 13908 *) ac_config_targets="$ac_config_targets $1" 13909 ac_need_defaults=false ;; 13910 13911 esac 13912 shift 13913done 13914 13915ac_configure_extra_args= 13916 13917if $ac_cs_silent; then 13918 exec 6>/dev/null 13919 ac_configure_extra_args="$ac_configure_extra_args --silent" 13920fi 13921 13922_ACEOF 13923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13924if \$ac_cs_recheck; then 13925 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 13926 shift 13927 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 13928 CONFIG_SHELL='$SHELL' 13929 export CONFIG_SHELL 13930 exec "\$@" 13931fi 13932 13933_ACEOF 13934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13935exec 5>>config.log 13936{ 13937 echo 13938 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 13939## Running $as_me. ## 13940_ASBOX 13941 $as_echo "$ac_log" 13942} >&5 13943 13944_ACEOF 13945cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13946# 13947# INIT-COMMANDS 13948# 13949AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 13950 13951 13952# The HP-UX ksh and POSIX shell print the target directory to stdout 13953# if CDPATH is set. 13954(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13955 13956sed_quote_subst='$sed_quote_subst' 13957double_quote_subst='$double_quote_subst' 13958delay_variable_subst='$delay_variable_subst' 13959enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 13960macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 13961macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 13962enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 13963pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 13964enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 13965host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 13966host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 13967host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 13968build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 13969build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 13970build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 13971SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 13972Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 13973GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 13974EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 13975FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 13976LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 13977NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 13978LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 13979max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 13980ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 13981exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 13982lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 13983lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 13984lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 13985reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 13986reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13987OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 13988deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 13989file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 13990AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 13991AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13992STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 13993RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 13994old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13995old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13996old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 13997CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 13998CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 13999compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 14000GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 14001lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 14002lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 14003lt_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"`' 14004lt_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"`' 14005objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 14006SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 14007ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 14008MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 14009lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 14010lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 14011lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 14012lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 14013lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 14014need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 14015DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 14016NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 14017LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 14018OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 14019OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 14020libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 14021shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14022extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14023archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 14024enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 14025export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14026whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14027compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 14028old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14029old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14030archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14031archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14032module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14033module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14034with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 14035allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14036no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 14037hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 14038hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 14039hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 14040hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 14041hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 14042hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 14043hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14044hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 14045inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 14046link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 14047fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 14048always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 14049export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14050exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14051include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 14052prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14053file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 14054variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 14055need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 14056need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 14057version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 14058runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14059shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 14060shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 14061libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14062library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 14063soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 14064postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14065postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14066finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 14067finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 14068hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 14069sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14070sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 14071hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 14072enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 14073enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 14074enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 14075old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 14076striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 14077 14078LTCC='$LTCC' 14079LTCFLAGS='$LTCFLAGS' 14080compiler='$compiler_DEFAULT' 14081 14082# Quote evaled strings. 14083for var in SED \ 14084GREP \ 14085EGREP \ 14086FGREP \ 14087LD \ 14088NM \ 14089LN_S \ 14090lt_SP2NL \ 14091lt_NL2SP \ 14092reload_flag \ 14093OBJDUMP \ 14094deplibs_check_method \ 14095file_magic_cmd \ 14096AR \ 14097AR_FLAGS \ 14098STRIP \ 14099RANLIB \ 14100CC \ 14101CFLAGS \ 14102compiler \ 14103lt_cv_sys_global_symbol_pipe \ 14104lt_cv_sys_global_symbol_to_cdecl \ 14105lt_cv_sys_global_symbol_to_c_name_address \ 14106lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14107SHELL \ 14108ECHO \ 14109lt_prog_compiler_no_builtin_flag \ 14110lt_prog_compiler_wl \ 14111lt_prog_compiler_pic \ 14112lt_prog_compiler_static \ 14113lt_cv_prog_compiler_c_o \ 14114need_locks \ 14115DSYMUTIL \ 14116NMEDIT \ 14117LIPO \ 14118OTOOL \ 14119OTOOL64 \ 14120shrext_cmds \ 14121export_dynamic_flag_spec \ 14122whole_archive_flag_spec \ 14123compiler_needs_object \ 14124with_gnu_ld \ 14125allow_undefined_flag \ 14126no_undefined_flag \ 14127hardcode_libdir_flag_spec \ 14128hardcode_libdir_flag_spec_ld \ 14129hardcode_libdir_separator \ 14130fix_srcfile_path \ 14131exclude_expsyms \ 14132include_expsyms \ 14133file_list_spec \ 14134variables_saved_for_relink \ 14135libname_spec \ 14136library_names_spec \ 14137soname_spec \ 14138finish_eval \ 14139old_striplib \ 14140striplib; do 14141 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14142 *[\\\\\\\`\\"\\\$]*) 14143 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14144 ;; 14145 *) 14146 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14147 ;; 14148 esac 14149done 14150 14151# Double-quote double-evaled strings. 14152for var in reload_cmds \ 14153old_postinstall_cmds \ 14154old_postuninstall_cmds \ 14155old_archive_cmds \ 14156extract_expsyms_cmds \ 14157old_archive_from_new_cmds \ 14158old_archive_from_expsyms_cmds \ 14159archive_cmds \ 14160archive_expsym_cmds \ 14161module_cmds \ 14162module_expsym_cmds \ 14163export_symbols_cmds \ 14164prelink_cmds \ 14165postinstall_cmds \ 14166postuninstall_cmds \ 14167finish_cmds \ 14168sys_lib_search_path_spec \ 14169sys_lib_dlsearch_path_spec; do 14170 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 14171 *[\\\\\\\`\\"\\\$]*) 14172 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14173 ;; 14174 *) 14175 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14176 ;; 14177 esac 14178done 14179 14180# Fix-up fallback echo if it was mangled by the above quoting rules. 14181case \$lt_ECHO in 14182*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 14183 ;; 14184esac 14185 14186ac_aux_dir='$ac_aux_dir' 14187xsi_shell='$xsi_shell' 14188lt_shell_append='$lt_shell_append' 14189 14190# See if we are running on zsh, and set the options which allow our 14191# commands through without removal of \ escapes INIT. 14192if test -n "\${ZSH_VERSION+set}" ; then 14193 setopt NO_GLOB_SUBST 14194fi 14195 14196 14197 PACKAGE='$PACKAGE' 14198 VERSION='$VERSION' 14199 TIMESTAMP='$TIMESTAMP' 14200 RM='$RM' 14201 ofile='$ofile' 14202 14203 14204 14205 14206_ACEOF 14207 14208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14209 14210# Handling of arguments. 14211for ac_config_target in $ac_config_targets 14212do 14213 case $ac_config_target in 14214 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14215 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14216 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14217 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14218 "shared/Makefile") CONFIG_FILES="$CONFIG_FILES shared/Makefile" ;; 14219 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 14220 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; 14221 "fdi/Makefile") CONFIG_FILES="$CONFIG_FILES fdi/Makefile" ;; 14222 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 14223 14224 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 14225$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 14226 { (exit 1); exit 1; }; };; 14227 esac 14228done 14229 14230 14231# If the user did not use the arguments to specify the items to instantiate, 14232# then the envvar interface is used. Set only those that are not. 14233# We use the long form for the default assignment because of an extremely 14234# bizarre bug on SunOS 4.1.3. 14235if $ac_need_defaults; then 14236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14238 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14239fi 14240 14241# Have a temporary directory for convenience. Make it in the build tree 14242# simply because there is no reason against having it here, and in addition, 14243# creating and moving files from /tmp can sometimes cause problems. 14244# Hook for its removal unless debugging. 14245# Note that there is a small window in which the directory will not be cleaned: 14246# after its creation but before its name has been assigned to `$tmp'. 14247$debug || 14248{ 14249 tmp= 14250 trap 'exit_status=$? 14251 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 14252' 0 14253 trap '{ (exit 1); exit 1; }' 1 2 13 15 14254} 14255# Create a (secure) tmp directory for tmp files. 14256 14257{ 14258 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14259 test -n "$tmp" && test -d "$tmp" 14260} || 14261{ 14262 tmp=./conf$$-$RANDOM 14263 (umask 077 && mkdir "$tmp") 14264} || 14265{ 14266 $as_echo "$as_me: cannot create a temporary directory in ." >&2 14267 { (exit 1); exit 1; } 14268} 14269 14270# Set up the scripts for CONFIG_FILES section. 14271# No need to generate them if there are no CONFIG_FILES. 14272# This happens for instance with `./config.status config.h'. 14273if test -n "$CONFIG_FILES"; then 14274 14275 14276ac_cr=' 14277' 14278ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14279if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14280 ac_cs_awk_cr='\\r' 14281else 14282 ac_cs_awk_cr=$ac_cr 14283fi 14284 14285echo 'BEGIN {' >"$tmp/subs1.awk" && 14286_ACEOF 14287 14288 14289{ 14290 echo "cat >conf$$subs.awk <<_ACEOF" && 14291 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14292 echo "_ACEOF" 14293} >conf$$subs.sh || 14294 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14295$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14296 { (exit 1); exit 1; }; } 14297ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 14298ac_delim='%!_!# ' 14299for ac_last_try in false false false false false :; do 14300 . ./conf$$subs.sh || 14301 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14302$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14303 { (exit 1); exit 1; }; } 14304 14305 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14306 if test $ac_delim_n = $ac_delim_num; then 14307 break 14308 elif $ac_last_try; then 14309 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14310$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14311 { (exit 1); exit 1; }; } 14312 else 14313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14314 fi 14315done 14316rm -f conf$$subs.sh 14317 14318cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14319cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 14320_ACEOF 14321sed -n ' 14322h 14323s/^/S["/; s/!.*/"]=/ 14324p 14325g 14326s/^[^!]*!// 14327:repl 14328t repl 14329s/'"$ac_delim"'$// 14330t delim 14331:nl 14332h 14333s/\(.\{148\}\).*/\1/ 14334t more1 14335s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14336p 14337n 14338b repl 14339:more1 14340s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14341p 14342g 14343s/.\{148\}// 14344t nl 14345:delim 14346h 14347s/\(.\{148\}\).*/\1/ 14348t more2 14349s/["\\]/\\&/g; s/^/"/; s/$/"/ 14350p 14351b 14352:more2 14353s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14354p 14355g 14356s/.\{148\}// 14357t delim 14358' <conf$$subs.awk | sed ' 14359/^[^""]/{ 14360 N 14361 s/\n// 14362} 14363' >>$CONFIG_STATUS || ac_write_fail=1 14364rm -f conf$$subs.awk 14365cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14366_ACAWK 14367cat >>"\$tmp/subs1.awk" <<_ACAWK && 14368 for (key in S) S_is_set[key] = 1 14369 FS = "" 14370 14371} 14372{ 14373 line = $ 0 14374 nfields = split(line, field, "@") 14375 substed = 0 14376 len = length(field[1]) 14377 for (i = 2; i < nfields; i++) { 14378 key = field[i] 14379 keylen = length(key) 14380 if (S_is_set[key]) { 14381 value = S[key] 14382 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14383 len += length(value) + length(field[++i]) 14384 substed = 1 14385 } else 14386 len += 1 + keylen 14387 } 14388 14389 print line 14390} 14391 14392_ACAWK 14393_ACEOF 14394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14395if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14396 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14397else 14398 cat 14399fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 14400 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 14401$as_echo "$as_me: error: could not setup config files machinery" >&2;} 14402 { (exit 1); exit 1; }; } 14403_ACEOF 14404 14405# VPATH may cause trouble with some makes, so we remove $(srcdir), 14406# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 14407# trailing colons and then remove the whole line if VPATH becomes empty 14408# (actually we leave an empty line to preserve line numbers). 14409if test "x$srcdir" = x.; then 14410 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 14411s/:*\$(srcdir):*/:/ 14412s/:*\${srcdir}:*/:/ 14413s/:*@srcdir@:*/:/ 14414s/^\([^=]*=[ ]*\):*/\1/ 14415s/:*$// 14416s/^[^=]*=[ ]*$// 14417}' 14418fi 14419 14420cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14421fi # test -n "$CONFIG_FILES" 14422 14423# Set up the scripts for CONFIG_HEADERS section. 14424# No need to generate them if there are no CONFIG_HEADERS. 14425# This happens for instance with `./config.status Makefile'. 14426if test -n "$CONFIG_HEADERS"; then 14427cat >"$tmp/defines.awk" <<\_ACAWK || 14428BEGIN { 14429_ACEOF 14430 14431# Transform confdefs.h into an awk script `defines.awk', embedded as 14432# here-document in config.status, that substitutes the proper values into 14433# config.h.in to produce config.h. 14434 14435# Create a delimiter string that does not exist in confdefs.h, to ease 14436# handling of long lines. 14437ac_delim='%!_!# ' 14438for ac_last_try in false false :; do 14439 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 14440 if test -z "$ac_t"; then 14441 break 14442 elif $ac_last_try; then 14443 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 14444$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 14445 { (exit 1); exit 1; }; } 14446 else 14447 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14448 fi 14449done 14450 14451# For the awk script, D is an array of macro values keyed by name, 14452# likewise P contains macro parameters if any. Preserve backslash 14453# newline sequences. 14454 14455ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14456sed -n ' 14457s/.\{148\}/&'"$ac_delim"'/g 14458t rset 14459:rset 14460s/^[ ]*#[ ]*define[ ][ ]*/ / 14461t def 14462d 14463:def 14464s/\\$// 14465t bsnl 14466s/["\\]/\\&/g 14467s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14468D["\1"]=" \3"/p 14469s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14470d 14471:bsnl 14472s/["\\]/\\&/g 14473s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14474D["\1"]=" \3\\\\\\n"\\/p 14475t cont 14476s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14477t cont 14478d 14479:cont 14480n 14481s/.\{148\}/&'"$ac_delim"'/g 14482t clear 14483:clear 14484s/\\$// 14485t bsnlc 14486s/["\\]/\\&/g; s/^/"/; s/$/"/p 14487d 14488:bsnlc 14489s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14490b cont 14491' <confdefs.h | sed ' 14492s/'"$ac_delim"'/"\\\ 14493"/g' >>$CONFIG_STATUS || ac_write_fail=1 14494 14495cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14496 for (key in D) D_is_set[key] = 1 14497 FS = "" 14498} 14499/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14500 line = \$ 0 14501 split(line, arg, " ") 14502 if (arg[1] == "#") { 14503 defundef = arg[2] 14504 mac1 = arg[3] 14505 } else { 14506 defundef = substr(arg[1], 2) 14507 mac1 = arg[2] 14508 } 14509 split(mac1, mac2, "(") #) 14510 macro = mac2[1] 14511 prefix = substr(line, 1, index(line, defundef) - 1) 14512 if (D_is_set[macro]) { 14513 # Preserve the white space surrounding the "#". 14514 print prefix "define", macro P[macro] D[macro] 14515 next 14516 } else { 14517 # Replace #undef with comments. This is necessary, for example, 14518 # in the case of _POSIX_SOURCE, which is predefined and required 14519 # on some systems where configure will not decide to define it. 14520 if (defundef == "undef") { 14521 print "/*", prefix defundef, macro, "*/" 14522 next 14523 } 14524 } 14525} 14526{ print } 14527_ACAWK 14528_ACEOF 14529cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14530 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 14531$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 14532 { (exit 1); exit 1; }; } 14533fi # test -n "$CONFIG_HEADERS" 14534 14535 14536eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 14537shift 14538for ac_tag 14539do 14540 case $ac_tag in 14541 :[FHLC]) ac_mode=$ac_tag; continue;; 14542 esac 14543 case $ac_mode$ac_tag in 14544 :[FHL]*:*);; 14545 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 14546$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 14547 { (exit 1); exit 1; }; };; 14548 :[FH]-) ac_tag=-:-;; 14549 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 14550 esac 14551 ac_save_IFS=$IFS 14552 IFS=: 14553 set x $ac_tag 14554 IFS=$ac_save_IFS 14555 shift 14556 ac_file=$1 14557 shift 14558 14559 case $ac_mode in 14560 :L) ac_source=$1;; 14561 :[FH]) 14562 ac_file_inputs= 14563 for ac_f 14564 do 14565 case $ac_f in 14566 -) ac_f="$tmp/stdin";; 14567 *) # Look for the file first in the build tree, then in the source tree 14568 # (if the path is not absolute). The absolute path cannot be DOS-style, 14569 # because $ac_f cannot contain `:'. 14570 test -f "$ac_f" || 14571 case $ac_f in 14572 [\\/$]*) false;; 14573 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 14574 esac || 14575 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 14576$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 14577 { (exit 1); exit 1; }; };; 14578 esac 14579 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 14580 ac_file_inputs="$ac_file_inputs '$ac_f'" 14581 done 14582 14583 # Let's still pretend it is `configure' which instantiates (i.e., don't 14584 # use $as_me), people would be surprised to read: 14585 # /* config.h. Generated by config.status. */ 14586 configure_input='Generated from '` 14587 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 14588 `' by configure.' 14589 if test x"$ac_file" != x-; then 14590 configure_input="$ac_file. $configure_input" 14591 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 14592$as_echo "$as_me: creating $ac_file" >&6;} 14593 fi 14594 # Neutralize special characters interpreted by sed in replacement strings. 14595 case $configure_input in #( 14596 *\&* | *\|* | *\\* ) 14597 ac_sed_conf_input=`$as_echo "$configure_input" | 14598 sed 's/[\\\\&|]/\\\\&/g'`;; #( 14599 *) ac_sed_conf_input=$configure_input;; 14600 esac 14601 14602 case $ac_tag in 14603 *:-:* | *:-) cat >"$tmp/stdin" \ 14604 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14605$as_echo "$as_me: error: could not create $ac_file" >&2;} 14606 { (exit 1); exit 1; }; } ;; 14607 esac 14608 ;; 14609 esac 14610 14611 ac_dir=`$as_dirname -- "$ac_file" || 14612$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14613 X"$ac_file" : 'X\(//\)[^/]' \| \ 14614 X"$ac_file" : 'X\(//\)$' \| \ 14615 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 14616$as_echo X"$ac_file" | 14617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14618 s//\1/ 14619 q 14620 } 14621 /^X\(\/\/\)[^/].*/{ 14622 s//\1/ 14623 q 14624 } 14625 /^X\(\/\/\)$/{ 14626 s//\1/ 14627 q 14628 } 14629 /^X\(\/\).*/{ 14630 s//\1/ 14631 q 14632 } 14633 s/.*/./; q'` 14634 { as_dir="$ac_dir" 14635 case $as_dir in #( 14636 -*) as_dir=./$as_dir;; 14637 esac 14638 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14639 as_dirs= 14640 while :; do 14641 case $as_dir in #( 14642 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14643 *) as_qdir=$as_dir;; 14644 esac 14645 as_dirs="'$as_qdir' $as_dirs" 14646 as_dir=`$as_dirname -- "$as_dir" || 14647$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14648 X"$as_dir" : 'X\(//\)[^/]' \| \ 14649 X"$as_dir" : 'X\(//\)$' \| \ 14650 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14651$as_echo X"$as_dir" | 14652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14653 s//\1/ 14654 q 14655 } 14656 /^X\(\/\/\)[^/].*/{ 14657 s//\1/ 14658 q 14659 } 14660 /^X\(\/\/\)$/{ 14661 s//\1/ 14662 q 14663 } 14664 /^X\(\/\).*/{ 14665 s//\1/ 14666 q 14667 } 14668 s/.*/./; q'` 14669 test -d "$as_dir" && break 14670 done 14671 test -z "$as_dirs" || eval "mkdir $as_dirs" 14672 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 14673$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 14674 { (exit 1); exit 1; }; }; } 14675 ac_builddir=. 14676 14677case "$ac_dir" in 14678.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 14679*) 14680 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 14681 # A ".." for each directory in $ac_dir_suffix. 14682 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 14683 case $ac_top_builddir_sub in 14684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 14685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 14686 esac ;; 14687esac 14688ac_abs_top_builddir=$ac_pwd 14689ac_abs_builddir=$ac_pwd$ac_dir_suffix 14690# for backward compatibility: 14691ac_top_builddir=$ac_top_build_prefix 14692 14693case $srcdir in 14694 .) # We are building in place. 14695 ac_srcdir=. 14696 ac_top_srcdir=$ac_top_builddir_sub 14697 ac_abs_top_srcdir=$ac_pwd ;; 14698 [\\/]* | ?:[\\/]* ) # Absolute name. 14699 ac_srcdir=$srcdir$ac_dir_suffix; 14700 ac_top_srcdir=$srcdir 14701 ac_abs_top_srcdir=$srcdir ;; 14702 *) # Relative name. 14703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 14704 ac_top_srcdir=$ac_top_build_prefix$srcdir 14705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 14706esac 14707ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 14708 14709 14710 case $ac_mode in 14711 :F) 14712 # 14713 # CONFIG_FILE 14714 # 14715 14716 case $INSTALL in 14717 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 14718 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 14719 esac 14720 ac_MKDIR_P=$MKDIR_P 14721 case $MKDIR_P in 14722 [\\/$]* | ?:[\\/]* ) ;; 14723 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 14724 esac 14725_ACEOF 14726 14727cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14728# If the template does not know about datarootdir, expand it. 14729# FIXME: This hack should be removed a few years after 2.60. 14730ac_datarootdir_hack=; ac_datarootdir_seen= 14731 14732ac_sed_dataroot=' 14733/datarootdir/ { 14734 p 14735 q 14736} 14737/@datadir@/p 14738/@docdir@/p 14739/@infodir@/p 14740/@localedir@/p 14741/@mandir@/p 14742' 14743case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 14744*datarootdir*) ac_datarootdir_seen=yes;; 14745*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 14746 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 14747$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 14748_ACEOF 14749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14750 ac_datarootdir_hack=' 14751 s&@datadir@&$datadir&g 14752 s&@docdir@&$docdir&g 14753 s&@infodir@&$infodir&g 14754 s&@localedir@&$localedir&g 14755 s&@mandir@&$mandir&g 14756 s&\\\${datarootdir}&$datarootdir&g' ;; 14757esac 14758_ACEOF 14759 14760# Neutralize VPATH when `$srcdir' = `.'. 14761# Shell code in configure.ac might set extrasub. 14762# FIXME: do we really want to maintain this feature? 14763cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14764ac_sed_extra="$ac_vpsub 14765$extrasub 14766_ACEOF 14767cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14768:t 14769/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 14770s|@configure_input@|$ac_sed_conf_input|;t t 14771s&@top_builddir@&$ac_top_builddir_sub&;t t 14772s&@top_build_prefix@&$ac_top_build_prefix&;t t 14773s&@srcdir@&$ac_srcdir&;t t 14774s&@abs_srcdir@&$ac_abs_srcdir&;t t 14775s&@top_srcdir@&$ac_top_srcdir&;t t 14776s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 14777s&@builddir@&$ac_builddir&;t t 14778s&@abs_builddir@&$ac_abs_builddir&;t t 14779s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 14780s&@INSTALL@&$ac_INSTALL&;t t 14781s&@MKDIR_P@&$ac_MKDIR_P&;t t 14782$ac_datarootdir_hack 14783" 14784eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 14785 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14786$as_echo "$as_me: error: could not create $ac_file" >&2;} 14787 { (exit 1); exit 1; }; } 14788 14789test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 14790 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 14791 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 14792 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14793which seems to be undefined. Please make sure it is defined." >&5 14794$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 14795which seems to be undefined. Please make sure it is defined." >&2;} 14796 14797 rm -f "$tmp/stdin" 14798 case $ac_file in 14799 -) cat "$tmp/out" && rm -f "$tmp/out";; 14800 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 14801 esac \ 14802 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14803$as_echo "$as_me: error: could not create $ac_file" >&2;} 14804 { (exit 1); exit 1; }; } 14805 ;; 14806 :H) 14807 # 14808 # CONFIG_HEADER 14809 # 14810 if test x"$ac_file" != x-; then 14811 { 14812 $as_echo "/* $configure_input */" \ 14813 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 14814 } >"$tmp/config.h" \ 14815 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14816$as_echo "$as_me: error: could not create $ac_file" >&2;} 14817 { (exit 1); exit 1; }; } 14818 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 14819 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 14820$as_echo "$as_me: $ac_file is unchanged" >&6;} 14821 else 14822 rm -f "$ac_file" 14823 mv "$tmp/config.h" "$ac_file" \ 14824 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 14825$as_echo "$as_me: error: could not create $ac_file" >&2;} 14826 { (exit 1); exit 1; }; } 14827 fi 14828 else 14829 $as_echo "/* $configure_input */" \ 14830 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 14831 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 14832$as_echo "$as_me: error: could not create -" >&2;} 14833 { (exit 1); exit 1; }; } 14834 fi 14835# Compute "$ac_file"'s index in $config_headers. 14836_am_arg="$ac_file" 14837_am_stamp_count=1 14838for _am_header in $config_headers :; do 14839 case $_am_header in 14840 $_am_arg | $_am_arg:* ) 14841 break ;; 14842 * ) 14843 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 14844 esac 14845done 14846echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 14847$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14848 X"$_am_arg" : 'X\(//\)[^/]' \| \ 14849 X"$_am_arg" : 'X\(//\)$' \| \ 14850 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 14851$as_echo X"$_am_arg" | 14852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14853 s//\1/ 14854 q 14855 } 14856 /^X\(\/\/\)[^/].*/{ 14857 s//\1/ 14858 q 14859 } 14860 /^X\(\/\/\)$/{ 14861 s//\1/ 14862 q 14863 } 14864 /^X\(\/\).*/{ 14865 s//\1/ 14866 q 14867 } 14868 s/.*/./; q'`/stamp-h$_am_stamp_count 14869 ;; 14870 14871 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 14872$as_echo "$as_me: executing $ac_file commands" >&6;} 14873 ;; 14874 esac 14875 14876 14877 case $ac_file$ac_mode in 14878 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 14879 # Autoconf 2.62 quotes --file arguments for eval, but not when files 14880 # are listed without --file. Let's play safe and only enable the eval 14881 # if we detect the quoting. 14882 case $CONFIG_FILES in 14883 *\'*) eval set x "$CONFIG_FILES" ;; 14884 *) set x $CONFIG_FILES ;; 14885 esac 14886 shift 14887 for mf 14888 do 14889 # Strip MF so we end up with the name of the file. 14890 mf=`echo "$mf" | sed -e 's/:.*$//'` 14891 # Check whether this is an Automake generated Makefile or not. 14892 # We used to match only the files named `Makefile.in', but 14893 # some people rename them; so instead we look at the file content. 14894 # Grep'ing the first line is not enough: some people post-process 14895 # each Makefile.in and add a new line on top of each file to say so. 14896 # Grep'ing the whole file is not good either: AIX grep has a line 14897 # limit of 2048, but all sed's we know have understand at least 4000. 14898 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 14899 dirpart=`$as_dirname -- "$mf" || 14900$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14901 X"$mf" : 'X\(//\)[^/]' \| \ 14902 X"$mf" : 'X\(//\)$' \| \ 14903 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 14904$as_echo X"$mf" | 14905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14906 s//\1/ 14907 q 14908 } 14909 /^X\(\/\/\)[^/].*/{ 14910 s//\1/ 14911 q 14912 } 14913 /^X\(\/\/\)$/{ 14914 s//\1/ 14915 q 14916 } 14917 /^X\(\/\).*/{ 14918 s//\1/ 14919 q 14920 } 14921 s/.*/./; q'` 14922 else 14923 continue 14924 fi 14925 # Extract the definition of DEPDIR, am__include, and am__quote 14926 # from the Makefile without running `make'. 14927 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 14928 test -z "$DEPDIR" && continue 14929 am__include=`sed -n 's/^am__include = //p' < "$mf"` 14930 test -z "am__include" && continue 14931 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 14932 # When using ansi2knr, U may be empty or an underscore; expand it 14933 U=`sed -n 's/^U = //p' < "$mf"` 14934 # Find all dependency output files, they are included files with 14935 # $(DEPDIR) in their names. We invoke sed twice because it is the 14936 # simplest approach to changing $(DEPDIR) to its actual value in the 14937 # expansion. 14938 for file in `sed -n " 14939 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 14940 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 14941 # Make sure the directory exists. 14942 test -f "$dirpart/$file" && continue 14943 fdir=`$as_dirname -- "$file" || 14944$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14945 X"$file" : 'X\(//\)[^/]' \| \ 14946 X"$file" : 'X\(//\)$' \| \ 14947 X"$file" : 'X\(/\)' \| . 2>/dev/null || 14948$as_echo X"$file" | 14949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14950 s//\1/ 14951 q 14952 } 14953 /^X\(\/\/\)[^/].*/{ 14954 s//\1/ 14955 q 14956 } 14957 /^X\(\/\/\)$/{ 14958 s//\1/ 14959 q 14960 } 14961 /^X\(\/\).*/{ 14962 s//\1/ 14963 q 14964 } 14965 s/.*/./; q'` 14966 { as_dir=$dirpart/$fdir 14967 case $as_dir in #( 14968 -*) as_dir=./$as_dir;; 14969 esac 14970 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 14971 as_dirs= 14972 while :; do 14973 case $as_dir in #( 14974 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14975 *) as_qdir=$as_dir;; 14976 esac 14977 as_dirs="'$as_qdir' $as_dirs" 14978 as_dir=`$as_dirname -- "$as_dir" || 14979$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14980 X"$as_dir" : 'X\(//\)[^/]' \| \ 14981 X"$as_dir" : 'X\(//\)$' \| \ 14982 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14983$as_echo X"$as_dir" | 14984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14985 s//\1/ 14986 q 14987 } 14988 /^X\(\/\/\)[^/].*/{ 14989 s//\1/ 14990 q 14991 } 14992 /^X\(\/\/\)$/{ 14993 s//\1/ 14994 q 14995 } 14996 /^X\(\/\).*/{ 14997 s//\1/ 14998 q 14999 } 15000 s/.*/./; q'` 15001 test -d "$as_dir" && break 15002 done 15003 test -z "$as_dirs" || eval "mkdir $as_dirs" 15004 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 15005$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 15006 { (exit 1); exit 1; }; }; } 15007 # echo "creating $dirpart/$file" 15008 echo '# dummy' > "$dirpart/$file" 15009 done 15010 done 15011} 15012 ;; 15013 "libtool":C) 15014 15015 # See if we are running on zsh, and set the options which allow our 15016 # commands through without removal of \ escapes. 15017 if test -n "${ZSH_VERSION+set}" ; then 15018 setopt NO_GLOB_SUBST 15019 fi 15020 15021 cfgfile="${ofile}T" 15022 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15023 $RM "$cfgfile" 15024 15025 cat <<_LT_EOF >> "$cfgfile" 15026#! $SHELL 15027 15028# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15029# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15030# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15031# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15032# 15033# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15034# 2006, 2007, 2008 Free Software Foundation, Inc. 15035# Written by Gordon Matzigkeit, 1996 15036# 15037# This file is part of GNU Libtool. 15038# 15039# GNU Libtool is free software; you can redistribute it and/or 15040# modify it under the terms of the GNU General Public License as 15041# published by the Free Software Foundation; either version 2 of 15042# the License, or (at your option) any later version. 15043# 15044# As a special exception to the GNU General Public License, 15045# if you distribute this file as part of a program or library that 15046# is built using GNU Libtool, you may include this file under the 15047# same distribution terms that you use for the rest of that program. 15048# 15049# GNU Libtool is distributed in the hope that it will be useful, 15050# but WITHOUT ANY WARRANTY; without even the implied warranty of 15051# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15052# GNU General Public License for more details. 15053# 15054# You should have received a copy of the GNU General Public License 15055# along with GNU Libtool; see the file COPYING. If not, a copy 15056# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15057# obtained by writing to the Free Software Foundation, Inc., 15058# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15059 15060 15061# The names of the tagged configurations supported by this script. 15062available_tags="" 15063 15064# ### BEGIN LIBTOOL CONFIG 15065 15066# Whether or not to build static libraries. 15067build_old_libs=$enable_static 15068 15069# Which release of libtool.m4 was used? 15070macro_version=$macro_version 15071macro_revision=$macro_revision 15072 15073# Whether or not to build shared libraries. 15074build_libtool_libs=$enable_shared 15075 15076# What type of objects to build. 15077pic_mode=$pic_mode 15078 15079# Whether or not to optimize for fast installation. 15080fast_install=$enable_fast_install 15081 15082# The host system. 15083host_alias=$host_alias 15084host=$host 15085host_os=$host_os 15086 15087# The build system. 15088build_alias=$build_alias 15089build=$build 15090build_os=$build_os 15091 15092# A sed program that does not truncate output. 15093SED=$lt_SED 15094 15095# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15096Xsed="\$SED -e 1s/^X//" 15097 15098# A grep program that handles long lines. 15099GREP=$lt_GREP 15100 15101# An ERE matcher. 15102EGREP=$lt_EGREP 15103 15104# A literal string matcher. 15105FGREP=$lt_FGREP 15106 15107# A BSD- or MS-compatible name lister. 15108NM=$lt_NM 15109 15110# Whether we need soft or hard links. 15111LN_S=$lt_LN_S 15112 15113# What is the maximum length of a command? 15114max_cmd_len=$max_cmd_len 15115 15116# Object file suffix (normally "o"). 15117objext=$ac_objext 15118 15119# Executable file suffix (normally ""). 15120exeext=$exeext 15121 15122# whether the shell understands "unset". 15123lt_unset=$lt_unset 15124 15125# turn spaces into newlines. 15126SP2NL=$lt_lt_SP2NL 15127 15128# turn newlines into spaces. 15129NL2SP=$lt_lt_NL2SP 15130 15131# How to create reloadable object files. 15132reload_flag=$lt_reload_flag 15133reload_cmds=$lt_reload_cmds 15134 15135# An object symbol dumper. 15136OBJDUMP=$lt_OBJDUMP 15137 15138# Method to check whether dependent libraries are shared objects. 15139deplibs_check_method=$lt_deplibs_check_method 15140 15141# Command to use when deplibs_check_method == "file_magic". 15142file_magic_cmd=$lt_file_magic_cmd 15143 15144# The archiver. 15145AR=$lt_AR 15146AR_FLAGS=$lt_AR_FLAGS 15147 15148# A symbol stripping program. 15149STRIP=$lt_STRIP 15150 15151# Commands used to install an old-style archive. 15152RANLIB=$lt_RANLIB 15153old_postinstall_cmds=$lt_old_postinstall_cmds 15154old_postuninstall_cmds=$lt_old_postuninstall_cmds 15155 15156# A C compiler. 15157LTCC=$lt_CC 15158 15159# LTCC compiler flags. 15160LTCFLAGS=$lt_CFLAGS 15161 15162# Take the output of nm and produce a listing of raw symbols and C names. 15163global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15164 15165# Transform the output of nm in a proper C declaration. 15166global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15167 15168# Transform the output of nm in a C name address pair. 15169global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15170 15171# Transform the output of nm in a C name address pair when lib prefix is needed. 15172global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15173 15174# The name of the directory that contains temporary libtool files. 15175objdir=$objdir 15176 15177# Shell to use when invoking shell scripts. 15178SHELL=$lt_SHELL 15179 15180# An echo program that does not interpret backslashes. 15181ECHO=$lt_ECHO 15182 15183# Used to examine libraries when file_magic_cmd begins with "file". 15184MAGIC_CMD=$MAGIC_CMD 15185 15186# Must we lock files when doing compilation? 15187need_locks=$lt_need_locks 15188 15189# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15190DSYMUTIL=$lt_DSYMUTIL 15191 15192# Tool to change global to local symbols on Mac OS X. 15193NMEDIT=$lt_NMEDIT 15194 15195# Tool to manipulate fat objects and archives on Mac OS X. 15196LIPO=$lt_LIPO 15197 15198# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15199OTOOL=$lt_OTOOL 15200 15201# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15202OTOOL64=$lt_OTOOL64 15203 15204# Old archive suffix (normally "a"). 15205libext=$libext 15206 15207# Shared library suffix (normally ".so"). 15208shrext_cmds=$lt_shrext_cmds 15209 15210# The commands to extract the exported symbol list from a shared archive. 15211extract_expsyms_cmds=$lt_extract_expsyms_cmds 15212 15213# Variables whose values should be saved in libtool wrapper scripts and 15214# restored at link time. 15215variables_saved_for_relink=$lt_variables_saved_for_relink 15216 15217# Do we need the "lib" prefix for modules? 15218need_lib_prefix=$need_lib_prefix 15219 15220# Do we need a version for libraries? 15221need_version=$need_version 15222 15223# Library versioning type. 15224version_type=$version_type 15225 15226# Shared library runtime path variable. 15227runpath_var=$runpath_var 15228 15229# Shared library path variable. 15230shlibpath_var=$shlibpath_var 15231 15232# Is shlibpath searched before the hard-coded library search path? 15233shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15234 15235# Format of library name prefix. 15236libname_spec=$lt_libname_spec 15237 15238# List of archive names. First name is the real one, the rest are links. 15239# The last name is the one that the linker finds with -lNAME 15240library_names_spec=$lt_library_names_spec 15241 15242# The coded name of the library, if different from the real name. 15243soname_spec=$lt_soname_spec 15244 15245# Command to use after installation of a shared archive. 15246postinstall_cmds=$lt_postinstall_cmds 15247 15248# Command to use after uninstallation of a shared archive. 15249postuninstall_cmds=$lt_postuninstall_cmds 15250 15251# Commands used to finish a libtool library installation in a directory. 15252finish_cmds=$lt_finish_cmds 15253 15254# As "finish_cmds", except a single script fragment to be evaled but 15255# not shown. 15256finish_eval=$lt_finish_eval 15257 15258# Whether we should hardcode library paths into libraries. 15259hardcode_into_libs=$hardcode_into_libs 15260 15261# Compile-time system search path for libraries. 15262sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15263 15264# Run-time system search path for libraries. 15265sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15266 15267# Whether dlopen is supported. 15268dlopen_support=$enable_dlopen 15269 15270# Whether dlopen of programs is supported. 15271dlopen_self=$enable_dlopen_self 15272 15273# Whether dlopen of statically linked programs is supported. 15274dlopen_self_static=$enable_dlopen_self_static 15275 15276# Commands to strip libraries. 15277old_striplib=$lt_old_striplib 15278striplib=$lt_striplib 15279 15280 15281# The linker used to build libraries. 15282LD=$lt_LD 15283 15284# Commands used to build an old-style archive. 15285old_archive_cmds=$lt_old_archive_cmds 15286 15287# A language specific compiler. 15288CC=$lt_compiler 15289 15290# Is the compiler the GNU compiler? 15291with_gcc=$GCC 15292 15293# Compiler flag to turn off builtin functions. 15294no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15295 15296# How to pass a linker flag through the compiler. 15297wl=$lt_lt_prog_compiler_wl 15298 15299# Additional compiler flags for building library objects. 15300pic_flag=$lt_lt_prog_compiler_pic 15301 15302# Compiler flag to prevent dynamic linking. 15303link_static_flag=$lt_lt_prog_compiler_static 15304 15305# Does compiler simultaneously support -c and -o options? 15306compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15307 15308# Whether or not to add -lc for building shared libraries. 15309build_libtool_need_lc=$archive_cmds_need_lc 15310 15311# Whether or not to disallow shared libs when runtime libs are static. 15312allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15313 15314# Compiler flag to allow reflexive dlopens. 15315export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15316 15317# Compiler flag to generate shared objects directly from archives. 15318whole_archive_flag_spec=$lt_whole_archive_flag_spec 15319 15320# Whether the compiler copes with passing no objects directly. 15321compiler_needs_object=$lt_compiler_needs_object 15322 15323# Create an old-style archive from a shared archive. 15324old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15325 15326# Create a temporary old-style archive to link instead of a shared archive. 15327old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15328 15329# Commands used to build a shared archive. 15330archive_cmds=$lt_archive_cmds 15331archive_expsym_cmds=$lt_archive_expsym_cmds 15332 15333# Commands used to build a loadable module if different from building 15334# a shared archive. 15335module_cmds=$lt_module_cmds 15336module_expsym_cmds=$lt_module_expsym_cmds 15337 15338# Whether we are building with GNU ld or not. 15339with_gnu_ld=$lt_with_gnu_ld 15340 15341# Flag that allows shared libraries with undefined symbols to be built. 15342allow_undefined_flag=$lt_allow_undefined_flag 15343 15344# Flag that enforces no undefined symbols. 15345no_undefined_flag=$lt_no_undefined_flag 15346 15347# Flag to hardcode \$libdir into a binary during linking. 15348# This must work even if \$libdir does not exist 15349hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15350 15351# If ld is used when linking, flag to hardcode \$libdir into a binary 15352# during linking. This must work even if \$libdir does not exist. 15353hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 15354 15355# Whether we need a single "-rpath" flag with a separated argument. 15356hardcode_libdir_separator=$lt_hardcode_libdir_separator 15357 15358# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15359# DIR into the resulting binary. 15360hardcode_direct=$hardcode_direct 15361 15362# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15363# DIR into the resulting binary and the resulting library dependency is 15364# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15365# library is relocated. 15366hardcode_direct_absolute=$hardcode_direct_absolute 15367 15368# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15369# into the resulting binary. 15370hardcode_minus_L=$hardcode_minus_L 15371 15372# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15373# into the resulting binary. 15374hardcode_shlibpath_var=$hardcode_shlibpath_var 15375 15376# Set to "yes" if building a shared library automatically hardcodes DIR 15377# into the library and all subsequent libraries and executables linked 15378# against it. 15379hardcode_automatic=$hardcode_automatic 15380 15381# Set to yes if linker adds runtime paths of dependent libraries 15382# to runtime path list. 15383inherit_rpath=$inherit_rpath 15384 15385# Whether libtool must link a program against all its dependency libraries. 15386link_all_deplibs=$link_all_deplibs 15387 15388# Fix the shell variable \$srcfile for the compiler. 15389fix_srcfile_path=$lt_fix_srcfile_path 15390 15391# Set to "yes" if exported symbols are required. 15392always_export_symbols=$always_export_symbols 15393 15394# The commands to list exported symbols. 15395export_symbols_cmds=$lt_export_symbols_cmds 15396 15397# Symbols that should not be listed in the preloaded symbols. 15398exclude_expsyms=$lt_exclude_expsyms 15399 15400# Symbols that must always be exported. 15401include_expsyms=$lt_include_expsyms 15402 15403# Commands necessary for linking programs (against libraries) with templates. 15404prelink_cmds=$lt_prelink_cmds 15405 15406# Specify filename containing input files. 15407file_list_spec=$lt_file_list_spec 15408 15409# How to hardcode a shared library path into an executable. 15410hardcode_action=$hardcode_action 15411 15412# ### END LIBTOOL CONFIG 15413 15414_LT_EOF 15415 15416 case $host_os in 15417 aix3*) 15418 cat <<\_LT_EOF >> "$cfgfile" 15419# AIX sometimes has problems with the GCC collect2 program. For some 15420# reason, if we set the COLLECT_NAMES environment variable, the problems 15421# vanish in a puff of smoke. 15422if test "X${COLLECT_NAMES+set}" != Xset; then 15423 COLLECT_NAMES= 15424 export COLLECT_NAMES 15425fi 15426_LT_EOF 15427 ;; 15428 esac 15429 15430 15431ltmain="$ac_aux_dir/ltmain.sh" 15432 15433 15434 # We use sed instead of cat because bash on DJGPP gets confused if 15435 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15436 # text mode, it properly converts lines to CR/LF. This bash problem 15437 # is reportedly fixed, but why not run on old versions too? 15438 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 15439 || (rm -f "$cfgfile"; exit 1) 15440 15441 case $xsi_shell in 15442 yes) 15443 cat << \_LT_EOF >> "$cfgfile" 15444 15445# func_dirname file append nondir_replacement 15446# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15447# otherwise set result to NONDIR_REPLACEMENT. 15448func_dirname () 15449{ 15450 case ${1} in 15451 */*) func_dirname_result="${1%/*}${2}" ;; 15452 * ) func_dirname_result="${3}" ;; 15453 esac 15454} 15455 15456# func_basename file 15457func_basename () 15458{ 15459 func_basename_result="${1##*/}" 15460} 15461 15462# func_dirname_and_basename file append nondir_replacement 15463# perform func_basename and func_dirname in a single function 15464# call: 15465# dirname: Compute the dirname of FILE. If nonempty, 15466# add APPEND to the result, otherwise set result 15467# to NONDIR_REPLACEMENT. 15468# value returned in "$func_dirname_result" 15469# basename: Compute filename of FILE. 15470# value retuned in "$func_basename_result" 15471# Implementation must be kept synchronized with func_dirname 15472# and func_basename. For efficiency, we do not delegate to 15473# those functions but instead duplicate the functionality here. 15474func_dirname_and_basename () 15475{ 15476 case ${1} in 15477 */*) func_dirname_result="${1%/*}${2}" ;; 15478 * ) func_dirname_result="${3}" ;; 15479 esac 15480 func_basename_result="${1##*/}" 15481} 15482 15483# func_stripname prefix suffix name 15484# strip PREFIX and SUFFIX off of NAME. 15485# PREFIX and SUFFIX must not contain globbing or regex special 15486# characters, hashes, percent signs, but SUFFIX may contain a leading 15487# dot (in which case that matches only a dot). 15488func_stripname () 15489{ 15490 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 15491 # positional parameters, so assign one to ordinary parameter first. 15492 func_stripname_result=${3} 15493 func_stripname_result=${func_stripname_result#"${1}"} 15494 func_stripname_result=${func_stripname_result%"${2}"} 15495} 15496 15497# func_opt_split 15498func_opt_split () 15499{ 15500 func_opt_split_opt=${1%%=*} 15501 func_opt_split_arg=${1#*=} 15502} 15503 15504# func_lo2o object 15505func_lo2o () 15506{ 15507 case ${1} in 15508 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 15509 *) func_lo2o_result=${1} ;; 15510 esac 15511} 15512 15513# func_xform libobj-or-source 15514func_xform () 15515{ 15516 func_xform_result=${1%.*}.lo 15517} 15518 15519# func_arith arithmetic-term... 15520func_arith () 15521{ 15522 func_arith_result=$(( $* )) 15523} 15524 15525# func_len string 15526# STRING may not start with a hyphen. 15527func_len () 15528{ 15529 func_len_result=${#1} 15530} 15531 15532_LT_EOF 15533 ;; 15534 *) # Bourne compatible functions. 15535 cat << \_LT_EOF >> "$cfgfile" 15536 15537# func_dirname file append nondir_replacement 15538# Compute the dirname of FILE. If nonempty, add APPEND to the result, 15539# otherwise set result to NONDIR_REPLACEMENT. 15540func_dirname () 15541{ 15542 # Extract subdirectory from the argument. 15543 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 15544 if test "X$func_dirname_result" = "X${1}"; then 15545 func_dirname_result="${3}" 15546 else 15547 func_dirname_result="$func_dirname_result${2}" 15548 fi 15549} 15550 15551# func_basename file 15552func_basename () 15553{ 15554 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 15555} 15556 15557 15558# func_stripname prefix suffix name 15559# strip PREFIX and SUFFIX off of NAME. 15560# PREFIX and SUFFIX must not contain globbing or regex special 15561# characters, hashes, percent signs, but SUFFIX may contain a leading 15562# dot (in which case that matches only a dot). 15563# func_strip_suffix prefix name 15564func_stripname () 15565{ 15566 case ${2} in 15567 .*) func_stripname_result=`$ECHO "X${3}" \ 15568 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 15569 *) func_stripname_result=`$ECHO "X${3}" \ 15570 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 15571 esac 15572} 15573 15574# sed scripts: 15575my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 15576my_sed_long_arg='1s/^-[^=]*=//' 15577 15578# func_opt_split 15579func_opt_split () 15580{ 15581 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 15582 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 15583} 15584 15585# func_lo2o object 15586func_lo2o () 15587{ 15588 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 15589} 15590 15591# func_xform libobj-or-source 15592func_xform () 15593{ 15594 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 15595} 15596 15597# func_arith arithmetic-term... 15598func_arith () 15599{ 15600 func_arith_result=`expr "$@"` 15601} 15602 15603# func_len string 15604# STRING may not start with a hyphen. 15605func_len () 15606{ 15607 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 15608} 15609 15610_LT_EOF 15611esac 15612 15613case $lt_shell_append in 15614 yes) 15615 cat << \_LT_EOF >> "$cfgfile" 15616 15617# func_append var value 15618# Append VALUE to the end of shell variable VAR. 15619func_append () 15620{ 15621 eval "$1+=\$2" 15622} 15623_LT_EOF 15624 ;; 15625 *) 15626 cat << \_LT_EOF >> "$cfgfile" 15627 15628# func_append var value 15629# Append VALUE to the end of shell variable VAR. 15630func_append () 15631{ 15632 eval "$1=\$$1\$2" 15633} 15634 15635_LT_EOF 15636 ;; 15637 esac 15638 15639 15640 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 15641 || (rm -f "$cfgfile"; exit 1) 15642 15643 mv -f "$cfgfile" "$ofile" || 15644 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 15645 chmod +x "$ofile" 15646 15647 ;; 15648 15649 esac 15650done # for ac_tag 15651 15652 15653{ (exit 0); exit 0; } 15654_ACEOF 15655chmod +x $CONFIG_STATUS 15656ac_clean_files=$ac_clean_files_save 15657 15658test $ac_write_fail = 0 || 15659 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 15660$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 15661 { (exit 1); exit 1; }; } 15662 15663 15664# configure is writing to config.log, and then calls config.status. 15665# config.status does its own redirection, appending to config.log. 15666# Unfortunately, on DOS this fails, as config.log is still kept open 15667# by configure, so config.status won't be able to write to it; its 15668# output is simply discarded. So we exec the FD to /dev/null, 15669# effectively closing config.log, so it can be properly (re)opened and 15670# appended to by config.status. When coming back to configure, we 15671# need to make the FD available again. 15672if test "$no_create" != yes; then 15673 ac_cs_success=: 15674 ac_config_status_args= 15675 test "$silent" = yes && 15676 ac_config_status_args="$ac_config_status_args --quiet" 15677 exec 5>/dev/null 15678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 15679 exec 5>>config.log 15680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15681 # would make configure fail if this is the last instruction. 15682 $ac_cs_success || { (exit 1); exit 1; } 15683fi 15684if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15685 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 15686$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15687fi 15688 15689