configure revision b86d567b
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.63 for xorg-server 1.6.3. 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='xorg-server' 747PACKAGE_TARNAME='xorg-server' 748PACKAGE_VERSION='1.6.3' 749PACKAGE_STRING='xorg-server 1.6.3' 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='LTLIBOBJS 790LIBOBJS 791ADMIN_MAN_DIR 792DRIVER_MAN_DIR 793MISC_MAN_DIR 794FILE_MAN_DIR 795LIB_MAN_DIR 796APP_MAN_DIR 797ADMIN_MAN_SUFFIX 798DRIVER_MAN_SUFFIX 799MISC_MAN_SUFFIX 800FILE_MAN_SUFFIX 801LIB_MAN_SUFFIX 802APP_MAN_SUFFIX 803DIX_CFLAGS 804BUILD_TIME 805BUILD_DATE 806PROJECTROOT 807XKB_COMPILED_DIR 808XKM_OUTPUT_DIR 809XKB_BIN_DIRECTORY 810XKB_BASE_DIRECTORY 811XFAKESERVER_FALSE 812XFAKESERVER_TRUE 813BUILD_KDRIVEFBDEVLIB_FALSE 814BUILD_KDRIVEFBDEVLIB_TRUE 815XEPHYR_FALSE 816XEPHYR_TRUE 817XSDLSERVER_FALSE 818XSDLSERVER_TRUE 819KDRIVEFBDEV_FALSE 820KDRIVEFBDEV_TRUE 821KDRIVEVESA_FALSE 822KDRIVEVESA_TRUE 823TSLIB_FALSE 824TSLIB_TRUE 825KDRIVELINUX_FALSE 826KDRIVELINUX_TRUE 827KDRIVE_LIBS 828KDRIVE_LOCAL_LIBS 829KDRIVE_PURE_LIBS 830KDRIVE_CFLAGS 831KDRIVE_PURE_INCS 832KDRIVE_INCS 833XSDL_INCS 834XSDL_LIBS 835XEPHYR_INCS 836TSLIB_LIBS 837TSLIB_CFLAGS 838XEPHYR_LIBS 839XEPHYR_CFLAGS 840KDRIVE_FALSE 841KDRIVE_TRUE 842DMX_BUILD_USB_FALSE 843DMX_BUILD_USB_TRUE 844DMX_BUILD_LNX_FALSE 845DMX_BUILD_LNX_TRUE 846X11EXAMPLES_DEP_LIBS 847X11EXAMPLES_DEP_CFLAGS 848XRESEXAMPLES_DEP_LIBS 849XRESEXAMPLES_DEP_CFLAGS 850XTSTEXAMPLES_DEP_LIBS 851XTSTEXAMPLES_DEP_CFLAGS 852DMXXIEXAMPLES_DEP_LIBS 853DMXXIEXAMPLES_DEP_CFLAGS 854DMXXMUEXAMPLES_DEP_LIBS 855DMXXMUEXAMPLES_DEP_CFLAGS 856DMXEXAMPLES_DEP_LIBS 857DMXEXAMPLES_DEP_CFLAGS 858XDMXCONFIG_DEP_LIBS 859XDMXCONFIG_DEP_CFLAGS 860XDMX_SYS_LIBS 861XDMX_LIBS 862XDMX_CFLAGS 863DMX_FALSE 864DMX_TRUE 865DMXMODULES_LIBS 866DMXMODULES_CFLAGS 867STANDALONE_XPBPROXY_FALSE 868STANDALONE_XPBPROXY_TRUE 869XQUARTZ_FALSE 870XQUARTZ_TRUE 871HAVE_AGL_FRAMEWORK_FALSE 872HAVE_AGL_FRAMEWORK_TRUE 873HAVE_XPLUGIN_FALSE 874HAVE_XPLUGIN_TRUE 875am__fastdepOBJC_FALSE 876am__fastdepOBJC_TRUE 877OBJCDEPMODE 878OBJCFLAGS 879OBJCLINK 880OBJCCLD 881OBJC 882XPBPROXY_LIBS 883XPBPROXY_CFLAGS 884DARWIN_LIBS 885XWIN_XV_FALSE 886XWIN_XV_TRUE 887XWIN_RANDR_FALSE 888XWIN_RANDR_TRUE 889XWIN_PRIMARYFB_FALSE 890XWIN_PRIMARYFB_TRUE 891XWIN_NATIVEGDI_FALSE 892XWIN_NATIVEGDI_TRUE 893XWIN_GLX_WINDOWS_FALSE 894XWIN_GLX_WINDOWS_TRUE 895XWIN_CLIPBOARD_FALSE 896XWIN_CLIPBOARD_TRUE 897XWIN_MULTIWINDOWEXTWM_FALSE 898XWIN_MULTIWINDOWEXTWM_TRUE 899XWIN_MULTIWINDOW_FALSE 900XWIN_MULTIWINDOW_TRUE 901XWIN_FALSE 902XWIN_TRUE 903XWIN_SYS_LIBS 904XWIN_SERVER_NAME 905XWINMODULES_LIBS 906XWINMODULES_CFLAGS 907XWIN_LIBS 908XF86VIDMODE_FALSE 909XF86VIDMODE_TRUE 910DGA_FALSE 911DGA_TRUE 912SOLARIS_ASM_INLINE_FALSE 913SOLARIS_ASM_INLINE_TRUE 914SOLARIS_USL_CONSOLE_FALSE 915SOLARIS_USL_CONSOLE_TRUE 916LNXACPI_FALSE 917LNXACPI_TRUE 918LINUX_ALPHA_FALSE 919LINUX_ALPHA_TRUE 920LINUX_IA64_FALSE 921LINUX_IA64_TRUE 922XORG_BUS_SPARC_FALSE 923XORG_BUS_SPARC_TRUE 924XORG_BUS_BSDPCI_FALSE 925XORG_BUS_BSDPCI_TRUE 926XORG_BUS_LINUXPCI_FALSE 927XORG_BUS_LINUXPCI_TRUE 928XORG_FALSE 929XORG_TRUE 930abi_font 931abi_extension 932abi_xinput 933abi_videodrv 934abi_ansic 935logdir 936extdir 937sdkdir 938driverdir 939moduledir 940DEFAULT_LOGPREFIX 941DEFAULT_LIBRARY_PATH 942DEFAULT_MODULE_PATH 943XF86CONFIGFILE 944__XCONFIGFILE__ 945XORG_CFLAGS 946PERL 947XORG_OS_SUBDIR 948XORG_OS 949XORG_INCS 950XORG_SYS_LIBS 951XORG_LIBS 952XORG_MODULES_LIBS 953XORG_MODULES_CFLAGS 954XF86VIDMODE_LIBS 955XF86VIDMODE_CFLAGS 956DGA_LIBS 957DGA_CFLAGS 958SOLARIS_ASM_CFLAGS 959SOLARIS_INOUT_ARCH 960PCIACCESS_LIBS 961PCIACCESS_CFLAGS 962XNEST_SYS_LIBS 963XNEST_LIBS 964XNEST_FALSE 965XNEST_TRUE 966XNESTMODULES_LIBS 967XNESTMODULES_CFLAGS 968XVFB_SYS_LIBS 969XVFB_LIBS 970XVFB_FALSE 971XVFB_TRUE 972LD_EXPORT_SYMBOLS_FLAG 973UTILS_SYS_LIBS 974XSERVER_SYS_LIBS 975XSERVER_LIBS 976XSERVERLIBS_LIBS 977XSERVERLIBS_CFLAGS 978XSERVERCFLAGS_LIBS 979XSERVERCFLAGS_CFLAGS 980DEBUG_FALSE 981DEBUG_TRUE 982VENDOR_MAN_VERSION 983VENDOR_RELEASE 984VENDOR_NAME_SHORT 985VENDOR_NAME 986DRI_DRIVER_PATH 987BASE_FONT_PATH 988SERVER_MISC_CONFIG_PATH 989PCI_TXT_IDS_PATH 990COMPILEDDEFAULTFONTPATH 991XDMAUTH_FALSE 992XDMAUTH_TRUE 993XDMCP_FALSE 994XDMCP_TRUE 995XDMCP_LIBS 996XDMCP_CFLAGS 997XF86UTILS_FALSE 998XF86UTILS_TRUE 999XCALIBRATE_FALSE 1000XCALIBRATE_TRUE 1001DPMSExtension_FALSE 1002DPMSExtension_TRUE 1003XF86BIGFONT_FALSE 1004XF86BIGFONT_TRUE 1005DBE_FALSE 1006DBE_TRUE 1007MULTIBUFFER_FALSE 1008MULTIBUFFER_TRUE 1009XCSECURITY_FALSE 1010XCSECURITY_TRUE 1011XSELINUX_FALSE 1012XSELINUX_TRUE 1013XACE_FALSE 1014XACE_TRUE 1015XINERAMA_FALSE 1016XINERAMA_TRUE 1017DRI2_AIGLX_FALSE 1018DRI2_AIGLX_TRUE 1019LIBDRM_LIBS 1020LIBDRM_CFLAGS 1021DRI2_FALSE 1022DRI2_TRUE 1023DRI2PROTO_LIBS 1024DRI2PROTO_CFLAGS 1025DRIPROTO_LIBS 1026DRIPROTO_CFLAGS 1027DRI_FALSE 1028DRI_TRUE 1029GLX_DEFINES 1030AIGLX_FALSE 1031AIGLX_TRUE 1032MESA_SOURCE 1033GLX_FALSE 1034GLX_TRUE 1035GL_LIBS 1036GL_CFLAGS 1037XLIB_LIBS 1038XLIB_CFLAGS 1039RES_FALSE 1040RES_TRUE 1041SCREENSAVER_FALSE 1042SCREENSAVER_TRUE 1043RECORD_FALSE 1044RECORD_TRUE 1045MITSHM_FALSE 1046MITSHM_TRUE 1047COMPOSITE_FALSE 1048COMPOSITE_TRUE 1049XREGISTRY_FALSE 1050XREGISTRY_TRUE 1051XVMC_FALSE 1052XVMC_TRUE 1053XV_FALSE 1054XV_TRUE 1055CONFIG_NEED_DBUS_FALSE 1056CONFIG_NEED_DBUS_TRUE 1057CONFIG_HAL_FALSE 1058CONFIG_HAL_TRUE 1059HAL_LIBS 1060HAL_CFLAGS 1061CONFIG_DBUS_API_FALSE 1062CONFIG_DBUS_API_TRUE 1063HAVE_DBUS_FALSE 1064HAVE_DBUS_TRUE 1065DBUS_LIBS 1066DBUS_CFLAGS 1067INSTALL_LIBXF86CONFIG_FALSE 1068INSTALL_LIBXF86CONFIG_TRUE 1069MAKE_HTML 1070MAKE_PDF 1071MAKE_PS 1072MAKE_TEXT 1073BUILD_PDFDOC_FALSE 1074BUILD_PDFDOC_TRUE 1075BUILD_LINUXDOC_FALSE 1076BUILD_LINUXDOC_TRUE 1077PS2PDF 1078LINUXDOC 1079BUILDDOCS_FALSE 1080BUILDDOCS_TRUE 1081INT10_STUB_FALSE 1082INT10_STUB_TRUE 1083INT10_X86EMU_FALSE 1084INT10_X86EMU_TRUE 1085INT10_VM86_FALSE 1086INT10_VM86_TRUE 1087SECURE_RPC_FALSE 1088SECURE_RPC_TRUE 1089INSTALL_SETUID_FALSE 1090INSTALL_SETUID_TRUE 1091APPLE_APPLICATION_ID 1092APPLE_APPLICATION_NAME 1093APPLE_APPLICATIONS_DIR 1094KDRIVE_HW_FALSE 1095KDRIVE_HW_TRUE 1096SPARC64_VIDEO_FALSE 1097SPARC64_VIDEO_TRUE 1098PPC_VIDEO_FALSE 1099PPC_VIDEO_TRUE 1100I386_VIDEO_FALSE 1101I386_VIDEO_TRUE 1102ARM_VIDEO_FALSE 1103ARM_VIDEO_TRUE 1104ALPHA_VIDEO_FALSE 1105ALPHA_VIDEO_TRUE 1106GLX_ARCH_DEFINES 1107BSD_KQUEUE_APM_FALSE 1108BSD_KQUEUE_APM_TRUE 1109BSD_APM_FALSE 1110BSD_APM_TRUE 1111FREEBSD_KLDLOAD_FALSE 1112FREEBSD_KLDLOAD_TRUE 1113FBDEVHW_FALSE 1114FBDEVHW_TRUE 1115LNXAPM_FALSE 1116LNXAPM_TRUE 1117AGP_FALSE 1118AGP_TRUE 1119NEED_VSNPRINTF_FALSE 1120NEED_VSNPRINTF_TRUE 1121NEED_STRLCAT_FALSE 1122NEED_STRLCAT_TRUE 1123ALLOCA 1124XSERVER_DTRACE_FALSE 1125XSERVER_DTRACE_TRUE 1126DTRACE 1127RAWCPPFLAGS 1128RAWCPP 1129YFLAGS 1130YACC 1131LEXLIB 1132LEX_OUTPUT_ROOT 1133LEX 1134PKG_CONFIG 1135LTCXXCOMPILE 1136LTCOMPILE 1137DOLT_BASH 1138CPP 1139OTOOL64 1140OTOOL 1141LIPO 1142NMEDIT 1143DSYMUTIL 1144lt_ECHO 1145RANLIB 1146AR 1147NM 1148ac_ct_DUMPBIN 1149DUMPBIN 1150LD 1151FGREP 1152EGREP 1153GREP 1154SED 1155LIBTOOL 1156OBJDUMP 1157DLLTOOL 1158AS 1159host_os 1160host_vendor 1161host_cpu 1162host 1163build_os 1164build_vendor 1165build_cpu 1166build 1167LN_S 1168am__fastdepCCAS_FALSE 1169am__fastdepCCAS_TRUE 1170CCASDEPMODE 1171CCASFLAGS 1172CCAS 1173am__fastdepCC_FALSE 1174am__fastdepCC_TRUE 1175CCDEPMODE 1176AMDEPBACKSLASH 1177AMDEP_FALSE 1178AMDEP_TRUE 1179am__quote 1180am__include 1181DEPDIR 1182OBJEXT 1183EXEEXT 1184ac_ct_CC 1185CPPFLAGS 1186LDFLAGS 1187CFLAGS 1188CC 1189MAINT 1190MAINTAINER_MODE_FALSE 1191MAINTAINER_MODE_TRUE 1192am__untar 1193am__tar 1194AMTAR 1195am__leading_dot 1196SET_MAKE 1197AWK 1198mkdir_p 1199MKDIR_P 1200INSTALL_STRIP_PROGRAM 1201STRIP 1202install_sh 1203MAKEINFO 1204AUTOHEADER 1205AUTOMAKE 1206AUTOCONF 1207ACLOCAL 1208VERSION 1209PACKAGE 1210CYGPATH_W 1211am__isrc 1212INSTALL_DATA 1213INSTALL_SCRIPT 1214INSTALL_PROGRAM 1215target_alias 1216host_alias 1217build_alias 1218LIBS 1219ECHO_T 1220ECHO_N 1221ECHO_C 1222DEFS 1223mandir 1224localedir 1225libdir 1226psdir 1227pdfdir 1228dvidir 1229htmldir 1230infodir 1231docdir 1232oldincludedir 1233includedir 1234localstatedir 1235sharedstatedir 1236sysconfdir 1237datadir 1238datarootdir 1239libexecdir 1240sbindir 1241bindir 1242program_transform_name 1243prefix 1244exec_prefix 1245PACKAGE_BUGREPORT 1246PACKAGE_STRING 1247PACKAGE_VERSION 1248PACKAGE_TARNAME 1249PACKAGE_NAME 1250PATH_SEPARATOR 1251SHELL' 1252ac_subst_files='' 1253ac_user_opts=' 1254enable_option_checking 1255enable_maintainer_mode 1256enable_dependency_tracking 1257enable_static 1258enable_shared 1259with_pic 1260enable_fast_install 1261with_gnu_ld 1262enable_libtool_lock 1263enable_largefile 1264with_dtrace 1265with_release_version 1266enable_werror 1267enable_debug 1268with_int10 1269with_vendor_name 1270with_vendor_name_short 1271with_vendor_web 1272with_module_dir 1273with_log_dir 1274with_builder_addr 1275with_os_name 1276with_os_vendor 1277with_builderstring 1278with_fontdir 1279with_default_font_path 1280with_xkb_path 1281with_xkb_output 1282with_serverconfig_path 1283with_apple_applications_dir 1284with_apple_application_name 1285with_apple_application_id 1286enable_builddocs 1287enable_install_libxf86config 1288enable_null_root_cursor 1289with_mesa_source 1290with_dri_driver_path 1291enable_aiglx 1292enable_glx_tls 1293enable_registry 1294enable_composite 1295enable_mitshm 1296enable_xres 1297enable_record 1298enable_xv 1299enable_xvmc 1300enable_dga 1301enable_screensaver 1302enable_xdmcp 1303enable_xdm_auth_1 1304enable_glx 1305enable_dri 1306enable_dri2 1307enable_xinerama 1308enable_xf86vidmode 1309enable_xace 1310enable_xselinux 1311enable_xcsecurity 1312enable_xcalibrate 1313enable_tslib 1314enable_multibuffer 1315enable_dbe 1316enable_xf86bigfont 1317enable_dpms 1318enable_config_dbus 1319enable_config_hal 1320enable_xfree86_utils 1321enable_xorg 1322enable_dmx 1323enable_xvfb 1324enable_xnest 1325enable_xquartz 1326enable_standalone_xpbproxy 1327enable_xwin 1328enable_kdrive 1329enable_xephyr 1330enable_xsdl 1331enable_xfake 1332enable_xfbdev 1333enable_install_setuid 1334enable_unix_transport 1335enable_tcp_transport 1336enable_ipv6 1337enable_local_transport 1338enable_secure_rpc 1339' 1340 ac_precious_vars='build_alias 1341host_alias 1342target_alias 1343CC 1344CFLAGS 1345LDFLAGS 1346LIBS 1347CPPFLAGS 1348CCAS 1349CCASFLAGS 1350CPP 1351PKG_CONFIG 1352YACC 1353YFLAGS 1354DBUS_CFLAGS 1355DBUS_LIBS 1356HAL_CFLAGS 1357HAL_LIBS 1358XLIB_CFLAGS 1359XLIB_LIBS 1360GL_CFLAGS 1361GL_LIBS 1362DRIPROTO_CFLAGS 1363DRIPROTO_LIBS 1364DRI2PROTO_CFLAGS 1365DRI2PROTO_LIBS 1366LIBDRM_CFLAGS 1367LIBDRM_LIBS 1368XDMCP_CFLAGS 1369XDMCP_LIBS 1370XSERVERCFLAGS_CFLAGS 1371XSERVERCFLAGS_LIBS 1372XSERVERLIBS_CFLAGS 1373XSERVERLIBS_LIBS 1374XNESTMODULES_CFLAGS 1375XNESTMODULES_LIBS 1376PCIACCESS_CFLAGS 1377PCIACCESS_LIBS 1378DGA_CFLAGS 1379DGA_LIBS 1380XF86VIDMODE_CFLAGS 1381XF86VIDMODE_LIBS 1382XORG_MODULES_CFLAGS 1383XORG_MODULES_LIBS 1384XWINMODULES_CFLAGS 1385XWINMODULES_LIBS 1386XPBPROXY_CFLAGS 1387XPBPROXY_LIBS 1388DMXMODULES_CFLAGS 1389DMXMODULES_LIBS 1390XDMXCONFIG_DEP_CFLAGS 1391XDMXCONFIG_DEP_LIBS 1392DMXEXAMPLES_DEP_CFLAGS 1393DMXEXAMPLES_DEP_LIBS 1394DMXXMUEXAMPLES_DEP_CFLAGS 1395DMXXMUEXAMPLES_DEP_LIBS 1396DMXXIEXAMPLES_DEP_CFLAGS 1397DMXXIEXAMPLES_DEP_LIBS 1398XTSTEXAMPLES_DEP_CFLAGS 1399XTSTEXAMPLES_DEP_LIBS 1400XRESEXAMPLES_DEP_CFLAGS 1401XRESEXAMPLES_DEP_LIBS 1402X11EXAMPLES_DEP_CFLAGS 1403X11EXAMPLES_DEP_LIBS 1404XEPHYR_CFLAGS 1405XEPHYR_LIBS 1406TSLIB_CFLAGS 1407TSLIB_LIBS' 1408 1409 1410# Initialize some variables set by options. 1411ac_init_help= 1412ac_init_version=false 1413ac_unrecognized_opts= 1414ac_unrecognized_sep= 1415# The variables have the same names as the options, with 1416# dashes changed to underlines. 1417cache_file=/dev/null 1418exec_prefix=NONE 1419no_create= 1420no_recursion= 1421prefix=NONE 1422program_prefix=NONE 1423program_suffix=NONE 1424program_transform_name=s,x,x, 1425silent= 1426site= 1427srcdir= 1428verbose= 1429x_includes=NONE 1430x_libraries=NONE 1431 1432# Installation directory options. 1433# These are left unexpanded so users can "make install exec_prefix=/foo" 1434# and all the variables that are supposed to be based on exec_prefix 1435# by default will actually change. 1436# Use braces instead of parens because sh, perl, etc. also accept them. 1437# (The list follows the same order as the GNU Coding Standards.) 1438bindir='${exec_prefix}/bin' 1439sbindir='${exec_prefix}/sbin' 1440libexecdir='${exec_prefix}/libexec' 1441datarootdir='${prefix}/share' 1442datadir='${datarootdir}' 1443sysconfdir='${prefix}/etc' 1444sharedstatedir='${prefix}/com' 1445localstatedir='${prefix}/var' 1446includedir='${prefix}/include' 1447oldincludedir='/usr/include' 1448docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1449infodir='${datarootdir}/info' 1450htmldir='${docdir}' 1451dvidir='${docdir}' 1452pdfdir='${docdir}' 1453psdir='${docdir}' 1454libdir='${exec_prefix}/lib' 1455localedir='${datarootdir}/locale' 1456mandir='${datarootdir}/man' 1457 1458ac_prev= 1459ac_dashdash= 1460for ac_option 1461do 1462 # If the previous option needs an argument, assign it. 1463 if test -n "$ac_prev"; then 1464 eval $ac_prev=\$ac_option 1465 ac_prev= 1466 continue 1467 fi 1468 1469 case $ac_option in 1470 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1471 *) ac_optarg=yes ;; 1472 esac 1473 1474 # Accept the important Cygnus configure options, so we can diagnose typos. 1475 1476 case $ac_dashdash$ac_option in 1477 --) 1478 ac_dashdash=yes ;; 1479 1480 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1481 ac_prev=bindir ;; 1482 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1483 bindir=$ac_optarg ;; 1484 1485 -build | --build | --buil | --bui | --bu) 1486 ac_prev=build_alias ;; 1487 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1488 build_alias=$ac_optarg ;; 1489 1490 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1491 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1492 ac_prev=cache_file ;; 1493 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1494 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1495 cache_file=$ac_optarg ;; 1496 1497 --config-cache | -C) 1498 cache_file=config.cache ;; 1499 1500 -datadir | --datadir | --datadi | --datad) 1501 ac_prev=datadir ;; 1502 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1503 datadir=$ac_optarg ;; 1504 1505 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1506 | --dataroo | --dataro | --datar) 1507 ac_prev=datarootdir ;; 1508 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1509 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1510 datarootdir=$ac_optarg ;; 1511 1512 -disable-* | --disable-*) 1513 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1514 # Reject names that are not valid shell variable names. 1515 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1516 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1517 { (exit 1); exit 1; }; } 1518 ac_useropt_orig=$ac_useropt 1519 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1520 case $ac_user_opts in 1521 *" 1522"enable_$ac_useropt" 1523"*) ;; 1524 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1525 ac_unrecognized_sep=', ';; 1526 esac 1527 eval enable_$ac_useropt=no ;; 1528 1529 -docdir | --docdir | --docdi | --doc | --do) 1530 ac_prev=docdir ;; 1531 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1532 docdir=$ac_optarg ;; 1533 1534 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1535 ac_prev=dvidir ;; 1536 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1537 dvidir=$ac_optarg ;; 1538 1539 -enable-* | --enable-*) 1540 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1541 # Reject names that are not valid shell variable names. 1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1543 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1544 { (exit 1); exit 1; }; } 1545 ac_useropt_orig=$ac_useropt 1546 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1547 case $ac_user_opts in 1548 *" 1549"enable_$ac_useropt" 1550"*) ;; 1551 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1552 ac_unrecognized_sep=', ';; 1553 esac 1554 eval enable_$ac_useropt=\$ac_optarg ;; 1555 1556 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1557 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1558 | --exec | --exe | --ex) 1559 ac_prev=exec_prefix ;; 1560 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1561 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1562 | --exec=* | --exe=* | --ex=*) 1563 exec_prefix=$ac_optarg ;; 1564 1565 -gas | --gas | --ga | --g) 1566 # Obsolete; use --with-gas. 1567 with_gas=yes ;; 1568 1569 -help | --help | --hel | --he | -h) 1570 ac_init_help=long ;; 1571 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1572 ac_init_help=recursive ;; 1573 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1574 ac_init_help=short ;; 1575 1576 -host | --host | --hos | --ho) 1577 ac_prev=host_alias ;; 1578 -host=* | --host=* | --hos=* | --ho=*) 1579 host_alias=$ac_optarg ;; 1580 1581 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1582 ac_prev=htmldir ;; 1583 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1584 | --ht=*) 1585 htmldir=$ac_optarg ;; 1586 1587 -includedir | --includedir | --includedi | --included | --include \ 1588 | --includ | --inclu | --incl | --inc) 1589 ac_prev=includedir ;; 1590 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1591 | --includ=* | --inclu=* | --incl=* | --inc=*) 1592 includedir=$ac_optarg ;; 1593 1594 -infodir | --infodir | --infodi | --infod | --info | --inf) 1595 ac_prev=infodir ;; 1596 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1597 infodir=$ac_optarg ;; 1598 1599 -libdir | --libdir | --libdi | --libd) 1600 ac_prev=libdir ;; 1601 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1602 libdir=$ac_optarg ;; 1603 1604 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1605 | --libexe | --libex | --libe) 1606 ac_prev=libexecdir ;; 1607 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1608 | --libexe=* | --libex=* | --libe=*) 1609 libexecdir=$ac_optarg ;; 1610 1611 -localedir | --localedir | --localedi | --localed | --locale) 1612 ac_prev=localedir ;; 1613 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1614 localedir=$ac_optarg ;; 1615 1616 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1617 | --localstate | --localstat | --localsta | --localst | --locals) 1618 ac_prev=localstatedir ;; 1619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1620 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1621 localstatedir=$ac_optarg ;; 1622 1623 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1624 ac_prev=mandir ;; 1625 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1626 mandir=$ac_optarg ;; 1627 1628 -nfp | --nfp | --nf) 1629 # Obsolete; use --without-fp. 1630 with_fp=no ;; 1631 1632 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1633 | --no-cr | --no-c | -n) 1634 no_create=yes ;; 1635 1636 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1637 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1638 no_recursion=yes ;; 1639 1640 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1641 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1642 | --oldin | --oldi | --old | --ol | --o) 1643 ac_prev=oldincludedir ;; 1644 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1645 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1646 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1647 oldincludedir=$ac_optarg ;; 1648 1649 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1650 ac_prev=prefix ;; 1651 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1652 prefix=$ac_optarg ;; 1653 1654 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1655 | --program-pre | --program-pr | --program-p) 1656 ac_prev=program_prefix ;; 1657 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1658 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1659 program_prefix=$ac_optarg ;; 1660 1661 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1662 | --program-suf | --program-su | --program-s) 1663 ac_prev=program_suffix ;; 1664 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1665 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1666 program_suffix=$ac_optarg ;; 1667 1668 -program-transform-name | --program-transform-name \ 1669 | --program-transform-nam | --program-transform-na \ 1670 | --program-transform-n | --program-transform- \ 1671 | --program-transform | --program-transfor \ 1672 | --program-transfo | --program-transf \ 1673 | --program-trans | --program-tran \ 1674 | --progr-tra | --program-tr | --program-t) 1675 ac_prev=program_transform_name ;; 1676 -program-transform-name=* | --program-transform-name=* \ 1677 | --program-transform-nam=* | --program-transform-na=* \ 1678 | --program-transform-n=* | --program-transform-=* \ 1679 | --program-transform=* | --program-transfor=* \ 1680 | --program-transfo=* | --program-transf=* \ 1681 | --program-trans=* | --program-tran=* \ 1682 | --progr-tra=* | --program-tr=* | --program-t=*) 1683 program_transform_name=$ac_optarg ;; 1684 1685 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1686 ac_prev=pdfdir ;; 1687 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1688 pdfdir=$ac_optarg ;; 1689 1690 -psdir | --psdir | --psdi | --psd | --ps) 1691 ac_prev=psdir ;; 1692 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1693 psdir=$ac_optarg ;; 1694 1695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1696 | -silent | --silent | --silen | --sile | --sil) 1697 silent=yes ;; 1698 1699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1700 ac_prev=sbindir ;; 1701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1702 | --sbi=* | --sb=*) 1703 sbindir=$ac_optarg ;; 1704 1705 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1707 | --sharedst | --shareds | --shared | --share | --shar \ 1708 | --sha | --sh) 1709 ac_prev=sharedstatedir ;; 1710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1713 | --sha=* | --sh=*) 1714 sharedstatedir=$ac_optarg ;; 1715 1716 -site | --site | --sit) 1717 ac_prev=site ;; 1718 -site=* | --site=* | --sit=*) 1719 site=$ac_optarg ;; 1720 1721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1722 ac_prev=srcdir ;; 1723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1724 srcdir=$ac_optarg ;; 1725 1726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1727 | --syscon | --sysco | --sysc | --sys | --sy) 1728 ac_prev=sysconfdir ;; 1729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1731 sysconfdir=$ac_optarg ;; 1732 1733 -target | --target | --targe | --targ | --tar | --ta | --t) 1734 ac_prev=target_alias ;; 1735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1736 target_alias=$ac_optarg ;; 1737 1738 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1739 verbose=yes ;; 1740 1741 -version | --version | --versio | --versi | --vers | -V) 1742 ac_init_version=: ;; 1743 1744 -with-* | --with-*) 1745 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1746 # Reject names that are not valid shell variable names. 1747 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1748 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1749 { (exit 1); exit 1; }; } 1750 ac_useropt_orig=$ac_useropt 1751 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1752 case $ac_user_opts in 1753 *" 1754"with_$ac_useropt" 1755"*) ;; 1756 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1757 ac_unrecognized_sep=', ';; 1758 esac 1759 eval with_$ac_useropt=\$ac_optarg ;; 1760 1761 -without-* | --without-*) 1762 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1763 # Reject names that are not valid shell variable names. 1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1765 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1766 { (exit 1); exit 1; }; } 1767 ac_useropt_orig=$ac_useropt 1768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1769 case $ac_user_opts in 1770 *" 1771"with_$ac_useropt" 1772"*) ;; 1773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1774 ac_unrecognized_sep=', ';; 1775 esac 1776 eval with_$ac_useropt=no ;; 1777 1778 --x) 1779 # Obsolete; use --with-x. 1780 with_x=yes ;; 1781 1782 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1783 | --x-incl | --x-inc | --x-in | --x-i) 1784 ac_prev=x_includes ;; 1785 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1786 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1787 x_includes=$ac_optarg ;; 1788 1789 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1790 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1791 ac_prev=x_libraries ;; 1792 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1793 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1794 x_libraries=$ac_optarg ;; 1795 1796 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1797Try \`$0 --help' for more information." >&2 1798 { (exit 1); exit 1; }; } 1799 ;; 1800 1801 *=*) 1802 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1803 # Reject names that are not valid shell variable names. 1804 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1805 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1806 { (exit 1); exit 1; }; } 1807 eval $ac_envvar=\$ac_optarg 1808 export $ac_envvar ;; 1809 1810 *) 1811 # FIXME: should be removed in autoconf 3.0. 1812 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1813 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1814 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1815 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1816 ;; 1817 1818 esac 1819done 1820 1821if test -n "$ac_prev"; then 1822 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1823 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1824 { (exit 1); exit 1; }; } 1825fi 1826 1827if test -n "$ac_unrecognized_opts"; then 1828 case $enable_option_checking in 1829 no) ;; 1830 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1831 { (exit 1); exit 1; }; } ;; 1832 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1833 esac 1834fi 1835 1836# Check all directory arguments for consistency. 1837for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1838 datadir sysconfdir sharedstatedir localstatedir includedir \ 1839 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1840 libdir localedir mandir 1841do 1842 eval ac_val=\$$ac_var 1843 # Remove trailing slashes. 1844 case $ac_val in 1845 */ ) 1846 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1847 eval $ac_var=\$ac_val;; 1848 esac 1849 # Be sure to have absolute directory names. 1850 case $ac_val in 1851 [\\/$]* | ?:[\\/]* ) continue;; 1852 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1853 esac 1854 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1855 { (exit 1); exit 1; }; } 1856done 1857 1858# There might be people who depend on the old broken behavior: `$host' 1859# used to hold the argument of --host etc. 1860# FIXME: To remove some day. 1861build=$build_alias 1862host=$host_alias 1863target=$target_alias 1864 1865# FIXME: To remove some day. 1866if test "x$host_alias" != x; then 1867 if test "x$build_alias" = x; then 1868 cross_compiling=maybe 1869 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1870 If a cross compiler is detected then cross compile mode will be used." >&2 1871 elif test "x$build_alias" != "x$host_alias"; then 1872 cross_compiling=yes 1873 fi 1874fi 1875 1876ac_tool_prefix= 1877test -n "$host_alias" && ac_tool_prefix=$host_alias- 1878 1879test "$silent" = yes && exec 6>/dev/null 1880 1881 1882ac_pwd=`pwd` && test -n "$ac_pwd" && 1883ac_ls_di=`ls -di .` && 1884ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1885 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1886 { (exit 1); exit 1; }; } 1887test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1888 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1889 { (exit 1); exit 1; }; } 1890 1891 1892# Find the source files, if location was not specified. 1893if test -z "$srcdir"; then 1894 ac_srcdir_defaulted=yes 1895 # Try the directory containing this script, then the parent directory. 1896 ac_confdir=`$as_dirname -- "$as_myself" || 1897$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1898 X"$as_myself" : 'X\(//\)[^/]' \| \ 1899 X"$as_myself" : 'X\(//\)$' \| \ 1900 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1901$as_echo X"$as_myself" | 1902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1903 s//\1/ 1904 q 1905 } 1906 /^X\(\/\/\)[^/].*/{ 1907 s//\1/ 1908 q 1909 } 1910 /^X\(\/\/\)$/{ 1911 s//\1/ 1912 q 1913 } 1914 /^X\(\/\).*/{ 1915 s//\1/ 1916 q 1917 } 1918 s/.*/./; q'` 1919 srcdir=$ac_confdir 1920 if test ! -r "$srcdir/$ac_unique_file"; then 1921 srcdir=.. 1922 fi 1923else 1924 ac_srcdir_defaulted=no 1925fi 1926if test ! -r "$srcdir/$ac_unique_file"; then 1927 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1928 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1929 { (exit 1); exit 1; }; } 1930fi 1931ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1932ac_abs_confdir=`( 1933 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1934 { (exit 1); exit 1; }; } 1935 pwd)` 1936# When building in place, set srcdir=. 1937if test "$ac_abs_confdir" = "$ac_pwd"; then 1938 srcdir=. 1939fi 1940# Remove unnecessary trailing slashes from srcdir. 1941# Double slashes in file names in object file debugging info 1942# mess up M-x gdb in Emacs. 1943case $srcdir in 1944*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1945esac 1946for ac_var in $ac_precious_vars; do 1947 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1948 eval ac_env_${ac_var}_value=\$${ac_var} 1949 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1950 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1951done 1952 1953# 1954# Report the --help message. 1955# 1956if test "$ac_init_help" = "long"; then 1957 # Omit some internal or obsolete options to make the list less imposing. 1958 # This message is too long to be a string in the A/UX 3.1 sh. 1959 cat <<_ACEOF 1960\`configure' configures xorg-server 1.6.3 to adapt to many kinds of systems. 1961 1962Usage: $0 [OPTION]... [VAR=VALUE]... 1963 1964To assign environment variables (e.g., CC, CFLAGS...), specify them as 1965VAR=VALUE. See below for descriptions of some of the useful variables. 1966 1967Defaults for the options are specified in brackets. 1968 1969Configuration: 1970 -h, --help display this help and exit 1971 --help=short display options specific to this package 1972 --help=recursive display the short help of all the included packages 1973 -V, --version display version information and exit 1974 -q, --quiet, --silent do not print \`checking...' messages 1975 --cache-file=FILE cache test results in FILE [disabled] 1976 -C, --config-cache alias for \`--cache-file=config.cache' 1977 -n, --no-create do not create output files 1978 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1979 1980Installation directories: 1981 --prefix=PREFIX install architecture-independent files in PREFIX 1982 [$ac_default_prefix] 1983 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1984 [PREFIX] 1985 1986By default, \`make install' will install all the files in 1987\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1988an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1989for instance \`--prefix=\$HOME'. 1990 1991For better control, use the options below. 1992 1993Fine tuning of the installation directories: 1994 --bindir=DIR user executables [EPREFIX/bin] 1995 --sbindir=DIR system admin executables [EPREFIX/sbin] 1996 --libexecdir=DIR program executables [EPREFIX/libexec] 1997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1999 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 2000 --libdir=DIR object code libraries [EPREFIX/lib] 2001 --includedir=DIR C header files [PREFIX/include] 2002 --oldincludedir=DIR C header files for non-gcc [/usr/include] 2003 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 2004 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 2005 --infodir=DIR info documentation [DATAROOTDIR/info] 2006 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 2007 --mandir=DIR man documentation [DATAROOTDIR/man] 2008 --docdir=DIR documentation root [DATAROOTDIR/doc/xorg-server] 2009 --htmldir=DIR html documentation [DOCDIR] 2010 --dvidir=DIR dvi documentation [DOCDIR] 2011 --pdfdir=DIR pdf documentation [DOCDIR] 2012 --psdir=DIR ps documentation [DOCDIR] 2013_ACEOF 2014 2015 cat <<\_ACEOF 2016 2017Program names: 2018 --program-prefix=PREFIX prepend PREFIX to installed program names 2019 --program-suffix=SUFFIX append SUFFIX to installed program names 2020 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 2021 2022System types: 2023 --build=BUILD configure for building on BUILD [guessed] 2024 --host=HOST cross-compile to build programs to run on HOST [BUILD] 2025_ACEOF 2026fi 2027 2028if test -n "$ac_init_help"; then 2029 case $ac_init_help in 2030 short | recursive ) echo "Configuration of xorg-server 1.6.3:";; 2031 esac 2032 cat <<\_ACEOF 2033 2034Optional Features: 2035 --disable-option-checking ignore unrecognized --enable/--with options 2036 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 2037 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 2038 --enable-maintainer-mode enable make rules and dependencies not useful 2039 (and sometimes confusing) to the casual installer 2040 --disable-dependency-tracking speeds up one-time build 2041 --enable-dependency-tracking do not reject slow dependency extractors 2042 --enable-static[=PKGS] build static libraries [default=no] 2043 --enable-shared[=PKGS] build shared libraries [default=yes] 2044 --enable-fast-install[=PKGS] 2045 optimize for fast installation [default=yes] 2046 --disable-libtool-lock avoid locking (might break parallel builds) 2047 --disable-largefile omit support for large files 2048 --enable-werror Treat warnings as errors (default: disabled) 2049 --enable-debug Enable debugging (default: disabled) 2050 --enable-builddocs Build docs (default: disabled) 2051 --enable-install-libxf86config 2052 Install libxf86config (default: disabled) 2053 --enable-null-root-cursor 2054 Use an empty root cursor (default: use core cursor) 2055 --enable-aiglx Build accelerated indirect GLX (default: enabled) 2056 --enable-glx-tls Build GLX with TLS support (default: disabled) 2057 --disable-registry Build string registry module (default: enabled) 2058 --disable-composite Build Composite extension (default: enabled) 2059 --disable-shm Build SHM extension (default: enabled) 2060 --disable-xres Build XRes extension (default: enabled) 2061 --enable-record Build Record extension (default: disabled) 2062 --disable-xv Build Xv extension (default: enabled) 2063 --disable-xvmc Build XvMC extension (default: enabled) 2064 --disable-dga Build DGA extension (default: auto) 2065 --disable-screensaver Build ScreenSaver extension (default: enabled) 2066 --disable-xdmcp Build XDMCP extension (default: auto) 2067 --disable-xdm-auth-1 Build XDM-Auth-1 extension (default: auto) 2068 --disable-glx Build GLX extension (default: enabled) 2069 --enable-dri Build DRI extension (default: auto) 2070 --enable-dri2 Build DRI2 extension (default: auto) 2071 --disable-xinerama Build Xinerama extension (default: enabled) 2072 --disable-xf86vidmode Build XF86VidMode extension (default: auto) 2073 --disable-xace Build X-ACE extension (default: enabled) 2074 --disable-xselinux Build SELinux extension (default: disabled) 2075 --disable-xcsecurity Build Security extension (default: disabled) 2076 --enable-xcalibrate Build XCalibrate extension (default: disabled) 2077 --enable-tslib Build kdrive tslib touchscreen support (default: 2078 disabled) 2079 --enable-multibuffer Build Multibuffer extension (default: disabled) 2080 --disable-dbe Build DBE extension (default: enabled) 2081 --disable-xf86bigfont Build XF86 Big Font extension (default: disabled) 2082 --disable-dpms Build DPMS extension (default: enabled) 2083 --enable-config-dbus Build D-BUS API support (default: no) 2084 --disable-config-hal Build HAL support (default: auto) 2085 --enable-xfree86-utils Build xfree86 DDX utilities (default: enabled) 2086 --enable-xorg Build Xorg server (default: auto) 2087 --enable-dmx Build DMX server (default: no) 2088 --enable-xvfb Build Xvfb server (default: yes) 2089 --enable-xnest Build Xnest server (default: auto) 2090 --enable-xquartz Build Xquartz server for OS-X (default: auto) 2091 --enable-standalone-xpbproxy 2092 Build a standalone xpbproxy (in addigion to the one 2093 integrated into Xquartz as a separate thread) 2094 (default: no) 2095 --enable-xwin Build XWin server (default: auto) 2096 --enable-kdrive Build kdrive servers (default: no) 2097 --enable-xephyr Build the kdrive Xephyr server (default: auto) 2098 --enable-xsdl Build the kdrive Xsdl server (default: auto) 2099 --enable-xfake Build the kdrive 'fake' server (default: auto) 2100 --enable-xfbdev Build the kdrive framebuffer device server (default: 2101 auto) 2102 --enable-install-setuid Install Xorg server as owned by root with setuid bit 2103 (default: auto) 2104 --enable-secure-rpc Enable Secure RPC 2105 2106Optional Packages: 2107 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 2108 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 2109 --with-pic try to use only PIC/non-PIC objects [default=use 2110 both] 2111 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 2112 --with-dtrace=PATH Enable dtrace probes (default: enabled if dtrace 2113 found) 2114 --with-release-version=STRING 2115 Use release version string in package name 2116 --with-int10=BACKEND int10 backend: vm86, x86emu or stub 2117 --with-vendor-name=VENDOR 2118 Vendor string reported by the server 2119 --with-vendor-name-short=VENDOR 2120 Short version of vendor string reported by the 2121 server 2122 --with-vendor-web=URL Vendor web address reported by the server 2123 --with-module-dir=DIR Directory where modules are installed (default: 2124 $libdir/xorg/modules) 2125 --with-log-dir=DIR Directory where log files are kept (default: 2126 $localstatedir/log) 2127 --with-builder-addr=ADDRESS 2128 Builder address (default: 2129 xorg@lists.freedesktop.org) 2130 --with-os-name=OSNAME Name of OS (default: output of "uname -srm") 2131 --with-os-vendor=OSVENDOR 2132 Name of OS vendor 2133 --with-builderstring=BUILDERSTRING 2134 Additional builder string 2135 --with-fontdir=FONTDIR Path to top level dir where fonts are installed 2136 (default: ${libdir}/X11/fonts) 2137 --with-default-font-path=PATH 2138 Comma separated list of font dirs 2139 --with-xkb-path=PATH Path to XKB base dir (default: ${datadir}/X11/xkb) 2140 --with-xkb-output=PATH Path to XKB output dir (default: 2141 ${datadir}/X11/xkb/compiled) 2142 --with-serverconfig-path=PATH 2143 Directory where ancillary server config files are 2144 installed (default: ${libdir}/xorg) 2145 --with-apple-applications-dir=PATH 2146 Path to the Applications directory (default: 2147 /Applications/Utilities) 2148 --with-apple-application-name=NAME 2149 Name for the .app (default: X11) 2150 --with-apple-application-id=VALUE 2151 CFBundleIdentification for the .app (default: 2152 org.x.X11) 2153 --with-mesa-source=MESA_SOURCE 2154 Path to Mesa source tree 2155 --with-dri-driver-path=PATH 2156 Path to DRI drivers (default: ${libdir}/dri) 2157 2158Some influential environment variables: 2159 CC C compiler command 2160 CFLAGS C compiler flags 2161 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 2162 nonstandard directory <lib dir> 2163 LIBS libraries to pass to the linker, e.g. -l<library> 2164 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 2165 you have headers in a nonstandard directory <include dir> 2166 CCAS assembler compiler command (defaults to CC) 2167 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 2168 CPP C preprocessor 2169 PKG_CONFIG path to pkg-config utility 2170 YACC The `Yet Another C Compiler' implementation to use. Defaults to 2171 the first program found out of: `bison -y', `byacc', `yacc'. 2172 YFLAGS The list of arguments that will be passed by default to $YACC. 2173 This script will default YFLAGS to the empty string to avoid a 2174 default value of `-d' given by some make applications. 2175 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config 2176 DBUS_LIBS linker flags for DBUS, overriding pkg-config 2177 HAL_CFLAGS C compiler flags for HAL, overriding pkg-config 2178 HAL_LIBS linker flags for HAL, overriding pkg-config 2179 XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config 2180 XLIB_LIBS linker flags for XLIB, overriding pkg-config 2181 GL_CFLAGS C compiler flags for GL, overriding pkg-config 2182 GL_LIBS linker flags for GL, overriding pkg-config 2183 DRIPROTO_CFLAGS 2184 C compiler flags for DRIPROTO, overriding pkg-config 2185 DRIPROTO_LIBS 2186 linker flags for DRIPROTO, overriding pkg-config 2187 DRI2PROTO_CFLAGS 2188 C compiler flags for DRI2PROTO, overriding pkg-config 2189 DRI2PROTO_LIBS 2190 linker flags for DRI2PROTO, overriding pkg-config 2191 LIBDRM_CFLAGS 2192 C compiler flags for LIBDRM, overriding pkg-config 2193 LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config 2194 XDMCP_CFLAGS 2195 C compiler flags for XDMCP, overriding pkg-config 2196 XDMCP_LIBS linker flags for XDMCP, overriding pkg-config 2197 XSERVERCFLAGS_CFLAGS 2198 C compiler flags for XSERVERCFLAGS, overriding pkg-config 2199 XSERVERCFLAGS_LIBS 2200 linker flags for XSERVERCFLAGS, overriding pkg-config 2201 XSERVERLIBS_CFLAGS 2202 C compiler flags for XSERVERLIBS, overriding pkg-config 2203 XSERVERLIBS_LIBS 2204 linker flags for XSERVERLIBS, overriding pkg-config 2205 XNESTMODULES_CFLAGS 2206 C compiler flags for XNESTMODULES, overriding pkg-config 2207 XNESTMODULES_LIBS 2208 linker flags for XNESTMODULES, overriding pkg-config 2209 PCIACCESS_CFLAGS 2210 C compiler flags for PCIACCESS, overriding pkg-config 2211 PCIACCESS_LIBS 2212 linker flags for PCIACCESS, overriding pkg-config 2213 DGA_CFLAGS C compiler flags for DGA, overriding pkg-config 2214 DGA_LIBS linker flags for DGA, overriding pkg-config 2215 XF86VIDMODE_CFLAGS 2216 C compiler flags for XF86VIDMODE, overriding pkg-config 2217 XF86VIDMODE_LIBS 2218 linker flags for XF86VIDMODE, overriding pkg-config 2219 XORG_MODULES_CFLAGS 2220 C compiler flags for XORG_MODULES, overriding pkg-config 2221 XORG_MODULES_LIBS 2222 linker flags for XORG_MODULES, overriding pkg-config 2223 XWINMODULES_CFLAGS 2224 C compiler flags for XWINMODULES, overriding pkg-config 2225 XWINMODULES_LIBS 2226 linker flags for XWINMODULES, overriding pkg-config 2227 XPBPROXY_CFLAGS 2228 C compiler flags for XPBPROXY, overriding pkg-config 2229 XPBPROXY_LIBS 2230 linker flags for XPBPROXY, overriding pkg-config 2231 DMXMODULES_CFLAGS 2232 C compiler flags for DMXMODULES, overriding pkg-config 2233 DMXMODULES_LIBS 2234 linker flags for DMXMODULES, overriding pkg-config 2235 XDMXCONFIG_DEP_CFLAGS 2236 C compiler flags for XDMXCONFIG_DEP, overriding pkg-config 2237 XDMXCONFIG_DEP_LIBS 2238 linker flags for XDMXCONFIG_DEP, overriding pkg-config 2239 DMXEXAMPLES_DEP_CFLAGS 2240 C compiler flags for DMXEXAMPLES_DEP, overriding pkg-config 2241 DMXEXAMPLES_DEP_LIBS 2242 linker flags for DMXEXAMPLES_DEP, overriding pkg-config 2243 DMXXMUEXAMPLES_DEP_CFLAGS 2244 C compiler flags for DMXXMUEXAMPLES_DEP, overriding pkg-config 2245 DMXXMUEXAMPLES_DEP_LIBS 2246 linker flags for DMXXMUEXAMPLES_DEP, overriding pkg-config 2247 DMXXIEXAMPLES_DEP_CFLAGS 2248 C compiler flags for DMXXIEXAMPLES_DEP, overriding pkg-config 2249 DMXXIEXAMPLES_DEP_LIBS 2250 linker flags for DMXXIEXAMPLES_DEP, overriding pkg-config 2251 XTSTEXAMPLES_DEP_CFLAGS 2252 C compiler flags for XTSTEXAMPLES_DEP, overriding pkg-config 2253 XTSTEXAMPLES_DEP_LIBS 2254 linker flags for XTSTEXAMPLES_DEP, overriding pkg-config 2255 XRESEXAMPLES_DEP_CFLAGS 2256 C compiler flags for XRESEXAMPLES_DEP, overriding pkg-config 2257 XRESEXAMPLES_DEP_LIBS 2258 linker flags for XRESEXAMPLES_DEP, overriding pkg-config 2259 X11EXAMPLES_DEP_CFLAGS 2260 C compiler flags for X11EXAMPLES_DEP, overriding pkg-config 2261 X11EXAMPLES_DEP_LIBS 2262 linker flags for X11EXAMPLES_DEP, overriding pkg-config 2263 XEPHYR_CFLAGS 2264 C compiler flags for XEPHYR, overriding pkg-config 2265 XEPHYR_LIBS linker flags for XEPHYR, overriding pkg-config 2266 TSLIB_CFLAGS 2267 C compiler flags for TSLIB, overriding pkg-config 2268 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config 2269 2270Use these variables to override the choices made by `configure' or to help 2271it to find libraries and programs with nonstandard names/locations. 2272 2273Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 2274_ACEOF 2275ac_status=$? 2276fi 2277 2278if test "$ac_init_help" = "recursive"; then 2279 # If there are subdirs, report their specific --help. 2280 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 2281 test -d "$ac_dir" || 2282 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 2283 continue 2284 ac_builddir=. 2285 2286case "$ac_dir" in 2287.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2288*) 2289 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2290 # A ".." for each directory in $ac_dir_suffix. 2291 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2292 case $ac_top_builddir_sub in 2293 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2294 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2295 esac ;; 2296esac 2297ac_abs_top_builddir=$ac_pwd 2298ac_abs_builddir=$ac_pwd$ac_dir_suffix 2299# for backward compatibility: 2300ac_top_builddir=$ac_top_build_prefix 2301 2302case $srcdir in 2303 .) # We are building in place. 2304 ac_srcdir=. 2305 ac_top_srcdir=$ac_top_builddir_sub 2306 ac_abs_top_srcdir=$ac_pwd ;; 2307 [\\/]* | ?:[\\/]* ) # Absolute name. 2308 ac_srcdir=$srcdir$ac_dir_suffix; 2309 ac_top_srcdir=$srcdir 2310 ac_abs_top_srcdir=$srcdir ;; 2311 *) # Relative name. 2312 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2313 ac_top_srcdir=$ac_top_build_prefix$srcdir 2314 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2315esac 2316ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2317 2318 cd "$ac_dir" || { ac_status=$?; continue; } 2319 # Check for guested configure. 2320 if test -f "$ac_srcdir/configure.gnu"; then 2321 echo && 2322 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 2323 elif test -f "$ac_srcdir/configure"; then 2324 echo && 2325 $SHELL "$ac_srcdir/configure" --help=recursive 2326 else 2327 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 2328 fi || ac_status=$? 2329 cd "$ac_pwd" || { ac_status=$?; break; } 2330 done 2331fi 2332 2333test -n "$ac_init_help" && exit $ac_status 2334if $ac_init_version; then 2335 cat <<\_ACEOF 2336xorg-server configure 1.6.3 2337generated by GNU Autoconf 2.63 2338 2339Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 23402002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 2341This configure script is free software; the Free Software Foundation 2342gives unlimited permission to copy, distribute and modify it. 2343_ACEOF 2344 exit 2345fi 2346cat >config.log <<_ACEOF 2347This file contains any messages produced by compilers while 2348running configure, to aid debugging if configure makes a mistake. 2349 2350It was created by xorg-server $as_me 1.6.3, which was 2351generated by GNU Autoconf 2.63. Invocation command line was 2352 2353 $ $0 $@ 2354 2355_ACEOF 2356exec 5>>config.log 2357{ 2358cat <<_ASUNAME 2359## --------- ## 2360## Platform. ## 2361## --------- ## 2362 2363hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2364uname -m = `(uname -m) 2>/dev/null || echo unknown` 2365uname -r = `(uname -r) 2>/dev/null || echo unknown` 2366uname -s = `(uname -s) 2>/dev/null || echo unknown` 2367uname -v = `(uname -v) 2>/dev/null || echo unknown` 2368 2369/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2370/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2371 2372/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2373/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2374/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2375/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2376/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2377/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2378/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2379 2380_ASUNAME 2381 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 $as_echo "PATH: $as_dir" 2388done 2389IFS=$as_save_IFS 2390 2391} >&5 2392 2393cat >&5 <<_ACEOF 2394 2395 2396## ----------- ## 2397## Core tests. ## 2398## ----------- ## 2399 2400_ACEOF 2401 2402 2403# Keep a trace of the command line. 2404# Strip out --no-create and --no-recursion so they do not pile up. 2405# Strip out --silent because we don't want to record it for future runs. 2406# Also quote any args containing shell meta-characters. 2407# Make two passes to allow for proper duplicate-argument suppression. 2408ac_configure_args= 2409ac_configure_args0= 2410ac_configure_args1= 2411ac_must_keep_next=false 2412for ac_pass in 1 2 2413do 2414 for ac_arg 2415 do 2416 case $ac_arg in 2417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2419 | -silent | --silent | --silen | --sile | --sil) 2420 continue ;; 2421 *\'*) 2422 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2423 esac 2424 case $ac_pass in 2425 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2426 2) 2427 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 2428 if test $ac_must_keep_next = true; then 2429 ac_must_keep_next=false # Got value, back to normal. 2430 else 2431 case $ac_arg in 2432 *=* | --config-cache | -C | -disable-* | --disable-* \ 2433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2435 | -with-* | --with-* | -without-* | --without-* | --x) 2436 case "$ac_configure_args0 " in 2437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2438 esac 2439 ;; 2440 -* ) ac_must_keep_next=true ;; 2441 esac 2442 fi 2443 ac_configure_args="$ac_configure_args '$ac_arg'" 2444 ;; 2445 esac 2446 done 2447done 2448$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 2449$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 2450 2451# When interrupted or exit'd, cleanup temporary files, and complete 2452# config.log. We remove comments because anyway the quotes in there 2453# would cause problems or look ugly. 2454# WARNING: Use '\'' to represent an apostrophe within the trap. 2455# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2456trap 'exit_status=$? 2457 # Save into config.log some information that might help in debugging. 2458 { 2459 echo 2460 2461 cat <<\_ASBOX 2462## ---------------- ## 2463## Cache variables. ## 2464## ---------------- ## 2465_ASBOX 2466 echo 2467 # The following way of writing the cache mishandles newlines in values, 2468( 2469 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2470 eval ac_val=\$$ac_var 2471 case $ac_val in #( 2472 *${as_nl}*) 2473 case $ac_var in #( 2474 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 2475$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2476 esac 2477 case $ac_var in #( 2478 _ | IFS | as_nl) ;; #( 2479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2480 *) $as_unset $ac_var ;; 2481 esac ;; 2482 esac 2483 done 2484 (set) 2>&1 | 2485 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2486 *${as_nl}ac_space=\ *) 2487 sed -n \ 2488 "s/'\''/'\''\\\\'\'''\''/g; 2489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2490 ;; #( 2491 *) 2492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2493 ;; 2494 esac | 2495 sort 2496) 2497 echo 2498 2499 cat <<\_ASBOX 2500## ----------------- ## 2501## Output variables. ## 2502## ----------------- ## 2503_ASBOX 2504 echo 2505 for ac_var in $ac_subst_vars 2506 do 2507 eval ac_val=\$$ac_var 2508 case $ac_val in 2509 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2510 esac 2511 $as_echo "$ac_var='\''$ac_val'\''" 2512 done | sort 2513 echo 2514 2515 if test -n "$ac_subst_files"; then 2516 cat <<\_ASBOX 2517## ------------------- ## 2518## File substitutions. ## 2519## ------------------- ## 2520_ASBOX 2521 echo 2522 for ac_var in $ac_subst_files 2523 do 2524 eval ac_val=\$$ac_var 2525 case $ac_val in 2526 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2527 esac 2528 $as_echo "$ac_var='\''$ac_val'\''" 2529 done | sort 2530 echo 2531 fi 2532 2533 if test -s confdefs.h; then 2534 cat <<\_ASBOX 2535## ----------- ## 2536## confdefs.h. ## 2537## ----------- ## 2538_ASBOX 2539 echo 2540 cat confdefs.h 2541 echo 2542 fi 2543 test "$ac_signal" != 0 && 2544 $as_echo "$as_me: caught signal $ac_signal" 2545 $as_echo "$as_me: exit $exit_status" 2546 } >&5 2547 rm -f core *.core core.conftest.* && 2548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2549 exit $exit_status 2550' 0 2551for ac_signal in 1 2 13 15; do 2552 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 2553done 2554ac_signal=0 2555 2556# confdefs.h avoids OS command line length limits that DEFS can exceed. 2557rm -f -r conftest* confdefs.h 2558 2559# Predefined preprocessor variables. 2560 2561cat >>confdefs.h <<_ACEOF 2562#define PACKAGE_NAME "$PACKAGE_NAME" 2563_ACEOF 2564 2565 2566cat >>confdefs.h <<_ACEOF 2567#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2568_ACEOF 2569 2570 2571cat >>confdefs.h <<_ACEOF 2572#define PACKAGE_VERSION "$PACKAGE_VERSION" 2573_ACEOF 2574 2575 2576cat >>confdefs.h <<_ACEOF 2577#define PACKAGE_STRING "$PACKAGE_STRING" 2578_ACEOF 2579 2580 2581cat >>confdefs.h <<_ACEOF 2582#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2583_ACEOF 2584 2585 2586# Let the site file select an alternate cache file if it wants to. 2587# Prefer an explicitly selected file to automatically selected ones. 2588ac_site_file1=NONE 2589ac_site_file2=NONE 2590if test -n "$CONFIG_SITE"; then 2591 ac_site_file1=$CONFIG_SITE 2592elif test "x$prefix" != xNONE; then 2593 ac_site_file1=$prefix/share/config.site 2594 ac_site_file2=$prefix/etc/config.site 2595else 2596 ac_site_file1=$ac_default_prefix/share/config.site 2597 ac_site_file2=$ac_default_prefix/etc/config.site 2598fi 2599for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2600do 2601 test "x$ac_site_file" = xNONE && continue 2602 if test -r "$ac_site_file"; then 2603 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 2604$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2605 sed 's/^/| /' "$ac_site_file" >&5 2606 . "$ac_site_file" 2607 fi 2608done 2609 2610if test -r "$cache_file"; then 2611 # Some versions of bash will fail to source /dev/null (special 2612 # files actually), so we avoid doing that. 2613 if test -f "$cache_file"; then 2614 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 2615$as_echo "$as_me: loading cache $cache_file" >&6;} 2616 case $cache_file in 2617 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2618 *) . "./$cache_file";; 2619 esac 2620 fi 2621else 2622 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 2623$as_echo "$as_me: creating cache $cache_file" >&6;} 2624 >$cache_file 2625fi 2626 2627# Check that the precious variables saved in the cache have kept the same 2628# value. 2629ac_cache_corrupted=false 2630for ac_var in $ac_precious_vars; do 2631 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2632 eval ac_new_set=\$ac_env_${ac_var}_set 2633 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2634 eval ac_new_val=\$ac_env_${ac_var}_value 2635 case $ac_old_set,$ac_new_set in 2636 set,) 2637 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2638$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2639 ac_cache_corrupted=: ;; 2640 ,set) 2641 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 2642$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2643 ac_cache_corrupted=: ;; 2644 ,);; 2645 *) 2646 if test "x$ac_old_val" != "x$ac_new_val"; then 2647 # differences in whitespace do not lead to failure. 2648 ac_old_val_w=`echo x $ac_old_val` 2649 ac_new_val_w=`echo x $ac_new_val` 2650 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2651 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2652$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2653 ac_cache_corrupted=: 2654 else 2655 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2656$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2657 eval $ac_var=\$ac_old_val 2658 fi 2659 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2660$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2661 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2662$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2663 fi;; 2664 esac 2665 # Pass precious variables to config.status. 2666 if test "$ac_new_set" = set; then 2667 case $ac_new_val in 2668 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2669 *) ac_arg=$ac_var=$ac_new_val ;; 2670 esac 2671 case " $ac_configure_args " in 2672 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2673 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2674 esac 2675 fi 2676done 2677if $ac_cache_corrupted; then 2678 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2680 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2681$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2682 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2683$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2684 { (exit 1); exit 1; }; } 2685fi 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711ac_ext=c 2712ac_cpp='$CPP $CPPFLAGS' 2713ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2714ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2715ac_compiler_gnu=$ac_cv_c_compiler_gnu 2716 2717 2718 2719am__api_version='1.10' 2720 2721ac_aux_dir= 2722for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2723 if test -f "$ac_dir/install-sh"; then 2724 ac_aux_dir=$ac_dir 2725 ac_install_sh="$ac_aux_dir/install-sh -c" 2726 break 2727 elif test -f "$ac_dir/install.sh"; then 2728 ac_aux_dir=$ac_dir 2729 ac_install_sh="$ac_aux_dir/install.sh -c" 2730 break 2731 elif test -f "$ac_dir/shtool"; then 2732 ac_aux_dir=$ac_dir 2733 ac_install_sh="$ac_aux_dir/shtool install -c" 2734 break 2735 fi 2736done 2737if test -z "$ac_aux_dir"; then 2738 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2739$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2740 { (exit 1); exit 1; }; } 2741fi 2742 2743# These three variables are undocumented and unsupported, 2744# and are intended to be withdrawn in a future Autoconf release. 2745# They can cause serious problems if a builder's source tree is in a directory 2746# whose full name contains unusual characters. 2747ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2748ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2749ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2750 2751 2752# Find a good install program. We prefer a C program (faster), 2753# so one script is as good as another. But avoid the broken or 2754# incompatible versions: 2755# SysV /etc/install, /usr/sbin/install 2756# SunOS /usr/etc/install 2757# IRIX /sbin/install 2758# AIX /bin/install 2759# AmigaOS /C/install, which installs bootblocks on floppy discs 2760# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2761# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2762# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2763# OS/2's system install, which has a completely different semantic 2764# ./install, which can be erroneously created by make from ./install.sh. 2765# Reject install programs that cannot install multiple files. 2766{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2767$as_echo_n "checking for a BSD-compatible install... " >&6; } 2768if test -z "$INSTALL"; then 2769if test "${ac_cv_path_install+set}" = set; then 2770 $as_echo_n "(cached) " >&6 2771else 2772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2773for as_dir in $PATH 2774do 2775 IFS=$as_save_IFS 2776 test -z "$as_dir" && as_dir=. 2777 # Account for people who put trailing slashes in PATH elements. 2778case $as_dir/ in 2779 ./ | .// | /cC/* | \ 2780 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2781 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2782 /usr/ucb/* ) ;; 2783 *) 2784 # OSF1 and SCO ODT 3.0 have their own names for install. 2785 # Don't use installbsd from OSF since it installs stuff as root 2786 # by default. 2787 for ac_prog in ginstall scoinst install; do 2788 for ac_exec_ext in '' $ac_executable_extensions; do 2789 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2790 if test $ac_prog = install && 2791 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2792 # AIX install. It has an incompatible calling convention. 2793 : 2794 elif test $ac_prog = install && 2795 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2796 # program-specific install script used by HP pwplus--don't use. 2797 : 2798 else 2799 rm -rf conftest.one conftest.two conftest.dir 2800 echo one > conftest.one 2801 echo two > conftest.two 2802 mkdir conftest.dir 2803 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2804 test -s conftest.one && test -s conftest.two && 2805 test -s conftest.dir/conftest.one && 2806 test -s conftest.dir/conftest.two 2807 then 2808 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2809 break 3 2810 fi 2811 fi 2812 fi 2813 done 2814 done 2815 ;; 2816esac 2817 2818done 2819IFS=$as_save_IFS 2820 2821rm -rf conftest.one conftest.two conftest.dir 2822 2823fi 2824 if test "${ac_cv_path_install+set}" = set; then 2825 INSTALL=$ac_cv_path_install 2826 else 2827 # As a last resort, use the slow shell script. Don't cache a 2828 # value for INSTALL within a source directory, because that will 2829 # break other packages using the cache if that directory is 2830 # removed, or if the value is a relative name. 2831 INSTALL=$ac_install_sh 2832 fi 2833fi 2834{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2835$as_echo "$INSTALL" >&6; } 2836 2837# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2838# It thinks the first close brace ends the variable substitution. 2839test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2840 2841test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2842 2843test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2844 2845{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2846$as_echo_n "checking whether build environment is sane... " >&6; } 2847# Just in case 2848sleep 1 2849echo timestamp > conftest.file 2850# Do `set' in a subshell so we don't clobber the current shell's 2851# arguments. Must try -L first in case configure is actually a 2852# symlink; some systems play weird games with the mod time of symlinks 2853# (eg FreeBSD returns the mod time of the symlink's containing 2854# directory). 2855if ( 2856 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2857 if test "$*" = "X"; then 2858 # -L didn't work. 2859 set X `ls -t $srcdir/configure conftest.file` 2860 fi 2861 rm -f conftest.file 2862 if test "$*" != "X $srcdir/configure conftest.file" \ 2863 && test "$*" != "X conftest.file $srcdir/configure"; then 2864 2865 # If neither matched, then we have a broken ls. This can happen 2866 # if, for instance, CONFIG_SHELL is bash and it inherits a 2867 # broken ls alias from the environment. This has actually 2868 # happened. Such a system could not be considered "sane". 2869 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2870alias in your environment" >&5 2871$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2872alias in your environment" >&2;} 2873 { (exit 1); exit 1; }; } 2874 fi 2875 2876 test "$2" = conftest.file 2877 ) 2878then 2879 # Ok. 2880 : 2881else 2882 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2883Check your system clock" >&5 2884$as_echo "$as_me: error: newly created file is older than distributed files! 2885Check your system clock" >&2;} 2886 { (exit 1); exit 1; }; } 2887fi 2888{ $as_echo "$as_me:$LINENO: result: yes" >&5 2889$as_echo "yes" >&6; } 2890test "$program_prefix" != NONE && 2891 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2892# Use a double $ so make ignores it. 2893test "$program_suffix" != NONE && 2894 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2895# Double any \ or $. 2896# By default was `s,x,x', remove it if useless. 2897ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2898program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2899 2900# expand $ac_aux_dir to an absolute path 2901am_aux_dir=`cd $ac_aux_dir && pwd` 2902 2903test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2904# Use eval to expand $SHELL 2905if eval "$MISSING --run true"; then 2906 am_missing_run="$MISSING --run " 2907else 2908 am_missing_run= 2909 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2910$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2911fi 2912 2913{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2914$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2915if test -z "$MKDIR_P"; then 2916 if test "${ac_cv_path_mkdir+set}" = set; then 2917 $as_echo_n "(cached) " >&6 2918else 2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2920for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2921do 2922 IFS=$as_save_IFS 2923 test -z "$as_dir" && as_dir=. 2924 for ac_prog in mkdir gmkdir; do 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2926 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2927 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2928 'mkdir (GNU coreutils) '* | \ 2929 'mkdir (coreutils) '* | \ 2930 'mkdir (fileutils) '4.1*) 2931 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2932 break 3;; 2933 esac 2934 done 2935 done 2936done 2937IFS=$as_save_IFS 2938 2939fi 2940 2941 if test "${ac_cv_path_mkdir+set}" = set; then 2942 MKDIR_P="$ac_cv_path_mkdir -p" 2943 else 2944 # As a last resort, use the slow shell script. Don't cache a 2945 # value for MKDIR_P within a source directory, because that will 2946 # break other packages using the cache if that directory is 2947 # removed, or if the value is a relative name. 2948 test -d ./--version && rmdir ./--version 2949 MKDIR_P="$ac_install_sh -d" 2950 fi 2951fi 2952{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2953$as_echo "$MKDIR_P" >&6; } 2954 2955mkdir_p="$MKDIR_P" 2956case $mkdir_p in 2957 [\\/$]* | ?:[\\/]*) ;; 2958 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2959esac 2960 2961for ac_prog in gawk mawk nawk awk 2962do 2963 # Extract the first word of "$ac_prog", so it can be a program name with args. 2964set dummy $ac_prog; ac_word=$2 2965{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2966$as_echo_n "checking for $ac_word... " >&6; } 2967if test "${ac_cv_prog_AWK+set}" = set; then 2968 $as_echo_n "(cached) " >&6 2969else 2970 if test -n "$AWK"; then 2971 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2972else 2973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2974for as_dir in $PATH 2975do 2976 IFS=$as_save_IFS 2977 test -z "$as_dir" && as_dir=. 2978 for ac_exec_ext in '' $ac_executable_extensions; do 2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2980 ac_cv_prog_AWK="$ac_prog" 2981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2982 break 2 2983 fi 2984done 2985done 2986IFS=$as_save_IFS 2987 2988fi 2989fi 2990AWK=$ac_cv_prog_AWK 2991if test -n "$AWK"; then 2992 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2993$as_echo "$AWK" >&6; } 2994else 2995 { $as_echo "$as_me:$LINENO: result: no" >&5 2996$as_echo "no" >&6; } 2997fi 2998 2999 3000 test -n "$AWK" && break 3001done 3002 3003{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3004$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3005set x ${MAKE-make} 3006ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3007if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3008 $as_echo_n "(cached) " >&6 3009else 3010 cat >conftest.make <<\_ACEOF 3011SHELL = /bin/sh 3012all: 3013 @echo '@@@%%%=$(MAKE)=@@@%%%' 3014_ACEOF 3015# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3016case `${MAKE-make} -f conftest.make 2>/dev/null` in 3017 *@@@%%%=?*=@@@%%%*) 3018 eval ac_cv_prog_make_${ac_make}_set=yes;; 3019 *) 3020 eval ac_cv_prog_make_${ac_make}_set=no;; 3021esac 3022rm -f conftest.make 3023fi 3024if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3025 { $as_echo "$as_me:$LINENO: result: yes" >&5 3026$as_echo "yes" >&6; } 3027 SET_MAKE= 3028else 3029 { $as_echo "$as_me:$LINENO: result: no" >&5 3030$as_echo "no" >&6; } 3031 SET_MAKE="MAKE=${MAKE-make}" 3032fi 3033 3034rm -rf .tst 2>/dev/null 3035mkdir .tst 2>/dev/null 3036if test -d .tst; then 3037 am__leading_dot=. 3038else 3039 am__leading_dot=_ 3040fi 3041rmdir .tst 2>/dev/null 3042 3043if test "`cd $srcdir && pwd`" != "`pwd`"; then 3044 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3045 # is not polluted with repeated "-I." 3046 am__isrc=' -I$(srcdir)' 3047 # test to see if srcdir already configured 3048 if test -f $srcdir/config.status; then 3049 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 3050$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 3051 { (exit 1); exit 1; }; } 3052 fi 3053fi 3054 3055# test whether we have cygpath 3056if test -z "$CYGPATH_W"; then 3057 if (cygpath --version) >/dev/null 2>/dev/null; then 3058 CYGPATH_W='cygpath -w' 3059 else 3060 CYGPATH_W=echo 3061 fi 3062fi 3063 3064 3065# Define the identity of the package. 3066 PACKAGE='xorg-server' 3067 VERSION='1.6.3' 3068 3069 3070cat >>confdefs.h <<_ACEOF 3071#define PACKAGE "$PACKAGE" 3072_ACEOF 3073 3074 3075cat >>confdefs.h <<_ACEOF 3076#define VERSION "$VERSION" 3077_ACEOF 3078 3079# Some tools Automake needs. 3080 3081ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3082 3083 3084AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3085 3086 3087AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3088 3089 3090AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3091 3092 3093MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3094 3095install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 3096 3097# Installed binaries are usually stripped using `strip' when the user 3098# run `make install-strip'. However `strip' might not be the right 3099# tool to use in cross-compilation environments, therefore Automake 3100# will honor the `STRIP' environment variable to overrule this program. 3101if test "$cross_compiling" != no; then 3102 if test -n "$ac_tool_prefix"; then 3103 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3104set dummy ${ac_tool_prefix}strip; ac_word=$2 3105{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3106$as_echo_n "checking for $ac_word... " >&6; } 3107if test "${ac_cv_prog_STRIP+set}" = set; then 3108 $as_echo_n "(cached) " >&6 3109else 3110 if test -n "$STRIP"; then 3111 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3112else 3113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3114for as_dir in $PATH 3115do 3116 IFS=$as_save_IFS 3117 test -z "$as_dir" && as_dir=. 3118 for ac_exec_ext in '' $ac_executable_extensions; do 3119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3120 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3122 break 2 3123 fi 3124done 3125done 3126IFS=$as_save_IFS 3127 3128fi 3129fi 3130STRIP=$ac_cv_prog_STRIP 3131if test -n "$STRIP"; then 3132 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 3133$as_echo "$STRIP" >&6; } 3134else 3135 { $as_echo "$as_me:$LINENO: result: no" >&5 3136$as_echo "no" >&6; } 3137fi 3138 3139 3140fi 3141if test -z "$ac_cv_prog_STRIP"; then 3142 ac_ct_STRIP=$STRIP 3143 # Extract the first word of "strip", so it can be a program name with args. 3144set dummy strip; ac_word=$2 3145{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3146$as_echo_n "checking for $ac_word... " >&6; } 3147if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3148 $as_echo_n "(cached) " >&6 3149else 3150 if test -n "$ac_ct_STRIP"; then 3151 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3152else 3153as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3154for as_dir in $PATH 3155do 3156 IFS=$as_save_IFS 3157 test -z "$as_dir" && as_dir=. 3158 for ac_exec_ext in '' $ac_executable_extensions; do 3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3160 ac_cv_prog_ac_ct_STRIP="strip" 3161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3162 break 2 3163 fi 3164done 3165done 3166IFS=$as_save_IFS 3167 3168fi 3169fi 3170ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3171if test -n "$ac_ct_STRIP"; then 3172 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 3173$as_echo "$ac_ct_STRIP" >&6; } 3174else 3175 { $as_echo "$as_me:$LINENO: result: no" >&5 3176$as_echo "no" >&6; } 3177fi 3178 3179 if test "x$ac_ct_STRIP" = x; then 3180 STRIP=":" 3181 else 3182 case $cross_compiling:$ac_tool_warned in 3183yes:) 3184{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3185$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3186ac_tool_warned=yes ;; 3187esac 3188 STRIP=$ac_ct_STRIP 3189 fi 3190else 3191 STRIP="$ac_cv_prog_STRIP" 3192fi 3193 3194fi 3195INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3196 3197# We need awk for the "check" target. The system "awk" is bad on 3198# some platforms. 3199# Always define AMTAR for backward compatibility. 3200 3201AMTAR=${AMTAR-"${am_missing_run}tar"} 3202 3203am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3204 3205 3206 3207 3208 3209{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 3210$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3211 # Check whether --enable-maintainer-mode was given. 3212if test "${enable_maintainer_mode+set}" = set; then 3213 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3214else 3215 USE_MAINTAINER_MODE=no 3216fi 3217 3218 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 3219$as_echo "$USE_MAINTAINER_MODE" >&6; } 3220 if test $USE_MAINTAINER_MODE = yes; then 3221 MAINTAINER_MODE_TRUE= 3222 MAINTAINER_MODE_FALSE='#' 3223else 3224 MAINTAINER_MODE_TRUE='#' 3225 MAINTAINER_MODE_FALSE= 3226fi 3227 3228 MAINT=$MAINTAINER_MODE_TRUE 3229 3230 3231 3232RELEASE_DATE="2009-7-31" 3233 3234ac_config_headers="$ac_config_headers include/do-not-use-config.h" 3235 3236ac_config_headers="$ac_config_headers include/xorg-server.h" 3237 3238ac_config_headers="$ac_config_headers include/dix-config.h" 3239 3240ac_config_headers="$ac_config_headers include/xorg-config.h" 3241 3242ac_config_headers="$ac_config_headers include/xkb-config.h" 3243 3244ac_config_headers="$ac_config_headers include/xwin-config.h" 3245 3246ac_config_headers="$ac_config_headers include/kdrive-config.h" 3247 3248 3249ac_ext=c 3250ac_cpp='$CPP $CPPFLAGS' 3251ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3252ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3253ac_compiler_gnu=$ac_cv_c_compiler_gnu 3254if test -n "$ac_tool_prefix"; then 3255 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3256set dummy ${ac_tool_prefix}gcc; ac_word=$2 3257{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3258$as_echo_n "checking for $ac_word... " >&6; } 3259if test "${ac_cv_prog_CC+set}" = set; then 3260 $as_echo_n "(cached) " >&6 3261else 3262 if test -n "$CC"; then 3263 ac_cv_prog_CC="$CC" # Let the user override the test. 3264else 3265as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3266for as_dir in $PATH 3267do 3268 IFS=$as_save_IFS 3269 test -z "$as_dir" && as_dir=. 3270 for ac_exec_ext in '' $ac_executable_extensions; do 3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3272 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3274 break 2 3275 fi 3276done 3277done 3278IFS=$as_save_IFS 3279 3280fi 3281fi 3282CC=$ac_cv_prog_CC 3283if test -n "$CC"; then 3284 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3285$as_echo "$CC" >&6; } 3286else 3287 { $as_echo "$as_me:$LINENO: result: no" >&5 3288$as_echo "no" >&6; } 3289fi 3290 3291 3292fi 3293if test -z "$ac_cv_prog_CC"; then 3294 ac_ct_CC=$CC 3295 # Extract the first word of "gcc", so it can be a program name with args. 3296set dummy gcc; ac_word=$2 3297{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3298$as_echo_n "checking for $ac_word... " >&6; } 3299if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3300 $as_echo_n "(cached) " >&6 3301else 3302 if test -n "$ac_ct_CC"; then 3303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3304else 3305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3306for as_dir in $PATH 3307do 3308 IFS=$as_save_IFS 3309 test -z "$as_dir" && as_dir=. 3310 for ac_exec_ext in '' $ac_executable_extensions; do 3311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3312 ac_cv_prog_ac_ct_CC="gcc" 3313 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3314 break 2 3315 fi 3316done 3317done 3318IFS=$as_save_IFS 3319 3320fi 3321fi 3322ac_ct_CC=$ac_cv_prog_ac_ct_CC 3323if test -n "$ac_ct_CC"; then 3324 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3325$as_echo "$ac_ct_CC" >&6; } 3326else 3327 { $as_echo "$as_me:$LINENO: result: no" >&5 3328$as_echo "no" >&6; } 3329fi 3330 3331 if test "x$ac_ct_CC" = x; then 3332 CC="" 3333 else 3334 case $cross_compiling:$ac_tool_warned in 3335yes:) 3336{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3337$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3338ac_tool_warned=yes ;; 3339esac 3340 CC=$ac_ct_CC 3341 fi 3342else 3343 CC="$ac_cv_prog_CC" 3344fi 3345 3346if test -z "$CC"; then 3347 if test -n "$ac_tool_prefix"; then 3348 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3349set dummy ${ac_tool_prefix}cc; ac_word=$2 3350{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3351$as_echo_n "checking for $ac_word... " >&6; } 3352if test "${ac_cv_prog_CC+set}" = set; then 3353 $as_echo_n "(cached) " >&6 3354else 3355 if test -n "$CC"; then 3356 ac_cv_prog_CC="$CC" # Let the user override the test. 3357else 3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359for as_dir in $PATH 3360do 3361 IFS=$as_save_IFS 3362 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do 3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3365 ac_cv_prog_CC="${ac_tool_prefix}cc" 3366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 break 2 3368 fi 3369done 3370done 3371IFS=$as_save_IFS 3372 3373fi 3374fi 3375CC=$ac_cv_prog_CC 3376if test -n "$CC"; then 3377 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3378$as_echo "$CC" >&6; } 3379else 3380 { $as_echo "$as_me:$LINENO: result: no" >&5 3381$as_echo "no" >&6; } 3382fi 3383 3384 3385 fi 3386fi 3387if test -z "$CC"; then 3388 # Extract the first word of "cc", so it can be a program name with args. 3389set dummy cc; ac_word=$2 3390{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3391$as_echo_n "checking for $ac_word... " >&6; } 3392if test "${ac_cv_prog_CC+set}" = set; then 3393 $as_echo_n "(cached) " >&6 3394else 3395 if test -n "$CC"; then 3396 ac_cv_prog_CC="$CC" # Let the user override the test. 3397else 3398 ac_prog_rejected=no 3399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3400for as_dir in $PATH 3401do 3402 IFS=$as_save_IFS 3403 test -z "$as_dir" && as_dir=. 3404 for ac_exec_ext in '' $ac_executable_extensions; do 3405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3406 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3407 ac_prog_rejected=yes 3408 continue 3409 fi 3410 ac_cv_prog_CC="cc" 3411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3412 break 2 3413 fi 3414done 3415done 3416IFS=$as_save_IFS 3417 3418if test $ac_prog_rejected = yes; then 3419 # We found a bogon in the path, so make sure we never use it. 3420 set dummy $ac_cv_prog_CC 3421 shift 3422 if test $# != 0; then 3423 # We chose a different compiler from the bogus one. 3424 # However, it has the same basename, so the bogon will be chosen 3425 # first if we set CC to just the basename; use the full file name. 3426 shift 3427 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3428 fi 3429fi 3430fi 3431fi 3432CC=$ac_cv_prog_CC 3433if test -n "$CC"; then 3434 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3435$as_echo "$CC" >&6; } 3436else 3437 { $as_echo "$as_me:$LINENO: result: no" >&5 3438$as_echo "no" >&6; } 3439fi 3440 3441 3442fi 3443if test -z "$CC"; then 3444 if test -n "$ac_tool_prefix"; then 3445 for ac_prog in cl.exe 3446 do 3447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3448set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3449{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3450$as_echo_n "checking for $ac_word... " >&6; } 3451if test "${ac_cv_prog_CC+set}" = set; then 3452 $as_echo_n "(cached) " >&6 3453else 3454 if test -n "$CC"; then 3455 ac_cv_prog_CC="$CC" # Let the user override the test. 3456else 3457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3458for as_dir in $PATH 3459do 3460 IFS=$as_save_IFS 3461 test -z "$as_dir" && as_dir=. 3462 for ac_exec_ext in '' $ac_executable_extensions; do 3463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3464 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3466 break 2 3467 fi 3468done 3469done 3470IFS=$as_save_IFS 3471 3472fi 3473fi 3474CC=$ac_cv_prog_CC 3475if test -n "$CC"; then 3476 { $as_echo "$as_me:$LINENO: result: $CC" >&5 3477$as_echo "$CC" >&6; } 3478else 3479 { $as_echo "$as_me:$LINENO: result: no" >&5 3480$as_echo "no" >&6; } 3481fi 3482 3483 3484 test -n "$CC" && break 3485 done 3486fi 3487if test -z "$CC"; then 3488 ac_ct_CC=$CC 3489 for ac_prog in cl.exe 3490do 3491 # Extract the first word of "$ac_prog", so it can be a program name with args. 3492set dummy $ac_prog; ac_word=$2 3493{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 3494$as_echo_n "checking for $ac_word... " >&6; } 3495if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3496 $as_echo_n "(cached) " >&6 3497else 3498 if test -n "$ac_ct_CC"; then 3499 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3500else 3501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3502for as_dir in $PATH 3503do 3504 IFS=$as_save_IFS 3505 test -z "$as_dir" && as_dir=. 3506 for ac_exec_ext in '' $ac_executable_extensions; do 3507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3508 ac_cv_prog_ac_ct_CC="$ac_prog" 3509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3510 break 2 3511 fi 3512done 3513done 3514IFS=$as_save_IFS 3515 3516fi 3517fi 3518ac_ct_CC=$ac_cv_prog_ac_ct_CC 3519if test -n "$ac_ct_CC"; then 3520 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3521$as_echo "$ac_ct_CC" >&6; } 3522else 3523 { $as_echo "$as_me:$LINENO: result: no" >&5 3524$as_echo "no" >&6; } 3525fi 3526 3527 3528 test -n "$ac_ct_CC" && break 3529done 3530 3531 if test "x$ac_ct_CC" = x; then 3532 CC="" 3533 else 3534 case $cross_compiling:$ac_tool_warned in 3535yes:) 3536{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3537$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3538ac_tool_warned=yes ;; 3539esac 3540 CC=$ac_ct_CC 3541 fi 3542fi 3543 3544fi 3545 3546 3547test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3548$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3549{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3550See \`config.log' for more details." >&5 3551$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3552See \`config.log' for more details." >&2;} 3553 { (exit 1); exit 1; }; }; } 3554 3555# Provide some information about the compiler. 3556$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3557set X $ac_compile 3558ac_compiler=$2 3559{ (ac_try="$ac_compiler --version >&5" 3560case "(($ac_try" in 3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3562 *) ac_try_echo=$ac_try;; 3563esac 3564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3565$as_echo "$ac_try_echo") >&5 3566 (eval "$ac_compiler --version >&5") 2>&5 3567 ac_status=$? 3568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3569 (exit $ac_status); } 3570{ (ac_try="$ac_compiler -v >&5" 3571case "(($ac_try" in 3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3573 *) ac_try_echo=$ac_try;; 3574esac 3575eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3576$as_echo "$ac_try_echo") >&5 3577 (eval "$ac_compiler -v >&5") 2>&5 3578 ac_status=$? 3579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3580 (exit $ac_status); } 3581{ (ac_try="$ac_compiler -V >&5" 3582case "(($ac_try" in 3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3584 *) ac_try_echo=$ac_try;; 3585esac 3586eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3587$as_echo "$ac_try_echo") >&5 3588 (eval "$ac_compiler -V >&5") 2>&5 3589 ac_status=$? 3590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3591 (exit $ac_status); } 3592 3593cat >conftest.$ac_ext <<_ACEOF 3594/* confdefs.h. */ 3595_ACEOF 3596cat confdefs.h >>conftest.$ac_ext 3597cat >>conftest.$ac_ext <<_ACEOF 3598/* end confdefs.h. */ 3599 3600int 3601main () 3602{ 3603 3604 ; 3605 return 0; 3606} 3607_ACEOF 3608ac_clean_files_save=$ac_clean_files 3609ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3610# Try to create an executable without -o first, disregard a.out. 3611# It will help us diagnose broken compilers, and finding out an intuition 3612# of exeext. 3613{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3614$as_echo_n "checking for C compiler default output file name... " >&6; } 3615ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3616 3617# The possible output files: 3618ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3619 3620ac_rmfiles= 3621for ac_file in $ac_files 3622do 3623 case $ac_file in 3624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3625 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3626 esac 3627done 3628rm -f $ac_rmfiles 3629 3630if { (ac_try="$ac_link_default" 3631case "(($ac_try" in 3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3633 *) ac_try_echo=$ac_try;; 3634esac 3635eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3636$as_echo "$ac_try_echo") >&5 3637 (eval "$ac_link_default") 2>&5 3638 ac_status=$? 3639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3640 (exit $ac_status); }; then 3641 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3642# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3643# in a Makefile. We should not override ac_cv_exeext if it was cached, 3644# so that the user can short-circuit this test for compilers unknown to 3645# Autoconf. 3646for ac_file in $ac_files '' 3647do 3648 test -f "$ac_file" || continue 3649 case $ac_file in 3650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3651 ;; 3652 [ab].out ) 3653 # We found the default executable, but exeext='' is most 3654 # certainly right. 3655 break;; 3656 *.* ) 3657 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3658 then :; else 3659 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3660 fi 3661 # We set ac_cv_exeext here because the later test for it is not 3662 # safe: cross compilers may not add the suffix if given an `-o' 3663 # argument, so we may need to know it at that point already. 3664 # Even if this section looks crufty: it has the advantage of 3665 # actually working. 3666 break;; 3667 * ) 3668 break;; 3669 esac 3670done 3671test "$ac_cv_exeext" = no && ac_cv_exeext= 3672 3673else 3674 ac_file='' 3675fi 3676 3677{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3678$as_echo "$ac_file" >&6; } 3679if test -z "$ac_file"; then 3680 $as_echo "$as_me: failed program was:" >&5 3681sed 's/^/| /' conftest.$ac_ext >&5 3682 3683{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3684$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3685{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3686See \`config.log' for more details." >&5 3687$as_echo "$as_me: error: C compiler cannot create executables 3688See \`config.log' for more details." >&2;} 3689 { (exit 77); exit 77; }; }; } 3690fi 3691 3692ac_exeext=$ac_cv_exeext 3693 3694# Check that the compiler produces executables we can run. If not, either 3695# the compiler is broken, or we cross compile. 3696{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3697$as_echo_n "checking whether the C compiler works... " >&6; } 3698# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3699# If not cross compiling, check that we can run a simple program. 3700if test "$cross_compiling" != yes; then 3701 if { ac_try='./$ac_file' 3702 { (case "(($ac_try" in 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3704 *) ac_try_echo=$ac_try;; 3705esac 3706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3707$as_echo "$ac_try_echo") >&5 3708 (eval "$ac_try") 2>&5 3709 ac_status=$? 3710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3711 (exit $ac_status); }; }; then 3712 cross_compiling=no 3713 else 3714 if test "$cross_compiling" = maybe; then 3715 cross_compiling=yes 3716 else 3717 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3719{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3720If you meant to cross compile, use \`--host'. 3721See \`config.log' for more details." >&5 3722$as_echo "$as_me: error: cannot run C compiled programs. 3723If you meant to cross compile, use \`--host'. 3724See \`config.log' for more details." >&2;} 3725 { (exit 1); exit 1; }; }; } 3726 fi 3727 fi 3728fi 3729{ $as_echo "$as_me:$LINENO: result: yes" >&5 3730$as_echo "yes" >&6; } 3731 3732rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3733ac_clean_files=$ac_clean_files_save 3734# Check that the compiler produces executables we can run. If not, either 3735# the compiler is broken, or we cross compile. 3736{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3737$as_echo_n "checking whether we are cross compiling... " >&6; } 3738{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3739$as_echo "$cross_compiling" >&6; } 3740 3741{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3742$as_echo_n "checking for suffix of executables... " >&6; } 3743if { (ac_try="$ac_link" 3744case "(($ac_try" in 3745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3746 *) ac_try_echo=$ac_try;; 3747esac 3748eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3749$as_echo "$ac_try_echo") >&5 3750 (eval "$ac_link") 2>&5 3751 ac_status=$? 3752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3753 (exit $ac_status); }; then 3754 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3755# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3756# work properly (i.e., refer to `conftest.exe'), while it won't with 3757# `rm'. 3758for ac_file in conftest.exe conftest conftest.*; do 3759 test -f "$ac_file" || continue 3760 case $ac_file in 3761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3762 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3763 break;; 3764 * ) break;; 3765 esac 3766done 3767else 3768 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3770{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3771See \`config.log' for more details." >&5 3772$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3773See \`config.log' for more details." >&2;} 3774 { (exit 1); exit 1; }; }; } 3775fi 3776 3777rm -f conftest$ac_cv_exeext 3778{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3779$as_echo "$ac_cv_exeext" >&6; } 3780 3781rm -f conftest.$ac_ext 3782EXEEXT=$ac_cv_exeext 3783ac_exeext=$EXEEXT 3784{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3785$as_echo_n "checking for suffix of object files... " >&6; } 3786if test "${ac_cv_objext+set}" = set; then 3787 $as_echo_n "(cached) " >&6 3788else 3789 cat >conftest.$ac_ext <<_ACEOF 3790/* confdefs.h. */ 3791_ACEOF 3792cat confdefs.h >>conftest.$ac_ext 3793cat >>conftest.$ac_ext <<_ACEOF 3794/* end confdefs.h. */ 3795 3796int 3797main () 3798{ 3799 3800 ; 3801 return 0; 3802} 3803_ACEOF 3804rm -f conftest.o conftest.obj 3805if { (ac_try="$ac_compile" 3806case "(($ac_try" in 3807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3808 *) ac_try_echo=$ac_try;; 3809esac 3810eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3811$as_echo "$ac_try_echo") >&5 3812 (eval "$ac_compile") 2>&5 3813 ac_status=$? 3814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3815 (exit $ac_status); }; then 3816 for ac_file in conftest.o conftest.obj conftest.*; do 3817 test -f "$ac_file" || continue; 3818 case $ac_file in 3819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3821 break;; 3822 esac 3823done 3824else 3825 $as_echo "$as_me: failed program was:" >&5 3826sed 's/^/| /' conftest.$ac_ext >&5 3827 3828{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3829$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3830{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3831See \`config.log' for more details." >&5 3832$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3833See \`config.log' for more details." >&2;} 3834 { (exit 1); exit 1; }; }; } 3835fi 3836 3837rm -f conftest.$ac_cv_objext conftest.$ac_ext 3838fi 3839{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3840$as_echo "$ac_cv_objext" >&6; } 3841OBJEXT=$ac_cv_objext 3842ac_objext=$OBJEXT 3843{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3844$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3845if test "${ac_cv_c_compiler_gnu+set}" = set; then 3846 $as_echo_n "(cached) " >&6 3847else 3848 cat >conftest.$ac_ext <<_ACEOF 3849/* confdefs.h. */ 3850_ACEOF 3851cat confdefs.h >>conftest.$ac_ext 3852cat >>conftest.$ac_ext <<_ACEOF 3853/* end confdefs.h. */ 3854 3855int 3856main () 3857{ 3858#ifndef __GNUC__ 3859 choke me 3860#endif 3861 3862 ; 3863 return 0; 3864} 3865_ACEOF 3866rm -f conftest.$ac_objext 3867if { (ac_try="$ac_compile" 3868case "(($ac_try" in 3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3870 *) ac_try_echo=$ac_try;; 3871esac 3872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3873$as_echo "$ac_try_echo") >&5 3874 (eval "$ac_compile") 2>conftest.er1 3875 ac_status=$? 3876 grep -v '^ *+' conftest.er1 >conftest.err 3877 rm -f conftest.er1 3878 cat conftest.err >&5 3879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3880 (exit $ac_status); } && { 3881 test -z "$ac_c_werror_flag" || 3882 test ! -s conftest.err 3883 } && test -s conftest.$ac_objext; then 3884 ac_compiler_gnu=yes 3885else 3886 $as_echo "$as_me: failed program was:" >&5 3887sed 's/^/| /' conftest.$ac_ext >&5 3888 3889 ac_compiler_gnu=no 3890fi 3891 3892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3893ac_cv_c_compiler_gnu=$ac_compiler_gnu 3894 3895fi 3896{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3897$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3898if test $ac_compiler_gnu = yes; then 3899 GCC=yes 3900else 3901 GCC= 3902fi 3903ac_test_CFLAGS=${CFLAGS+set} 3904ac_save_CFLAGS=$CFLAGS 3905{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3906$as_echo_n "checking whether $CC accepts -g... " >&6; } 3907if test "${ac_cv_prog_cc_g+set}" = set; then 3908 $as_echo_n "(cached) " >&6 3909else 3910 ac_save_c_werror_flag=$ac_c_werror_flag 3911 ac_c_werror_flag=yes 3912 ac_cv_prog_cc_g=no 3913 CFLAGS="-g" 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 3921int 3922main () 3923{ 3924 3925 ; 3926 return 0; 3927} 3928_ACEOF 3929rm -f conftest.$ac_objext 3930if { (ac_try="$ac_compile" 3931case "(($ac_try" in 3932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3933 *) ac_try_echo=$ac_try;; 3934esac 3935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3936$as_echo "$ac_try_echo") >&5 3937 (eval "$ac_compile") 2>conftest.er1 3938 ac_status=$? 3939 grep -v '^ *+' conftest.er1 >conftest.err 3940 rm -f conftest.er1 3941 cat conftest.err >&5 3942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3943 (exit $ac_status); } && { 3944 test -z "$ac_c_werror_flag" || 3945 test ! -s conftest.err 3946 } && test -s conftest.$ac_objext; then 3947 ac_cv_prog_cc_g=yes 3948else 3949 $as_echo "$as_me: failed program was:" >&5 3950sed 's/^/| /' conftest.$ac_ext >&5 3951 3952 CFLAGS="" 3953 cat >conftest.$ac_ext <<_ACEOF 3954/* confdefs.h. */ 3955_ACEOF 3956cat confdefs.h >>conftest.$ac_ext 3957cat >>conftest.$ac_ext <<_ACEOF 3958/* end confdefs.h. */ 3959 3960int 3961main () 3962{ 3963 3964 ; 3965 return 0; 3966} 3967_ACEOF 3968rm -f conftest.$ac_objext 3969if { (ac_try="$ac_compile" 3970case "(($ac_try" in 3971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3972 *) ac_try_echo=$ac_try;; 3973esac 3974eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3975$as_echo "$ac_try_echo") >&5 3976 (eval "$ac_compile") 2>conftest.er1 3977 ac_status=$? 3978 grep -v '^ *+' conftest.er1 >conftest.err 3979 rm -f conftest.er1 3980 cat conftest.err >&5 3981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3982 (exit $ac_status); } && { 3983 test -z "$ac_c_werror_flag" || 3984 test ! -s conftest.err 3985 } && test -s conftest.$ac_objext; then 3986 : 3987else 3988 $as_echo "$as_me: failed program was:" >&5 3989sed 's/^/| /' conftest.$ac_ext >&5 3990 3991 ac_c_werror_flag=$ac_save_c_werror_flag 3992 CFLAGS="-g" 3993 cat >conftest.$ac_ext <<_ACEOF 3994/* confdefs.h. */ 3995_ACEOF 3996cat confdefs.h >>conftest.$ac_ext 3997cat >>conftest.$ac_ext <<_ACEOF 3998/* end confdefs.h. */ 3999 4000int 4001main () 4002{ 4003 4004 ; 4005 return 0; 4006} 4007_ACEOF 4008rm -f conftest.$ac_objext 4009if { (ac_try="$ac_compile" 4010case "(($ac_try" in 4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4012 *) ac_try_echo=$ac_try;; 4013esac 4014eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4015$as_echo "$ac_try_echo") >&5 4016 (eval "$ac_compile") 2>conftest.er1 4017 ac_status=$? 4018 grep -v '^ *+' conftest.er1 >conftest.err 4019 rm -f conftest.er1 4020 cat conftest.err >&5 4021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4022 (exit $ac_status); } && { 4023 test -z "$ac_c_werror_flag" || 4024 test ! -s conftest.err 4025 } && test -s conftest.$ac_objext; then 4026 ac_cv_prog_cc_g=yes 4027else 4028 $as_echo "$as_me: failed program was:" >&5 4029sed 's/^/| /' conftest.$ac_ext >&5 4030 4031 4032fi 4033 4034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4035fi 4036 4037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4038fi 4039 4040rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4041 ac_c_werror_flag=$ac_save_c_werror_flag 4042fi 4043{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 4044$as_echo "$ac_cv_prog_cc_g" >&6; } 4045if test "$ac_test_CFLAGS" = set; then 4046 CFLAGS=$ac_save_CFLAGS 4047elif test $ac_cv_prog_cc_g = yes; then 4048 if test "$GCC" = yes; then 4049 CFLAGS="-g -O2" 4050 else 4051 CFLAGS="-g" 4052 fi 4053else 4054 if test "$GCC" = yes; then 4055 CFLAGS="-O2" 4056 else 4057 CFLAGS= 4058 fi 4059fi 4060{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 4061$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4062if test "${ac_cv_prog_cc_c89+set}" = set; then 4063 $as_echo_n "(cached) " >&6 4064else 4065 ac_cv_prog_cc_c89=no 4066ac_save_CC=$CC 4067cat >conftest.$ac_ext <<_ACEOF 4068/* confdefs.h. */ 4069_ACEOF 4070cat confdefs.h >>conftest.$ac_ext 4071cat >>conftest.$ac_ext <<_ACEOF 4072/* end confdefs.h. */ 4073#include <stdarg.h> 4074#include <stdio.h> 4075#include <sys/types.h> 4076#include <sys/stat.h> 4077/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4078struct buf { int x; }; 4079FILE * (*rcsopen) (struct buf *, struct stat *, int); 4080static char *e (p, i) 4081 char **p; 4082 int i; 4083{ 4084 return p[i]; 4085} 4086static char *f (char * (*g) (char **, int), char **p, ...) 4087{ 4088 char *s; 4089 va_list v; 4090 va_start (v,p); 4091 s = g (p, va_arg (v,int)); 4092 va_end (v); 4093 return s; 4094} 4095 4096/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4097 function prototypes and stuff, but not '\xHH' hex character constants. 4098 These don't provoke an error unfortunately, instead are silently treated 4099 as 'x'. The following induces an error, until -std is added to get 4100 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4101 array size at least. It's necessary to write '\x00'==0 to get something 4102 that's true only with -std. */ 4103int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4104 4105/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4106 inside strings and character constants. */ 4107#define FOO(x) 'x' 4108int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4109 4110int test (int i, double x); 4111struct s1 {int (*f) (int a);}; 4112struct s2 {int (*f) (double a);}; 4113int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4114int argc; 4115char **argv; 4116int 4117main () 4118{ 4119return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4120 ; 4121 return 0; 4122} 4123_ACEOF 4124for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4125 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4126do 4127 CC="$ac_save_CC $ac_arg" 4128 rm -f conftest.$ac_objext 4129if { (ac_try="$ac_compile" 4130case "(($ac_try" in 4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4132 *) ac_try_echo=$ac_try;; 4133esac 4134eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4135$as_echo "$ac_try_echo") >&5 4136 (eval "$ac_compile") 2>conftest.er1 4137 ac_status=$? 4138 grep -v '^ *+' conftest.er1 >conftest.err 4139 rm -f conftest.er1 4140 cat conftest.err >&5 4141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4142 (exit $ac_status); } && { 4143 test -z "$ac_c_werror_flag" || 4144 test ! -s conftest.err 4145 } && test -s conftest.$ac_objext; then 4146 ac_cv_prog_cc_c89=$ac_arg 4147else 4148 $as_echo "$as_me: failed program was:" >&5 4149sed 's/^/| /' conftest.$ac_ext >&5 4150 4151 4152fi 4153 4154rm -f core conftest.err conftest.$ac_objext 4155 test "x$ac_cv_prog_cc_c89" != "xno" && break 4156done 4157rm -f conftest.$ac_ext 4158CC=$ac_save_CC 4159 4160fi 4161# AC_CACHE_VAL 4162case "x$ac_cv_prog_cc_c89" in 4163 x) 4164 { $as_echo "$as_me:$LINENO: result: none needed" >&5 4165$as_echo "none needed" >&6; } ;; 4166 xno) 4167 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 4168$as_echo "unsupported" >&6; } ;; 4169 *) 4170 CC="$CC $ac_cv_prog_cc_c89" 4171 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 4172$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4173esac 4174 4175 4176ac_ext=c 4177ac_cpp='$CPP $CPPFLAGS' 4178ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4179ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4180ac_compiler_gnu=$ac_cv_c_compiler_gnu 4181DEPDIR="${am__leading_dot}deps" 4182 4183ac_config_commands="$ac_config_commands depfiles" 4184 4185 4186am_make=${MAKE-make} 4187cat > confinc << 'END' 4188am__doit: 4189 @echo done 4190.PHONY: am__doit 4191END 4192# If we don't find an include directive, just comment out the code. 4193{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 4194$as_echo_n "checking for style of include used by $am_make... " >&6; } 4195am__include="#" 4196am__quote= 4197_am_result=none 4198# First try GNU make style include. 4199echo "include confinc" > confmf 4200# We grep out `Entering directory' and `Leaving directory' 4201# messages which can occur if `w' ends up in MAKEFLAGS. 4202# In particular we don't look at `^make:' because GNU make might 4203# be invoked under some other name (usually "gmake"), in which 4204# case it prints its new name instead of `make'. 4205if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 4206 am__include=include 4207 am__quote= 4208 _am_result=GNU 4209fi 4210# Now try BSD make style include. 4211if test "$am__include" = "#"; then 4212 echo '.include "confinc"' > confmf 4213 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 4214 am__include=.include 4215 am__quote="\"" 4216 _am_result=BSD 4217 fi 4218fi 4219 4220 4221{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 4222$as_echo "$_am_result" >&6; } 4223rm -f confinc confmf 4224 4225# Check whether --enable-dependency-tracking was given. 4226if test "${enable_dependency_tracking+set}" = set; then 4227 enableval=$enable_dependency_tracking; 4228fi 4229 4230if test "x$enable_dependency_tracking" != xno; then 4231 am_depcomp="$ac_aux_dir/depcomp" 4232 AMDEPBACKSLASH='\' 4233fi 4234 if test "x$enable_dependency_tracking" != xno; then 4235 AMDEP_TRUE= 4236 AMDEP_FALSE='#' 4237else 4238 AMDEP_TRUE='#' 4239 AMDEP_FALSE= 4240fi 4241 4242 4243 4244depcc="$CC" am_compiler_list= 4245 4246{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4247$as_echo_n "checking dependency style of $depcc... " >&6; } 4248if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 4249 $as_echo_n "(cached) " >&6 4250else 4251 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4252 # We make a subdir and do the tests there. Otherwise we can end up 4253 # making bogus files that we don't know about and never remove. For 4254 # instance it was reported that on HP-UX the gcc test will end up 4255 # making a dummy file named `D' -- because `-MD' means `put the output 4256 # in D'. 4257 mkdir conftest.dir 4258 # Copy depcomp to subdir because otherwise we won't find it if we're 4259 # using a relative directory. 4260 cp "$am_depcomp" conftest.dir 4261 cd conftest.dir 4262 # We will build objects and dependencies in a subdirectory because 4263 # it helps to detect inapplicable dependency modes. For instance 4264 # both Tru64's cc and ICC support -MD to output dependencies as a 4265 # side effect of compilation, but ICC will put the dependencies in 4266 # the current directory while Tru64 will put them in the object 4267 # directory. 4268 mkdir sub 4269 4270 am_cv_CC_dependencies_compiler_type=none 4271 if test "$am_compiler_list" = ""; then 4272 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4273 fi 4274 for depmode in $am_compiler_list; do 4275 # Setup a source with many dependencies, because some compilers 4276 # like to wrap large dependency lists on column 80 (with \), and 4277 # we should not choose a depcomp mode which is confused by this. 4278 # 4279 # We need to recreate these files for each test, as the compiler may 4280 # overwrite some of them when testing with obscure command lines. 4281 # This happens at least with the AIX C compiler. 4282 : > sub/conftest.c 4283 for i in 1 2 3 4 5 6; do 4284 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4285 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4286 # Solaris 8's {/usr,}/bin/sh. 4287 touch sub/conftst$i.h 4288 done 4289 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4290 4291 case $depmode in 4292 nosideeffect) 4293 # after this tag, mechanisms are not by side-effect, so they'll 4294 # only be used when explicitly requested 4295 if test "x$enable_dependency_tracking" = xyes; then 4296 continue 4297 else 4298 break 4299 fi 4300 ;; 4301 none) break ;; 4302 esac 4303 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4304 # mode. It turns out that the SunPro C++ compiler does not properly 4305 # handle `-M -o', and we need to detect this. 4306 if depmode=$depmode \ 4307 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4308 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4309 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4310 >/dev/null 2>conftest.err && 4311 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4312 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4313 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4314 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4315 # icc doesn't choke on unknown options, it will just issue warnings 4316 # or remarks (even with -Werror). So we grep stderr for any message 4317 # that says an option was ignored or not supported. 4318 # When given -MP, icc 7.0 and 7.1 complain thusly: 4319 # icc: Command line warning: ignoring option '-M'; no argument required 4320 # The diagnosis changed in icc 8.0: 4321 # icc: Command line remark: option '-MP' not supported 4322 if (grep 'ignoring option' conftest.err || 4323 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4324 am_cv_CC_dependencies_compiler_type=$depmode 4325 break 4326 fi 4327 fi 4328 done 4329 4330 cd .. 4331 rm -rf conftest.dir 4332else 4333 am_cv_CC_dependencies_compiler_type=none 4334fi 4335 4336fi 4337{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 4338$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4339CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4340 4341 if 4342 test "x$enable_dependency_tracking" != xno \ 4343 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4344 am__fastdepCC_TRUE= 4345 am__fastdepCC_FALSE='#' 4346else 4347 am__fastdepCC_TRUE='#' 4348 am__fastdepCC_FALSE= 4349fi 4350 4351 4352# By default we simply use the C compiler to build assembly code. 4353 4354test "${CCAS+set}" = set || CCAS=$CC 4355test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 4356 4357 4358 4359depcc="$CCAS" am_compiler_list= 4360 4361{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 4362$as_echo_n "checking dependency style of $depcc... " >&6; } 4363if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then 4364 $as_echo_n "(cached) " >&6 4365else 4366 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4367 # We make a subdir and do the tests there. Otherwise we can end up 4368 # making bogus files that we don't know about and never remove. For 4369 # instance it was reported that on HP-UX the gcc test will end up 4370 # making a dummy file named `D' -- because `-MD' means `put the output 4371 # in D'. 4372 mkdir conftest.dir 4373 # Copy depcomp to subdir because otherwise we won't find it if we're 4374 # using a relative directory. 4375 cp "$am_depcomp" conftest.dir 4376 cd conftest.dir 4377 # We will build objects and dependencies in a subdirectory because 4378 # it helps to detect inapplicable dependency modes. For instance 4379 # both Tru64's cc and ICC support -MD to output dependencies as a 4380 # side effect of compilation, but ICC will put the dependencies in 4381 # the current directory while Tru64 will put them in the object 4382 # directory. 4383 mkdir sub 4384 4385 am_cv_CCAS_dependencies_compiler_type=none 4386 if test "$am_compiler_list" = ""; then 4387 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4388 fi 4389 for depmode in $am_compiler_list; do 4390 # Setup a source with many dependencies, because some compilers 4391 # like to wrap large dependency lists on column 80 (with \), and 4392 # we should not choose a depcomp mode which is confused by this. 4393 # 4394 # We need to recreate these files for each test, as the compiler may 4395 # overwrite some of them when testing with obscure command lines. 4396 # This happens at least with the AIX C compiler. 4397 : > sub/conftest.c 4398 for i in 1 2 3 4 5 6; do 4399 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4400 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4401 # Solaris 8's {/usr,}/bin/sh. 4402 touch sub/conftst$i.h 4403 done 4404 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4405 4406 case $depmode in 4407 nosideeffect) 4408 # after this tag, mechanisms are not by side-effect, so they'll 4409 # only be used when explicitly requested 4410 if test "x$enable_dependency_tracking" = xyes; then 4411 continue 4412 else 4413 break 4414 fi 4415 ;; 4416 none) break ;; 4417 esac 4418 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4419 # mode. It turns out that the SunPro C++ compiler does not properly 4420 # handle `-M -o', and we need to detect this. 4421 if depmode=$depmode \ 4422 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 4423 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4424 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 4425 >/dev/null 2>conftest.err && 4426 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4427 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4428 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 4429 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4430 # icc doesn't choke on unknown options, it will just issue warnings 4431 # or remarks (even with -Werror). So we grep stderr for any message 4432 # that says an option was ignored or not supported. 4433 # When given -MP, icc 7.0 and 7.1 complain thusly: 4434 # icc: Command line warning: ignoring option '-M'; no argument required 4435 # The diagnosis changed in icc 8.0: 4436 # icc: Command line remark: option '-MP' not supported 4437 if (grep 'ignoring option' conftest.err || 4438 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4439 am_cv_CCAS_dependencies_compiler_type=$depmode 4440 break 4441 fi 4442 fi 4443 done 4444 4445 cd .. 4446 rm -rf conftest.dir 4447else 4448 am_cv_CCAS_dependencies_compiler_type=none 4449fi 4450 4451fi 4452{ $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5 4453$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 4454CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 4455 4456 if 4457 test "x$enable_dependency_tracking" != xno \ 4458 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 4459 am__fastdepCCAS_TRUE= 4460 am__fastdepCCAS_FALSE='#' 4461else 4462 am__fastdepCCAS_TRUE='#' 4463 am__fastdepCCAS_FALSE= 4464fi 4465 4466 4467# Find a good install program. We prefer a C program (faster), 4468# so one script is as good as another. But avoid the broken or 4469# incompatible versions: 4470# SysV /etc/install, /usr/sbin/install 4471# SunOS /usr/etc/install 4472# IRIX /sbin/install 4473# AIX /bin/install 4474# AmigaOS /C/install, which installs bootblocks on floppy discs 4475# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4476# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4477# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4478# OS/2's system install, which has a completely different semantic 4479# ./install, which can be erroneously created by make from ./install.sh. 4480# Reject install programs that cannot install multiple files. 4481{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4482$as_echo_n "checking for a BSD-compatible install... " >&6; } 4483if test -z "$INSTALL"; then 4484if test "${ac_cv_path_install+set}" = set; then 4485 $as_echo_n "(cached) " >&6 4486else 4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4488for as_dir in $PATH 4489do 4490 IFS=$as_save_IFS 4491 test -z "$as_dir" && as_dir=. 4492 # Account for people who put trailing slashes in PATH elements. 4493case $as_dir/ in 4494 ./ | .// | /cC/* | \ 4495 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4496 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4497 /usr/ucb/* ) ;; 4498 *) 4499 # OSF1 and SCO ODT 3.0 have their own names for install. 4500 # Don't use installbsd from OSF since it installs stuff as root 4501 # by default. 4502 for ac_prog in ginstall scoinst install; do 4503 for ac_exec_ext in '' $ac_executable_extensions; do 4504 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 4505 if test $ac_prog = install && 4506 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4507 # AIX install. It has an incompatible calling convention. 4508 : 4509 elif test $ac_prog = install && 4510 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4511 # program-specific install script used by HP pwplus--don't use. 4512 : 4513 else 4514 rm -rf conftest.one conftest.two conftest.dir 4515 echo one > conftest.one 4516 echo two > conftest.two 4517 mkdir conftest.dir 4518 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4519 test -s conftest.one && test -s conftest.two && 4520 test -s conftest.dir/conftest.one && 4521 test -s conftest.dir/conftest.two 4522 then 4523 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4524 break 3 4525 fi 4526 fi 4527 fi 4528 done 4529 done 4530 ;; 4531esac 4532 4533done 4534IFS=$as_save_IFS 4535 4536rm -rf conftest.one conftest.two conftest.dir 4537 4538fi 4539 if test "${ac_cv_path_install+set}" = set; then 4540 INSTALL=$ac_cv_path_install 4541 else 4542 # As a last resort, use the slow shell script. Don't cache a 4543 # value for INSTALL within a source directory, because that will 4544 # break other packages using the cache if that directory is 4545 # removed, or if the value is a relative name. 4546 INSTALL=$ac_install_sh 4547 fi 4548fi 4549{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4550$as_echo "$INSTALL" >&6; } 4551 4552# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4553# It thinks the first close brace ends the variable substitution. 4554test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4555 4556test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4557 4558test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4559 4560{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4561$as_echo_n "checking whether ln -s works... " >&6; } 4562LN_S=$as_ln_s 4563if test "$LN_S" = "ln -s"; then 4564 { $as_echo "$as_me:$LINENO: result: yes" >&5 4565$as_echo "yes" >&6; } 4566else 4567 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4568$as_echo "no, using $LN_S" >&6; } 4569fi 4570 4571# Make sure we can run config.sub. 4572$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4573 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 4574$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 4575 { (exit 1); exit 1; }; } 4576 4577{ $as_echo "$as_me:$LINENO: checking build system type" >&5 4578$as_echo_n "checking build system type... " >&6; } 4579if test "${ac_cv_build+set}" = set; then 4580 $as_echo_n "(cached) " >&6 4581else 4582 ac_build_alias=$build_alias 4583test "x$ac_build_alias" = x && 4584 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4585test "x$ac_build_alias" = x && 4586 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4587$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4588 { (exit 1); exit 1; }; } 4589ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4590 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4591$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4592 { (exit 1); exit 1; }; } 4593 4594fi 4595{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4596$as_echo "$ac_cv_build" >&6; } 4597case $ac_cv_build in 4598*-*-*) ;; 4599*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4600$as_echo "$as_me: error: invalid value of canonical build" >&2;} 4601 { (exit 1); exit 1; }; };; 4602esac 4603build=$ac_cv_build 4604ac_save_IFS=$IFS; IFS='-' 4605set x $ac_cv_build 4606shift 4607build_cpu=$1 4608build_vendor=$2 4609shift; shift 4610# Remember, the first character of IFS is used to create $*, 4611# except with old shells: 4612build_os=$* 4613IFS=$ac_save_IFS 4614case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4615 4616 4617{ $as_echo "$as_me:$LINENO: checking host system type" >&5 4618$as_echo_n "checking host system type... " >&6; } 4619if test "${ac_cv_host+set}" = set; then 4620 $as_echo_n "(cached) " >&6 4621else 4622 if test "x$host_alias" = x; then 4623 ac_cv_host=$ac_cv_build 4624else 4625 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4626 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4627$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4628 { (exit 1); exit 1; }; } 4629fi 4630 4631fi 4632{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4633$as_echo "$ac_cv_host" >&6; } 4634case $ac_cv_host in 4635*-*-*) ;; 4636*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4637$as_echo "$as_me: error: invalid value of canonical host" >&2;} 4638 { (exit 1); exit 1; }; };; 4639esac 4640host=$ac_cv_host 4641ac_save_IFS=$IFS; IFS='-' 4642set x $ac_cv_host 4643shift 4644host_cpu=$1 4645host_vendor=$2 4646shift; shift 4647# Remember, the first character of IFS is used to create $*, 4648# except with old shells: 4649host_os=$* 4650IFS=$ac_save_IFS 4651case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4652 4653 4654enable_win32_dll=yes 4655 4656case $host in 4657*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) 4658 if test -n "$ac_tool_prefix"; then 4659 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4660set dummy ${ac_tool_prefix}as; ac_word=$2 4661{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4662$as_echo_n "checking for $ac_word... " >&6; } 4663if test "${ac_cv_prog_AS+set}" = set; then 4664 $as_echo_n "(cached) " >&6 4665else 4666 if test -n "$AS"; then 4667 ac_cv_prog_AS="$AS" # Let the user override the test. 4668else 4669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4670for as_dir in $PATH 4671do 4672 IFS=$as_save_IFS 4673 test -z "$as_dir" && as_dir=. 4674 for ac_exec_ext in '' $ac_executable_extensions; do 4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4676 ac_cv_prog_AS="${ac_tool_prefix}as" 4677 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4678 break 2 4679 fi 4680done 4681done 4682IFS=$as_save_IFS 4683 4684fi 4685fi 4686AS=$ac_cv_prog_AS 4687if test -n "$AS"; then 4688 { $as_echo "$as_me:$LINENO: result: $AS" >&5 4689$as_echo "$AS" >&6; } 4690else 4691 { $as_echo "$as_me:$LINENO: result: no" >&5 4692$as_echo "no" >&6; } 4693fi 4694 4695 4696fi 4697if test -z "$ac_cv_prog_AS"; then 4698 ac_ct_AS=$AS 4699 # Extract the first word of "as", so it can be a program name with args. 4700set dummy as; ac_word=$2 4701{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4702$as_echo_n "checking for $ac_word... " >&6; } 4703if test "${ac_cv_prog_ac_ct_AS+set}" = set; then 4704 $as_echo_n "(cached) " >&6 4705else 4706 if test -n "$ac_ct_AS"; then 4707 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4708else 4709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4710for as_dir in $PATH 4711do 4712 IFS=$as_save_IFS 4713 test -z "$as_dir" && as_dir=. 4714 for ac_exec_ext in '' $ac_executable_extensions; do 4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4716 ac_cv_prog_ac_ct_AS="as" 4717 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4718 break 2 4719 fi 4720done 4721done 4722IFS=$as_save_IFS 4723 4724fi 4725fi 4726ac_ct_AS=$ac_cv_prog_ac_ct_AS 4727if test -n "$ac_ct_AS"; then 4728 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 4729$as_echo "$ac_ct_AS" >&6; } 4730else 4731 { $as_echo "$as_me:$LINENO: result: no" >&5 4732$as_echo "no" >&6; } 4733fi 4734 4735 if test "x$ac_ct_AS" = x; then 4736 AS="false" 4737 else 4738 case $cross_compiling:$ac_tool_warned in 4739yes:) 4740{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4742ac_tool_warned=yes ;; 4743esac 4744 AS=$ac_ct_AS 4745 fi 4746else 4747 AS="$ac_cv_prog_AS" 4748fi 4749 4750 if test -n "$ac_tool_prefix"; then 4751 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4752set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4753{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4754$as_echo_n "checking for $ac_word... " >&6; } 4755if test "${ac_cv_prog_DLLTOOL+set}" = set; then 4756 $as_echo_n "(cached) " >&6 4757else 4758 if test -n "$DLLTOOL"; then 4759 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4760else 4761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4762for as_dir in $PATH 4763do 4764 IFS=$as_save_IFS 4765 test -z "$as_dir" && as_dir=. 4766 for ac_exec_ext in '' $ac_executable_extensions; do 4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4768 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4770 break 2 4771 fi 4772done 4773done 4774IFS=$as_save_IFS 4775 4776fi 4777fi 4778DLLTOOL=$ac_cv_prog_DLLTOOL 4779if test -n "$DLLTOOL"; then 4780 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 4781$as_echo "$DLLTOOL" >&6; } 4782else 4783 { $as_echo "$as_me:$LINENO: result: no" >&5 4784$as_echo "no" >&6; } 4785fi 4786 4787 4788fi 4789if test -z "$ac_cv_prog_DLLTOOL"; then 4790 ac_ct_DLLTOOL=$DLLTOOL 4791 # Extract the first word of "dlltool", so it can be a program name with args. 4792set dummy dlltool; ac_word=$2 4793{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4794$as_echo_n "checking for $ac_word... " >&6; } 4795if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 4796 $as_echo_n "(cached) " >&6 4797else 4798 if test -n "$ac_ct_DLLTOOL"; then 4799 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4800else 4801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4802for as_dir in $PATH 4803do 4804 IFS=$as_save_IFS 4805 test -z "$as_dir" && as_dir=. 4806 for ac_exec_ext in '' $ac_executable_extensions; do 4807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4808 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4809 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4810 break 2 4811 fi 4812done 4813done 4814IFS=$as_save_IFS 4815 4816fi 4817fi 4818ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4819if test -n "$ac_ct_DLLTOOL"; then 4820 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 4821$as_echo "$ac_ct_DLLTOOL" >&6; } 4822else 4823 { $as_echo "$as_me:$LINENO: result: no" >&5 4824$as_echo "no" >&6; } 4825fi 4826 4827 if test "x$ac_ct_DLLTOOL" = x; then 4828 DLLTOOL="false" 4829 else 4830 case $cross_compiling:$ac_tool_warned in 4831yes:) 4832{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4834ac_tool_warned=yes ;; 4835esac 4836 DLLTOOL=$ac_ct_DLLTOOL 4837 fi 4838else 4839 DLLTOOL="$ac_cv_prog_DLLTOOL" 4840fi 4841 4842 if test -n "$ac_tool_prefix"; then 4843 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4844set dummy ${ac_tool_prefix}objdump; ac_word=$2 4845{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4846$as_echo_n "checking for $ac_word... " >&6; } 4847if test "${ac_cv_prog_OBJDUMP+set}" = set; then 4848 $as_echo_n "(cached) " >&6 4849else 4850 if test -n "$OBJDUMP"; then 4851 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4852else 4853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4854for as_dir in $PATH 4855do 4856 IFS=$as_save_IFS 4857 test -z "$as_dir" && as_dir=. 4858 for ac_exec_ext in '' $ac_executable_extensions; do 4859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4860 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4861 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4862 break 2 4863 fi 4864done 4865done 4866IFS=$as_save_IFS 4867 4868fi 4869fi 4870OBJDUMP=$ac_cv_prog_OBJDUMP 4871if test -n "$OBJDUMP"; then 4872 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 4873$as_echo "$OBJDUMP" >&6; } 4874else 4875 { $as_echo "$as_me:$LINENO: result: no" >&5 4876$as_echo "no" >&6; } 4877fi 4878 4879 4880fi 4881if test -z "$ac_cv_prog_OBJDUMP"; then 4882 ac_ct_OBJDUMP=$OBJDUMP 4883 # Extract the first word of "objdump", so it can be a program name with args. 4884set dummy objdump; ac_word=$2 4885{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4886$as_echo_n "checking for $ac_word... " >&6; } 4887if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 4888 $as_echo_n "(cached) " >&6 4889else 4890 if test -n "$ac_ct_OBJDUMP"; then 4891 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4892else 4893as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4894for as_dir in $PATH 4895do 4896 IFS=$as_save_IFS 4897 test -z "$as_dir" && as_dir=. 4898 for ac_exec_ext in '' $ac_executable_extensions; do 4899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4900 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4901 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4902 break 2 4903 fi 4904done 4905done 4906IFS=$as_save_IFS 4907 4908fi 4909fi 4910ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4911if test -n "$ac_ct_OBJDUMP"; then 4912 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 4913$as_echo "$ac_ct_OBJDUMP" >&6; } 4914else 4915 { $as_echo "$as_me:$LINENO: result: no" >&5 4916$as_echo "no" >&6; } 4917fi 4918 4919 if test "x$ac_ct_OBJDUMP" = x; then 4920 OBJDUMP="false" 4921 else 4922 case $cross_compiling:$ac_tool_warned in 4923yes:) 4924{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4925$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4926ac_tool_warned=yes ;; 4927esac 4928 OBJDUMP=$ac_ct_OBJDUMP 4929 fi 4930else 4931 OBJDUMP="$ac_cv_prog_OBJDUMP" 4932fi 4933 4934 ;; 4935esac 4936 4937test -z "$AS" && AS=as 4938 4939 4940 4941 4942 4943test -z "$DLLTOOL" && DLLTOOL=dlltool 4944 4945 4946 4947 4948 4949test -z "$OBJDUMP" && OBJDUMP=objdump 4950 4951 4952 4953 4954 4955 4956 4957# Check whether --enable-static was given. 4958if test "${enable_static+set}" = set; then 4959 enableval=$enable_static; p=${PACKAGE-default} 4960 case $enableval in 4961 yes) enable_static=yes ;; 4962 no) enable_static=no ;; 4963 *) 4964 enable_static=no 4965 # Look at the argument we got. We use all the common list separators. 4966 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4967 for pkg in $enableval; do 4968 IFS="$lt_save_ifs" 4969 if test "X$pkg" = "X$p"; then 4970 enable_static=yes 4971 fi 4972 done 4973 IFS="$lt_save_ifs" 4974 ;; 4975 esac 4976else 4977 enable_static=no 4978fi 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988case `pwd` in 4989 *\ * | *\ *) 4990 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4991$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4992esac 4993 4994 4995 4996macro_version='2.2.6' 4997macro_revision='1.3012' 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011ltmain="$ac_aux_dir/ltmain.sh" 5012 5013{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 5014$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5015if test "${ac_cv_path_SED+set}" = set; then 5016 $as_echo_n "(cached) " >&6 5017else 5018 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5019 for ac_i in 1 2 3 4 5 6 7; do 5020 ac_script="$ac_script$as_nl$ac_script" 5021 done 5022 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5023 $as_unset ac_script || ac_script= 5024 if test -z "$SED"; then 5025 ac_path_SED_found=false 5026 # Loop through the user's path and test for each of PROGNAME-LIST 5027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5028for as_dir in $PATH 5029do 5030 IFS=$as_save_IFS 5031 test -z "$as_dir" && as_dir=. 5032 for ac_prog in sed gsed; do 5033 for ac_exec_ext in '' $ac_executable_extensions; do 5034 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5035 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 5036# Check for GNU ac_path_SED and select it if it is found. 5037 # Check for GNU $ac_path_SED 5038case `"$ac_path_SED" --version 2>&1` in 5039*GNU*) 5040 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5041*) 5042 ac_count=0 5043 $as_echo_n 0123456789 >"conftest.in" 5044 while : 5045 do 5046 cat "conftest.in" "conftest.in" >"conftest.tmp" 5047 mv "conftest.tmp" "conftest.in" 5048 cp "conftest.in" "conftest.nl" 5049 $as_echo '' >> "conftest.nl" 5050 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5051 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5052 ac_count=`expr $ac_count + 1` 5053 if test $ac_count -gt ${ac_path_SED_max-0}; then 5054 # Best one so far, save it but keep looking for a better one 5055 ac_cv_path_SED="$ac_path_SED" 5056 ac_path_SED_max=$ac_count 5057 fi 5058 # 10*(2^10) chars as input seems more than enough 5059 test $ac_count -gt 10 && break 5060 done 5061 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5062esac 5063 5064 $ac_path_SED_found && break 3 5065 done 5066 done 5067done 5068IFS=$as_save_IFS 5069 if test -z "$ac_cv_path_SED"; then 5070 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 5071$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 5072 { (exit 1); exit 1; }; } 5073 fi 5074else 5075 ac_cv_path_SED=$SED 5076fi 5077 5078fi 5079{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 5080$as_echo "$ac_cv_path_SED" >&6; } 5081 SED="$ac_cv_path_SED" 5082 rm -f conftest.sed 5083 5084test -z "$SED" && SED=sed 5085Xsed="$SED -e 1s/^X//" 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 5098$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5099if test "${ac_cv_path_GREP+set}" = set; then 5100 $as_echo_n "(cached) " >&6 5101else 5102 if test -z "$GREP"; then 5103 ac_path_GREP_found=false 5104 # Loop through the user's path and test for each of PROGNAME-LIST 5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5106for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5107do 5108 IFS=$as_save_IFS 5109 test -z "$as_dir" && as_dir=. 5110 for ac_prog in grep ggrep; do 5111 for ac_exec_ext in '' $ac_executable_extensions; do 5112 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5113 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5114# Check for GNU ac_path_GREP and select it if it is found. 5115 # Check for GNU $ac_path_GREP 5116case `"$ac_path_GREP" --version 2>&1` in 5117*GNU*) 5118 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5119*) 5120 ac_count=0 5121 $as_echo_n 0123456789 >"conftest.in" 5122 while : 5123 do 5124 cat "conftest.in" "conftest.in" >"conftest.tmp" 5125 mv "conftest.tmp" "conftest.in" 5126 cp "conftest.in" "conftest.nl" 5127 $as_echo 'GREP' >> "conftest.nl" 5128 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5129 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5130 ac_count=`expr $ac_count + 1` 5131 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5132 # Best one so far, save it but keep looking for a better one 5133 ac_cv_path_GREP="$ac_path_GREP" 5134 ac_path_GREP_max=$ac_count 5135 fi 5136 # 10*(2^10) chars as input seems more than enough 5137 test $ac_count -gt 10 && break 5138 done 5139 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5140esac 5141 5142 $ac_path_GREP_found && break 3 5143 done 5144 done 5145done 5146IFS=$as_save_IFS 5147 if test -z "$ac_cv_path_GREP"; then 5148 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5149$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5150 { (exit 1); exit 1; }; } 5151 fi 5152else 5153 ac_cv_path_GREP=$GREP 5154fi 5155 5156fi 5157{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 5158$as_echo "$ac_cv_path_GREP" >&6; } 5159 GREP="$ac_cv_path_GREP" 5160 5161 5162{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 5163$as_echo_n "checking for egrep... " >&6; } 5164if test "${ac_cv_path_EGREP+set}" = set; then 5165 $as_echo_n "(cached) " >&6 5166else 5167 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5168 then ac_cv_path_EGREP="$GREP -E" 5169 else 5170 if test -z "$EGREP"; then 5171 ac_path_EGREP_found=false 5172 # Loop through the user's path and test for each of PROGNAME-LIST 5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5174for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5175do 5176 IFS=$as_save_IFS 5177 test -z "$as_dir" && as_dir=. 5178 for ac_prog in egrep; do 5179 for ac_exec_ext in '' $ac_executable_extensions; do 5180 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5181 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5182# Check for GNU ac_path_EGREP and select it if it is found. 5183 # Check for GNU $ac_path_EGREP 5184case `"$ac_path_EGREP" --version 2>&1` in 5185*GNU*) 5186 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5187*) 5188 ac_count=0 5189 $as_echo_n 0123456789 >"conftest.in" 5190 while : 5191 do 5192 cat "conftest.in" "conftest.in" >"conftest.tmp" 5193 mv "conftest.tmp" "conftest.in" 5194 cp "conftest.in" "conftest.nl" 5195 $as_echo 'EGREP' >> "conftest.nl" 5196 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5197 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5198 ac_count=`expr $ac_count + 1` 5199 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5200 # Best one so far, save it but keep looking for a better one 5201 ac_cv_path_EGREP="$ac_path_EGREP" 5202 ac_path_EGREP_max=$ac_count 5203 fi 5204 # 10*(2^10) chars as input seems more than enough 5205 test $ac_count -gt 10 && break 5206 done 5207 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5208esac 5209 5210 $ac_path_EGREP_found && break 3 5211 done 5212 done 5213done 5214IFS=$as_save_IFS 5215 if test -z "$ac_cv_path_EGREP"; then 5216 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5217$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5218 { (exit 1); exit 1; }; } 5219 fi 5220else 5221 ac_cv_path_EGREP=$EGREP 5222fi 5223 5224 fi 5225fi 5226{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 5227$as_echo "$ac_cv_path_EGREP" >&6; } 5228 EGREP="$ac_cv_path_EGREP" 5229 5230 5231{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 5232$as_echo_n "checking for fgrep... " >&6; } 5233if test "${ac_cv_path_FGREP+set}" = set; then 5234 $as_echo_n "(cached) " >&6 5235else 5236 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5237 then ac_cv_path_FGREP="$GREP -F" 5238 else 5239 if test -z "$FGREP"; then 5240 ac_path_FGREP_found=false 5241 # Loop through the user's path and test for each of PROGNAME-LIST 5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5243for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5244do 5245 IFS=$as_save_IFS 5246 test -z "$as_dir" && as_dir=. 5247 for ac_prog in fgrep; do 5248 for ac_exec_ext in '' $ac_executable_extensions; do 5249 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5250 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 5251# Check for GNU ac_path_FGREP and select it if it is found. 5252 # Check for GNU $ac_path_FGREP 5253case `"$ac_path_FGREP" --version 2>&1` in 5254*GNU*) 5255 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5256*) 5257 ac_count=0 5258 $as_echo_n 0123456789 >"conftest.in" 5259 while : 5260 do 5261 cat "conftest.in" "conftest.in" >"conftest.tmp" 5262 mv "conftest.tmp" "conftest.in" 5263 cp "conftest.in" "conftest.nl" 5264 $as_echo 'FGREP' >> "conftest.nl" 5265 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5266 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5267 ac_count=`expr $ac_count + 1` 5268 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5269 # Best one so far, save it but keep looking for a better one 5270 ac_cv_path_FGREP="$ac_path_FGREP" 5271 ac_path_FGREP_max=$ac_count 5272 fi 5273 # 10*(2^10) chars as input seems more than enough 5274 test $ac_count -gt 10 && break 5275 done 5276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5277esac 5278 5279 $ac_path_FGREP_found && break 3 5280 done 5281 done 5282done 5283IFS=$as_save_IFS 5284 if test -z "$ac_cv_path_FGREP"; then 5285 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 5286$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 5287 { (exit 1); exit 1; }; } 5288 fi 5289else 5290 ac_cv_path_FGREP=$FGREP 5291fi 5292 5293 fi 5294fi 5295{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 5296$as_echo "$ac_cv_path_FGREP" >&6; } 5297 FGREP="$ac_cv_path_FGREP" 5298 5299 5300test -z "$GREP" && GREP=grep 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320# Check whether --with-gnu-ld was given. 5321if test "${with_gnu_ld+set}" = set; then 5322 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 5323else 5324 with_gnu_ld=no 5325fi 5326 5327ac_prog=ld 5328if test "$GCC" = yes; then 5329 # Check if gcc -print-prog-name=ld gives a path. 5330 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 5331$as_echo_n "checking for ld used by $CC... " >&6; } 5332 case $host in 5333 *-*-mingw*) 5334 # gcc leaves a trailing carriage return which upsets mingw 5335 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5336 *) 5337 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5338 esac 5339 case $ac_prog in 5340 # Accept absolute paths. 5341 [\\/]* | ?:[\\/]*) 5342 re_direlt='/[^/][^/]*/\.\./' 5343 # Canonicalize the pathname of ld 5344 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5345 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5346 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5347 done 5348 test -z "$LD" && LD="$ac_prog" 5349 ;; 5350 "") 5351 # If it fails, then pretend we aren't using GCC. 5352 ac_prog=ld 5353 ;; 5354 *) 5355 # If it is relative, then search for the first ld in PATH. 5356 with_gnu_ld=unknown 5357 ;; 5358 esac 5359elif test "$with_gnu_ld" = yes; then 5360 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 5361$as_echo_n "checking for GNU ld... " >&6; } 5362else 5363 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 5364$as_echo_n "checking for non-GNU ld... " >&6; } 5365fi 5366if test "${lt_cv_path_LD+set}" = set; then 5367 $as_echo_n "(cached) " >&6 5368else 5369 if test -z "$LD"; then 5370 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5371 for ac_dir in $PATH; do 5372 IFS="$lt_save_ifs" 5373 test -z "$ac_dir" && ac_dir=. 5374 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5375 lt_cv_path_LD="$ac_dir/$ac_prog" 5376 # Check to see if the program is GNU ld. I'd rather use --version, 5377 # but apparently some variants of GNU ld only accept -v. 5378 # Break only if it was the GNU/non-GNU ld that we prefer. 5379 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5380 *GNU* | *'with BFD'*) 5381 test "$with_gnu_ld" != no && break 5382 ;; 5383 *) 5384 test "$with_gnu_ld" != yes && break 5385 ;; 5386 esac 5387 fi 5388 done 5389 IFS="$lt_save_ifs" 5390else 5391 lt_cv_path_LD="$LD" # Let the user override the test with a path. 5392fi 5393fi 5394 5395LD="$lt_cv_path_LD" 5396if test -n "$LD"; then 5397 { $as_echo "$as_me:$LINENO: result: $LD" >&5 5398$as_echo "$LD" >&6; } 5399else 5400 { $as_echo "$as_me:$LINENO: result: no" >&5 5401$as_echo "no" >&6; } 5402fi 5403test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 5404$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 5405 { (exit 1); exit 1; }; } 5406{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 5407$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5408if test "${lt_cv_prog_gnu_ld+set}" = set; then 5409 $as_echo_n "(cached) " >&6 5410else 5411 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5412case `$LD -v 2>&1 </dev/null` in 5413*GNU* | *'with BFD'*) 5414 lt_cv_prog_gnu_ld=yes 5415 ;; 5416*) 5417 lt_cv_prog_gnu_ld=no 5418 ;; 5419esac 5420fi 5421{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 5422$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5423with_gnu_ld=$lt_cv_prog_gnu_ld 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 5434$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5435if test "${lt_cv_path_NM+set}" = set; then 5436 $as_echo_n "(cached) " >&6 5437else 5438 if test -n "$NM"; then 5439 # Let the user override the test. 5440 lt_cv_path_NM="$NM" 5441else 5442 lt_nm_to_check="${ac_tool_prefix}nm" 5443 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5444 lt_nm_to_check="$lt_nm_to_check nm" 5445 fi 5446 for lt_tmp_nm in $lt_nm_to_check; do 5447 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5448 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5449 IFS="$lt_save_ifs" 5450 test -z "$ac_dir" && ac_dir=. 5451 tmp_nm="$ac_dir/$lt_tmp_nm" 5452 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5453 # Check to see if the nm accepts a BSD-compat flag. 5454 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5455 # nm: unknown option "B" ignored 5456 # Tru64's nm complains that /dev/null is an invalid object file 5457 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5458 */dev/null* | *'Invalid file or object type'*) 5459 lt_cv_path_NM="$tmp_nm -B" 5460 break 5461 ;; 5462 *) 5463 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5464 */dev/null*) 5465 lt_cv_path_NM="$tmp_nm -p" 5466 break 5467 ;; 5468 *) 5469 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5470 continue # so that we can try to find one that supports BSD flags 5471 ;; 5472 esac 5473 ;; 5474 esac 5475 fi 5476 done 5477 IFS="$lt_save_ifs" 5478 done 5479 : ${lt_cv_path_NM=no} 5480fi 5481fi 5482{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 5483$as_echo "$lt_cv_path_NM" >&6; } 5484if test "$lt_cv_path_NM" != "no"; then 5485 NM="$lt_cv_path_NM" 5486else 5487 # Didn't find any BSD compatible name lister, look for dumpbin. 5488 if test -n "$ac_tool_prefix"; then 5489 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5490 do 5491 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5492set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5493{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5494$as_echo_n "checking for $ac_word... " >&6; } 5495if test "${ac_cv_prog_DUMPBIN+set}" = set; then 5496 $as_echo_n "(cached) " >&6 5497else 5498 if test -n "$DUMPBIN"; then 5499 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5500else 5501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5502for as_dir in $PATH 5503do 5504 IFS=$as_save_IFS 5505 test -z "$as_dir" && as_dir=. 5506 for ac_exec_ext in '' $ac_executable_extensions; do 5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5508 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5509 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5510 break 2 5511 fi 5512done 5513done 5514IFS=$as_save_IFS 5515 5516fi 5517fi 5518DUMPBIN=$ac_cv_prog_DUMPBIN 5519if test -n "$DUMPBIN"; then 5520 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 5521$as_echo "$DUMPBIN" >&6; } 5522else 5523 { $as_echo "$as_me:$LINENO: result: no" >&5 5524$as_echo "no" >&6; } 5525fi 5526 5527 5528 test -n "$DUMPBIN" && break 5529 done 5530fi 5531if test -z "$DUMPBIN"; then 5532 ac_ct_DUMPBIN=$DUMPBIN 5533 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 5534do 5535 # Extract the first word of "$ac_prog", so it can be a program name with args. 5536set dummy $ac_prog; ac_word=$2 5537{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5538$as_echo_n "checking for $ac_word... " >&6; } 5539if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 5540 $as_echo_n "(cached) " >&6 5541else 5542 if test -n "$ac_ct_DUMPBIN"; then 5543 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5544else 5545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5546for as_dir in $PATH 5547do 5548 IFS=$as_save_IFS 5549 test -z "$as_dir" && as_dir=. 5550 for ac_exec_ext in '' $ac_executable_extensions; do 5551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5552 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5553 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5554 break 2 5555 fi 5556done 5557done 5558IFS=$as_save_IFS 5559 5560fi 5561fi 5562ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5563if test -n "$ac_ct_DUMPBIN"; then 5564 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 5565$as_echo "$ac_ct_DUMPBIN" >&6; } 5566else 5567 { $as_echo "$as_me:$LINENO: result: no" >&5 5568$as_echo "no" >&6; } 5569fi 5570 5571 5572 test -n "$ac_ct_DUMPBIN" && break 5573done 5574 5575 if test "x$ac_ct_DUMPBIN" = x; then 5576 DUMPBIN=":" 5577 else 5578 case $cross_compiling:$ac_tool_warned in 5579yes:) 5580{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5581$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5582ac_tool_warned=yes ;; 5583esac 5584 DUMPBIN=$ac_ct_DUMPBIN 5585 fi 5586fi 5587 5588 5589 if test "$DUMPBIN" != ":"; then 5590 NM="$DUMPBIN" 5591 fi 5592fi 5593test -z "$NM" && NM=nm 5594 5595 5596 5597 5598 5599 5600{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 5601$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5602if test "${lt_cv_nm_interface+set}" = set; then 5603 $as_echo_n "(cached) " >&6 5604else 5605 lt_cv_nm_interface="BSD nm" 5606 echo "int some_variable = 0;" > conftest.$ac_ext 5607 (eval echo "\"\$as_me:5607: $ac_compile\"" >&5) 5608 (eval "$ac_compile" 2>conftest.err) 5609 cat conftest.err >&5 5610 (eval echo "\"\$as_me:5610: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5611 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5612 cat conftest.err >&5 5613 (eval echo "\"\$as_me:5613: output\"" >&5) 5614 cat conftest.out >&5 5615 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5616 lt_cv_nm_interface="MS dumpbin" 5617 fi 5618 rm -f conftest* 5619fi 5620{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 5621$as_echo "$lt_cv_nm_interface" >&6; } 5622 5623# find the maximum length of command line arguments 5624{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 5625$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5626if test "${lt_cv_sys_max_cmd_len+set}" = set; then 5627 $as_echo_n "(cached) " >&6 5628else 5629 i=0 5630 teststring="ABCD" 5631 5632 case $build_os in 5633 msdosdjgpp*) 5634 # On DJGPP, this test can blow up pretty badly due to problems in libc 5635 # (any single argument exceeding 2000 bytes causes a buffer overrun 5636 # during glob expansion). Even if it were fixed, the result of this 5637 # check would be larger than it should be. 5638 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5639 ;; 5640 5641 gnu*) 5642 # Under GNU Hurd, this test is not required because there is 5643 # no limit to the length of command line arguments. 5644 # Libtool will interpret -1 as no limit whatsoever 5645 lt_cv_sys_max_cmd_len=-1; 5646 ;; 5647 5648 cygwin* | mingw* | cegcc*) 5649 # On Win9x/ME, this test blows up -- it succeeds, but takes 5650 # about 5 minutes as the teststring grows exponentially. 5651 # Worse, since 9x/ME are not pre-emptively multitasking, 5652 # you end up with a "frozen" computer, even though with patience 5653 # the test eventually succeeds (with a max line length of 256k). 5654 # Instead, let's just punt: use the minimum linelength reported by 5655 # all of the supported platforms: 8192 (on NT/2K/XP). 5656 lt_cv_sys_max_cmd_len=8192; 5657 ;; 5658 5659 amigaos*) 5660 # On AmigaOS with pdksh, this test takes hours, literally. 5661 # So we just punt and use a minimum line length of 8192. 5662 lt_cv_sys_max_cmd_len=8192; 5663 ;; 5664 5665 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5666 # This has been around since 386BSD, at least. Likely further. 5667 if test -x /sbin/sysctl; then 5668 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5669 elif test -x /usr/sbin/sysctl; then 5670 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5671 else 5672 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5673 fi 5674 # And add a safety zone 5675 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5676 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5677 ;; 5678 5679 interix*) 5680 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5681 lt_cv_sys_max_cmd_len=196608 5682 ;; 5683 5684 osf*) 5685 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5686 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5687 # nice to cause kernel panics so lets avoid the loop below. 5688 # First set a reasonable default. 5689 lt_cv_sys_max_cmd_len=16384 5690 # 5691 if test -x /sbin/sysconfig; then 5692 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5693 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5694 esac 5695 fi 5696 ;; 5697 sco3.2v5*) 5698 lt_cv_sys_max_cmd_len=102400 5699 ;; 5700 sysv5* | sco5v6* | sysv4.2uw2*) 5701 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5702 if test -n "$kargmax"; then 5703 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5704 else 5705 lt_cv_sys_max_cmd_len=32768 5706 fi 5707 ;; 5708 *) 5709 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5710 if test -n "$lt_cv_sys_max_cmd_len"; then 5711 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5712 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5713 else 5714 # Make teststring a little bigger before we do anything with it. 5715 # a 1K string should be a reasonable start. 5716 for i in 1 2 3 4 5 6 7 8 ; do 5717 teststring=$teststring$teststring 5718 done 5719 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5720 # If test is not a shell built-in, we'll probably end up computing a 5721 # maximum length that is only half of the actual maximum length, but 5722 # we can't tell. 5723 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 5724 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 5725 test $i != 17 # 1/2 MB should be enough 5726 do 5727 i=`expr $i + 1` 5728 teststring=$teststring$teststring 5729 done 5730 # Only check the string length outside the loop. 5731 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5732 teststring= 5733 # Add a significant safety factor because C++ compilers can tack on 5734 # massive amounts of additional arguments before passing them to the 5735 # linker. It appears as though 1/2 is a usable value. 5736 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5737 fi 5738 ;; 5739 esac 5740 5741fi 5742 5743if test -n $lt_cv_sys_max_cmd_len ; then 5744 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5745$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5746else 5747 { $as_echo "$as_me:$LINENO: result: none" >&5 5748$as_echo "none" >&6; } 5749fi 5750max_cmd_len=$lt_cv_sys_max_cmd_len 5751 5752 5753 5754 5755 5756 5757: ${CP="cp -f"} 5758: ${MV="mv -f"} 5759: ${RM="rm -f"} 5760 5761{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 5762$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5763# Try some XSI features 5764xsi_shell=no 5765( _lt_dummy="a/b/c" 5766 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 5767 = c,a/b,, \ 5768 && eval 'test $(( 1 + 1 )) -eq 2 \ 5769 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5770 && xsi_shell=yes 5771{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 5772$as_echo "$xsi_shell" >&6; } 5773 5774 5775{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 5776$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5777lt_shell_append=no 5778( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5779 >/dev/null 2>&1 \ 5780 && lt_shell_append=yes 5781{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 5782$as_echo "$lt_shell_append" >&6; } 5783 5784 5785if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5786 lt_unset=unset 5787else 5788 lt_unset=false 5789fi 5790 5791 5792 5793 5794 5795# test EBCDIC or ASCII 5796case `echo X|tr X '\101'` in 5797 A) # ASCII based system 5798 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5799 lt_SP2NL='tr \040 \012' 5800 lt_NL2SP='tr \015\012 \040\040' 5801 ;; 5802 *) # EBCDIC based system 5803 lt_SP2NL='tr \100 \n' 5804 lt_NL2SP='tr \r\n \100\100' 5805 ;; 5806esac 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5817$as_echo_n "checking for $LD option to reload object files... " >&6; } 5818if test "${lt_cv_ld_reload_flag+set}" = set; then 5819 $as_echo_n "(cached) " >&6 5820else 5821 lt_cv_ld_reload_flag='-r' 5822fi 5823{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5824$as_echo "$lt_cv_ld_reload_flag" >&6; } 5825reload_flag=$lt_cv_ld_reload_flag 5826case $reload_flag in 5827"" | " "*) ;; 5828*) reload_flag=" $reload_flag" ;; 5829esac 5830reload_cmds='$LD$reload_flag -o $output$reload_objs' 5831case $host_os in 5832 darwin*) 5833 if test "$GCC" = yes; then 5834 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5835 else 5836 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5837 fi 5838 ;; 5839esac 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849if test -n "$ac_tool_prefix"; then 5850 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5851set dummy ${ac_tool_prefix}objdump; ac_word=$2 5852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5853$as_echo_n "checking for $ac_word... " >&6; } 5854if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5855 $as_echo_n "(cached) " >&6 5856else 5857 if test -n "$OBJDUMP"; then 5858 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5859else 5860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5861for as_dir in $PATH 5862do 5863 IFS=$as_save_IFS 5864 test -z "$as_dir" && as_dir=. 5865 for ac_exec_ext in '' $ac_executable_extensions; do 5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5867 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5869 break 2 5870 fi 5871done 5872done 5873IFS=$as_save_IFS 5874 5875fi 5876fi 5877OBJDUMP=$ac_cv_prog_OBJDUMP 5878if test -n "$OBJDUMP"; then 5879 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5880$as_echo "$OBJDUMP" >&6; } 5881else 5882 { $as_echo "$as_me:$LINENO: result: no" >&5 5883$as_echo "no" >&6; } 5884fi 5885 5886 5887fi 5888if test -z "$ac_cv_prog_OBJDUMP"; then 5889 ac_ct_OBJDUMP=$OBJDUMP 5890 # Extract the first word of "objdump", so it can be a program name with args. 5891set dummy objdump; ac_word=$2 5892{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5893$as_echo_n "checking for $ac_word... " >&6; } 5894if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5895 $as_echo_n "(cached) " >&6 5896else 5897 if test -n "$ac_ct_OBJDUMP"; then 5898 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5899else 5900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5901for as_dir in $PATH 5902do 5903 IFS=$as_save_IFS 5904 test -z "$as_dir" && as_dir=. 5905 for ac_exec_ext in '' $ac_executable_extensions; do 5906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5907 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5908 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5909 break 2 5910 fi 5911done 5912done 5913IFS=$as_save_IFS 5914 5915fi 5916fi 5917ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5918if test -n "$ac_ct_OBJDUMP"; then 5919 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5920$as_echo "$ac_ct_OBJDUMP" >&6; } 5921else 5922 { $as_echo "$as_me:$LINENO: result: no" >&5 5923$as_echo "no" >&6; } 5924fi 5925 5926 if test "x$ac_ct_OBJDUMP" = x; then 5927 OBJDUMP="false" 5928 else 5929 case $cross_compiling:$ac_tool_warned in 5930yes:) 5931{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5932$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5933ac_tool_warned=yes ;; 5934esac 5935 OBJDUMP=$ac_ct_OBJDUMP 5936 fi 5937else 5938 OBJDUMP="$ac_cv_prog_OBJDUMP" 5939fi 5940 5941test -z "$OBJDUMP" && OBJDUMP=objdump 5942 5943 5944 5945 5946 5947 5948{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5949$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5950if test "${lt_cv_deplibs_check_method+set}" = set; then 5951 $as_echo_n "(cached) " >&6 5952else 5953 lt_cv_file_magic_cmd='$MAGIC_CMD' 5954lt_cv_file_magic_test_file= 5955lt_cv_deplibs_check_method='unknown' 5956# Need to set the preceding variable on all platforms that support 5957# interlibrary dependencies. 5958# 'none' -- dependencies not supported. 5959# `unknown' -- same as none, but documents that we really don't know. 5960# 'pass_all' -- all dependencies passed with no checks. 5961# 'test_compile' -- check by making test program. 5962# 'file_magic [[regex]]' -- check by looking for files in library path 5963# which responds to the $file_magic_cmd with a given extended regex. 5964# If you have `file' or equivalent on your system and you're not sure 5965# whether `pass_all' will *always* work, you probably want this one. 5966 5967case $host_os in 5968aix[4-9]*) 5969 lt_cv_deplibs_check_method=pass_all 5970 ;; 5971 5972beos*) 5973 lt_cv_deplibs_check_method=pass_all 5974 ;; 5975 5976bsdi[45]*) 5977 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5978 lt_cv_file_magic_cmd='/usr/bin/file -L' 5979 lt_cv_file_magic_test_file=/shlib/libc.so 5980 ;; 5981 5982cygwin*) 5983 # func_win32_libid is a shell function defined in ltmain.sh 5984 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5985 lt_cv_file_magic_cmd='func_win32_libid' 5986 ;; 5987 5988mingw* | pw32*) 5989 # Base MSYS/MinGW do not provide the 'file' command needed by 5990 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5991 # unless we find 'file', for example because we are cross-compiling. 5992 if ( file / ) >/dev/null 2>&1; then 5993 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5994 lt_cv_file_magic_cmd='func_win32_libid' 5995 else 5996 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 5997 lt_cv_file_magic_cmd='$OBJDUMP -f' 5998 fi 5999 ;; 6000 6001cegcc) 6002 # use the weaker test based on 'objdump'. See mingw*. 6003 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6004 lt_cv_file_magic_cmd='$OBJDUMP -f' 6005 ;; 6006 6007darwin* | rhapsody*) 6008 lt_cv_deplibs_check_method=pass_all 6009 ;; 6010 6011freebsd* | dragonfly*) 6012 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6013 case $host_cpu in 6014 i*86 ) 6015 # Not sure whether the presence of OpenBSD here was a mistake. 6016 # Let's accept both of them until this is cleared up. 6017 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 6018 lt_cv_file_magic_cmd=/usr/bin/file 6019 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 6020 ;; 6021 esac 6022 else 6023 lt_cv_deplibs_check_method=pass_all 6024 fi 6025 ;; 6026 6027gnu*) 6028 lt_cv_deplibs_check_method=pass_all 6029 ;; 6030 6031hpux10.20* | hpux11*) 6032 lt_cv_file_magic_cmd=/usr/bin/file 6033 case $host_cpu in 6034 ia64*) 6035 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 6036 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 6037 ;; 6038 hppa*64*) 6039 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]' 6040 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 6041 ;; 6042 *) 6043 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 6044 lt_cv_file_magic_test_file=/usr/lib/libc.sl 6045 ;; 6046 esac 6047 ;; 6048 6049interix[3-9]*) 6050 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 6051 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 6052 ;; 6053 6054irix5* | irix6* | nonstopux*) 6055 case $LD in 6056 *-32|*"-32 ") libmagic=32-bit;; 6057 *-n32|*"-n32 ") libmagic=N32;; 6058 *-64|*"-64 ") libmagic=64-bit;; 6059 *) libmagic=never-match;; 6060 esac 6061 lt_cv_deplibs_check_method=pass_all 6062 ;; 6063 6064# This must be Linux ELF. 6065linux* | k*bsd*-gnu) 6066 lt_cv_deplibs_check_method=pass_all 6067 ;; 6068 6069netbsd* | netbsdelf*-gnu) 6070 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 6071 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6072 else 6073 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 6074 fi 6075 ;; 6076 6077newos6*) 6078 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 6079 lt_cv_file_magic_cmd=/usr/bin/file 6080 lt_cv_file_magic_test_file=/usr/lib/libnls.so 6081 ;; 6082 6083*nto* | *qnx*) 6084 lt_cv_deplibs_check_method=pass_all 6085 ;; 6086 6087openbsd*) 6088 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 6089 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 6090 else 6091 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 6092 fi 6093 ;; 6094 6095osf3* | osf4* | osf5*) 6096 lt_cv_deplibs_check_method=pass_all 6097 ;; 6098 6099rdos*) 6100 lt_cv_deplibs_check_method=pass_all 6101 ;; 6102 6103solaris*) 6104 lt_cv_deplibs_check_method=pass_all 6105 ;; 6106 6107sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 6108 lt_cv_deplibs_check_method=pass_all 6109 ;; 6110 6111sysv4 | sysv4.3*) 6112 case $host_vendor in 6113 motorola) 6114 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]' 6115 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 6116 ;; 6117 ncr) 6118 lt_cv_deplibs_check_method=pass_all 6119 ;; 6120 sequent) 6121 lt_cv_file_magic_cmd='/bin/file' 6122 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 6123 ;; 6124 sni) 6125 lt_cv_file_magic_cmd='/bin/file' 6126 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 6127 lt_cv_file_magic_test_file=/lib/libc.so 6128 ;; 6129 siemens) 6130 lt_cv_deplibs_check_method=pass_all 6131 ;; 6132 pc) 6133 lt_cv_deplibs_check_method=pass_all 6134 ;; 6135 esac 6136 ;; 6137 6138tpf*) 6139 lt_cv_deplibs_check_method=pass_all 6140 ;; 6141esac 6142 6143fi 6144{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 6145$as_echo "$lt_cv_deplibs_check_method" >&6; } 6146file_magic_cmd=$lt_cv_file_magic_cmd 6147deplibs_check_method=$lt_cv_deplibs_check_method 6148test -z "$deplibs_check_method" && deplibs_check_method=unknown 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161if test -n "$ac_tool_prefix"; then 6162 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 6163set dummy ${ac_tool_prefix}ar; ac_word=$2 6164{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6165$as_echo_n "checking for $ac_word... " >&6; } 6166if test "${ac_cv_prog_AR+set}" = set; then 6167 $as_echo_n "(cached) " >&6 6168else 6169 if test -n "$AR"; then 6170 ac_cv_prog_AR="$AR" # Let the user override the test. 6171else 6172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6173for as_dir in $PATH 6174do 6175 IFS=$as_save_IFS 6176 test -z "$as_dir" && as_dir=. 6177 for ac_exec_ext in '' $ac_executable_extensions; do 6178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6179 ac_cv_prog_AR="${ac_tool_prefix}ar" 6180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6181 break 2 6182 fi 6183done 6184done 6185IFS=$as_save_IFS 6186 6187fi 6188fi 6189AR=$ac_cv_prog_AR 6190if test -n "$AR"; then 6191 { $as_echo "$as_me:$LINENO: result: $AR" >&5 6192$as_echo "$AR" >&6; } 6193else 6194 { $as_echo "$as_me:$LINENO: result: no" >&5 6195$as_echo "no" >&6; } 6196fi 6197 6198 6199fi 6200if test -z "$ac_cv_prog_AR"; then 6201 ac_ct_AR=$AR 6202 # Extract the first word of "ar", so it can be a program name with args. 6203set dummy ar; ac_word=$2 6204{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6205$as_echo_n "checking for $ac_word... " >&6; } 6206if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 6207 $as_echo_n "(cached) " >&6 6208else 6209 if test -n "$ac_ct_AR"; then 6210 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6211else 6212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6213for as_dir in $PATH 6214do 6215 IFS=$as_save_IFS 6216 test -z "$as_dir" && as_dir=. 6217 for ac_exec_ext in '' $ac_executable_extensions; do 6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6219 ac_cv_prog_ac_ct_AR="ar" 6220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6221 break 2 6222 fi 6223done 6224done 6225IFS=$as_save_IFS 6226 6227fi 6228fi 6229ac_ct_AR=$ac_cv_prog_ac_ct_AR 6230if test -n "$ac_ct_AR"; then 6231 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 6232$as_echo "$ac_ct_AR" >&6; } 6233else 6234 { $as_echo "$as_me:$LINENO: result: no" >&5 6235$as_echo "no" >&6; } 6236fi 6237 6238 if test "x$ac_ct_AR" = x; then 6239 AR="false" 6240 else 6241 case $cross_compiling:$ac_tool_warned in 6242yes:) 6243{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6245ac_tool_warned=yes ;; 6246esac 6247 AR=$ac_ct_AR 6248 fi 6249else 6250 AR="$ac_cv_prog_AR" 6251fi 6252 6253test -z "$AR" && AR=ar 6254test -z "$AR_FLAGS" && AR_FLAGS=cru 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266if test -n "$ac_tool_prefix"; then 6267 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6268set dummy ${ac_tool_prefix}strip; ac_word=$2 6269{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6270$as_echo_n "checking for $ac_word... " >&6; } 6271if test "${ac_cv_prog_STRIP+set}" = set; then 6272 $as_echo_n "(cached) " >&6 6273else 6274 if test -n "$STRIP"; then 6275 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6276else 6277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6278for as_dir in $PATH 6279do 6280 IFS=$as_save_IFS 6281 test -z "$as_dir" && as_dir=. 6282 for ac_exec_ext in '' $ac_executable_extensions; do 6283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6284 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6286 break 2 6287 fi 6288done 6289done 6290IFS=$as_save_IFS 6291 6292fi 6293fi 6294STRIP=$ac_cv_prog_STRIP 6295if test -n "$STRIP"; then 6296 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 6297$as_echo "$STRIP" >&6; } 6298else 6299 { $as_echo "$as_me:$LINENO: result: no" >&5 6300$as_echo "no" >&6; } 6301fi 6302 6303 6304fi 6305if test -z "$ac_cv_prog_STRIP"; then 6306 ac_ct_STRIP=$STRIP 6307 # Extract the first word of "strip", so it can be a program name with args. 6308set dummy strip; ac_word=$2 6309{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6310$as_echo_n "checking for $ac_word... " >&6; } 6311if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 6312 $as_echo_n "(cached) " >&6 6313else 6314 if test -n "$ac_ct_STRIP"; then 6315 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6316else 6317as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6318for as_dir in $PATH 6319do 6320 IFS=$as_save_IFS 6321 test -z "$as_dir" && as_dir=. 6322 for ac_exec_ext in '' $ac_executable_extensions; do 6323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6324 ac_cv_prog_ac_ct_STRIP="strip" 6325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6326 break 2 6327 fi 6328done 6329done 6330IFS=$as_save_IFS 6331 6332fi 6333fi 6334ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6335if test -n "$ac_ct_STRIP"; then 6336 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 6337$as_echo "$ac_ct_STRIP" >&6; } 6338else 6339 { $as_echo "$as_me:$LINENO: result: no" >&5 6340$as_echo "no" >&6; } 6341fi 6342 6343 if test "x$ac_ct_STRIP" = x; then 6344 STRIP=":" 6345 else 6346 case $cross_compiling:$ac_tool_warned in 6347yes:) 6348{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6349$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6350ac_tool_warned=yes ;; 6351esac 6352 STRIP=$ac_ct_STRIP 6353 fi 6354else 6355 STRIP="$ac_cv_prog_STRIP" 6356fi 6357 6358test -z "$STRIP" && STRIP=: 6359 6360 6361 6362 6363 6364 6365if test -n "$ac_tool_prefix"; then 6366 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6367set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6368{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6369$as_echo_n "checking for $ac_word... " >&6; } 6370if test "${ac_cv_prog_RANLIB+set}" = set; then 6371 $as_echo_n "(cached) " >&6 6372else 6373 if test -n "$RANLIB"; then 6374 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6375else 6376as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6377for as_dir in $PATH 6378do 6379 IFS=$as_save_IFS 6380 test -z "$as_dir" && as_dir=. 6381 for ac_exec_ext in '' $ac_executable_extensions; do 6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6383 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6384 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6385 break 2 6386 fi 6387done 6388done 6389IFS=$as_save_IFS 6390 6391fi 6392fi 6393RANLIB=$ac_cv_prog_RANLIB 6394if test -n "$RANLIB"; then 6395 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6396$as_echo "$RANLIB" >&6; } 6397else 6398 { $as_echo "$as_me:$LINENO: result: no" >&5 6399$as_echo "no" >&6; } 6400fi 6401 6402 6403fi 6404if test -z "$ac_cv_prog_RANLIB"; then 6405 ac_ct_RANLIB=$RANLIB 6406 # Extract the first word of "ranlib", so it can be a program name with args. 6407set dummy ranlib; ac_word=$2 6408{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6409$as_echo_n "checking for $ac_word... " >&6; } 6410if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6411 $as_echo_n "(cached) " >&6 6412else 6413 if test -n "$ac_ct_RANLIB"; then 6414 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6415else 6416as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6417for as_dir in $PATH 6418do 6419 IFS=$as_save_IFS 6420 test -z "$as_dir" && as_dir=. 6421 for ac_exec_ext in '' $ac_executable_extensions; do 6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6423 ac_cv_prog_ac_ct_RANLIB="ranlib" 6424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6425 break 2 6426 fi 6427done 6428done 6429IFS=$as_save_IFS 6430 6431fi 6432fi 6433ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6434if test -n "$ac_ct_RANLIB"; then 6435 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6436$as_echo "$ac_ct_RANLIB" >&6; } 6437else 6438 { $as_echo "$as_me:$LINENO: result: no" >&5 6439$as_echo "no" >&6; } 6440fi 6441 6442 if test "x$ac_ct_RANLIB" = x; then 6443 RANLIB=":" 6444 else 6445 case $cross_compiling:$ac_tool_warned in 6446yes:) 6447{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6448$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6449ac_tool_warned=yes ;; 6450esac 6451 RANLIB=$ac_ct_RANLIB 6452 fi 6453else 6454 RANLIB="$ac_cv_prog_RANLIB" 6455fi 6456 6457test -z "$RANLIB" && RANLIB=: 6458 6459 6460 6461 6462 6463 6464# Determine commands to create old-style static archives. 6465old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6466old_postinstall_cmds='chmod 644 $oldlib' 6467old_postuninstall_cmds= 6468 6469if test -n "$RANLIB"; then 6470 case $host_os in 6471 openbsd*) 6472 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 6473 ;; 6474 *) 6475 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 6476 ;; 6477 esac 6478 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 6479fi 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514# If no C compiler was specified, use CC. 6515LTCC=${LTCC-"$CC"} 6516 6517# If no C compiler flags were specified, use CFLAGS. 6518LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6519 6520# Allow CC to be a program name with arguments. 6521compiler=$CC 6522 6523 6524# Check for command to grab the raw symbol name followed by C symbol from nm. 6525{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6526$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6527if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6528 $as_echo_n "(cached) " >&6 6529else 6530 6531# These are sane defaults that work on at least a few old systems. 6532# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6533 6534# Character class describing NM global symbol codes. 6535symcode='[BCDEGRST]' 6536 6537# Regexp to match symbols that can be accessed directly from C. 6538sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6539 6540# Define system-specific variables. 6541case $host_os in 6542aix*) 6543 symcode='[BCDT]' 6544 ;; 6545cygwin* | mingw* | pw32* | cegcc*) 6546 symcode='[ABCDGISTW]' 6547 ;; 6548hpux*) 6549 if test "$host_cpu" = ia64; then 6550 symcode='[ABCDEGRST]' 6551 fi 6552 ;; 6553irix* | nonstopux*) 6554 symcode='[BCDEGRST]' 6555 ;; 6556osf*) 6557 symcode='[BCDEGQRST]' 6558 ;; 6559solaris*) 6560 symcode='[BDRT]' 6561 ;; 6562sco3.2v5*) 6563 symcode='[DT]' 6564 ;; 6565sysv4.2uw2*) 6566 symcode='[DT]' 6567 ;; 6568sysv5* | sco5v6* | unixware* | OpenUNIX*) 6569 symcode='[ABDT]' 6570 ;; 6571sysv4) 6572 symcode='[DFNSTU]' 6573 ;; 6574esac 6575 6576# If we're using GNU nm, then use its standard symbol codes. 6577case `$NM -V 2>&1` in 6578*GNU* | *'with BFD'*) 6579 symcode='[ABCDGIRSTW]' ;; 6580esac 6581 6582# Transform an extracted symbol line into a proper C declaration. 6583# Some systems (esp. on ia64) link data and code symbols differently, 6584# so use this general approach. 6585lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6586 6587# Transform an extracted symbol line into symbol name and symbol address 6588lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6589lt_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'" 6590 6591# Handle CRLF in mingw tool chain 6592opt_cr= 6593case $build_os in 6594mingw*) 6595 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6596 ;; 6597esac 6598 6599# Try without a prefix underscore, then with it. 6600for ac_symprfx in "" "_"; do 6601 6602 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6603 symxfrm="\\1 $ac_symprfx\\2 \\2" 6604 6605 # Write the raw and C identifiers. 6606 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6607 # Fake it for dumpbin and say T for any non-static function 6608 # and D for any global variable. 6609 # Also find C++ and __fastcall symbols from MSVC++, 6610 # which start with @ or ?. 6611 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6612" {last_section=section; section=\$ 3};"\ 6613" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6614" \$ 0!~/External *\|/{next};"\ 6615" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6616" {if(hide[section]) next};"\ 6617" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6618" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6619" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6620" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6621" ' prfx=^$ac_symprfx" 6622 else 6623 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6624 fi 6625 6626 # Check to see that the pipe works correctly. 6627 pipe_works=no 6628 6629 rm -f conftest* 6630 cat > conftest.$ac_ext <<_LT_EOF 6631#ifdef __cplusplus 6632extern "C" { 6633#endif 6634char nm_test_var; 6635void nm_test_func(void); 6636void nm_test_func(void){} 6637#ifdef __cplusplus 6638} 6639#endif 6640int main(){nm_test_var='a';nm_test_func();return(0);} 6641_LT_EOF 6642 6643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6644 (eval $ac_compile) 2>&5 6645 ac_status=$? 6646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6647 (exit $ac_status); }; then 6648 # Now try to grab the symbols. 6649 nlist=conftest.nm 6650 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 6651 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 6652 ac_status=$? 6653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6654 (exit $ac_status); } && test -s "$nlist"; then 6655 # Try sorting and uniquifying the output. 6656 if sort "$nlist" | uniq > "$nlist"T; then 6657 mv -f "$nlist"T "$nlist" 6658 else 6659 rm -f "$nlist"T 6660 fi 6661 6662 # Make sure that we snagged all the symbols we need. 6663 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6664 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6665 cat <<_LT_EOF > conftest.$ac_ext 6666#ifdef __cplusplus 6667extern "C" { 6668#endif 6669 6670_LT_EOF 6671 # Now generate the symbol file. 6672 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6673 6674 cat <<_LT_EOF >> conftest.$ac_ext 6675 6676/* The mapping between symbol names and symbols. */ 6677const struct { 6678 const char *name; 6679 void *address; 6680} 6681lt__PROGRAM__LTX_preloaded_symbols[] = 6682{ 6683 { "@PROGRAM@", (void *) 0 }, 6684_LT_EOF 6685 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6686 cat <<\_LT_EOF >> conftest.$ac_ext 6687 {0, (void *) 0} 6688}; 6689 6690/* This works around a problem in FreeBSD linker */ 6691#ifdef FREEBSD_WORKAROUND 6692static const void *lt_preloaded_setup() { 6693 return lt__PROGRAM__LTX_preloaded_symbols; 6694} 6695#endif 6696 6697#ifdef __cplusplus 6698} 6699#endif 6700_LT_EOF 6701 # Now try linking the two files. 6702 mv conftest.$ac_objext conftstm.$ac_objext 6703 lt_save_LIBS="$LIBS" 6704 lt_save_CFLAGS="$CFLAGS" 6705 LIBS="conftstm.$ac_objext" 6706 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6708 (eval $ac_link) 2>&5 6709 ac_status=$? 6710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6711 (exit $ac_status); } && test -s conftest${ac_exeext}; then 6712 pipe_works=yes 6713 fi 6714 LIBS="$lt_save_LIBS" 6715 CFLAGS="$lt_save_CFLAGS" 6716 else 6717 echo "cannot find nm_test_func in $nlist" >&5 6718 fi 6719 else 6720 echo "cannot find nm_test_var in $nlist" >&5 6721 fi 6722 else 6723 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6724 fi 6725 else 6726 echo "$progname: failed program was:" >&5 6727 cat conftest.$ac_ext >&5 6728 fi 6729 rm -rf conftest* conftst* 6730 6731 # Do not use the global_symbol_pipe unless it works. 6732 if test "$pipe_works" = yes; then 6733 break 6734 else 6735 lt_cv_sys_global_symbol_pipe= 6736 fi 6737done 6738 6739fi 6740 6741if test -z "$lt_cv_sys_global_symbol_pipe"; then 6742 lt_cv_sys_global_symbol_to_cdecl= 6743fi 6744if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6745 { $as_echo "$as_me:$LINENO: result: failed" >&5 6746$as_echo "failed" >&6; } 6747else 6748 { $as_echo "$as_me:$LINENO: result: ok" >&5 6749$as_echo "ok" >&6; } 6750fi 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774# Check whether --enable-libtool-lock was given. 6775if test "${enable_libtool_lock+set}" = set; then 6776 enableval=$enable_libtool_lock; 6777fi 6778 6779test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6780 6781# Some flags need to be propagated to the compiler or linker for good 6782# libtool support. 6783case $host in 6784ia64-*-hpux*) 6785 # Find out which ABI we are using. 6786 echo 'int i;' > conftest.$ac_ext 6787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6788 (eval $ac_compile) 2>&5 6789 ac_status=$? 6790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6791 (exit $ac_status); }; then 6792 case `/usr/bin/file conftest.$ac_objext` in 6793 *ELF-32*) 6794 HPUX_IA64_MODE="32" 6795 ;; 6796 *ELF-64*) 6797 HPUX_IA64_MODE="64" 6798 ;; 6799 esac 6800 fi 6801 rm -rf conftest* 6802 ;; 6803*-*-irix6*) 6804 # Find out which ABI we are using. 6805 echo '#line 6805 "configure"' > conftest.$ac_ext 6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6807 (eval $ac_compile) 2>&5 6808 ac_status=$? 6809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6810 (exit $ac_status); }; then 6811 if test "$lt_cv_prog_gnu_ld" = yes; then 6812 case `/usr/bin/file conftest.$ac_objext` in 6813 *32-bit*) 6814 LD="${LD-ld} -melf32bsmip" 6815 ;; 6816 *N32*) 6817 LD="${LD-ld} -melf32bmipn32" 6818 ;; 6819 *64-bit*) 6820 LD="${LD-ld} -melf64bmip" 6821 ;; 6822 esac 6823 else 6824 case `/usr/bin/file conftest.$ac_objext` in 6825 *32-bit*) 6826 LD="${LD-ld} -32" 6827 ;; 6828 *N32*) 6829 LD="${LD-ld} -n32" 6830 ;; 6831 *64-bit*) 6832 LD="${LD-ld} -64" 6833 ;; 6834 esac 6835 fi 6836 fi 6837 rm -rf conftest* 6838 ;; 6839 6840x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6841s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6842 # Find out which ABI we are using. 6843 echo 'int i;' > conftest.$ac_ext 6844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6845 (eval $ac_compile) 2>&5 6846 ac_status=$? 6847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6848 (exit $ac_status); }; then 6849 case `/usr/bin/file conftest.o` in 6850 *32-bit*) 6851 case $host in 6852 x86_64-*kfreebsd*-gnu) 6853 LD="${LD-ld} -m elf_i386_fbsd" 6854 ;; 6855 x86_64-*linux*) 6856 LD="${LD-ld} -m elf_i386" 6857 ;; 6858 ppc64-*linux*|powerpc64-*linux*) 6859 LD="${LD-ld} -m elf32ppclinux" 6860 ;; 6861 s390x-*linux*) 6862 LD="${LD-ld} -m elf_s390" 6863 ;; 6864 sparc64-*linux*) 6865 LD="${LD-ld} -m elf32_sparc" 6866 ;; 6867 esac 6868 ;; 6869 *64-bit*) 6870 case $host in 6871 x86_64-*kfreebsd*-gnu) 6872 LD="${LD-ld} -m elf_x86_64_fbsd" 6873 ;; 6874 x86_64-*linux*) 6875 LD="${LD-ld} -m elf_x86_64" 6876 ;; 6877 ppc*-*linux*|powerpc*-*linux*) 6878 LD="${LD-ld} -m elf64ppc" 6879 ;; 6880 s390*-*linux*|s390*-*tpf*) 6881 LD="${LD-ld} -m elf64_s390" 6882 ;; 6883 sparc*-*linux*) 6884 LD="${LD-ld} -m elf64_sparc" 6885 ;; 6886 esac 6887 ;; 6888 esac 6889 fi 6890 rm -rf conftest* 6891 ;; 6892 6893*-*-sco3.2v5*) 6894 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6895 SAVE_CFLAGS="$CFLAGS" 6896 CFLAGS="$CFLAGS -belf" 6897 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6898$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6899if test "${lt_cv_cc_needs_belf+set}" = set; then 6900 $as_echo_n "(cached) " >&6 6901else 6902 ac_ext=c 6903ac_cpp='$CPP $CPPFLAGS' 6904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6906ac_compiler_gnu=$ac_cv_c_compiler_gnu 6907 6908 cat >conftest.$ac_ext <<_ACEOF 6909/* confdefs.h. */ 6910_ACEOF 6911cat confdefs.h >>conftest.$ac_ext 6912cat >>conftest.$ac_ext <<_ACEOF 6913/* end confdefs.h. */ 6914 6915int 6916main () 6917{ 6918 6919 ; 6920 return 0; 6921} 6922_ACEOF 6923rm -f conftest.$ac_objext conftest$ac_exeext 6924if { (ac_try="$ac_link" 6925case "(($ac_try" in 6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6927 *) ac_try_echo=$ac_try;; 6928esac 6929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6930$as_echo "$ac_try_echo") >&5 6931 (eval "$ac_link") 2>conftest.er1 6932 ac_status=$? 6933 grep -v '^ *+' conftest.er1 >conftest.err 6934 rm -f conftest.er1 6935 cat conftest.err >&5 6936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6937 (exit $ac_status); } && { 6938 test -z "$ac_c_werror_flag" || 6939 test ! -s conftest.err 6940 } && test -s conftest$ac_exeext && { 6941 test "$cross_compiling" = yes || 6942 $as_test_x conftest$ac_exeext 6943 }; then 6944 lt_cv_cc_needs_belf=yes 6945else 6946 $as_echo "$as_me: failed program was:" >&5 6947sed 's/^/| /' conftest.$ac_ext >&5 6948 6949 lt_cv_cc_needs_belf=no 6950fi 6951 6952rm -rf conftest.dSYM 6953rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6954 conftest$ac_exeext conftest.$ac_ext 6955 ac_ext=c 6956ac_cpp='$CPP $CPPFLAGS' 6957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6959ac_compiler_gnu=$ac_cv_c_compiler_gnu 6960 6961fi 6962{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6963$as_echo "$lt_cv_cc_needs_belf" >&6; } 6964 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6965 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6966 CFLAGS="$SAVE_CFLAGS" 6967 fi 6968 ;; 6969sparc*-*solaris*) 6970 # Find out which ABI we are using. 6971 echo 'int i;' > conftest.$ac_ext 6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6973 (eval $ac_compile) 2>&5 6974 ac_status=$? 6975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6976 (exit $ac_status); }; then 6977 case `/usr/bin/file conftest.o` in 6978 *64-bit*) 6979 case $lt_cv_prog_gnu_ld in 6980 yes*) LD="${LD-ld} -m elf64_sparc" ;; 6981 *) 6982 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6983 LD="${LD-ld} -64" 6984 fi 6985 ;; 6986 esac 6987 ;; 6988 esac 6989 fi 6990 rm -rf conftest* 6991 ;; 6992esac 6993 6994need_locks="$enable_libtool_lock" 6995 6996 6997 case $host_os in 6998 rhapsody* | darwin*) 6999 if test -n "$ac_tool_prefix"; then 7000 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7001set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7002{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7003$as_echo_n "checking for $ac_word... " >&6; } 7004if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 7005 $as_echo_n "(cached) " >&6 7006else 7007 if test -n "$DSYMUTIL"; then 7008 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7009else 7010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7011for as_dir in $PATH 7012do 7013 IFS=$as_save_IFS 7014 test -z "$as_dir" && as_dir=. 7015 for ac_exec_ext in '' $ac_executable_extensions; do 7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7017 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7018 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7019 break 2 7020 fi 7021done 7022done 7023IFS=$as_save_IFS 7024 7025fi 7026fi 7027DSYMUTIL=$ac_cv_prog_DSYMUTIL 7028if test -n "$DSYMUTIL"; then 7029 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 7030$as_echo "$DSYMUTIL" >&6; } 7031else 7032 { $as_echo "$as_me:$LINENO: result: no" >&5 7033$as_echo "no" >&6; } 7034fi 7035 7036 7037fi 7038if test -z "$ac_cv_prog_DSYMUTIL"; then 7039 ac_ct_DSYMUTIL=$DSYMUTIL 7040 # Extract the first word of "dsymutil", so it can be a program name with args. 7041set dummy dsymutil; ac_word=$2 7042{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7043$as_echo_n "checking for $ac_word... " >&6; } 7044if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 7045 $as_echo_n "(cached) " >&6 7046else 7047 if test -n "$ac_ct_DSYMUTIL"; then 7048 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7049else 7050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7051for as_dir in $PATH 7052do 7053 IFS=$as_save_IFS 7054 test -z "$as_dir" && as_dir=. 7055 for ac_exec_ext in '' $ac_executable_extensions; do 7056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7057 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7058 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7059 break 2 7060 fi 7061done 7062done 7063IFS=$as_save_IFS 7064 7065fi 7066fi 7067ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7068if test -n "$ac_ct_DSYMUTIL"; then 7069 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 7070$as_echo "$ac_ct_DSYMUTIL" >&6; } 7071else 7072 { $as_echo "$as_me:$LINENO: result: no" >&5 7073$as_echo "no" >&6; } 7074fi 7075 7076 if test "x$ac_ct_DSYMUTIL" = x; then 7077 DSYMUTIL=":" 7078 else 7079 case $cross_compiling:$ac_tool_warned in 7080yes:) 7081{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7082$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7083ac_tool_warned=yes ;; 7084esac 7085 DSYMUTIL=$ac_ct_DSYMUTIL 7086 fi 7087else 7088 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7089fi 7090 7091 if test -n "$ac_tool_prefix"; then 7092 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7093set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+set}" = set; then 7097 $as_echo_n "(cached) " >&6 7098else 7099 if test -n "$NMEDIT"; then 7100 ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit" 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 7119NMEDIT=$ac_cv_prog_NMEDIT 7120if test -n "$NMEDIT"; then 7121 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 7122$as_echo "$NMEDIT" >&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_NMEDIT"; then 7131 ac_ct_NMEDIT=$NMEDIT 7132 # Extract the first word of "nmedit", so it can be a program name with args. 7133set dummy nmedit; 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_NMEDIT+set}" = set; then 7137 $as_echo_n "(cached) " >&6 7138else 7139 if test -n "$ac_ct_NMEDIT"; then 7140 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_NMEDIT="nmedit" 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_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7160if test -n "$ac_ct_NMEDIT"; then 7161 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7162$as_echo "$ac_ct_NMEDIT" >&6; } 7163else 7164 { $as_echo "$as_me:$LINENO: result: no" >&5 7165$as_echo "no" >&6; } 7166fi 7167 7168 if test "x$ac_ct_NMEDIT" = x; then 7169 NMEDIT=":" 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 NMEDIT=$ac_ct_NMEDIT 7178 fi 7179else 7180 NMEDIT="$ac_cv_prog_NMEDIT" 7181fi 7182 7183 if test -n "$ac_tool_prefix"; then 7184 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7185set dummy ${ac_tool_prefix}lipo; 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_LIPO+set}" = set; then 7189 $as_echo_n "(cached) " >&6 7190else 7191 if test -n "$LIPO"; then 7192 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo" 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 7211LIPO=$ac_cv_prog_LIPO 7212if test -n "$LIPO"; then 7213 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 7214$as_echo "$LIPO" >&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_LIPO"; then 7223 ac_ct_LIPO=$LIPO 7224 # Extract the first word of "lipo", so it can be a program name with args. 7225set dummy lipo; 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_LIPO+set}" = set; then 7229 $as_echo_n "(cached) " >&6 7230else 7231 if test -n "$ac_ct_LIPO"; then 7232 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_LIPO="lipo" 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_LIPO=$ac_cv_prog_ac_ct_LIPO 7252if test -n "$ac_ct_LIPO"; then 7253 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 7254$as_echo "$ac_ct_LIPO" >&6; } 7255else 7256 { $as_echo "$as_me:$LINENO: result: no" >&5 7257$as_echo "no" >&6; } 7258fi 7259 7260 if test "x$ac_ct_LIPO" = x; then 7261 LIPO=":" 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 LIPO=$ac_ct_LIPO 7270 fi 7271else 7272 LIPO="$ac_cv_prog_LIPO" 7273fi 7274 7275 if test -n "$ac_tool_prefix"; then 7276 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7277set dummy ${ac_tool_prefix}otool; 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_OTOOL+set}" = set; then 7281 $as_echo_n "(cached) " >&6 7282else 7283 if test -n "$OTOOL"; then 7284 ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool" 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 7303OTOOL=$ac_cv_prog_OTOOL 7304if test -n "$OTOOL"; then 7305 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 7306$as_echo "$OTOOL" >&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_OTOOL"; then 7315 ac_ct_OTOOL=$OTOOL 7316 # Extract the first word of "otool", so it can be a program name with args. 7317set dummy otool; 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_OTOOL+set}" = set; then 7321 $as_echo_n "(cached) " >&6 7322else 7323 if test -n "$ac_ct_OTOOL"; then 7324 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_OTOOL="otool" 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_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7344if test -n "$ac_ct_OTOOL"; then 7345 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 7346$as_echo "$ac_ct_OTOOL" >&6; } 7347else 7348 { $as_echo "$as_me:$LINENO: result: no" >&5 7349$as_echo "no" >&6; } 7350fi 7351 7352 if test "x$ac_ct_OTOOL" = x; then 7353 OTOOL=":" 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 OTOOL=$ac_ct_OTOOL 7362 fi 7363else 7364 OTOOL="$ac_cv_prog_OTOOL" 7365fi 7366 7367 if test -n "$ac_tool_prefix"; then 7368 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7369set dummy ${ac_tool_prefix}otool64; 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_OTOOL64+set}" = set; then 7373 $as_echo_n "(cached) " >&6 7374else 7375 if test -n "$OTOOL64"; then 7376 ac_cv_prog_OTOOL64="$OTOOL64" # 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_OTOOL64="${ac_tool_prefix}otool64" 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 7395OTOOL64=$ac_cv_prog_OTOOL64 7396if test -n "$OTOOL64"; then 7397 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 7398$as_echo "$OTOOL64" >&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_OTOOL64"; then 7407 ac_ct_OTOOL64=$OTOOL64 7408 # Extract the first word of "otool64", so it can be a program name with args. 7409set dummy otool64; 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_OTOOL64+set}" = set; then 7413 $as_echo_n "(cached) " >&6 7414else 7415 if test -n "$ac_ct_OTOOL64"; then 7416 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_OTOOL64="otool64" 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_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7436if test -n "$ac_ct_OTOOL64"; then 7437 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 7438$as_echo "$ac_ct_OTOOL64" >&6; } 7439else 7440 { $as_echo "$as_me:$LINENO: result: no" >&5 7441$as_echo "no" >&6; } 7442fi 7443 7444 if test "x$ac_ct_OTOOL64" = x; then 7445 OTOOL64=":" 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 OTOOL64=$ac_ct_OTOOL64 7454 fi 7455else 7456 OTOOL64="$ac_cv_prog_OTOOL64" 7457fi 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 7486$as_echo_n "checking for -single_module linker flag... " >&6; } 7487if test "${lt_cv_apple_cc_single_mod+set}" = set; then 7488 $as_echo_n "(cached) " >&6 7489else 7490 lt_cv_apple_cc_single_mod=no 7491 if test -z "${LT_MULTI_MODULE}"; then 7492 # By default we will add the -single_module flag. You can override 7493 # by either setting the environment variable LT_MULTI_MODULE 7494 # non-empty at configure time, or by adding -multi_module to the 7495 # link flags. 7496 rm -rf libconftest.dylib* 7497 echo "int foo(void){return 1;}" > conftest.c 7498 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7499-dynamiclib -Wl,-single_module conftest.c" >&5 7500 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7501 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7502 _lt_result=$? 7503 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 7504 lt_cv_apple_cc_single_mod=yes 7505 else 7506 cat conftest.err >&5 7507 fi 7508 rm -rf libconftest.dylib* 7509 rm -f conftest.* 7510 fi 7511fi 7512{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 7513$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7514 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 7515$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7516if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 7517 $as_echo_n "(cached) " >&6 7518else 7519 lt_cv_ld_exported_symbols_list=no 7520 save_LDFLAGS=$LDFLAGS 7521 echo "_main" > conftest.sym 7522 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7523 cat >conftest.$ac_ext <<_ACEOF 7524/* confdefs.h. */ 7525_ACEOF 7526cat confdefs.h >>conftest.$ac_ext 7527cat >>conftest.$ac_ext <<_ACEOF 7528/* end confdefs.h. */ 7529 7530int 7531main () 7532{ 7533 7534 ; 7535 return 0; 7536} 7537_ACEOF 7538rm -f conftest.$ac_objext conftest$ac_exeext 7539if { (ac_try="$ac_link" 7540case "(($ac_try" in 7541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7542 *) ac_try_echo=$ac_try;; 7543esac 7544eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7545$as_echo "$ac_try_echo") >&5 7546 (eval "$ac_link") 2>conftest.er1 7547 ac_status=$? 7548 grep -v '^ *+' conftest.er1 >conftest.err 7549 rm -f conftest.er1 7550 cat conftest.err >&5 7551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7552 (exit $ac_status); } && { 7553 test -z "$ac_c_werror_flag" || 7554 test ! -s conftest.err 7555 } && test -s conftest$ac_exeext && { 7556 test "$cross_compiling" = yes || 7557 $as_test_x conftest$ac_exeext 7558 }; then 7559 lt_cv_ld_exported_symbols_list=yes 7560else 7561 $as_echo "$as_me: failed program was:" >&5 7562sed 's/^/| /' conftest.$ac_ext >&5 7563 7564 lt_cv_ld_exported_symbols_list=no 7565fi 7566 7567rm -rf conftest.dSYM 7568rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7569 conftest$ac_exeext conftest.$ac_ext 7570 LDFLAGS="$save_LDFLAGS" 7571 7572fi 7573{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 7574$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7575 case $host_os in 7576 rhapsody* | darwin1.[012]) 7577 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7578 darwin1.*) 7579 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7580 darwin*) # darwin 5.x on 7581 # if running on 10.5 or later, the deployment target defaults 7582 # to the OS version, if on x86, and 10.4, the deployment 7583 # target defaults to 10.4. Don't you love it? 7584 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7585 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7586 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7587 10.[012]*) 7588 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7589 10.*) 7590 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7591 esac 7592 ;; 7593 esac 7594 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7595 _lt_dar_single_mod='$single_module' 7596 fi 7597 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7598 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7599 else 7600 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7601 fi 7602 if test "$DSYMUTIL" != ":"; then 7603 _lt_dsymutil='~$DSYMUTIL $lib || :' 7604 else 7605 _lt_dsymutil= 7606 fi 7607 ;; 7608 esac 7609 7610ac_ext=c 7611ac_cpp='$CPP $CPPFLAGS' 7612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7614ac_compiler_gnu=$ac_cv_c_compiler_gnu 7615{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 7616$as_echo_n "checking how to run the C preprocessor... " >&6; } 7617# On Suns, sometimes $CPP names a directory. 7618if test -n "$CPP" && test -d "$CPP"; then 7619 CPP= 7620fi 7621if test -z "$CPP"; then 7622 if test "${ac_cv_prog_CPP+set}" = set; then 7623 $as_echo_n "(cached) " >&6 7624else 7625 # Double quotes because CPP needs to be expanded 7626 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7627 do 7628 ac_preproc_ok=false 7629for ac_c_preproc_warn_flag in '' yes 7630do 7631 # Use a header file that comes with gcc, so configuring glibc 7632 # with a fresh cross-compiler works. 7633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7634 # <limits.h> exists even on freestanding compilers. 7635 # On the NeXT, cc -E runs the code through the compiler's parser, 7636 # not just through cpp. "Syntax error" is here to catch this case. 7637 cat >conftest.$ac_ext <<_ACEOF 7638/* confdefs.h. */ 7639_ACEOF 7640cat confdefs.h >>conftest.$ac_ext 7641cat >>conftest.$ac_ext <<_ACEOF 7642/* end confdefs.h. */ 7643#ifdef __STDC__ 7644# include <limits.h> 7645#else 7646# include <assert.h> 7647#endif 7648 Syntax error 7649_ACEOF 7650if { (ac_try="$ac_cpp conftest.$ac_ext" 7651case "(($ac_try" in 7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7653 *) ac_try_echo=$ac_try;; 7654esac 7655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7656$as_echo "$ac_try_echo") >&5 7657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7658 ac_status=$? 7659 grep -v '^ *+' conftest.er1 >conftest.err 7660 rm -f conftest.er1 7661 cat conftest.err >&5 7662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7663 (exit $ac_status); } >/dev/null && { 7664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7665 test ! -s conftest.err 7666 }; then 7667 : 7668else 7669 $as_echo "$as_me: failed program was:" >&5 7670sed 's/^/| /' conftest.$ac_ext >&5 7671 7672 # Broken: fails on valid input. 7673continue 7674fi 7675 7676rm -f conftest.err conftest.$ac_ext 7677 7678 # OK, works on sane cases. Now check whether nonexistent headers 7679 # can be detected and how. 7680 cat >conftest.$ac_ext <<_ACEOF 7681/* confdefs.h. */ 7682_ACEOF 7683cat confdefs.h >>conftest.$ac_ext 7684cat >>conftest.$ac_ext <<_ACEOF 7685/* end confdefs.h. */ 7686#include <ac_nonexistent.h> 7687_ACEOF 7688if { (ac_try="$ac_cpp conftest.$ac_ext" 7689case "(($ac_try" in 7690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7691 *) ac_try_echo=$ac_try;; 7692esac 7693eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7694$as_echo "$ac_try_echo") >&5 7695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7696 ac_status=$? 7697 grep -v '^ *+' conftest.er1 >conftest.err 7698 rm -f conftest.er1 7699 cat conftest.err >&5 7700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7701 (exit $ac_status); } >/dev/null && { 7702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7703 test ! -s conftest.err 7704 }; then 7705 # Broken: success on invalid input. 7706continue 7707else 7708 $as_echo "$as_me: failed program was:" >&5 7709sed 's/^/| /' conftest.$ac_ext >&5 7710 7711 # Passes both tests. 7712ac_preproc_ok=: 7713break 7714fi 7715 7716rm -f conftest.err conftest.$ac_ext 7717 7718done 7719# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7720rm -f conftest.err conftest.$ac_ext 7721if $ac_preproc_ok; then 7722 break 7723fi 7724 7725 done 7726 ac_cv_prog_CPP=$CPP 7727 7728fi 7729 CPP=$ac_cv_prog_CPP 7730else 7731 ac_cv_prog_CPP=$CPP 7732fi 7733{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 7734$as_echo "$CPP" >&6; } 7735ac_preproc_ok=false 7736for ac_c_preproc_warn_flag in '' yes 7737do 7738 # Use a header file that comes with gcc, so configuring glibc 7739 # with a fresh cross-compiler works. 7740 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7741 # <limits.h> exists even on freestanding compilers. 7742 # On the NeXT, cc -E runs the code through the compiler's parser, 7743 # not just through cpp. "Syntax error" is here to catch this case. 7744 cat >conftest.$ac_ext <<_ACEOF 7745/* confdefs.h. */ 7746_ACEOF 7747cat confdefs.h >>conftest.$ac_ext 7748cat >>conftest.$ac_ext <<_ACEOF 7749/* end confdefs.h. */ 7750#ifdef __STDC__ 7751# include <limits.h> 7752#else 7753# include <assert.h> 7754#endif 7755 Syntax error 7756_ACEOF 7757if { (ac_try="$ac_cpp conftest.$ac_ext" 7758case "(($ac_try" in 7759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7760 *) ac_try_echo=$ac_try;; 7761esac 7762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7763$as_echo "$ac_try_echo") >&5 7764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7765 ac_status=$? 7766 grep -v '^ *+' conftest.er1 >conftest.err 7767 rm -f conftest.er1 7768 cat conftest.err >&5 7769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7770 (exit $ac_status); } >/dev/null && { 7771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7772 test ! -s conftest.err 7773 }; then 7774 : 7775else 7776 $as_echo "$as_me: failed program was:" >&5 7777sed 's/^/| /' conftest.$ac_ext >&5 7778 7779 # Broken: fails on valid input. 7780continue 7781fi 7782 7783rm -f conftest.err conftest.$ac_ext 7784 7785 # OK, works on sane cases. Now check whether nonexistent headers 7786 # can be detected and how. 7787 cat >conftest.$ac_ext <<_ACEOF 7788/* confdefs.h. */ 7789_ACEOF 7790cat confdefs.h >>conftest.$ac_ext 7791cat >>conftest.$ac_ext <<_ACEOF 7792/* end confdefs.h. */ 7793#include <ac_nonexistent.h> 7794_ACEOF 7795if { (ac_try="$ac_cpp conftest.$ac_ext" 7796case "(($ac_try" in 7797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7798 *) ac_try_echo=$ac_try;; 7799esac 7800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7801$as_echo "$ac_try_echo") >&5 7802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7803 ac_status=$? 7804 grep -v '^ *+' conftest.er1 >conftest.err 7805 rm -f conftest.er1 7806 cat conftest.err >&5 7807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7808 (exit $ac_status); } >/dev/null && { 7809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7810 test ! -s conftest.err 7811 }; then 7812 # Broken: success on invalid input. 7813continue 7814else 7815 $as_echo "$as_me: failed program was:" >&5 7816sed 's/^/| /' conftest.$ac_ext >&5 7817 7818 # Passes both tests. 7819ac_preproc_ok=: 7820break 7821fi 7822 7823rm -f conftest.err conftest.$ac_ext 7824 7825done 7826# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7827rm -f conftest.err conftest.$ac_ext 7828if $ac_preproc_ok; then 7829 : 7830else 7831 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 7832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7833{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 7834See \`config.log' for more details." >&5 7835$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 7836See \`config.log' for more details." >&2;} 7837 { (exit 1); exit 1; }; }; } 7838fi 7839 7840ac_ext=c 7841ac_cpp='$CPP $CPPFLAGS' 7842ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7843ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7844ac_compiler_gnu=$ac_cv_c_compiler_gnu 7845 7846 7847{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7848$as_echo_n "checking for ANSI C header files... " >&6; } 7849if test "${ac_cv_header_stdc+set}" = set; then 7850 $as_echo_n "(cached) " >&6 7851else 7852 cat >conftest.$ac_ext <<_ACEOF 7853/* confdefs.h. */ 7854_ACEOF 7855cat confdefs.h >>conftest.$ac_ext 7856cat >>conftest.$ac_ext <<_ACEOF 7857/* end confdefs.h. */ 7858#include <stdlib.h> 7859#include <stdarg.h> 7860#include <string.h> 7861#include <float.h> 7862 7863int 7864main () 7865{ 7866 7867 ; 7868 return 0; 7869} 7870_ACEOF 7871rm -f conftest.$ac_objext 7872if { (ac_try="$ac_compile" 7873case "(($ac_try" in 7874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7875 *) ac_try_echo=$ac_try;; 7876esac 7877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7878$as_echo "$ac_try_echo") >&5 7879 (eval "$ac_compile") 2>conftest.er1 7880 ac_status=$? 7881 grep -v '^ *+' conftest.er1 >conftest.err 7882 rm -f conftest.er1 7883 cat conftest.err >&5 7884 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7885 (exit $ac_status); } && { 7886 test -z "$ac_c_werror_flag" || 7887 test ! -s conftest.err 7888 } && test -s conftest.$ac_objext; then 7889 ac_cv_header_stdc=yes 7890else 7891 $as_echo "$as_me: failed program was:" >&5 7892sed 's/^/| /' conftest.$ac_ext >&5 7893 7894 ac_cv_header_stdc=no 7895fi 7896 7897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7898 7899if test $ac_cv_header_stdc = yes; then 7900 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7901 cat >conftest.$ac_ext <<_ACEOF 7902/* confdefs.h. */ 7903_ACEOF 7904cat confdefs.h >>conftest.$ac_ext 7905cat >>conftest.$ac_ext <<_ACEOF 7906/* end confdefs.h. */ 7907#include <string.h> 7908 7909_ACEOF 7910if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7911 $EGREP "memchr" >/dev/null 2>&1; then 7912 : 7913else 7914 ac_cv_header_stdc=no 7915fi 7916rm -f conftest* 7917 7918fi 7919 7920if test $ac_cv_header_stdc = yes; then 7921 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7922 cat >conftest.$ac_ext <<_ACEOF 7923/* confdefs.h. */ 7924_ACEOF 7925cat confdefs.h >>conftest.$ac_ext 7926cat >>conftest.$ac_ext <<_ACEOF 7927/* end confdefs.h. */ 7928#include <stdlib.h> 7929 7930_ACEOF 7931if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7932 $EGREP "free" >/dev/null 2>&1; then 7933 : 7934else 7935 ac_cv_header_stdc=no 7936fi 7937rm -f conftest* 7938 7939fi 7940 7941if test $ac_cv_header_stdc = yes; then 7942 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7943 if test "$cross_compiling" = yes; then 7944 : 7945else 7946 cat >conftest.$ac_ext <<_ACEOF 7947/* confdefs.h. */ 7948_ACEOF 7949cat confdefs.h >>conftest.$ac_ext 7950cat >>conftest.$ac_ext <<_ACEOF 7951/* end confdefs.h. */ 7952#include <ctype.h> 7953#include <stdlib.h> 7954#if ((' ' & 0x0FF) == 0x020) 7955# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7956# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7957#else 7958# define ISLOWER(c) \ 7959 (('a' <= (c) && (c) <= 'i') \ 7960 || ('j' <= (c) && (c) <= 'r') \ 7961 || ('s' <= (c) && (c) <= 'z')) 7962# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7963#endif 7964 7965#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7966int 7967main () 7968{ 7969 int i; 7970 for (i = 0; i < 256; i++) 7971 if (XOR (islower (i), ISLOWER (i)) 7972 || toupper (i) != TOUPPER (i)) 7973 return 2; 7974 return 0; 7975} 7976_ACEOF 7977rm -f conftest$ac_exeext 7978if { (ac_try="$ac_link" 7979case "(($ac_try" in 7980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7981 *) ac_try_echo=$ac_try;; 7982esac 7983eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7984$as_echo "$ac_try_echo") >&5 7985 (eval "$ac_link") 2>&5 7986 ac_status=$? 7987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7989 { (case "(($ac_try" in 7990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7991 *) ac_try_echo=$ac_try;; 7992esac 7993eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7994$as_echo "$ac_try_echo") >&5 7995 (eval "$ac_try") 2>&5 7996 ac_status=$? 7997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7998 (exit $ac_status); }; }; then 7999 : 8000else 8001 $as_echo "$as_me: program exited with status $ac_status" >&5 8002$as_echo "$as_me: failed program was:" >&5 8003sed 's/^/| /' conftest.$ac_ext >&5 8004 8005( exit $ac_status ) 8006ac_cv_header_stdc=no 8007fi 8008rm -rf conftest.dSYM 8009rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8010fi 8011 8012 8013fi 8014fi 8015{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 8016$as_echo "$ac_cv_header_stdc" >&6; } 8017if test $ac_cv_header_stdc = yes; then 8018 8019cat >>confdefs.h <<\_ACEOF 8020#define STDC_HEADERS 1 8021_ACEOF 8022 8023fi 8024 8025# On IRIX 5.3, sys/types and inttypes.h are conflicting. 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 8036 inttypes.h stdint.h unistd.h 8037do 8038as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8039{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8040$as_echo_n "checking for $ac_header... " >&6; } 8041if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8042 $as_echo_n "(cached) " >&6 8043else 8044 cat >conftest.$ac_ext <<_ACEOF 8045/* confdefs.h. */ 8046_ACEOF 8047cat confdefs.h >>conftest.$ac_ext 8048cat >>conftest.$ac_ext <<_ACEOF 8049/* end confdefs.h. */ 8050$ac_includes_default 8051 8052#include <$ac_header> 8053_ACEOF 8054rm -f conftest.$ac_objext 8055if { (ac_try="$ac_compile" 8056case "(($ac_try" in 8057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8058 *) ac_try_echo=$ac_try;; 8059esac 8060eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8061$as_echo "$ac_try_echo") >&5 8062 (eval "$ac_compile") 2>conftest.er1 8063 ac_status=$? 8064 grep -v '^ *+' conftest.er1 >conftest.err 8065 rm -f conftest.er1 8066 cat conftest.err >&5 8067 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8068 (exit $ac_status); } && { 8069 test -z "$ac_c_werror_flag" || 8070 test ! -s conftest.err 8071 } && test -s conftest.$ac_objext; then 8072 eval "$as_ac_Header=yes" 8073else 8074 $as_echo "$as_me: failed program was:" >&5 8075sed 's/^/| /' conftest.$ac_ext >&5 8076 8077 eval "$as_ac_Header=no" 8078fi 8079 8080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8081fi 8082ac_res=`eval 'as_val=${'$as_ac_Header'} 8083 $as_echo "$as_val"'` 8084 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8085$as_echo "$ac_res" >&6; } 8086as_val=`eval 'as_val=${'$as_ac_Header'} 8087 $as_echo "$as_val"'` 8088 if test "x$as_val" = x""yes; then 8089 cat >>confdefs.h <<_ACEOF 8090#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8091_ACEOF 8092 8093fi 8094 8095done 8096 8097 8098 8099for ac_header in dlfcn.h 8100do 8101as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 8102{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 8103$as_echo_n "checking for $ac_header... " >&6; } 8104if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8105 $as_echo_n "(cached) " >&6 8106else 8107 cat >conftest.$ac_ext <<_ACEOF 8108/* confdefs.h. */ 8109_ACEOF 8110cat confdefs.h >>conftest.$ac_ext 8111cat >>conftest.$ac_ext <<_ACEOF 8112/* end confdefs.h. */ 8113$ac_includes_default 8114 8115#include <$ac_header> 8116_ACEOF 8117rm -f conftest.$ac_objext 8118if { (ac_try="$ac_compile" 8119case "(($ac_try" in 8120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8121 *) ac_try_echo=$ac_try;; 8122esac 8123eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8124$as_echo "$ac_try_echo") >&5 8125 (eval "$ac_compile") 2>conftest.er1 8126 ac_status=$? 8127 grep -v '^ *+' conftest.er1 >conftest.err 8128 rm -f conftest.er1 8129 cat conftest.err >&5 8130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8131 (exit $ac_status); } && { 8132 test -z "$ac_c_werror_flag" || 8133 test ! -s conftest.err 8134 } && test -s conftest.$ac_objext; then 8135 eval "$as_ac_Header=yes" 8136else 8137 $as_echo "$as_me: failed program was:" >&5 8138sed 's/^/| /' conftest.$ac_ext >&5 8139 8140 eval "$as_ac_Header=no" 8141fi 8142 8143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8144fi 8145ac_res=`eval 'as_val=${'$as_ac_Header'} 8146 $as_echo "$as_val"'` 8147 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 8148$as_echo "$ac_res" >&6; } 8149as_val=`eval 'as_val=${'$as_ac_Header'} 8150 $as_echo "$as_val"'` 8151 if test "x$as_val" = x""yes; then 8152 cat >>confdefs.h <<_ACEOF 8153#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 8154_ACEOF 8155 8156fi 8157 8158done 8159 8160 8161 8162# Set options 8163 8164 8165 8166 enable_dlopen=no 8167 8168 8169 8170 # Check whether --enable-shared was given. 8171if test "${enable_shared+set}" = set; then 8172 enableval=$enable_shared; p=${PACKAGE-default} 8173 case $enableval in 8174 yes) enable_shared=yes ;; 8175 no) enable_shared=no ;; 8176 *) 8177 enable_shared=no 8178 # Look at the argument we got. We use all the common list separators. 8179 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8180 for pkg in $enableval; do 8181 IFS="$lt_save_ifs" 8182 if test "X$pkg" = "X$p"; then 8183 enable_shared=yes 8184 fi 8185 done 8186 IFS="$lt_save_ifs" 8187 ;; 8188 esac 8189else 8190 enable_shared=yes 8191fi 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203# Check whether --with-pic was given. 8204if test "${with_pic+set}" = set; then 8205 withval=$with_pic; pic_mode="$withval" 8206else 8207 pic_mode=default 8208fi 8209 8210 8211test -z "$pic_mode" && pic_mode=default 8212 8213 8214 8215 8216 8217 8218 8219 # Check whether --enable-fast-install was given. 8220if test "${enable_fast_install+set}" = set; then 8221 enableval=$enable_fast_install; p=${PACKAGE-default} 8222 case $enableval in 8223 yes) enable_fast_install=yes ;; 8224 no) enable_fast_install=no ;; 8225 *) 8226 enable_fast_install=no 8227 # Look at the argument we got. We use all the common list separators. 8228 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8229 for pkg in $enableval; do 8230 IFS="$lt_save_ifs" 8231 if test "X$pkg" = "X$p"; then 8232 enable_fast_install=yes 8233 fi 8234 done 8235 IFS="$lt_save_ifs" 8236 ;; 8237 esac 8238else 8239 enable_fast_install=yes 8240fi 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252# This can be used to rebuild libtool when needed 8253LIBTOOL_DEPS="$ltmain" 8254 8255# Always use our own libtool. 8256LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282test -z "$LN_S" && LN_S="ln -s" 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297if test -n "${ZSH_VERSION+set}" ; then 8298 setopt NO_GLOB_SUBST 8299fi 8300 8301{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 8302$as_echo_n "checking for objdir... " >&6; } 8303if test "${lt_cv_objdir+set}" = set; then 8304 $as_echo_n "(cached) " >&6 8305else 8306 rm -f .libs 2>/dev/null 8307mkdir .libs 2>/dev/null 8308if test -d .libs; then 8309 lt_cv_objdir=.libs 8310else 8311 # MS-DOS does not allow filenames that begin with a dot. 8312 lt_cv_objdir=_libs 8313fi 8314rmdir .libs 2>/dev/null 8315fi 8316{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 8317$as_echo "$lt_cv_objdir" >&6; } 8318objdir=$lt_cv_objdir 8319 8320 8321 8322 8323 8324cat >>confdefs.h <<_ACEOF 8325#define LT_OBJDIR "$lt_cv_objdir/" 8326_ACEOF 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344case $host_os in 8345aix3*) 8346 # AIX sometimes has problems with the GCC collect2 program. For some 8347 # reason, if we set the COLLECT_NAMES environment variable, the problems 8348 # vanish in a puff of smoke. 8349 if test "X${COLLECT_NAMES+set}" != Xset; then 8350 COLLECT_NAMES= 8351 export COLLECT_NAMES 8352 fi 8353 ;; 8354esac 8355 8356# Sed substitution that helps us do robust quoting. It backslashifies 8357# metacharacters that are still active within double-quoted strings. 8358sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 8359 8360# Same as above, but do not quote variable references. 8361double_quote_subst='s/\(["`\\]\)/\\\1/g' 8362 8363# Sed substitution to delay expansion of an escaped shell variable in a 8364# double_quote_subst'ed string. 8365delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 8366 8367# Sed substitution to delay expansion of an escaped single quote. 8368delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 8369 8370# Sed substitution to avoid accidental globbing in evaled expressions 8371no_glob_subst='s/\*/\\\*/g' 8372 8373# Global variables: 8374ofile=libtool 8375can_build_shared=yes 8376 8377# All known linkers require a `.a' archive for static linking (except MSVC, 8378# which needs '.lib'). 8379libext=a 8380 8381with_gnu_ld="$lt_cv_prog_gnu_ld" 8382 8383old_CC="$CC" 8384old_CFLAGS="$CFLAGS" 8385 8386# Set sane defaults for various variables 8387test -z "$CC" && CC=cc 8388test -z "$LTCC" && LTCC=$CC 8389test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8390test -z "$LD" && LD=ld 8391test -z "$ac_objext" && ac_objext=o 8392 8393for cc_temp in $compiler""; do 8394 case $cc_temp in 8395 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8396 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8397 \-*) ;; 8398 *) break;; 8399 esac 8400done 8401cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 8402 8403 8404# Only perform the check for file, if the check method requires it 8405test -z "$MAGIC_CMD" && MAGIC_CMD=file 8406case $deplibs_check_method in 8407file_magic*) 8408 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8409 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 8410$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8411if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8412 $as_echo_n "(cached) " >&6 8413else 8414 case $MAGIC_CMD in 8415[\\/*] | ?:[\\/]*) 8416 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8417 ;; 8418*) 8419 lt_save_MAGIC_CMD="$MAGIC_CMD" 8420 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8421 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8422 for ac_dir in $ac_dummy; do 8423 IFS="$lt_save_ifs" 8424 test -z "$ac_dir" && ac_dir=. 8425 if test -f $ac_dir/${ac_tool_prefix}file; then 8426 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8427 if test -n "$file_magic_test_file"; then 8428 case $deplibs_check_method in 8429 "file_magic "*) 8430 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8432 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8433 $EGREP "$file_magic_regex" > /dev/null; then 8434 : 8435 else 8436 cat <<_LT_EOF 1>&2 8437 8438*** Warning: the command libtool uses to detect shared libraries, 8439*** $file_magic_cmd, produces output that libtool cannot recognize. 8440*** The result is that libtool may fail to recognize shared libraries 8441*** as such. This will affect the creation of libtool libraries that 8442*** depend on shared libraries, but programs linked with such libtool 8443*** libraries will work regardless of this problem. Nevertheless, you 8444*** may want to report the problem to your system manager and/or to 8445*** bug-libtool@gnu.org 8446 8447_LT_EOF 8448 fi ;; 8449 esac 8450 fi 8451 break 8452 fi 8453 done 8454 IFS="$lt_save_ifs" 8455 MAGIC_CMD="$lt_save_MAGIC_CMD" 8456 ;; 8457esac 8458fi 8459 8460MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8461if test -n "$MAGIC_CMD"; then 8462 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8463$as_echo "$MAGIC_CMD" >&6; } 8464else 8465 { $as_echo "$as_me:$LINENO: result: no" >&5 8466$as_echo "no" >&6; } 8467fi 8468 8469 8470 8471 8472 8473if test -z "$lt_cv_path_MAGIC_CMD"; then 8474 if test -n "$ac_tool_prefix"; then 8475 { $as_echo "$as_me:$LINENO: checking for file" >&5 8476$as_echo_n "checking for file... " >&6; } 8477if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8478 $as_echo_n "(cached) " >&6 8479else 8480 case $MAGIC_CMD in 8481[\\/*] | ?:[\\/]*) 8482 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8483 ;; 8484*) 8485 lt_save_MAGIC_CMD="$MAGIC_CMD" 8486 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8487 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8488 for ac_dir in $ac_dummy; do 8489 IFS="$lt_save_ifs" 8490 test -z "$ac_dir" && ac_dir=. 8491 if test -f $ac_dir/file; then 8492 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8493 if test -n "$file_magic_test_file"; then 8494 case $deplibs_check_method in 8495 "file_magic "*) 8496 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8497 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8498 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8499 $EGREP "$file_magic_regex" > /dev/null; then 8500 : 8501 else 8502 cat <<_LT_EOF 1>&2 8503 8504*** Warning: the command libtool uses to detect shared libraries, 8505*** $file_magic_cmd, produces output that libtool cannot recognize. 8506*** The result is that libtool may fail to recognize shared libraries 8507*** as such. This will affect the creation of libtool libraries that 8508*** depend on shared libraries, but programs linked with such libtool 8509*** libraries will work regardless of this problem. Nevertheless, you 8510*** may want to report the problem to your system manager and/or to 8511*** bug-libtool@gnu.org 8512 8513_LT_EOF 8514 fi ;; 8515 esac 8516 fi 8517 break 8518 fi 8519 done 8520 IFS="$lt_save_ifs" 8521 MAGIC_CMD="$lt_save_MAGIC_CMD" 8522 ;; 8523esac 8524fi 8525 8526MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8527if test -n "$MAGIC_CMD"; then 8528 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8529$as_echo "$MAGIC_CMD" >&6; } 8530else 8531 { $as_echo "$as_me:$LINENO: result: no" >&5 8532$as_echo "no" >&6; } 8533fi 8534 8535 8536 else 8537 MAGIC_CMD=: 8538 fi 8539fi 8540 8541 fi 8542 ;; 8543esac 8544 8545# Use C for the default configuration in the libtool script 8546 8547lt_save_CC="$CC" 8548ac_ext=c 8549ac_cpp='$CPP $CPPFLAGS' 8550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8552ac_compiler_gnu=$ac_cv_c_compiler_gnu 8553 8554 8555# Source file extension for C test sources. 8556ac_ext=c 8557 8558# Object file extension for compiled C test sources. 8559objext=o 8560objext=$objext 8561 8562# Code to be used in simple compile tests 8563lt_simple_compile_test_code="int some_variable = 0;" 8564 8565# Code to be used in simple link tests 8566lt_simple_link_test_code='int main(){return(0);}' 8567 8568 8569 8570 8571 8572 8573 8574# If no C compiler was specified, use CC. 8575LTCC=${LTCC-"$CC"} 8576 8577# If no C compiler flags were specified, use CFLAGS. 8578LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8579 8580# Allow CC to be a program name with arguments. 8581compiler=$CC 8582 8583# Save the default compiler, since it gets overwritten when the other 8584# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8585compiler_DEFAULT=$CC 8586 8587# save warnings/boilerplate of simple test code 8588ac_outfile=conftest.$ac_objext 8589echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8590eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8591_lt_compiler_boilerplate=`cat conftest.err` 8592$RM conftest* 8593 8594ac_outfile=conftest.$ac_objext 8595echo "$lt_simple_link_test_code" >conftest.$ac_ext 8596eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8597_lt_linker_boilerplate=`cat conftest.err` 8598$RM -r conftest* 8599 8600 8601if test -n "$compiler"; then 8602 8603lt_prog_compiler_no_builtin_flag= 8604 8605if test "$GCC" = yes; then 8606 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 8607 8608 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8609$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8610if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8611 $as_echo_n "(cached) " >&6 8612else 8613 lt_cv_prog_compiler_rtti_exceptions=no 8614 ac_outfile=conftest.$ac_objext 8615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8616 lt_compiler_flag="-fno-rtti -fno-exceptions" 8617 # Insert the option either (1) after the last *FLAGS variable, or 8618 # (2) before a word containing "conftest.", or (3) at the end. 8619 # Note that $ac_compile itself does not contain backslashes and begins 8620 # with a dollar sign (not a hyphen), so the echo should work correctly. 8621 # The option is referenced via a variable to avoid confusing sed. 8622 lt_compile=`echo "$ac_compile" | $SED \ 8623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8625 -e 's:$: $lt_compiler_flag:'` 8626 (eval echo "\"\$as_me:8626: $lt_compile\"" >&5) 8627 (eval "$lt_compile" 2>conftest.err) 8628 ac_status=$? 8629 cat conftest.err >&5 8630 echo "$as_me:8630: \$? = $ac_status" >&5 8631 if (exit $ac_status) && test -s "$ac_outfile"; then 8632 # The compiler can only warn and ignore the option if not recognized 8633 # So say no if there are warnings other than the usual output. 8634 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8635 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8636 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8637 lt_cv_prog_compiler_rtti_exceptions=yes 8638 fi 8639 fi 8640 $RM conftest* 8641 8642fi 8643{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8644$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8645 8646if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8647 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8648else 8649 : 8650fi 8651 8652fi 8653 8654 8655 8656 8657 8658 8659 lt_prog_compiler_wl= 8660lt_prog_compiler_pic= 8661lt_prog_compiler_static= 8662 8663{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8664$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8665 8666 if test "$GCC" = yes; then 8667 lt_prog_compiler_wl='-Wl,' 8668 lt_prog_compiler_static='-static' 8669 8670 case $host_os in 8671 aix*) 8672 # All AIX code is PIC. 8673 if test "$host_cpu" = ia64; then 8674 # AIX 5 now supports IA64 processor 8675 lt_prog_compiler_static='-Bstatic' 8676 fi 8677 ;; 8678 8679 amigaos*) 8680 case $host_cpu in 8681 powerpc) 8682 # see comment about AmigaOS4 .so support 8683 lt_prog_compiler_pic='-fPIC' 8684 ;; 8685 m68k) 8686 # FIXME: we need at least 68020 code to build shared libraries, but 8687 # adding the `-m68020' flag to GCC prevents building anything better, 8688 # like `-m68040'. 8689 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8690 ;; 8691 esac 8692 ;; 8693 8694 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8695 # PIC is the default for these OSes. 8696 ;; 8697 8698 mingw* | cygwin* | pw32* | os2* | cegcc*) 8699 # This hack is so that the source file can tell whether it is being 8700 # built for inclusion in a dll (and should export symbols for example). 8701 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8702 # (--disable-auto-import) libraries 8703 lt_prog_compiler_pic='-DDLL_EXPORT' 8704 ;; 8705 8706 darwin* | rhapsody*) 8707 # PIC is the default on this platform 8708 # Common symbols not allowed in MH_DYLIB files 8709 lt_prog_compiler_pic='-fno-common' 8710 ;; 8711 8712 hpux*) 8713 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8714 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8715 # sets the default TLS model and affects inlining. 8716 case $host_cpu in 8717 hppa*64*) 8718 # +Z the default 8719 ;; 8720 *) 8721 lt_prog_compiler_pic='-fPIC' 8722 ;; 8723 esac 8724 ;; 8725 8726 interix[3-9]*) 8727 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8728 # Instead, we relocate shared libraries at runtime. 8729 ;; 8730 8731 msdosdjgpp*) 8732 # Just because we use GCC doesn't mean we suddenly get shared libraries 8733 # on systems that don't support them. 8734 lt_prog_compiler_can_build_shared=no 8735 enable_shared=no 8736 ;; 8737 8738 *nto* | *qnx*) 8739 # QNX uses GNU C++, but need to define -shared option too, otherwise 8740 # it will coredump. 8741 lt_prog_compiler_pic='-fPIC -shared' 8742 ;; 8743 8744 sysv4*MP*) 8745 if test -d /usr/nec; then 8746 lt_prog_compiler_pic=-Kconform_pic 8747 fi 8748 ;; 8749 8750 *) 8751 lt_prog_compiler_pic='-fPIC' 8752 ;; 8753 esac 8754 else 8755 # PORTME Check for flag to pass linker flags through the system compiler. 8756 case $host_os in 8757 aix*) 8758 lt_prog_compiler_wl='-Wl,' 8759 if test "$host_cpu" = ia64; then 8760 # AIX 5 now supports IA64 processor 8761 lt_prog_compiler_static='-Bstatic' 8762 else 8763 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8764 fi 8765 ;; 8766 8767 mingw* | cygwin* | pw32* | os2* | cegcc*) 8768 # This hack is so that the source file can tell whether it is being 8769 # built for inclusion in a dll (and should export symbols for example). 8770 lt_prog_compiler_pic='-DDLL_EXPORT' 8771 ;; 8772 8773 hpux9* | hpux10* | hpux11*) 8774 lt_prog_compiler_wl='-Wl,' 8775 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8776 # not for PA HP-UX. 8777 case $host_cpu in 8778 hppa*64*|ia64*) 8779 # +Z the default 8780 ;; 8781 *) 8782 lt_prog_compiler_pic='+Z' 8783 ;; 8784 esac 8785 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8786 lt_prog_compiler_static='${wl}-a ${wl}archive' 8787 ;; 8788 8789 irix5* | irix6* | nonstopux*) 8790 lt_prog_compiler_wl='-Wl,' 8791 # PIC (with -KPIC) is the default. 8792 lt_prog_compiler_static='-non_shared' 8793 ;; 8794 8795 linux* | k*bsd*-gnu) 8796 case $cc_basename in 8797 # old Intel for x86_64 which still supported -KPIC. 8798 ecc*) 8799 lt_prog_compiler_wl='-Wl,' 8800 lt_prog_compiler_pic='-KPIC' 8801 lt_prog_compiler_static='-static' 8802 ;; 8803 # icc used to be incompatible with GCC. 8804 # ICC 10 doesn't accept -KPIC any more. 8805 icc* | ifort*) 8806 lt_prog_compiler_wl='-Wl,' 8807 lt_prog_compiler_pic='-fPIC' 8808 lt_prog_compiler_static='-static' 8809 ;; 8810 # Lahey Fortran 8.1. 8811 lf95*) 8812 lt_prog_compiler_wl='-Wl,' 8813 lt_prog_compiler_pic='--shared' 8814 lt_prog_compiler_static='--static' 8815 ;; 8816 pgcc* | pgf77* | pgf90* | pgf95*) 8817 # Portland Group compilers (*not* the Pentium gcc compiler, 8818 # which looks to be a dead project) 8819 lt_prog_compiler_wl='-Wl,' 8820 lt_prog_compiler_pic='-fpic' 8821 lt_prog_compiler_static='-Bstatic' 8822 ;; 8823 ccc*) 8824 lt_prog_compiler_wl='-Wl,' 8825 # All Alpha code is PIC. 8826 lt_prog_compiler_static='-non_shared' 8827 ;; 8828 xl*) 8829 # IBM XL C 8.0/Fortran 10.1 on PPC 8830 lt_prog_compiler_wl='-Wl,' 8831 lt_prog_compiler_pic='-qpic' 8832 lt_prog_compiler_static='-qstaticlink' 8833 ;; 8834 *) 8835 case `$CC -V 2>&1 | sed 5q` in 8836 *Sun\ C*) 8837 # Sun C 5.9 8838 lt_prog_compiler_pic='-KPIC' 8839 lt_prog_compiler_static='-Bstatic' 8840 lt_prog_compiler_wl='-Wl,' 8841 ;; 8842 *Sun\ F*) 8843 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8844 lt_prog_compiler_pic='-KPIC' 8845 lt_prog_compiler_static='-Bstatic' 8846 lt_prog_compiler_wl='' 8847 ;; 8848 esac 8849 ;; 8850 esac 8851 ;; 8852 8853 newsos6) 8854 lt_prog_compiler_pic='-KPIC' 8855 lt_prog_compiler_static='-Bstatic' 8856 ;; 8857 8858 *nto* | *qnx*) 8859 # QNX uses GNU C++, but need to define -shared option too, otherwise 8860 # it will coredump. 8861 lt_prog_compiler_pic='-fPIC -shared' 8862 ;; 8863 8864 osf3* | osf4* | osf5*) 8865 lt_prog_compiler_wl='-Wl,' 8866 # All OSF/1 code is PIC. 8867 lt_prog_compiler_static='-non_shared' 8868 ;; 8869 8870 rdos*) 8871 lt_prog_compiler_static='-non_shared' 8872 ;; 8873 8874 solaris*) 8875 lt_prog_compiler_pic='-KPIC' 8876 lt_prog_compiler_static='-Bstatic' 8877 case $cc_basename in 8878 f77* | f90* | f95*) 8879 lt_prog_compiler_wl='-Qoption ld ';; 8880 *) 8881 lt_prog_compiler_wl='-Wl,';; 8882 esac 8883 ;; 8884 8885 sunos4*) 8886 lt_prog_compiler_wl='-Qoption ld ' 8887 lt_prog_compiler_pic='-PIC' 8888 lt_prog_compiler_static='-Bstatic' 8889 ;; 8890 8891 sysv4 | sysv4.2uw2* | sysv4.3*) 8892 lt_prog_compiler_wl='-Wl,' 8893 lt_prog_compiler_pic='-KPIC' 8894 lt_prog_compiler_static='-Bstatic' 8895 ;; 8896 8897 sysv4*MP*) 8898 if test -d /usr/nec ;then 8899 lt_prog_compiler_pic='-Kconform_pic' 8900 lt_prog_compiler_static='-Bstatic' 8901 fi 8902 ;; 8903 8904 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8905 lt_prog_compiler_wl='-Wl,' 8906 lt_prog_compiler_pic='-KPIC' 8907 lt_prog_compiler_static='-Bstatic' 8908 ;; 8909 8910 unicos*) 8911 lt_prog_compiler_wl='-Wl,' 8912 lt_prog_compiler_can_build_shared=no 8913 ;; 8914 8915 uts4*) 8916 lt_prog_compiler_pic='-pic' 8917 lt_prog_compiler_static='-Bstatic' 8918 ;; 8919 8920 *) 8921 lt_prog_compiler_can_build_shared=no 8922 ;; 8923 esac 8924 fi 8925 8926case $host_os in 8927 # For platforms which do not support PIC, -DPIC is meaningless: 8928 *djgpp*) 8929 lt_prog_compiler_pic= 8930 ;; 8931 *) 8932 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8933 ;; 8934esac 8935{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 8936$as_echo "$lt_prog_compiler_pic" >&6; } 8937 8938 8939 8940 8941 8942 8943# 8944# Check to make sure the PIC flag actually works. 8945# 8946if test -n "$lt_prog_compiler_pic"; then 8947 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8948$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8949if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8950 $as_echo_n "(cached) " >&6 8951else 8952 lt_cv_prog_compiler_pic_works=no 8953 ac_outfile=conftest.$ac_objext 8954 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8955 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8956 # Insert the option either (1) after the last *FLAGS variable, or 8957 # (2) before a word containing "conftest.", or (3) at the end. 8958 # Note that $ac_compile itself does not contain backslashes and begins 8959 # with a dollar sign (not a hyphen), so the echo should work correctly. 8960 # The option is referenced via a variable to avoid confusing sed. 8961 lt_compile=`echo "$ac_compile" | $SED \ 8962 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8963 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8964 -e 's:$: $lt_compiler_flag:'` 8965 (eval echo "\"\$as_me:8965: $lt_compile\"" >&5) 8966 (eval "$lt_compile" 2>conftest.err) 8967 ac_status=$? 8968 cat conftest.err >&5 8969 echo "$as_me:8969: \$? = $ac_status" >&5 8970 if (exit $ac_status) && test -s "$ac_outfile"; then 8971 # The compiler can only warn and ignore the option if not recognized 8972 # So say no if there are warnings other than the usual output. 8973 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8974 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8975 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8976 lt_cv_prog_compiler_pic_works=yes 8977 fi 8978 fi 8979 $RM conftest* 8980 8981fi 8982{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8983$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8984 8985if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8986 case $lt_prog_compiler_pic in 8987 "" | " "*) ;; 8988 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8989 esac 8990else 8991 lt_prog_compiler_pic= 8992 lt_prog_compiler_can_build_shared=no 8993fi 8994 8995fi 8996 8997 8998 8999 9000 9001 9002# 9003# Check to make sure the static flag actually works. 9004# 9005wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 9006{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 9007$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 9008if test "${lt_cv_prog_compiler_static_works+set}" = set; then 9009 $as_echo_n "(cached) " >&6 9010else 9011 lt_cv_prog_compiler_static_works=no 9012 save_LDFLAGS="$LDFLAGS" 9013 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 9014 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9015 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9016 # The linker can only warn and ignore the option if not recognized 9017 # So say no if there are warnings 9018 if test -s conftest.err; then 9019 # Append any errors to the config.log. 9020 cat conftest.err 1>&5 9021 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 9022 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9023 if diff conftest.exp conftest.er2 >/dev/null; then 9024 lt_cv_prog_compiler_static_works=yes 9025 fi 9026 else 9027 lt_cv_prog_compiler_static_works=yes 9028 fi 9029 fi 9030 $RM -r conftest* 9031 LDFLAGS="$save_LDFLAGS" 9032 9033fi 9034{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 9035$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 9036 9037if test x"$lt_cv_prog_compiler_static_works" = xyes; then 9038 : 9039else 9040 lt_prog_compiler_static= 9041fi 9042 9043 9044 9045 9046 9047 9048 9049 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9050$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9051if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9052 $as_echo_n "(cached) " >&6 9053else 9054 lt_cv_prog_compiler_c_o=no 9055 $RM -r conftest 2>/dev/null 9056 mkdir conftest 9057 cd conftest 9058 mkdir out 9059 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9060 9061 lt_compiler_flag="-o out/conftest2.$ac_objext" 9062 # Insert the option either (1) after the last *FLAGS variable, or 9063 # (2) before a word containing "conftest.", or (3) at the end. 9064 # Note that $ac_compile itself does not contain backslashes and begins 9065 # with a dollar sign (not a hyphen), so the echo should work correctly. 9066 lt_compile=`echo "$ac_compile" | $SED \ 9067 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9068 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9069 -e 's:$: $lt_compiler_flag:'` 9070 (eval echo "\"\$as_me:9070: $lt_compile\"" >&5) 9071 (eval "$lt_compile" 2>out/conftest.err) 9072 ac_status=$? 9073 cat out/conftest.err >&5 9074 echo "$as_me:9074: \$? = $ac_status" >&5 9075 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9076 then 9077 # The compiler can only warn and ignore the option if not recognized 9078 # So say no if there are warnings 9079 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9080 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9081 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9082 lt_cv_prog_compiler_c_o=yes 9083 fi 9084 fi 9085 chmod u+w . 2>&5 9086 $RM conftest* 9087 # SGI C++ compiler will create directory out/ii_files/ for 9088 # template instantiation 9089 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9090 $RM out/* && rmdir out 9091 cd .. 9092 $RM -r conftest 9093 $RM conftest* 9094 9095fi 9096{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9097$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9098 9099 9100 9101 9102 9103 9104 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 9105$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9106if test "${lt_cv_prog_compiler_c_o+set}" = set; then 9107 $as_echo_n "(cached) " >&6 9108else 9109 lt_cv_prog_compiler_c_o=no 9110 $RM -r conftest 2>/dev/null 9111 mkdir conftest 9112 cd conftest 9113 mkdir out 9114 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9115 9116 lt_compiler_flag="-o out/conftest2.$ac_objext" 9117 # Insert the option either (1) after the last *FLAGS variable, or 9118 # (2) before a word containing "conftest.", or (3) at the end. 9119 # Note that $ac_compile itself does not contain backslashes and begins 9120 # with a dollar sign (not a hyphen), so the echo should work correctly. 9121 lt_compile=`echo "$ac_compile" | $SED \ 9122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9124 -e 's:$: $lt_compiler_flag:'` 9125 (eval echo "\"\$as_me:9125: $lt_compile\"" >&5) 9126 (eval "$lt_compile" 2>out/conftest.err) 9127 ac_status=$? 9128 cat out/conftest.err >&5 9129 echo "$as_me:9129: \$? = $ac_status" >&5 9130 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9131 then 9132 # The compiler can only warn and ignore the option if not recognized 9133 # So say no if there are warnings 9134 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 9135 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9136 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9137 lt_cv_prog_compiler_c_o=yes 9138 fi 9139 fi 9140 chmod u+w . 2>&5 9141 $RM conftest* 9142 # SGI C++ compiler will create directory out/ii_files/ for 9143 # template instantiation 9144 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9145 $RM out/* && rmdir out 9146 cd .. 9147 $RM -r conftest 9148 $RM conftest* 9149 9150fi 9151{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 9152$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9153 9154 9155 9156 9157hard_links="nottested" 9158if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9159 # do not overwrite the value of need_locks provided by the user 9160 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 9161$as_echo_n "checking if we can lock with hard links... " >&6; } 9162 hard_links=yes 9163 $RM conftest* 9164 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9165 touch conftest.a 9166 ln conftest.a conftest.b 2>&5 || hard_links=no 9167 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9168 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 9169$as_echo "$hard_links" >&6; } 9170 if test "$hard_links" = no; then 9171 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9172$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9173 need_locks=warn 9174 fi 9175else 9176 need_locks=no 9177fi 9178 9179 9180 9181 9182 9183 9184 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9185$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9186 9187 runpath_var= 9188 allow_undefined_flag= 9189 always_export_symbols=no 9190 archive_cmds= 9191 archive_expsym_cmds= 9192 compiler_needs_object=no 9193 enable_shared_with_static_runtimes=no 9194 export_dynamic_flag_spec= 9195 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9196 hardcode_automatic=no 9197 hardcode_direct=no 9198 hardcode_direct_absolute=no 9199 hardcode_libdir_flag_spec= 9200 hardcode_libdir_flag_spec_ld= 9201 hardcode_libdir_separator= 9202 hardcode_minus_L=no 9203 hardcode_shlibpath_var=unsupported 9204 inherit_rpath=no 9205 link_all_deplibs=unknown 9206 module_cmds= 9207 module_expsym_cmds= 9208 old_archive_from_new_cmds= 9209 old_archive_from_expsyms_cmds= 9210 thread_safe_flag_spec= 9211 whole_archive_flag_spec= 9212 # include_expsyms should be a list of space-separated symbols to be *always* 9213 # included in the symbol list 9214 include_expsyms= 9215 # exclude_expsyms can be an extended regexp of symbols to exclude 9216 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9217 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9218 # as well as any symbol that contains `d'. 9219 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9220 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9221 # platforms (ab)use it in PIC code, but their linkers get confused if 9222 # the symbol is explicitly referenced. Since portable code cannot 9223 # rely on this symbol name, it's probably fine to never include it in 9224 # preloaded symbol tables. 9225 # Exclude shared library initialization/finalization symbols. 9226 extract_expsyms_cmds= 9227 9228 case $host_os in 9229 cygwin* | mingw* | pw32* | cegcc*) 9230 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9231 # When not using gcc, we currently assume that we are using 9232 # Microsoft Visual C++. 9233 if test "$GCC" != yes; then 9234 with_gnu_ld=no 9235 fi 9236 ;; 9237 interix*) 9238 # we just hope/assume this is gcc and not c89 (= MSVC++) 9239 with_gnu_ld=yes 9240 ;; 9241 openbsd*) 9242 with_gnu_ld=no 9243 ;; 9244 linux* | k*bsd*-gnu) 9245 link_all_deplibs=no 9246 ;; 9247 esac 9248 9249 ld_shlibs=yes 9250 if test "$with_gnu_ld" = yes; then 9251 # If archive_cmds runs LD, not CC, wlarc should be empty 9252 wlarc='${wl}' 9253 9254 # Set some defaults for GNU ld with shared library support. These 9255 # are reset later if shared libraries are not supported. Putting them 9256 # here allows them to be overridden if necessary. 9257 runpath_var=LD_RUN_PATH 9258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9259 export_dynamic_flag_spec='${wl}--export-dynamic' 9260 # ancient GNU ld didn't support --whole-archive et. al. 9261 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9262 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9263 else 9264 whole_archive_flag_spec= 9265 fi 9266 supports_anon_versioning=no 9267 case `$LD -v 2>&1` in 9268 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9269 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9270 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9271 *\ 2.11.*) ;; # other 2.11 versions 9272 *) supports_anon_versioning=yes ;; 9273 esac 9274 9275 # See if GNU ld supports shared libraries. 9276 case $host_os in 9277 aix[3-9]*) 9278 # On AIX/PPC, the GNU linker is very broken 9279 if test "$host_cpu" != ia64; then 9280 ld_shlibs=no 9281 cat <<_LT_EOF 1>&2 9282 9283*** Warning: the GNU linker, at least up to release 2.9.1, is reported 9284*** to be unable to reliably create shared libraries on AIX. 9285*** Therefore, libtool is disabling shared libraries support. If you 9286*** really care for shared libraries, you may want to modify your PATH 9287*** so that a non-GNU linker is found, and then restart. 9288 9289_LT_EOF 9290 fi 9291 ;; 9292 9293 amigaos*) 9294 case $host_cpu in 9295 powerpc) 9296 # see comment about AmigaOS4 .so support 9297 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9298 archive_expsym_cmds='' 9299 ;; 9300 m68k) 9301 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)' 9302 hardcode_libdir_flag_spec='-L$libdir' 9303 hardcode_minus_L=yes 9304 ;; 9305 esac 9306 ;; 9307 9308 beos*) 9309 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9310 allow_undefined_flag=unsupported 9311 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9312 # support --undefined. This deserves some investigation. FIXME 9313 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9314 else 9315 ld_shlibs=no 9316 fi 9317 ;; 9318 9319 cygwin* | mingw* | pw32* | cegcc*) 9320 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9321 # as there is no search path for DLLs. 9322 hardcode_libdir_flag_spec='-L$libdir' 9323 allow_undefined_flag=unsupported 9324 always_export_symbols=no 9325 enable_shared_with_static_runtimes=yes 9326 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9327 9328 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9329 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9330 # If the export-symbols file already is a .def file (1st line 9331 # is EXPORTS), use it as is; otherwise, prepend... 9332 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9333 cp $export_symbols $output_objdir/$soname.def; 9334 else 9335 echo EXPORTS > $output_objdir/$soname.def; 9336 cat $export_symbols >> $output_objdir/$soname.def; 9337 fi~ 9338 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9339 else 9340 ld_shlibs=no 9341 fi 9342 ;; 9343 9344 interix[3-9]*) 9345 hardcode_direct=no 9346 hardcode_shlibpath_var=no 9347 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9348 export_dynamic_flag_spec='${wl}-E' 9349 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9350 # Instead, shared libraries are loaded at an image base (0x10000000 by 9351 # default) and relocated if they conflict, which is a slow very memory 9352 # consuming and fragmenting process. To avoid this, we pick a random, 9353 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9354 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9355 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9356 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' 9357 ;; 9358 9359 gnu* | linux* | tpf* | k*bsd*-gnu) 9360 tmp_diet=no 9361 if test "$host_os" = linux-dietlibc; then 9362 case $cc_basename in 9363 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9364 esac 9365 fi 9366 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9367 && test "$tmp_diet" = no 9368 then 9369 tmp_addflag= 9370 tmp_sharedflag='-shared' 9371 case $cc_basename,$host_cpu in 9372 pgcc*) # Portland Group C compiler 9373 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' 9374 tmp_addflag=' $pic_flag' 9375 ;; 9376 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 9377 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' 9378 tmp_addflag=' $pic_flag -Mnomain' ;; 9379 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9380 tmp_addflag=' -i_dynamic' ;; 9381 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9382 tmp_addflag=' -i_dynamic -nofor_main' ;; 9383 ifc* | ifort*) # Intel Fortran compiler 9384 tmp_addflag=' -nofor_main' ;; 9385 lf95*) # Lahey Fortran 8.1 9386 whole_archive_flag_spec= 9387 tmp_sharedflag='--shared' ;; 9388 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9389 tmp_sharedflag='-qmkshrobj' 9390 tmp_addflag= ;; 9391 esac 9392 case `$CC -V 2>&1 | sed 5q` in 9393 *Sun\ C*) # Sun C 5.9 9394 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' 9395 compiler_needs_object=yes 9396 tmp_sharedflag='-G' ;; 9397 *Sun\ F*) # Sun Fortran 8.3 9398 tmp_sharedflag='-G' ;; 9399 esac 9400 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9401 9402 if test "x$supports_anon_versioning" = xyes; then 9403 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9404 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9405 echo "local: *; };" >> $output_objdir/$libname.ver~ 9406 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9407 fi 9408 9409 case $cc_basename in 9410 xlf*) 9411 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9412 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9413 hardcode_libdir_flag_spec= 9414 hardcode_libdir_flag_spec_ld='-rpath $libdir' 9415 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 9416 if test "x$supports_anon_versioning" = xyes; then 9417 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9418 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9419 echo "local: *; };" >> $output_objdir/$libname.ver~ 9420 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9421 fi 9422 ;; 9423 esac 9424 else 9425 ld_shlibs=no 9426 fi 9427 ;; 9428 9429 netbsd* | netbsdelf*-gnu) 9430 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9431 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9432 wlarc= 9433 else 9434 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9435 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9436 fi 9437 ;; 9438 9439 solaris*) 9440 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9441 ld_shlibs=no 9442 cat <<_LT_EOF 1>&2 9443 9444*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9445*** create shared libraries on Solaris systems. Therefore, libtool 9446*** is disabling shared libraries support. We urge you to upgrade GNU 9447*** binutils to release 2.9.1 or newer. Another option is to modify 9448*** your PATH or compiler configuration so that the native linker is 9449*** used, and then restart. 9450 9451_LT_EOF 9452 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9453 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9454 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9455 else 9456 ld_shlibs=no 9457 fi 9458 ;; 9459 9460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9461 case `$LD -v 2>&1` in 9462 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9463 ld_shlibs=no 9464 cat <<_LT_EOF 1>&2 9465 9466*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9467*** reliably create shared libraries on SCO systems. Therefore, libtool 9468*** is disabling shared libraries support. We urge you to upgrade GNU 9469*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9470*** your PATH or compiler configuration so that the native linker is 9471*** used, and then restart. 9472 9473_LT_EOF 9474 ;; 9475 *) 9476 # For security reasons, it is highly recommended that you always 9477 # use absolute paths for naming shared libraries, and exclude the 9478 # DT_RUNPATH tag from executables and libraries. But doing so 9479 # requires that you compile everything twice, which is a pain. 9480 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9481 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9482 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9483 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9484 else 9485 ld_shlibs=no 9486 fi 9487 ;; 9488 esac 9489 ;; 9490 9491 sunos4*) 9492 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9493 wlarc= 9494 hardcode_direct=yes 9495 hardcode_shlibpath_var=no 9496 ;; 9497 9498 *) 9499 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9500 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9501 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9502 else 9503 ld_shlibs=no 9504 fi 9505 ;; 9506 esac 9507 9508 if test "$ld_shlibs" = no; then 9509 runpath_var= 9510 hardcode_libdir_flag_spec= 9511 export_dynamic_flag_spec= 9512 whole_archive_flag_spec= 9513 fi 9514 else 9515 # PORTME fill in a description of your system's linker (not GNU ld) 9516 case $host_os in 9517 aix3*) 9518 allow_undefined_flag=unsupported 9519 always_export_symbols=yes 9520 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' 9521 # Note: this linker hardcodes the directories in LIBPATH if there 9522 # are no directories specified by -L. 9523 hardcode_minus_L=yes 9524 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9525 # Neither direct hardcoding nor static linking is supported with a 9526 # broken collect2. 9527 hardcode_direct=unsupported 9528 fi 9529 ;; 9530 9531 aix[4-9]*) 9532 if test "$host_cpu" = ia64; then 9533 # On IA64, the linker does run time linking by default, so we don't 9534 # have to do anything special. 9535 aix_use_runtimelinking=no 9536 exp_sym_flag='-Bexport' 9537 no_entry_flag="" 9538 else 9539 # If we're using GNU nm, then we don't want the "-C" option. 9540 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9542 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' 9543 else 9544 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' 9545 fi 9546 aix_use_runtimelinking=no 9547 9548 # Test if we are trying to use run time linking or normal 9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9550 # need to do runtime linking. 9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9552 for ld_flag in $LDFLAGS; do 9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9554 aix_use_runtimelinking=yes 9555 break 9556 fi 9557 done 9558 ;; 9559 esac 9560 9561 exp_sym_flag='-bexport' 9562 no_entry_flag='-bnoentry' 9563 fi 9564 9565 # When large executables or shared objects are built, AIX ld can 9566 # have problems creating the table of contents. If linking a library 9567 # or program results in "error TOC overflow" add -mminimal-toc to 9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9570 9571 archive_cmds='' 9572 hardcode_direct=yes 9573 hardcode_direct_absolute=yes 9574 hardcode_libdir_separator=':' 9575 link_all_deplibs=yes 9576 file_list_spec='${wl}-f,' 9577 9578 if test "$GCC" = yes; then 9579 case $host_os in aix4.[012]|aix4.[012].*) 9580 # We only want to do this on AIX 4.2 and lower, the check 9581 # below for broken collect2 doesn't work under 4.3+ 9582 collect2name=`${CC} -print-prog-name=collect2` 9583 if test -f "$collect2name" && 9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9585 then 9586 # We have reworked collect2 9587 : 9588 else 9589 # We have old collect2 9590 hardcode_direct=unsupported 9591 # It fails to find uninstalled libraries when the uninstalled 9592 # path is not listed in the libpath. Setting hardcode_minus_L 9593 # to unsupported forces relinking 9594 hardcode_minus_L=yes 9595 hardcode_libdir_flag_spec='-L$libdir' 9596 hardcode_libdir_separator= 9597 fi 9598 ;; 9599 esac 9600 shared_flag='-shared' 9601 if test "$aix_use_runtimelinking" = yes; then 9602 shared_flag="$shared_flag "'${wl}-G' 9603 fi 9604 link_all_deplibs=no 9605 else 9606 # not using gcc 9607 if test "$host_cpu" = ia64; then 9608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9609 # chokes on -Wl,-G. The following line is correct: 9610 shared_flag='-G' 9611 else 9612 if test "$aix_use_runtimelinking" = yes; then 9613 shared_flag='${wl}-G' 9614 else 9615 shared_flag='${wl}-bM:SRE' 9616 fi 9617 fi 9618 fi 9619 9620 export_dynamic_flag_spec='${wl}-bexpall' 9621 # It seems that -bexpall does not export symbols beginning with 9622 # underscore (_), so it is better to generate a list of symbols to export. 9623 always_export_symbols=yes 9624 if test "$aix_use_runtimelinking" = yes; then 9625 # Warning - without using the other runtime loading flags (-brtl), 9626 # -berok will link without error, but may produce a broken library. 9627 allow_undefined_flag='-berok' 9628 # Determine the default libpath from the value encoded in an 9629 # empty executable. 9630 cat >conftest.$ac_ext <<_ACEOF 9631/* confdefs.h. */ 9632_ACEOF 9633cat confdefs.h >>conftest.$ac_ext 9634cat >>conftest.$ac_ext <<_ACEOF 9635/* end confdefs.h. */ 9636 9637int 9638main () 9639{ 9640 9641 ; 9642 return 0; 9643} 9644_ACEOF 9645rm -f conftest.$ac_objext conftest$ac_exeext 9646if { (ac_try="$ac_link" 9647case "(($ac_try" in 9648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9649 *) ac_try_echo=$ac_try;; 9650esac 9651eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9652$as_echo "$ac_try_echo") >&5 9653 (eval "$ac_link") 2>conftest.er1 9654 ac_status=$? 9655 grep -v '^ *+' conftest.er1 >conftest.err 9656 rm -f conftest.er1 9657 cat conftest.err >&5 9658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9659 (exit $ac_status); } && { 9660 test -z "$ac_c_werror_flag" || 9661 test ! -s conftest.err 9662 } && test -s conftest$ac_exeext && { 9663 test "$cross_compiling" = yes || 9664 $as_test_x conftest$ac_exeext 9665 }; then 9666 9667lt_aix_libpath_sed=' 9668 /Import File Strings/,/^$/ { 9669 /^0/ { 9670 s/^0 *\(.*\)$/\1/ 9671 p 9672 } 9673 }' 9674aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9675# Check for a 64-bit object if we didn't find anything. 9676if test -z "$aix_libpath"; then 9677 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9678fi 9679else 9680 $as_echo "$as_me: failed program was:" >&5 9681sed 's/^/| /' conftest.$ac_ext >&5 9682 9683 9684fi 9685 9686rm -rf conftest.dSYM 9687rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9688 conftest$ac_exeext conftest.$ac_ext 9689if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9690 9691 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9692 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" 9693 else 9694 if test "$host_cpu" = ia64; then 9695 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9696 allow_undefined_flag="-z nodefs" 9697 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" 9698 else 9699 # Determine the default libpath from the value encoded in an 9700 # empty executable. 9701 cat >conftest.$ac_ext <<_ACEOF 9702/* confdefs.h. */ 9703_ACEOF 9704cat confdefs.h >>conftest.$ac_ext 9705cat >>conftest.$ac_ext <<_ACEOF 9706/* end confdefs.h. */ 9707 9708int 9709main () 9710{ 9711 9712 ; 9713 return 0; 9714} 9715_ACEOF 9716rm -f conftest.$ac_objext conftest$ac_exeext 9717if { (ac_try="$ac_link" 9718case "(($ac_try" in 9719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9720 *) ac_try_echo=$ac_try;; 9721esac 9722eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9723$as_echo "$ac_try_echo") >&5 9724 (eval "$ac_link") 2>conftest.er1 9725 ac_status=$? 9726 grep -v '^ *+' conftest.er1 >conftest.err 9727 rm -f conftest.er1 9728 cat conftest.err >&5 9729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9730 (exit $ac_status); } && { 9731 test -z "$ac_c_werror_flag" || 9732 test ! -s conftest.err 9733 } && test -s conftest$ac_exeext && { 9734 test "$cross_compiling" = yes || 9735 $as_test_x conftest$ac_exeext 9736 }; then 9737 9738lt_aix_libpath_sed=' 9739 /Import File Strings/,/^$/ { 9740 /^0/ { 9741 s/^0 *\(.*\)$/\1/ 9742 p 9743 } 9744 }' 9745aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9746# Check for a 64-bit object if we didn't find anything. 9747if test -z "$aix_libpath"; then 9748 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9749fi 9750else 9751 $as_echo "$as_me: failed program was:" >&5 9752sed 's/^/| /' conftest.$ac_ext >&5 9753 9754 9755fi 9756 9757rm -rf conftest.dSYM 9758rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9759 conftest$ac_exeext conftest.$ac_ext 9760if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 9761 9762 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9763 # Warning - without using the other run time loading flags, 9764 # -berok will link without error, but may produce a broken library. 9765 no_undefined_flag=' ${wl}-bernotok' 9766 allow_undefined_flag=' ${wl}-berok' 9767 # Exported symbols can be pulled into shared objects from archives 9768 whole_archive_flag_spec='$convenience' 9769 archive_cmds_need_lc=yes 9770 # This is similar to how AIX traditionally builds its shared libraries. 9771 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' 9772 fi 9773 fi 9774 ;; 9775 9776 amigaos*) 9777 case $host_cpu in 9778 powerpc) 9779 # see comment about AmigaOS4 .so support 9780 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9781 archive_expsym_cmds='' 9782 ;; 9783 m68k) 9784 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)' 9785 hardcode_libdir_flag_spec='-L$libdir' 9786 hardcode_minus_L=yes 9787 ;; 9788 esac 9789 ;; 9790 9791 bsdi[45]*) 9792 export_dynamic_flag_spec=-rdynamic 9793 ;; 9794 9795 cygwin* | mingw* | pw32* | cegcc*) 9796 # When not using gcc, we currently assume that we are using 9797 # Microsoft Visual C++. 9798 # hardcode_libdir_flag_spec is actually meaningless, as there is 9799 # no search path for DLLs. 9800 hardcode_libdir_flag_spec=' ' 9801 allow_undefined_flag=unsupported 9802 # Tell ltmain to make .lib files, not .a files. 9803 libext=lib 9804 # Tell ltmain to make .dll files, not .so files. 9805 shrext_cmds=".dll" 9806 # FIXME: Setting linknames here is a bad hack. 9807 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 9808 # The linker will automatically build a .lib file if we build a DLL. 9809 old_archive_from_new_cmds='true' 9810 # FIXME: Should let the user specify the lib program. 9811 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9812 fix_srcfile_path='`cygpath -w "$srcfile"`' 9813 enable_shared_with_static_runtimes=yes 9814 ;; 9815 9816 darwin* | rhapsody*) 9817 9818 9819 archive_cmds_need_lc=no 9820 hardcode_direct=no 9821 hardcode_automatic=yes 9822 hardcode_shlibpath_var=unsupported 9823 whole_archive_flag_spec='' 9824 link_all_deplibs=yes 9825 allow_undefined_flag="$_lt_dar_allow_undefined" 9826 case $cc_basename in 9827 ifort*) _lt_dar_can_shared=yes ;; 9828 *) _lt_dar_can_shared=$GCC ;; 9829 esac 9830 if test "$_lt_dar_can_shared" = "yes"; then 9831 output_verbose_link_cmd=echo 9832 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9833 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9834 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}" 9835 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}" 9836 9837 else 9838 ld_shlibs=no 9839 fi 9840 9841 ;; 9842 9843 dgux*) 9844 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9845 hardcode_libdir_flag_spec='-L$libdir' 9846 hardcode_shlibpath_var=no 9847 ;; 9848 9849 freebsd1*) 9850 ld_shlibs=no 9851 ;; 9852 9853 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9854 # support. Future versions do this automatically, but an explicit c++rt0.o 9855 # does not break anything, and helps significantly (at the cost of a little 9856 # extra space). 9857 freebsd2.2*) 9858 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9859 hardcode_libdir_flag_spec='-R$libdir' 9860 hardcode_direct=yes 9861 hardcode_shlibpath_var=no 9862 ;; 9863 9864 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9865 freebsd2*) 9866 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9867 hardcode_direct=yes 9868 hardcode_minus_L=yes 9869 hardcode_shlibpath_var=no 9870 ;; 9871 9872 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9873 freebsd* | dragonfly*) 9874 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 9875 hardcode_libdir_flag_spec='-R$libdir' 9876 hardcode_direct=yes 9877 hardcode_shlibpath_var=no 9878 ;; 9879 9880 hpux9*) 9881 if test "$GCC" = yes; then 9882 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' 9883 else 9884 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' 9885 fi 9886 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9887 hardcode_libdir_separator=: 9888 hardcode_direct=yes 9889 9890 # hardcode_minus_L: Not really in the search PATH, 9891 # but as the default location of the library. 9892 hardcode_minus_L=yes 9893 export_dynamic_flag_spec='${wl}-E' 9894 ;; 9895 9896 hpux10*) 9897 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9898 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9899 else 9900 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9901 fi 9902 if test "$with_gnu_ld" = no; then 9903 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9904 hardcode_libdir_flag_spec_ld='+b $libdir' 9905 hardcode_libdir_separator=: 9906 hardcode_direct=yes 9907 hardcode_direct_absolute=yes 9908 export_dynamic_flag_spec='${wl}-E' 9909 # hardcode_minus_L: Not really in the search PATH, 9910 # but as the default location of the library. 9911 hardcode_minus_L=yes 9912 fi 9913 ;; 9914 9915 hpux11*) 9916 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 9917 case $host_cpu in 9918 hppa*64*) 9919 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9920 ;; 9921 ia64*) 9922 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9923 ;; 9924 *) 9925 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9926 ;; 9927 esac 9928 else 9929 case $host_cpu in 9930 hppa*64*) 9931 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9932 ;; 9933 ia64*) 9934 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9935 ;; 9936 *) 9937 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9938 ;; 9939 esac 9940 fi 9941 if test "$with_gnu_ld" = no; then 9942 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9943 hardcode_libdir_separator=: 9944 9945 case $host_cpu in 9946 hppa*64*|ia64*) 9947 hardcode_direct=no 9948 hardcode_shlibpath_var=no 9949 ;; 9950 *) 9951 hardcode_direct=yes 9952 hardcode_direct_absolute=yes 9953 export_dynamic_flag_spec='${wl}-E' 9954 9955 # hardcode_minus_L: Not really in the search PATH, 9956 # but as the default location of the library. 9957 hardcode_minus_L=yes 9958 ;; 9959 esac 9960 fi 9961 ;; 9962 9963 irix5* | irix6* | nonstopux*) 9964 if test "$GCC" = yes; then 9965 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' 9966 # Try to use the -exported_symbol ld option, if it does not 9967 # work, assume that -exports_file does not work either and 9968 # implicitly export all symbols. 9969 save_LDFLAGS="$LDFLAGS" 9970 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9971 cat >conftest.$ac_ext <<_ACEOF 9972int foo(void) {} 9973_ACEOF 9974rm -f conftest.$ac_objext conftest$ac_exeext 9975if { (ac_try="$ac_link" 9976case "(($ac_try" in 9977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9978 *) ac_try_echo=$ac_try;; 9979esac 9980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9981$as_echo "$ac_try_echo") >&5 9982 (eval "$ac_link") 2>conftest.er1 9983 ac_status=$? 9984 grep -v '^ *+' conftest.er1 >conftest.err 9985 rm -f conftest.er1 9986 cat conftest.err >&5 9987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9988 (exit $ac_status); } && { 9989 test -z "$ac_c_werror_flag" || 9990 test ! -s conftest.err 9991 } && test -s conftest$ac_exeext && { 9992 test "$cross_compiling" = yes || 9993 $as_test_x conftest$ac_exeext 9994 }; then 9995 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' 9996 9997else 9998 $as_echo "$as_me: failed program was:" >&5 9999sed 's/^/| /' conftest.$ac_ext >&5 10000 10001 10002fi 10003 10004rm -rf conftest.dSYM 10005rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10006 conftest$ac_exeext conftest.$ac_ext 10007 LDFLAGS="$save_LDFLAGS" 10008 else 10009 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' 10010 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' 10011 fi 10012 archive_cmds_need_lc='no' 10013 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10014 hardcode_libdir_separator=: 10015 inherit_rpath=yes 10016 link_all_deplibs=yes 10017 ;; 10018 10019 netbsd* | netbsdelf*-gnu) 10020 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10021 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10022 else 10023 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10024 fi 10025 hardcode_libdir_flag_spec='-R$libdir' 10026 hardcode_direct=yes 10027 hardcode_shlibpath_var=no 10028 ;; 10029 10030 newsos6) 10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10032 hardcode_direct=yes 10033 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10034 hardcode_libdir_separator=: 10035 hardcode_shlibpath_var=no 10036 ;; 10037 10038 *nto* | *qnx*) 10039 ;; 10040 10041 openbsd*) 10042 if test -f /usr/libexec/ld.so; then 10043 hardcode_direct=yes 10044 hardcode_shlibpath_var=no 10045 hardcode_direct_absolute=yes 10046 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10047 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10048 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10049 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10050 export_dynamic_flag_spec='${wl}-E' 10051 else 10052 case $host_os in 10053 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10054 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10055 hardcode_libdir_flag_spec='-R$libdir' 10056 ;; 10057 *) 10058 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10059 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10060 ;; 10061 esac 10062 fi 10063 else 10064 ld_shlibs=no 10065 fi 10066 ;; 10067 10068 os2*) 10069 hardcode_libdir_flag_spec='-L$libdir' 10070 hardcode_minus_L=yes 10071 allow_undefined_flag=unsupported 10072 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' 10073 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10074 ;; 10075 10076 osf3*) 10077 if test "$GCC" = yes; then 10078 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10079 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' 10080 else 10081 allow_undefined_flag=' -expect_unresolved \*' 10082 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' 10083 fi 10084 archive_cmds_need_lc='no' 10085 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10086 hardcode_libdir_separator=: 10087 ;; 10088 10089 osf4* | osf5*) # as osf3* with the addition of -msym flag 10090 if test "$GCC" = yes; then 10091 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10092 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' 10093 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10094 else 10095 allow_undefined_flag=' -expect_unresolved \*' 10096 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' 10097 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~ 10098 $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' 10099 10100 # Both c and cxx compiler support -rpath directly 10101 hardcode_libdir_flag_spec='-rpath $libdir' 10102 fi 10103 archive_cmds_need_lc='no' 10104 hardcode_libdir_separator=: 10105 ;; 10106 10107 solaris*) 10108 no_undefined_flag=' -z defs' 10109 if test "$GCC" = yes; then 10110 wlarc='${wl}' 10111 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10112 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10113 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10114 else 10115 case `$CC -V 2>&1` in 10116 *"Compilers 5.0"*) 10117 wlarc='' 10118 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10119 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10120 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10121 ;; 10122 *) 10123 wlarc='${wl}' 10124 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10125 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10126 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10127 ;; 10128 esac 10129 fi 10130 hardcode_libdir_flag_spec='-R$libdir' 10131 hardcode_shlibpath_var=no 10132 case $host_os in 10133 solaris2.[0-5] | solaris2.[0-5].*) ;; 10134 *) 10135 # The compiler driver will combine and reorder linker options, 10136 # but understands `-z linker_flag'. GCC discards it without `$wl', 10137 # but is careful enough not to reorder. 10138 # Supported since Solaris 2.6 (maybe 2.5.1?) 10139 if test "$GCC" = yes; then 10140 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10141 else 10142 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10143 fi 10144 ;; 10145 esac 10146 link_all_deplibs=yes 10147 ;; 10148 10149 sunos4*) 10150 if test "x$host_vendor" = xsequent; then 10151 # Use $CC to link under sequent, because it throws in some extra .o 10152 # files that make .init and .fini sections work. 10153 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10154 else 10155 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10156 fi 10157 hardcode_libdir_flag_spec='-L$libdir' 10158 hardcode_direct=yes 10159 hardcode_minus_L=yes 10160 hardcode_shlibpath_var=no 10161 ;; 10162 10163 sysv4) 10164 case $host_vendor in 10165 sni) 10166 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10167 hardcode_direct=yes # is this really true??? 10168 ;; 10169 siemens) 10170 ## LD is ld it makes a PLAMLIB 10171 ## CC just makes a GrossModule. 10172 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10173 reload_cmds='$CC -r -o $output$reload_objs' 10174 hardcode_direct=no 10175 ;; 10176 motorola) 10177 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10178 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10179 ;; 10180 esac 10181 runpath_var='LD_RUN_PATH' 10182 hardcode_shlibpath_var=no 10183 ;; 10184 10185 sysv4.3*) 10186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10187 hardcode_shlibpath_var=no 10188 export_dynamic_flag_spec='-Bexport' 10189 ;; 10190 10191 sysv4*MP*) 10192 if test -d /usr/nec; then 10193 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10194 hardcode_shlibpath_var=no 10195 runpath_var=LD_RUN_PATH 10196 hardcode_runpath_var=yes 10197 ld_shlibs=yes 10198 fi 10199 ;; 10200 10201 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10202 no_undefined_flag='${wl}-z,text' 10203 archive_cmds_need_lc=no 10204 hardcode_shlibpath_var=no 10205 runpath_var='LD_RUN_PATH' 10206 10207 if test "$GCC" = yes; then 10208 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10209 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10210 else 10211 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10212 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10213 fi 10214 ;; 10215 10216 sysv5* | sco3.2v5* | sco5v6*) 10217 # Note: We can NOT use -z defs as we might desire, because we do not 10218 # link with -lc, and that would cause any symbols used from libc to 10219 # always be unresolved, which means just about no library would 10220 # ever link correctly. If we're not using GNU ld we use -z text 10221 # though, which does catch some bad symbols but isn't as heavy-handed 10222 # as -z defs. 10223 no_undefined_flag='${wl}-z,text' 10224 allow_undefined_flag='${wl}-z,nodefs' 10225 archive_cmds_need_lc=no 10226 hardcode_shlibpath_var=no 10227 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10228 hardcode_libdir_separator=':' 10229 link_all_deplibs=yes 10230 export_dynamic_flag_spec='${wl}-Bexport' 10231 runpath_var='LD_RUN_PATH' 10232 10233 if test "$GCC" = yes; then 10234 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10235 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10236 else 10237 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10238 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10239 fi 10240 ;; 10241 10242 uts4*) 10243 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10244 hardcode_libdir_flag_spec='-L$libdir' 10245 hardcode_shlibpath_var=no 10246 ;; 10247 10248 *) 10249 ld_shlibs=no 10250 ;; 10251 esac 10252 10253 if test x$host_vendor = xsni; then 10254 case $host in 10255 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10256 export_dynamic_flag_spec='${wl}-Blargedynsym' 10257 ;; 10258 esac 10259 fi 10260 fi 10261 10262{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 10263$as_echo "$ld_shlibs" >&6; } 10264test "$ld_shlibs" = no && can_build_shared=no 10265 10266with_gnu_ld=$with_gnu_ld 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282# 10283# Do we need to explicitly link libc? 10284# 10285case "x$archive_cmds_need_lc" in 10286x|xyes) 10287 # Assume -lc should be added 10288 archive_cmds_need_lc=yes 10289 10290 if test "$enable_shared" = yes && test "$GCC" = yes; then 10291 case $archive_cmds in 10292 *'~'*) 10293 # FIXME: we may have to deal with multi-command sequences. 10294 ;; 10295 '$CC '*) 10296 # Test whether the compiler implicitly links with -lc since on some 10297 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10298 # to ld, don't add -lc before -lgcc. 10299 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 10300$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10301 $RM conftest* 10302 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10303 10304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10305 (eval $ac_compile) 2>&5 10306 ac_status=$? 10307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10308 (exit $ac_status); } 2>conftest.err; then 10309 soname=conftest 10310 lib=conftest 10311 libobjs=conftest.$ac_objext 10312 deplibs= 10313 wl=$lt_prog_compiler_wl 10314 pic_flag=$lt_prog_compiler_pic 10315 compiler_flags=-v 10316 linker_flags=-v 10317 verstring= 10318 output_objdir=. 10319 libname=conftest 10320 lt_save_allow_undefined_flag=$allow_undefined_flag 10321 allow_undefined_flag= 10322 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 10323 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10324 ac_status=$? 10325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10326 (exit $ac_status); } 10327 then 10328 archive_cmds_need_lc=no 10329 else 10330 archive_cmds_need_lc=yes 10331 fi 10332 allow_undefined_flag=$lt_save_allow_undefined_flag 10333 else 10334 cat conftest.err 1>&5 10335 fi 10336 $RM conftest* 10337 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 10338$as_echo "$archive_cmds_need_lc" >&6; } 10339 ;; 10340 esac 10341 fi 10342 ;; 10343esac 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10502$as_echo_n "checking dynamic linker characteristics... " >&6; } 10503 10504if test "$GCC" = yes; then 10505 case $host_os in 10506 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10507 *) lt_awk_arg="/^libraries:/" ;; 10508 esac 10509 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10510 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 10511 # if the path contains ";" then we assume it to be the separator 10512 # otherwise default to the standard path separator (i.e. ":") - it is 10513 # assumed that no part of a normal pathname contains ";" but that should 10514 # okay in the real world where ";" in dirpaths is itself problematic. 10515 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 10516 else 10517 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10518 fi 10519 # Ok, now we have the path, separated by spaces, we can step through it 10520 # and add multilib dir if necessary. 10521 lt_tmp_lt_search_path_spec= 10522 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10523 for lt_sys_path in $lt_search_path_spec; do 10524 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10525 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10526 else 10527 test -d "$lt_sys_path" && \ 10528 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10529 fi 10530 done 10531 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 10532BEGIN {RS=" "; FS="/|\n";} { 10533 lt_foo=""; 10534 lt_count=0; 10535 for (lt_i = NF; lt_i > 0; lt_i--) { 10536 if ($lt_i != "" && $lt_i != ".") { 10537 if ($lt_i == "..") { 10538 lt_count++; 10539 } else { 10540 if (lt_count == 0) { 10541 lt_foo="/" $lt_i lt_foo; 10542 } else { 10543 lt_count--; 10544 } 10545 } 10546 } 10547 } 10548 if (lt_foo != "") { lt_freq[lt_foo]++; } 10549 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10550}'` 10551 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 10552else 10553 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10554fi 10555library_names_spec= 10556libname_spec='lib$name' 10557soname_spec= 10558shrext_cmds=".so" 10559postinstall_cmds= 10560postuninstall_cmds= 10561finish_cmds= 10562finish_eval= 10563shlibpath_var= 10564shlibpath_overrides_runpath=unknown 10565version_type=none 10566dynamic_linker="$host_os ld.so" 10567sys_lib_dlsearch_path_spec="/lib /usr/lib" 10568need_lib_prefix=unknown 10569hardcode_into_libs=no 10570 10571# when you set need_version to no, make sure it does not cause -set_version 10572# flags to be left without arguments 10573need_version=unknown 10574 10575case $host_os in 10576aix3*) 10577 version_type=linux 10578 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10579 shlibpath_var=LIBPATH 10580 10581 # AIX 3 has no versioning support, so we append a major version to the name. 10582 soname_spec='${libname}${release}${shared_ext}$major' 10583 ;; 10584 10585aix[4-9]*) 10586 version_type=linux 10587 need_lib_prefix=no 10588 need_version=no 10589 hardcode_into_libs=yes 10590 if test "$host_cpu" = ia64; then 10591 # AIX 5 supports IA64 10592 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10593 shlibpath_var=LD_LIBRARY_PATH 10594 else 10595 # With GCC up to 2.95.x, collect2 would create an import file 10596 # for dependence libraries. The import file would start with 10597 # the line `#! .'. This would cause the generated library to 10598 # depend on `.', always an invalid library. This was fixed in 10599 # development snapshots of GCC prior to 3.0. 10600 case $host_os in 10601 aix4 | aix4.[01] | aix4.[01].*) 10602 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10603 echo ' yes ' 10604 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10605 : 10606 else 10607 can_build_shared=no 10608 fi 10609 ;; 10610 esac 10611 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10612 # soname into executable. Probably we can add versioning support to 10613 # collect2, so additional links can be useful in future. 10614 if test "$aix_use_runtimelinking" = yes; then 10615 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10616 # instead of lib<name>.a to let people know that these are not 10617 # typical AIX shared libraries. 10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10619 else 10620 # We preserve .a as extension for shared libraries through AIX4.2 10621 # and later when we are not doing run time linking. 10622 library_names_spec='${libname}${release}.a $libname.a' 10623 soname_spec='${libname}${release}${shared_ext}$major' 10624 fi 10625 shlibpath_var=LIBPATH 10626 fi 10627 ;; 10628 10629amigaos*) 10630 case $host_cpu in 10631 powerpc) 10632 # Since July 2007 AmigaOS4 officially supports .so libraries. 10633 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10635 ;; 10636 m68k) 10637 library_names_spec='$libname.ixlibrary $libname.a' 10638 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10639 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' 10640 ;; 10641 esac 10642 ;; 10643 10644beos*) 10645 library_names_spec='${libname}${shared_ext}' 10646 dynamic_linker="$host_os ld.so" 10647 shlibpath_var=LIBRARY_PATH 10648 ;; 10649 10650bsdi[45]*) 10651 version_type=linux 10652 need_version=no 10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10654 soname_spec='${libname}${release}${shared_ext}$major' 10655 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10656 shlibpath_var=LD_LIBRARY_PATH 10657 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10658 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10659 # the default ld.so.conf also contains /usr/contrib/lib and 10660 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10661 # libtool to hard-code these into programs 10662 ;; 10663 10664cygwin* | mingw* | pw32* | cegcc*) 10665 version_type=windows 10666 shrext_cmds=".dll" 10667 need_version=no 10668 need_lib_prefix=no 10669 10670 case $GCC,$host_os in 10671 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 10672 library_names_spec='$libname.dll.a' 10673 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10674 postinstall_cmds='base_file=`basename \${file}`~ 10675 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10676 dldir=$destdir/`dirname \$dlpath`~ 10677 test -d \$dldir || mkdir -p \$dldir~ 10678 $install_prog $dir/$dlname \$dldir/$dlname~ 10679 chmod a+x \$dldir/$dlname~ 10680 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10681 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10682 fi' 10683 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10684 dlpath=$dir/\$dldll~ 10685 $RM \$dlpath' 10686 shlibpath_overrides_runpath=yes 10687 10688 case $host_os in 10689 cygwin*) 10690 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10691 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10692 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 10693 ;; 10694 mingw* | cegcc*) 10695 # MinGW DLLs use traditional 'lib' prefix 10696 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10697 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 10698 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10699 # It is most probably a Windows format PATH printed by 10700 # mingw gcc, but we are running on Cygwin. Gcc prints its search 10701 # path with ; separators, and with drive letters. We can handle the 10702 # drive letters (cygwin fileutils understands them), so leave them, 10703 # especially as we might pass files found there to a mingw objdump, 10704 # which wouldn't understand a cygwinified path. Ahh. 10705 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10706 else 10707 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10708 fi 10709 ;; 10710 pw32*) 10711 # pw32 DLLs use 'pw' prefix rather than 'lib' 10712 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10713 ;; 10714 esac 10715 ;; 10716 10717 *) 10718 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10719 ;; 10720 esac 10721 dynamic_linker='Win32 ld.exe' 10722 # FIXME: first we should search . and the directory the executable is in 10723 shlibpath_var=PATH 10724 ;; 10725 10726darwin* | rhapsody*) 10727 dynamic_linker="$host_os dyld" 10728 version_type=darwin 10729 need_lib_prefix=no 10730 need_version=no 10731 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10732 soname_spec='${libname}${release}${major}$shared_ext' 10733 shlibpath_overrides_runpath=yes 10734 shlibpath_var=DYLD_LIBRARY_PATH 10735 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10736 10737 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10738 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10739 ;; 10740 10741dgux*) 10742 version_type=linux 10743 need_lib_prefix=no 10744 need_version=no 10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10746 soname_spec='${libname}${release}${shared_ext}$major' 10747 shlibpath_var=LD_LIBRARY_PATH 10748 ;; 10749 10750freebsd1*) 10751 dynamic_linker=no 10752 ;; 10753 10754freebsd* | dragonfly*) 10755 # DragonFly does not have aout. When/if they implement a new 10756 # versioning mechanism, adjust this. 10757 if test -x /usr/bin/objformat; then 10758 objformat=`/usr/bin/objformat` 10759 else 10760 case $host_os in 10761 freebsd[123]*) objformat=aout ;; 10762 *) objformat=elf ;; 10763 esac 10764 fi 10765 version_type=freebsd-$objformat 10766 case $version_type in 10767 freebsd-elf*) 10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10769 need_version=no 10770 need_lib_prefix=no 10771 ;; 10772 freebsd-*) 10773 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10774 need_version=yes 10775 ;; 10776 esac 10777 shlibpath_var=LD_LIBRARY_PATH 10778 case $host_os in 10779 freebsd2*) 10780 shlibpath_overrides_runpath=yes 10781 ;; 10782 freebsd3.[01]* | freebsdelf3.[01]*) 10783 shlibpath_overrides_runpath=yes 10784 hardcode_into_libs=yes 10785 ;; 10786 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10787 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10788 shlibpath_overrides_runpath=no 10789 hardcode_into_libs=yes 10790 ;; 10791 *) # from 4.6 on, and DragonFly 10792 shlibpath_overrides_runpath=yes 10793 hardcode_into_libs=yes 10794 ;; 10795 esac 10796 ;; 10797 10798gnu*) 10799 version_type=linux 10800 need_lib_prefix=no 10801 need_version=no 10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10803 soname_spec='${libname}${release}${shared_ext}$major' 10804 shlibpath_var=LD_LIBRARY_PATH 10805 hardcode_into_libs=yes 10806 ;; 10807 10808hpux9* | hpux10* | hpux11*) 10809 # Give a soname corresponding to the major version so that dld.sl refuses to 10810 # link against other versions. 10811 version_type=sunos 10812 need_lib_prefix=no 10813 need_version=no 10814 case $host_cpu in 10815 ia64*) 10816 shrext_cmds='.so' 10817 hardcode_into_libs=yes 10818 dynamic_linker="$host_os dld.so" 10819 shlibpath_var=LD_LIBRARY_PATH 10820 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10822 soname_spec='${libname}${release}${shared_ext}$major' 10823 if test "X$HPUX_IA64_MODE" = X32; then 10824 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10825 else 10826 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10827 fi 10828 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10829 ;; 10830 hppa*64*) 10831 shrext_cmds='.sl' 10832 hardcode_into_libs=yes 10833 dynamic_linker="$host_os dld.sl" 10834 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10835 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10837 soname_spec='${libname}${release}${shared_ext}$major' 10838 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10839 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10840 ;; 10841 *) 10842 shrext_cmds='.sl' 10843 dynamic_linker="$host_os dld.sl" 10844 shlibpath_var=SHLIB_PATH 10845 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10847 soname_spec='${libname}${release}${shared_ext}$major' 10848 ;; 10849 esac 10850 # HP-UX runs *really* slowly unless shared libraries are mode 555. 10851 postinstall_cmds='chmod 555 $lib' 10852 ;; 10853 10854interix[3-9]*) 10855 version_type=linux 10856 need_lib_prefix=no 10857 need_version=no 10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10859 soname_spec='${libname}${release}${shared_ext}$major' 10860 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10861 shlibpath_var=LD_LIBRARY_PATH 10862 shlibpath_overrides_runpath=no 10863 hardcode_into_libs=yes 10864 ;; 10865 10866irix5* | irix6* | nonstopux*) 10867 case $host_os in 10868 nonstopux*) version_type=nonstopux ;; 10869 *) 10870 if test "$lt_cv_prog_gnu_ld" = yes; then 10871 version_type=linux 10872 else 10873 version_type=irix 10874 fi ;; 10875 esac 10876 need_lib_prefix=no 10877 need_version=no 10878 soname_spec='${libname}${release}${shared_ext}$major' 10879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10880 case $host_os in 10881 irix5* | nonstopux*) 10882 libsuff= shlibsuff= 10883 ;; 10884 *) 10885 case $LD in # libtool.m4 will add one of these switches to LD 10886 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10887 libsuff= shlibsuff= libmagic=32-bit;; 10888 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10889 libsuff=32 shlibsuff=N32 libmagic=N32;; 10890 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10891 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10892 *) libsuff= shlibsuff= libmagic=never-match;; 10893 esac 10894 ;; 10895 esac 10896 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10897 shlibpath_overrides_runpath=no 10898 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10899 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10900 hardcode_into_libs=yes 10901 ;; 10902 10903# No shared lib support for Linux oldld, aout, or coff. 10904linux*oldld* | linux*aout* | linux*coff*) 10905 dynamic_linker=no 10906 ;; 10907 10908# This must be Linux ELF. 10909linux* | k*bsd*-gnu) 10910 version_type=linux 10911 need_lib_prefix=no 10912 need_version=no 10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10914 soname_spec='${libname}${release}${shared_ext}$major' 10915 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10916 shlibpath_var=LD_LIBRARY_PATH 10917 shlibpath_overrides_runpath=no 10918 # Some binutils ld are patched to set DT_RUNPATH 10919 save_LDFLAGS=$LDFLAGS 10920 save_libdir=$libdir 10921 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10922 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10923 cat >conftest.$ac_ext <<_ACEOF 10924/* confdefs.h. */ 10925_ACEOF 10926cat confdefs.h >>conftest.$ac_ext 10927cat >>conftest.$ac_ext <<_ACEOF 10928/* end confdefs.h. */ 10929 10930int 10931main () 10932{ 10933 10934 ; 10935 return 0; 10936} 10937_ACEOF 10938rm -f conftest.$ac_objext conftest$ac_exeext 10939if { (ac_try="$ac_link" 10940case "(($ac_try" in 10941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10942 *) ac_try_echo=$ac_try;; 10943esac 10944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10945$as_echo "$ac_try_echo") >&5 10946 (eval "$ac_link") 2>conftest.er1 10947 ac_status=$? 10948 grep -v '^ *+' conftest.er1 >conftest.err 10949 rm -f conftest.er1 10950 cat conftest.err >&5 10951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10952 (exit $ac_status); } && { 10953 test -z "$ac_c_werror_flag" || 10954 test ! -s conftest.err 10955 } && test -s conftest$ac_exeext && { 10956 test "$cross_compiling" = yes || 10957 $as_test_x conftest$ac_exeext 10958 }; then 10959 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10960 shlibpath_overrides_runpath=yes 10961fi 10962 10963else 10964 $as_echo "$as_me: failed program was:" >&5 10965sed 's/^/| /' conftest.$ac_ext >&5 10966 10967 10968fi 10969 10970rm -rf conftest.dSYM 10971rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10972 conftest$ac_exeext conftest.$ac_ext 10973 LDFLAGS=$save_LDFLAGS 10974 libdir=$save_libdir 10975 10976 # This implies no fast_install, which is unacceptable. 10977 # Some rework will be needed to allow for fast_install 10978 # before this can be enabled. 10979 hardcode_into_libs=yes 10980 10981 # Append ld.so.conf contents to the search path 10982 if test -f /etc/ld.so.conf; then 10983 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' ' '` 10984 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10985 fi 10986 10987 # We used to test for /lib/ld.so.1 and disable shared libraries on 10988 # powerpc, because MkLinux only supported shared libraries with the 10989 # GNU dynamic linker. Since this was broken with cross compilers, 10990 # most powerpc-linux boxes support dynamic linking these days and 10991 # people can always --disable-shared, the test was removed, and we 10992 # assume the GNU/Linux dynamic linker is in use. 10993 dynamic_linker='GNU/Linux ld.so' 10994 ;; 10995 10996netbsdelf*-gnu) 10997 version_type=linux 10998 need_lib_prefix=no 10999 need_version=no 11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11001 soname_spec='${libname}${release}${shared_ext}$major' 11002 shlibpath_var=LD_LIBRARY_PATH 11003 shlibpath_overrides_runpath=no 11004 hardcode_into_libs=yes 11005 dynamic_linker='NetBSD ld.elf_so' 11006 ;; 11007 11008netbsd*) 11009 version_type=sunos 11010 need_lib_prefix=no 11011 need_version=no 11012 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11014 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11015 dynamic_linker='NetBSD (a.out) ld.so' 11016 else 11017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11018 soname_spec='${libname}${release}${shared_ext}$major' 11019 dynamic_linker='NetBSD ld.elf_so' 11020 fi 11021 shlibpath_var=LD_LIBRARY_PATH 11022 shlibpath_overrides_runpath=yes 11023 hardcode_into_libs=yes 11024 ;; 11025 11026newsos6) 11027 version_type=linux 11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11029 shlibpath_var=LD_LIBRARY_PATH 11030 shlibpath_overrides_runpath=yes 11031 ;; 11032 11033*nto* | *qnx*) 11034 version_type=qnx 11035 need_lib_prefix=no 11036 need_version=no 11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11038 soname_spec='${libname}${release}${shared_ext}$major' 11039 shlibpath_var=LD_LIBRARY_PATH 11040 shlibpath_overrides_runpath=no 11041 hardcode_into_libs=yes 11042 dynamic_linker='ldqnx.so' 11043 ;; 11044 11045openbsd*) 11046 version_type=sunos 11047 sys_lib_dlsearch_path_spec="/usr/lib" 11048 need_lib_prefix=no 11049 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11050 case $host_os in 11051 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11052 *) need_version=no ;; 11053 esac 11054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11055 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11056 shlibpath_var=LD_LIBRARY_PATH 11057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11058 case $host_os in 11059 openbsd2.[89] | openbsd2.[89].*) 11060 shlibpath_overrides_runpath=no 11061 ;; 11062 *) 11063 shlibpath_overrides_runpath=yes 11064 ;; 11065 esac 11066 else 11067 shlibpath_overrides_runpath=yes 11068 fi 11069 ;; 11070 11071os2*) 11072 libname_spec='$name' 11073 shrext_cmds=".dll" 11074 need_lib_prefix=no 11075 library_names_spec='$libname${shared_ext} $libname.a' 11076 dynamic_linker='OS/2 ld.exe' 11077 shlibpath_var=LIBPATH 11078 ;; 11079 11080osf3* | osf4* | osf5*) 11081 version_type=osf 11082 need_lib_prefix=no 11083 need_version=no 11084 soname_spec='${libname}${release}${shared_ext}$major' 11085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11086 shlibpath_var=LD_LIBRARY_PATH 11087 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11088 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11089 ;; 11090 11091rdos*) 11092 dynamic_linker=no 11093 ;; 11094 11095solaris*) 11096 version_type=linux 11097 need_lib_prefix=no 11098 need_version=no 11099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11100 soname_spec='${libname}${release}${shared_ext}$major' 11101 shlibpath_var=LD_LIBRARY_PATH 11102 shlibpath_overrides_runpath=yes 11103 hardcode_into_libs=yes 11104 # ldd complains unless libraries are executable 11105 postinstall_cmds='chmod +x $lib' 11106 ;; 11107 11108sunos4*) 11109 version_type=sunos 11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11111 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11112 shlibpath_var=LD_LIBRARY_PATH 11113 shlibpath_overrides_runpath=yes 11114 if test "$with_gnu_ld" = yes; then 11115 need_lib_prefix=no 11116 fi 11117 need_version=yes 11118 ;; 11119 11120sysv4 | sysv4.3*) 11121 version_type=linux 11122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11123 soname_spec='${libname}${release}${shared_ext}$major' 11124 shlibpath_var=LD_LIBRARY_PATH 11125 case $host_vendor in 11126 sni) 11127 shlibpath_overrides_runpath=no 11128 need_lib_prefix=no 11129 runpath_var=LD_RUN_PATH 11130 ;; 11131 siemens) 11132 need_lib_prefix=no 11133 ;; 11134 motorola) 11135 need_lib_prefix=no 11136 need_version=no 11137 shlibpath_overrides_runpath=no 11138 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11139 ;; 11140 esac 11141 ;; 11142 11143sysv4*MP*) 11144 if test -d /usr/nec ;then 11145 version_type=linux 11146 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11147 soname_spec='$libname${shared_ext}.$major' 11148 shlibpath_var=LD_LIBRARY_PATH 11149 fi 11150 ;; 11151 11152sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11153 version_type=freebsd-elf 11154 need_lib_prefix=no 11155 need_version=no 11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11157 soname_spec='${libname}${release}${shared_ext}$major' 11158 shlibpath_var=LD_LIBRARY_PATH 11159 shlibpath_overrides_runpath=yes 11160 hardcode_into_libs=yes 11161 if test "$with_gnu_ld" = yes; then 11162 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11163 else 11164 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11165 case $host_os in 11166 sco3.2v5*) 11167 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11168 ;; 11169 esac 11170 fi 11171 sys_lib_dlsearch_path_spec='/usr/lib' 11172 ;; 11173 11174tpf*) 11175 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11176 version_type=linux 11177 need_lib_prefix=no 11178 need_version=no 11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11180 shlibpath_var=LD_LIBRARY_PATH 11181 shlibpath_overrides_runpath=no 11182 hardcode_into_libs=yes 11183 ;; 11184 11185uts4*) 11186 version_type=linux 11187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11188 soname_spec='${libname}${release}${shared_ext}$major' 11189 shlibpath_var=LD_LIBRARY_PATH 11190 ;; 11191 11192*) 11193 dynamic_linker=no 11194 ;; 11195esac 11196{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 11197$as_echo "$dynamic_linker" >&6; } 11198test "$dynamic_linker" = no && can_build_shared=no 11199 11200variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11201if test "$GCC" = yes; then 11202 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11203fi 11204 11205if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11206 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11207fi 11208if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11209 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11210fi 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11299$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11300hardcode_action= 11301if test -n "$hardcode_libdir_flag_spec" || 11302 test -n "$runpath_var" || 11303 test "X$hardcode_automatic" = "Xyes" ; then 11304 11305 # We can hardcode non-existent directories. 11306 if test "$hardcode_direct" != no && 11307 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11308 # have to relink, otherwise we might link with an installed library 11309 # when we should be linking with a yet-to-be-installed one 11310 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11311 test "$hardcode_minus_L" != no; then 11312 # Linking always hardcodes the temporary library directory. 11313 hardcode_action=relink 11314 else 11315 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11316 hardcode_action=immediate 11317 fi 11318else 11319 # We cannot hardcode anything, or else we can only hardcode existing 11320 # directories. 11321 hardcode_action=unsupported 11322fi 11323{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 11324$as_echo "$hardcode_action" >&6; } 11325 11326if test "$hardcode_action" = relink || 11327 test "$inherit_rpath" = yes; then 11328 # Fast installation is not supported 11329 enable_fast_install=no 11330elif test "$shlibpath_overrides_runpath" = yes || 11331 test "$enable_shared" = no; then 11332 # Fast installation is not necessary 11333 enable_fast_install=needless 11334fi 11335 11336 11337 11338 11339 11340 11341 if test "x$enable_dlopen" != xyes; then 11342 enable_dlopen=unknown 11343 enable_dlopen_self=unknown 11344 enable_dlopen_self_static=unknown 11345else 11346 lt_cv_dlopen=no 11347 lt_cv_dlopen_libs= 11348 11349 case $host_os in 11350 beos*) 11351 lt_cv_dlopen="load_add_on" 11352 lt_cv_dlopen_libs= 11353 lt_cv_dlopen_self=yes 11354 ;; 11355 11356 mingw* | pw32* | cegcc*) 11357 lt_cv_dlopen="LoadLibrary" 11358 lt_cv_dlopen_libs= 11359 ;; 11360 11361 cygwin*) 11362 lt_cv_dlopen="dlopen" 11363 lt_cv_dlopen_libs= 11364 ;; 11365 11366 darwin*) 11367 # if libdl is installed we need to link against it 11368 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11369$as_echo_n "checking for dlopen in -ldl... " >&6; } 11370if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11371 $as_echo_n "(cached) " >&6 11372else 11373 ac_check_lib_save_LIBS=$LIBS 11374LIBS="-ldl $LIBS" 11375cat >conftest.$ac_ext <<_ACEOF 11376/* confdefs.h. */ 11377_ACEOF 11378cat confdefs.h >>conftest.$ac_ext 11379cat >>conftest.$ac_ext <<_ACEOF 11380/* end confdefs.h. */ 11381 11382/* Override any GCC internal prototype to avoid an error. 11383 Use char because int might match the return type of a GCC 11384 builtin and then its argument prototype would still apply. */ 11385#ifdef __cplusplus 11386extern "C" 11387#endif 11388char dlopen (); 11389int 11390main () 11391{ 11392return dlopen (); 11393 ; 11394 return 0; 11395} 11396_ACEOF 11397rm -f conftest.$ac_objext conftest$ac_exeext 11398if { (ac_try="$ac_link" 11399case "(($ac_try" in 11400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11401 *) ac_try_echo=$ac_try;; 11402esac 11403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11404$as_echo "$ac_try_echo") >&5 11405 (eval "$ac_link") 2>conftest.er1 11406 ac_status=$? 11407 grep -v '^ *+' conftest.er1 >conftest.err 11408 rm -f conftest.er1 11409 cat conftest.err >&5 11410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11411 (exit $ac_status); } && { 11412 test -z "$ac_c_werror_flag" || 11413 test ! -s conftest.err 11414 } && test -s conftest$ac_exeext && { 11415 test "$cross_compiling" = yes || 11416 $as_test_x conftest$ac_exeext 11417 }; then 11418 ac_cv_lib_dl_dlopen=yes 11419else 11420 $as_echo "$as_me: failed program was:" >&5 11421sed 's/^/| /' conftest.$ac_ext >&5 11422 11423 ac_cv_lib_dl_dlopen=no 11424fi 11425 11426rm -rf conftest.dSYM 11427rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11428 conftest$ac_exeext conftest.$ac_ext 11429LIBS=$ac_check_lib_save_LIBS 11430fi 11431{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11432$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11433if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11434 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11435else 11436 11437 lt_cv_dlopen="dyld" 11438 lt_cv_dlopen_libs= 11439 lt_cv_dlopen_self=yes 11440 11441fi 11442 11443 ;; 11444 11445 *) 11446 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 11447$as_echo_n "checking for shl_load... " >&6; } 11448if test "${ac_cv_func_shl_load+set}" = set; then 11449 $as_echo_n "(cached) " >&6 11450else 11451 cat >conftest.$ac_ext <<_ACEOF 11452/* confdefs.h. */ 11453_ACEOF 11454cat confdefs.h >>conftest.$ac_ext 11455cat >>conftest.$ac_ext <<_ACEOF 11456/* end confdefs.h. */ 11457/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 11458 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11459#define shl_load innocuous_shl_load 11460 11461/* System header to define __stub macros and hopefully few prototypes, 11462 which can conflict with char shl_load (); below. 11463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11464 <limits.h> exists even on freestanding compilers. */ 11465 11466#ifdef __STDC__ 11467# include <limits.h> 11468#else 11469# include <assert.h> 11470#endif 11471 11472#undef shl_load 11473 11474/* Override any GCC internal prototype to avoid an error. 11475 Use char because int might match the return type of a GCC 11476 builtin and then its argument prototype would still apply. */ 11477#ifdef __cplusplus 11478extern "C" 11479#endif 11480char shl_load (); 11481/* The GNU C library defines this for functions which it implements 11482 to always fail with ENOSYS. Some functions are actually named 11483 something starting with __ and the normal name is an alias. */ 11484#if defined __stub_shl_load || defined __stub___shl_load 11485choke me 11486#endif 11487 11488int 11489main () 11490{ 11491return shl_load (); 11492 ; 11493 return 0; 11494} 11495_ACEOF 11496rm -f conftest.$ac_objext conftest$ac_exeext 11497if { (ac_try="$ac_link" 11498case "(($ac_try" in 11499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11500 *) ac_try_echo=$ac_try;; 11501esac 11502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11503$as_echo "$ac_try_echo") >&5 11504 (eval "$ac_link") 2>conftest.er1 11505 ac_status=$? 11506 grep -v '^ *+' conftest.er1 >conftest.err 11507 rm -f conftest.er1 11508 cat conftest.err >&5 11509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11510 (exit $ac_status); } && { 11511 test -z "$ac_c_werror_flag" || 11512 test ! -s conftest.err 11513 } && test -s conftest$ac_exeext && { 11514 test "$cross_compiling" = yes || 11515 $as_test_x conftest$ac_exeext 11516 }; then 11517 ac_cv_func_shl_load=yes 11518else 11519 $as_echo "$as_me: failed program was:" >&5 11520sed 's/^/| /' conftest.$ac_ext >&5 11521 11522 ac_cv_func_shl_load=no 11523fi 11524 11525rm -rf conftest.dSYM 11526rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11527 conftest$ac_exeext conftest.$ac_ext 11528fi 11529{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 11530$as_echo "$ac_cv_func_shl_load" >&6; } 11531if test "x$ac_cv_func_shl_load" = x""yes; then 11532 lt_cv_dlopen="shl_load" 11533else 11534 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 11535$as_echo_n "checking for shl_load in -ldld... " >&6; } 11536if test "${ac_cv_lib_dld_shl_load+set}" = set; then 11537 $as_echo_n "(cached) " >&6 11538else 11539 ac_check_lib_save_LIBS=$LIBS 11540LIBS="-ldld $LIBS" 11541cat >conftest.$ac_ext <<_ACEOF 11542/* confdefs.h. */ 11543_ACEOF 11544cat confdefs.h >>conftest.$ac_ext 11545cat >>conftest.$ac_ext <<_ACEOF 11546/* end confdefs.h. */ 11547 11548/* Override any GCC internal prototype to avoid an error. 11549 Use char because int might match the return type of a GCC 11550 builtin and then its argument prototype would still apply. */ 11551#ifdef __cplusplus 11552extern "C" 11553#endif 11554char shl_load (); 11555int 11556main () 11557{ 11558return shl_load (); 11559 ; 11560 return 0; 11561} 11562_ACEOF 11563rm -f conftest.$ac_objext conftest$ac_exeext 11564if { (ac_try="$ac_link" 11565case "(($ac_try" in 11566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11567 *) ac_try_echo=$ac_try;; 11568esac 11569eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11570$as_echo "$ac_try_echo") >&5 11571 (eval "$ac_link") 2>conftest.er1 11572 ac_status=$? 11573 grep -v '^ *+' conftest.er1 >conftest.err 11574 rm -f conftest.er1 11575 cat conftest.err >&5 11576 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11577 (exit $ac_status); } && { 11578 test -z "$ac_c_werror_flag" || 11579 test ! -s conftest.err 11580 } && test -s conftest$ac_exeext && { 11581 test "$cross_compiling" = yes || 11582 $as_test_x conftest$ac_exeext 11583 }; then 11584 ac_cv_lib_dld_shl_load=yes 11585else 11586 $as_echo "$as_me: failed program was:" >&5 11587sed 's/^/| /' conftest.$ac_ext >&5 11588 11589 ac_cv_lib_dld_shl_load=no 11590fi 11591 11592rm -rf conftest.dSYM 11593rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11594 conftest$ac_exeext conftest.$ac_ext 11595LIBS=$ac_check_lib_save_LIBS 11596fi 11597{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 11598$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11599if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 11600 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11601else 11602 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 11603$as_echo_n "checking for dlopen... " >&6; } 11604if test "${ac_cv_func_dlopen+set}" = set; then 11605 $as_echo_n "(cached) " >&6 11606else 11607 cat >conftest.$ac_ext <<_ACEOF 11608/* confdefs.h. */ 11609_ACEOF 11610cat confdefs.h >>conftest.$ac_ext 11611cat >>conftest.$ac_ext <<_ACEOF 11612/* end confdefs.h. */ 11613/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 11614 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11615#define dlopen innocuous_dlopen 11616 11617/* System header to define __stub macros and hopefully few prototypes, 11618 which can conflict with char dlopen (); below. 11619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11620 <limits.h> exists even on freestanding compilers. */ 11621 11622#ifdef __STDC__ 11623# include <limits.h> 11624#else 11625# include <assert.h> 11626#endif 11627 11628#undef dlopen 11629 11630/* Override any GCC internal prototype to avoid an error. 11631 Use char because int might match the return type of a GCC 11632 builtin and then its argument prototype would still apply. */ 11633#ifdef __cplusplus 11634extern "C" 11635#endif 11636char dlopen (); 11637/* The GNU C library defines this for functions which it implements 11638 to always fail with ENOSYS. Some functions are actually named 11639 something starting with __ and the normal name is an alias. */ 11640#if defined __stub_dlopen || defined __stub___dlopen 11641choke me 11642#endif 11643 11644int 11645main () 11646{ 11647return dlopen (); 11648 ; 11649 return 0; 11650} 11651_ACEOF 11652rm -f conftest.$ac_objext conftest$ac_exeext 11653if { (ac_try="$ac_link" 11654case "(($ac_try" in 11655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11656 *) ac_try_echo=$ac_try;; 11657esac 11658eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11659$as_echo "$ac_try_echo") >&5 11660 (eval "$ac_link") 2>conftest.er1 11661 ac_status=$? 11662 grep -v '^ *+' conftest.er1 >conftest.err 11663 rm -f conftest.er1 11664 cat conftest.err >&5 11665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11666 (exit $ac_status); } && { 11667 test -z "$ac_c_werror_flag" || 11668 test ! -s conftest.err 11669 } && test -s conftest$ac_exeext && { 11670 test "$cross_compiling" = yes || 11671 $as_test_x conftest$ac_exeext 11672 }; then 11673 ac_cv_func_dlopen=yes 11674else 11675 $as_echo "$as_me: failed program was:" >&5 11676sed 's/^/| /' conftest.$ac_ext >&5 11677 11678 ac_cv_func_dlopen=no 11679fi 11680 11681rm -rf conftest.dSYM 11682rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11683 conftest$ac_exeext conftest.$ac_ext 11684fi 11685{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 11686$as_echo "$ac_cv_func_dlopen" >&6; } 11687if test "x$ac_cv_func_dlopen" = x""yes; then 11688 lt_cv_dlopen="dlopen" 11689else 11690 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11691$as_echo_n "checking for dlopen in -ldl... " >&6; } 11692if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11693 $as_echo_n "(cached) " >&6 11694else 11695 ac_check_lib_save_LIBS=$LIBS 11696LIBS="-ldl $LIBS" 11697cat >conftest.$ac_ext <<_ACEOF 11698/* confdefs.h. */ 11699_ACEOF 11700cat confdefs.h >>conftest.$ac_ext 11701cat >>conftest.$ac_ext <<_ACEOF 11702/* end confdefs.h. */ 11703 11704/* Override any GCC internal prototype to avoid an error. 11705 Use char because int might match the return type of a GCC 11706 builtin and then its argument prototype would still apply. */ 11707#ifdef __cplusplus 11708extern "C" 11709#endif 11710char dlopen (); 11711int 11712main () 11713{ 11714return dlopen (); 11715 ; 11716 return 0; 11717} 11718_ACEOF 11719rm -f conftest.$ac_objext conftest$ac_exeext 11720if { (ac_try="$ac_link" 11721case "(($ac_try" in 11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11723 *) ac_try_echo=$ac_try;; 11724esac 11725eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11726$as_echo "$ac_try_echo") >&5 11727 (eval "$ac_link") 2>conftest.er1 11728 ac_status=$? 11729 grep -v '^ *+' conftest.er1 >conftest.err 11730 rm -f conftest.er1 11731 cat conftest.err >&5 11732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11733 (exit $ac_status); } && { 11734 test -z "$ac_c_werror_flag" || 11735 test ! -s conftest.err 11736 } && test -s conftest$ac_exeext && { 11737 test "$cross_compiling" = yes || 11738 $as_test_x conftest$ac_exeext 11739 }; then 11740 ac_cv_lib_dl_dlopen=yes 11741else 11742 $as_echo "$as_me: failed program was:" >&5 11743sed 's/^/| /' conftest.$ac_ext >&5 11744 11745 ac_cv_lib_dl_dlopen=no 11746fi 11747 11748rm -rf conftest.dSYM 11749rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11750 conftest$ac_exeext conftest.$ac_ext 11751LIBS=$ac_check_lib_save_LIBS 11752fi 11753{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11754$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11755if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11756 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11757else 11758 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 11759$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11760if test "${ac_cv_lib_svld_dlopen+set}" = set; then 11761 $as_echo_n "(cached) " >&6 11762else 11763 ac_check_lib_save_LIBS=$LIBS 11764LIBS="-lsvld $LIBS" 11765cat >conftest.$ac_ext <<_ACEOF 11766/* confdefs.h. */ 11767_ACEOF 11768cat confdefs.h >>conftest.$ac_ext 11769cat >>conftest.$ac_ext <<_ACEOF 11770/* end confdefs.h. */ 11771 11772/* Override any GCC internal prototype to avoid an error. 11773 Use char because int might match the return type of a GCC 11774 builtin and then its argument prototype would still apply. */ 11775#ifdef __cplusplus 11776extern "C" 11777#endif 11778char dlopen (); 11779int 11780main () 11781{ 11782return dlopen (); 11783 ; 11784 return 0; 11785} 11786_ACEOF 11787rm -f conftest.$ac_objext conftest$ac_exeext 11788if { (ac_try="$ac_link" 11789case "(($ac_try" in 11790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11791 *) ac_try_echo=$ac_try;; 11792esac 11793eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11794$as_echo "$ac_try_echo") >&5 11795 (eval "$ac_link") 2>conftest.er1 11796 ac_status=$? 11797 grep -v '^ *+' conftest.er1 >conftest.err 11798 rm -f conftest.er1 11799 cat conftest.err >&5 11800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11801 (exit $ac_status); } && { 11802 test -z "$ac_c_werror_flag" || 11803 test ! -s conftest.err 11804 } && test -s conftest$ac_exeext && { 11805 test "$cross_compiling" = yes || 11806 $as_test_x conftest$ac_exeext 11807 }; then 11808 ac_cv_lib_svld_dlopen=yes 11809else 11810 $as_echo "$as_me: failed program was:" >&5 11811sed 's/^/| /' conftest.$ac_ext >&5 11812 11813 ac_cv_lib_svld_dlopen=no 11814fi 11815 11816rm -rf conftest.dSYM 11817rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11818 conftest$ac_exeext conftest.$ac_ext 11819LIBS=$ac_check_lib_save_LIBS 11820fi 11821{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11822$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11823if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 11824 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11825else 11826 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11827$as_echo_n "checking for dld_link in -ldld... " >&6; } 11828if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11829 $as_echo_n "(cached) " >&6 11830else 11831 ac_check_lib_save_LIBS=$LIBS 11832LIBS="-ldld $LIBS" 11833cat >conftest.$ac_ext <<_ACEOF 11834/* confdefs.h. */ 11835_ACEOF 11836cat confdefs.h >>conftest.$ac_ext 11837cat >>conftest.$ac_ext <<_ACEOF 11838/* end confdefs.h. */ 11839 11840/* Override any GCC internal prototype to avoid an error. 11841 Use char because int might match the return type of a GCC 11842 builtin and then its argument prototype would still apply. */ 11843#ifdef __cplusplus 11844extern "C" 11845#endif 11846char dld_link (); 11847int 11848main () 11849{ 11850return dld_link (); 11851 ; 11852 return 0; 11853} 11854_ACEOF 11855rm -f conftest.$ac_objext conftest$ac_exeext 11856if { (ac_try="$ac_link" 11857case "(($ac_try" in 11858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11859 *) ac_try_echo=$ac_try;; 11860esac 11861eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11862$as_echo "$ac_try_echo") >&5 11863 (eval "$ac_link") 2>conftest.er1 11864 ac_status=$? 11865 grep -v '^ *+' conftest.er1 >conftest.err 11866 rm -f conftest.er1 11867 cat conftest.err >&5 11868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11869 (exit $ac_status); } && { 11870 test -z "$ac_c_werror_flag" || 11871 test ! -s conftest.err 11872 } && test -s conftest$ac_exeext && { 11873 test "$cross_compiling" = yes || 11874 $as_test_x conftest$ac_exeext 11875 }; then 11876 ac_cv_lib_dld_dld_link=yes 11877else 11878 $as_echo "$as_me: failed program was:" >&5 11879sed 's/^/| /' conftest.$ac_ext >&5 11880 11881 ac_cv_lib_dld_dld_link=no 11882fi 11883 11884rm -rf conftest.dSYM 11885rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11886 conftest$ac_exeext conftest.$ac_ext 11887LIBS=$ac_check_lib_save_LIBS 11888fi 11889{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11890$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11891if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 11892 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11893fi 11894 11895 11896fi 11897 11898 11899fi 11900 11901 11902fi 11903 11904 11905fi 11906 11907 11908fi 11909 11910 ;; 11911 esac 11912 11913 if test "x$lt_cv_dlopen" != xno; then 11914 enable_dlopen=yes 11915 else 11916 enable_dlopen=no 11917 fi 11918 11919 case $lt_cv_dlopen in 11920 dlopen) 11921 save_CPPFLAGS="$CPPFLAGS" 11922 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11923 11924 save_LDFLAGS="$LDFLAGS" 11925 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11926 11927 save_LIBS="$LIBS" 11928 LIBS="$lt_cv_dlopen_libs $LIBS" 11929 11930 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11931$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11932if test "${lt_cv_dlopen_self+set}" = set; then 11933 $as_echo_n "(cached) " >&6 11934else 11935 if test "$cross_compiling" = yes; then : 11936 lt_cv_dlopen_self=cross 11937else 11938 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11939 lt_status=$lt_dlunknown 11940 cat > conftest.$ac_ext <<_LT_EOF 11941#line 11941 "configure" 11942#include "confdefs.h" 11943 11944#if HAVE_DLFCN_H 11945#include <dlfcn.h> 11946#endif 11947 11948#include <stdio.h> 11949 11950#ifdef RTLD_GLOBAL 11951# define LT_DLGLOBAL RTLD_GLOBAL 11952#else 11953# ifdef DL_GLOBAL 11954# define LT_DLGLOBAL DL_GLOBAL 11955# else 11956# define LT_DLGLOBAL 0 11957# endif 11958#endif 11959 11960/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11961 find out it does not work in some platform. */ 11962#ifndef LT_DLLAZY_OR_NOW 11963# ifdef RTLD_LAZY 11964# define LT_DLLAZY_OR_NOW RTLD_LAZY 11965# else 11966# ifdef DL_LAZY 11967# define LT_DLLAZY_OR_NOW DL_LAZY 11968# else 11969# ifdef RTLD_NOW 11970# define LT_DLLAZY_OR_NOW RTLD_NOW 11971# else 11972# ifdef DL_NOW 11973# define LT_DLLAZY_OR_NOW DL_NOW 11974# else 11975# define LT_DLLAZY_OR_NOW 0 11976# endif 11977# endif 11978# endif 11979# endif 11980#endif 11981 11982void fnord() { int i=42;} 11983int main () 11984{ 11985 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11986 int status = $lt_dlunknown; 11987 11988 if (self) 11989 { 11990 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11991 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11992 /* dlclose (self); */ 11993 } 11994 else 11995 puts (dlerror ()); 11996 11997 return status; 11998} 11999_LT_EOF 12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12001 (eval $ac_link) 2>&5 12002 ac_status=$? 12003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12004 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12005 (./conftest; exit; ) >&5 2>/dev/null 12006 lt_status=$? 12007 case x$lt_status in 12008 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12009 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12010 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12011 esac 12012 else : 12013 # compilation failed 12014 lt_cv_dlopen_self=no 12015 fi 12016fi 12017rm -fr conftest* 12018 12019 12020fi 12021{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 12022$as_echo "$lt_cv_dlopen_self" >&6; } 12023 12024 if test "x$lt_cv_dlopen_self" = xyes; then 12025 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12026 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 12027$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12028if test "${lt_cv_dlopen_self_static+set}" = set; then 12029 $as_echo_n "(cached) " >&6 12030else 12031 if test "$cross_compiling" = yes; then : 12032 lt_cv_dlopen_self_static=cross 12033else 12034 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12035 lt_status=$lt_dlunknown 12036 cat > conftest.$ac_ext <<_LT_EOF 12037#line 12037 "configure" 12038#include "confdefs.h" 12039 12040#if HAVE_DLFCN_H 12041#include <dlfcn.h> 12042#endif 12043 12044#include <stdio.h> 12045 12046#ifdef RTLD_GLOBAL 12047# define LT_DLGLOBAL RTLD_GLOBAL 12048#else 12049# ifdef DL_GLOBAL 12050# define LT_DLGLOBAL DL_GLOBAL 12051# else 12052# define LT_DLGLOBAL 0 12053# endif 12054#endif 12055 12056/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12057 find out it does not work in some platform. */ 12058#ifndef LT_DLLAZY_OR_NOW 12059# ifdef RTLD_LAZY 12060# define LT_DLLAZY_OR_NOW RTLD_LAZY 12061# else 12062# ifdef DL_LAZY 12063# define LT_DLLAZY_OR_NOW DL_LAZY 12064# else 12065# ifdef RTLD_NOW 12066# define LT_DLLAZY_OR_NOW RTLD_NOW 12067# else 12068# ifdef DL_NOW 12069# define LT_DLLAZY_OR_NOW DL_NOW 12070# else 12071# define LT_DLLAZY_OR_NOW 0 12072# endif 12073# endif 12074# endif 12075# endif 12076#endif 12077 12078void fnord() { int i=42;} 12079int main () 12080{ 12081 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12082 int status = $lt_dlunknown; 12083 12084 if (self) 12085 { 12086 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12087 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12088 /* dlclose (self); */ 12089 } 12090 else 12091 puts (dlerror ()); 12092 12093 return status; 12094} 12095_LT_EOF 12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12097 (eval $ac_link) 2>&5 12098 ac_status=$? 12099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12100 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12101 (./conftest; exit; ) >&5 2>/dev/null 12102 lt_status=$? 12103 case x$lt_status in 12104 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12105 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12106 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12107 esac 12108 else : 12109 # compilation failed 12110 lt_cv_dlopen_self_static=no 12111 fi 12112fi 12113rm -fr conftest* 12114 12115 12116fi 12117{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 12118$as_echo "$lt_cv_dlopen_self_static" >&6; } 12119 fi 12120 12121 CPPFLAGS="$save_CPPFLAGS" 12122 LDFLAGS="$save_LDFLAGS" 12123 LIBS="$save_LIBS" 12124 ;; 12125 esac 12126 12127 case $lt_cv_dlopen_self in 12128 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12129 *) enable_dlopen_self=unknown ;; 12130 esac 12131 12132 case $lt_cv_dlopen_self_static in 12133 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12134 *) enable_dlopen_self_static=unknown ;; 12135 esac 12136fi 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154striplib= 12155old_striplib= 12156{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 12157$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12158if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12159 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12160 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12161 { $as_echo "$as_me:$LINENO: result: yes" >&5 12162$as_echo "yes" >&6; } 12163else 12164# FIXME - insert some real tests, host_os isn't really good enough 12165 case $host_os in 12166 darwin*) 12167 if test -n "$STRIP" ; then 12168 striplib="$STRIP -x" 12169 old_striplib="$STRIP -S" 12170 { $as_echo "$as_me:$LINENO: result: yes" >&5 12171$as_echo "yes" >&6; } 12172 else 12173 { $as_echo "$as_me:$LINENO: result: no" >&5 12174$as_echo "no" >&6; } 12175 fi 12176 ;; 12177 *) 12178 { $as_echo "$as_me:$LINENO: result: no" >&5 12179$as_echo "no" >&6; } 12180 ;; 12181 esac 12182fi 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 # Report which library types will actually be built 12196 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 12197$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12198 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 12199$as_echo "$can_build_shared" >&6; } 12200 12201 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 12202$as_echo_n "checking whether to build shared libraries... " >&6; } 12203 test "$can_build_shared" = "no" && enable_shared=no 12204 12205 # On AIX, shared libraries and static libraries use the same namespace, and 12206 # are all built from PIC. 12207 case $host_os in 12208 aix3*) 12209 test "$enable_shared" = yes && enable_static=no 12210 if test -n "$RANLIB"; then 12211 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12212 postinstall_cmds='$RANLIB $lib' 12213 fi 12214 ;; 12215 12216 aix[4-9]*) 12217 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12218 test "$enable_shared" = yes && enable_static=no 12219 fi 12220 ;; 12221 esac 12222 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 12223$as_echo "$enable_shared" >&6; } 12224 12225 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 12226$as_echo_n "checking whether to build static libraries... " >&6; } 12227 # Make sure either enable_shared or enable_static is yes. 12228 test "$enable_shared" = yes || enable_static=yes 12229 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 12230$as_echo "$enable_static" >&6; } 12231 12232 12233 12234 12235fi 12236ac_ext=c 12237ac_cpp='$CPP $CPPFLAGS' 12238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12240ac_compiler_gnu=$ac_cv_c_compiler_gnu 12241 12242CC="$lt_save_CC" 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 ac_config_commands="$ac_config_commands libtool" 12257 12258 12259 12260 12261# Only expand once: 12262 12263 12264 12265 12266# dolt, a replacement for libtool 12267# Josh Triplett <josh@freedesktop.org> 12268# Extract the first word of "bash", so it can be a program name with args. 12269set dummy bash; ac_word=$2 12270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12271$as_echo_n "checking for $ac_word... " >&6; } 12272if test "${ac_cv_path_DOLT_BASH+set}" = set; then 12273 $as_echo_n "(cached) " >&6 12274else 12275 case $DOLT_BASH in 12276 [\\/]* | ?:[\\/]*) 12277 ac_cv_path_DOLT_BASH="$DOLT_BASH" # Let the user override the test with a path. 12278 ;; 12279 *) 12280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12281for as_dir in $PATH 12282do 12283 IFS=$as_save_IFS 12284 test -z "$as_dir" && as_dir=. 12285 for ac_exec_ext in '' $ac_executable_extensions; do 12286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12287 ac_cv_path_DOLT_BASH="$as_dir/$ac_word$ac_exec_ext" 12288 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12289 break 2 12290 fi 12291done 12292done 12293IFS=$as_save_IFS 12294 12295 ;; 12296esac 12297fi 12298DOLT_BASH=$ac_cv_path_DOLT_BASH 12299if test -n "$DOLT_BASH"; then 12300 { $as_echo "$as_me:$LINENO: result: $DOLT_BASH" >&5 12301$as_echo "$DOLT_BASH" >&6; } 12302else 12303 { $as_echo "$as_me:$LINENO: result: no" >&5 12304$as_echo "no" >&6; } 12305fi 12306 12307 12308{ $as_echo "$as_me:$LINENO: checking if dolt supports this host" >&5 12309$as_echo_n "checking if dolt supports this host... " >&6; } 12310dolt_supported=yes 12311if test x$DOLT_BASH = x; then 12312 dolt_supported=no 12313fi 12314if test x$GCC != xyes; then 12315 dolt_supported=no 12316fi 12317case $host in 12318i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux* \ 12319|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*) 12320 pic_options='-fPIC' 12321 ;; 12322i?86-apple-darwin*) 12323 pic_options='-fno-common' 12324 ;; 12325*) 12326 dolt_supported=no 12327 ;; 12328esac 12329if test x$dolt_supported = xno ; then 12330 { $as_echo "$as_me:$LINENO: result: no, falling back to libtool" >&5 12331$as_echo "no, falling back to libtool" >&6; } 12332 LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)' 12333 LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)' 12334else 12335 { $as_echo "$as_me:$LINENO: result: yes, replacing libtool" >&5 12336$as_echo "yes, replacing libtool" >&6; } 12337 12338 cat <<__DOLTCOMPILE__EOF__ >doltcompile 12339#!$DOLT_BASH 12340__DOLTCOMPILE__EOF__ 12341 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12342args=("$@") 12343for ((arg=0; arg<${#args[@]}; arg++)) ; do 12344 if test x"${args[$arg]}" = x-o ; then 12345 objarg=$((arg+1)) 12346 break 12347 fi 12348done 12349if test x$objarg = x ; then 12350 echo 'Error: no -o on compiler command line' 1>&2 12351 exit 1 12352fi 12353lo="${args[$objarg]}" 12354obj="${lo%.lo}" 12355if test x"$lo" = x"$obj" ; then 12356 echo "Error: libtool object file name \"$lo\" does not end in .lo" 1>&2 12357 exit 1 12358fi 12359objbase="${obj##*/}" 12360__DOLTCOMPILE__EOF__ 12361 12362 if test x$enable_shared = xyes; then 12363 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12364libobjdir="${obj%$objbase}.libs" 12365if test ! -d "$libobjdir" ; then 12366 mkdir_out="$(mkdir "$libobjdir" 2>&1)" 12367 mkdir_ret=$? 12368 if test "$mkdir_ret" -ne 0 && test ! -d "$libobjdir" ; then 12369 echo "$mkdir_out" 1>&2 12370 exit $mkdir_ret 12371 fi 12372fi 12373pic_object="$libobjdir/$objbase.o" 12374args[$objarg]="$pic_object" 12375__DOLTCOMPILE__EOF__ 12376 cat <<__DOLTCOMPILE__EOF__ >>doltcompile 12377"\${args[@]}" $pic_options -DPIC || exit \$? 12378__DOLTCOMPILE__EOF__ 12379 fi 12380 12381 if test x$enable_static = xyes; then 12382 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12383non_pic_object="$obj.o" 12384args[$objarg]="$non_pic_object" 12385__DOLTCOMPILE__EOF__ 12386 if test x$enable_shared = xyes; then 12387 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12388"${args[@]}" >/dev/null 2>&1 || exit $? 12389__DOLTCOMPILE__EOF__ 12390 else 12391 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12392"${args[@]}" || exit $? 12393__DOLTCOMPILE__EOF__ 12394 fi 12395 fi 12396 12397 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12398{ 12399echo "# $lo - a libtool object file" 12400echo "# Generated by doltcompile, not libtool" 12401__DOLTCOMPILE__EOF__ 12402 12403 if test x$enable_shared = xyes; then 12404 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12405echo "pic_object='.libs/${objbase}.o'" 12406__DOLTCOMPILE__EOF__ 12407 else 12408 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12409echo pic_object=none 12410__DOLTCOMPILE__EOF__ 12411 fi 12412 12413 if test x$enable_static = xyes; then 12414 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12415echo "non_pic_object='${objbase}.o'" 12416__DOLTCOMPILE__EOF__ 12417 else 12418 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12419echo non_pic_object=none 12420__DOLTCOMPILE__EOF__ 12421 fi 12422 12423 cat <<'__DOLTCOMPILE__EOF__' >>doltcompile 12424} > "$lo" 12425__DOLTCOMPILE__EOF__ 12426 12427 chmod +x doltcompile 12428 LTCOMPILE='$(top_builddir)/doltcompile $(COMPILE)' 12429 LTCXXCOMPILE='$(top_builddir)/doltcompile $(CXXCOMPILE)' 12430 12431 cat <<__DOLTLIBTOOL__EOF__ > doltlibtool 12432#!$DOLT_BASH 12433__DOLTLIBTOOL__EOF__ 12434 cat <<'__DOLTLIBTOOL__EOF__' >>doltlibtool 12435top_builddir_slash="${0%%doltlibtool}" 12436: ${top_builddir_slash:=./} 12437args=() 12438modeok=false 12439tagok=false 12440for arg in "$@"; do 12441 case "$arg" in 12442 --mode=compile) modeok=true ;; 12443 --tag=CC|--tag=CXX) tagok=true ;; 12444 *) args[${#args[@]}]="$arg" ;; 12445 esac 12446done 12447if $modeok && $tagok ; then 12448 . ${top_builddir_slash}doltcompile "${args[@]}" 12449else 12450 exec ${top_builddir_slash}libtool "$@" 12451fi 12452__DOLTLIBTOOL__EOF__ 12453 12454 chmod +x doltlibtool 12455 LIBTOOL='$(top_builddir)/doltlibtool' 12456fi 12457 12458 12459# end dolt 12460 12461{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 12462$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 12463set x ${MAKE-make} 12464ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 12465if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 12466 $as_echo_n "(cached) " >&6 12467else 12468 cat >conftest.make <<\_ACEOF 12469SHELL = /bin/sh 12470all: 12471 @echo '@@@%%%=$(MAKE)=@@@%%%' 12472_ACEOF 12473# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 12474case `${MAKE-make} -f conftest.make 2>/dev/null` in 12475 *@@@%%%=?*=@@@%%%*) 12476 eval ac_cv_prog_make_${ac_make}_set=yes;; 12477 *) 12478 eval ac_cv_prog_make_${ac_make}_set=no;; 12479esac 12480rm -f conftest.make 12481fi 12482if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 12483 { $as_echo "$as_me:$LINENO: result: yes" >&5 12484$as_echo "yes" >&6; } 12485 SET_MAKE= 12486else 12487 { $as_echo "$as_me:$LINENO: result: no" >&5 12488$as_echo "no" >&6; } 12489 SET_MAKE="MAKE=${MAKE-make}" 12490fi 12491 12492 12493 12494if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12495 if test -n "$ac_tool_prefix"; then 12496 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12497set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12498{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12499$as_echo_n "checking for $ac_word... " >&6; } 12500if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 12501 $as_echo_n "(cached) " >&6 12502else 12503 case $PKG_CONFIG in 12504 [\\/]* | ?:[\\/]*) 12505 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12506 ;; 12507 *) 12508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12509for as_dir in $PATH 12510do 12511 IFS=$as_save_IFS 12512 test -z "$as_dir" && as_dir=. 12513 for ac_exec_ext in '' $ac_executable_extensions; do 12514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12515 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12516 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12517 break 2 12518 fi 12519done 12520done 12521IFS=$as_save_IFS 12522 12523 ;; 12524esac 12525fi 12526PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12527if test -n "$PKG_CONFIG"; then 12528 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 12529$as_echo "$PKG_CONFIG" >&6; } 12530else 12531 { $as_echo "$as_me:$LINENO: result: no" >&5 12532$as_echo "no" >&6; } 12533fi 12534 12535 12536fi 12537if test -z "$ac_cv_path_PKG_CONFIG"; then 12538 ac_pt_PKG_CONFIG=$PKG_CONFIG 12539 # Extract the first word of "pkg-config", so it can be a program name with args. 12540set dummy pkg-config; ac_word=$2 12541{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12542$as_echo_n "checking for $ac_word... " >&6; } 12543if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 12544 $as_echo_n "(cached) " >&6 12545else 12546 case $ac_pt_PKG_CONFIG in 12547 [\\/]* | ?:[\\/]*) 12548 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 12549 ;; 12550 *) 12551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12552for as_dir in $PATH 12553do 12554 IFS=$as_save_IFS 12555 test -z "$as_dir" && as_dir=. 12556 for ac_exec_ext in '' $ac_executable_extensions; do 12557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12558 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12559 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12560 break 2 12561 fi 12562done 12563done 12564IFS=$as_save_IFS 12565 12566 ;; 12567esac 12568fi 12569ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 12570if test -n "$ac_pt_PKG_CONFIG"; then 12571 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 12572$as_echo "$ac_pt_PKG_CONFIG" >&6; } 12573else 12574 { $as_echo "$as_me:$LINENO: result: no" >&5 12575$as_echo "no" >&6; } 12576fi 12577 12578 if test "x$ac_pt_PKG_CONFIG" = x; then 12579 PKG_CONFIG="" 12580 else 12581 case $cross_compiling:$ac_tool_warned in 12582yes:) 12583{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 12584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 12585ac_tool_warned=yes ;; 12586esac 12587 PKG_CONFIG=$ac_pt_PKG_CONFIG 12588 fi 12589else 12590 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 12591fi 12592 12593fi 12594if test -n "$PKG_CONFIG"; then 12595 _pkg_min_version=0.9.0 12596 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 12597$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 12598 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 12599 { $as_echo "$as_me:$LINENO: result: yes" >&5 12600$as_echo "yes" >&6; } 12601 else 12602 { $as_echo "$as_me:$LINENO: result: no" >&5 12603$as_echo "no" >&6; } 12604 PKG_CONFIG="" 12605 fi 12606 12607fi 12608for ac_prog in flex lex 12609do 12610 # Extract the first word of "$ac_prog", so it can be a program name with args. 12611set dummy $ac_prog; ac_word=$2 12612{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12613$as_echo_n "checking for $ac_word... " >&6; } 12614if test "${ac_cv_prog_LEX+set}" = set; then 12615 $as_echo_n "(cached) " >&6 12616else 12617 if test -n "$LEX"; then 12618 ac_cv_prog_LEX="$LEX" # Let the user override the test. 12619else 12620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12621for as_dir in $PATH 12622do 12623 IFS=$as_save_IFS 12624 test -z "$as_dir" && as_dir=. 12625 for ac_exec_ext in '' $ac_executable_extensions; do 12626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12627 ac_cv_prog_LEX="$ac_prog" 12628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12629 break 2 12630 fi 12631done 12632done 12633IFS=$as_save_IFS 12634 12635fi 12636fi 12637LEX=$ac_cv_prog_LEX 12638if test -n "$LEX"; then 12639 { $as_echo "$as_me:$LINENO: result: $LEX" >&5 12640$as_echo "$LEX" >&6; } 12641else 12642 { $as_echo "$as_me:$LINENO: result: no" >&5 12643$as_echo "no" >&6; } 12644fi 12645 12646 12647 test -n "$LEX" && break 12648done 12649test -n "$LEX" || LEX=":" 12650 12651if test "x$LEX" != "x:"; then 12652 cat >conftest.l <<_ACEOF 12653%% 12654a { ECHO; } 12655b { REJECT; } 12656c { yymore (); } 12657d { yyless (1); } 12658e { yyless (input () != 0); } 12659f { unput (yytext[0]); } 12660. { BEGIN INITIAL; } 12661%% 12662#ifdef YYTEXT_POINTER 12663extern char *yytext; 12664#endif 12665int 12666main (void) 12667{ 12668 return ! yylex () + ! yywrap (); 12669} 12670_ACEOF 12671{ (ac_try="$LEX conftest.l" 12672case "(($ac_try" in 12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12674 *) ac_try_echo=$ac_try;; 12675esac 12676eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12677$as_echo "$ac_try_echo") >&5 12678 (eval "$LEX conftest.l") 2>&5 12679 ac_status=$? 12680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12681 (exit $ac_status); } 12682{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5 12683$as_echo_n "checking lex output file root... " >&6; } 12684if test "${ac_cv_prog_lex_root+set}" = set; then 12685 $as_echo_n "(cached) " >&6 12686else 12687 12688if test -f lex.yy.c; then 12689 ac_cv_prog_lex_root=lex.yy 12690elif test -f lexyy.c; then 12691 ac_cv_prog_lex_root=lexyy 12692else 12693 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 12694$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 12695 { (exit 1); exit 1; }; } 12696fi 12697fi 12698{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 12699$as_echo "$ac_cv_prog_lex_root" >&6; } 12700LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 12701 12702if test -z "${LEXLIB+set}"; then 12703 { $as_echo "$as_me:$LINENO: checking lex library" >&5 12704$as_echo_n "checking lex library... " >&6; } 12705if test "${ac_cv_lib_lex+set}" = set; then 12706 $as_echo_n "(cached) " >&6 12707else 12708 12709 ac_save_LIBS=$LIBS 12710 ac_cv_lib_lex='none needed' 12711 for ac_lib in '' -lfl -ll; do 12712 LIBS="$ac_lib $ac_save_LIBS" 12713 cat >conftest.$ac_ext <<_ACEOF 12714`cat $LEX_OUTPUT_ROOT.c` 12715_ACEOF 12716rm -f conftest.$ac_objext conftest$ac_exeext 12717if { (ac_try="$ac_link" 12718case "(($ac_try" in 12719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12720 *) ac_try_echo=$ac_try;; 12721esac 12722eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12723$as_echo "$ac_try_echo") >&5 12724 (eval "$ac_link") 2>conftest.er1 12725 ac_status=$? 12726 grep -v '^ *+' conftest.er1 >conftest.err 12727 rm -f conftest.er1 12728 cat conftest.err >&5 12729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12730 (exit $ac_status); } && { 12731 test -z "$ac_c_werror_flag" || 12732 test ! -s conftest.err 12733 } && test -s conftest$ac_exeext && { 12734 test "$cross_compiling" = yes || 12735 $as_test_x conftest$ac_exeext 12736 }; then 12737 ac_cv_lib_lex=$ac_lib 12738else 12739 $as_echo "$as_me: failed program was:" >&5 12740sed 's/^/| /' conftest.$ac_ext >&5 12741 12742 12743fi 12744 12745rm -rf conftest.dSYM 12746rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12747 conftest$ac_exeext conftest.$ac_ext 12748 test "$ac_cv_lib_lex" != 'none needed' && break 12749 done 12750 LIBS=$ac_save_LIBS 12751 12752fi 12753{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5 12754$as_echo "$ac_cv_lib_lex" >&6; } 12755 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 12756fi 12757 12758 12759{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 12760$as_echo_n "checking whether yytext is a pointer... " >&6; } 12761if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 12762 $as_echo_n "(cached) " >&6 12763else 12764 # POSIX says lex can declare yytext either as a pointer or an array; the 12765# default is implementation-dependent. Figure out which it is, since 12766# not all implementations provide the %pointer and %array declarations. 12767ac_cv_prog_lex_yytext_pointer=no 12768ac_save_LIBS=$LIBS 12769LIBS="$LEXLIB $ac_save_LIBS" 12770cat >conftest.$ac_ext <<_ACEOF 12771#define YYTEXT_POINTER 1 12772`cat $LEX_OUTPUT_ROOT.c` 12773_ACEOF 12774rm -f conftest.$ac_objext conftest$ac_exeext 12775if { (ac_try="$ac_link" 12776case "(($ac_try" in 12777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12778 *) ac_try_echo=$ac_try;; 12779esac 12780eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12781$as_echo "$ac_try_echo") >&5 12782 (eval "$ac_link") 2>conftest.er1 12783 ac_status=$? 12784 grep -v '^ *+' conftest.er1 >conftest.err 12785 rm -f conftest.er1 12786 cat conftest.err >&5 12787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12788 (exit $ac_status); } && { 12789 test -z "$ac_c_werror_flag" || 12790 test ! -s conftest.err 12791 } && test -s conftest$ac_exeext && { 12792 test "$cross_compiling" = yes || 12793 $as_test_x conftest$ac_exeext 12794 }; then 12795 ac_cv_prog_lex_yytext_pointer=yes 12796else 12797 $as_echo "$as_me: failed program was:" >&5 12798sed 's/^/| /' conftest.$ac_ext >&5 12799 12800 12801fi 12802 12803rm -rf conftest.dSYM 12804rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12805 conftest$ac_exeext conftest.$ac_ext 12806LIBS=$ac_save_LIBS 12807 12808fi 12809{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 12810$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 12811if test $ac_cv_prog_lex_yytext_pointer = yes; then 12812 12813cat >>confdefs.h <<\_ACEOF 12814#define YYTEXT_POINTER 1 12815_ACEOF 12816 12817fi 12818rm -f conftest.l $LEX_OUTPUT_ROOT.c 12819 12820fi 12821for ac_prog in 'bison -y' byacc 12822do 12823 # Extract the first word of "$ac_prog", so it can be a program name with args. 12824set dummy $ac_prog; ac_word=$2 12825{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 12826$as_echo_n "checking for $ac_word... " >&6; } 12827if test "${ac_cv_prog_YACC+set}" = set; then 12828 $as_echo_n "(cached) " >&6 12829else 12830 if test -n "$YACC"; then 12831 ac_cv_prog_YACC="$YACC" # Let the user override the test. 12832else 12833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12834for as_dir in $PATH 12835do 12836 IFS=$as_save_IFS 12837 test -z "$as_dir" && as_dir=. 12838 for ac_exec_ext in '' $ac_executable_extensions; do 12839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12840 ac_cv_prog_YACC="$ac_prog" 12841 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12842 break 2 12843 fi 12844done 12845done 12846IFS=$as_save_IFS 12847 12848fi 12849fi 12850YACC=$ac_cv_prog_YACC 12851if test -n "$YACC"; then 12852 { $as_echo "$as_me:$LINENO: result: $YACC" >&5 12853$as_echo "$YACC" >&6; } 12854else 12855 { $as_echo "$as_me:$LINENO: result: no" >&5 12856$as_echo "no" >&6; } 12857fi 12858 12859 12860 test -n "$YACC" && break 12861done 12862test -n "$YACC" || YACC="yacc" 12863 12864# Check whether --enable-largefile was given. 12865if test "${enable_largefile+set}" = set; then 12866 enableval=$enable_largefile; 12867fi 12868 12869if test "$enable_largefile" != no; then 12870 12871 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 12872$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 12873if test "${ac_cv_sys_largefile_CC+set}" = set; then 12874 $as_echo_n "(cached) " >&6 12875else 12876 ac_cv_sys_largefile_CC=no 12877 if test "$GCC" != yes; then 12878 ac_save_CC=$CC 12879 while :; do 12880 # IRIX 6.2 and later do not support large files by default, 12881 # so use the C compiler's -n32 option if that helps. 12882 cat >conftest.$ac_ext <<_ACEOF 12883/* confdefs.h. */ 12884_ACEOF 12885cat confdefs.h >>conftest.$ac_ext 12886cat >>conftest.$ac_ext <<_ACEOF 12887/* end confdefs.h. */ 12888#include <sys/types.h> 12889 /* Check that off_t can represent 2**63 - 1 correctly. 12890 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12891 since some C++ compilers masquerading as C compilers 12892 incorrectly reject 9223372036854775807. */ 12893#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12894 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12895 && LARGE_OFF_T % 2147483647 == 1) 12896 ? 1 : -1]; 12897int 12898main () 12899{ 12900 12901 ; 12902 return 0; 12903} 12904_ACEOF 12905 rm -f conftest.$ac_objext 12906if { (ac_try="$ac_compile" 12907case "(($ac_try" in 12908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12909 *) ac_try_echo=$ac_try;; 12910esac 12911eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12912$as_echo "$ac_try_echo") >&5 12913 (eval "$ac_compile") 2>conftest.er1 12914 ac_status=$? 12915 grep -v '^ *+' conftest.er1 >conftest.err 12916 rm -f conftest.er1 12917 cat conftest.err >&5 12918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12919 (exit $ac_status); } && { 12920 test -z "$ac_c_werror_flag" || 12921 test ! -s conftest.err 12922 } && test -s conftest.$ac_objext; then 12923 break 12924else 12925 $as_echo "$as_me: failed program was:" >&5 12926sed 's/^/| /' conftest.$ac_ext >&5 12927 12928 12929fi 12930 12931rm -f core conftest.err conftest.$ac_objext 12932 CC="$CC -n32" 12933 rm -f conftest.$ac_objext 12934if { (ac_try="$ac_compile" 12935case "(($ac_try" in 12936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12937 *) ac_try_echo=$ac_try;; 12938esac 12939eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12940$as_echo "$ac_try_echo") >&5 12941 (eval "$ac_compile") 2>conftest.er1 12942 ac_status=$? 12943 grep -v '^ *+' conftest.er1 >conftest.err 12944 rm -f conftest.er1 12945 cat conftest.err >&5 12946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12947 (exit $ac_status); } && { 12948 test -z "$ac_c_werror_flag" || 12949 test ! -s conftest.err 12950 } && test -s conftest.$ac_objext; then 12951 ac_cv_sys_largefile_CC=' -n32'; break 12952else 12953 $as_echo "$as_me: failed program was:" >&5 12954sed 's/^/| /' conftest.$ac_ext >&5 12955 12956 12957fi 12958 12959rm -f core conftest.err conftest.$ac_objext 12960 break 12961 done 12962 CC=$ac_save_CC 12963 rm -f conftest.$ac_ext 12964 fi 12965fi 12966{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 12967$as_echo "$ac_cv_sys_largefile_CC" >&6; } 12968 if test "$ac_cv_sys_largefile_CC" != no; then 12969 CC=$CC$ac_cv_sys_largefile_CC 12970 fi 12971 12972 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 12973$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 12974if test "${ac_cv_sys_file_offset_bits+set}" = set; then 12975 $as_echo_n "(cached) " >&6 12976else 12977 while :; do 12978 cat >conftest.$ac_ext <<_ACEOF 12979/* confdefs.h. */ 12980_ACEOF 12981cat confdefs.h >>conftest.$ac_ext 12982cat >>conftest.$ac_ext <<_ACEOF 12983/* end confdefs.h. */ 12984#include <sys/types.h> 12985 /* Check that off_t can represent 2**63 - 1 correctly. 12986 We can't simply define LARGE_OFF_T to be 9223372036854775807, 12987 since some C++ compilers masquerading as C compilers 12988 incorrectly reject 9223372036854775807. */ 12989#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 12990 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 12991 && LARGE_OFF_T % 2147483647 == 1) 12992 ? 1 : -1]; 12993int 12994main () 12995{ 12996 12997 ; 12998 return 0; 12999} 13000_ACEOF 13001rm -f conftest.$ac_objext 13002if { (ac_try="$ac_compile" 13003case "(($ac_try" in 13004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13005 *) ac_try_echo=$ac_try;; 13006esac 13007eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13008$as_echo "$ac_try_echo") >&5 13009 (eval "$ac_compile") 2>conftest.er1 13010 ac_status=$? 13011 grep -v '^ *+' conftest.er1 >conftest.err 13012 rm -f conftest.er1 13013 cat conftest.err >&5 13014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13015 (exit $ac_status); } && { 13016 test -z "$ac_c_werror_flag" || 13017 test ! -s conftest.err 13018 } && test -s conftest.$ac_objext; then 13019 ac_cv_sys_file_offset_bits=no; break 13020else 13021 $as_echo "$as_me: failed program was:" >&5 13022sed 's/^/| /' conftest.$ac_ext >&5 13023 13024 13025fi 13026 13027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13028 cat >conftest.$ac_ext <<_ACEOF 13029/* confdefs.h. */ 13030_ACEOF 13031cat confdefs.h >>conftest.$ac_ext 13032cat >>conftest.$ac_ext <<_ACEOF 13033/* end confdefs.h. */ 13034#define _FILE_OFFSET_BITS 64 13035#include <sys/types.h> 13036 /* Check that off_t can represent 2**63 - 1 correctly. 13037 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13038 since some C++ compilers masquerading as C compilers 13039 incorrectly reject 9223372036854775807. */ 13040#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13041 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13042 && LARGE_OFF_T % 2147483647 == 1) 13043 ? 1 : -1]; 13044int 13045main () 13046{ 13047 13048 ; 13049 return 0; 13050} 13051_ACEOF 13052rm -f conftest.$ac_objext 13053if { (ac_try="$ac_compile" 13054case "(($ac_try" in 13055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13056 *) ac_try_echo=$ac_try;; 13057esac 13058eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13059$as_echo "$ac_try_echo") >&5 13060 (eval "$ac_compile") 2>conftest.er1 13061 ac_status=$? 13062 grep -v '^ *+' conftest.er1 >conftest.err 13063 rm -f conftest.er1 13064 cat conftest.err >&5 13065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13066 (exit $ac_status); } && { 13067 test -z "$ac_c_werror_flag" || 13068 test ! -s conftest.err 13069 } && test -s conftest.$ac_objext; then 13070 ac_cv_sys_file_offset_bits=64; break 13071else 13072 $as_echo "$as_me: failed program was:" >&5 13073sed 's/^/| /' conftest.$ac_ext >&5 13074 13075 13076fi 13077 13078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13079 ac_cv_sys_file_offset_bits=unknown 13080 break 13081done 13082fi 13083{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 13084$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 13085case $ac_cv_sys_file_offset_bits in #( 13086 no | unknown) ;; 13087 *) 13088cat >>confdefs.h <<_ACEOF 13089#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 13090_ACEOF 13091;; 13092esac 13093rm -rf conftest* 13094 if test $ac_cv_sys_file_offset_bits = unknown; then 13095 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 13096$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 13097if test "${ac_cv_sys_large_files+set}" = set; then 13098 $as_echo_n "(cached) " >&6 13099else 13100 while :; do 13101 cat >conftest.$ac_ext <<_ACEOF 13102/* confdefs.h. */ 13103_ACEOF 13104cat confdefs.h >>conftest.$ac_ext 13105cat >>conftest.$ac_ext <<_ACEOF 13106/* end confdefs.h. */ 13107#include <sys/types.h> 13108 /* Check that off_t can represent 2**63 - 1 correctly. 13109 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13110 since some C++ compilers masquerading as C compilers 13111 incorrectly reject 9223372036854775807. */ 13112#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13113 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13114 && LARGE_OFF_T % 2147483647 == 1) 13115 ? 1 : -1]; 13116int 13117main () 13118{ 13119 13120 ; 13121 return 0; 13122} 13123_ACEOF 13124rm -f conftest.$ac_objext 13125if { (ac_try="$ac_compile" 13126case "(($ac_try" in 13127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13128 *) ac_try_echo=$ac_try;; 13129esac 13130eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13131$as_echo "$ac_try_echo") >&5 13132 (eval "$ac_compile") 2>conftest.er1 13133 ac_status=$? 13134 grep -v '^ *+' conftest.er1 >conftest.err 13135 rm -f conftest.er1 13136 cat conftest.err >&5 13137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13138 (exit $ac_status); } && { 13139 test -z "$ac_c_werror_flag" || 13140 test ! -s conftest.err 13141 } && test -s conftest.$ac_objext; then 13142 ac_cv_sys_large_files=no; break 13143else 13144 $as_echo "$as_me: failed program was:" >&5 13145sed 's/^/| /' conftest.$ac_ext >&5 13146 13147 13148fi 13149 13150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13151 cat >conftest.$ac_ext <<_ACEOF 13152/* confdefs.h. */ 13153_ACEOF 13154cat confdefs.h >>conftest.$ac_ext 13155cat >>conftest.$ac_ext <<_ACEOF 13156/* end confdefs.h. */ 13157#define _LARGE_FILES 1 13158#include <sys/types.h> 13159 /* Check that off_t can represent 2**63 - 1 correctly. 13160 We can't simply define LARGE_OFF_T to be 9223372036854775807, 13161 since some C++ compilers masquerading as C compilers 13162 incorrectly reject 9223372036854775807. */ 13163#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 13164 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 13165 && LARGE_OFF_T % 2147483647 == 1) 13166 ? 1 : -1]; 13167int 13168main () 13169{ 13170 13171 ; 13172 return 0; 13173} 13174_ACEOF 13175rm -f conftest.$ac_objext 13176if { (ac_try="$ac_compile" 13177case "(($ac_try" in 13178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13179 *) ac_try_echo=$ac_try;; 13180esac 13181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13182$as_echo "$ac_try_echo") >&5 13183 (eval "$ac_compile") 2>conftest.er1 13184 ac_status=$? 13185 grep -v '^ *+' conftest.er1 >conftest.err 13186 rm -f conftest.er1 13187 cat conftest.err >&5 13188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13189 (exit $ac_status); } && { 13190 test -z "$ac_c_werror_flag" || 13191 test ! -s conftest.err 13192 } && test -s conftest.$ac_objext; then 13193 ac_cv_sys_large_files=1; break 13194else 13195 $as_echo "$as_me: failed program was:" >&5 13196sed 's/^/| /' conftest.$ac_ext >&5 13197 13198 13199fi 13200 13201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13202 ac_cv_sys_large_files=unknown 13203 break 13204done 13205fi 13206{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 13207$as_echo "$ac_cv_sys_large_files" >&6; } 13208case $ac_cv_sys_large_files in #( 13209 no | unknown) ;; 13210 *) 13211cat >>confdefs.h <<_ACEOF 13212#define _LARGE_FILES $ac_cv_sys_large_files 13213_ACEOF 13214;; 13215esac 13216rm -rf conftest* 13217 fi 13218fi 13219 13220 13221 13222for ac_prog in cpp 13223do 13224 # Extract the first word of "$ac_prog", so it can be a program name with args. 13225set dummy $ac_prog; ac_word=$2 13226{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13227$as_echo_n "checking for $ac_word... " >&6; } 13228if test "${ac_cv_path_RAWCPP+set}" = set; then 13229 $as_echo_n "(cached) " >&6 13230else 13231 case $RAWCPP in 13232 [\\/]* | ?:[\\/]*) 13233 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path. 13234 ;; 13235 *) 13236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13237as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib" 13238for as_dir in $as_dummy 13239do 13240 IFS=$as_save_IFS 13241 test -z "$as_dir" && as_dir=. 13242 for ac_exec_ext in '' $ac_executable_extensions; do 13243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13244 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext" 13245 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13246 break 2 13247 fi 13248done 13249done 13250IFS=$as_save_IFS 13251 13252 ;; 13253esac 13254fi 13255RAWCPP=$ac_cv_path_RAWCPP 13256if test -n "$RAWCPP"; then 13257 { $as_echo "$as_me:$LINENO: result: $RAWCPP" >&5 13258$as_echo "$RAWCPP" >&6; } 13259else 13260 { $as_echo "$as_me:$LINENO: result: no" >&5 13261$as_echo "no" >&6; } 13262fi 13263 13264 13265 test -n "$RAWCPP" && break 13266done 13267test -n "$RAWCPP" || RAWCPP="${CPP}" 13268 13269 13270# Check for flag to avoid builtin definitions - assumes unix is predefined, 13271# which is not the best choice for supporting other OS'es, but covers most 13272# of the ones we need for now. 13273{ $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5 13274$as_echo_n "checking if $RAWCPP requires -undef... " >&6; } 13275cat >conftest.$ac_ext <<_ACEOF 13276Does cpp redefine unix ? 13277_ACEOF 13278if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 13279 { $as_echo "$as_me:$LINENO: result: no" >&5 13280$as_echo "no" >&6; } 13281else 13282 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 13283 RAWCPPFLAGS=-undef 13284 { $as_echo "$as_me:$LINENO: result: yes" >&5 13285$as_echo "yes" >&6; } 13286 # under Cygwin unix is still defined even with -undef 13287 elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 13288 RAWCPPFLAGS="-undef -ansi" 13289 { $as_echo "$as_me:$LINENO: result: yes, with -ansi" >&5 13290$as_echo "yes, with -ansi" >&6; } 13291 else 13292 { { $as_echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&5 13293$as_echo "$as_me: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&2;} 13294 { (exit 1); exit 1; }; } 13295 fi 13296fi 13297rm -f conftest.$ac_ext 13298 13299{ $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5 13300$as_echo_n "checking if $RAWCPP requires -traditional... " >&6; } 13301cat >conftest.$ac_ext <<_ACEOF 13302Does cpp preserve "whitespace"? 13303_ACEOF 13304if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 13305 { $as_echo "$as_me:$LINENO: result: no" >&5 13306$as_echo "no" >&6; } 13307else 13308 if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 13309 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" 13310 { $as_echo "$as_me:$LINENO: result: yes" >&5 13311$as_echo "yes" >&6; } 13312 else 13313 { { $as_echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&5 13314$as_echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&2;} 13315 { (exit 1); exit 1; }; } 13316 fi 13317fi 13318rm -f conftest.$ac_ext 13319 13320 13321# Extract the first word of "sed", so it can be a program name with args. 13322set dummy sed; ac_word=$2 13323{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13324$as_echo_n "checking for $ac_word... " >&6; } 13325if test "${ac_cv_path_SED+set}" = set; then 13326 $as_echo_n "(cached) " >&6 13327else 13328 case $SED in 13329 [\\/]* | ?:[\\/]*) 13330 ac_cv_path_SED="$SED" # Let the user override the test with a path. 13331 ;; 13332 *) 13333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13334for as_dir in $PATH 13335do 13336 IFS=$as_save_IFS 13337 test -z "$as_dir" && as_dir=. 13338 for ac_exec_ext in '' $ac_executable_extensions; do 13339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13340 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 13341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13342 break 2 13343 fi 13344done 13345done 13346IFS=$as_save_IFS 13347 13348 ;; 13349esac 13350fi 13351SED=$ac_cv_path_SED 13352if test -n "$SED"; then 13353 { $as_echo "$as_me:$LINENO: result: $SED" >&5 13354$as_echo "$SED" >&6; } 13355else 13356 { $as_echo "$as_me:$LINENO: result: no" >&5 13357$as_echo "no" >&6; } 13358fi 13359 13360 13361 13362 13363# Check whether --with-dtrace was given. 13364if test "${with_dtrace+set}" = set; then 13365 withval=$with_dtrace; WDTRACE=$withval 13366else 13367 WDTRACE=auto 13368fi 13369 13370if test "x$WDTRACE" = xauto; then 13371 case $host_os in 13372 darwin*) WDTRACE="no" ;; 13373 esac 13374fi 13375if test "x$WDTRACE" = "xyes" -o "x$WDTRACE" = "xauto" ; then 13376 # Extract the first word of "dtrace", so it can be a program name with args. 13377set dummy dtrace; ac_word=$2 13378{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 13379$as_echo_n "checking for $ac_word... " >&6; } 13380if test "${ac_cv_path_DTRACE+set}" = set; then 13381 $as_echo_n "(cached) " >&6 13382else 13383 case $DTRACE in 13384 [\\/]* | ?:[\\/]*) 13385 ac_cv_path_DTRACE="$DTRACE" # Let the user override the test with a path. 13386 ;; 13387 *) 13388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13389as_dummy="$PATH:/usr/sbin" 13390for as_dir in $as_dummy 13391do 13392 IFS=$as_save_IFS 13393 test -z "$as_dir" && as_dir=. 13394 for ac_exec_ext in '' $ac_executable_extensions; do 13395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 13396 ac_cv_path_DTRACE="$as_dir/$ac_word$ac_exec_ext" 13397 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 13398 break 2 13399 fi 13400done 13401done 13402IFS=$as_save_IFS 13403 13404 test -z "$ac_cv_path_DTRACE" && ac_cv_path_DTRACE="not_found" 13405 ;; 13406esac 13407fi 13408DTRACE=$ac_cv_path_DTRACE 13409if test -n "$DTRACE"; then 13410 { $as_echo "$as_me:$LINENO: result: $DTRACE" >&5 13411$as_echo "$DTRACE" >&6; } 13412else 13413 { $as_echo "$as_me:$LINENO: result: no" >&5 13414$as_echo "no" >&6; } 13415fi 13416 13417 13418 if test "x$DTRACE" = "xnot_found" ; then 13419 if test "x$WDTRACE" = "xyes" ; then 13420 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 13421$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13422{ { $as_echo "$as_me:$LINENO: error: dtrace requested but not found 13423See \`config.log' for more details." >&5 13424$as_echo "$as_me: error: dtrace requested but not found 13425See \`config.log' for more details." >&2;} 13426 { (exit 1); exit 1; }; }; } 13427 fi 13428 WDTRACE="no" 13429 else 13430 if test "${ac_cv_header_sys_sdt_h+set}" = set; then 13431 { $as_echo "$as_me:$LINENO: checking for sys/sdt.h" >&5 13432$as_echo_n "checking for sys/sdt.h... " >&6; } 13433if test "${ac_cv_header_sys_sdt_h+set}" = set; then 13434 $as_echo_n "(cached) " >&6 13435fi 13436{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sdt_h" >&5 13437$as_echo "$ac_cv_header_sys_sdt_h" >&6; } 13438else 13439 # Is the header compilable? 13440{ $as_echo "$as_me:$LINENO: checking sys/sdt.h usability" >&5 13441$as_echo_n "checking sys/sdt.h usability... " >&6; } 13442cat >conftest.$ac_ext <<_ACEOF 13443/* confdefs.h. */ 13444_ACEOF 13445cat confdefs.h >>conftest.$ac_ext 13446cat >>conftest.$ac_ext <<_ACEOF 13447/* end confdefs.h. */ 13448$ac_includes_default 13449#include <sys/sdt.h> 13450_ACEOF 13451rm -f conftest.$ac_objext 13452if { (ac_try="$ac_compile" 13453case "(($ac_try" in 13454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13455 *) ac_try_echo=$ac_try;; 13456esac 13457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13458$as_echo "$ac_try_echo") >&5 13459 (eval "$ac_compile") 2>conftest.er1 13460 ac_status=$? 13461 grep -v '^ *+' conftest.er1 >conftest.err 13462 rm -f conftest.er1 13463 cat conftest.err >&5 13464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13465 (exit $ac_status); } && { 13466 test -z "$ac_c_werror_flag" || 13467 test ! -s conftest.err 13468 } && test -s conftest.$ac_objext; then 13469 ac_header_compiler=yes 13470else 13471 $as_echo "$as_me: failed program was:" >&5 13472sed 's/^/| /' conftest.$ac_ext >&5 13473 13474 ac_header_compiler=no 13475fi 13476 13477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13478{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13479$as_echo "$ac_header_compiler" >&6; } 13480 13481# Is the header present? 13482{ $as_echo "$as_me:$LINENO: checking sys/sdt.h presence" >&5 13483$as_echo_n "checking sys/sdt.h presence... " >&6; } 13484cat >conftest.$ac_ext <<_ACEOF 13485/* confdefs.h. */ 13486_ACEOF 13487cat confdefs.h >>conftest.$ac_ext 13488cat >>conftest.$ac_ext <<_ACEOF 13489/* end confdefs.h. */ 13490#include <sys/sdt.h> 13491_ACEOF 13492if { (ac_try="$ac_cpp conftest.$ac_ext" 13493case "(($ac_try" in 13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13495 *) ac_try_echo=$ac_try;; 13496esac 13497eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13498$as_echo "$ac_try_echo") >&5 13499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13500 ac_status=$? 13501 grep -v '^ *+' conftest.er1 >conftest.err 13502 rm -f conftest.er1 13503 cat conftest.err >&5 13504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13505 (exit $ac_status); } >/dev/null && { 13506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13507 test ! -s conftest.err 13508 }; then 13509 ac_header_preproc=yes 13510else 13511 $as_echo "$as_me: failed program was:" >&5 13512sed 's/^/| /' conftest.$ac_ext >&5 13513 13514 ac_header_preproc=no 13515fi 13516 13517rm -f conftest.err conftest.$ac_ext 13518{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13519$as_echo "$ac_header_preproc" >&6; } 13520 13521# So? What about this header? 13522case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13523 yes:no: ) 13524 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: accepted by the compiler, rejected by the preprocessor!" >&5 13525$as_echo "$as_me: WARNING: sys/sdt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 13526 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: proceeding with the compiler's result" >&5 13527$as_echo "$as_me: WARNING: sys/sdt.h: proceeding with the compiler's result" >&2;} 13528 ac_header_preproc=yes 13529 ;; 13530 no:yes:* ) 13531 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: present but cannot be compiled" >&5 13532$as_echo "$as_me: WARNING: sys/sdt.h: present but cannot be compiled" >&2;} 13533 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: check for missing prerequisite headers?" >&5 13534$as_echo "$as_me: WARNING: sys/sdt.h: check for missing prerequisite headers?" >&2;} 13535 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: see the Autoconf documentation" >&5 13536$as_echo "$as_me: WARNING: sys/sdt.h: see the Autoconf documentation" >&2;} 13537 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: section \"Present But Cannot Be Compiled\"" >&5 13538$as_echo "$as_me: WARNING: sys/sdt.h: section \"Present But Cannot Be Compiled\"" >&2;} 13539 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: proceeding with the preprocessor's result" >&5 13540$as_echo "$as_me: WARNING: sys/sdt.h: proceeding with the preprocessor's result" >&2;} 13541 { $as_echo "$as_me:$LINENO: WARNING: sys/sdt.h: in the future, the compiler will take precedence" >&5 13542$as_echo "$as_me: WARNING: sys/sdt.h: in the future, the compiler will take precedence" >&2;} 13543 ( cat <<\_ASBOX 13544## ---------------------------------------------------------------------- ## 13545## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 13546## ---------------------------------------------------------------------- ## 13547_ASBOX 13548 ) | sed "s/^/$as_me: WARNING: /" >&2 13549 ;; 13550esac 13551{ $as_echo "$as_me:$LINENO: checking for sys/sdt.h" >&5 13552$as_echo_n "checking for sys/sdt.h... " >&6; } 13553if test "${ac_cv_header_sys_sdt_h+set}" = set; then 13554 $as_echo_n "(cached) " >&6 13555else 13556 ac_cv_header_sys_sdt_h=$ac_header_preproc 13557fi 13558{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_sdt_h" >&5 13559$as_echo "$ac_cv_header_sys_sdt_h" >&6; } 13560 13561fi 13562if test "x$ac_cv_header_sys_sdt_h" = x""yes; then 13563 HAS_SDT_H="yes" 13564else 13565 HAS_SDT_H="no" 13566fi 13567 13568 13569 if test "x$WDTRACE" = "xauto" -a "x$HAS_SDT_H" = "xno" ; then 13570 WDTRACE="no" 13571 fi 13572 fi 13573fi 13574if test "x$WDTRACE" != "xno" ; then 13575 13576cat >>confdefs.h <<\_ACEOF 13577#define XSERVER_DTRACE 1 13578_ACEOF 13579 13580fi 13581 if test "x$WDTRACE" != "xno"; then 13582 XSERVER_DTRACE_TRUE= 13583 XSERVER_DTRACE_FALSE='#' 13584else 13585 XSERVER_DTRACE_TRUE='#' 13586 XSERVER_DTRACE_FALSE= 13587fi 13588 13589 13590 13591 13592 13593 13594 13595ac_header_dirent=no 13596for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 13597 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 13598{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 13599$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } 13600if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13601 $as_echo_n "(cached) " >&6 13602else 13603 cat >conftest.$ac_ext <<_ACEOF 13604/* confdefs.h. */ 13605_ACEOF 13606cat confdefs.h >>conftest.$ac_ext 13607cat >>conftest.$ac_ext <<_ACEOF 13608/* end confdefs.h. */ 13609#include <sys/types.h> 13610#include <$ac_hdr> 13611 13612int 13613main () 13614{ 13615if ((DIR *) 0) 13616return 0; 13617 ; 13618 return 0; 13619} 13620_ACEOF 13621rm -f conftest.$ac_objext 13622if { (ac_try="$ac_compile" 13623case "(($ac_try" in 13624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13625 *) ac_try_echo=$ac_try;; 13626esac 13627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13628$as_echo "$ac_try_echo") >&5 13629 (eval "$ac_compile") 2>conftest.er1 13630 ac_status=$? 13631 grep -v '^ *+' conftest.er1 >conftest.err 13632 rm -f conftest.er1 13633 cat conftest.err >&5 13634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13635 (exit $ac_status); } && { 13636 test -z "$ac_c_werror_flag" || 13637 test ! -s conftest.err 13638 } && test -s conftest.$ac_objext; then 13639 eval "$as_ac_Header=yes" 13640else 13641 $as_echo "$as_me: failed program was:" >&5 13642sed 's/^/| /' conftest.$ac_ext >&5 13643 13644 eval "$as_ac_Header=no" 13645fi 13646 13647rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13648fi 13649ac_res=`eval 'as_val=${'$as_ac_Header'} 13650 $as_echo "$as_val"'` 13651 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13652$as_echo "$ac_res" >&6; } 13653as_val=`eval 'as_val=${'$as_ac_Header'} 13654 $as_echo "$as_val"'` 13655 if test "x$as_val" = x""yes; then 13656 cat >>confdefs.h <<_ACEOF 13657#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 13658_ACEOF 13659 13660ac_header_dirent=$ac_hdr; break 13661fi 13662 13663done 13664# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 13665if test $ac_header_dirent = dirent.h; then 13666 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 13667$as_echo_n "checking for library containing opendir... " >&6; } 13668if test "${ac_cv_search_opendir+set}" = set; then 13669 $as_echo_n "(cached) " >&6 13670else 13671 ac_func_search_save_LIBS=$LIBS 13672cat >conftest.$ac_ext <<_ACEOF 13673/* confdefs.h. */ 13674_ACEOF 13675cat confdefs.h >>conftest.$ac_ext 13676cat >>conftest.$ac_ext <<_ACEOF 13677/* end confdefs.h. */ 13678 13679/* Override any GCC internal prototype to avoid an error. 13680 Use char because int might match the return type of a GCC 13681 builtin and then its argument prototype would still apply. */ 13682#ifdef __cplusplus 13683extern "C" 13684#endif 13685char opendir (); 13686int 13687main () 13688{ 13689return opendir (); 13690 ; 13691 return 0; 13692} 13693_ACEOF 13694for ac_lib in '' dir; do 13695 if test -z "$ac_lib"; then 13696 ac_res="none required" 13697 else 13698 ac_res=-l$ac_lib 13699 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13700 fi 13701 rm -f conftest.$ac_objext conftest$ac_exeext 13702if { (ac_try="$ac_link" 13703case "(($ac_try" in 13704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13705 *) ac_try_echo=$ac_try;; 13706esac 13707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13708$as_echo "$ac_try_echo") >&5 13709 (eval "$ac_link") 2>conftest.er1 13710 ac_status=$? 13711 grep -v '^ *+' conftest.er1 >conftest.err 13712 rm -f conftest.er1 13713 cat conftest.err >&5 13714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13715 (exit $ac_status); } && { 13716 test -z "$ac_c_werror_flag" || 13717 test ! -s conftest.err 13718 } && test -s conftest$ac_exeext && { 13719 test "$cross_compiling" = yes || 13720 $as_test_x conftest$ac_exeext 13721 }; then 13722 ac_cv_search_opendir=$ac_res 13723else 13724 $as_echo "$as_me: failed program was:" >&5 13725sed 's/^/| /' conftest.$ac_ext >&5 13726 13727 13728fi 13729 13730rm -rf conftest.dSYM 13731rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13732 conftest$ac_exeext 13733 if test "${ac_cv_search_opendir+set}" = set; then 13734 break 13735fi 13736done 13737if test "${ac_cv_search_opendir+set}" = set; then 13738 : 13739else 13740 ac_cv_search_opendir=no 13741fi 13742rm conftest.$ac_ext 13743LIBS=$ac_func_search_save_LIBS 13744fi 13745{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 13746$as_echo "$ac_cv_search_opendir" >&6; } 13747ac_res=$ac_cv_search_opendir 13748if test "$ac_res" != no; then 13749 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13750 13751fi 13752 13753else 13754 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5 13755$as_echo_n "checking for library containing opendir... " >&6; } 13756if test "${ac_cv_search_opendir+set}" = set; then 13757 $as_echo_n "(cached) " >&6 13758else 13759 ac_func_search_save_LIBS=$LIBS 13760cat >conftest.$ac_ext <<_ACEOF 13761/* confdefs.h. */ 13762_ACEOF 13763cat confdefs.h >>conftest.$ac_ext 13764cat >>conftest.$ac_ext <<_ACEOF 13765/* end confdefs.h. */ 13766 13767/* Override any GCC internal prototype to avoid an error. 13768 Use char because int might match the return type of a GCC 13769 builtin and then its argument prototype would still apply. */ 13770#ifdef __cplusplus 13771extern "C" 13772#endif 13773char opendir (); 13774int 13775main () 13776{ 13777return opendir (); 13778 ; 13779 return 0; 13780} 13781_ACEOF 13782for ac_lib in '' x; do 13783 if test -z "$ac_lib"; then 13784 ac_res="none required" 13785 else 13786 ac_res=-l$ac_lib 13787 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 13788 fi 13789 rm -f conftest.$ac_objext conftest$ac_exeext 13790if { (ac_try="$ac_link" 13791case "(($ac_try" in 13792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13793 *) ac_try_echo=$ac_try;; 13794esac 13795eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13796$as_echo "$ac_try_echo") >&5 13797 (eval "$ac_link") 2>conftest.er1 13798 ac_status=$? 13799 grep -v '^ *+' conftest.er1 >conftest.err 13800 rm -f conftest.er1 13801 cat conftest.err >&5 13802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13803 (exit $ac_status); } && { 13804 test -z "$ac_c_werror_flag" || 13805 test ! -s conftest.err 13806 } && test -s conftest$ac_exeext && { 13807 test "$cross_compiling" = yes || 13808 $as_test_x conftest$ac_exeext 13809 }; then 13810 ac_cv_search_opendir=$ac_res 13811else 13812 $as_echo "$as_me: failed program was:" >&5 13813sed 's/^/| /' conftest.$ac_ext >&5 13814 13815 13816fi 13817 13818rm -rf conftest.dSYM 13819rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13820 conftest$ac_exeext 13821 if test "${ac_cv_search_opendir+set}" = set; then 13822 break 13823fi 13824done 13825if test "${ac_cv_search_opendir+set}" = set; then 13826 : 13827else 13828 ac_cv_search_opendir=no 13829fi 13830rm conftest.$ac_ext 13831LIBS=$ac_func_search_save_LIBS 13832fi 13833{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 13834$as_echo "$ac_cv_search_opendir" >&6; } 13835ac_res=$ac_cv_search_opendir 13836if test "$ac_res" != no; then 13837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13838 13839fi 13840 13841fi 13842 13843{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 13844$as_echo_n "checking for ANSI C header files... " >&6; } 13845if test "${ac_cv_header_stdc+set}" = set; then 13846 $as_echo_n "(cached) " >&6 13847else 13848 cat >conftest.$ac_ext <<_ACEOF 13849/* confdefs.h. */ 13850_ACEOF 13851cat confdefs.h >>conftest.$ac_ext 13852cat >>conftest.$ac_ext <<_ACEOF 13853/* end confdefs.h. */ 13854#include <stdlib.h> 13855#include <stdarg.h> 13856#include <string.h> 13857#include <float.h> 13858 13859int 13860main () 13861{ 13862 13863 ; 13864 return 0; 13865} 13866_ACEOF 13867rm -f conftest.$ac_objext 13868if { (ac_try="$ac_compile" 13869case "(($ac_try" in 13870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13871 *) ac_try_echo=$ac_try;; 13872esac 13873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13874$as_echo "$ac_try_echo") >&5 13875 (eval "$ac_compile") 2>conftest.er1 13876 ac_status=$? 13877 grep -v '^ *+' conftest.er1 >conftest.err 13878 rm -f conftest.er1 13879 cat conftest.err >&5 13880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13881 (exit $ac_status); } && { 13882 test -z "$ac_c_werror_flag" || 13883 test ! -s conftest.err 13884 } && test -s conftest.$ac_objext; then 13885 ac_cv_header_stdc=yes 13886else 13887 $as_echo "$as_me: failed program was:" >&5 13888sed 's/^/| /' conftest.$ac_ext >&5 13889 13890 ac_cv_header_stdc=no 13891fi 13892 13893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13894 13895if test $ac_cv_header_stdc = yes; then 13896 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13897 cat >conftest.$ac_ext <<_ACEOF 13898/* confdefs.h. */ 13899_ACEOF 13900cat confdefs.h >>conftest.$ac_ext 13901cat >>conftest.$ac_ext <<_ACEOF 13902/* end confdefs.h. */ 13903#include <string.h> 13904 13905_ACEOF 13906if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13907 $EGREP "memchr" >/dev/null 2>&1; then 13908 : 13909else 13910 ac_cv_header_stdc=no 13911fi 13912rm -f conftest* 13913 13914fi 13915 13916if test $ac_cv_header_stdc = yes; then 13917 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13918 cat >conftest.$ac_ext <<_ACEOF 13919/* confdefs.h. */ 13920_ACEOF 13921cat confdefs.h >>conftest.$ac_ext 13922cat >>conftest.$ac_ext <<_ACEOF 13923/* end confdefs.h. */ 13924#include <stdlib.h> 13925 13926_ACEOF 13927if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13928 $EGREP "free" >/dev/null 2>&1; then 13929 : 13930else 13931 ac_cv_header_stdc=no 13932fi 13933rm -f conftest* 13934 13935fi 13936 13937if test $ac_cv_header_stdc = yes; then 13938 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13939 if test "$cross_compiling" = yes; then 13940 : 13941else 13942 cat >conftest.$ac_ext <<_ACEOF 13943/* confdefs.h. */ 13944_ACEOF 13945cat confdefs.h >>conftest.$ac_ext 13946cat >>conftest.$ac_ext <<_ACEOF 13947/* end confdefs.h. */ 13948#include <ctype.h> 13949#include <stdlib.h> 13950#if ((' ' & 0x0FF) == 0x020) 13951# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13952# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13953#else 13954# define ISLOWER(c) \ 13955 (('a' <= (c) && (c) <= 'i') \ 13956 || ('j' <= (c) && (c) <= 'r') \ 13957 || ('s' <= (c) && (c) <= 'z')) 13958# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13959#endif 13960 13961#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13962int 13963main () 13964{ 13965 int i; 13966 for (i = 0; i < 256; i++) 13967 if (XOR (islower (i), ISLOWER (i)) 13968 || toupper (i) != TOUPPER (i)) 13969 return 2; 13970 return 0; 13971} 13972_ACEOF 13973rm -f conftest$ac_exeext 13974if { (ac_try="$ac_link" 13975case "(($ac_try" in 13976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13977 *) ac_try_echo=$ac_try;; 13978esac 13979eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13980$as_echo "$ac_try_echo") >&5 13981 (eval "$ac_link") 2>&5 13982 ac_status=$? 13983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13984 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13985 { (case "(($ac_try" in 13986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13987 *) ac_try_echo=$ac_try;; 13988esac 13989eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13990$as_echo "$ac_try_echo") >&5 13991 (eval "$ac_try") 2>&5 13992 ac_status=$? 13993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13994 (exit $ac_status); }; }; then 13995 : 13996else 13997 $as_echo "$as_me: program exited with status $ac_status" >&5 13998$as_echo "$as_me: failed program was:" >&5 13999sed 's/^/| /' conftest.$ac_ext >&5 14000 14001( exit $ac_status ) 14002ac_cv_header_stdc=no 14003fi 14004rm -rf conftest.dSYM 14005rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14006fi 14007 14008 14009fi 14010fi 14011{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 14012$as_echo "$ac_cv_header_stdc" >&6; } 14013if test $ac_cv_header_stdc = yes; then 14014 14015cat >>confdefs.h <<\_ACEOF 14016#define STDC_HEADERS 1 14017_ACEOF 14018 14019fi 14020 14021 14022 14023 14024 14025for ac_header in fcntl.h stdlib.h string.h unistd.h 14026do 14027as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 14028if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14029 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14030$as_echo_n "checking for $ac_header... " >&6; } 14031if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14032 $as_echo_n "(cached) " >&6 14033fi 14034ac_res=`eval 'as_val=${'$as_ac_Header'} 14035 $as_echo "$as_val"'` 14036 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14037$as_echo "$ac_res" >&6; } 14038else 14039 # Is the header compilable? 14040{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 14041$as_echo_n "checking $ac_header usability... " >&6; } 14042cat >conftest.$ac_ext <<_ACEOF 14043/* confdefs.h. */ 14044_ACEOF 14045cat confdefs.h >>conftest.$ac_ext 14046cat >>conftest.$ac_ext <<_ACEOF 14047/* end confdefs.h. */ 14048$ac_includes_default 14049#include <$ac_header> 14050_ACEOF 14051rm -f conftest.$ac_objext 14052if { (ac_try="$ac_compile" 14053case "(($ac_try" in 14054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14055 *) ac_try_echo=$ac_try;; 14056esac 14057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14058$as_echo "$ac_try_echo") >&5 14059 (eval "$ac_compile") 2>conftest.er1 14060 ac_status=$? 14061 grep -v '^ *+' conftest.er1 >conftest.err 14062 rm -f conftest.er1 14063 cat conftest.err >&5 14064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14065 (exit $ac_status); } && { 14066 test -z "$ac_c_werror_flag" || 14067 test ! -s conftest.err 14068 } && test -s conftest.$ac_objext; then 14069 ac_header_compiler=yes 14070else 14071 $as_echo "$as_me: failed program was:" >&5 14072sed 's/^/| /' conftest.$ac_ext >&5 14073 14074 ac_header_compiler=no 14075fi 14076 14077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14078{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 14079$as_echo "$ac_header_compiler" >&6; } 14080 14081# Is the header present? 14082{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 14083$as_echo_n "checking $ac_header presence... " >&6; } 14084cat >conftest.$ac_ext <<_ACEOF 14085/* confdefs.h. */ 14086_ACEOF 14087cat confdefs.h >>conftest.$ac_ext 14088cat >>conftest.$ac_ext <<_ACEOF 14089/* end confdefs.h. */ 14090#include <$ac_header> 14091_ACEOF 14092if { (ac_try="$ac_cpp conftest.$ac_ext" 14093case "(($ac_try" in 14094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14095 *) ac_try_echo=$ac_try;; 14096esac 14097eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14098$as_echo "$ac_try_echo") >&5 14099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 14100 ac_status=$? 14101 grep -v '^ *+' conftest.er1 >conftest.err 14102 rm -f conftest.er1 14103 cat conftest.err >&5 14104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14105 (exit $ac_status); } >/dev/null && { 14106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 14107 test ! -s conftest.err 14108 }; then 14109 ac_header_preproc=yes 14110else 14111 $as_echo "$as_me: failed program was:" >&5 14112sed 's/^/| /' conftest.$ac_ext >&5 14113 14114 ac_header_preproc=no 14115fi 14116 14117rm -f conftest.err conftest.$ac_ext 14118{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 14119$as_echo "$ac_header_preproc" >&6; } 14120 14121# So? What about this header? 14122case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 14123 yes:no: ) 14124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 14125$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 14126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 14127$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 14128 ac_header_preproc=yes 14129 ;; 14130 no:yes:* ) 14131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 14132$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 14133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 14134$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 14135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 14136$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 14137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 14138$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 14139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 14140$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 14141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 14142$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 14143 ( cat <<\_ASBOX 14144## ---------------------------------------------------------------------- ## 14145## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 14146## ---------------------------------------------------------------------- ## 14147_ASBOX 14148 ) | sed "s/^/$as_me: WARNING: /" >&2 14149 ;; 14150esac 14151{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 14152$as_echo_n "checking for $ac_header... " >&6; } 14153if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 14154 $as_echo_n "(cached) " >&6 14155else 14156 eval "$as_ac_Header=\$ac_header_preproc" 14157fi 14158ac_res=`eval 'as_val=${'$as_ac_Header'} 14159 $as_echo "$as_val"'` 14160 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 14161$as_echo "$ac_res" >&6; } 14162 14163fi 14164as_val=`eval 'as_val=${'$as_ac_Header'} 14165 $as_echo "$as_val"'` 14166 if test "x$as_val" = x""yes; then 14167 cat >>confdefs.h <<_ACEOF 14168#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 14169_ACEOF 14170 14171fi 14172 14173done 14174 14175 14176{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 14177$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 14178if test "${ac_cv_c_const+set}" = set; then 14179 $as_echo_n "(cached) " >&6 14180else 14181 cat >conftest.$ac_ext <<_ACEOF 14182/* confdefs.h. */ 14183_ACEOF 14184cat confdefs.h >>conftest.$ac_ext 14185cat >>conftest.$ac_ext <<_ACEOF 14186/* end confdefs.h. */ 14187 14188int 14189main () 14190{ 14191/* FIXME: Include the comments suggested by Paul. */ 14192#ifndef __cplusplus 14193 /* Ultrix mips cc rejects this. */ 14194 typedef int charset[2]; 14195 const charset cs; 14196 /* SunOS 4.1.1 cc rejects this. */ 14197 char const *const *pcpcc; 14198 char **ppc; 14199 /* NEC SVR4.0.2 mips cc rejects this. */ 14200 struct point {int x, y;}; 14201 static struct point const zero = {0,0}; 14202 /* AIX XL C 1.02.0.0 rejects this. 14203 It does not let you subtract one const X* pointer from another in 14204 an arm of an if-expression whose if-part is not a constant 14205 expression */ 14206 const char *g = "string"; 14207 pcpcc = &g + (g ? g-g : 0); 14208 /* HPUX 7.0 cc rejects these. */ 14209 ++pcpcc; 14210 ppc = (char**) pcpcc; 14211 pcpcc = (char const *const *) ppc; 14212 { /* SCO 3.2v4 cc rejects this. */ 14213 char *t; 14214 char const *s = 0 ? (char *) 0 : (char const *) 0; 14215 14216 *t++ = 0; 14217 if (s) return 0; 14218 } 14219 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 14220 int x[] = {25, 17}; 14221 const int *foo = &x[0]; 14222 ++foo; 14223 } 14224 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 14225 typedef const int *iptr; 14226 iptr p = 0; 14227 ++p; 14228 } 14229 { /* AIX XL C 1.02.0.0 rejects this saying 14230 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 14231 struct s { int j; const int *ap[3]; }; 14232 struct s *b; b->j = 5; 14233 } 14234 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 14235 const int foo = 10; 14236 if (!foo) return 0; 14237 } 14238 return !cs[0] && !zero.x; 14239#endif 14240 14241 ; 14242 return 0; 14243} 14244_ACEOF 14245rm -f conftest.$ac_objext 14246if { (ac_try="$ac_compile" 14247case "(($ac_try" in 14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14249 *) ac_try_echo=$ac_try;; 14250esac 14251eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14252$as_echo "$ac_try_echo") >&5 14253 (eval "$ac_compile") 2>conftest.er1 14254 ac_status=$? 14255 grep -v '^ *+' conftest.er1 >conftest.err 14256 rm -f conftest.er1 14257 cat conftest.err >&5 14258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14259 (exit $ac_status); } && { 14260 test -z "$ac_c_werror_flag" || 14261 test ! -s conftest.err 14262 } && test -s conftest.$ac_objext; then 14263 ac_cv_c_const=yes 14264else 14265 $as_echo "$as_me: failed program was:" >&5 14266sed 's/^/| /' conftest.$ac_ext >&5 14267 14268 ac_cv_c_const=no 14269fi 14270 14271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14272fi 14273{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 14274$as_echo "$ac_cv_c_const" >&6; } 14275if test $ac_cv_c_const = no; then 14276 14277cat >>confdefs.h <<\_ACEOF 14278#define const /**/ 14279_ACEOF 14280 14281fi 14282 14283 14284 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 14285$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 14286if test "${ac_cv_c_bigendian+set}" = set; then 14287 $as_echo_n "(cached) " >&6 14288else 14289 ac_cv_c_bigendian=unknown 14290 # See if we're dealing with a universal compiler. 14291 cat >conftest.$ac_ext <<_ACEOF 14292/* confdefs.h. */ 14293_ACEOF 14294cat confdefs.h >>conftest.$ac_ext 14295cat >>conftest.$ac_ext <<_ACEOF 14296/* end confdefs.h. */ 14297#ifndef __APPLE_CC__ 14298 not a universal capable compiler 14299 #endif 14300 typedef int dummy; 14301 14302_ACEOF 14303rm -f conftest.$ac_objext 14304if { (ac_try="$ac_compile" 14305case "(($ac_try" in 14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14307 *) ac_try_echo=$ac_try;; 14308esac 14309eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14310$as_echo "$ac_try_echo") >&5 14311 (eval "$ac_compile") 2>conftest.er1 14312 ac_status=$? 14313 grep -v '^ *+' conftest.er1 >conftest.err 14314 rm -f conftest.er1 14315 cat conftest.err >&5 14316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14317 (exit $ac_status); } && { 14318 test -z "$ac_c_werror_flag" || 14319 test ! -s conftest.err 14320 } && test -s conftest.$ac_objext; then 14321 14322 # Check for potential -arch flags. It is not universal unless 14323 # there are some -arch flags. Note that *ppc* also matches 14324 # ppc64. This check is also rather less than ideal. 14325 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 14326 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 14327 esac 14328else 14329 $as_echo "$as_me: failed program was:" >&5 14330sed 's/^/| /' conftest.$ac_ext >&5 14331 14332 14333fi 14334 14335rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14336 if test $ac_cv_c_bigendian = unknown; then 14337 # See if sys/param.h defines the BYTE_ORDER macro. 14338 cat >conftest.$ac_ext <<_ACEOF 14339/* confdefs.h. */ 14340_ACEOF 14341cat confdefs.h >>conftest.$ac_ext 14342cat >>conftest.$ac_ext <<_ACEOF 14343/* end confdefs.h. */ 14344#include <sys/types.h> 14345 #include <sys/param.h> 14346 14347int 14348main () 14349{ 14350#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 14351 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 14352 && LITTLE_ENDIAN) 14353 bogus endian macros 14354 #endif 14355 14356 ; 14357 return 0; 14358} 14359_ACEOF 14360rm -f conftest.$ac_objext 14361if { (ac_try="$ac_compile" 14362case "(($ac_try" in 14363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14364 *) ac_try_echo=$ac_try;; 14365esac 14366eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14367$as_echo "$ac_try_echo") >&5 14368 (eval "$ac_compile") 2>conftest.er1 14369 ac_status=$? 14370 grep -v '^ *+' conftest.er1 >conftest.err 14371 rm -f conftest.er1 14372 cat conftest.err >&5 14373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14374 (exit $ac_status); } && { 14375 test -z "$ac_c_werror_flag" || 14376 test ! -s conftest.err 14377 } && test -s conftest.$ac_objext; then 14378 # It does; now see whether it defined to BIG_ENDIAN or not. 14379 cat >conftest.$ac_ext <<_ACEOF 14380/* confdefs.h. */ 14381_ACEOF 14382cat confdefs.h >>conftest.$ac_ext 14383cat >>conftest.$ac_ext <<_ACEOF 14384/* end confdefs.h. */ 14385#include <sys/types.h> 14386 #include <sys/param.h> 14387 14388int 14389main () 14390{ 14391#if BYTE_ORDER != BIG_ENDIAN 14392 not big endian 14393 #endif 14394 14395 ; 14396 return 0; 14397} 14398_ACEOF 14399rm -f conftest.$ac_objext 14400if { (ac_try="$ac_compile" 14401case "(($ac_try" in 14402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14403 *) ac_try_echo=$ac_try;; 14404esac 14405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14406$as_echo "$ac_try_echo") >&5 14407 (eval "$ac_compile") 2>conftest.er1 14408 ac_status=$? 14409 grep -v '^ *+' conftest.er1 >conftest.err 14410 rm -f conftest.er1 14411 cat conftest.err >&5 14412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14413 (exit $ac_status); } && { 14414 test -z "$ac_c_werror_flag" || 14415 test ! -s conftest.err 14416 } && test -s conftest.$ac_objext; then 14417 ac_cv_c_bigendian=yes 14418else 14419 $as_echo "$as_me: failed program was:" >&5 14420sed 's/^/| /' conftest.$ac_ext >&5 14421 14422 ac_cv_c_bigendian=no 14423fi 14424 14425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14426else 14427 $as_echo "$as_me: failed program was:" >&5 14428sed 's/^/| /' conftest.$ac_ext >&5 14429 14430 14431fi 14432 14433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14434 fi 14435 if test $ac_cv_c_bigendian = unknown; then 14436 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 14437 cat >conftest.$ac_ext <<_ACEOF 14438/* confdefs.h. */ 14439_ACEOF 14440cat confdefs.h >>conftest.$ac_ext 14441cat >>conftest.$ac_ext <<_ACEOF 14442/* end confdefs.h. */ 14443#include <limits.h> 14444 14445int 14446main () 14447{ 14448#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 14449 bogus endian macros 14450 #endif 14451 14452 ; 14453 return 0; 14454} 14455_ACEOF 14456rm -f conftest.$ac_objext 14457if { (ac_try="$ac_compile" 14458case "(($ac_try" in 14459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14460 *) ac_try_echo=$ac_try;; 14461esac 14462eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14463$as_echo "$ac_try_echo") >&5 14464 (eval "$ac_compile") 2>conftest.er1 14465 ac_status=$? 14466 grep -v '^ *+' conftest.er1 >conftest.err 14467 rm -f conftest.er1 14468 cat conftest.err >&5 14469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14470 (exit $ac_status); } && { 14471 test -z "$ac_c_werror_flag" || 14472 test ! -s conftest.err 14473 } && test -s conftest.$ac_objext; then 14474 # It does; now see whether it defined to _BIG_ENDIAN or not. 14475 cat >conftest.$ac_ext <<_ACEOF 14476/* confdefs.h. */ 14477_ACEOF 14478cat confdefs.h >>conftest.$ac_ext 14479cat >>conftest.$ac_ext <<_ACEOF 14480/* end confdefs.h. */ 14481#include <limits.h> 14482 14483int 14484main () 14485{ 14486#ifndef _BIG_ENDIAN 14487 not big endian 14488 #endif 14489 14490 ; 14491 return 0; 14492} 14493_ACEOF 14494rm -f conftest.$ac_objext 14495if { (ac_try="$ac_compile" 14496case "(($ac_try" in 14497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14498 *) ac_try_echo=$ac_try;; 14499esac 14500eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14501$as_echo "$ac_try_echo") >&5 14502 (eval "$ac_compile") 2>conftest.er1 14503 ac_status=$? 14504 grep -v '^ *+' conftest.er1 >conftest.err 14505 rm -f conftest.er1 14506 cat conftest.err >&5 14507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14508 (exit $ac_status); } && { 14509 test -z "$ac_c_werror_flag" || 14510 test ! -s conftest.err 14511 } && test -s conftest.$ac_objext; then 14512 ac_cv_c_bigendian=yes 14513else 14514 $as_echo "$as_me: failed program was:" >&5 14515sed 's/^/| /' conftest.$ac_ext >&5 14516 14517 ac_cv_c_bigendian=no 14518fi 14519 14520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14521else 14522 $as_echo "$as_me: failed program was:" >&5 14523sed 's/^/| /' conftest.$ac_ext >&5 14524 14525 14526fi 14527 14528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14529 fi 14530 if test $ac_cv_c_bigendian = unknown; then 14531 # Compile a test program. 14532 if test "$cross_compiling" = yes; then 14533 # Try to guess by grepping values from an object file. 14534 cat >conftest.$ac_ext <<_ACEOF 14535/* confdefs.h. */ 14536_ACEOF 14537cat confdefs.h >>conftest.$ac_ext 14538cat >>conftest.$ac_ext <<_ACEOF 14539/* end confdefs.h. */ 14540short int ascii_mm[] = 14541 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 14542 short int ascii_ii[] = 14543 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 14544 int use_ascii (int i) { 14545 return ascii_mm[i] + ascii_ii[i]; 14546 } 14547 short int ebcdic_ii[] = 14548 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 14549 short int ebcdic_mm[] = 14550 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 14551 int use_ebcdic (int i) { 14552 return ebcdic_mm[i] + ebcdic_ii[i]; 14553 } 14554 extern int foo; 14555 14556int 14557main () 14558{ 14559return use_ascii (foo) == use_ebcdic (foo); 14560 ; 14561 return 0; 14562} 14563_ACEOF 14564rm -f conftest.$ac_objext 14565if { (ac_try="$ac_compile" 14566case "(($ac_try" in 14567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14568 *) ac_try_echo=$ac_try;; 14569esac 14570eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14571$as_echo "$ac_try_echo") >&5 14572 (eval "$ac_compile") 2>conftest.er1 14573 ac_status=$? 14574 grep -v '^ *+' conftest.er1 >conftest.err 14575 rm -f conftest.er1 14576 cat conftest.err >&5 14577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14578 (exit $ac_status); } && { 14579 test -z "$ac_c_werror_flag" || 14580 test ! -s conftest.err 14581 } && test -s conftest.$ac_objext; then 14582 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 14583 ac_cv_c_bigendian=yes 14584 fi 14585 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 14586 if test "$ac_cv_c_bigendian" = unknown; then 14587 ac_cv_c_bigendian=no 14588 else 14589 # finding both strings is unlikely to happen, but who knows? 14590 ac_cv_c_bigendian=unknown 14591 fi 14592 fi 14593else 14594 $as_echo "$as_me: failed program was:" >&5 14595sed 's/^/| /' conftest.$ac_ext >&5 14596 14597 14598fi 14599 14600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14601else 14602 cat >conftest.$ac_ext <<_ACEOF 14603/* confdefs.h. */ 14604_ACEOF 14605cat confdefs.h >>conftest.$ac_ext 14606cat >>conftest.$ac_ext <<_ACEOF 14607/* end confdefs.h. */ 14608$ac_includes_default 14609int 14610main () 14611{ 14612 14613 /* Are we little or big endian? From Harbison&Steele. */ 14614 union 14615 { 14616 long int l; 14617 char c[sizeof (long int)]; 14618 } u; 14619 u.l = 1; 14620 return u.c[sizeof (long int) - 1] == 1; 14621 14622 ; 14623 return 0; 14624} 14625_ACEOF 14626rm -f conftest$ac_exeext 14627if { (ac_try="$ac_link" 14628case "(($ac_try" in 14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14630 *) ac_try_echo=$ac_try;; 14631esac 14632eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14633$as_echo "$ac_try_echo") >&5 14634 (eval "$ac_link") 2>&5 14635 ac_status=$? 14636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14638 { (case "(($ac_try" in 14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14640 *) ac_try_echo=$ac_try;; 14641esac 14642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14643$as_echo "$ac_try_echo") >&5 14644 (eval "$ac_try") 2>&5 14645 ac_status=$? 14646 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14647 (exit $ac_status); }; }; then 14648 ac_cv_c_bigendian=no 14649else 14650 $as_echo "$as_me: program exited with status $ac_status" >&5 14651$as_echo "$as_me: failed program was:" >&5 14652sed 's/^/| /' conftest.$ac_ext >&5 14653 14654( exit $ac_status ) 14655ac_cv_c_bigendian=yes 14656fi 14657rm -rf conftest.dSYM 14658rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14659fi 14660 14661 14662 fi 14663fi 14664{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 14665$as_echo "$ac_cv_c_bigendian" >&6; } 14666 case $ac_cv_c_bigendian in #( 14667 yes) 14668 ENDIAN="X_BIG_ENDIAN";; #( 14669 no) 14670 ENDIAN="X_LITTLE_ENDIAN" ;; #( 14671 universal) 14672 14673cat >>confdefs.h <<\_ACEOF 14674#define AC_APPLE_UNIVERSAL_BUILD 1 14675_ACEOF 14676 14677 ;; #( 14678 *) 14679 { { $as_echo "$as_me:$LINENO: error: unknown endianness 14680 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 14681$as_echo "$as_me: error: unknown endianness 14682 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 14683 { (exit 1); exit 1; }; } ;; 14684 esac 14685 14686 14687# The cast to long int works around a bug in the HP C Compiler 14688# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14689# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14690# This bug is HP SR number 8606223364. 14691{ $as_echo "$as_me:$LINENO: checking size of unsigned long" >&5 14692$as_echo_n "checking size of unsigned long... " >&6; } 14693if test "${ac_cv_sizeof_unsigned_long+set}" = set; then 14694 $as_echo_n "(cached) " >&6 14695else 14696 if test "$cross_compiling" = yes; then 14697 # Depending upon the size, compute the lo and hi bounds. 14698cat >conftest.$ac_ext <<_ACEOF 14699/* confdefs.h. */ 14700_ACEOF 14701cat confdefs.h >>conftest.$ac_ext 14702cat >>conftest.$ac_ext <<_ACEOF 14703/* end confdefs.h. */ 14704$ac_includes_default 14705int 14706main () 14707{ 14708static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= 0)]; 14709test_array [0] = 0 14710 14711 ; 14712 return 0; 14713} 14714_ACEOF 14715rm -f conftest.$ac_objext 14716if { (ac_try="$ac_compile" 14717case "(($ac_try" in 14718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14719 *) ac_try_echo=$ac_try;; 14720esac 14721eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14722$as_echo "$ac_try_echo") >&5 14723 (eval "$ac_compile") 2>conftest.er1 14724 ac_status=$? 14725 grep -v '^ *+' conftest.er1 >conftest.err 14726 rm -f conftest.er1 14727 cat conftest.err >&5 14728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14729 (exit $ac_status); } && { 14730 test -z "$ac_c_werror_flag" || 14731 test ! -s conftest.err 14732 } && test -s conftest.$ac_objext; then 14733 ac_lo=0 ac_mid=0 14734 while :; do 14735 cat >conftest.$ac_ext <<_ACEOF 14736/* confdefs.h. */ 14737_ACEOF 14738cat confdefs.h >>conftest.$ac_ext 14739cat >>conftest.$ac_ext <<_ACEOF 14740/* end confdefs.h. */ 14741$ac_includes_default 14742int 14743main () 14744{ 14745static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)]; 14746test_array [0] = 0 14747 14748 ; 14749 return 0; 14750} 14751_ACEOF 14752rm -f conftest.$ac_objext 14753if { (ac_try="$ac_compile" 14754case "(($ac_try" in 14755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14756 *) ac_try_echo=$ac_try;; 14757esac 14758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14759$as_echo "$ac_try_echo") >&5 14760 (eval "$ac_compile") 2>conftest.er1 14761 ac_status=$? 14762 grep -v '^ *+' conftest.er1 >conftest.err 14763 rm -f conftest.er1 14764 cat conftest.err >&5 14765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14766 (exit $ac_status); } && { 14767 test -z "$ac_c_werror_flag" || 14768 test ! -s conftest.err 14769 } && test -s conftest.$ac_objext; then 14770 ac_hi=$ac_mid; break 14771else 14772 $as_echo "$as_me: failed program was:" >&5 14773sed 's/^/| /' conftest.$ac_ext >&5 14774 14775 ac_lo=`expr $ac_mid + 1` 14776 if test $ac_lo -le $ac_mid; then 14777 ac_lo= ac_hi= 14778 break 14779 fi 14780 ac_mid=`expr 2 '*' $ac_mid + 1` 14781fi 14782 14783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14784 done 14785else 14786 $as_echo "$as_me: failed program was:" >&5 14787sed 's/^/| /' conftest.$ac_ext >&5 14788 14789 cat >conftest.$ac_ext <<_ACEOF 14790/* confdefs.h. */ 14791_ACEOF 14792cat confdefs.h >>conftest.$ac_ext 14793cat >>conftest.$ac_ext <<_ACEOF 14794/* end confdefs.h. */ 14795$ac_includes_default 14796int 14797main () 14798{ 14799static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) < 0)]; 14800test_array [0] = 0 14801 14802 ; 14803 return 0; 14804} 14805_ACEOF 14806rm -f conftest.$ac_objext 14807if { (ac_try="$ac_compile" 14808case "(($ac_try" in 14809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14810 *) ac_try_echo=$ac_try;; 14811esac 14812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14813$as_echo "$ac_try_echo") >&5 14814 (eval "$ac_compile") 2>conftest.er1 14815 ac_status=$? 14816 grep -v '^ *+' conftest.er1 >conftest.err 14817 rm -f conftest.er1 14818 cat conftest.err >&5 14819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14820 (exit $ac_status); } && { 14821 test -z "$ac_c_werror_flag" || 14822 test ! -s conftest.err 14823 } && test -s conftest.$ac_objext; then 14824 ac_hi=-1 ac_mid=-1 14825 while :; do 14826 cat >conftest.$ac_ext <<_ACEOF 14827/* confdefs.h. */ 14828_ACEOF 14829cat confdefs.h >>conftest.$ac_ext 14830cat >>conftest.$ac_ext <<_ACEOF 14831/* end confdefs.h. */ 14832$ac_includes_default 14833int 14834main () 14835{ 14836static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) >= $ac_mid)]; 14837test_array [0] = 0 14838 14839 ; 14840 return 0; 14841} 14842_ACEOF 14843rm -f conftest.$ac_objext 14844if { (ac_try="$ac_compile" 14845case "(($ac_try" in 14846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14847 *) ac_try_echo=$ac_try;; 14848esac 14849eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14850$as_echo "$ac_try_echo") >&5 14851 (eval "$ac_compile") 2>conftest.er1 14852 ac_status=$? 14853 grep -v '^ *+' conftest.er1 >conftest.err 14854 rm -f conftest.er1 14855 cat conftest.err >&5 14856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14857 (exit $ac_status); } && { 14858 test -z "$ac_c_werror_flag" || 14859 test ! -s conftest.err 14860 } && test -s conftest.$ac_objext; then 14861 ac_lo=$ac_mid; break 14862else 14863 $as_echo "$as_me: failed program was:" >&5 14864sed 's/^/| /' conftest.$ac_ext >&5 14865 14866 ac_hi=`expr '(' $ac_mid ')' - 1` 14867 if test $ac_mid -le $ac_hi; then 14868 ac_lo= ac_hi= 14869 break 14870 fi 14871 ac_mid=`expr 2 '*' $ac_mid` 14872fi 14873 14874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14875 done 14876else 14877 $as_echo "$as_me: failed program was:" >&5 14878sed 's/^/| /' conftest.$ac_ext >&5 14879 14880 ac_lo= ac_hi= 14881fi 14882 14883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14884fi 14885 14886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14887# Binary search between lo and hi bounds. 14888while test "x$ac_lo" != "x$ac_hi"; do 14889 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14890 cat >conftest.$ac_ext <<_ACEOF 14891/* confdefs.h. */ 14892_ACEOF 14893cat confdefs.h >>conftest.$ac_ext 14894cat >>conftest.$ac_ext <<_ACEOF 14895/* end confdefs.h. */ 14896$ac_includes_default 14897int 14898main () 14899{ 14900static int test_array [1 - 2 * !(((long int) (sizeof (unsigned long))) <= $ac_mid)]; 14901test_array [0] = 0 14902 14903 ; 14904 return 0; 14905} 14906_ACEOF 14907rm -f conftest.$ac_objext 14908if { (ac_try="$ac_compile" 14909case "(($ac_try" in 14910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14911 *) ac_try_echo=$ac_try;; 14912esac 14913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14914$as_echo "$ac_try_echo") >&5 14915 (eval "$ac_compile") 2>conftest.er1 14916 ac_status=$? 14917 grep -v '^ *+' conftest.er1 >conftest.err 14918 rm -f conftest.er1 14919 cat conftest.err >&5 14920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 14921 (exit $ac_status); } && { 14922 test -z "$ac_c_werror_flag" || 14923 test ! -s conftest.err 14924 } && test -s conftest.$ac_objext; then 14925 ac_hi=$ac_mid 14926else 14927 $as_echo "$as_me: failed program was:" >&5 14928sed 's/^/| /' conftest.$ac_ext >&5 14929 14930 ac_lo=`expr '(' $ac_mid ')' + 1` 14931fi 14932 14933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14934done 14935case $ac_lo in 14936?*) ac_cv_sizeof_unsigned_long=$ac_lo;; 14937'') if test "$ac_cv_type_unsigned_long" = yes; then 14938 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 14939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14940{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) 14941See \`config.log' for more details." >&5 14942$as_echo "$as_me: error: cannot compute sizeof (unsigned long) 14943See \`config.log' for more details." >&2;} 14944 { (exit 77); exit 77; }; }; } 14945 else 14946 ac_cv_sizeof_unsigned_long=0 14947 fi ;; 14948esac 14949else 14950 cat >conftest.$ac_ext <<_ACEOF 14951/* confdefs.h. */ 14952_ACEOF 14953cat confdefs.h >>conftest.$ac_ext 14954cat >>conftest.$ac_ext <<_ACEOF 14955/* end confdefs.h. */ 14956$ac_includes_default 14957static long int longval () { return (long int) (sizeof (unsigned long)); } 14958static unsigned long int ulongval () { return (long int) (sizeof (unsigned long)); } 14959#include <stdio.h> 14960#include <stdlib.h> 14961int 14962main () 14963{ 14964 14965 FILE *f = fopen ("conftest.val", "w"); 14966 if (! f) 14967 return 1; 14968 if (((long int) (sizeof (unsigned long))) < 0) 14969 { 14970 long int i = longval (); 14971 if (i != ((long int) (sizeof (unsigned long)))) 14972 return 1; 14973 fprintf (f, "%ld", i); 14974 } 14975 else 14976 { 14977 unsigned long int i = ulongval (); 14978 if (i != ((long int) (sizeof (unsigned long)))) 14979 return 1; 14980 fprintf (f, "%lu", i); 14981 } 14982 /* Do not output a trailing newline, as this causes \r\n confusion 14983 on some platforms. */ 14984 return ferror (f) || fclose (f) != 0; 14985 14986 ; 14987 return 0; 14988} 14989_ACEOF 14990rm -f conftest$ac_exeext 14991if { (ac_try="$ac_link" 14992case "(($ac_try" in 14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14994 *) ac_try_echo=$ac_try;; 14995esac 14996eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 14997$as_echo "$ac_try_echo") >&5 14998 (eval "$ac_link") 2>&5 14999 ac_status=$? 15000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15002 { (case "(($ac_try" in 15003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15004 *) ac_try_echo=$ac_try;; 15005esac 15006eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15007$as_echo "$ac_try_echo") >&5 15008 (eval "$ac_try") 2>&5 15009 ac_status=$? 15010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15011 (exit $ac_status); }; }; then 15012 ac_cv_sizeof_unsigned_long=`cat conftest.val` 15013else 15014 $as_echo "$as_me: program exited with status $ac_status" >&5 15015$as_echo "$as_me: failed program was:" >&5 15016sed 's/^/| /' conftest.$ac_ext >&5 15017 15018( exit $ac_status ) 15019if test "$ac_cv_type_unsigned_long" = yes; then 15020 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 15021$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15022{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long) 15023See \`config.log' for more details." >&5 15024$as_echo "$as_me: error: cannot compute sizeof (unsigned long) 15025See \`config.log' for more details." >&2;} 15026 { (exit 77); exit 77; }; }; } 15027 else 15028 ac_cv_sizeof_unsigned_long=0 15029 fi 15030fi 15031rm -rf conftest.dSYM 15032rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15033fi 15034rm -f conftest.val 15035fi 15036{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 15037$as_echo "$ac_cv_sizeof_unsigned_long" >&6; } 15038 15039 15040 15041cat >>confdefs.h <<_ACEOF 15042#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long 15043_ACEOF 15044 15045 15046if test "$ac_cv_sizeof_unsigned_long" = 8; then 15047 15048cat >>confdefs.h <<\_ACEOF 15049#define _XSERVER64 1 15050_ACEOF 15051 15052fi 15053 15054{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5 15055$as_echo_n "checking for pid_t... " >&6; } 15056if test "${ac_cv_type_pid_t+set}" = set; then 15057 $as_echo_n "(cached) " >&6 15058else 15059 ac_cv_type_pid_t=no 15060cat >conftest.$ac_ext <<_ACEOF 15061/* confdefs.h. */ 15062_ACEOF 15063cat confdefs.h >>conftest.$ac_ext 15064cat >>conftest.$ac_ext <<_ACEOF 15065/* end confdefs.h. */ 15066$ac_includes_default 15067int 15068main () 15069{ 15070if (sizeof (pid_t)) 15071 return 0; 15072 ; 15073 return 0; 15074} 15075_ACEOF 15076rm -f conftest.$ac_objext 15077if { (ac_try="$ac_compile" 15078case "(($ac_try" in 15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15080 *) ac_try_echo=$ac_try;; 15081esac 15082eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15083$as_echo "$ac_try_echo") >&5 15084 (eval "$ac_compile") 2>conftest.er1 15085 ac_status=$? 15086 grep -v '^ *+' conftest.er1 >conftest.err 15087 rm -f conftest.er1 15088 cat conftest.err >&5 15089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15090 (exit $ac_status); } && { 15091 test -z "$ac_c_werror_flag" || 15092 test ! -s conftest.err 15093 } && test -s conftest.$ac_objext; then 15094 cat >conftest.$ac_ext <<_ACEOF 15095/* confdefs.h. */ 15096_ACEOF 15097cat confdefs.h >>conftest.$ac_ext 15098cat >>conftest.$ac_ext <<_ACEOF 15099/* end confdefs.h. */ 15100$ac_includes_default 15101int 15102main () 15103{ 15104if (sizeof ((pid_t))) 15105 return 0; 15106 ; 15107 return 0; 15108} 15109_ACEOF 15110rm -f conftest.$ac_objext 15111if { (ac_try="$ac_compile" 15112case "(($ac_try" in 15113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15114 *) ac_try_echo=$ac_try;; 15115esac 15116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15117$as_echo "$ac_try_echo") >&5 15118 (eval "$ac_compile") 2>conftest.er1 15119 ac_status=$? 15120 grep -v '^ *+' conftest.er1 >conftest.err 15121 rm -f conftest.er1 15122 cat conftest.err >&5 15123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15124 (exit $ac_status); } && { 15125 test -z "$ac_c_werror_flag" || 15126 test ! -s conftest.err 15127 } && test -s conftest.$ac_objext; then 15128 : 15129else 15130 $as_echo "$as_me: failed program was:" >&5 15131sed 's/^/| /' conftest.$ac_ext >&5 15132 15133 ac_cv_type_pid_t=yes 15134fi 15135 15136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15137else 15138 $as_echo "$as_me: failed program was:" >&5 15139sed 's/^/| /' conftest.$ac_ext >&5 15140 15141 15142fi 15143 15144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15145fi 15146{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 15147$as_echo "$ac_cv_type_pid_t" >&6; } 15148if test "x$ac_cv_type_pid_t" = x""yes; then 15149 : 15150else 15151 15152cat >>confdefs.h <<_ACEOF 15153#define pid_t int 15154_ACEOF 15155 15156fi 15157 15158 15159# Checks for headers/macros for byte swapping 15160# Known variants: 15161# <byteswap.h> bswap_16, bswap_32, bswap_64 (glibc) 15162# <sys/endian.h> __swap16, __swap32, __swap64 (OpenBSD) 15163# <sys/endian.h> bswap16, bswap32, bswap64 (other BSD's) 15164# and a fallback to local macros if none of the above are found 15165 15166# if <byteswap.h> is found, assume it's the correct version 15167 15168for ac_header in byteswap.h 15169do 15170as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 15171if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15172 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 15173$as_echo_n "checking for $ac_header... " >&6; } 15174if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15175 $as_echo_n "(cached) " >&6 15176fi 15177ac_res=`eval 'as_val=${'$as_ac_Header'} 15178 $as_echo "$as_val"'` 15179 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15180$as_echo "$ac_res" >&6; } 15181else 15182 # Is the header compilable? 15183{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 15184$as_echo_n "checking $ac_header usability... " >&6; } 15185cat >conftest.$ac_ext <<_ACEOF 15186/* confdefs.h. */ 15187_ACEOF 15188cat confdefs.h >>conftest.$ac_ext 15189cat >>conftest.$ac_ext <<_ACEOF 15190/* end confdefs.h. */ 15191$ac_includes_default 15192#include <$ac_header> 15193_ACEOF 15194rm -f conftest.$ac_objext 15195if { (ac_try="$ac_compile" 15196case "(($ac_try" in 15197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15198 *) ac_try_echo=$ac_try;; 15199esac 15200eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15201$as_echo "$ac_try_echo") >&5 15202 (eval "$ac_compile") 2>conftest.er1 15203 ac_status=$? 15204 grep -v '^ *+' conftest.er1 >conftest.err 15205 rm -f conftest.er1 15206 cat conftest.err >&5 15207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15208 (exit $ac_status); } && { 15209 test -z "$ac_c_werror_flag" || 15210 test ! -s conftest.err 15211 } && test -s conftest.$ac_objext; then 15212 ac_header_compiler=yes 15213else 15214 $as_echo "$as_me: failed program was:" >&5 15215sed 's/^/| /' conftest.$ac_ext >&5 15216 15217 ac_header_compiler=no 15218fi 15219 15220rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15221{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15222$as_echo "$ac_header_compiler" >&6; } 15223 15224# Is the header present? 15225{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 15226$as_echo_n "checking $ac_header presence... " >&6; } 15227cat >conftest.$ac_ext <<_ACEOF 15228/* confdefs.h. */ 15229_ACEOF 15230cat confdefs.h >>conftest.$ac_ext 15231cat >>conftest.$ac_ext <<_ACEOF 15232/* end confdefs.h. */ 15233#include <$ac_header> 15234_ACEOF 15235if { (ac_try="$ac_cpp conftest.$ac_ext" 15236case "(($ac_try" in 15237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15238 *) ac_try_echo=$ac_try;; 15239esac 15240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15241$as_echo "$ac_try_echo") >&5 15242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15243 ac_status=$? 15244 grep -v '^ *+' conftest.er1 >conftest.err 15245 rm -f conftest.er1 15246 cat conftest.err >&5 15247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15248 (exit $ac_status); } >/dev/null && { 15249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15250 test ! -s conftest.err 15251 }; then 15252 ac_header_preproc=yes 15253else 15254 $as_echo "$as_me: failed program was:" >&5 15255sed 's/^/| /' conftest.$ac_ext >&5 15256 15257 ac_header_preproc=no 15258fi 15259 15260rm -f conftest.err conftest.$ac_ext 15261{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15262$as_echo "$ac_header_preproc" >&6; } 15263 15264# So? What about this header? 15265case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15266 yes:no: ) 15267 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 15268$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 15269 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 15270$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 15271 ac_header_preproc=yes 15272 ;; 15273 no:yes:* ) 15274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 15275$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 15276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 15277$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 15278 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 15279$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 15280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 15281$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 15282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 15283$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 15284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 15285$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 15286 ( cat <<\_ASBOX 15287## ---------------------------------------------------------------------- ## 15288## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 15289## ---------------------------------------------------------------------- ## 15290_ASBOX 15291 ) | sed "s/^/$as_me: WARNING: /" >&2 15292 ;; 15293esac 15294{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 15295$as_echo_n "checking for $ac_header... " >&6; } 15296if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 15297 $as_echo_n "(cached) " >&6 15298else 15299 eval "$as_ac_Header=\$ac_header_preproc" 15300fi 15301ac_res=`eval 'as_val=${'$as_ac_Header'} 15302 $as_echo "$as_val"'` 15303 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15304$as_echo "$ac_res" >&6; } 15305 15306fi 15307as_val=`eval 'as_val=${'$as_ac_Header'} 15308 $as_echo "$as_val"'` 15309 if test "x$as_val" = x""yes; then 15310 cat >>confdefs.h <<_ACEOF 15311#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 15312_ACEOF 15313 15314fi 15315 15316done 15317 15318 15319# if <sys/endian.h> is found, have to check which version 15320if test "${ac_cv_header_sys_endian_h+set}" = set; then 15321 { $as_echo "$as_me:$LINENO: checking for sys/endian.h" >&5 15322$as_echo_n "checking for sys/endian.h... " >&6; } 15323if test "${ac_cv_header_sys_endian_h+set}" = set; then 15324 $as_echo_n "(cached) " >&6 15325fi 15326{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5 15327$as_echo "$ac_cv_header_sys_endian_h" >&6; } 15328else 15329 # Is the header compilable? 15330{ $as_echo "$as_me:$LINENO: checking sys/endian.h usability" >&5 15331$as_echo_n "checking sys/endian.h usability... " >&6; } 15332cat >conftest.$ac_ext <<_ACEOF 15333/* confdefs.h. */ 15334_ACEOF 15335cat confdefs.h >>conftest.$ac_ext 15336cat >>conftest.$ac_ext <<_ACEOF 15337/* end confdefs.h. */ 15338$ac_includes_default 15339#include <sys/endian.h> 15340_ACEOF 15341rm -f conftest.$ac_objext 15342if { (ac_try="$ac_compile" 15343case "(($ac_try" in 15344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15345 *) ac_try_echo=$ac_try;; 15346esac 15347eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15348$as_echo "$ac_try_echo") >&5 15349 (eval "$ac_compile") 2>conftest.er1 15350 ac_status=$? 15351 grep -v '^ *+' conftest.er1 >conftest.err 15352 rm -f conftest.er1 15353 cat conftest.err >&5 15354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15355 (exit $ac_status); } && { 15356 test -z "$ac_c_werror_flag" || 15357 test ! -s conftest.err 15358 } && test -s conftest.$ac_objext; then 15359 ac_header_compiler=yes 15360else 15361 $as_echo "$as_me: failed program was:" >&5 15362sed 's/^/| /' conftest.$ac_ext >&5 15363 15364 ac_header_compiler=no 15365fi 15366 15367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 15368{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 15369$as_echo "$ac_header_compiler" >&6; } 15370 15371# Is the header present? 15372{ $as_echo "$as_me:$LINENO: checking sys/endian.h presence" >&5 15373$as_echo_n "checking sys/endian.h presence... " >&6; } 15374cat >conftest.$ac_ext <<_ACEOF 15375/* confdefs.h. */ 15376_ACEOF 15377cat confdefs.h >>conftest.$ac_ext 15378cat >>conftest.$ac_ext <<_ACEOF 15379/* end confdefs.h. */ 15380#include <sys/endian.h> 15381_ACEOF 15382if { (ac_try="$ac_cpp conftest.$ac_ext" 15383case "(($ac_try" in 15384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15385 *) ac_try_echo=$ac_try;; 15386esac 15387eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15388$as_echo "$ac_try_echo") >&5 15389 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 15390 ac_status=$? 15391 grep -v '^ *+' conftest.er1 >conftest.err 15392 rm -f conftest.er1 15393 cat conftest.err >&5 15394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15395 (exit $ac_status); } >/dev/null && { 15396 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 15397 test ! -s conftest.err 15398 }; then 15399 ac_header_preproc=yes 15400else 15401 $as_echo "$as_me: failed program was:" >&5 15402sed 's/^/| /' conftest.$ac_ext >&5 15403 15404 ac_header_preproc=no 15405fi 15406 15407rm -f conftest.err conftest.$ac_ext 15408{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 15409$as_echo "$ac_header_preproc" >&6; } 15410 15411# So? What about this header? 15412case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 15413 yes:no: ) 15414 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&5 15415$as_echo "$as_me: WARNING: sys/endian.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 15416 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the compiler's result" >&5 15417$as_echo "$as_me: WARNING: sys/endian.h: proceeding with the compiler's result" >&2;} 15418 ac_header_preproc=yes 15419 ;; 15420 no:yes:* ) 15421 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: present but cannot be compiled" >&5 15422$as_echo "$as_me: WARNING: sys/endian.h: present but cannot be compiled" >&2;} 15423 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: check for missing prerequisite headers?" >&5 15424$as_echo "$as_me: WARNING: sys/endian.h: check for missing prerequisite headers?" >&2;} 15425 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: see the Autoconf documentation" >&5 15426$as_echo "$as_me: WARNING: sys/endian.h: see the Autoconf documentation" >&2;} 15427 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: section \"Present But Cannot Be Compiled\"" >&5 15428$as_echo "$as_me: WARNING: sys/endian.h: section \"Present But Cannot Be Compiled\"" >&2;} 15429 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&5 15430$as_echo "$as_me: WARNING: sys/endian.h: proceeding with the preprocessor's result" >&2;} 15431 { $as_echo "$as_me:$LINENO: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&5 15432$as_echo "$as_me: WARNING: sys/endian.h: in the future, the compiler will take precedence" >&2;} 15433 ( cat <<\_ASBOX 15434## ---------------------------------------------------------------------- ## 15435## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 15436## ---------------------------------------------------------------------- ## 15437_ASBOX 15438 ) | sed "s/^/$as_me: WARNING: /" >&2 15439 ;; 15440esac 15441{ $as_echo "$as_me:$LINENO: checking for sys/endian.h" >&5 15442$as_echo_n "checking for sys/endian.h... " >&6; } 15443if test "${ac_cv_header_sys_endian_h+set}" = set; then 15444 $as_echo_n "(cached) " >&6 15445else 15446 ac_cv_header_sys_endian_h=$ac_header_preproc 15447fi 15448{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_endian_h" >&5 15449$as_echo "$ac_cv_header_sys_endian_h" >&6; } 15450 15451fi 15452if test "x$ac_cv_header_sys_endian_h" = x""yes; then 15453 HAVE_SYS_ENDIAN_H="yes" 15454else 15455 HAVE_SYS_ENDIAN_H="no" 15456fi 15457 15458 15459 15460if test "x$HAVE_SYS_ENDIAN_H" = "xyes" ; then 15461 { $as_echo "$as_me:$LINENO: checking for __swap16 variant of <sys/endian.h> byteswapping macros" >&5 15462$as_echo_n "checking for __swap16 variant of <sys/endian.h> byteswapping macros... " >&6; } 15463 cat >conftest.$ac_ext <<_ACEOF 15464/* confdefs.h. */ 15465_ACEOF 15466cat confdefs.h >>conftest.$ac_ext 15467cat >>conftest.$ac_ext <<_ACEOF 15468/* end confdefs.h. */ 15469 15470#include <sys/types.h> 15471#include <sys/endian.h> 15472 15473int 15474main () 15475{ 15476 15477int a = 1, b; 15478b = __swap16(a); 15479 15480 ; 15481 return 0; 15482} 15483 15484_ACEOF 15485rm -f conftest.$ac_objext conftest$ac_exeext 15486if { (ac_try="$ac_link" 15487case "(($ac_try" in 15488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15489 *) ac_try_echo=$ac_try;; 15490esac 15491eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15492$as_echo "$ac_try_echo") >&5 15493 (eval "$ac_link") 2>conftest.er1 15494 ac_status=$? 15495 grep -v '^ *+' conftest.er1 >conftest.err 15496 rm -f conftest.er1 15497 cat conftest.err >&5 15498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15499 (exit $ac_status); } && { 15500 test -z "$ac_c_werror_flag" || 15501 test ! -s conftest.err 15502 } && test -s conftest$ac_exeext && { 15503 test "$cross_compiling" = yes || 15504 $as_test_x conftest$ac_exeext 15505 }; then 15506 SYS_ENDIAN__SWAP='yes' 15507else 15508 $as_echo "$as_me: failed program was:" >&5 15509sed 's/^/| /' conftest.$ac_ext >&5 15510 15511 SYS_ENDIAN__SWAP='no' 15512fi 15513 15514rm -rf conftest.dSYM 15515rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15516 conftest$ac_exeext conftest.$ac_ext 15517 { $as_echo "$as_me:$LINENO: result: $SYS_ENDIAN__SWAP" >&5 15518$as_echo "$SYS_ENDIAN__SWAP" >&6; } 15519 15520 { $as_echo "$as_me:$LINENO: checking for bswap16 variant of <sys/endian.h> byteswapping macros" >&5 15521$as_echo_n "checking for bswap16 variant of <sys/endian.h> byteswapping macros... " >&6; } 15522 cat >conftest.$ac_ext <<_ACEOF 15523/* confdefs.h. */ 15524_ACEOF 15525cat confdefs.h >>conftest.$ac_ext 15526cat >>conftest.$ac_ext <<_ACEOF 15527/* end confdefs.h. */ 15528 15529#include <sys/types.h> 15530#include <sys/endian.h> 15531 15532int 15533main () 15534{ 15535 15536int a = 1, b; 15537b = bswap16(a); 15538 15539 ; 15540 return 0; 15541} 15542 15543_ACEOF 15544rm -f conftest.$ac_objext conftest$ac_exeext 15545if { (ac_try="$ac_link" 15546case "(($ac_try" in 15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15548 *) ac_try_echo=$ac_try;; 15549esac 15550eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15551$as_echo "$ac_try_echo") >&5 15552 (eval "$ac_link") 2>conftest.er1 15553 ac_status=$? 15554 grep -v '^ *+' conftest.er1 >conftest.err 15555 rm -f conftest.er1 15556 cat conftest.err >&5 15557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15558 (exit $ac_status); } && { 15559 test -z "$ac_c_werror_flag" || 15560 test ! -s conftest.err 15561 } && test -s conftest$ac_exeext && { 15562 test "$cross_compiling" = yes || 15563 $as_test_x conftest$ac_exeext 15564 }; then 15565 SYS_ENDIAN_BSWAP='yes' 15566else 15567 $as_echo "$as_me: failed program was:" >&5 15568sed 's/^/| /' conftest.$ac_ext >&5 15569 15570 SYS_ENDIAN_BSWAP='no' 15571fi 15572 15573rm -rf conftest.dSYM 15574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15575 conftest$ac_exeext conftest.$ac_ext 15576 { $as_echo "$as_me:$LINENO: result: $SYS_ENDIAN_BSWAP" >&5 15577$as_echo "$SYS_ENDIAN_BSWAP" >&6; } 15578 15579 if test "$SYS_ENDIAN_BSWAP" = "yes" ; then 15580 USE_SYS_ENDIAN_H=yes 15581 BSWAP=bswap 15582 else 15583 if test "$SYS_ENDIAN__SWAP" = "yes" ; then 15584 USE_SYS_ENDIAN_H=yes 15585 BSWAP=__swap 15586 else 15587 USE_SYS_ENDIAN_H=no 15588 fi 15589 fi 15590 15591 if test "$USE_SYS_ENDIAN_H" = "yes" ; then 15592 15593cat >>confdefs.h <<\_ACEOF 15594#define USE_SYS_ENDIAN_H 1 15595_ACEOF 15596 15597 15598cat >>confdefs.h <<_ACEOF 15599#define bswap_16 ${BSWAP}16 15600_ACEOF 15601 15602 15603cat >>confdefs.h <<_ACEOF 15604#define bswap_32 ${BSWAP}32 15605_ACEOF 15606 15607 15608cat >>confdefs.h <<_ACEOF 15609#define bswap_64 ${BSWAP}64 15610_ACEOF 15611 15612 fi 15613fi 15614 15615{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5 15616$as_echo_n "checking for dlopen... " >&6; } 15617if test "${ac_cv_func_dlopen+set}" = set; then 15618 $as_echo_n "(cached) " >&6 15619else 15620 cat >conftest.$ac_ext <<_ACEOF 15621/* confdefs.h. */ 15622_ACEOF 15623cat confdefs.h >>conftest.$ac_ext 15624cat >>conftest.$ac_ext <<_ACEOF 15625/* end confdefs.h. */ 15626/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 15627 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15628#define dlopen innocuous_dlopen 15629 15630/* System header to define __stub macros and hopefully few prototypes, 15631 which can conflict with char dlopen (); below. 15632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15633 <limits.h> exists even on freestanding compilers. */ 15634 15635#ifdef __STDC__ 15636# include <limits.h> 15637#else 15638# include <assert.h> 15639#endif 15640 15641#undef dlopen 15642 15643/* Override any GCC internal prototype to avoid an error. 15644 Use char because int might match the return type of a GCC 15645 builtin and then its argument prototype would still apply. */ 15646#ifdef __cplusplus 15647extern "C" 15648#endif 15649char dlopen (); 15650/* The GNU C library defines this for functions which it implements 15651 to always fail with ENOSYS. Some functions are actually named 15652 something starting with __ and the normal name is an alias. */ 15653#if defined __stub_dlopen || defined __stub___dlopen 15654choke me 15655#endif 15656 15657int 15658main () 15659{ 15660return dlopen (); 15661 ; 15662 return 0; 15663} 15664_ACEOF 15665rm -f conftest.$ac_objext conftest$ac_exeext 15666if { (ac_try="$ac_link" 15667case "(($ac_try" in 15668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15669 *) ac_try_echo=$ac_try;; 15670esac 15671eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15672$as_echo "$ac_try_echo") >&5 15673 (eval "$ac_link") 2>conftest.er1 15674 ac_status=$? 15675 grep -v '^ *+' conftest.er1 >conftest.err 15676 rm -f conftest.er1 15677 cat conftest.err >&5 15678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15679 (exit $ac_status); } && { 15680 test -z "$ac_c_werror_flag" || 15681 test ! -s conftest.err 15682 } && test -s conftest$ac_exeext && { 15683 test "$cross_compiling" = yes || 15684 $as_test_x conftest$ac_exeext 15685 }; then 15686 ac_cv_func_dlopen=yes 15687else 15688 $as_echo "$as_me: failed program was:" >&5 15689sed 's/^/| /' conftest.$ac_ext >&5 15690 15691 ac_cv_func_dlopen=no 15692fi 15693 15694rm -rf conftest.dSYM 15695rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15696 conftest$ac_exeext conftest.$ac_ext 15697fi 15698{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 15699$as_echo "$ac_cv_func_dlopen" >&6; } 15700if test "x$ac_cv_func_dlopen" = x""yes; then 15701 : 15702else 15703 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 15704$as_echo_n "checking for dlopen in -ldl... " >&6; } 15705if test "${ac_cv_lib_dl_dlopen+set}" = set; then 15706 $as_echo_n "(cached) " >&6 15707else 15708 ac_check_lib_save_LIBS=$LIBS 15709LIBS="-ldl $LIBS" 15710cat >conftest.$ac_ext <<_ACEOF 15711/* confdefs.h. */ 15712_ACEOF 15713cat confdefs.h >>conftest.$ac_ext 15714cat >>conftest.$ac_ext <<_ACEOF 15715/* end confdefs.h. */ 15716 15717/* Override any GCC internal prototype to avoid an error. 15718 Use char because int might match the return type of a GCC 15719 builtin and then its argument prototype would still apply. */ 15720#ifdef __cplusplus 15721extern "C" 15722#endif 15723char dlopen (); 15724int 15725main () 15726{ 15727return dlopen (); 15728 ; 15729 return 0; 15730} 15731_ACEOF 15732rm -f conftest.$ac_objext conftest$ac_exeext 15733if { (ac_try="$ac_link" 15734case "(($ac_try" in 15735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15736 *) ac_try_echo=$ac_try;; 15737esac 15738eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15739$as_echo "$ac_try_echo") >&5 15740 (eval "$ac_link") 2>conftest.er1 15741 ac_status=$? 15742 grep -v '^ *+' conftest.er1 >conftest.err 15743 rm -f conftest.er1 15744 cat conftest.err >&5 15745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15746 (exit $ac_status); } && { 15747 test -z "$ac_c_werror_flag" || 15748 test ! -s conftest.err 15749 } && test -s conftest$ac_exeext && { 15750 test "$cross_compiling" = yes || 15751 $as_test_x conftest$ac_exeext 15752 }; then 15753 ac_cv_lib_dl_dlopen=yes 15754else 15755 $as_echo "$as_me: failed program was:" >&5 15756sed 's/^/| /' conftest.$ac_ext >&5 15757 15758 ac_cv_lib_dl_dlopen=no 15759fi 15760 15761rm -rf conftest.dSYM 15762rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15763 conftest$ac_exeext conftest.$ac_ext 15764LIBS=$ac_check_lib_save_LIBS 15765fi 15766{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 15767$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 15768if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 15769 DLOPEN_LIBS="-ldl" 15770fi 15771 15772fi 15773 15774 15775 15776for ac_func in vprintf 15777do 15778as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15779{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15780$as_echo_n "checking for $ac_func... " >&6; } 15781if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15782 $as_echo_n "(cached) " >&6 15783else 15784 cat >conftest.$ac_ext <<_ACEOF 15785/* confdefs.h. */ 15786_ACEOF 15787cat confdefs.h >>conftest.$ac_ext 15788cat >>conftest.$ac_ext <<_ACEOF 15789/* end confdefs.h. */ 15790/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 15791 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15792#define $ac_func innocuous_$ac_func 15793 15794/* System header to define __stub macros and hopefully few prototypes, 15795 which can conflict with char $ac_func (); below. 15796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15797 <limits.h> exists even on freestanding compilers. */ 15798 15799#ifdef __STDC__ 15800# include <limits.h> 15801#else 15802# include <assert.h> 15803#endif 15804 15805#undef $ac_func 15806 15807/* Override any GCC internal prototype to avoid an error. 15808 Use char because int might match the return type of a GCC 15809 builtin and then its argument prototype would still apply. */ 15810#ifdef __cplusplus 15811extern "C" 15812#endif 15813char $ac_func (); 15814/* The GNU C library defines this for functions which it implements 15815 to always fail with ENOSYS. Some functions are actually named 15816 something starting with __ and the normal name is an alias. */ 15817#if defined __stub_$ac_func || defined __stub___$ac_func 15818choke me 15819#endif 15820 15821int 15822main () 15823{ 15824return $ac_func (); 15825 ; 15826 return 0; 15827} 15828_ACEOF 15829rm -f conftest.$ac_objext conftest$ac_exeext 15830if { (ac_try="$ac_link" 15831case "(($ac_try" in 15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15833 *) ac_try_echo=$ac_try;; 15834esac 15835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15836$as_echo "$ac_try_echo") >&5 15837 (eval "$ac_link") 2>conftest.er1 15838 ac_status=$? 15839 grep -v '^ *+' conftest.er1 >conftest.err 15840 rm -f conftest.er1 15841 cat conftest.err >&5 15842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15843 (exit $ac_status); } && { 15844 test -z "$ac_c_werror_flag" || 15845 test ! -s conftest.err 15846 } && test -s conftest$ac_exeext && { 15847 test "$cross_compiling" = yes || 15848 $as_test_x conftest$ac_exeext 15849 }; then 15850 eval "$as_ac_var=yes" 15851else 15852 $as_echo "$as_me: failed program was:" >&5 15853sed 's/^/| /' conftest.$ac_ext >&5 15854 15855 eval "$as_ac_var=no" 15856fi 15857 15858rm -rf conftest.dSYM 15859rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15860 conftest$ac_exeext conftest.$ac_ext 15861fi 15862ac_res=`eval 'as_val=${'$as_ac_var'} 15863 $as_echo "$as_val"'` 15864 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 15865$as_echo "$ac_res" >&6; } 15866as_val=`eval 'as_val=${'$as_ac_var'} 15867 $as_echo "$as_val"'` 15868 if test "x$as_val" = x""yes; then 15869 cat >>confdefs.h <<_ACEOF 15870#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15871_ACEOF 15872 15873{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5 15874$as_echo_n "checking for _doprnt... " >&6; } 15875if test "${ac_cv_func__doprnt+set}" = set; then 15876 $as_echo_n "(cached) " >&6 15877else 15878 cat >conftest.$ac_ext <<_ACEOF 15879/* confdefs.h. */ 15880_ACEOF 15881cat confdefs.h >>conftest.$ac_ext 15882cat >>conftest.$ac_ext <<_ACEOF 15883/* end confdefs.h. */ 15884/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt. 15885 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 15886#define _doprnt innocuous__doprnt 15887 15888/* System header to define __stub macros and hopefully few prototypes, 15889 which can conflict with char _doprnt (); below. 15890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 15891 <limits.h> exists even on freestanding compilers. */ 15892 15893#ifdef __STDC__ 15894# include <limits.h> 15895#else 15896# include <assert.h> 15897#endif 15898 15899#undef _doprnt 15900 15901/* Override any GCC internal prototype to avoid an error. 15902 Use char because int might match the return type of a GCC 15903 builtin and then its argument prototype would still apply. */ 15904#ifdef __cplusplus 15905extern "C" 15906#endif 15907char _doprnt (); 15908/* The GNU C library defines this for functions which it implements 15909 to always fail with ENOSYS. Some functions are actually named 15910 something starting with __ and the normal name is an alias. */ 15911#if defined __stub__doprnt || defined __stub____doprnt 15912choke me 15913#endif 15914 15915int 15916main () 15917{ 15918return _doprnt (); 15919 ; 15920 return 0; 15921} 15922_ACEOF 15923rm -f conftest.$ac_objext conftest$ac_exeext 15924if { (ac_try="$ac_link" 15925case "(($ac_try" in 15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15927 *) ac_try_echo=$ac_try;; 15928esac 15929eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 15930$as_echo "$ac_try_echo") >&5 15931 (eval "$ac_link") 2>conftest.er1 15932 ac_status=$? 15933 grep -v '^ *+' conftest.er1 >conftest.err 15934 rm -f conftest.er1 15935 cat conftest.err >&5 15936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 15937 (exit $ac_status); } && { 15938 test -z "$ac_c_werror_flag" || 15939 test ! -s conftest.err 15940 } && test -s conftest$ac_exeext && { 15941 test "$cross_compiling" = yes || 15942 $as_test_x conftest$ac_exeext 15943 }; then 15944 ac_cv_func__doprnt=yes 15945else 15946 $as_echo "$as_me: failed program was:" >&5 15947sed 's/^/| /' conftest.$ac_ext >&5 15948 15949 ac_cv_func__doprnt=no 15950fi 15951 15952rm -rf conftest.dSYM 15953rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15954 conftest$ac_exeext conftest.$ac_ext 15955fi 15956{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 15957$as_echo "$ac_cv_func__doprnt" >&6; } 15958if test "x$ac_cv_func__doprnt" = x""yes; then 15959 15960cat >>confdefs.h <<\_ACEOF 15961#define HAVE_DOPRNT 1 15962_ACEOF 15963 15964fi 15965 15966fi 15967done 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989for ac_func in geteuid getuid link memmove memset mkstemp strchr strrchr \ 15990 strtol getopt getopt_long vsnprintf walkcontext backtrace \ 15991 getisax getzoneid shmctl64 strcasestr ffs 15992do 15993as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15994{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 15995$as_echo_n "checking for $ac_func... " >&6; } 15996if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15997 $as_echo_n "(cached) " >&6 15998else 15999 cat >conftest.$ac_ext <<_ACEOF 16000/* confdefs.h. */ 16001_ACEOF 16002cat confdefs.h >>conftest.$ac_ext 16003cat >>conftest.$ac_ext <<_ACEOF 16004/* end confdefs.h. */ 16005/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16006 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16007#define $ac_func innocuous_$ac_func 16008 16009/* System header to define __stub macros and hopefully few prototypes, 16010 which can conflict with char $ac_func (); below. 16011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16012 <limits.h> exists even on freestanding compilers. */ 16013 16014#ifdef __STDC__ 16015# include <limits.h> 16016#else 16017# include <assert.h> 16018#endif 16019 16020#undef $ac_func 16021 16022/* Override any GCC internal prototype to avoid an error. 16023 Use char because int might match the return type of a GCC 16024 builtin and then its argument prototype would still apply. */ 16025#ifdef __cplusplus 16026extern "C" 16027#endif 16028char $ac_func (); 16029/* The GNU C library defines this for functions which it implements 16030 to always fail with ENOSYS. Some functions are actually named 16031 something starting with __ and the normal name is an alias. */ 16032#if defined __stub_$ac_func || defined __stub___$ac_func 16033choke me 16034#endif 16035 16036int 16037main () 16038{ 16039return $ac_func (); 16040 ; 16041 return 0; 16042} 16043_ACEOF 16044rm -f conftest.$ac_objext conftest$ac_exeext 16045if { (ac_try="$ac_link" 16046case "(($ac_try" in 16047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16048 *) ac_try_echo=$ac_try;; 16049esac 16050eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16051$as_echo "$ac_try_echo") >&5 16052 (eval "$ac_link") 2>conftest.er1 16053 ac_status=$? 16054 grep -v '^ *+' conftest.er1 >conftest.err 16055 rm -f conftest.er1 16056 cat conftest.err >&5 16057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16058 (exit $ac_status); } && { 16059 test -z "$ac_c_werror_flag" || 16060 test ! -s conftest.err 16061 } && test -s conftest$ac_exeext && { 16062 test "$cross_compiling" = yes || 16063 $as_test_x conftest$ac_exeext 16064 }; then 16065 eval "$as_ac_var=yes" 16066else 16067 $as_echo "$as_me: failed program was:" >&5 16068sed 's/^/| /' conftest.$ac_ext >&5 16069 16070 eval "$as_ac_var=no" 16071fi 16072 16073rm -rf conftest.dSYM 16074rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16075 conftest$ac_exeext conftest.$ac_ext 16076fi 16077ac_res=`eval 'as_val=${'$as_ac_var'} 16078 $as_echo "$as_val"'` 16079 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16080$as_echo "$ac_res" >&6; } 16081as_val=`eval 'as_val=${'$as_ac_var'} 16082 $as_echo "$as_val"'` 16083 if test "x$as_val" = x""yes; then 16084 cat >>confdefs.h <<_ACEOF 16085#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 16086_ACEOF 16087 16088fi 16089done 16090 16091# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 16092# for constant arguments. Useless! 16093{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5 16094$as_echo_n "checking for working alloca.h... " >&6; } 16095if test "${ac_cv_working_alloca_h+set}" = set; then 16096 $as_echo_n "(cached) " >&6 16097else 16098 cat >conftest.$ac_ext <<_ACEOF 16099/* confdefs.h. */ 16100_ACEOF 16101cat confdefs.h >>conftest.$ac_ext 16102cat >>conftest.$ac_ext <<_ACEOF 16103/* end confdefs.h. */ 16104#include <alloca.h> 16105int 16106main () 16107{ 16108char *p = (char *) alloca (2 * sizeof (int)); 16109 if (p) return 0; 16110 ; 16111 return 0; 16112} 16113_ACEOF 16114rm -f conftest.$ac_objext conftest$ac_exeext 16115if { (ac_try="$ac_link" 16116case "(($ac_try" in 16117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16118 *) ac_try_echo=$ac_try;; 16119esac 16120eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16121$as_echo "$ac_try_echo") >&5 16122 (eval "$ac_link") 2>conftest.er1 16123 ac_status=$? 16124 grep -v '^ *+' conftest.er1 >conftest.err 16125 rm -f conftest.er1 16126 cat conftest.err >&5 16127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16128 (exit $ac_status); } && { 16129 test -z "$ac_c_werror_flag" || 16130 test ! -s conftest.err 16131 } && test -s conftest$ac_exeext && { 16132 test "$cross_compiling" = yes || 16133 $as_test_x conftest$ac_exeext 16134 }; then 16135 ac_cv_working_alloca_h=yes 16136else 16137 $as_echo "$as_me: failed program was:" >&5 16138sed 's/^/| /' conftest.$ac_ext >&5 16139 16140 ac_cv_working_alloca_h=no 16141fi 16142 16143rm -rf conftest.dSYM 16144rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16145 conftest$ac_exeext conftest.$ac_ext 16146fi 16147{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 16148$as_echo "$ac_cv_working_alloca_h" >&6; } 16149if test $ac_cv_working_alloca_h = yes; then 16150 16151cat >>confdefs.h <<\_ACEOF 16152#define HAVE_ALLOCA_H 1 16153_ACEOF 16154 16155fi 16156 16157{ $as_echo "$as_me:$LINENO: checking for alloca" >&5 16158$as_echo_n "checking for alloca... " >&6; } 16159if test "${ac_cv_func_alloca_works+set}" = set; then 16160 $as_echo_n "(cached) " >&6 16161else 16162 cat >conftest.$ac_ext <<_ACEOF 16163/* confdefs.h. */ 16164_ACEOF 16165cat confdefs.h >>conftest.$ac_ext 16166cat >>conftest.$ac_ext <<_ACEOF 16167/* end confdefs.h. */ 16168#ifdef __GNUC__ 16169# define alloca __builtin_alloca 16170#else 16171# ifdef _MSC_VER 16172# include <malloc.h> 16173# define alloca _alloca 16174# else 16175# ifdef HAVE_ALLOCA_H 16176# include <alloca.h> 16177# else 16178# ifdef _AIX 16179 #pragma alloca 16180# else 16181# ifndef alloca /* predefined by HP cc +Olibcalls */ 16182char *alloca (); 16183# endif 16184# endif 16185# endif 16186# endif 16187#endif 16188 16189int 16190main () 16191{ 16192char *p = (char *) alloca (1); 16193 if (p) return 0; 16194 ; 16195 return 0; 16196} 16197_ACEOF 16198rm -f conftest.$ac_objext conftest$ac_exeext 16199if { (ac_try="$ac_link" 16200case "(($ac_try" in 16201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16202 *) ac_try_echo=$ac_try;; 16203esac 16204eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16205$as_echo "$ac_try_echo") >&5 16206 (eval "$ac_link") 2>conftest.er1 16207 ac_status=$? 16208 grep -v '^ *+' conftest.er1 >conftest.err 16209 rm -f conftest.er1 16210 cat conftest.err >&5 16211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16212 (exit $ac_status); } && { 16213 test -z "$ac_c_werror_flag" || 16214 test ! -s conftest.err 16215 } && test -s conftest$ac_exeext && { 16216 test "$cross_compiling" = yes || 16217 $as_test_x conftest$ac_exeext 16218 }; then 16219 ac_cv_func_alloca_works=yes 16220else 16221 $as_echo "$as_me: failed program was:" >&5 16222sed 's/^/| /' conftest.$ac_ext >&5 16223 16224 ac_cv_func_alloca_works=no 16225fi 16226 16227rm -rf conftest.dSYM 16228rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16229 conftest$ac_exeext conftest.$ac_ext 16230fi 16231{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 16232$as_echo "$ac_cv_func_alloca_works" >&6; } 16233 16234if test $ac_cv_func_alloca_works = yes; then 16235 16236cat >>confdefs.h <<\_ACEOF 16237#define HAVE_ALLOCA 1 16238_ACEOF 16239 16240else 16241 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 16242# that cause trouble. Some versions do not even contain alloca or 16243# contain a buggy version. If you still want to use their alloca, 16244# use ar to extract alloca.o from them instead of compiling alloca.c. 16245 16246ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 16247 16248cat >>confdefs.h <<\_ACEOF 16249#define C_ALLOCA 1 16250_ACEOF 16251 16252 16253{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 16254$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 16255if test "${ac_cv_os_cray+set}" = set; then 16256 $as_echo_n "(cached) " >&6 16257else 16258 cat >conftest.$ac_ext <<_ACEOF 16259/* confdefs.h. */ 16260_ACEOF 16261cat confdefs.h >>conftest.$ac_ext 16262cat >>conftest.$ac_ext <<_ACEOF 16263/* end confdefs.h. */ 16264#if defined CRAY && ! defined CRAY2 16265webecray 16266#else 16267wenotbecray 16268#endif 16269 16270_ACEOF 16271if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 16272 $EGREP "webecray" >/dev/null 2>&1; then 16273 ac_cv_os_cray=yes 16274else 16275 ac_cv_os_cray=no 16276fi 16277rm -f conftest* 16278 16279fi 16280{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 16281$as_echo "$ac_cv_os_cray" >&6; } 16282if test $ac_cv_os_cray = yes; then 16283 for ac_func in _getb67 GETB67 getb67; do 16284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 16285{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 16286$as_echo_n "checking for $ac_func... " >&6; } 16287if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 16288 $as_echo_n "(cached) " >&6 16289else 16290 cat >conftest.$ac_ext <<_ACEOF 16291/* confdefs.h. */ 16292_ACEOF 16293cat confdefs.h >>conftest.$ac_ext 16294cat >>conftest.$ac_ext <<_ACEOF 16295/* end confdefs.h. */ 16296/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 16297 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16298#define $ac_func innocuous_$ac_func 16299 16300/* System header to define __stub macros and hopefully few prototypes, 16301 which can conflict with char $ac_func (); below. 16302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16303 <limits.h> exists even on freestanding compilers. */ 16304 16305#ifdef __STDC__ 16306# include <limits.h> 16307#else 16308# include <assert.h> 16309#endif 16310 16311#undef $ac_func 16312 16313/* Override any GCC internal prototype to avoid an error. 16314 Use char because int might match the return type of a GCC 16315 builtin and then its argument prototype would still apply. */ 16316#ifdef __cplusplus 16317extern "C" 16318#endif 16319char $ac_func (); 16320/* The GNU C library defines this for functions which it implements 16321 to always fail with ENOSYS. Some functions are actually named 16322 something starting with __ and the normal name is an alias. */ 16323#if defined __stub_$ac_func || defined __stub___$ac_func 16324choke me 16325#endif 16326 16327int 16328main () 16329{ 16330return $ac_func (); 16331 ; 16332 return 0; 16333} 16334_ACEOF 16335rm -f conftest.$ac_objext conftest$ac_exeext 16336if { (ac_try="$ac_link" 16337case "(($ac_try" in 16338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16339 *) ac_try_echo=$ac_try;; 16340esac 16341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16342$as_echo "$ac_try_echo") >&5 16343 (eval "$ac_link") 2>conftest.er1 16344 ac_status=$? 16345 grep -v '^ *+' conftest.er1 >conftest.err 16346 rm -f conftest.er1 16347 cat conftest.err >&5 16348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16349 (exit $ac_status); } && { 16350 test -z "$ac_c_werror_flag" || 16351 test ! -s conftest.err 16352 } && test -s conftest$ac_exeext && { 16353 test "$cross_compiling" = yes || 16354 $as_test_x conftest$ac_exeext 16355 }; then 16356 eval "$as_ac_var=yes" 16357else 16358 $as_echo "$as_me: failed program was:" >&5 16359sed 's/^/| /' conftest.$ac_ext >&5 16360 16361 eval "$as_ac_var=no" 16362fi 16363 16364rm -rf conftest.dSYM 16365rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16366 conftest$ac_exeext conftest.$ac_ext 16367fi 16368ac_res=`eval 'as_val=${'$as_ac_var'} 16369 $as_echo "$as_val"'` 16370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 16371$as_echo "$ac_res" >&6; } 16372as_val=`eval 'as_val=${'$as_ac_var'} 16373 $as_echo "$as_val"'` 16374 if test "x$as_val" = x""yes; then 16375 16376cat >>confdefs.h <<_ACEOF 16377#define CRAY_STACKSEG_END $ac_func 16378_ACEOF 16379 16380 break 16381fi 16382 16383 done 16384fi 16385 16386{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 16387$as_echo_n "checking stack direction for C alloca... " >&6; } 16388if test "${ac_cv_c_stack_direction+set}" = set; then 16389 $as_echo_n "(cached) " >&6 16390else 16391 if test "$cross_compiling" = yes; then 16392 ac_cv_c_stack_direction=0 16393else 16394 cat >conftest.$ac_ext <<_ACEOF 16395/* confdefs.h. */ 16396_ACEOF 16397cat confdefs.h >>conftest.$ac_ext 16398cat >>conftest.$ac_ext <<_ACEOF 16399/* end confdefs.h. */ 16400$ac_includes_default 16401int 16402find_stack_direction () 16403{ 16404 static char *addr = 0; 16405 auto char dummy; 16406 if (addr == 0) 16407 { 16408 addr = &dummy; 16409 return find_stack_direction (); 16410 } 16411 else 16412 return (&dummy > addr) ? 1 : -1; 16413} 16414 16415int 16416main () 16417{ 16418 return find_stack_direction () < 0; 16419} 16420_ACEOF 16421rm -f conftest$ac_exeext 16422if { (ac_try="$ac_link" 16423case "(($ac_try" in 16424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16425 *) ac_try_echo=$ac_try;; 16426esac 16427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16428$as_echo "$ac_try_echo") >&5 16429 (eval "$ac_link") 2>&5 16430 ac_status=$? 16431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16433 { (case "(($ac_try" in 16434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16435 *) ac_try_echo=$ac_try;; 16436esac 16437eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16438$as_echo "$ac_try_echo") >&5 16439 (eval "$ac_try") 2>&5 16440 ac_status=$? 16441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16442 (exit $ac_status); }; }; then 16443 ac_cv_c_stack_direction=1 16444else 16445 $as_echo "$as_me: program exited with status $ac_status" >&5 16446$as_echo "$as_me: failed program was:" >&5 16447sed 's/^/| /' conftest.$ac_ext >&5 16448 16449( exit $ac_status ) 16450ac_cv_c_stack_direction=-1 16451fi 16452rm -rf conftest.dSYM 16453rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16454fi 16455 16456 16457fi 16458{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 16459$as_echo "$ac_cv_c_stack_direction" >&6; } 16460 16461cat >>confdefs.h <<_ACEOF 16462#define STACK_DIRECTION $ac_cv_c_stack_direction 16463_ACEOF 16464 16465 16466fi 16467 16468{ $as_echo "$as_me:$LINENO: checking for getdtablesize" >&5 16469$as_echo_n "checking for getdtablesize... " >&6; } 16470if test "${ac_cv_func_getdtablesize+set}" = set; then 16471 $as_echo_n "(cached) " >&6 16472else 16473 cat >conftest.$ac_ext <<_ACEOF 16474/* confdefs.h. */ 16475_ACEOF 16476cat confdefs.h >>conftest.$ac_ext 16477cat >>conftest.$ac_ext <<_ACEOF 16478/* end confdefs.h. */ 16479/* Define getdtablesize to an innocuous variant, in case <limits.h> declares getdtablesize. 16480 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16481#define getdtablesize innocuous_getdtablesize 16482 16483/* System header to define __stub macros and hopefully few prototypes, 16484 which can conflict with char getdtablesize (); below. 16485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16486 <limits.h> exists even on freestanding compilers. */ 16487 16488#ifdef __STDC__ 16489# include <limits.h> 16490#else 16491# include <assert.h> 16492#endif 16493 16494#undef getdtablesize 16495 16496/* Override any GCC internal prototype to avoid an error. 16497 Use char because int might match the return type of a GCC 16498 builtin and then its argument prototype would still apply. */ 16499#ifdef __cplusplus 16500extern "C" 16501#endif 16502char getdtablesize (); 16503/* The GNU C library defines this for functions which it implements 16504 to always fail with ENOSYS. Some functions are actually named 16505 something starting with __ and the normal name is an alias. */ 16506#if defined __stub_getdtablesize || defined __stub___getdtablesize 16507choke me 16508#endif 16509 16510int 16511main () 16512{ 16513return getdtablesize (); 16514 ; 16515 return 0; 16516} 16517_ACEOF 16518rm -f conftest.$ac_objext conftest$ac_exeext 16519if { (ac_try="$ac_link" 16520case "(($ac_try" in 16521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16522 *) ac_try_echo=$ac_try;; 16523esac 16524eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16525$as_echo "$ac_try_echo") >&5 16526 (eval "$ac_link") 2>conftest.er1 16527 ac_status=$? 16528 grep -v '^ *+' conftest.er1 >conftest.err 16529 rm -f conftest.er1 16530 cat conftest.err >&5 16531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16532 (exit $ac_status); } && { 16533 test -z "$ac_c_werror_flag" || 16534 test ! -s conftest.err 16535 } && test -s conftest$ac_exeext && { 16536 test "$cross_compiling" = yes || 16537 $as_test_x conftest$ac_exeext 16538 }; then 16539 ac_cv_func_getdtablesize=yes 16540else 16541 $as_echo "$as_me: failed program was:" >&5 16542sed 's/^/| /' conftest.$ac_ext >&5 16543 16544 ac_cv_func_getdtablesize=no 16545fi 16546 16547rm -rf conftest.dSYM 16548rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16549 conftest$ac_exeext conftest.$ac_ext 16550fi 16551{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getdtablesize" >&5 16552$as_echo "$ac_cv_func_getdtablesize" >&6; } 16553if test "x$ac_cv_func_getdtablesize" = x""yes; then 16554 16555cat >>confdefs.h <<\_ACEOF 16556#define HAS_GETDTABLESIZE 1 16557_ACEOF 16558 16559fi 16560 16561{ $as_echo "$as_me:$LINENO: checking for getifaddrs" >&5 16562$as_echo_n "checking for getifaddrs... " >&6; } 16563if test "${ac_cv_func_getifaddrs+set}" = set; then 16564 $as_echo_n "(cached) " >&6 16565else 16566 cat >conftest.$ac_ext <<_ACEOF 16567/* confdefs.h. */ 16568_ACEOF 16569cat confdefs.h >>conftest.$ac_ext 16570cat >>conftest.$ac_ext <<_ACEOF 16571/* end confdefs.h. */ 16572/* Define getifaddrs to an innocuous variant, in case <limits.h> declares getifaddrs. 16573 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16574#define getifaddrs innocuous_getifaddrs 16575 16576/* System header to define __stub macros and hopefully few prototypes, 16577 which can conflict with char getifaddrs (); below. 16578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16579 <limits.h> exists even on freestanding compilers. */ 16580 16581#ifdef __STDC__ 16582# include <limits.h> 16583#else 16584# include <assert.h> 16585#endif 16586 16587#undef getifaddrs 16588 16589/* Override any GCC internal prototype to avoid an error. 16590 Use char because int might match the return type of a GCC 16591 builtin and then its argument prototype would still apply. */ 16592#ifdef __cplusplus 16593extern "C" 16594#endif 16595char getifaddrs (); 16596/* The GNU C library defines this for functions which it implements 16597 to always fail with ENOSYS. Some functions are actually named 16598 something starting with __ and the normal name is an alias. */ 16599#if defined __stub_getifaddrs || defined __stub___getifaddrs 16600choke me 16601#endif 16602 16603int 16604main () 16605{ 16606return getifaddrs (); 16607 ; 16608 return 0; 16609} 16610_ACEOF 16611rm -f conftest.$ac_objext conftest$ac_exeext 16612if { (ac_try="$ac_link" 16613case "(($ac_try" in 16614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16615 *) ac_try_echo=$ac_try;; 16616esac 16617eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16618$as_echo "$ac_try_echo") >&5 16619 (eval "$ac_link") 2>conftest.er1 16620 ac_status=$? 16621 grep -v '^ *+' conftest.er1 >conftest.err 16622 rm -f conftest.er1 16623 cat conftest.err >&5 16624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16625 (exit $ac_status); } && { 16626 test -z "$ac_c_werror_flag" || 16627 test ! -s conftest.err 16628 } && test -s conftest$ac_exeext && { 16629 test "$cross_compiling" = yes || 16630 $as_test_x conftest$ac_exeext 16631 }; then 16632 ac_cv_func_getifaddrs=yes 16633else 16634 $as_echo "$as_me: failed program was:" >&5 16635sed 's/^/| /' conftest.$ac_ext >&5 16636 16637 ac_cv_func_getifaddrs=no 16638fi 16639 16640rm -rf conftest.dSYM 16641rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16642 conftest$ac_exeext conftest.$ac_ext 16643fi 16644{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getifaddrs" >&5 16645$as_echo "$ac_cv_func_getifaddrs" >&6; } 16646if test "x$ac_cv_func_getifaddrs" = x""yes; then 16647 16648cat >>confdefs.h <<\_ACEOF 16649#define HAS_GETIFADDRS 1 16650_ACEOF 16651 16652fi 16653 16654{ $as_echo "$as_me:$LINENO: checking for getpeereid" >&5 16655$as_echo_n "checking for getpeereid... " >&6; } 16656if test "${ac_cv_func_getpeereid+set}" = set; then 16657 $as_echo_n "(cached) " >&6 16658else 16659 cat >conftest.$ac_ext <<_ACEOF 16660/* confdefs.h. */ 16661_ACEOF 16662cat confdefs.h >>conftest.$ac_ext 16663cat >>conftest.$ac_ext <<_ACEOF 16664/* end confdefs.h. */ 16665/* Define getpeereid to an innocuous variant, in case <limits.h> declares getpeereid. 16666 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16667#define getpeereid innocuous_getpeereid 16668 16669/* System header to define __stub macros and hopefully few prototypes, 16670 which can conflict with char getpeereid (); below. 16671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16672 <limits.h> exists even on freestanding compilers. */ 16673 16674#ifdef __STDC__ 16675# include <limits.h> 16676#else 16677# include <assert.h> 16678#endif 16679 16680#undef getpeereid 16681 16682/* Override any GCC internal prototype to avoid an error. 16683 Use char because int might match the return type of a GCC 16684 builtin and then its argument prototype would still apply. */ 16685#ifdef __cplusplus 16686extern "C" 16687#endif 16688char getpeereid (); 16689/* The GNU C library defines this for functions which it implements 16690 to always fail with ENOSYS. Some functions are actually named 16691 something starting with __ and the normal name is an alias. */ 16692#if defined __stub_getpeereid || defined __stub___getpeereid 16693choke me 16694#endif 16695 16696int 16697main () 16698{ 16699return getpeereid (); 16700 ; 16701 return 0; 16702} 16703_ACEOF 16704rm -f conftest.$ac_objext conftest$ac_exeext 16705if { (ac_try="$ac_link" 16706case "(($ac_try" in 16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16708 *) ac_try_echo=$ac_try;; 16709esac 16710eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16711$as_echo "$ac_try_echo") >&5 16712 (eval "$ac_link") 2>conftest.er1 16713 ac_status=$? 16714 grep -v '^ *+' conftest.er1 >conftest.err 16715 rm -f conftest.er1 16716 cat conftest.err >&5 16717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16718 (exit $ac_status); } && { 16719 test -z "$ac_c_werror_flag" || 16720 test ! -s conftest.err 16721 } && test -s conftest$ac_exeext && { 16722 test "$cross_compiling" = yes || 16723 $as_test_x conftest$ac_exeext 16724 }; then 16725 ac_cv_func_getpeereid=yes 16726else 16727 $as_echo "$as_me: failed program was:" >&5 16728sed 's/^/| /' conftest.$ac_ext >&5 16729 16730 ac_cv_func_getpeereid=no 16731fi 16732 16733rm -rf conftest.dSYM 16734rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16735 conftest$ac_exeext conftest.$ac_ext 16736fi 16737{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpeereid" >&5 16738$as_echo "$ac_cv_func_getpeereid" >&6; } 16739if test "x$ac_cv_func_getpeereid" = x""yes; then 16740 16741cat >>confdefs.h <<\_ACEOF 16742#define HAS_GETPEEREID 1 16743_ACEOF 16744 16745fi 16746 16747{ $as_echo "$as_me:$LINENO: checking for getpeerucred" >&5 16748$as_echo_n "checking for getpeerucred... " >&6; } 16749if test "${ac_cv_func_getpeerucred+set}" = set; then 16750 $as_echo_n "(cached) " >&6 16751else 16752 cat >conftest.$ac_ext <<_ACEOF 16753/* confdefs.h. */ 16754_ACEOF 16755cat confdefs.h >>conftest.$ac_ext 16756cat >>conftest.$ac_ext <<_ACEOF 16757/* end confdefs.h. */ 16758/* Define getpeerucred to an innocuous variant, in case <limits.h> declares getpeerucred. 16759 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16760#define getpeerucred innocuous_getpeerucred 16761 16762/* System header to define __stub macros and hopefully few prototypes, 16763 which can conflict with char getpeerucred (); below. 16764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16765 <limits.h> exists even on freestanding compilers. */ 16766 16767#ifdef __STDC__ 16768# include <limits.h> 16769#else 16770# include <assert.h> 16771#endif 16772 16773#undef getpeerucred 16774 16775/* Override any GCC internal prototype to avoid an error. 16776 Use char because int might match the return type of a GCC 16777 builtin and then its argument prototype would still apply. */ 16778#ifdef __cplusplus 16779extern "C" 16780#endif 16781char getpeerucred (); 16782/* The GNU C library defines this for functions which it implements 16783 to always fail with ENOSYS. Some functions are actually named 16784 something starting with __ and the normal name is an alias. */ 16785#if defined __stub_getpeerucred || defined __stub___getpeerucred 16786choke me 16787#endif 16788 16789int 16790main () 16791{ 16792return getpeerucred (); 16793 ; 16794 return 0; 16795} 16796_ACEOF 16797rm -f conftest.$ac_objext conftest$ac_exeext 16798if { (ac_try="$ac_link" 16799case "(($ac_try" in 16800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16801 *) ac_try_echo=$ac_try;; 16802esac 16803eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16804$as_echo "$ac_try_echo") >&5 16805 (eval "$ac_link") 2>conftest.er1 16806 ac_status=$? 16807 grep -v '^ *+' conftest.er1 >conftest.err 16808 rm -f conftest.er1 16809 cat conftest.err >&5 16810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16811 (exit $ac_status); } && { 16812 test -z "$ac_c_werror_flag" || 16813 test ! -s conftest.err 16814 } && test -s conftest$ac_exeext && { 16815 test "$cross_compiling" = yes || 16816 $as_test_x conftest$ac_exeext 16817 }; then 16818 ac_cv_func_getpeerucred=yes 16819else 16820 $as_echo "$as_me: failed program was:" >&5 16821sed 's/^/| /' conftest.$ac_ext >&5 16822 16823 ac_cv_func_getpeerucred=no 16824fi 16825 16826rm -rf conftest.dSYM 16827rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16828 conftest$ac_exeext conftest.$ac_ext 16829fi 16830{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpeerucred" >&5 16831$as_echo "$ac_cv_func_getpeerucred" >&6; } 16832if test "x$ac_cv_func_getpeerucred" = x""yes; then 16833 16834cat >>confdefs.h <<\_ACEOF 16835#define HAS_GETPEERUCRED 1 16836_ACEOF 16837 16838fi 16839 16840{ $as_echo "$as_me:$LINENO: checking for strlcat" >&5 16841$as_echo_n "checking for strlcat... " >&6; } 16842if test "${ac_cv_func_strlcat+set}" = set; then 16843 $as_echo_n "(cached) " >&6 16844else 16845 cat >conftest.$ac_ext <<_ACEOF 16846/* confdefs.h. */ 16847_ACEOF 16848cat confdefs.h >>conftest.$ac_ext 16849cat >>conftest.$ac_ext <<_ACEOF 16850/* end confdefs.h. */ 16851/* Define strlcat to an innocuous variant, in case <limits.h> declares strlcat. 16852 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16853#define strlcat innocuous_strlcat 16854 16855/* System header to define __stub macros and hopefully few prototypes, 16856 which can conflict with char strlcat (); below. 16857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16858 <limits.h> exists even on freestanding compilers. */ 16859 16860#ifdef __STDC__ 16861# include <limits.h> 16862#else 16863# include <assert.h> 16864#endif 16865 16866#undef strlcat 16867 16868/* Override any GCC internal prototype to avoid an error. 16869 Use char because int might match the return type of a GCC 16870 builtin and then its argument prototype would still apply. */ 16871#ifdef __cplusplus 16872extern "C" 16873#endif 16874char strlcat (); 16875/* The GNU C library defines this for functions which it implements 16876 to always fail with ENOSYS. Some functions are actually named 16877 something starting with __ and the normal name is an alias. */ 16878#if defined __stub_strlcat || defined __stub___strlcat 16879choke me 16880#endif 16881 16882int 16883main () 16884{ 16885return strlcat (); 16886 ; 16887 return 0; 16888} 16889_ACEOF 16890rm -f conftest.$ac_objext conftest$ac_exeext 16891if { (ac_try="$ac_link" 16892case "(($ac_try" in 16893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16894 *) ac_try_echo=$ac_try;; 16895esac 16896eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16897$as_echo "$ac_try_echo") >&5 16898 (eval "$ac_link") 2>conftest.er1 16899 ac_status=$? 16900 grep -v '^ *+' conftest.er1 >conftest.err 16901 rm -f conftest.er1 16902 cat conftest.err >&5 16903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 16904 (exit $ac_status); } && { 16905 test -z "$ac_c_werror_flag" || 16906 test ! -s conftest.err 16907 } && test -s conftest$ac_exeext && { 16908 test "$cross_compiling" = yes || 16909 $as_test_x conftest$ac_exeext 16910 }; then 16911 ac_cv_func_strlcat=yes 16912else 16913 $as_echo "$as_me: failed program was:" >&5 16914sed 's/^/| /' conftest.$ac_ext >&5 16915 16916 ac_cv_func_strlcat=no 16917fi 16918 16919rm -rf conftest.dSYM 16920rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16921 conftest$ac_exeext conftest.$ac_ext 16922fi 16923{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strlcat" >&5 16924$as_echo "$ac_cv_func_strlcat" >&6; } 16925if test "x$ac_cv_func_strlcat" = x""yes; then 16926 HAVE_STRLCAT=yes 16927else 16928 HAVE_STRLCAT=no 16929fi 16930 16931 if test x$HAVE_STRLCAT = xno; then 16932 NEED_STRLCAT_TRUE= 16933 NEED_STRLCAT_FALSE='#' 16934else 16935 NEED_STRLCAT_TRUE='#' 16936 NEED_STRLCAT_FALSE= 16937fi 16938 16939{ $as_echo "$as_me:$LINENO: checking for strlcpy" >&5 16940$as_echo_n "checking for strlcpy... " >&6; } 16941if test "${ac_cv_func_strlcpy+set}" = set; then 16942 $as_echo_n "(cached) " >&6 16943else 16944 cat >conftest.$ac_ext <<_ACEOF 16945/* confdefs.h. */ 16946_ACEOF 16947cat confdefs.h >>conftest.$ac_ext 16948cat >>conftest.$ac_ext <<_ACEOF 16949/* end confdefs.h. */ 16950/* Define strlcpy to an innocuous variant, in case <limits.h> declares strlcpy. 16951 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 16952#define strlcpy innocuous_strlcpy 16953 16954/* System header to define __stub macros and hopefully few prototypes, 16955 which can conflict with char strlcpy (); below. 16956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 16957 <limits.h> exists even on freestanding compilers. */ 16958 16959#ifdef __STDC__ 16960# include <limits.h> 16961#else 16962# include <assert.h> 16963#endif 16964 16965#undef strlcpy 16966 16967/* Override any GCC internal prototype to avoid an error. 16968 Use char because int might match the return type of a GCC 16969 builtin and then its argument prototype would still apply. */ 16970#ifdef __cplusplus 16971extern "C" 16972#endif 16973char strlcpy (); 16974/* The GNU C library defines this for functions which it implements 16975 to always fail with ENOSYS. Some functions are actually named 16976 something starting with __ and the normal name is an alias. */ 16977#if defined __stub_strlcpy || defined __stub___strlcpy 16978choke me 16979#endif 16980 16981int 16982main () 16983{ 16984return strlcpy (); 16985 ; 16986 return 0; 16987} 16988_ACEOF 16989rm -f conftest.$ac_objext conftest$ac_exeext 16990if { (ac_try="$ac_link" 16991case "(($ac_try" in 16992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16993 *) ac_try_echo=$ac_try;; 16994esac 16995eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 16996$as_echo "$ac_try_echo") >&5 16997 (eval "$ac_link") 2>conftest.er1 16998 ac_status=$? 16999 grep -v '^ *+' conftest.er1 >conftest.err 17000 rm -f conftest.er1 17001 cat conftest.err >&5 17002 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17003 (exit $ac_status); } && { 17004 test -z "$ac_c_werror_flag" || 17005 test ! -s conftest.err 17006 } && test -s conftest$ac_exeext && { 17007 test "$cross_compiling" = yes || 17008 $as_test_x conftest$ac_exeext 17009 }; then 17010 ac_cv_func_strlcpy=yes 17011else 17012 $as_echo "$as_me: failed program was:" >&5 17013sed 's/^/| /' conftest.$ac_ext >&5 17014 17015 ac_cv_func_strlcpy=no 17016fi 17017 17018rm -rf conftest.dSYM 17019rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17020 conftest$ac_exeext conftest.$ac_ext 17021fi 17022{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strlcpy" >&5 17023$as_echo "$ac_cv_func_strlcpy" >&6; } 17024if test "x$ac_cv_func_strlcpy" = x""yes; then 17025 17026cat >>confdefs.h <<\_ACEOF 17027#define HAS_STRLCPY 1 17028_ACEOF 17029 17030fi 17031 17032 17033 if test x$HAVE_VSNPRINTF = xno; then 17034 NEED_VSNPRINTF_TRUE= 17035 NEED_VSNPRINTF_FALSE='#' 17036else 17037 NEED_VSNPRINTF_TRUE='#' 17038 NEED_VSNPRINTF_FALSE= 17039fi 17040 17041 17042{ $as_echo "$as_me:$LINENO: checking for mmap" >&5 17043$as_echo_n "checking for mmap... " >&6; } 17044if test "${ac_cv_func_mmap+set}" = set; then 17045 $as_echo_n "(cached) " >&6 17046else 17047 cat >conftest.$ac_ext <<_ACEOF 17048/* confdefs.h. */ 17049_ACEOF 17050cat confdefs.h >>conftest.$ac_ext 17051cat >>conftest.$ac_ext <<_ACEOF 17052/* end confdefs.h. */ 17053/* Define mmap to an innocuous variant, in case <limits.h> declares mmap. 17054 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 17055#define mmap innocuous_mmap 17056 17057/* System header to define __stub macros and hopefully few prototypes, 17058 which can conflict with char mmap (); below. 17059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 17060 <limits.h> exists even on freestanding compilers. */ 17061 17062#ifdef __STDC__ 17063# include <limits.h> 17064#else 17065# include <assert.h> 17066#endif 17067 17068#undef mmap 17069 17070/* Override any GCC internal prototype to avoid an error. 17071 Use char because int might match the return type of a GCC 17072 builtin and then its argument prototype would still apply. */ 17073#ifdef __cplusplus 17074extern "C" 17075#endif 17076char mmap (); 17077/* The GNU C library defines this for functions which it implements 17078 to always fail with ENOSYS. Some functions are actually named 17079 something starting with __ and the normal name is an alias. */ 17080#if defined __stub_mmap || defined __stub___mmap 17081choke me 17082#endif 17083 17084int 17085main () 17086{ 17087return mmap (); 17088 ; 17089 return 0; 17090} 17091_ACEOF 17092rm -f conftest.$ac_objext conftest$ac_exeext 17093if { (ac_try="$ac_link" 17094case "(($ac_try" in 17095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17096 *) ac_try_echo=$ac_try;; 17097esac 17098eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17099$as_echo "$ac_try_echo") >&5 17100 (eval "$ac_link") 2>conftest.er1 17101 ac_status=$? 17102 grep -v '^ *+' conftest.er1 >conftest.err 17103 rm -f conftest.er1 17104 cat conftest.err >&5 17105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17106 (exit $ac_status); } && { 17107 test -z "$ac_c_werror_flag" || 17108 test ! -s conftest.err 17109 } && test -s conftest$ac_exeext && { 17110 test "$cross_compiling" = yes || 17111 $as_test_x conftest$ac_exeext 17112 }; then 17113 ac_cv_func_mmap=yes 17114else 17115 $as_echo "$as_me: failed program was:" >&5 17116sed 's/^/| /' conftest.$ac_ext >&5 17117 17118 ac_cv_func_mmap=no 17119fi 17120 17121rm -rf conftest.dSYM 17122rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17123 conftest$ac_exeext conftest.$ac_ext 17124fi 17125{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 17126$as_echo "$ac_cv_func_mmap" >&6; } 17127if test "x$ac_cv_func_mmap" = x""yes; then 17128 17129cat >>confdefs.h <<\_ACEOF 17130#define HAS_MMAP 1 17131_ACEOF 17132 17133fi 17134 17135 17136 17137{ $as_echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 17138$as_echo_n "checking for sqrt in -lm... " >&6; } 17139if test "${ac_cv_lib_m_sqrt+set}" = set; then 17140 $as_echo_n "(cached) " >&6 17141else 17142 ac_check_lib_save_LIBS=$LIBS 17143LIBS="-lm $LIBS" 17144cat >conftest.$ac_ext <<_ACEOF 17145/* confdefs.h. */ 17146_ACEOF 17147cat confdefs.h >>conftest.$ac_ext 17148cat >>conftest.$ac_ext <<_ACEOF 17149/* end confdefs.h. */ 17150 17151/* Override any GCC internal prototype to avoid an error. 17152 Use char because int might match the return type of a GCC 17153 builtin and then its argument prototype would still apply. */ 17154#ifdef __cplusplus 17155extern "C" 17156#endif 17157char sqrt (); 17158int 17159main () 17160{ 17161return sqrt (); 17162 ; 17163 return 0; 17164} 17165_ACEOF 17166rm -f conftest.$ac_objext conftest$ac_exeext 17167if { (ac_try="$ac_link" 17168case "(($ac_try" in 17169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17170 *) ac_try_echo=$ac_try;; 17171esac 17172eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17173$as_echo "$ac_try_echo") >&5 17174 (eval "$ac_link") 2>conftest.er1 17175 ac_status=$? 17176 grep -v '^ *+' conftest.er1 >conftest.err 17177 rm -f conftest.er1 17178 cat conftest.err >&5 17179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17180 (exit $ac_status); } && { 17181 test -z "$ac_c_werror_flag" || 17182 test ! -s conftest.err 17183 } && test -s conftest$ac_exeext && { 17184 test "$cross_compiling" = yes || 17185 $as_test_x conftest$ac_exeext 17186 }; then 17187 ac_cv_lib_m_sqrt=yes 17188else 17189 $as_echo "$as_me: failed program was:" >&5 17190sed 's/^/| /' conftest.$ac_ext >&5 17191 17192 ac_cv_lib_m_sqrt=no 17193fi 17194 17195rm -rf conftest.dSYM 17196rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17197 conftest$ac_exeext conftest.$ac_ext 17198LIBS=$ac_check_lib_save_LIBS 17199fi 17200{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 17201$as_echo "$ac_cv_lib_m_sqrt" >&6; } 17202if test "x$ac_cv_lib_m_sqrt" = x""yes; then 17203 cat >>confdefs.h <<_ACEOF 17204#define HAVE_LIBM 1 17205_ACEOF 17206 17207 LIBS="-lm $LIBS" 17208 17209fi 17210 17211{ $as_echo "$as_me:$LINENO: checking for cbrt in -lm" >&5 17212$as_echo_n "checking for cbrt in -lm... " >&6; } 17213if test "${ac_cv_lib_m_cbrt+set}" = set; then 17214 $as_echo_n "(cached) " >&6 17215else 17216 ac_check_lib_save_LIBS=$LIBS 17217LIBS="-lm $LIBS" 17218cat >conftest.$ac_ext <<_ACEOF 17219/* confdefs.h. */ 17220_ACEOF 17221cat confdefs.h >>conftest.$ac_ext 17222cat >>conftest.$ac_ext <<_ACEOF 17223/* end confdefs.h. */ 17224 17225/* Override any GCC internal prototype to avoid an error. 17226 Use char because int might match the return type of a GCC 17227 builtin and then its argument prototype would still apply. */ 17228#ifdef __cplusplus 17229extern "C" 17230#endif 17231char cbrt (); 17232int 17233main () 17234{ 17235return cbrt (); 17236 ; 17237 return 0; 17238} 17239_ACEOF 17240rm -f conftest.$ac_objext conftest$ac_exeext 17241if { (ac_try="$ac_link" 17242case "(($ac_try" in 17243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17244 *) ac_try_echo=$ac_try;; 17245esac 17246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17247$as_echo "$ac_try_echo") >&5 17248 (eval "$ac_link") 2>conftest.er1 17249 ac_status=$? 17250 grep -v '^ *+' conftest.er1 >conftest.err 17251 rm -f conftest.er1 17252 cat conftest.err >&5 17253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17254 (exit $ac_status); } && { 17255 test -z "$ac_c_werror_flag" || 17256 test ! -s conftest.err 17257 } && test -s conftest$ac_exeext && { 17258 test "$cross_compiling" = yes || 17259 $as_test_x conftest$ac_exeext 17260 }; then 17261 ac_cv_lib_m_cbrt=yes 17262else 17263 $as_echo "$as_me: failed program was:" >&5 17264sed 's/^/| /' conftest.$ac_ext >&5 17265 17266 ac_cv_lib_m_cbrt=no 17267fi 17268 17269rm -rf conftest.dSYM 17270rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17271 conftest$ac_exeext conftest.$ac_ext 17272LIBS=$ac_check_lib_save_LIBS 17273fi 17274{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_cbrt" >&5 17275$as_echo "$ac_cv_lib_m_cbrt" >&6; } 17276if test "x$ac_cv_lib_m_cbrt" = x""yes; then 17277 17278cat >>confdefs.h <<\_ACEOF 17279#define HAVE_CBRT 1 17280_ACEOF 17281 17282fi 17283 17284 17285 17286 17287 17288for ac_header in ndbm.h dbm.h rpcsvc/dbm.h 17289do 17290as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17291if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17292 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17293$as_echo_n "checking for $ac_header... " >&6; } 17294if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17295 $as_echo_n "(cached) " >&6 17296fi 17297ac_res=`eval 'as_val=${'$as_ac_Header'} 17298 $as_echo "$as_val"'` 17299 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17300$as_echo "$ac_res" >&6; } 17301else 17302 # Is the header compilable? 17303{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17304$as_echo_n "checking $ac_header usability... " >&6; } 17305cat >conftest.$ac_ext <<_ACEOF 17306/* confdefs.h. */ 17307_ACEOF 17308cat confdefs.h >>conftest.$ac_ext 17309cat >>conftest.$ac_ext <<_ACEOF 17310/* end confdefs.h. */ 17311$ac_includes_default 17312#include <$ac_header> 17313_ACEOF 17314rm -f conftest.$ac_objext 17315if { (ac_try="$ac_compile" 17316case "(($ac_try" in 17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17318 *) ac_try_echo=$ac_try;; 17319esac 17320eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17321$as_echo "$ac_try_echo") >&5 17322 (eval "$ac_compile") 2>conftest.er1 17323 ac_status=$? 17324 grep -v '^ *+' conftest.er1 >conftest.err 17325 rm -f conftest.er1 17326 cat conftest.err >&5 17327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17328 (exit $ac_status); } && { 17329 test -z "$ac_c_werror_flag" || 17330 test ! -s conftest.err 17331 } && test -s conftest.$ac_objext; then 17332 ac_header_compiler=yes 17333else 17334 $as_echo "$as_me: failed program was:" >&5 17335sed 's/^/| /' conftest.$ac_ext >&5 17336 17337 ac_header_compiler=no 17338fi 17339 17340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17341{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17342$as_echo "$ac_header_compiler" >&6; } 17343 17344# Is the header present? 17345{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17346$as_echo_n "checking $ac_header presence... " >&6; } 17347cat >conftest.$ac_ext <<_ACEOF 17348/* confdefs.h. */ 17349_ACEOF 17350cat confdefs.h >>conftest.$ac_ext 17351cat >>conftest.$ac_ext <<_ACEOF 17352/* end confdefs.h. */ 17353#include <$ac_header> 17354_ACEOF 17355if { (ac_try="$ac_cpp conftest.$ac_ext" 17356case "(($ac_try" in 17357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17358 *) ac_try_echo=$ac_try;; 17359esac 17360eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17361$as_echo "$ac_try_echo") >&5 17362 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17363 ac_status=$? 17364 grep -v '^ *+' conftest.er1 >conftest.err 17365 rm -f conftest.er1 17366 cat conftest.err >&5 17367 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17368 (exit $ac_status); } >/dev/null && { 17369 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17370 test ! -s conftest.err 17371 }; then 17372 ac_header_preproc=yes 17373else 17374 $as_echo "$as_me: failed program was:" >&5 17375sed 's/^/| /' conftest.$ac_ext >&5 17376 17377 ac_header_preproc=no 17378fi 17379 17380rm -f conftest.err conftest.$ac_ext 17381{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17382$as_echo "$ac_header_preproc" >&6; } 17383 17384# So? What about this header? 17385case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17386 yes:no: ) 17387 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17388$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17389 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17390$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17391 ac_header_preproc=yes 17392 ;; 17393 no:yes:* ) 17394 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17395$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17396 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17397$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17399$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17401$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17403$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17405$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17406 ( cat <<\_ASBOX 17407## ---------------------------------------------------------------------- ## 17408## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 17409## ---------------------------------------------------------------------- ## 17410_ASBOX 17411 ) | sed "s/^/$as_me: WARNING: /" >&2 17412 ;; 17413esac 17414{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17415$as_echo_n "checking for $ac_header... " >&6; } 17416if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17417 $as_echo_n "(cached) " >&6 17418else 17419 eval "$as_ac_Header=\$ac_header_preproc" 17420fi 17421ac_res=`eval 'as_val=${'$as_ac_Header'} 17422 $as_echo "$as_val"'` 17423 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17424$as_echo "$ac_res" >&6; } 17425 17426fi 17427as_val=`eval 'as_val=${'$as_ac_Header'} 17428 $as_echo "$as_val"'` 17429 if test "x$as_val" = x""yes; then 17430 cat >>confdefs.h <<_ACEOF 17431#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17432_ACEOF 17433 17434fi 17435 17436done 17437 17438 17439 17440 17441for ac_header in linux/agpgart.h sys/agpio.h 17442do 17443as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17444if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17445 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17446$as_echo_n "checking for $ac_header... " >&6; } 17447if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17448 $as_echo_n "(cached) " >&6 17449fi 17450ac_res=`eval 'as_val=${'$as_ac_Header'} 17451 $as_echo "$as_val"'` 17452 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17453$as_echo "$ac_res" >&6; } 17454else 17455 # Is the header compilable? 17456{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17457$as_echo_n "checking $ac_header usability... " >&6; } 17458cat >conftest.$ac_ext <<_ACEOF 17459/* confdefs.h. */ 17460_ACEOF 17461cat confdefs.h >>conftest.$ac_ext 17462cat >>conftest.$ac_ext <<_ACEOF 17463/* end confdefs.h. */ 17464$ac_includes_default 17465#include <$ac_header> 17466_ACEOF 17467rm -f conftest.$ac_objext 17468if { (ac_try="$ac_compile" 17469case "(($ac_try" in 17470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17471 *) ac_try_echo=$ac_try;; 17472esac 17473eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17474$as_echo "$ac_try_echo") >&5 17475 (eval "$ac_compile") 2>conftest.er1 17476 ac_status=$? 17477 grep -v '^ *+' conftest.er1 >conftest.err 17478 rm -f conftest.er1 17479 cat conftest.err >&5 17480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17481 (exit $ac_status); } && { 17482 test -z "$ac_c_werror_flag" || 17483 test ! -s conftest.err 17484 } && test -s conftest.$ac_objext; then 17485 ac_header_compiler=yes 17486else 17487 $as_echo "$as_me: failed program was:" >&5 17488sed 's/^/| /' conftest.$ac_ext >&5 17489 17490 ac_header_compiler=no 17491fi 17492 17493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17494{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17495$as_echo "$ac_header_compiler" >&6; } 17496 17497# Is the header present? 17498{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17499$as_echo_n "checking $ac_header presence... " >&6; } 17500cat >conftest.$ac_ext <<_ACEOF 17501/* confdefs.h. */ 17502_ACEOF 17503cat confdefs.h >>conftest.$ac_ext 17504cat >>conftest.$ac_ext <<_ACEOF 17505/* end confdefs.h. */ 17506#include <$ac_header> 17507_ACEOF 17508if { (ac_try="$ac_cpp conftest.$ac_ext" 17509case "(($ac_try" in 17510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17511 *) ac_try_echo=$ac_try;; 17512esac 17513eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17514$as_echo "$ac_try_echo") >&5 17515 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17516 ac_status=$? 17517 grep -v '^ *+' conftest.er1 >conftest.err 17518 rm -f conftest.er1 17519 cat conftest.err >&5 17520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17521 (exit $ac_status); } >/dev/null && { 17522 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17523 test ! -s conftest.err 17524 }; then 17525 ac_header_preproc=yes 17526else 17527 $as_echo "$as_me: failed program was:" >&5 17528sed 's/^/| /' conftest.$ac_ext >&5 17529 17530 ac_header_preproc=no 17531fi 17532 17533rm -f conftest.err conftest.$ac_ext 17534{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17535$as_echo "$ac_header_preproc" >&6; } 17536 17537# So? What about this header? 17538case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17539 yes:no: ) 17540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17541$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17543$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17544 ac_header_preproc=yes 17545 ;; 17546 no:yes:* ) 17547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17548$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17550$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17552$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17554$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17556$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17557 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17558$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17559 ( cat <<\_ASBOX 17560## ---------------------------------------------------------------------- ## 17561## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 17562## ---------------------------------------------------------------------- ## 17563_ASBOX 17564 ) | sed "s/^/$as_me: WARNING: /" >&2 17565 ;; 17566esac 17567{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17568$as_echo_n "checking for $ac_header... " >&6; } 17569if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17570 $as_echo_n "(cached) " >&6 17571else 17572 eval "$as_ac_Header=\$ac_header_preproc" 17573fi 17574ac_res=`eval 'as_val=${'$as_ac_Header'} 17575 $as_echo "$as_val"'` 17576 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17577$as_echo "$ac_res" >&6; } 17578 17579fi 17580as_val=`eval 'as_val=${'$as_ac_Header'} 17581 $as_echo "$as_val"'` 17582 if test "x$as_val" = x""yes; then 17583 cat >>confdefs.h <<_ACEOF 17584#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17585_ACEOF 17586 AGP=yes 17587fi 17588 17589done 17590 17591 if test "x$AGP" = xyes; then 17592 AGP_TRUE= 17593 AGP_FALSE='#' 17594else 17595 AGP_TRUE='#' 17596 AGP_FALSE= 17597fi 17598 17599 17600 17601for ac_header in linux/apm_bios.h 17602do 17603as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17604if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17605 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17606$as_echo_n "checking for $ac_header... " >&6; } 17607if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17608 $as_echo_n "(cached) " >&6 17609fi 17610ac_res=`eval 'as_val=${'$as_ac_Header'} 17611 $as_echo "$as_val"'` 17612 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17613$as_echo "$ac_res" >&6; } 17614else 17615 # Is the header compilable? 17616{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17617$as_echo_n "checking $ac_header usability... " >&6; } 17618cat >conftest.$ac_ext <<_ACEOF 17619/* confdefs.h. */ 17620_ACEOF 17621cat confdefs.h >>conftest.$ac_ext 17622cat >>conftest.$ac_ext <<_ACEOF 17623/* end confdefs.h. */ 17624$ac_includes_default 17625#include <$ac_header> 17626_ACEOF 17627rm -f conftest.$ac_objext 17628if { (ac_try="$ac_compile" 17629case "(($ac_try" in 17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17631 *) ac_try_echo=$ac_try;; 17632esac 17633eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17634$as_echo "$ac_try_echo") >&5 17635 (eval "$ac_compile") 2>conftest.er1 17636 ac_status=$? 17637 grep -v '^ *+' conftest.er1 >conftest.err 17638 rm -f conftest.er1 17639 cat conftest.err >&5 17640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17641 (exit $ac_status); } && { 17642 test -z "$ac_c_werror_flag" || 17643 test ! -s conftest.err 17644 } && test -s conftest.$ac_objext; then 17645 ac_header_compiler=yes 17646else 17647 $as_echo "$as_me: failed program was:" >&5 17648sed 's/^/| /' conftest.$ac_ext >&5 17649 17650 ac_header_compiler=no 17651fi 17652 17653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17654{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17655$as_echo "$ac_header_compiler" >&6; } 17656 17657# Is the header present? 17658{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17659$as_echo_n "checking $ac_header presence... " >&6; } 17660cat >conftest.$ac_ext <<_ACEOF 17661/* confdefs.h. */ 17662_ACEOF 17663cat confdefs.h >>conftest.$ac_ext 17664cat >>conftest.$ac_ext <<_ACEOF 17665/* end confdefs.h. */ 17666#include <$ac_header> 17667_ACEOF 17668if { (ac_try="$ac_cpp conftest.$ac_ext" 17669case "(($ac_try" in 17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17671 *) ac_try_echo=$ac_try;; 17672esac 17673eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17674$as_echo "$ac_try_echo") >&5 17675 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17676 ac_status=$? 17677 grep -v '^ *+' conftest.er1 >conftest.err 17678 rm -f conftest.er1 17679 cat conftest.err >&5 17680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17681 (exit $ac_status); } >/dev/null && { 17682 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17683 test ! -s conftest.err 17684 }; then 17685 ac_header_preproc=yes 17686else 17687 $as_echo "$as_me: failed program was:" >&5 17688sed 's/^/| /' conftest.$ac_ext >&5 17689 17690 ac_header_preproc=no 17691fi 17692 17693rm -f conftest.err conftest.$ac_ext 17694{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17695$as_echo "$ac_header_preproc" >&6; } 17696 17697# So? What about this header? 17698case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17699 yes:no: ) 17700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17701$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17703$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17704 ac_header_preproc=yes 17705 ;; 17706 no:yes:* ) 17707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17708$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17710$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17712$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17714$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17715 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17716$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17717 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17718$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17719 ( cat <<\_ASBOX 17720## ---------------------------------------------------------------------- ## 17721## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 17722## ---------------------------------------------------------------------- ## 17723_ASBOX 17724 ) | sed "s/^/$as_me: WARNING: /" >&2 17725 ;; 17726esac 17727{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17728$as_echo_n "checking for $ac_header... " >&6; } 17729if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17730 $as_echo_n "(cached) " >&6 17731else 17732 eval "$as_ac_Header=\$ac_header_preproc" 17733fi 17734ac_res=`eval 'as_val=${'$as_ac_Header'} 17735 $as_echo "$as_val"'` 17736 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17737$as_echo "$ac_res" >&6; } 17738 17739fi 17740as_val=`eval 'as_val=${'$as_ac_Header'} 17741 $as_echo "$as_val"'` 17742 if test "x$as_val" = x""yes; then 17743 cat >>confdefs.h <<_ACEOF 17744#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17745_ACEOF 17746 LNXAPM=yes 17747fi 17748 17749done 17750 17751 if test "x$LNXAPM" = xyes; then 17752 LNXAPM_TRUE= 17753 LNXAPM_FALSE='#' 17754else 17755 LNXAPM_TRUE='#' 17756 LNXAPM_FALSE= 17757fi 17758 17759 17760 17761for ac_header in linux/fb.h 17762do 17763as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17764if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17765 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17766$as_echo_n "checking for $ac_header... " >&6; } 17767if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17768 $as_echo_n "(cached) " >&6 17769fi 17770ac_res=`eval 'as_val=${'$as_ac_Header'} 17771 $as_echo "$as_val"'` 17772 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17773$as_echo "$ac_res" >&6; } 17774else 17775 # Is the header compilable? 17776{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17777$as_echo_n "checking $ac_header usability... " >&6; } 17778cat >conftest.$ac_ext <<_ACEOF 17779/* confdefs.h. */ 17780_ACEOF 17781cat confdefs.h >>conftest.$ac_ext 17782cat >>conftest.$ac_ext <<_ACEOF 17783/* end confdefs.h. */ 17784$ac_includes_default 17785#include <$ac_header> 17786_ACEOF 17787rm -f conftest.$ac_objext 17788if { (ac_try="$ac_compile" 17789case "(($ac_try" in 17790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17791 *) ac_try_echo=$ac_try;; 17792esac 17793eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17794$as_echo "$ac_try_echo") >&5 17795 (eval "$ac_compile") 2>conftest.er1 17796 ac_status=$? 17797 grep -v '^ *+' conftest.er1 >conftest.err 17798 rm -f conftest.er1 17799 cat conftest.err >&5 17800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17801 (exit $ac_status); } && { 17802 test -z "$ac_c_werror_flag" || 17803 test ! -s conftest.err 17804 } && test -s conftest.$ac_objext; then 17805 ac_header_compiler=yes 17806else 17807 $as_echo "$as_me: failed program was:" >&5 17808sed 's/^/| /' conftest.$ac_ext >&5 17809 17810 ac_header_compiler=no 17811fi 17812 17813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17814{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17815$as_echo "$ac_header_compiler" >&6; } 17816 17817# Is the header present? 17818{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17819$as_echo_n "checking $ac_header presence... " >&6; } 17820cat >conftest.$ac_ext <<_ACEOF 17821/* confdefs.h. */ 17822_ACEOF 17823cat confdefs.h >>conftest.$ac_ext 17824cat >>conftest.$ac_ext <<_ACEOF 17825/* end confdefs.h. */ 17826#include <$ac_header> 17827_ACEOF 17828if { (ac_try="$ac_cpp conftest.$ac_ext" 17829case "(($ac_try" in 17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17831 *) ac_try_echo=$ac_try;; 17832esac 17833eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17834$as_echo "$ac_try_echo") >&5 17835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17836 ac_status=$? 17837 grep -v '^ *+' conftest.er1 >conftest.err 17838 rm -f conftest.er1 17839 cat conftest.err >&5 17840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17841 (exit $ac_status); } >/dev/null && { 17842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 17843 test ! -s conftest.err 17844 }; then 17845 ac_header_preproc=yes 17846else 17847 $as_echo "$as_me: failed program was:" >&5 17848sed 's/^/| /' conftest.$ac_ext >&5 17849 17850 ac_header_preproc=no 17851fi 17852 17853rm -f conftest.err conftest.$ac_ext 17854{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 17855$as_echo "$ac_header_preproc" >&6; } 17856 17857# So? What about this header? 17858case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 17859 yes:no: ) 17860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 17861$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 17862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 17863$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 17864 ac_header_preproc=yes 17865 ;; 17866 no:yes:* ) 17867 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 17868$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 17869 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 17870$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 17871 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 17872$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 17873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 17874$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 17875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 17876$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 17877 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 17878$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 17879 ( cat <<\_ASBOX 17880## ---------------------------------------------------------------------- ## 17881## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 17882## ---------------------------------------------------------------------- ## 17883_ASBOX 17884 ) | sed "s/^/$as_me: WARNING: /" >&2 17885 ;; 17886esac 17887{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17888$as_echo_n "checking for $ac_header... " >&6; } 17889if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17890 $as_echo_n "(cached) " >&6 17891else 17892 eval "$as_ac_Header=\$ac_header_preproc" 17893fi 17894ac_res=`eval 'as_val=${'$as_ac_Header'} 17895 $as_echo "$as_val"'` 17896 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17897$as_echo "$ac_res" >&6; } 17898 17899fi 17900as_val=`eval 'as_val=${'$as_ac_Header'} 17901 $as_echo "$as_val"'` 17902 if test "x$as_val" = x""yes; then 17903 cat >>confdefs.h <<_ACEOF 17904#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17905_ACEOF 17906 FBDEV=yes 17907fi 17908 17909done 17910 17911 if test "x$FBDEV" = xyes; then 17912 FBDEVHW_TRUE= 17913 FBDEVHW_FALSE='#' 17914else 17915 FBDEVHW_TRUE='#' 17916 FBDEVHW_FALSE= 17917fi 17918 17919 17920 17921for ac_header in asm/mtrr.h 17922do 17923as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17924if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 17926$as_echo_n "checking for $ac_header... " >&6; } 17927if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 17928 $as_echo_n "(cached) " >&6 17929fi 17930ac_res=`eval 'as_val=${'$as_ac_Header'} 17931 $as_echo "$as_val"'` 17932 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 17933$as_echo "$ac_res" >&6; } 17934else 17935 # Is the header compilable? 17936{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 17937$as_echo_n "checking $ac_header usability... " >&6; } 17938cat >conftest.$ac_ext <<_ACEOF 17939/* confdefs.h. */ 17940_ACEOF 17941cat confdefs.h >>conftest.$ac_ext 17942cat >>conftest.$ac_ext <<_ACEOF 17943/* end confdefs.h. */ 17944$ac_includes_default 17945#include <$ac_header> 17946_ACEOF 17947rm -f conftest.$ac_objext 17948if { (ac_try="$ac_compile" 17949case "(($ac_try" in 17950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17951 *) ac_try_echo=$ac_try;; 17952esac 17953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17954$as_echo "$ac_try_echo") >&5 17955 (eval "$ac_compile") 2>conftest.er1 17956 ac_status=$? 17957 grep -v '^ *+' conftest.er1 >conftest.err 17958 rm -f conftest.er1 17959 cat conftest.err >&5 17960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 17961 (exit $ac_status); } && { 17962 test -z "$ac_c_werror_flag" || 17963 test ! -s conftest.err 17964 } && test -s conftest.$ac_objext; then 17965 ac_header_compiler=yes 17966else 17967 $as_echo "$as_me: failed program was:" >&5 17968sed 's/^/| /' conftest.$ac_ext >&5 17969 17970 ac_header_compiler=no 17971fi 17972 17973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17974{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 17975$as_echo "$ac_header_compiler" >&6; } 17976 17977# Is the header present? 17978{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 17979$as_echo_n "checking $ac_header presence... " >&6; } 17980cat >conftest.$ac_ext <<_ACEOF 17981/* confdefs.h. */ 17982_ACEOF 17983cat confdefs.h >>conftest.$ac_ext 17984cat >>conftest.$ac_ext <<_ACEOF 17985/* end confdefs.h. */ 17986#include <$ac_header> 17987_ACEOF 17988if { (ac_try="$ac_cpp conftest.$ac_ext" 17989case "(($ac_try" in 17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17991 *) ac_try_echo=$ac_try;; 17992esac 17993eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 17994$as_echo "$ac_try_echo") >&5 17995 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 17996 ac_status=$? 17997 grep -v '^ *+' conftest.er1 >conftest.err 17998 rm -f conftest.er1 17999 cat conftest.err >&5 18000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18001 (exit $ac_status); } >/dev/null && { 18002 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18003 test ! -s conftest.err 18004 }; then 18005 ac_header_preproc=yes 18006else 18007 $as_echo "$as_me: failed program was:" >&5 18008sed 's/^/| /' conftest.$ac_ext >&5 18009 18010 ac_header_preproc=no 18011fi 18012 18013rm -f conftest.err conftest.$ac_ext 18014{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18015$as_echo "$ac_header_preproc" >&6; } 18016 18017# So? What about this header? 18018case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18019 yes:no: ) 18020 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18021$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18022 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18023$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18024 ac_header_preproc=yes 18025 ;; 18026 no:yes:* ) 18027 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18028$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18029 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18030$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18031 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18032$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18034$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18036$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18038$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18039 ( cat <<\_ASBOX 18040## ---------------------------------------------------------------------- ## 18041## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18042## ---------------------------------------------------------------------- ## 18043_ASBOX 18044 ) | sed "s/^/$as_me: WARNING: /" >&2 18045 ;; 18046esac 18047{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18048$as_echo_n "checking for $ac_header... " >&6; } 18049if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18050 $as_echo_n "(cached) " >&6 18051else 18052 eval "$as_ac_Header=\$ac_header_preproc" 18053fi 18054ac_res=`eval 'as_val=${'$as_ac_Header'} 18055 $as_echo "$as_val"'` 18056 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18057$as_echo "$ac_res" >&6; } 18058 18059fi 18060as_val=`eval 'as_val=${'$as_ac_Header'} 18061 $as_echo "$as_val"'` 18062 if test "x$as_val" = x""yes; then 18063 cat >>confdefs.h <<_ACEOF 18064#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18065_ACEOF 18066 ac_cv_asm_mtrr_h=yes 18067fi 18068 18069done 18070 18071if test "x$ac_cv_asm_mtrr_h" = xyes; then 18072 HAVE_MTRR=yes 18073fi 18074 18075 18076for ac_header in sys/memrange.h 18077do 18078as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18079if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18081$as_echo_n "checking for $ac_header... " >&6; } 18082if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18083 $as_echo_n "(cached) " >&6 18084fi 18085ac_res=`eval 'as_val=${'$as_ac_Header'} 18086 $as_echo "$as_val"'` 18087 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18088$as_echo "$ac_res" >&6; } 18089else 18090 # Is the header compilable? 18091{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18092$as_echo_n "checking $ac_header usability... " >&6; } 18093cat >conftest.$ac_ext <<_ACEOF 18094/* confdefs.h. */ 18095_ACEOF 18096cat confdefs.h >>conftest.$ac_ext 18097cat >>conftest.$ac_ext <<_ACEOF 18098/* end confdefs.h. */ 18099$ac_includes_default 18100#include <$ac_header> 18101_ACEOF 18102rm -f conftest.$ac_objext 18103if { (ac_try="$ac_compile" 18104case "(($ac_try" in 18105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18106 *) ac_try_echo=$ac_try;; 18107esac 18108eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18109$as_echo "$ac_try_echo") >&5 18110 (eval "$ac_compile") 2>conftest.er1 18111 ac_status=$? 18112 grep -v '^ *+' conftest.er1 >conftest.err 18113 rm -f conftest.er1 18114 cat conftest.err >&5 18115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18116 (exit $ac_status); } && { 18117 test -z "$ac_c_werror_flag" || 18118 test ! -s conftest.err 18119 } && test -s conftest.$ac_objext; then 18120 ac_header_compiler=yes 18121else 18122 $as_echo "$as_me: failed program was:" >&5 18123sed 's/^/| /' conftest.$ac_ext >&5 18124 18125 ac_header_compiler=no 18126fi 18127 18128rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18129{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18130$as_echo "$ac_header_compiler" >&6; } 18131 18132# Is the header present? 18133{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18134$as_echo_n "checking $ac_header presence... " >&6; } 18135cat >conftest.$ac_ext <<_ACEOF 18136/* confdefs.h. */ 18137_ACEOF 18138cat confdefs.h >>conftest.$ac_ext 18139cat >>conftest.$ac_ext <<_ACEOF 18140/* end confdefs.h. */ 18141#include <$ac_header> 18142_ACEOF 18143if { (ac_try="$ac_cpp conftest.$ac_ext" 18144case "(($ac_try" in 18145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18146 *) ac_try_echo=$ac_try;; 18147esac 18148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18149$as_echo "$ac_try_echo") >&5 18150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18151 ac_status=$? 18152 grep -v '^ *+' conftest.er1 >conftest.err 18153 rm -f conftest.er1 18154 cat conftest.err >&5 18155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18156 (exit $ac_status); } >/dev/null && { 18157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18158 test ! -s conftest.err 18159 }; then 18160 ac_header_preproc=yes 18161else 18162 $as_echo "$as_me: failed program was:" >&5 18163sed 's/^/| /' conftest.$ac_ext >&5 18164 18165 ac_header_preproc=no 18166fi 18167 18168rm -f conftest.err conftest.$ac_ext 18169{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18170$as_echo "$ac_header_preproc" >&6; } 18171 18172# So? What about this header? 18173case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18174 yes:no: ) 18175 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18176$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18178$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18179 ac_header_preproc=yes 18180 ;; 18181 no:yes:* ) 18182 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18183$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18185$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18187$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18189$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18191$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18193$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18194 ( cat <<\_ASBOX 18195## ---------------------------------------------------------------------- ## 18196## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18197## ---------------------------------------------------------------------- ## 18198_ASBOX 18199 ) | sed "s/^/$as_me: WARNING: /" >&2 18200 ;; 18201esac 18202{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18203$as_echo_n "checking for $ac_header... " >&6; } 18204if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18205 $as_echo_n "(cached) " >&6 18206else 18207 eval "$as_ac_Header=\$ac_header_preproc" 18208fi 18209ac_res=`eval 'as_val=${'$as_ac_Header'} 18210 $as_echo "$as_val"'` 18211 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18212$as_echo "$ac_res" >&6; } 18213 18214fi 18215as_val=`eval 'as_val=${'$as_ac_Header'} 18216 $as_echo "$as_val"'` 18217 if test "x$as_val" = x""yes; then 18218 cat >>confdefs.h <<_ACEOF 18219#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18220_ACEOF 18221 ac_cv_memrange_h=yes 18222fi 18223 18224done 18225 18226if test "x$ac_cv_memrange_h" = xyes; then 18227 HAVE_MTRR=yes 18228fi 18229 18230if test "x$HAVE_MTRR" = xyes; then 18231 18232cat >>confdefs.h <<\_ACEOF 18233#define HAS_MTRR_SUPPORT 1 18234_ACEOF 18235 18236fi 18237 18238 18239for ac_header in machine/mtrr.h 18240do 18241as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18242if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18243 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18244$as_echo_n "checking for $ac_header... " >&6; } 18245if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18246 $as_echo_n "(cached) " >&6 18247fi 18248ac_res=`eval 'as_val=${'$as_ac_Header'} 18249 $as_echo "$as_val"'` 18250 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18251$as_echo "$ac_res" >&6; } 18252else 18253 # Is the header compilable? 18254{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 18255$as_echo_n "checking $ac_header usability... " >&6; } 18256cat >conftest.$ac_ext <<_ACEOF 18257/* confdefs.h. */ 18258_ACEOF 18259cat confdefs.h >>conftest.$ac_ext 18260cat >>conftest.$ac_ext <<_ACEOF 18261/* end confdefs.h. */ 18262$ac_includes_default 18263#include <$ac_header> 18264_ACEOF 18265rm -f conftest.$ac_objext 18266if { (ac_try="$ac_compile" 18267case "(($ac_try" in 18268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18269 *) ac_try_echo=$ac_try;; 18270esac 18271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18272$as_echo "$ac_try_echo") >&5 18273 (eval "$ac_compile") 2>conftest.er1 18274 ac_status=$? 18275 grep -v '^ *+' conftest.er1 >conftest.err 18276 rm -f conftest.er1 18277 cat conftest.err >&5 18278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18279 (exit $ac_status); } && { 18280 test -z "$ac_c_werror_flag" || 18281 test ! -s conftest.err 18282 } && test -s conftest.$ac_objext; then 18283 ac_header_compiler=yes 18284else 18285 $as_echo "$as_me: failed program was:" >&5 18286sed 's/^/| /' conftest.$ac_ext >&5 18287 18288 ac_header_compiler=no 18289fi 18290 18291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18292{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18293$as_echo "$ac_header_compiler" >&6; } 18294 18295# Is the header present? 18296{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 18297$as_echo_n "checking $ac_header presence... " >&6; } 18298cat >conftest.$ac_ext <<_ACEOF 18299/* confdefs.h. */ 18300_ACEOF 18301cat confdefs.h >>conftest.$ac_ext 18302cat >>conftest.$ac_ext <<_ACEOF 18303/* end confdefs.h. */ 18304#include <$ac_header> 18305_ACEOF 18306if { (ac_try="$ac_cpp conftest.$ac_ext" 18307case "(($ac_try" in 18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18309 *) ac_try_echo=$ac_try;; 18310esac 18311eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18312$as_echo "$ac_try_echo") >&5 18313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18314 ac_status=$? 18315 grep -v '^ *+' conftest.er1 >conftest.err 18316 rm -f conftest.er1 18317 cat conftest.err >&5 18318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18319 (exit $ac_status); } >/dev/null && { 18320 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18321 test ! -s conftest.err 18322 }; then 18323 ac_header_preproc=yes 18324else 18325 $as_echo "$as_me: failed program was:" >&5 18326sed 's/^/| /' conftest.$ac_ext >&5 18327 18328 ac_header_preproc=no 18329fi 18330 18331rm -f conftest.err conftest.$ac_ext 18332{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18333$as_echo "$ac_header_preproc" >&6; } 18334 18335# So? What about this header? 18336case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18337 yes:no: ) 18338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 18339$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 18340 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 18341$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 18342 ac_header_preproc=yes 18343 ;; 18344 no:yes:* ) 18345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 18346$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 18347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 18348$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 18349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 18350$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 18351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 18352$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 18353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 18354$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 18355 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 18356$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 18357 ( cat <<\_ASBOX 18358## ---------------------------------------------------------------------- ## 18359## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18360## ---------------------------------------------------------------------- ## 18361_ASBOX 18362 ) | sed "s/^/$as_me: WARNING: /" >&2 18363 ;; 18364esac 18365{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18366$as_echo_n "checking for $ac_header... " >&6; } 18367if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18368 $as_echo_n "(cached) " >&6 18369else 18370 eval "$as_ac_Header=\$ac_header_preproc" 18371fi 18372ac_res=`eval 'as_val=${'$as_ac_Header'} 18373 $as_echo "$as_val"'` 18374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18375$as_echo "$ac_res" >&6; } 18376 18377fi 18378as_val=`eval 'as_val=${'$as_ac_Header'} 18379 $as_echo "$as_val"'` 18380 if test "x$as_val" = x""yes; then 18381 cat >>confdefs.h <<_ACEOF 18382#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18383_ACEOF 18384 ac_cv_machine_mtrr_h=yes 18385fi 18386 18387done 18388 18389if test "x$ac_cv_machine_mtrr_h" = xyes; then 18390 18391cat >>confdefs.h <<\_ACEOF 18392#define HAS_MTRR_BUILTIN 1 18393_ACEOF 18394 18395fi 18396 18397 18398for ac_header in sys/linker.h 18399do 18400as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 18401{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 18402$as_echo_n "checking for $ac_header... " >&6; } 18403if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 18404 $as_echo_n "(cached) " >&6 18405else 18406 cat >conftest.$ac_ext <<_ACEOF 18407/* confdefs.h. */ 18408_ACEOF 18409cat confdefs.h >>conftest.$ac_ext 18410cat >>conftest.$ac_ext <<_ACEOF 18411/* end confdefs.h. */ 18412#include <sys/param.h> 18413 18414#include <$ac_header> 18415_ACEOF 18416rm -f conftest.$ac_objext 18417if { (ac_try="$ac_compile" 18418case "(($ac_try" in 18419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18420 *) ac_try_echo=$ac_try;; 18421esac 18422eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18423$as_echo "$ac_try_echo") >&5 18424 (eval "$ac_compile") 2>conftest.er1 18425 ac_status=$? 18426 grep -v '^ *+' conftest.er1 >conftest.err 18427 rm -f conftest.er1 18428 cat conftest.err >&5 18429 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18430 (exit $ac_status); } && { 18431 test -z "$ac_c_werror_flag" || 18432 test ! -s conftest.err 18433 } && test -s conftest.$ac_objext; then 18434 eval "$as_ac_Header=yes" 18435else 18436 $as_echo "$as_me: failed program was:" >&5 18437sed 's/^/| /' conftest.$ac_ext >&5 18438 18439 eval "$as_ac_Header=no" 18440fi 18441 18442rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18443fi 18444ac_res=`eval 'as_val=${'$as_ac_Header'} 18445 $as_echo "$as_val"'` 18446 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 18447$as_echo "$ac_res" >&6; } 18448as_val=`eval 'as_val=${'$as_ac_Header'} 18449 $as_echo "$as_val"'` 18450 if test "x$as_val" = x""yes; then 18451 cat >>confdefs.h <<_ACEOF 18452#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 18453_ACEOF 18454 ac_cv_sys_linker_h=yes 18455else 18456 ac_cv_sys_linker_h=no 18457fi 18458 18459done 18460 18461 if test "x$ac_cv_sys_linker_h" = xyes; then 18462 FREEBSD_KLDLOAD_TRUE= 18463 FREEBSD_KLDLOAD_FALSE='#' 18464else 18465 FREEBSD_KLDLOAD_TRUE='#' 18466 FREEBSD_KLDLOAD_FALSE= 18467fi 18468 18469 18470{ $as_echo "$as_me:$LINENO: checking for SYSV IPC" >&5 18471$as_echo_n "checking for SYSV IPC... " >&6; } 18472if test "${ac_cv_sysv_ipc+set}" = set; then 18473 $as_echo_n "(cached) " >&6 18474else 18475 cat >conftest.$ac_ext <<_ACEOF 18476/* confdefs.h. */ 18477_ACEOF 18478cat confdefs.h >>conftest.$ac_ext 18479cat >>conftest.$ac_ext <<_ACEOF 18480/* end confdefs.h. */ 18481 18482#include <sys/types.h> 18483#include <sys/ipc.h> 18484#include <sys/shm.h> 18485 18486int 18487main () 18488{ 18489 18490{ 18491 int id; 18492 id = shmget(IPC_PRIVATE, 512, SHM_W | SHM_R); 18493 if (id < 0) return -1; 18494 return shmctl(id, IPC_RMID, 0); 18495} 18496 ; 18497 return 0; 18498} 18499_ACEOF 18500rm -f conftest.$ac_objext conftest$ac_exeext 18501if { (ac_try="$ac_link" 18502case "(($ac_try" in 18503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18504 *) ac_try_echo=$ac_try;; 18505esac 18506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18507$as_echo "$ac_try_echo") >&5 18508 (eval "$ac_link") 2>conftest.er1 18509 ac_status=$? 18510 grep -v '^ *+' conftest.er1 >conftest.err 18511 rm -f conftest.er1 18512 cat conftest.err >&5 18513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18514 (exit $ac_status); } && { 18515 test -z "$ac_c_werror_flag" || 18516 test ! -s conftest.err 18517 } && test -s conftest$ac_exeext && { 18518 test "$cross_compiling" = yes || 18519 $as_test_x conftest$ac_exeext 18520 }; then 18521 ac_cv_sysv_ipc=yes 18522else 18523 $as_echo "$as_me: failed program was:" >&5 18524sed 's/^/| /' conftest.$ac_ext >&5 18525 18526 ac_cv_sysv_ipc=no 18527fi 18528 18529rm -rf conftest.dSYM 18530rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18531 conftest$ac_exeext conftest.$ac_ext 18532fi 18533{ $as_echo "$as_me:$LINENO: result: $ac_cv_sysv_ipc" >&5 18534$as_echo "$ac_cv_sysv_ipc" >&6; } 18535if test "x$ac_cv_sysv_ipc" = xyes; then 18536 18537cat >>confdefs.h <<\_ACEOF 18538#define HAVE_SYSV_IPC 1 18539_ACEOF 18540 18541fi 18542 18543if test -c /dev/xf86 ; then 18544 18545cat >>confdefs.h <<\_ACEOF 18546#define HAS_APERTURE_DRV 1 18547_ACEOF 18548 18549fi 18550 18551if test "${ac_cv_header_machine_apmvar_h+set}" = set; then 18552 { $as_echo "$as_me:$LINENO: checking for machine/apmvar.h" >&5 18553$as_echo_n "checking for machine/apmvar.h... " >&6; } 18554if test "${ac_cv_header_machine_apmvar_h+set}" = set; then 18555 $as_echo_n "(cached) " >&6 18556fi 18557{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_apmvar_h" >&5 18558$as_echo "$ac_cv_header_machine_apmvar_h" >&6; } 18559else 18560 # Is the header compilable? 18561{ $as_echo "$as_me:$LINENO: checking machine/apmvar.h usability" >&5 18562$as_echo_n "checking machine/apmvar.h usability... " >&6; } 18563cat >conftest.$ac_ext <<_ACEOF 18564/* confdefs.h. */ 18565_ACEOF 18566cat confdefs.h >>conftest.$ac_ext 18567cat >>conftest.$ac_ext <<_ACEOF 18568/* end confdefs.h. */ 18569$ac_includes_default 18570#include <machine/apmvar.h> 18571_ACEOF 18572rm -f conftest.$ac_objext 18573if { (ac_try="$ac_compile" 18574case "(($ac_try" in 18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18576 *) ac_try_echo=$ac_try;; 18577esac 18578eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18579$as_echo "$ac_try_echo") >&5 18580 (eval "$ac_compile") 2>conftest.er1 18581 ac_status=$? 18582 grep -v '^ *+' conftest.er1 >conftest.err 18583 rm -f conftest.er1 18584 cat conftest.err >&5 18585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18586 (exit $ac_status); } && { 18587 test -z "$ac_c_werror_flag" || 18588 test ! -s conftest.err 18589 } && test -s conftest.$ac_objext; then 18590 ac_header_compiler=yes 18591else 18592 $as_echo "$as_me: failed program was:" >&5 18593sed 's/^/| /' conftest.$ac_ext >&5 18594 18595 ac_header_compiler=no 18596fi 18597 18598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18599{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18600$as_echo "$ac_header_compiler" >&6; } 18601 18602# Is the header present? 18603{ $as_echo "$as_me:$LINENO: checking machine/apmvar.h presence" >&5 18604$as_echo_n "checking machine/apmvar.h presence... " >&6; } 18605cat >conftest.$ac_ext <<_ACEOF 18606/* confdefs.h. */ 18607_ACEOF 18608cat confdefs.h >>conftest.$ac_ext 18609cat >>conftest.$ac_ext <<_ACEOF 18610/* end confdefs.h. */ 18611#include <machine/apmvar.h> 18612_ACEOF 18613if { (ac_try="$ac_cpp conftest.$ac_ext" 18614case "(($ac_try" in 18615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18616 *) ac_try_echo=$ac_try;; 18617esac 18618eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18619$as_echo "$ac_try_echo") >&5 18620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18621 ac_status=$? 18622 grep -v '^ *+' conftest.er1 >conftest.err 18623 rm -f conftest.er1 18624 cat conftest.err >&5 18625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18626 (exit $ac_status); } >/dev/null && { 18627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18628 test ! -s conftest.err 18629 }; then 18630 ac_header_preproc=yes 18631else 18632 $as_echo "$as_me: failed program was:" >&5 18633sed 's/^/| /' conftest.$ac_ext >&5 18634 18635 ac_header_preproc=no 18636fi 18637 18638rm -f conftest.err conftest.$ac_ext 18639{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18640$as_echo "$ac_header_preproc" >&6; } 18641 18642# So? What about this header? 18643case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18644 yes:no: ) 18645 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: accepted by the compiler, rejected by the preprocessor!" >&5 18646$as_echo "$as_me: WARNING: machine/apmvar.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18647 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: proceeding with the compiler's result" >&5 18648$as_echo "$as_me: WARNING: machine/apmvar.h: proceeding with the compiler's result" >&2;} 18649 ac_header_preproc=yes 18650 ;; 18651 no:yes:* ) 18652 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: present but cannot be compiled" >&5 18653$as_echo "$as_me: WARNING: machine/apmvar.h: present but cannot be compiled" >&2;} 18654 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: check for missing prerequisite headers?" >&5 18655$as_echo "$as_me: WARNING: machine/apmvar.h: check for missing prerequisite headers?" >&2;} 18656 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: see the Autoconf documentation" >&5 18657$as_echo "$as_me: WARNING: machine/apmvar.h: see the Autoconf documentation" >&2;} 18658 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: section \"Present But Cannot Be Compiled\"" >&5 18659$as_echo "$as_me: WARNING: machine/apmvar.h: section \"Present But Cannot Be Compiled\"" >&2;} 18660 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: proceeding with the preprocessor's result" >&5 18661$as_echo "$as_me: WARNING: machine/apmvar.h: proceeding with the preprocessor's result" >&2;} 18662 { $as_echo "$as_me:$LINENO: WARNING: machine/apmvar.h: in the future, the compiler will take precedence" >&5 18663$as_echo "$as_me: WARNING: machine/apmvar.h: in the future, the compiler will take precedence" >&2;} 18664 ( cat <<\_ASBOX 18665## ---------------------------------------------------------------------- ## 18666## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18667## ---------------------------------------------------------------------- ## 18668_ASBOX 18669 ) | sed "s/^/$as_me: WARNING: /" >&2 18670 ;; 18671esac 18672{ $as_echo "$as_me:$LINENO: checking for machine/apmvar.h" >&5 18673$as_echo_n "checking for machine/apmvar.h... " >&6; } 18674if test "${ac_cv_header_machine_apmvar_h+set}" = set; then 18675 $as_echo_n "(cached) " >&6 18676else 18677 ac_cv_header_machine_apmvar_h=$ac_header_preproc 18678fi 18679{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_apmvar_h" >&5 18680$as_echo "$ac_cv_header_machine_apmvar_h" >&6; } 18681 18682fi 18683if test "x$ac_cv_header_machine_apmvar_h" = x""yes; then 18684 18685 if test "${ac_cv_header_sys_event_h+set}" = set; then 18686 { $as_echo "$as_me:$LINENO: checking for sys/event.h" >&5 18687$as_echo_n "checking for sys/event.h... " >&6; } 18688if test "${ac_cv_header_sys_event_h+set}" = set; then 18689 $as_echo_n "(cached) " >&6 18690fi 18691{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_event_h" >&5 18692$as_echo "$ac_cv_header_sys_event_h" >&6; } 18693else 18694 # Is the header compilable? 18695{ $as_echo "$as_me:$LINENO: checking sys/event.h usability" >&5 18696$as_echo_n "checking sys/event.h usability... " >&6; } 18697cat >conftest.$ac_ext <<_ACEOF 18698/* confdefs.h. */ 18699_ACEOF 18700cat confdefs.h >>conftest.$ac_ext 18701cat >>conftest.$ac_ext <<_ACEOF 18702/* end confdefs.h. */ 18703$ac_includes_default 18704#include <sys/event.h> 18705_ACEOF 18706rm -f conftest.$ac_objext 18707if { (ac_try="$ac_compile" 18708case "(($ac_try" in 18709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18710 *) ac_try_echo=$ac_try;; 18711esac 18712eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18713$as_echo "$ac_try_echo") >&5 18714 (eval "$ac_compile") 2>conftest.er1 18715 ac_status=$? 18716 grep -v '^ *+' conftest.er1 >conftest.err 18717 rm -f conftest.er1 18718 cat conftest.err >&5 18719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18720 (exit $ac_status); } && { 18721 test -z "$ac_c_werror_flag" || 18722 test ! -s conftest.err 18723 } && test -s conftest.$ac_objext; then 18724 ac_header_compiler=yes 18725else 18726 $as_echo "$as_me: failed program was:" >&5 18727sed 's/^/| /' conftest.$ac_ext >&5 18728 18729 ac_header_compiler=no 18730fi 18731 18732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18733{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18734$as_echo "$ac_header_compiler" >&6; } 18735 18736# Is the header present? 18737{ $as_echo "$as_me:$LINENO: checking sys/event.h presence" >&5 18738$as_echo_n "checking sys/event.h presence... " >&6; } 18739cat >conftest.$ac_ext <<_ACEOF 18740/* confdefs.h. */ 18741_ACEOF 18742cat confdefs.h >>conftest.$ac_ext 18743cat >>conftest.$ac_ext <<_ACEOF 18744/* end confdefs.h. */ 18745#include <sys/event.h> 18746_ACEOF 18747if { (ac_try="$ac_cpp conftest.$ac_ext" 18748case "(($ac_try" in 18749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18750 *) ac_try_echo=$ac_try;; 18751esac 18752eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18753$as_echo "$ac_try_echo") >&5 18754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18755 ac_status=$? 18756 grep -v '^ *+' conftest.er1 >conftest.err 18757 rm -f conftest.er1 18758 cat conftest.err >&5 18759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18760 (exit $ac_status); } >/dev/null && { 18761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18762 test ! -s conftest.err 18763 }; then 18764 ac_header_preproc=yes 18765else 18766 $as_echo "$as_me: failed program was:" >&5 18767sed 's/^/| /' conftest.$ac_ext >&5 18768 18769 ac_header_preproc=no 18770fi 18771 18772rm -f conftest.err conftest.$ac_ext 18773{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18774$as_echo "$ac_header_preproc" >&6; } 18775 18776# So? What about this header? 18777case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18778 yes:no: ) 18779 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: accepted by the compiler, rejected by the preprocessor!" >&5 18780$as_echo "$as_me: WARNING: sys/event.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18781 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: proceeding with the compiler's result" >&5 18782$as_echo "$as_me: WARNING: sys/event.h: proceeding with the compiler's result" >&2;} 18783 ac_header_preproc=yes 18784 ;; 18785 no:yes:* ) 18786 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: present but cannot be compiled" >&5 18787$as_echo "$as_me: WARNING: sys/event.h: present but cannot be compiled" >&2;} 18788 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: check for missing prerequisite headers?" >&5 18789$as_echo "$as_me: WARNING: sys/event.h: check for missing prerequisite headers?" >&2;} 18790 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: see the Autoconf documentation" >&5 18791$as_echo "$as_me: WARNING: sys/event.h: see the Autoconf documentation" >&2;} 18792 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: section \"Present But Cannot Be Compiled\"" >&5 18793$as_echo "$as_me: WARNING: sys/event.h: section \"Present But Cannot Be Compiled\"" >&2;} 18794 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: proceeding with the preprocessor's result" >&5 18795$as_echo "$as_me: WARNING: sys/event.h: proceeding with the preprocessor's result" >&2;} 18796 { $as_echo "$as_me:$LINENO: WARNING: sys/event.h: in the future, the compiler will take precedence" >&5 18797$as_echo "$as_me: WARNING: sys/event.h: in the future, the compiler will take precedence" >&2;} 18798 ( cat <<\_ASBOX 18799## ---------------------------------------------------------------------- ## 18800## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18801## ---------------------------------------------------------------------- ## 18802_ASBOX 18803 ) | sed "s/^/$as_me: WARNING: /" >&2 18804 ;; 18805esac 18806{ $as_echo "$as_me:$LINENO: checking for sys/event.h" >&5 18807$as_echo_n "checking for sys/event.h... " >&6; } 18808if test "${ac_cv_header_sys_event_h+set}" = set; then 18809 $as_echo_n "(cached) " >&6 18810else 18811 ac_cv_header_sys_event_h=$ac_header_preproc 18812fi 18813{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_event_h" >&5 18814$as_echo "$ac_cv_header_sys_event_h" >&6; } 18815 18816fi 18817if test "x$ac_cv_header_sys_event_h" = x""yes; then 18818 ac_cv_BSD_KQUEUE_APM=yes 18819else 18820 ac_cv_BSD_APM=yes 18821fi 18822 18823 18824fi 18825 18826 18827 18828 if test "x$ac_cv_BSD_APM" = xyes; then 18829 BSD_APM_TRUE= 18830 BSD_APM_FALSE='#' 18831else 18832 BSD_APM_TRUE='#' 18833 BSD_APM_FALSE= 18834fi 18835 18836 if test "x$ac_cv_BSD_KQUEUE_APM" = xyes; then 18837 BSD_KQUEUE_APM_TRUE= 18838 BSD_KQUEUE_APM_FALSE='#' 18839else 18840 BSD_KQUEUE_APM_TRUE='#' 18841 BSD_KQUEUE_APM_FALSE= 18842fi 18843 18844 18845if test "${ac_cv_header_execinfo_h+set}" = set; then 18846 { $as_echo "$as_me:$LINENO: checking for execinfo.h" >&5 18847$as_echo_n "checking for execinfo.h... " >&6; } 18848if test "${ac_cv_header_execinfo_h+set}" = set; then 18849 $as_echo_n "(cached) " >&6 18850fi 18851{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 18852$as_echo "$ac_cv_header_execinfo_h" >&6; } 18853else 18854 # Is the header compilable? 18855{ $as_echo "$as_me:$LINENO: checking execinfo.h usability" >&5 18856$as_echo_n "checking execinfo.h usability... " >&6; } 18857cat >conftest.$ac_ext <<_ACEOF 18858/* confdefs.h. */ 18859_ACEOF 18860cat confdefs.h >>conftest.$ac_ext 18861cat >>conftest.$ac_ext <<_ACEOF 18862/* end confdefs.h. */ 18863$ac_includes_default 18864#include <execinfo.h> 18865_ACEOF 18866rm -f conftest.$ac_objext 18867if { (ac_try="$ac_compile" 18868case "(($ac_try" in 18869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18870 *) ac_try_echo=$ac_try;; 18871esac 18872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18873$as_echo "$ac_try_echo") >&5 18874 (eval "$ac_compile") 2>conftest.er1 18875 ac_status=$? 18876 grep -v '^ *+' conftest.er1 >conftest.err 18877 rm -f conftest.er1 18878 cat conftest.err >&5 18879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18880 (exit $ac_status); } && { 18881 test -z "$ac_c_werror_flag" || 18882 test ! -s conftest.err 18883 } && test -s conftest.$ac_objext; then 18884 ac_header_compiler=yes 18885else 18886 $as_echo "$as_me: failed program was:" >&5 18887sed 's/^/| /' conftest.$ac_ext >&5 18888 18889 ac_header_compiler=no 18890fi 18891 18892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 18893{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 18894$as_echo "$ac_header_compiler" >&6; } 18895 18896# Is the header present? 18897{ $as_echo "$as_me:$LINENO: checking execinfo.h presence" >&5 18898$as_echo_n "checking execinfo.h presence... " >&6; } 18899cat >conftest.$ac_ext <<_ACEOF 18900/* confdefs.h. */ 18901_ACEOF 18902cat confdefs.h >>conftest.$ac_ext 18903cat >>conftest.$ac_ext <<_ACEOF 18904/* end confdefs.h. */ 18905#include <execinfo.h> 18906_ACEOF 18907if { (ac_try="$ac_cpp conftest.$ac_ext" 18908case "(($ac_try" in 18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18910 *) ac_try_echo=$ac_try;; 18911esac 18912eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 18913$as_echo "$ac_try_echo") >&5 18914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 18915 ac_status=$? 18916 grep -v '^ *+' conftest.er1 >conftest.err 18917 rm -f conftest.er1 18918 cat conftest.err >&5 18919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 18920 (exit $ac_status); } >/dev/null && { 18921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 18922 test ! -s conftest.err 18923 }; then 18924 ac_header_preproc=yes 18925else 18926 $as_echo "$as_me: failed program was:" >&5 18927sed 's/^/| /' conftest.$ac_ext >&5 18928 18929 ac_header_preproc=no 18930fi 18931 18932rm -f conftest.err conftest.$ac_ext 18933{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 18934$as_echo "$ac_header_preproc" >&6; } 18935 18936# So? What about this header? 18937case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 18938 yes:no: ) 18939 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5 18940$as_echo "$as_me: WARNING: execinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 18941 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the compiler's result" >&5 18942$as_echo "$as_me: WARNING: execinfo.h: proceeding with the compiler's result" >&2;} 18943 ac_header_preproc=yes 18944 ;; 18945 no:yes:* ) 18946 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: present but cannot be compiled" >&5 18947$as_echo "$as_me: WARNING: execinfo.h: present but cannot be compiled" >&2;} 18948 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: check for missing prerequisite headers?" >&5 18949$as_echo "$as_me: WARNING: execinfo.h: check for missing prerequisite headers?" >&2;} 18950 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: see the Autoconf documentation" >&5 18951$as_echo "$as_me: WARNING: execinfo.h: see the Autoconf documentation" >&2;} 18952 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&5 18953$as_echo "$as_me: WARNING: execinfo.h: section \"Present But Cannot Be Compiled\"" >&2;} 18954 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: proceeding with the preprocessor's result" >&5 18955$as_echo "$as_me: WARNING: execinfo.h: proceeding with the preprocessor's result" >&2;} 18956 { $as_echo "$as_me:$LINENO: WARNING: execinfo.h: in the future, the compiler will take precedence" >&5 18957$as_echo "$as_me: WARNING: execinfo.h: in the future, the compiler will take precedence" >&2;} 18958 ( cat <<\_ASBOX 18959## ---------------------------------------------------------------------- ## 18960## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 18961## ---------------------------------------------------------------------- ## 18962_ASBOX 18963 ) | sed "s/^/$as_me: WARNING: /" >&2 18964 ;; 18965esac 18966{ $as_echo "$as_me:$LINENO: checking for execinfo.h" >&5 18967$as_echo_n "checking for execinfo.h... " >&6; } 18968if test "${ac_cv_header_execinfo_h+set}" = set; then 18969 $as_echo_n "(cached) " >&6 18970else 18971 ac_cv_header_execinfo_h=$ac_header_preproc 18972fi 18973{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_execinfo_h" >&5 18974$as_echo "$ac_cv_header_execinfo_h" >&6; } 18975 18976fi 18977if test "x$ac_cv_header_execinfo_h" = x""yes; then 18978 18979 { $as_echo "$as_me:$LINENO: checking for backtrace in -lc" >&5 18980$as_echo_n "checking for backtrace in -lc... " >&6; } 18981if test "${ac_cv_lib_c_backtrace+set}" = set; then 18982 $as_echo_n "(cached) " >&6 18983else 18984 ac_check_lib_save_LIBS=$LIBS 18985LIBS="-lc $LIBS" 18986cat >conftest.$ac_ext <<_ACEOF 18987/* confdefs.h. */ 18988_ACEOF 18989cat confdefs.h >>conftest.$ac_ext 18990cat >>conftest.$ac_ext <<_ACEOF 18991/* end confdefs.h. */ 18992 18993/* Override any GCC internal prototype to avoid an error. 18994 Use char because int might match the return type of a GCC 18995 builtin and then its argument prototype would still apply. */ 18996#ifdef __cplusplus 18997extern "C" 18998#endif 18999char backtrace (); 19000int 19001main () 19002{ 19003return backtrace (); 19004 ; 19005 return 0; 19006} 19007_ACEOF 19008rm -f conftest.$ac_objext conftest$ac_exeext 19009if { (ac_try="$ac_link" 19010case "(($ac_try" in 19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19012 *) ac_try_echo=$ac_try;; 19013esac 19014eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19015$as_echo "$ac_try_echo") >&5 19016 (eval "$ac_link") 2>conftest.er1 19017 ac_status=$? 19018 grep -v '^ *+' conftest.er1 >conftest.err 19019 rm -f conftest.er1 19020 cat conftest.err >&5 19021 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19022 (exit $ac_status); } && { 19023 test -z "$ac_c_werror_flag" || 19024 test ! -s conftest.err 19025 } && test -s conftest$ac_exeext && { 19026 test "$cross_compiling" = yes || 19027 $as_test_x conftest$ac_exeext 19028 }; then 19029 ac_cv_lib_c_backtrace=yes 19030else 19031 $as_echo "$as_me: failed program was:" >&5 19032sed 's/^/| /' conftest.$ac_ext >&5 19033 19034 ac_cv_lib_c_backtrace=no 19035fi 19036 19037rm -rf conftest.dSYM 19038rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19039 conftest$ac_exeext conftest.$ac_ext 19040LIBS=$ac_check_lib_save_LIBS 19041fi 19042{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c_backtrace" >&5 19043$as_echo "$ac_cv_lib_c_backtrace" >&6; } 19044if test "x$ac_cv_lib_c_backtrace" = x""yes; then 19045 19046 19047cat >>confdefs.h <<\_ACEOF 19048#define HAVE_BACKTRACE 1 19049_ACEOF 19050 19051 19052cat >>confdefs.h <<\_ACEOF 19053#define HAVE_EXECINFO_H 1 19054_ACEOF 19055 19056 19057fi 19058 19059 19060fi 19061 19062 19063 19064DEFAULT_INT10="x86emu" 19065 19066 19067case $host_cpu in 19068 alpha*) 19069 ALPHA_VIDEO=yes 19070 case $host_os in 19071 *freebsd*) SYS_LIBS=-lio ;; 19072 *netbsd*) 19073cat >>confdefs.h <<\_ACEOF 19074#define USE_ALPHA_PIO 1 19075_ACEOF 19076 ;; 19077 esac 19078 GLX_ARCH_DEFINES="-D__GLX_ALIGN64 -mieee" 19079 ;; 19080 arm*) 19081 ARM_VIDEO=yes 19082 ;; 19083 i*86) 19084 I386_VIDEO=yes 19085 case $host_os in 19086 *freebsd*) cat >>confdefs.h <<\_ACEOF 19087#define USE_DEV_IO 1 19088_ACEOF 19089 ;; 19090 *dragonfly*) cat >>confdefs.h <<\_ACEOF 19091#define USE_DEV_IO 1 19092_ACEOF 19093 ;; 19094 *netbsd*) cat >>confdefs.h <<\_ACEOF 19095#define USE_I386_IOPL 1 19096_ACEOF 19097 19098 SYS_LIBS=-li386 19099 ;; 19100 *openbsd*) cat >>confdefs.h <<\_ACEOF 19101#define USE_I386_IOPL 1 19102_ACEOF 19103 19104 SYS_LIBS=-li386 19105 ;; 19106 esac 19107 ;; 19108 powerpc*) 19109 PPC_VIDEO=yes 19110 case $host_os in 19111 *freebsd*) DEFAULT_INT10=stub ;; 19112 esac 19113 ;; 19114 sparc*) 19115 SPARC64_VIDEO=yes 19116 BSD_ARCH_SOURCES="sparc64_video.c ioperm_noop.c" 19117 GLX_ARCH_DEFINES="-D__GLX_ALIGN64" 19118 ;; 19119 x86_64*|amd64*) 19120 I386_VIDEO=yes 19121 case $host_os in 19122 *freebsd*) 19123cat >>confdefs.h <<\_ACEOF 19124#define USE_DEV_IO 1 19125_ACEOF 19126 ;; 19127 *dragonfly*) 19128cat >>confdefs.h <<\_ACEOF 19129#define USE_DEV_IO 1 19130_ACEOF 19131 ;; 19132 *netbsd*) 19133cat >>confdefs.h <<\_ACEOF 19134#define USE_I386_IOPL 1 19135_ACEOF 19136 19137 SYS_LIBS=-lx86_64 19138 ;; 19139 *openbsd*) 19140cat >>confdefs.h <<\_ACEOF 19141#define USE_AMD64_IOPL 1 19142_ACEOF 19143 19144 SYS_LIBS=-lamd64 19145 ;; 19146 esac 19147 GLX_ARCH_DEFINES="-D__GLX_ALIGN64" 19148 ;; 19149 ia64*) 19150 GLX_ARCH_DEFINES="-D__GLX_ALIGN64" 19151 ;; 19152 s390*) 19153 GLX_ARCH_DEFINES="-D__GLX_ALIGN64" 19154 ;; 19155esac 19156 19157 19158 if test "x$ALPHA_VIDEO" = xyes; then 19159 ALPHA_VIDEO_TRUE= 19160 ALPHA_VIDEO_FALSE='#' 19161else 19162 ALPHA_VIDEO_TRUE='#' 19163 ALPHA_VIDEO_FALSE= 19164fi 19165 19166 if test "x$ARM_VIDEO" = xyes; then 19167 ARM_VIDEO_TRUE= 19168 ARM_VIDEO_FALSE='#' 19169else 19170 ARM_VIDEO_TRUE='#' 19171 ARM_VIDEO_FALSE= 19172fi 19173 19174 if test "x$I386_VIDEO" = xyes; then 19175 I386_VIDEO_TRUE= 19176 I386_VIDEO_FALSE='#' 19177else 19178 I386_VIDEO_TRUE='#' 19179 I386_VIDEO_FALSE= 19180fi 19181 19182 if test "x$PPC_VIDEO" = xyes; then 19183 PPC_VIDEO_TRUE= 19184 PPC_VIDEO_FALSE='#' 19185else 19186 PPC_VIDEO_TRUE='#' 19187 PPC_VIDEO_FALSE= 19188fi 19189 19190 if test "x$SPARC64_VIDEO" = xyes; then 19191 SPARC64_VIDEO_TRUE= 19192 SPARC64_VIDEO_FALSE='#' 19193else 19194 SPARC64_VIDEO_TRUE='#' 19195 SPARC64_VIDEO_FALSE= 19196fi 19197 19198 19199DRI=no 19200KDRIVE_HW=no 19201case $host_os in 19202 *freebsd* | *dragonfly*) 19203 case $host_os in 19204 kfreebsd*-gnu) ;; 19205 *) 19206cat >>confdefs.h <<\_ACEOF 19207#define CSRG_BASED 1 19208_ACEOF 19209 ;; 19210 esac 19211 19212cat >>confdefs.h <<\_ACEOF 19213#define PCCONS_SUPPORT 1 19214_ACEOF 19215 19216 19217cat >>confdefs.h <<\_ACEOF 19218#define PCVT_SUPPORT 1 19219_ACEOF 19220 19221 19222cat >>confdefs.h <<\_ACEOF 19223#define SYSCONS_SUPPORT 1 19224_ACEOF 19225 19226 DRI=yes 19227 ;; 19228 *netbsd*) 19229 19230cat >>confdefs.h <<\_ACEOF 19231#define CSRG_BASED 1 19232_ACEOF 19233 19234 19235cat >>confdefs.h <<\_ACEOF 19236#define PCCONS_SUPPORT 1 19237_ACEOF 19238 19239 19240cat >>confdefs.h <<\_ACEOF 19241#define PCVT_SUPPORT 1 19242_ACEOF 19243 19244 19245cat >>confdefs.h <<\_ACEOF 19246#define WSCONS_SUPPORT 1 19247_ACEOF 19248 19249 DRI=yes 19250 ;; 19251 *openbsd*) 19252 19253cat >>confdefs.h <<\_ACEOF 19254#define CSRG_BASED 1 19255_ACEOF 19256 19257 19258cat >>confdefs.h <<\_ACEOF 19259#define PCVT_SUPPORT 1 19260_ACEOF 19261 19262 19263cat >>confdefs.h <<\_ACEOF 19264#define WSCONS_SUPPORT 1 19265_ACEOF 19266 19267 ;; 19268 *linux*) 19269 DRI=yes 19270 KDRIVE_HW=yes 19271 ;; 19272 *solaris*) 19273 if test -n "$PKG_CONFIG" && \ 19274 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm\"") >&5 19275 ($PKG_CONFIG --exists --print-errors "libdrm") 2>&5 19276 ac_status=$? 19277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19278 (exit $ac_status); }; then 19279 DRI=yes 19280else 19281 DRI=no 19282fi 19283 ;; 19284 darwin*) 19285 19286cat >>confdefs.h <<\_ACEOF 19287#define CSRG_BASED 1 19288_ACEOF 19289 19290 ;; 19291esac 19292 if test "x$KDRIVE_HW" = xyes; then 19293 KDRIVE_HW_TRUE= 19294 KDRIVE_HW_FALSE='#' 19295else 19296 KDRIVE_HW_TRUE='#' 19297 KDRIVE_HW_FALSE= 19298fi 19299 19300 19301 19302 19303# Check whether --with-release-version was given. 19304if test "${with_release_version+set}" = set; then 19305 withval=$with_release_version; RELEASE_VERSION="$withval" 19306else 19307 RELEASE_VERSION="" 19308fi 19309 19310 if test "x$RELEASE_VERSION" != "x"; then 19311 PACKAGE="$PACKAGE-$RELEASE_VERSION" 19312 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 19313 { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 19314$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 19315 fi 19316 19317cat >>confdefs.h <<_ACEOF 19318#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 19319_ACEOF 19320 19321 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 19322 if test "x$PVM" = "x"; then 19323 PVM="0" 19324 fi 19325 19326cat >>confdefs.h <<_ACEOF 19327#define PACKAGE_VERSION_MINOR $PVM 19328_ACEOF 19329 19330 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 19331 if test "x$PVP" = "x"; then 19332 PVP="0" 19333 fi 19334 19335cat >>confdefs.h <<_ACEOF 19336#define PACKAGE_VERSION_PATCHLEVEL $PVP 19337_ACEOF 19338 19339 19340PVMAJOR=`echo $PACKAGE_VERSION | cut -d . -f 1` 19341PVS=`echo $PACKAGE_VERSION | cut -d . -f 4 | cut -d - -f 1` 19342if test "x$PVS" = "x"; then 19343 PVS="0" 19344fi 19345 19346VENDOR_RELEASE="((($PVMAJOR) * 10000000) + (($PVM) * 100000) + (($PVP) * 1000) + $PVS)" 19347VENDOR_MAN_VERSION="Version ${PACKAGE_VERSION}" 19348 19349VENDOR_NAME="The X.Org Foundation" 19350VENDOR_NAME_SHORT="X.Org" 19351VENDOR_WEB="http://wiki.x.org" 19352 19353 19354 19355# Check whether --enable-werror was given. 19356if test "${enable_werror+set}" = set; then 19357 enableval=$enable_werror; WERROR=$enableval 19358else 19359 WERROR=no 19360fi 19361 19362# Check whether --enable-debug was given. 19363if test "${enable_debug+set}" = set; then 19364 enableval=$enable_debug; DEBUGGING=$enableval 19365else 19366 DEBUGGING=no 19367fi 19368 19369 19370# Check whether --with-int10 was given. 19371if test "${with_int10+set}" = set; then 19372 withval=$with_int10; INT10="$withval" 19373else 19374 INT10="$DEFAULT_INT10" 19375fi 19376 19377 19378# Check whether --with-vendor-name was given. 19379if test "${with_vendor_name+set}" = set; then 19380 withval=$with_vendor_name; VENDOR_NAME="$withval" 19381fi 19382 19383 19384# Check whether --with-vendor-name-short was given. 19385if test "${with_vendor_name_short+set}" = set; then 19386 withval=$with_vendor_name_short; VENDOR_NAME_SHORT="$withval" 19387fi 19388 19389 19390# Check whether --with-vendor-web was given. 19391if test "${with_vendor_web+set}" = set; then 19392 withval=$with_vendor_web; VENDOR_WEB="$withval" 19393fi 19394 19395 19396# Check whether --with-module-dir was given. 19397if test "${with_module_dir+set}" = set; then 19398 withval=$with_module_dir; moduledir="$withval" 19399else 19400 moduledir="${libdir}/xorg/modules" 19401fi 19402 19403 19404# Check whether --with-log-dir was given. 19405if test "${with_log_dir+set}" = set; then 19406 withval=$with_log_dir; logdir="$withval" 19407else 19408 logdir="$localstatedir/log" 19409fi 19410 19411 19412# Check whether --with-builder-addr was given. 19413if test "${with_builder_addr+set}" = set; then 19414 withval=$with_builder_addr; BUILDERADDR="$withval" 19415else 19416 BUILDERADDR="xorg@lists.freedesktop.org" 19417fi 19418 19419 19420# Check whether --with-os-name was given. 19421if test "${with_os_name+set}" = set; then 19422 withval=$with_os_name; OSNAME="$withval" 19423else 19424 OSNAME=`uname -srm` 19425fi 19426 19427 19428# Check whether --with-os-vendor was given. 19429if test "${with_os_vendor+set}" = set; then 19430 withval=$with_os_vendor; OSVENDOR="$withval" 19431else 19432 OSVENDOR="" 19433fi 19434 19435 19436# Check whether --with-builderstring was given. 19437if test "${with_builderstring+set}" = set; then 19438 withval=$with_builderstring; BUILDERSTRING="$withval" 19439 19440fi 19441 19442 19443# Check whether --with-fontdir was given. 19444if test "${with_fontdir+set}" = set; then 19445 withval=$with_fontdir; FONTDIR="$withval" 19446else 19447 FONTDIR="${libdir}/X11/fonts" 19448fi 19449 19450DEFAULT_FONT_PATH="${FONTDIR}/misc/,${FONTDIR}/TTF/,${FONTDIR}/OTF,${FONTDIR}/Type1/,${FONTDIR}/100dpi/,${FONTDIR}/75dpi/" 19451case $host_os in 19452 darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;; 19453esac 19454 19455# Check whether --with-default-font-path was given. 19456if test "${with_default_font_path+set}" = set; then 19457 withval=$with_default_font_path; FONTPATH="$withval" 19458else 19459 FONTPATH="${DEFAULT_FONT_PATH}" 19460fi 19461 19462 19463# Check whether --with-xkb-path was given. 19464if test "${with_xkb_path+set}" = set; then 19465 withval=$with_xkb_path; XKBPATH="$withval" 19466else 19467 XKBPATH="${datadir}/X11/xkb" 19468fi 19469 19470 19471# Check whether --with-xkb-output was given. 19472if test "${with_xkb_output+set}" = set; then 19473 withval=$with_xkb_output; XKBOUTPUT="$withval" 19474else 19475 XKBOUTPUT="compiled" 19476fi 19477 19478 19479# Check whether --with-serverconfig-path was given. 19480if test "${with_serverconfig_path+set}" = set; then 19481 withval=$with_serverconfig_path; SERVERCONFIG="$withval" 19482else 19483 SERVERCONFIG="${libdir}/xorg" 19484fi 19485 19486 19487# Check whether --with-apple-applications-dir was given. 19488if test "${with_apple_applications_dir+set}" = set; then 19489 withval=$with_apple_applications_dir; APPLE_APPLICATIONS_DIR="${withval}" 19490else 19491 APPLE_APPLICATIONS_DIR="/Applications/Utilities" 19492fi 19493 19494 19495 19496# Check whether --with-apple-application-name was given. 19497if test "${with_apple_application_name+set}" = set; then 19498 withval=$with_apple_application_name; APPLE_APPLICATION_NAME="${withval}" 19499else 19500 APPLE_APPLICATION_NAME="X11" 19501fi 19502 19503 19504 19505# Check whether --with-apple-application-id was given. 19506if test "${with_apple_application_id+set}" = set; then 19507 withval=$with_apple_application_id; APPLE_APPLICATION_ID="${withval}" 19508else 19509 APPLE_APPLICATION_ID="org.x.X11" 19510fi 19511 19512 19513# Check whether --enable-builddocs was given. 19514if test "${enable_builddocs+set}" = set; then 19515 enableval=$enable_builddocs; BUILDDOCS=$enableval 19516else 19517 BUILDDOCS=no 19518fi 19519 19520# Check whether --enable-install-libxf86config was given. 19521if test "${enable_install_libxf86config+set}" = set; then 19522 enableval=$enable_install_libxf86config; INSTALL_LIBXF86CONFIG=$enableval 19523else 19524 INSTALL_LIBXF86CONFIG=no 19525fi 19526 19527# Check whether --enable-null-root-cursor was given. 19528if test "${enable_null_root_cursor+set}" = set; then 19529 enableval=$enable_null_root_cursor; NULL_ROOT_CURSOR=$enableval 19530else 19531 NULL_ROOT_CURSOR=no 19532fi 19533 19534 19535 19536# Check whether --with-mesa-source was given. 19537if test "${with_mesa_source+set}" = set; then 19538 withval=$with_mesa_source; MESA_SOURCE="$withval" 19539else 19540 MESA_SOURCE="" 19541fi 19542 19543 19544# Check whether --with-dri-driver-path was given. 19545if test "${with_dri_driver_path+set}" = set; then 19546 withval=$with_dri_driver_path; DRI_DRIVER_PATH="$withval" 19547else 19548 DRI_DRIVER_PATH="${libdir}/dri" 19549fi 19550 19551# Check whether --enable-aiglx was given. 19552if test "${enable_aiglx+set}" = set; then 19553 enableval=$enable_aiglx; AIGLX=$enableval 19554else 19555 AIGLX=yes 19556fi 19557 19558# Check whether --enable-glx-tls was given. 19559if test "${enable_glx_tls+set}" = set; then 19560 enableval=$enable_glx_tls; GLX_USE_TLS=$enableval 19561else 19562 GLX_USE_TLS=no 19563fi 19564 19565 19566# Check whether --enable-registry was given. 19567if test "${enable_registry+set}" = set; then 19568 enableval=$enable_registry; XREGISTRY=$enableval 19569else 19570 XREGISTRY=yes 19571fi 19572 19573# Check whether --enable-composite was given. 19574if test "${enable_composite+set}" = set; then 19575 enableval=$enable_composite; COMPOSITE=$enableval 19576else 19577 COMPOSITE=yes 19578fi 19579 19580# Check whether --enable-mitshm was given. 19581if test "${enable_mitshm+set}" = set; then 19582 enableval=$enable_mitshm; MITSHM=$enableval 19583else 19584 MITSHM=yes 19585fi 19586 19587# Check whether --enable-xres was given. 19588if test "${enable_xres+set}" = set; then 19589 enableval=$enable_xres; RES=$enableval 19590else 19591 RES=yes 19592fi 19593 19594# Check whether --enable-record was given. 19595if test "${enable_record+set}" = set; then 19596 enableval=$enable_record; RECORD=$enableval 19597else 19598 RECORD=no 19599fi 19600 19601# Check whether --enable-xv was given. 19602if test "${enable_xv+set}" = set; then 19603 enableval=$enable_xv; XV=$enableval 19604else 19605 XV=yes 19606fi 19607 19608# Check whether --enable-xvmc was given. 19609if test "${enable_xvmc+set}" = set; then 19610 enableval=$enable_xvmc; XVMC=$enableval 19611else 19612 XVMC=yes 19613fi 19614 19615# Check whether --enable-dga was given. 19616if test "${enable_dga+set}" = set; then 19617 enableval=$enable_dga; DGA=$enableval 19618else 19619 DGA=auto 19620fi 19621 19622# Check whether --enable-screensaver was given. 19623if test "${enable_screensaver+set}" = set; then 19624 enableval=$enable_screensaver; SCREENSAVER=$enableval 19625else 19626 SCREENSAVER=yes 19627fi 19628 19629# Check whether --enable-xdmcp was given. 19630if test "${enable_xdmcp+set}" = set; then 19631 enableval=$enable_xdmcp; XDMCP=$enableval 19632else 19633 XDMCP=auto 19634fi 19635 19636# Check whether --enable-xdm-auth-1 was given. 19637if test "${enable_xdm_auth_1+set}" = set; then 19638 enableval=$enable_xdm_auth_1; XDMAUTH=$enableval 19639else 19640 XDMAUTH=auto 19641fi 19642 19643# Check whether --enable-glx was given. 19644if test "${enable_glx+set}" = set; then 19645 enableval=$enable_glx; GLX=$enableval 19646else 19647 GLX=yes 19648fi 19649 19650# Check whether --enable-dri was given. 19651if test "${enable_dri+set}" = set; then 19652 enableval=$enable_dri; DRI=$enableval 19653fi 19654 19655# Check whether --enable-dri2 was given. 19656if test "${enable_dri2+set}" = set; then 19657 enableval=$enable_dri2; DRI2=$enableval 19658else 19659 DRI2=auto 19660fi 19661 19662# Check whether --enable-xinerama was given. 19663if test "${enable_xinerama+set}" = set; then 19664 enableval=$enable_xinerama; XINERAMA=$enableval 19665else 19666 XINERAMA=yes 19667fi 19668 19669# Check whether --enable-xf86vidmode was given. 19670if test "${enable_xf86vidmode+set}" = set; then 19671 enableval=$enable_xf86vidmode; XF86VIDMODE=$enableval 19672else 19673 XF86VIDMODE=auto 19674fi 19675 19676# Check whether --enable-xace was given. 19677if test "${enable_xace+set}" = set; then 19678 enableval=$enable_xace; XACE=$enableval 19679else 19680 XACE=yes 19681fi 19682 19683# Check whether --enable-xselinux was given. 19684if test "${enable_xselinux+set}" = set; then 19685 enableval=$enable_xselinux; XSELINUX=$enableval 19686else 19687 XSELINUX=no 19688fi 19689 19690# Check whether --enable-xcsecurity was given. 19691if test "${enable_xcsecurity+set}" = set; then 19692 enableval=$enable_xcsecurity; XCSECURITY=$enableval 19693else 19694 XCSECURITY=no 19695fi 19696 19697# Check whether --enable-xcalibrate was given. 19698if test "${enable_xcalibrate+set}" = set; then 19699 enableval=$enable_xcalibrate; XCALIBRATE=$enableval 19700else 19701 XCALIBRATE=no 19702fi 19703 19704# Check whether --enable-tslib was given. 19705if test "${enable_tslib+set}" = set; then 19706 enableval=$enable_tslib; TSLIB=$enableval 19707else 19708 TSLIB=no 19709fi 19710 19711# Check whether --enable-multibuffer was given. 19712if test "${enable_multibuffer+set}" = set; then 19713 enableval=$enable_multibuffer; MULTIBUFFER=$enableval 19714else 19715 MULTIBUFFER=no 19716fi 19717 19718# Check whether --enable-dbe was given. 19719if test "${enable_dbe+set}" = set; then 19720 enableval=$enable_dbe; DBE=$enableval 19721else 19722 DBE=yes 19723fi 19724 19725# Check whether --enable-xf86bigfont was given. 19726if test "${enable_xf86bigfont+set}" = set; then 19727 enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval 19728else 19729 XF86BIGFONT=no 19730fi 19731 19732# Check whether --enable-dpms was given. 19733if test "${enable_dpms+set}" = set; then 19734 enableval=$enable_dpms; DPMSExtension=$enableval 19735else 19736 DPMSExtension=yes 19737fi 19738 19739# Check whether --enable-config-dbus was given. 19740if test "${enable_config_dbus+set}" = set; then 19741 enableval=$enable_config_dbus; CONFIG_DBUS_API=$enableval 19742else 19743 CONFIG_DBUS_API=no 19744fi 19745 19746# Check whether --enable-config-hal was given. 19747if test "${enable_config_hal+set}" = set; then 19748 enableval=$enable_config_hal; CONFIG_HAL=$enableval 19749else 19750 CONFIG_HAL=auto 19751fi 19752 19753# Check whether --enable-xfree86-utils was given. 19754if test "${enable_xfree86_utils+set}" = set; then 19755 enableval=$enable_xfree86_utils; XF86UTILS=$enableval 19756else 19757 XF86UTILS=yes 19758fi 19759 19760 19761# Check whether --enable-xorg was given. 19762if test "${enable_xorg+set}" = set; then 19763 enableval=$enable_xorg; XORG=$enableval 19764else 19765 XORG=auto 19766fi 19767 19768# Check whether --enable-dmx was given. 19769if test "${enable_dmx+set}" = set; then 19770 enableval=$enable_dmx; DMX=$enableval 19771else 19772 DMX=no 19773fi 19774 19775# Check whether --enable-xvfb was given. 19776if test "${enable_xvfb+set}" = set; then 19777 enableval=$enable_xvfb; XVFB=$enableval 19778else 19779 XVFB=yes 19780fi 19781 19782# Check whether --enable-xnest was given. 19783if test "${enable_xnest+set}" = set; then 19784 enableval=$enable_xnest; XNEST=$enableval 19785else 19786 XNEST=auto 19787fi 19788 19789# Check whether --enable-xquartz was given. 19790if test "${enable_xquartz+set}" = set; then 19791 enableval=$enable_xquartz; XQUARTZ=$enableval 19792else 19793 XQUARTZ=auto 19794fi 19795 19796# Check whether --enable-standalone-xpbproxy was given. 19797if test "${enable_standalone_xpbproxy+set}" = set; then 19798 enableval=$enable_standalone_xpbproxy; STANDALONE_XPBPROXY=$enableval 19799else 19800 STANDALONE_XPBPROXY=no 19801fi 19802 19803# Check whether --enable-xwin was given. 19804if test "${enable_xwin+set}" = set; then 19805 enableval=$enable_xwin; XWIN=$enableval 19806else 19807 XWIN=auto 19808fi 19809 19810# Check whether --enable-kdrive was given. 19811if test "${enable_kdrive+set}" = set; then 19812 enableval=$enable_kdrive; KDRIVE=$enableval 19813else 19814 KDRIVE=no 19815fi 19816 19817# Check whether --enable-xephyr was given. 19818if test "${enable_xephyr+set}" = set; then 19819 enableval=$enable_xephyr; XEPHYR=$enableval 19820else 19821 XEPHYR=auto 19822fi 19823 19824# Check whether --enable-xsdl was given. 19825if test "${enable_xsdl+set}" = set; then 19826 enableval=$enable_xsdl; XSDL=$enableval 19827else 19828 XSDL=auto 19829fi 19830 19831# Check whether --enable-xfake was given. 19832if test "${enable_xfake+set}" = set; then 19833 enableval=$enable_xfake; XFAKE=$enableval 19834else 19835 XFAKE=auto 19836fi 19837 19838# Check whether --enable-xfbdev was given. 19839if test "${enable_xfbdev+set}" = set; then 19840 enableval=$enable_xfbdev; XFBDEV=$enableval 19841else 19842 XFBDEV=auto 19843fi 19844 19845 19846 19847# Check whether --enable-install-setuid was given. 19848if test "${enable_install_setuid+set}" = set; then 19849 enableval=$enable_install_setuid; SETUID=$enableval 19850else 19851 SETUID=auto 19852fi 19853 19854{ $as_echo "$as_me:$LINENO: checking to see if we can install the Xorg server as root" >&5 19855$as_echo_n "checking to see if we can install the Xorg server as root... " >&6; } 19856if test "x$SETUID" = "xauto" ; then 19857 case $host_os in 19858 darwin*) SETUID="no" ;; 19859 *) 19860 case $host_cpu in 19861 sparc) SETUID="no" ;; 19862 *) SETUID="yes" ;; 19863 esac 19864 esac 19865 if test "x$SETUID" = xyes; then 19866 touch testfile 19867 chown root testfile > /dev/null 2>&1 || SETUID="no" 19868 rm -f testfile 19869 fi 19870fi 19871{ $as_echo "$as_me:$LINENO: result: $SETUID" >&5 19872$as_echo "$SETUID" >&6; } 19873 if test "x$SETUID" = "xyes"; then 19874 INSTALL_SETUID_TRUE= 19875 INSTALL_SETUID_FALSE='#' 19876else 19877 INSTALL_SETUID_TRUE='#' 19878 INSTALL_SETUID_FALSE= 19879fi 19880 19881 19882 19883 19884# Transport selection macro from xtrans.m4 19885 19886 19887 19888 case $host_os in 19889 mingw*) unixdef="no" ;; 19890 *) unixdef="yes" ;; 19891 esac 19892 # Check whether --enable-unix-transport was given. 19893if test "${enable_unix_transport+set}" = set; then 19894 enableval=$enable_unix_transport; UNIXCONN=$enableval 19895else 19896 UNIXCONN=$unixdef 19897fi 19898 19899 { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5 19900$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; } 19901 if test "$UNIXCONN" = "yes"; then 19902 19903cat >>confdefs.h <<\_ACEOF 19904#define UNIXCONN 1 19905_ACEOF 19906 19907 fi 19908 { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5 19909$as_echo "$UNIXCONN" >&6; } 19910 # Check whether --enable-tcp-transport was given. 19911if test "${enable_tcp_transport+set}" = set; then 19912 enableval=$enable_tcp_transport; TCPCONN=$enableval 19913else 19914 TCPCONN=yes 19915fi 19916 19917 { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5 19918$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; } 19919 { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5 19920$as_echo "$TCPCONN" >&6; } 19921 if test "$TCPCONN" = "yes"; then 19922 19923cat >>confdefs.h <<\_ACEOF 19924#define TCPCONN 1 19925_ACEOF 19926 19927 19928 # SVR4 hides these in libraries other than libc 19929 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 19930$as_echo_n "checking for library containing socket... " >&6; } 19931if test "${ac_cv_search_socket+set}" = set; then 19932 $as_echo_n "(cached) " >&6 19933else 19934 ac_func_search_save_LIBS=$LIBS 19935cat >conftest.$ac_ext <<_ACEOF 19936/* confdefs.h. */ 19937_ACEOF 19938cat confdefs.h >>conftest.$ac_ext 19939cat >>conftest.$ac_ext <<_ACEOF 19940/* end confdefs.h. */ 19941 19942/* Override any GCC internal prototype to avoid an error. 19943 Use char because int might match the return type of a GCC 19944 builtin and then its argument prototype would still apply. */ 19945#ifdef __cplusplus 19946extern "C" 19947#endif 19948char socket (); 19949int 19950main () 19951{ 19952return socket (); 19953 ; 19954 return 0; 19955} 19956_ACEOF 19957for ac_lib in '' socket; do 19958 if test -z "$ac_lib"; then 19959 ac_res="none required" 19960 else 19961 ac_res=-l$ac_lib 19962 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 19963 fi 19964 rm -f conftest.$ac_objext conftest$ac_exeext 19965if { (ac_try="$ac_link" 19966case "(($ac_try" in 19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19968 *) ac_try_echo=$ac_try;; 19969esac 19970eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 19971$as_echo "$ac_try_echo") >&5 19972 (eval "$ac_link") 2>conftest.er1 19973 ac_status=$? 19974 grep -v '^ *+' conftest.er1 >conftest.err 19975 rm -f conftest.er1 19976 cat conftest.err >&5 19977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 19978 (exit $ac_status); } && { 19979 test -z "$ac_c_werror_flag" || 19980 test ! -s conftest.err 19981 } && test -s conftest$ac_exeext && { 19982 test "$cross_compiling" = yes || 19983 $as_test_x conftest$ac_exeext 19984 }; then 19985 ac_cv_search_socket=$ac_res 19986else 19987 $as_echo "$as_me: failed program was:" >&5 19988sed 's/^/| /' conftest.$ac_ext >&5 19989 19990 19991fi 19992 19993rm -rf conftest.dSYM 19994rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 19995 conftest$ac_exeext 19996 if test "${ac_cv_search_socket+set}" = set; then 19997 break 19998fi 19999done 20000if test "${ac_cv_search_socket+set}" = set; then 20001 : 20002else 20003 ac_cv_search_socket=no 20004fi 20005rm conftest.$ac_ext 20006LIBS=$ac_func_search_save_LIBS 20007fi 20008{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 20009$as_echo "$ac_cv_search_socket" >&6; } 20010ac_res=$ac_cv_search_socket 20011if test "$ac_res" != no; then 20012 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20013 20014fi 20015 20016 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 20017$as_echo_n "checking for library containing gethostbyname... " >&6; } 20018if test "${ac_cv_search_gethostbyname+set}" = set; then 20019 $as_echo_n "(cached) " >&6 20020else 20021 ac_func_search_save_LIBS=$LIBS 20022cat >conftest.$ac_ext <<_ACEOF 20023/* confdefs.h. */ 20024_ACEOF 20025cat confdefs.h >>conftest.$ac_ext 20026cat >>conftest.$ac_ext <<_ACEOF 20027/* end confdefs.h. */ 20028 20029/* Override any GCC internal prototype to avoid an error. 20030 Use char because int might match the return type of a GCC 20031 builtin and then its argument prototype would still apply. */ 20032#ifdef __cplusplus 20033extern "C" 20034#endif 20035char gethostbyname (); 20036int 20037main () 20038{ 20039return gethostbyname (); 20040 ; 20041 return 0; 20042} 20043_ACEOF 20044for ac_lib in '' nsl; do 20045 if test -z "$ac_lib"; then 20046 ac_res="none required" 20047 else 20048 ac_res=-l$ac_lib 20049 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20050 fi 20051 rm -f conftest.$ac_objext conftest$ac_exeext 20052if { (ac_try="$ac_link" 20053case "(($ac_try" in 20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20055 *) ac_try_echo=$ac_try;; 20056esac 20057eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20058$as_echo "$ac_try_echo") >&5 20059 (eval "$ac_link") 2>conftest.er1 20060 ac_status=$? 20061 grep -v '^ *+' conftest.er1 >conftest.err 20062 rm -f conftest.er1 20063 cat conftest.err >&5 20064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20065 (exit $ac_status); } && { 20066 test -z "$ac_c_werror_flag" || 20067 test ! -s conftest.err 20068 } && test -s conftest$ac_exeext && { 20069 test "$cross_compiling" = yes || 20070 $as_test_x conftest$ac_exeext 20071 }; then 20072 ac_cv_search_gethostbyname=$ac_res 20073else 20074 $as_echo "$as_me: failed program was:" >&5 20075sed 's/^/| /' conftest.$ac_ext >&5 20076 20077 20078fi 20079 20080rm -rf conftest.dSYM 20081rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20082 conftest$ac_exeext 20083 if test "${ac_cv_search_gethostbyname+set}" = set; then 20084 break 20085fi 20086done 20087if test "${ac_cv_search_gethostbyname+set}" = set; then 20088 : 20089else 20090 ac_cv_search_gethostbyname=no 20091fi 20092rm conftest.$ac_ext 20093LIBS=$ac_func_search_save_LIBS 20094fi 20095{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 20096$as_echo "$ac_cv_search_gethostbyname" >&6; } 20097ac_res=$ac_cv_search_gethostbyname 20098if test "$ac_res" != no; then 20099 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20100 20101fi 20102 20103 20104{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5 20105$as_echo_n "checking for main in -lws2_32... " >&6; } 20106if test "${ac_cv_lib_ws2_32_main+set}" = set; then 20107 $as_echo_n "(cached) " >&6 20108else 20109 ac_check_lib_save_LIBS=$LIBS 20110LIBS="-lws2_32 $LIBS" 20111cat >conftest.$ac_ext <<_ACEOF 20112/* confdefs.h. */ 20113_ACEOF 20114cat confdefs.h >>conftest.$ac_ext 20115cat >>conftest.$ac_ext <<_ACEOF 20116/* end confdefs.h. */ 20117 20118 20119int 20120main () 20121{ 20122return main (); 20123 ; 20124 return 0; 20125} 20126_ACEOF 20127rm -f conftest.$ac_objext conftest$ac_exeext 20128if { (ac_try="$ac_link" 20129case "(($ac_try" in 20130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20131 *) ac_try_echo=$ac_try;; 20132esac 20133eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20134$as_echo "$ac_try_echo") >&5 20135 (eval "$ac_link") 2>conftest.er1 20136 ac_status=$? 20137 grep -v '^ *+' conftest.er1 >conftest.err 20138 rm -f conftest.er1 20139 cat conftest.err >&5 20140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20141 (exit $ac_status); } && { 20142 test -z "$ac_c_werror_flag" || 20143 test ! -s conftest.err 20144 } && test -s conftest$ac_exeext && { 20145 test "$cross_compiling" = yes || 20146 $as_test_x conftest$ac_exeext 20147 }; then 20148 ac_cv_lib_ws2_32_main=yes 20149else 20150 $as_echo "$as_me: failed program was:" >&5 20151sed 's/^/| /' conftest.$ac_ext >&5 20152 20153 ac_cv_lib_ws2_32_main=no 20154fi 20155 20156rm -rf conftest.dSYM 20157rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20158 conftest$ac_exeext conftest.$ac_ext 20159LIBS=$ac_check_lib_save_LIBS 20160fi 20161{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5 20162$as_echo "$ac_cv_lib_ws2_32_main" >&6; } 20163if test "x$ac_cv_lib_ws2_32_main" = x""yes; then 20164 cat >>confdefs.h <<_ACEOF 20165#define HAVE_LIBWS2_32 1 20166_ACEOF 20167 20168 LIBS="-lws2_32 $LIBS" 20169 20170fi 20171ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main 20172 20173 20174 # Needs to come after above checks for libsocket & libnsl for SVR4 systems 20175 # Check whether --enable-ipv6 was given. 20176if test "${enable_ipv6+set}" = set; then 20177 enableval=$enable_ipv6; IPV6CONN=$enableval 20178else 20179 { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5 20180$as_echo_n "checking for getaddrinfo... " >&6; } 20181if test "${ac_cv_func_getaddrinfo+set}" = set; then 20182 $as_echo_n "(cached) " >&6 20183else 20184 cat >conftest.$ac_ext <<_ACEOF 20185/* confdefs.h. */ 20186_ACEOF 20187cat confdefs.h >>conftest.$ac_ext 20188cat >>conftest.$ac_ext <<_ACEOF 20189/* end confdefs.h. */ 20190/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 20191 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 20192#define getaddrinfo innocuous_getaddrinfo 20193 20194/* System header to define __stub macros and hopefully few prototypes, 20195 which can conflict with char getaddrinfo (); below. 20196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 20197 <limits.h> exists even on freestanding compilers. */ 20198 20199#ifdef __STDC__ 20200# include <limits.h> 20201#else 20202# include <assert.h> 20203#endif 20204 20205#undef getaddrinfo 20206 20207/* Override any GCC internal prototype to avoid an error. 20208 Use char because int might match the return type of a GCC 20209 builtin and then its argument prototype would still apply. */ 20210#ifdef __cplusplus 20211extern "C" 20212#endif 20213char getaddrinfo (); 20214/* The GNU C library defines this for functions which it implements 20215 to always fail with ENOSYS. Some functions are actually named 20216 something starting with __ and the normal name is an alias. */ 20217#if defined __stub_getaddrinfo || defined __stub___getaddrinfo 20218choke me 20219#endif 20220 20221int 20222main () 20223{ 20224return getaddrinfo (); 20225 ; 20226 return 0; 20227} 20228_ACEOF 20229rm -f conftest.$ac_objext conftest$ac_exeext 20230if { (ac_try="$ac_link" 20231case "(($ac_try" in 20232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20233 *) ac_try_echo=$ac_try;; 20234esac 20235eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20236$as_echo "$ac_try_echo") >&5 20237 (eval "$ac_link") 2>conftest.er1 20238 ac_status=$? 20239 grep -v '^ *+' conftest.er1 >conftest.err 20240 rm -f conftest.er1 20241 cat conftest.err >&5 20242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20243 (exit $ac_status); } && { 20244 test -z "$ac_c_werror_flag" || 20245 test ! -s conftest.err 20246 } && test -s conftest$ac_exeext && { 20247 test "$cross_compiling" = yes || 20248 $as_test_x conftest$ac_exeext 20249 }; then 20250 ac_cv_func_getaddrinfo=yes 20251else 20252 $as_echo "$as_me: failed program was:" >&5 20253sed 's/^/| /' conftest.$ac_ext >&5 20254 20255 ac_cv_func_getaddrinfo=no 20256fi 20257 20258rm -rf conftest.dSYM 20259rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20260 conftest$ac_exeext conftest.$ac_ext 20261fi 20262{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 20263$as_echo "$ac_cv_func_getaddrinfo" >&6; } 20264if test "x$ac_cv_func_getaddrinfo" = x""yes; then 20265 IPV6CONN=yes 20266else 20267 IPV6CONN=no 20268fi 20269 20270fi 20271 20272 { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5 20273$as_echo_n "checking if IPv6 support should be built... " >&6; } 20274 if test "$IPV6CONN" = "yes"; then 20275 20276cat >>confdefs.h <<\_ACEOF 20277#define IPv6 1 20278_ACEOF 20279 20280 fi 20281 { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5 20282$as_echo "$IPV6CONN" >&6; } 20283 20284 # 4.3BSD-Reno added a new member to struct sockaddr_in 20285 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 20286$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; } 20287if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 20288 $as_echo_n "(cached) " >&6 20289else 20290 cat >conftest.$ac_ext <<_ACEOF 20291/* confdefs.h. */ 20292_ACEOF 20293cat confdefs.h >>conftest.$ac_ext 20294cat >>conftest.$ac_ext <<_ACEOF 20295/* end confdefs.h. */ 20296 20297#include <sys/types.h> 20298#include <sys/socket.h> 20299#include <netinet/in.h> 20300 20301 20302int 20303main () 20304{ 20305static struct sockaddr_in ac_aggr; 20306if (ac_aggr.sin_len) 20307return 0; 20308 ; 20309 return 0; 20310} 20311_ACEOF 20312rm -f conftest.$ac_objext 20313if { (ac_try="$ac_compile" 20314case "(($ac_try" in 20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20316 *) ac_try_echo=$ac_try;; 20317esac 20318eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20319$as_echo "$ac_try_echo") >&5 20320 (eval "$ac_compile") 2>conftest.er1 20321 ac_status=$? 20322 grep -v '^ *+' conftest.er1 >conftest.err 20323 rm -f conftest.er1 20324 cat conftest.err >&5 20325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20326 (exit $ac_status); } && { 20327 test -z "$ac_c_werror_flag" || 20328 test ! -s conftest.err 20329 } && test -s conftest.$ac_objext; then 20330 ac_cv_member_struct_sockaddr_in_sin_len=yes 20331else 20332 $as_echo "$as_me: failed program was:" >&5 20333sed 's/^/| /' conftest.$ac_ext >&5 20334 20335 cat >conftest.$ac_ext <<_ACEOF 20336/* confdefs.h. */ 20337_ACEOF 20338cat confdefs.h >>conftest.$ac_ext 20339cat >>conftest.$ac_ext <<_ACEOF 20340/* end confdefs.h. */ 20341 20342#include <sys/types.h> 20343#include <sys/socket.h> 20344#include <netinet/in.h> 20345 20346 20347int 20348main () 20349{ 20350static struct sockaddr_in ac_aggr; 20351if (sizeof ac_aggr.sin_len) 20352return 0; 20353 ; 20354 return 0; 20355} 20356_ACEOF 20357rm -f conftest.$ac_objext 20358if { (ac_try="$ac_compile" 20359case "(($ac_try" in 20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20361 *) ac_try_echo=$ac_try;; 20362esac 20363eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20364$as_echo "$ac_try_echo") >&5 20365 (eval "$ac_compile") 2>conftest.er1 20366 ac_status=$? 20367 grep -v '^ *+' conftest.er1 >conftest.err 20368 rm -f conftest.er1 20369 cat conftest.err >&5 20370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20371 (exit $ac_status); } && { 20372 test -z "$ac_c_werror_flag" || 20373 test ! -s conftest.err 20374 } && test -s conftest.$ac_objext; then 20375 ac_cv_member_struct_sockaddr_in_sin_len=yes 20376else 20377 $as_echo "$as_me: failed program was:" >&5 20378sed 's/^/| /' conftest.$ac_ext >&5 20379 20380 ac_cv_member_struct_sockaddr_in_sin_len=no 20381fi 20382 20383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20384fi 20385 20386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20387fi 20388{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 20389$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } 20390if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then 20391 20392cat >>confdefs.h <<\_ACEOF 20393#define BSD44SOCKETS 1 20394_ACEOF 20395 20396fi 20397 20398 20399 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc. 20400 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5 20401$as_echo_n "checking for socklen_t... " >&6; } 20402if test "${ac_cv_type_socklen_t+set}" = set; then 20403 $as_echo_n "(cached) " >&6 20404else 20405 ac_cv_type_socklen_t=no 20406cat >conftest.$ac_ext <<_ACEOF 20407/* confdefs.h. */ 20408_ACEOF 20409cat confdefs.h >>conftest.$ac_ext 20410cat >>conftest.$ac_ext <<_ACEOF 20411/* end confdefs.h. */ 20412 20413$ac_includes_default 20414#include <sys/socket.h> 20415 20416int 20417main () 20418{ 20419if (sizeof (socklen_t)) 20420 return 0; 20421 ; 20422 return 0; 20423} 20424_ACEOF 20425rm -f conftest.$ac_objext 20426if { (ac_try="$ac_compile" 20427case "(($ac_try" in 20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20429 *) ac_try_echo=$ac_try;; 20430esac 20431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20432$as_echo "$ac_try_echo") >&5 20433 (eval "$ac_compile") 2>conftest.er1 20434 ac_status=$? 20435 grep -v '^ *+' conftest.er1 >conftest.err 20436 rm -f conftest.er1 20437 cat conftest.err >&5 20438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20439 (exit $ac_status); } && { 20440 test -z "$ac_c_werror_flag" || 20441 test ! -s conftest.err 20442 } && test -s conftest.$ac_objext; then 20443 cat >conftest.$ac_ext <<_ACEOF 20444/* confdefs.h. */ 20445_ACEOF 20446cat confdefs.h >>conftest.$ac_ext 20447cat >>conftest.$ac_ext <<_ACEOF 20448/* end confdefs.h. */ 20449 20450$ac_includes_default 20451#include <sys/socket.h> 20452 20453int 20454main () 20455{ 20456if (sizeof ((socklen_t))) 20457 return 0; 20458 ; 20459 return 0; 20460} 20461_ACEOF 20462rm -f conftest.$ac_objext 20463if { (ac_try="$ac_compile" 20464case "(($ac_try" in 20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20466 *) ac_try_echo=$ac_try;; 20467esac 20468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20469$as_echo "$ac_try_echo") >&5 20470 (eval "$ac_compile") 2>conftest.er1 20471 ac_status=$? 20472 grep -v '^ *+' conftest.er1 >conftest.err 20473 rm -f conftest.er1 20474 cat conftest.err >&5 20475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20476 (exit $ac_status); } && { 20477 test -z "$ac_c_werror_flag" || 20478 test ! -s conftest.err 20479 } && test -s conftest.$ac_objext; then 20480 : 20481else 20482 $as_echo "$as_me: failed program was:" >&5 20483sed 's/^/| /' conftest.$ac_ext >&5 20484 20485 ac_cv_type_socklen_t=yes 20486fi 20487 20488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20489else 20490 $as_echo "$as_me: failed program was:" >&5 20491sed 's/^/| /' conftest.$ac_ext >&5 20492 20493 20494fi 20495 20496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20497fi 20498{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 20499$as_echo "$ac_cv_type_socklen_t" >&6; } 20500if test "x$ac_cv_type_socklen_t" = x""yes; then 20501 20502cat >>confdefs.h <<_ACEOF 20503#define HAVE_SOCKLEN_T 1 20504_ACEOF 20505 20506 20507fi 20508 20509 20510 20511 fi 20512 case $host_os in 20513 solaris*|sco*|sysv4*) localdef="yes" ;; 20514 *) localdef="no" ;; 20515 esac 20516 # Check whether --enable-local-transport was given. 20517if test "${enable_local_transport+set}" = set; then 20518 enableval=$enable_local_transport; LOCALCONN=$enableval 20519else 20520 LOCALCONN=$localdef 20521fi 20522 20523 { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5 20524$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; } 20525 { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5 20526$as_echo "$LOCALCONN" >&6; } 20527 if test "$LOCALCONN" = "yes"; then 20528 20529cat >>confdefs.h <<\_ACEOF 20530#define LOCALCONN 1 20531_ACEOF 20532 20533 fi 20534 20535 20536 20537# Secure RPC detection macro from xtrans.m4 20538 20539 # Check whether --enable-secure-rpc was given. 20540if test "${enable_secure_rpc+set}" = set; then 20541 enableval=$enable_secure_rpc; SECURE_RPC=$enableval 20542else 20543 SECURE_RPC="try" 20544fi 20545 20546 20547 if test "x$SECURE_RPC" = "xyes" -o "x$SECURE_RPC" = "xtry" ; then 20548 FOUND_SECURE_RPC="no" 20549 20550 20551for ac_func in authdes_seccreate authdes_create 20552do 20553as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20554{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 20555$as_echo_n "checking for $ac_func... " >&6; } 20556if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 20557 $as_echo_n "(cached) " >&6 20558else 20559 cat >conftest.$ac_ext <<_ACEOF 20560/* confdefs.h. */ 20561_ACEOF 20562cat confdefs.h >>conftest.$ac_ext 20563cat >>conftest.$ac_ext <<_ACEOF 20564/* end confdefs.h. */ 20565/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 20566 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 20567#define $ac_func innocuous_$ac_func 20568 20569/* System header to define __stub macros and hopefully few prototypes, 20570 which can conflict with char $ac_func (); below. 20571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 20572 <limits.h> exists even on freestanding compilers. */ 20573 20574#ifdef __STDC__ 20575# include <limits.h> 20576#else 20577# include <assert.h> 20578#endif 20579 20580#undef $ac_func 20581 20582/* Override any GCC internal prototype to avoid an error. 20583 Use char because int might match the return type of a GCC 20584 builtin and then its argument prototype would still apply. */ 20585#ifdef __cplusplus 20586extern "C" 20587#endif 20588char $ac_func (); 20589/* The GNU C library defines this for functions which it implements 20590 to always fail with ENOSYS. Some functions are actually named 20591 something starting with __ and the normal name is an alias. */ 20592#if defined __stub_$ac_func || defined __stub___$ac_func 20593choke me 20594#endif 20595 20596int 20597main () 20598{ 20599return $ac_func (); 20600 ; 20601 return 0; 20602} 20603_ACEOF 20604rm -f conftest.$ac_objext conftest$ac_exeext 20605if { (ac_try="$ac_link" 20606case "(($ac_try" in 20607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20608 *) ac_try_echo=$ac_try;; 20609esac 20610eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20611$as_echo "$ac_try_echo") >&5 20612 (eval "$ac_link") 2>conftest.er1 20613 ac_status=$? 20614 grep -v '^ *+' conftest.er1 >conftest.err 20615 rm -f conftest.er1 20616 cat conftest.err >&5 20617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20618 (exit $ac_status); } && { 20619 test -z "$ac_c_werror_flag" || 20620 test ! -s conftest.err 20621 } && test -s conftest$ac_exeext && { 20622 test "$cross_compiling" = yes || 20623 $as_test_x conftest$ac_exeext 20624 }; then 20625 eval "$as_ac_var=yes" 20626else 20627 $as_echo "$as_me: failed program was:" >&5 20628sed 's/^/| /' conftest.$ac_ext >&5 20629 20630 eval "$as_ac_var=no" 20631fi 20632 20633rm -rf conftest.dSYM 20634rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20635 conftest$ac_exeext conftest.$ac_ext 20636fi 20637ac_res=`eval 'as_val=${'$as_ac_var'} 20638 $as_echo "$as_val"'` 20639 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20640$as_echo "$ac_res" >&6; } 20641as_val=`eval 'as_val=${'$as_ac_var'} 20642 $as_echo "$as_val"'` 20643 if test "x$as_val" = x""yes; then 20644 cat >>confdefs.h <<_ACEOF 20645#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20646_ACEOF 20647 FOUND_SECURE_RPC="yes" 20648fi 20649done 20650 20651 if test "x$FOUND_SECURE_RPC" = "xno" ; then 20652 if test "x$SECURE_RPC" = "xyes" ; then 20653 { { $as_echo "$as_me:$LINENO: error: Secure RPC requested, but required functions not found" >&5 20654$as_echo "$as_me: error: Secure RPC requested, but required functions not found" >&2;} 20655 { (exit 1); exit 1; }; } 20656 fi 20657 SECURE_RPC="no" 20658 else 20659 { $as_echo "$as_me:$LINENO: checking for library containing getsecretkey" >&5 20660$as_echo_n "checking for library containing getsecretkey... " >&6; } 20661if test "${ac_cv_search_getsecretkey+set}" = set; then 20662 $as_echo_n "(cached) " >&6 20663else 20664 ac_func_search_save_LIBS=$LIBS 20665cat >conftest.$ac_ext <<_ACEOF 20666/* confdefs.h. */ 20667_ACEOF 20668cat confdefs.h >>conftest.$ac_ext 20669cat >>conftest.$ac_ext <<_ACEOF 20670/* end confdefs.h. */ 20671 20672/* Override any GCC internal prototype to avoid an error. 20673 Use char because int might match the return type of a GCC 20674 builtin and then its argument prototype would still apply. */ 20675#ifdef __cplusplus 20676extern "C" 20677#endif 20678char getsecretkey (); 20679int 20680main () 20681{ 20682return getsecretkey (); 20683 ; 20684 return 0; 20685} 20686_ACEOF 20687for ac_lib in '' rpcsvc; do 20688 if test -z "$ac_lib"; then 20689 ac_res="none required" 20690 else 20691 ac_res=-l$ac_lib 20692 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20693 fi 20694 rm -f conftest.$ac_objext conftest$ac_exeext 20695if { (ac_try="$ac_link" 20696case "(($ac_try" in 20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20698 *) ac_try_echo=$ac_try;; 20699esac 20700eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20701$as_echo "$ac_try_echo") >&5 20702 (eval "$ac_link") 2>conftest.er1 20703 ac_status=$? 20704 grep -v '^ *+' conftest.er1 >conftest.err 20705 rm -f conftest.er1 20706 cat conftest.err >&5 20707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20708 (exit $ac_status); } && { 20709 test -z "$ac_c_werror_flag" || 20710 test ! -s conftest.err 20711 } && test -s conftest$ac_exeext && { 20712 test "$cross_compiling" = yes || 20713 $as_test_x conftest$ac_exeext 20714 }; then 20715 ac_cv_search_getsecretkey=$ac_res 20716else 20717 $as_echo "$as_me: failed program was:" >&5 20718sed 's/^/| /' conftest.$ac_ext >&5 20719 20720 20721fi 20722 20723rm -rf conftest.dSYM 20724rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 20725 conftest$ac_exeext 20726 if test "${ac_cv_search_getsecretkey+set}" = set; then 20727 break 20728fi 20729done 20730if test "${ac_cv_search_getsecretkey+set}" = set; then 20731 : 20732else 20733 ac_cv_search_getsecretkey=no 20734fi 20735rm conftest.$ac_ext 20736LIBS=$ac_func_search_save_LIBS 20737fi 20738{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getsecretkey" >&5 20739$as_echo "$ac_cv_search_getsecretkey" >&6; } 20740ac_res=$ac_cv_search_getsecretkey 20741if test "$ac_res" != no; then 20742 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 20743 20744fi 20745 20746 SECURE_RPC="yes" 20747 fi 20748 fi 20749 { $as_echo "$as_me:$LINENO: checking if Secure RPC authentication (\"SUN-DES-1\") should be supported" >&5 20750$as_echo_n "checking if Secure RPC authentication (\"SUN-DES-1\") should be supported... " >&6; } 20751 if test "x$SECURE_RPC" = "xyes" ; then 20752 20753cat >>confdefs.h <<\_ACEOF 20754#define SECURE_RPC 1 20755_ACEOF 20756 20757 fi 20758 { $as_echo "$as_me:$LINENO: result: $SECURE_RPC" >&5 20759$as_echo "$SECURE_RPC" >&6; } 20760 20761 if test "x$SECURE_RPC" = xyes; then 20762 SECURE_RPC_TRUE= 20763 SECURE_RPC_FALSE='#' 20764else 20765 SECURE_RPC_TRUE='#' 20766 SECURE_RPC_FALSE= 20767fi 20768 20769 20770 if test "x$INT10" = xvm86; then 20771 INT10_VM86_TRUE= 20772 INT10_VM86_FALSE='#' 20773else 20774 INT10_VM86_TRUE='#' 20775 INT10_VM86_FALSE= 20776fi 20777 20778 if test "x$INT10" = xx86emu; then 20779 INT10_X86EMU_TRUE= 20780 INT10_X86EMU_FALSE='#' 20781else 20782 INT10_X86EMU_TRUE='#' 20783 INT10_X86EMU_FALSE= 20784fi 20785 20786 if test "x$INT10" = xstub; then 20787 INT10_STUB_TRUE= 20788 INT10_STUB_FALSE='#' 20789else 20790 INT10_STUB_TRUE='#' 20791 INT10_STUB_FALSE= 20792fi 20793 20794if test "x$INT10" = xyes; then 20795 20796 20797for ac_header in sys/vm86.h sys/io.h 20798do 20799as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20800if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 20802$as_echo_n "checking for $ac_header... " >&6; } 20803if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20804 $as_echo_n "(cached) " >&6 20805fi 20806ac_res=`eval 'as_val=${'$as_ac_Header'} 20807 $as_echo "$as_val"'` 20808 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20809$as_echo "$ac_res" >&6; } 20810else 20811 # Is the header compilable? 20812{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 20813$as_echo_n "checking $ac_header usability... " >&6; } 20814cat >conftest.$ac_ext <<_ACEOF 20815/* confdefs.h. */ 20816_ACEOF 20817cat confdefs.h >>conftest.$ac_ext 20818cat >>conftest.$ac_ext <<_ACEOF 20819/* end confdefs.h. */ 20820$ac_includes_default 20821#include <$ac_header> 20822_ACEOF 20823rm -f conftest.$ac_objext 20824if { (ac_try="$ac_compile" 20825case "(($ac_try" in 20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20827 *) ac_try_echo=$ac_try;; 20828esac 20829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20830$as_echo "$ac_try_echo") >&5 20831 (eval "$ac_compile") 2>conftest.er1 20832 ac_status=$? 20833 grep -v '^ *+' conftest.er1 >conftest.err 20834 rm -f conftest.er1 20835 cat conftest.err >&5 20836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20837 (exit $ac_status); } && { 20838 test -z "$ac_c_werror_flag" || 20839 test ! -s conftest.err 20840 } && test -s conftest.$ac_objext; then 20841 ac_header_compiler=yes 20842else 20843 $as_echo "$as_me: failed program was:" >&5 20844sed 's/^/| /' conftest.$ac_ext >&5 20845 20846 ac_header_compiler=no 20847fi 20848 20849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20850{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 20851$as_echo "$ac_header_compiler" >&6; } 20852 20853# Is the header present? 20854{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 20855$as_echo_n "checking $ac_header presence... " >&6; } 20856cat >conftest.$ac_ext <<_ACEOF 20857/* confdefs.h. */ 20858_ACEOF 20859cat confdefs.h >>conftest.$ac_ext 20860cat >>conftest.$ac_ext <<_ACEOF 20861/* end confdefs.h. */ 20862#include <$ac_header> 20863_ACEOF 20864if { (ac_try="$ac_cpp conftest.$ac_ext" 20865case "(($ac_try" in 20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20867 *) ac_try_echo=$ac_try;; 20868esac 20869eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 20870$as_echo "$ac_try_echo") >&5 20871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 20872 ac_status=$? 20873 grep -v '^ *+' conftest.er1 >conftest.err 20874 rm -f conftest.er1 20875 cat conftest.err >&5 20876 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 20877 (exit $ac_status); } >/dev/null && { 20878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 20879 test ! -s conftest.err 20880 }; then 20881 ac_header_preproc=yes 20882else 20883 $as_echo "$as_me: failed program was:" >&5 20884sed 's/^/| /' conftest.$ac_ext >&5 20885 20886 ac_header_preproc=no 20887fi 20888 20889rm -f conftest.err conftest.$ac_ext 20890{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 20891$as_echo "$ac_header_preproc" >&6; } 20892 20893# So? What about this header? 20894case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 20895 yes:no: ) 20896 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 20897$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 20898 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 20899$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 20900 ac_header_preproc=yes 20901 ;; 20902 no:yes:* ) 20903 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 20904$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 20905 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 20906$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 20907 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 20908$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 20909 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 20910$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 20911 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 20912$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 20913 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 20914$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 20915 ( cat <<\_ASBOX 20916## ---------------------------------------------------------------------- ## 20917## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 20918## ---------------------------------------------------------------------- ## 20919_ASBOX 20920 ) | sed "s/^/$as_me: WARNING: /" >&2 20921 ;; 20922esac 20923{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 20924$as_echo_n "checking for $ac_header... " >&6; } 20925if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20926 $as_echo_n "(cached) " >&6 20927else 20928 eval "$as_ac_Header=\$ac_header_preproc" 20929fi 20930ac_res=`eval 'as_val=${'$as_ac_Header'} 20931 $as_echo "$as_val"'` 20932 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20933$as_echo "$ac_res" >&6; } 20934 20935fi 20936as_val=`eval 'as_val=${'$as_ac_Header'} 20937 $as_echo "$as_val"'` 20938 if test "x$as_val" = x""yes; then 20939 cat >>confdefs.h <<_ACEOF 20940#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20941_ACEOF 20942 20943fi 20944 20945done 20946 20947fi 20948 20949 if test "x$BUILDDOCS" = xyes; then 20950 BUILDDOCS_TRUE= 20951 BUILDDOCS_FALSE='#' 20952else 20953 BUILDDOCS_TRUE='#' 20954 BUILDDOCS_FALSE= 20955fi 20956 20957 20958 20959if test x$XORG_SGML_PATH = x ; then 20960 XORG_SGML_PATH=$prefix/share/sgml 20961fi 20962HAVE_DEFS_ENT= 20963 20964if test x"$cross_compiling" = x"yes" ; then 20965 HAVE_DEFS_ENT=no 20966else 20967 as_ac_File=`$as_echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh` 20968{ $as_echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5 20969$as_echo_n "checking for $XORG_SGML_PATH/X11/defs.ent... " >&6; } 20970if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then 20971 $as_echo_n "(cached) " >&6 20972else 20973 test "$cross_compiling" = yes && 20974 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 20975$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 20976 { (exit 1); exit 1; }; } 20977if test -r "$XORG_SGML_PATH/X11/defs.ent"; then 20978 eval "$as_ac_File=yes" 20979else 20980 eval "$as_ac_File=no" 20981fi 20982fi 20983ac_res=`eval 'as_val=${'$as_ac_File'} 20984 $as_echo "$as_val"'` 20985 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 20986$as_echo "$ac_res" >&6; } 20987as_val=`eval 'as_val=${'$as_ac_File'} 20988 $as_echo "$as_val"'` 20989 if test "x$as_val" = x""yes; then 20990 HAVE_DEFS_ENT=yes 20991fi 20992 20993fi 20994 20995# Extract the first word of "linuxdoc", so it can be a program name with args. 20996set dummy linuxdoc; ac_word=$2 20997{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 20998$as_echo_n "checking for $ac_word... " >&6; } 20999if test "${ac_cv_path_LINUXDOC+set}" = set; then 21000 $as_echo_n "(cached) " >&6 21001else 21002 case $LINUXDOC in 21003 [\\/]* | ?:[\\/]*) 21004 ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path. 21005 ;; 21006 *) 21007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21008for as_dir in $PATH 21009do 21010 IFS=$as_save_IFS 21011 test -z "$as_dir" && as_dir=. 21012 for ac_exec_ext in '' $ac_executable_extensions; do 21013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21014 ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext" 21015 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21016 break 2 21017 fi 21018done 21019done 21020IFS=$as_save_IFS 21021 21022 ;; 21023esac 21024fi 21025LINUXDOC=$ac_cv_path_LINUXDOC 21026if test -n "$LINUXDOC"; then 21027 { $as_echo "$as_me:$LINENO: result: $LINUXDOC" >&5 21028$as_echo "$LINUXDOC" >&6; } 21029else 21030 { $as_echo "$as_me:$LINENO: result: no" >&5 21031$as_echo "no" >&6; } 21032fi 21033 21034 21035# Extract the first word of "ps2pdf", so it can be a program name with args. 21036set dummy ps2pdf; ac_word=$2 21037{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 21038$as_echo_n "checking for $ac_word... " >&6; } 21039if test "${ac_cv_path_PS2PDF+set}" = set; then 21040 $as_echo_n "(cached) " >&6 21041else 21042 case $PS2PDF in 21043 [\\/]* | ?:[\\/]*) 21044 ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path. 21045 ;; 21046 *) 21047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21048for as_dir in $PATH 21049do 21050 IFS=$as_save_IFS 21051 test -z "$as_dir" && as_dir=. 21052 for ac_exec_ext in '' $ac_executable_extensions; do 21053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21054 ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext" 21055 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21056 break 2 21057 fi 21058done 21059done 21060IFS=$as_save_IFS 21061 21062 ;; 21063esac 21064fi 21065PS2PDF=$ac_cv_path_PS2PDF 21066if test -n "$PS2PDF"; then 21067 { $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5 21068$as_echo "$PS2PDF" >&6; } 21069else 21070 { $as_echo "$as_me:$LINENO: result: no" >&5 21071$as_echo "no" >&6; } 21072fi 21073 21074 21075 21076{ $as_echo "$as_me:$LINENO: checking Whether to build documentation" >&5 21077$as_echo_n "checking Whether to build documentation... " >&6; } 21078 21079if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then 21080 BUILDDOC=yes 21081else 21082 BUILDDOC=no 21083fi 21084 21085 if test x$BUILDDOC = xyes; then 21086 BUILD_LINUXDOC_TRUE= 21087 BUILD_LINUXDOC_FALSE='#' 21088else 21089 BUILD_LINUXDOC_TRUE='#' 21090 BUILD_LINUXDOC_FALSE= 21091fi 21092 21093 21094{ $as_echo "$as_me:$LINENO: result: $BUILDDOC" >&5 21095$as_echo "$BUILDDOC" >&6; } 21096 21097{ $as_echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5 21098$as_echo_n "checking Whether to build pdf documentation... " >&6; } 21099 21100if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then 21101 BUILDPDFDOC=yes 21102else 21103 BUILDPDFDOC=no 21104fi 21105 21106 if test x$BUILDPDFDOC = xyes; then 21107 BUILD_PDFDOC_TRUE= 21108 BUILD_PDFDOC_FALSE='#' 21109else 21110 BUILD_PDFDOC_TRUE='#' 21111 BUILD_PDFDOC_FALSE= 21112fi 21113 21114 21115{ $as_echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5 21116$as_echo "$BUILDPDFDOC" >&6; } 21117 21118MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt" 21119MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps" 21120MAKE_PDF="$PS2PDF" 21121MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B html --split=0" 21122 21123 21124 21125 21126 21127 21128 21129 if test "x$INSTALL_LIBXF86CONFIG" = xyes; then 21130 INSTALL_LIBXF86CONFIG_TRUE= 21131 INSTALL_LIBXF86CONFIG_FALSE='#' 21132else 21133 INSTALL_LIBXF86CONFIG_TRUE='#' 21134 INSTALL_LIBXF86CONFIG_FALSE= 21135fi 21136 21137 21138case $host_os in 21139 darwin*) 21140 DRI2=no 21141 21142 if test x$XQUARTZ = xauto; then 21143 { $as_echo "$as_me:$LINENO: checking whether to build Xquartz" >&5 21144$as_echo_n "checking whether to build Xquartz... " >&6; } 21145if test "${xorg_cv_Carbon_framework+set}" = set; then 21146 $as_echo_n "(cached) " >&6 21147else 21148 21149 save_LDFLAGS=$LDFLAGS 21150 LDFLAGS="$LDFLAGS -framework Carbon" 21151 cat >conftest.$ac_ext <<_ACEOF 21152char FSFindFolder(); int main() { FSFindFolder(); return 0;} 21153_ACEOF 21154rm -f conftest.$ac_objext conftest$ac_exeext 21155if { (ac_try="$ac_link" 21156case "(($ac_try" in 21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21158 *) ac_try_echo=$ac_try;; 21159esac 21160eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21161$as_echo "$ac_try_echo") >&5 21162 (eval "$ac_link") 2>conftest.er1 21163 ac_status=$? 21164 grep -v '^ *+' conftest.er1 >conftest.err 21165 rm -f conftest.er1 21166 cat conftest.err >&5 21167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21168 (exit $ac_status); } && { 21169 test -z "$ac_c_werror_flag" || 21170 test ! -s conftest.err 21171 } && test -s conftest$ac_exeext && { 21172 test "$cross_compiling" = yes || 21173 $as_test_x conftest$ac_exeext 21174 }; then 21175 xorg_cv_Carbon_framework=yes 21176else 21177 $as_echo "$as_me: failed program was:" >&5 21178sed 's/^/| /' conftest.$ac_ext >&5 21179 21180 xorg_cv_Carbon_framework=no 21181fi 21182 21183rm -rf conftest.dSYM 21184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21185 conftest$ac_exeext conftest.$ac_ext 21186 LDFLAGS=$save_LDFLAGS 21187fi 21188{ $as_echo "$as_me:$LINENO: result: $xorg_cv_Carbon_framework" >&5 21189$as_echo "$xorg_cv_Carbon_framework" >&6; } 21190 21191 if test "X$xorg_cv_Carbon_framework" = Xyes; then 21192 XQUARTZ=yes 21193 else 21194 XQUARTZ=no 21195 fi 21196 fi 21197 21198 if test "x$XQUARTZ" = xyes ; then 21199 XQUARTZ=yes 21200 XVFB=no 21201 XNEST=no 21202 21203 COMPOSITE=no 21204 DGA=no 21205 DPMSExtension=no 21206 XF86VIDMODE=no 21207 fi 21208 ;; 21209esac 21210 21211XEXT_INC='-I$(top_srcdir)/Xext' 21212XEXT_LIB='$(top_builddir)/Xext/libXext.la' 21213XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la' 21214 21215REQUIRED_MODULES="randrproto >= 1.2.99.1 renderproto >= 0.9.3 fixesproto >= 4.0 damageproto >= 1.1 xcmiscproto xextproto >= 7.0.3 xproto >= 7.0.13 xtrans >= 1.2.2 bigreqsproto resourceproto fontsproto inputproto >= 1.5 kbproto >= 1.0.3" 21216REQUIRED_LIBS="xfont xau fontenc pixman-1 >= 0.13.2" 21217 21218 21219pkg_failed=no 21220{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5 21221$as_echo_n "checking for DBUS... " >&6; } 21222 21223if test -n "$PKG_CONFIG"; then 21224 if test -n "$DBUS_CFLAGS"; then 21225 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" 21226 else 21227 if test -n "$PKG_CONFIG" && \ 21228 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 21229 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 21230 ac_status=$? 21231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21232 (exit $ac_status); }; then 21233 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` 21234else 21235 pkg_failed=yes 21236fi 21237 fi 21238else 21239 pkg_failed=untried 21240fi 21241if test -n "$PKG_CONFIG"; then 21242 if test -n "$DBUS_LIBS"; then 21243 pkg_cv_DBUS_LIBS="$DBUS_LIBS" 21244 else 21245 if test -n "$PKG_CONFIG" && \ 21246 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 21247 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 21248 ac_status=$? 21249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21250 (exit $ac_status); }; then 21251 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` 21252else 21253 pkg_failed=yes 21254fi 21255 fi 21256else 21257 pkg_failed=untried 21258fi 21259 21260 21261 21262if test $pkg_failed = yes; then 21263 21264if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21265 _pkg_short_errors_supported=yes 21266else 21267 _pkg_short_errors_supported=no 21268fi 21269 if test $_pkg_short_errors_supported = yes; then 21270 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"` 21271 else 21272 DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"` 21273 fi 21274 # Put the nasty error message in config.log where it belongs 21275 echo "$DBUS_PKG_ERRORS" >&5 21276 21277 { $as_echo "$as_me:$LINENO: result: no" >&5 21278$as_echo "no" >&6; } 21279 HAVE_DBUS=no 21280elif test $pkg_failed = untried; then 21281 HAVE_DBUS=no 21282else 21283 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS 21284 DBUS_LIBS=$pkg_cv_DBUS_LIBS 21285 { $as_echo "$as_me:$LINENO: result: yes" >&5 21286$as_echo "yes" >&6; } 21287 HAVE_DBUS=yes 21288fi 21289if test "x$HAVE_DBUS" = xyes; then 21290 21291cat >>confdefs.h <<\_ACEOF 21292#define HAVE_DBUS 1 21293_ACEOF 21294 21295fi 21296 if test "x$HAVE_DBUS" = xyes; then 21297 HAVE_DBUS_TRUE= 21298 HAVE_DBUS_FALSE='#' 21299else 21300 HAVE_DBUS_TRUE='#' 21301 HAVE_DBUS_FALSE= 21302fi 21303 21304 21305if test "x$CONFIG_DBUS_API" = xauto; then 21306 CONFIG_DBUS_API="$HAVE_DBUS" 21307fi 21308if test "x$CONFIG_DBUS_API" = xyes; then 21309 if ! test "x$HAVE_DBUS" = xyes; then 21310 { { $as_echo "$as_me:$LINENO: error: D-Bus configuration API requested, but D-Bus is not installed." >&5 21311$as_echo "$as_me: error: D-Bus configuration API requested, but D-Bus is not installed." >&2;} 21312 { (exit 1); exit 1; }; } 21313 fi 21314 21315 21316cat >>confdefs.h <<\_ACEOF 21317#define CONFIG_DBUS_API 1 21318_ACEOF 21319 21320 CONFIG_NEED_DBUS="yes" 21321fi 21322 if test "x$CONFIG_DBUS_API" = xyes; then 21323 CONFIG_DBUS_API_TRUE= 21324 CONFIG_DBUS_API_FALSE='#' 21325else 21326 CONFIG_DBUS_API_TRUE='#' 21327 CONFIG_DBUS_API_FALSE= 21328fi 21329 21330 21331 21332pkg_failed=no 21333{ $as_echo "$as_me:$LINENO: checking for HAL" >&5 21334$as_echo_n "checking for HAL... " >&6; } 21335 21336if test -n "$PKG_CONFIG"; then 21337 if test -n "$HAL_CFLAGS"; then 21338 pkg_cv_HAL_CFLAGS="$HAL_CFLAGS" 21339 else 21340 if test -n "$PKG_CONFIG" && \ 21341 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5 21342 ($PKG_CONFIG --exists --print-errors "hal") 2>&5 21343 ac_status=$? 21344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21345 (exit $ac_status); }; then 21346 pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal" 2>/dev/null` 21347else 21348 pkg_failed=yes 21349fi 21350 fi 21351else 21352 pkg_failed=untried 21353fi 21354if test -n "$PKG_CONFIG"; then 21355 if test -n "$HAL_LIBS"; then 21356 pkg_cv_HAL_LIBS="$HAL_LIBS" 21357 else 21358 if test -n "$PKG_CONFIG" && \ 21359 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hal\"") >&5 21360 ($PKG_CONFIG --exists --print-errors "hal") 2>&5 21361 ac_status=$? 21362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21363 (exit $ac_status); }; then 21364 pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal" 2>/dev/null` 21365else 21366 pkg_failed=yes 21367fi 21368 fi 21369else 21370 pkg_failed=untried 21371fi 21372 21373 21374 21375if test $pkg_failed = yes; then 21376 21377if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21378 _pkg_short_errors_supported=yes 21379else 21380 _pkg_short_errors_supported=no 21381fi 21382 if test $_pkg_short_errors_supported = yes; then 21383 HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hal"` 21384 else 21385 HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hal"` 21386 fi 21387 # Put the nasty error message in config.log where it belongs 21388 echo "$HAL_PKG_ERRORS" >&5 21389 21390 { $as_echo "$as_me:$LINENO: result: no" >&5 21391$as_echo "no" >&6; } 21392 HAVE_HAL=no 21393elif test $pkg_failed = untried; then 21394 HAVE_HAL=no 21395else 21396 HAL_CFLAGS=$pkg_cv_HAL_CFLAGS 21397 HAL_LIBS=$pkg_cv_HAL_LIBS 21398 { $as_echo "$as_me:$LINENO: result: yes" >&5 21399$as_echo "yes" >&6; } 21400 HAVE_HAL=yes 21401fi 21402if test "x$CONFIG_HAL" = xauto; then 21403 CONFIG_HAL="$HAVE_HAL" 21404fi 21405if test "x$CONFIG_HAL" = xyes; then 21406 if ! test "x$HAVE_HAL" = xyes; then 21407 { { $as_echo "$as_me:$LINENO: error: HAL hotplug API requested, but HAL is not installed." >&5 21408$as_echo "$as_me: error: HAL hotplug API requested, but HAL is not installed." >&2;} 21409 { (exit 1); exit 1; }; } 21410 fi 21411 21412 21413cat >>confdefs.h <<\_ACEOF 21414#define CONFIG_HAL 1 21415_ACEOF 21416 21417 REQUIRED_LIBS="$REQUIRED_LIBS hal" 21418 CONFIG_NEED_DBUS="yes" 21419fi 21420 if test "x$CONFIG_HAL" = xyes; then 21421 CONFIG_HAL_TRUE= 21422 CONFIG_HAL_FALSE='#' 21423else 21424 CONFIG_HAL_TRUE='#' 21425 CONFIG_HAL_FALSE= 21426fi 21427 21428 21429if test "x$CONFIG_NEED_DBUS" = xyes; then 21430 REQUIRED_LIBS="$REQUIRED_LIBS dbus-1" 21431 21432cat >>confdefs.h <<\_ACEOF 21433#define CONFIG_NEED_DBUS 1 21434_ACEOF 21435 21436fi 21437 if test "x$CONFIG_NEED_DBUS" = xyes; then 21438 CONFIG_NEED_DBUS_TRUE= 21439 CONFIG_NEED_DBUS_FALSE='#' 21440else 21441 CONFIG_NEED_DBUS_TRUE='#' 21442 CONFIG_NEED_DBUS_FALSE= 21443fi 21444 21445CONFIG_LIB='$(top_builddir)/config/libconfig.a' 21446 21447{ $as_echo "$as_me:$LINENO: checking for glibc..." >&5 21448$as_echo_n "checking for glibc...... " >&6; } 21449cat >conftest.$ac_ext <<_ACEOF 21450 21451#include <features.h> 21452#ifndef __GLIBC__ 21453#error 21454#endif 21455 21456_ACEOF 21457if { (ac_try="$ac_cpp conftest.$ac_ext" 21458case "(($ac_try" in 21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21460 *) ac_try_echo=$ac_try;; 21461esac 21462eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21463$as_echo "$ac_try_echo") >&5 21464 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 21465 ac_status=$? 21466 grep -v '^ *+' conftest.er1 >conftest.err 21467 rm -f conftest.er1 21468 cat conftest.err >&5 21469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21470 (exit $ac_status); } >/dev/null && { 21471 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 21472 test ! -s conftest.err 21473 }; then 21474 glibc=yes 21475else 21476 $as_echo "$as_me: failed program was:" >&5 21477sed 's/^/| /' conftest.$ac_ext >&5 21478 21479 glibc=no 21480fi 21481 21482rm -f conftest.err conftest.$ac_ext 21483{ $as_echo "$as_me:$LINENO: result: $glibc" >&5 21484$as_echo "$glibc" >&6; } 21485 21486 21487for ac_func in clock_gettime 21488do 21489as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 21490{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 21491$as_echo_n "checking for $ac_func... " >&6; } 21492if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 21493 $as_echo_n "(cached) " >&6 21494else 21495 cat >conftest.$ac_ext <<_ACEOF 21496/* confdefs.h. */ 21497_ACEOF 21498cat confdefs.h >>conftest.$ac_ext 21499cat >>conftest.$ac_ext <<_ACEOF 21500/* end confdefs.h. */ 21501/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 21502 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 21503#define $ac_func innocuous_$ac_func 21504 21505/* System header to define __stub macros and hopefully few prototypes, 21506 which can conflict with char $ac_func (); below. 21507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 21508 <limits.h> exists even on freestanding compilers. */ 21509 21510#ifdef __STDC__ 21511# include <limits.h> 21512#else 21513# include <assert.h> 21514#endif 21515 21516#undef $ac_func 21517 21518/* Override any GCC internal prototype to avoid an error. 21519 Use char because int might match the return type of a GCC 21520 builtin and then its argument prototype would still apply. */ 21521#ifdef __cplusplus 21522extern "C" 21523#endif 21524char $ac_func (); 21525/* The GNU C library defines this for functions which it implements 21526 to always fail with ENOSYS. Some functions are actually named 21527 something starting with __ and the normal name is an alias. */ 21528#if defined __stub_$ac_func || defined __stub___$ac_func 21529choke me 21530#endif 21531 21532int 21533main () 21534{ 21535return $ac_func (); 21536 ; 21537 return 0; 21538} 21539_ACEOF 21540rm -f conftest.$ac_objext conftest$ac_exeext 21541if { (ac_try="$ac_link" 21542case "(($ac_try" in 21543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21544 *) ac_try_echo=$ac_try;; 21545esac 21546eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21547$as_echo "$ac_try_echo") >&5 21548 (eval "$ac_link") 2>conftest.er1 21549 ac_status=$? 21550 grep -v '^ *+' conftest.er1 >conftest.err 21551 rm -f conftest.er1 21552 cat conftest.err >&5 21553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21554 (exit $ac_status); } && { 21555 test -z "$ac_c_werror_flag" || 21556 test ! -s conftest.err 21557 } && test -s conftest$ac_exeext && { 21558 test "$cross_compiling" = yes || 21559 $as_test_x conftest$ac_exeext 21560 }; then 21561 eval "$as_ac_var=yes" 21562else 21563 $as_echo "$as_me: failed program was:" >&5 21564sed 's/^/| /' conftest.$ac_ext >&5 21565 21566 eval "$as_ac_var=no" 21567fi 21568 21569rm -rf conftest.dSYM 21570rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21571 conftest$ac_exeext conftest.$ac_ext 21572fi 21573ac_res=`eval 'as_val=${'$as_ac_var'} 21574 $as_echo "$as_val"'` 21575 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 21576$as_echo "$ac_res" >&6; } 21577as_val=`eval 'as_val=${'$as_ac_var'} 21578 $as_echo "$as_val"'` 21579 if test "x$as_val" = x""yes; then 21580 cat >>confdefs.h <<_ACEOF 21581#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 21582_ACEOF 21583 have_clock_gettime=yes 21584else 21585 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 21586$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 21587if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 21588 $as_echo_n "(cached) " >&6 21589else 21590 ac_check_lib_save_LIBS=$LIBS 21591LIBS="-lrt $LIBS" 21592cat >conftest.$ac_ext <<_ACEOF 21593/* confdefs.h. */ 21594_ACEOF 21595cat confdefs.h >>conftest.$ac_ext 21596cat >>conftest.$ac_ext <<_ACEOF 21597/* end confdefs.h. */ 21598 21599/* Override any GCC internal prototype to avoid an error. 21600 Use char because int might match the return type of a GCC 21601 builtin and then its argument prototype would still apply. */ 21602#ifdef __cplusplus 21603extern "C" 21604#endif 21605char clock_gettime (); 21606int 21607main () 21608{ 21609return clock_gettime (); 21610 ; 21611 return 0; 21612} 21613_ACEOF 21614rm -f conftest.$ac_objext conftest$ac_exeext 21615if { (ac_try="$ac_link" 21616case "(($ac_try" in 21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21618 *) ac_try_echo=$ac_try;; 21619esac 21620eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21621$as_echo "$ac_try_echo") >&5 21622 (eval "$ac_link") 2>conftest.er1 21623 ac_status=$? 21624 grep -v '^ *+' conftest.er1 >conftest.err 21625 rm -f conftest.er1 21626 cat conftest.err >&5 21627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21628 (exit $ac_status); } && { 21629 test -z "$ac_c_werror_flag" || 21630 test ! -s conftest.err 21631 } && test -s conftest$ac_exeext && { 21632 test "$cross_compiling" = yes || 21633 $as_test_x conftest$ac_exeext 21634 }; then 21635 ac_cv_lib_rt_clock_gettime=yes 21636else 21637 $as_echo "$as_me: failed program was:" >&5 21638sed 's/^/| /' conftest.$ac_ext >&5 21639 21640 ac_cv_lib_rt_clock_gettime=no 21641fi 21642 21643rm -rf conftest.dSYM 21644rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 21645 conftest$ac_exeext conftest.$ac_ext 21646LIBS=$ac_check_lib_save_LIBS 21647fi 21648{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 21649$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 21650if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then 21651 have_clock_gettime=-lrt 21652else 21653 have_clock_gettime=no 21654fi 21655 21656fi 21657done 21658 21659 21660{ $as_echo "$as_me:$LINENO: checking for a useful monotonic clock ..." >&5 21661$as_echo_n "checking for a useful monotonic clock ...... " >&6; } 21662 21663if ! test "x$have_clock_gettime" = xno; then 21664 if ! test "x$have_clock_gettime" = xyes; then 21665 CLOCK_LIBS="$have_clock_gettime" 21666 else 21667 CLOCK_LIBS="" 21668 fi 21669 21670 LIBS_SAVE="$LIBS" 21671 LIBS="$CLOCK_LIBS" 21672 CPPFLAGS_SAVE="$CPPFLAGS" 21673 21674 if test x"$glibc" = xyes; then 21675 CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE=200112L" 21676 fi 21677 21678 if test "$cross_compiling" = yes; then 21679 MONOTONIC_CLOCK="cross compiling" 21680else 21681 cat >conftest.$ac_ext <<_ACEOF 21682 21683#include <time.h> 21684 21685int main(int argc, char *argv[]) { 21686 struct timespec tp; 21687 21688 if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0) 21689 return 0; 21690 else 21691 return 1; 21692} 21693 21694_ACEOF 21695rm -f conftest$ac_exeext 21696if { (ac_try="$ac_link" 21697case "(($ac_try" in 21698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21699 *) ac_try_echo=$ac_try;; 21700esac 21701eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21702$as_echo "$ac_try_echo") >&5 21703 (eval "$ac_link") 2>&5 21704 ac_status=$? 21705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21706 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21707 { (case "(($ac_try" in 21708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21709 *) ac_try_echo=$ac_try;; 21710esac 21711eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21712$as_echo "$ac_try_echo") >&5 21713 (eval "$ac_try") 2>&5 21714 ac_status=$? 21715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21716 (exit $ac_status); }; }; then 21717 MONOTONIC_CLOCK=yes 21718else 21719 $as_echo "$as_me: program exited with status $ac_status" >&5 21720$as_echo "$as_me: failed program was:" >&5 21721sed 's/^/| /' conftest.$ac_ext >&5 21722 21723( exit $ac_status ) 21724MONOTONIC_CLOCK=no 21725fi 21726rm -rf conftest.dSYM 21727rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21728fi 21729 21730 21731 21732 LIBS="$LIBS_SAVE" 21733 CPPFLAGS="$CPPFLAGS_SAVE" 21734else 21735 MONOTONIC_CLOCK=no 21736fi 21737 21738{ $as_echo "$as_me:$LINENO: result: $MONOTONIC_CLOCK" >&5 21739$as_echo "$MONOTONIC_CLOCK" >&6; } 21740 21741if test "x$MONOTONIC_CLOCK" = xyes; then 21742 21743cat >>confdefs.h <<\_ACEOF 21744#define MONOTONIC_CLOCK 1 21745_ACEOF 21746 21747 LIBS="$LIBS $CLOCK_LIBS" 21748fi 21749 21750 if test "x$XV" = xyes; then 21751 XV_TRUE= 21752 XV_FALSE='#' 21753else 21754 XV_TRUE='#' 21755 XV_FALSE= 21756fi 21757 21758if test "x$XV" = xyes; then 21759 21760cat >>confdefs.h <<\_ACEOF 21761#define XV 1 21762_ACEOF 21763 21764 21765cat >>confdefs.h <<\_ACEOF 21766#define XvExtension 1 21767_ACEOF 21768 21769 REQUIRED_MODULES="$REQUIRED_MODULES videoproto" 21770else 21771 XVMC=no 21772fi 21773 21774 if test "x$XVMC" = xyes; then 21775 XVMC_TRUE= 21776 XVMC_FALSE='#' 21777else 21778 XVMC_TRUE='#' 21779 XVMC_FALSE= 21780fi 21781 21782if test "x$XVMC" = xyes; then 21783 21784cat >>confdefs.h <<\_ACEOF 21785#define XvMCExtension 1 21786_ACEOF 21787 21788fi 21789 21790 if test "x$XREGISTRY" = xyes; then 21791 XREGISTRY_TRUE= 21792 XREGISTRY_FALSE='#' 21793else 21794 XREGISTRY_TRUE='#' 21795 XREGISTRY_FALSE= 21796fi 21797 21798if test "x$XREGISTRY" = xyes; then 21799 21800cat >>confdefs.h <<\_ACEOF 21801#define XREGISTRY 1 21802_ACEOF 21803 21804fi 21805 21806 if test "x$COMPOSITE" = xyes; then 21807 COMPOSITE_TRUE= 21808 COMPOSITE_FALSE='#' 21809else 21810 COMPOSITE_TRUE='#' 21811 COMPOSITE_FALSE= 21812fi 21813 21814if test "x$COMPOSITE" = xyes; then 21815 21816cat >>confdefs.h <<\_ACEOF 21817#define COMPOSITE 1 21818_ACEOF 21819 21820 REQUIRED_MODULES="$REQUIRED_MODULES compositeproto >= 0.4" 21821 COMPOSITE_LIB='$(top_builddir)/composite/libcomposite.la' 21822 COMPOSITE_INC='-I$(top_srcdir)/composite' 21823fi 21824 21825 if test "x$MITSHM" = xyes; then 21826 MITSHM_TRUE= 21827 MITSHM_FALSE='#' 21828else 21829 MITSHM_TRUE='#' 21830 MITSHM_FALSE= 21831fi 21832 21833if test "x$MITSHM" = xyes; then 21834 21835cat >>confdefs.h <<\_ACEOF 21836#define MITSHM 1 21837_ACEOF 21838 21839 21840cat >>confdefs.h <<\_ACEOF 21841#define HAS_SHM 1 21842_ACEOF 21843 21844fi 21845 21846 if test "x$RECORD" = xyes; then 21847 RECORD_TRUE= 21848 RECORD_FALSE='#' 21849else 21850 RECORD_TRUE='#' 21851 RECORD_FALSE= 21852fi 21853 21854if test "x$RECORD" = xyes; then 21855 21856cat >>confdefs.h <<\_ACEOF 21857#define XRECORD 1 21858_ACEOF 21859 21860 REQUIRED_MODULES="$REQUIRED_MODULES recordproto" 21861 RECORD_LIB='$(top_builddir)/record/librecord.la' 21862fi 21863 21864 if test "x$SCREENSAVER" = xyes; then 21865 SCREENSAVER_TRUE= 21866 SCREENSAVER_FALSE='#' 21867else 21868 SCREENSAVER_TRUE='#' 21869 SCREENSAVER_FALSE= 21870fi 21871 21872if test "x$SCREENSAVER" = xyes; then 21873 21874cat >>confdefs.h <<\_ACEOF 21875#define SCREENSAVER 1 21876_ACEOF 21877 21878 REQUIRED_MODULES="$REQUIRED_MODULES scrnsaverproto >= 1.1" 21879fi 21880 21881 if test "x$RES" = xyes; then 21882 RES_TRUE= 21883 RES_FALSE='#' 21884else 21885 RES_TRUE='#' 21886 RES_FALSE= 21887fi 21888 21889if test "x$RES" = xyes; then 21890 21891cat >>confdefs.h <<\_ACEOF 21892#define RES 1 21893_ACEOF 21894 21895 REQUIRED_MODULES="$REQUIRED_MODULES resourceproto" 21896fi 21897 21898if test "x$GLX" = xyes; then 21899 21900pkg_failed=no 21901{ $as_echo "$as_me:$LINENO: checking for XLIB" >&5 21902$as_echo_n "checking for XLIB... " >&6; } 21903 21904if test -n "$PKG_CONFIG"; then 21905 if test -n "$XLIB_CFLAGS"; then 21906 pkg_cv_XLIB_CFLAGS="$XLIB_CFLAGS" 21907 else 21908 if test -n "$PKG_CONFIG" && \ 21909 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 21910 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 21911 ac_status=$? 21912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21913 (exit $ac_status); }; then 21914 pkg_cv_XLIB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 21915else 21916 pkg_failed=yes 21917fi 21918 fi 21919else 21920 pkg_failed=untried 21921fi 21922if test -n "$PKG_CONFIG"; then 21923 if test -n "$XLIB_LIBS"; then 21924 pkg_cv_XLIB_LIBS="$XLIB_LIBS" 21925 else 21926 if test -n "$PKG_CONFIG" && \ 21927 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 21928 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 21929 ac_status=$? 21930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 21931 (exit $ac_status); }; then 21932 pkg_cv_XLIB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 21933else 21934 pkg_failed=yes 21935fi 21936 fi 21937else 21938 pkg_failed=untried 21939fi 21940 21941 21942 21943if test $pkg_failed = yes; then 21944 21945if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21946 _pkg_short_errors_supported=yes 21947else 21948 _pkg_short_errors_supported=no 21949fi 21950 if test $_pkg_short_errors_supported = yes; then 21951 XLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"` 21952 else 21953 XLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"` 21954 fi 21955 # Put the nasty error message in config.log where it belongs 21956 echo "$XLIB_PKG_ERRORS" >&5 21957 21958 { { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met: 21959 21960$XLIB_PKG_ERRORS 21961 21962Consider adjusting the PKG_CONFIG_PATH environment variable if you 21963installed software in a non-standard prefix. 21964 21965Alternatively, you may set the environment variables XLIB_CFLAGS 21966and XLIB_LIBS to avoid the need to call pkg-config. 21967See the pkg-config man page for more details. 21968" >&5 21969$as_echo "$as_me: error: Package requirements (x11) were not met: 21970 21971$XLIB_PKG_ERRORS 21972 21973Consider adjusting the PKG_CONFIG_PATH environment variable if you 21974installed software in a non-standard prefix. 21975 21976Alternatively, you may set the environment variables XLIB_CFLAGS 21977and XLIB_LIBS to avoid the need to call pkg-config. 21978See the pkg-config man page for more details. 21979" >&2;} 21980 { (exit 1); exit 1; }; } 21981elif test $pkg_failed = untried; then 21982 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 21983$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21984{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 21985is in your PATH or set the PKG_CONFIG environment variable to the full 21986path to pkg-config. 21987 21988Alternatively, you may set the environment variables XLIB_CFLAGS 21989and XLIB_LIBS to avoid the need to call pkg-config. 21990See the pkg-config man page for more details. 21991 21992To get pkg-config, see <http://pkg-config.freedesktop.org/>. 21993See \`config.log' for more details." >&5 21994$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 21995is in your PATH or set the PKG_CONFIG environment variable to the full 21996path to pkg-config. 21997 21998Alternatively, you may set the environment variables XLIB_CFLAGS 21999and XLIB_LIBS to avoid the need to call pkg-config. 22000See the pkg-config man page for more details. 22001 22002To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22003See \`config.log' for more details." >&2;} 22004 { (exit 1); exit 1; }; }; } 22005else 22006 XLIB_CFLAGS=$pkg_cv_XLIB_CFLAGS 22007 XLIB_LIBS=$pkg_cv_XLIB_LIBS 22008 { $as_echo "$as_me:$LINENO: result: yes" >&5 22009$as_echo "yes" >&6; } 22010 : 22011fi 22012 22013pkg_failed=no 22014{ $as_echo "$as_me:$LINENO: checking for GL" >&5 22015$as_echo_n "checking for GL... " >&6; } 22016 22017if test -n "$PKG_CONFIG"; then 22018 if test -n "$GL_CFLAGS"; then 22019 pkg_cv_GL_CFLAGS="$GL_CFLAGS" 22020 else 22021 if test -n "$PKG_CONFIG" && \ 22022 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.9 gl >= 7.1.0\"") >&5 22023 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.9 gl >= 7.1.0") 2>&5 22024 ac_status=$? 22025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22026 (exit $ac_status); }; then 22027 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "glproto >= 1.4.9 gl >= 7.1.0" 2>/dev/null` 22028else 22029 pkg_failed=yes 22030fi 22031 fi 22032else 22033 pkg_failed=untried 22034fi 22035if test -n "$PKG_CONFIG"; then 22036 if test -n "$GL_LIBS"; then 22037 pkg_cv_GL_LIBS="$GL_LIBS" 22038 else 22039 if test -n "$PKG_CONFIG" && \ 22040 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.9 gl >= 7.1.0\"") >&5 22041 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.9 gl >= 7.1.0") 2>&5 22042 ac_status=$? 22043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22044 (exit $ac_status); }; then 22045 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "glproto >= 1.4.9 gl >= 7.1.0" 2>/dev/null` 22046else 22047 pkg_failed=yes 22048fi 22049 fi 22050else 22051 pkg_failed=untried 22052fi 22053 22054 22055 22056if test $pkg_failed = yes; then 22057 22058if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22059 _pkg_short_errors_supported=yes 22060else 22061 _pkg_short_errors_supported=no 22062fi 22063 if test $_pkg_short_errors_supported = yes; then 22064 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto >= 1.4.9 gl >= 7.1.0"` 22065 else 22066 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto >= 1.4.9 gl >= 7.1.0"` 22067 fi 22068 # Put the nasty error message in config.log where it belongs 22069 echo "$GL_PKG_ERRORS" >&5 22070 22071 { { $as_echo "$as_me:$LINENO: error: Package requirements (glproto >= 1.4.9 gl >= 7.1.0) were not met: 22072 22073$GL_PKG_ERRORS 22074 22075Consider adjusting the PKG_CONFIG_PATH environment variable if you 22076installed software in a non-standard prefix. 22077 22078Alternatively, you may set the environment variables GL_CFLAGS 22079and GL_LIBS to avoid the need to call pkg-config. 22080See the pkg-config man page for more details. 22081" >&5 22082$as_echo "$as_me: error: Package requirements (glproto >= 1.4.9 gl >= 7.1.0) were not met: 22083 22084$GL_PKG_ERRORS 22085 22086Consider adjusting the PKG_CONFIG_PATH environment variable if you 22087installed software in a non-standard prefix. 22088 22089Alternatively, you may set the environment variables GL_CFLAGS 22090and GL_LIBS to avoid the need to call pkg-config. 22091See the pkg-config man page for more details. 22092" >&2;} 22093 { (exit 1); exit 1; }; } 22094elif test $pkg_failed = untried; then 22095 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 22096$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22097{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 22098is in your PATH or set the PKG_CONFIG environment variable to the full 22099path to pkg-config. 22100 22101Alternatively, you may set the environment variables GL_CFLAGS 22102and GL_LIBS to avoid the need to call pkg-config. 22103See the pkg-config man page for more details. 22104 22105To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22106See \`config.log' for more details." >&5 22107$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 22108is in your PATH or set the PKG_CONFIG environment variable to the full 22109path to pkg-config. 22110 22111Alternatively, you may set the environment variables GL_CFLAGS 22112and GL_LIBS to avoid the need to call pkg-config. 22113See the pkg-config man page for more details. 22114 22115To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22116See \`config.log' for more details." >&2;} 22117 { (exit 1); exit 1; }; }; } 22118else 22119 GL_CFLAGS=$pkg_cv_GL_CFLAGS 22120 GL_LIBS=$pkg_cv_GL_LIBS 22121 { $as_echo "$as_me:$LINENO: result: yes" >&5 22122$as_echo "yes" >&6; } 22123 : 22124fi 22125 22126 22127cat >>confdefs.h <<\_ACEOF 22128#define GLXEXT 1 22129_ACEOF 22130 22131 GLX_LIBS='$(top_builddir)/glx/libglx.la' 22132 GLX_SYS_LIBS="$GLX_SYS_LIBS $DLOPEN_LIBS" 22133else 22134 GLX=no 22135fi 22136 if test "x$GLX" = xyes; then 22137 GLX_TRUE= 22138 GLX_FALSE='#' 22139else 22140 GLX_TRUE='#' 22141 GLX_FALSE= 22142fi 22143 22144 22145 22146if test "x$AIGLX" = xyes -a "x$GLX" = xyes -a "x$DRI" = xyes; then 22147 22148cat >>confdefs.h <<\_ACEOF 22149#define AIGLX 1 22150_ACEOF 22151 22152else 22153 AIGLX=no 22154fi 22155 if test "x$AIGLX" = xyes; then 22156 AIGLX_TRUE= 22157 AIGLX_FALSE='#' 22158else 22159 AIGLX_TRUE='#' 22160 AIGLX_FALSE= 22161fi 22162 22163 22164if test "x$GLX_USE_TLS" = xyes -a "x$AIGLX" = xyes; then 22165 GLX_DEFINES="-DGLX_USE_TLS -DPTHREADS" 22166 GLX_SYS_LIBS="$GLX_SYS_LIBS -lpthread" 22167fi 22168 22169 22170 if test "x$DRI" = xyes; then 22171 DRI_TRUE= 22172 DRI_FALSE='#' 22173else 22174 DRI_TRUE='#' 22175 DRI_FALSE= 22176fi 22177 22178if test "x$DRI" = xyes; then 22179 22180cat >>confdefs.h <<\_ACEOF 22181#define XF86DRI 1 22182_ACEOF 22183 22184 22185pkg_failed=no 22186{ $as_echo "$as_me:$LINENO: checking for DRIPROTO" >&5 22187$as_echo_n "checking for DRIPROTO... " >&6; } 22188 22189if test -n "$PKG_CONFIG"; then 22190 if test -n "$DRIPROTO_CFLAGS"; then 22191 pkg_cv_DRIPROTO_CFLAGS="$DRIPROTO_CFLAGS" 22192 else 22193 if test -n "$PKG_CONFIG" && \ 22194 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86driproto\"") >&5 22195 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5 22196 ac_status=$? 22197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22198 (exit $ac_status); }; then 22199 pkg_cv_DRIPROTO_CFLAGS=`$PKG_CONFIG --cflags "xf86driproto" 2>/dev/null` 22200else 22201 pkg_failed=yes 22202fi 22203 fi 22204else 22205 pkg_failed=untried 22206fi 22207if test -n "$PKG_CONFIG"; then 22208 if test -n "$DRIPROTO_LIBS"; then 22209 pkg_cv_DRIPROTO_LIBS="$DRIPROTO_LIBS" 22210 else 22211 if test -n "$PKG_CONFIG" && \ 22212 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86driproto\"") >&5 22213 ($PKG_CONFIG --exists --print-errors "xf86driproto") 2>&5 22214 ac_status=$? 22215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22216 (exit $ac_status); }; then 22217 pkg_cv_DRIPROTO_LIBS=`$PKG_CONFIG --libs "xf86driproto" 2>/dev/null` 22218else 22219 pkg_failed=yes 22220fi 22221 fi 22222else 22223 pkg_failed=untried 22224fi 22225 22226 22227 22228if test $pkg_failed = yes; then 22229 22230if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22231 _pkg_short_errors_supported=yes 22232else 22233 _pkg_short_errors_supported=no 22234fi 22235 if test $_pkg_short_errors_supported = yes; then 22236 DRIPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86driproto"` 22237 else 22238 DRIPROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86driproto"` 22239 fi 22240 # Put the nasty error message in config.log where it belongs 22241 echo "$DRIPROTO_PKG_ERRORS" >&5 22242 22243 { { $as_echo "$as_me:$LINENO: error: Package requirements (xf86driproto) were not met: 22244 22245$DRIPROTO_PKG_ERRORS 22246 22247Consider adjusting the PKG_CONFIG_PATH environment variable if you 22248installed software in a non-standard prefix. 22249 22250Alternatively, you may set the environment variables DRIPROTO_CFLAGS 22251and DRIPROTO_LIBS to avoid the need to call pkg-config. 22252See the pkg-config man page for more details. 22253" >&5 22254$as_echo "$as_me: error: Package requirements (xf86driproto) were not met: 22255 22256$DRIPROTO_PKG_ERRORS 22257 22258Consider adjusting the PKG_CONFIG_PATH environment variable if you 22259installed software in a non-standard prefix. 22260 22261Alternatively, you may set the environment variables DRIPROTO_CFLAGS 22262and DRIPROTO_LIBS to avoid the need to call pkg-config. 22263See the pkg-config man page for more details. 22264" >&2;} 22265 { (exit 1); exit 1; }; } 22266elif test $pkg_failed = untried; then 22267 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 22268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22269{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 22270is in your PATH or set the PKG_CONFIG environment variable to the full 22271path to pkg-config. 22272 22273Alternatively, you may set the environment variables DRIPROTO_CFLAGS 22274and DRIPROTO_LIBS to avoid the need to call pkg-config. 22275See the pkg-config man page for more details. 22276 22277To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22278See \`config.log' for more details." >&5 22279$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 22280is in your PATH or set the PKG_CONFIG environment variable to the full 22281path to pkg-config. 22282 22283Alternatively, you may set the environment variables DRIPROTO_CFLAGS 22284and DRIPROTO_LIBS to avoid the need to call pkg-config. 22285See the pkg-config man page for more details. 22286 22287To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22288See \`config.log' for more details." >&2;} 22289 { (exit 1); exit 1; }; }; } 22290else 22291 DRIPROTO_CFLAGS=$pkg_cv_DRIPROTO_CFLAGS 22292 DRIPROTO_LIBS=$pkg_cv_DRIPROTO_LIBS 22293 { $as_echo "$as_me:$LINENO: result: yes" >&5 22294$as_echo "yes" >&6; } 22295 : 22296fi 22297 22298pkg_failed=no 22299{ $as_echo "$as_me:$LINENO: checking for GL" >&5 22300$as_echo_n "checking for GL... " >&6; } 22301 22302if test -n "$PKG_CONFIG"; then 22303 if test -n "$GL_CFLAGS"; then 22304 pkg_cv_GL_CFLAGS="$GL_CFLAGS" 22305 else 22306 if test -n "$PKG_CONFIG" && \ 22307 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.1 dri >= 7.1.0\"") >&5 22308 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.1 dri >= 7.1.0") 2>&5 22309 ac_status=$? 22310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22311 (exit $ac_status); }; then 22312 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "glproto >= 1.4.1 dri >= 7.1.0" 2>/dev/null` 22313else 22314 pkg_failed=yes 22315fi 22316 fi 22317else 22318 pkg_failed=untried 22319fi 22320if test -n "$PKG_CONFIG"; then 22321 if test -n "$GL_LIBS"; then 22322 pkg_cv_GL_LIBS="$GL_LIBS" 22323 else 22324 if test -n "$PKG_CONFIG" && \ 22325 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto >= 1.4.1 dri >= 7.1.0\"") >&5 22326 ($PKG_CONFIG --exists --print-errors "glproto >= 1.4.1 dri >= 7.1.0") 2>&5 22327 ac_status=$? 22328 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22329 (exit $ac_status); }; then 22330 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "glproto >= 1.4.1 dri >= 7.1.0" 2>/dev/null` 22331else 22332 pkg_failed=yes 22333fi 22334 fi 22335else 22336 pkg_failed=untried 22337fi 22338 22339 22340 22341if test $pkg_failed = yes; then 22342 22343if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22344 _pkg_short_errors_supported=yes 22345else 22346 _pkg_short_errors_supported=no 22347fi 22348 if test $_pkg_short_errors_supported = yes; then 22349 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto >= 1.4.1 dri >= 7.1.0"` 22350 else 22351 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto >= 1.4.1 dri >= 7.1.0"` 22352 fi 22353 # Put the nasty error message in config.log where it belongs 22354 echo "$GL_PKG_ERRORS" >&5 22355 22356 { { $as_echo "$as_me:$LINENO: error: Package requirements (glproto >= 1.4.1 dri >= 7.1.0) were not met: 22357 22358$GL_PKG_ERRORS 22359 22360Consider adjusting the PKG_CONFIG_PATH environment variable if you 22361installed software in a non-standard prefix. 22362 22363Alternatively, you may set the environment variables GL_CFLAGS 22364and GL_LIBS to avoid the need to call pkg-config. 22365See the pkg-config man page for more details. 22366" >&5 22367$as_echo "$as_me: error: Package requirements (glproto >= 1.4.1 dri >= 7.1.0) were not met: 22368 22369$GL_PKG_ERRORS 22370 22371Consider adjusting the PKG_CONFIG_PATH environment variable if you 22372installed software in a non-standard prefix. 22373 22374Alternatively, you may set the environment variables GL_CFLAGS 22375and GL_LIBS to avoid the need to call pkg-config. 22376See the pkg-config man page for more details. 22377" >&2;} 22378 { (exit 1); exit 1; }; } 22379elif test $pkg_failed = untried; then 22380 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 22381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22382{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 22383is in your PATH or set the PKG_CONFIG environment variable to the full 22384path to pkg-config. 22385 22386Alternatively, you may set the environment variables GL_CFLAGS 22387and GL_LIBS to avoid the need to call pkg-config. 22388See the pkg-config man page for more details. 22389 22390To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22391See \`config.log' for more details." >&5 22392$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 22393is in your PATH or set the PKG_CONFIG environment variable to the full 22394path to pkg-config. 22395 22396Alternatively, you may set the environment variables GL_CFLAGS 22397and GL_LIBS to avoid the need to call pkg-config. 22398See the pkg-config man page for more details. 22399 22400To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22401See \`config.log' for more details." >&2;} 22402 { (exit 1); exit 1; }; }; } 22403else 22404 GL_CFLAGS=$pkg_cv_GL_CFLAGS 22405 GL_LIBS=$pkg_cv_GL_LIBS 22406 { $as_echo "$as_me:$LINENO: result: yes" >&5 22407$as_echo "yes" >&6; } 22408 : 22409fi 22410 22411 22412fi 22413 22414 22415pkg_failed=no 22416{ $as_echo "$as_me:$LINENO: checking for DRI2PROTO" >&5 22417$as_echo_n "checking for DRI2PROTO... " >&6; } 22418 22419if test -n "$PKG_CONFIG"; then 22420 if test -n "$DRI2PROTO_CFLAGS"; then 22421 pkg_cv_DRI2PROTO_CFLAGS="$DRI2PROTO_CFLAGS" 22422 else 22423 if test -n "$PKG_CONFIG" && \ 22424 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dri2proto >= 2.1\"") >&5 22425 ($PKG_CONFIG --exists --print-errors "dri2proto >= 2.1") 2>&5 22426 ac_status=$? 22427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22428 (exit $ac_status); }; then 22429 pkg_cv_DRI2PROTO_CFLAGS=`$PKG_CONFIG --cflags "dri2proto >= 2.1" 2>/dev/null` 22430else 22431 pkg_failed=yes 22432fi 22433 fi 22434else 22435 pkg_failed=untried 22436fi 22437if test -n "$PKG_CONFIG"; then 22438 if test -n "$DRI2PROTO_LIBS"; then 22439 pkg_cv_DRI2PROTO_LIBS="$DRI2PROTO_LIBS" 22440 else 22441 if test -n "$PKG_CONFIG" && \ 22442 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dri2proto >= 2.1\"") >&5 22443 ($PKG_CONFIG --exists --print-errors "dri2proto >= 2.1") 2>&5 22444 ac_status=$? 22445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22446 (exit $ac_status); }; then 22447 pkg_cv_DRI2PROTO_LIBS=`$PKG_CONFIG --libs "dri2proto >= 2.1" 2>/dev/null` 22448else 22449 pkg_failed=yes 22450fi 22451 fi 22452else 22453 pkg_failed=untried 22454fi 22455 22456 22457 22458if test $pkg_failed = yes; then 22459 22460if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22461 _pkg_short_errors_supported=yes 22462else 22463 _pkg_short_errors_supported=no 22464fi 22465 if test $_pkg_short_errors_supported = yes; then 22466 DRI2PROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dri2proto >= 2.1"` 22467 else 22468 DRI2PROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dri2proto >= 2.1"` 22469 fi 22470 # Put the nasty error message in config.log where it belongs 22471 echo "$DRI2PROTO_PKG_ERRORS" >&5 22472 22473 { $as_echo "$as_me:$LINENO: result: no" >&5 22474$as_echo "no" >&6; } 22475 HAVE_DRI2PROTO=no 22476elif test $pkg_failed = untried; then 22477 HAVE_DRI2PROTO=no 22478else 22479 DRI2PROTO_CFLAGS=$pkg_cv_DRI2PROTO_CFLAGS 22480 DRI2PROTO_LIBS=$pkg_cv_DRI2PROTO_LIBS 22481 { $as_echo "$as_me:$LINENO: result: yes" >&5 22482$as_echo "yes" >&6; } 22483 HAVE_DRI2PROTO=yes 22484fi 22485case "$DRI2,$HAVE_DRI2PROTO" in 22486 yes,no) 22487 { { $as_echo "$as_me:$LINENO: error: DRI2 requested, but dri2proto not found." >&5 22488$as_echo "$as_me: error: DRI2 requested, but dri2proto not found." >&2;} 22489 { (exit 1); exit 1; }; } 22490 ;; 22491 yes,yes | auto,yes) 22492 22493cat >>confdefs.h <<\_ACEOF 22494#define DRI2 1 22495_ACEOF 22496 22497 DRI2=yes 22498 ;; 22499esac 22500 if test "x$DRI2" = xyes; then 22501 DRI2_TRUE= 22502 DRI2_FALSE='#' 22503else 22504 DRI2_TRUE='#' 22505 DRI2_FALSE= 22506fi 22507 22508 22509if test "x$DRI" = xyes || test "x$DRI2" = xyes; then 22510 22511pkg_failed=no 22512{ $as_echo "$as_me:$LINENO: checking for LIBDRM" >&5 22513$as_echo_n "checking for LIBDRM... " >&6; } 22514 22515if test -n "$PKG_CONFIG"; then 22516 if test -n "$LIBDRM_CFLAGS"; then 22517 pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS" 22518 else 22519 if test -n "$PKG_CONFIG" && \ 22520 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.0\"") >&5 22521 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.0") 2>&5 22522 ac_status=$? 22523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22524 (exit $ac_status); }; then 22525 pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.3.0" 2>/dev/null` 22526else 22527 pkg_failed=yes 22528fi 22529 fi 22530else 22531 pkg_failed=untried 22532fi 22533if test -n "$PKG_CONFIG"; then 22534 if test -n "$LIBDRM_LIBS"; then 22535 pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS" 22536 else 22537 if test -n "$PKG_CONFIG" && \ 22538 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.3.0\"") >&5 22539 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.3.0") 2>&5 22540 ac_status=$? 22541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22542 (exit $ac_status); }; then 22543 pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.3.0" 2>/dev/null` 22544else 22545 pkg_failed=yes 22546fi 22547 fi 22548else 22549 pkg_failed=untried 22550fi 22551 22552 22553 22554if test $pkg_failed = yes; then 22555 22556if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 22557 _pkg_short_errors_supported=yes 22558else 22559 _pkg_short_errors_supported=no 22560fi 22561 if test $_pkg_short_errors_supported = yes; then 22562 LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdrm >= 2.3.0"` 22563 else 22564 LIBDRM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdrm >= 2.3.0"` 22565 fi 22566 # Put the nasty error message in config.log where it belongs 22567 echo "$LIBDRM_PKG_ERRORS" >&5 22568 22569 { { $as_echo "$as_me:$LINENO: error: Package requirements (libdrm >= 2.3.0) were not met: 22570 22571$LIBDRM_PKG_ERRORS 22572 22573Consider adjusting the PKG_CONFIG_PATH environment variable if you 22574installed software in a non-standard prefix. 22575 22576Alternatively, you may set the environment variables LIBDRM_CFLAGS 22577and LIBDRM_LIBS to avoid the need to call pkg-config. 22578See the pkg-config man page for more details. 22579" >&5 22580$as_echo "$as_me: error: Package requirements (libdrm >= 2.3.0) were not met: 22581 22582$LIBDRM_PKG_ERRORS 22583 22584Consider adjusting the PKG_CONFIG_PATH environment variable if you 22585installed software in a non-standard prefix. 22586 22587Alternatively, you may set the environment variables LIBDRM_CFLAGS 22588and LIBDRM_LIBS to avoid the need to call pkg-config. 22589See the pkg-config man page for more details. 22590" >&2;} 22591 { (exit 1); exit 1; }; } 22592elif test $pkg_failed = untried; then 22593 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 22594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 22595{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 22596is in your PATH or set the PKG_CONFIG environment variable to the full 22597path to pkg-config. 22598 22599Alternatively, you may set the environment variables LIBDRM_CFLAGS 22600and LIBDRM_LIBS to avoid the need to call pkg-config. 22601See the pkg-config man page for more details. 22602 22603To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22604See \`config.log' for more details." >&5 22605$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 22606is in your PATH or set the PKG_CONFIG environment variable to the full 22607path to pkg-config. 22608 22609Alternatively, you may set the environment variables LIBDRM_CFLAGS 22610and LIBDRM_LIBS to avoid the need to call pkg-config. 22611See the pkg-config man page for more details. 22612 22613To get pkg-config, see <http://pkg-config.freedesktop.org/>. 22614See \`config.log' for more details." >&2;} 22615 { (exit 1); exit 1; }; }; } 22616else 22617 LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS 22618 LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS 22619 { $as_echo "$as_me:$LINENO: result: yes" >&5 22620$as_echo "yes" >&6; } 22621 : 22622fi 22623 22624 22625fi 22626 22627if test "x$DRI2" = xyes; then 22628 save_CFLAGS=$CFLAGS 22629 CFLAGS="$GL_CFLAGS $LIBDRM_CFLAGS" 22630 cat >conftest.$ac_ext <<_ACEOF 22631/* confdefs.h. */ 22632_ACEOF 22633cat confdefs.h >>conftest.$ac_ext 22634cat >>conftest.$ac_ext <<_ACEOF 22635/* end confdefs.h. */ 22636#include <GL/gl.h> 22637#include <GL/internal/dri_interface.h> 22638#ifndef __DRI_DRI2 22639#error DRI2 extension not available. 22640#endif 22641_ACEOF 22642rm -f conftest.$ac_objext 22643if { (ac_try="$ac_compile" 22644case "(($ac_try" in 22645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22646 *) ac_try_echo=$ac_try;; 22647esac 22648eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22649$as_echo "$ac_try_echo") >&5 22650 (eval "$ac_compile") 2>conftest.er1 22651 ac_status=$? 22652 grep -v '^ *+' conftest.er1 >conftest.err 22653 rm -f conftest.er1 22654 cat conftest.err >&5 22655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22656 (exit $ac_status); } && { 22657 test -z "$ac_c_werror_flag" || 22658 test ! -s conftest.err 22659 } && test -s conftest.$ac_objext; then 22660 HAVE_DRI2EXTENSION=yes 22661else 22662 $as_echo "$as_me: failed program was:" >&5 22663sed 's/^/| /' conftest.$ac_ext >&5 22664 22665 HAVE_DRI2EXTENSION=no 22666fi 22667 22668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22669 CFLAGS=$save_CFLAGS 22670 if test "x$HAVE_DRI2EXTENSION" = xyes; then 22671 22672cat >>confdefs.h <<\_ACEOF 22673#define DRI2_AIGLX 1 22674_ACEOF 22675 22676 DRI2_AIGLX=yes 22677 else 22678 { $as_echo "$as_me:$LINENO: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&5 22679$as_echo "$as_me: DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h." >&6;} 22680 DRI2_AIGLX=no 22681 fi 22682fi 22683 if test "x$DRI2_AIGLX" = xyes; then 22684 DRI2_AIGLX_TRUE= 22685 DRI2_AIGLX_FALSE='#' 22686else 22687 DRI2_AIGLX_TRUE='#' 22688 DRI2_AIGLX_FALSE= 22689fi 22690 22691 22692 22693 if test "x$XINERAMA" = xyes; then 22694 XINERAMA_TRUE= 22695 XINERAMA_FALSE='#' 22696else 22697 XINERAMA_TRUE='#' 22698 XINERAMA_FALSE= 22699fi 22700 22701if test "x$XINERAMA" = xyes; then 22702 22703cat >>confdefs.h <<\_ACEOF 22704#define XINERAMA 1 22705_ACEOF 22706 22707 22708cat >>confdefs.h <<\_ACEOF 22709#define PANORAMIX 1 22710_ACEOF 22711 22712 REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto" 22713fi 22714 22715 if test "x$XACE" = xyes; then 22716 XACE_TRUE= 22717 XACE_FALSE='#' 22718else 22719 XACE_TRUE='#' 22720 XACE_FALSE= 22721fi 22722 22723if test "x$XACE" = xyes; then 22724 22725cat >>confdefs.h <<\_ACEOF 22726#define XACE 1 22727_ACEOF 22728 22729fi 22730 22731 if test "x$XSELINUX" = xyes; then 22732 XSELINUX_TRUE= 22733 XSELINUX_FALSE='#' 22734else 22735 XSELINUX_TRUE='#' 22736 XSELINUX_FALSE= 22737fi 22738 22739if test "x$XSELINUX" = xyes; then 22740 if test "x$XACE" != xyes; then 22741 { { $as_echo "$as_me:$LINENO: error: cannot build SELinux extension without X-ACE" >&5 22742$as_echo "$as_me: error: cannot build SELinux extension without X-ACE" >&2;} 22743 { (exit 1); exit 1; }; } 22744 fi 22745 22746 22747for ac_header in selinux/selinux.h selinux/avc.h 22748do 22749as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22750if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22751 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22752$as_echo_n "checking for $ac_header... " >&6; } 22753if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22754 $as_echo_n "(cached) " >&6 22755fi 22756ac_res=`eval 'as_val=${'$as_ac_Header'} 22757 $as_echo "$as_val"'` 22758 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22759$as_echo "$ac_res" >&6; } 22760else 22761 # Is the header compilable? 22762{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22763$as_echo_n "checking $ac_header usability... " >&6; } 22764cat >conftest.$ac_ext <<_ACEOF 22765/* confdefs.h. */ 22766_ACEOF 22767cat confdefs.h >>conftest.$ac_ext 22768cat >>conftest.$ac_ext <<_ACEOF 22769/* end confdefs.h. */ 22770$ac_includes_default 22771#include <$ac_header> 22772_ACEOF 22773rm -f conftest.$ac_objext 22774if { (ac_try="$ac_compile" 22775case "(($ac_try" in 22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22777 *) ac_try_echo=$ac_try;; 22778esac 22779eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22780$as_echo "$ac_try_echo") >&5 22781 (eval "$ac_compile") 2>conftest.er1 22782 ac_status=$? 22783 grep -v '^ *+' conftest.er1 >conftest.err 22784 rm -f conftest.er1 22785 cat conftest.err >&5 22786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22787 (exit $ac_status); } && { 22788 test -z "$ac_c_werror_flag" || 22789 test ! -s conftest.err 22790 } && test -s conftest.$ac_objext; then 22791 ac_header_compiler=yes 22792else 22793 $as_echo "$as_me: failed program was:" >&5 22794sed 's/^/| /' conftest.$ac_ext >&5 22795 22796 ac_header_compiler=no 22797fi 22798 22799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22800{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 22801$as_echo "$ac_header_compiler" >&6; } 22802 22803# Is the header present? 22804{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 22805$as_echo_n "checking $ac_header presence... " >&6; } 22806cat >conftest.$ac_ext <<_ACEOF 22807/* confdefs.h. */ 22808_ACEOF 22809cat confdefs.h >>conftest.$ac_ext 22810cat >>conftest.$ac_ext <<_ACEOF 22811/* end confdefs.h. */ 22812#include <$ac_header> 22813_ACEOF 22814if { (ac_try="$ac_cpp conftest.$ac_ext" 22815case "(($ac_try" in 22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22817 *) ac_try_echo=$ac_try;; 22818esac 22819eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22820$as_echo "$ac_try_echo") >&5 22821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 22822 ac_status=$? 22823 grep -v '^ *+' conftest.er1 >conftest.err 22824 rm -f conftest.er1 22825 cat conftest.err >&5 22826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22827 (exit $ac_status); } >/dev/null && { 22828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 22829 test ! -s conftest.err 22830 }; then 22831 ac_header_preproc=yes 22832else 22833 $as_echo "$as_me: failed program was:" >&5 22834sed 's/^/| /' conftest.$ac_ext >&5 22835 22836 ac_header_preproc=no 22837fi 22838 22839rm -f conftest.err conftest.$ac_ext 22840{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 22841$as_echo "$ac_header_preproc" >&6; } 22842 22843# So? What about this header? 22844case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 22845 yes:no: ) 22846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 22847$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 22848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 22849$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 22850 ac_header_preproc=yes 22851 ;; 22852 no:yes:* ) 22853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 22854$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 22855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 22856$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 22857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 22858$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 22859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 22860$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 22861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 22862$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 22863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 22864$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 22865 ( cat <<\_ASBOX 22866## ---------------------------------------------------------------------- ## 22867## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 22868## ---------------------------------------------------------------------- ## 22869_ASBOX 22870 ) | sed "s/^/$as_me: WARNING: /" >&2 22871 ;; 22872esac 22873{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22874$as_echo_n "checking for $ac_header... " >&6; } 22875if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22876 $as_echo_n "(cached) " >&6 22877else 22878 eval "$as_ac_Header=\$ac_header_preproc" 22879fi 22880ac_res=`eval 'as_val=${'$as_ac_Header'} 22881 $as_echo "$as_val"'` 22882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22883$as_echo "$ac_res" >&6; } 22884 22885fi 22886as_val=`eval 'as_val=${'$as_ac_Header'} 22887 $as_echo "$as_val"'` 22888 if test "x$as_val" = x""yes; then 22889 cat >>confdefs.h <<_ACEOF 22890#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 22891_ACEOF 22892 22893else 22894 { { $as_echo "$as_me:$LINENO: error: SELinux include files not found" >&5 22895$as_echo "$as_me: error: SELinux include files not found" >&2;} 22896 { (exit 1); exit 1; }; } 22897fi 22898 22899done 22900 22901 22902{ $as_echo "$as_me:$LINENO: checking for avc_init in -lselinux" >&5 22903$as_echo_n "checking for avc_init in -lselinux... " >&6; } 22904if test "${ac_cv_lib_selinux_avc_init+set}" = set; then 22905 $as_echo_n "(cached) " >&6 22906else 22907 ac_check_lib_save_LIBS=$LIBS 22908LIBS="-lselinux $LIBS" 22909cat >conftest.$ac_ext <<_ACEOF 22910/* confdefs.h. */ 22911_ACEOF 22912cat confdefs.h >>conftest.$ac_ext 22913cat >>conftest.$ac_ext <<_ACEOF 22914/* end confdefs.h. */ 22915 22916/* Override any GCC internal prototype to avoid an error. 22917 Use char because int might match the return type of a GCC 22918 builtin and then its argument prototype would still apply. */ 22919#ifdef __cplusplus 22920extern "C" 22921#endif 22922char avc_init (); 22923int 22924main () 22925{ 22926return avc_init (); 22927 ; 22928 return 0; 22929} 22930_ACEOF 22931rm -f conftest.$ac_objext conftest$ac_exeext 22932if { (ac_try="$ac_link" 22933case "(($ac_try" in 22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22935 *) ac_try_echo=$ac_try;; 22936esac 22937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 22938$as_echo "$ac_try_echo") >&5 22939 (eval "$ac_link") 2>conftest.er1 22940 ac_status=$? 22941 grep -v '^ *+' conftest.er1 >conftest.err 22942 rm -f conftest.er1 22943 cat conftest.err >&5 22944 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 22945 (exit $ac_status); } && { 22946 test -z "$ac_c_werror_flag" || 22947 test ! -s conftest.err 22948 } && test -s conftest$ac_exeext && { 22949 test "$cross_compiling" = yes || 22950 $as_test_x conftest$ac_exeext 22951 }; then 22952 ac_cv_lib_selinux_avc_init=yes 22953else 22954 $as_echo "$as_me: failed program was:" >&5 22955sed 's/^/| /' conftest.$ac_ext >&5 22956 22957 ac_cv_lib_selinux_avc_init=no 22958fi 22959 22960rm -rf conftest.dSYM 22961rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 22962 conftest$ac_exeext conftest.$ac_ext 22963LIBS=$ac_check_lib_save_LIBS 22964fi 22965{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_avc_init" >&5 22966$as_echo "$ac_cv_lib_selinux_avc_init" >&6; } 22967if test "x$ac_cv_lib_selinux_avc_init" = x""yes; then 22968 cat >>confdefs.h <<_ACEOF 22969#define HAVE_LIBSELINUX 1 22970_ACEOF 22971 22972 LIBS="-lselinux $LIBS" 22973 22974else 22975 { { $as_echo "$as_me:$LINENO: error: SELinux library not found" >&5 22976$as_echo "$as_me: error: SELinux library not found" >&2;} 22977 { (exit 1); exit 1; }; } 22978fi 22979 22980 22981for ac_header in libaudit.h 22982do 22983as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 22984if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22985 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 22986$as_echo_n "checking for $ac_header... " >&6; } 22987if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 22988 $as_echo_n "(cached) " >&6 22989fi 22990ac_res=`eval 'as_val=${'$as_ac_Header'} 22991 $as_echo "$as_val"'` 22992 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 22993$as_echo "$ac_res" >&6; } 22994else 22995 # Is the header compilable? 22996{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 22997$as_echo_n "checking $ac_header usability... " >&6; } 22998cat >conftest.$ac_ext <<_ACEOF 22999/* confdefs.h. */ 23000_ACEOF 23001cat confdefs.h >>conftest.$ac_ext 23002cat >>conftest.$ac_ext <<_ACEOF 23003/* end confdefs.h. */ 23004$ac_includes_default 23005#include <$ac_header> 23006_ACEOF 23007rm -f conftest.$ac_objext 23008if { (ac_try="$ac_compile" 23009case "(($ac_try" in 23010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23011 *) ac_try_echo=$ac_try;; 23012esac 23013eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23014$as_echo "$ac_try_echo") >&5 23015 (eval "$ac_compile") 2>conftest.er1 23016 ac_status=$? 23017 grep -v '^ *+' conftest.er1 >conftest.err 23018 rm -f conftest.er1 23019 cat conftest.err >&5 23020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23021 (exit $ac_status); } && { 23022 test -z "$ac_c_werror_flag" || 23023 test ! -s conftest.err 23024 } && test -s conftest.$ac_objext; then 23025 ac_header_compiler=yes 23026else 23027 $as_echo "$as_me: failed program was:" >&5 23028sed 's/^/| /' conftest.$ac_ext >&5 23029 23030 ac_header_compiler=no 23031fi 23032 23033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23034{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23035$as_echo "$ac_header_compiler" >&6; } 23036 23037# Is the header present? 23038{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 23039$as_echo_n "checking $ac_header presence... " >&6; } 23040cat >conftest.$ac_ext <<_ACEOF 23041/* confdefs.h. */ 23042_ACEOF 23043cat confdefs.h >>conftest.$ac_ext 23044cat >>conftest.$ac_ext <<_ACEOF 23045/* end confdefs.h. */ 23046#include <$ac_header> 23047_ACEOF 23048if { (ac_try="$ac_cpp conftest.$ac_ext" 23049case "(($ac_try" in 23050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23051 *) ac_try_echo=$ac_try;; 23052esac 23053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23054$as_echo "$ac_try_echo") >&5 23055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 23056 ac_status=$? 23057 grep -v '^ *+' conftest.er1 >conftest.err 23058 rm -f conftest.er1 23059 cat conftest.err >&5 23060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23061 (exit $ac_status); } >/dev/null && { 23062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 23063 test ! -s conftest.err 23064 }; then 23065 ac_header_preproc=yes 23066else 23067 $as_echo "$as_me: failed program was:" >&5 23068sed 's/^/| /' conftest.$ac_ext >&5 23069 23070 ac_header_preproc=no 23071fi 23072 23073rm -f conftest.err conftest.$ac_ext 23074{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23075$as_echo "$ac_header_preproc" >&6; } 23076 23077# So? What about this header? 23078case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 23079 yes:no: ) 23080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23081$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23083$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23084 ac_header_preproc=yes 23085 ;; 23086 no:yes:* ) 23087 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23088$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23089 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23090$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23091 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23092$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23093 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23094$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23095 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23096$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23097 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23098$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23099 ( cat <<\_ASBOX 23100## ---------------------------------------------------------------------- ## 23101## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 23102## ---------------------------------------------------------------------- ## 23103_ASBOX 23104 ) | sed "s/^/$as_me: WARNING: /" >&2 23105 ;; 23106esac 23107{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 23108$as_echo_n "checking for $ac_header... " >&6; } 23109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 23110 $as_echo_n "(cached) " >&6 23111else 23112 eval "$as_ac_Header=\$ac_header_preproc" 23113fi 23114ac_res=`eval 'as_val=${'$as_ac_Header'} 23115 $as_echo "$as_val"'` 23116 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 23117$as_echo "$ac_res" >&6; } 23118 23119fi 23120as_val=`eval 'as_val=${'$as_ac_Header'} 23121 $as_echo "$as_val"'` 23122 if test "x$as_val" = x""yes; then 23123 cat >>confdefs.h <<_ACEOF 23124#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 23125_ACEOF 23126 23127else 23128 { { $as_echo "$as_me:$LINENO: error: SELinux extension requires audit system headers" >&5 23129$as_echo "$as_me: error: SELinux extension requires audit system headers" >&2;} 23130 { (exit 1); exit 1; }; } 23131fi 23132 23133done 23134 23135 23136{ $as_echo "$as_me:$LINENO: checking for audit_open in -laudit" >&5 23137$as_echo_n "checking for audit_open in -laudit... " >&6; } 23138if test "${ac_cv_lib_audit_audit_open+set}" = set; then 23139 $as_echo_n "(cached) " >&6 23140else 23141 ac_check_lib_save_LIBS=$LIBS 23142LIBS="-laudit $LIBS" 23143cat >conftest.$ac_ext <<_ACEOF 23144/* confdefs.h. */ 23145_ACEOF 23146cat confdefs.h >>conftest.$ac_ext 23147cat >>conftest.$ac_ext <<_ACEOF 23148/* end confdefs.h. */ 23149 23150/* Override any GCC internal prototype to avoid an error. 23151 Use char because int might match the return type of a GCC 23152 builtin and then its argument prototype would still apply. */ 23153#ifdef __cplusplus 23154extern "C" 23155#endif 23156char audit_open (); 23157int 23158main () 23159{ 23160return audit_open (); 23161 ; 23162 return 0; 23163} 23164_ACEOF 23165rm -f conftest.$ac_objext conftest$ac_exeext 23166if { (ac_try="$ac_link" 23167case "(($ac_try" in 23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23169 *) ac_try_echo=$ac_try;; 23170esac 23171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23172$as_echo "$ac_try_echo") >&5 23173 (eval "$ac_link") 2>conftest.er1 23174 ac_status=$? 23175 grep -v '^ *+' conftest.er1 >conftest.err 23176 rm -f conftest.er1 23177 cat conftest.err >&5 23178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23179 (exit $ac_status); } && { 23180 test -z "$ac_c_werror_flag" || 23181 test ! -s conftest.err 23182 } && test -s conftest$ac_exeext && { 23183 test "$cross_compiling" = yes || 23184 $as_test_x conftest$ac_exeext 23185 }; then 23186 ac_cv_lib_audit_audit_open=yes 23187else 23188 $as_echo "$as_me: failed program was:" >&5 23189sed 's/^/| /' conftest.$ac_ext >&5 23190 23191 ac_cv_lib_audit_audit_open=no 23192fi 23193 23194rm -rf conftest.dSYM 23195rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23196 conftest$ac_exeext conftest.$ac_ext 23197LIBS=$ac_check_lib_save_LIBS 23198fi 23199{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audit_audit_open" >&5 23200$as_echo "$ac_cv_lib_audit_audit_open" >&6; } 23201if test "x$ac_cv_lib_audit_audit_open" = x""yes; then 23202 cat >>confdefs.h <<_ACEOF 23203#define HAVE_LIBAUDIT 1 23204_ACEOF 23205 23206 LIBS="-laudit $LIBS" 23207 23208else 23209 { { $as_echo "$as_me:$LINENO: error: SELinux extension requires audit system library" >&5 23210$as_echo "$as_me: error: SELinux extension requires audit system library" >&2;} 23211 { (exit 1); exit 1; }; } 23212fi 23213 23214 { $as_echo "$as_me:$LINENO: checking whether avc_netlink_acquire_fd is declared" >&5 23215$as_echo_n "checking whether avc_netlink_acquire_fd is declared... " >&6; } 23216if test "${ac_cv_have_decl_avc_netlink_acquire_fd+set}" = set; then 23217 $as_echo_n "(cached) " >&6 23218else 23219 cat >conftest.$ac_ext <<_ACEOF 23220/* confdefs.h. */ 23221_ACEOF 23222cat confdefs.h >>conftest.$ac_ext 23223cat >>conftest.$ac_ext <<_ACEOF 23224/* end confdefs.h. */ 23225#include <selinux/avc.h> 23226 23227int 23228main () 23229{ 23230#ifndef avc_netlink_acquire_fd 23231 (void) avc_netlink_acquire_fd; 23232#endif 23233 23234 ; 23235 return 0; 23236} 23237_ACEOF 23238rm -f conftest.$ac_objext 23239if { (ac_try="$ac_compile" 23240case "(($ac_try" in 23241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23242 *) ac_try_echo=$ac_try;; 23243esac 23244eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23245$as_echo "$ac_try_echo") >&5 23246 (eval "$ac_compile") 2>conftest.er1 23247 ac_status=$? 23248 grep -v '^ *+' conftest.er1 >conftest.err 23249 rm -f conftest.er1 23250 cat conftest.err >&5 23251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23252 (exit $ac_status); } && { 23253 test -z "$ac_c_werror_flag" || 23254 test ! -s conftest.err 23255 } && test -s conftest.$ac_objext; then 23256 ac_cv_have_decl_avc_netlink_acquire_fd=yes 23257else 23258 $as_echo "$as_me: failed program was:" >&5 23259sed 's/^/| /' conftest.$ac_ext >&5 23260 23261 ac_cv_have_decl_avc_netlink_acquire_fd=no 23262fi 23263 23264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23265fi 23266{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_avc_netlink_acquire_fd" >&5 23267$as_echo "$ac_cv_have_decl_avc_netlink_acquire_fd" >&6; } 23268if test "x$ac_cv_have_decl_avc_netlink_acquire_fd" = x""yes; then 23269 23270cat >>confdefs.h <<\_ACEOF 23271#define HAVE_AVC_NETLINK_ACQUIRE_FD 1 23272_ACEOF 23273 23274fi 23275 23276 23277cat >>confdefs.h <<\_ACEOF 23278#define XSELINUX 1 23279_ACEOF 23280 23281 SELINUX_LIB="-lselinux -laudit" 23282fi 23283 23284 if test "x$XCSECURITY" = xyes; then 23285 XCSECURITY_TRUE= 23286 XCSECURITY_FALSE='#' 23287else 23288 XCSECURITY_TRUE='#' 23289 XCSECURITY_FALSE= 23290fi 23291 23292if test "x$XCSECURITY" = xyes; then 23293 if test "x$XACE" != xyes; then 23294 { { $as_echo "$as_me:$LINENO: error: cannot build Security extension without X-ACE" >&5 23295$as_echo "$as_me: error: cannot build Security extension without X-ACE" >&2;} 23296 { (exit 1); exit 1; }; } 23297 fi 23298 23299cat >>confdefs.h <<\_ACEOF 23300#define XCSECURITY 1 23301_ACEOF 23302 23303fi 23304 23305 if test "x$MULTIBUFFER" = xyes; then 23306 MULTIBUFFER_TRUE= 23307 MULTIBUFFER_FALSE='#' 23308else 23309 MULTIBUFFER_TRUE='#' 23310 MULTIBUFFER_FALSE= 23311fi 23312 23313if test "x$MULTIBUFFER" = xyes; then 23314 23315cat >>confdefs.h <<\_ACEOF 23316#define MULTIBUFFER 1 23317_ACEOF 23318 23319 # Requires xextproto which is always required 23320fi 23321 23322 if test "x$DBE" = xyes; then 23323 DBE_TRUE= 23324 DBE_FALSE='#' 23325else 23326 DBE_TRUE='#' 23327 DBE_FALSE= 23328fi 23329 23330if test "x$DBE" = xyes; then 23331 23332cat >>confdefs.h <<\_ACEOF 23333#define DBE 1 23334_ACEOF 23335 23336 DBE_LIB='$(top_builddir)/dbe/libdbe.la' 23337fi 23338 23339 if test "x$XF86BIGFONT" = xyes; then 23340 XF86BIGFONT_TRUE= 23341 XF86BIGFONT_FALSE='#' 23342else 23343 XF86BIGFONT_TRUE='#' 23344 XF86BIGFONT_FALSE= 23345fi 23346 23347if test "x$XF86BIGFONT" = xyes; then 23348 23349cat >>confdefs.h <<\_ACEOF 23350#define XF86BIGFONT 1 23351_ACEOF 23352 23353fi 23354 23355 if test "x$DPMSExtension" = xyes; then 23356 DPMSExtension_TRUE= 23357 DPMSExtension_FALSE='#' 23358else 23359 DPMSExtension_TRUE='#' 23360 DPMSExtension_FALSE= 23361fi 23362 23363if test "x$DPMSExtension" = xyes; then 23364 23365cat >>confdefs.h <<\_ACEOF 23366#define DPMSExtension 1 23367_ACEOF 23368 23369fi 23370 23371if test "x$XCALIBRATE" = xyes && test "$KDRIVE" = yes; then 23372 23373cat >>confdefs.h <<\_ACEOF 23374#define XCALIBRATE 1 23375_ACEOF 23376 23377 REQUIRED_MODULES="$REQUIRED_MODULES xcalibrateproto" 23378else 23379 XCALIBRATE=no 23380fi 23381 if test "x$XCALIBRATE" = xyes; then 23382 XCALIBRATE_TRUE= 23383 XCALIBRATE_FALSE='#' 23384else 23385 XCALIBRATE_TRUE='#' 23386 XCALIBRATE_FALSE= 23387fi 23388 23389 23390 23391cat >>confdefs.h <<\_ACEOF 23392#define RENDER 1 23393_ACEOF 23394 23395RENDER_LIB='$(top_builddir)/render/librender.la' 23396RENDER_INC='-I$(top_srcdir)/render' 23397 23398 23399cat >>confdefs.h <<\_ACEOF 23400#define RANDR 1 23401_ACEOF 23402 23403RANDR_LIB='$(top_builddir)/randr/librandr.la' 23404RANDR_INC='-I$(top_srcdir)/randr' 23405 23406 23407cat >>confdefs.h <<\_ACEOF 23408#define XFIXES 1 23409_ACEOF 23410 23411FIXES_LIB='$(top_builddir)/xfixes/libxfixes.la' 23412FIXES_INC='-I$(top_srcdir)/xfixes' 23413 23414 23415cat >>confdefs.h <<\_ACEOF 23416#define DAMAGE 1 23417_ACEOF 23418 23419DAMAGE_LIB='$(top_builddir)/damageext/libdamageext.la' 23420DAMAGE_INC='-I$(top_srcdir)/damageext' 23421MIEXT_DAMAGE_LIB='$(top_builddir)/miext/damage/libdamage.la' 23422MIEXT_DAMAGE_INC='-I$(top_srcdir)/miext/damage' 23423 23424# XINPUT extension is integral part of the server 23425XI_LIB='$(top_builddir)/Xi/libXi.la' 23426XI_INC='-I$(top_srcdir)/Xi' 23427 23428 if test "x$XF86UTILS" = xyes; then 23429 XF86UTILS_TRUE= 23430 XF86UTILS_FALSE='#' 23431else 23432 XF86UTILS_TRUE='#' 23433 XF86UTILS_FALSE= 23434fi 23435 23436 23437 23438cat >>confdefs.h <<\_ACEOF 23439#define SHAPE 1 23440_ACEOF 23441 23442 23443 23444cat >>confdefs.h <<\_ACEOF 23445#define XKB 1 23446_ACEOF 23447 23448 23449cat >>confdefs.h <<\_ACEOF 23450#define XKB_IN_SERVER 1 23451_ACEOF 23452 23453 23454cat >>confdefs.h <<\_ACEOF 23455#define XKB_DFLT_DISABLED 0 23456_ACEOF 23457 23458REQUIRED_MODULES="$REQUIRED_MODULES xkbfile" 23459XKB_LIB='$(top_builddir)/xkb/libxkb.la' 23460XKB_STUB_LIB='$(top_builddir)/xkb/libxkbstubs.la' 23461 23462{ $as_echo "$as_me:$LINENO: checking for strcasecmp" >&5 23463$as_echo_n "checking for strcasecmp... " >&6; } 23464if test "${ac_cv_func_strcasecmp+set}" = set; then 23465 $as_echo_n "(cached) " >&6 23466else 23467 cat >conftest.$ac_ext <<_ACEOF 23468/* confdefs.h. */ 23469_ACEOF 23470cat confdefs.h >>conftest.$ac_ext 23471cat >>conftest.$ac_ext <<_ACEOF 23472/* end confdefs.h. */ 23473/* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp. 23474 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 23475#define strcasecmp innocuous_strcasecmp 23476 23477/* System header to define __stub macros and hopefully few prototypes, 23478 which can conflict with char strcasecmp (); below. 23479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 23480 <limits.h> exists even on freestanding compilers. */ 23481 23482#ifdef __STDC__ 23483# include <limits.h> 23484#else 23485# include <assert.h> 23486#endif 23487 23488#undef strcasecmp 23489 23490/* Override any GCC internal prototype to avoid an error. 23491 Use char because int might match the return type of a GCC 23492 builtin and then its argument prototype would still apply. */ 23493#ifdef __cplusplus 23494extern "C" 23495#endif 23496char strcasecmp (); 23497/* The GNU C library defines this for functions which it implements 23498 to always fail with ENOSYS. Some functions are actually named 23499 something starting with __ and the normal name is an alias. */ 23500#if defined __stub_strcasecmp || defined __stub___strcasecmp 23501choke me 23502#endif 23503 23504int 23505main () 23506{ 23507return strcasecmp (); 23508 ; 23509 return 0; 23510} 23511_ACEOF 23512rm -f conftest.$ac_objext conftest$ac_exeext 23513if { (ac_try="$ac_link" 23514case "(($ac_try" in 23515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23516 *) ac_try_echo=$ac_try;; 23517esac 23518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23519$as_echo "$ac_try_echo") >&5 23520 (eval "$ac_link") 2>conftest.er1 23521 ac_status=$? 23522 grep -v '^ *+' conftest.er1 >conftest.err 23523 rm -f conftest.er1 23524 cat conftest.err >&5 23525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23526 (exit $ac_status); } && { 23527 test -z "$ac_c_werror_flag" || 23528 test ! -s conftest.err 23529 } && test -s conftest$ac_exeext && { 23530 test "$cross_compiling" = yes || 23531 $as_test_x conftest$ac_exeext 23532 }; then 23533 ac_cv_func_strcasecmp=yes 23534else 23535 $as_echo "$as_me: failed program was:" >&5 23536sed 's/^/| /' conftest.$ac_ext >&5 23537 23538 ac_cv_func_strcasecmp=no 23539fi 23540 23541rm -rf conftest.dSYM 23542rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23543 conftest$ac_exeext conftest.$ac_ext 23544fi 23545{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 23546$as_echo "$ac_cv_func_strcasecmp" >&6; } 23547if test "x$ac_cv_func_strcasecmp" = x""yes; then 23548 : 23549else 23550 23551cat >>confdefs.h <<\_ACEOF 23552#define NEED_STRCASECMP 1 23553_ACEOF 23554 23555fi 23556 23557{ $as_echo "$as_me:$LINENO: checking for strncasecmp" >&5 23558$as_echo_n "checking for strncasecmp... " >&6; } 23559if test "${ac_cv_func_strncasecmp+set}" = set; then 23560 $as_echo_n "(cached) " >&6 23561else 23562 cat >conftest.$ac_ext <<_ACEOF 23563/* confdefs.h. */ 23564_ACEOF 23565cat confdefs.h >>conftest.$ac_ext 23566cat >>conftest.$ac_ext <<_ACEOF 23567/* end confdefs.h. */ 23568/* Define strncasecmp to an innocuous variant, in case <limits.h> declares strncasecmp. 23569 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 23570#define strncasecmp innocuous_strncasecmp 23571 23572/* System header to define __stub macros and hopefully few prototypes, 23573 which can conflict with char strncasecmp (); below. 23574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 23575 <limits.h> exists even on freestanding compilers. */ 23576 23577#ifdef __STDC__ 23578# include <limits.h> 23579#else 23580# include <assert.h> 23581#endif 23582 23583#undef strncasecmp 23584 23585/* Override any GCC internal prototype to avoid an error. 23586 Use char because int might match the return type of a GCC 23587 builtin and then its argument prototype would still apply. */ 23588#ifdef __cplusplus 23589extern "C" 23590#endif 23591char strncasecmp (); 23592/* The GNU C library defines this for functions which it implements 23593 to always fail with ENOSYS. Some functions are actually named 23594 something starting with __ and the normal name is an alias. */ 23595#if defined __stub_strncasecmp || defined __stub___strncasecmp 23596choke me 23597#endif 23598 23599int 23600main () 23601{ 23602return strncasecmp (); 23603 ; 23604 return 0; 23605} 23606_ACEOF 23607rm -f conftest.$ac_objext conftest$ac_exeext 23608if { (ac_try="$ac_link" 23609case "(($ac_try" in 23610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23611 *) ac_try_echo=$ac_try;; 23612esac 23613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23614$as_echo "$ac_try_echo") >&5 23615 (eval "$ac_link") 2>conftest.er1 23616 ac_status=$? 23617 grep -v '^ *+' conftest.er1 >conftest.err 23618 rm -f conftest.er1 23619 cat conftest.err >&5 23620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23621 (exit $ac_status); } && { 23622 test -z "$ac_c_werror_flag" || 23623 test ! -s conftest.err 23624 } && test -s conftest$ac_exeext && { 23625 test "$cross_compiling" = yes || 23626 $as_test_x conftest$ac_exeext 23627 }; then 23628 ac_cv_func_strncasecmp=yes 23629else 23630 $as_echo "$as_me: failed program was:" >&5 23631sed 's/^/| /' conftest.$ac_ext >&5 23632 23633 ac_cv_func_strncasecmp=no 23634fi 23635 23636rm -rf conftest.dSYM 23637rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23638 conftest$ac_exeext conftest.$ac_ext 23639fi 23640{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strncasecmp" >&5 23641$as_echo "$ac_cv_func_strncasecmp" >&6; } 23642if test "x$ac_cv_func_strncasecmp" = x""yes; then 23643 : 23644else 23645 23646cat >>confdefs.h <<\_ACEOF 23647#define NEED_STRNCASECMP 1 23648_ACEOF 23649 23650fi 23651 23652{ $as_echo "$as_me:$LINENO: checking for strcasestr" >&5 23653$as_echo_n "checking for strcasestr... " >&6; } 23654if test "${ac_cv_func_strcasestr+set}" = set; then 23655 $as_echo_n "(cached) " >&6 23656else 23657 cat >conftest.$ac_ext <<_ACEOF 23658/* confdefs.h. */ 23659_ACEOF 23660cat confdefs.h >>conftest.$ac_ext 23661cat >>conftest.$ac_ext <<_ACEOF 23662/* end confdefs.h. */ 23663/* Define strcasestr to an innocuous variant, in case <limits.h> declares strcasestr. 23664 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 23665#define strcasestr innocuous_strcasestr 23666 23667/* System header to define __stub macros and hopefully few prototypes, 23668 which can conflict with char strcasestr (); below. 23669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 23670 <limits.h> exists even on freestanding compilers. */ 23671 23672#ifdef __STDC__ 23673# include <limits.h> 23674#else 23675# include <assert.h> 23676#endif 23677 23678#undef strcasestr 23679 23680/* Override any GCC internal prototype to avoid an error. 23681 Use char because int might match the return type of a GCC 23682 builtin and then its argument prototype would still apply. */ 23683#ifdef __cplusplus 23684extern "C" 23685#endif 23686char strcasestr (); 23687/* The GNU C library defines this for functions which it implements 23688 to always fail with ENOSYS. Some functions are actually named 23689 something starting with __ and the normal name is an alias. */ 23690#if defined __stub_strcasestr || defined __stub___strcasestr 23691choke me 23692#endif 23693 23694int 23695main () 23696{ 23697return strcasestr (); 23698 ; 23699 return 0; 23700} 23701_ACEOF 23702rm -f conftest.$ac_objext conftest$ac_exeext 23703if { (ac_try="$ac_link" 23704case "(($ac_try" in 23705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23706 *) ac_try_echo=$ac_try;; 23707esac 23708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23709$as_echo "$ac_try_echo") >&5 23710 (eval "$ac_link") 2>conftest.er1 23711 ac_status=$? 23712 grep -v '^ *+' conftest.er1 >conftest.err 23713 rm -f conftest.er1 23714 cat conftest.err >&5 23715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23716 (exit $ac_status); } && { 23717 test -z "$ac_c_werror_flag" || 23718 test ! -s conftest.err 23719 } && test -s conftest$ac_exeext && { 23720 test "$cross_compiling" = yes || 23721 $as_test_x conftest$ac_exeext 23722 }; then 23723 ac_cv_func_strcasestr=yes 23724else 23725 $as_echo "$as_me: failed program was:" >&5 23726sed 's/^/| /' conftest.$ac_ext >&5 23727 23728 ac_cv_func_strcasestr=no 23729fi 23730 23731rm -rf conftest.dSYM 23732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23733 conftest$ac_exeext conftest.$ac_ext 23734fi 23735{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcasestr" >&5 23736$as_echo "$ac_cv_func_strcasestr" >&6; } 23737if test "x$ac_cv_func_strcasestr" = x""yes; then 23738 : 23739else 23740 23741cat >>confdefs.h <<\_ACEOF 23742#define NEED_STRCASESTR 1 23743_ACEOF 23744 23745fi 23746 23747 23748if test "x$NULL_ROOT_CURSOR" = xyes; then 23749 23750cat >>confdefs.h <<\_ACEOF 23751#define NULL_ROOT_CURSOR 1 23752_ACEOF 23753 23754fi 23755 23756 23757pkg_failed=no 23758{ $as_echo "$as_me:$LINENO: checking for XDMCP" >&5 23759$as_echo_n "checking for XDMCP... " >&6; } 23760 23761if test -n "$PKG_CONFIG"; then 23762 if test -n "$XDMCP_CFLAGS"; then 23763 pkg_cv_XDMCP_CFLAGS="$XDMCP_CFLAGS" 23764 else 23765 if test -n "$PKG_CONFIG" && \ 23766 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5 23767 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5 23768 ac_status=$? 23769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23770 (exit $ac_status); }; then 23771 pkg_cv_XDMCP_CFLAGS=`$PKG_CONFIG --cflags "xdmcp" 2>/dev/null` 23772else 23773 pkg_failed=yes 23774fi 23775 fi 23776else 23777 pkg_failed=untried 23778fi 23779if test -n "$PKG_CONFIG"; then 23780 if test -n "$XDMCP_LIBS"; then 23781 pkg_cv_XDMCP_LIBS="$XDMCP_LIBS" 23782 else 23783 if test -n "$PKG_CONFIG" && \ 23784 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xdmcp\"") >&5 23785 ($PKG_CONFIG --exists --print-errors "xdmcp") 2>&5 23786 ac_status=$? 23787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23788 (exit $ac_status); }; then 23789 pkg_cv_XDMCP_LIBS=`$PKG_CONFIG --libs "xdmcp" 2>/dev/null` 23790else 23791 pkg_failed=yes 23792fi 23793 fi 23794else 23795 pkg_failed=untried 23796fi 23797 23798 23799 23800if test $pkg_failed = yes; then 23801 23802if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 23803 _pkg_short_errors_supported=yes 23804else 23805 _pkg_short_errors_supported=no 23806fi 23807 if test $_pkg_short_errors_supported = yes; then 23808 XDMCP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xdmcp"` 23809 else 23810 XDMCP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdmcp"` 23811 fi 23812 # Put the nasty error message in config.log where it belongs 23813 echo "$XDMCP_PKG_ERRORS" >&5 23814 23815 { $as_echo "$as_me:$LINENO: result: no" >&5 23816$as_echo "no" >&6; } 23817 have_libxdmcp="no" 23818elif test $pkg_failed = untried; then 23819 have_libxdmcp="no" 23820else 23821 XDMCP_CFLAGS=$pkg_cv_XDMCP_CFLAGS 23822 XDMCP_LIBS=$pkg_cv_XDMCP_LIBS 23823 { $as_echo "$as_me:$LINENO: result: yes" >&5 23824$as_echo "yes" >&6; } 23825 have_libxdmcp="yes" 23826fi 23827if test "x$have_libxdmcp" = xyes; then 23828 { $as_echo "$as_me:$LINENO: checking for XdmcpWrap in -lXdmcp" >&5 23829$as_echo_n "checking for XdmcpWrap in -lXdmcp... " >&6; } 23830if test "${ac_cv_lib_Xdmcp_XdmcpWrap+set}" = set; then 23831 $as_echo_n "(cached) " >&6 23832else 23833 ac_check_lib_save_LIBS=$LIBS 23834LIBS="-lXdmcp $XDMCP_LIBS $LIBS" 23835cat >conftest.$ac_ext <<_ACEOF 23836/* confdefs.h. */ 23837_ACEOF 23838cat confdefs.h >>conftest.$ac_ext 23839cat >>conftest.$ac_ext <<_ACEOF 23840/* end confdefs.h. */ 23841 23842/* Override any GCC internal prototype to avoid an error. 23843 Use char because int might match the return type of a GCC 23844 builtin and then its argument prototype would still apply. */ 23845#ifdef __cplusplus 23846extern "C" 23847#endif 23848char XdmcpWrap (); 23849int 23850main () 23851{ 23852return XdmcpWrap (); 23853 ; 23854 return 0; 23855} 23856_ACEOF 23857rm -f conftest.$ac_objext conftest$ac_exeext 23858if { (ac_try="$ac_link" 23859case "(($ac_try" in 23860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23861 *) ac_try_echo=$ac_try;; 23862esac 23863eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 23864$as_echo "$ac_try_echo") >&5 23865 (eval "$ac_link") 2>conftest.er1 23866 ac_status=$? 23867 grep -v '^ *+' conftest.er1 >conftest.err 23868 rm -f conftest.er1 23869 cat conftest.err >&5 23870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 23871 (exit $ac_status); } && { 23872 test -z "$ac_c_werror_flag" || 23873 test ! -s conftest.err 23874 } && test -s conftest$ac_exeext && { 23875 test "$cross_compiling" = yes || 23876 $as_test_x conftest$ac_exeext 23877 }; then 23878 ac_cv_lib_Xdmcp_XdmcpWrap=yes 23879else 23880 $as_echo "$as_me: failed program was:" >&5 23881sed 's/^/| /' conftest.$ac_ext >&5 23882 23883 ac_cv_lib_Xdmcp_XdmcpWrap=no 23884fi 23885 23886rm -rf conftest.dSYM 23887rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 23888 conftest$ac_exeext conftest.$ac_ext 23889LIBS=$ac_check_lib_save_LIBS 23890fi 23891{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp_XdmcpWrap" >&5 23892$as_echo "$ac_cv_lib_Xdmcp_XdmcpWrap" >&6; } 23893if test "x$ac_cv_lib_Xdmcp_XdmcpWrap" = x""yes; then 23894 have_xdmcpwrap="yes" 23895else 23896 have_xdmcpwrap="no" 23897fi 23898 23899fi 23900if test "x$XDMCP" = xauto; then 23901 if test "x$have_libxdmcp" = xyes; then 23902 XDMCP=yes 23903 else 23904 XDMCP=no 23905 fi 23906fi 23907if test "x$XDMAUTH" = xauto; then 23908 if test "x$have_libxdmcp" = xyes && test "x$have_xdmcpwrap" = xyes; then 23909 XDMAUTH=yes 23910 else 23911 XDMAUTH=no 23912 fi 23913fi 23914 23915 if test "x$XDMCP" = xyes; then 23916 XDMCP_TRUE= 23917 XDMCP_FALSE='#' 23918else 23919 XDMCP_TRUE='#' 23920 XDMCP_FALSE= 23921fi 23922 23923if test "x$XDMCP" = xyes; then 23924 23925cat >>confdefs.h <<\_ACEOF 23926#define XDMCP 1 23927_ACEOF 23928 23929 REQUIRED_LIBS="$REQUIRED_LIBS xdmcp" 23930 XDMCP_MODULES="xdmcp" 23931fi 23932 23933 if test "x$XDMAUTH" = xyes; then 23934 XDMAUTH_TRUE= 23935 XDMAUTH_FALSE='#' 23936else 23937 XDMAUTH_TRUE='#' 23938 XDMAUTH_FALSE= 23939fi 23940 23941if test "x$XDMAUTH" = xyes; then 23942 23943cat >>confdefs.h <<\_ACEOF 23944#define HASXDMAUTH 1 23945_ACEOF 23946 23947 if ! test "x$XDMCP" = xyes; then 23948 REQUIRED_LIBS="$REQUIRED_LIBS xdmcp" 23949 XDMCP_MODULES="xdmcp" 23950 fi 23951fi 23952 23953 23954 prefix_NONE= 23955 exec_prefix_NONE= 23956 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 23957 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 23958 eval ac_define_dir="\"$FONTPATH\"" 23959 eval ac_define_dir="\"$ac_define_dir\"" 23960 COMPILEDDEFAULTFONTPATH="$ac_define_dir" 23961 23962 23963cat >>confdefs.h <<_ACEOF 23964#define COMPILEDDEFAULTFONTPATH "$ac_define_dir" 23965_ACEOF 23966 23967 test "$prefix_NONE" && prefix=NONE 23968 test "$exec_prefix_NONE" && exec_prefix=NONE 23969 23970 23971 prefix_NONE= 23972 exec_prefix_NONE= 23973 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 23974 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 23975 eval ac_define_dir="\"$PCI_TXT_IDS_DIR\"" 23976 eval ac_define_dir="\"$ac_define_dir\"" 23977 PCI_TXT_IDS_PATH="$ac_define_dir" 23978 23979 23980cat >>confdefs.h <<_ACEOF 23981#define PCI_TXT_IDS_PATH "$ac_define_dir" 23982_ACEOF 23983 23984 test "$prefix_NONE" && prefix=NONE 23985 test "$exec_prefix_NONE" && exec_prefix=NONE 23986 23987 23988 prefix_NONE= 23989 exec_prefix_NONE= 23990 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 23991 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 23992 eval ac_define_dir="\"$SERVERCONFIG\"" 23993 eval ac_define_dir="\"$ac_define_dir\"" 23994 SERVER_MISC_CONFIG_PATH="$ac_define_dir" 23995 23996 23997cat >>confdefs.h <<_ACEOF 23998#define SERVER_MISC_CONFIG_PATH "$ac_define_dir" 23999_ACEOF 24000 24001 test "$prefix_NONE" && prefix=NONE 24002 test "$exec_prefix_NONE" && exec_prefix=NONE 24003 24004 24005 prefix_NONE= 24006 exec_prefix_NONE= 24007 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 24008 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 24009 eval ac_define_dir="\"$FONTDIR\"" 24010 eval ac_define_dir="\"$ac_define_dir\"" 24011 BASE_FONT_PATH="$ac_define_dir" 24012 24013 24014cat >>confdefs.h <<_ACEOF 24015#define BASE_FONT_PATH "$ac_define_dir" 24016_ACEOF 24017 24018 test "$prefix_NONE" && prefix=NONE 24019 test "$exec_prefix_NONE" && exec_prefix=NONE 24020 24021 24022 prefix_NONE= 24023 exec_prefix_NONE= 24024 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 24025 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 24026 eval ac_define_dir="\"$DRI_DRIVER_PATH\"" 24027 eval ac_define_dir="\"$ac_define_dir\"" 24028 DRI_DRIVER_PATH="$ac_define_dir" 24029 24030 24031cat >>confdefs.h <<_ACEOF 24032#define DRI_DRIVER_PATH "$ac_define_dir" 24033_ACEOF 24034 24035 test "$prefix_NONE" && prefix=NONE 24036 test "$exec_prefix_NONE" && exec_prefix=NONE 24037 24038 24039cat >>confdefs.h <<_ACEOF 24040#define XVENDORNAME "$VENDOR_NAME" 24041_ACEOF 24042 24043 24044cat >>confdefs.h <<_ACEOF 24045#define XVENDORNAMESHORT "$VENDOR_NAME_SHORT" 24046_ACEOF 24047 24048 24049cat >>confdefs.h <<_ACEOF 24050#define XORG_DATE "$RELEASE_DATE" 24051_ACEOF 24052 24053 24054cat >>confdefs.h <<_ACEOF 24055#define XORG_MAN_VERSION "$VENDOR_MAN_VERSION" 24056_ACEOF 24057 24058 24059cat >>confdefs.h <<_ACEOF 24060#define BUILDERADDR "$BUILDERADDR" 24061_ACEOF 24062 24063 24064if test -z "$OSNAME"; then 24065 OSNAME="UNKNOWN" 24066fi 24067 24068 24069cat >>confdefs.h <<_ACEOF 24070#define OSNAME "$OSNAME" 24071_ACEOF 24072 24073 24074cat >>confdefs.h <<_ACEOF 24075#define OSVENDOR "$OSVENDOR" 24076_ACEOF 24077 24078 24079cat >>confdefs.h <<_ACEOF 24080#define BUILDERSTRING "$BUILDERSTRING" 24081_ACEOF 24082 24083 24084 24085 24086 24087 24088 24089 24090cat >>confdefs.h <<\_ACEOF 24091#define NO_LIBCWRAPPER 1 24092_ACEOF 24093 24094 24095if test "x$DEBUGGING" = xyes; then 24096 24097cat >>confdefs.h <<\_ACEOF 24098#define DEBUG 1 24099_ACEOF 24100 24101fi 24102 if test "x$DEBUGGING" = xyes; then 24103 DEBUG_TRUE= 24104 DEBUG_FALSE='#' 24105else 24106 DEBUG_TRUE='#' 24107 DEBUG_FALSE= 24108fi 24109 24110 24111 24112cat >>confdefs.h <<\_ACEOF 24113#define XTEST 1 24114_ACEOF 24115 24116 24117cat >>confdefs.h <<\_ACEOF 24118#define XSYNC 1 24119_ACEOF 24120 24121 24122cat >>confdefs.h <<\_ACEOF 24123#define XCMISC 1 24124_ACEOF 24125 24126 24127cat >>confdefs.h <<\_ACEOF 24128#define BIGREQS 1 24129_ACEOF 24130 24131 24132if test "x$WDTRACE" != "xno" ; then 24133 DIX_LIB='$(top_builddir)/dix/dix.O' 24134 OS_LIB='$(top_builddir)/os/os.O' 24135else 24136 DIX_LIB='$(top_builddir)/dix/libdix.la' 24137 OS_LIB='$(top_builddir)/os/libos.la' 24138fi 24139MI_LIB='$(top_builddir)/mi/libmi.la' 24140MI_EXT_LIB='$(top_builddir)/mi/libmiext.la' 24141MI_INC='-I$(top_srcdir)/mi' 24142FB_LIB='$(top_builddir)/fb/libfb.la' 24143FB_INC='-I$(top_srcdir)/fb' 24144MIEXT_SHADOW_INC='-I$(top_srcdir)/miext/shadow' 24145MIEXT_SHADOW_LIB='$(top_builddir)/miext/shadow/libshadow.la' 24146CORE_INCS='-I$(top_srcdir)/include -I$(top_builddir)/include' 24147 24148# OpenSSL used for SHA1 hashing in render/glyph.c, but we don't need all of 24149# the OpenSSL libraries, just libcrypto 24150# Some systems have matching functionality in the smaller/simpler libmd 24151# Builders who want to force a choice can set SHA1_LIB and SHA1_CFLAGS 24152if test "x$SHA1_LIB" = "x" ; then 24153 { $as_echo "$as_me:$LINENO: checking for SHA1Init in -lmd" >&5 24154$as_echo_n "checking for SHA1Init in -lmd... " >&6; } 24155if test "${ac_cv_lib_md_SHA1Init+set}" = set; then 24156 $as_echo_n "(cached) " >&6 24157else 24158 ac_check_lib_save_LIBS=$LIBS 24159LIBS="-lmd $LIBS" 24160cat >conftest.$ac_ext <<_ACEOF 24161/* confdefs.h. */ 24162_ACEOF 24163cat confdefs.h >>conftest.$ac_ext 24164cat >>conftest.$ac_ext <<_ACEOF 24165/* end confdefs.h. */ 24166 24167/* Override any GCC internal prototype to avoid an error. 24168 Use char because int might match the return type of a GCC 24169 builtin and then its argument prototype would still apply. */ 24170#ifdef __cplusplus 24171extern "C" 24172#endif 24173char SHA1Init (); 24174int 24175main () 24176{ 24177return SHA1Init (); 24178 ; 24179 return 0; 24180} 24181_ACEOF 24182rm -f conftest.$ac_objext conftest$ac_exeext 24183if { (ac_try="$ac_link" 24184case "(($ac_try" in 24185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24186 *) ac_try_echo=$ac_try;; 24187esac 24188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24189$as_echo "$ac_try_echo") >&5 24190 (eval "$ac_link") 2>conftest.er1 24191 ac_status=$? 24192 grep -v '^ *+' conftest.er1 >conftest.err 24193 rm -f conftest.er1 24194 cat conftest.err >&5 24195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24196 (exit $ac_status); } && { 24197 test -z "$ac_c_werror_flag" || 24198 test ! -s conftest.err 24199 } && test -s conftest$ac_exeext && { 24200 test "$cross_compiling" = yes || 24201 $as_test_x conftest$ac_exeext 24202 }; then 24203 ac_cv_lib_md_SHA1Init=yes 24204else 24205 $as_echo "$as_me: failed program was:" >&5 24206sed 's/^/| /' conftest.$ac_ext >&5 24207 24208 ac_cv_lib_md_SHA1Init=no 24209fi 24210 24211rm -rf conftest.dSYM 24212rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 24213 conftest$ac_exeext conftest.$ac_ext 24214LIBS=$ac_check_lib_save_LIBS 24215fi 24216{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_md_SHA1Init" >&5 24217$as_echo "$ac_cv_lib_md_SHA1Init" >&6; } 24218if test "x$ac_cv_lib_md_SHA1Init" = x""yes; then 24219 SHA1_LIB="-lmd" 24220 24221cat >>confdefs.h <<\_ACEOF 24222#define HAVE_SHA1_IN_LIBMD 1 24223_ACEOF 24224 24225fi 24226 24227fi 24228 24229if test "x$SHA1_LIB" = "x" ; then 24230 if test -n "$PKG_CONFIG" && \ 24231 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"OPENSSL\"") >&5 24232 ($PKG_CONFIG --exists --print-errors "OPENSSL") 2>&5 24233 ac_status=$? 24234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24235 (exit $ac_status); }; then 24236 openssl 24237else 24238 HAVE_OPENSSL_PKC=yes 24239fi 24240 if test "x$HAVE_OPENSSL_PKC" = xyes; then 24241 REQUIRED_LIBS="$REQUIRED_LIBS openssl" 24242 else 24243 { $as_echo "$as_me:$LINENO: checking for SHA1_Init in -lcrypto" >&5 24244$as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } 24245if test "${ac_cv_lib_crypto_SHA1_Init+set}" = set; then 24246 $as_echo_n "(cached) " >&6 24247else 24248 ac_check_lib_save_LIBS=$LIBS 24249LIBS="-lcrypto $LIBS" 24250cat >conftest.$ac_ext <<_ACEOF 24251/* confdefs.h. */ 24252_ACEOF 24253cat confdefs.h >>conftest.$ac_ext 24254cat >>conftest.$ac_ext <<_ACEOF 24255/* end confdefs.h. */ 24256 24257/* Override any GCC internal prototype to avoid an error. 24258 Use char because int might match the return type of a GCC 24259 builtin and then its argument prototype would still apply. */ 24260#ifdef __cplusplus 24261extern "C" 24262#endif 24263char SHA1_Init (); 24264int 24265main () 24266{ 24267return SHA1_Init (); 24268 ; 24269 return 0; 24270} 24271_ACEOF 24272rm -f conftest.$ac_objext conftest$ac_exeext 24273if { (ac_try="$ac_link" 24274case "(($ac_try" in 24275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24276 *) ac_try_echo=$ac_try;; 24277esac 24278eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24279$as_echo "$ac_try_echo") >&5 24280 (eval "$ac_link") 2>conftest.er1 24281 ac_status=$? 24282 grep -v '^ *+' conftest.er1 >conftest.err 24283 rm -f conftest.er1 24284 cat conftest.err >&5 24285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24286 (exit $ac_status); } && { 24287 test -z "$ac_c_werror_flag" || 24288 test ! -s conftest.err 24289 } && test -s conftest$ac_exeext && { 24290 test "$cross_compiling" = yes || 24291 $as_test_x conftest$ac_exeext 24292 }; then 24293 ac_cv_lib_crypto_SHA1_Init=yes 24294else 24295 $as_echo "$as_me: failed program was:" >&5 24296sed 's/^/| /' conftest.$ac_ext >&5 24297 24298 ac_cv_lib_crypto_SHA1_Init=no 24299fi 24300 24301rm -rf conftest.dSYM 24302rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 24303 conftest$ac_exeext conftest.$ac_ext 24304LIBS=$ac_check_lib_save_LIBS 24305fi 24306{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_SHA1_Init" >&5 24307$as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } 24308if test "x$ac_cv_lib_crypto_SHA1_Init" = x""yes; then 24309 SHA1_LIB="-lcrypto" 24310else 24311 { { $as_echo "$as_me:$LINENO: error: OpenSSL must be installed in order to build the X server." >&5 24312$as_echo "$as_me: error: OpenSSL must be installed in order to build the X server." >&2;} 24313 { (exit 1); exit 1; }; } 24314fi 24315 24316 fi 24317fi 24318 24319 24320pkg_failed=no 24321{ $as_echo "$as_me:$LINENO: checking for XSERVERCFLAGS" >&5 24322$as_echo_n "checking for XSERVERCFLAGS... " >&6; } 24323 24324if test -n "$PKG_CONFIG"; then 24325 if test -n "$XSERVERCFLAGS_CFLAGS"; then 24326 pkg_cv_XSERVERCFLAGS_CFLAGS="$XSERVERCFLAGS_CFLAGS" 24327 else 24328 if test -n "$PKG_CONFIG" && \ 24329 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\"") >&5 24330 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5 24331 ac_status=$? 24332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24333 (exit $ac_status); }; then 24334 pkg_cv_XSERVERCFLAGS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null` 24335else 24336 pkg_failed=yes 24337fi 24338 fi 24339else 24340 pkg_failed=untried 24341fi 24342if test -n "$PKG_CONFIG"; then 24343 if test -n "$XSERVERCFLAGS_LIBS"; then 24344 pkg_cv_XSERVERCFLAGS_LIBS="$XSERVERCFLAGS_LIBS" 24345 else 24346 if test -n "$PKG_CONFIG" && \ 24347 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_MODULES \$REQUIRED_LIBS\"") >&5 24348 ($PKG_CONFIG --exists --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS") 2>&5 24349 ac_status=$? 24350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24351 (exit $ac_status); }; then 24352 pkg_cv_XSERVERCFLAGS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_MODULES $REQUIRED_LIBS" 2>/dev/null` 24353else 24354 pkg_failed=yes 24355fi 24356 fi 24357else 24358 pkg_failed=untried 24359fi 24360 24361 24362 24363if test $pkg_failed = yes; then 24364 24365if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24366 _pkg_short_errors_supported=yes 24367else 24368 _pkg_short_errors_supported=no 24369fi 24370 if test $_pkg_short_errors_supported = yes; then 24371 XSERVERCFLAGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS"` 24372 else 24373 XSERVERCFLAGS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$REQUIRED_MODULES $REQUIRED_LIBS"` 24374 fi 24375 # Put the nasty error message in config.log where it belongs 24376 echo "$XSERVERCFLAGS_PKG_ERRORS" >&5 24377 24378 { { $as_echo "$as_me:$LINENO: error: Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met: 24379 24380$XSERVERCFLAGS_PKG_ERRORS 24381 24382Consider adjusting the PKG_CONFIG_PATH environment variable if you 24383installed software in a non-standard prefix. 24384 24385Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS 24386and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config. 24387See the pkg-config man page for more details. 24388" >&5 24389$as_echo "$as_me: error: Package requirements ($REQUIRED_MODULES $REQUIRED_LIBS) were not met: 24390 24391$XSERVERCFLAGS_PKG_ERRORS 24392 24393Consider adjusting the PKG_CONFIG_PATH environment variable if you 24394installed software in a non-standard prefix. 24395 24396Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS 24397and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config. 24398See the pkg-config man page for more details. 24399" >&2;} 24400 { (exit 1); exit 1; }; } 24401elif test $pkg_failed = untried; then 24402 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 24403$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24404{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24405is in your PATH or set the PKG_CONFIG environment variable to the full 24406path to pkg-config. 24407 24408Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS 24409and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config. 24410See the pkg-config man page for more details. 24411 24412To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24413See \`config.log' for more details." >&5 24414$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24415is in your PATH or set the PKG_CONFIG environment variable to the full 24416path to pkg-config. 24417 24418Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS 24419and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config. 24420See the pkg-config man page for more details. 24421 24422To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24423See \`config.log' for more details." >&2;} 24424 { (exit 1); exit 1; }; }; } 24425else 24426 XSERVERCFLAGS_CFLAGS=$pkg_cv_XSERVERCFLAGS_CFLAGS 24427 XSERVERCFLAGS_LIBS=$pkg_cv_XSERVERCFLAGS_LIBS 24428 { $as_echo "$as_me:$LINENO: result: yes" >&5 24429$as_echo "yes" >&6; } 24430 : 24431fi 24432 24433pkg_failed=no 24434{ $as_echo "$as_me:$LINENO: checking for XSERVERLIBS" >&5 24435$as_echo_n "checking for XSERVERLIBS... " >&6; } 24436 24437if test -n "$PKG_CONFIG"; then 24438 if test -n "$XSERVERLIBS_CFLAGS"; then 24439 pkg_cv_XSERVERLIBS_CFLAGS="$XSERVERLIBS_CFLAGS" 24440 else 24441 if test -n "$PKG_CONFIG" && \ 24442 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\"") >&5 24443 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5 24444 ac_status=$? 24445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24446 (exit $ac_status); }; then 24447 pkg_cv_XSERVERLIBS_CFLAGS=`$PKG_CONFIG --cflags "$REQUIRED_LIBS" 2>/dev/null` 24448else 24449 pkg_failed=yes 24450fi 24451 fi 24452else 24453 pkg_failed=untried 24454fi 24455if test -n "$PKG_CONFIG"; then 24456 if test -n "$XSERVERLIBS_LIBS"; then 24457 pkg_cv_XSERVERLIBS_LIBS="$XSERVERLIBS_LIBS" 24458 else 24459 if test -n "$PKG_CONFIG" && \ 24460 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$REQUIRED_LIBS\"") >&5 24461 ($PKG_CONFIG --exists --print-errors "$REQUIRED_LIBS") 2>&5 24462 ac_status=$? 24463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24464 (exit $ac_status); }; then 24465 pkg_cv_XSERVERLIBS_LIBS=`$PKG_CONFIG --libs "$REQUIRED_LIBS" 2>/dev/null` 24466else 24467 pkg_failed=yes 24468fi 24469 fi 24470else 24471 pkg_failed=untried 24472fi 24473 24474 24475 24476if test $pkg_failed = yes; then 24477 24478if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24479 _pkg_short_errors_supported=yes 24480else 24481 _pkg_short_errors_supported=no 24482fi 24483 if test $_pkg_short_errors_supported = yes; then 24484 XSERVERLIBS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$REQUIRED_LIBS"` 24485 else 24486 XSERVERLIBS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$REQUIRED_LIBS"` 24487 fi 24488 # Put the nasty error message in config.log where it belongs 24489 echo "$XSERVERLIBS_PKG_ERRORS" >&5 24490 24491 { { $as_echo "$as_me:$LINENO: error: Package requirements ($REQUIRED_LIBS) were not met: 24492 24493$XSERVERLIBS_PKG_ERRORS 24494 24495Consider adjusting the PKG_CONFIG_PATH environment variable if you 24496installed software in a non-standard prefix. 24497 24498Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS 24499and XSERVERLIBS_LIBS to avoid the need to call pkg-config. 24500See the pkg-config man page for more details. 24501" >&5 24502$as_echo "$as_me: error: Package requirements ($REQUIRED_LIBS) were not met: 24503 24504$XSERVERLIBS_PKG_ERRORS 24505 24506Consider adjusting the PKG_CONFIG_PATH environment variable if you 24507installed software in a non-standard prefix. 24508 24509Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS 24510and XSERVERLIBS_LIBS to avoid the need to call pkg-config. 24511See the pkg-config man page for more details. 24512" >&2;} 24513 { (exit 1); exit 1; }; } 24514elif test $pkg_failed = untried; then 24515 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 24516$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24517{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24518is in your PATH or set the PKG_CONFIG environment variable to the full 24519path to pkg-config. 24520 24521Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS 24522and XSERVERLIBS_LIBS to avoid the need to call pkg-config. 24523See the pkg-config man page for more details. 24524 24525To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24526See \`config.log' for more details." >&5 24527$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24528is in your PATH or set the PKG_CONFIG environment variable to the full 24529path to pkg-config. 24530 24531Alternatively, you may set the environment variables XSERVERLIBS_CFLAGS 24532and XSERVERLIBS_LIBS to avoid the need to call pkg-config. 24533See the pkg-config man page for more details. 24534 24535To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24536See \`config.log' for more details." >&2;} 24537 { (exit 1); exit 1; }; }; } 24538else 24539 XSERVERLIBS_CFLAGS=$pkg_cv_XSERVERLIBS_CFLAGS 24540 XSERVERLIBS_LIBS=$pkg_cv_XSERVERLIBS_LIBS 24541 { $as_echo "$as_me:$LINENO: result: yes" >&5 24542$as_echo "yes" >&6; } 24543 : 24544fi 24545 24546# Autotools has some unfortunate issues with library handling. In order to 24547# get a server to rebuild when a dependency in the tree is changed, it must 24548# be listed in SERVERNAME_DEPENDENCIES. However, no system libraries may be 24549# listed there, or some versions of autotools will break (especially if a -L 24550# is required to find the library). So, we keep two sets of libraries 24551# detected: NAMESPACE_LIBS for in-tree libraries to be linked against, which 24552# will go into the _DEPENDENCIES and _LDADD of the server, and 24553# NAMESPACE_SYS_LIBS which will go into only the _LDADD. The 24554# NAMESPACEMODULES_LIBS detected from pkgconfig should always go in 24555# NAMESPACE_SYS_LIBS. 24556# 24557# XSERVER_LIBS is the set of in-tree libraries which all servers require. 24558# XSERVER_SYS_LIBS is the set of out-of-tree libraries which all servers 24559# require. 24560# 24561XSERVER_CFLAGS="${XSERVERCFLAGS_CFLAGS} ${SHA1_CFLAGS}" 24562XSERVER_LIBS="$DIX_LIB $CONFIG_LIB $MI_LIB $OS_LIB" 24563XSERVER_SYS_LIBS="${XSERVERLIBS_LIBS} ${SYS_LIBS} ${LIBS} ${SHA1_LIB}" 24564 24565 24566 24567UTILS_SYS_LIBS="${SYS_LIBS}" 24568 24569 24570# The Xorg binary needs to export symbols so that they can be used from modules 24571# Some platforms require extra flags to do this. gcc should set these flags 24572# when -rdynamic is passed to it, other compilers/linkers may need to be added 24573# here. 24574if test "x$GCC" = "xyes"; then 24575 GCC_WARNINGS1="-Wall -Wpointer-arith -Wstrict-prototypes" 24576 GCC_WARNINGS2="-Wmissing-prototypes -Wmissing-declarations" 24577 GCC_WARNINGS3="-Wnested-externs -fno-strict-aliasing" 24578 GCC_WARNINGS="$GCC_WARNINGS1 $GCC_WARNINGS2 $GCC_WARNINGS3" 24579 if test "x$WERROR" = "xyes"; then 24580 GCC_WARNINGS="${GCC_WARNINGS} -Werror" 24581 fi 24582 XSERVER_CFLAGS="$GCC_WARNINGS $XSERVER_CFLAGS" 24583 24584 LD_EXPORT_SYMBOLS_FLAG="-rdynamic" 24585fi 24586case $host_os in 24587 openbsd*) 24588 LD_EXPORT_SYMBOLS_FLAG="-Wl,--export-dynamic" 24589 ;; 24590esac 24591 24592 24593{ $as_echo "$as_me:$LINENO: checking if SVR4 needs to be defined" >&5 24594$as_echo_n "checking if SVR4 needs to be defined... " >&6; } 24595cat >conftest.$ac_ext <<_ACEOF 24596/* confdefs.h. */ 24597_ACEOF 24598cat confdefs.h >>conftest.$ac_ext 24599cat >>conftest.$ac_ext <<_ACEOF 24600/* end confdefs.h. */ 24601 24602#if defined(SVR4) || defined(__svr4__) || defined(__SVR4) 24603 I_AM_SVR4 24604#endif 24605 24606_ACEOF 24607if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 24608 $EGREP "I_AM_SVR4" >/dev/null 2>&1; then 24609 24610 24611cat >>confdefs.h <<\_ACEOF 24612#define SVR4 1 24613_ACEOF 24614 24615{ $as_echo "$as_me:$LINENO: result: yes" >&5 24616$as_echo "yes" >&6; } 24617else 24618 { $as_echo "$as_me:$LINENO: result: no" >&5 24619$as_echo "no" >&6; } 24620fi 24621rm -f conftest* 24622 24623 24624XSERVER_CFLAGS="$XSERVER_CFLAGS $CORE_INCS $XEXT_INC $COMPOSITE_INC $DAMAGE_INC $FIXES_INC $XI_INC $MI_INC $MIEXT_SHADOW_INC $MIEXT_LAYER_INC $MIEXT_DAMAGE_INC $RENDER_INC $RANDR_INC $FB_INC" 24625 24626 24627 24628{ $as_echo "$as_me:$LINENO: checking whether to build Xvfb DDX" >&5 24629$as_echo_n "checking whether to build Xvfb DDX... " >&6; } 24630{ $as_echo "$as_me:$LINENO: result: $XVFB" >&5 24631$as_echo "$XVFB" >&6; } 24632 if test "x$XVFB" = xyes; then 24633 XVFB_TRUE= 24634 XVFB_FALSE='#' 24635else 24636 XVFB_TRUE='#' 24637 XVFB_FALSE= 24638fi 24639 24640 24641if test "x$XVFB" = xyes; then 24642 XVFB_LIBS="$FB_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB" 24643 XVFB_SYS_LIBS="$XVFBMODULES_LIBS $GLX_SYS_LIBS" 24644 24645 24646fi 24647 24648 24649 24650 24651pkg_failed=no 24652{ $as_echo "$as_me:$LINENO: checking for XNESTMODULES" >&5 24653$as_echo_n "checking for XNESTMODULES... " >&6; } 24654 24655if test -n "$PKG_CONFIG"; then 24656 if test -n "$XNESTMODULES_CFLAGS"; then 24657 pkg_cv_XNESTMODULES_CFLAGS="$XNESTMODULES_CFLAGS" 24658 else 24659 if test -n "$PKG_CONFIG" && \ 24660 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont xext x11 xau \$XDMCP_MODULES\"") >&5 24661 ($PKG_CONFIG --exists --print-errors "xfont xext x11 xau $XDMCP_MODULES") 2>&5 24662 ac_status=$? 24663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24664 (exit $ac_status); }; then 24665 pkg_cv_XNESTMODULES_CFLAGS=`$PKG_CONFIG --cflags "xfont xext x11 xau $XDMCP_MODULES" 2>/dev/null` 24666else 24667 pkg_failed=yes 24668fi 24669 fi 24670else 24671 pkg_failed=untried 24672fi 24673if test -n "$PKG_CONFIG"; then 24674 if test -n "$XNESTMODULES_LIBS"; then 24675 pkg_cv_XNESTMODULES_LIBS="$XNESTMODULES_LIBS" 24676 else 24677 if test -n "$PKG_CONFIG" && \ 24678 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xfont xext x11 xau \$XDMCP_MODULES\"") >&5 24679 ($PKG_CONFIG --exists --print-errors "xfont xext x11 xau $XDMCP_MODULES") 2>&5 24680 ac_status=$? 24681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24682 (exit $ac_status); }; then 24683 pkg_cv_XNESTMODULES_LIBS=`$PKG_CONFIG --libs "xfont xext x11 xau $XDMCP_MODULES" 2>/dev/null` 24684else 24685 pkg_failed=yes 24686fi 24687 fi 24688else 24689 pkg_failed=untried 24690fi 24691 24692 24693 24694if test $pkg_failed = yes; then 24695 24696if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24697 _pkg_short_errors_supported=yes 24698else 24699 _pkg_short_errors_supported=no 24700fi 24701 if test $_pkg_short_errors_supported = yes; then 24702 XNESTMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xfont xext x11 xau $XDMCP_MODULES"` 24703 else 24704 XNESTMODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfont xext x11 xau $XDMCP_MODULES"` 24705 fi 24706 # Put the nasty error message in config.log where it belongs 24707 echo "$XNESTMODULES_PKG_ERRORS" >&5 24708 24709 { $as_echo "$as_me:$LINENO: result: no" >&5 24710$as_echo "no" >&6; } 24711 have_xnest=no 24712elif test $pkg_failed = untried; then 24713 have_xnest=no 24714else 24715 XNESTMODULES_CFLAGS=$pkg_cv_XNESTMODULES_CFLAGS 24716 XNESTMODULES_LIBS=$pkg_cv_XNESTMODULES_LIBS 24717 { $as_echo "$as_me:$LINENO: result: yes" >&5 24718$as_echo "yes" >&6; } 24719 have_xnest=yes 24720fi 24721{ $as_echo "$as_me:$LINENO: checking whether to build Xnest DDX" >&5 24722$as_echo_n "checking whether to build Xnest DDX... " >&6; } 24723if test "x$XNEST" = xauto; then 24724 XNEST="$have_xnest" 24725fi 24726{ $as_echo "$as_me:$LINENO: result: $XNEST" >&5 24727$as_echo "$XNEST" >&6; } 24728 if test "x$XNEST" = xyes; then 24729 XNEST_TRUE= 24730 XNEST_FALSE='#' 24731else 24732 XNEST_TRUE='#' 24733 XNEST_FALSE= 24734fi 24735 24736 24737if test "x$XNEST" = xyes; then 24738 XNEST_LIBS="$FB_LIB $FIXES_LIB $MI_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DIX_LIB $OS_LIB $CONFIG_LIB" 24739 XNEST_SYS_LIBS="$XNESTMODULES_LIBS $GLX_SYS_LIBS" 24740 24741 24742fi 24743 24744 24745 24746{ $as_echo "$as_me:$LINENO: checking whether to build Xorg DDX" >&5 24747$as_echo_n "checking whether to build Xorg DDX... " >&6; } 24748if test "x$XORG" = xauto; then 24749 XORG="yes" 24750 case $host_os in 24751 cygwin*) XORG="no" ;; 24752 darwin*) XORG="no" ;; 24753 esac 24754fi 24755{ $as_echo "$as_me:$LINENO: result: $XORG" >&5 24756$as_echo "$XORG" >&6; } 24757 24758xorg_bus_linuxpci=no 24759xorg_bus_bsdpci=no 24760xorg_bus_sparc=no 24761 24762if test "x$XORG" = xyes; then 24763 XORG_DDXINCS='-I$(top_srcdir)/hw/xfree86 -I$(top_srcdir)/hw/xfree86/include -I$(top_srcdir)/hw/xfree86/common' 24764 XORG_OSINCS='-I$(top_srcdir)/hw/xfree86/os-support -I$(top_srcdir)/hw/xfree86/os-support/bus -I$(top_srcdir)/os' 24765 XORG_INCS="$XORG_DDXINCS $XORG_OSINCS" 24766 XORG_CFLAGS="$XORGSERVER_CFLAGS -DHAVE_XORG_CONFIG_H" 24767 XORG_LIBS="$COMPOSITE_LIB $FIXES_LIB $XEXTXORG_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $SELINUX_LIB" 24768 24769 24770pkg_failed=no 24771{ $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5 24772$as_echo_n "checking for PCIACCESS... " >&6; } 24773 24774if test -n "$PKG_CONFIG"; then 24775 if test -n "$PCIACCESS_CFLAGS"; then 24776 pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS" 24777 else 24778 if test -n "$PKG_CONFIG" && \ 24779 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5 24780 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5 24781 ac_status=$? 24782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24783 (exit $ac_status); }; then 24784 pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null` 24785else 24786 pkg_failed=yes 24787fi 24788 fi 24789else 24790 pkg_failed=untried 24791fi 24792if test -n "$PKG_CONFIG"; then 24793 if test -n "$PCIACCESS_LIBS"; then 24794 pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS" 24795 else 24796 if test -n "$PKG_CONFIG" && \ 24797 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5 24798 ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5 24799 ac_status=$? 24800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24801 (exit $ac_status); }; then 24802 pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null` 24803else 24804 pkg_failed=yes 24805fi 24806 fi 24807else 24808 pkg_failed=untried 24809fi 24810 24811 24812 24813if test $pkg_failed = yes; then 24814 24815if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24816 _pkg_short_errors_supported=yes 24817else 24818 _pkg_short_errors_supported=no 24819fi 24820 if test $_pkg_short_errors_supported = yes; then 24821 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pciaccess >= 0.8.0"` 24822 else 24823 PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pciaccess >= 0.8.0"` 24824 fi 24825 # Put the nasty error message in config.log where it belongs 24826 echo "$PCIACCESS_PKG_ERRORS" >&5 24827 24828 { { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met: 24829 24830$PCIACCESS_PKG_ERRORS 24831 24832Consider adjusting the PKG_CONFIG_PATH environment variable if you 24833installed software in a non-standard prefix. 24834 24835Alternatively, you may set the environment variables PCIACCESS_CFLAGS 24836and PCIACCESS_LIBS to avoid the need to call pkg-config. 24837See the pkg-config man page for more details. 24838" >&5 24839$as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met: 24840 24841$PCIACCESS_PKG_ERRORS 24842 24843Consider adjusting the PKG_CONFIG_PATH environment variable if you 24844installed software in a non-standard prefix. 24845 24846Alternatively, you may set the environment variables PCIACCESS_CFLAGS 24847and PCIACCESS_LIBS to avoid the need to call pkg-config. 24848See the pkg-config man page for more details. 24849" >&2;} 24850 { (exit 1); exit 1; }; } 24851elif test $pkg_failed = untried; then 24852 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 24853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24854{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 24855is in your PATH or set the PKG_CONFIG environment variable to the full 24856path to pkg-config. 24857 24858Alternatively, you may set the environment variables PCIACCESS_CFLAGS 24859and PCIACCESS_LIBS to avoid the need to call pkg-config. 24860See the pkg-config man page for more details. 24861 24862To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24863See \`config.log' for more details." >&5 24864$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 24865is in your PATH or set the PKG_CONFIG environment variable to the full 24866path to pkg-config. 24867 24868Alternatively, you may set the environment variables PCIACCESS_CFLAGS 24869and PCIACCESS_LIBS to avoid the need to call pkg-config. 24870See the pkg-config man page for more details. 24871 24872To get pkg-config, see <http://pkg-config.freedesktop.org/>. 24873See \`config.log' for more details." >&2;} 24874 { (exit 1); exit 1; }; }; } 24875else 24876 PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS 24877 PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS 24878 { $as_echo "$as_me:$LINENO: result: yes" >&5 24879$as_echo "yes" >&6; } 24880 : 24881fi 24882 SAVE_LIBS=$LIBS 24883 SAVE_CFLAGS=$CFLAGS 24884 CFLAGS=$PCIACCESS_CFLAGS 24885 LIBS=$PCIACCESS_LIBS 24886 24887for ac_func in pci_system_init_dev_mem 24888do 24889as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 24890{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 24891$as_echo_n "checking for $ac_func... " >&6; } 24892if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 24893 $as_echo_n "(cached) " >&6 24894else 24895 cat >conftest.$ac_ext <<_ACEOF 24896/* confdefs.h. */ 24897_ACEOF 24898cat confdefs.h >>conftest.$ac_ext 24899cat >>conftest.$ac_ext <<_ACEOF 24900/* end confdefs.h. */ 24901/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 24902 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 24903#define $ac_func innocuous_$ac_func 24904 24905/* System header to define __stub macros and hopefully few prototypes, 24906 which can conflict with char $ac_func (); below. 24907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 24908 <limits.h> exists even on freestanding compilers. */ 24909 24910#ifdef __STDC__ 24911# include <limits.h> 24912#else 24913# include <assert.h> 24914#endif 24915 24916#undef $ac_func 24917 24918/* Override any GCC internal prototype to avoid an error. 24919 Use char because int might match the return type of a GCC 24920 builtin and then its argument prototype would still apply. */ 24921#ifdef __cplusplus 24922extern "C" 24923#endif 24924char $ac_func (); 24925/* The GNU C library defines this for functions which it implements 24926 to always fail with ENOSYS. Some functions are actually named 24927 something starting with __ and the normal name is an alias. */ 24928#if defined __stub_$ac_func || defined __stub___$ac_func 24929choke me 24930#endif 24931 24932int 24933main () 24934{ 24935return $ac_func (); 24936 ; 24937 return 0; 24938} 24939_ACEOF 24940rm -f conftest.$ac_objext conftest$ac_exeext 24941if { (ac_try="$ac_link" 24942case "(($ac_try" in 24943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24944 *) ac_try_echo=$ac_try;; 24945esac 24946eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 24947$as_echo "$ac_try_echo") >&5 24948 (eval "$ac_link") 2>conftest.er1 24949 ac_status=$? 24950 grep -v '^ *+' conftest.er1 >conftest.err 24951 rm -f conftest.er1 24952 cat conftest.err >&5 24953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 24954 (exit $ac_status); } && { 24955 test -z "$ac_c_werror_flag" || 24956 test ! -s conftest.err 24957 } && test -s conftest$ac_exeext && { 24958 test "$cross_compiling" = yes || 24959 $as_test_x conftest$ac_exeext 24960 }; then 24961 eval "$as_ac_var=yes" 24962else 24963 $as_echo "$as_me: failed program was:" >&5 24964sed 's/^/| /' conftest.$ac_ext >&5 24965 24966 eval "$as_ac_var=no" 24967fi 24968 24969rm -rf conftest.dSYM 24970rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 24971 conftest$ac_exeext conftest.$ac_ext 24972fi 24973ac_res=`eval 'as_val=${'$as_ac_var'} 24974 $as_echo "$as_val"'` 24975 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 24976$as_echo "$ac_res" >&6; } 24977as_val=`eval 'as_val=${'$as_ac_var'} 24978 $as_echo "$as_val"'` 24979 if test "x$as_val" = x""yes; then 24980 cat >>confdefs.h <<_ACEOF 24981#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 24982_ACEOF 24983 24984fi 24985done 24986 24987 24988for ac_func in pci_device_enable 24989do 24990as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 24991{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 24992$as_echo_n "checking for $ac_func... " >&6; } 24993if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 24994 $as_echo_n "(cached) " >&6 24995else 24996 cat >conftest.$ac_ext <<_ACEOF 24997/* confdefs.h. */ 24998_ACEOF 24999cat confdefs.h >>conftest.$ac_ext 25000cat >>conftest.$ac_ext <<_ACEOF 25001/* end confdefs.h. */ 25002/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 25003 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 25004#define $ac_func innocuous_$ac_func 25005 25006/* System header to define __stub macros and hopefully few prototypes, 25007 which can conflict with char $ac_func (); below. 25008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 25009 <limits.h> exists even on freestanding compilers. */ 25010 25011#ifdef __STDC__ 25012# include <limits.h> 25013#else 25014# include <assert.h> 25015#endif 25016 25017#undef $ac_func 25018 25019/* Override any GCC internal prototype to avoid an error. 25020 Use char because int might match the return type of a GCC 25021 builtin and then its argument prototype would still apply. */ 25022#ifdef __cplusplus 25023extern "C" 25024#endif 25025char $ac_func (); 25026/* The GNU C library defines this for functions which it implements 25027 to always fail with ENOSYS. Some functions are actually named 25028 something starting with __ and the normal name is an alias. */ 25029#if defined __stub_$ac_func || defined __stub___$ac_func 25030choke me 25031#endif 25032 25033int 25034main () 25035{ 25036return $ac_func (); 25037 ; 25038 return 0; 25039} 25040_ACEOF 25041rm -f conftest.$ac_objext conftest$ac_exeext 25042if { (ac_try="$ac_link" 25043case "(($ac_try" in 25044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25045 *) ac_try_echo=$ac_try;; 25046esac 25047eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 25048$as_echo "$ac_try_echo") >&5 25049 (eval "$ac_link") 2>conftest.er1 25050 ac_status=$? 25051 grep -v '^ *+' conftest.er1 >conftest.err 25052 rm -f conftest.er1 25053 cat conftest.err >&5 25054 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25055 (exit $ac_status); } && { 25056 test -z "$ac_c_werror_flag" || 25057 test ! -s conftest.err 25058 } && test -s conftest$ac_exeext && { 25059 test "$cross_compiling" = yes || 25060 $as_test_x conftest$ac_exeext 25061 }; then 25062 eval "$as_ac_var=yes" 25063else 25064 $as_echo "$as_me: failed program was:" >&5 25065sed 's/^/| /' conftest.$ac_ext >&5 25066 25067 eval "$as_ac_var=no" 25068fi 25069 25070rm -rf conftest.dSYM 25071rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 25072 conftest$ac_exeext conftest.$ac_ext 25073fi 25074ac_res=`eval 'as_val=${'$as_ac_var'} 25075 $as_echo "$as_val"'` 25076 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 25077$as_echo "$ac_res" >&6; } 25078as_val=`eval 'as_val=${'$as_ac_var'} 25079 $as_echo "$as_val"'` 25080 if test "x$as_val" = x""yes; then 25081 cat >>confdefs.h <<_ACEOF 25082#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 25083_ACEOF 25084 25085fi 25086done 25087 25088 LIBS=$SAVE_LIBS 25089 CFLAGS=$SAVE_CFLAGS 25090 XORG_SYS_LIBS="$XORG_SYS_LIBS $PCIACCESS_LIBS $DLOPEN_LIBS $GLX_SYS_LIBS" 25091 XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS" 25092 25093 case $host_os in 25094 linux*) 25095 if test "x$LNXAPM" = xyes; then 25096 XORG_CFLAGS="$XORG_CFLAGS -DXF86PM" 25097 fi 25098 XORG_OS="linux" 25099 XORG_OS_SUBDIR="linux" 25100 xorg_bus_linuxpci="yes" 25101 linux_acpi="no" 25102 case $host_cpu in 25103 ia64*) 25104 linux_ia64=yes 25105 linux_acpi="yes" 25106 ;; 25107 alpha*) 25108 linux_alpha=yes 25109 ;; 25110 i*86|amd64*|x86_64*) 25111 linux_acpi="yes" 25112 ;; 25113 *) 25114 ;; 25115 esac 25116 ;; 25117 freebsd* | kfreebsd*-gnu | dragonfly*) 25118 XORG_OS="freebsd" 25119 XORG_OS_SUBDIR="bsd" 25120 xorg_bus_bsdpci="yes" 25121 ;; 25122 netbsd*) 25123 XORG_OS="netbsd" 25124 XORG_OS_SUBDIR="bsd" 25125 xorg_bus_bsdpci="yes" 25126 ;; 25127 openbsd*) 25128 if test "x$ac_cv_BSD_APM" = xyes \ 25129 -o "x$ac_cv_BSD_KQUEUE_APM" = xyes; then 25130 XORG_CFLAGS="$XORG_CFLAGS -DXF86PM" 25131 fi 25132 XORG_OS="openbsd" 25133 XORG_OS_SUBDIR="bsd" 25134 xorg_bus_bsdpci="yes" 25135 ;; 25136 solaris*) 25137 XORG_OS="solaris" 25138 XORG_OS_SUBDIR="solaris" 25139 # Use the same stubs as BSD for old functions, since we now 25140 # use libpciaccess for PCI 25141 xorg_bus_bsdpci="yes" 25142 25143for ac_header in sys/kd.h 25144do 25145as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 25146if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25147 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 25148$as_echo_n "checking for $ac_header... " >&6; } 25149if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25150 $as_echo_n "(cached) " >&6 25151fi 25152ac_res=`eval 'as_val=${'$as_ac_Header'} 25153 $as_echo "$as_val"'` 25154 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 25155$as_echo "$ac_res" >&6; } 25156else 25157 # Is the header compilable? 25158{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 25159$as_echo_n "checking $ac_header usability... " >&6; } 25160cat >conftest.$ac_ext <<_ACEOF 25161/* confdefs.h. */ 25162_ACEOF 25163cat confdefs.h >>conftest.$ac_ext 25164cat >>conftest.$ac_ext <<_ACEOF 25165/* end confdefs.h. */ 25166$ac_includes_default 25167#include <$ac_header> 25168_ACEOF 25169rm -f conftest.$ac_objext 25170if { (ac_try="$ac_compile" 25171case "(($ac_try" in 25172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25173 *) ac_try_echo=$ac_try;; 25174esac 25175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 25176$as_echo "$ac_try_echo") >&5 25177 (eval "$ac_compile") 2>conftest.er1 25178 ac_status=$? 25179 grep -v '^ *+' conftest.er1 >conftest.err 25180 rm -f conftest.er1 25181 cat conftest.err >&5 25182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25183 (exit $ac_status); } && { 25184 test -z "$ac_c_werror_flag" || 25185 test ! -s conftest.err 25186 } && test -s conftest.$ac_objext; then 25187 ac_header_compiler=yes 25188else 25189 $as_echo "$as_me: failed program was:" >&5 25190sed 's/^/| /' conftest.$ac_ext >&5 25191 25192 ac_header_compiler=no 25193fi 25194 25195rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25196{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 25197$as_echo "$ac_header_compiler" >&6; } 25198 25199# Is the header present? 25200{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 25201$as_echo_n "checking $ac_header presence... " >&6; } 25202cat >conftest.$ac_ext <<_ACEOF 25203/* confdefs.h. */ 25204_ACEOF 25205cat confdefs.h >>conftest.$ac_ext 25206cat >>conftest.$ac_ext <<_ACEOF 25207/* end confdefs.h. */ 25208#include <$ac_header> 25209_ACEOF 25210if { (ac_try="$ac_cpp conftest.$ac_ext" 25211case "(($ac_try" in 25212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25213 *) ac_try_echo=$ac_try;; 25214esac 25215eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 25216$as_echo "$ac_try_echo") >&5 25217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 25218 ac_status=$? 25219 grep -v '^ *+' conftest.er1 >conftest.err 25220 rm -f conftest.er1 25221 cat conftest.err >&5 25222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25223 (exit $ac_status); } >/dev/null && { 25224 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 25225 test ! -s conftest.err 25226 }; then 25227 ac_header_preproc=yes 25228else 25229 $as_echo "$as_me: failed program was:" >&5 25230sed 's/^/| /' conftest.$ac_ext >&5 25231 25232 ac_header_preproc=no 25233fi 25234 25235rm -f conftest.err conftest.$ac_ext 25236{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 25237$as_echo "$ac_header_preproc" >&6; } 25238 25239# So? What about this header? 25240case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 25241 yes:no: ) 25242 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 25243$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 25244 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 25245$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 25246 ac_header_preproc=yes 25247 ;; 25248 no:yes:* ) 25249 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 25250$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 25251 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 25252$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 25253 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 25254$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 25255 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 25256$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 25257 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 25258$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 25259 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 25260$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 25261 ( cat <<\_ASBOX 25262## ---------------------------------------------------------------------- ## 25263## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 25264## ---------------------------------------------------------------------- ## 25265_ASBOX 25266 ) | sed "s/^/$as_me: WARNING: /" >&2 25267 ;; 25268esac 25269{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 25270$as_echo_n "checking for $ac_header... " >&6; } 25271if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 25272 $as_echo_n "(cached) " >&6 25273else 25274 eval "$as_ac_Header=\$ac_header_preproc" 25275fi 25276ac_res=`eval 'as_val=${'$as_ac_Header'} 25277 $as_echo "$as_val"'` 25278 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 25279$as_echo "$ac_res" >&6; } 25280 25281fi 25282as_val=`eval 'as_val=${'$as_ac_Header'} 25283 $as_echo "$as_val"'` 25284 if test "x$as_val" = x""yes; then 25285 cat >>confdefs.h <<_ACEOF 25286#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 25287_ACEOF 25288 25289fi 25290 25291done 25292 25293 # This really should be tests for specific features, but the #ifdef's 25294 # were done as a simple version check in XFree86 4.x and haven't been 25295 # fixed yet 25296 { $as_echo "$as_me:$LINENO: checking Solaris version" >&5 25297$as_echo_n "checking Solaris version... " >&6; } 25298 OS_MINOR=`echo ${host_os}|sed -e 's/^.*solaris2\.//' -e s'/\..*$//'` 25299 if test "${OS_MINOR}" -ge 7 ; then 25300 { $as_echo "$as_me:$LINENO: result: Solaris ${OS_MINOR}" >&5 25301$as_echo "Solaris ${OS_MINOR}" >&6; } 25302 else 25303 { $as_echo "$as_me:$LINENO: result: Solaris \`echo ${host_os}|sed -e 's/^.*solaris//\`" >&5 25304$as_echo "Solaris \`echo ${host_os}|sed -e 's/^.*solaris//\`" >&6; } 25305 fi 25306 if test "${OS_MINOR}" -ge 8 ; then 25307 25308cat >>confdefs.h <<\_ACEOF 25309#define __SOL8__ 1 25310_ACEOF 25311 25312 fi 25313 { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 25314$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 25315if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 25316 $as_echo_n "(cached) " >&6 25317else 25318 cat >conftest.$ac_ext <<_ACEOF 25319/* confdefs.h. */ 25320_ACEOF 25321cat confdefs.h >>conftest.$ac_ext 25322cat >>conftest.$ac_ext <<_ACEOF 25323/* end confdefs.h. */ 25324$ac_includes_default 25325int 25326main () 25327{ 25328#ifndef __SUNPRO_C 25329 (void) __SUNPRO_C; 25330#endif 25331 25332 ; 25333 return 0; 25334} 25335_ACEOF 25336rm -f conftest.$ac_objext 25337if { (ac_try="$ac_compile" 25338case "(($ac_try" in 25339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25340 *) ac_try_echo=$ac_try;; 25341esac 25342eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 25343$as_echo "$ac_try_echo") >&5 25344 (eval "$ac_compile") 2>conftest.er1 25345 ac_status=$? 25346 grep -v '^ *+' conftest.er1 >conftest.err 25347 rm -f conftest.er1 25348 cat conftest.err >&5 25349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25350 (exit $ac_status); } && { 25351 test -z "$ac_c_werror_flag" || 25352 test ! -s conftest.err 25353 } && test -s conftest.$ac_objext; then 25354 ac_cv_have_decl___SUNPRO_C=yes 25355else 25356 $as_echo "$as_me: failed program was:" >&5 25357sed 's/^/| /' conftest.$ac_ext >&5 25358 25359 ac_cv_have_decl___SUNPRO_C=no 25360fi 25361 25362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25363fi 25364{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 25365$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 25366if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 25367 SUNCC="yes" 25368else 25369 SUNCC="no" 25370fi 25371 25372 if test "x$SUNCC" = "xyes"; then 25373 solaris_asm_inline="yes" 25374 fi 25375 { $as_echo "$as_me:$LINENO: checking whether _LP64 is declared" >&5 25376$as_echo_n "checking whether _LP64 is declared... " >&6; } 25377if test "${ac_cv_have_decl__LP64+set}" = set; then 25378 $as_echo_n "(cached) " >&6 25379else 25380 cat >conftest.$ac_ext <<_ACEOF 25381/* confdefs.h. */ 25382_ACEOF 25383cat confdefs.h >>conftest.$ac_ext 25384cat >>conftest.$ac_ext <<_ACEOF 25385/* end confdefs.h. */ 25386$ac_includes_default 25387int 25388main () 25389{ 25390#ifndef _LP64 25391 (void) _LP64; 25392#endif 25393 25394 ; 25395 return 0; 25396} 25397_ACEOF 25398rm -f conftest.$ac_objext 25399if { (ac_try="$ac_compile" 25400case "(($ac_try" in 25401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25402 *) ac_try_echo=$ac_try;; 25403esac 25404eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 25405$as_echo "$ac_try_echo") >&5 25406 (eval "$ac_compile") 2>conftest.er1 25407 ac_status=$? 25408 grep -v '^ *+' conftest.er1 >conftest.err 25409 rm -f conftest.er1 25410 cat conftest.err >&5 25411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25412 (exit $ac_status); } && { 25413 test -z "$ac_c_werror_flag" || 25414 test ! -s conftest.err 25415 } && test -s conftest.$ac_objext; then 25416 ac_cv_have_decl__LP64=yes 25417else 25418 $as_echo "$as_me: failed program was:" >&5 25419sed 's/^/| /' conftest.$ac_ext >&5 25420 25421 ac_cv_have_decl__LP64=no 25422fi 25423 25424rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25425fi 25426{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__LP64" >&5 25427$as_echo "$ac_cv_have_decl__LP64" >&6; } 25428if test "x$ac_cv_have_decl__LP64" = x""yes; then 25429 SOLARIS_64="yes" 25430else 25431 SOLARIS_64="no" 25432fi 25433 25434 25435 case $host_cpu in 25436 sparc*) 25437 SOLARIS_INOUT_ARCH="sparcv8plus" 25438 ;; 25439 i*86) 25440 if test x$SOLARIS_64 = xyes ; then 25441 SOLARIS_INOUT_ARCH="amd64" 25442 else 25443 SOLARIS_INOUT_ARCH="ia32" 25444 fi 25445 if test "${OS_MINOR}" -lt 8 ; then 25446 solaris_usl_console="yes" 25447 else 25448 XORG_CFLAGS="$XORG_CFLAGS -DXF86PM" 25449 fi 25450 ;; 25451 *) 25452 { { $as_echo "$as_me:$LINENO: error: Unsupported Solaris platform. Only SPARC & x86 \ 25453 are supported on Solaris in this release. If you are \ 25454 interested in porting Xorg to your platform, please email \ 25455 xorg@lists.freedesktop.org." >&5 25456$as_echo "$as_me: error: Unsupported Solaris platform. Only SPARC & x86 \ 25457 are supported on Solaris in this release. If you are \ 25458 interested in porting Xorg to your platform, please email \ 25459 xorg@lists.freedesktop.org." >&2;} 25460 { (exit 1); exit 1; }; } ;; 25461 esac 25462 25463 if test x$solaris_asm_inline = xyes ; then 25464 SOLARIS_ASM_CFLAGS='$(top_srcdir)/hw/xfree86/os-support/solaris/solaris-$(SOLARIS_INOUT_ARCH).il' 25465 XORG_CFLAGS="${XORG_CFLAGS} "'$(SOLARIS_ASM_CFLAGS)' 25466 fi 25467 25468 ;; 25469 gnu*) 25470 XORG_OS="gnu" 25471 XORG_OS_SUBDIR="hurd" 25472 ;; 25473 *) 25474 XORG_OS="unknown" 25475 XORG_OS_SUBDIR="unknown" 25476 { { $as_echo "$as_me:$LINENO: error: Your OS is unknown. Xorg currently only supports Linux, \ 25477 Free/Open/NetBSD, Solaris, and OS X. If you are interested in porting \ 25478 Xorg to your platform, please email xorg@lists.freedesktop.org." >&5 25479$as_echo "$as_me: error: Your OS is unknown. Xorg currently only supports Linux, \ 25480 Free/Open/NetBSD, Solaris, and OS X. If you are interested in porting \ 25481 Xorg to your platform, please email xorg@lists.freedesktop.org." >&2;} 25482 { (exit 1); exit 1; }; } 25483 ;; 25484 esac 25485 25486 case $host_cpu in 25487 sparc*) 25488 xorg_bus_sparc="yes" 25489 ;; 25490 esac 25491 25492 if test "x$XORG_OS_PCI" = x ; then 25493 XORG_OS_PCI=$XORG_OS 25494 fi 25495 if test "x$DGA" = xauto; then 25496 25497pkg_failed=no 25498{ $as_echo "$as_me:$LINENO: checking for DGA" >&5 25499$as_echo_n "checking for DGA... " >&6; } 25500 25501if test -n "$PKG_CONFIG"; then 25502 if test -n "$DGA_CFLAGS"; then 25503 pkg_cv_DGA_CFLAGS="$DGA_CFLAGS" 25504 else 25505 if test -n "$PKG_CONFIG" && \ 25506 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5 25507 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5 25508 ac_status=$? 25509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25510 (exit $ac_status); }; then 25511 pkg_cv_DGA_CFLAGS=`$PKG_CONFIG --cflags "xf86dgaproto" 2>/dev/null` 25512else 25513 pkg_failed=yes 25514fi 25515 fi 25516else 25517 pkg_failed=untried 25518fi 25519if test -n "$PKG_CONFIG"; then 25520 if test -n "$DGA_LIBS"; then 25521 pkg_cv_DGA_LIBS="$DGA_LIBS" 25522 else 25523 if test -n "$PKG_CONFIG" && \ 25524 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5 25525 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5 25526 ac_status=$? 25527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25528 (exit $ac_status); }; then 25529 pkg_cv_DGA_LIBS=`$PKG_CONFIG --libs "xf86dgaproto" 2>/dev/null` 25530else 25531 pkg_failed=yes 25532fi 25533 fi 25534else 25535 pkg_failed=untried 25536fi 25537 25538 25539 25540if test $pkg_failed = yes; then 25541 25542if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25543 _pkg_short_errors_supported=yes 25544else 25545 _pkg_short_errors_supported=no 25546fi 25547 if test $_pkg_short_errors_supported = yes; then 25548 DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86dgaproto"` 25549 else 25550 DGA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86dgaproto"` 25551 fi 25552 # Put the nasty error message in config.log where it belongs 25553 echo "$DGA_PKG_ERRORS" >&5 25554 25555 { $as_echo "$as_me:$LINENO: result: no" >&5 25556$as_echo "no" >&6; } 25557 DGA=no 25558elif test $pkg_failed = untried; then 25559 DGA=no 25560else 25561 DGA_CFLAGS=$pkg_cv_DGA_CFLAGS 25562 DGA_LIBS=$pkg_cv_DGA_LIBS 25563 { $as_echo "$as_me:$LINENO: result: yes" >&5 25564$as_echo "yes" >&6; } 25565 DGA=yes 25566fi 25567 fi 25568 if test "x$DGA" = xyes; then 25569 XORG_MODULES="$XORG_MODULES xf86dgaproto" 25570 25571pkg_failed=no 25572{ $as_echo "$as_me:$LINENO: checking for DGA" >&5 25573$as_echo_n "checking for DGA... " >&6; } 25574 25575if test -n "$PKG_CONFIG"; then 25576 if test -n "$DGA_CFLAGS"; then 25577 pkg_cv_DGA_CFLAGS="$DGA_CFLAGS" 25578 else 25579 if test -n "$PKG_CONFIG" && \ 25580 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5 25581 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5 25582 ac_status=$? 25583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25584 (exit $ac_status); }; then 25585 pkg_cv_DGA_CFLAGS=`$PKG_CONFIG --cflags "xf86dgaproto" 2>/dev/null` 25586else 25587 pkg_failed=yes 25588fi 25589 fi 25590else 25591 pkg_failed=untried 25592fi 25593if test -n "$PKG_CONFIG"; then 25594 if test -n "$DGA_LIBS"; then 25595 pkg_cv_DGA_LIBS="$DGA_LIBS" 25596 else 25597 if test -n "$PKG_CONFIG" && \ 25598 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86dgaproto\"") >&5 25599 ($PKG_CONFIG --exists --print-errors "xf86dgaproto") 2>&5 25600 ac_status=$? 25601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25602 (exit $ac_status); }; then 25603 pkg_cv_DGA_LIBS=`$PKG_CONFIG --libs "xf86dgaproto" 2>/dev/null` 25604else 25605 pkg_failed=yes 25606fi 25607 fi 25608else 25609 pkg_failed=untried 25610fi 25611 25612 25613 25614if test $pkg_failed = yes; then 25615 25616if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25617 _pkg_short_errors_supported=yes 25618else 25619 _pkg_short_errors_supported=no 25620fi 25621 if test $_pkg_short_errors_supported = yes; then 25622 DGA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86dgaproto"` 25623 else 25624 DGA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86dgaproto"` 25625 fi 25626 # Put the nasty error message in config.log where it belongs 25627 echo "$DGA_PKG_ERRORS" >&5 25628 25629 { { $as_echo "$as_me:$LINENO: error: Package requirements (xf86dgaproto) were not met: 25630 25631$DGA_PKG_ERRORS 25632 25633Consider adjusting the PKG_CONFIG_PATH environment variable if you 25634installed software in a non-standard prefix. 25635 25636Alternatively, you may set the environment variables DGA_CFLAGS 25637and DGA_LIBS to avoid the need to call pkg-config. 25638See the pkg-config man page for more details. 25639" >&5 25640$as_echo "$as_me: error: Package requirements (xf86dgaproto) were not met: 25641 25642$DGA_PKG_ERRORS 25643 25644Consider adjusting the PKG_CONFIG_PATH environment variable if you 25645installed software in a non-standard prefix. 25646 25647Alternatively, you may set the environment variables DGA_CFLAGS 25648and DGA_LIBS to avoid the need to call pkg-config. 25649See the pkg-config man page for more details. 25650" >&2;} 25651 { (exit 1); exit 1; }; } 25652elif test $pkg_failed = untried; then 25653 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 25654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25655{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 25656is in your PATH or set the PKG_CONFIG environment variable to the full 25657path to pkg-config. 25658 25659Alternatively, you may set the environment variables DGA_CFLAGS 25660and DGA_LIBS to avoid the need to call pkg-config. 25661See the pkg-config man page for more details. 25662 25663To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25664See \`config.log' for more details." >&5 25665$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 25666is in your PATH or set the PKG_CONFIG environment variable to the full 25667path to pkg-config. 25668 25669Alternatively, you may set the environment variables DGA_CFLAGS 25670and DGA_LIBS to avoid the need to call pkg-config. 25671See the pkg-config man page for more details. 25672 25673To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25674See \`config.log' for more details." >&2;} 25675 { (exit 1); exit 1; }; }; } 25676else 25677 DGA_CFLAGS=$pkg_cv_DGA_CFLAGS 25678 DGA_LIBS=$pkg_cv_DGA_LIBS 25679 { $as_echo "$as_me:$LINENO: result: yes" >&5 25680$as_echo "yes" >&6; } 25681 : 25682fi 25683 25684cat >>confdefs.h <<\_ACEOF 25685#define DGA 1 25686_ACEOF 25687 25688 25689cat >>confdefs.h <<\_ACEOF 25690#define XFreeXDGA 1 25691_ACEOF 25692 25693 fi 25694 25695 if test "x$XF86VIDMODE" = xauto; then 25696 25697pkg_failed=no 25698{ $as_echo "$as_me:$LINENO: checking for XF86VIDMODE" >&5 25699$as_echo_n "checking for XF86VIDMODE... " >&6; } 25700 25701if test -n "$PKG_CONFIG"; then 25702 if test -n "$XF86VIDMODE_CFLAGS"; then 25703 pkg_cv_XF86VIDMODE_CFLAGS="$XF86VIDMODE_CFLAGS" 25704 else 25705 if test -n "$PKG_CONFIG" && \ 25706 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5 25707 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5 25708 ac_status=$? 25709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25710 (exit $ac_status); }; then 25711 pkg_cv_XF86VIDMODE_CFLAGS=`$PKG_CONFIG --cflags "xf86vidmodeproto" 2>/dev/null` 25712else 25713 pkg_failed=yes 25714fi 25715 fi 25716else 25717 pkg_failed=untried 25718fi 25719if test -n "$PKG_CONFIG"; then 25720 if test -n "$XF86VIDMODE_LIBS"; then 25721 pkg_cv_XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS" 25722 else 25723 if test -n "$PKG_CONFIG" && \ 25724 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5 25725 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5 25726 ac_status=$? 25727 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25728 (exit $ac_status); }; then 25729 pkg_cv_XF86VIDMODE_LIBS=`$PKG_CONFIG --libs "xf86vidmodeproto" 2>/dev/null` 25730else 25731 pkg_failed=yes 25732fi 25733 fi 25734else 25735 pkg_failed=untried 25736fi 25737 25738 25739 25740if test $pkg_failed = yes; then 25741 25742if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25743 _pkg_short_errors_supported=yes 25744else 25745 _pkg_short_errors_supported=no 25746fi 25747 if test $_pkg_short_errors_supported = yes; then 25748 XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86vidmodeproto"` 25749 else 25750 XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86vidmodeproto"` 25751 fi 25752 # Put the nasty error message in config.log where it belongs 25753 echo "$XF86VIDMODE_PKG_ERRORS" >&5 25754 25755 { $as_echo "$as_me:$LINENO: result: no" >&5 25756$as_echo "no" >&6; } 25757 XF86VIDMODE=no 25758elif test $pkg_failed = untried; then 25759 XF86VIDMODE=no 25760else 25761 XF86VIDMODE_CFLAGS=$pkg_cv_XF86VIDMODE_CFLAGS 25762 XF86VIDMODE_LIBS=$pkg_cv_XF86VIDMODE_LIBS 25763 { $as_echo "$as_me:$LINENO: result: yes" >&5 25764$as_echo "yes" >&6; } 25765 XF86VIDMODE=yes 25766fi 25767 fi 25768 if test "x$XF86VIDMODE" = xyes; then 25769 XORG_MODULES="$XORG_MODULES xf86vidmodeproto" 25770 25771pkg_failed=no 25772{ $as_echo "$as_me:$LINENO: checking for XF86VIDMODE" >&5 25773$as_echo_n "checking for XF86VIDMODE... " >&6; } 25774 25775if test -n "$PKG_CONFIG"; then 25776 if test -n "$XF86VIDMODE_CFLAGS"; then 25777 pkg_cv_XF86VIDMODE_CFLAGS="$XF86VIDMODE_CFLAGS" 25778 else 25779 if test -n "$PKG_CONFIG" && \ 25780 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5 25781 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5 25782 ac_status=$? 25783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25784 (exit $ac_status); }; then 25785 pkg_cv_XF86VIDMODE_CFLAGS=`$PKG_CONFIG --cflags "xf86vidmodeproto" 2>/dev/null` 25786else 25787 pkg_failed=yes 25788fi 25789 fi 25790else 25791 pkg_failed=untried 25792fi 25793if test -n "$PKG_CONFIG"; then 25794 if test -n "$XF86VIDMODE_LIBS"; then 25795 pkg_cv_XF86VIDMODE_LIBS="$XF86VIDMODE_LIBS" 25796 else 25797 if test -n "$PKG_CONFIG" && \ 25798 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xf86vidmodeproto\"") >&5 25799 ($PKG_CONFIG --exists --print-errors "xf86vidmodeproto") 2>&5 25800 ac_status=$? 25801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25802 (exit $ac_status); }; then 25803 pkg_cv_XF86VIDMODE_LIBS=`$PKG_CONFIG --libs "xf86vidmodeproto" 2>/dev/null` 25804else 25805 pkg_failed=yes 25806fi 25807 fi 25808else 25809 pkg_failed=untried 25810fi 25811 25812 25813 25814if test $pkg_failed = yes; then 25815 25816if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25817 _pkg_short_errors_supported=yes 25818else 25819 _pkg_short_errors_supported=no 25820fi 25821 if test $_pkg_short_errors_supported = yes; then 25822 XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xf86vidmodeproto"` 25823 else 25824 XF86VIDMODE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xf86vidmodeproto"` 25825 fi 25826 # Put the nasty error message in config.log where it belongs 25827 echo "$XF86VIDMODE_PKG_ERRORS" >&5 25828 25829 { { $as_echo "$as_me:$LINENO: error: Package requirements (xf86vidmodeproto) were not met: 25830 25831$XF86VIDMODE_PKG_ERRORS 25832 25833Consider adjusting the PKG_CONFIG_PATH environment variable if you 25834installed software in a non-standard prefix. 25835 25836Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS 25837and XF86VIDMODE_LIBS to avoid the need to call pkg-config. 25838See the pkg-config man page for more details. 25839" >&5 25840$as_echo "$as_me: error: Package requirements (xf86vidmodeproto) were not met: 25841 25842$XF86VIDMODE_PKG_ERRORS 25843 25844Consider adjusting the PKG_CONFIG_PATH environment variable if you 25845installed software in a non-standard prefix. 25846 25847Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS 25848and XF86VIDMODE_LIBS to avoid the need to call pkg-config. 25849See the pkg-config man page for more details. 25850" >&2;} 25851 { (exit 1); exit 1; }; } 25852elif test $pkg_failed = untried; then 25853 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 25854$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25855{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 25856is in your PATH or set the PKG_CONFIG environment variable to the full 25857path to pkg-config. 25858 25859Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS 25860and XF86VIDMODE_LIBS to avoid the need to call pkg-config. 25861See the pkg-config man page for more details. 25862 25863To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25864See \`config.log' for more details." >&5 25865$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 25866is in your PATH or set the PKG_CONFIG environment variable to the full 25867path to pkg-config. 25868 25869Alternatively, you may set the environment variables XF86VIDMODE_CFLAGS 25870and XF86VIDMODE_LIBS to avoid the need to call pkg-config. 25871See the pkg-config man page for more details. 25872 25873To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25874See \`config.log' for more details." >&2;} 25875 { (exit 1); exit 1; }; }; } 25876else 25877 XF86VIDMODE_CFLAGS=$pkg_cv_XF86VIDMODE_CFLAGS 25878 XF86VIDMODE_LIBS=$pkg_cv_XF86VIDMODE_LIBS 25879 { $as_echo "$as_me:$LINENO: result: yes" >&5 25880$as_echo "yes" >&6; } 25881 : 25882fi 25883 25884cat >>confdefs.h <<\_ACEOF 25885#define XF86VIDMODE 1 25886_ACEOF 25887 25888 fi 25889 25890 if test -n "$XORG_MODULES"; then 25891 25892pkg_failed=no 25893{ $as_echo "$as_me:$LINENO: checking for XORG_MODULES" >&5 25894$as_echo_n "checking for XORG_MODULES... " >&6; } 25895 25896if test -n "$PKG_CONFIG"; then 25897 if test -n "$XORG_MODULES_CFLAGS"; then 25898 pkg_cv_XORG_MODULES_CFLAGS="$XORG_MODULES_CFLAGS" 25899 else 25900 if test -n "$PKG_CONFIG" && \ 25901 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\"") >&5 25902 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5 25903 ac_status=$? 25904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25905 (exit $ac_status); }; then 25906 pkg_cv_XORG_MODULES_CFLAGS=`$PKG_CONFIG --cflags "$XORG_MODULES" 2>/dev/null` 25907else 25908 pkg_failed=yes 25909fi 25910 fi 25911else 25912 pkg_failed=untried 25913fi 25914if test -n "$PKG_CONFIG"; then 25915 if test -n "$XORG_MODULES_LIBS"; then 25916 pkg_cv_XORG_MODULES_LIBS="$XORG_MODULES_LIBS" 25917 else 25918 if test -n "$PKG_CONFIG" && \ 25919 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XORG_MODULES\"") >&5 25920 ($PKG_CONFIG --exists --print-errors "$XORG_MODULES") 2>&5 25921 ac_status=$? 25922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 25923 (exit $ac_status); }; then 25924 pkg_cv_XORG_MODULES_LIBS=`$PKG_CONFIG --libs "$XORG_MODULES" 2>/dev/null` 25925else 25926 pkg_failed=yes 25927fi 25928 fi 25929else 25930 pkg_failed=untried 25931fi 25932 25933 25934 25935if test $pkg_failed = yes; then 25936 25937if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 25938 _pkg_short_errors_supported=yes 25939else 25940 _pkg_short_errors_supported=no 25941fi 25942 if test $_pkg_short_errors_supported = yes; then 25943 XORG_MODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$XORG_MODULES"` 25944 else 25945 XORG_MODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$XORG_MODULES"` 25946 fi 25947 # Put the nasty error message in config.log where it belongs 25948 echo "$XORG_MODULES_PKG_ERRORS" >&5 25949 25950 { { $as_echo "$as_me:$LINENO: error: Package requirements ($XORG_MODULES) were not met: 25951 25952$XORG_MODULES_PKG_ERRORS 25953 25954Consider adjusting the PKG_CONFIG_PATH environment variable if you 25955installed software in a non-standard prefix. 25956 25957Alternatively, you may set the environment variables XORG_MODULES_CFLAGS 25958and XORG_MODULES_LIBS to avoid the need to call pkg-config. 25959See the pkg-config man page for more details. 25960" >&5 25961$as_echo "$as_me: error: Package requirements ($XORG_MODULES) were not met: 25962 25963$XORG_MODULES_PKG_ERRORS 25964 25965Consider adjusting the PKG_CONFIG_PATH environment variable if you 25966installed software in a non-standard prefix. 25967 25968Alternatively, you may set the environment variables XORG_MODULES_CFLAGS 25969and XORG_MODULES_LIBS to avoid the need to call pkg-config. 25970See the pkg-config man page for more details. 25971" >&2;} 25972 { (exit 1); exit 1; }; } 25973elif test $pkg_failed = untried; then 25974 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 25975$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 25976{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 25977is in your PATH or set the PKG_CONFIG environment variable to the full 25978path to pkg-config. 25979 25980Alternatively, you may set the environment variables XORG_MODULES_CFLAGS 25981and XORG_MODULES_LIBS to avoid the need to call pkg-config. 25982See the pkg-config man page for more details. 25983 25984To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25985See \`config.log' for more details." >&5 25986$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 25987is in your PATH or set the PKG_CONFIG environment variable to the full 25988path to pkg-config. 25989 25990Alternatively, you may set the environment variables XORG_MODULES_CFLAGS 25991and XORG_MODULES_LIBS to avoid the need to call pkg-config. 25992See the pkg-config man page for more details. 25993 25994To get pkg-config, see <http://pkg-config.freedesktop.org/>. 25995See \`config.log' for more details." >&2;} 25996 { (exit 1); exit 1; }; }; } 25997else 25998 XORG_MODULES_CFLAGS=$pkg_cv_XORG_MODULES_CFLAGS 25999 XORG_MODULES_LIBS=$pkg_cv_XORG_MODULES_LIBS 26000 { $as_echo "$as_me:$LINENO: result: yes" >&5 26001$as_echo "yes" >&6; } 26002 : 26003fi 26004 XORG_CFLAGS="$XORG_CFLAGS $XORG_MODULES_CFLAGS" 26005 XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS" 26006 fi 26007 26008 26009 26010 26011 26012 26013 26014 # Extract the first word of "perl", so it can be a program name with args. 26015set dummy perl; ac_word=$2 26016{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 26017$as_echo_n "checking for $ac_word... " >&6; } 26018if test "${ac_cv_path_PERL+set}" = set; then 26019 $as_echo_n "(cached) " >&6 26020else 26021 case $PERL in 26022 [\\/]* | ?:[\\/]*) 26023 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 26024 ;; 26025 *) 26026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 26027for as_dir in $PATH 26028do 26029 IFS=$as_save_IFS 26030 test -z "$as_dir" && as_dir=. 26031 for ac_exec_ext in '' $ac_executable_extensions; do 26032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26033 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 26034 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26035 break 2 26036 fi 26037done 26038done 26039IFS=$as_save_IFS 26040 26041 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="no" 26042 ;; 26043esac 26044fi 26045PERL=$ac_cv_path_PERL 26046if test -n "$PERL"; then 26047 { $as_echo "$as_me:$LINENO: result: $PERL" >&5 26048$as_echo "$PERL" >&6; } 26049else 26050 { $as_echo "$as_me:$LINENO: result: no" >&5 26051$as_echo "no" >&6; } 26052fi 26053 26054 26055 if test "x$PERL" = xno; then 26056 { { $as_echo "$as_me:$LINENO: error: Perl is required to build the XFree86/Xorg DDX." >&5 26057$as_echo "$as_me: error: Perl is required to build the XFree86/Xorg DDX." >&2;} 26058 { (exit 1); exit 1; }; } 26059 fi 26060 26061 26062 26063 26064 XF86CONFIGFILE="xorg.conf" 26065 CONFIGFILE="$sysconfdir/$XF86CONFIGFILE" 26066 LOGPREFIX="$logdir/Xorg." 26067 26068cat >>confdefs.h <<\_ACEOF 26069#define XORG_SERVER 1 26070_ACEOF 26071 26072 26073cat >>confdefs.h <<\_ACEOF 26074#define XORGSERVER 1 26075_ACEOF 26076 26077 26078cat >>confdefs.h <<\_ACEOF 26079#define XFree86Server 1 26080_ACEOF 26081 26082 26083cat >>confdefs.h <<\_ACEOF 26084#define XFree86LOADER 1 26085_ACEOF 26086 26087 26088cat >>confdefs.h <<_ACEOF 26089#define XORG_VERSION_CURRENT $VENDOR_RELEASE 26090_ACEOF 26091 26092 26093cat >>confdefs.h <<\_ACEOF 26094#define NEED_XF86_TYPES 1 26095_ACEOF 26096 26097 26098cat >>confdefs.h <<\_ACEOF 26099#define NEED_XF86_PROTOTYPES 1 26100_ACEOF 26101 26102 26103cat >>confdefs.h <<\_ACEOF 26104#define __XSERVERNAME__ "Xorg" 26105_ACEOF 26106 26107 26108cat >>confdefs.h <<\_ACEOF 26109#define WITH_VGAHW 1 26110_ACEOF 26111 26112 26113 prefix_NONE= 26114 exec_prefix_NONE= 26115 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 26116 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 26117 eval ac_define_dir="\"$XF86CONFIGFILE\"" 26118 eval ac_define_dir="\"$ac_define_dir\"" 26119 __XCONFIGFILE__="$ac_define_dir" 26120 26121 26122cat >>confdefs.h <<_ACEOF 26123#define __XCONFIGFILE__ "$ac_define_dir" 26124_ACEOF 26125 26126 test "$prefix_NONE" && prefix=NONE 26127 test "$exec_prefix_NONE" && exec_prefix=NONE 26128 26129 26130 prefix_NONE= 26131 exec_prefix_NONE= 26132 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 26133 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 26134 eval ac_define_dir="\"$XF86CONFIGFILE\"" 26135 eval ac_define_dir="\"$ac_define_dir\"" 26136 XF86CONFIGFILE="$ac_define_dir" 26137 26138 26139cat >>confdefs.h <<_ACEOF 26140#define XF86CONFIGFILE "$ac_define_dir" 26141_ACEOF 26142 26143 test "$prefix_NONE" && prefix=NONE 26144 test "$exec_prefix_NONE" && exec_prefix=NONE 26145 26146 26147 prefix_NONE= 26148 exec_prefix_NONE= 26149 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 26150 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 26151 eval ac_define_dir="\"$moduledir\"" 26152 eval ac_define_dir="\"$ac_define_dir\"" 26153 DEFAULT_MODULE_PATH="$ac_define_dir" 26154 26155 26156cat >>confdefs.h <<_ACEOF 26157#define DEFAULT_MODULE_PATH "$ac_define_dir" 26158_ACEOF 26159 26160 test "$prefix_NONE" && prefix=NONE 26161 test "$exec_prefix_NONE" && exec_prefix=NONE 26162 26163 26164 prefix_NONE= 26165 exec_prefix_NONE= 26166 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 26167 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 26168 eval ac_define_dir="\"$libdir\"" 26169 eval ac_define_dir="\"$ac_define_dir\"" 26170 DEFAULT_LIBRARY_PATH="$ac_define_dir" 26171 26172 26173cat >>confdefs.h <<_ACEOF 26174#define DEFAULT_LIBRARY_PATH "$ac_define_dir" 26175_ACEOF 26176 26177 test "$prefix_NONE" && prefix=NONE 26178 test "$exec_prefix_NONE" && exec_prefix=NONE 26179 26180 26181 prefix_NONE= 26182 exec_prefix_NONE= 26183 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 26184 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 26185 eval ac_define_dir="\"$LOGPREFIX\"" 26186 eval ac_define_dir="\"$ac_define_dir\"" 26187 DEFAULT_LOGPREFIX="$ac_define_dir" 26188 26189 26190cat >>confdefs.h <<_ACEOF 26191#define DEFAULT_LOGPREFIX "$ac_define_dir" 26192_ACEOF 26193 26194 test "$prefix_NONE" && prefix=NONE 26195 test "$exec_prefix_NONE" && exec_prefix=NONE 26196 26197 26198cat >>confdefs.h <<_ACEOF 26199#define __VENDORDWEBSUPPORT__ "$VENDOR_WEB" 26200_ACEOF 26201 26202 26203cat >>confdefs.h <<\_ACEOF 26204#define XSERVER_LIBPCIACCESS 1 26205_ACEOF 26206 26207 26208 driverdir="$moduledir/drivers" 26209 26210 26211 sdkdir="$includedir/xorg" 26212 extdir="$includedir/X11/extensions" 26213 26214 26215 26216 26217 # stuff the ABI versions into the pc file too 26218 extract_abi() { 26219 grep ^.define.*${1}_VERSION ${srcdir}/hw/xfree86/common/xf86Module.h | tr '(),' ' .' | awk '{ print $4$5 }' 26220 } 26221 abi_ansic=`extract_abi ANSIC` 26222 abi_videodrv=`extract_abi VIDEODRV` 26223 abi_xinput=`extract_abi XINPUT` 26224 abi_extension=`extract_abi EXTENSION` 26225 abi_font=`extract_abi FONT` 26226 26227 26228 26229 26230 26231fi 26232 if test "x$XORG" = xyes; then 26233 XORG_TRUE= 26234 XORG_FALSE='#' 26235else 26236 XORG_TRUE='#' 26237 XORG_FALSE= 26238fi 26239 26240 if test "x$xorg_bus_linuxpci" = xyes; then 26241 XORG_BUS_LINUXPCI_TRUE= 26242 XORG_BUS_LINUXPCI_FALSE='#' 26243else 26244 XORG_BUS_LINUXPCI_TRUE='#' 26245 XORG_BUS_LINUXPCI_FALSE= 26246fi 26247 26248 if test "x$xorg_bus_bsdpci" = xyes; then 26249 XORG_BUS_BSDPCI_TRUE= 26250 XORG_BUS_BSDPCI_FALSE='#' 26251else 26252 XORG_BUS_BSDPCI_TRUE='#' 26253 XORG_BUS_BSDPCI_FALSE= 26254fi 26255 26256 if test "x$xorg_bus_sparc" = xyes; then 26257 XORG_BUS_SPARC_TRUE= 26258 XORG_BUS_SPARC_FALSE='#' 26259else 26260 XORG_BUS_SPARC_TRUE='#' 26261 XORG_BUS_SPARC_FALSE= 26262fi 26263 26264 if test "x$linux_ia64" = xyes; then 26265 LINUX_IA64_TRUE= 26266 LINUX_IA64_FALSE='#' 26267else 26268 LINUX_IA64_TRUE='#' 26269 LINUX_IA64_FALSE= 26270fi 26271 26272 if test "x$linux_alpha" = xyes; then 26273 LINUX_ALPHA_TRUE= 26274 LINUX_ALPHA_FALSE='#' 26275else 26276 LINUX_ALPHA_TRUE='#' 26277 LINUX_ALPHA_FALSE= 26278fi 26279 26280 if test "x$linux_acpi" = xyes; then 26281 LNXACPI_TRUE= 26282 LNXACPI_FALSE='#' 26283else 26284 LNXACPI_TRUE='#' 26285 LNXACPI_FALSE= 26286fi 26287 26288 if test "x$solaris_usl_console" = xyes; then 26289 SOLARIS_USL_CONSOLE_TRUE= 26290 SOLARIS_USL_CONSOLE_FALSE='#' 26291else 26292 SOLARIS_USL_CONSOLE_TRUE='#' 26293 SOLARIS_USL_CONSOLE_FALSE= 26294fi 26295 26296 if test "x$solaris_asm_inline" = xyes; then 26297 SOLARIS_ASM_INLINE_TRUE= 26298 SOLARIS_ASM_INLINE_FALSE='#' 26299else 26300 SOLARIS_ASM_INLINE_TRUE='#' 26301 SOLARIS_ASM_INLINE_FALSE= 26302fi 26303 26304 if test "x$DGA" = xyes; then 26305 DGA_TRUE= 26306 DGA_FALSE='#' 26307else 26308 DGA_TRUE='#' 26309 DGA_FALSE= 26310fi 26311 26312 if test "x$XF86VIDMODE" = xyes; then 26313 XF86VIDMODE_TRUE= 26314 XF86VIDMODE_FALSE='#' 26315else 26316 XF86VIDMODE_TRUE='#' 26317 XF86VIDMODE_FALSE= 26318fi 26319 26320 26321 26322{ $as_echo "$as_me:$LINENO: checking whether to build XWin DDX" >&5 26323$as_echo_n "checking whether to build XWin DDX... " >&6; } 26324if test "x$XWIN" = xauto; then 26325 case $host_os in 26326 cygwin*) XWIN="yes" ;; 26327 mingw*) XWIN="yes" ;; 26328 *) XWIN="no" ;; 26329 esac 26330 XWIN_LIBS="$FB_LIB $XEXT_LIB $CONFIG_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $DAMAGE_LIB $LAYER_LIB $XPSTUBS_LIB $SHADOW_LIB" 26331 26332fi 26333{ $as_echo "$as_me:$LINENO: result: $XWIN" >&5 26334$as_echo "$XWIN" >&6; } 26335 26336if test "x$XWIN" = xyes; then 26337 case $host_os in 26338 cygwin*) 26339 XWIN_SERVER_NAME=XWin 26340 26341pkg_failed=no 26342{ $as_echo "$as_me:$LINENO: checking for XWINMODULES" >&5 26343$as_echo_n "checking for XWINMODULES... " >&6; } 26344 26345if test -n "$PKG_CONFIG"; then 26346 if test -n "$XWINMODULES_CFLAGS"; then 26347 pkg_cv_XWINMODULES_CFLAGS="$XWINMODULES_CFLAGS" 26348 else 26349 if test -n "$PKG_CONFIG" && \ 26350 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5 26351 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5 26352 ac_status=$? 26353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26354 (exit $ac_status); }; then 26355 pkg_cv_XWINMODULES_CFLAGS=`$PKG_CONFIG --cflags "x11 xdmcp xau xfont" 2>/dev/null` 26356else 26357 pkg_failed=yes 26358fi 26359 fi 26360else 26361 pkg_failed=untried 26362fi 26363if test -n "$PKG_CONFIG"; then 26364 if test -n "$XWINMODULES_LIBS"; then 26365 pkg_cv_XWINMODULES_LIBS="$XWINMODULES_LIBS" 26366 else 26367 if test -n "$PKG_CONFIG" && \ 26368 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5 26369 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5 26370 ac_status=$? 26371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26372 (exit $ac_status); }; then 26373 pkg_cv_XWINMODULES_LIBS=`$PKG_CONFIG --libs "x11 xdmcp xau xfont" 2>/dev/null` 26374else 26375 pkg_failed=yes 26376fi 26377 fi 26378else 26379 pkg_failed=untried 26380fi 26381 26382 26383 26384if test $pkg_failed = yes; then 26385 26386if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26387 _pkg_short_errors_supported=yes 26388else 26389 _pkg_short_errors_supported=no 26390fi 26391 if test $_pkg_short_errors_supported = yes; then 26392 XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xdmcp xau xfont"` 26393 else 26394 XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xdmcp xau xfont"` 26395 fi 26396 # Put the nasty error message in config.log where it belongs 26397 echo "$XWINMODULES_PKG_ERRORS" >&5 26398 26399 { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xdmcp xau xfont) were not met: 26400 26401$XWINMODULES_PKG_ERRORS 26402 26403Consider adjusting the PKG_CONFIG_PATH environment variable if you 26404installed software in a non-standard prefix. 26405 26406Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26407and XWINMODULES_LIBS to avoid the need to call pkg-config. 26408See the pkg-config man page for more details. 26409" >&5 26410$as_echo "$as_me: error: Package requirements (x11 xdmcp xau xfont) were not met: 26411 26412$XWINMODULES_PKG_ERRORS 26413 26414Consider adjusting the PKG_CONFIG_PATH environment variable if you 26415installed software in a non-standard prefix. 26416 26417Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26418and XWINMODULES_LIBS to avoid the need to call pkg-config. 26419See the pkg-config man page for more details. 26420" >&2;} 26421 { (exit 1); exit 1; }; } 26422elif test $pkg_failed = untried; then 26423 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 26424$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 26425{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 26426is in your PATH or set the PKG_CONFIG environment variable to the full 26427path to pkg-config. 26428 26429Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26430and XWINMODULES_LIBS to avoid the need to call pkg-config. 26431See the pkg-config man page for more details. 26432 26433To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26434See \`config.log' for more details." >&5 26435$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 26436is in your PATH or set the PKG_CONFIG environment variable to the full 26437path to pkg-config. 26438 26439Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26440and XWINMODULES_LIBS to avoid the need to call pkg-config. 26441See the pkg-config man page for more details. 26442 26443To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26444See \`config.log' for more details." >&2;} 26445 { (exit 1); exit 1; }; }; } 26446else 26447 XWINMODULES_CFLAGS=$pkg_cv_XWINMODULES_CFLAGS 26448 XWINMODULES_LIBS=$pkg_cv_XWINMODULES_LIBS 26449 { $as_echo "$as_me:$LINENO: result: yes" >&5 26450$as_echo "yes" >&6; } 26451 : 26452fi 26453 26454cat >>confdefs.h <<\_ACEOF 26455#define HAS_DEVWINDOWS 1 26456_ACEOF 26457 26458 26459cat >>confdefs.h <<\_ACEOF 26460#define ROOTLESS 1 26461_ACEOF 26462 26463 CFLAGS="$CFLAGS -DFD_SETSIZE=256" 26464 ;; 26465 mingw*) 26466 XWIN_SERVER_NAME=Xming 26467 26468pkg_failed=no 26469{ $as_echo "$as_me:$LINENO: checking for XWINMODULES" >&5 26470$as_echo_n "checking for XWINMODULES... " >&6; } 26471 26472if test -n "$PKG_CONFIG"; then 26473 if test -n "$XWINMODULES_CFLAGS"; then 26474 pkg_cv_XWINMODULES_CFLAGS="$XWINMODULES_CFLAGS" 26475 else 26476 if test -n "$PKG_CONFIG" && \ 26477 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5 26478 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5 26479 ac_status=$? 26480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26481 (exit $ac_status); }; then 26482 pkg_cv_XWINMODULES_CFLAGS=`$PKG_CONFIG --cflags "x11 xdmcp xau xfont" 2>/dev/null` 26483else 26484 pkg_failed=yes 26485fi 26486 fi 26487else 26488 pkg_failed=untried 26489fi 26490if test -n "$PKG_CONFIG"; then 26491 if test -n "$XWINMODULES_LIBS"; then 26492 pkg_cv_XWINMODULES_LIBS="$XWINMODULES_LIBS" 26493 else 26494 if test -n "$PKG_CONFIG" && \ 26495 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xdmcp xau xfont\"") >&5 26496 ($PKG_CONFIG --exists --print-errors "x11 xdmcp xau xfont") 2>&5 26497 ac_status=$? 26498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26499 (exit $ac_status); }; then 26500 pkg_cv_XWINMODULES_LIBS=`$PKG_CONFIG --libs "x11 xdmcp xau xfont" 2>/dev/null` 26501else 26502 pkg_failed=yes 26503fi 26504 fi 26505else 26506 pkg_failed=untried 26507fi 26508 26509 26510 26511if test $pkg_failed = yes; then 26512 26513if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26514 _pkg_short_errors_supported=yes 26515else 26516 _pkg_short_errors_supported=no 26517fi 26518 if test $_pkg_short_errors_supported = yes; then 26519 XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 xdmcp xau xfont"` 26520 else 26521 XWINMODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 xdmcp xau xfont"` 26522 fi 26523 # Put the nasty error message in config.log where it belongs 26524 echo "$XWINMODULES_PKG_ERRORS" >&5 26525 26526 { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xdmcp xau xfont) were not met: 26527 26528$XWINMODULES_PKG_ERRORS 26529 26530Consider adjusting the PKG_CONFIG_PATH environment variable if you 26531installed software in a non-standard prefix. 26532 26533Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26534and XWINMODULES_LIBS to avoid the need to call pkg-config. 26535See the pkg-config man page for more details. 26536" >&5 26537$as_echo "$as_me: error: Package requirements (x11 xdmcp xau xfont) were not met: 26538 26539$XWINMODULES_PKG_ERRORS 26540 26541Consider adjusting the PKG_CONFIG_PATH environment variable if you 26542installed software in a non-standard prefix. 26543 26544Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26545and XWINMODULES_LIBS to avoid the need to call pkg-config. 26546See the pkg-config man page for more details. 26547" >&2;} 26548 { (exit 1); exit 1; }; } 26549elif test $pkg_failed = untried; then 26550 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 26551$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 26552{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 26553is in your PATH or set the PKG_CONFIG environment variable to the full 26554path to pkg-config. 26555 26556Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26557and XWINMODULES_LIBS to avoid the need to call pkg-config. 26558See the pkg-config man page for more details. 26559 26560To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26561See \`config.log' for more details." >&5 26562$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 26563is in your PATH or set the PKG_CONFIG environment variable to the full 26564path to pkg-config. 26565 26566Alternatively, you may set the environment variables XWINMODULES_CFLAGS 26567and XWINMODULES_LIBS to avoid the need to call pkg-config. 26568See the pkg-config man page for more details. 26569 26570To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26571See \`config.log' for more details." >&2;} 26572 { (exit 1); exit 1; }; }; } 26573else 26574 XWINMODULES_CFLAGS=$pkg_cv_XWINMODULES_CFLAGS 26575 XWINMODULES_LIBS=$pkg_cv_XWINMODULES_LIBS 26576 { $as_echo "$as_me:$LINENO: result: yes" >&5 26577$as_echo "yes" >&6; } 26578 : 26579fi 26580 26581cat >>confdefs.h <<\_ACEOF 26582#define RELOCATE_PROJECTROOT 1 26583_ACEOF 26584 26585 26586cat >>confdefs.h <<\_ACEOF 26587#define HAS_WINSOCK 1 26588_ACEOF 26589 26590 XWIN_SYS_LIBS=-lwinsock2 26591 ;; 26592 esac 26593 XWIN_SYS_LIBS="$XWIN_SYS_LIBS $(XWINMODULES_LIBS)" 26594 26595 26596 26597 if test "x$DEBUGGING" = xyes; then 26598 26599cat >>confdefs.h <<\_ACEOF 26600#define CYGDEBUG 1 26601_ACEOF 26602 26603 26604cat >>confdefs.h <<\_ACEOF 26605#define CYGWINDOWING_DEBUG 1 26606_ACEOF 26607 26608 26609cat >>confdefs.h <<\_ACEOF 26610#define CYGMULTIWINDOW_DEBUG 1 26611_ACEOF 26612 26613 fi 26614 26615 26616cat >>confdefs.h <<\_ACEOF 26617#define DDXOSVERRORF 1 26618_ACEOF 26619 26620 26621cat >>confdefs.h <<\_ACEOF 26622#define DDXBEFORERESET 1 26623_ACEOF 26624 26625 if test "x$XF86VIDMODE" = xyes; then 26626 { $as_echo "$as_me:$LINENO: Disabling XF86VidMode extension" >&5 26627$as_echo "$as_me: Disabling XF86VidMode extension" >&6;} 26628 XF86VIDMODE=no 26629 fi 26630 if test "x$COMPOSITE" = xyes; then 26631 { $as_echo "$as_me:$LINENO: Disabling Composite extension" >&5 26632$as_echo "$as_me: Disabling Composite extension" >&6;} 26633 COMPOSITE=no 26634 fi 26635fi 26636 if test "x$XWIN" = xyes; then 26637 XWIN_TRUE= 26638 XWIN_FALSE='#' 26639else 26640 XWIN_TRUE='#' 26641 XWIN_FALSE= 26642fi 26643 26644 if test "x$XWIN" = xyes; then 26645 XWIN_MULTIWINDOW_TRUE= 26646 XWIN_MULTIWINDOW_FALSE='#' 26647else 26648 XWIN_MULTIWINDOW_TRUE='#' 26649 XWIN_MULTIWINDOW_FALSE= 26650fi 26651 26652 if test "x$XWIN" = xyes && false; then 26653 XWIN_MULTIWINDOWEXTWM_TRUE= 26654 XWIN_MULTIWINDOWEXTWM_FALSE='#' 26655else 26656 XWIN_MULTIWINDOWEXTWM_TRUE='#' 26657 XWIN_MULTIWINDOWEXTWM_FALSE= 26658fi 26659 26660 if test "x$XWIN" = xyes; then 26661 XWIN_CLIPBOARD_TRUE= 26662 XWIN_CLIPBOARD_FALSE='#' 26663else 26664 XWIN_CLIPBOARD_TRUE='#' 26665 XWIN_CLIPBOARD_FALSE= 26666fi 26667 26668 if test "x$XWIN" = xyes && false; then 26669 XWIN_GLX_WINDOWS_TRUE= 26670 XWIN_GLX_WINDOWS_FALSE='#' 26671else 26672 XWIN_GLX_WINDOWS_TRUE='#' 26673 XWIN_GLX_WINDOWS_FALSE= 26674fi 26675 26676 if test "x$XWIN" = xyes && false; then 26677 XWIN_NATIVEGDI_TRUE= 26678 XWIN_NATIVEGDI_FALSE='#' 26679else 26680 XWIN_NATIVEGDI_TRUE='#' 26681 XWIN_NATIVEGDI_FALSE= 26682fi 26683 26684 if test "x$XWIN" = xyes && false; then 26685 XWIN_PRIMARYFB_TRUE= 26686 XWIN_PRIMARYFB_FALSE='#' 26687else 26688 XWIN_PRIMARYFB_TRUE='#' 26689 XWIN_PRIMARYFB_FALSE= 26690fi 26691 26692 if test "x$XWIN" = xyes; then 26693 XWIN_RANDR_TRUE= 26694 XWIN_RANDR_FALSE='#' 26695else 26696 XWIN_RANDR_TRUE='#' 26697 XWIN_RANDR_FALSE= 26698fi 26699 26700 if test "x$XWIN" = xyes && test "x$XV" = xyes; then 26701 XWIN_XV_TRUE= 26702 XWIN_XV_FALSE='#' 26703else 26704 XWIN_XV_TRUE='#' 26705 XWIN_XV_FALSE= 26706fi 26707 26708 26709if test "x$XQUARTZ" = xyes; then 26710 26711cat >>confdefs.h <<\_ACEOF 26712#define XQUARTZ 1 26713_ACEOF 26714 26715 26716cat >>confdefs.h <<\_ACEOF 26717#define ROOTLESS 1 26718_ACEOF 26719 26720 26721 DARWIN_LIBS="$MI_LIB $OS_LIB $DIX_LIB $FB_LIB $FIXES_LIB $XEXT_LIB $CONFIG_LIB $DBE_LIB $RECORD_LIB $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $XPSTUBS_LIB" 26722 26723 26724 { $as_echo "$as_me:$LINENO: checking for xp_init in -lXplugin" >&5 26725$as_echo_n "checking for xp_init in -lXplugin... " >&6; } 26726if test "${ac_cv_lib_Xplugin_xp_init+set}" = set; then 26727 $as_echo_n "(cached) " >&6 26728else 26729 ac_check_lib_save_LIBS=$LIBS 26730LIBS="-lXplugin $LIBS" 26731cat >conftest.$ac_ext <<_ACEOF 26732/* confdefs.h. */ 26733_ACEOF 26734cat confdefs.h >>conftest.$ac_ext 26735cat >>conftest.$ac_ext <<_ACEOF 26736/* end confdefs.h. */ 26737 26738/* Override any GCC internal prototype to avoid an error. 26739 Use char because int might match the return type of a GCC 26740 builtin and then its argument prototype would still apply. */ 26741#ifdef __cplusplus 26742extern "C" 26743#endif 26744char xp_init (); 26745int 26746main () 26747{ 26748return xp_init (); 26749 ; 26750 return 0; 26751} 26752_ACEOF 26753rm -f conftest.$ac_objext conftest$ac_exeext 26754if { (ac_try="$ac_link" 26755case "(($ac_try" in 26756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26757 *) ac_try_echo=$ac_try;; 26758esac 26759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 26760$as_echo "$ac_try_echo") >&5 26761 (eval "$ac_link") 2>conftest.er1 26762 ac_status=$? 26763 grep -v '^ *+' conftest.er1 >conftest.err 26764 rm -f conftest.er1 26765 cat conftest.err >&5 26766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26767 (exit $ac_status); } && { 26768 test -z "$ac_c_werror_flag" || 26769 test ! -s conftest.err 26770 } && test -s conftest$ac_exeext && { 26771 test "$cross_compiling" = yes || 26772 $as_test_x conftest$ac_exeext 26773 }; then 26774 ac_cv_lib_Xplugin_xp_init=yes 26775else 26776 $as_echo "$as_me: failed program was:" >&5 26777sed 's/^/| /' conftest.$ac_ext >&5 26778 26779 ac_cv_lib_Xplugin_xp_init=no 26780fi 26781 26782rm -rf conftest.dSYM 26783rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26784 conftest$ac_exeext conftest.$ac_ext 26785LIBS=$ac_check_lib_save_LIBS 26786fi 26787{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xplugin_xp_init" >&5 26788$as_echo "$ac_cv_lib_Xplugin_xp_init" >&6; } 26789if test "x$ac_cv_lib_Xplugin_xp_init" = x""yes; then 26790 : 26791fi 26792 26793 26794 CFLAGS="${CFLAGS} -DROOTLESS_WORKAROUND -DNO_ALLOCA" 26795 26796 26797pkg_failed=no 26798{ $as_echo "$as_me:$LINENO: checking for XPBPROXY" >&5 26799$as_echo_n "checking for XPBPROXY... " >&6; } 26800 26801if test -n "$PKG_CONFIG"; then 26802 if test -n "$XPBPROXY_CFLAGS"; then 26803 pkg_cv_XPBPROXY_CFLAGS="$XPBPROXY_CFLAGS" 26804 else 26805 if test -n "$PKG_CONFIG" && \ 26806 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11\"") >&5 26807 ($PKG_CONFIG --exists --print-errors "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11") 2>&5 26808 ac_status=$? 26809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26810 (exit $ac_status); }; then 26811 pkg_cv_XPBPROXY_CFLAGS=`$PKG_CONFIG --cflags "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11" 2>/dev/null` 26812else 26813 pkg_failed=yes 26814fi 26815 fi 26816else 26817 pkg_failed=untried 26818fi 26819if test -n "$PKG_CONFIG"; then 26820 if test -n "$XPBPROXY_LIBS"; then 26821 pkg_cv_XPBPROXY_LIBS="$XPBPROXY_LIBS" 26822 else 26823 if test -n "$PKG_CONFIG" && \ 26824 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11\"") >&5 26825 ($PKG_CONFIG --exists --print-errors "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11") 2>&5 26826 ac_status=$? 26827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 26828 (exit $ac_status); }; then 26829 pkg_cv_XPBPROXY_LIBS=`$PKG_CONFIG --libs "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11" 2>/dev/null` 26830else 26831 pkg_failed=yes 26832fi 26833 fi 26834else 26835 pkg_failed=untried 26836fi 26837 26838 26839 26840if test $pkg_failed = yes; then 26841 26842if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 26843 _pkg_short_errors_supported=yes 26844else 26845 _pkg_short_errors_supported=no 26846fi 26847 if test $_pkg_short_errors_supported = yes; then 26848 XPBPROXY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11"` 26849 else 26850 XPBPROXY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11"` 26851 fi 26852 # Put the nasty error message in config.log where it belongs 26853 echo "$XPBPROXY_PKG_ERRORS" >&5 26854 26855 { { $as_echo "$as_me:$LINENO: error: Package requirements (applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11) were not met: 26856 26857$XPBPROXY_PKG_ERRORS 26858 26859Consider adjusting the PKG_CONFIG_PATH environment variable if you 26860installed software in a non-standard prefix. 26861 26862Alternatively, you may set the environment variables XPBPROXY_CFLAGS 26863and XPBPROXY_LIBS to avoid the need to call pkg-config. 26864See the pkg-config man page for more details. 26865" >&5 26866$as_echo "$as_me: error: Package requirements (applewmproto >= 1.1.1 applewm >= 1.0.0 xfixes fixesproto x11) were not met: 26867 26868$XPBPROXY_PKG_ERRORS 26869 26870Consider adjusting the PKG_CONFIG_PATH environment variable if you 26871installed software in a non-standard prefix. 26872 26873Alternatively, you may set the environment variables XPBPROXY_CFLAGS 26874and XPBPROXY_LIBS to avoid the need to call pkg-config. 26875See the pkg-config man page for more details. 26876" >&2;} 26877 { (exit 1); exit 1; }; } 26878elif test $pkg_failed = untried; then 26879 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 26880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 26881{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 26882is in your PATH or set the PKG_CONFIG environment variable to the full 26883path to pkg-config. 26884 26885Alternatively, you may set the environment variables XPBPROXY_CFLAGS 26886and XPBPROXY_LIBS to avoid the need to call pkg-config. 26887See the pkg-config man page for more details. 26888 26889To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26890See \`config.log' for more details." >&5 26891$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 26892is in your PATH or set the PKG_CONFIG environment variable to the full 26893path to pkg-config. 26894 26895Alternatively, you may set the environment variables XPBPROXY_CFLAGS 26896and XPBPROXY_LIBS to avoid the need to call pkg-config. 26897See the pkg-config man page for more details. 26898 26899To get pkg-config, see <http://pkg-config.freedesktop.org/>. 26900See \`config.log' for more details." >&2;} 26901 { (exit 1); exit 1; }; }; } 26902else 26903 XPBPROXY_CFLAGS=$pkg_cv_XPBPROXY_CFLAGS 26904 XPBPROXY_LIBS=$pkg_cv_XPBPROXY_LIBS 26905 { $as_echo "$as_me:$LINENO: result: yes" >&5 26906$as_echo "yes" >&6; } 26907 : 26908fi 26909 26910 if test "x$STANDALONE_XPBPROXY" = xyes ; then 26911 26912cat >>confdefs.h <<\_ACEOF 26913#define STANDALONE_XPBPROXY 1 26914_ACEOF 26915 26916 fi 26917fi 26918 26919# Support for objc in autotools is minimal and not documented. 26920OBJC='$(CC)' 26921OBJCLD='$(CCLD)' 26922OBJCLINK='$(LINK)' 26923OBJCFLAGS='$(CFLAGS)' 26924 26925 26926 26927 26928# internal, undocumented automake func follows :( 26929 26930depcc="$OBJC" am_compiler_list='gcc3 gcc' 26931 26932{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 26933$as_echo_n "checking dependency style of $depcc... " >&6; } 26934if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then 26935 $as_echo_n "(cached) " >&6 26936else 26937 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 26938 # We make a subdir and do the tests there. Otherwise we can end up 26939 # making bogus files that we don't know about and never remove. For 26940 # instance it was reported that on HP-UX the gcc test will end up 26941 # making a dummy file named `D' -- because `-MD' means `put the output 26942 # in D'. 26943 mkdir conftest.dir 26944 # Copy depcomp to subdir because otherwise we won't find it if we're 26945 # using a relative directory. 26946 cp "$am_depcomp" conftest.dir 26947 cd conftest.dir 26948 # We will build objects and dependencies in a subdirectory because 26949 # it helps to detect inapplicable dependency modes. For instance 26950 # both Tru64's cc and ICC support -MD to output dependencies as a 26951 # side effect of compilation, but ICC will put the dependencies in 26952 # the current directory while Tru64 will put them in the object 26953 # directory. 26954 mkdir sub 26955 26956 am_cv_OBJC_dependencies_compiler_type=none 26957 if test "$am_compiler_list" = ""; then 26958 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 26959 fi 26960 for depmode in $am_compiler_list; do 26961 # Setup a source with many dependencies, because some compilers 26962 # like to wrap large dependency lists on column 80 (with \), and 26963 # we should not choose a depcomp mode which is confused by this. 26964 # 26965 # We need to recreate these files for each test, as the compiler may 26966 # overwrite some of them when testing with obscure command lines. 26967 # This happens at least with the AIX C compiler. 26968 : > sub/conftest.c 26969 for i in 1 2 3 4 5 6; do 26970 echo '#include "conftst'$i'.h"' >> sub/conftest.c 26971 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 26972 # Solaris 8's {/usr,}/bin/sh. 26973 touch sub/conftst$i.h 26974 done 26975 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 26976 26977 case $depmode in 26978 nosideeffect) 26979 # after this tag, mechanisms are not by side-effect, so they'll 26980 # only be used when explicitly requested 26981 if test "x$enable_dependency_tracking" = xyes; then 26982 continue 26983 else 26984 break 26985 fi 26986 ;; 26987 none) break ;; 26988 esac 26989 # We check with `-c' and `-o' for the sake of the "dashmstdout" 26990 # mode. It turns out that the SunPro C++ compiler does not properly 26991 # handle `-M -o', and we need to detect this. 26992 if depmode=$depmode \ 26993 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 26994 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 26995 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 26996 >/dev/null 2>conftest.err && 26997 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 26998 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 26999 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 27000 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 27001 # icc doesn't choke on unknown options, it will just issue warnings 27002 # or remarks (even with -Werror). So we grep stderr for any message 27003 # that says an option was ignored or not supported. 27004 # When given -MP, icc 7.0 and 7.1 complain thusly: 27005 # icc: Command line warning: ignoring option '-M'; no argument required 27006 # The diagnosis changed in icc 8.0: 27007 # icc: Command line remark: option '-MP' not supported 27008 if (grep 'ignoring option' conftest.err || 27009 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 27010 am_cv_OBJC_dependencies_compiler_type=$depmode 27011 break 27012 fi 27013 fi 27014 done 27015 27016 cd .. 27017 rm -rf conftest.dir 27018else 27019 am_cv_OBJC_dependencies_compiler_type=none 27020fi 27021 27022fi 27023{ $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5 27024$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } 27025OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type 27026 27027 if 27028 test "x$enable_dependency_tracking" != xno \ 27029 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then 27030 am__fastdepOBJC_TRUE= 27031 am__fastdepOBJC_FALSE='#' 27032else 27033 am__fastdepOBJC_TRUE='#' 27034 am__fastdepOBJC_FALSE= 27035fi 27036 27037 27038 if test "x$ac_cv_lib_Xplugin_xp_init" = xyes; then 27039 HAVE_XPLUGIN_TRUE= 27040 HAVE_XPLUGIN_FALSE='#' 27041else 27042 HAVE_XPLUGIN_TRUE='#' 27043 HAVE_XPLUGIN_FALSE= 27044fi 27045 27046 if test "x$xorg_cv_AGL_framework" = xyes; then 27047 HAVE_AGL_FRAMEWORK_TRUE= 27048 HAVE_AGL_FRAMEWORK_FALSE='#' 27049else 27050 HAVE_AGL_FRAMEWORK_TRUE='#' 27051 HAVE_AGL_FRAMEWORK_FALSE= 27052fi 27053 27054 if test "x$XQUARTZ" = xyes; then 27055 XQUARTZ_TRUE= 27056 XQUARTZ_FALSE='#' 27057else 27058 XQUARTZ_TRUE='#' 27059 XQUARTZ_FALSE= 27060fi 27061 27062 if test "x$STANDALONE_XPBPROXY" = xyes; then 27063 STANDALONE_XPBPROXY_TRUE= 27064 STANDALONE_XPBPROXY_FALSE='#' 27065else 27066 STANDALONE_XPBPROXY_TRUE='#' 27067 STANDALONE_XPBPROXY_FALSE= 27068fi 27069 27070 27071 27072 27073pkg_failed=no 27074{ $as_echo "$as_me:$LINENO: checking for DMXMODULES" >&5 27075$as_echo_n "checking for DMXMODULES... " >&6; } 27076 27077if test -n "$PKG_CONFIG"; then 27078 if test -n "$DMXMODULES_CFLAGS"; then 27079 pkg_cv_DMXMODULES_CFLAGS="$DMXMODULES_CFLAGS" 27080 else 27081 if test -n "$PKG_CONFIG" && \ 27082 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu xext x11 xrender xfixes xfont xi dmxproto xau \$XDMCP_MODULES\"") >&5 27083 ($PKG_CONFIG --exists --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES") 2>&5 27084 ac_status=$? 27085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27086 (exit $ac_status); }; then 27087 pkg_cv_DMXMODULES_CFLAGS=`$PKG_CONFIG --cflags "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES" 2>/dev/null` 27088else 27089 pkg_failed=yes 27090fi 27091 fi 27092else 27093 pkg_failed=untried 27094fi 27095if test -n "$PKG_CONFIG"; then 27096 if test -n "$DMXMODULES_LIBS"; then 27097 pkg_cv_DMXMODULES_LIBS="$DMXMODULES_LIBS" 27098 else 27099 if test -n "$PKG_CONFIG" && \ 27100 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xmuu xext x11 xrender xfixes xfont xi dmxproto xau \$XDMCP_MODULES\"") >&5 27101 ($PKG_CONFIG --exists --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES") 2>&5 27102 ac_status=$? 27103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27104 (exit $ac_status); }; then 27105 pkg_cv_DMXMODULES_LIBS=`$PKG_CONFIG --libs "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES" 2>/dev/null` 27106else 27107 pkg_failed=yes 27108fi 27109 fi 27110else 27111 pkg_failed=untried 27112fi 27113 27114 27115 27116if test $pkg_failed = yes; then 27117 27118if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27119 _pkg_short_errors_supported=yes 27120else 27121 _pkg_short_errors_supported=no 27122fi 27123 if test $_pkg_short_errors_supported = yes; then 27124 DMXMODULES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES"` 27125 else 27126 DMXMODULES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xmuu xext x11 xrender xfixes xfont xi dmxproto xau $XDMCP_MODULES"` 27127 fi 27128 # Put the nasty error message in config.log where it belongs 27129 echo "$DMXMODULES_PKG_ERRORS" >&5 27130 27131 { $as_echo "$as_me:$LINENO: result: no" >&5 27132$as_echo "no" >&6; } 27133 have_dmx=no 27134elif test $pkg_failed = untried; then 27135 have_dmx=no 27136else 27137 DMXMODULES_CFLAGS=$pkg_cv_DMXMODULES_CFLAGS 27138 DMXMODULES_LIBS=$pkg_cv_DMXMODULES_LIBS 27139 { $as_echo "$as_me:$LINENO: result: yes" >&5 27140$as_echo "yes" >&6; } 27141 have_dmx=yes 27142fi 27143{ $as_echo "$as_me:$LINENO: checking whether to build Xdmx DDX" >&5 27144$as_echo_n "checking whether to build Xdmx DDX... " >&6; } 27145if test "x$DMX" = xauto; then 27146 DMX="$have_dmx" 27147 case $host_os in 27148 cygwin*) DMX="no" ;; 27149 darwin*) DMX="no" ;; 27150 esac 27151fi 27152{ $as_echo "$as_me:$LINENO: result: $DMX" >&5 27153$as_echo "$DMX" >&6; } 27154 if test "x$DMX" = xyes; then 27155 DMX_TRUE= 27156 DMX_FALSE='#' 27157else 27158 DMX_TRUE='#' 27159 DMX_FALSE= 27160fi 27161 27162 27163if test "x$DMX" = xyes; then 27164 if test "x$have_dmx" = xno; then 27165 { { $as_echo "$as_me:$LINENO: error: Xdmx build explicitly requested, but required 27166 modules not found." >&5 27167$as_echo "$as_me: error: Xdmx build explicitly requested, but required 27168 modules not found." >&2;} 27169 { (exit 1); exit 1; }; } 27170 fi 27171 DMX_INCLUDES="$XEXT_INC $RENDER_INC $RECORD_INC" 27172 XDMX_CFLAGS="$DMXMODULES_CFLAGS" 27173 XDMX_LIBS="$XEXT_LIB $FB_LIB $CONFIG_LIB $RENDER_LIB $RECORD_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $MIEXT_SHADOW_LIB $MIEXT_DAMAGE_LIB" 27174 XDMX_SYS_LIBS="$DMXMODULES_LIBS" 27175 27176 27177 27178 27179 if test "${ac_cv_header_linux_input_h+set}" = set; then 27180 { $as_echo "$as_me:$LINENO: checking for linux/input.h" >&5 27181$as_echo_n "checking for linux/input.h... " >&6; } 27182if test "${ac_cv_header_linux_input_h+set}" = set; then 27183 $as_echo_n "(cached) " >&6 27184fi 27185{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_input_h" >&5 27186$as_echo "$ac_cv_header_linux_input_h" >&6; } 27187else 27188 # Is the header compilable? 27189{ $as_echo "$as_me:$LINENO: checking linux/input.h usability" >&5 27190$as_echo_n "checking linux/input.h usability... " >&6; } 27191cat >conftest.$ac_ext <<_ACEOF 27192/* confdefs.h. */ 27193_ACEOF 27194cat confdefs.h >>conftest.$ac_ext 27195cat >>conftest.$ac_ext <<_ACEOF 27196/* end confdefs.h. */ 27197$ac_includes_default 27198#include <linux/input.h> 27199_ACEOF 27200rm -f conftest.$ac_objext 27201if { (ac_try="$ac_compile" 27202case "(($ac_try" in 27203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27204 *) ac_try_echo=$ac_try;; 27205esac 27206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27207$as_echo "$ac_try_echo") >&5 27208 (eval "$ac_compile") 2>conftest.er1 27209 ac_status=$? 27210 grep -v '^ *+' conftest.er1 >conftest.err 27211 rm -f conftest.er1 27212 cat conftest.err >&5 27213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27214 (exit $ac_status); } && { 27215 test -z "$ac_c_werror_flag" || 27216 test ! -s conftest.err 27217 } && test -s conftest.$ac_objext; then 27218 ac_header_compiler=yes 27219else 27220 $as_echo "$as_me: failed program was:" >&5 27221sed 's/^/| /' conftest.$ac_ext >&5 27222 27223 ac_header_compiler=no 27224fi 27225 27226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27227{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 27228$as_echo "$ac_header_compiler" >&6; } 27229 27230# Is the header present? 27231{ $as_echo "$as_me:$LINENO: checking linux/input.h presence" >&5 27232$as_echo_n "checking linux/input.h presence... " >&6; } 27233cat >conftest.$ac_ext <<_ACEOF 27234/* confdefs.h. */ 27235_ACEOF 27236cat confdefs.h >>conftest.$ac_ext 27237cat >>conftest.$ac_ext <<_ACEOF 27238/* end confdefs.h. */ 27239#include <linux/input.h> 27240_ACEOF 27241if { (ac_try="$ac_cpp conftest.$ac_ext" 27242case "(($ac_try" in 27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27244 *) ac_try_echo=$ac_try;; 27245esac 27246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27247$as_echo "$ac_try_echo") >&5 27248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 27249 ac_status=$? 27250 grep -v '^ *+' conftest.er1 >conftest.err 27251 rm -f conftest.er1 27252 cat conftest.err >&5 27253 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27254 (exit $ac_status); } >/dev/null && { 27255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 27256 test ! -s conftest.err 27257 }; then 27258 ac_header_preproc=yes 27259else 27260 $as_echo "$as_me: failed program was:" >&5 27261sed 's/^/| /' conftest.$ac_ext >&5 27262 27263 ac_header_preproc=no 27264fi 27265 27266rm -f conftest.err conftest.$ac_ext 27267{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 27268$as_echo "$ac_header_preproc" >&6; } 27269 27270# So? What about this header? 27271case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 27272 yes:no: ) 27273 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: accepted by the compiler, rejected by the preprocessor!" >&5 27274$as_echo "$as_me: WARNING: linux/input.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 27275 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: proceeding with the compiler's result" >&5 27276$as_echo "$as_me: WARNING: linux/input.h: proceeding with the compiler's result" >&2;} 27277 ac_header_preproc=yes 27278 ;; 27279 no:yes:* ) 27280 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: present but cannot be compiled" >&5 27281$as_echo "$as_me: WARNING: linux/input.h: present but cannot be compiled" >&2;} 27282 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: check for missing prerequisite headers?" >&5 27283$as_echo "$as_me: WARNING: linux/input.h: check for missing prerequisite headers?" >&2;} 27284 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: see the Autoconf documentation" >&5 27285$as_echo "$as_me: WARNING: linux/input.h: see the Autoconf documentation" >&2;} 27286 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: section \"Present But Cannot Be Compiled\"" >&5 27287$as_echo "$as_me: WARNING: linux/input.h: section \"Present But Cannot Be Compiled\"" >&2;} 27288 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: proceeding with the preprocessor's result" >&5 27289$as_echo "$as_me: WARNING: linux/input.h: proceeding with the preprocessor's result" >&2;} 27290 { $as_echo "$as_me:$LINENO: WARNING: linux/input.h: in the future, the compiler will take precedence" >&5 27291$as_echo "$as_me: WARNING: linux/input.h: in the future, the compiler will take precedence" >&2;} 27292 ( cat <<\_ASBOX 27293## ---------------------------------------------------------------------- ## 27294## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 27295## ---------------------------------------------------------------------- ## 27296_ASBOX 27297 ) | sed "s/^/$as_me: WARNING: /" >&2 27298 ;; 27299esac 27300{ $as_echo "$as_me:$LINENO: checking for linux/input.h" >&5 27301$as_echo_n "checking for linux/input.h... " >&6; } 27302if test "${ac_cv_header_linux_input_h+set}" = set; then 27303 $as_echo_n "(cached) " >&6 27304else 27305 ac_cv_header_linux_input_h=$ac_header_preproc 27306fi 27307{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_input_h" >&5 27308$as_echo "$ac_cv_header_linux_input_h" >&6; } 27309 27310fi 27311if test "x$ac_cv_header_linux_input_h" = x""yes; then 27312 DMX_BUILD_USB="yes" 27313else 27314 DMX_BUILD_USB="no" 27315fi 27316 27317 27318 if test "${ac_cv_header_linux_keyboard_h+set}" = set; then 27319 { $as_echo "$as_me:$LINENO: checking for linux/keyboard.h" >&5 27320$as_echo_n "checking for linux/keyboard.h... " >&6; } 27321if test "${ac_cv_header_linux_keyboard_h+set}" = set; then 27322 $as_echo_n "(cached) " >&6 27323fi 27324{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_keyboard_h" >&5 27325$as_echo "$ac_cv_header_linux_keyboard_h" >&6; } 27326else 27327 # Is the header compilable? 27328{ $as_echo "$as_me:$LINENO: checking linux/keyboard.h usability" >&5 27329$as_echo_n "checking linux/keyboard.h usability... " >&6; } 27330cat >conftest.$ac_ext <<_ACEOF 27331/* confdefs.h. */ 27332_ACEOF 27333cat confdefs.h >>conftest.$ac_ext 27334cat >>conftest.$ac_ext <<_ACEOF 27335/* end confdefs.h. */ 27336$ac_includes_default 27337#include <linux/keyboard.h> 27338_ACEOF 27339rm -f conftest.$ac_objext 27340if { (ac_try="$ac_compile" 27341case "(($ac_try" in 27342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27343 *) ac_try_echo=$ac_try;; 27344esac 27345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27346$as_echo "$ac_try_echo") >&5 27347 (eval "$ac_compile") 2>conftest.er1 27348 ac_status=$? 27349 grep -v '^ *+' conftest.er1 >conftest.err 27350 rm -f conftest.er1 27351 cat conftest.err >&5 27352 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27353 (exit $ac_status); } && { 27354 test -z "$ac_c_werror_flag" || 27355 test ! -s conftest.err 27356 } && test -s conftest.$ac_objext; then 27357 ac_header_compiler=yes 27358else 27359 $as_echo "$as_me: failed program was:" >&5 27360sed 's/^/| /' conftest.$ac_ext >&5 27361 27362 ac_header_compiler=no 27363fi 27364 27365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27366{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 27367$as_echo "$ac_header_compiler" >&6; } 27368 27369# Is the header present? 27370{ $as_echo "$as_me:$LINENO: checking linux/keyboard.h presence" >&5 27371$as_echo_n "checking linux/keyboard.h presence... " >&6; } 27372cat >conftest.$ac_ext <<_ACEOF 27373/* confdefs.h. */ 27374_ACEOF 27375cat confdefs.h >>conftest.$ac_ext 27376cat >>conftest.$ac_ext <<_ACEOF 27377/* end confdefs.h. */ 27378#include <linux/keyboard.h> 27379_ACEOF 27380if { (ac_try="$ac_cpp conftest.$ac_ext" 27381case "(($ac_try" in 27382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27383 *) ac_try_echo=$ac_try;; 27384esac 27385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 27386$as_echo "$ac_try_echo") >&5 27387 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 27388 ac_status=$? 27389 grep -v '^ *+' conftest.er1 >conftest.err 27390 rm -f conftest.er1 27391 cat conftest.err >&5 27392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27393 (exit $ac_status); } >/dev/null && { 27394 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 27395 test ! -s conftest.err 27396 }; then 27397 ac_header_preproc=yes 27398else 27399 $as_echo "$as_me: failed program was:" >&5 27400sed 's/^/| /' conftest.$ac_ext >&5 27401 27402 ac_header_preproc=no 27403fi 27404 27405rm -f conftest.err conftest.$ac_ext 27406{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 27407$as_echo "$ac_header_preproc" >&6; } 27408 27409# So? What about this header? 27410case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 27411 yes:no: ) 27412 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: accepted by the compiler, rejected by the preprocessor!" >&5 27413$as_echo "$as_me: WARNING: linux/keyboard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 27414 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: proceeding with the compiler's result" >&5 27415$as_echo "$as_me: WARNING: linux/keyboard.h: proceeding with the compiler's result" >&2;} 27416 ac_header_preproc=yes 27417 ;; 27418 no:yes:* ) 27419 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: present but cannot be compiled" >&5 27420$as_echo "$as_me: WARNING: linux/keyboard.h: present but cannot be compiled" >&2;} 27421 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: check for missing prerequisite headers?" >&5 27422$as_echo "$as_me: WARNING: linux/keyboard.h: check for missing prerequisite headers?" >&2;} 27423 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: see the Autoconf documentation" >&5 27424$as_echo "$as_me: WARNING: linux/keyboard.h: see the Autoconf documentation" >&2;} 27425 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: section \"Present But Cannot Be Compiled\"" >&5 27426$as_echo "$as_me: WARNING: linux/keyboard.h: section \"Present But Cannot Be Compiled\"" >&2;} 27427 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: proceeding with the preprocessor's result" >&5 27428$as_echo "$as_me: WARNING: linux/keyboard.h: proceeding with the preprocessor's result" >&2;} 27429 { $as_echo "$as_me:$LINENO: WARNING: linux/keyboard.h: in the future, the compiler will take precedence" >&5 27430$as_echo "$as_me: WARNING: linux/keyboard.h: in the future, the compiler will take precedence" >&2;} 27431 ( cat <<\_ASBOX 27432## ---------------------------------------------------------------------- ## 27433## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 27434## ---------------------------------------------------------------------- ## 27435_ASBOX 27436 ) | sed "s/^/$as_me: WARNING: /" >&2 27437 ;; 27438esac 27439{ $as_echo "$as_me:$LINENO: checking for linux/keyboard.h" >&5 27440$as_echo_n "checking for linux/keyboard.h... " >&6; } 27441if test "${ac_cv_header_linux_keyboard_h+set}" = set; then 27442 $as_echo_n "(cached) " >&6 27443else 27444 ac_cv_header_linux_keyboard_h=$ac_header_preproc 27445fi 27446{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_keyboard_h" >&5 27447$as_echo "$ac_cv_header_linux_keyboard_h" >&6; } 27448 27449fi 27450if test "x$ac_cv_header_linux_keyboard_h" = x""yes; then 27451 DMX_BUILD_LNX="yes" 27452else 27453 DMX_BUILD_LNX="no" 27454fi 27455 27456 27457 if test "x$GLX" = xyes; then 27458 27459pkg_failed=no 27460{ $as_echo "$as_me:$LINENO: checking for GL" >&5 27461$as_echo_n "checking for GL... " >&6; } 27462 27463if test -n "$PKG_CONFIG"; then 27464 if test -n "$GL_CFLAGS"; then 27465 pkg_cv_GL_CFLAGS="$GL_CFLAGS" 27466 else 27467 if test -n "$PKG_CONFIG" && \ 27468 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto\"") >&5 27469 ($PKG_CONFIG --exists --print-errors "glproto") 2>&5 27470 ac_status=$? 27471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27472 (exit $ac_status); }; then 27473 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "glproto" 2>/dev/null` 27474else 27475 pkg_failed=yes 27476fi 27477 fi 27478else 27479 pkg_failed=untried 27480fi 27481if test -n "$PKG_CONFIG"; then 27482 if test -n "$GL_LIBS"; then 27483 pkg_cv_GL_LIBS="$GL_LIBS" 27484 else 27485 if test -n "$PKG_CONFIG" && \ 27486 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glproto\"") >&5 27487 ($PKG_CONFIG --exists --print-errors "glproto") 2>&5 27488 ac_status=$? 27489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27490 (exit $ac_status); }; then 27491 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "glproto" 2>/dev/null` 27492else 27493 pkg_failed=yes 27494fi 27495 fi 27496else 27497 pkg_failed=untried 27498fi 27499 27500 27501 27502if test $pkg_failed = yes; then 27503 27504if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27505 _pkg_short_errors_supported=yes 27506else 27507 _pkg_short_errors_supported=no 27508fi 27509 if test $_pkg_short_errors_supported = yes; then 27510 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glproto"` 27511 else 27512 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glproto"` 27513 fi 27514 # Put the nasty error message in config.log where it belongs 27515 echo "$GL_PKG_ERRORS" >&5 27516 27517 { { $as_echo "$as_me:$LINENO: error: Package requirements (glproto) were not met: 27518 27519$GL_PKG_ERRORS 27520 27521Consider adjusting the PKG_CONFIG_PATH environment variable if you 27522installed software in a non-standard prefix. 27523 27524Alternatively, you may set the environment variables GL_CFLAGS 27525and GL_LIBS to avoid the need to call pkg-config. 27526See the pkg-config man page for more details. 27527" >&5 27528$as_echo "$as_me: error: Package requirements (glproto) were not met: 27529 27530$GL_PKG_ERRORS 27531 27532Consider adjusting the PKG_CONFIG_PATH environment variable if you 27533installed software in a non-standard prefix. 27534 27535Alternatively, you may set the environment variables GL_CFLAGS 27536and GL_LIBS to avoid the need to call pkg-config. 27537See the pkg-config man page for more details. 27538" >&2;} 27539 { (exit 1); exit 1; }; } 27540elif test $pkg_failed = untried; then 27541 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27543{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 27544is in your PATH or set the PKG_CONFIG environment variable to the full 27545path to pkg-config. 27546 27547Alternatively, you may set the environment variables GL_CFLAGS 27548and GL_LIBS to avoid the need to call pkg-config. 27549See the pkg-config man page for more details. 27550 27551To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27552See \`config.log' for more details." >&5 27553$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 27554is in your PATH or set the PKG_CONFIG environment variable to the full 27555path to pkg-config. 27556 27557Alternatively, you may set the environment variables GL_CFLAGS 27558and GL_LIBS to avoid the need to call pkg-config. 27559See the pkg-config man page for more details. 27560 27561To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27562See \`config.log' for more details." >&2;} 27563 { (exit 1); exit 1; }; }; } 27564else 27565 GL_CFLAGS=$pkg_cv_GL_CFLAGS 27566 GL_LIBS=$pkg_cv_GL_LIBS 27567 { $as_echo "$as_me:$LINENO: result: yes" >&5 27568$as_echo "yes" >&6; } 27569 : 27570fi 27571 fi 27572 27573pkg_failed=no 27574{ $as_echo "$as_me:$LINENO: checking for XDMXCONFIG_DEP" >&5 27575$as_echo_n "checking for XDMXCONFIG_DEP... " >&6; } 27576 27577if test -n "$PKG_CONFIG"; then 27578 if test -n "$XDMXCONFIG_DEP_CFLAGS"; then 27579 pkg_cv_XDMXCONFIG_DEP_CFLAGS="$XDMXCONFIG_DEP_CFLAGS" 27580 else 27581 if test -n "$PKG_CONFIG" && \ 27582 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\"") >&5 27583 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5 27584 ac_status=$? 27585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27586 (exit $ac_status); }; then 27587 pkg_cv_XDMXCONFIG_DEP_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt xpm x11" 2>/dev/null` 27588else 27589 pkg_failed=yes 27590fi 27591 fi 27592else 27593 pkg_failed=untried 27594fi 27595if test -n "$PKG_CONFIG"; then 27596 if test -n "$XDMXCONFIG_DEP_LIBS"; then 27597 pkg_cv_XDMXCONFIG_DEP_LIBS="$XDMXCONFIG_DEP_LIBS" 27598 else 27599 if test -n "$PKG_CONFIG" && \ 27600 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt xpm x11\"") >&5 27601 ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt xpm x11") 2>&5 27602 ac_status=$? 27603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27604 (exit $ac_status); }; then 27605 pkg_cv_XDMXCONFIG_DEP_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt xpm x11" 2>/dev/null` 27606else 27607 pkg_failed=yes 27608fi 27609 fi 27610else 27611 pkg_failed=untried 27612fi 27613 27614 27615 27616if test $pkg_failed = yes; then 27617 27618if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27619 _pkg_short_errors_supported=yes 27620else 27621 _pkg_short_errors_supported=no 27622fi 27623 if test $_pkg_short_errors_supported = yes; then 27624 XDMXCONFIG_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xaw7 xmu xt xpm x11"` 27625 else 27626 XDMXCONFIG_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xaw7 xmu xt xpm x11"` 27627 fi 27628 # Put the nasty error message in config.log where it belongs 27629 echo "$XDMXCONFIG_DEP_PKG_ERRORS" >&5 27630 27631 { { $as_echo "$as_me:$LINENO: error: Package requirements (xaw7 xmu xt xpm x11) were not met: 27632 27633$XDMXCONFIG_DEP_PKG_ERRORS 27634 27635Consider adjusting the PKG_CONFIG_PATH environment variable if you 27636installed software in a non-standard prefix. 27637 27638Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS 27639and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config. 27640See the pkg-config man page for more details. 27641" >&5 27642$as_echo "$as_me: error: Package requirements (xaw7 xmu xt xpm x11) were not met: 27643 27644$XDMXCONFIG_DEP_PKG_ERRORS 27645 27646Consider adjusting the PKG_CONFIG_PATH environment variable if you 27647installed software in a non-standard prefix. 27648 27649Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS 27650and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config. 27651See the pkg-config man page for more details. 27652" >&2;} 27653 { (exit 1); exit 1; }; } 27654elif test $pkg_failed = untried; then 27655 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27656$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27657{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 27658is in your PATH or set the PKG_CONFIG environment variable to the full 27659path to pkg-config. 27660 27661Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS 27662and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config. 27663See the pkg-config man page for more details. 27664 27665To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27666See \`config.log' for more details." >&5 27667$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 27668is in your PATH or set the PKG_CONFIG environment variable to the full 27669path to pkg-config. 27670 27671Alternatively, you may set the environment variables XDMXCONFIG_DEP_CFLAGS 27672and XDMXCONFIG_DEP_LIBS to avoid the need to call pkg-config. 27673See the pkg-config man page for more details. 27674 27675To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27676See \`config.log' for more details." >&2;} 27677 { (exit 1); exit 1; }; }; } 27678else 27679 XDMXCONFIG_DEP_CFLAGS=$pkg_cv_XDMXCONFIG_DEP_CFLAGS 27680 XDMXCONFIG_DEP_LIBS=$pkg_cv_XDMXCONFIG_DEP_LIBS 27681 { $as_echo "$as_me:$LINENO: result: yes" >&5 27682$as_echo "yes" >&6; } 27683 : 27684fi 27685 27686 27687 27688pkg_failed=no 27689{ $as_echo "$as_me:$LINENO: checking for DMXEXAMPLES_DEP" >&5 27690$as_echo_n "checking for DMXEXAMPLES_DEP... " >&6; } 27691 27692if test -n "$PKG_CONFIG"; then 27693 if test -n "$DMXEXAMPLES_DEP_CFLAGS"; then 27694 pkg_cv_DMXEXAMPLES_DEP_CFLAGS="$DMXEXAMPLES_DEP_CFLAGS" 27695 else 27696 if test -n "$PKG_CONFIG" && \ 27697 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xext x11\"") >&5 27698 ($PKG_CONFIG --exists --print-errors "dmx xext x11") 2>&5 27699 ac_status=$? 27700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27701 (exit $ac_status); }; then 27702 pkg_cv_DMXEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "dmx xext x11" 2>/dev/null` 27703else 27704 pkg_failed=yes 27705fi 27706 fi 27707else 27708 pkg_failed=untried 27709fi 27710if test -n "$PKG_CONFIG"; then 27711 if test -n "$DMXEXAMPLES_DEP_LIBS"; then 27712 pkg_cv_DMXEXAMPLES_DEP_LIBS="$DMXEXAMPLES_DEP_LIBS" 27713 else 27714 if test -n "$PKG_CONFIG" && \ 27715 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xext x11\"") >&5 27716 ($PKG_CONFIG --exists --print-errors "dmx xext x11") 2>&5 27717 ac_status=$? 27718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27719 (exit $ac_status); }; then 27720 pkg_cv_DMXEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "dmx xext x11" 2>/dev/null` 27721else 27722 pkg_failed=yes 27723fi 27724 fi 27725else 27726 pkg_failed=untried 27727fi 27728 27729 27730 27731if test $pkg_failed = yes; then 27732 27733if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27734 _pkg_short_errors_supported=yes 27735else 27736 _pkg_short_errors_supported=no 27737fi 27738 if test $_pkg_short_errors_supported = yes; then 27739 DMXEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xext x11"` 27740 else 27741 DMXEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xext x11"` 27742 fi 27743 # Put the nasty error message in config.log where it belongs 27744 echo "$DMXEXAMPLES_DEP_PKG_ERRORS" >&5 27745 27746 { { $as_echo "$as_me:$LINENO: error: Package requirements (dmx xext x11) were not met: 27747 27748$DMXEXAMPLES_DEP_PKG_ERRORS 27749 27750Consider adjusting the PKG_CONFIG_PATH environment variable if you 27751installed software in a non-standard prefix. 27752 27753Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS 27754and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27755See the pkg-config man page for more details. 27756" >&5 27757$as_echo "$as_me: error: Package requirements (dmx xext x11) were not met: 27758 27759$DMXEXAMPLES_DEP_PKG_ERRORS 27760 27761Consider adjusting the PKG_CONFIG_PATH environment variable if you 27762installed software in a non-standard prefix. 27763 27764Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS 27765and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27766See the pkg-config man page for more details. 27767" >&2;} 27768 { (exit 1); exit 1; }; } 27769elif test $pkg_failed = untried; then 27770 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27771$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27772{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 27773is in your PATH or set the PKG_CONFIG environment variable to the full 27774path to pkg-config. 27775 27776Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS 27777and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27778See the pkg-config man page for more details. 27779 27780To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27781See \`config.log' for more details." >&5 27782$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 27783is in your PATH or set the PKG_CONFIG environment variable to the full 27784path to pkg-config. 27785 27786Alternatively, you may set the environment variables DMXEXAMPLES_DEP_CFLAGS 27787and DMXEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27788See the pkg-config man page for more details. 27789 27790To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27791See \`config.log' for more details." >&2;} 27792 { (exit 1); exit 1; }; }; } 27793else 27794 DMXEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXEXAMPLES_DEP_CFLAGS 27795 DMXEXAMPLES_DEP_LIBS=$pkg_cv_DMXEXAMPLES_DEP_LIBS 27796 { $as_echo "$as_me:$LINENO: result: yes" >&5 27797$as_echo "yes" >&6; } 27798 : 27799fi 27800 27801 27802pkg_failed=no 27803{ $as_echo "$as_me:$LINENO: checking for DMXXMUEXAMPLES_DEP" >&5 27804$as_echo_n "checking for DMXXMUEXAMPLES_DEP... " >&6; } 27805 27806if test -n "$PKG_CONFIG"; then 27807 if test -n "$DMXXMUEXAMPLES_DEP_CFLAGS"; then 27808 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS="$DMXXMUEXAMPLES_DEP_CFLAGS" 27809 else 27810 if test -n "$PKG_CONFIG" && \ 27811 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xmu xext x11\"") >&5 27812 ($PKG_CONFIG --exists --print-errors "dmx xmu xext x11") 2>&5 27813 ac_status=$? 27814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27815 (exit $ac_status); }; then 27816 pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "dmx xmu xext x11" 2>/dev/null` 27817else 27818 pkg_failed=yes 27819fi 27820 fi 27821else 27822 pkg_failed=untried 27823fi 27824if test -n "$PKG_CONFIG"; then 27825 if test -n "$DMXXMUEXAMPLES_DEP_LIBS"; then 27826 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS="$DMXXMUEXAMPLES_DEP_LIBS" 27827 else 27828 if test -n "$PKG_CONFIG" && \ 27829 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xmu xext x11\"") >&5 27830 ($PKG_CONFIG --exists --print-errors "dmx xmu xext x11") 2>&5 27831 ac_status=$? 27832 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27833 (exit $ac_status); }; then 27834 pkg_cv_DMXXMUEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "dmx xmu xext x11" 2>/dev/null` 27835else 27836 pkg_failed=yes 27837fi 27838 fi 27839else 27840 pkg_failed=untried 27841fi 27842 27843 27844 27845if test $pkg_failed = yes; then 27846 27847if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27848 _pkg_short_errors_supported=yes 27849else 27850 _pkg_short_errors_supported=no 27851fi 27852 if test $_pkg_short_errors_supported = yes; then 27853 DMXXMUEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xmu xext x11"` 27854 else 27855 DMXXMUEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xmu xext x11"` 27856 fi 27857 # Put the nasty error message in config.log where it belongs 27858 echo "$DMXXMUEXAMPLES_DEP_PKG_ERRORS" >&5 27859 27860 { { $as_echo "$as_me:$LINENO: error: Package requirements (dmx xmu xext x11) were not met: 27861 27862$DMXXMUEXAMPLES_DEP_PKG_ERRORS 27863 27864Consider adjusting the PKG_CONFIG_PATH environment variable if you 27865installed software in a non-standard prefix. 27866 27867Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS 27868and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27869See the pkg-config man page for more details. 27870" >&5 27871$as_echo "$as_me: error: Package requirements (dmx xmu xext x11) were not met: 27872 27873$DMXXMUEXAMPLES_DEP_PKG_ERRORS 27874 27875Consider adjusting the PKG_CONFIG_PATH environment variable if you 27876installed software in a non-standard prefix. 27877 27878Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS 27879and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27880See the pkg-config man page for more details. 27881" >&2;} 27882 { (exit 1); exit 1; }; } 27883elif test $pkg_failed = untried; then 27884 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27885$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27886{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 27887is in your PATH or set the PKG_CONFIG environment variable to the full 27888path to pkg-config. 27889 27890Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS 27891and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27892See the pkg-config man page for more details. 27893 27894To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27895See \`config.log' for more details." >&5 27896$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 27897is in your PATH or set the PKG_CONFIG environment variable to the full 27898path to pkg-config. 27899 27900Alternatively, you may set the environment variables DMXXMUEXAMPLES_DEP_CFLAGS 27901and DMXXMUEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27902See the pkg-config man page for more details. 27903 27904To get pkg-config, see <http://pkg-config.freedesktop.org/>. 27905See \`config.log' for more details." >&2;} 27906 { (exit 1); exit 1; }; }; } 27907else 27908 DMXXMUEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXXMUEXAMPLES_DEP_CFLAGS 27909 DMXXMUEXAMPLES_DEP_LIBS=$pkg_cv_DMXXMUEXAMPLES_DEP_LIBS 27910 { $as_echo "$as_me:$LINENO: result: yes" >&5 27911$as_echo "yes" >&6; } 27912 : 27913fi 27914 27915 27916pkg_failed=no 27917{ $as_echo "$as_me:$LINENO: checking for DMXXIEXAMPLES_DEP" >&5 27918$as_echo_n "checking for DMXXIEXAMPLES_DEP... " >&6; } 27919 27920if test -n "$PKG_CONFIG"; then 27921 if test -n "$DMXXIEXAMPLES_DEP_CFLAGS"; then 27922 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS="$DMXXIEXAMPLES_DEP_CFLAGS" 27923 else 27924 if test -n "$PKG_CONFIG" && \ 27925 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xi xext x11\"") >&5 27926 ($PKG_CONFIG --exists --print-errors "dmx xi xext x11") 2>&5 27927 ac_status=$? 27928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27929 (exit $ac_status); }; then 27930 pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "dmx xi xext x11" 2>/dev/null` 27931else 27932 pkg_failed=yes 27933fi 27934 fi 27935else 27936 pkg_failed=untried 27937fi 27938if test -n "$PKG_CONFIG"; then 27939 if test -n "$DMXXIEXAMPLES_DEP_LIBS"; then 27940 pkg_cv_DMXXIEXAMPLES_DEP_LIBS="$DMXXIEXAMPLES_DEP_LIBS" 27941 else 27942 if test -n "$PKG_CONFIG" && \ 27943 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dmx xi xext x11\"") >&5 27944 ($PKG_CONFIG --exists --print-errors "dmx xi xext x11") 2>&5 27945 ac_status=$? 27946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 27947 (exit $ac_status); }; then 27948 pkg_cv_DMXXIEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "dmx xi xext x11" 2>/dev/null` 27949else 27950 pkg_failed=yes 27951fi 27952 fi 27953else 27954 pkg_failed=untried 27955fi 27956 27957 27958 27959if test $pkg_failed = yes; then 27960 27961if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27962 _pkg_short_errors_supported=yes 27963else 27964 _pkg_short_errors_supported=no 27965fi 27966 if test $_pkg_short_errors_supported = yes; then 27967 DMXXIEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dmx xi xext x11"` 27968 else 27969 DMXXIEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dmx xi xext x11"` 27970 fi 27971 # Put the nasty error message in config.log where it belongs 27972 echo "$DMXXIEXAMPLES_DEP_PKG_ERRORS" >&5 27973 27974 { { $as_echo "$as_me:$LINENO: error: Package requirements (dmx xi xext x11) were not met: 27975 27976$DMXXIEXAMPLES_DEP_PKG_ERRORS 27977 27978Consider adjusting the PKG_CONFIG_PATH environment variable if you 27979installed software in a non-standard prefix. 27980 27981Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS 27982and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27983See the pkg-config man page for more details. 27984" >&5 27985$as_echo "$as_me: error: Package requirements (dmx xi xext x11) were not met: 27986 27987$DMXXIEXAMPLES_DEP_PKG_ERRORS 27988 27989Consider adjusting the PKG_CONFIG_PATH environment variable if you 27990installed software in a non-standard prefix. 27991 27992Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS 27993and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 27994See the pkg-config man page for more details. 27995" >&2;} 27996 { (exit 1); exit 1; }; } 27997elif test $pkg_failed = untried; then 27998 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 27999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28000{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 28001is in your PATH or set the PKG_CONFIG environment variable to the full 28002path to pkg-config. 28003 28004Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS 28005and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28006See the pkg-config man page for more details. 28007 28008To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28009See \`config.log' for more details." >&5 28010$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 28011is in your PATH or set the PKG_CONFIG environment variable to the full 28012path to pkg-config. 28013 28014Alternatively, you may set the environment variables DMXXIEXAMPLES_DEP_CFLAGS 28015and DMXXIEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28016See the pkg-config man page for more details. 28017 28018To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28019See \`config.log' for more details." >&2;} 28020 { (exit 1); exit 1; }; }; } 28021else 28022 DMXXIEXAMPLES_DEP_CFLAGS=$pkg_cv_DMXXIEXAMPLES_DEP_CFLAGS 28023 DMXXIEXAMPLES_DEP_LIBS=$pkg_cv_DMXXIEXAMPLES_DEP_LIBS 28024 { $as_echo "$as_me:$LINENO: result: yes" >&5 28025$as_echo "yes" >&6; } 28026 : 28027fi 28028 28029 28030pkg_failed=no 28031{ $as_echo "$as_me:$LINENO: checking for XTSTEXAMPLES_DEP" >&5 28032$as_echo_n "checking for XTSTEXAMPLES_DEP... " >&6; } 28033 28034if test -n "$PKG_CONFIG"; then 28035 if test -n "$XTSTEXAMPLES_DEP_CFLAGS"; then 28036 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS="$XTSTEXAMPLES_DEP_CFLAGS" 28037 else 28038 if test -n "$PKG_CONFIG" && \ 28039 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst xext x11\"") >&5 28040 ($PKG_CONFIG --exists --print-errors "xtst xext x11") 2>&5 28041 ac_status=$? 28042 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28043 (exit $ac_status); }; then 28044 pkg_cv_XTSTEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "xtst xext x11" 2>/dev/null` 28045else 28046 pkg_failed=yes 28047fi 28048 fi 28049else 28050 pkg_failed=untried 28051fi 28052if test -n "$PKG_CONFIG"; then 28053 if test -n "$XTSTEXAMPLES_DEP_LIBS"; then 28054 pkg_cv_XTSTEXAMPLES_DEP_LIBS="$XTSTEXAMPLES_DEP_LIBS" 28055 else 28056 if test -n "$PKG_CONFIG" && \ 28057 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xtst xext x11\"") >&5 28058 ($PKG_CONFIG --exists --print-errors "xtst xext x11") 2>&5 28059 ac_status=$? 28060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28061 (exit $ac_status); }; then 28062 pkg_cv_XTSTEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "xtst xext x11" 2>/dev/null` 28063else 28064 pkg_failed=yes 28065fi 28066 fi 28067else 28068 pkg_failed=untried 28069fi 28070 28071 28072 28073if test $pkg_failed = yes; then 28074 28075if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28076 _pkg_short_errors_supported=yes 28077else 28078 _pkg_short_errors_supported=no 28079fi 28080 if test $_pkg_short_errors_supported = yes; then 28081 XTSTEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xtst xext x11"` 28082 else 28083 XTSTEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xtst xext x11"` 28084 fi 28085 # Put the nasty error message in config.log where it belongs 28086 echo "$XTSTEXAMPLES_DEP_PKG_ERRORS" >&5 28087 28088 { { $as_echo "$as_me:$LINENO: error: Package requirements (xtst xext x11) were not met: 28089 28090$XTSTEXAMPLES_DEP_PKG_ERRORS 28091 28092Consider adjusting the PKG_CONFIG_PATH environment variable if you 28093installed software in a non-standard prefix. 28094 28095Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS 28096and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28097See the pkg-config man page for more details. 28098" >&5 28099$as_echo "$as_me: error: Package requirements (xtst xext x11) were not met: 28100 28101$XTSTEXAMPLES_DEP_PKG_ERRORS 28102 28103Consider adjusting the PKG_CONFIG_PATH environment variable if you 28104installed software in a non-standard prefix. 28105 28106Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS 28107and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28108See the pkg-config man page for more details. 28109" >&2;} 28110 { (exit 1); exit 1; }; } 28111elif test $pkg_failed = untried; then 28112 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28114{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 28115is in your PATH or set the PKG_CONFIG environment variable to the full 28116path to pkg-config. 28117 28118Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS 28119and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28120See the pkg-config man page for more details. 28121 28122To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28123See \`config.log' for more details." >&5 28124$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 28125is in your PATH or set the PKG_CONFIG environment variable to the full 28126path to pkg-config. 28127 28128Alternatively, you may set the environment variables XTSTEXAMPLES_DEP_CFLAGS 28129and XTSTEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28130See the pkg-config man page for more details. 28131 28132To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28133See \`config.log' for more details." >&2;} 28134 { (exit 1); exit 1; }; }; } 28135else 28136 XTSTEXAMPLES_DEP_CFLAGS=$pkg_cv_XTSTEXAMPLES_DEP_CFLAGS 28137 XTSTEXAMPLES_DEP_LIBS=$pkg_cv_XTSTEXAMPLES_DEP_LIBS 28138 { $as_echo "$as_me:$LINENO: result: yes" >&5 28139$as_echo "yes" >&6; } 28140 : 28141fi 28142 28143 28144pkg_failed=no 28145{ $as_echo "$as_me:$LINENO: checking for XRESEXAMPLES_DEP" >&5 28146$as_echo_n "checking for XRESEXAMPLES_DEP... " >&6; } 28147 28148if test -n "$PKG_CONFIG"; then 28149 if test -n "$XRESEXAMPLES_DEP_CFLAGS"; then 28150 pkg_cv_XRESEXAMPLES_DEP_CFLAGS="$XRESEXAMPLES_DEP_CFLAGS" 28151 else 28152 if test -n "$PKG_CONFIG" && \ 28153 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xres xext x11\"") >&5 28154 ($PKG_CONFIG --exists --print-errors "xres xext x11") 2>&5 28155 ac_status=$? 28156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28157 (exit $ac_status); }; then 28158 pkg_cv_XRESEXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "xres xext x11" 2>/dev/null` 28159else 28160 pkg_failed=yes 28161fi 28162 fi 28163else 28164 pkg_failed=untried 28165fi 28166if test -n "$PKG_CONFIG"; then 28167 if test -n "$XRESEXAMPLES_DEP_LIBS"; then 28168 pkg_cv_XRESEXAMPLES_DEP_LIBS="$XRESEXAMPLES_DEP_LIBS" 28169 else 28170 if test -n "$PKG_CONFIG" && \ 28171 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xres xext x11\"") >&5 28172 ($PKG_CONFIG --exists --print-errors "xres xext x11") 2>&5 28173 ac_status=$? 28174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28175 (exit $ac_status); }; then 28176 pkg_cv_XRESEXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "xres xext x11" 2>/dev/null` 28177else 28178 pkg_failed=yes 28179fi 28180 fi 28181else 28182 pkg_failed=untried 28183fi 28184 28185 28186 28187if test $pkg_failed = yes; then 28188 28189if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28190 _pkg_short_errors_supported=yes 28191else 28192 _pkg_short_errors_supported=no 28193fi 28194 if test $_pkg_short_errors_supported = yes; then 28195 XRESEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xres xext x11"` 28196 else 28197 XRESEXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xres xext x11"` 28198 fi 28199 # Put the nasty error message in config.log where it belongs 28200 echo "$XRESEXAMPLES_DEP_PKG_ERRORS" >&5 28201 28202 { { $as_echo "$as_me:$LINENO: error: Package requirements (xres xext x11) were not met: 28203 28204$XRESEXAMPLES_DEP_PKG_ERRORS 28205 28206Consider adjusting the PKG_CONFIG_PATH environment variable if you 28207installed software in a non-standard prefix. 28208 28209Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS 28210and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28211See the pkg-config man page for more details. 28212" >&5 28213$as_echo "$as_me: error: Package requirements (xres xext x11) were not met: 28214 28215$XRESEXAMPLES_DEP_PKG_ERRORS 28216 28217Consider adjusting the PKG_CONFIG_PATH environment variable if you 28218installed software in a non-standard prefix. 28219 28220Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS 28221and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28222See the pkg-config man page for more details. 28223" >&2;} 28224 { (exit 1); exit 1; }; } 28225elif test $pkg_failed = untried; then 28226 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28228{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 28229is in your PATH or set the PKG_CONFIG environment variable to the full 28230path to pkg-config. 28231 28232Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS 28233and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28234See the pkg-config man page for more details. 28235 28236To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28237See \`config.log' for more details." >&5 28238$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 28239is in your PATH or set the PKG_CONFIG environment variable to the full 28240path to pkg-config. 28241 28242Alternatively, you may set the environment variables XRESEXAMPLES_DEP_CFLAGS 28243and XRESEXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28244See the pkg-config man page for more details. 28245 28246To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28247See \`config.log' for more details." >&2;} 28248 { (exit 1); exit 1; }; }; } 28249else 28250 XRESEXAMPLES_DEP_CFLAGS=$pkg_cv_XRESEXAMPLES_DEP_CFLAGS 28251 XRESEXAMPLES_DEP_LIBS=$pkg_cv_XRESEXAMPLES_DEP_LIBS 28252 { $as_echo "$as_me:$LINENO: result: yes" >&5 28253$as_echo "yes" >&6; } 28254 : 28255fi 28256 28257 28258pkg_failed=no 28259{ $as_echo "$as_me:$LINENO: checking for X11EXAMPLES_DEP" >&5 28260$as_echo_n "checking for X11EXAMPLES_DEP... " >&6; } 28261 28262if test -n "$PKG_CONFIG"; then 28263 if test -n "$X11EXAMPLES_DEP_CFLAGS"; then 28264 pkg_cv_X11EXAMPLES_DEP_CFLAGS="$X11EXAMPLES_DEP_CFLAGS" 28265 else 28266 if test -n "$PKG_CONFIG" && \ 28267 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5 28268 ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5 28269 ac_status=$? 28270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28271 (exit $ac_status); }; then 28272 pkg_cv_X11EXAMPLES_DEP_CFLAGS=`$PKG_CONFIG --cflags "xext x11" 2>/dev/null` 28273else 28274 pkg_failed=yes 28275fi 28276 fi 28277else 28278 pkg_failed=untried 28279fi 28280if test -n "$PKG_CONFIG"; then 28281 if test -n "$X11EXAMPLES_DEP_LIBS"; then 28282 pkg_cv_X11EXAMPLES_DEP_LIBS="$X11EXAMPLES_DEP_LIBS" 28283 else 28284 if test -n "$PKG_CONFIG" && \ 28285 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5 28286 ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5 28287 ac_status=$? 28288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28289 (exit $ac_status); }; then 28290 pkg_cv_X11EXAMPLES_DEP_LIBS=`$PKG_CONFIG --libs "xext x11" 2>/dev/null` 28291else 28292 pkg_failed=yes 28293fi 28294 fi 28295else 28296 pkg_failed=untried 28297fi 28298 28299 28300 28301if test $pkg_failed = yes; then 28302 28303if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28304 _pkg_short_errors_supported=yes 28305else 28306 _pkg_short_errors_supported=no 28307fi 28308 if test $_pkg_short_errors_supported = yes; then 28309 X11EXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xext x11"` 28310 else 28311 X11EXAMPLES_DEP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xext x11"` 28312 fi 28313 # Put the nasty error message in config.log where it belongs 28314 echo "$X11EXAMPLES_DEP_PKG_ERRORS" >&5 28315 28316 { { $as_echo "$as_me:$LINENO: error: Package requirements (xext x11) were not met: 28317 28318$X11EXAMPLES_DEP_PKG_ERRORS 28319 28320Consider adjusting the PKG_CONFIG_PATH environment variable if you 28321installed software in a non-standard prefix. 28322 28323Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS 28324and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28325See the pkg-config man page for more details. 28326" >&5 28327$as_echo "$as_me: error: Package requirements (xext x11) were not met: 28328 28329$X11EXAMPLES_DEP_PKG_ERRORS 28330 28331Consider adjusting the PKG_CONFIG_PATH environment variable if you 28332installed software in a non-standard prefix. 28333 28334Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS 28335and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28336See the pkg-config man page for more details. 28337" >&2;} 28338 { (exit 1); exit 1; }; } 28339elif test $pkg_failed = untried; then 28340 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 28341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28342{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 28343is in your PATH or set the PKG_CONFIG environment variable to the full 28344path to pkg-config. 28345 28346Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS 28347and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28348See the pkg-config man page for more details. 28349 28350To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28351See \`config.log' for more details." >&5 28352$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 28353is in your PATH or set the PKG_CONFIG environment variable to the full 28354path to pkg-config. 28355 28356Alternatively, you may set the environment variables X11EXAMPLES_DEP_CFLAGS 28357and X11EXAMPLES_DEP_LIBS to avoid the need to call pkg-config. 28358See the pkg-config man page for more details. 28359 28360To get pkg-config, see <http://pkg-config.freedesktop.org/>. 28361See \`config.log' for more details." >&2;} 28362 { (exit 1); exit 1; }; }; } 28363else 28364 X11EXAMPLES_DEP_CFLAGS=$pkg_cv_X11EXAMPLES_DEP_CFLAGS 28365 X11EXAMPLES_DEP_LIBS=$pkg_cv_X11EXAMPLES_DEP_LIBS 28366 { $as_echo "$as_me:$LINENO: result: yes" >&5 28367$as_echo "yes" >&6; } 28368 : 28369fi 28370 28371fi 28372 if test "x$DMX_BUILD_LNX" = xyes; then 28373 DMX_BUILD_LNX_TRUE= 28374 DMX_BUILD_LNX_FALSE='#' 28375else 28376 DMX_BUILD_LNX_TRUE='#' 28377 DMX_BUILD_LNX_FALSE= 28378fi 28379 28380 if test "x$DMX_BUILD_USB" = xyes; then 28381 DMX_BUILD_USB_TRUE= 28382 DMX_BUILD_USB_FALSE='#' 28383else 28384 DMX_BUILD_USB_TRUE='#' 28385 DMX_BUILD_USB_FALSE= 28386fi 28387 28388 28389 28390XEPHYR_LIBS= 28391XEPHYR_INCS= 28392XSDL_LIBS= 28393XSDL_INCS= 28394XSDL_DIRS= 28395 28396 if test x$KDRIVE = xyes; then 28397 KDRIVE_TRUE= 28398 KDRIVE_FALSE='#' 28399else 28400 KDRIVE_TRUE='#' 28401 KDRIVE_FALSE= 28402fi 28403 28404if test "$KDRIVE" = yes; then 28405 28406cat >>confdefs.h <<\_ACEOF 28407#define KDRIVESERVER 1 28408_ACEOF 28409 28410 28411cat >>confdefs.h <<\_ACEOF 28412#define KDRIVEDDXACTIONS /**/ 28413_ACEOF 28414 28415 28416 28417 28418for ac_header in sys/vm86.h sys/io.h 28419do 28420as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28421if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28422 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28423$as_echo_n "checking for $ac_header... " >&6; } 28424if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28425 $as_echo_n "(cached) " >&6 28426fi 28427ac_res=`eval 'as_val=${'$as_ac_Header'} 28428 $as_echo "$as_val"'` 28429 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28430$as_echo "$ac_res" >&6; } 28431else 28432 # Is the header compilable? 28433{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 28434$as_echo_n "checking $ac_header usability... " >&6; } 28435cat >conftest.$ac_ext <<_ACEOF 28436/* confdefs.h. */ 28437_ACEOF 28438cat confdefs.h >>conftest.$ac_ext 28439cat >>conftest.$ac_ext <<_ACEOF 28440/* end confdefs.h. */ 28441$ac_includes_default 28442#include <$ac_header> 28443_ACEOF 28444rm -f conftest.$ac_objext 28445if { (ac_try="$ac_compile" 28446case "(($ac_try" in 28447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28448 *) ac_try_echo=$ac_try;; 28449esac 28450eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28451$as_echo "$ac_try_echo") >&5 28452 (eval "$ac_compile") 2>conftest.er1 28453 ac_status=$? 28454 grep -v '^ *+' conftest.er1 >conftest.err 28455 rm -f conftest.er1 28456 cat conftest.err >&5 28457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28458 (exit $ac_status); } && { 28459 test -z "$ac_c_werror_flag" || 28460 test ! -s conftest.err 28461 } && test -s conftest.$ac_objext; then 28462 ac_header_compiler=yes 28463else 28464 $as_echo "$as_me: failed program was:" >&5 28465sed 's/^/| /' conftest.$ac_ext >&5 28466 28467 ac_header_compiler=no 28468fi 28469 28470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28471{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28472$as_echo "$ac_header_compiler" >&6; } 28473 28474# Is the header present? 28475{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 28476$as_echo_n "checking $ac_header presence... " >&6; } 28477cat >conftest.$ac_ext <<_ACEOF 28478/* confdefs.h. */ 28479_ACEOF 28480cat confdefs.h >>conftest.$ac_ext 28481cat >>conftest.$ac_ext <<_ACEOF 28482/* end confdefs.h. */ 28483#include <$ac_header> 28484_ACEOF 28485if { (ac_try="$ac_cpp conftest.$ac_ext" 28486case "(($ac_try" in 28487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28488 *) ac_try_echo=$ac_try;; 28489esac 28490eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28491$as_echo "$ac_try_echo") >&5 28492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28493 ac_status=$? 28494 grep -v '^ *+' conftest.er1 >conftest.err 28495 rm -f conftest.er1 28496 cat conftest.err >&5 28497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28498 (exit $ac_status); } >/dev/null && { 28499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28500 test ! -s conftest.err 28501 }; then 28502 ac_header_preproc=yes 28503else 28504 $as_echo "$as_me: failed program was:" >&5 28505sed 's/^/| /' conftest.$ac_ext >&5 28506 28507 ac_header_preproc=no 28508fi 28509 28510rm -f conftest.err conftest.$ac_ext 28511{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28512$as_echo "$ac_header_preproc" >&6; } 28513 28514# So? What about this header? 28515case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28516 yes:no: ) 28517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 28518$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 28519 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 28520$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 28521 ac_header_preproc=yes 28522 ;; 28523 no:yes:* ) 28524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 28525$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 28526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 28527$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 28528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 28529$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 28530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 28531$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 28532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 28533$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 28534 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 28535$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 28536 ( cat <<\_ASBOX 28537## ---------------------------------------------------------------------- ## 28538## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 28539## ---------------------------------------------------------------------- ## 28540_ASBOX 28541 ) | sed "s/^/$as_me: WARNING: /" >&2 28542 ;; 28543esac 28544{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28545$as_echo_n "checking for $ac_header... " >&6; } 28546if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28547 $as_echo_n "(cached) " >&6 28548else 28549 eval "$as_ac_Header=\$ac_header_preproc" 28550fi 28551ac_res=`eval 'as_val=${'$as_ac_Header'} 28552 $as_echo "$as_val"'` 28553 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28554$as_echo "$ac_res" >&6; } 28555 28556fi 28557as_val=`eval 'as_val=${'$as_ac_Header'} 28558 $as_echo "$as_val"'` 28559 if test "x$as_val" = x""yes; then 28560 cat >>confdefs.h <<_ACEOF 28561#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28562_ACEOF 28563 28564fi 28565 28566done 28567 28568 if test "$ac_cv_header_sys_vm86_h" = yes && test "x$KDRIVEVESA" = xauto; then 28569 KDRIVEVESA=yes 28570 fi 28571 28572 if test "x$KDRIVEVESA" = xyes; then 28573 KDRIVEFBDEVLIB=yes 28574 28575cat >>confdefs.h <<\_ACEOF 28576#define KDRIVEVESA 1 28577_ACEOF 28578 28579 fi 28580 28581 28582for ac_header in linux/fb.h 28583do 28584as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28585if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28586 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28587$as_echo_n "checking for $ac_header... " >&6; } 28588if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28589 $as_echo_n "(cached) " >&6 28590fi 28591ac_res=`eval 'as_val=${'$as_ac_Header'} 28592 $as_echo "$as_val"'` 28593 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28594$as_echo "$ac_res" >&6; } 28595else 28596 # Is the header compilable? 28597{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 28598$as_echo_n "checking $ac_header usability... " >&6; } 28599cat >conftest.$ac_ext <<_ACEOF 28600/* confdefs.h. */ 28601_ACEOF 28602cat confdefs.h >>conftest.$ac_ext 28603cat >>conftest.$ac_ext <<_ACEOF 28604/* end confdefs.h. */ 28605$ac_includes_default 28606#include <$ac_header> 28607_ACEOF 28608rm -f conftest.$ac_objext 28609if { (ac_try="$ac_compile" 28610case "(($ac_try" in 28611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28612 *) ac_try_echo=$ac_try;; 28613esac 28614eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28615$as_echo "$ac_try_echo") >&5 28616 (eval "$ac_compile") 2>conftest.er1 28617 ac_status=$? 28618 grep -v '^ *+' conftest.er1 >conftest.err 28619 rm -f conftest.er1 28620 cat conftest.err >&5 28621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28622 (exit $ac_status); } && { 28623 test -z "$ac_c_werror_flag" || 28624 test ! -s conftest.err 28625 } && test -s conftest.$ac_objext; then 28626 ac_header_compiler=yes 28627else 28628 $as_echo "$as_me: failed program was:" >&5 28629sed 's/^/| /' conftest.$ac_ext >&5 28630 28631 ac_header_compiler=no 28632fi 28633 28634rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28635{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28636$as_echo "$ac_header_compiler" >&6; } 28637 28638# Is the header present? 28639{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 28640$as_echo_n "checking $ac_header presence... " >&6; } 28641cat >conftest.$ac_ext <<_ACEOF 28642/* confdefs.h. */ 28643_ACEOF 28644cat confdefs.h >>conftest.$ac_ext 28645cat >>conftest.$ac_ext <<_ACEOF 28646/* end confdefs.h. */ 28647#include <$ac_header> 28648_ACEOF 28649if { (ac_try="$ac_cpp conftest.$ac_ext" 28650case "(($ac_try" in 28651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28652 *) ac_try_echo=$ac_try;; 28653esac 28654eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28655$as_echo "$ac_try_echo") >&5 28656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28657 ac_status=$? 28658 grep -v '^ *+' conftest.er1 >conftest.err 28659 rm -f conftest.er1 28660 cat conftest.err >&5 28661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28662 (exit $ac_status); } >/dev/null && { 28663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28664 test ! -s conftest.err 28665 }; then 28666 ac_header_preproc=yes 28667else 28668 $as_echo "$as_me: failed program was:" >&5 28669sed 's/^/| /' conftest.$ac_ext >&5 28670 28671 ac_header_preproc=no 28672fi 28673 28674rm -f conftest.err conftest.$ac_ext 28675{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28676$as_echo "$ac_header_preproc" >&6; } 28677 28678# So? What about this header? 28679case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28680 yes:no: ) 28681 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 28682$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 28683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 28684$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 28685 ac_header_preproc=yes 28686 ;; 28687 no:yes:* ) 28688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 28689$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 28690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 28691$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 28692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 28693$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 28694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 28695$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 28696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 28697$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 28698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 28699$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 28700 ( cat <<\_ASBOX 28701## ---------------------------------------------------------------------- ## 28702## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 28703## ---------------------------------------------------------------------- ## 28704_ASBOX 28705 ) | sed "s/^/$as_me: WARNING: /" >&2 28706 ;; 28707esac 28708{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28709$as_echo_n "checking for $ac_header... " >&6; } 28710if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28711 $as_echo_n "(cached) " >&6 28712else 28713 eval "$as_ac_Header=\$ac_header_preproc" 28714fi 28715ac_res=`eval 'as_val=${'$as_ac_Header'} 28716 $as_echo "$as_val"'` 28717 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28718$as_echo "$ac_res" >&6; } 28719 28720fi 28721as_val=`eval 'as_val=${'$as_ac_Header'} 28722 $as_echo "$as_val"'` 28723 if test "x$as_val" = x""yes; then 28724 cat >>confdefs.h <<_ACEOF 28725#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28726_ACEOF 28727 28728fi 28729 28730done 28731 28732 if test "$ac_cv_header_linux_fb_h" = yes && test "x$XFBDEV" = xauto; then 28733 XFBDEV=yes 28734 fi 28735 28736 if test "x$XFBDEV" = xyes; then 28737 KDRIVEFBDEVLIB=yes 28738 28739cat >>confdefs.h <<\_ACEOF 28740#define KDRIVEFBDEV 1 28741_ACEOF 28742 28743 fi 28744 28745 # tslib... 28746 { $as_echo "$as_me:$LINENO: checking for ts_open in -lts" >&5 28747$as_echo_n "checking for ts_open in -lts... " >&6; } 28748if test "${ac_cv_lib_ts_ts_open+set}" = set; then 28749 $as_echo_n "(cached) " >&6 28750else 28751 ac_check_lib_save_LIBS=$LIBS 28752LIBS="-lts $LIBS" 28753cat >conftest.$ac_ext <<_ACEOF 28754/* confdefs.h. */ 28755_ACEOF 28756cat confdefs.h >>conftest.$ac_ext 28757cat >>conftest.$ac_ext <<_ACEOF 28758/* end confdefs.h. */ 28759 28760/* Override any GCC internal prototype to avoid an error. 28761 Use char because int might match the return type of a GCC 28762 builtin and then its argument prototype would still apply. */ 28763#ifdef __cplusplus 28764extern "C" 28765#endif 28766char ts_open (); 28767int 28768main () 28769{ 28770return ts_open (); 28771 ; 28772 return 0; 28773} 28774_ACEOF 28775rm -f conftest.$ac_objext conftest$ac_exeext 28776if { (ac_try="$ac_link" 28777case "(($ac_try" in 28778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28779 *) ac_try_echo=$ac_try;; 28780esac 28781eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28782$as_echo "$ac_try_echo") >&5 28783 (eval "$ac_link") 2>conftest.er1 28784 ac_status=$? 28785 grep -v '^ *+' conftest.er1 >conftest.err 28786 rm -f conftest.er1 28787 cat conftest.err >&5 28788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28789 (exit $ac_status); } && { 28790 test -z "$ac_c_werror_flag" || 28791 test ! -s conftest.err 28792 } && test -s conftest$ac_exeext && { 28793 test "$cross_compiling" = yes || 28794 $as_test_x conftest$ac_exeext 28795 }; then 28796 ac_cv_lib_ts_ts_open=yes 28797else 28798 $as_echo "$as_me: failed program was:" >&5 28799sed 's/^/| /' conftest.$ac_ext >&5 28800 28801 ac_cv_lib_ts_ts_open=no 28802fi 28803 28804rm -rf conftest.dSYM 28805rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28806 conftest$ac_exeext conftest.$ac_ext 28807LIBS=$ac_check_lib_save_LIBS 28808fi 28809{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ts_ts_open" >&5 28810$as_echo "$ac_cv_lib_ts_ts_open" >&6; } 28811if test "x$ac_cv_lib_ts_ts_open" = x""yes; then 28812 HAVE_TSLIB="yes" 28813fi 28814 28815 if test "x$TSLIB" = xauto && test "x$HAVE_TSLIB" = xyes; then 28816 TSLIB=yes 28817 fi 28818 28819 if test "x$TSLIB" = xyes; then 28820 if ! test "x$HAVE_TSLIB" = xyes; then 28821 { { $as_echo "$as_me:$LINENO: error: tslib must be installed to build the tslib input driver." >&5 28822$as_echo "$as_me: error: tslib must be installed to build the tslib input driver." >&2;} 28823 { (exit 1); exit 1; }; } 28824 fi 28825 TSLIB_LIBS="-lts" 28826 28827cat >>confdefs.h <<\_ACEOF 28828#define TSLIB 1 28829_ACEOF 28830 28831 fi 28832 28833 28834for ac_header in SDL/SDL.h 28835do 28836as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28837if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28838 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28839$as_echo_n "checking for $ac_header... " >&6; } 28840if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28841 $as_echo_n "(cached) " >&6 28842fi 28843ac_res=`eval 'as_val=${'$as_ac_Header'} 28844 $as_echo "$as_val"'` 28845 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28846$as_echo "$ac_res" >&6; } 28847else 28848 # Is the header compilable? 28849{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 28850$as_echo_n "checking $ac_header usability... " >&6; } 28851cat >conftest.$ac_ext <<_ACEOF 28852/* confdefs.h. */ 28853_ACEOF 28854cat confdefs.h >>conftest.$ac_ext 28855cat >>conftest.$ac_ext <<_ACEOF 28856/* end confdefs.h. */ 28857$ac_includes_default 28858#include <$ac_header> 28859_ACEOF 28860rm -f conftest.$ac_objext 28861if { (ac_try="$ac_compile" 28862case "(($ac_try" in 28863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28864 *) ac_try_echo=$ac_try;; 28865esac 28866eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28867$as_echo "$ac_try_echo") >&5 28868 (eval "$ac_compile") 2>conftest.er1 28869 ac_status=$? 28870 grep -v '^ *+' conftest.er1 >conftest.err 28871 rm -f conftest.er1 28872 cat conftest.err >&5 28873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28874 (exit $ac_status); } && { 28875 test -z "$ac_c_werror_flag" || 28876 test ! -s conftest.err 28877 } && test -s conftest.$ac_objext; then 28878 ac_header_compiler=yes 28879else 28880 $as_echo "$as_me: failed program was:" >&5 28881sed 's/^/| /' conftest.$ac_ext >&5 28882 28883 ac_header_compiler=no 28884fi 28885 28886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28887{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28888$as_echo "$ac_header_compiler" >&6; } 28889 28890# Is the header present? 28891{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 28892$as_echo_n "checking $ac_header presence... " >&6; } 28893cat >conftest.$ac_ext <<_ACEOF 28894/* confdefs.h. */ 28895_ACEOF 28896cat confdefs.h >>conftest.$ac_ext 28897cat >>conftest.$ac_ext <<_ACEOF 28898/* end confdefs.h. */ 28899#include <$ac_header> 28900_ACEOF 28901if { (ac_try="$ac_cpp conftest.$ac_ext" 28902case "(($ac_try" in 28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28904 *) ac_try_echo=$ac_try;; 28905esac 28906eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 28907$as_echo "$ac_try_echo") >&5 28908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28909 ac_status=$? 28910 grep -v '^ *+' conftest.er1 >conftest.err 28911 rm -f conftest.er1 28912 cat conftest.err >&5 28913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 28914 (exit $ac_status); } >/dev/null && { 28915 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28916 test ! -s conftest.err 28917 }; then 28918 ac_header_preproc=yes 28919else 28920 $as_echo "$as_me: failed program was:" >&5 28921sed 's/^/| /' conftest.$ac_ext >&5 28922 28923 ac_header_preproc=no 28924fi 28925 28926rm -f conftest.err conftest.$ac_ext 28927{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28928$as_echo "$ac_header_preproc" >&6; } 28929 28930# So? What about this header? 28931case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28932 yes:no: ) 28933 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 28934$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 28935 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 28936$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 28937 ac_header_preproc=yes 28938 ;; 28939 no:yes:* ) 28940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 28941$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 28942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 28943$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 28944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 28945$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 28946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 28947$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 28948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 28949$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 28950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 28951$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 28952 ( cat <<\_ASBOX 28953## ---------------------------------------------------------------------- ## 28954## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 28955## ---------------------------------------------------------------------- ## 28956_ASBOX 28957 ) | sed "s/^/$as_me: WARNING: /" >&2 28958 ;; 28959esac 28960{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 28961$as_echo_n "checking for $ac_header... " >&6; } 28962if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28963 $as_echo_n "(cached) " >&6 28964else 28965 eval "$as_ac_Header=\$ac_header_preproc" 28966fi 28967ac_res=`eval 'as_val=${'$as_ac_Header'} 28968 $as_echo "$as_val"'` 28969 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 28970$as_echo "$ac_res" >&6; } 28971 28972fi 28973as_val=`eval 'as_val=${'$as_ac_Header'} 28974 $as_echo "$as_val"'` 28975 if test "x$as_val" = x""yes; then 28976 cat >>confdefs.h <<_ACEOF 28977#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28978_ACEOF 28979 28980fi 28981 28982done 28983 28984 if test x"$ac_cv_header_SDL_SDL_h" = xyes && test "x$XSDL" = xauto; then 28985 XSDL=yes 28986 fi 28987 28988 if test x"$XSDL" = xyes; then 28989 # PKG_CHECK_MODULES(XSDL_EXTRA, Xfont xau $XDMCP_MODULES) 28990 28991cat >>confdefs.h <<\_ACEOF 28992#define XSDLSERVER 1 28993_ACEOF 28994 28995 XSDL_LIBS="`sdl-config --libs`" 28996 XSDL_INCS="`sdl-config --cflags` $XSERVER_CFLAGS" 28997 fi 28998 28999 XEPHYR_REQUIRED_LIBS="x11 xext xfont xau xdmcp" 29000 if test "x$XV" = xyes; then 29001 XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS xv" 29002 fi 29003 if test "x$DRI" = xyes && test "x$GLX" = xyes; then 29004 XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS gl libdrm" 29005 fi 29006 29007 29008pkg_failed=no 29009{ $as_echo "$as_me:$LINENO: checking for XEPHYR" >&5 29010$as_echo_n "checking for XEPHYR... " >&6; } 29011 29012if test -n "$PKG_CONFIG"; then 29013 if test -n "$XEPHYR_CFLAGS"; then 29014 pkg_cv_XEPHYR_CFLAGS="$XEPHYR_CFLAGS" 29015 else 29016 if test -n "$PKG_CONFIG" && \ 29017 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\"") >&5 29018 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5 29019 ac_status=$? 29020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29021 (exit $ac_status); }; then 29022 pkg_cv_XEPHYR_CFLAGS=`$PKG_CONFIG --cflags "$XEPHYR_REQUIRED_LIBS" 2>/dev/null` 29023else 29024 pkg_failed=yes 29025fi 29026 fi 29027else 29028 pkg_failed=untried 29029fi 29030if test -n "$PKG_CONFIG"; then 29031 if test -n "$XEPHYR_LIBS"; then 29032 pkg_cv_XEPHYR_LIBS="$XEPHYR_LIBS" 29033 else 29034 if test -n "$PKG_CONFIG" && \ 29035 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$XEPHYR_REQUIRED_LIBS\"") >&5 29036 ($PKG_CONFIG --exists --print-errors "$XEPHYR_REQUIRED_LIBS") 2>&5 29037 ac_status=$? 29038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29039 (exit $ac_status); }; then 29040 pkg_cv_XEPHYR_LIBS=`$PKG_CONFIG --libs "$XEPHYR_REQUIRED_LIBS" 2>/dev/null` 29041else 29042 pkg_failed=yes 29043fi 29044 fi 29045else 29046 pkg_failed=untried 29047fi 29048 29049 29050 29051if test $pkg_failed = yes; then 29052 29053if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29054 _pkg_short_errors_supported=yes 29055else 29056 _pkg_short_errors_supported=no 29057fi 29058 if test $_pkg_short_errors_supported = yes; then 29059 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$XEPHYR_REQUIRED_LIBS"` 29060 else 29061 XEPHYR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$XEPHYR_REQUIRED_LIBS"` 29062 fi 29063 # Put the nasty error message in config.log where it belongs 29064 echo "$XEPHYR_PKG_ERRORS" >&5 29065 29066 { $as_echo "$as_me:$LINENO: result: no" >&5 29067$as_echo "no" >&6; } 29068 xephyr="no" 29069elif test $pkg_failed = untried; then 29070 xephyr="no" 29071else 29072 XEPHYR_CFLAGS=$pkg_cv_XEPHYR_CFLAGS 29073 XEPHYR_LIBS=$pkg_cv_XEPHYR_LIBS 29074 { $as_echo "$as_me:$LINENO: result: yes" >&5 29075$as_echo "yes" >&6; } 29076 xephyr="yes" 29077fi 29078 if test "x$XEPHYR" = xauto; then 29079 XEPHYR=$xephyr 29080 fi 29081 29082 # Xephyr needs nanosleep() which is in librt on Solaris 29083 { $as_echo "$as_me:$LINENO: checking for nanosleep" >&5 29084$as_echo_n "checking for nanosleep... " >&6; } 29085if test "${ac_cv_func_nanosleep+set}" = set; then 29086 $as_echo_n "(cached) " >&6 29087else 29088 cat >conftest.$ac_ext <<_ACEOF 29089/* confdefs.h. */ 29090_ACEOF 29091cat confdefs.h >>conftest.$ac_ext 29092cat >>conftest.$ac_ext <<_ACEOF 29093/* end confdefs.h. */ 29094/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. 29095 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 29096#define nanosleep innocuous_nanosleep 29097 29098/* System header to define __stub macros and hopefully few prototypes, 29099 which can conflict with char nanosleep (); below. 29100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 29101 <limits.h> exists even on freestanding compilers. */ 29102 29103#ifdef __STDC__ 29104# include <limits.h> 29105#else 29106# include <assert.h> 29107#endif 29108 29109#undef nanosleep 29110 29111/* Override any GCC internal prototype to avoid an error. 29112 Use char because int might match the return type of a GCC 29113 builtin and then its argument prototype would still apply. */ 29114#ifdef __cplusplus 29115extern "C" 29116#endif 29117char nanosleep (); 29118/* The GNU C library defines this for functions which it implements 29119 to always fail with ENOSYS. Some functions are actually named 29120 something starting with __ and the normal name is an alias. */ 29121#if defined __stub_nanosleep || defined __stub___nanosleep 29122choke me 29123#endif 29124 29125int 29126main () 29127{ 29128return nanosleep (); 29129 ; 29130 return 0; 29131} 29132_ACEOF 29133rm -f conftest.$ac_objext conftest$ac_exeext 29134if { (ac_try="$ac_link" 29135case "(($ac_try" in 29136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29137 *) ac_try_echo=$ac_try;; 29138esac 29139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29140$as_echo "$ac_try_echo") >&5 29141 (eval "$ac_link") 2>conftest.er1 29142 ac_status=$? 29143 grep -v '^ *+' conftest.er1 >conftest.err 29144 rm -f conftest.er1 29145 cat conftest.err >&5 29146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29147 (exit $ac_status); } && { 29148 test -z "$ac_c_werror_flag" || 29149 test ! -s conftest.err 29150 } && test -s conftest$ac_exeext && { 29151 test "$cross_compiling" = yes || 29152 $as_test_x conftest$ac_exeext 29153 }; then 29154 ac_cv_func_nanosleep=yes 29155else 29156 $as_echo "$as_me: failed program was:" >&5 29157sed 's/^/| /' conftest.$ac_ext >&5 29158 29159 ac_cv_func_nanosleep=no 29160fi 29161 29162rm -rf conftest.dSYM 29163rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29164 conftest$ac_exeext conftest.$ac_ext 29165fi 29166{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 29167$as_echo "$ac_cv_func_nanosleep" >&6; } 29168if test "x$ac_cv_func_nanosleep" = x""yes; then 29169 : 29170else 29171 { $as_echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 29172$as_echo_n "checking for nanosleep in -lrt... " >&6; } 29173if test "${ac_cv_lib_rt_nanosleep+set}" = set; then 29174 $as_echo_n "(cached) " >&6 29175else 29176 ac_check_lib_save_LIBS=$LIBS 29177LIBS="-lrt $LIBS" 29178cat >conftest.$ac_ext <<_ACEOF 29179/* confdefs.h. */ 29180_ACEOF 29181cat confdefs.h >>conftest.$ac_ext 29182cat >>conftest.$ac_ext <<_ACEOF 29183/* end confdefs.h. */ 29184 29185/* Override any GCC internal prototype to avoid an error. 29186 Use char because int might match the return type of a GCC 29187 builtin and then its argument prototype would still apply. */ 29188#ifdef __cplusplus 29189extern "C" 29190#endif 29191char nanosleep (); 29192int 29193main () 29194{ 29195return nanosleep (); 29196 ; 29197 return 0; 29198} 29199_ACEOF 29200rm -f conftest.$ac_objext conftest$ac_exeext 29201if { (ac_try="$ac_link" 29202case "(($ac_try" in 29203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29204 *) ac_try_echo=$ac_try;; 29205esac 29206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29207$as_echo "$ac_try_echo") >&5 29208 (eval "$ac_link") 2>conftest.er1 29209 ac_status=$? 29210 grep -v '^ *+' conftest.er1 >conftest.err 29211 rm -f conftest.er1 29212 cat conftest.err >&5 29213 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29214 (exit $ac_status); } && { 29215 test -z "$ac_c_werror_flag" || 29216 test ! -s conftest.err 29217 } && test -s conftest$ac_exeext && { 29218 test "$cross_compiling" = yes || 29219 $as_test_x conftest$ac_exeext 29220 }; then 29221 ac_cv_lib_rt_nanosleep=yes 29222else 29223 $as_echo "$as_me: failed program was:" >&5 29224sed 's/^/| /' conftest.$ac_ext >&5 29225 29226 ac_cv_lib_rt_nanosleep=no 29227fi 29228 29229rm -rf conftest.dSYM 29230rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29231 conftest$ac_exeext conftest.$ac_ext 29232LIBS=$ac_check_lib_save_LIBS 29233fi 29234{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 29235$as_echo "$ac_cv_lib_rt_nanosleep" >&6; } 29236if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then 29237 XEPHYR_LIBS="$XEPHYR_LIBS -lrt" 29238fi 29239 29240fi 29241 29242 29243 if test "x$TSLIB" = xyes; then 29244 29245pkg_failed=no 29246{ $as_echo "$as_me:$LINENO: checking for TSLIB" >&5 29247$as_echo_n "checking for TSLIB... " >&6; } 29248 29249if test -n "$PKG_CONFIG"; then 29250 if test -n "$TSLIB_CFLAGS"; then 29251 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS" 29252 else 29253 if test -n "$PKG_CONFIG" && \ 29254 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\"") >&5 29255 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5 29256 ac_status=$? 29257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29258 (exit $ac_status); }; then 29259 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null` 29260else 29261 pkg_failed=yes 29262fi 29263 fi 29264else 29265 pkg_failed=untried 29266fi 29267if test -n "$PKG_CONFIG"; then 29268 if test -n "$TSLIB_LIBS"; then 29269 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS" 29270 else 29271 if test -n "$PKG_CONFIG" && \ 29272 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\"") >&5 29273 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5 29274 ac_status=$? 29275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29276 (exit $ac_status); }; then 29277 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null` 29278else 29279 pkg_failed=yes 29280fi 29281 fi 29282else 29283 pkg_failed=untried 29284fi 29285 29286 29287 29288if test $pkg_failed = yes; then 29289 29290if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29291 _pkg_short_errors_supported=yes 29292else 29293 _pkg_short_errors_supported=no 29294fi 29295 if test $_pkg_short_errors_supported = yes; then 29296 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tslib-1.0"` 29297 else 29298 TSLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tslib-1.0"` 29299 fi 29300 # Put the nasty error message in config.log where it belongs 29301 echo "$TSLIB_PKG_ERRORS" >&5 29302 29303 { $as_echo "$as_me:$LINENO: result: no" >&5 29304$as_echo "no" >&6; } 29305 HAVE_TSLIB="no" 29306elif test $pkg_failed = untried; then 29307 HAVE_TSLIB="no" 29308else 29309 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS 29310 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS 29311 { $as_echo "$as_me:$LINENO: result: yes" >&5 29312$as_echo "yes" >&6; } 29313 HAVE_TSLIB="yes" 29314fi 29315 if test "x$HAVE_TSLIB" = xno; then 29316 { { $as_echo "$as_me:$LINENO: error: tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" >&5 29317$as_echo "$as_me: error: tslib must be installed to build the tslib driver. See http://tslib.berlios.de/" >&2;} 29318 { (exit 1); exit 1; }; } 29319 fi 29320 29321cat >>confdefs.h <<\_ACEOF 29322#define TSLIB 1 29323_ACEOF 29324 29325 fi 29326 29327 # damage shadow extension glx (NOTYET) fb mi 29328 KDRIVE_INC='-I$(top_srcdir)/hw/kdrive/src' 29329 KDRIVE_PURE_INCS="$KDRIVE_INC $MIEXT_DAMAGE_INC $MIEXT_SHADOW_INC $XEXT_INC $FB_INC $MI_INC" 29330 KDRIVE_OS_INC='-I$(top_srcdir)/hw/kdrive/linux' 29331 KDRIVE_INCS="$KDRIVE_PURE_INCS $KDRIVE_OS_INC" 29332 29333 KDRIVE_CFLAGS="$XSERVER_CFLAGS -DHAVE_KDRIVE_CONFIG_H $TSLIB_CFLAGS" 29334 29335 KDRIVE_PURE_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $DBE_LIB $RECORD_LIB $GLX_LIBS $RANDR_LIB $RENDER_LIB $DAMAGE_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB $OS_LIB" 29336 KDRIVE_LIB='$(top_builddir)/hw/kdrive/src/libkdrive.a' 29337 case $host_os in 29338 *linux*) 29339 KDRIVE_OS_LIB='$(top_builddir)/hw/kdrive/linux/liblinux.a' 29340 KDRIVELINUX=yes 29341 ;; 29342 esac 29343 KDRIVE_STUB_LIB='$(top_builddir)/hw/kdrive/src/libkdrivestubs.a' 29344 KDRIVE_LOCAL_LIBS="$DIX_LIB $KDRIVE_LIB $KDRIVE_STUB_LIB $CONFIG_LIB" 29345 KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $FB_LIB $MI_LIB $KDRIVE_PURE_LIBS" 29346 KDRIVE_LOCAL_LIBS="$KDRIVE_LOCAL_LIBS $KDRIVE_OS_LIB $OS_LIB" 29347 KDRIVE_LIBS="$TSLIB_LIBS $KDRIVE_LOCAL_LIBS $XSERVER_SYS_LIBS $GLX_SYS_LIBS" 29348 29349 29350 29351 29352 29353fi 29354 29355 29356 29357 29358 29359 29360 if test "x$KDRIVELINUX" = xyes; then 29361 KDRIVELINUX_TRUE= 29362 KDRIVELINUX_FALSE='#' 29363else 29364 KDRIVELINUX_TRUE='#' 29365 KDRIVELINUX_FALSE= 29366fi 29367 29368 if test "x$HAVE_TSLIB" = xyes; then 29369 TSLIB_TRUE= 29370 TSLIB_FALSE='#' 29371else 29372 TSLIB_TRUE='#' 29373 TSLIB_FALSE= 29374fi 29375 29376 if test "x$KDRIVEVESA" = xyes; then 29377 KDRIVEVESA_TRUE= 29378 KDRIVEVESA_FALSE='#' 29379else 29380 KDRIVEVESA_TRUE='#' 29381 KDRIVEVESA_FALSE= 29382fi 29383 29384 if test "x$XFBDEV" = xyes; then 29385 KDRIVEFBDEV_TRUE= 29386 KDRIVEFBDEV_FALSE='#' 29387else 29388 KDRIVEFBDEV_TRUE='#' 29389 KDRIVEFBDEV_FALSE= 29390fi 29391 29392 if test x"$XSDL" = xyes; then 29393 XSDLSERVER_TRUE= 29394 XSDLSERVER_FALSE='#' 29395else 29396 XSDLSERVER_TRUE='#' 29397 XSDLSERVER_FALSE= 29398fi 29399 29400 if test "x$KDRIVE" = xyes && test "x$XEPHYR" = xyes; then 29401 XEPHYR_TRUE= 29402 XEPHYR_FALSE='#' 29403else 29404 XEPHYR_TRUE='#' 29405 XEPHYR_FALSE= 29406fi 29407 29408 if test "x$KDRIVE" = xyes && test "x$KDRIVEFBDEVLIB" = xyes; then 29409 BUILD_KDRIVEFBDEVLIB_TRUE= 29410 BUILD_KDRIVEFBDEVLIB_FALSE='#' 29411else 29412 BUILD_KDRIVEFBDEVLIB_TRUE='#' 29413 BUILD_KDRIVEFBDEVLIB_FALSE= 29414fi 29415 29416 if test "x$KDRIVE" = xyes && test "x$XFAKE" = xyes; then 29417 XFAKESERVER_TRUE= 29418 XFAKESERVER_FALSE='#' 29419else 29420 XFAKESERVER_TRUE='#' 29421 XFAKESERVER_FALSE= 29422fi 29423 29424 29425 29426cat >>confdefs.h <<\_ACEOF 29427#define __XKBDEFRULES__ "xorg" 29428_ACEOF 29429 29430 29431 prefix_NONE= 29432 exec_prefix_NONE= 29433 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 29434 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 29435 eval ac_define_dir="\"$XKBPATH\"" 29436 eval ac_define_dir="\"$ac_define_dir\"" 29437 XKB_BASE_DIRECTORY="$ac_define_dir" 29438 29439 29440cat >>confdefs.h <<_ACEOF 29441#define XKB_BASE_DIRECTORY "$ac_define_dir" 29442_ACEOF 29443 29444 test "$prefix_NONE" && prefix=NONE 29445 test "$exec_prefix_NONE" && exec_prefix=NONE 29446 29447 29448 prefix_NONE= 29449 exec_prefix_NONE= 29450 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 29451 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 29452 eval ac_define_dir="\"$bindir\"" 29453 eval ac_define_dir="\"$ac_define_dir\"" 29454 XKB_BIN_DIRECTORY="$ac_define_dir" 29455 29456 29457cat >>confdefs.h <<_ACEOF 29458#define XKB_BIN_DIRECTORY "$ac_define_dir" 29459_ACEOF 29460 29461 test "$prefix_NONE" && prefix=NONE 29462 test "$exec_prefix_NONE" && exec_prefix=NONE 29463 29464 29465# Make sure XKM_OUTPUT_DIR is an absolute path 29466XKBOUTPUT_FIRSTCHAR=`echo $XKBOUTPUT | cut -b 1` 29467 29468if [ x$XKBOUTPUT_FIRSTCHAR != x/ ] ; then 29469 XKBOUTPUT="$XKB_BASE_DIRECTORY/$XKBOUTPUT" 29470fi 29471 29472# XKM_OUTPUT_DIR (used in code) must end in / or file names get hosed 29473# XKB_COMPILED_DIR (used in Makefiles) must not or install-sh gets confused 29474 29475XKBOUTPUT=`echo $XKBOUTPUT/ | sed 's|/*$|/|'` 29476XKB_COMPILED_DIR=`echo $XKBOUTPUT | sed 's|/*$||'` 29477 29478 29479 prefix_NONE= 29480 exec_prefix_NONE= 29481 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 29482 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 29483 eval ac_define_dir="\"$XKBOUTPUT\"" 29484 eval ac_define_dir="\"$ac_define_dir\"" 29485 XKM_OUTPUT_DIR="$ac_define_dir" 29486 29487 29488cat >>confdefs.h <<_ACEOF 29489#define XKM_OUTPUT_DIR "$ac_define_dir" 29490_ACEOF 29491 29492 test "$prefix_NONE" && prefix=NONE 29493 test "$exec_prefix_NONE" && exec_prefix=NONE 29494 29495 29496 29497 29498 29499cat >conftest.$ac_ext <<_ACEOF 29500/* confdefs.h. */ 29501_ACEOF 29502cat confdefs.h >>conftest.$ac_ext 29503cat >>conftest.$ac_ext <<_ACEOF 29504/* end confdefs.h. */ 29505 29506#include <features.h> 29507#ifndef __GLIBC__ 29508#error not glibc 29509#endif 29510 29511int 29512main () 29513{ 29514 29515 ; 29516 return 0; 29517} 29518_ACEOF 29519rm -f conftest.$ac_objext 29520if { (ac_try="$ac_compile" 29521case "(($ac_try" in 29522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29523 *) ac_try_echo=$ac_try;; 29524esac 29525eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 29526$as_echo "$ac_try_echo") >&5 29527 (eval "$ac_compile") 2>conftest.er1 29528 ac_status=$? 29529 grep -v '^ *+' conftest.er1 >conftest.err 29530 rm -f conftest.er1 29531 cat conftest.err >&5 29532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 29533 (exit $ac_status); } && { 29534 test -z "$ac_c_werror_flag" || 29535 test ! -s conftest.err 29536 } && test -s conftest.$ac_objext; then 29537 29538cat >>confdefs.h <<\_ACEOF 29539#define _GNU_SOURCE 1 29540_ACEOF 29541 29542else 29543 $as_echo "$as_me: failed program was:" >&5 29544sed 's/^/| /' conftest.$ac_ext >&5 29545 29546 29547fi 29548 29549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29550 29551 29552 prefix_NONE= 29553 exec_prefix_NONE= 29554 test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix 29555 test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix 29556 eval ac_define_dir="\"$prefix\"" 29557 eval ac_define_dir="\"$ac_define_dir\"" 29558 PROJECTROOT="$ac_define_dir" 29559 29560 29561cat >>confdefs.h <<_ACEOF 29562#define PROJECTROOT "$ac_define_dir" 29563_ACEOF 29564 29565 test "$prefix_NONE" && prefix=NONE 29566 test "$exec_prefix_NONE" && exec_prefix=NONE 29567 29568 29569BUILD_DATE="$(date +'%Y%m%d')" 29570 29571BUILD_TIME="$(date +'1%H%M%S')" 29572 29573 29574DIX_CFLAGS="-DHAVE_DIX_CONFIG_H $XSERVER_CFLAGS" 29575 29576 29577 29578 29579 29580 29581 29582# Man page sections - used in config utils & generating man pages 29583 29584 29585 29586if test x$APP_MAN_SUFFIX = x ; then 29587 APP_MAN_SUFFIX=1 29588fi 29589if test x$APP_MAN_DIR = x ; then 29590 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 29591fi 29592 29593if test x$LIB_MAN_SUFFIX = x ; then 29594 LIB_MAN_SUFFIX=3 29595fi 29596if test x$LIB_MAN_DIR = x ; then 29597 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 29598fi 29599 29600if test x$FILE_MAN_SUFFIX = x ; then 29601 case $host_os in 29602 solaris*) FILE_MAN_SUFFIX=4 ;; 29603 *) FILE_MAN_SUFFIX=5 ;; 29604 esac 29605fi 29606if test x$FILE_MAN_DIR = x ; then 29607 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 29608fi 29609 29610if test x$MISC_MAN_SUFFIX = x ; then 29611 case $host_os in 29612 solaris*) MISC_MAN_SUFFIX=5 ;; 29613 *) MISC_MAN_SUFFIX=7 ;; 29614 esac 29615fi 29616if test x$MISC_MAN_DIR = x ; then 29617 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 29618fi 29619 29620if test x$DRIVER_MAN_SUFFIX = x ; then 29621 case $host_os in 29622 solaris*) DRIVER_MAN_SUFFIX=7 ;; 29623 *) DRIVER_MAN_SUFFIX=4 ;; 29624 esac 29625fi 29626if test x$DRIVER_MAN_DIR = x ; then 29627 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 29628fi 29629 29630if test x$ADMIN_MAN_SUFFIX = x ; then 29631 case $host_os in 29632 solaris*) ADMIN_MAN_SUFFIX=1m ;; 29633 *) ADMIN_MAN_SUFFIX=8 ;; 29634 esac 29635fi 29636if test x$ADMIN_MAN_DIR = x ; then 29637 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 29638fi 29639 29640 29641 29642 29643 29644 29645 29646 29647 29648 29649 29650 29651 29652 29653 29654 29655ac_config_files="$ac_config_files Makefile glx/Makefile include/Makefile composite/Makefile damageext/Makefile dbe/Makefile dix/Makefile doc/Makefile fb/Makefile record/Makefile config/Makefile mi/Makefile miext/Makefile miext/damage/Makefile miext/shadow/Makefile miext/cw/Makefile miext/rootless/Makefile os/Makefile randr/Makefile render/Makefile xkb/Makefile Xext/Makefile Xi/Makefile xfixes/Makefile exa/Makefile hw/Makefile hw/xfree86/Makefile hw/xfree86/common/Makefile hw/xfree86/common/xf86Build.h hw/xfree86/ddc/Makefile hw/xfree86/dixmods/Makefile hw/xfree86/dixmods/extmod/Makefile hw/xfree86/doc/Makefile hw/xfree86/doc/devel/Makefile hw/xfree86/doc/man/Makefile hw/xfree86/doc/sgml/Makefile hw/xfree86/dri/Makefile hw/xfree86/dri2/Makefile hw/xfree86/dummylib/Makefile hw/xfree86/exa/Makefile hw/xfree86/fbdevhw/Makefile hw/xfree86/i2c/Makefile hw/xfree86/int10/Makefile hw/xfree86/loader/Makefile hw/xfree86/modes/Makefile hw/xfree86/os-support/Makefile hw/xfree86/os-support/bsd/Makefile hw/xfree86/os-support/bus/Makefile hw/xfree86/os-support/hurd/Makefile hw/xfree86/os-support/misc/Makefile hw/xfree86/os-support/linux/Makefile hw/xfree86/os-support/sco/Makefile hw/xfree86/os-support/solaris/Makefile hw/xfree86/os-support/sysv/Makefile hw/xfree86/parser/Makefile hw/xfree86/ramdac/Makefile hw/xfree86/shadowfb/Makefile hw/xfree86/vbe/Makefile hw/xfree86/vgahw/Makefile hw/xfree86/x86emu/Makefile hw/xfree86/xaa/Makefile hw/xfree86/xf8_16bpp/Makefile hw/xfree86/utils/Makefile hw/xfree86/utils/cvt/Makefile hw/xfree86/utils/gtf/Makefile hw/dmx/config/Makefile hw/dmx/doc/Makefile hw/dmx/examples/Makefile hw/dmx/input/Makefile hw/dmx/glxProxy/Makefile hw/dmx/Makefile hw/vfb/Makefile hw/xnest/Makefile hw/xwin/Makefile hw/xquartz/Makefile hw/xquartz/GL/Makefile hw/xquartz/bundle/Makefile hw/xquartz/doc/Makefile hw/xquartz/mach-startup/Makefile hw/xquartz/pbproxy/Makefile hw/xquartz/xpr/Makefile hw/kdrive/Makefile hw/kdrive/ephyr/Makefile hw/kdrive/fake/Makefile hw/kdrive/fbdev/Makefile hw/kdrive/linux/Makefile hw/kdrive/sdl/Makefile hw/kdrive/src/Makefile xorg-server.pc" 29656 29657cat >confcache <<\_ACEOF 29658# This file is a shell script that caches the results of configure 29659# tests run on this system so they can be shared between configure 29660# scripts and configure runs, see configure's option --config-cache. 29661# It is not useful on other systems. If it contains results you don't 29662# want to keep, you may remove or edit it. 29663# 29664# config.status only pays attention to the cache file if you give it 29665# the --recheck option to rerun configure. 29666# 29667# `ac_cv_env_foo' variables (set or unset) will be overridden when 29668# loading this file, other *unset* `ac_cv_foo' will be assigned the 29669# following values. 29670 29671_ACEOF 29672 29673# The following way of writing the cache mishandles newlines in values, 29674# but we know of no workaround that is simple, portable, and efficient. 29675# So, we kill variables containing newlines. 29676# Ultrix sh set writes to stderr and can't be redirected directly, 29677# and sets the high bit in the cache file unless we assign to the vars. 29678( 29679 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 29680 eval ac_val=\$$ac_var 29681 case $ac_val in #( 29682 *${as_nl}*) 29683 case $ac_var in #( 29684 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 29685$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 29686 esac 29687 case $ac_var in #( 29688 _ | IFS | as_nl) ;; #( 29689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 29690 *) $as_unset $ac_var ;; 29691 esac ;; 29692 esac 29693 done 29694 29695 (set) 2>&1 | 29696 case $as_nl`(ac_space=' '; set) 2>&1` in #( 29697 *${as_nl}ac_space=\ *) 29698 # `set' does not quote correctly, so add quotes (double-quote 29699 # substitution turns \\\\ into \\, and sed turns \\ into \). 29700 sed -n \ 29701 "s/'/'\\\\''/g; 29702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 29703 ;; #( 29704 *) 29705 # `set' quotes correctly as required by POSIX, so do not add quotes. 29706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 29707 ;; 29708 esac | 29709 sort 29710) | 29711 sed ' 29712 /^ac_cv_env_/b end 29713 t clear 29714 :clear 29715 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 29716 t end 29717 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 29718 :end' >>confcache 29719if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 29720 if test -w "$cache_file"; then 29721 test "x$cache_file" != "x/dev/null" && 29722 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 29723$as_echo "$as_me: updating cache $cache_file" >&6;} 29724 cat confcache >$cache_file 29725 else 29726 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 29727$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 29728 fi 29729fi 29730rm -f confcache 29731 29732test "x$prefix" = xNONE && prefix=$ac_default_prefix 29733# Let make expand exec_prefix. 29734test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 29735 29736DEFS=-DHAVE_CONFIG_H 29737 29738ac_libobjs= 29739ac_ltlibobjs= 29740for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 29741 # 1. Remove the extension, and $U if already installed. 29742 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 29743 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 29744 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 29745 # will be set to the directory where LIBOBJS objects are built. 29746 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 29747 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 29748done 29749LIBOBJS=$ac_libobjs 29750 29751LTLIBOBJS=$ac_ltlibobjs 29752 29753 29754if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 29755 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 29756Usually this means the macro was only invoked conditionally." >&5 29757$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 29758Usually this means the macro was only invoked conditionally." >&2;} 29759 { (exit 1); exit 1; }; } 29760fi 29761if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 29762 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 29763Usually this means the macro was only invoked conditionally." >&5 29764$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 29765Usually this means the macro was only invoked conditionally." >&2;} 29766 { (exit 1); exit 1; }; } 29767fi 29768if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 29769 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 29770Usually this means the macro was only invoked conditionally." >&5 29771$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 29772Usually this means the macro was only invoked conditionally." >&2;} 29773 { (exit 1); exit 1; }; } 29774fi 29775if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 29776 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined. 29777Usually this means the macro was only invoked conditionally." >&5 29778$as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined. 29779Usually this means the macro was only invoked conditionally." >&2;} 29780 { (exit 1); exit 1; }; } 29781fi 29782if test -z "${XSERVER_DTRACE_TRUE}" && test -z "${XSERVER_DTRACE_FALSE}"; then 29783 { { $as_echo "$as_me:$LINENO: error: conditional \"XSERVER_DTRACE\" was never defined. 29784Usually this means the macro was only invoked conditionally." >&5 29785$as_echo "$as_me: error: conditional \"XSERVER_DTRACE\" was never defined. 29786Usually this means the macro was only invoked conditionally." >&2;} 29787 { (exit 1); exit 1; }; } 29788fi 29789 29790if test -z "${NEED_STRLCAT_TRUE}" && test -z "${NEED_STRLCAT_FALSE}"; then 29791 { { $as_echo "$as_me:$LINENO: error: conditional \"NEED_STRLCAT\" was never defined. 29792Usually this means the macro was only invoked conditionally." >&5 29793$as_echo "$as_me: error: conditional \"NEED_STRLCAT\" was never defined. 29794Usually this means the macro was only invoked conditionally." >&2;} 29795 { (exit 1); exit 1; }; } 29796fi 29797if test -z "${NEED_VSNPRINTF_TRUE}" && test -z "${NEED_VSNPRINTF_FALSE}"; then 29798 { { $as_echo "$as_me:$LINENO: error: conditional \"NEED_VSNPRINTF\" was never defined. 29799Usually this means the macro was only invoked conditionally." >&5 29800$as_echo "$as_me: error: conditional \"NEED_VSNPRINTF\" was never defined. 29801Usually this means the macro was only invoked conditionally." >&2;} 29802 { (exit 1); exit 1; }; } 29803fi 29804if test -z "${AGP_TRUE}" && test -z "${AGP_FALSE}"; then 29805 { { $as_echo "$as_me:$LINENO: error: conditional \"AGP\" was never defined. 29806Usually this means the macro was only invoked conditionally." >&5 29807$as_echo "$as_me: error: conditional \"AGP\" was never defined. 29808Usually this means the macro was only invoked conditionally." >&2;} 29809 { (exit 1); exit 1; }; } 29810fi 29811if test -z "${LNXAPM_TRUE}" && test -z "${LNXAPM_FALSE}"; then 29812 { { $as_echo "$as_me:$LINENO: error: conditional \"LNXAPM\" was never defined. 29813Usually this means the macro was only invoked conditionally." >&5 29814$as_echo "$as_me: error: conditional \"LNXAPM\" was never defined. 29815Usually this means the macro was only invoked conditionally." >&2;} 29816 { (exit 1); exit 1; }; } 29817fi 29818if test -z "${FBDEVHW_TRUE}" && test -z "${FBDEVHW_FALSE}"; then 29819 { { $as_echo "$as_me:$LINENO: error: conditional \"FBDEVHW\" was never defined. 29820Usually this means the macro was only invoked conditionally." >&5 29821$as_echo "$as_me: error: conditional \"FBDEVHW\" was never defined. 29822Usually this means the macro was only invoked conditionally." >&2;} 29823 { (exit 1); exit 1; }; } 29824fi 29825if test -z "${FREEBSD_KLDLOAD_TRUE}" && test -z "${FREEBSD_KLDLOAD_FALSE}"; then 29826 { { $as_echo "$as_me:$LINENO: error: conditional \"FREEBSD_KLDLOAD\" was never defined. 29827Usually this means the macro was only invoked conditionally." >&5 29828$as_echo "$as_me: error: conditional \"FREEBSD_KLDLOAD\" was never defined. 29829Usually this means the macro was only invoked conditionally." >&2;} 29830 { (exit 1); exit 1; }; } 29831fi 29832if test -z "${BSD_APM_TRUE}" && test -z "${BSD_APM_FALSE}"; then 29833 { { $as_echo "$as_me:$LINENO: error: conditional \"BSD_APM\" was never defined. 29834Usually this means the macro was only invoked conditionally." >&5 29835$as_echo "$as_me: error: conditional \"BSD_APM\" was never defined. 29836Usually this means the macro was only invoked conditionally." >&2;} 29837 { (exit 1); exit 1; }; } 29838fi 29839if test -z "${BSD_KQUEUE_APM_TRUE}" && test -z "${BSD_KQUEUE_APM_FALSE}"; then 29840 { { $as_echo "$as_me:$LINENO: error: conditional \"BSD_KQUEUE_APM\" was never defined. 29841Usually this means the macro was only invoked conditionally." >&5 29842$as_echo "$as_me: error: conditional \"BSD_KQUEUE_APM\" was never defined. 29843Usually this means the macro was only invoked conditionally." >&2;} 29844 { (exit 1); exit 1; }; } 29845fi 29846if test -z "${ALPHA_VIDEO_TRUE}" && test -z "${ALPHA_VIDEO_FALSE}"; then 29847 { { $as_echo "$as_me:$LINENO: error: conditional \"ALPHA_VIDEO\" was never defined. 29848Usually this means the macro was only invoked conditionally." >&5 29849$as_echo "$as_me: error: conditional \"ALPHA_VIDEO\" was never defined. 29850Usually this means the macro was only invoked conditionally." >&2;} 29851 { (exit 1); exit 1; }; } 29852fi 29853if test -z "${ARM_VIDEO_TRUE}" && test -z "${ARM_VIDEO_FALSE}"; then 29854 { { $as_echo "$as_me:$LINENO: error: conditional \"ARM_VIDEO\" was never defined. 29855Usually this means the macro was only invoked conditionally." >&5 29856$as_echo "$as_me: error: conditional \"ARM_VIDEO\" was never defined. 29857Usually this means the macro was only invoked conditionally." >&2;} 29858 { (exit 1); exit 1; }; } 29859fi 29860if test -z "${I386_VIDEO_TRUE}" && test -z "${I386_VIDEO_FALSE}"; then 29861 { { $as_echo "$as_me:$LINENO: error: conditional \"I386_VIDEO\" was never defined. 29862Usually this means the macro was only invoked conditionally." >&5 29863$as_echo "$as_me: error: conditional \"I386_VIDEO\" was never defined. 29864Usually this means the macro was only invoked conditionally." >&2;} 29865 { (exit 1); exit 1; }; } 29866fi 29867if test -z "${PPC_VIDEO_TRUE}" && test -z "${PPC_VIDEO_FALSE}"; then 29868 { { $as_echo "$as_me:$LINENO: error: conditional \"PPC_VIDEO\" was never defined. 29869Usually this means the macro was only invoked conditionally." >&5 29870$as_echo "$as_me: error: conditional \"PPC_VIDEO\" was never defined. 29871Usually this means the macro was only invoked conditionally." >&2;} 29872 { (exit 1); exit 1; }; } 29873fi 29874if test -z "${SPARC64_VIDEO_TRUE}" && test -z "${SPARC64_VIDEO_FALSE}"; then 29875 { { $as_echo "$as_me:$LINENO: error: conditional \"SPARC64_VIDEO\" was never defined. 29876Usually this means the macro was only invoked conditionally." >&5 29877$as_echo "$as_me: error: conditional \"SPARC64_VIDEO\" was never defined. 29878Usually this means the macro was only invoked conditionally." >&2;} 29879 { (exit 1); exit 1; }; } 29880fi 29881if test -z "${KDRIVE_HW_TRUE}" && test -z "${KDRIVE_HW_FALSE}"; then 29882 { { $as_echo "$as_me:$LINENO: error: conditional \"KDRIVE_HW\" was never defined. 29883Usually this means the macro was only invoked conditionally." >&5 29884$as_echo "$as_me: error: conditional \"KDRIVE_HW\" was never defined. 29885Usually this means the macro was only invoked conditionally." >&2;} 29886 { (exit 1); exit 1; }; } 29887fi 29888if test -z "${INSTALL_SETUID_TRUE}" && test -z "${INSTALL_SETUID_FALSE}"; then 29889 { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_SETUID\" was never defined. 29890Usually this means the macro was only invoked conditionally." >&5 29891$as_echo "$as_me: error: conditional \"INSTALL_SETUID\" was never defined. 29892Usually this means the macro was only invoked conditionally." >&2;} 29893 { (exit 1); exit 1; }; } 29894fi 29895if test -z "${SECURE_RPC_TRUE}" && test -z "${SECURE_RPC_FALSE}"; then 29896 { { $as_echo "$as_me:$LINENO: error: conditional \"SECURE_RPC\" was never defined. 29897Usually this means the macro was only invoked conditionally." >&5 29898$as_echo "$as_me: error: conditional \"SECURE_RPC\" was never defined. 29899Usually this means the macro was only invoked conditionally." >&2;} 29900 { (exit 1); exit 1; }; } 29901fi 29902if test -z "${INT10_VM86_TRUE}" && test -z "${INT10_VM86_FALSE}"; then 29903 { { $as_echo "$as_me:$LINENO: error: conditional \"INT10_VM86\" was never defined. 29904Usually this means the macro was only invoked conditionally." >&5 29905$as_echo "$as_me: error: conditional \"INT10_VM86\" was never defined. 29906Usually this means the macro was only invoked conditionally." >&2;} 29907 { (exit 1); exit 1; }; } 29908fi 29909if test -z "${INT10_X86EMU_TRUE}" && test -z "${INT10_X86EMU_FALSE}"; then 29910 { { $as_echo "$as_me:$LINENO: error: conditional \"INT10_X86EMU\" was never defined. 29911Usually this means the macro was only invoked conditionally." >&5 29912$as_echo "$as_me: error: conditional \"INT10_X86EMU\" was never defined. 29913Usually this means the macro was only invoked conditionally." >&2;} 29914 { (exit 1); exit 1; }; } 29915fi 29916if test -z "${INT10_STUB_TRUE}" && test -z "${INT10_STUB_FALSE}"; then 29917 { { $as_echo "$as_me:$LINENO: error: conditional \"INT10_STUB\" was never defined. 29918Usually this means the macro was only invoked conditionally." >&5 29919$as_echo "$as_me: error: conditional \"INT10_STUB\" was never defined. 29920Usually this means the macro was only invoked conditionally." >&2;} 29921 { (exit 1); exit 1; }; } 29922fi 29923if test -z "${BUILDDOCS_TRUE}" && test -z "${BUILDDOCS_FALSE}"; then 29924 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILDDOCS\" was never defined. 29925Usually this means the macro was only invoked conditionally." >&5 29926$as_echo "$as_me: error: conditional \"BUILDDOCS\" was never defined. 29927Usually this means the macro was only invoked conditionally." >&2;} 29928 { (exit 1); exit 1; }; } 29929fi 29930if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then 29931 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined. 29932Usually this means the macro was only invoked conditionally." >&5 29933$as_echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined. 29934Usually this means the macro was only invoked conditionally." >&2;} 29935 { (exit 1); exit 1; }; } 29936fi 29937if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then 29938 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined. 29939Usually this means the macro was only invoked conditionally." >&5 29940$as_echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined. 29941Usually this means the macro was only invoked conditionally." >&2;} 29942 { (exit 1); exit 1; }; } 29943fi 29944if test -z "${INSTALL_LIBXF86CONFIG_TRUE}" && test -z "${INSTALL_LIBXF86CONFIG_FALSE}"; then 29945 { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LIBXF86CONFIG\" was never defined. 29946Usually this means the macro was only invoked conditionally." >&5 29947$as_echo "$as_me: error: conditional \"INSTALL_LIBXF86CONFIG\" was never defined. 29948Usually this means the macro was only invoked conditionally." >&2;} 29949 { (exit 1); exit 1; }; } 29950fi 29951if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then 29952 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined. 29953Usually this means the macro was only invoked conditionally." >&5 29954$as_echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined. 29955Usually this means the macro was only invoked conditionally." >&2;} 29956 { (exit 1); exit 1; }; } 29957fi 29958if test -z "${CONFIG_DBUS_API_TRUE}" && test -z "${CONFIG_DBUS_API_FALSE}"; then 29959 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_DBUS_API\" was never defined. 29960Usually this means the macro was only invoked conditionally." >&5 29961$as_echo "$as_me: error: conditional \"CONFIG_DBUS_API\" was never defined. 29962Usually this means the macro was only invoked conditionally." >&2;} 29963 { (exit 1); exit 1; }; } 29964fi 29965if test -z "${CONFIG_HAL_TRUE}" && test -z "${CONFIG_HAL_FALSE}"; then 29966 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_HAL\" was never defined. 29967Usually this means the macro was only invoked conditionally." >&5 29968$as_echo "$as_me: error: conditional \"CONFIG_HAL\" was never defined. 29969Usually this means the macro was only invoked conditionally." >&2;} 29970 { (exit 1); exit 1; }; } 29971fi 29972if test -z "${CONFIG_NEED_DBUS_TRUE}" && test -z "${CONFIG_NEED_DBUS_FALSE}"; then 29973 { { $as_echo "$as_me:$LINENO: error: conditional \"CONFIG_NEED_DBUS\" was never defined. 29974Usually this means the macro was only invoked conditionally." >&5 29975$as_echo "$as_me: error: conditional \"CONFIG_NEED_DBUS\" was never defined. 29976Usually this means the macro was only invoked conditionally." >&2;} 29977 { (exit 1); exit 1; }; } 29978fi 29979if test -z "${XV_TRUE}" && test -z "${XV_FALSE}"; then 29980 { { $as_echo "$as_me:$LINENO: error: conditional \"XV\" was never defined. 29981Usually this means the macro was only invoked conditionally." >&5 29982$as_echo "$as_me: error: conditional \"XV\" was never defined. 29983Usually this means the macro was only invoked conditionally." >&2;} 29984 { (exit 1); exit 1; }; } 29985fi 29986if test -z "${XVMC_TRUE}" && test -z "${XVMC_FALSE}"; then 29987 { { $as_echo "$as_me:$LINENO: error: conditional \"XVMC\" was never defined. 29988Usually this means the macro was only invoked conditionally." >&5 29989$as_echo "$as_me: error: conditional \"XVMC\" was never defined. 29990Usually this means the macro was only invoked conditionally." >&2;} 29991 { (exit 1); exit 1; }; } 29992fi 29993if test -z "${XREGISTRY_TRUE}" && test -z "${XREGISTRY_FALSE}"; then 29994 { { $as_echo "$as_me:$LINENO: error: conditional \"XREGISTRY\" was never defined. 29995Usually this means the macro was only invoked conditionally." >&5 29996$as_echo "$as_me: error: conditional \"XREGISTRY\" was never defined. 29997Usually this means the macro was only invoked conditionally." >&2;} 29998 { (exit 1); exit 1; }; } 29999fi 30000if test -z "${COMPOSITE_TRUE}" && test -z "${COMPOSITE_FALSE}"; then 30001 { { $as_echo "$as_me:$LINENO: error: conditional \"COMPOSITE\" was never defined. 30002Usually this means the macro was only invoked conditionally." >&5 30003$as_echo "$as_me: error: conditional \"COMPOSITE\" was never defined. 30004Usually this means the macro was only invoked conditionally." >&2;} 30005 { (exit 1); exit 1; }; } 30006fi 30007if test -z "${MITSHM_TRUE}" && test -z "${MITSHM_FALSE}"; then 30008 { { $as_echo "$as_me:$LINENO: error: conditional \"MITSHM\" was never defined. 30009Usually this means the macro was only invoked conditionally." >&5 30010$as_echo "$as_me: error: conditional \"MITSHM\" was never defined. 30011Usually this means the macro was only invoked conditionally." >&2;} 30012 { (exit 1); exit 1; }; } 30013fi 30014if test -z "${RECORD_TRUE}" && test -z "${RECORD_FALSE}"; then 30015 { { $as_echo "$as_me:$LINENO: error: conditional \"RECORD\" was never defined. 30016Usually this means the macro was only invoked conditionally." >&5 30017$as_echo "$as_me: error: conditional \"RECORD\" was never defined. 30018Usually this means the macro was only invoked conditionally." >&2;} 30019 { (exit 1); exit 1; }; } 30020fi 30021if test -z "${SCREENSAVER_TRUE}" && test -z "${SCREENSAVER_FALSE}"; then 30022 { { $as_echo "$as_me:$LINENO: error: conditional \"SCREENSAVER\" was never defined. 30023Usually this means the macro was only invoked conditionally." >&5 30024$as_echo "$as_me: error: conditional \"SCREENSAVER\" was never defined. 30025Usually this means the macro was only invoked conditionally." >&2;} 30026 { (exit 1); exit 1; }; } 30027fi 30028if test -z "${RES_TRUE}" && test -z "${RES_FALSE}"; then 30029 { { $as_echo "$as_me:$LINENO: error: conditional \"RES\" was never defined. 30030Usually this means the macro was only invoked conditionally." >&5 30031$as_echo "$as_me: error: conditional \"RES\" was never defined. 30032Usually this means the macro was only invoked conditionally." >&2;} 30033 { (exit 1); exit 1; }; } 30034fi 30035if test -z "${GLX_TRUE}" && test -z "${GLX_FALSE}"; then 30036 { { $as_echo "$as_me:$LINENO: error: conditional \"GLX\" was never defined. 30037Usually this means the macro was only invoked conditionally." >&5 30038$as_echo "$as_me: error: conditional \"GLX\" was never defined. 30039Usually this means the macro was only invoked conditionally." >&2;} 30040 { (exit 1); exit 1; }; } 30041fi 30042if test -z "${AIGLX_TRUE}" && test -z "${AIGLX_FALSE}"; then 30043 { { $as_echo "$as_me:$LINENO: error: conditional \"AIGLX\" was never defined. 30044Usually this means the macro was only invoked conditionally." >&5 30045$as_echo "$as_me: error: conditional \"AIGLX\" was never defined. 30046Usually this means the macro was only invoked conditionally." >&2;} 30047 { (exit 1); exit 1; }; } 30048fi 30049if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then 30050 { { $as_echo "$as_me:$LINENO: error: conditional \"DRI\" was never defined. 30051Usually this means the macro was only invoked conditionally." >&5 30052$as_echo "$as_me: error: conditional \"DRI\" was never defined. 30053Usually this means the macro was only invoked conditionally." >&2;} 30054 { (exit 1); exit 1; }; } 30055fi 30056if test -z "${DRI2_TRUE}" && test -z "${DRI2_FALSE}"; then 30057 { { $as_echo "$as_me:$LINENO: error: conditional \"DRI2\" was never defined. 30058Usually this means the macro was only invoked conditionally." >&5 30059$as_echo "$as_me: error: conditional \"DRI2\" was never defined. 30060Usually this means the macro was only invoked conditionally." >&2;} 30061 { (exit 1); exit 1; }; } 30062fi 30063if test -z "${DRI2_AIGLX_TRUE}" && test -z "${DRI2_AIGLX_FALSE}"; then 30064 { { $as_echo "$as_me:$LINENO: error: conditional \"DRI2_AIGLX\" was never defined. 30065Usually this means the macro was only invoked conditionally." >&5 30066$as_echo "$as_me: error: conditional \"DRI2_AIGLX\" was never defined. 30067Usually this means the macro was only invoked conditionally." >&2;} 30068 { (exit 1); exit 1; }; } 30069fi 30070if test -z "${XINERAMA_TRUE}" && test -z "${XINERAMA_FALSE}"; then 30071 { { $as_echo "$as_me:$LINENO: error: conditional \"XINERAMA\" was never defined. 30072Usually this means the macro was only invoked conditionally." >&5 30073$as_echo "$as_me: error: conditional \"XINERAMA\" was never defined. 30074Usually this means the macro was only invoked conditionally." >&2;} 30075 { (exit 1); exit 1; }; } 30076fi 30077if test -z "${XACE_TRUE}" && test -z "${XACE_FALSE}"; then 30078 { { $as_echo "$as_me:$LINENO: error: conditional \"XACE\" was never defined. 30079Usually this means the macro was only invoked conditionally." >&5 30080$as_echo "$as_me: error: conditional \"XACE\" was never defined. 30081Usually this means the macro was only invoked conditionally." >&2;} 30082 { (exit 1); exit 1; }; } 30083fi 30084if test -z "${XSELINUX_TRUE}" && test -z "${XSELINUX_FALSE}"; then 30085 { { $as_echo "$as_me:$LINENO: error: conditional \"XSELINUX\" was never defined. 30086Usually this means the macro was only invoked conditionally." >&5 30087$as_echo "$as_me: error: conditional \"XSELINUX\" was never defined. 30088Usually this means the macro was only invoked conditionally." >&2;} 30089 { (exit 1); exit 1; }; } 30090fi 30091if test -z "${XCSECURITY_TRUE}" && test -z "${XCSECURITY_FALSE}"; then 30092 { { $as_echo "$as_me:$LINENO: error: conditional \"XCSECURITY\" was never defined. 30093Usually this means the macro was only invoked conditionally." >&5 30094$as_echo "$as_me: error: conditional \"XCSECURITY\" was never defined. 30095Usually this means the macro was only invoked conditionally." >&2;} 30096 { (exit 1); exit 1; }; } 30097fi 30098if test -z "${MULTIBUFFER_TRUE}" && test -z "${MULTIBUFFER_FALSE}"; then 30099 { { $as_echo "$as_me:$LINENO: error: conditional \"MULTIBUFFER\" was never defined. 30100Usually this means the macro was only invoked conditionally." >&5 30101$as_echo "$as_me: error: conditional \"MULTIBUFFER\" was never defined. 30102Usually this means the macro was only invoked conditionally." >&2;} 30103 { (exit 1); exit 1; }; } 30104fi 30105if test -z "${DBE_TRUE}" && test -z "${DBE_FALSE}"; then 30106 { { $as_echo "$as_me:$LINENO: error: conditional \"DBE\" was never defined. 30107Usually this means the macro was only invoked conditionally." >&5 30108$as_echo "$as_me: error: conditional \"DBE\" was never defined. 30109Usually this means the macro was only invoked conditionally." >&2;} 30110 { (exit 1); exit 1; }; } 30111fi 30112if test -z "${XF86BIGFONT_TRUE}" && test -z "${XF86BIGFONT_FALSE}"; then 30113 { { $as_echo "$as_me:$LINENO: error: conditional \"XF86BIGFONT\" was never defined. 30114Usually this means the macro was only invoked conditionally." >&5 30115$as_echo "$as_me: error: conditional \"XF86BIGFONT\" was never defined. 30116Usually this means the macro was only invoked conditionally." >&2;} 30117 { (exit 1); exit 1; }; } 30118fi 30119if test -z "${DPMSExtension_TRUE}" && test -z "${DPMSExtension_FALSE}"; then 30120 { { $as_echo "$as_me:$LINENO: error: conditional \"DPMSExtension\" was never defined. 30121Usually this means the macro was only invoked conditionally." >&5 30122$as_echo "$as_me: error: conditional \"DPMSExtension\" was never defined. 30123Usually this means the macro was only invoked conditionally." >&2;} 30124 { (exit 1); exit 1; }; } 30125fi 30126if test -z "${XCALIBRATE_TRUE}" && test -z "${XCALIBRATE_FALSE}"; then 30127 { { $as_echo "$as_me:$LINENO: error: conditional \"XCALIBRATE\" was never defined. 30128Usually this means the macro was only invoked conditionally." >&5 30129$as_echo "$as_me: error: conditional \"XCALIBRATE\" was never defined. 30130Usually this means the macro was only invoked conditionally." >&2;} 30131 { (exit 1); exit 1; }; } 30132fi 30133if test -z "${XF86UTILS_TRUE}" && test -z "${XF86UTILS_FALSE}"; then 30134 { { $as_echo "$as_me:$LINENO: error: conditional \"XF86UTILS\" was never defined. 30135Usually this means the macro was only invoked conditionally." >&5 30136$as_echo "$as_me: error: conditional \"XF86UTILS\" was never defined. 30137Usually this means the macro was only invoked conditionally." >&2;} 30138 { (exit 1); exit 1; }; } 30139fi 30140if test -z "${XDMCP_TRUE}" && test -z "${XDMCP_FALSE}"; then 30141 { { $as_echo "$as_me:$LINENO: error: conditional \"XDMCP\" was never defined. 30142Usually this means the macro was only invoked conditionally." >&5 30143$as_echo "$as_me: error: conditional \"XDMCP\" was never defined. 30144Usually this means the macro was only invoked conditionally." >&2;} 30145 { (exit 1); exit 1; }; } 30146fi 30147if test -z "${XDMAUTH_TRUE}" && test -z "${XDMAUTH_FALSE}"; then 30148 { { $as_echo "$as_me:$LINENO: error: conditional \"XDMAUTH\" was never defined. 30149Usually this means the macro was only invoked conditionally." >&5 30150$as_echo "$as_me: error: conditional \"XDMAUTH\" was never defined. 30151Usually this means the macro was only invoked conditionally." >&2;} 30152 { (exit 1); exit 1; }; } 30153fi 30154if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then 30155 { { $as_echo "$as_me:$LINENO: error: conditional \"DEBUG\" was never defined. 30156Usually this means the macro was only invoked conditionally." >&5 30157$as_echo "$as_me: error: conditional \"DEBUG\" was never defined. 30158Usually this means the macro was only invoked conditionally." >&2;} 30159 { (exit 1); exit 1; }; } 30160fi 30161if test -z "${XVFB_TRUE}" && test -z "${XVFB_FALSE}"; then 30162 { { $as_echo "$as_me:$LINENO: error: conditional \"XVFB\" was never defined. 30163Usually this means the macro was only invoked conditionally." >&5 30164$as_echo "$as_me: error: conditional \"XVFB\" was never defined. 30165Usually this means the macro was only invoked conditionally." >&2;} 30166 { (exit 1); exit 1; }; } 30167fi 30168if test -z "${XNEST_TRUE}" && test -z "${XNEST_FALSE}"; then 30169 { { $as_echo "$as_me:$LINENO: error: conditional \"XNEST\" was never defined. 30170Usually this means the macro was only invoked conditionally." >&5 30171$as_echo "$as_me: error: conditional \"XNEST\" was never defined. 30172Usually this means the macro was only invoked conditionally." >&2;} 30173 { (exit 1); exit 1; }; } 30174fi 30175if test -z "${XORG_TRUE}" && test -z "${XORG_FALSE}"; then 30176 { { $as_echo "$as_me:$LINENO: error: conditional \"XORG\" was never defined. 30177Usually this means the macro was only invoked conditionally." >&5 30178$as_echo "$as_me: error: conditional \"XORG\" was never defined. 30179Usually this means the macro was only invoked conditionally." >&2;} 30180 { (exit 1); exit 1; }; } 30181fi 30182if test -z "${XORG_BUS_LINUXPCI_TRUE}" && test -z "${XORG_BUS_LINUXPCI_FALSE}"; then 30183 { { $as_echo "$as_me:$LINENO: error: conditional \"XORG_BUS_LINUXPCI\" was never defined. 30184Usually this means the macro was only invoked conditionally." >&5 30185$as_echo "$as_me: error: conditional \"XORG_BUS_LINUXPCI\" was never defined. 30186Usually this means the macro was only invoked conditionally." >&2;} 30187 { (exit 1); exit 1; }; } 30188fi 30189if test -z "${XORG_BUS_BSDPCI_TRUE}" && test -z "${XORG_BUS_BSDPCI_FALSE}"; then 30190 { { $as_echo "$as_me:$LINENO: error: conditional \"XORG_BUS_BSDPCI\" was never defined. 30191Usually this means the macro was only invoked conditionally." >&5 30192$as_echo "$as_me: error: conditional \"XORG_BUS_BSDPCI\" was never defined. 30193Usually this means the macro was only invoked conditionally." >&2;} 30194 { (exit 1); exit 1; }; } 30195fi 30196if test -z "${XORG_BUS_SPARC_TRUE}" && test -z "${XORG_BUS_SPARC_FALSE}"; then 30197 { { $as_echo "$as_me:$LINENO: error: conditional \"XORG_BUS_SPARC\" was never defined. 30198Usually this means the macro was only invoked conditionally." >&5 30199$as_echo "$as_me: error: conditional \"XORG_BUS_SPARC\" was never defined. 30200Usually this means the macro was only invoked conditionally." >&2;} 30201 { (exit 1); exit 1; }; } 30202fi 30203if test -z "${LINUX_IA64_TRUE}" && test -z "${LINUX_IA64_FALSE}"; then 30204 { { $as_echo "$as_me:$LINENO: error: conditional \"LINUX_IA64\" was never defined. 30205Usually this means the macro was only invoked conditionally." >&5 30206$as_echo "$as_me: error: conditional \"LINUX_IA64\" was never defined. 30207Usually this means the macro was only invoked conditionally." >&2;} 30208 { (exit 1); exit 1; }; } 30209fi 30210if test -z "${LINUX_ALPHA_TRUE}" && test -z "${LINUX_ALPHA_FALSE}"; then 30211 { { $as_echo "$as_me:$LINENO: error: conditional \"LINUX_ALPHA\" was never defined. 30212Usually this means the macro was only invoked conditionally." >&5 30213$as_echo "$as_me: error: conditional \"LINUX_ALPHA\" was never defined. 30214Usually this means the macro was only invoked conditionally." >&2;} 30215 { (exit 1); exit 1; }; } 30216fi 30217if test -z "${LNXACPI_TRUE}" && test -z "${LNXACPI_FALSE}"; then 30218 { { $as_echo "$as_me:$LINENO: error: conditional \"LNXACPI\" was never defined. 30219Usually this means the macro was only invoked conditionally." >&5 30220$as_echo "$as_me: error: conditional \"LNXACPI\" was never defined. 30221Usually this means the macro was only invoked conditionally." >&2;} 30222 { (exit 1); exit 1; }; } 30223fi 30224if test -z "${SOLARIS_USL_CONSOLE_TRUE}" && test -z "${SOLARIS_USL_CONSOLE_FALSE}"; then 30225 { { $as_echo "$as_me:$LINENO: error: conditional \"SOLARIS_USL_CONSOLE\" was never defined. 30226Usually this means the macro was only invoked conditionally." >&5 30227$as_echo "$as_me: error: conditional \"SOLARIS_USL_CONSOLE\" was never defined. 30228Usually this means the macro was only invoked conditionally." >&2;} 30229 { (exit 1); exit 1; }; } 30230fi 30231if test -z "${SOLARIS_ASM_INLINE_TRUE}" && test -z "${SOLARIS_ASM_INLINE_FALSE}"; then 30232 { { $as_echo "$as_me:$LINENO: error: conditional \"SOLARIS_ASM_INLINE\" was never defined. 30233Usually this means the macro was only invoked conditionally." >&5 30234$as_echo "$as_me: error: conditional \"SOLARIS_ASM_INLINE\" was never defined. 30235Usually this means the macro was only invoked conditionally." >&2;} 30236 { (exit 1); exit 1; }; } 30237fi 30238if test -z "${DGA_TRUE}" && test -z "${DGA_FALSE}"; then 30239 { { $as_echo "$as_me:$LINENO: error: conditional \"DGA\" was never defined. 30240Usually this means the macro was only invoked conditionally." >&5 30241$as_echo "$as_me: error: conditional \"DGA\" was never defined. 30242Usually this means the macro was only invoked conditionally." >&2;} 30243 { (exit 1); exit 1; }; } 30244fi 30245if test -z "${XF86VIDMODE_TRUE}" && test -z "${XF86VIDMODE_FALSE}"; then 30246 { { $as_echo "$as_me:$LINENO: error: conditional \"XF86VIDMODE\" was never defined. 30247Usually this means the macro was only invoked conditionally." >&5 30248$as_echo "$as_me: error: conditional \"XF86VIDMODE\" was never defined. 30249Usually this means the macro was only invoked conditionally." >&2;} 30250 { (exit 1); exit 1; }; } 30251fi 30252if test -z "${XWIN_TRUE}" && test -z "${XWIN_FALSE}"; then 30253 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN\" was never defined. 30254Usually this means the macro was only invoked conditionally." >&5 30255$as_echo "$as_me: error: conditional \"XWIN\" was never defined. 30256Usually this means the macro was only invoked conditionally." >&2;} 30257 { (exit 1); exit 1; }; } 30258fi 30259if test -z "${XWIN_MULTIWINDOW_TRUE}" && test -z "${XWIN_MULTIWINDOW_FALSE}"; then 30260 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_MULTIWINDOW\" was never defined. 30261Usually this means the macro was only invoked conditionally." >&5 30262$as_echo "$as_me: error: conditional \"XWIN_MULTIWINDOW\" was never defined. 30263Usually this means the macro was only invoked conditionally." >&2;} 30264 { (exit 1); exit 1; }; } 30265fi 30266if test -z "${XWIN_MULTIWINDOWEXTWM_TRUE}" && test -z "${XWIN_MULTIWINDOWEXTWM_FALSE}"; then 30267 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined. 30268Usually this means the macro was only invoked conditionally." >&5 30269$as_echo "$as_me: error: conditional \"XWIN_MULTIWINDOWEXTWM\" was never defined. 30270Usually this means the macro was only invoked conditionally." >&2;} 30271 { (exit 1); exit 1; }; } 30272fi 30273if test -z "${XWIN_CLIPBOARD_TRUE}" && test -z "${XWIN_CLIPBOARD_FALSE}"; then 30274 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_CLIPBOARD\" was never defined. 30275Usually this means the macro was only invoked conditionally." >&5 30276$as_echo "$as_me: error: conditional \"XWIN_CLIPBOARD\" was never defined. 30277Usually this means the macro was only invoked conditionally." >&2;} 30278 { (exit 1); exit 1; }; } 30279fi 30280if test -z "${XWIN_GLX_WINDOWS_TRUE}" && test -z "${XWIN_GLX_WINDOWS_FALSE}"; then 30281 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_GLX_WINDOWS\" was never defined. 30282Usually this means the macro was only invoked conditionally." >&5 30283$as_echo "$as_me: error: conditional \"XWIN_GLX_WINDOWS\" was never defined. 30284Usually this means the macro was only invoked conditionally." >&2;} 30285 { (exit 1); exit 1; }; } 30286fi 30287if test -z "${XWIN_NATIVEGDI_TRUE}" && test -z "${XWIN_NATIVEGDI_FALSE}"; then 30288 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_NATIVEGDI\" was never defined. 30289Usually this means the macro was only invoked conditionally." >&5 30290$as_echo "$as_me: error: conditional \"XWIN_NATIVEGDI\" was never defined. 30291Usually this means the macro was only invoked conditionally." >&2;} 30292 { (exit 1); exit 1; }; } 30293fi 30294if test -z "${XWIN_PRIMARYFB_TRUE}" && test -z "${XWIN_PRIMARYFB_FALSE}"; then 30295 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_PRIMARYFB\" was never defined. 30296Usually this means the macro was only invoked conditionally." >&5 30297$as_echo "$as_me: error: conditional \"XWIN_PRIMARYFB\" was never defined. 30298Usually this means the macro was only invoked conditionally." >&2;} 30299 { (exit 1); exit 1; }; } 30300fi 30301if test -z "${XWIN_RANDR_TRUE}" && test -z "${XWIN_RANDR_FALSE}"; then 30302 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_RANDR\" was never defined. 30303Usually this means the macro was only invoked conditionally." >&5 30304$as_echo "$as_me: error: conditional \"XWIN_RANDR\" was never defined. 30305Usually this means the macro was only invoked conditionally." >&2;} 30306 { (exit 1); exit 1; }; } 30307fi 30308if test -z "${XWIN_XV_TRUE}" && test -z "${XWIN_XV_FALSE}"; then 30309 { { $as_echo "$as_me:$LINENO: error: conditional \"XWIN_XV\" was never defined. 30310Usually this means the macro was only invoked conditionally." >&5 30311$as_echo "$as_me: error: conditional \"XWIN_XV\" was never defined. 30312Usually this means the macro was only invoked conditionally." >&2;} 30313 { (exit 1); exit 1; }; } 30314fi 30315if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then 30316 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined. 30317Usually this means the macro was only invoked conditionally." >&5 30318$as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined. 30319Usually this means the macro was only invoked conditionally." >&2;} 30320 { (exit 1); exit 1; }; } 30321fi 30322if test -z "${HAVE_XPLUGIN_TRUE}" && test -z "${HAVE_XPLUGIN_FALSE}"; then 30323 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XPLUGIN\" was never defined. 30324Usually this means the macro was only invoked conditionally." >&5 30325$as_echo "$as_me: error: conditional \"HAVE_XPLUGIN\" was never defined. 30326Usually this means the macro was only invoked conditionally." >&2;} 30327 { (exit 1); exit 1; }; } 30328fi 30329if test -z "${HAVE_AGL_FRAMEWORK_TRUE}" && test -z "${HAVE_AGL_FRAMEWORK_FALSE}"; then 30330 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_AGL_FRAMEWORK\" was never defined. 30331Usually this means the macro was only invoked conditionally." >&5 30332$as_echo "$as_me: error: conditional \"HAVE_AGL_FRAMEWORK\" was never defined. 30333Usually this means the macro was only invoked conditionally." >&2;} 30334 { (exit 1); exit 1; }; } 30335fi 30336if test -z "${XQUARTZ_TRUE}" && test -z "${XQUARTZ_FALSE}"; then 30337 { { $as_echo "$as_me:$LINENO: error: conditional \"XQUARTZ\" was never defined. 30338Usually this means the macro was only invoked conditionally." >&5 30339$as_echo "$as_me: error: conditional \"XQUARTZ\" was never defined. 30340Usually this means the macro was only invoked conditionally." >&2;} 30341 { (exit 1); exit 1; }; } 30342fi 30343if test -z "${STANDALONE_XPBPROXY_TRUE}" && test -z "${STANDALONE_XPBPROXY_FALSE}"; then 30344 { { $as_echo "$as_me:$LINENO: error: conditional \"STANDALONE_XPBPROXY\" was never defined. 30345Usually this means the macro was only invoked conditionally." >&5 30346$as_echo "$as_me: error: conditional \"STANDALONE_XPBPROXY\" was never defined. 30347Usually this means the macro was only invoked conditionally." >&2;} 30348 { (exit 1); exit 1; }; } 30349fi 30350if test -z "${DMX_TRUE}" && test -z "${DMX_FALSE}"; then 30351 { { $as_echo "$as_me:$LINENO: error: conditional \"DMX\" was never defined. 30352Usually this means the macro was only invoked conditionally." >&5 30353$as_echo "$as_me: error: conditional \"DMX\" was never defined. 30354Usually this means the macro was only invoked conditionally." >&2;} 30355 { (exit 1); exit 1; }; } 30356fi 30357if test -z "${DMX_BUILD_LNX_TRUE}" && test -z "${DMX_BUILD_LNX_FALSE}"; then 30358 { { $as_echo "$as_me:$LINENO: error: conditional \"DMX_BUILD_LNX\" was never defined. 30359Usually this means the macro was only invoked conditionally." >&5 30360$as_echo "$as_me: error: conditional \"DMX_BUILD_LNX\" was never defined. 30361Usually this means the macro was only invoked conditionally." >&2;} 30362 { (exit 1); exit 1; }; } 30363fi 30364if test -z "${DMX_BUILD_USB_TRUE}" && test -z "${DMX_BUILD_USB_FALSE}"; then 30365 { { $as_echo "$as_me:$LINENO: error: conditional \"DMX_BUILD_USB\" was never defined. 30366Usually this means the macro was only invoked conditionally." >&5 30367$as_echo "$as_me: error: conditional \"DMX_BUILD_USB\" was never defined. 30368Usually this means the macro was only invoked conditionally." >&2;} 30369 { (exit 1); exit 1; }; } 30370fi 30371if test -z "${KDRIVE_TRUE}" && test -z "${KDRIVE_FALSE}"; then 30372 { { $as_echo "$as_me:$LINENO: error: conditional \"KDRIVE\" was never defined. 30373Usually this means the macro was only invoked conditionally." >&5 30374$as_echo "$as_me: error: conditional \"KDRIVE\" was never defined. 30375Usually this means the macro was only invoked conditionally." >&2;} 30376 { (exit 1); exit 1; }; } 30377fi 30378if test -z "${KDRIVELINUX_TRUE}" && test -z "${KDRIVELINUX_FALSE}"; then 30379 { { $as_echo "$as_me:$LINENO: error: conditional \"KDRIVELINUX\" was never defined. 30380Usually this means the macro was only invoked conditionally." >&5 30381$as_echo "$as_me: error: conditional \"KDRIVELINUX\" was never defined. 30382Usually this means the macro was only invoked conditionally." >&2;} 30383 { (exit 1); exit 1; }; } 30384fi 30385if test -z "${TSLIB_TRUE}" && test -z "${TSLIB_FALSE}"; then 30386 { { $as_echo "$as_me:$LINENO: error: conditional \"TSLIB\" was never defined. 30387Usually this means the macro was only invoked conditionally." >&5 30388$as_echo "$as_me: error: conditional \"TSLIB\" was never defined. 30389Usually this means the macro was only invoked conditionally." >&2;} 30390 { (exit 1); exit 1; }; } 30391fi 30392if test -z "${KDRIVEVESA_TRUE}" && test -z "${KDRIVEVESA_FALSE}"; then 30393 { { $as_echo "$as_me:$LINENO: error: conditional \"KDRIVEVESA\" was never defined. 30394Usually this means the macro was only invoked conditionally." >&5 30395$as_echo "$as_me: error: conditional \"KDRIVEVESA\" was never defined. 30396Usually this means the macro was only invoked conditionally." >&2;} 30397 { (exit 1); exit 1; }; } 30398fi 30399if test -z "${KDRIVEFBDEV_TRUE}" && test -z "${KDRIVEFBDEV_FALSE}"; then 30400 { { $as_echo "$as_me:$LINENO: error: conditional \"KDRIVEFBDEV\" was never defined. 30401Usually this means the macro was only invoked conditionally." >&5 30402$as_echo "$as_me: error: conditional \"KDRIVEFBDEV\" was never defined. 30403Usually this means the macro was only invoked conditionally." >&2;} 30404 { (exit 1); exit 1; }; } 30405fi 30406if test -z "${XSDLSERVER_TRUE}" && test -z "${XSDLSERVER_FALSE}"; then 30407 { { $as_echo "$as_me:$LINENO: error: conditional \"XSDLSERVER\" was never defined. 30408Usually this means the macro was only invoked conditionally." >&5 30409$as_echo "$as_me: error: conditional \"XSDLSERVER\" was never defined. 30410Usually this means the macro was only invoked conditionally." >&2;} 30411 { (exit 1); exit 1; }; } 30412fi 30413if test -z "${XEPHYR_TRUE}" && test -z "${XEPHYR_FALSE}"; then 30414 { { $as_echo "$as_me:$LINENO: error: conditional \"XEPHYR\" was never defined. 30415Usually this means the macro was only invoked conditionally." >&5 30416$as_echo "$as_me: error: conditional \"XEPHYR\" was never defined. 30417Usually this means the macro was only invoked conditionally." >&2;} 30418 { (exit 1); exit 1; }; } 30419fi 30420if test -z "${BUILD_KDRIVEFBDEVLIB_TRUE}" && test -z "${BUILD_KDRIVEFBDEVLIB_FALSE}"; then 30421 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined. 30422Usually this means the macro was only invoked conditionally." >&5 30423$as_echo "$as_me: error: conditional \"BUILD_KDRIVEFBDEVLIB\" was never defined. 30424Usually this means the macro was only invoked conditionally." >&2;} 30425 { (exit 1); exit 1; }; } 30426fi 30427if test -z "${XFAKESERVER_TRUE}" && test -z "${XFAKESERVER_FALSE}"; then 30428 { { $as_echo "$as_me:$LINENO: error: conditional \"XFAKESERVER\" was never defined. 30429Usually this means the macro was only invoked conditionally." >&5 30430$as_echo "$as_me: error: conditional \"XFAKESERVER\" was never defined. 30431Usually this means the macro was only invoked conditionally." >&2;} 30432 { (exit 1); exit 1; }; } 30433fi 30434 30435: ${CONFIG_STATUS=./config.status} 30436ac_write_fail=0 30437ac_clean_files_save=$ac_clean_files 30438ac_clean_files="$ac_clean_files $CONFIG_STATUS" 30439{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 30440$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 30441cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30442#! $SHELL 30443# Generated by $as_me. 30444# Run this file to recreate the current configuration. 30445# Compiler output produced by configure, useful for debugging 30446# configure, is in config.log if it exists. 30447 30448debug=false 30449ac_cs_recheck=false 30450ac_cs_silent=false 30451SHELL=\${CONFIG_SHELL-$SHELL} 30452_ACEOF 30453 30454cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30455## --------------------- ## 30456## M4sh Initialization. ## 30457## --------------------- ## 30458 30459# Be more Bourne compatible 30460DUALCASE=1; export DUALCASE # for MKS sh 30461if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 30462 emulate sh 30463 NULLCMD=: 30464 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 30465 # is contrary to our usage. Disable this feature. 30466 alias -g '${1+"$@"}'='"$@"' 30467 setopt NO_GLOB_SUBST 30468else 30469 case `(set -o) 2>/dev/null` in 30470 *posix*) set -o posix ;; 30471esac 30472 30473fi 30474 30475 30476 30477 30478# PATH needs CR 30479# Avoid depending upon Character Ranges. 30480as_cr_letters='abcdefghijklmnopqrstuvwxyz' 30481as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 30482as_cr_Letters=$as_cr_letters$as_cr_LETTERS 30483as_cr_digits='0123456789' 30484as_cr_alnum=$as_cr_Letters$as_cr_digits 30485 30486as_nl=' 30487' 30488export as_nl 30489# Printing a long string crashes Solaris 7 /usr/bin/printf. 30490as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 30491as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 30492as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 30493if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 30494 as_echo='printf %s\n' 30495 as_echo_n='printf %s' 30496else 30497 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 30498 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 30499 as_echo_n='/usr/ucb/echo -n' 30500 else 30501 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 30502 as_echo_n_body='eval 30503 arg=$1; 30504 case $arg in 30505 *"$as_nl"*) 30506 expr "X$arg" : "X\\(.*\\)$as_nl"; 30507 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 30508 esac; 30509 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 30510 ' 30511 export as_echo_n_body 30512 as_echo_n='sh -c $as_echo_n_body as_echo' 30513 fi 30514 export as_echo_body 30515 as_echo='sh -c $as_echo_body as_echo' 30516fi 30517 30518# The user is always right. 30519if test "${PATH_SEPARATOR+set}" != set; then 30520 PATH_SEPARATOR=: 30521 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 30522 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 30523 PATH_SEPARATOR=';' 30524 } 30525fi 30526 30527# Support unset when possible. 30528if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 30529 as_unset=unset 30530else 30531 as_unset=false 30532fi 30533 30534 30535# IFS 30536# We need space, tab and new line, in precisely that order. Quoting is 30537# there to prevent editors from complaining about space-tab. 30538# (If _AS_PATH_WALK were called with IFS unset, it would disable word 30539# splitting by setting IFS to empty value.) 30540IFS=" "" $as_nl" 30541 30542# Find who we are. Look in the path if we contain no directory separator. 30543case $0 in 30544 *[\\/]* ) as_myself=$0 ;; 30545 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 30546for as_dir in $PATH 30547do 30548 IFS=$as_save_IFS 30549 test -z "$as_dir" && as_dir=. 30550 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 30551done 30552IFS=$as_save_IFS 30553 30554 ;; 30555esac 30556# We did not find ourselves, most probably we were run as `sh COMMAND' 30557# in which case we are not to be found in the path. 30558if test "x$as_myself" = x; then 30559 as_myself=$0 30560fi 30561if test ! -f "$as_myself"; then 30562 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 30563 { (exit 1); exit 1; } 30564fi 30565 30566# Work around bugs in pre-3.0 UWIN ksh. 30567for as_var in ENV MAIL MAILPATH 30568do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 30569done 30570PS1='$ ' 30571PS2='> ' 30572PS4='+ ' 30573 30574# NLS nuisances. 30575LC_ALL=C 30576export LC_ALL 30577LANGUAGE=C 30578export LANGUAGE 30579 30580# Required to use basename. 30581if expr a : '\(a\)' >/dev/null 2>&1 && 30582 test "X`expr 00001 : '.*\(...\)'`" = X001; then 30583 as_expr=expr 30584else 30585 as_expr=false 30586fi 30587 30588if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 30589 as_basename=basename 30590else 30591 as_basename=false 30592fi 30593 30594 30595# Name of the executable. 30596as_me=`$as_basename -- "$0" || 30597$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 30598 X"$0" : 'X\(//\)$' \| \ 30599 X"$0" : 'X\(/\)' \| . 2>/dev/null || 30600$as_echo X/"$0" | 30601 sed '/^.*\/\([^/][^/]*\)\/*$/{ 30602 s//\1/ 30603 q 30604 } 30605 /^X\/\(\/\/\)$/{ 30606 s//\1/ 30607 q 30608 } 30609 /^X\/\(\/\).*/{ 30610 s//\1/ 30611 q 30612 } 30613 s/.*/./; q'` 30614 30615# CDPATH. 30616$as_unset CDPATH 30617 30618 30619 30620 as_lineno_1=$LINENO 30621 as_lineno_2=$LINENO 30622 test "x$as_lineno_1" != "x$as_lineno_2" && 30623 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 30624 30625 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 30626 # uniformly replaced by the line number. The first 'sed' inserts a 30627 # line-number line after each line using $LINENO; the second 'sed' 30628 # does the real work. The second script uses 'N' to pair each 30629 # line-number line with the line containing $LINENO, and appends 30630 # trailing '-' during substitution so that $LINENO is not a special 30631 # case at line end. 30632 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 30633 # scripts with optimization help from Paolo Bonzini. Blame Lee 30634 # E. McMahon (1931-1989) for sed's syntax. :-) 30635 sed -n ' 30636 p 30637 /[$]LINENO/= 30638 ' <$as_myself | 30639 sed ' 30640 s/[$]LINENO.*/&-/ 30641 t lineno 30642 b 30643 :lineno 30644 N 30645 :loop 30646 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 30647 t loop 30648 s/-\n.*// 30649 ' >$as_me.lineno && 30650 chmod +x "$as_me.lineno" || 30651 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 30652 { (exit 1); exit 1; }; } 30653 30654 # Don't try to exec as it changes $[0], causing all sort of problems 30655 # (the dirname of $[0] is not the place where we might find the 30656 # original and so on. Autoconf is especially sensitive to this). 30657 . "./$as_me.lineno" 30658 # Exit status is that of the last command. 30659 exit 30660} 30661 30662 30663if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 30664 as_dirname=dirname 30665else 30666 as_dirname=false 30667fi 30668 30669ECHO_C= ECHO_N= ECHO_T= 30670case `echo -n x` in 30671-n*) 30672 case `echo 'x\c'` in 30673 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 30674 *) ECHO_C='\c';; 30675 esac;; 30676*) 30677 ECHO_N='-n';; 30678esac 30679if expr a : '\(a\)' >/dev/null 2>&1 && 30680 test "X`expr 00001 : '.*\(...\)'`" = X001; then 30681 as_expr=expr 30682else 30683 as_expr=false 30684fi 30685 30686rm -f conf$$ conf$$.exe conf$$.file 30687if test -d conf$$.dir; then 30688 rm -f conf$$.dir/conf$$.file 30689else 30690 rm -f conf$$.dir 30691 mkdir conf$$.dir 2>/dev/null 30692fi 30693if (echo >conf$$.file) 2>/dev/null; then 30694 if ln -s conf$$.file conf$$ 2>/dev/null; then 30695 as_ln_s='ln -s' 30696 # ... but there are two gotchas: 30697 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 30698 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 30699 # In both cases, we have to default to `cp -p'. 30700 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 30701 as_ln_s='cp -p' 30702 elif ln conf$$.file conf$$ 2>/dev/null; then 30703 as_ln_s=ln 30704 else 30705 as_ln_s='cp -p' 30706 fi 30707else 30708 as_ln_s='cp -p' 30709fi 30710rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 30711rmdir conf$$.dir 2>/dev/null 30712 30713if mkdir -p . 2>/dev/null; then 30714 as_mkdir_p=: 30715else 30716 test -d ./-p && rmdir ./-p 30717 as_mkdir_p=false 30718fi 30719 30720if test -x / >/dev/null 2>&1; then 30721 as_test_x='test -x' 30722else 30723 if ls -dL / >/dev/null 2>&1; then 30724 as_ls_L_option=L 30725 else 30726 as_ls_L_option= 30727 fi 30728 as_test_x=' 30729 eval sh -c '\'' 30730 if test -d "$1"; then 30731 test -d "$1/."; 30732 else 30733 case $1 in 30734 -*)set "./$1";; 30735 esac; 30736 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 30737 ???[sx]*):;;*)false;;esac;fi 30738 '\'' sh 30739 ' 30740fi 30741as_executable_p=$as_test_x 30742 30743# Sed expression to map a string onto a valid CPP name. 30744as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 30745 30746# Sed expression to map a string onto a valid variable name. 30747as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 30748 30749 30750exec 6>&1 30751 30752# Save the log message, to keep $[0] and so on meaningful, and to 30753# report actual input values of CONFIG_FILES etc. instead of their 30754# values after options handling. 30755ac_log=" 30756This file was extended by xorg-server $as_me 1.6.3, which was 30757generated by GNU Autoconf 2.63. Invocation command line was 30758 30759 CONFIG_FILES = $CONFIG_FILES 30760 CONFIG_HEADERS = $CONFIG_HEADERS 30761 CONFIG_LINKS = $CONFIG_LINKS 30762 CONFIG_COMMANDS = $CONFIG_COMMANDS 30763 $ $0 $@ 30764 30765on `(hostname || uname -n) 2>/dev/null | sed 1q` 30766" 30767 30768_ACEOF 30769 30770case $ac_config_files in *" 30771"*) set x $ac_config_files; shift; ac_config_files=$*;; 30772esac 30773 30774case $ac_config_headers in *" 30775"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 30776esac 30777 30778 30779cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30780# Files that config.status was made for. 30781config_files="$ac_config_files" 30782config_headers="$ac_config_headers" 30783config_commands="$ac_config_commands" 30784 30785_ACEOF 30786 30787cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30788ac_cs_usage="\ 30789\`$as_me' instantiates files from templates according to the 30790current configuration. 30791 30792Usage: $0 [OPTION]... [FILE]... 30793 30794 -h, --help print this help, then exit 30795 -V, --version print version number and configuration settings, then exit 30796 -q, --quiet, --silent 30797 do not print progress messages 30798 -d, --debug don't remove temporary files 30799 --recheck update $as_me by reconfiguring in the same conditions 30800 --file=FILE[:TEMPLATE] 30801 instantiate the configuration file FILE 30802 --header=FILE[:TEMPLATE] 30803 instantiate the configuration header FILE 30804 30805Configuration files: 30806$config_files 30807 30808Configuration headers: 30809$config_headers 30810 30811Configuration commands: 30812$config_commands 30813 30814Report bugs to <bug-autoconf@gnu.org>." 30815 30816_ACEOF 30817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30818ac_cs_version="\\ 30819xorg-server config.status 1.6.3 30820configured by $0, generated by GNU Autoconf 2.63, 30821 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 30822 30823Copyright (C) 2008 Free Software Foundation, Inc. 30824This config.status script is free software; the Free Software Foundation 30825gives unlimited permission to copy, distribute and modify it." 30826 30827ac_pwd='$ac_pwd' 30828srcdir='$srcdir' 30829INSTALL='$INSTALL' 30830MKDIR_P='$MKDIR_P' 30831AWK='$AWK' 30832test -n "\$AWK" || AWK=awk 30833_ACEOF 30834 30835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30836# The default lists apply if the user does not specify any file. 30837ac_need_defaults=: 30838while test $# != 0 30839do 30840 case $1 in 30841 --*=*) 30842 ac_option=`expr "X$1" : 'X\([^=]*\)='` 30843 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 30844 ac_shift=: 30845 ;; 30846 *) 30847 ac_option=$1 30848 ac_optarg=$2 30849 ac_shift=shift 30850 ;; 30851 esac 30852 30853 case $ac_option in 30854 # Handling of the options. 30855 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 30856 ac_cs_recheck=: ;; 30857 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 30858 $as_echo "$ac_cs_version"; exit ;; 30859 --debug | --debu | --deb | --de | --d | -d ) 30860 debug=: ;; 30861 --file | --fil | --fi | --f ) 30862 $ac_shift 30863 case $ac_optarg in 30864 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 30865 esac 30866 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 30867 ac_need_defaults=false;; 30868 --header | --heade | --head | --hea ) 30869 $ac_shift 30870 case $ac_optarg in 30871 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 30872 esac 30873 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 30874 ac_need_defaults=false;; 30875 --he | --h) 30876 # Conflict between --help and --header 30877 { $as_echo "$as_me: error: ambiguous option: $1 30878Try \`$0 --help' for more information." >&2 30879 { (exit 1); exit 1; }; };; 30880 --help | --hel | -h ) 30881 $as_echo "$ac_cs_usage"; exit ;; 30882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 30883 | -silent | --silent | --silen | --sile | --sil | --si | --s) 30884 ac_cs_silent=: ;; 30885 30886 # This is an error. 30887 -*) { $as_echo "$as_me: error: unrecognized option: $1 30888Try \`$0 --help' for more information." >&2 30889 { (exit 1); exit 1; }; } ;; 30890 30891 *) ac_config_targets="$ac_config_targets $1" 30892 ac_need_defaults=false ;; 30893 30894 esac 30895 shift 30896done 30897 30898ac_configure_extra_args= 30899 30900if $ac_cs_silent; then 30901 exec 6>/dev/null 30902 ac_configure_extra_args="$ac_configure_extra_args --silent" 30903fi 30904 30905_ACEOF 30906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30907if \$ac_cs_recheck; then 30908 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 30909 shift 30910 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 30911 CONFIG_SHELL='$SHELL' 30912 export CONFIG_SHELL 30913 exec "\$@" 30914fi 30915 30916_ACEOF 30917cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 30918exec 5>>config.log 30919{ 30920 echo 30921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 30922## Running $as_me. ## 30923_ASBOX 30924 $as_echo "$ac_log" 30925} >&5 30926 30927_ACEOF 30928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 30929# 30930# INIT-COMMANDS 30931# 30932AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 30933 30934 30935# The HP-UX ksh and POSIX shell print the target directory to stdout 30936# if CDPATH is set. 30937(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 30938 30939sed_quote_subst='$sed_quote_subst' 30940double_quote_subst='$double_quote_subst' 30941delay_variable_subst='$delay_variable_subst' 30942AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`' 30943DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`' 30944OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 30945enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 30946macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 30947macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 30948enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 30949pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 30950enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 30951host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 30952host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 30953host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 30954build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 30955build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 30956build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 30957SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 30958Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 30959GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 30960EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 30961FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 30962LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 30963NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 30964LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 30965max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 30966ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 30967exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 30968lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 30969lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 30970lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 30971reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 30972reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 30973deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 30974file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 30975AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 30976AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 30977STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 30978RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 30979old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 30980old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 30981old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 30982CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 30983CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 30984compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 30985GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 30986lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 30987lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 30988lt_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"`' 30989lt_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"`' 30990objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 30991SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 30992ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 30993MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 30994lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 30995lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 30996lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 30997lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 30998lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 30999need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 31000DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 31001NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 31002LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 31003OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 31004OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 31005libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 31006shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31007extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31008archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 31009enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 31010export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 31011whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 31012compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 31013old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31014old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31015archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31016archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31017module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31018module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31019with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 31020allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 31021no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 31022hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 31023hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 31024hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 31025hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 31026hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 31027hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 31028hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 31029hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 31030inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 31031link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 31032fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 31033always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 31034export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31035exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 31036include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 31037prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31038file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 31039variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 31040need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 31041need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 31042version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 31043runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 31044shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 31045shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 31046libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 31047library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 31048soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 31049postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31050postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31051finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 31052finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 31053hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 31054sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 31055sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 31056hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 31057enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 31058enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 31059enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 31060old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 31061striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 31062 31063LTCC='$LTCC' 31064LTCFLAGS='$LTCFLAGS' 31065compiler='$compiler_DEFAULT' 31066 31067# Quote evaled strings. 31068for var in SED \ 31069GREP \ 31070EGREP \ 31071FGREP \ 31072LD \ 31073NM \ 31074LN_S \ 31075lt_SP2NL \ 31076lt_NL2SP \ 31077reload_flag \ 31078deplibs_check_method \ 31079file_magic_cmd \ 31080AR \ 31081AR_FLAGS \ 31082STRIP \ 31083RANLIB \ 31084CC \ 31085CFLAGS \ 31086compiler \ 31087lt_cv_sys_global_symbol_pipe \ 31088lt_cv_sys_global_symbol_to_cdecl \ 31089lt_cv_sys_global_symbol_to_c_name_address \ 31090lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 31091SHELL \ 31092ECHO \ 31093lt_prog_compiler_no_builtin_flag \ 31094lt_prog_compiler_wl \ 31095lt_prog_compiler_pic \ 31096lt_prog_compiler_static \ 31097lt_cv_prog_compiler_c_o \ 31098need_locks \ 31099DSYMUTIL \ 31100NMEDIT \ 31101LIPO \ 31102OTOOL \ 31103OTOOL64 \ 31104shrext_cmds \ 31105export_dynamic_flag_spec \ 31106whole_archive_flag_spec \ 31107compiler_needs_object \ 31108with_gnu_ld \ 31109allow_undefined_flag \ 31110no_undefined_flag \ 31111hardcode_libdir_flag_spec \ 31112hardcode_libdir_flag_spec_ld \ 31113hardcode_libdir_separator \ 31114fix_srcfile_path \ 31115exclude_expsyms \ 31116include_expsyms \ 31117file_list_spec \ 31118variables_saved_for_relink \ 31119libname_spec \ 31120library_names_spec \ 31121soname_spec \ 31122finish_eval \ 31123old_striplib \ 31124striplib; do 31125 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 31126 *[\\\\\\\`\\"\\\$]*) 31127 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 31128 ;; 31129 *) 31130 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 31131 ;; 31132 esac 31133done 31134 31135# Double-quote double-evaled strings. 31136for var in reload_cmds \ 31137old_postinstall_cmds \ 31138old_postuninstall_cmds \ 31139old_archive_cmds \ 31140extract_expsyms_cmds \ 31141old_archive_from_new_cmds \ 31142old_archive_from_expsyms_cmds \ 31143archive_cmds \ 31144archive_expsym_cmds \ 31145module_cmds \ 31146module_expsym_cmds \ 31147export_symbols_cmds \ 31148prelink_cmds \ 31149postinstall_cmds \ 31150postuninstall_cmds \ 31151finish_cmds \ 31152sys_lib_search_path_spec \ 31153sys_lib_dlsearch_path_spec; do 31154 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 31155 *[\\\\\\\`\\"\\\$]*) 31156 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 31157 ;; 31158 *) 31159 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 31160 ;; 31161 esac 31162done 31163 31164# Fix-up fallback echo if it was mangled by the above quoting rules. 31165case \$lt_ECHO in 31166*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 31167 ;; 31168esac 31169 31170ac_aux_dir='$ac_aux_dir' 31171xsi_shell='$xsi_shell' 31172lt_shell_append='$lt_shell_append' 31173 31174# See if we are running on zsh, and set the options which allow our 31175# commands through without removal of \ escapes INIT. 31176if test -n "\${ZSH_VERSION+set}" ; then 31177 setopt NO_GLOB_SUBST 31178fi 31179 31180 31181 PACKAGE='$PACKAGE' 31182 VERSION='$VERSION' 31183 TIMESTAMP='$TIMESTAMP' 31184 RM='$RM' 31185 ofile='$ofile' 31186 31187 31188 31189 31190_ACEOF 31191 31192cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31193 31194# Handling of arguments. 31195for ac_config_target in $ac_config_targets 31196do 31197 case $ac_config_target in 31198 "include/do-not-use-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/do-not-use-config.h" ;; 31199 "include/xorg-server.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xorg-server.h" ;; 31200 "include/dix-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/dix-config.h" ;; 31201 "include/xorg-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xorg-config.h" ;; 31202 "include/xkb-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xkb-config.h" ;; 31203 "include/xwin-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/xwin-config.h" ;; 31204 "include/kdrive-config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/kdrive-config.h" ;; 31205 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 31206 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 31207 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 31208 "glx/Makefile") CONFIG_FILES="$CONFIG_FILES glx/Makefile" ;; 31209 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 31210 "composite/Makefile") CONFIG_FILES="$CONFIG_FILES composite/Makefile" ;; 31211 "damageext/Makefile") CONFIG_FILES="$CONFIG_FILES damageext/Makefile" ;; 31212 "dbe/Makefile") CONFIG_FILES="$CONFIG_FILES dbe/Makefile" ;; 31213 "dix/Makefile") CONFIG_FILES="$CONFIG_FILES dix/Makefile" ;; 31214 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 31215 "fb/Makefile") CONFIG_FILES="$CONFIG_FILES fb/Makefile" ;; 31216 "record/Makefile") CONFIG_FILES="$CONFIG_FILES record/Makefile" ;; 31217 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; 31218 "mi/Makefile") CONFIG_FILES="$CONFIG_FILES mi/Makefile" ;; 31219 "miext/Makefile") CONFIG_FILES="$CONFIG_FILES miext/Makefile" ;; 31220 "miext/damage/Makefile") CONFIG_FILES="$CONFIG_FILES miext/damage/Makefile" ;; 31221 "miext/shadow/Makefile") CONFIG_FILES="$CONFIG_FILES miext/shadow/Makefile" ;; 31222 "miext/cw/Makefile") CONFIG_FILES="$CONFIG_FILES miext/cw/Makefile" ;; 31223 "miext/rootless/Makefile") CONFIG_FILES="$CONFIG_FILES miext/rootless/Makefile" ;; 31224 "os/Makefile") CONFIG_FILES="$CONFIG_FILES os/Makefile" ;; 31225 "randr/Makefile") CONFIG_FILES="$CONFIG_FILES randr/Makefile" ;; 31226 "render/Makefile") CONFIG_FILES="$CONFIG_FILES render/Makefile" ;; 31227 "xkb/Makefile") CONFIG_FILES="$CONFIG_FILES xkb/Makefile" ;; 31228 "Xext/Makefile") CONFIG_FILES="$CONFIG_FILES Xext/Makefile" ;; 31229 "Xi/Makefile") CONFIG_FILES="$CONFIG_FILES Xi/Makefile" ;; 31230 "xfixes/Makefile") CONFIG_FILES="$CONFIG_FILES xfixes/Makefile" ;; 31231 "exa/Makefile") CONFIG_FILES="$CONFIG_FILES exa/Makefile" ;; 31232 "hw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/Makefile" ;; 31233 "hw/xfree86/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/Makefile" ;; 31234 "hw/xfree86/common/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/common/Makefile" ;; 31235 "hw/xfree86/common/xf86Build.h") CONFIG_FILES="$CONFIG_FILES hw/xfree86/common/xf86Build.h" ;; 31236 "hw/xfree86/ddc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/ddc/Makefile" ;; 31237 "hw/xfree86/dixmods/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dixmods/Makefile" ;; 31238 "hw/xfree86/dixmods/extmod/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dixmods/extmod/Makefile" ;; 31239 "hw/xfree86/doc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/Makefile" ;; 31240 "hw/xfree86/doc/devel/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/devel/Makefile" ;; 31241 "hw/xfree86/doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/man/Makefile" ;; 31242 "hw/xfree86/doc/sgml/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/doc/sgml/Makefile" ;; 31243 "hw/xfree86/dri/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dri/Makefile" ;; 31244 "hw/xfree86/dri2/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dri2/Makefile" ;; 31245 "hw/xfree86/dummylib/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/dummylib/Makefile" ;; 31246 "hw/xfree86/exa/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/exa/Makefile" ;; 31247 "hw/xfree86/fbdevhw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/fbdevhw/Makefile" ;; 31248 "hw/xfree86/i2c/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/i2c/Makefile" ;; 31249 "hw/xfree86/int10/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/int10/Makefile" ;; 31250 "hw/xfree86/loader/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/loader/Makefile" ;; 31251 "hw/xfree86/modes/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/modes/Makefile" ;; 31252 "hw/xfree86/os-support/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/Makefile" ;; 31253 "hw/xfree86/os-support/bsd/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/bsd/Makefile" ;; 31254 "hw/xfree86/os-support/bus/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/bus/Makefile" ;; 31255 "hw/xfree86/os-support/hurd/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/hurd/Makefile" ;; 31256 "hw/xfree86/os-support/misc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/misc/Makefile" ;; 31257 "hw/xfree86/os-support/linux/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/linux/Makefile" ;; 31258 "hw/xfree86/os-support/sco/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/sco/Makefile" ;; 31259 "hw/xfree86/os-support/solaris/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/solaris/Makefile" ;; 31260 "hw/xfree86/os-support/sysv/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/os-support/sysv/Makefile" ;; 31261 "hw/xfree86/parser/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/parser/Makefile" ;; 31262 "hw/xfree86/ramdac/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/ramdac/Makefile" ;; 31263 "hw/xfree86/shadowfb/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/shadowfb/Makefile" ;; 31264 "hw/xfree86/vbe/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/vbe/Makefile" ;; 31265 "hw/xfree86/vgahw/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/vgahw/Makefile" ;; 31266 "hw/xfree86/x86emu/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/x86emu/Makefile" ;; 31267 "hw/xfree86/xaa/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/xaa/Makefile" ;; 31268 "hw/xfree86/xf8_16bpp/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/xf8_16bpp/Makefile" ;; 31269 "hw/xfree86/utils/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/Makefile" ;; 31270 "hw/xfree86/utils/cvt/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/cvt/Makefile" ;; 31271 "hw/xfree86/utils/gtf/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xfree86/utils/gtf/Makefile" ;; 31272 "hw/dmx/config/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/config/Makefile" ;; 31273 "hw/dmx/doc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/doc/Makefile" ;; 31274 "hw/dmx/examples/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/examples/Makefile" ;; 31275 "hw/dmx/input/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/input/Makefile" ;; 31276 "hw/dmx/glxProxy/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/glxProxy/Makefile" ;; 31277 "hw/dmx/Makefile") CONFIG_FILES="$CONFIG_FILES hw/dmx/Makefile" ;; 31278 "hw/vfb/Makefile") CONFIG_FILES="$CONFIG_FILES hw/vfb/Makefile" ;; 31279 "hw/xnest/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xnest/Makefile" ;; 31280 "hw/xwin/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xwin/Makefile" ;; 31281 "hw/xquartz/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/Makefile" ;; 31282 "hw/xquartz/GL/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/GL/Makefile" ;; 31283 "hw/xquartz/bundle/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/bundle/Makefile" ;; 31284 "hw/xquartz/doc/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/doc/Makefile" ;; 31285 "hw/xquartz/mach-startup/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/mach-startup/Makefile" ;; 31286 "hw/xquartz/pbproxy/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/pbproxy/Makefile" ;; 31287 "hw/xquartz/xpr/Makefile") CONFIG_FILES="$CONFIG_FILES hw/xquartz/xpr/Makefile" ;; 31288 "hw/kdrive/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/Makefile" ;; 31289 "hw/kdrive/ephyr/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/ephyr/Makefile" ;; 31290 "hw/kdrive/fake/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/fake/Makefile" ;; 31291 "hw/kdrive/fbdev/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/fbdev/Makefile" ;; 31292 "hw/kdrive/linux/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/linux/Makefile" ;; 31293 "hw/kdrive/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/sdl/Makefile" ;; 31294 "hw/kdrive/src/Makefile") CONFIG_FILES="$CONFIG_FILES hw/kdrive/src/Makefile" ;; 31295 "xorg-server.pc") CONFIG_FILES="$CONFIG_FILES xorg-server.pc" ;; 31296 31297 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 31298$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 31299 { (exit 1); exit 1; }; };; 31300 esac 31301done 31302 31303 31304# If the user did not use the arguments to specify the items to instantiate, 31305# then the envvar interface is used. Set only those that are not. 31306# We use the long form for the default assignment because of an extremely 31307# bizarre bug on SunOS 4.1.3. 31308if $ac_need_defaults; then 31309 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 31310 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 31311 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 31312fi 31313 31314# Have a temporary directory for convenience. Make it in the build tree 31315# simply because there is no reason against having it here, and in addition, 31316# creating and moving files from /tmp can sometimes cause problems. 31317# Hook for its removal unless debugging. 31318# Note that there is a small window in which the directory will not be cleaned: 31319# after its creation but before its name has been assigned to `$tmp'. 31320$debug || 31321{ 31322 tmp= 31323 trap 'exit_status=$? 31324 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 31325' 0 31326 trap '{ (exit 1); exit 1; }' 1 2 13 15 31327} 31328# Create a (secure) tmp directory for tmp files. 31329 31330{ 31331 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 31332 test -n "$tmp" && test -d "$tmp" 31333} || 31334{ 31335 tmp=./conf$$-$RANDOM 31336 (umask 077 && mkdir "$tmp") 31337} || 31338{ 31339 $as_echo "$as_me: cannot create a temporary directory in ." >&2 31340 { (exit 1); exit 1; } 31341} 31342 31343# Set up the scripts for CONFIG_FILES section. 31344# No need to generate them if there are no CONFIG_FILES. 31345# This happens for instance with `./config.status config.h'. 31346if test -n "$CONFIG_FILES"; then 31347 31348 31349ac_cr=' 31350' 31351ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 31352if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 31353 ac_cs_awk_cr='\\r' 31354else 31355 ac_cs_awk_cr=$ac_cr 31356fi 31357 31358echo 'BEGIN {' >"$tmp/subs1.awk" && 31359_ACEOF 31360 31361 31362{ 31363 echo "cat >conf$$subs.awk <<_ACEOF" && 31364 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 31365 echo "_ACEOF" 31366} >conf$$subs.sh || 31367 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31368$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 31369 { (exit 1); exit 1; }; } 31370ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 31371ac_delim='%!_!# ' 31372for ac_last_try in false false false false false :; do 31373 . ./conf$$subs.sh || 31374 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31375$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 31376 { (exit 1); exit 1; }; } 31377 31378 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 31379 if test $ac_delim_n = $ac_delim_num; then 31380 break 31381 elif $ac_last_try; then 31382 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31383$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 31384 { (exit 1); exit 1; }; } 31385 else 31386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 31387 fi 31388done 31389rm -f conf$$subs.sh 31390 31391cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31392cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 31393_ACEOF 31394sed -n ' 31395h 31396s/^/S["/; s/!.*/"]=/ 31397p 31398g 31399s/^[^!]*!// 31400:repl 31401t repl 31402s/'"$ac_delim"'$// 31403t delim 31404:nl 31405h 31406s/\(.\{148\}\).*/\1/ 31407t more1 31408s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 31409p 31410n 31411b repl 31412:more1 31413s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 31414p 31415g 31416s/.\{148\}// 31417t nl 31418:delim 31419h 31420s/\(.\{148\}\).*/\1/ 31421t more2 31422s/["\\]/\\&/g; s/^/"/; s/$/"/ 31423p 31424b 31425:more2 31426s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 31427p 31428g 31429s/.\{148\}// 31430t delim 31431' <conf$$subs.awk | sed ' 31432/^[^""]/{ 31433 N 31434 s/\n// 31435} 31436' >>$CONFIG_STATUS || ac_write_fail=1 31437rm -f conf$$subs.awk 31438cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31439_ACAWK 31440cat >>"\$tmp/subs1.awk" <<_ACAWK && 31441 for (key in S) S_is_set[key] = 1 31442 FS = "" 31443 31444} 31445{ 31446 line = $ 0 31447 nfields = split(line, field, "@") 31448 substed = 0 31449 len = length(field[1]) 31450 for (i = 2; i < nfields; i++) { 31451 key = field[i] 31452 keylen = length(key) 31453 if (S_is_set[key]) { 31454 value = S[key] 31455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 31456 len += length(value) + length(field[++i]) 31457 substed = 1 31458 } else 31459 len += 1 + keylen 31460 } 31461 31462 print line 31463} 31464 31465_ACAWK 31466_ACEOF 31467cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31468if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 31469 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 31470else 31471 cat 31472fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 31473 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 31474$as_echo "$as_me: error: could not setup config files machinery" >&2;} 31475 { (exit 1); exit 1; }; } 31476_ACEOF 31477 31478# VPATH may cause trouble with some makes, so we remove $(srcdir), 31479# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 31480# trailing colons and then remove the whole line if VPATH becomes empty 31481# (actually we leave an empty line to preserve line numbers). 31482if test "x$srcdir" = x.; then 31483 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 31484s/:*\$(srcdir):*/:/ 31485s/:*\${srcdir}:*/:/ 31486s/:*@srcdir@:*/:/ 31487s/^\([^=]*=[ ]*\):*/\1/ 31488s/:*$// 31489s/^[^=]*=[ ]*$// 31490}' 31491fi 31492 31493cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31494fi # test -n "$CONFIG_FILES" 31495 31496# Set up the scripts for CONFIG_HEADERS section. 31497# No need to generate them if there are no CONFIG_HEADERS. 31498# This happens for instance with `./config.status Makefile'. 31499if test -n "$CONFIG_HEADERS"; then 31500cat >"$tmp/defines.awk" <<\_ACAWK || 31501BEGIN { 31502_ACEOF 31503 31504# Transform confdefs.h into an awk script `defines.awk', embedded as 31505# here-document in config.status, that substitutes the proper values into 31506# config.h.in to produce config.h. 31507 31508# Create a delimiter string that does not exist in confdefs.h, to ease 31509# handling of long lines. 31510ac_delim='%!_!# ' 31511for ac_last_try in false false :; do 31512 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 31513 if test -z "$ac_t"; then 31514 break 31515 elif $ac_last_try; then 31516 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 31517$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 31518 { (exit 1); exit 1; }; } 31519 else 31520 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 31521 fi 31522done 31523 31524# For the awk script, D is an array of macro values keyed by name, 31525# likewise P contains macro parameters if any. Preserve backslash 31526# newline sequences. 31527 31528ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 31529sed -n ' 31530s/.\{148\}/&'"$ac_delim"'/g 31531t rset 31532:rset 31533s/^[ ]*#[ ]*define[ ][ ]*/ / 31534t def 31535d 31536:def 31537s/\\$// 31538t bsnl 31539s/["\\]/\\&/g 31540s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 31541D["\1"]=" \3"/p 31542s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 31543d 31544:bsnl 31545s/["\\]/\\&/g 31546s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 31547D["\1"]=" \3\\\\\\n"\\/p 31548t cont 31549s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 31550t cont 31551d 31552:cont 31553n 31554s/.\{148\}/&'"$ac_delim"'/g 31555t clear 31556:clear 31557s/\\$// 31558t bsnlc 31559s/["\\]/\\&/g; s/^/"/; s/$/"/p 31560d 31561:bsnlc 31562s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 31563b cont 31564' <confdefs.h | sed ' 31565s/'"$ac_delim"'/"\\\ 31566"/g' >>$CONFIG_STATUS || ac_write_fail=1 31567 31568cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31569 for (key in D) D_is_set[key] = 1 31570 FS = "" 31571} 31572/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 31573 line = \$ 0 31574 split(line, arg, " ") 31575 if (arg[1] == "#") { 31576 defundef = arg[2] 31577 mac1 = arg[3] 31578 } else { 31579 defundef = substr(arg[1], 2) 31580 mac1 = arg[2] 31581 } 31582 split(mac1, mac2, "(") #) 31583 macro = mac2[1] 31584 prefix = substr(line, 1, index(line, defundef) - 1) 31585 if (D_is_set[macro]) { 31586 # Preserve the white space surrounding the "#". 31587 print prefix "define", macro P[macro] D[macro] 31588 next 31589 } else { 31590 # Replace #undef with comments. This is necessary, for example, 31591 # in the case of _POSIX_SOURCE, which is predefined and required 31592 # on some systems where configure will not decide to define it. 31593 if (defundef == "undef") { 31594 print "/*", prefix defundef, macro, "*/" 31595 next 31596 } 31597 } 31598} 31599{ print } 31600_ACAWK 31601_ACEOF 31602cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31603 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 31604$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 31605 { (exit 1); exit 1; }; } 31606fi # test -n "$CONFIG_HEADERS" 31607 31608 31609eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 31610shift 31611for ac_tag 31612do 31613 case $ac_tag in 31614 :[FHLC]) ac_mode=$ac_tag; continue;; 31615 esac 31616 case $ac_mode$ac_tag in 31617 :[FHL]*:*);; 31618 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 31619$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 31620 { (exit 1); exit 1; }; };; 31621 :[FH]-) ac_tag=-:-;; 31622 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 31623 esac 31624 ac_save_IFS=$IFS 31625 IFS=: 31626 set x $ac_tag 31627 IFS=$ac_save_IFS 31628 shift 31629 ac_file=$1 31630 shift 31631 31632 case $ac_mode in 31633 :L) ac_source=$1;; 31634 :[FH]) 31635 ac_file_inputs= 31636 for ac_f 31637 do 31638 case $ac_f in 31639 -) ac_f="$tmp/stdin";; 31640 *) # Look for the file first in the build tree, then in the source tree 31641 # (if the path is not absolute). The absolute path cannot be DOS-style, 31642 # because $ac_f cannot contain `:'. 31643 test -f "$ac_f" || 31644 case $ac_f in 31645 [\\/$]*) false;; 31646 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 31647 esac || 31648 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 31649$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 31650 { (exit 1); exit 1; }; };; 31651 esac 31652 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 31653 ac_file_inputs="$ac_file_inputs '$ac_f'" 31654 done 31655 31656 # Let's still pretend it is `configure' which instantiates (i.e., don't 31657 # use $as_me), people would be surprised to read: 31658 # /* config.h. Generated by config.status. */ 31659 configure_input='Generated from '` 31660 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 31661 `' by configure.' 31662 if test x"$ac_file" != x-; then 31663 configure_input="$ac_file. $configure_input" 31664 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 31665$as_echo "$as_me: creating $ac_file" >&6;} 31666 fi 31667 # Neutralize special characters interpreted by sed in replacement strings. 31668 case $configure_input in #( 31669 *\&* | *\|* | *\\* ) 31670 ac_sed_conf_input=`$as_echo "$configure_input" | 31671 sed 's/[\\\\&|]/\\\\&/g'`;; #( 31672 *) ac_sed_conf_input=$configure_input;; 31673 esac 31674 31675 case $ac_tag in 31676 *:-:* | *:-) cat >"$tmp/stdin" \ 31677 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 31678$as_echo "$as_me: error: could not create $ac_file" >&2;} 31679 { (exit 1); exit 1; }; } ;; 31680 esac 31681 ;; 31682 esac 31683 31684 ac_dir=`$as_dirname -- "$ac_file" || 31685$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31686 X"$ac_file" : 'X\(//\)[^/]' \| \ 31687 X"$ac_file" : 'X\(//\)$' \| \ 31688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 31689$as_echo X"$ac_file" | 31690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31691 s//\1/ 31692 q 31693 } 31694 /^X\(\/\/\)[^/].*/{ 31695 s//\1/ 31696 q 31697 } 31698 /^X\(\/\/\)$/{ 31699 s//\1/ 31700 q 31701 } 31702 /^X\(\/\).*/{ 31703 s//\1/ 31704 q 31705 } 31706 s/.*/./; q'` 31707 { as_dir="$ac_dir" 31708 case $as_dir in #( 31709 -*) as_dir=./$as_dir;; 31710 esac 31711 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 31712 as_dirs= 31713 while :; do 31714 case $as_dir in #( 31715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 31716 *) as_qdir=$as_dir;; 31717 esac 31718 as_dirs="'$as_qdir' $as_dirs" 31719 as_dir=`$as_dirname -- "$as_dir" || 31720$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31721 X"$as_dir" : 'X\(//\)[^/]' \| \ 31722 X"$as_dir" : 'X\(//\)$' \| \ 31723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31724$as_echo X"$as_dir" | 31725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31726 s//\1/ 31727 q 31728 } 31729 /^X\(\/\/\)[^/].*/{ 31730 s//\1/ 31731 q 31732 } 31733 /^X\(\/\/\)$/{ 31734 s//\1/ 31735 q 31736 } 31737 /^X\(\/\).*/{ 31738 s//\1/ 31739 q 31740 } 31741 s/.*/./; q'` 31742 test -d "$as_dir" && break 31743 done 31744 test -z "$as_dirs" || eval "mkdir $as_dirs" 31745 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 31746$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 31747 { (exit 1); exit 1; }; }; } 31748 ac_builddir=. 31749 31750case "$ac_dir" in 31751.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 31752*) 31753 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 31754 # A ".." for each directory in $ac_dir_suffix. 31755 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 31756 case $ac_top_builddir_sub in 31757 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 31758 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 31759 esac ;; 31760esac 31761ac_abs_top_builddir=$ac_pwd 31762ac_abs_builddir=$ac_pwd$ac_dir_suffix 31763# for backward compatibility: 31764ac_top_builddir=$ac_top_build_prefix 31765 31766case $srcdir in 31767 .) # We are building in place. 31768 ac_srcdir=. 31769 ac_top_srcdir=$ac_top_builddir_sub 31770 ac_abs_top_srcdir=$ac_pwd ;; 31771 [\\/]* | ?:[\\/]* ) # Absolute name. 31772 ac_srcdir=$srcdir$ac_dir_suffix; 31773 ac_top_srcdir=$srcdir 31774 ac_abs_top_srcdir=$srcdir ;; 31775 *) # Relative name. 31776 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 31777 ac_top_srcdir=$ac_top_build_prefix$srcdir 31778 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 31779esac 31780ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 31781 31782 31783 case $ac_mode in 31784 :F) 31785 # 31786 # CONFIG_FILE 31787 # 31788 31789 case $INSTALL in 31790 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 31791 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 31792 esac 31793 ac_MKDIR_P=$MKDIR_P 31794 case $MKDIR_P in 31795 [\\/$]* | ?:[\\/]* ) ;; 31796 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 31797 esac 31798_ACEOF 31799 31800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31801# If the template does not know about datarootdir, expand it. 31802# FIXME: This hack should be removed a few years after 2.60. 31803ac_datarootdir_hack=; ac_datarootdir_seen= 31804 31805ac_sed_dataroot=' 31806/datarootdir/ { 31807 p 31808 q 31809} 31810/@datadir@/p 31811/@docdir@/p 31812/@infodir@/p 31813/@localedir@/p 31814/@mandir@/p 31815' 31816case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 31817*datarootdir*) ac_datarootdir_seen=yes;; 31818*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 31819 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 31820$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 31821_ACEOF 31822cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31823 ac_datarootdir_hack=' 31824 s&@datadir@&$datadir&g 31825 s&@docdir@&$docdir&g 31826 s&@infodir@&$infodir&g 31827 s&@localedir@&$localedir&g 31828 s&@mandir@&$mandir&g 31829 s&\\\${datarootdir}&$datarootdir&g' ;; 31830esac 31831_ACEOF 31832 31833# Neutralize VPATH when `$srcdir' = `.'. 31834# Shell code in configure.ac might set extrasub. 31835# FIXME: do we really want to maintain this feature? 31836cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 31837ac_sed_extra="$ac_vpsub 31838$extrasub 31839_ACEOF 31840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 31841:t 31842/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 31843s|@configure_input@|$ac_sed_conf_input|;t t 31844s&@top_builddir@&$ac_top_builddir_sub&;t t 31845s&@top_build_prefix@&$ac_top_build_prefix&;t t 31846s&@srcdir@&$ac_srcdir&;t t 31847s&@abs_srcdir@&$ac_abs_srcdir&;t t 31848s&@top_srcdir@&$ac_top_srcdir&;t t 31849s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 31850s&@builddir@&$ac_builddir&;t t 31851s&@abs_builddir@&$ac_abs_builddir&;t t 31852s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 31853s&@INSTALL@&$ac_INSTALL&;t t 31854s&@MKDIR_P@&$ac_MKDIR_P&;t t 31855$ac_datarootdir_hack 31856" 31857eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 31858 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 31859$as_echo "$as_me: error: could not create $ac_file" >&2;} 31860 { (exit 1); exit 1; }; } 31861 31862test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 31863 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 31864 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 31865 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 31866which seems to be undefined. Please make sure it is defined." >&5 31867$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 31868which seems to be undefined. Please make sure it is defined." >&2;} 31869 31870 rm -f "$tmp/stdin" 31871 case $ac_file in 31872 -) cat "$tmp/out" && rm -f "$tmp/out";; 31873 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 31874 esac \ 31875 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 31876$as_echo "$as_me: error: could not create $ac_file" >&2;} 31877 { (exit 1); exit 1; }; } 31878 ;; 31879 :H) 31880 # 31881 # CONFIG_HEADER 31882 # 31883 if test x"$ac_file" != x-; then 31884 { 31885 $as_echo "/* $configure_input */" \ 31886 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 31887 } >"$tmp/config.h" \ 31888 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 31889$as_echo "$as_me: error: could not create $ac_file" >&2;} 31890 { (exit 1); exit 1; }; } 31891 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 31892 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 31893$as_echo "$as_me: $ac_file is unchanged" >&6;} 31894 else 31895 rm -f "$ac_file" 31896 mv "$tmp/config.h" "$ac_file" \ 31897 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 31898$as_echo "$as_me: error: could not create $ac_file" >&2;} 31899 { (exit 1); exit 1; }; } 31900 fi 31901 else 31902 $as_echo "/* $configure_input */" \ 31903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 31904 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 31905$as_echo "$as_me: error: could not create -" >&2;} 31906 { (exit 1); exit 1; }; } 31907 fi 31908# Compute "$ac_file"'s index in $config_headers. 31909_am_arg="$ac_file" 31910_am_stamp_count=1 31911for _am_header in $config_headers :; do 31912 case $_am_header in 31913 $_am_arg | $_am_arg:* ) 31914 break ;; 31915 * ) 31916 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 31917 esac 31918done 31919echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 31920$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31921 X"$_am_arg" : 'X\(//\)[^/]' \| \ 31922 X"$_am_arg" : 'X\(//\)$' \| \ 31923 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 31924$as_echo X"$_am_arg" | 31925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31926 s//\1/ 31927 q 31928 } 31929 /^X\(\/\/\)[^/].*/{ 31930 s//\1/ 31931 q 31932 } 31933 /^X\(\/\/\)$/{ 31934 s//\1/ 31935 q 31936 } 31937 /^X\(\/\).*/{ 31938 s//\1/ 31939 q 31940 } 31941 s/.*/./; q'`/stamp-h$_am_stamp_count 31942 ;; 31943 31944 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 31945$as_echo "$as_me: executing $ac_file commands" >&6;} 31946 ;; 31947 esac 31948 31949 31950 case $ac_file$ac_mode in 31951 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files 31952# are listed without --file. Let's play safe and only enable the eval 31953# if we detect the quoting. 31954case $CONFIG_FILES in 31955*\'*) eval set x "$CONFIG_FILES" ;; 31956*) set x $CONFIG_FILES ;; 31957esac 31958shift 31959for mf 31960do 31961 # Strip MF so we end up with the name of the file. 31962 mf=`echo "$mf" | sed -e 's/:.*$//'` 31963 # Check whether this is an Automake generated Makefile or not. 31964 # We used to match only the files named `Makefile.in', but 31965 # some people rename them; so instead we look at the file content. 31966 # Grep'ing the first line is not enough: some people post-process 31967 # each Makefile.in and add a new line on top of each file to say so. 31968 # Grep'ing the whole file is not good either: AIX grep has a line 31969 # limit of 2048, but all sed's we know have understand at least 4000. 31970 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 31971 dirpart=`$as_dirname -- "$mf" || 31972$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 31973 X"$mf" : 'X\(//\)[^/]' \| \ 31974 X"$mf" : 'X\(//\)$' \| \ 31975 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 31976$as_echo X"$mf" | 31977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31978 s//\1/ 31979 q 31980 } 31981 /^X\(\/\/\)[^/].*/{ 31982 s//\1/ 31983 q 31984 } 31985 /^X\(\/\/\)$/{ 31986 s//\1/ 31987 q 31988 } 31989 /^X\(\/\).*/{ 31990 s//\1/ 31991 q 31992 } 31993 s/.*/./; q'` 31994 else 31995 continue 31996 fi 31997 # Extract the definition of DEPDIR, am__include, and am__quote 31998 # from the Makefile without running `make'. 31999 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 32000 test -z "$DEPDIR" && continue 32001 am__include=`sed -n 's/^am__include = //p' < "$mf"` 32002 test -z "am__include" && continue 32003 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 32004 # When using ansi2knr, U may be empty or an underscore; expand it 32005 U=`sed -n 's/^U = //p' < "$mf"` 32006 # Find all dependency output files, they are included files with 32007 # $(DEPDIR) in their names. We invoke sed twice because it is the 32008 # simplest approach to changing $(DEPDIR) to its actual value in the 32009 # expansion. 32010 for file in `sed -n " 32011 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 32012 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 32013 # Make sure the directory exists. 32014 test -f "$dirpart/$file" && continue 32015 fdir=`$as_dirname -- "$file" || 32016$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 32017 X"$file" : 'X\(//\)[^/]' \| \ 32018 X"$file" : 'X\(//\)$' \| \ 32019 X"$file" : 'X\(/\)' \| . 2>/dev/null || 32020$as_echo X"$file" | 32021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 32022 s//\1/ 32023 q 32024 } 32025 /^X\(\/\/\)[^/].*/{ 32026 s//\1/ 32027 q 32028 } 32029 /^X\(\/\/\)$/{ 32030 s//\1/ 32031 q 32032 } 32033 /^X\(\/\).*/{ 32034 s//\1/ 32035 q 32036 } 32037 s/.*/./; q'` 32038 { as_dir=$dirpart/$fdir 32039 case $as_dir in #( 32040 -*) as_dir=./$as_dir;; 32041 esac 32042 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 32043 as_dirs= 32044 while :; do 32045 case $as_dir in #( 32046 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 32047 *) as_qdir=$as_dir;; 32048 esac 32049 as_dirs="'$as_qdir' $as_dirs" 32050 as_dir=`$as_dirname -- "$as_dir" || 32051$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 32052 X"$as_dir" : 'X\(//\)[^/]' \| \ 32053 X"$as_dir" : 'X\(//\)$' \| \ 32054 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 32055$as_echo X"$as_dir" | 32056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 32057 s//\1/ 32058 q 32059 } 32060 /^X\(\/\/\)[^/].*/{ 32061 s//\1/ 32062 q 32063 } 32064 /^X\(\/\/\)$/{ 32065 s//\1/ 32066 q 32067 } 32068 /^X\(\/\).*/{ 32069 s//\1/ 32070 q 32071 } 32072 s/.*/./; q'` 32073 test -d "$as_dir" && break 32074 done 32075 test -z "$as_dirs" || eval "mkdir $as_dirs" 32076 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 32077$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 32078 { (exit 1); exit 1; }; }; } 32079 # echo "creating $dirpart/$file" 32080 echo '# dummy' > "$dirpart/$file" 32081 done 32082done 32083 ;; 32084 "libtool":C) 32085 32086 # See if we are running on zsh, and set the options which allow our 32087 # commands through without removal of \ escapes. 32088 if test -n "${ZSH_VERSION+set}" ; then 32089 setopt NO_GLOB_SUBST 32090 fi 32091 32092 cfgfile="${ofile}T" 32093 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 32094 $RM "$cfgfile" 32095 32096 cat <<_LT_EOF >> "$cfgfile" 32097#! $SHELL 32098 32099# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 32100# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 32101# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 32102# NOTE: Changes made to this file will be lost: look at ltmain.sh. 32103# 32104# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 32105# 2006, 2007, 2008 Free Software Foundation, Inc. 32106# Written by Gordon Matzigkeit, 1996 32107# 32108# This file is part of GNU Libtool. 32109# 32110# GNU Libtool is free software; you can redistribute it and/or 32111# modify it under the terms of the GNU General Public License as 32112# published by the Free Software Foundation; either version 2 of 32113# the License, or (at your option) any later version. 32114# 32115# As a special exception to the GNU General Public License, 32116# if you distribute this file as part of a program or library that 32117# is built using GNU Libtool, you may include this file under the 32118# same distribution terms that you use for the rest of that program. 32119# 32120# GNU Libtool is distributed in the hope that it will be useful, 32121# but WITHOUT ANY WARRANTY; without even the implied warranty of 32122# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32123# GNU General Public License for more details. 32124# 32125# You should have received a copy of the GNU General Public License 32126# along with GNU Libtool; see the file COPYING. If not, a copy 32127# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 32128# obtained by writing to the Free Software Foundation, Inc., 32129# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 32130 32131 32132# The names of the tagged configurations supported by this script. 32133available_tags="" 32134 32135# ### BEGIN LIBTOOL CONFIG 32136 32137# Assembler program. 32138AS=$AS 32139 32140# DLL creation program. 32141DLLTOOL=$DLLTOOL 32142 32143# Object dumper program. 32144OBJDUMP=$OBJDUMP 32145 32146# Whether or not to build static libraries. 32147build_old_libs=$enable_static 32148 32149# Which release of libtool.m4 was used? 32150macro_version=$macro_version 32151macro_revision=$macro_revision 32152 32153# Whether or not to build shared libraries. 32154build_libtool_libs=$enable_shared 32155 32156# What type of objects to build. 32157pic_mode=$pic_mode 32158 32159# Whether or not to optimize for fast installation. 32160fast_install=$enable_fast_install 32161 32162# The host system. 32163host_alias=$host_alias 32164host=$host 32165host_os=$host_os 32166 32167# The build system. 32168build_alias=$build_alias 32169build=$build 32170build_os=$build_os 32171 32172# A sed program that does not truncate output. 32173SED=$lt_SED 32174 32175# Sed that helps us avoid accidentally triggering echo(1) options like -n. 32176Xsed="\$SED -e 1s/^X//" 32177 32178# A grep program that handles long lines. 32179GREP=$lt_GREP 32180 32181# An ERE matcher. 32182EGREP=$lt_EGREP 32183 32184# A literal string matcher. 32185FGREP=$lt_FGREP 32186 32187# A BSD- or MS-compatible name lister. 32188NM=$lt_NM 32189 32190# Whether we need soft or hard links. 32191LN_S=$lt_LN_S 32192 32193# What is the maximum length of a command? 32194max_cmd_len=$max_cmd_len 32195 32196# Object file suffix (normally "o"). 32197objext=$ac_objext 32198 32199# Executable file suffix (normally ""). 32200exeext=$exeext 32201 32202# whether the shell understands "unset". 32203lt_unset=$lt_unset 32204 32205# turn spaces into newlines. 32206SP2NL=$lt_lt_SP2NL 32207 32208# turn newlines into spaces. 32209NL2SP=$lt_lt_NL2SP 32210 32211# How to create reloadable object files. 32212reload_flag=$lt_reload_flag 32213reload_cmds=$lt_reload_cmds 32214 32215# Method to check whether dependent libraries are shared objects. 32216deplibs_check_method=$lt_deplibs_check_method 32217 32218# Command to use when deplibs_check_method == "file_magic". 32219file_magic_cmd=$lt_file_magic_cmd 32220 32221# The archiver. 32222AR=$lt_AR 32223AR_FLAGS=$lt_AR_FLAGS 32224 32225# A symbol stripping program. 32226STRIP=$lt_STRIP 32227 32228# Commands used to install an old-style archive. 32229RANLIB=$lt_RANLIB 32230old_postinstall_cmds=$lt_old_postinstall_cmds 32231old_postuninstall_cmds=$lt_old_postuninstall_cmds 32232 32233# A C compiler. 32234LTCC=$lt_CC 32235 32236# LTCC compiler flags. 32237LTCFLAGS=$lt_CFLAGS 32238 32239# Take the output of nm and produce a listing of raw symbols and C names. 32240global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 32241 32242# Transform the output of nm in a proper C declaration. 32243global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 32244 32245# Transform the output of nm in a C name address pair. 32246global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 32247 32248# Transform the output of nm in a C name address pair when lib prefix is needed. 32249global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 32250 32251# The name of the directory that contains temporary libtool files. 32252objdir=$objdir 32253 32254# Shell to use when invoking shell scripts. 32255SHELL=$lt_SHELL 32256 32257# An echo program that does not interpret backslashes. 32258ECHO=$lt_ECHO 32259 32260# Used to examine libraries when file_magic_cmd begins with "file". 32261MAGIC_CMD=$MAGIC_CMD 32262 32263# Must we lock files when doing compilation? 32264need_locks=$lt_need_locks 32265 32266# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 32267DSYMUTIL=$lt_DSYMUTIL 32268 32269# Tool to change global to local symbols on Mac OS X. 32270NMEDIT=$lt_NMEDIT 32271 32272# Tool to manipulate fat objects and archives on Mac OS X. 32273LIPO=$lt_LIPO 32274 32275# ldd/readelf like tool for Mach-O binaries on Mac OS X. 32276OTOOL=$lt_OTOOL 32277 32278# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 32279OTOOL64=$lt_OTOOL64 32280 32281# Old archive suffix (normally "a"). 32282libext=$libext 32283 32284# Shared library suffix (normally ".so"). 32285shrext_cmds=$lt_shrext_cmds 32286 32287# The commands to extract the exported symbol list from a shared archive. 32288extract_expsyms_cmds=$lt_extract_expsyms_cmds 32289 32290# Variables whose values should be saved in libtool wrapper scripts and 32291# restored at link time. 32292variables_saved_for_relink=$lt_variables_saved_for_relink 32293 32294# Do we need the "lib" prefix for modules? 32295need_lib_prefix=$need_lib_prefix 32296 32297# Do we need a version for libraries? 32298need_version=$need_version 32299 32300# Library versioning type. 32301version_type=$version_type 32302 32303# Shared library runtime path variable. 32304runpath_var=$runpath_var 32305 32306# Shared library path variable. 32307shlibpath_var=$shlibpath_var 32308 32309# Is shlibpath searched before the hard-coded library search path? 32310shlibpath_overrides_runpath=$shlibpath_overrides_runpath 32311 32312# Format of library name prefix. 32313libname_spec=$lt_libname_spec 32314 32315# List of archive names. First name is the real one, the rest are links. 32316# The last name is the one that the linker finds with -lNAME 32317library_names_spec=$lt_library_names_spec 32318 32319# The coded name of the library, if different from the real name. 32320soname_spec=$lt_soname_spec 32321 32322# Command to use after installation of a shared archive. 32323postinstall_cmds=$lt_postinstall_cmds 32324 32325# Command to use after uninstallation of a shared archive. 32326postuninstall_cmds=$lt_postuninstall_cmds 32327 32328# Commands used to finish a libtool library installation in a directory. 32329finish_cmds=$lt_finish_cmds 32330 32331# As "finish_cmds", except a single script fragment to be evaled but 32332# not shown. 32333finish_eval=$lt_finish_eval 32334 32335# Whether we should hardcode library paths into libraries. 32336hardcode_into_libs=$hardcode_into_libs 32337 32338# Compile-time system search path for libraries. 32339sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 32340 32341# Run-time system search path for libraries. 32342sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 32343 32344# Whether dlopen is supported. 32345dlopen_support=$enable_dlopen 32346 32347# Whether dlopen of programs is supported. 32348dlopen_self=$enable_dlopen_self 32349 32350# Whether dlopen of statically linked programs is supported. 32351dlopen_self_static=$enable_dlopen_self_static 32352 32353# Commands to strip libraries. 32354old_striplib=$lt_old_striplib 32355striplib=$lt_striplib 32356 32357 32358# The linker used to build libraries. 32359LD=$lt_LD 32360 32361# Commands used to build an old-style archive. 32362old_archive_cmds=$lt_old_archive_cmds 32363 32364# A language specific compiler. 32365CC=$lt_compiler 32366 32367# Is the compiler the GNU compiler? 32368with_gcc=$GCC 32369 32370# Compiler flag to turn off builtin functions. 32371no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 32372 32373# How to pass a linker flag through the compiler. 32374wl=$lt_lt_prog_compiler_wl 32375 32376# Additional compiler flags for building library objects. 32377pic_flag=$lt_lt_prog_compiler_pic 32378 32379# Compiler flag to prevent dynamic linking. 32380link_static_flag=$lt_lt_prog_compiler_static 32381 32382# Does compiler simultaneously support -c and -o options? 32383compiler_c_o=$lt_lt_cv_prog_compiler_c_o 32384 32385# Whether or not to add -lc for building shared libraries. 32386build_libtool_need_lc=$archive_cmds_need_lc 32387 32388# Whether or not to disallow shared libs when runtime libs are static. 32389allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 32390 32391# Compiler flag to allow reflexive dlopens. 32392export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 32393 32394# Compiler flag to generate shared objects directly from archives. 32395whole_archive_flag_spec=$lt_whole_archive_flag_spec 32396 32397# Whether the compiler copes with passing no objects directly. 32398compiler_needs_object=$lt_compiler_needs_object 32399 32400# Create an old-style archive from a shared archive. 32401old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 32402 32403# Create a temporary old-style archive to link instead of a shared archive. 32404old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 32405 32406# Commands used to build a shared archive. 32407archive_cmds=$lt_archive_cmds 32408archive_expsym_cmds=$lt_archive_expsym_cmds 32409 32410# Commands used to build a loadable module if different from building 32411# a shared archive. 32412module_cmds=$lt_module_cmds 32413module_expsym_cmds=$lt_module_expsym_cmds 32414 32415# Whether we are building with GNU ld or not. 32416with_gnu_ld=$lt_with_gnu_ld 32417 32418# Flag that allows shared libraries with undefined symbols to be built. 32419allow_undefined_flag=$lt_allow_undefined_flag 32420 32421# Flag that enforces no undefined symbols. 32422no_undefined_flag=$lt_no_undefined_flag 32423 32424# Flag to hardcode \$libdir into a binary during linking. 32425# This must work even if \$libdir does not exist 32426hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 32427 32428# If ld is used when linking, flag to hardcode \$libdir into a binary 32429# during linking. This must work even if \$libdir does not exist. 32430hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 32431 32432# Whether we need a single "-rpath" flag with a separated argument. 32433hardcode_libdir_separator=$lt_hardcode_libdir_separator 32434 32435# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 32436# DIR into the resulting binary. 32437hardcode_direct=$hardcode_direct 32438 32439# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 32440# DIR into the resulting binary and the resulting library dependency is 32441# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 32442# library is relocated. 32443hardcode_direct_absolute=$hardcode_direct_absolute 32444 32445# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 32446# into the resulting binary. 32447hardcode_minus_L=$hardcode_minus_L 32448 32449# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 32450# into the resulting binary. 32451hardcode_shlibpath_var=$hardcode_shlibpath_var 32452 32453# Set to "yes" if building a shared library automatically hardcodes DIR 32454# into the library and all subsequent libraries and executables linked 32455# against it. 32456hardcode_automatic=$hardcode_automatic 32457 32458# Set to yes if linker adds runtime paths of dependent libraries 32459# to runtime path list. 32460inherit_rpath=$inherit_rpath 32461 32462# Whether libtool must link a program against all its dependency libraries. 32463link_all_deplibs=$link_all_deplibs 32464 32465# Fix the shell variable \$srcfile for the compiler. 32466fix_srcfile_path=$lt_fix_srcfile_path 32467 32468# Set to "yes" if exported symbols are required. 32469always_export_symbols=$always_export_symbols 32470 32471# The commands to list exported symbols. 32472export_symbols_cmds=$lt_export_symbols_cmds 32473 32474# Symbols that should not be listed in the preloaded symbols. 32475exclude_expsyms=$lt_exclude_expsyms 32476 32477# Symbols that must always be exported. 32478include_expsyms=$lt_include_expsyms 32479 32480# Commands necessary for linking programs (against libraries) with templates. 32481prelink_cmds=$lt_prelink_cmds 32482 32483# Specify filename containing input files. 32484file_list_spec=$lt_file_list_spec 32485 32486# How to hardcode a shared library path into an executable. 32487hardcode_action=$hardcode_action 32488 32489# ### END LIBTOOL CONFIG 32490 32491_LT_EOF 32492 32493 case $host_os in 32494 aix3*) 32495 cat <<\_LT_EOF >> "$cfgfile" 32496# AIX sometimes has problems with the GCC collect2 program. For some 32497# reason, if we set the COLLECT_NAMES environment variable, the problems 32498# vanish in a puff of smoke. 32499if test "X${COLLECT_NAMES+set}" != Xset; then 32500 COLLECT_NAMES= 32501 export COLLECT_NAMES 32502fi 32503_LT_EOF 32504 ;; 32505 esac 32506 32507 32508ltmain="$ac_aux_dir/ltmain.sh" 32509 32510 32511 # We use sed instead of cat because bash on DJGPP gets confused if 32512 # if finds mixed CR/LF and LF-only lines. Since sed operates in 32513 # text mode, it properly converts lines to CR/LF. This bash problem 32514 # is reportedly fixed, but why not run on old versions too? 32515 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 32516 || (rm -f "$cfgfile"; exit 1) 32517 32518 case $xsi_shell in 32519 yes) 32520 cat << \_LT_EOF >> "$cfgfile" 32521 32522# func_dirname file append nondir_replacement 32523# Compute the dirname of FILE. If nonempty, add APPEND to the result, 32524# otherwise set result to NONDIR_REPLACEMENT. 32525func_dirname () 32526{ 32527 case ${1} in 32528 */*) func_dirname_result="${1%/*}${2}" ;; 32529 * ) func_dirname_result="${3}" ;; 32530 esac 32531} 32532 32533# func_basename file 32534func_basename () 32535{ 32536 func_basename_result="${1##*/}" 32537} 32538 32539# func_dirname_and_basename file append nondir_replacement 32540# perform func_basename and func_dirname in a single function 32541# call: 32542# dirname: Compute the dirname of FILE. If nonempty, 32543# add APPEND to the result, otherwise set result 32544# to NONDIR_REPLACEMENT. 32545# value returned in "$func_dirname_result" 32546# basename: Compute filename of FILE. 32547# value retuned in "$func_basename_result" 32548# Implementation must be kept synchronized with func_dirname 32549# and func_basename. For efficiency, we do not delegate to 32550# those functions but instead duplicate the functionality here. 32551func_dirname_and_basename () 32552{ 32553 case ${1} in 32554 */*) func_dirname_result="${1%/*}${2}" ;; 32555 * ) func_dirname_result="${3}" ;; 32556 esac 32557 func_basename_result="${1##*/}" 32558} 32559 32560# func_stripname prefix suffix name 32561# strip PREFIX and SUFFIX off of NAME. 32562# PREFIX and SUFFIX must not contain globbing or regex special 32563# characters, hashes, percent signs, but SUFFIX may contain a leading 32564# dot (in which case that matches only a dot). 32565func_stripname () 32566{ 32567 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 32568 # positional parameters, so assign one to ordinary parameter first. 32569 func_stripname_result=${3} 32570 func_stripname_result=${func_stripname_result#"${1}"} 32571 func_stripname_result=${func_stripname_result%"${2}"} 32572} 32573 32574# func_opt_split 32575func_opt_split () 32576{ 32577 func_opt_split_opt=${1%%=*} 32578 func_opt_split_arg=${1#*=} 32579} 32580 32581# func_lo2o object 32582func_lo2o () 32583{ 32584 case ${1} in 32585 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 32586 *) func_lo2o_result=${1} ;; 32587 esac 32588} 32589 32590# func_xform libobj-or-source 32591func_xform () 32592{ 32593 func_xform_result=${1%.*}.lo 32594} 32595 32596# func_arith arithmetic-term... 32597func_arith () 32598{ 32599 func_arith_result=$(( $* )) 32600} 32601 32602# func_len string 32603# STRING may not start with a hyphen. 32604func_len () 32605{ 32606 func_len_result=${#1} 32607} 32608 32609_LT_EOF 32610 ;; 32611 *) # Bourne compatible functions. 32612 cat << \_LT_EOF >> "$cfgfile" 32613 32614# func_dirname file append nondir_replacement 32615# Compute the dirname of FILE. If nonempty, add APPEND to the result, 32616# otherwise set result to NONDIR_REPLACEMENT. 32617func_dirname () 32618{ 32619 # Extract subdirectory from the argument. 32620 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 32621 if test "X$func_dirname_result" = "X${1}"; then 32622 func_dirname_result="${3}" 32623 else 32624 func_dirname_result="$func_dirname_result${2}" 32625 fi 32626} 32627 32628# func_basename file 32629func_basename () 32630{ 32631 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 32632} 32633 32634 32635# func_stripname prefix suffix name 32636# strip PREFIX and SUFFIX off of NAME. 32637# PREFIX and SUFFIX must not contain globbing or regex special 32638# characters, hashes, percent signs, but SUFFIX may contain a leading 32639# dot (in which case that matches only a dot). 32640# func_strip_suffix prefix name 32641func_stripname () 32642{ 32643 case ${2} in 32644 .*) func_stripname_result=`$ECHO "X${3}" \ 32645 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 32646 *) func_stripname_result=`$ECHO "X${3}" \ 32647 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 32648 esac 32649} 32650 32651# sed scripts: 32652my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 32653my_sed_long_arg='1s/^-[^=]*=//' 32654 32655# func_opt_split 32656func_opt_split () 32657{ 32658 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 32659 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 32660} 32661 32662# func_lo2o object 32663func_lo2o () 32664{ 32665 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 32666} 32667 32668# func_xform libobj-or-source 32669func_xform () 32670{ 32671 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 32672} 32673 32674# func_arith arithmetic-term... 32675func_arith () 32676{ 32677 func_arith_result=`expr "$@"` 32678} 32679 32680# func_len string 32681# STRING may not start with a hyphen. 32682func_len () 32683{ 32684 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 32685} 32686 32687_LT_EOF 32688esac 32689 32690case $lt_shell_append in 32691 yes) 32692 cat << \_LT_EOF >> "$cfgfile" 32693 32694# func_append var value 32695# Append VALUE to the end of shell variable VAR. 32696func_append () 32697{ 32698 eval "$1+=\$2" 32699} 32700_LT_EOF 32701 ;; 32702 *) 32703 cat << \_LT_EOF >> "$cfgfile" 32704 32705# func_append var value 32706# Append VALUE to the end of shell variable VAR. 32707func_append () 32708{ 32709 eval "$1=\$$1\$2" 32710} 32711 32712_LT_EOF 32713 ;; 32714 esac 32715 32716 32717 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 32718 || (rm -f "$cfgfile"; exit 1) 32719 32720 mv -f "$cfgfile" "$ofile" || 32721 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 32722 chmod +x "$ofile" 32723 32724 ;; 32725 32726 esac 32727done # for ac_tag 32728 32729 32730{ (exit 0); exit 0; } 32731_ACEOF 32732chmod +x $CONFIG_STATUS 32733ac_clean_files=$ac_clean_files_save 32734 32735test $ac_write_fail = 0 || 32736 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 32737$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 32738 { (exit 1); exit 1; }; } 32739 32740 32741# configure is writing to config.log, and then calls config.status. 32742# config.status does its own redirection, appending to config.log. 32743# Unfortunately, on DOS this fails, as config.log is still kept open 32744# by configure, so config.status won't be able to write to it; its 32745# output is simply discarded. So we exec the FD to /dev/null, 32746# effectively closing config.log, so it can be properly (re)opened and 32747# appended to by config.status. When coming back to configure, we 32748# need to make the FD available again. 32749if test "$no_create" != yes; then 32750 ac_cs_success=: 32751 ac_config_status_args= 32752 test "$silent" = yes && 32753 ac_config_status_args="$ac_config_status_args --quiet" 32754 exec 5>/dev/null 32755 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 32756 exec 5>>config.log 32757 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 32758 # would make configure fail if this is the last instruction. 32759 $ac_cs_success || { (exit 1); exit 1; } 32760fi 32761if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 32762 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 32763$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 32764fi 32765 32766