configure revision 49dc963f
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.65 for libXcomposite 0.4.2. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 10# Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94case $0 in #(( 95 *[\\/]* ) as_myself=$0 ;; 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97for as_dir in $PATH 98do 99 IFS=$as_save_IFS 100 test -z "$as_dir" && as_dir=. 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 102 done 103IFS=$as_save_IFS 104 105 ;; 106esac 107# We did not find ourselves, most probably we were run as `sh COMMAND' 108# in which case we are not to be found in the path. 109if test "x$as_myself" = x; then 110 as_myself=$0 111fi 112if test ! -f "$as_myself"; then 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 114 exit 1 115fi 116 117# Unset variables that we do not need and which cause bugs (e.g. in 118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 119# suppresses any "Segmentation fault" message there. '((' could 120# trigger a bug in pdksh 5.2.14. 121for as_var in BASH_ENV ENV MAIL MAILPATH 122do eval test x\${$as_var+set} = xset \ 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 124done 125PS1='$ ' 126PS2='> ' 127PS4='+ ' 128 129# NLS nuisances. 130LC_ALL=C 131export LC_ALL 132LANGUAGE=C 133export LANGUAGE 134 135# CDPATH. 136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 137 138if test "x$CONFIG_SHELL" = x; then 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 140 emulate sh 141 NULLCMD=: 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 143 # is contrary to our usage. Disable this feature. 144 alias -g '\${1+\"\$@\"}'='\"\$@\"' 145 setopt NO_GLOB_SUBST 146else 147 case \`(set -o) 2>/dev/null\` in #( 148 *posix*) : 149 set -o posix ;; #( 150 *) : 151 ;; 152esac 153fi 154" 155 as_required="as_fn_return () { (exit \$1); } 156as_fn_success () { as_fn_return 0; } 157as_fn_failure () { as_fn_return 1; } 158as_fn_ret_success () { return 0; } 159as_fn_ret_failure () { return 1; } 160 161exitcode=0 162as_fn_success || { exitcode=1; echo as_fn_success failed.; } 163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 167 168else 169 exitcode=1; echo positional parameters were not saved. 170fi 171test x\$exitcode = x0 || exit 1" 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 176test \$(( 1 + 1 )) = 2 || exit 1" 177 if (eval "$as_required") 2>/dev/null; then : 178 as_have_required=yes 179else 180 as_have_required=no 181fi 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 183 184else 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 186as_found=false 187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 188do 189 IFS=$as_save_IFS 190 test -z "$as_dir" && as_dir=. 191 as_found=: 192 case $as_dir in #( 193 /*) 194 for as_base in sh bash ksh sh5; do 195 # Try only shells that exist, to save several forks. 196 as_shell=$as_dir/$as_base 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 CONFIG_SHELL=$as_shell as_have_required=yes 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 201 break 2 202fi 203fi 204 done;; 205 esac 206 as_found=false 207done 208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 210 CONFIG_SHELL=$SHELL as_have_required=yes 211fi; } 212IFS=$as_save_IFS 213 214 215 if test "x$CONFIG_SHELL" != x; then : 216 # We cannot yet assume a decent shell, so we have to provide a 217 # neutralization value for shells without unset; and this also 218 # works around shells that cannot unset nonexistent variables. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 224fi 225 226 if test x$as_have_required = xno; then : 227 $as_echo "$0: This script requires a shell more modern than all" 228 $as_echo "$0: the shells that I found on your system." 229 if test x${ZSH_VERSION+set} = xset ; then 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 232 else 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and 234$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg 235$0: about your system, including any error possibly output 236$0: before this message. Then install a modern shell, or 237$0: manually run the script under such a shell if you do 238$0: have one." 239 fi 240 exit 1 241fi 242fi 243fi 244SHELL=${CONFIG_SHELL-/bin/sh} 245export SHELL 246# Unset more variables known to interfere with behavior of common tools. 247CLICOLOR_FORCE= GREP_OPTIONS= 248unset CLICOLOR_FORCE GREP_OPTIONS 249 250## --------------------- ## 251## M4sh Shell Functions. ## 252## --------------------- ## 253# as_fn_unset VAR 254# --------------- 255# Portably unset VAR. 256as_fn_unset () 257{ 258 { eval $1=; unset $1;} 259} 260as_unset=as_fn_unset 261 262# as_fn_set_status STATUS 263# ----------------------- 264# Set $? to STATUS, without forking. 265as_fn_set_status () 266{ 267 return $1 268} # as_fn_set_status 269 270# as_fn_exit STATUS 271# ----------------- 272# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 273as_fn_exit () 274{ 275 set +e 276 as_fn_set_status $1 277 exit $1 278} # as_fn_exit 279 280# as_fn_mkdir_p 281# ------------- 282# Create "$as_dir" as a directory, including parents if necessary. 283as_fn_mkdir_p () 284{ 285 286 case $as_dir in #( 287 -*) as_dir=./$as_dir;; 288 esac 289 test -d "$as_dir" || eval $as_mkdir_p || { 290 as_dirs= 291 while :; do 292 case $as_dir in #( 293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 294 *) as_qdir=$as_dir;; 295 esac 296 as_dirs="'$as_qdir' $as_dirs" 297 as_dir=`$as_dirname -- "$as_dir" || 298$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 299 X"$as_dir" : 'X\(//\)[^/]' \| \ 300 X"$as_dir" : 'X\(//\)$' \| \ 301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 302$as_echo X"$as_dir" | 303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)[^/].*/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)$/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\).*/{ 316 s//\1/ 317 q 318 } 319 s/.*/./; q'` 320 test -d "$as_dir" && break 321 done 322 test -z "$as_dirs" || eval "mkdir $as_dirs" 323 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 324 325 326} # as_fn_mkdir_p 327# as_fn_append VAR VALUE 328# ---------------------- 329# Append the text in VALUE to the end of the definition contained in VAR. Take 330# advantage of any shell optimizations that allow amortized linear growth over 331# repeated appends, instead of the typical quadratic growth present in naive 332# implementations. 333if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 334 eval 'as_fn_append () 335 { 336 eval $1+=\$2 337 }' 338else 339 as_fn_append () 340 { 341 eval $1=\$$1\$2 342 } 343fi # as_fn_append 344 345# as_fn_arith ARG... 346# ------------------ 347# Perform arithmetic evaluation on the ARGs, and store the result in the 348# global $as_val. Take advantage of shells that can avoid forks. The arguments 349# must be portable across $(()) and expr. 350if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 351 eval 'as_fn_arith () 352 { 353 as_val=$(( $* )) 354 }' 355else 356 as_fn_arith () 357 { 358 as_val=`expr "$@" || test $? -eq 1` 359 } 360fi # as_fn_arith 361 362 363# as_fn_error ERROR [LINENO LOG_FD] 364# --------------------------------- 365# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 366# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 367# script with status $?, using 1 if that was 0. 368as_fn_error () 369{ 370 as_status=$?; test $as_status -eq 0 && as_status=1 371 if test "$3"; then 372 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 374 fi 375 $as_echo "$as_me: error: $1" >&2 376 as_fn_exit $as_status 377} # as_fn_error 378 379if expr a : '\(a\)' >/dev/null 2>&1 && 380 test "X`expr 00001 : '.*\(...\)'`" = X001; then 381 as_expr=expr 382else 383 as_expr=false 384fi 385 386if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 387 as_basename=basename 388else 389 as_basename=false 390fi 391 392if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 393 as_dirname=dirname 394else 395 as_dirname=false 396fi 397 398as_me=`$as_basename -- "$0" || 399$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 400 X"$0" : 'X\(//\)$' \| \ 401 X"$0" : 'X\(/\)' \| . 2>/dev/null || 402$as_echo X/"$0" | 403 sed '/^.*\/\([^/][^/]*\)\/*$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\/\)$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\).*/{ 412 s//\1/ 413 q 414 } 415 s/.*/./; q'` 416 417# Avoid depending upon Character Ranges. 418as_cr_letters='abcdefghijklmnopqrstuvwxyz' 419as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 420as_cr_Letters=$as_cr_letters$as_cr_LETTERS 421as_cr_digits='0123456789' 422as_cr_alnum=$as_cr_Letters$as_cr_digits 423 424 425 as_lineno_1=$LINENO as_lineno_1a=$LINENO 426 as_lineno_2=$LINENO as_lineno_2a=$LINENO 427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 430 sed -n ' 431 p 432 /[$]LINENO/= 433 ' <$as_myself | 434 sed ' 435 s/[$]LINENO.*/&-/ 436 t lineno 437 b 438 :lineno 439 N 440 :loop 441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 442 t loop 443 s/-\n.*// 444 ' >$as_me.lineno && 445 chmod +x "$as_me.lineno" || 446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 447 448 # Don't try to exec as it changes $[0], causing all sort of problems 449 # (the dirname of $[0] is not the place where we might find the 450 # original and so on. Autoconf is especially sensitive to this). 451 . "./$as_me.lineno" 452 # Exit status is that of the last command. 453 exit 454} 455 456ECHO_C= ECHO_N= ECHO_T= 457case `echo -n x` in #((((( 458-n*) 459 case `echo 'xy\c'` in 460 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 461 xy) ECHO_C='\c';; 462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 463 ECHO_T=' ';; 464 esac;; 465*) 466 ECHO_N='-n';; 467esac 468 469rm -f conf$$ conf$$.exe conf$$.file 470if test -d conf$$.dir; then 471 rm -f conf$$.dir/conf$$.file 472else 473 rm -f conf$$.dir 474 mkdir conf$$.dir 2>/dev/null 475fi 476if (echo >conf$$.file) 2>/dev/null; then 477 if ln -s conf$$.file conf$$ 2>/dev/null; then 478 as_ln_s='ln -s' 479 # ... but there are two gotchas: 480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 482 # In both cases, we have to default to `cp -p'. 483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 484 as_ln_s='cp -p' 485 elif ln conf$$.file conf$$ 2>/dev/null; then 486 as_ln_s=ln 487 else 488 as_ln_s='cp -p' 489 fi 490else 491 as_ln_s='cp -p' 492fi 493rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 494rmdir conf$$.dir 2>/dev/null 495 496if mkdir -p . 2>/dev/null; then 497 as_mkdir_p='mkdir -p "$as_dir"' 498else 499 test -d ./-p && rmdir ./-p 500 as_mkdir_p=false 501fi 502 503if test -x / >/dev/null 2>&1; then 504 as_test_x='test -x' 505else 506 if ls -dL / >/dev/null 2>&1; then 507 as_ls_L_option=L 508 else 509 as_ls_L_option= 510 fi 511 as_test_x=' 512 eval sh -c '\'' 513 if test -d "$1"; then 514 test -d "$1/."; 515 else 516 case $1 in #( 517 -*)set "./$1";; 518 esac; 519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 520 ???[sx]*):;;*)false;;esac;fi 521 '\'' sh 522 ' 523fi 524as_executable_p=$as_test_x 525 526# Sed expression to map a string onto a valid CPP name. 527as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 528 529# Sed expression to map a string onto a valid variable name. 530as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 531 532 533 534# Check that we are running under the correct shell. 535SHELL=${CONFIG_SHELL-/bin/sh} 536 537case X$lt_ECHO in 538X*--fallback-echo) 539 # Remove one level of quotation (which was required for Make). 540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` 541 ;; 542esac 543 544ECHO=${lt_ECHO-echo} 545if test "X$1" = X--no-reexec; then 546 # Discard the --no-reexec flag, and continue. 547 shift 548elif test "X$1" = X--fallback-echo; then 549 # Avoid inline document here, it may be left over 550 : 551elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then 552 # Yippee, $ECHO works! 553 : 554else 555 # Restart under the correct shell. 556 exec $SHELL "$0" --no-reexec ${1+"$@"} 557fi 558 559if test "X$1" = X--fallback-echo; then 560 # used as fallback echo 561 shift 562 cat <<_LT_EOF 563$* 564_LT_EOF 565 exit 0 566fi 567 568# The HP-UX ksh and POSIX shell print the target directory to stdout 569# if CDPATH is set. 570(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 571 572if test -z "$lt_ECHO"; then 573 if test "X${echo_test_string+set}" != Xset; then 574 # find a string as large as possible, as long as the shell can cope with it 575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do 576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 577 if { echo_test_string=`eval $cmd`; } 2>/dev/null && 578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null 579 then 580 break 581 fi 582 done 583 fi 584 585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 587 test "X$echo_testing_string" = "X$echo_test_string"; then 588 : 589 else 590 # The Solaris, AIX, and Digital Unix default echo programs unquote 591 # backslashes. This makes it impossible to quote backslashes using 592 # echo "$something" | sed 's/\\/\\\\/g' 593 # 594 # So, first we look for a working echo in the user's PATH. 595 596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 597 for dir in $PATH /usr/ucb; do 598 IFS="$lt_save_ifs" 599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 602 test "X$echo_testing_string" = "X$echo_test_string"; then 603 ECHO="$dir/echo" 604 break 605 fi 606 done 607 IFS="$lt_save_ifs" 608 609 if test "X$ECHO" = Xecho; then 610 # We didn't find a better echo, so look for alternatives. 611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && 612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && 613 test "X$echo_testing_string" = "X$echo_test_string"; then 614 # This shell has a builtin print -r that does the trick. 615 ECHO='print -r' 616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && 617 test "X$CONFIG_SHELL" != X/bin/ksh; then 618 # If we have ksh, try running configure again with it. 619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 620 export ORIGINAL_CONFIG_SHELL 621 CONFIG_SHELL=/bin/ksh 622 export CONFIG_SHELL 623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} 624 else 625 # Try using printf. 626 ECHO='printf %s\n' 627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && 628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && 629 test "X$echo_testing_string" = "X$echo_test_string"; then 630 # Cool, printf works 631 : 632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 633 test "X$echo_testing_string" = 'X\t' && 634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 635 test "X$echo_testing_string" = "X$echo_test_string"; then 636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 637 export CONFIG_SHELL 638 SHELL="$CONFIG_SHELL" 639 export SHELL 640 ECHO="$CONFIG_SHELL $0 --fallback-echo" 641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && 642 test "X$echo_testing_string" = 'X\t' && 643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && 644 test "X$echo_testing_string" = "X$echo_test_string"; then 645 ECHO="$CONFIG_SHELL $0 --fallback-echo" 646 else 647 # maybe with a smaller string... 648 prev=: 649 650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do 651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null 652 then 653 break 654 fi 655 prev="$cmd" 656 done 657 658 if test "$prev" != 'sed 50q "$0"'; then 659 echo_test_string=`eval $prev` 660 export echo_test_string 661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} 662 else 663 # Oops. We lost completely, so just stick with echo. 664 ECHO=echo 665 fi 666 fi 667 fi 668 fi 669 fi 670fi 671 672# Copy echo and quote the copy suitably for passing to libtool from 673# the Makefile, instead of quoting the original, which is used later. 674lt_ECHO=$ECHO 675if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then 676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" 677fi 678 679 680 681as_awk_strverscmp=' 682 # Use only awk features that work with 7th edition Unix awk (1978). 683 # My, what an old awk you have, Mr. Solaris! 684 END { 685 while (length(v1) && length(v2)) { 686 # Set d1 to be the next thing to compare from v1, and likewise for d2. 687 # Normally this is a single character, but if v1 and v2 contain digits, 688 # compare them as integers and fractions as strverscmp does. 689 if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { 690 # Split v1 and v2 into their leading digit string components d1 and d2, 691 # and advance v1 and v2 past the leading digit strings. 692 for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue 693 for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue 694 d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) 695 d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) 696 if (d1 ~ /^0/) { 697 if (d2 ~ /^0/) { 698 # Compare two fractions. 699 while (d1 ~ /^0/ && d2 ~ /^0/) { 700 d1 = substr(d1, 2); len1-- 701 d2 = substr(d2, 2); len2-- 702 } 703 if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { 704 # The two components differ in length, and the common prefix 705 # contains only leading zeros. Consider the longer to be less. 706 d1 = -len1 707 d2 = -len2 708 } else { 709 # Otherwise, compare as strings. 710 d1 = "x" d1 711 d2 = "x" d2 712 } 713 } else { 714 # A fraction is less than an integer. 715 exit 1 716 } 717 } else { 718 if (d2 ~ /^0/) { 719 # An integer is greater than a fraction. 720 exit 2 721 } else { 722 # Compare two integers. 723 d1 += 0 724 d2 += 0 725 } 726 } 727 } else { 728 # The normal case, without worrying about digits. 729 d1 = substr(v1, 1, 1); v1 = substr(v1, 2) 730 d2 = substr(v2, 1, 1); v2 = substr(v2, 2) 731 } 732 if (d1 < d2) exit 1 733 if (d1 > d2) exit 2 734 } 735 # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), 736 # which mishandles some comparisons of empty strings to integers. 737 if (length(v2)) exit 1 738 if (length(v1)) exit 2 739 } 740' 741 742test -n "$DJDIR" || exec 7<&0 </dev/null 743exec 6>&1 744 745# Name of the host. 746# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 747# so uname gets run too. 748ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 749 750# 751# Initializations. 752# 753ac_default_prefix=/usr/local 754ac_clean_files= 755ac_config_libobj_dir=. 756LIBOBJS= 757cross_compiling=no 758subdirs= 759MFLAGS= 760MAKEFLAGS= 761 762# Identity of this package. 763PACKAGE_NAME='libXcomposite' 764PACKAGE_TARNAME='libXcomposite' 765PACKAGE_VERSION='0.4.2' 766PACKAGE_STRING='libXcomposite 0.4.2' 767PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 768PACKAGE_URL='' 769 770# Factoring default headers for most tests. 771ac_includes_default="\ 772#include <stdio.h> 773#ifdef HAVE_SYS_TYPES_H 774# include <sys/types.h> 775#endif 776#ifdef HAVE_SYS_STAT_H 777# include <sys/stat.h> 778#endif 779#ifdef STDC_HEADERS 780# include <stdlib.h> 781# include <stddef.h> 782#else 783# ifdef HAVE_STDLIB_H 784# include <stdlib.h> 785# endif 786#endif 787#ifdef HAVE_STRING_H 788# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 789# include <memory.h> 790# endif 791# include <string.h> 792#endif 793#ifdef HAVE_STRINGS_H 794# include <strings.h> 795#endif 796#ifdef HAVE_INTTYPES_H 797# include <inttypes.h> 798#endif 799#ifdef HAVE_STDINT_H 800# include <stdint.h> 801#endif 802#ifdef HAVE_UNISTD_H 803# include <unistd.h> 804#endif" 805 806ac_subst_vars='am__EXEEXT_FALSE 807am__EXEEXT_TRUE 808LTLIBOBJS 809LIBOBJS 810XCOMPOSITE_LIBS 811XCOMPOSITE_CFLAGS 812COMPOSITEEXT_VERSION 813INSTALL_MANPAGES_FALSE 814INSTALL_MANPAGES_TRUE 815HAVE_XMLTO_FALSE 816HAVE_XMLTO_TRUE 817XMLTO 818AM_BACKSLASH 819AM_DEFAULT_VERBOSITY 820MAN_SUBSTS 821XORG_MAN_PAGE 822ADMIN_MAN_DIR 823DRIVER_MAN_DIR 824MISC_MAN_DIR 825FILE_MAN_DIR 826LIB_MAN_DIR 827APP_MAN_DIR 828ADMIN_MAN_SUFFIX 829DRIVER_MAN_SUFFIX 830MISC_MAN_SUFFIX 831FILE_MAN_SUFFIX 832LIB_MAN_SUFFIX 833APP_MAN_SUFFIX 834INSTALL_CMD 835PKG_CONFIG 836CHANGELOG_CMD 837CWARNFLAGS 838CPP 839OTOOL64 840OTOOL 841LIPO 842NMEDIT 843DSYMUTIL 844lt_ECHO 845RANLIB 846AR 847OBJDUMP 848LN_S 849NM 850ac_ct_DUMPBIN 851DUMPBIN 852LD 853FGREP 854EGREP 855GREP 856SED 857host_os 858host_vendor 859host_cpu 860host 861build_os 862build_vendor 863build_cpu 864build 865LIBTOOL 866am__fastdepCC_FALSE 867am__fastdepCC_TRUE 868CCDEPMODE 869AMDEPBACKSLASH 870AMDEP_FALSE 871AMDEP_TRUE 872am__quote 873am__include 874DEPDIR 875OBJEXT 876EXEEXT 877ac_ct_CC 878CPPFLAGS 879LDFLAGS 880CFLAGS 881CC 882MAINT 883MAINTAINER_MODE_FALSE 884MAINTAINER_MODE_TRUE 885am__untar 886am__tar 887AMTAR 888am__leading_dot 889SET_MAKE 890AWK 891mkdir_p 892MKDIR_P 893INSTALL_STRIP_PROGRAM 894STRIP 895install_sh 896MAKEINFO 897AUTOHEADER 898AUTOMAKE 899AUTOCONF 900ACLOCAL 901VERSION 902PACKAGE 903CYGPATH_W 904am__isrc 905INSTALL_DATA 906INSTALL_SCRIPT 907INSTALL_PROGRAM 908target_alias 909host_alias 910build_alias 911LIBS 912ECHO_T 913ECHO_N 914ECHO_C 915DEFS 916mandir 917localedir 918libdir 919psdir 920pdfdir 921dvidir 922htmldir 923infodir 924docdir 925oldincludedir 926includedir 927localstatedir 928sharedstatedir 929sysconfdir 930datadir 931datarootdir 932libexecdir 933sbindir 934bindir 935program_transform_name 936prefix 937exec_prefix 938PACKAGE_URL 939PACKAGE_BUGREPORT 940PACKAGE_STRING 941PACKAGE_VERSION 942PACKAGE_TARNAME 943PACKAGE_NAME 944PATH_SEPARATOR 945SHELL' 946ac_subst_files='' 947ac_user_opts=' 948enable_option_checking 949enable_maintainer_mode 950enable_dependency_tracking 951enable_shared 952enable_static 953with_pic 954enable_fast_install 955with_gnu_ld 956enable_libtool_lock 957enable_strict_compilation 958enable_silent_rules 959with_xmlto 960' 961 ac_precious_vars='build_alias 962host_alias 963target_alias 964CC 965CFLAGS 966LDFLAGS 967LIBS 968CPPFLAGS 969CPP 970PKG_CONFIG 971XMLTO 972XCOMPOSITE_CFLAGS 973XCOMPOSITE_LIBS' 974 975 976# Initialize some variables set by options. 977ac_init_help= 978ac_init_version=false 979ac_unrecognized_opts= 980ac_unrecognized_sep= 981# The variables have the same names as the options, with 982# dashes changed to underlines. 983cache_file=/dev/null 984exec_prefix=NONE 985no_create= 986no_recursion= 987prefix=NONE 988program_prefix=NONE 989program_suffix=NONE 990program_transform_name=s,x,x, 991silent= 992site= 993srcdir= 994verbose= 995x_includes=NONE 996x_libraries=NONE 997 998# Installation directory options. 999# These are left unexpanded so users can "make install exec_prefix=/foo" 1000# and all the variables that are supposed to be based on exec_prefix 1001# by default will actually change. 1002# Use braces instead of parens because sh, perl, etc. also accept them. 1003# (The list follows the same order as the GNU Coding Standards.) 1004bindir='${exec_prefix}/bin' 1005sbindir='${exec_prefix}/sbin' 1006libexecdir='${exec_prefix}/libexec' 1007datarootdir='${prefix}/share' 1008datadir='${datarootdir}' 1009sysconfdir='${prefix}/etc' 1010sharedstatedir='${prefix}/com' 1011localstatedir='${prefix}/var' 1012includedir='${prefix}/include' 1013oldincludedir='/usr/include' 1014docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1015infodir='${datarootdir}/info' 1016htmldir='${docdir}' 1017dvidir='${docdir}' 1018pdfdir='${docdir}' 1019psdir='${docdir}' 1020libdir='${exec_prefix}/lib' 1021localedir='${datarootdir}/locale' 1022mandir='${datarootdir}/man' 1023 1024ac_prev= 1025ac_dashdash= 1026for ac_option 1027do 1028 # If the previous option needs an argument, assign it. 1029 if test -n "$ac_prev"; then 1030 eval $ac_prev=\$ac_option 1031 ac_prev= 1032 continue 1033 fi 1034 1035 case $ac_option in 1036 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1037 *) ac_optarg=yes ;; 1038 esac 1039 1040 # Accept the important Cygnus configure options, so we can diagnose typos. 1041 1042 case $ac_dashdash$ac_option in 1043 --) 1044 ac_dashdash=yes ;; 1045 1046 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1047 ac_prev=bindir ;; 1048 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1049 bindir=$ac_optarg ;; 1050 1051 -build | --build | --buil | --bui | --bu) 1052 ac_prev=build_alias ;; 1053 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1054 build_alias=$ac_optarg ;; 1055 1056 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1057 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1058 ac_prev=cache_file ;; 1059 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1060 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1061 cache_file=$ac_optarg ;; 1062 1063 --config-cache | -C) 1064 cache_file=config.cache ;; 1065 1066 -datadir | --datadir | --datadi | --datad) 1067 ac_prev=datadir ;; 1068 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1069 datadir=$ac_optarg ;; 1070 1071 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1072 | --dataroo | --dataro | --datar) 1073 ac_prev=datarootdir ;; 1074 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1075 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1076 datarootdir=$ac_optarg ;; 1077 1078 -disable-* | --disable-*) 1079 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1080 # Reject names that are not valid shell variable names. 1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1082 as_fn_error "invalid feature name: $ac_useropt" 1083 ac_useropt_orig=$ac_useropt 1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1085 case $ac_user_opts in 1086 *" 1087"enable_$ac_useropt" 1088"*) ;; 1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1090 ac_unrecognized_sep=', ';; 1091 esac 1092 eval enable_$ac_useropt=no ;; 1093 1094 -docdir | --docdir | --docdi | --doc | --do) 1095 ac_prev=docdir ;; 1096 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1097 docdir=$ac_optarg ;; 1098 1099 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1100 ac_prev=dvidir ;; 1101 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1102 dvidir=$ac_optarg ;; 1103 1104 -enable-* | --enable-*) 1105 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1106 # Reject names that are not valid shell variable names. 1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 as_fn_error "invalid feature name: $ac_useropt" 1109 ac_useropt_orig=$ac_useropt 1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1111 case $ac_user_opts in 1112 *" 1113"enable_$ac_useropt" 1114"*) ;; 1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1116 ac_unrecognized_sep=', ';; 1117 esac 1118 eval enable_$ac_useropt=\$ac_optarg ;; 1119 1120 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1121 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1122 | --exec | --exe | --ex) 1123 ac_prev=exec_prefix ;; 1124 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1125 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1126 | --exec=* | --exe=* | --ex=*) 1127 exec_prefix=$ac_optarg ;; 1128 1129 -gas | --gas | --ga | --g) 1130 # Obsolete; use --with-gas. 1131 with_gas=yes ;; 1132 1133 -help | --help | --hel | --he | -h) 1134 ac_init_help=long ;; 1135 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1136 ac_init_help=recursive ;; 1137 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1138 ac_init_help=short ;; 1139 1140 -host | --host | --hos | --ho) 1141 ac_prev=host_alias ;; 1142 -host=* | --host=* | --hos=* | --ho=*) 1143 host_alias=$ac_optarg ;; 1144 1145 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1146 ac_prev=htmldir ;; 1147 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1148 | --ht=*) 1149 htmldir=$ac_optarg ;; 1150 1151 -includedir | --includedir | --includedi | --included | --include \ 1152 | --includ | --inclu | --incl | --inc) 1153 ac_prev=includedir ;; 1154 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1155 | --includ=* | --inclu=* | --incl=* | --inc=*) 1156 includedir=$ac_optarg ;; 1157 1158 -infodir | --infodir | --infodi | --infod | --info | --inf) 1159 ac_prev=infodir ;; 1160 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1161 infodir=$ac_optarg ;; 1162 1163 -libdir | --libdir | --libdi | --libd) 1164 ac_prev=libdir ;; 1165 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1166 libdir=$ac_optarg ;; 1167 1168 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1169 | --libexe | --libex | --libe) 1170 ac_prev=libexecdir ;; 1171 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1172 | --libexe=* | --libex=* | --libe=*) 1173 libexecdir=$ac_optarg ;; 1174 1175 -localedir | --localedir | --localedi | --localed | --locale) 1176 ac_prev=localedir ;; 1177 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1178 localedir=$ac_optarg ;; 1179 1180 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1181 | --localstate | --localstat | --localsta | --localst | --locals) 1182 ac_prev=localstatedir ;; 1183 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1184 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1185 localstatedir=$ac_optarg ;; 1186 1187 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1188 ac_prev=mandir ;; 1189 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1190 mandir=$ac_optarg ;; 1191 1192 -nfp | --nfp | --nf) 1193 # Obsolete; use --without-fp. 1194 with_fp=no ;; 1195 1196 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1197 | --no-cr | --no-c | -n) 1198 no_create=yes ;; 1199 1200 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1201 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1202 no_recursion=yes ;; 1203 1204 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1205 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1206 | --oldin | --oldi | --old | --ol | --o) 1207 ac_prev=oldincludedir ;; 1208 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1209 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1210 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1211 oldincludedir=$ac_optarg ;; 1212 1213 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1214 ac_prev=prefix ;; 1215 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1216 prefix=$ac_optarg ;; 1217 1218 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1219 | --program-pre | --program-pr | --program-p) 1220 ac_prev=program_prefix ;; 1221 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1222 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1223 program_prefix=$ac_optarg ;; 1224 1225 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1226 | --program-suf | --program-su | --program-s) 1227 ac_prev=program_suffix ;; 1228 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1229 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1230 program_suffix=$ac_optarg ;; 1231 1232 -program-transform-name | --program-transform-name \ 1233 | --program-transform-nam | --program-transform-na \ 1234 | --program-transform-n | --program-transform- \ 1235 | --program-transform | --program-transfor \ 1236 | --program-transfo | --program-transf \ 1237 | --program-trans | --program-tran \ 1238 | --progr-tra | --program-tr | --program-t) 1239 ac_prev=program_transform_name ;; 1240 -program-transform-name=* | --program-transform-name=* \ 1241 | --program-transform-nam=* | --program-transform-na=* \ 1242 | --program-transform-n=* | --program-transform-=* \ 1243 | --program-transform=* | --program-transfor=* \ 1244 | --program-transfo=* | --program-transf=* \ 1245 | --program-trans=* | --program-tran=* \ 1246 | --progr-tra=* | --program-tr=* | --program-t=*) 1247 program_transform_name=$ac_optarg ;; 1248 1249 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1250 ac_prev=pdfdir ;; 1251 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1252 pdfdir=$ac_optarg ;; 1253 1254 -psdir | --psdir | --psdi | --psd | --ps) 1255 ac_prev=psdir ;; 1256 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1257 psdir=$ac_optarg ;; 1258 1259 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1260 | -silent | --silent | --silen | --sile | --sil) 1261 silent=yes ;; 1262 1263 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1264 ac_prev=sbindir ;; 1265 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1266 | --sbi=* | --sb=*) 1267 sbindir=$ac_optarg ;; 1268 1269 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1270 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1271 | --sharedst | --shareds | --shared | --share | --shar \ 1272 | --sha | --sh) 1273 ac_prev=sharedstatedir ;; 1274 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1275 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1276 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1277 | --sha=* | --sh=*) 1278 sharedstatedir=$ac_optarg ;; 1279 1280 -site | --site | --sit) 1281 ac_prev=site ;; 1282 -site=* | --site=* | --sit=*) 1283 site=$ac_optarg ;; 1284 1285 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1286 ac_prev=srcdir ;; 1287 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1288 srcdir=$ac_optarg ;; 1289 1290 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1291 | --syscon | --sysco | --sysc | --sys | --sy) 1292 ac_prev=sysconfdir ;; 1293 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1294 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1295 sysconfdir=$ac_optarg ;; 1296 1297 -target | --target | --targe | --targ | --tar | --ta | --t) 1298 ac_prev=target_alias ;; 1299 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1300 target_alias=$ac_optarg ;; 1301 1302 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1303 verbose=yes ;; 1304 1305 -version | --version | --versio | --versi | --vers | -V) 1306 ac_init_version=: ;; 1307 1308 -with-* | --with-*) 1309 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1310 # Reject names that are not valid shell variable names. 1311 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1312 as_fn_error "invalid package name: $ac_useropt" 1313 ac_useropt_orig=$ac_useropt 1314 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1315 case $ac_user_opts in 1316 *" 1317"with_$ac_useropt" 1318"*) ;; 1319 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1320 ac_unrecognized_sep=', ';; 1321 esac 1322 eval with_$ac_useropt=\$ac_optarg ;; 1323 1324 -without-* | --without-*) 1325 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1326 # Reject names that are not valid shell variable names. 1327 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1328 as_fn_error "invalid package name: $ac_useropt" 1329 ac_useropt_orig=$ac_useropt 1330 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1331 case $ac_user_opts in 1332 *" 1333"with_$ac_useropt" 1334"*) ;; 1335 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1336 ac_unrecognized_sep=', ';; 1337 esac 1338 eval with_$ac_useropt=no ;; 1339 1340 --x) 1341 # Obsolete; use --with-x. 1342 with_x=yes ;; 1343 1344 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1345 | --x-incl | --x-inc | --x-in | --x-i) 1346 ac_prev=x_includes ;; 1347 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1348 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1349 x_includes=$ac_optarg ;; 1350 1351 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1352 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1353 ac_prev=x_libraries ;; 1354 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1355 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1356 x_libraries=$ac_optarg ;; 1357 1358 -*) as_fn_error "unrecognized option: \`$ac_option' 1359Try \`$0 --help' for more information." 1360 ;; 1361 1362 *=*) 1363 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1364 # Reject names that are not valid shell variable names. 1365 case $ac_envvar in #( 1366 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1367 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1368 esac 1369 eval $ac_envvar=\$ac_optarg 1370 export $ac_envvar ;; 1371 1372 *) 1373 # FIXME: should be removed in autoconf 3.0. 1374 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1375 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1376 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1377 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1378 ;; 1379 1380 esac 1381done 1382 1383if test -n "$ac_prev"; then 1384 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1385 as_fn_error "missing argument to $ac_option" 1386fi 1387 1388if test -n "$ac_unrecognized_opts"; then 1389 case $enable_option_checking in 1390 no) ;; 1391 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1392 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1393 esac 1394fi 1395 1396# Check all directory arguments for consistency. 1397for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1398 datadir sysconfdir sharedstatedir localstatedir includedir \ 1399 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1400 libdir localedir mandir 1401do 1402 eval ac_val=\$$ac_var 1403 # Remove trailing slashes. 1404 case $ac_val in 1405 */ ) 1406 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1407 eval $ac_var=\$ac_val;; 1408 esac 1409 # Be sure to have absolute directory names. 1410 case $ac_val in 1411 [\\/$]* | ?:[\\/]* ) continue;; 1412 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1413 esac 1414 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1415done 1416 1417# There might be people who depend on the old broken behavior: `$host' 1418# used to hold the argument of --host etc. 1419# FIXME: To remove some day. 1420build=$build_alias 1421host=$host_alias 1422target=$target_alias 1423 1424# FIXME: To remove some day. 1425if test "x$host_alias" != x; then 1426 if test "x$build_alias" = x; then 1427 cross_compiling=maybe 1428 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1429 If a cross compiler is detected then cross compile mode will be used." >&2 1430 elif test "x$build_alias" != "x$host_alias"; then 1431 cross_compiling=yes 1432 fi 1433fi 1434 1435ac_tool_prefix= 1436test -n "$host_alias" && ac_tool_prefix=$host_alias- 1437 1438test "$silent" = yes && exec 6>/dev/null 1439 1440 1441ac_pwd=`pwd` && test -n "$ac_pwd" && 1442ac_ls_di=`ls -di .` && 1443ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1444 as_fn_error "working directory cannot be determined" 1445test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1446 as_fn_error "pwd does not report name of working directory" 1447 1448 1449# Find the source files, if location was not specified. 1450if test -z "$srcdir"; then 1451 ac_srcdir_defaulted=yes 1452 # Try the directory containing this script, then the parent directory. 1453 ac_confdir=`$as_dirname -- "$as_myself" || 1454$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1455 X"$as_myself" : 'X\(//\)[^/]' \| \ 1456 X"$as_myself" : 'X\(//\)$' \| \ 1457 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1458$as_echo X"$as_myself" | 1459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1460 s//\1/ 1461 q 1462 } 1463 /^X\(\/\/\)[^/].*/{ 1464 s//\1/ 1465 q 1466 } 1467 /^X\(\/\/\)$/{ 1468 s//\1/ 1469 q 1470 } 1471 /^X\(\/\).*/{ 1472 s//\1/ 1473 q 1474 } 1475 s/.*/./; q'` 1476 srcdir=$ac_confdir 1477 if test ! -r "$srcdir/$ac_unique_file"; then 1478 srcdir=.. 1479 fi 1480else 1481 ac_srcdir_defaulted=no 1482fi 1483if test ! -r "$srcdir/$ac_unique_file"; then 1484 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1485 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1486fi 1487ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1488ac_abs_confdir=`( 1489 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1490 pwd)` 1491# When building in place, set srcdir=. 1492if test "$ac_abs_confdir" = "$ac_pwd"; then 1493 srcdir=. 1494fi 1495# Remove unnecessary trailing slashes from srcdir. 1496# Double slashes in file names in object file debugging info 1497# mess up M-x gdb in Emacs. 1498case $srcdir in 1499*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1500esac 1501for ac_var in $ac_precious_vars; do 1502 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1503 eval ac_env_${ac_var}_value=\$${ac_var} 1504 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1505 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1506done 1507 1508# 1509# Report the --help message. 1510# 1511if test "$ac_init_help" = "long"; then 1512 # Omit some internal or obsolete options to make the list less imposing. 1513 # This message is too long to be a string in the A/UX 3.1 sh. 1514 cat <<_ACEOF 1515\`configure' configures libXcomposite 0.4.2 to adapt to many kinds of systems. 1516 1517Usage: $0 [OPTION]... [VAR=VALUE]... 1518 1519To assign environment variables (e.g., CC, CFLAGS...), specify them as 1520VAR=VALUE. See below for descriptions of some of the useful variables. 1521 1522Defaults for the options are specified in brackets. 1523 1524Configuration: 1525 -h, --help display this help and exit 1526 --help=short display options specific to this package 1527 --help=recursive display the short help of all the included packages 1528 -V, --version display version information and exit 1529 -q, --quiet, --silent do not print \`checking...' messages 1530 --cache-file=FILE cache test results in FILE [disabled] 1531 -C, --config-cache alias for \`--cache-file=config.cache' 1532 -n, --no-create do not create output files 1533 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1534 1535Installation directories: 1536 --prefix=PREFIX install architecture-independent files in PREFIX 1537 [$ac_default_prefix] 1538 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1539 [PREFIX] 1540 1541By default, \`make install' will install all the files in 1542\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1543an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1544for instance \`--prefix=\$HOME'. 1545 1546For better control, use the options below. 1547 1548Fine tuning of the installation directories: 1549 --bindir=DIR user executables [EPREFIX/bin] 1550 --sbindir=DIR system admin executables [EPREFIX/sbin] 1551 --libexecdir=DIR program executables [EPREFIX/libexec] 1552 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1553 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1554 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1555 --libdir=DIR object code libraries [EPREFIX/lib] 1556 --includedir=DIR C header files [PREFIX/include] 1557 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1558 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1559 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1560 --infodir=DIR info documentation [DATAROOTDIR/info] 1561 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1562 --mandir=DIR man documentation [DATAROOTDIR/man] 1563 --docdir=DIR documentation root [DATAROOTDIR/doc/libXcomposite] 1564 --htmldir=DIR html documentation [DOCDIR] 1565 --dvidir=DIR dvi documentation [DOCDIR] 1566 --pdfdir=DIR pdf documentation [DOCDIR] 1567 --psdir=DIR ps documentation [DOCDIR] 1568_ACEOF 1569 1570 cat <<\_ACEOF 1571 1572Program names: 1573 --program-prefix=PREFIX prepend PREFIX to installed program names 1574 --program-suffix=SUFFIX append SUFFIX to installed program names 1575 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1576 1577System types: 1578 --build=BUILD configure for building on BUILD [guessed] 1579 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1580_ACEOF 1581fi 1582 1583if test -n "$ac_init_help"; then 1584 case $ac_init_help in 1585 short | recursive ) echo "Configuration of libXcomposite 0.4.2:";; 1586 esac 1587 cat <<\_ACEOF 1588 1589Optional Features: 1590 --disable-option-checking ignore unrecognized --enable/--with options 1591 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1592 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1593 --enable-maintainer-mode enable make rules and dependencies not useful 1594 (and sometimes confusing) to the casual installer 1595 --disable-dependency-tracking speeds up one-time build 1596 --enable-dependency-tracking do not reject slow dependency extractors 1597 --enable-shared[=PKGS] build shared libraries [default=yes] 1598 --enable-static[=PKGS] build static libraries [default=yes] 1599 --enable-fast-install[=PKGS] 1600 optimize for fast installation [default=yes] 1601 --disable-libtool-lock avoid locking (might break parallel builds) 1602 --enable-strict-compilation 1603 Enable all warnings from compiler and make them 1604 errors (default: disabled) 1605 --enable-silent-rules less verbose build output (undo: `make V=1') 1606 --disable-silent-rules verbose build output (undo: `make V=0') 1607 1608Optional Packages: 1609 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1611 --with-pic try to use only PIC/non-PIC objects [default=use 1612 both] 1613 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1614 --with-xmlto Use xmlto to regenerate documentation (default: yes, 1615 if installed) 1616 1617Some influential environment variables: 1618 CC C compiler command 1619 CFLAGS C compiler flags 1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1621 nonstandard directory <lib dir> 1622 LIBS libraries to pass to the linker, e.g. -l<library> 1623 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1624 you have headers in a nonstandard directory <include dir> 1625 CPP C preprocessor 1626 PKG_CONFIG path to pkg-config utility 1627 XMLTO Path to xmlto command 1628 XCOMPOSITE_CFLAGS 1629 C compiler flags for XCOMPOSITE, overriding pkg-config 1630 XCOMPOSITE_LIBS 1631 linker flags for XCOMPOSITE, overriding pkg-config 1632 1633Use these variables to override the choices made by `configure' or to help 1634it to find libraries and programs with nonstandard names/locations. 1635 1636Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1637_ACEOF 1638ac_status=$? 1639fi 1640 1641if test "$ac_init_help" = "recursive"; then 1642 # If there are subdirs, report their specific --help. 1643 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1644 test -d "$ac_dir" || 1645 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1646 continue 1647 ac_builddir=. 1648 1649case "$ac_dir" in 1650.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1651*) 1652 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1653 # A ".." for each directory in $ac_dir_suffix. 1654 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1655 case $ac_top_builddir_sub in 1656 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1657 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1658 esac ;; 1659esac 1660ac_abs_top_builddir=$ac_pwd 1661ac_abs_builddir=$ac_pwd$ac_dir_suffix 1662# for backward compatibility: 1663ac_top_builddir=$ac_top_build_prefix 1664 1665case $srcdir in 1666 .) # We are building in place. 1667 ac_srcdir=. 1668 ac_top_srcdir=$ac_top_builddir_sub 1669 ac_abs_top_srcdir=$ac_pwd ;; 1670 [\\/]* | ?:[\\/]* ) # Absolute name. 1671 ac_srcdir=$srcdir$ac_dir_suffix; 1672 ac_top_srcdir=$srcdir 1673 ac_abs_top_srcdir=$srcdir ;; 1674 *) # Relative name. 1675 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1676 ac_top_srcdir=$ac_top_build_prefix$srcdir 1677 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1678esac 1679ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1680 1681 cd "$ac_dir" || { ac_status=$?; continue; } 1682 # Check for guested configure. 1683 if test -f "$ac_srcdir/configure.gnu"; then 1684 echo && 1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1686 elif test -f "$ac_srcdir/configure"; then 1687 echo && 1688 $SHELL "$ac_srcdir/configure" --help=recursive 1689 else 1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1691 fi || ac_status=$? 1692 cd "$ac_pwd" || { ac_status=$?; break; } 1693 done 1694fi 1695 1696test -n "$ac_init_help" && exit $ac_status 1697if $ac_init_version; then 1698 cat <<\_ACEOF 1699libXcomposite configure 0.4.2 1700generated by GNU Autoconf 2.65 1701 1702Copyright (C) 2009 Free Software Foundation, Inc. 1703This configure script is free software; the Free Software Foundation 1704gives unlimited permission to copy, distribute and modify it. 1705_ACEOF 1706 exit 1707fi 1708 1709## ------------------------ ## 1710## Autoconf initialization. ## 1711## ------------------------ ## 1712 1713# ac_fn_c_try_compile LINENO 1714# -------------------------- 1715# Try to compile conftest.$ac_ext, and return whether this succeeded. 1716ac_fn_c_try_compile () 1717{ 1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1719 rm -f conftest.$ac_objext 1720 if { { ac_try="$ac_compile" 1721case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724esac 1725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726$as_echo "$ac_try_echo"; } >&5 1727 (eval "$ac_compile") 2>conftest.err 1728 ac_status=$? 1729 if test -s conftest.err; then 1730 grep -v '^ *+' conftest.err >conftest.er1 1731 cat conftest.er1 >&5 1732 mv -f conftest.er1 conftest.err 1733 fi 1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1735 test $ac_status = 0; } && { 1736 test -z "$ac_c_werror_flag" || 1737 test ! -s conftest.err 1738 } && test -s conftest.$ac_objext; then : 1739 ac_retval=0 1740else 1741 $as_echo "$as_me: failed program was:" >&5 1742sed 's/^/| /' conftest.$ac_ext >&5 1743 1744 ac_retval=1 1745fi 1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1747 as_fn_set_status $ac_retval 1748 1749} # ac_fn_c_try_compile 1750 1751# ac_fn_c_try_link LINENO 1752# ----------------------- 1753# Try to link conftest.$ac_ext, and return whether this succeeded. 1754ac_fn_c_try_link () 1755{ 1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1757 rm -f conftest.$ac_objext conftest$ac_exeext 1758 if { { ac_try="$ac_link" 1759case "(($ac_try" in 1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1761 *) ac_try_echo=$ac_try;; 1762esac 1763eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1764$as_echo "$ac_try_echo"; } >&5 1765 (eval "$ac_link") 2>conftest.err 1766 ac_status=$? 1767 if test -s conftest.err; then 1768 grep -v '^ *+' conftest.err >conftest.er1 1769 cat conftest.er1 >&5 1770 mv -f conftest.er1 conftest.err 1771 fi 1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1773 test $ac_status = 0; } && { 1774 test -z "$ac_c_werror_flag" || 1775 test ! -s conftest.err 1776 } && test -s conftest$ac_exeext && { 1777 test "$cross_compiling" = yes || 1778 $as_test_x conftest$ac_exeext 1779 }; then : 1780 ac_retval=0 1781else 1782 $as_echo "$as_me: failed program was:" >&5 1783sed 's/^/| /' conftest.$ac_ext >&5 1784 1785 ac_retval=1 1786fi 1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1789 # interfere with the next link command; also delete a directory that is 1790 # left behind by Apple's compiler. We do this before executing the actions. 1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1793 as_fn_set_status $ac_retval 1794 1795} # ac_fn_c_try_link 1796 1797# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1798# ------------------------------------------------------- 1799# Tests whether HEADER exists and can be compiled using the include files in 1800# INCLUDES, setting the cache variable VAR accordingly. 1801ac_fn_c_check_header_compile () 1802{ 1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1805$as_echo_n "checking for $2... " >&6; } 1806if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1807 $as_echo_n "(cached) " >&6 1808else 1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1810/* end confdefs.h. */ 1811$4 1812#include <$2> 1813_ACEOF 1814if ac_fn_c_try_compile "$LINENO"; then : 1815 eval "$3=yes" 1816else 1817 eval "$3=no" 1818fi 1819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1820fi 1821eval ac_res=\$$3 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1823$as_echo "$ac_res" >&6; } 1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1825 1826} # ac_fn_c_check_header_compile 1827 1828# ac_fn_c_try_cpp LINENO 1829# ---------------------- 1830# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1831ac_fn_c_try_cpp () 1832{ 1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1834 if { { ac_try="$ac_cpp conftest.$ac_ext" 1835case "(($ac_try" in 1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1837 *) ac_try_echo=$ac_try;; 1838esac 1839eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1840$as_echo "$ac_try_echo"; } >&5 1841 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1842 ac_status=$? 1843 if test -s conftest.err; then 1844 grep -v '^ *+' conftest.err >conftest.er1 1845 cat conftest.er1 >&5 1846 mv -f conftest.er1 conftest.err 1847 fi 1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1849 test $ac_status = 0; } >/dev/null && { 1850 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1851 test ! -s conftest.err 1852 }; then : 1853 ac_retval=0 1854else 1855 $as_echo "$as_me: failed program was:" >&5 1856sed 's/^/| /' conftest.$ac_ext >&5 1857 1858 ac_retval=1 1859fi 1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1861 as_fn_set_status $ac_retval 1862 1863} # ac_fn_c_try_cpp 1864 1865# ac_fn_c_try_run LINENO 1866# ---------------------- 1867# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1868# that executables *can* be run. 1869ac_fn_c_try_run () 1870{ 1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1872 if { { ac_try="$ac_link" 1873case "(($ac_try" in 1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1875 *) ac_try_echo=$ac_try;; 1876esac 1877eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1878$as_echo "$ac_try_echo"; } >&5 1879 (eval "$ac_link") 2>&5 1880 ac_status=$? 1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1883 { { case "(($ac_try" in 1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1885 *) ac_try_echo=$ac_try;; 1886esac 1887eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1888$as_echo "$ac_try_echo"; } >&5 1889 (eval "$ac_try") 2>&5 1890 ac_status=$? 1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1892 test $ac_status = 0; }; }; then : 1893 ac_retval=0 1894else 1895 $as_echo "$as_me: program exited with status $ac_status" >&5 1896 $as_echo "$as_me: failed program was:" >&5 1897sed 's/^/| /' conftest.$ac_ext >&5 1898 1899 ac_retval=$ac_status 1900fi 1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1903 as_fn_set_status $ac_retval 1904 1905} # ac_fn_c_try_run 1906 1907# ac_fn_c_check_func LINENO FUNC VAR 1908# ---------------------------------- 1909# Tests whether FUNC exists, setting the cache variable VAR accordingly 1910ac_fn_c_check_func () 1911{ 1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1914$as_echo_n "checking for $2... " >&6; } 1915if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1916 $as_echo_n "(cached) " >&6 1917else 1918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1919/* end confdefs.h. */ 1920/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1921 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1922#define $2 innocuous_$2 1923 1924/* System header to define __stub macros and hopefully few prototypes, 1925 which can conflict with char $2 (); below. 1926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1927 <limits.h> exists even on freestanding compilers. */ 1928 1929#ifdef __STDC__ 1930# include <limits.h> 1931#else 1932# include <assert.h> 1933#endif 1934 1935#undef $2 1936 1937/* Override any GCC internal prototype to avoid an error. 1938 Use char because int might match the return type of a GCC 1939 builtin and then its argument prototype would still apply. */ 1940#ifdef __cplusplus 1941extern "C" 1942#endif 1943char $2 (); 1944/* The GNU C library defines this for functions which it implements 1945 to always fail with ENOSYS. Some functions are actually named 1946 something starting with __ and the normal name is an alias. */ 1947#if defined __stub_$2 || defined __stub___$2 1948choke me 1949#endif 1950 1951int 1952main () 1953{ 1954return $2 (); 1955 ; 1956 return 0; 1957} 1958_ACEOF 1959if ac_fn_c_try_link "$LINENO"; then : 1960 eval "$3=yes" 1961else 1962 eval "$3=no" 1963fi 1964rm -f core conftest.err conftest.$ac_objext \ 1965 conftest$ac_exeext conftest.$ac_ext 1966fi 1967eval ac_res=\$$3 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1969$as_echo "$ac_res" >&6; } 1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1971 1972} # ac_fn_c_check_func 1973 1974# ac_fn_c_check_decl LINENO SYMBOL VAR 1975# ------------------------------------ 1976# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 1977ac_fn_c_check_decl () 1978{ 1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 1981$as_echo_n "checking whether $2 is declared... " >&6; } 1982if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1983 $as_echo_n "(cached) " >&6 1984else 1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1986/* end confdefs.h. */ 1987$4 1988int 1989main () 1990{ 1991#ifndef $2 1992 (void) $2; 1993#endif 1994 1995 ; 1996 return 0; 1997} 1998_ACEOF 1999if ac_fn_c_try_compile "$LINENO"; then : 2000 eval "$3=yes" 2001else 2002 eval "$3=no" 2003fi 2004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2005fi 2006eval ac_res=\$$3 2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2008$as_echo "$ac_res" >&6; } 2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2010 2011} # ac_fn_c_check_decl 2012cat >config.log <<_ACEOF 2013This file contains any messages produced by compilers while 2014running configure, to aid debugging if configure makes a mistake. 2015 2016It was created by libXcomposite $as_me 0.4.2, which was 2017generated by GNU Autoconf 2.65. Invocation command line was 2018 2019 $ $0 $@ 2020 2021_ACEOF 2022exec 5>>config.log 2023{ 2024cat <<_ASUNAME 2025## --------- ## 2026## Platform. ## 2027## --------- ## 2028 2029hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2030uname -m = `(uname -m) 2>/dev/null || echo unknown` 2031uname -r = `(uname -r) 2>/dev/null || echo unknown` 2032uname -s = `(uname -s) 2>/dev/null || echo unknown` 2033uname -v = `(uname -v) 2>/dev/null || echo unknown` 2034 2035/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2036/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2037 2038/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2039/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2040/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2041/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2042/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2043/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2044/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2045 2046_ASUNAME 2047 2048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2049for as_dir in $PATH 2050do 2051 IFS=$as_save_IFS 2052 test -z "$as_dir" && as_dir=. 2053 $as_echo "PATH: $as_dir" 2054 done 2055IFS=$as_save_IFS 2056 2057} >&5 2058 2059cat >&5 <<_ACEOF 2060 2061 2062## ----------- ## 2063## Core tests. ## 2064## ----------- ## 2065 2066_ACEOF 2067 2068 2069# Keep a trace of the command line. 2070# Strip out --no-create and --no-recursion so they do not pile up. 2071# Strip out --silent because we don't want to record it for future runs. 2072# Also quote any args containing shell meta-characters. 2073# Make two passes to allow for proper duplicate-argument suppression. 2074ac_configure_args= 2075ac_configure_args0= 2076ac_configure_args1= 2077ac_must_keep_next=false 2078for ac_pass in 1 2 2079do 2080 for ac_arg 2081 do 2082 case $ac_arg in 2083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2085 | -silent | --silent | --silen | --sile | --sil) 2086 continue ;; 2087 *\'*) 2088 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2089 esac 2090 case $ac_pass in 2091 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2092 2) 2093 as_fn_append ac_configure_args1 " '$ac_arg'" 2094 if test $ac_must_keep_next = true; then 2095 ac_must_keep_next=false # Got value, back to normal. 2096 else 2097 case $ac_arg in 2098 *=* | --config-cache | -C | -disable-* | --disable-* \ 2099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2101 | -with-* | --with-* | -without-* | --without-* | --x) 2102 case "$ac_configure_args0 " in 2103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2104 esac 2105 ;; 2106 -* ) ac_must_keep_next=true ;; 2107 esac 2108 fi 2109 as_fn_append ac_configure_args " '$ac_arg'" 2110 ;; 2111 esac 2112 done 2113done 2114{ ac_configure_args0=; unset ac_configure_args0;} 2115{ ac_configure_args1=; unset ac_configure_args1;} 2116 2117# When interrupted or exit'd, cleanup temporary files, and complete 2118# config.log. We remove comments because anyway the quotes in there 2119# would cause problems or look ugly. 2120# WARNING: Use '\'' to represent an apostrophe within the trap. 2121# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2122trap 'exit_status=$? 2123 # Save into config.log some information that might help in debugging. 2124 { 2125 echo 2126 2127 cat <<\_ASBOX 2128## ---------------- ## 2129## Cache variables. ## 2130## ---------------- ## 2131_ASBOX 2132 echo 2133 # The following way of writing the cache mishandles newlines in values, 2134( 2135 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2136 eval ac_val=\$$ac_var 2137 case $ac_val in #( 2138 *${as_nl}*) 2139 case $ac_var in #( 2140 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2141$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2142 esac 2143 case $ac_var in #( 2144 _ | IFS | as_nl) ;; #( 2145 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2146 *) { eval $ac_var=; unset $ac_var;} ;; 2147 esac ;; 2148 esac 2149 done 2150 (set) 2>&1 | 2151 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2152 *${as_nl}ac_space=\ *) 2153 sed -n \ 2154 "s/'\''/'\''\\\\'\'''\''/g; 2155 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2156 ;; #( 2157 *) 2158 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2159 ;; 2160 esac | 2161 sort 2162) 2163 echo 2164 2165 cat <<\_ASBOX 2166## ----------------- ## 2167## Output variables. ## 2168## ----------------- ## 2169_ASBOX 2170 echo 2171 for ac_var in $ac_subst_vars 2172 do 2173 eval ac_val=\$$ac_var 2174 case $ac_val in 2175 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2176 esac 2177 $as_echo "$ac_var='\''$ac_val'\''" 2178 done | sort 2179 echo 2180 2181 if test -n "$ac_subst_files"; then 2182 cat <<\_ASBOX 2183## ------------------- ## 2184## File substitutions. ## 2185## ------------------- ## 2186_ASBOX 2187 echo 2188 for ac_var in $ac_subst_files 2189 do 2190 eval ac_val=\$$ac_var 2191 case $ac_val in 2192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2193 esac 2194 $as_echo "$ac_var='\''$ac_val'\''" 2195 done | sort 2196 echo 2197 fi 2198 2199 if test -s confdefs.h; then 2200 cat <<\_ASBOX 2201## ----------- ## 2202## confdefs.h. ## 2203## ----------- ## 2204_ASBOX 2205 echo 2206 cat confdefs.h 2207 echo 2208 fi 2209 test "$ac_signal" != 0 && 2210 $as_echo "$as_me: caught signal $ac_signal" 2211 $as_echo "$as_me: exit $exit_status" 2212 } >&5 2213 rm -f core *.core core.conftest.* && 2214 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2215 exit $exit_status 2216' 0 2217for ac_signal in 1 2 13 15; do 2218 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2219done 2220ac_signal=0 2221 2222# confdefs.h avoids OS command line length limits that DEFS can exceed. 2223rm -f -r conftest* confdefs.h 2224 2225$as_echo "/* confdefs.h */" > confdefs.h 2226 2227# Predefined preprocessor variables. 2228 2229cat >>confdefs.h <<_ACEOF 2230#define PACKAGE_NAME "$PACKAGE_NAME" 2231_ACEOF 2232 2233cat >>confdefs.h <<_ACEOF 2234#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2235_ACEOF 2236 2237cat >>confdefs.h <<_ACEOF 2238#define PACKAGE_VERSION "$PACKAGE_VERSION" 2239_ACEOF 2240 2241cat >>confdefs.h <<_ACEOF 2242#define PACKAGE_STRING "$PACKAGE_STRING" 2243_ACEOF 2244 2245cat >>confdefs.h <<_ACEOF 2246#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2247_ACEOF 2248 2249cat >>confdefs.h <<_ACEOF 2250#define PACKAGE_URL "$PACKAGE_URL" 2251_ACEOF 2252 2253 2254# Let the site file select an alternate cache file if it wants to. 2255# Prefer an explicitly selected file to automatically selected ones. 2256ac_site_file1=NONE 2257ac_site_file2=NONE 2258if test -n "$CONFIG_SITE"; then 2259 ac_site_file1=$CONFIG_SITE 2260elif test "x$prefix" != xNONE; then 2261 ac_site_file1=$prefix/share/config.site 2262 ac_site_file2=$prefix/etc/config.site 2263else 2264 ac_site_file1=$ac_default_prefix/share/config.site 2265 ac_site_file2=$ac_default_prefix/etc/config.site 2266fi 2267for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2268do 2269 test "x$ac_site_file" = xNONE && continue 2270 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2271 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2272$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2273 sed 's/^/| /' "$ac_site_file" >&5 2274 . "$ac_site_file" 2275 fi 2276done 2277 2278if test -r "$cache_file"; then 2279 # Some versions of bash will fail to source /dev/null (special files 2280 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2281 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2282 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2283$as_echo "$as_me: loading cache $cache_file" >&6;} 2284 case $cache_file in 2285 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2286 *) . "./$cache_file";; 2287 esac 2288 fi 2289else 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2291$as_echo "$as_me: creating cache $cache_file" >&6;} 2292 >$cache_file 2293fi 2294 2295# Check that the precious variables saved in the cache have kept the same 2296# value. 2297ac_cache_corrupted=false 2298for ac_var in $ac_precious_vars; do 2299 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2300 eval ac_new_set=\$ac_env_${ac_var}_set 2301 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2302 eval ac_new_val=\$ac_env_${ac_var}_value 2303 case $ac_old_set,$ac_new_set in 2304 set,) 2305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2306$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2307 ac_cache_corrupted=: ;; 2308 ,set) 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2310$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2311 ac_cache_corrupted=: ;; 2312 ,);; 2313 *) 2314 if test "x$ac_old_val" != "x$ac_new_val"; then 2315 # differences in whitespace do not lead to failure. 2316 ac_old_val_w=`echo x $ac_old_val` 2317 ac_new_val_w=`echo x $ac_new_val` 2318 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2320$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2321 ac_cache_corrupted=: 2322 else 2323 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2324$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2325 eval $ac_var=\$ac_old_val 2326 fi 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2328$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2329 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2330$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2331 fi;; 2332 esac 2333 # Pass precious variables to config.status. 2334 if test "$ac_new_set" = set; then 2335 case $ac_new_val in 2336 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2337 *) ac_arg=$ac_var=$ac_new_val ;; 2338 esac 2339 case " $ac_configure_args " in 2340 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2341 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2342 esac 2343 fi 2344done 2345if $ac_cache_corrupted; then 2346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2347$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2349$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2350 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2351fi 2352## -------------------- ## 2353## Main body of script. ## 2354## -------------------- ## 2355 2356ac_ext=c 2357ac_cpp='$CPP $CPPFLAGS' 2358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2360ac_compiler_gnu=$ac_cv_c_compiler_gnu 2361 2362 2363am__api_version='1.11' 2364 2365ac_aux_dir= 2366for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2367 for ac_t in install-sh install.sh shtool; do 2368 if test -f "$ac_dir/$ac_t"; then 2369 ac_aux_dir=$ac_dir 2370 ac_install_sh="$ac_aux_dir/$ac_t -c" 2371 break 2 2372 fi 2373 done 2374done 2375if test -z "$ac_aux_dir"; then 2376 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2377fi 2378 2379# These three variables are undocumented and unsupported, 2380# and are intended to be withdrawn in a future Autoconf release. 2381# They can cause serious problems if a builder's source tree is in a directory 2382# whose full name contains unusual characters. 2383ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2384ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2385ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2386 2387 2388# Find a good install program. We prefer a C program (faster), 2389# so one script is as good as another. But avoid the broken or 2390# incompatible versions: 2391# SysV /etc/install, /usr/sbin/install 2392# SunOS /usr/etc/install 2393# IRIX /sbin/install 2394# AIX /bin/install 2395# AmigaOS /C/install, which installs bootblocks on floppy discs 2396# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2397# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2398# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2399# OS/2's system install, which has a completely different semantic 2400# ./install, which can be erroneously created by make from ./install.sh. 2401# Reject install programs that cannot install multiple files. 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2403$as_echo_n "checking for a BSD-compatible install... " >&6; } 2404if test -z "$INSTALL"; then 2405if test "${ac_cv_path_install+set}" = set; then : 2406 $as_echo_n "(cached) " >&6 2407else 2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2409for as_dir in $PATH 2410do 2411 IFS=$as_save_IFS 2412 test -z "$as_dir" && as_dir=. 2413 # Account for people who put trailing slashes in PATH elements. 2414case $as_dir/ in #(( 2415 ./ | .// | /[cC]/* | \ 2416 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2417 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2418 /usr/ucb/* ) ;; 2419 *) 2420 # OSF1 and SCO ODT 3.0 have their own names for install. 2421 # Don't use installbsd from OSF since it installs stuff as root 2422 # by default. 2423 for ac_prog in ginstall scoinst install; do 2424 for ac_exec_ext in '' $ac_executable_extensions; do 2425 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2426 if test $ac_prog = install && 2427 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2428 # AIX install. It has an incompatible calling convention. 2429 : 2430 elif test $ac_prog = install && 2431 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2432 # program-specific install script used by HP pwplus--don't use. 2433 : 2434 else 2435 rm -rf conftest.one conftest.two conftest.dir 2436 echo one > conftest.one 2437 echo two > conftest.two 2438 mkdir conftest.dir 2439 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2440 test -s conftest.one && test -s conftest.two && 2441 test -s conftest.dir/conftest.one && 2442 test -s conftest.dir/conftest.two 2443 then 2444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2445 break 3 2446 fi 2447 fi 2448 fi 2449 done 2450 done 2451 ;; 2452esac 2453 2454 done 2455IFS=$as_save_IFS 2456 2457rm -rf conftest.one conftest.two conftest.dir 2458 2459fi 2460 if test "${ac_cv_path_install+set}" = set; then 2461 INSTALL=$ac_cv_path_install 2462 else 2463 # As a last resort, use the slow shell script. Don't cache a 2464 # value for INSTALL within a source directory, because that will 2465 # break other packages using the cache if that directory is 2466 # removed, or if the value is a relative name. 2467 INSTALL=$ac_install_sh 2468 fi 2469fi 2470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2471$as_echo "$INSTALL" >&6; } 2472 2473# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2474# It thinks the first close brace ends the variable substitution. 2475test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2476 2477test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2478 2479test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2480 2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2482$as_echo_n "checking whether build environment is sane... " >&6; } 2483# Just in case 2484sleep 1 2485echo timestamp > conftest.file 2486# Reject unsafe characters in $srcdir or the absolute working directory 2487# name. Accept space and tab only in the latter. 2488am_lf=' 2489' 2490case `pwd` in 2491 *[\\\"\#\$\&\'\`$am_lf]*) 2492 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2493esac 2494case $srcdir in 2495 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2496 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2497esac 2498 2499# Do `set' in a subshell so we don't clobber the current shell's 2500# arguments. Must try -L first in case configure is actually a 2501# symlink; some systems play weird games with the mod time of symlinks 2502# (eg FreeBSD returns the mod time of the symlink's containing 2503# directory). 2504if ( 2505 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2506 if test "$*" = "X"; then 2507 # -L didn't work. 2508 set X `ls -t "$srcdir/configure" conftest.file` 2509 fi 2510 rm -f conftest.file 2511 if test "$*" != "X $srcdir/configure conftest.file" \ 2512 && test "$*" != "X conftest.file $srcdir/configure"; then 2513 2514 # If neither matched, then we have a broken ls. This can happen 2515 # if, for instance, CONFIG_SHELL is bash and it inherits a 2516 # broken ls alias from the environment. This has actually 2517 # happened. Such a system could not be considered "sane". 2518 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2519alias in your environment" "$LINENO" 5 2520 fi 2521 2522 test "$2" = conftest.file 2523 ) 2524then 2525 # Ok. 2526 : 2527else 2528 as_fn_error "newly created file is older than distributed files! 2529Check your system clock" "$LINENO" 5 2530fi 2531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2532$as_echo "yes" >&6; } 2533test "$program_prefix" != NONE && 2534 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2535# Use a double $ so make ignores it. 2536test "$program_suffix" != NONE && 2537 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2538# Double any \ or $. 2539# By default was `s,x,x', remove it if useless. 2540ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2541program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2542 2543# expand $ac_aux_dir to an absolute path 2544am_aux_dir=`cd $ac_aux_dir && pwd` 2545 2546if test x"${MISSING+set}" != xset; then 2547 case $am_aux_dir in 2548 *\ * | *\ *) 2549 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2550 *) 2551 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2552 esac 2553fi 2554# Use eval to expand $SHELL 2555if eval "$MISSING --run true"; then 2556 am_missing_run="$MISSING --run " 2557else 2558 am_missing_run= 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2560$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2561fi 2562 2563if test x"${install_sh}" != xset; then 2564 case $am_aux_dir in 2565 *\ * | *\ *) 2566 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2567 *) 2568 install_sh="\${SHELL} $am_aux_dir/install-sh" 2569 esac 2570fi 2571 2572# Installed binaries are usually stripped using `strip' when the user 2573# run `make install-strip'. However `strip' might not be the right 2574# tool to use in cross-compilation environments, therefore Automake 2575# will honor the `STRIP' environment variable to overrule this program. 2576if test "$cross_compiling" != no; then 2577 if test -n "$ac_tool_prefix"; then 2578 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2579set dummy ${ac_tool_prefix}strip; ac_word=$2 2580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2581$as_echo_n "checking for $ac_word... " >&6; } 2582if test "${ac_cv_prog_STRIP+set}" = set; then : 2583 $as_echo_n "(cached) " >&6 2584else 2585 if test -n "$STRIP"; then 2586 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2587else 2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2589for as_dir in $PATH 2590do 2591 IFS=$as_save_IFS 2592 test -z "$as_dir" && as_dir=. 2593 for ac_exec_ext in '' $ac_executable_extensions; do 2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2595 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2597 break 2 2598 fi 2599done 2600 done 2601IFS=$as_save_IFS 2602 2603fi 2604fi 2605STRIP=$ac_cv_prog_STRIP 2606if test -n "$STRIP"; then 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2608$as_echo "$STRIP" >&6; } 2609else 2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2611$as_echo "no" >&6; } 2612fi 2613 2614 2615fi 2616if test -z "$ac_cv_prog_STRIP"; then 2617 ac_ct_STRIP=$STRIP 2618 # Extract the first word of "strip", so it can be a program name with args. 2619set dummy strip; ac_word=$2 2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2621$as_echo_n "checking for $ac_word... " >&6; } 2622if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2623 $as_echo_n "(cached) " >&6 2624else 2625 if test -n "$ac_ct_STRIP"; then 2626 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2627else 2628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2629for as_dir in $PATH 2630do 2631 IFS=$as_save_IFS 2632 test -z "$as_dir" && as_dir=. 2633 for ac_exec_ext in '' $ac_executable_extensions; do 2634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2635 ac_cv_prog_ac_ct_STRIP="strip" 2636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2637 break 2 2638 fi 2639done 2640 done 2641IFS=$as_save_IFS 2642 2643fi 2644fi 2645ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2646if test -n "$ac_ct_STRIP"; then 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2648$as_echo "$ac_ct_STRIP" >&6; } 2649else 2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2651$as_echo "no" >&6; } 2652fi 2653 2654 if test "x$ac_ct_STRIP" = x; then 2655 STRIP=":" 2656 else 2657 case $cross_compiling:$ac_tool_warned in 2658yes:) 2659{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2660$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2661ac_tool_warned=yes ;; 2662esac 2663 STRIP=$ac_ct_STRIP 2664 fi 2665else 2666 STRIP="$ac_cv_prog_STRIP" 2667fi 2668 2669fi 2670INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2671 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2673$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2674if test -z "$MKDIR_P"; then 2675 if test "${ac_cv_path_mkdir+set}" = set; then : 2676 $as_echo_n "(cached) " >&6 2677else 2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2679for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2680do 2681 IFS=$as_save_IFS 2682 test -z "$as_dir" && as_dir=. 2683 for ac_prog in mkdir gmkdir; do 2684 for ac_exec_ext in '' $ac_executable_extensions; do 2685 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2686 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2687 'mkdir (GNU coreutils) '* | \ 2688 'mkdir (coreutils) '* | \ 2689 'mkdir (fileutils) '4.1*) 2690 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2691 break 3;; 2692 esac 2693 done 2694 done 2695 done 2696IFS=$as_save_IFS 2697 2698fi 2699 2700 test -d ./--version && rmdir ./--version 2701 if test "${ac_cv_path_mkdir+set}" = set; then 2702 MKDIR_P="$ac_cv_path_mkdir -p" 2703 else 2704 # As a last resort, use the slow shell script. Don't cache a 2705 # value for MKDIR_P within a source directory, because that will 2706 # break other packages using the cache if that directory is 2707 # removed, or if the value is a relative name. 2708 MKDIR_P="$ac_install_sh -d" 2709 fi 2710fi 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2712$as_echo "$MKDIR_P" >&6; } 2713 2714mkdir_p="$MKDIR_P" 2715case $mkdir_p in 2716 [\\/$]* | ?:[\\/]*) ;; 2717 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2718esac 2719 2720for ac_prog in gawk mawk nawk awk 2721do 2722 # Extract the first word of "$ac_prog", so it can be a program name with args. 2723set dummy $ac_prog; ac_word=$2 2724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2725$as_echo_n "checking for $ac_word... " >&6; } 2726if test "${ac_cv_prog_AWK+set}" = set; then : 2727 $as_echo_n "(cached) " >&6 2728else 2729 if test -n "$AWK"; then 2730 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2731else 2732as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2733for as_dir in $PATH 2734do 2735 IFS=$as_save_IFS 2736 test -z "$as_dir" && as_dir=. 2737 for ac_exec_ext in '' $ac_executable_extensions; do 2738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2739 ac_cv_prog_AWK="$ac_prog" 2740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2741 break 2 2742 fi 2743done 2744 done 2745IFS=$as_save_IFS 2746 2747fi 2748fi 2749AWK=$ac_cv_prog_AWK 2750if test -n "$AWK"; then 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2752$as_echo "$AWK" >&6; } 2753else 2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2755$as_echo "no" >&6; } 2756fi 2757 2758 2759 test -n "$AWK" && break 2760done 2761 2762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2763$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2764set x ${MAKE-make} 2765ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2766if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2767 $as_echo_n "(cached) " >&6 2768else 2769 cat >conftest.make <<\_ACEOF 2770SHELL = /bin/sh 2771all: 2772 @echo '@@@%%%=$(MAKE)=@@@%%%' 2773_ACEOF 2774# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2775case `${MAKE-make} -f conftest.make 2>/dev/null` in 2776 *@@@%%%=?*=@@@%%%*) 2777 eval ac_cv_prog_make_${ac_make}_set=yes;; 2778 *) 2779 eval ac_cv_prog_make_${ac_make}_set=no;; 2780esac 2781rm -f conftest.make 2782fi 2783if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2785$as_echo "yes" >&6; } 2786 SET_MAKE= 2787else 2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2789$as_echo "no" >&6; } 2790 SET_MAKE="MAKE=${MAKE-make}" 2791fi 2792 2793rm -rf .tst 2>/dev/null 2794mkdir .tst 2>/dev/null 2795if test -d .tst; then 2796 am__leading_dot=. 2797else 2798 am__leading_dot=_ 2799fi 2800rmdir .tst 2>/dev/null 2801 2802if test "`cd $srcdir && pwd`" != "`pwd`"; then 2803 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2804 # is not polluted with repeated "-I." 2805 am__isrc=' -I$(srcdir)' 2806 # test to see if srcdir already configured 2807 if test -f $srcdir/config.status; then 2808 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2809 fi 2810fi 2811 2812# test whether we have cygpath 2813if test -z "$CYGPATH_W"; then 2814 if (cygpath --version) >/dev/null 2>/dev/null; then 2815 CYGPATH_W='cygpath -w' 2816 else 2817 CYGPATH_W=echo 2818 fi 2819fi 2820 2821 2822# Define the identity of the package. 2823 PACKAGE='libXcomposite' 2824 VERSION='0.4.2' 2825 2826 2827cat >>confdefs.h <<_ACEOF 2828#define PACKAGE "$PACKAGE" 2829_ACEOF 2830 2831 2832cat >>confdefs.h <<_ACEOF 2833#define VERSION "$VERSION" 2834_ACEOF 2835 2836# Some tools Automake needs. 2837 2838ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2839 2840 2841AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2842 2843 2844AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2845 2846 2847AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2848 2849 2850MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2851 2852# We need awk for the "check" target. The system "awk" is bad on 2853# some platforms. 2854# Always define AMTAR for backward compatibility. 2855 2856AMTAR=${AMTAR-"${am_missing_run}tar"} 2857 2858am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2859 2860 2861 2862 2863 2864 2865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2866$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2867 # Check whether --enable-maintainer-mode was given. 2868if test "${enable_maintainer_mode+set}" = set; then : 2869 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2870else 2871 USE_MAINTAINER_MODE=no 2872fi 2873 2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2875$as_echo "$USE_MAINTAINER_MODE" >&6; } 2876 if test $USE_MAINTAINER_MODE = yes; then 2877 MAINTAINER_MODE_TRUE= 2878 MAINTAINER_MODE_FALSE='#' 2879else 2880 MAINTAINER_MODE_TRUE='#' 2881 MAINTAINER_MODE_FALSE= 2882fi 2883 2884 MAINT=$MAINTAINER_MODE_TRUE 2885 2886 2887 2888# Require xorg-macros: XORG_DEFAULT_OPTIONS 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900ac_config_headers="$ac_config_headers config.h" 2901 2902 2903# Check for progs 2904ac_ext=c 2905ac_cpp='$CPP $CPPFLAGS' 2906ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2907ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2908ac_compiler_gnu=$ac_cv_c_compiler_gnu 2909if test -n "$ac_tool_prefix"; then 2910 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2911set dummy ${ac_tool_prefix}gcc; ac_word=$2 2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2913$as_echo_n "checking for $ac_word... " >&6; } 2914if test "${ac_cv_prog_CC+set}" = set; then : 2915 $as_echo_n "(cached) " >&6 2916else 2917 if test -n "$CC"; then 2918 ac_cv_prog_CC="$CC" # Let the user override the test. 2919else 2920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2921for as_dir in $PATH 2922do 2923 IFS=$as_save_IFS 2924 test -z "$as_dir" && as_dir=. 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2927 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2929 break 2 2930 fi 2931done 2932 done 2933IFS=$as_save_IFS 2934 2935fi 2936fi 2937CC=$ac_cv_prog_CC 2938if test -n "$CC"; then 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2940$as_echo "$CC" >&6; } 2941else 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943$as_echo "no" >&6; } 2944fi 2945 2946 2947fi 2948if test -z "$ac_cv_prog_CC"; then 2949 ac_ct_CC=$CC 2950 # Extract the first word of "gcc", so it can be a program name with args. 2951set dummy gcc; ac_word=$2 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2953$as_echo_n "checking for $ac_word... " >&6; } 2954if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2955 $as_echo_n "(cached) " >&6 2956else 2957 if test -n "$ac_ct_CC"; then 2958 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2959else 2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2961for as_dir in $PATH 2962do 2963 IFS=$as_save_IFS 2964 test -z "$as_dir" && as_dir=. 2965 for ac_exec_ext in '' $ac_executable_extensions; do 2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2967 ac_cv_prog_ac_ct_CC="gcc" 2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2969 break 2 2970 fi 2971done 2972 done 2973IFS=$as_save_IFS 2974 2975fi 2976fi 2977ac_ct_CC=$ac_cv_prog_ac_ct_CC 2978if test -n "$ac_ct_CC"; then 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2980$as_echo "$ac_ct_CC" >&6; } 2981else 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2983$as_echo "no" >&6; } 2984fi 2985 2986 if test "x$ac_ct_CC" = x; then 2987 CC="" 2988 else 2989 case $cross_compiling:$ac_tool_warned in 2990yes:) 2991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2993ac_tool_warned=yes ;; 2994esac 2995 CC=$ac_ct_CC 2996 fi 2997else 2998 CC="$ac_cv_prog_CC" 2999fi 3000 3001if test -z "$CC"; then 3002 if test -n "$ac_tool_prefix"; then 3003 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3004set dummy ${ac_tool_prefix}cc; ac_word=$2 3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3006$as_echo_n "checking for $ac_word... " >&6; } 3007if test "${ac_cv_prog_CC+set}" = set; then : 3008 $as_echo_n "(cached) " >&6 3009else 3010 if test -n "$CC"; then 3011 ac_cv_prog_CC="$CC" # Let the user override the test. 3012else 3013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3014for as_dir in $PATH 3015do 3016 IFS=$as_save_IFS 3017 test -z "$as_dir" && as_dir=. 3018 for ac_exec_ext in '' $ac_executable_extensions; do 3019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3020 ac_cv_prog_CC="${ac_tool_prefix}cc" 3021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3022 break 2 3023 fi 3024done 3025 done 3026IFS=$as_save_IFS 3027 3028fi 3029fi 3030CC=$ac_cv_prog_CC 3031if test -n "$CC"; then 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3033$as_echo "$CC" >&6; } 3034else 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3036$as_echo "no" >&6; } 3037fi 3038 3039 3040 fi 3041fi 3042if test -z "$CC"; then 3043 # Extract the first word of "cc", so it can be a program name with args. 3044set dummy cc; ac_word=$2 3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3046$as_echo_n "checking for $ac_word... " >&6; } 3047if test "${ac_cv_prog_CC+set}" = set; then : 3048 $as_echo_n "(cached) " >&6 3049else 3050 if test -n "$CC"; then 3051 ac_cv_prog_CC="$CC" # Let the user override the test. 3052else 3053 ac_prog_rejected=no 3054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3055for as_dir in $PATH 3056do 3057 IFS=$as_save_IFS 3058 test -z "$as_dir" && as_dir=. 3059 for ac_exec_ext in '' $ac_executable_extensions; do 3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3061 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3062 ac_prog_rejected=yes 3063 continue 3064 fi 3065 ac_cv_prog_CC="cc" 3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3067 break 2 3068 fi 3069done 3070 done 3071IFS=$as_save_IFS 3072 3073if test $ac_prog_rejected = yes; then 3074 # We found a bogon in the path, so make sure we never use it. 3075 set dummy $ac_cv_prog_CC 3076 shift 3077 if test $# != 0; then 3078 # We chose a different compiler from the bogus one. 3079 # However, it has the same basename, so the bogon will be chosen 3080 # first if we set CC to just the basename; use the full file name. 3081 shift 3082 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3083 fi 3084fi 3085fi 3086fi 3087CC=$ac_cv_prog_CC 3088if test -n "$CC"; then 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3090$as_echo "$CC" >&6; } 3091else 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3093$as_echo "no" >&6; } 3094fi 3095 3096 3097fi 3098if test -z "$CC"; then 3099 if test -n "$ac_tool_prefix"; then 3100 for ac_prog in cl.exe 3101 do 3102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3103set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3105$as_echo_n "checking for $ac_word... " >&6; } 3106if test "${ac_cv_prog_CC+set}" = set; then : 3107 $as_echo_n "(cached) " >&6 3108else 3109 if test -n "$CC"; then 3110 ac_cv_prog_CC="$CC" # Let the user override the test. 3111else 3112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3113for as_dir in $PATH 3114do 3115 IFS=$as_save_IFS 3116 test -z "$as_dir" && as_dir=. 3117 for ac_exec_ext in '' $ac_executable_extensions; do 3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3119 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3121 break 2 3122 fi 3123done 3124 done 3125IFS=$as_save_IFS 3126 3127fi 3128fi 3129CC=$ac_cv_prog_CC 3130if test -n "$CC"; then 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3132$as_echo "$CC" >&6; } 3133else 3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3135$as_echo "no" >&6; } 3136fi 3137 3138 3139 test -n "$CC" && break 3140 done 3141fi 3142if test -z "$CC"; then 3143 ac_ct_CC=$CC 3144 for ac_prog in cl.exe 3145do 3146 # Extract the first word of "$ac_prog", so it can be a program name with args. 3147set dummy $ac_prog; ac_word=$2 3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3149$as_echo_n "checking for $ac_word... " >&6; } 3150if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3151 $as_echo_n "(cached) " >&6 3152else 3153 if test -n "$ac_ct_CC"; then 3154 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3155else 3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3157for as_dir in $PATH 3158do 3159 IFS=$as_save_IFS 3160 test -z "$as_dir" && as_dir=. 3161 for ac_exec_ext in '' $ac_executable_extensions; do 3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3163 ac_cv_prog_ac_ct_CC="$ac_prog" 3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3165 break 2 3166 fi 3167done 3168 done 3169IFS=$as_save_IFS 3170 3171fi 3172fi 3173ac_ct_CC=$ac_cv_prog_ac_ct_CC 3174if test -n "$ac_ct_CC"; then 3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3176$as_echo "$ac_ct_CC" >&6; } 3177else 3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3179$as_echo "no" >&6; } 3180fi 3181 3182 3183 test -n "$ac_ct_CC" && break 3184done 3185 3186 if test "x$ac_ct_CC" = x; then 3187 CC="" 3188 else 3189 case $cross_compiling:$ac_tool_warned in 3190yes:) 3191{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3192$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3193ac_tool_warned=yes ;; 3194esac 3195 CC=$ac_ct_CC 3196 fi 3197fi 3198 3199fi 3200 3201 3202test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3203$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3204as_fn_error "no acceptable C compiler found in \$PATH 3205See \`config.log' for more details." "$LINENO" 5; } 3206 3207# Provide some information about the compiler. 3208$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3209set X $ac_compile 3210ac_compiler=$2 3211for ac_option in --version -v -V -qversion; do 3212 { { ac_try="$ac_compiler $ac_option >&5" 3213case "(($ac_try" in 3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3215 *) ac_try_echo=$ac_try;; 3216esac 3217eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3218$as_echo "$ac_try_echo"; } >&5 3219 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3220 ac_status=$? 3221 if test -s conftest.err; then 3222 sed '10a\ 3223... rest of stderr output deleted ... 3224 10q' conftest.err >conftest.er1 3225 cat conftest.er1 >&5 3226 fi 3227 rm -f conftest.er1 conftest.err 3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3229 test $ac_status = 0; } 3230done 3231 3232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3233/* end confdefs.h. */ 3234 3235int 3236main () 3237{ 3238 3239 ; 3240 return 0; 3241} 3242_ACEOF 3243ac_clean_files_save=$ac_clean_files 3244ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3245# Try to create an executable without -o first, disregard a.out. 3246# It will help us diagnose broken compilers, and finding out an intuition 3247# of exeext. 3248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3249$as_echo_n "checking whether the C compiler works... " >&6; } 3250ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3251 3252# The possible output files: 3253ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3254 3255ac_rmfiles= 3256for ac_file in $ac_files 3257do 3258 case $ac_file in 3259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3260 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3261 esac 3262done 3263rm -f $ac_rmfiles 3264 3265if { { ac_try="$ac_link_default" 3266case "(($ac_try" in 3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3268 *) ac_try_echo=$ac_try;; 3269esac 3270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3271$as_echo "$ac_try_echo"; } >&5 3272 (eval "$ac_link_default") 2>&5 3273 ac_status=$? 3274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3275 test $ac_status = 0; }; then : 3276 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3277# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3278# in a Makefile. We should not override ac_cv_exeext if it was cached, 3279# so that the user can short-circuit this test for compilers unknown to 3280# Autoconf. 3281for ac_file in $ac_files '' 3282do 3283 test -f "$ac_file" || continue 3284 case $ac_file in 3285 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3286 ;; 3287 [ab].out ) 3288 # We found the default executable, but exeext='' is most 3289 # certainly right. 3290 break;; 3291 *.* ) 3292 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3293 then :; else 3294 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3295 fi 3296 # We set ac_cv_exeext here because the later test for it is not 3297 # safe: cross compilers may not add the suffix if given an `-o' 3298 # argument, so we may need to know it at that point already. 3299 # Even if this section looks crufty: it has the advantage of 3300 # actually working. 3301 break;; 3302 * ) 3303 break;; 3304 esac 3305done 3306test "$ac_cv_exeext" = no && ac_cv_exeext= 3307 3308else 3309 ac_file='' 3310fi 3311if test -z "$ac_file"; then : 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3313$as_echo "no" >&6; } 3314$as_echo "$as_me: failed program was:" >&5 3315sed 's/^/| /' conftest.$ac_ext >&5 3316 3317{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3318$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3319{ as_fn_set_status 77 3320as_fn_error "C compiler cannot create executables 3321See \`config.log' for more details." "$LINENO" 5; }; } 3322else 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3324$as_echo "yes" >&6; } 3325fi 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3327$as_echo_n "checking for C compiler default output file name... " >&6; } 3328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3329$as_echo "$ac_file" >&6; } 3330ac_exeext=$ac_cv_exeext 3331 3332rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3333ac_clean_files=$ac_clean_files_save 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3335$as_echo_n "checking for suffix of executables... " >&6; } 3336if { { ac_try="$ac_link" 3337case "(($ac_try" in 3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3339 *) ac_try_echo=$ac_try;; 3340esac 3341eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3342$as_echo "$ac_try_echo"; } >&5 3343 (eval "$ac_link") 2>&5 3344 ac_status=$? 3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3346 test $ac_status = 0; }; then : 3347 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3348# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3349# work properly (i.e., refer to `conftest.exe'), while it won't with 3350# `rm'. 3351for ac_file in conftest.exe conftest conftest.*; do 3352 test -f "$ac_file" || continue 3353 case $ac_file in 3354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3355 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3356 break;; 3357 * ) break;; 3358 esac 3359done 3360else 3361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3363as_fn_error "cannot compute suffix of executables: cannot compile and link 3364See \`config.log' for more details." "$LINENO" 5; } 3365fi 3366rm -f conftest conftest$ac_cv_exeext 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3368$as_echo "$ac_cv_exeext" >&6; } 3369 3370rm -f conftest.$ac_ext 3371EXEEXT=$ac_cv_exeext 3372ac_exeext=$EXEEXT 3373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3374/* end confdefs.h. */ 3375#include <stdio.h> 3376int 3377main () 3378{ 3379FILE *f = fopen ("conftest.out", "w"); 3380 return ferror (f) || fclose (f) != 0; 3381 3382 ; 3383 return 0; 3384} 3385_ACEOF 3386ac_clean_files="$ac_clean_files conftest.out" 3387# Check that the compiler produces executables we can run. If not, either 3388# the compiler is broken, or we cross compile. 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3390$as_echo_n "checking whether we are cross compiling... " >&6; } 3391if test "$cross_compiling" != yes; then 3392 { { ac_try="$ac_link" 3393case "(($ac_try" in 3394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3395 *) ac_try_echo=$ac_try;; 3396esac 3397eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3398$as_echo "$ac_try_echo"; } >&5 3399 (eval "$ac_link") 2>&5 3400 ac_status=$? 3401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3402 test $ac_status = 0; } 3403 if { ac_try='./conftest$ac_cv_exeext' 3404 { { case "(($ac_try" in 3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 *) ac_try_echo=$ac_try;; 3407esac 3408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3409$as_echo "$ac_try_echo"; } >&5 3410 (eval "$ac_try") 2>&5 3411 ac_status=$? 3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3413 test $ac_status = 0; }; }; then 3414 cross_compiling=no 3415 else 3416 if test "$cross_compiling" = maybe; then 3417 cross_compiling=yes 3418 else 3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3421as_fn_error "cannot run C compiled programs. 3422If you meant to cross compile, use \`--host'. 3423See \`config.log' for more details." "$LINENO" 5; } 3424 fi 3425 fi 3426fi 3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3428$as_echo "$cross_compiling" >&6; } 3429 3430rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3431ac_clean_files=$ac_clean_files_save 3432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3433$as_echo_n "checking for suffix of object files... " >&6; } 3434if test "${ac_cv_objext+set}" = set; then : 3435 $as_echo_n "(cached) " >&6 3436else 3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3438/* end confdefs.h. */ 3439 3440int 3441main () 3442{ 3443 3444 ; 3445 return 0; 3446} 3447_ACEOF 3448rm -f conftest.o conftest.obj 3449if { { ac_try="$ac_compile" 3450case "(($ac_try" in 3451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3452 *) ac_try_echo=$ac_try;; 3453esac 3454eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3455$as_echo "$ac_try_echo"; } >&5 3456 (eval "$ac_compile") 2>&5 3457 ac_status=$? 3458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3459 test $ac_status = 0; }; then : 3460 for ac_file in conftest.o conftest.obj conftest.*; do 3461 test -f "$ac_file" || continue; 3462 case $ac_file in 3463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3464 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3465 break;; 3466 esac 3467done 3468else 3469 $as_echo "$as_me: failed program was:" >&5 3470sed 's/^/| /' conftest.$ac_ext >&5 3471 3472{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3473$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3474as_fn_error "cannot compute suffix of object files: cannot compile 3475See \`config.log' for more details." "$LINENO" 5; } 3476fi 3477rm -f conftest.$ac_cv_objext conftest.$ac_ext 3478fi 3479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3480$as_echo "$ac_cv_objext" >&6; } 3481OBJEXT=$ac_cv_objext 3482ac_objext=$OBJEXT 3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3484$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3485if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3486 $as_echo_n "(cached) " >&6 3487else 3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3489/* end confdefs.h. */ 3490 3491int 3492main () 3493{ 3494#ifndef __GNUC__ 3495 choke me 3496#endif 3497 3498 ; 3499 return 0; 3500} 3501_ACEOF 3502if ac_fn_c_try_compile "$LINENO"; then : 3503 ac_compiler_gnu=yes 3504else 3505 ac_compiler_gnu=no 3506fi 3507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3508ac_cv_c_compiler_gnu=$ac_compiler_gnu 3509 3510fi 3511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3512$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3513if test $ac_compiler_gnu = yes; then 3514 GCC=yes 3515else 3516 GCC= 3517fi 3518ac_test_CFLAGS=${CFLAGS+set} 3519ac_save_CFLAGS=$CFLAGS 3520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3521$as_echo_n "checking whether $CC accepts -g... " >&6; } 3522if test "${ac_cv_prog_cc_g+set}" = set; then : 3523 $as_echo_n "(cached) " >&6 3524else 3525 ac_save_c_werror_flag=$ac_c_werror_flag 3526 ac_c_werror_flag=yes 3527 ac_cv_prog_cc_g=no 3528 CFLAGS="-g" 3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3530/* end confdefs.h. */ 3531 3532int 3533main () 3534{ 3535 3536 ; 3537 return 0; 3538} 3539_ACEOF 3540if ac_fn_c_try_compile "$LINENO"; then : 3541 ac_cv_prog_cc_g=yes 3542else 3543 CFLAGS="" 3544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3545/* end confdefs.h. */ 3546 3547int 3548main () 3549{ 3550 3551 ; 3552 return 0; 3553} 3554_ACEOF 3555if ac_fn_c_try_compile "$LINENO"; then : 3556 3557else 3558 ac_c_werror_flag=$ac_save_c_werror_flag 3559 CFLAGS="-g" 3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3561/* end confdefs.h. */ 3562 3563int 3564main () 3565{ 3566 3567 ; 3568 return 0; 3569} 3570_ACEOF 3571if ac_fn_c_try_compile "$LINENO"; then : 3572 ac_cv_prog_cc_g=yes 3573fi 3574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3575fi 3576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3577fi 3578rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3579 ac_c_werror_flag=$ac_save_c_werror_flag 3580fi 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3582$as_echo "$ac_cv_prog_cc_g" >&6; } 3583if test "$ac_test_CFLAGS" = set; then 3584 CFLAGS=$ac_save_CFLAGS 3585elif test $ac_cv_prog_cc_g = yes; then 3586 if test "$GCC" = yes; then 3587 CFLAGS="-g -O2" 3588 else 3589 CFLAGS="-g" 3590 fi 3591else 3592 if test "$GCC" = yes; then 3593 CFLAGS="-O2" 3594 else 3595 CFLAGS= 3596 fi 3597fi 3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3599$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3600if test "${ac_cv_prog_cc_c89+set}" = set; then : 3601 $as_echo_n "(cached) " >&6 3602else 3603 ac_cv_prog_cc_c89=no 3604ac_save_CC=$CC 3605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3606/* end confdefs.h. */ 3607#include <stdarg.h> 3608#include <stdio.h> 3609#include <sys/types.h> 3610#include <sys/stat.h> 3611/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3612struct buf { int x; }; 3613FILE * (*rcsopen) (struct buf *, struct stat *, int); 3614static char *e (p, i) 3615 char **p; 3616 int i; 3617{ 3618 return p[i]; 3619} 3620static char *f (char * (*g) (char **, int), char **p, ...) 3621{ 3622 char *s; 3623 va_list v; 3624 va_start (v,p); 3625 s = g (p, va_arg (v,int)); 3626 va_end (v); 3627 return s; 3628} 3629 3630/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3631 function prototypes and stuff, but not '\xHH' hex character constants. 3632 These don't provoke an error unfortunately, instead are silently treated 3633 as 'x'. The following induces an error, until -std is added to get 3634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3635 array size at least. It's necessary to write '\x00'==0 to get something 3636 that's true only with -std. */ 3637int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3638 3639/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3640 inside strings and character constants. */ 3641#define FOO(x) 'x' 3642int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3643 3644int test (int i, double x); 3645struct s1 {int (*f) (int a);}; 3646struct s2 {int (*f) (double a);}; 3647int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3648int argc; 3649char **argv; 3650int 3651main () 3652{ 3653return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3654 ; 3655 return 0; 3656} 3657_ACEOF 3658for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3659 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3660do 3661 CC="$ac_save_CC $ac_arg" 3662 if ac_fn_c_try_compile "$LINENO"; then : 3663 ac_cv_prog_cc_c89=$ac_arg 3664fi 3665rm -f core conftest.err conftest.$ac_objext 3666 test "x$ac_cv_prog_cc_c89" != "xno" && break 3667done 3668rm -f conftest.$ac_ext 3669CC=$ac_save_CC 3670 3671fi 3672# AC_CACHE_VAL 3673case "x$ac_cv_prog_cc_c89" in 3674 x) 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3676$as_echo "none needed" >&6; } ;; 3677 xno) 3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3679$as_echo "unsupported" >&6; } ;; 3680 *) 3681 CC="$CC $ac_cv_prog_cc_c89" 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3683$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3684esac 3685if test "x$ac_cv_prog_cc_c89" != xno; then : 3686 3687fi 3688 3689ac_ext=c 3690ac_cpp='$CPP $CPPFLAGS' 3691ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3692ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3693ac_compiler_gnu=$ac_cv_c_compiler_gnu 3694DEPDIR="${am__leading_dot}deps" 3695 3696ac_config_commands="$ac_config_commands depfiles" 3697 3698 3699am_make=${MAKE-make} 3700cat > confinc << 'END' 3701am__doit: 3702 @echo this is the am__doit target 3703.PHONY: am__doit 3704END 3705# If we don't find an include directive, just comment out the code. 3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3707$as_echo_n "checking for style of include used by $am_make... " >&6; } 3708am__include="#" 3709am__quote= 3710_am_result=none 3711# First try GNU make style include. 3712echo "include confinc" > confmf 3713# Ignore all kinds of additional output from `make'. 3714case `$am_make -s -f confmf 2> /dev/null` in #( 3715*the\ am__doit\ target*) 3716 am__include=include 3717 am__quote= 3718 _am_result=GNU 3719 ;; 3720esac 3721# Now try BSD make style include. 3722if test "$am__include" = "#"; then 3723 echo '.include "confinc"' > confmf 3724 case `$am_make -s -f confmf 2> /dev/null` in #( 3725 *the\ am__doit\ target*) 3726 am__include=.include 3727 am__quote="\"" 3728 _am_result=BSD 3729 ;; 3730 esac 3731fi 3732 3733 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3735$as_echo "$_am_result" >&6; } 3736rm -f confinc confmf 3737 3738# Check whether --enable-dependency-tracking was given. 3739if test "${enable_dependency_tracking+set}" = set; then : 3740 enableval=$enable_dependency_tracking; 3741fi 3742 3743if test "x$enable_dependency_tracking" != xno; then 3744 am_depcomp="$ac_aux_dir/depcomp" 3745 AMDEPBACKSLASH='\' 3746fi 3747 if test "x$enable_dependency_tracking" != xno; then 3748 AMDEP_TRUE= 3749 AMDEP_FALSE='#' 3750else 3751 AMDEP_TRUE='#' 3752 AMDEP_FALSE= 3753fi 3754 3755 3756 3757depcc="$CC" am_compiler_list= 3758 3759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3760$as_echo_n "checking dependency style of $depcc... " >&6; } 3761if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3762 $as_echo_n "(cached) " >&6 3763else 3764 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3765 # We make a subdir and do the tests there. Otherwise we can end up 3766 # making bogus files that we don't know about and never remove. For 3767 # instance it was reported that on HP-UX the gcc test will end up 3768 # making a dummy file named `D' -- because `-MD' means `put the output 3769 # in D'. 3770 mkdir conftest.dir 3771 # Copy depcomp to subdir because otherwise we won't find it if we're 3772 # using a relative directory. 3773 cp "$am_depcomp" conftest.dir 3774 cd conftest.dir 3775 # We will build objects and dependencies in a subdirectory because 3776 # it helps to detect inapplicable dependency modes. For instance 3777 # both Tru64's cc and ICC support -MD to output dependencies as a 3778 # side effect of compilation, but ICC will put the dependencies in 3779 # the current directory while Tru64 will put them in the object 3780 # directory. 3781 mkdir sub 3782 3783 am_cv_CC_dependencies_compiler_type=none 3784 if test "$am_compiler_list" = ""; then 3785 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3786 fi 3787 am__universal=false 3788 case " $depcc " in #( 3789 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3790 esac 3791 3792 for depmode in $am_compiler_list; do 3793 # Setup a source with many dependencies, because some compilers 3794 # like to wrap large dependency lists on column 80 (with \), and 3795 # we should not choose a depcomp mode which is confused by this. 3796 # 3797 # We need to recreate these files for each test, as the compiler may 3798 # overwrite some of them when testing with obscure command lines. 3799 # This happens at least with the AIX C compiler. 3800 : > sub/conftest.c 3801 for i in 1 2 3 4 5 6; do 3802 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3803 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3804 # Solaris 8's {/usr,}/bin/sh. 3805 touch sub/conftst$i.h 3806 done 3807 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3808 3809 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3810 # mode. It turns out that the SunPro C++ compiler does not properly 3811 # handle `-M -o', and we need to detect this. Also, some Intel 3812 # versions had trouble with output in subdirs 3813 am__obj=sub/conftest.${OBJEXT-o} 3814 am__minus_obj="-o $am__obj" 3815 case $depmode in 3816 gcc) 3817 # This depmode causes a compiler race in universal mode. 3818 test "$am__universal" = false || continue 3819 ;; 3820 nosideeffect) 3821 # after this tag, mechanisms are not by side-effect, so they'll 3822 # only be used when explicitly requested 3823 if test "x$enable_dependency_tracking" = xyes; then 3824 continue 3825 else 3826 break 3827 fi 3828 ;; 3829 msvisualcpp | msvcmsys) 3830 # This compiler won't grok `-c -o', but also, the minuso test has 3831 # not run yet. These depmodes are late enough in the game, and 3832 # so weak that their functioning should not be impacted. 3833 am__obj=conftest.${OBJEXT-o} 3834 am__minus_obj= 3835 ;; 3836 none) break ;; 3837 esac 3838 if depmode=$depmode \ 3839 source=sub/conftest.c object=$am__obj \ 3840 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3841 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3842 >/dev/null 2>conftest.err && 3843 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3844 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3845 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3846 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3847 # icc doesn't choke on unknown options, it will just issue warnings 3848 # or remarks (even with -Werror). So we grep stderr for any message 3849 # that says an option was ignored or not supported. 3850 # When given -MP, icc 7.0 and 7.1 complain thusly: 3851 # icc: Command line warning: ignoring option '-M'; no argument required 3852 # The diagnosis changed in icc 8.0: 3853 # icc: Command line remark: option '-MP' not supported 3854 if (grep 'ignoring option' conftest.err || 3855 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3856 am_cv_CC_dependencies_compiler_type=$depmode 3857 break 3858 fi 3859 fi 3860 done 3861 3862 cd .. 3863 rm -rf conftest.dir 3864else 3865 am_cv_CC_dependencies_compiler_type=none 3866fi 3867 3868fi 3869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3870$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3871CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3872 3873 if 3874 test "x$enable_dependency_tracking" != xno \ 3875 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3876 am__fastdepCC_TRUE= 3877 am__fastdepCC_FALSE='#' 3878else 3879 am__fastdepCC_TRUE='#' 3880 am__fastdepCC_FALSE= 3881fi 3882 3883 3884case `pwd` in 3885 *\ * | *\ *) 3886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3887$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3888esac 3889 3890 3891 3892macro_version='2.2.6b' 3893macro_revision='1.3017' 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907ltmain="$ac_aux_dir/ltmain.sh" 3908 3909# Make sure we can run config.sub. 3910$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3911 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3912 3913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3914$as_echo_n "checking build system type... " >&6; } 3915if test "${ac_cv_build+set}" = set; then : 3916 $as_echo_n "(cached) " >&6 3917else 3918 ac_build_alias=$build_alias 3919test "x$ac_build_alias" = x && 3920 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3921test "x$ac_build_alias" = x && 3922 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 3923ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3924 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3925 3926fi 3927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3928$as_echo "$ac_cv_build" >&6; } 3929case $ac_cv_build in 3930*-*-*) ;; 3931*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 3932esac 3933build=$ac_cv_build 3934ac_save_IFS=$IFS; IFS='-' 3935set x $ac_cv_build 3936shift 3937build_cpu=$1 3938build_vendor=$2 3939shift; shift 3940# Remember, the first character of IFS is used to create $*, 3941# except with old shells: 3942build_os=$* 3943IFS=$ac_save_IFS 3944case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3945 3946 3947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3948$as_echo_n "checking host system type... " >&6; } 3949if test "${ac_cv_host+set}" = set; then : 3950 $as_echo_n "(cached) " >&6 3951else 3952 if test "x$host_alias" = x; then 3953 ac_cv_host=$ac_cv_build 3954else 3955 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3956 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3957fi 3958 3959fi 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3961$as_echo "$ac_cv_host" >&6; } 3962case $ac_cv_host in 3963*-*-*) ;; 3964*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 3965esac 3966host=$ac_cv_host 3967ac_save_IFS=$IFS; IFS='-' 3968set x $ac_cv_host 3969shift 3970host_cpu=$1 3971host_vendor=$2 3972shift; shift 3973# Remember, the first character of IFS is used to create $*, 3974# except with old shells: 3975host_os=$* 3976IFS=$ac_save_IFS 3977case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3978 3979 3980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 3981$as_echo_n "checking for a sed that does not truncate output... " >&6; } 3982if test "${ac_cv_path_SED+set}" = set; then : 3983 $as_echo_n "(cached) " >&6 3984else 3985 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 3986 for ac_i in 1 2 3 4 5 6 7; do 3987 ac_script="$ac_script$as_nl$ac_script" 3988 done 3989 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 3990 { ac_script=; unset ac_script;} 3991 if test -z "$SED"; then 3992 ac_path_SED_found=false 3993 # Loop through the user's path and test for each of PROGNAME-LIST 3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3995for as_dir in $PATH 3996do 3997 IFS=$as_save_IFS 3998 test -z "$as_dir" && as_dir=. 3999 for ac_prog in sed gsed; do 4000 for ac_exec_ext in '' $ac_executable_extensions; do 4001 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4002 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4003# Check for GNU ac_path_SED and select it if it is found. 4004 # Check for GNU $ac_path_SED 4005case `"$ac_path_SED" --version 2>&1` in 4006*GNU*) 4007 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4008*) 4009 ac_count=0 4010 $as_echo_n 0123456789 >"conftest.in" 4011 while : 4012 do 4013 cat "conftest.in" "conftest.in" >"conftest.tmp" 4014 mv "conftest.tmp" "conftest.in" 4015 cp "conftest.in" "conftest.nl" 4016 $as_echo '' >> "conftest.nl" 4017 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4018 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4019 as_fn_arith $ac_count + 1 && ac_count=$as_val 4020 if test $ac_count -gt ${ac_path_SED_max-0}; then 4021 # Best one so far, save it but keep looking for a better one 4022 ac_cv_path_SED="$ac_path_SED" 4023 ac_path_SED_max=$ac_count 4024 fi 4025 # 10*(2^10) chars as input seems more than enough 4026 test $ac_count -gt 10 && break 4027 done 4028 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4029esac 4030 4031 $ac_path_SED_found && break 3 4032 done 4033 done 4034 done 4035IFS=$as_save_IFS 4036 if test -z "$ac_cv_path_SED"; then 4037 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 4038 fi 4039else 4040 ac_cv_path_SED=$SED 4041fi 4042 4043fi 4044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4045$as_echo "$ac_cv_path_SED" >&6; } 4046 SED="$ac_cv_path_SED" 4047 rm -f conftest.sed 4048 4049test -z "$SED" && SED=sed 4050Xsed="$SED -e 1s/^X//" 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4063$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4064if test "${ac_cv_path_GREP+set}" = set; then : 4065 $as_echo_n "(cached) " >&6 4066else 4067 if test -z "$GREP"; then 4068 ac_path_GREP_found=false 4069 # Loop through the user's path and test for each of PROGNAME-LIST 4070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4071for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4072do 4073 IFS=$as_save_IFS 4074 test -z "$as_dir" && as_dir=. 4075 for ac_prog in grep ggrep; do 4076 for ac_exec_ext in '' $ac_executable_extensions; do 4077 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4078 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4079# Check for GNU ac_path_GREP and select it if it is found. 4080 # Check for GNU $ac_path_GREP 4081case `"$ac_path_GREP" --version 2>&1` in 4082*GNU*) 4083 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4084*) 4085 ac_count=0 4086 $as_echo_n 0123456789 >"conftest.in" 4087 while : 4088 do 4089 cat "conftest.in" "conftest.in" >"conftest.tmp" 4090 mv "conftest.tmp" "conftest.in" 4091 cp "conftest.in" "conftest.nl" 4092 $as_echo 'GREP' >> "conftest.nl" 4093 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4094 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4095 as_fn_arith $ac_count + 1 && ac_count=$as_val 4096 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4097 # Best one so far, save it but keep looking for a better one 4098 ac_cv_path_GREP="$ac_path_GREP" 4099 ac_path_GREP_max=$ac_count 4100 fi 4101 # 10*(2^10) chars as input seems more than enough 4102 test $ac_count -gt 10 && break 4103 done 4104 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4105esac 4106 4107 $ac_path_GREP_found && break 3 4108 done 4109 done 4110 done 4111IFS=$as_save_IFS 4112 if test -z "$ac_cv_path_GREP"; then 4113 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4114 fi 4115else 4116 ac_cv_path_GREP=$GREP 4117fi 4118 4119fi 4120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4121$as_echo "$ac_cv_path_GREP" >&6; } 4122 GREP="$ac_cv_path_GREP" 4123 4124 4125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4126$as_echo_n "checking for egrep... " >&6; } 4127if test "${ac_cv_path_EGREP+set}" = set; then : 4128 $as_echo_n "(cached) " >&6 4129else 4130 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4131 then ac_cv_path_EGREP="$GREP -E" 4132 else 4133 if test -z "$EGREP"; then 4134 ac_path_EGREP_found=false 4135 # Loop through the user's path and test for each of PROGNAME-LIST 4136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4137for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4138do 4139 IFS=$as_save_IFS 4140 test -z "$as_dir" && as_dir=. 4141 for ac_prog in egrep; do 4142 for ac_exec_ext in '' $ac_executable_extensions; do 4143 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4144 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4145# Check for GNU ac_path_EGREP and select it if it is found. 4146 # Check for GNU $ac_path_EGREP 4147case `"$ac_path_EGREP" --version 2>&1` in 4148*GNU*) 4149 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4150*) 4151 ac_count=0 4152 $as_echo_n 0123456789 >"conftest.in" 4153 while : 4154 do 4155 cat "conftest.in" "conftest.in" >"conftest.tmp" 4156 mv "conftest.tmp" "conftest.in" 4157 cp "conftest.in" "conftest.nl" 4158 $as_echo 'EGREP' >> "conftest.nl" 4159 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4160 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4161 as_fn_arith $ac_count + 1 && ac_count=$as_val 4162 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4163 # Best one so far, save it but keep looking for a better one 4164 ac_cv_path_EGREP="$ac_path_EGREP" 4165 ac_path_EGREP_max=$ac_count 4166 fi 4167 # 10*(2^10) chars as input seems more than enough 4168 test $ac_count -gt 10 && break 4169 done 4170 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4171esac 4172 4173 $ac_path_EGREP_found && break 3 4174 done 4175 done 4176 done 4177IFS=$as_save_IFS 4178 if test -z "$ac_cv_path_EGREP"; then 4179 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4180 fi 4181else 4182 ac_cv_path_EGREP=$EGREP 4183fi 4184 4185 fi 4186fi 4187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4188$as_echo "$ac_cv_path_EGREP" >&6; } 4189 EGREP="$ac_cv_path_EGREP" 4190 4191 4192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4193$as_echo_n "checking for fgrep... " >&6; } 4194if test "${ac_cv_path_FGREP+set}" = set; then : 4195 $as_echo_n "(cached) " >&6 4196else 4197 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4198 then ac_cv_path_FGREP="$GREP -F" 4199 else 4200 if test -z "$FGREP"; then 4201 ac_path_FGREP_found=false 4202 # Loop through the user's path and test for each of PROGNAME-LIST 4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4204for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4205do 4206 IFS=$as_save_IFS 4207 test -z "$as_dir" && as_dir=. 4208 for ac_prog in fgrep; do 4209 for ac_exec_ext in '' $ac_executable_extensions; do 4210 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4211 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4212# Check for GNU ac_path_FGREP and select it if it is found. 4213 # Check for GNU $ac_path_FGREP 4214case `"$ac_path_FGREP" --version 2>&1` in 4215*GNU*) 4216 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4217*) 4218 ac_count=0 4219 $as_echo_n 0123456789 >"conftest.in" 4220 while : 4221 do 4222 cat "conftest.in" "conftest.in" >"conftest.tmp" 4223 mv "conftest.tmp" "conftest.in" 4224 cp "conftest.in" "conftest.nl" 4225 $as_echo 'FGREP' >> "conftest.nl" 4226 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4227 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4228 as_fn_arith $ac_count + 1 && ac_count=$as_val 4229 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4230 # Best one so far, save it but keep looking for a better one 4231 ac_cv_path_FGREP="$ac_path_FGREP" 4232 ac_path_FGREP_max=$ac_count 4233 fi 4234 # 10*(2^10) chars as input seems more than enough 4235 test $ac_count -gt 10 && break 4236 done 4237 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4238esac 4239 4240 $ac_path_FGREP_found && break 3 4241 done 4242 done 4243 done 4244IFS=$as_save_IFS 4245 if test -z "$ac_cv_path_FGREP"; then 4246 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4247 fi 4248else 4249 ac_cv_path_FGREP=$FGREP 4250fi 4251 4252 fi 4253fi 4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4255$as_echo "$ac_cv_path_FGREP" >&6; } 4256 FGREP="$ac_cv_path_FGREP" 4257 4258 4259test -z "$GREP" && GREP=grep 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279# Check whether --with-gnu-ld was given. 4280if test "${with_gnu_ld+set}" = set; then : 4281 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4282else 4283 with_gnu_ld=no 4284fi 4285 4286ac_prog=ld 4287if test "$GCC" = yes; then 4288 # Check if gcc -print-prog-name=ld gives a path. 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4290$as_echo_n "checking for ld used by $CC... " >&6; } 4291 case $host in 4292 *-*-mingw*) 4293 # gcc leaves a trailing carriage return which upsets mingw 4294 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4295 *) 4296 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4297 esac 4298 case $ac_prog in 4299 # Accept absolute paths. 4300 [\\/]* | ?:[\\/]*) 4301 re_direlt='/[^/][^/]*/\.\./' 4302 # Canonicalize the pathname of ld 4303 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4304 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4305 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4306 done 4307 test -z "$LD" && LD="$ac_prog" 4308 ;; 4309 "") 4310 # If it fails, then pretend we aren't using GCC. 4311 ac_prog=ld 4312 ;; 4313 *) 4314 # If it is relative, then search for the first ld in PATH. 4315 with_gnu_ld=unknown 4316 ;; 4317 esac 4318elif test "$with_gnu_ld" = yes; then 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4320$as_echo_n "checking for GNU ld... " >&6; } 4321else 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4323$as_echo_n "checking for non-GNU ld... " >&6; } 4324fi 4325if test "${lt_cv_path_LD+set}" = set; then : 4326 $as_echo_n "(cached) " >&6 4327else 4328 if test -z "$LD"; then 4329 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4330 for ac_dir in $PATH; do 4331 IFS="$lt_save_ifs" 4332 test -z "$ac_dir" && ac_dir=. 4333 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4334 lt_cv_path_LD="$ac_dir/$ac_prog" 4335 # Check to see if the program is GNU ld. I'd rather use --version, 4336 # but apparently some variants of GNU ld only accept -v. 4337 # Break only if it was the GNU/non-GNU ld that we prefer. 4338 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4339 *GNU* | *'with BFD'*) 4340 test "$with_gnu_ld" != no && break 4341 ;; 4342 *) 4343 test "$with_gnu_ld" != yes && break 4344 ;; 4345 esac 4346 fi 4347 done 4348 IFS="$lt_save_ifs" 4349else 4350 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4351fi 4352fi 4353 4354LD="$lt_cv_path_LD" 4355if test -n "$LD"; then 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4357$as_echo "$LD" >&6; } 4358else 4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4360$as_echo "no" >&6; } 4361fi 4362test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4364$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4365if test "${lt_cv_prog_gnu_ld+set}" = set; then : 4366 $as_echo_n "(cached) " >&6 4367else 4368 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4369case `$LD -v 2>&1 </dev/null` in 4370*GNU* | *'with BFD'*) 4371 lt_cv_prog_gnu_ld=yes 4372 ;; 4373*) 4374 lt_cv_prog_gnu_ld=no 4375 ;; 4376esac 4377fi 4378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4379$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4380with_gnu_ld=$lt_cv_prog_gnu_ld 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4391$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4392if test "${lt_cv_path_NM+set}" = set; then : 4393 $as_echo_n "(cached) " >&6 4394else 4395 if test -n "$NM"; then 4396 # Let the user override the test. 4397 lt_cv_path_NM="$NM" 4398else 4399 lt_nm_to_check="${ac_tool_prefix}nm" 4400 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4401 lt_nm_to_check="$lt_nm_to_check nm" 4402 fi 4403 for lt_tmp_nm in $lt_nm_to_check; do 4404 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4405 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4406 IFS="$lt_save_ifs" 4407 test -z "$ac_dir" && ac_dir=. 4408 tmp_nm="$ac_dir/$lt_tmp_nm" 4409 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4410 # Check to see if the nm accepts a BSD-compat flag. 4411 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4412 # nm: unknown option "B" ignored 4413 # Tru64's nm complains that /dev/null is an invalid object file 4414 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4415 */dev/null* | *'Invalid file or object type'*) 4416 lt_cv_path_NM="$tmp_nm -B" 4417 break 4418 ;; 4419 *) 4420 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4421 */dev/null*) 4422 lt_cv_path_NM="$tmp_nm -p" 4423 break 4424 ;; 4425 *) 4426 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4427 continue # so that we can try to find one that supports BSD flags 4428 ;; 4429 esac 4430 ;; 4431 esac 4432 fi 4433 done 4434 IFS="$lt_save_ifs" 4435 done 4436 : ${lt_cv_path_NM=no} 4437fi 4438fi 4439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4440$as_echo "$lt_cv_path_NM" >&6; } 4441if test "$lt_cv_path_NM" != "no"; then 4442 NM="$lt_cv_path_NM" 4443else 4444 # Didn't find any BSD compatible name lister, look for dumpbin. 4445 if test -n "$ac_tool_prefix"; then 4446 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4447 do 4448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4449set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4451$as_echo_n "checking for $ac_word... " >&6; } 4452if test "${ac_cv_prog_DUMPBIN+set}" = set; then : 4453 $as_echo_n "(cached) " >&6 4454else 4455 if test -n "$DUMPBIN"; then 4456 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4457else 4458as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4459for as_dir in $PATH 4460do 4461 IFS=$as_save_IFS 4462 test -z "$as_dir" && as_dir=. 4463 for ac_exec_ext in '' $ac_executable_extensions; do 4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4465 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4467 break 2 4468 fi 4469done 4470 done 4471IFS=$as_save_IFS 4472 4473fi 4474fi 4475DUMPBIN=$ac_cv_prog_DUMPBIN 4476if test -n "$DUMPBIN"; then 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4478$as_echo "$DUMPBIN" >&6; } 4479else 4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4481$as_echo "no" >&6; } 4482fi 4483 4484 4485 test -n "$DUMPBIN" && break 4486 done 4487fi 4488if test -z "$DUMPBIN"; then 4489 ac_ct_DUMPBIN=$DUMPBIN 4490 for ac_prog in "dumpbin -symbols" "link -dump -symbols" 4491do 4492 # Extract the first word of "$ac_prog", so it can be a program name with args. 4493set dummy $ac_prog; ac_word=$2 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4495$as_echo_n "checking for $ac_word... " >&6; } 4496if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : 4497 $as_echo_n "(cached) " >&6 4498else 4499 if test -n "$ac_ct_DUMPBIN"; then 4500 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4501else 4502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4503for as_dir in $PATH 4504do 4505 IFS=$as_save_IFS 4506 test -z "$as_dir" && as_dir=. 4507 for ac_exec_ext in '' $ac_executable_extensions; do 4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4509 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4511 break 2 4512 fi 4513done 4514 done 4515IFS=$as_save_IFS 4516 4517fi 4518fi 4519ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4520if test -n "$ac_ct_DUMPBIN"; then 4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4522$as_echo "$ac_ct_DUMPBIN" >&6; } 4523else 4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4525$as_echo "no" >&6; } 4526fi 4527 4528 4529 test -n "$ac_ct_DUMPBIN" && break 4530done 4531 4532 if test "x$ac_ct_DUMPBIN" = x; then 4533 DUMPBIN=":" 4534 else 4535 case $cross_compiling:$ac_tool_warned in 4536yes:) 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4538$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4539ac_tool_warned=yes ;; 4540esac 4541 DUMPBIN=$ac_ct_DUMPBIN 4542 fi 4543fi 4544 4545 4546 if test "$DUMPBIN" != ":"; then 4547 NM="$DUMPBIN" 4548 fi 4549fi 4550test -z "$NM" && NM=nm 4551 4552 4553 4554 4555 4556 4557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4558$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4559if test "${lt_cv_nm_interface+set}" = set; then : 4560 $as_echo_n "(cached) " >&6 4561else 4562 lt_cv_nm_interface="BSD nm" 4563 echo "int some_variable = 0;" > conftest.$ac_ext 4564 (eval echo "\"\$as_me:4564: $ac_compile\"" >&5) 4565 (eval "$ac_compile" 2>conftest.err) 4566 cat conftest.err >&5 4567 (eval echo "\"\$as_me:4567: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4568 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4569 cat conftest.err >&5 4570 (eval echo "\"\$as_me:4570: output\"" >&5) 4571 cat conftest.out >&5 4572 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4573 lt_cv_nm_interface="MS dumpbin" 4574 fi 4575 rm -f conftest* 4576fi 4577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4578$as_echo "$lt_cv_nm_interface" >&6; } 4579 4580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4581$as_echo_n "checking whether ln -s works... " >&6; } 4582LN_S=$as_ln_s 4583if test "$LN_S" = "ln -s"; then 4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4585$as_echo "yes" >&6; } 4586else 4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4588$as_echo "no, using $LN_S" >&6; } 4589fi 4590 4591# find the maximum length of command line arguments 4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4593$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4594if test "${lt_cv_sys_max_cmd_len+set}" = set; then : 4595 $as_echo_n "(cached) " >&6 4596else 4597 i=0 4598 teststring="ABCD" 4599 4600 case $build_os in 4601 msdosdjgpp*) 4602 # On DJGPP, this test can blow up pretty badly due to problems in libc 4603 # (any single argument exceeding 2000 bytes causes a buffer overrun 4604 # during glob expansion). Even if it were fixed, the result of this 4605 # check would be larger than it should be. 4606 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4607 ;; 4608 4609 gnu*) 4610 # Under GNU Hurd, this test is not required because there is 4611 # no limit to the length of command line arguments. 4612 # Libtool will interpret -1 as no limit whatsoever 4613 lt_cv_sys_max_cmd_len=-1; 4614 ;; 4615 4616 cygwin* | mingw* | cegcc*) 4617 # On Win9x/ME, this test blows up -- it succeeds, but takes 4618 # about 5 minutes as the teststring grows exponentially. 4619 # Worse, since 9x/ME are not pre-emptively multitasking, 4620 # you end up with a "frozen" computer, even though with patience 4621 # the test eventually succeeds (with a max line length of 256k). 4622 # Instead, let's just punt: use the minimum linelength reported by 4623 # all of the supported platforms: 8192 (on NT/2K/XP). 4624 lt_cv_sys_max_cmd_len=8192; 4625 ;; 4626 4627 amigaos*) 4628 # On AmigaOS with pdksh, this test takes hours, literally. 4629 # So we just punt and use a minimum line length of 8192. 4630 lt_cv_sys_max_cmd_len=8192; 4631 ;; 4632 4633 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4634 # This has been around since 386BSD, at least. Likely further. 4635 if test -x /sbin/sysctl; then 4636 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4637 elif test -x /usr/sbin/sysctl; then 4638 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4639 else 4640 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4641 fi 4642 # And add a safety zone 4643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4645 ;; 4646 4647 interix*) 4648 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4649 lt_cv_sys_max_cmd_len=196608 4650 ;; 4651 4652 osf*) 4653 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4654 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4655 # nice to cause kernel panics so lets avoid the loop below. 4656 # First set a reasonable default. 4657 lt_cv_sys_max_cmd_len=16384 4658 # 4659 if test -x /sbin/sysconfig; then 4660 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4661 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4662 esac 4663 fi 4664 ;; 4665 sco3.2v5*) 4666 lt_cv_sys_max_cmd_len=102400 4667 ;; 4668 sysv5* | sco5v6* | sysv4.2uw2*) 4669 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 4670 if test -n "$kargmax"; then 4671 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 4672 else 4673 lt_cv_sys_max_cmd_len=32768 4674 fi 4675 ;; 4676 *) 4677 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 4678 if test -n "$lt_cv_sys_max_cmd_len"; then 4679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4680 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4681 else 4682 # Make teststring a little bigger before we do anything with it. 4683 # a 1K string should be a reasonable start. 4684 for i in 1 2 3 4 5 6 7 8 ; do 4685 teststring=$teststring$teststring 4686 done 4687 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 4688 # If test is not a shell built-in, we'll probably end up computing a 4689 # maximum length that is only half of the actual maximum length, but 4690 # we can't tell. 4691 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ 4692 = "XX$teststring$teststring"; } >/dev/null 2>&1 && 4693 test $i != 17 # 1/2 MB should be enough 4694 do 4695 i=`expr $i + 1` 4696 teststring=$teststring$teststring 4697 done 4698 # Only check the string length outside the loop. 4699 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 4700 teststring= 4701 # Add a significant safety factor because C++ compilers can tack on 4702 # massive amounts of additional arguments before passing them to the 4703 # linker. It appears as though 1/2 is a usable value. 4704 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 4705 fi 4706 ;; 4707 esac 4708 4709fi 4710 4711if test -n $lt_cv_sys_max_cmd_len ; then 4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 4713$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 4714else 4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4716$as_echo "none" >&6; } 4717fi 4718max_cmd_len=$lt_cv_sys_max_cmd_len 4719 4720 4721 4722 4723 4724 4725: ${CP="cp -f"} 4726: ${MV="mv -f"} 4727: ${RM="rm -f"} 4728 4729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 4730$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 4731# Try some XSI features 4732xsi_shell=no 4733( _lt_dummy="a/b/c" 4734 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \ 4735 = c,a/b,, \ 4736 && eval 'test $(( 1 + 1 )) -eq 2 \ 4737 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 4738 && xsi_shell=yes 4739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 4740$as_echo "$xsi_shell" >&6; } 4741 4742 4743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 4744$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 4745lt_shell_append=no 4746( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 4747 >/dev/null 2>&1 \ 4748 && lt_shell_append=yes 4749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 4750$as_echo "$lt_shell_append" >&6; } 4751 4752 4753if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4754 lt_unset=unset 4755else 4756 lt_unset=false 4757fi 4758 4759 4760 4761 4762 4763# test EBCDIC or ASCII 4764case `echo X|tr X '\101'` in 4765 A) # ASCII based system 4766 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 4767 lt_SP2NL='tr \040 \012' 4768 lt_NL2SP='tr \015\012 \040\040' 4769 ;; 4770 *) # EBCDIC based system 4771 lt_SP2NL='tr \100 \n' 4772 lt_NL2SP='tr \r\n \100\100' 4773 ;; 4774esac 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 4785$as_echo_n "checking for $LD option to reload object files... " >&6; } 4786if test "${lt_cv_ld_reload_flag+set}" = set; then : 4787 $as_echo_n "(cached) " >&6 4788else 4789 lt_cv_ld_reload_flag='-r' 4790fi 4791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 4792$as_echo "$lt_cv_ld_reload_flag" >&6; } 4793reload_flag=$lt_cv_ld_reload_flag 4794case $reload_flag in 4795"" | " "*) ;; 4796*) reload_flag=" $reload_flag" ;; 4797esac 4798reload_cmds='$LD$reload_flag -o $output$reload_objs' 4799case $host_os in 4800 darwin*) 4801 if test "$GCC" = yes; then 4802 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 4803 else 4804 reload_cmds='$LD$reload_flag -o $output$reload_objs' 4805 fi 4806 ;; 4807esac 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817if test -n "$ac_tool_prefix"; then 4818 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4819set dummy ${ac_tool_prefix}objdump; ac_word=$2 4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4821$as_echo_n "checking for $ac_word... " >&6; } 4822if test "${ac_cv_prog_OBJDUMP+set}" = set; then : 4823 $as_echo_n "(cached) " >&6 4824else 4825 if test -n "$OBJDUMP"; then 4826 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4827else 4828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4829for as_dir in $PATH 4830do 4831 IFS=$as_save_IFS 4832 test -z "$as_dir" && as_dir=. 4833 for ac_exec_ext in '' $ac_executable_extensions; do 4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4835 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4837 break 2 4838 fi 4839done 4840 done 4841IFS=$as_save_IFS 4842 4843fi 4844fi 4845OBJDUMP=$ac_cv_prog_OBJDUMP 4846if test -n "$OBJDUMP"; then 4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4848$as_echo "$OBJDUMP" >&6; } 4849else 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4851$as_echo "no" >&6; } 4852fi 4853 4854 4855fi 4856if test -z "$ac_cv_prog_OBJDUMP"; then 4857 ac_ct_OBJDUMP=$OBJDUMP 4858 # Extract the first word of "objdump", so it can be a program name with args. 4859set dummy objdump; ac_word=$2 4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4861$as_echo_n "checking for $ac_word... " >&6; } 4862if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : 4863 $as_echo_n "(cached) " >&6 4864else 4865 if test -n "$ac_ct_OBJDUMP"; then 4866 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4867else 4868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4869for as_dir in $PATH 4870do 4871 IFS=$as_save_IFS 4872 test -z "$as_dir" && as_dir=. 4873 for ac_exec_ext in '' $ac_executable_extensions; do 4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4875 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4877 break 2 4878 fi 4879done 4880 done 4881IFS=$as_save_IFS 4882 4883fi 4884fi 4885ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4886if test -n "$ac_ct_OBJDUMP"; then 4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4888$as_echo "$ac_ct_OBJDUMP" >&6; } 4889else 4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4891$as_echo "no" >&6; } 4892fi 4893 4894 if test "x$ac_ct_OBJDUMP" = x; then 4895 OBJDUMP="false" 4896 else 4897 case $cross_compiling:$ac_tool_warned in 4898yes:) 4899{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4900$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4901ac_tool_warned=yes ;; 4902esac 4903 OBJDUMP=$ac_ct_OBJDUMP 4904 fi 4905else 4906 OBJDUMP="$ac_cv_prog_OBJDUMP" 4907fi 4908 4909test -z "$OBJDUMP" && OBJDUMP=objdump 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 4920$as_echo_n "checking how to recognize dependent libraries... " >&6; } 4921if test "${lt_cv_deplibs_check_method+set}" = set; then : 4922 $as_echo_n "(cached) " >&6 4923else 4924 lt_cv_file_magic_cmd='$MAGIC_CMD' 4925lt_cv_file_magic_test_file= 4926lt_cv_deplibs_check_method='unknown' 4927# Need to set the preceding variable on all platforms that support 4928# interlibrary dependencies. 4929# 'none' -- dependencies not supported. 4930# `unknown' -- same as none, but documents that we really don't know. 4931# 'pass_all' -- all dependencies passed with no checks. 4932# 'test_compile' -- check by making test program. 4933# 'file_magic [[regex]]' -- check by looking for files in library path 4934# which responds to the $file_magic_cmd with a given extended regex. 4935# If you have `file' or equivalent on your system and you're not sure 4936# whether `pass_all' will *always* work, you probably want this one. 4937 4938case $host_os in 4939aix[4-9]*) 4940 lt_cv_deplibs_check_method=pass_all 4941 ;; 4942 4943beos*) 4944 lt_cv_deplibs_check_method=pass_all 4945 ;; 4946 4947bsdi[45]*) 4948 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 4949 lt_cv_file_magic_cmd='/usr/bin/file -L' 4950 lt_cv_file_magic_test_file=/shlib/libc.so 4951 ;; 4952 4953cygwin*) 4954 # func_win32_libid is a shell function defined in ltmain.sh 4955 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4956 lt_cv_file_magic_cmd='func_win32_libid' 4957 ;; 4958 4959mingw* | pw32*) 4960 # Base MSYS/MinGW do not provide the 'file' command needed by 4961 # func_win32_libid shell function, so use a weaker test based on 'objdump', 4962 # unless we find 'file', for example because we are cross-compiling. 4963 if ( file / ) >/dev/null 2>&1; then 4964 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 4965 lt_cv_file_magic_cmd='func_win32_libid' 4966 else 4967 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 4968 lt_cv_file_magic_cmd='$OBJDUMP -f' 4969 fi 4970 ;; 4971 4972cegcc) 4973 # use the weaker test based on 'objdump'. See mingw*. 4974 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 4975 lt_cv_file_magic_cmd='$OBJDUMP -f' 4976 ;; 4977 4978darwin* | rhapsody*) 4979 lt_cv_deplibs_check_method=pass_all 4980 ;; 4981 4982freebsd* | dragonfly*) 4983 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 4984 case $host_cpu in 4985 i*86 ) 4986 # Not sure whether the presence of OpenBSD here was a mistake. 4987 # Let's accept both of them until this is cleared up. 4988 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 4989 lt_cv_file_magic_cmd=/usr/bin/file 4990 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 4991 ;; 4992 esac 4993 else 4994 lt_cv_deplibs_check_method=pass_all 4995 fi 4996 ;; 4997 4998gnu*) 4999 lt_cv_deplibs_check_method=pass_all 5000 ;; 5001 5002hpux10.20* | hpux11*) 5003 lt_cv_file_magic_cmd=/usr/bin/file 5004 case $host_cpu in 5005 ia64*) 5006 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5007 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5008 ;; 5009 hppa*64*) 5010 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]' 5011 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5012 ;; 5013 *) 5014 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' 5015 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5016 ;; 5017 esac 5018 ;; 5019 5020interix[3-9]*) 5021 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5023 ;; 5024 5025irix5* | irix6* | nonstopux*) 5026 case $LD in 5027 *-32|*"-32 ") libmagic=32-bit;; 5028 *-n32|*"-n32 ") libmagic=N32;; 5029 *-64|*"-64 ") libmagic=64-bit;; 5030 *) libmagic=never-match;; 5031 esac 5032 lt_cv_deplibs_check_method=pass_all 5033 ;; 5034 5035# This must be Linux ELF. 5036linux* | k*bsd*-gnu) 5037 lt_cv_deplibs_check_method=pass_all 5038 ;; 5039 5040netbsd*) 5041 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5043 else 5044 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5045 fi 5046 ;; 5047 5048newos6*) 5049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5050 lt_cv_file_magic_cmd=/usr/bin/file 5051 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5052 ;; 5053 5054*nto* | *qnx*) 5055 lt_cv_deplibs_check_method=pass_all 5056 ;; 5057 5058openbsd*) 5059 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5060 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5061 else 5062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5063 fi 5064 ;; 5065 5066osf3* | osf4* | osf5*) 5067 lt_cv_deplibs_check_method=pass_all 5068 ;; 5069 5070rdos*) 5071 lt_cv_deplibs_check_method=pass_all 5072 ;; 5073 5074solaris*) 5075 lt_cv_deplibs_check_method=pass_all 5076 ;; 5077 5078sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5079 lt_cv_deplibs_check_method=pass_all 5080 ;; 5081 5082sysv4 | sysv4.3*) 5083 case $host_vendor in 5084 motorola) 5085 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]' 5086 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5087 ;; 5088 ncr) 5089 lt_cv_deplibs_check_method=pass_all 5090 ;; 5091 sequent) 5092 lt_cv_file_magic_cmd='/bin/file' 5093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5094 ;; 5095 sni) 5096 lt_cv_file_magic_cmd='/bin/file' 5097 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5098 lt_cv_file_magic_test_file=/lib/libc.so 5099 ;; 5100 siemens) 5101 lt_cv_deplibs_check_method=pass_all 5102 ;; 5103 pc) 5104 lt_cv_deplibs_check_method=pass_all 5105 ;; 5106 esac 5107 ;; 5108 5109tpf*) 5110 lt_cv_deplibs_check_method=pass_all 5111 ;; 5112esac 5113 5114fi 5115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5116$as_echo "$lt_cv_deplibs_check_method" >&6; } 5117file_magic_cmd=$lt_cv_file_magic_cmd 5118deplibs_check_method=$lt_cv_deplibs_check_method 5119test -z "$deplibs_check_method" && deplibs_check_method=unknown 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132if test -n "$ac_tool_prefix"; then 5133 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 5134set dummy ${ac_tool_prefix}ar; ac_word=$2 5135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5136$as_echo_n "checking for $ac_word... " >&6; } 5137if test "${ac_cv_prog_AR+set}" = set; then : 5138 $as_echo_n "(cached) " >&6 5139else 5140 if test -n "$AR"; then 5141 ac_cv_prog_AR="$AR" # Let the user override the test. 5142else 5143as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5144for as_dir in $PATH 5145do 5146 IFS=$as_save_IFS 5147 test -z "$as_dir" && as_dir=. 5148 for ac_exec_ext in '' $ac_executable_extensions; do 5149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5150 ac_cv_prog_AR="${ac_tool_prefix}ar" 5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5152 break 2 5153 fi 5154done 5155 done 5156IFS=$as_save_IFS 5157 5158fi 5159fi 5160AR=$ac_cv_prog_AR 5161if test -n "$AR"; then 5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5163$as_echo "$AR" >&6; } 5164else 5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5166$as_echo "no" >&6; } 5167fi 5168 5169 5170fi 5171if test -z "$ac_cv_prog_AR"; then 5172 ac_ct_AR=$AR 5173 # Extract the first word of "ar", so it can be a program name with args. 5174set dummy ar; ac_word=$2 5175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5176$as_echo_n "checking for $ac_word... " >&6; } 5177if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : 5178 $as_echo_n "(cached) " >&6 5179else 5180 if test -n "$ac_ct_AR"; then 5181 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5182else 5183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5184for as_dir in $PATH 5185do 5186 IFS=$as_save_IFS 5187 test -z "$as_dir" && as_dir=. 5188 for ac_exec_ext in '' $ac_executable_extensions; do 5189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5190 ac_cv_prog_ac_ct_AR="ar" 5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5192 break 2 5193 fi 5194done 5195 done 5196IFS=$as_save_IFS 5197 5198fi 5199fi 5200ac_ct_AR=$ac_cv_prog_ac_ct_AR 5201if test -n "$ac_ct_AR"; then 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5203$as_echo "$ac_ct_AR" >&6; } 5204else 5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5206$as_echo "no" >&6; } 5207fi 5208 5209 if test "x$ac_ct_AR" = x; then 5210 AR="false" 5211 else 5212 case $cross_compiling:$ac_tool_warned in 5213yes:) 5214{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5215$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5216ac_tool_warned=yes ;; 5217esac 5218 AR=$ac_ct_AR 5219 fi 5220else 5221 AR="$ac_cv_prog_AR" 5222fi 5223 5224test -z "$AR" && AR=ar 5225test -z "$AR_FLAGS" && AR_FLAGS=cru 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237if test -n "$ac_tool_prefix"; then 5238 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5239set dummy ${ac_tool_prefix}strip; ac_word=$2 5240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5241$as_echo_n "checking for $ac_word... " >&6; } 5242if test "${ac_cv_prog_STRIP+set}" = set; then : 5243 $as_echo_n "(cached) " >&6 5244else 5245 if test -n "$STRIP"; then 5246 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5247else 5248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5249for as_dir in $PATH 5250do 5251 IFS=$as_save_IFS 5252 test -z "$as_dir" && as_dir=. 5253 for ac_exec_ext in '' $ac_executable_extensions; do 5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5255 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5257 break 2 5258 fi 5259done 5260 done 5261IFS=$as_save_IFS 5262 5263fi 5264fi 5265STRIP=$ac_cv_prog_STRIP 5266if test -n "$STRIP"; then 5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5268$as_echo "$STRIP" >&6; } 5269else 5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5271$as_echo "no" >&6; } 5272fi 5273 5274 5275fi 5276if test -z "$ac_cv_prog_STRIP"; then 5277 ac_ct_STRIP=$STRIP 5278 # Extract the first word of "strip", so it can be a program name with args. 5279set dummy strip; ac_word=$2 5280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5281$as_echo_n "checking for $ac_word... " >&6; } 5282if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 5283 $as_echo_n "(cached) " >&6 5284else 5285 if test -n "$ac_ct_STRIP"; then 5286 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5287else 5288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5289for as_dir in $PATH 5290do 5291 IFS=$as_save_IFS 5292 test -z "$as_dir" && as_dir=. 5293 for ac_exec_ext in '' $ac_executable_extensions; do 5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5295 ac_cv_prog_ac_ct_STRIP="strip" 5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5297 break 2 5298 fi 5299done 5300 done 5301IFS=$as_save_IFS 5302 5303fi 5304fi 5305ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5306if test -n "$ac_ct_STRIP"; then 5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5308$as_echo "$ac_ct_STRIP" >&6; } 5309else 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5311$as_echo "no" >&6; } 5312fi 5313 5314 if test "x$ac_ct_STRIP" = x; then 5315 STRIP=":" 5316 else 5317 case $cross_compiling:$ac_tool_warned in 5318yes:) 5319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5321ac_tool_warned=yes ;; 5322esac 5323 STRIP=$ac_ct_STRIP 5324 fi 5325else 5326 STRIP="$ac_cv_prog_STRIP" 5327fi 5328 5329test -z "$STRIP" && STRIP=: 5330 5331 5332 5333 5334 5335 5336if test -n "$ac_tool_prefix"; then 5337 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5338set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5340$as_echo_n "checking for $ac_word... " >&6; } 5341if test "${ac_cv_prog_RANLIB+set}" = set; then : 5342 $as_echo_n "(cached) " >&6 5343else 5344 if test -n "$RANLIB"; then 5345 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5346else 5347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5348for as_dir in $PATH 5349do 5350 IFS=$as_save_IFS 5351 test -z "$as_dir" && as_dir=. 5352 for ac_exec_ext in '' $ac_executable_extensions; do 5353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5354 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5356 break 2 5357 fi 5358done 5359 done 5360IFS=$as_save_IFS 5361 5362fi 5363fi 5364RANLIB=$ac_cv_prog_RANLIB 5365if test -n "$RANLIB"; then 5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5367$as_echo "$RANLIB" >&6; } 5368else 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5370$as_echo "no" >&6; } 5371fi 5372 5373 5374fi 5375if test -z "$ac_cv_prog_RANLIB"; then 5376 ac_ct_RANLIB=$RANLIB 5377 # Extract the first word of "ranlib", so it can be a program name with args. 5378set dummy ranlib; ac_word=$2 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5380$as_echo_n "checking for $ac_word... " >&6; } 5381if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 5382 $as_echo_n "(cached) " >&6 5383else 5384 if test -n "$ac_ct_RANLIB"; then 5385 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5386else 5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5388for as_dir in $PATH 5389do 5390 IFS=$as_save_IFS 5391 test -z "$as_dir" && as_dir=. 5392 for ac_exec_ext in '' $ac_executable_extensions; do 5393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5394 ac_cv_prog_ac_ct_RANLIB="ranlib" 5395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5396 break 2 5397 fi 5398done 5399 done 5400IFS=$as_save_IFS 5401 5402fi 5403fi 5404ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5405if test -n "$ac_ct_RANLIB"; then 5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5407$as_echo "$ac_ct_RANLIB" >&6; } 5408else 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5410$as_echo "no" >&6; } 5411fi 5412 5413 if test "x$ac_ct_RANLIB" = x; then 5414 RANLIB=":" 5415 else 5416 case $cross_compiling:$ac_tool_warned in 5417yes:) 5418{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5419$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5420ac_tool_warned=yes ;; 5421esac 5422 RANLIB=$ac_ct_RANLIB 5423 fi 5424else 5425 RANLIB="$ac_cv_prog_RANLIB" 5426fi 5427 5428test -z "$RANLIB" && RANLIB=: 5429 5430 5431 5432 5433 5434 5435# Determine commands to create old-style static archives. 5436old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 5437old_postinstall_cmds='chmod 644 $oldlib' 5438old_postuninstall_cmds= 5439 5440if test -n "$RANLIB"; then 5441 case $host_os in 5442 openbsd*) 5443 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 5444 ;; 5445 *) 5446 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 5447 ;; 5448 esac 5449 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 5450fi 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485# If no C compiler was specified, use CC. 5486LTCC=${LTCC-"$CC"} 5487 5488# If no C compiler flags were specified, use CFLAGS. 5489LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 5490 5491# Allow CC to be a program name with arguments. 5492compiler=$CC 5493 5494 5495# Check for command to grab the raw symbol name followed by C symbol from nm. 5496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 5497$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 5498if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : 5499 $as_echo_n "(cached) " >&6 5500else 5501 5502# These are sane defaults that work on at least a few old systems. 5503# [They come from Ultrix. What could be older than Ultrix?!! ;)] 5504 5505# Character class describing NM global symbol codes. 5506symcode='[BCDEGRST]' 5507 5508# Regexp to match symbols that can be accessed directly from C. 5509sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 5510 5511# Define system-specific variables. 5512case $host_os in 5513aix*) 5514 symcode='[BCDT]' 5515 ;; 5516cygwin* | mingw* | pw32* | cegcc*) 5517 symcode='[ABCDGISTW]' 5518 ;; 5519hpux*) 5520 if test "$host_cpu" = ia64; then 5521 symcode='[ABCDEGRST]' 5522 fi 5523 ;; 5524irix* | nonstopux*) 5525 symcode='[BCDEGRST]' 5526 ;; 5527osf*) 5528 symcode='[BCDEGQRST]' 5529 ;; 5530solaris*) 5531 symcode='[BDRT]' 5532 ;; 5533sco3.2v5*) 5534 symcode='[DT]' 5535 ;; 5536sysv4.2uw2*) 5537 symcode='[DT]' 5538 ;; 5539sysv5* | sco5v6* | unixware* | OpenUNIX*) 5540 symcode='[ABDT]' 5541 ;; 5542sysv4) 5543 symcode='[DFNSTU]' 5544 ;; 5545esac 5546 5547# If we're using GNU nm, then use its standard symbol codes. 5548case `$NM -V 2>&1` in 5549*GNU* | *'with BFD'*) 5550 symcode='[ABCDGIRSTW]' ;; 5551esac 5552 5553# Transform an extracted symbol line into a proper C declaration. 5554# Some systems (esp. on ia64) link data and code symbols differently, 5555# so use this general approach. 5556lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 5557 5558# Transform an extracted symbol line into symbol name and symbol address 5559lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 5560lt_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'" 5561 5562# Handle CRLF in mingw tool chain 5563opt_cr= 5564case $build_os in 5565mingw*) 5566 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 5567 ;; 5568esac 5569 5570# Try without a prefix underscore, then with it. 5571for ac_symprfx in "" "_"; do 5572 5573 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 5574 symxfrm="\\1 $ac_symprfx\\2 \\2" 5575 5576 # Write the raw and C identifiers. 5577 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 5578 # Fake it for dumpbin and say T for any non-static function 5579 # and D for any global variable. 5580 # Also find C++ and __fastcall symbols from MSVC++, 5581 # which start with @ or ?. 5582 lt_cv_sys_global_symbol_pipe="$AWK '"\ 5583" {last_section=section; section=\$ 3};"\ 5584" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 5585" \$ 0!~/External *\|/{next};"\ 5586" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 5587" {if(hide[section]) next};"\ 5588" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 5589" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 5590" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 5591" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 5592" ' prfx=^$ac_symprfx" 5593 else 5594 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 5595 fi 5596 5597 # Check to see that the pipe works correctly. 5598 pipe_works=no 5599 5600 rm -f conftest* 5601 cat > conftest.$ac_ext <<_LT_EOF 5602#ifdef __cplusplus 5603extern "C" { 5604#endif 5605char nm_test_var; 5606void nm_test_func(void); 5607void nm_test_func(void){} 5608#ifdef __cplusplus 5609} 5610#endif 5611int main(){nm_test_var='a';nm_test_func();return(0);} 5612_LT_EOF 5613 5614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5615 (eval $ac_compile) 2>&5 5616 ac_status=$? 5617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5618 test $ac_status = 0; }; then 5619 # Now try to grab the symbols. 5620 nlist=conftest.nm 5621 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 5622 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 5623 ac_status=$? 5624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5625 test $ac_status = 0; } && test -s "$nlist"; then 5626 # Try sorting and uniquifying the output. 5627 if sort "$nlist" | uniq > "$nlist"T; then 5628 mv -f "$nlist"T "$nlist" 5629 else 5630 rm -f "$nlist"T 5631 fi 5632 5633 # Make sure that we snagged all the symbols we need. 5634 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 5635 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 5636 cat <<_LT_EOF > conftest.$ac_ext 5637#ifdef __cplusplus 5638extern "C" { 5639#endif 5640 5641_LT_EOF 5642 # Now generate the symbol file. 5643 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 5644 5645 cat <<_LT_EOF >> conftest.$ac_ext 5646 5647/* The mapping between symbol names and symbols. */ 5648const struct { 5649 const char *name; 5650 void *address; 5651} 5652lt__PROGRAM__LTX_preloaded_symbols[] = 5653{ 5654 { "@PROGRAM@", (void *) 0 }, 5655_LT_EOF 5656 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 5657 cat <<\_LT_EOF >> conftest.$ac_ext 5658 {0, (void *) 0} 5659}; 5660 5661/* This works around a problem in FreeBSD linker */ 5662#ifdef FREEBSD_WORKAROUND 5663static const void *lt_preloaded_setup() { 5664 return lt__PROGRAM__LTX_preloaded_symbols; 5665} 5666#endif 5667 5668#ifdef __cplusplus 5669} 5670#endif 5671_LT_EOF 5672 # Now try linking the two files. 5673 mv conftest.$ac_objext conftstm.$ac_objext 5674 lt_save_LIBS="$LIBS" 5675 lt_save_CFLAGS="$CFLAGS" 5676 LIBS="conftstm.$ac_objext" 5677 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 5678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 5679 (eval $ac_link) 2>&5 5680 ac_status=$? 5681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5682 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 5683 pipe_works=yes 5684 fi 5685 LIBS="$lt_save_LIBS" 5686 CFLAGS="$lt_save_CFLAGS" 5687 else 5688 echo "cannot find nm_test_func in $nlist" >&5 5689 fi 5690 else 5691 echo "cannot find nm_test_var in $nlist" >&5 5692 fi 5693 else 5694 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 5695 fi 5696 else 5697 echo "$progname: failed program was:" >&5 5698 cat conftest.$ac_ext >&5 5699 fi 5700 rm -rf conftest* conftst* 5701 5702 # Do not use the global_symbol_pipe unless it works. 5703 if test "$pipe_works" = yes; then 5704 break 5705 else 5706 lt_cv_sys_global_symbol_pipe= 5707 fi 5708done 5709 5710fi 5711 5712if test -z "$lt_cv_sys_global_symbol_pipe"; then 5713 lt_cv_sys_global_symbol_to_cdecl= 5714fi 5715if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 5717$as_echo "failed" >&6; } 5718else 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 5720$as_echo "ok" >&6; } 5721fi 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745# Check whether --enable-libtool-lock was given. 5746if test "${enable_libtool_lock+set}" = set; then : 5747 enableval=$enable_libtool_lock; 5748fi 5749 5750test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 5751 5752# Some flags need to be propagated to the compiler or linker for good 5753# libtool support. 5754case $host in 5755ia64-*-hpux*) 5756 # Find out which ABI we are using. 5757 echo 'int i;' > conftest.$ac_ext 5758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5759 (eval $ac_compile) 2>&5 5760 ac_status=$? 5761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5762 test $ac_status = 0; }; then 5763 case `/usr/bin/file conftest.$ac_objext` in 5764 *ELF-32*) 5765 HPUX_IA64_MODE="32" 5766 ;; 5767 *ELF-64*) 5768 HPUX_IA64_MODE="64" 5769 ;; 5770 esac 5771 fi 5772 rm -rf conftest* 5773 ;; 5774*-*-irix6*) 5775 # Find out which ABI we are using. 5776 echo '#line 5776 "configure"' > conftest.$ac_ext 5777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5778 (eval $ac_compile) 2>&5 5779 ac_status=$? 5780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5781 test $ac_status = 0; }; then 5782 if test "$lt_cv_prog_gnu_ld" = yes; then 5783 case `/usr/bin/file conftest.$ac_objext` in 5784 *32-bit*) 5785 LD="${LD-ld} -melf32bsmip" 5786 ;; 5787 *N32*) 5788 LD="${LD-ld} -melf32bmipn32" 5789 ;; 5790 *64-bit*) 5791 LD="${LD-ld} -melf64bmip" 5792 ;; 5793 esac 5794 else 5795 case `/usr/bin/file conftest.$ac_objext` in 5796 *32-bit*) 5797 LD="${LD-ld} -32" 5798 ;; 5799 *N32*) 5800 LD="${LD-ld} -n32" 5801 ;; 5802 *64-bit*) 5803 LD="${LD-ld} -64" 5804 ;; 5805 esac 5806 fi 5807 fi 5808 rm -rf conftest* 5809 ;; 5810 5811x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 5812s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 5813 # Find out which ABI we are using. 5814 echo 'int i;' > conftest.$ac_ext 5815 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5816 (eval $ac_compile) 2>&5 5817 ac_status=$? 5818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5819 test $ac_status = 0; }; then 5820 case `/usr/bin/file conftest.o` in 5821 *32-bit*) 5822 case $host in 5823 x86_64-*kfreebsd*-gnu) 5824 LD="${LD-ld} -m elf_i386_fbsd" 5825 ;; 5826 x86_64-*linux*) 5827 LD="${LD-ld} -m elf_i386" 5828 ;; 5829 ppc64-*linux*|powerpc64-*linux*) 5830 LD="${LD-ld} -m elf32ppclinux" 5831 ;; 5832 s390x-*linux*) 5833 LD="${LD-ld} -m elf_s390" 5834 ;; 5835 sparc64-*linux*) 5836 LD="${LD-ld} -m elf32_sparc" 5837 ;; 5838 esac 5839 ;; 5840 *64-bit*) 5841 case $host in 5842 x86_64-*kfreebsd*-gnu) 5843 LD="${LD-ld} -m elf_x86_64_fbsd" 5844 ;; 5845 x86_64-*linux*) 5846 LD="${LD-ld} -m elf_x86_64" 5847 ;; 5848 ppc*-*linux*|powerpc*-*linux*) 5849 LD="${LD-ld} -m elf64ppc" 5850 ;; 5851 s390*-*linux*|s390*-*tpf*) 5852 LD="${LD-ld} -m elf64_s390" 5853 ;; 5854 sparc*-*linux*) 5855 LD="${LD-ld} -m elf64_sparc" 5856 ;; 5857 esac 5858 ;; 5859 esac 5860 fi 5861 rm -rf conftest* 5862 ;; 5863 5864*-*-sco3.2v5*) 5865 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 5866 SAVE_CFLAGS="$CFLAGS" 5867 CFLAGS="$CFLAGS -belf" 5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 5869$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 5870if test "${lt_cv_cc_needs_belf+set}" = set; then : 5871 $as_echo_n "(cached) " >&6 5872else 5873 ac_ext=c 5874ac_cpp='$CPP $CPPFLAGS' 5875ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5876ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5877ac_compiler_gnu=$ac_cv_c_compiler_gnu 5878 5879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5880/* end confdefs.h. */ 5881 5882int 5883main () 5884{ 5885 5886 ; 5887 return 0; 5888} 5889_ACEOF 5890if ac_fn_c_try_link "$LINENO"; then : 5891 lt_cv_cc_needs_belf=yes 5892else 5893 lt_cv_cc_needs_belf=no 5894fi 5895rm -f core conftest.err conftest.$ac_objext \ 5896 conftest$ac_exeext conftest.$ac_ext 5897 ac_ext=c 5898ac_cpp='$CPP $CPPFLAGS' 5899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5901ac_compiler_gnu=$ac_cv_c_compiler_gnu 5902 5903fi 5904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 5905$as_echo "$lt_cv_cc_needs_belf" >&6; } 5906 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 5907 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 5908 CFLAGS="$SAVE_CFLAGS" 5909 fi 5910 ;; 5911sparc*-*solaris*) 5912 # Find out which ABI we are using. 5913 echo 'int i;' > conftest.$ac_ext 5914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5915 (eval $ac_compile) 2>&5 5916 ac_status=$? 5917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5918 test $ac_status = 0; }; then 5919 case `/usr/bin/file conftest.o` in 5920 *64-bit*) 5921 case $lt_cv_prog_gnu_ld in 5922 yes*) LD="${LD-ld} -m elf64_sparc" ;; 5923 *) 5924 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 5925 LD="${LD-ld} -64" 5926 fi 5927 ;; 5928 esac 5929 ;; 5930 esac 5931 fi 5932 rm -rf conftest* 5933 ;; 5934esac 5935 5936need_locks="$enable_libtool_lock" 5937 5938 5939 case $host_os in 5940 rhapsody* | darwin*) 5941 if test -n "$ac_tool_prefix"; then 5942 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 5943set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 5944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5945$as_echo_n "checking for $ac_word... " >&6; } 5946if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : 5947 $as_echo_n "(cached) " >&6 5948else 5949 if test -n "$DSYMUTIL"; then 5950 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 5951else 5952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5953for as_dir in $PATH 5954do 5955 IFS=$as_save_IFS 5956 test -z "$as_dir" && as_dir=. 5957 for ac_exec_ext in '' $ac_executable_extensions; do 5958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5959 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5961 break 2 5962 fi 5963done 5964 done 5965IFS=$as_save_IFS 5966 5967fi 5968fi 5969DSYMUTIL=$ac_cv_prog_DSYMUTIL 5970if test -n "$DSYMUTIL"; then 5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 5972$as_echo "$DSYMUTIL" >&6; } 5973else 5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5975$as_echo "no" >&6; } 5976fi 5977 5978 5979fi 5980if test -z "$ac_cv_prog_DSYMUTIL"; then 5981 ac_ct_DSYMUTIL=$DSYMUTIL 5982 # Extract the first word of "dsymutil", so it can be a program name with args. 5983set dummy dsymutil; ac_word=$2 5984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5985$as_echo_n "checking for $ac_word... " >&6; } 5986if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : 5987 $as_echo_n "(cached) " >&6 5988else 5989 if test -n "$ac_ct_DSYMUTIL"; then 5990 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 5991else 5992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5993for as_dir in $PATH 5994do 5995 IFS=$as_save_IFS 5996 test -z "$as_dir" && as_dir=. 5997 for ac_exec_ext in '' $ac_executable_extensions; do 5998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5999 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6001 break 2 6002 fi 6003done 6004 done 6005IFS=$as_save_IFS 6006 6007fi 6008fi 6009ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6010if test -n "$ac_ct_DSYMUTIL"; then 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6012$as_echo "$ac_ct_DSYMUTIL" >&6; } 6013else 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6015$as_echo "no" >&6; } 6016fi 6017 6018 if test "x$ac_ct_DSYMUTIL" = x; then 6019 DSYMUTIL=":" 6020 else 6021 case $cross_compiling:$ac_tool_warned in 6022yes:) 6023{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6024$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6025ac_tool_warned=yes ;; 6026esac 6027 DSYMUTIL=$ac_ct_DSYMUTIL 6028 fi 6029else 6030 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6031fi 6032 6033 if test -n "$ac_tool_prefix"; then 6034 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6035set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6037$as_echo_n "checking for $ac_word... " >&6; } 6038if test "${ac_cv_prog_NMEDIT+set}" = set; then : 6039 $as_echo_n "(cached) " >&6 6040else 6041 if test -n "$NMEDIT"; then 6042 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6043else 6044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6045for as_dir in $PATH 6046do 6047 IFS=$as_save_IFS 6048 test -z "$as_dir" && as_dir=. 6049 for ac_exec_ext in '' $ac_executable_extensions; do 6050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6051 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6053 break 2 6054 fi 6055done 6056 done 6057IFS=$as_save_IFS 6058 6059fi 6060fi 6061NMEDIT=$ac_cv_prog_NMEDIT 6062if test -n "$NMEDIT"; then 6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6064$as_echo "$NMEDIT" >&6; } 6065else 6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6067$as_echo "no" >&6; } 6068fi 6069 6070 6071fi 6072if test -z "$ac_cv_prog_NMEDIT"; then 6073 ac_ct_NMEDIT=$NMEDIT 6074 # Extract the first word of "nmedit", so it can be a program name with args. 6075set dummy nmedit; ac_word=$2 6076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6077$as_echo_n "checking for $ac_word... " >&6; } 6078if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : 6079 $as_echo_n "(cached) " >&6 6080else 6081 if test -n "$ac_ct_NMEDIT"; then 6082 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6083else 6084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6085for as_dir in $PATH 6086do 6087 IFS=$as_save_IFS 6088 test -z "$as_dir" && as_dir=. 6089 for ac_exec_ext in '' $ac_executable_extensions; do 6090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6091 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6093 break 2 6094 fi 6095done 6096 done 6097IFS=$as_save_IFS 6098 6099fi 6100fi 6101ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6102if test -n "$ac_ct_NMEDIT"; then 6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6104$as_echo "$ac_ct_NMEDIT" >&6; } 6105else 6106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6107$as_echo "no" >&6; } 6108fi 6109 6110 if test "x$ac_ct_NMEDIT" = x; then 6111 NMEDIT=":" 6112 else 6113 case $cross_compiling:$ac_tool_warned in 6114yes:) 6115{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6116$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6117ac_tool_warned=yes ;; 6118esac 6119 NMEDIT=$ac_ct_NMEDIT 6120 fi 6121else 6122 NMEDIT="$ac_cv_prog_NMEDIT" 6123fi 6124 6125 if test -n "$ac_tool_prefix"; then 6126 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6127set dummy ${ac_tool_prefix}lipo; ac_word=$2 6128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6129$as_echo_n "checking for $ac_word... " >&6; } 6130if test "${ac_cv_prog_LIPO+set}" = set; then : 6131 $as_echo_n "(cached) " >&6 6132else 6133 if test -n "$LIPO"; then 6134 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6135else 6136as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6137for as_dir in $PATH 6138do 6139 IFS=$as_save_IFS 6140 test -z "$as_dir" && as_dir=. 6141 for ac_exec_ext in '' $ac_executable_extensions; do 6142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6143 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6145 break 2 6146 fi 6147done 6148 done 6149IFS=$as_save_IFS 6150 6151fi 6152fi 6153LIPO=$ac_cv_prog_LIPO 6154if test -n "$LIPO"; then 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 6156$as_echo "$LIPO" >&6; } 6157else 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6159$as_echo "no" >&6; } 6160fi 6161 6162 6163fi 6164if test -z "$ac_cv_prog_LIPO"; then 6165 ac_ct_LIPO=$LIPO 6166 # Extract the first word of "lipo", so it can be a program name with args. 6167set dummy lipo; ac_word=$2 6168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6169$as_echo_n "checking for $ac_word... " >&6; } 6170if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : 6171 $as_echo_n "(cached) " >&6 6172else 6173 if test -n "$ac_ct_LIPO"; then 6174 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 6175else 6176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6177for as_dir in $PATH 6178do 6179 IFS=$as_save_IFS 6180 test -z "$as_dir" && as_dir=. 6181 for ac_exec_ext in '' $ac_executable_extensions; do 6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6183 ac_cv_prog_ac_ct_LIPO="lipo" 6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6185 break 2 6186 fi 6187done 6188 done 6189IFS=$as_save_IFS 6190 6191fi 6192fi 6193ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 6194if test -n "$ac_ct_LIPO"; then 6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 6196$as_echo "$ac_ct_LIPO" >&6; } 6197else 6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6199$as_echo "no" >&6; } 6200fi 6201 6202 if test "x$ac_ct_LIPO" = x; then 6203 LIPO=":" 6204 else 6205 case $cross_compiling:$ac_tool_warned in 6206yes:) 6207{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6208$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6209ac_tool_warned=yes ;; 6210esac 6211 LIPO=$ac_ct_LIPO 6212 fi 6213else 6214 LIPO="$ac_cv_prog_LIPO" 6215fi 6216 6217 if test -n "$ac_tool_prefix"; then 6218 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 6219set dummy ${ac_tool_prefix}otool; ac_word=$2 6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6221$as_echo_n "checking for $ac_word... " >&6; } 6222if test "${ac_cv_prog_OTOOL+set}" = set; then : 6223 $as_echo_n "(cached) " >&6 6224else 6225 if test -n "$OTOOL"; then 6226 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 6227else 6228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6229for as_dir in $PATH 6230do 6231 IFS=$as_save_IFS 6232 test -z "$as_dir" && as_dir=. 6233 for ac_exec_ext in '' $ac_executable_extensions; do 6234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6235 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 6236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6237 break 2 6238 fi 6239done 6240 done 6241IFS=$as_save_IFS 6242 6243fi 6244fi 6245OTOOL=$ac_cv_prog_OTOOL 6246if test -n "$OTOOL"; then 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 6248$as_echo "$OTOOL" >&6; } 6249else 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6251$as_echo "no" >&6; } 6252fi 6253 6254 6255fi 6256if test -z "$ac_cv_prog_OTOOL"; then 6257 ac_ct_OTOOL=$OTOOL 6258 # Extract the first word of "otool", so it can be a program name with args. 6259set dummy otool; ac_word=$2 6260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6261$as_echo_n "checking for $ac_word... " >&6; } 6262if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : 6263 $as_echo_n "(cached) " >&6 6264else 6265 if test -n "$ac_ct_OTOOL"; then 6266 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 6267else 6268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6269for as_dir in $PATH 6270do 6271 IFS=$as_save_IFS 6272 test -z "$as_dir" && as_dir=. 6273 for ac_exec_ext in '' $ac_executable_extensions; do 6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6275 ac_cv_prog_ac_ct_OTOOL="otool" 6276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6277 break 2 6278 fi 6279done 6280 done 6281IFS=$as_save_IFS 6282 6283fi 6284fi 6285ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 6286if test -n "$ac_ct_OTOOL"; then 6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 6288$as_echo "$ac_ct_OTOOL" >&6; } 6289else 6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6291$as_echo "no" >&6; } 6292fi 6293 6294 if test "x$ac_ct_OTOOL" = x; then 6295 OTOOL=":" 6296 else 6297 case $cross_compiling:$ac_tool_warned in 6298yes:) 6299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6301ac_tool_warned=yes ;; 6302esac 6303 OTOOL=$ac_ct_OTOOL 6304 fi 6305else 6306 OTOOL="$ac_cv_prog_OTOOL" 6307fi 6308 6309 if test -n "$ac_tool_prefix"; then 6310 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 6311set dummy ${ac_tool_prefix}otool64; ac_word=$2 6312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6313$as_echo_n "checking for $ac_word... " >&6; } 6314if test "${ac_cv_prog_OTOOL64+set}" = set; then : 6315 $as_echo_n "(cached) " >&6 6316else 6317 if test -n "$OTOOL64"; then 6318 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 6319else 6320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6321for as_dir in $PATH 6322do 6323 IFS=$as_save_IFS 6324 test -z "$as_dir" && as_dir=. 6325 for ac_exec_ext in '' $ac_executable_extensions; do 6326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6327 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6329 break 2 6330 fi 6331done 6332 done 6333IFS=$as_save_IFS 6334 6335fi 6336fi 6337OTOOL64=$ac_cv_prog_OTOOL64 6338if test -n "$OTOOL64"; then 6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 6340$as_echo "$OTOOL64" >&6; } 6341else 6342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6343$as_echo "no" >&6; } 6344fi 6345 6346 6347fi 6348if test -z "$ac_cv_prog_OTOOL64"; then 6349 ac_ct_OTOOL64=$OTOOL64 6350 # Extract the first word of "otool64", so it can be a program name with args. 6351set dummy otool64; ac_word=$2 6352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6353$as_echo_n "checking for $ac_word... " >&6; } 6354if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : 6355 $as_echo_n "(cached) " >&6 6356else 6357 if test -n "$ac_ct_OTOOL64"; then 6358 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 6359else 6360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6361for as_dir in $PATH 6362do 6363 IFS=$as_save_IFS 6364 test -z "$as_dir" && as_dir=. 6365 for ac_exec_ext in '' $ac_executable_extensions; do 6366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6367 ac_cv_prog_ac_ct_OTOOL64="otool64" 6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6369 break 2 6370 fi 6371done 6372 done 6373IFS=$as_save_IFS 6374 6375fi 6376fi 6377ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 6378if test -n "$ac_ct_OTOOL64"; then 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 6380$as_echo "$ac_ct_OTOOL64" >&6; } 6381else 6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6383$as_echo "no" >&6; } 6384fi 6385 6386 if test "x$ac_ct_OTOOL64" = x; then 6387 OTOOL64=":" 6388 else 6389 case $cross_compiling:$ac_tool_warned in 6390yes:) 6391{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6392$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6393ac_tool_warned=yes ;; 6394esac 6395 OTOOL64=$ac_ct_OTOOL64 6396 fi 6397else 6398 OTOOL64="$ac_cv_prog_OTOOL64" 6399fi 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 6428$as_echo_n "checking for -single_module linker flag... " >&6; } 6429if test "${lt_cv_apple_cc_single_mod+set}" = set; then : 6430 $as_echo_n "(cached) " >&6 6431else 6432 lt_cv_apple_cc_single_mod=no 6433 if test -z "${LT_MULTI_MODULE}"; then 6434 # By default we will add the -single_module flag. You can override 6435 # by either setting the environment variable LT_MULTI_MODULE 6436 # non-empty at configure time, or by adding -multi_module to the 6437 # link flags. 6438 rm -rf libconftest.dylib* 6439 echo "int foo(void){return 1;}" > conftest.c 6440 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6441-dynamiclib -Wl,-single_module conftest.c" >&5 6442 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 6443 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 6444 _lt_result=$? 6445 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then 6446 lt_cv_apple_cc_single_mod=yes 6447 else 6448 cat conftest.err >&5 6449 fi 6450 rm -rf libconftest.dylib* 6451 rm -f conftest.* 6452 fi 6453fi 6454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 6455$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 6457$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 6458if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : 6459 $as_echo_n "(cached) " >&6 6460else 6461 lt_cv_ld_exported_symbols_list=no 6462 save_LDFLAGS=$LDFLAGS 6463 echo "_main" > conftest.sym 6464 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6466/* end confdefs.h. */ 6467 6468int 6469main () 6470{ 6471 6472 ; 6473 return 0; 6474} 6475_ACEOF 6476if ac_fn_c_try_link "$LINENO"; then : 6477 lt_cv_ld_exported_symbols_list=yes 6478else 6479 lt_cv_ld_exported_symbols_list=no 6480fi 6481rm -f core conftest.err conftest.$ac_objext \ 6482 conftest$ac_exeext conftest.$ac_ext 6483 LDFLAGS="$save_LDFLAGS" 6484 6485fi 6486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 6487$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 6488 case $host_os in 6489 rhapsody* | darwin1.[012]) 6490 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 6491 darwin1.*) 6492 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6493 darwin*) # darwin 5.x on 6494 # if running on 10.5 or later, the deployment target defaults 6495 # to the OS version, if on x86, and 10.4, the deployment 6496 # target defaults to 10.4. Don't you love it? 6497 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 6498 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 6499 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6500 10.[012]*) 6501 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 6502 10.*) 6503 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 6504 esac 6505 ;; 6506 esac 6507 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 6508 _lt_dar_single_mod='$single_module' 6509 fi 6510 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 6511 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 6512 else 6513 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 6514 fi 6515 if test "$DSYMUTIL" != ":"; then 6516 _lt_dsymutil='~$DSYMUTIL $lib || :' 6517 else 6518 _lt_dsymutil= 6519 fi 6520 ;; 6521 esac 6522 6523ac_ext=c 6524ac_cpp='$CPP $CPPFLAGS' 6525ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6526ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6527ac_compiler_gnu=$ac_cv_c_compiler_gnu 6528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 6529$as_echo_n "checking how to run the C preprocessor... " >&6; } 6530# On Suns, sometimes $CPP names a directory. 6531if test -n "$CPP" && test -d "$CPP"; then 6532 CPP= 6533fi 6534if test -z "$CPP"; then 6535 if test "${ac_cv_prog_CPP+set}" = set; then : 6536 $as_echo_n "(cached) " >&6 6537else 6538 # Double quotes because CPP needs to be expanded 6539 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6540 do 6541 ac_preproc_ok=false 6542for ac_c_preproc_warn_flag in '' yes 6543do 6544 # Use a header file that comes with gcc, so configuring glibc 6545 # with a fresh cross-compiler works. 6546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6547 # <limits.h> exists even on freestanding compilers. 6548 # On the NeXT, cc -E runs the code through the compiler's parser, 6549 # not just through cpp. "Syntax error" is here to catch this case. 6550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6551/* end confdefs.h. */ 6552#ifdef __STDC__ 6553# include <limits.h> 6554#else 6555# include <assert.h> 6556#endif 6557 Syntax error 6558_ACEOF 6559if ac_fn_c_try_cpp "$LINENO"; then : 6560 6561else 6562 # Broken: fails on valid input. 6563continue 6564fi 6565rm -f conftest.err conftest.$ac_ext 6566 6567 # OK, works on sane cases. Now check whether nonexistent headers 6568 # can be detected and how. 6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6570/* end confdefs.h. */ 6571#include <ac_nonexistent.h> 6572_ACEOF 6573if ac_fn_c_try_cpp "$LINENO"; then : 6574 # Broken: success on invalid input. 6575continue 6576else 6577 # Passes both tests. 6578ac_preproc_ok=: 6579break 6580fi 6581rm -f conftest.err conftest.$ac_ext 6582 6583done 6584# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6585rm -f conftest.err conftest.$ac_ext 6586if $ac_preproc_ok; then : 6587 break 6588fi 6589 6590 done 6591 ac_cv_prog_CPP=$CPP 6592 6593fi 6594 CPP=$ac_cv_prog_CPP 6595else 6596 ac_cv_prog_CPP=$CPP 6597fi 6598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 6599$as_echo "$CPP" >&6; } 6600ac_preproc_ok=false 6601for ac_c_preproc_warn_flag in '' yes 6602do 6603 # Use a header file that comes with gcc, so configuring glibc 6604 # with a fresh cross-compiler works. 6605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6606 # <limits.h> exists even on freestanding compilers. 6607 # On the NeXT, cc -E runs the code through the compiler's parser, 6608 # not just through cpp. "Syntax error" is here to catch this case. 6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6610/* end confdefs.h. */ 6611#ifdef __STDC__ 6612# include <limits.h> 6613#else 6614# include <assert.h> 6615#endif 6616 Syntax error 6617_ACEOF 6618if ac_fn_c_try_cpp "$LINENO"; then : 6619 6620else 6621 # Broken: fails on valid input. 6622continue 6623fi 6624rm -f conftest.err conftest.$ac_ext 6625 6626 # OK, works on sane cases. Now check whether nonexistent headers 6627 # can be detected and how. 6628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6629/* end confdefs.h. */ 6630#include <ac_nonexistent.h> 6631_ACEOF 6632if ac_fn_c_try_cpp "$LINENO"; then : 6633 # Broken: success on invalid input. 6634continue 6635else 6636 # Passes both tests. 6637ac_preproc_ok=: 6638break 6639fi 6640rm -f conftest.err conftest.$ac_ext 6641 6642done 6643# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6644rm -f conftest.err conftest.$ac_ext 6645if $ac_preproc_ok; then : 6646 6647else 6648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6650as_fn_error "C preprocessor \"$CPP\" fails sanity check 6651See \`config.log' for more details." "$LINENO" 5; } 6652fi 6653 6654ac_ext=c 6655ac_cpp='$CPP $CPPFLAGS' 6656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6658ac_compiler_gnu=$ac_cv_c_compiler_gnu 6659 6660 6661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6662$as_echo_n "checking for ANSI C header files... " >&6; } 6663if test "${ac_cv_header_stdc+set}" = set; then : 6664 $as_echo_n "(cached) " >&6 6665else 6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6667/* end confdefs.h. */ 6668#include <stdlib.h> 6669#include <stdarg.h> 6670#include <string.h> 6671#include <float.h> 6672 6673int 6674main () 6675{ 6676 6677 ; 6678 return 0; 6679} 6680_ACEOF 6681if ac_fn_c_try_compile "$LINENO"; then : 6682 ac_cv_header_stdc=yes 6683else 6684 ac_cv_header_stdc=no 6685fi 6686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6687 6688if test $ac_cv_header_stdc = yes; then 6689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6691/* end confdefs.h. */ 6692#include <string.h> 6693 6694_ACEOF 6695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6696 $EGREP "memchr" >/dev/null 2>&1; then : 6697 6698else 6699 ac_cv_header_stdc=no 6700fi 6701rm -f conftest* 6702 6703fi 6704 6705if test $ac_cv_header_stdc = yes; then 6706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6708/* end confdefs.h. */ 6709#include <stdlib.h> 6710 6711_ACEOF 6712if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6713 $EGREP "free" >/dev/null 2>&1; then : 6714 6715else 6716 ac_cv_header_stdc=no 6717fi 6718rm -f conftest* 6719 6720fi 6721 6722if test $ac_cv_header_stdc = yes; then 6723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6724 if test "$cross_compiling" = yes; then : 6725 : 6726else 6727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6728/* end confdefs.h. */ 6729#include <ctype.h> 6730#include <stdlib.h> 6731#if ((' ' & 0x0FF) == 0x020) 6732# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6733# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6734#else 6735# define ISLOWER(c) \ 6736 (('a' <= (c) && (c) <= 'i') \ 6737 || ('j' <= (c) && (c) <= 'r') \ 6738 || ('s' <= (c) && (c) <= 'z')) 6739# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6740#endif 6741 6742#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6743int 6744main () 6745{ 6746 int i; 6747 for (i = 0; i < 256; i++) 6748 if (XOR (islower (i), ISLOWER (i)) 6749 || toupper (i) != TOUPPER (i)) 6750 return 2; 6751 return 0; 6752} 6753_ACEOF 6754if ac_fn_c_try_run "$LINENO"; then : 6755 6756else 6757 ac_cv_header_stdc=no 6758fi 6759rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6760 conftest.$ac_objext conftest.beam conftest.$ac_ext 6761fi 6762 6763fi 6764fi 6765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6766$as_echo "$ac_cv_header_stdc" >&6; } 6767if test $ac_cv_header_stdc = yes; then 6768 6769$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6770 6771fi 6772 6773# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6774for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6775 inttypes.h stdint.h unistd.h 6776do : 6777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6778ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6779" 6780eval as_val=\$$as_ac_Header 6781 if test "x$as_val" = x""yes; then : 6782 cat >>confdefs.h <<_ACEOF 6783#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6784_ACEOF 6785 6786fi 6787 6788done 6789 6790 6791for ac_header in dlfcn.h 6792do : 6793 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 6794" 6795if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 6796 cat >>confdefs.h <<_ACEOF 6797#define HAVE_DLFCN_H 1 6798_ACEOF 6799 6800fi 6801 6802done 6803 6804 6805 6806# Set options 6807 6808 6809 6810 enable_dlopen=no 6811 6812 6813 enable_win32_dll=no 6814 6815 6816 # Check whether --enable-shared was given. 6817if test "${enable_shared+set}" = set; then : 6818 enableval=$enable_shared; p=${PACKAGE-default} 6819 case $enableval in 6820 yes) enable_shared=yes ;; 6821 no) enable_shared=no ;; 6822 *) 6823 enable_shared=no 6824 # Look at the argument we got. We use all the common list separators. 6825 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6826 for pkg in $enableval; do 6827 IFS="$lt_save_ifs" 6828 if test "X$pkg" = "X$p"; then 6829 enable_shared=yes 6830 fi 6831 done 6832 IFS="$lt_save_ifs" 6833 ;; 6834 esac 6835else 6836 enable_shared=yes 6837fi 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 # Check whether --enable-static was given. 6848if test "${enable_static+set}" = set; then : 6849 enableval=$enable_static; p=${PACKAGE-default} 6850 case $enableval in 6851 yes) enable_static=yes ;; 6852 no) enable_static=no ;; 6853 *) 6854 enable_static=no 6855 # Look at the argument we got. We use all the common list separators. 6856 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6857 for pkg in $enableval; do 6858 IFS="$lt_save_ifs" 6859 if test "X$pkg" = "X$p"; then 6860 enable_static=yes 6861 fi 6862 done 6863 IFS="$lt_save_ifs" 6864 ;; 6865 esac 6866else 6867 enable_static=yes 6868fi 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879# Check whether --with-pic was given. 6880if test "${with_pic+set}" = set; then : 6881 withval=$with_pic; pic_mode="$withval" 6882else 6883 pic_mode=default 6884fi 6885 6886 6887test -z "$pic_mode" && pic_mode=default 6888 6889 6890 6891 6892 6893 6894 6895 # Check whether --enable-fast-install was given. 6896if test "${enable_fast_install+set}" = set; then : 6897 enableval=$enable_fast_install; p=${PACKAGE-default} 6898 case $enableval in 6899 yes) enable_fast_install=yes ;; 6900 no) enable_fast_install=no ;; 6901 *) 6902 enable_fast_install=no 6903 # Look at the argument we got. We use all the common list separators. 6904 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 6905 for pkg in $enableval; do 6906 IFS="$lt_save_ifs" 6907 if test "X$pkg" = "X$p"; then 6908 enable_fast_install=yes 6909 fi 6910 done 6911 IFS="$lt_save_ifs" 6912 ;; 6913 esac 6914else 6915 enable_fast_install=yes 6916fi 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928# This can be used to rebuild libtool when needed 6929LIBTOOL_DEPS="$ltmain" 6930 6931# Always use our own libtool. 6932LIBTOOL='$(SHELL) $(top_builddir)/libtool' 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958test -z "$LN_S" && LN_S="ln -s" 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973if test -n "${ZSH_VERSION+set}" ; then 6974 setopt NO_GLOB_SUBST 6975fi 6976 6977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 6978$as_echo_n "checking for objdir... " >&6; } 6979if test "${lt_cv_objdir+set}" = set; then : 6980 $as_echo_n "(cached) " >&6 6981else 6982 rm -f .libs 2>/dev/null 6983mkdir .libs 2>/dev/null 6984if test -d .libs; then 6985 lt_cv_objdir=.libs 6986else 6987 # MS-DOS does not allow filenames that begin with a dot. 6988 lt_cv_objdir=_libs 6989fi 6990rmdir .libs 2>/dev/null 6991fi 6992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 6993$as_echo "$lt_cv_objdir" >&6; } 6994objdir=$lt_cv_objdir 6995 6996 6997 6998 6999 7000cat >>confdefs.h <<_ACEOF 7001#define LT_OBJDIR "$lt_cv_objdir/" 7002_ACEOF 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020case $host_os in 7021aix3*) 7022 # AIX sometimes has problems with the GCC collect2 program. For some 7023 # reason, if we set the COLLECT_NAMES environment variable, the problems 7024 # vanish in a puff of smoke. 7025 if test "X${COLLECT_NAMES+set}" != Xset; then 7026 COLLECT_NAMES= 7027 export COLLECT_NAMES 7028 fi 7029 ;; 7030esac 7031 7032# Sed substitution that helps us do robust quoting. It backslashifies 7033# metacharacters that are still active within double-quoted strings. 7034sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 7035 7036# Same as above, but do not quote variable references. 7037double_quote_subst='s/\(["`\\]\)/\\\1/g' 7038 7039# Sed substitution to delay expansion of an escaped shell variable in a 7040# double_quote_subst'ed string. 7041delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 7042 7043# Sed substitution to delay expansion of an escaped single quote. 7044delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 7045 7046# Sed substitution to avoid accidental globbing in evaled expressions 7047no_glob_subst='s/\*/\\\*/g' 7048 7049# Global variables: 7050ofile=libtool 7051can_build_shared=yes 7052 7053# All known linkers require a `.a' archive for static linking (except MSVC, 7054# which needs '.lib'). 7055libext=a 7056 7057with_gnu_ld="$lt_cv_prog_gnu_ld" 7058 7059old_CC="$CC" 7060old_CFLAGS="$CFLAGS" 7061 7062# Set sane defaults for various variables 7063test -z "$CC" && CC=cc 7064test -z "$LTCC" && LTCC=$CC 7065test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7066test -z "$LD" && LD=ld 7067test -z "$ac_objext" && ac_objext=o 7068 7069for cc_temp in $compiler""; do 7070 case $cc_temp in 7071 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7072 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7073 \-*) ;; 7074 *) break;; 7075 esac 7076done 7077cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 7078 7079 7080# Only perform the check for file, if the check method requires it 7081test -z "$MAGIC_CMD" && MAGIC_CMD=file 7082case $deplibs_check_method in 7083file_magic*) 7084 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7086$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7087if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7088 $as_echo_n "(cached) " >&6 7089else 7090 case $MAGIC_CMD in 7091[\\/*] | ?:[\\/]*) 7092 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7093 ;; 7094*) 7095 lt_save_MAGIC_CMD="$MAGIC_CMD" 7096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7097 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7098 for ac_dir in $ac_dummy; do 7099 IFS="$lt_save_ifs" 7100 test -z "$ac_dir" && ac_dir=. 7101 if test -f $ac_dir/${ac_tool_prefix}file; then 7102 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7103 if test -n "$file_magic_test_file"; then 7104 case $deplibs_check_method in 7105 "file_magic "*) 7106 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7107 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7108 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7109 $EGREP "$file_magic_regex" > /dev/null; then 7110 : 7111 else 7112 cat <<_LT_EOF 1>&2 7113 7114*** Warning: the command libtool uses to detect shared libraries, 7115*** $file_magic_cmd, produces output that libtool cannot recognize. 7116*** The result is that libtool may fail to recognize shared libraries 7117*** as such. This will affect the creation of libtool libraries that 7118*** depend on shared libraries, but programs linked with such libtool 7119*** libraries will work regardless of this problem. Nevertheless, you 7120*** may want to report the problem to your system manager and/or to 7121*** bug-libtool@gnu.org 7122 7123_LT_EOF 7124 fi ;; 7125 esac 7126 fi 7127 break 7128 fi 7129 done 7130 IFS="$lt_save_ifs" 7131 MAGIC_CMD="$lt_save_MAGIC_CMD" 7132 ;; 7133esac 7134fi 7135 7136MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7137if test -n "$MAGIC_CMD"; then 7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7139$as_echo "$MAGIC_CMD" >&6; } 7140else 7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7142$as_echo "no" >&6; } 7143fi 7144 7145 7146 7147 7148 7149if test -z "$lt_cv_path_MAGIC_CMD"; then 7150 if test -n "$ac_tool_prefix"; then 7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 7152$as_echo_n "checking for file... " >&6; } 7153if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : 7154 $as_echo_n "(cached) " >&6 7155else 7156 case $MAGIC_CMD in 7157[\\/*] | ?:[\\/]*) 7158 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7159 ;; 7160*) 7161 lt_save_MAGIC_CMD="$MAGIC_CMD" 7162 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7163 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7164 for ac_dir in $ac_dummy; do 7165 IFS="$lt_save_ifs" 7166 test -z "$ac_dir" && ac_dir=. 7167 if test -f $ac_dir/file; then 7168 lt_cv_path_MAGIC_CMD="$ac_dir/file" 7169 if test -n "$file_magic_test_file"; then 7170 case $deplibs_check_method in 7171 "file_magic "*) 7172 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7174 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7175 $EGREP "$file_magic_regex" > /dev/null; then 7176 : 7177 else 7178 cat <<_LT_EOF 1>&2 7179 7180*** Warning: the command libtool uses to detect shared libraries, 7181*** $file_magic_cmd, produces output that libtool cannot recognize. 7182*** The result is that libtool may fail to recognize shared libraries 7183*** as such. This will affect the creation of libtool libraries that 7184*** depend on shared libraries, but programs linked with such libtool 7185*** libraries will work regardless of this problem. Nevertheless, you 7186*** may want to report the problem to your system manager and/or to 7187*** bug-libtool@gnu.org 7188 7189_LT_EOF 7190 fi ;; 7191 esac 7192 fi 7193 break 7194 fi 7195 done 7196 IFS="$lt_save_ifs" 7197 MAGIC_CMD="$lt_save_MAGIC_CMD" 7198 ;; 7199esac 7200fi 7201 7202MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7203if test -n "$MAGIC_CMD"; then 7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 7205$as_echo "$MAGIC_CMD" >&6; } 7206else 7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7208$as_echo "no" >&6; } 7209fi 7210 7211 7212 else 7213 MAGIC_CMD=: 7214 fi 7215fi 7216 7217 fi 7218 ;; 7219esac 7220 7221# Use C for the default configuration in the libtool script 7222 7223lt_save_CC="$CC" 7224ac_ext=c 7225ac_cpp='$CPP $CPPFLAGS' 7226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7228ac_compiler_gnu=$ac_cv_c_compiler_gnu 7229 7230 7231# Source file extension for C test sources. 7232ac_ext=c 7233 7234# Object file extension for compiled C test sources. 7235objext=o 7236objext=$objext 7237 7238# Code to be used in simple compile tests 7239lt_simple_compile_test_code="int some_variable = 0;" 7240 7241# Code to be used in simple link tests 7242lt_simple_link_test_code='int main(){return(0);}' 7243 7244 7245 7246 7247 7248 7249 7250# If no C compiler was specified, use CC. 7251LTCC=${LTCC-"$CC"} 7252 7253# If no C compiler flags were specified, use CFLAGS. 7254LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7255 7256# Allow CC to be a program name with arguments. 7257compiler=$CC 7258 7259# Save the default compiler, since it gets overwritten when the other 7260# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 7261compiler_DEFAULT=$CC 7262 7263# save warnings/boilerplate of simple test code 7264ac_outfile=conftest.$ac_objext 7265echo "$lt_simple_compile_test_code" >conftest.$ac_ext 7266eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7267_lt_compiler_boilerplate=`cat conftest.err` 7268$RM conftest* 7269 7270ac_outfile=conftest.$ac_objext 7271echo "$lt_simple_link_test_code" >conftest.$ac_ext 7272eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7273_lt_linker_boilerplate=`cat conftest.err` 7274$RM -r conftest* 7275 7276 7277if test -n "$compiler"; then 7278 7279lt_prog_compiler_no_builtin_flag= 7280 7281if test "$GCC" = yes; then 7282 lt_prog_compiler_no_builtin_flag=' -fno-builtin' 7283 7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 7285$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 7286if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : 7287 $as_echo_n "(cached) " >&6 7288else 7289 lt_cv_prog_compiler_rtti_exceptions=no 7290 ac_outfile=conftest.$ac_objext 7291 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7292 lt_compiler_flag="-fno-rtti -fno-exceptions" 7293 # Insert the option either (1) after the last *FLAGS variable, or 7294 # (2) before a word containing "conftest.", or (3) at the end. 7295 # Note that $ac_compile itself does not contain backslashes and begins 7296 # with a dollar sign (not a hyphen), so the echo should work correctly. 7297 # The option is referenced via a variable to avoid confusing sed. 7298 lt_compile=`echo "$ac_compile" | $SED \ 7299 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7300 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7301 -e 's:$: $lt_compiler_flag:'` 7302 (eval echo "\"\$as_me:7302: $lt_compile\"" >&5) 7303 (eval "$lt_compile" 2>conftest.err) 7304 ac_status=$? 7305 cat conftest.err >&5 7306 echo "$as_me:7306: \$? = $ac_status" >&5 7307 if (exit $ac_status) && test -s "$ac_outfile"; then 7308 # The compiler can only warn and ignore the option if not recognized 7309 # So say no if there are warnings other than the usual output. 7310 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7311 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7312 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7313 lt_cv_prog_compiler_rtti_exceptions=yes 7314 fi 7315 fi 7316 $RM conftest* 7317 7318fi 7319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 7320$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 7321 7322if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 7323 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 7324else 7325 : 7326fi 7327 7328fi 7329 7330 7331 7332 7333 7334 7335 lt_prog_compiler_wl= 7336lt_prog_compiler_pic= 7337lt_prog_compiler_static= 7338 7339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 7340$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 7341 7342 if test "$GCC" = yes; then 7343 lt_prog_compiler_wl='-Wl,' 7344 lt_prog_compiler_static='-static' 7345 7346 case $host_os in 7347 aix*) 7348 # All AIX code is PIC. 7349 if test "$host_cpu" = ia64; then 7350 # AIX 5 now supports IA64 processor 7351 lt_prog_compiler_static='-Bstatic' 7352 fi 7353 ;; 7354 7355 amigaos*) 7356 case $host_cpu in 7357 powerpc) 7358 # see comment about AmigaOS4 .so support 7359 lt_prog_compiler_pic='-fPIC' 7360 ;; 7361 m68k) 7362 # FIXME: we need at least 68020 code to build shared libraries, but 7363 # adding the `-m68020' flag to GCC prevents building anything better, 7364 # like `-m68040'. 7365 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 7366 ;; 7367 esac 7368 ;; 7369 7370 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 7371 # PIC is the default for these OSes. 7372 ;; 7373 7374 mingw* | cygwin* | pw32* | os2* | cegcc*) 7375 # This hack is so that the source file can tell whether it is being 7376 # built for inclusion in a dll (and should export symbols for example). 7377 # Although the cygwin gcc ignores -fPIC, still need this for old-style 7378 # (--disable-auto-import) libraries 7379 lt_prog_compiler_pic='-DDLL_EXPORT' 7380 ;; 7381 7382 darwin* | rhapsody*) 7383 # PIC is the default on this platform 7384 # Common symbols not allowed in MH_DYLIB files 7385 lt_prog_compiler_pic='-fno-common' 7386 ;; 7387 7388 hpux*) 7389 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 7390 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 7391 # sets the default TLS model and affects inlining. 7392 case $host_cpu in 7393 hppa*64*) 7394 # +Z the default 7395 ;; 7396 *) 7397 lt_prog_compiler_pic='-fPIC' 7398 ;; 7399 esac 7400 ;; 7401 7402 interix[3-9]*) 7403 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 7404 # Instead, we relocate shared libraries at runtime. 7405 ;; 7406 7407 msdosdjgpp*) 7408 # Just because we use GCC doesn't mean we suddenly get shared libraries 7409 # on systems that don't support them. 7410 lt_prog_compiler_can_build_shared=no 7411 enable_shared=no 7412 ;; 7413 7414 *nto* | *qnx*) 7415 # QNX uses GNU C++, but need to define -shared option too, otherwise 7416 # it will coredump. 7417 lt_prog_compiler_pic='-fPIC -shared' 7418 ;; 7419 7420 sysv4*MP*) 7421 if test -d /usr/nec; then 7422 lt_prog_compiler_pic=-Kconform_pic 7423 fi 7424 ;; 7425 7426 *) 7427 lt_prog_compiler_pic='-fPIC' 7428 ;; 7429 esac 7430 else 7431 # PORTME Check for flag to pass linker flags through the system compiler. 7432 case $host_os in 7433 aix*) 7434 lt_prog_compiler_wl='-Wl,' 7435 if test "$host_cpu" = ia64; then 7436 # AIX 5 now supports IA64 processor 7437 lt_prog_compiler_static='-Bstatic' 7438 else 7439 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 7440 fi 7441 ;; 7442 7443 mingw* | cygwin* | pw32* | os2* | cegcc*) 7444 # This hack is so that the source file can tell whether it is being 7445 # built for inclusion in a dll (and should export symbols for example). 7446 lt_prog_compiler_pic='-DDLL_EXPORT' 7447 ;; 7448 7449 hpux9* | hpux10* | hpux11*) 7450 lt_prog_compiler_wl='-Wl,' 7451 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 7452 # not for PA HP-UX. 7453 case $host_cpu in 7454 hppa*64*|ia64*) 7455 # +Z the default 7456 ;; 7457 *) 7458 lt_prog_compiler_pic='+Z' 7459 ;; 7460 esac 7461 # Is there a better lt_prog_compiler_static that works with the bundled CC? 7462 lt_prog_compiler_static='${wl}-a ${wl}archive' 7463 ;; 7464 7465 irix5* | irix6* | nonstopux*) 7466 lt_prog_compiler_wl='-Wl,' 7467 # PIC (with -KPIC) is the default. 7468 lt_prog_compiler_static='-non_shared' 7469 ;; 7470 7471 linux* | k*bsd*-gnu) 7472 case $cc_basename in 7473 # old Intel for x86_64 which still supported -KPIC. 7474 ecc*) 7475 lt_prog_compiler_wl='-Wl,' 7476 lt_prog_compiler_pic='-KPIC' 7477 lt_prog_compiler_static='-static' 7478 ;; 7479 # icc used to be incompatible with GCC. 7480 # ICC 10 doesn't accept -KPIC any more. 7481 icc* | ifort*) 7482 lt_prog_compiler_wl='-Wl,' 7483 lt_prog_compiler_pic='-fPIC' 7484 lt_prog_compiler_static='-static' 7485 ;; 7486 # Lahey Fortran 8.1. 7487 lf95*) 7488 lt_prog_compiler_wl='-Wl,' 7489 lt_prog_compiler_pic='--shared' 7490 lt_prog_compiler_static='--static' 7491 ;; 7492 pgcc* | pgf77* | pgf90* | pgf95*) 7493 # Portland Group compilers (*not* the Pentium gcc compiler, 7494 # which looks to be a dead project) 7495 lt_prog_compiler_wl='-Wl,' 7496 lt_prog_compiler_pic='-fpic' 7497 lt_prog_compiler_static='-Bstatic' 7498 ;; 7499 ccc*) 7500 lt_prog_compiler_wl='-Wl,' 7501 # All Alpha code is PIC. 7502 lt_prog_compiler_static='-non_shared' 7503 ;; 7504 xl*) 7505 # IBM XL C 8.0/Fortran 10.1 on PPC 7506 lt_prog_compiler_wl='-Wl,' 7507 lt_prog_compiler_pic='-qpic' 7508 lt_prog_compiler_static='-qstaticlink' 7509 ;; 7510 *) 7511 case `$CC -V 2>&1 | sed 5q` in 7512 *Sun\ C*) 7513 # Sun C 5.9 7514 lt_prog_compiler_pic='-KPIC' 7515 lt_prog_compiler_static='-Bstatic' 7516 lt_prog_compiler_wl='-Wl,' 7517 ;; 7518 *Sun\ F*) 7519 # Sun Fortran 8.3 passes all unrecognized flags to the linker 7520 lt_prog_compiler_pic='-KPIC' 7521 lt_prog_compiler_static='-Bstatic' 7522 lt_prog_compiler_wl='' 7523 ;; 7524 esac 7525 ;; 7526 esac 7527 ;; 7528 7529 newsos6) 7530 lt_prog_compiler_pic='-KPIC' 7531 lt_prog_compiler_static='-Bstatic' 7532 ;; 7533 7534 *nto* | *qnx*) 7535 # QNX uses GNU C++, but need to define -shared option too, otherwise 7536 # it will coredump. 7537 lt_prog_compiler_pic='-fPIC -shared' 7538 ;; 7539 7540 osf3* | osf4* | osf5*) 7541 lt_prog_compiler_wl='-Wl,' 7542 # All OSF/1 code is PIC. 7543 lt_prog_compiler_static='-non_shared' 7544 ;; 7545 7546 rdos*) 7547 lt_prog_compiler_static='-non_shared' 7548 ;; 7549 7550 solaris*) 7551 lt_prog_compiler_pic='-KPIC' 7552 lt_prog_compiler_static='-Bstatic' 7553 case $cc_basename in 7554 f77* | f90* | f95*) 7555 lt_prog_compiler_wl='-Qoption ld ';; 7556 *) 7557 lt_prog_compiler_wl='-Wl,';; 7558 esac 7559 ;; 7560 7561 sunos4*) 7562 lt_prog_compiler_wl='-Qoption ld ' 7563 lt_prog_compiler_pic='-PIC' 7564 lt_prog_compiler_static='-Bstatic' 7565 ;; 7566 7567 sysv4 | sysv4.2uw2* | sysv4.3*) 7568 lt_prog_compiler_wl='-Wl,' 7569 lt_prog_compiler_pic='-KPIC' 7570 lt_prog_compiler_static='-Bstatic' 7571 ;; 7572 7573 sysv4*MP*) 7574 if test -d /usr/nec ;then 7575 lt_prog_compiler_pic='-Kconform_pic' 7576 lt_prog_compiler_static='-Bstatic' 7577 fi 7578 ;; 7579 7580 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 7581 lt_prog_compiler_wl='-Wl,' 7582 lt_prog_compiler_pic='-KPIC' 7583 lt_prog_compiler_static='-Bstatic' 7584 ;; 7585 7586 unicos*) 7587 lt_prog_compiler_wl='-Wl,' 7588 lt_prog_compiler_can_build_shared=no 7589 ;; 7590 7591 uts4*) 7592 lt_prog_compiler_pic='-pic' 7593 lt_prog_compiler_static='-Bstatic' 7594 ;; 7595 7596 *) 7597 lt_prog_compiler_can_build_shared=no 7598 ;; 7599 esac 7600 fi 7601 7602case $host_os in 7603 # For platforms which do not support PIC, -DPIC is meaningless: 7604 *djgpp*) 7605 lt_prog_compiler_pic= 7606 ;; 7607 *) 7608 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 7609 ;; 7610esac 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 7612$as_echo "$lt_prog_compiler_pic" >&6; } 7613 7614 7615 7616 7617 7618 7619# 7620# Check to make sure the PIC flag actually works. 7621# 7622if test -n "$lt_prog_compiler_pic"; then 7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 7624$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 7625if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : 7626 $as_echo_n "(cached) " >&6 7627else 7628 lt_cv_prog_compiler_pic_works=no 7629 ac_outfile=conftest.$ac_objext 7630 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7631 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 7632 # Insert the option either (1) after the last *FLAGS variable, or 7633 # (2) before a word containing "conftest.", or (3) at the end. 7634 # Note that $ac_compile itself does not contain backslashes and begins 7635 # with a dollar sign (not a hyphen), so the echo should work correctly. 7636 # The option is referenced via a variable to avoid confusing sed. 7637 lt_compile=`echo "$ac_compile" | $SED \ 7638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7640 -e 's:$: $lt_compiler_flag:'` 7641 (eval echo "\"\$as_me:7641: $lt_compile\"" >&5) 7642 (eval "$lt_compile" 2>conftest.err) 7643 ac_status=$? 7644 cat conftest.err >&5 7645 echo "$as_me:7645: \$? = $ac_status" >&5 7646 if (exit $ac_status) && test -s "$ac_outfile"; then 7647 # The compiler can only warn and ignore the option if not recognized 7648 # So say no if there are warnings other than the usual output. 7649 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7650 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7651 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 7652 lt_cv_prog_compiler_pic_works=yes 7653 fi 7654 fi 7655 $RM conftest* 7656 7657fi 7658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 7659$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 7660 7661if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 7662 case $lt_prog_compiler_pic in 7663 "" | " "*) ;; 7664 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 7665 esac 7666else 7667 lt_prog_compiler_pic= 7668 lt_prog_compiler_can_build_shared=no 7669fi 7670 7671fi 7672 7673 7674 7675 7676 7677 7678# 7679# Check to make sure the static flag actually works. 7680# 7681wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 7682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 7683$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 7684if test "${lt_cv_prog_compiler_static_works+set}" = set; then : 7685 $as_echo_n "(cached) " >&6 7686else 7687 lt_cv_prog_compiler_static_works=no 7688 save_LDFLAGS="$LDFLAGS" 7689 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 7690 echo "$lt_simple_link_test_code" > conftest.$ac_ext 7691 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 7692 # The linker can only warn and ignore the option if not recognized 7693 # So say no if there are warnings 7694 if test -s conftest.err; then 7695 # Append any errors to the config.log. 7696 cat conftest.err 1>&5 7697 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 7698 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7699 if diff conftest.exp conftest.er2 >/dev/null; then 7700 lt_cv_prog_compiler_static_works=yes 7701 fi 7702 else 7703 lt_cv_prog_compiler_static_works=yes 7704 fi 7705 fi 7706 $RM -r conftest* 7707 LDFLAGS="$save_LDFLAGS" 7708 7709fi 7710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 7711$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 7712 7713if test x"$lt_cv_prog_compiler_static_works" = xyes; then 7714 : 7715else 7716 lt_prog_compiler_static= 7717fi 7718 7719 7720 7721 7722 7723 7724 7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7726$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7727if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7728 $as_echo_n "(cached) " >&6 7729else 7730 lt_cv_prog_compiler_c_o=no 7731 $RM -r conftest 2>/dev/null 7732 mkdir conftest 7733 cd conftest 7734 mkdir out 7735 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7736 7737 lt_compiler_flag="-o out/conftest2.$ac_objext" 7738 # Insert the option either (1) after the last *FLAGS variable, or 7739 # (2) before a word containing "conftest.", or (3) at the end. 7740 # Note that $ac_compile itself does not contain backslashes and begins 7741 # with a dollar sign (not a hyphen), so the echo should work correctly. 7742 lt_compile=`echo "$ac_compile" | $SED \ 7743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7745 -e 's:$: $lt_compiler_flag:'` 7746 (eval echo "\"\$as_me:7746: $lt_compile\"" >&5) 7747 (eval "$lt_compile" 2>out/conftest.err) 7748 ac_status=$? 7749 cat out/conftest.err >&5 7750 echo "$as_me:7750: \$? = $ac_status" >&5 7751 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7752 then 7753 # The compiler can only warn and ignore the option if not recognized 7754 # So say no if there are warnings 7755 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7756 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7757 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7758 lt_cv_prog_compiler_c_o=yes 7759 fi 7760 fi 7761 chmod u+w . 2>&5 7762 $RM conftest* 7763 # SGI C++ compiler will create directory out/ii_files/ for 7764 # template instantiation 7765 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7766 $RM out/* && rmdir out 7767 cd .. 7768 $RM -r conftest 7769 $RM conftest* 7770 7771fi 7772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7773$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7774 7775 7776 7777 7778 7779 7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 7781$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 7782if test "${lt_cv_prog_compiler_c_o+set}" = set; then : 7783 $as_echo_n "(cached) " >&6 7784else 7785 lt_cv_prog_compiler_c_o=no 7786 $RM -r conftest 2>/dev/null 7787 mkdir conftest 7788 cd conftest 7789 mkdir out 7790 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 7791 7792 lt_compiler_flag="-o out/conftest2.$ac_objext" 7793 # Insert the option either (1) after the last *FLAGS variable, or 7794 # (2) before a word containing "conftest.", or (3) at the end. 7795 # Note that $ac_compile itself does not contain backslashes and begins 7796 # with a dollar sign (not a hyphen), so the echo should work correctly. 7797 lt_compile=`echo "$ac_compile" | $SED \ 7798 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7799 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7800 -e 's:$: $lt_compiler_flag:'` 7801 (eval echo "\"\$as_me:7801: $lt_compile\"" >&5) 7802 (eval "$lt_compile" 2>out/conftest.err) 7803 ac_status=$? 7804 cat out/conftest.err >&5 7805 echo "$as_me:7805: \$? = $ac_status" >&5 7806 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7807 then 7808 # The compiler can only warn and ignore the option if not recognized 7809 # So say no if there are warnings 7810 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7811 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 7812 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 7813 lt_cv_prog_compiler_c_o=yes 7814 fi 7815 fi 7816 chmod u+w . 2>&5 7817 $RM conftest* 7818 # SGI C++ compiler will create directory out/ii_files/ for 7819 # template instantiation 7820 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 7821 $RM out/* && rmdir out 7822 cd .. 7823 $RM -r conftest 7824 $RM conftest* 7825 7826fi 7827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 7828$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 7829 7830 7831 7832 7833hard_links="nottested" 7834if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 7835 # do not overwrite the value of need_locks provided by the user 7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 7837$as_echo_n "checking if we can lock with hard links... " >&6; } 7838 hard_links=yes 7839 $RM conftest* 7840 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7841 touch conftest.a 7842 ln conftest.a conftest.b 2>&5 || hard_links=no 7843 ln conftest.a conftest.b 2>/dev/null && hard_links=no 7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 7845$as_echo "$hard_links" >&6; } 7846 if test "$hard_links" = no; then 7847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 7848$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 7849 need_locks=warn 7850 fi 7851else 7852 need_locks=no 7853fi 7854 7855 7856 7857 7858 7859 7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 7861$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 7862 7863 runpath_var= 7864 allow_undefined_flag= 7865 always_export_symbols=no 7866 archive_cmds= 7867 archive_expsym_cmds= 7868 compiler_needs_object=no 7869 enable_shared_with_static_runtimes=no 7870 export_dynamic_flag_spec= 7871 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 7872 hardcode_automatic=no 7873 hardcode_direct=no 7874 hardcode_direct_absolute=no 7875 hardcode_libdir_flag_spec= 7876 hardcode_libdir_flag_spec_ld= 7877 hardcode_libdir_separator= 7878 hardcode_minus_L=no 7879 hardcode_shlibpath_var=unsupported 7880 inherit_rpath=no 7881 link_all_deplibs=unknown 7882 module_cmds= 7883 module_expsym_cmds= 7884 old_archive_from_new_cmds= 7885 old_archive_from_expsyms_cmds= 7886 thread_safe_flag_spec= 7887 whole_archive_flag_spec= 7888 # include_expsyms should be a list of space-separated symbols to be *always* 7889 # included in the symbol list 7890 include_expsyms= 7891 # exclude_expsyms can be an extended regexp of symbols to exclude 7892 # it will be wrapped by ` (' and `)$', so one must not match beginning or 7893 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 7894 # as well as any symbol that contains `d'. 7895 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 7896 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 7897 # platforms (ab)use it in PIC code, but their linkers get confused if 7898 # the symbol is explicitly referenced. Since portable code cannot 7899 # rely on this symbol name, it's probably fine to never include it in 7900 # preloaded symbol tables. 7901 # Exclude shared library initialization/finalization symbols. 7902 extract_expsyms_cmds= 7903 7904 case $host_os in 7905 cygwin* | mingw* | pw32* | cegcc*) 7906 # FIXME: the MSVC++ port hasn't been tested in a loooong time 7907 # When not using gcc, we currently assume that we are using 7908 # Microsoft Visual C++. 7909 if test "$GCC" != yes; then 7910 with_gnu_ld=no 7911 fi 7912 ;; 7913 interix*) 7914 # we just hope/assume this is gcc and not c89 (= MSVC++) 7915 with_gnu_ld=yes 7916 ;; 7917 openbsd*) 7918 with_gnu_ld=no 7919 ;; 7920 esac 7921 7922 ld_shlibs=yes 7923 if test "$with_gnu_ld" = yes; then 7924 # If archive_cmds runs LD, not CC, wlarc should be empty 7925 wlarc='${wl}' 7926 7927 # Set some defaults for GNU ld with shared library support. These 7928 # are reset later if shared libraries are not supported. Putting them 7929 # here allows them to be overridden if necessary. 7930 runpath_var=LD_RUN_PATH 7931 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 7932 export_dynamic_flag_spec='${wl}--export-dynamic' 7933 # ancient GNU ld didn't support --whole-archive et. al. 7934 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 7935 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 7936 else 7937 whole_archive_flag_spec= 7938 fi 7939 supports_anon_versioning=no 7940 case `$LD -v 2>&1` in 7941 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 7942 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 7943 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 7944 *\ 2.11.*) ;; # other 2.11 versions 7945 *) supports_anon_versioning=yes ;; 7946 esac 7947 7948 # See if GNU ld supports shared libraries. 7949 case $host_os in 7950 aix[3-9]*) 7951 # On AIX/PPC, the GNU linker is very broken 7952 if test "$host_cpu" != ia64; then 7953 ld_shlibs=no 7954 cat <<_LT_EOF 1>&2 7955 7956*** Warning: the GNU linker, at least up to release 2.9.1, is reported 7957*** to be unable to reliably create shared libraries on AIX. 7958*** Therefore, libtool is disabling shared libraries support. If you 7959*** really care for shared libraries, you may want to modify your PATH 7960*** so that a non-GNU linker is found, and then restart. 7961 7962_LT_EOF 7963 fi 7964 ;; 7965 7966 amigaos*) 7967 case $host_cpu in 7968 powerpc) 7969 # see comment about AmigaOS4 .so support 7970 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7971 archive_expsym_cmds='' 7972 ;; 7973 m68k) 7974 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)' 7975 hardcode_libdir_flag_spec='-L$libdir' 7976 hardcode_minus_L=yes 7977 ;; 7978 esac 7979 ;; 7980 7981 beos*) 7982 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 7983 allow_undefined_flag=unsupported 7984 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 7985 # support --undefined. This deserves some investigation. FIXME 7986 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 7987 else 7988 ld_shlibs=no 7989 fi 7990 ;; 7991 7992 cygwin* | mingw* | pw32* | cegcc*) 7993 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 7994 # as there is no search path for DLLs. 7995 hardcode_libdir_flag_spec='-L$libdir' 7996 allow_undefined_flag=unsupported 7997 always_export_symbols=no 7998 enable_shared_with_static_runtimes=yes 7999 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 8000 8001 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8002 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8003 # If the export-symbols file already is a .def file (1st line 8004 # is EXPORTS), use it as is; otherwise, prepend... 8005 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8006 cp $export_symbols $output_objdir/$soname.def; 8007 else 8008 echo EXPORTS > $output_objdir/$soname.def; 8009 cat $export_symbols >> $output_objdir/$soname.def; 8010 fi~ 8011 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8012 else 8013 ld_shlibs=no 8014 fi 8015 ;; 8016 8017 interix[3-9]*) 8018 hardcode_direct=no 8019 hardcode_shlibpath_var=no 8020 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8021 export_dynamic_flag_spec='${wl}-E' 8022 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 8023 # Instead, shared libraries are loaded at an image base (0x10000000 by 8024 # default) and relocated if they conflict, which is a slow very memory 8025 # consuming and fragmenting process. To avoid this, we pick a random, 8026 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 8027 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 8028 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 8029 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' 8030 ;; 8031 8032 gnu* | linux* | tpf* | k*bsd*-gnu) 8033 tmp_diet=no 8034 if test "$host_os" = linux-dietlibc; then 8035 case $cc_basename in 8036 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 8037 esac 8038 fi 8039 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 8040 && test "$tmp_diet" = no 8041 then 8042 tmp_addflag= 8043 tmp_sharedflag='-shared' 8044 case $cc_basename,$host_cpu in 8045 pgcc*) # Portland Group C compiler 8046 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' 8047 tmp_addflag=' $pic_flag' 8048 ;; 8049 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers 8050 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' 8051 tmp_addflag=' $pic_flag -Mnomain' ;; 8052 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 8053 tmp_addflag=' -i_dynamic' ;; 8054 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 8055 tmp_addflag=' -i_dynamic -nofor_main' ;; 8056 ifc* | ifort*) # Intel Fortran compiler 8057 tmp_addflag=' -nofor_main' ;; 8058 lf95*) # Lahey Fortran 8.1 8059 whole_archive_flag_spec= 8060 tmp_sharedflag='--shared' ;; 8061 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 8062 tmp_sharedflag='-qmkshrobj' 8063 tmp_addflag= ;; 8064 esac 8065 case `$CC -V 2>&1 | sed 5q` in 8066 *Sun\ C*) # Sun C 5.9 8067 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' 8068 compiler_needs_object=yes 8069 tmp_sharedflag='-G' ;; 8070 *Sun\ F*) # Sun Fortran 8.3 8071 tmp_sharedflag='-G' ;; 8072 esac 8073 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8074 8075 if test "x$supports_anon_versioning" = xyes; then 8076 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8077 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8078 echo "local: *; };" >> $output_objdir/$libname.ver~ 8079 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 8080 fi 8081 8082 case $cc_basename in 8083 xlf*) 8084 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 8085 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 8086 hardcode_libdir_flag_spec= 8087 hardcode_libdir_flag_spec_ld='-rpath $libdir' 8088 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' 8089 if test "x$supports_anon_versioning" = xyes; then 8090 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 8091 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 8092 echo "local: *; };" >> $output_objdir/$libname.ver~ 8093 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 8094 fi 8095 ;; 8096 esac 8097 else 8098 ld_shlibs=no 8099 fi 8100 ;; 8101 8102 netbsd*) 8103 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8104 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 8105 wlarc= 8106 else 8107 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8108 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8109 fi 8110 ;; 8111 8112 solaris*) 8113 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 8114 ld_shlibs=no 8115 cat <<_LT_EOF 1>&2 8116 8117*** Warning: The releases 2.8.* of the GNU linker cannot reliably 8118*** create shared libraries on Solaris systems. Therefore, libtool 8119*** is disabling shared libraries support. We urge you to upgrade GNU 8120*** binutils to release 2.9.1 or newer. Another option is to modify 8121*** your PATH or compiler configuration so that the native linker is 8122*** used, and then restart. 8123 8124_LT_EOF 8125 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8126 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8127 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8128 else 8129 ld_shlibs=no 8130 fi 8131 ;; 8132 8133 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 8134 case `$LD -v 2>&1` in 8135 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 8136 ld_shlibs=no 8137 cat <<_LT_EOF 1>&2 8138 8139*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 8140*** reliably create shared libraries on SCO systems. Therefore, libtool 8141*** is disabling shared libraries support. We urge you to upgrade GNU 8142*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 8143*** your PATH or compiler configuration so that the native linker is 8144*** used, and then restart. 8145 8146_LT_EOF 8147 ;; 8148 *) 8149 # For security reasons, it is highly recommended that you always 8150 # use absolute paths for naming shared libraries, and exclude the 8151 # DT_RUNPATH tag from executables and libraries. But doing so 8152 # requires that you compile everything twice, which is a pain. 8153 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8154 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8155 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8156 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8157 else 8158 ld_shlibs=no 8159 fi 8160 ;; 8161 esac 8162 ;; 8163 8164 sunos4*) 8165 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8166 wlarc= 8167 hardcode_direct=yes 8168 hardcode_shlibpath_var=no 8169 ;; 8170 8171 *) 8172 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8174 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 8175 else 8176 ld_shlibs=no 8177 fi 8178 ;; 8179 esac 8180 8181 if test "$ld_shlibs" = no; then 8182 runpath_var= 8183 hardcode_libdir_flag_spec= 8184 export_dynamic_flag_spec= 8185 whole_archive_flag_spec= 8186 fi 8187 else 8188 # PORTME fill in a description of your system's linker (not GNU ld) 8189 case $host_os in 8190 aix3*) 8191 allow_undefined_flag=unsupported 8192 always_export_symbols=yes 8193 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' 8194 # Note: this linker hardcodes the directories in LIBPATH if there 8195 # are no directories specified by -L. 8196 hardcode_minus_L=yes 8197 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 8198 # Neither direct hardcoding nor static linking is supported with a 8199 # broken collect2. 8200 hardcode_direct=unsupported 8201 fi 8202 ;; 8203 8204 aix[4-9]*) 8205 if test "$host_cpu" = ia64; then 8206 # On IA64, the linker does run time linking by default, so we don't 8207 # have to do anything special. 8208 aix_use_runtimelinking=no 8209 exp_sym_flag='-Bexport' 8210 no_entry_flag="" 8211 else 8212 # If we're using GNU nm, then we don't want the "-C" option. 8213 # -C means demangle to AIX nm, but means don't demangle with GNU nm 8214 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 8215 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' 8216 else 8217 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' 8218 fi 8219 aix_use_runtimelinking=no 8220 8221 # Test if we are trying to use run time linking or normal 8222 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 8223 # need to do runtime linking. 8224 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 8225 for ld_flag in $LDFLAGS; do 8226 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 8227 aix_use_runtimelinking=yes 8228 break 8229 fi 8230 done 8231 ;; 8232 esac 8233 8234 exp_sym_flag='-bexport' 8235 no_entry_flag='-bnoentry' 8236 fi 8237 8238 # When large executables or shared objects are built, AIX ld can 8239 # have problems creating the table of contents. If linking a library 8240 # or program results in "error TOC overflow" add -mminimal-toc to 8241 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 8242 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 8243 8244 archive_cmds='' 8245 hardcode_direct=yes 8246 hardcode_direct_absolute=yes 8247 hardcode_libdir_separator=':' 8248 link_all_deplibs=yes 8249 file_list_spec='${wl}-f,' 8250 8251 if test "$GCC" = yes; then 8252 case $host_os in aix4.[012]|aix4.[012].*) 8253 # We only want to do this on AIX 4.2 and lower, the check 8254 # below for broken collect2 doesn't work under 4.3+ 8255 collect2name=`${CC} -print-prog-name=collect2` 8256 if test -f "$collect2name" && 8257 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 8258 then 8259 # We have reworked collect2 8260 : 8261 else 8262 # We have old collect2 8263 hardcode_direct=unsupported 8264 # It fails to find uninstalled libraries when the uninstalled 8265 # path is not listed in the libpath. Setting hardcode_minus_L 8266 # to unsupported forces relinking 8267 hardcode_minus_L=yes 8268 hardcode_libdir_flag_spec='-L$libdir' 8269 hardcode_libdir_separator= 8270 fi 8271 ;; 8272 esac 8273 shared_flag='-shared' 8274 if test "$aix_use_runtimelinking" = yes; then 8275 shared_flag="$shared_flag "'${wl}-G' 8276 fi 8277 else 8278 # not using gcc 8279 if test "$host_cpu" = ia64; then 8280 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 8281 # chokes on -Wl,-G. The following line is correct: 8282 shared_flag='-G' 8283 else 8284 if test "$aix_use_runtimelinking" = yes; then 8285 shared_flag='${wl}-G' 8286 else 8287 shared_flag='${wl}-bM:SRE' 8288 fi 8289 fi 8290 fi 8291 8292 export_dynamic_flag_spec='${wl}-bexpall' 8293 # It seems that -bexpall does not export symbols beginning with 8294 # underscore (_), so it is better to generate a list of symbols to export. 8295 always_export_symbols=yes 8296 if test "$aix_use_runtimelinking" = yes; then 8297 # Warning - without using the other runtime loading flags (-brtl), 8298 # -berok will link without error, but may produce a broken library. 8299 allow_undefined_flag='-berok' 8300 # Determine the default libpath from the value encoded in an 8301 # empty executable. 8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8303/* end confdefs.h. */ 8304 8305int 8306main () 8307{ 8308 8309 ; 8310 return 0; 8311} 8312_ACEOF 8313if ac_fn_c_try_link "$LINENO"; then : 8314 8315lt_aix_libpath_sed=' 8316 /Import File Strings/,/^$/ { 8317 /^0/ { 8318 s/^0 *\(.*\)$/\1/ 8319 p 8320 } 8321 }' 8322aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8323# Check for a 64-bit object if we didn't find anything. 8324if test -z "$aix_libpath"; then 8325 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8326fi 8327fi 8328rm -f core conftest.err conftest.$ac_objext \ 8329 conftest$ac_exeext conftest.$ac_ext 8330if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8331 8332 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8333 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" 8334 else 8335 if test "$host_cpu" = ia64; then 8336 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 8337 allow_undefined_flag="-z nodefs" 8338 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" 8339 else 8340 # Determine the default libpath from the value encoded in an 8341 # empty executable. 8342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8343/* end confdefs.h. */ 8344 8345int 8346main () 8347{ 8348 8349 ; 8350 return 0; 8351} 8352_ACEOF 8353if ac_fn_c_try_link "$LINENO"; then : 8354 8355lt_aix_libpath_sed=' 8356 /Import File Strings/,/^$/ { 8357 /^0/ { 8358 s/^0 *\(.*\)$/\1/ 8359 p 8360 } 8361 }' 8362aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8363# Check for a 64-bit object if we didn't find anything. 8364if test -z "$aix_libpath"; then 8365 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 8366fi 8367fi 8368rm -f core conftest.err conftest.$ac_objext \ 8369 conftest$ac_exeext conftest.$ac_ext 8370if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 8371 8372 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 8373 # Warning - without using the other run time loading flags, 8374 # -berok will link without error, but may produce a broken library. 8375 no_undefined_flag=' ${wl}-bernotok' 8376 allow_undefined_flag=' ${wl}-berok' 8377 # Exported symbols can be pulled into shared objects from archives 8378 whole_archive_flag_spec='$convenience' 8379 archive_cmds_need_lc=yes 8380 # This is similar to how AIX traditionally builds its shared libraries. 8381 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' 8382 fi 8383 fi 8384 ;; 8385 8386 amigaos*) 8387 case $host_cpu in 8388 powerpc) 8389 # see comment about AmigaOS4 .so support 8390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8391 archive_expsym_cmds='' 8392 ;; 8393 m68k) 8394 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)' 8395 hardcode_libdir_flag_spec='-L$libdir' 8396 hardcode_minus_L=yes 8397 ;; 8398 esac 8399 ;; 8400 8401 bsdi[45]*) 8402 export_dynamic_flag_spec=-rdynamic 8403 ;; 8404 8405 cygwin* | mingw* | pw32* | cegcc*) 8406 # When not using gcc, we currently assume that we are using 8407 # Microsoft Visual C++. 8408 # hardcode_libdir_flag_spec is actually meaningless, as there is 8409 # no search path for DLLs. 8410 hardcode_libdir_flag_spec=' ' 8411 allow_undefined_flag=unsupported 8412 # Tell ltmain to make .lib files, not .a files. 8413 libext=lib 8414 # Tell ltmain to make .dll files, not .so files. 8415 shrext_cmds=".dll" 8416 # FIXME: Setting linknames here is a bad hack. 8417 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' 8418 # The linker will automatically build a .lib file if we build a DLL. 8419 old_archive_from_new_cmds='true' 8420 # FIXME: Should let the user specify the lib program. 8421 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 8422 fix_srcfile_path='`cygpath -w "$srcfile"`' 8423 enable_shared_with_static_runtimes=yes 8424 ;; 8425 8426 darwin* | rhapsody*) 8427 8428 8429 archive_cmds_need_lc=no 8430 hardcode_direct=no 8431 hardcode_automatic=yes 8432 hardcode_shlibpath_var=unsupported 8433 whole_archive_flag_spec='' 8434 link_all_deplibs=yes 8435 allow_undefined_flag="$_lt_dar_allow_undefined" 8436 case $cc_basename in 8437 ifort*) _lt_dar_can_shared=yes ;; 8438 *) _lt_dar_can_shared=$GCC ;; 8439 esac 8440 if test "$_lt_dar_can_shared" = "yes"; then 8441 output_verbose_link_cmd=echo 8442 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 8443 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 8444 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}" 8445 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}" 8446 8447 else 8448 ld_shlibs=no 8449 fi 8450 8451 ;; 8452 8453 dgux*) 8454 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8455 hardcode_libdir_flag_spec='-L$libdir' 8456 hardcode_shlibpath_var=no 8457 ;; 8458 8459 freebsd1*) 8460 ld_shlibs=no 8461 ;; 8462 8463 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 8464 # support. Future versions do this automatically, but an explicit c++rt0.o 8465 # does not break anything, and helps significantly (at the cost of a little 8466 # extra space). 8467 freebsd2.2*) 8468 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 8469 hardcode_libdir_flag_spec='-R$libdir' 8470 hardcode_direct=yes 8471 hardcode_shlibpath_var=no 8472 ;; 8473 8474 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 8475 freebsd2*) 8476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8477 hardcode_direct=yes 8478 hardcode_minus_L=yes 8479 hardcode_shlibpath_var=no 8480 ;; 8481 8482 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 8483 freebsd* | dragonfly*) 8484 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' 8485 hardcode_libdir_flag_spec='-R$libdir' 8486 hardcode_direct=yes 8487 hardcode_shlibpath_var=no 8488 ;; 8489 8490 hpux9*) 8491 if test "$GCC" = yes; then 8492 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' 8493 else 8494 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' 8495 fi 8496 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8497 hardcode_libdir_separator=: 8498 hardcode_direct=yes 8499 8500 # hardcode_minus_L: Not really in the search PATH, 8501 # but as the default location of the library. 8502 hardcode_minus_L=yes 8503 export_dynamic_flag_spec='${wl}-E' 8504 ;; 8505 8506 hpux10*) 8507 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8508 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8509 else 8510 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 8511 fi 8512 if test "$with_gnu_ld" = no; then 8513 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8514 hardcode_libdir_flag_spec_ld='+b $libdir' 8515 hardcode_libdir_separator=: 8516 hardcode_direct=yes 8517 hardcode_direct_absolute=yes 8518 export_dynamic_flag_spec='${wl}-E' 8519 # hardcode_minus_L: Not really in the search PATH, 8520 # but as the default location of the library. 8521 hardcode_minus_L=yes 8522 fi 8523 ;; 8524 8525 hpux11*) 8526 if test "$GCC" = yes -a "$with_gnu_ld" = no; then 8527 case $host_cpu in 8528 hppa*64*) 8529 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8530 ;; 8531 ia64*) 8532 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8533 ;; 8534 *) 8535 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8536 ;; 8537 esac 8538 else 8539 case $host_cpu in 8540 hppa*64*) 8541 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8542 ;; 8543 ia64*) 8544 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 8545 ;; 8546 *) 8547 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 8548 ;; 8549 esac 8550 fi 8551 if test "$with_gnu_ld" = no; then 8552 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 8553 hardcode_libdir_separator=: 8554 8555 case $host_cpu in 8556 hppa*64*|ia64*) 8557 hardcode_direct=no 8558 hardcode_shlibpath_var=no 8559 ;; 8560 *) 8561 hardcode_direct=yes 8562 hardcode_direct_absolute=yes 8563 export_dynamic_flag_spec='${wl}-E' 8564 8565 # hardcode_minus_L: Not really in the search PATH, 8566 # but as the default location of the library. 8567 hardcode_minus_L=yes 8568 ;; 8569 esac 8570 fi 8571 ;; 8572 8573 irix5* | irix6* | nonstopux*) 8574 if test "$GCC" = yes; then 8575 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' 8576 # Try to use the -exported_symbol ld option, if it does not 8577 # work, assume that -exports_file does not work either and 8578 # implicitly export all symbols. 8579 save_LDFLAGS="$LDFLAGS" 8580 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8582/* end confdefs.h. */ 8583int foo(void) {} 8584_ACEOF 8585if ac_fn_c_try_link "$LINENO"; then : 8586 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' 8587 8588fi 8589rm -f core conftest.err conftest.$ac_objext \ 8590 conftest$ac_exeext conftest.$ac_ext 8591 LDFLAGS="$save_LDFLAGS" 8592 else 8593 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' 8594 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' 8595 fi 8596 archive_cmds_need_lc='no' 8597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8598 hardcode_libdir_separator=: 8599 inherit_rpath=yes 8600 link_all_deplibs=yes 8601 ;; 8602 8603 netbsd*) 8604 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 8605 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 8606 else 8607 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 8608 fi 8609 hardcode_libdir_flag_spec='-R$libdir' 8610 hardcode_direct=yes 8611 hardcode_shlibpath_var=no 8612 ;; 8613 8614 newsos6) 8615 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8616 hardcode_direct=yes 8617 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8618 hardcode_libdir_separator=: 8619 hardcode_shlibpath_var=no 8620 ;; 8621 8622 *nto* | *qnx*) 8623 ;; 8624 8625 openbsd*) 8626 if test -f /usr/libexec/ld.so; then 8627 hardcode_direct=yes 8628 hardcode_shlibpath_var=no 8629 hardcode_direct_absolute=yes 8630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 8631 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8632 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 8633 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8634 export_dynamic_flag_spec='${wl}-E' 8635 else 8636 case $host_os in 8637 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 8638 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 8639 hardcode_libdir_flag_spec='-R$libdir' 8640 ;; 8641 *) 8642 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 8643 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8644 ;; 8645 esac 8646 fi 8647 else 8648 ld_shlibs=no 8649 fi 8650 ;; 8651 8652 os2*) 8653 hardcode_libdir_flag_spec='-L$libdir' 8654 hardcode_minus_L=yes 8655 allow_undefined_flag=unsupported 8656 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' 8657 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 8658 ;; 8659 8660 osf3*) 8661 if test "$GCC" = yes; then 8662 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8663 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' 8664 else 8665 allow_undefined_flag=' -expect_unresolved \*' 8666 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' 8667 fi 8668 archive_cmds_need_lc='no' 8669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8670 hardcode_libdir_separator=: 8671 ;; 8672 8673 osf4* | osf5*) # as osf3* with the addition of -msym flag 8674 if test "$GCC" = yes; then 8675 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 8676 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' 8677 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8678 else 8679 allow_undefined_flag=' -expect_unresolved \*' 8680 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' 8681 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~ 8682 $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' 8683 8684 # Both c and cxx compiler support -rpath directly 8685 hardcode_libdir_flag_spec='-rpath $libdir' 8686 fi 8687 archive_cmds_need_lc='no' 8688 hardcode_libdir_separator=: 8689 ;; 8690 8691 solaris*) 8692 no_undefined_flag=' -z defs' 8693 if test "$GCC" = yes; then 8694 wlarc='${wl}' 8695 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 8696 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8697 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8698 else 8699 case `$CC -V 2>&1` in 8700 *"Compilers 5.0"*) 8701 wlarc='' 8702 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 8703 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8704 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 8705 ;; 8706 *) 8707 wlarc='${wl}' 8708 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 8709 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 8710 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 8711 ;; 8712 esac 8713 fi 8714 hardcode_libdir_flag_spec='-R$libdir' 8715 hardcode_shlibpath_var=no 8716 case $host_os in 8717 solaris2.[0-5] | solaris2.[0-5].*) ;; 8718 *) 8719 # The compiler driver will combine and reorder linker options, 8720 # but understands `-z linker_flag'. GCC discards it without `$wl', 8721 # but is careful enough not to reorder. 8722 # Supported since Solaris 2.6 (maybe 2.5.1?) 8723 if test "$GCC" = yes; then 8724 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 8725 else 8726 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 8727 fi 8728 ;; 8729 esac 8730 link_all_deplibs=yes 8731 ;; 8732 8733 sunos4*) 8734 if test "x$host_vendor" = xsequent; then 8735 # Use $CC to link under sequent, because it throws in some extra .o 8736 # files that make .init and .fini sections work. 8737 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 8738 else 8739 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 8740 fi 8741 hardcode_libdir_flag_spec='-L$libdir' 8742 hardcode_direct=yes 8743 hardcode_minus_L=yes 8744 hardcode_shlibpath_var=no 8745 ;; 8746 8747 sysv4) 8748 case $host_vendor in 8749 sni) 8750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8751 hardcode_direct=yes # is this really true??? 8752 ;; 8753 siemens) 8754 ## LD is ld it makes a PLAMLIB 8755 ## CC just makes a GrossModule. 8756 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 8757 reload_cmds='$CC -r -o $output$reload_objs' 8758 hardcode_direct=no 8759 ;; 8760 motorola) 8761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8762 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 8763 ;; 8764 esac 8765 runpath_var='LD_RUN_PATH' 8766 hardcode_shlibpath_var=no 8767 ;; 8768 8769 sysv4.3*) 8770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8771 hardcode_shlibpath_var=no 8772 export_dynamic_flag_spec='-Bexport' 8773 ;; 8774 8775 sysv4*MP*) 8776 if test -d /usr/nec; then 8777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8778 hardcode_shlibpath_var=no 8779 runpath_var=LD_RUN_PATH 8780 hardcode_runpath_var=yes 8781 ld_shlibs=yes 8782 fi 8783 ;; 8784 8785 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 8786 no_undefined_flag='${wl}-z,text' 8787 archive_cmds_need_lc=no 8788 hardcode_shlibpath_var=no 8789 runpath_var='LD_RUN_PATH' 8790 8791 if test "$GCC" = yes; then 8792 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8793 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8794 else 8795 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8796 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8797 fi 8798 ;; 8799 8800 sysv5* | sco3.2v5* | sco5v6*) 8801 # Note: We can NOT use -z defs as we might desire, because we do not 8802 # link with -lc, and that would cause any symbols used from libc to 8803 # always be unresolved, which means just about no library would 8804 # ever link correctly. If we're not using GNU ld we use -z text 8805 # though, which does catch some bad symbols but isn't as heavy-handed 8806 # as -z defs. 8807 no_undefined_flag='${wl}-z,text' 8808 allow_undefined_flag='${wl}-z,nodefs' 8809 archive_cmds_need_lc=no 8810 hardcode_shlibpath_var=no 8811 hardcode_libdir_flag_spec='${wl}-R,$libdir' 8812 hardcode_libdir_separator=':' 8813 link_all_deplibs=yes 8814 export_dynamic_flag_spec='${wl}-Bexport' 8815 runpath_var='LD_RUN_PATH' 8816 8817 if test "$GCC" = yes; then 8818 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8819 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8820 else 8821 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8822 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 8823 fi 8824 ;; 8825 8826 uts4*) 8827 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 8828 hardcode_libdir_flag_spec='-L$libdir' 8829 hardcode_shlibpath_var=no 8830 ;; 8831 8832 *) 8833 ld_shlibs=no 8834 ;; 8835 esac 8836 8837 if test x$host_vendor = xsni; then 8838 case $host in 8839 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 8840 export_dynamic_flag_spec='${wl}-Blargedynsym' 8841 ;; 8842 esac 8843 fi 8844 fi 8845 8846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 8847$as_echo "$ld_shlibs" >&6; } 8848test "$ld_shlibs" = no && can_build_shared=no 8849 8850with_gnu_ld=$with_gnu_ld 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866# 8867# Do we need to explicitly link libc? 8868# 8869case "x$archive_cmds_need_lc" in 8870x|xyes) 8871 # Assume -lc should be added 8872 archive_cmds_need_lc=yes 8873 8874 if test "$enable_shared" = yes && test "$GCC" = yes; then 8875 case $archive_cmds in 8876 *'~'*) 8877 # FIXME: we may have to deal with multi-command sequences. 8878 ;; 8879 '$CC '*) 8880 # Test whether the compiler implicitly links with -lc since on some 8881 # systems, -lgcc has to come before -lc. If gcc already passes -lc 8882 # to ld, don't add -lc before -lgcc. 8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 8884$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 8885 $RM conftest* 8886 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8887 8888 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8889 (eval $ac_compile) 2>&5 8890 ac_status=$? 8891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8892 test $ac_status = 0; } 2>conftest.err; then 8893 soname=conftest 8894 lib=conftest 8895 libobjs=conftest.$ac_objext 8896 deplibs= 8897 wl=$lt_prog_compiler_wl 8898 pic_flag=$lt_prog_compiler_pic 8899 compiler_flags=-v 8900 linker_flags=-v 8901 verstring= 8902 output_objdir=. 8903 libname=conftest 8904 lt_save_allow_undefined_flag=$allow_undefined_flag 8905 allow_undefined_flag= 8906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 8907 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 8908 ac_status=$? 8909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8910 test $ac_status = 0; } 8911 then 8912 archive_cmds_need_lc=no 8913 else 8914 archive_cmds_need_lc=yes 8915 fi 8916 allow_undefined_flag=$lt_save_allow_undefined_flag 8917 else 8918 cat conftest.err 1>&5 8919 fi 8920 $RM conftest* 8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 8922$as_echo "$archive_cmds_need_lc" >&6; } 8923 ;; 8924 esac 8925 fi 8926 ;; 8927esac 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 9086$as_echo_n "checking dynamic linker characteristics... " >&6; } 9087 9088if test "$GCC" = yes; then 9089 case $host_os in 9090 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 9091 *) lt_awk_arg="/^libraries:/" ;; 9092 esac 9093 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9094 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then 9095 # if the path contains ";" then we assume it to be the separator 9096 # otherwise default to the standard path separator (i.e. ":") - it is 9097 # assumed that no part of a normal pathname contains ";" but that should 9098 # okay in the real world where ";" in dirpaths is itself problematic. 9099 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` 9100 else 9101 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9102 fi 9103 # Ok, now we have the path, separated by spaces, we can step through it 9104 # and add multilib dir if necessary. 9105 lt_tmp_lt_search_path_spec= 9106 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 9107 for lt_sys_path in $lt_search_path_spec; do 9108 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 9109 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 9110 else 9111 test -d "$lt_sys_path" && \ 9112 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 9113 fi 9114 done 9115 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' 9116BEGIN {RS=" "; FS="/|\n";} { 9117 lt_foo=""; 9118 lt_count=0; 9119 for (lt_i = NF; lt_i > 0; lt_i--) { 9120 if ($lt_i != "" && $lt_i != ".") { 9121 if ($lt_i == "..") { 9122 lt_count++; 9123 } else { 9124 if (lt_count == 0) { 9125 lt_foo="/" $lt_i lt_foo; 9126 } else { 9127 lt_count--; 9128 } 9129 } 9130 } 9131 } 9132 if (lt_foo != "") { lt_freq[lt_foo]++; } 9133 if (lt_freq[lt_foo] == 1) { print lt_foo; } 9134}'` 9135 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` 9136else 9137 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 9138fi 9139library_names_spec= 9140libname_spec='lib$name' 9141soname_spec= 9142shrext_cmds=".so" 9143postinstall_cmds= 9144postuninstall_cmds= 9145finish_cmds= 9146finish_eval= 9147shlibpath_var= 9148shlibpath_overrides_runpath=unknown 9149version_type=none 9150dynamic_linker="$host_os ld.so" 9151sys_lib_dlsearch_path_spec="/lib /usr/lib" 9152need_lib_prefix=unknown 9153hardcode_into_libs=no 9154 9155# when you set need_version to no, make sure it does not cause -set_version 9156# flags to be left without arguments 9157need_version=unknown 9158 9159case $host_os in 9160aix3*) 9161 version_type=linux 9162 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 9163 shlibpath_var=LIBPATH 9164 9165 # AIX 3 has no versioning support, so we append a major version to the name. 9166 soname_spec='${libname}${release}${shared_ext}$major' 9167 ;; 9168 9169aix[4-9]*) 9170 version_type=linux 9171 need_lib_prefix=no 9172 need_version=no 9173 hardcode_into_libs=yes 9174 if test "$host_cpu" = ia64; then 9175 # AIX 5 supports IA64 9176 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 9177 shlibpath_var=LD_LIBRARY_PATH 9178 else 9179 # With GCC up to 2.95.x, collect2 would create an import file 9180 # for dependence libraries. The import file would start with 9181 # the line `#! .'. This would cause the generated library to 9182 # depend on `.', always an invalid library. This was fixed in 9183 # development snapshots of GCC prior to 3.0. 9184 case $host_os in 9185 aix4 | aix4.[01] | aix4.[01].*) 9186 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 9187 echo ' yes ' 9188 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 9189 : 9190 else 9191 can_build_shared=no 9192 fi 9193 ;; 9194 esac 9195 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 9196 # soname into executable. Probably we can add versioning support to 9197 # collect2, so additional links can be useful in future. 9198 if test "$aix_use_runtimelinking" = yes; then 9199 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 9200 # instead of lib<name>.a to let people know that these are not 9201 # typical AIX shared libraries. 9202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9203 else 9204 # We preserve .a as extension for shared libraries through AIX4.2 9205 # and later when we are not doing run time linking. 9206 library_names_spec='${libname}${release}.a $libname.a' 9207 soname_spec='${libname}${release}${shared_ext}$major' 9208 fi 9209 shlibpath_var=LIBPATH 9210 fi 9211 ;; 9212 9213amigaos*) 9214 case $host_cpu in 9215 powerpc) 9216 # Since July 2007 AmigaOS4 officially supports .so libraries. 9217 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 9218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9219 ;; 9220 m68k) 9221 library_names_spec='$libname.ixlibrary $libname.a' 9222 # Create ${libname}_ixlibrary.a entries in /sys/libs. 9223 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' 9224 ;; 9225 esac 9226 ;; 9227 9228beos*) 9229 library_names_spec='${libname}${shared_ext}' 9230 dynamic_linker="$host_os ld.so" 9231 shlibpath_var=LIBRARY_PATH 9232 ;; 9233 9234bsdi[45]*) 9235 version_type=linux 9236 need_version=no 9237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9238 soname_spec='${libname}${release}${shared_ext}$major' 9239 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 9240 shlibpath_var=LD_LIBRARY_PATH 9241 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 9242 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 9243 # the default ld.so.conf also contains /usr/contrib/lib and 9244 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 9245 # libtool to hard-code these into programs 9246 ;; 9247 9248cygwin* | mingw* | pw32* | cegcc*) 9249 version_type=windows 9250 shrext_cmds=".dll" 9251 need_version=no 9252 need_lib_prefix=no 9253 9254 case $GCC,$host_os in 9255 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*) 9256 library_names_spec='$libname.dll.a' 9257 # DLL is installed to $(libdir)/../bin by postinstall_cmds 9258 postinstall_cmds='base_file=`basename \${file}`~ 9259 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 9260 dldir=$destdir/`dirname \$dlpath`~ 9261 test -d \$dldir || mkdir -p \$dldir~ 9262 $install_prog $dir/$dlname \$dldir/$dlname~ 9263 chmod a+x \$dldir/$dlname~ 9264 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 9265 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 9266 fi' 9267 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 9268 dlpath=$dir/\$dldll~ 9269 $RM \$dlpath' 9270 shlibpath_overrides_runpath=yes 9271 9272 case $host_os in 9273 cygwin*) 9274 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 9275 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9276 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 9277 ;; 9278 mingw* | cegcc*) 9279 # MinGW DLLs use traditional 'lib' prefix 9280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9281 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 9282 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 9283 # It is most probably a Windows format PATH printed by 9284 # mingw gcc, but we are running on Cygwin. Gcc prints its search 9285 # path with ; separators, and with drive letters. We can handle the 9286 # drive letters (cygwin fileutils understands them), so leave them, 9287 # especially as we might pass files found there to a mingw objdump, 9288 # which wouldn't understand a cygwinified path. Ahh. 9289 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 9290 else 9291 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 9292 fi 9293 ;; 9294 pw32*) 9295 # pw32 DLLs use 'pw' prefix rather than 'lib' 9296 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 9297 ;; 9298 esac 9299 ;; 9300 9301 *) 9302 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 9303 ;; 9304 esac 9305 dynamic_linker='Win32 ld.exe' 9306 # FIXME: first we should search . and the directory the executable is in 9307 shlibpath_var=PATH 9308 ;; 9309 9310darwin* | rhapsody*) 9311 dynamic_linker="$host_os dyld" 9312 version_type=darwin 9313 need_lib_prefix=no 9314 need_version=no 9315 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 9316 soname_spec='${libname}${release}${major}$shared_ext' 9317 shlibpath_overrides_runpath=yes 9318 shlibpath_var=DYLD_LIBRARY_PATH 9319 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 9320 9321 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 9322 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 9323 ;; 9324 9325dgux*) 9326 version_type=linux 9327 need_lib_prefix=no 9328 need_version=no 9329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 9330 soname_spec='${libname}${release}${shared_ext}$major' 9331 shlibpath_var=LD_LIBRARY_PATH 9332 ;; 9333 9334freebsd1*) 9335 dynamic_linker=no 9336 ;; 9337 9338freebsd* | dragonfly*) 9339 # DragonFly does not have aout. When/if they implement a new 9340 # versioning mechanism, adjust this. 9341 if test -x /usr/bin/objformat; then 9342 objformat=`/usr/bin/objformat` 9343 else 9344 case $host_os in 9345 freebsd[123]*) objformat=aout ;; 9346 *) objformat=elf ;; 9347 esac 9348 fi 9349 version_type=freebsd-$objformat 9350 case $version_type in 9351 freebsd-elf*) 9352 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9353 need_version=no 9354 need_lib_prefix=no 9355 ;; 9356 freebsd-*) 9357 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 9358 need_version=yes 9359 ;; 9360 esac 9361 shlibpath_var=LD_LIBRARY_PATH 9362 case $host_os in 9363 freebsd2*) 9364 shlibpath_overrides_runpath=yes 9365 ;; 9366 freebsd3.[01]* | freebsdelf3.[01]*) 9367 shlibpath_overrides_runpath=yes 9368 hardcode_into_libs=yes 9369 ;; 9370 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 9371 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 9372 shlibpath_overrides_runpath=no 9373 hardcode_into_libs=yes 9374 ;; 9375 *) # from 4.6 on, and DragonFly 9376 shlibpath_overrides_runpath=yes 9377 hardcode_into_libs=yes 9378 ;; 9379 esac 9380 ;; 9381 9382gnu*) 9383 version_type=linux 9384 need_lib_prefix=no 9385 need_version=no 9386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 9387 soname_spec='${libname}${release}${shared_ext}$major' 9388 shlibpath_var=LD_LIBRARY_PATH 9389 hardcode_into_libs=yes 9390 ;; 9391 9392hpux9* | hpux10* | hpux11*) 9393 # Give a soname corresponding to the major version so that dld.sl refuses to 9394 # link against other versions. 9395 version_type=sunos 9396 need_lib_prefix=no 9397 need_version=no 9398 case $host_cpu in 9399 ia64*) 9400 shrext_cmds='.so' 9401 hardcode_into_libs=yes 9402 dynamic_linker="$host_os dld.so" 9403 shlibpath_var=LD_LIBRARY_PATH 9404 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9406 soname_spec='${libname}${release}${shared_ext}$major' 9407 if test "X$HPUX_IA64_MODE" = X32; then 9408 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 9409 else 9410 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 9411 fi 9412 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9413 ;; 9414 hppa*64*) 9415 shrext_cmds='.sl' 9416 hardcode_into_libs=yes 9417 dynamic_linker="$host_os dld.sl" 9418 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 9419 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 9420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9421 soname_spec='${libname}${release}${shared_ext}$major' 9422 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 9423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 9424 ;; 9425 *) 9426 shrext_cmds='.sl' 9427 dynamic_linker="$host_os dld.sl" 9428 shlibpath_var=SHLIB_PATH 9429 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 9430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9431 soname_spec='${libname}${release}${shared_ext}$major' 9432 ;; 9433 esac 9434 # HP-UX runs *really* slowly unless shared libraries are mode 555. 9435 postinstall_cmds='chmod 555 $lib' 9436 ;; 9437 9438interix[3-9]*) 9439 version_type=linux 9440 need_lib_prefix=no 9441 need_version=no 9442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9443 soname_spec='${libname}${release}${shared_ext}$major' 9444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 9445 shlibpath_var=LD_LIBRARY_PATH 9446 shlibpath_overrides_runpath=no 9447 hardcode_into_libs=yes 9448 ;; 9449 9450irix5* | irix6* | nonstopux*) 9451 case $host_os in 9452 nonstopux*) version_type=nonstopux ;; 9453 *) 9454 if test "$lt_cv_prog_gnu_ld" = yes; then 9455 version_type=linux 9456 else 9457 version_type=irix 9458 fi ;; 9459 esac 9460 need_lib_prefix=no 9461 need_version=no 9462 soname_spec='${libname}${release}${shared_ext}$major' 9463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 9464 case $host_os in 9465 irix5* | nonstopux*) 9466 libsuff= shlibsuff= 9467 ;; 9468 *) 9469 case $LD in # libtool.m4 will add one of these switches to LD 9470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 9471 libsuff= shlibsuff= libmagic=32-bit;; 9472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 9473 libsuff=32 shlibsuff=N32 libmagic=N32;; 9474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 9475 libsuff=64 shlibsuff=64 libmagic=64-bit;; 9476 *) libsuff= shlibsuff= libmagic=never-match;; 9477 esac 9478 ;; 9479 esac 9480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 9481 shlibpath_overrides_runpath=no 9482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 9483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 9484 hardcode_into_libs=yes 9485 ;; 9486 9487# No shared lib support for Linux oldld, aout, or coff. 9488linux*oldld* | linux*aout* | linux*coff*) 9489 dynamic_linker=no 9490 ;; 9491 9492# This must be Linux ELF. 9493linux* | k*bsd*-gnu) 9494 version_type=linux 9495 need_lib_prefix=no 9496 need_version=no 9497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9498 soname_spec='${libname}${release}${shared_ext}$major' 9499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 9500 shlibpath_var=LD_LIBRARY_PATH 9501 shlibpath_overrides_runpath=no 9502 # Some binutils ld are patched to set DT_RUNPATH 9503 save_LDFLAGS=$LDFLAGS 9504 save_libdir=$libdir 9505 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 9506 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9508/* end confdefs.h. */ 9509 9510int 9511main () 9512{ 9513 9514 ; 9515 return 0; 9516} 9517_ACEOF 9518if ac_fn_c_try_link "$LINENO"; then : 9519 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 9520 shlibpath_overrides_runpath=yes 9521fi 9522fi 9523rm -f core conftest.err conftest.$ac_objext \ 9524 conftest$ac_exeext conftest.$ac_ext 9525 LDFLAGS=$save_LDFLAGS 9526 libdir=$save_libdir 9527 9528 # This implies no fast_install, which is unacceptable. 9529 # Some rework will be needed to allow for fast_install 9530 # before this can be enabled. 9531 hardcode_into_libs=yes 9532 9533 # Append ld.so.conf contents to the search path 9534 if test -f /etc/ld.so.conf; then 9535 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' ' '` 9536 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 9537 fi 9538 9539 # We used to test for /lib/ld.so.1 and disable shared libraries on 9540 # powerpc, because MkLinux only supported shared libraries with the 9541 # GNU dynamic linker. Since this was broken with cross compilers, 9542 # most powerpc-linux boxes support dynamic linking these days and 9543 # people can always --disable-shared, the test was removed, and we 9544 # assume the GNU/Linux dynamic linker is in use. 9545 dynamic_linker='GNU/Linux ld.so' 9546 ;; 9547 9548netbsd*) 9549 version_type=sunos 9550 need_lib_prefix=no 9551 need_version=no 9552 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9554 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9555 dynamic_linker='NetBSD (a.out) ld.so' 9556 else 9557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 9558 soname_spec='${libname}${release}${shared_ext}$major' 9559 dynamic_linker='NetBSD ld.elf_so' 9560 fi 9561 shlibpath_var=LD_LIBRARY_PATH 9562 shlibpath_overrides_runpath=yes 9563 hardcode_into_libs=yes 9564 ;; 9565 9566newsos6) 9567 version_type=linux 9568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9569 shlibpath_var=LD_LIBRARY_PATH 9570 shlibpath_overrides_runpath=yes 9571 ;; 9572 9573*nto* | *qnx*) 9574 version_type=qnx 9575 need_lib_prefix=no 9576 need_version=no 9577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9578 soname_spec='${libname}${release}${shared_ext}$major' 9579 shlibpath_var=LD_LIBRARY_PATH 9580 shlibpath_overrides_runpath=no 9581 hardcode_into_libs=yes 9582 dynamic_linker='ldqnx.so' 9583 ;; 9584 9585openbsd*) 9586 version_type=sunos 9587 sys_lib_dlsearch_path_spec="/usr/lib" 9588 need_lib_prefix=no 9589 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 9590 case $host_os in 9591 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 9592 *) need_version=no ;; 9593 esac 9594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9595 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 9596 shlibpath_var=LD_LIBRARY_PATH 9597 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9598 case $host_os in 9599 openbsd2.[89] | openbsd2.[89].*) 9600 shlibpath_overrides_runpath=no 9601 ;; 9602 *) 9603 shlibpath_overrides_runpath=yes 9604 ;; 9605 esac 9606 else 9607 shlibpath_overrides_runpath=yes 9608 fi 9609 ;; 9610 9611os2*) 9612 libname_spec='$name' 9613 shrext_cmds=".dll" 9614 need_lib_prefix=no 9615 library_names_spec='$libname${shared_ext} $libname.a' 9616 dynamic_linker='OS/2 ld.exe' 9617 shlibpath_var=LIBPATH 9618 ;; 9619 9620osf3* | osf4* | osf5*) 9621 version_type=osf 9622 need_lib_prefix=no 9623 need_version=no 9624 soname_spec='${libname}${release}${shared_ext}$major' 9625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9626 shlibpath_var=LD_LIBRARY_PATH 9627 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 9628 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 9629 ;; 9630 9631rdos*) 9632 dynamic_linker=no 9633 ;; 9634 9635solaris*) 9636 version_type=linux 9637 need_lib_prefix=no 9638 need_version=no 9639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9640 soname_spec='${libname}${release}${shared_ext}$major' 9641 shlibpath_var=LD_LIBRARY_PATH 9642 shlibpath_overrides_runpath=yes 9643 hardcode_into_libs=yes 9644 # ldd complains unless libraries are executable 9645 postinstall_cmds='chmod +x $lib' 9646 ;; 9647 9648sunos4*) 9649 version_type=sunos 9650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 9651 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 9652 shlibpath_var=LD_LIBRARY_PATH 9653 shlibpath_overrides_runpath=yes 9654 if test "$with_gnu_ld" = yes; then 9655 need_lib_prefix=no 9656 fi 9657 need_version=yes 9658 ;; 9659 9660sysv4 | sysv4.3*) 9661 version_type=linux 9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9663 soname_spec='${libname}${release}${shared_ext}$major' 9664 shlibpath_var=LD_LIBRARY_PATH 9665 case $host_vendor in 9666 sni) 9667 shlibpath_overrides_runpath=no 9668 need_lib_prefix=no 9669 runpath_var=LD_RUN_PATH 9670 ;; 9671 siemens) 9672 need_lib_prefix=no 9673 ;; 9674 motorola) 9675 need_lib_prefix=no 9676 need_version=no 9677 shlibpath_overrides_runpath=no 9678 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 9679 ;; 9680 esac 9681 ;; 9682 9683sysv4*MP*) 9684 if test -d /usr/nec ;then 9685 version_type=linux 9686 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 9687 soname_spec='$libname${shared_ext}.$major' 9688 shlibpath_var=LD_LIBRARY_PATH 9689 fi 9690 ;; 9691 9692sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 9693 version_type=freebsd-elf 9694 need_lib_prefix=no 9695 need_version=no 9696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 9697 soname_spec='${libname}${release}${shared_ext}$major' 9698 shlibpath_var=LD_LIBRARY_PATH 9699 shlibpath_overrides_runpath=yes 9700 hardcode_into_libs=yes 9701 if test "$with_gnu_ld" = yes; then 9702 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 9703 else 9704 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 9705 case $host_os in 9706 sco3.2v5*) 9707 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 9708 ;; 9709 esac 9710 fi 9711 sys_lib_dlsearch_path_spec='/usr/lib' 9712 ;; 9713 9714tpf*) 9715 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 9716 version_type=linux 9717 need_lib_prefix=no 9718 need_version=no 9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9720 shlibpath_var=LD_LIBRARY_PATH 9721 shlibpath_overrides_runpath=no 9722 hardcode_into_libs=yes 9723 ;; 9724 9725uts4*) 9726 version_type=linux 9727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 9728 soname_spec='${libname}${release}${shared_ext}$major' 9729 shlibpath_var=LD_LIBRARY_PATH 9730 ;; 9731 9732*) 9733 dynamic_linker=no 9734 ;; 9735esac 9736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 9737$as_echo "$dynamic_linker" >&6; } 9738test "$dynamic_linker" = no && can_build_shared=no 9739 9740variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 9741if test "$GCC" = yes; then 9742 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 9743fi 9744 9745if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 9746 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 9747fi 9748if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 9749 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 9750fi 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 9839$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 9840hardcode_action= 9841if test -n "$hardcode_libdir_flag_spec" || 9842 test -n "$runpath_var" || 9843 test "X$hardcode_automatic" = "Xyes" ; then 9844 9845 # We can hardcode non-existent directories. 9846 if test "$hardcode_direct" != no && 9847 # If the only mechanism to avoid hardcoding is shlibpath_var, we 9848 # have to relink, otherwise we might link with an installed library 9849 # when we should be linking with a yet-to-be-installed one 9850 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 9851 test "$hardcode_minus_L" != no; then 9852 # Linking always hardcodes the temporary library directory. 9853 hardcode_action=relink 9854 else 9855 # We can link without hardcoding, and we can hardcode nonexisting dirs. 9856 hardcode_action=immediate 9857 fi 9858else 9859 # We cannot hardcode anything, or else we can only hardcode existing 9860 # directories. 9861 hardcode_action=unsupported 9862fi 9863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 9864$as_echo "$hardcode_action" >&6; } 9865 9866if test "$hardcode_action" = relink || 9867 test "$inherit_rpath" = yes; then 9868 # Fast installation is not supported 9869 enable_fast_install=no 9870elif test "$shlibpath_overrides_runpath" = yes || 9871 test "$enable_shared" = no; then 9872 # Fast installation is not necessary 9873 enable_fast_install=needless 9874fi 9875 9876 9877 9878 9879 9880 9881 if test "x$enable_dlopen" != xyes; then 9882 enable_dlopen=unknown 9883 enable_dlopen_self=unknown 9884 enable_dlopen_self_static=unknown 9885else 9886 lt_cv_dlopen=no 9887 lt_cv_dlopen_libs= 9888 9889 case $host_os in 9890 beos*) 9891 lt_cv_dlopen="load_add_on" 9892 lt_cv_dlopen_libs= 9893 lt_cv_dlopen_self=yes 9894 ;; 9895 9896 mingw* | pw32* | cegcc*) 9897 lt_cv_dlopen="LoadLibrary" 9898 lt_cv_dlopen_libs= 9899 ;; 9900 9901 cygwin*) 9902 lt_cv_dlopen="dlopen" 9903 lt_cv_dlopen_libs= 9904 ;; 9905 9906 darwin*) 9907 # if libdl is installed we need to link against it 9908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 9909$as_echo_n "checking for dlopen in -ldl... " >&6; } 9910if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 9911 $as_echo_n "(cached) " >&6 9912else 9913 ac_check_lib_save_LIBS=$LIBS 9914LIBS="-ldl $LIBS" 9915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9916/* end confdefs.h. */ 9917 9918/* Override any GCC internal prototype to avoid an error. 9919 Use char because int might match the return type of a GCC 9920 builtin and then its argument prototype would still apply. */ 9921#ifdef __cplusplus 9922extern "C" 9923#endif 9924char dlopen (); 9925int 9926main () 9927{ 9928return dlopen (); 9929 ; 9930 return 0; 9931} 9932_ACEOF 9933if ac_fn_c_try_link "$LINENO"; then : 9934 ac_cv_lib_dl_dlopen=yes 9935else 9936 ac_cv_lib_dl_dlopen=no 9937fi 9938rm -f core conftest.err conftest.$ac_objext \ 9939 conftest$ac_exeext conftest.$ac_ext 9940LIBS=$ac_check_lib_save_LIBS 9941fi 9942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 9943$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 9944if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 9945 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 9946else 9947 9948 lt_cv_dlopen="dyld" 9949 lt_cv_dlopen_libs= 9950 lt_cv_dlopen_self=yes 9951 9952fi 9953 9954 ;; 9955 9956 *) 9957 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 9958if test "x$ac_cv_func_shl_load" = x""yes; then : 9959 lt_cv_dlopen="shl_load" 9960else 9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 9962$as_echo_n "checking for shl_load in -ldld... " >&6; } 9963if test "${ac_cv_lib_dld_shl_load+set}" = set; then : 9964 $as_echo_n "(cached) " >&6 9965else 9966 ac_check_lib_save_LIBS=$LIBS 9967LIBS="-ldld $LIBS" 9968cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9969/* end confdefs.h. */ 9970 9971/* Override any GCC internal prototype to avoid an error. 9972 Use char because int might match the return type of a GCC 9973 builtin and then its argument prototype would still apply. */ 9974#ifdef __cplusplus 9975extern "C" 9976#endif 9977char shl_load (); 9978int 9979main () 9980{ 9981return shl_load (); 9982 ; 9983 return 0; 9984} 9985_ACEOF 9986if ac_fn_c_try_link "$LINENO"; then : 9987 ac_cv_lib_dld_shl_load=yes 9988else 9989 ac_cv_lib_dld_shl_load=no 9990fi 9991rm -f core conftest.err conftest.$ac_objext \ 9992 conftest$ac_exeext conftest.$ac_ext 9993LIBS=$ac_check_lib_save_LIBS 9994fi 9995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 9996$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 9997if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : 9998 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 9999else 10000 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 10001if test "x$ac_cv_func_dlopen" = x""yes; then : 10002 lt_cv_dlopen="dlopen" 10003else 10004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 10005$as_echo_n "checking for dlopen in -ldl... " >&6; } 10006if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 10007 $as_echo_n "(cached) " >&6 10008else 10009 ac_check_lib_save_LIBS=$LIBS 10010LIBS="-ldl $LIBS" 10011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10012/* end confdefs.h. */ 10013 10014/* Override any GCC internal prototype to avoid an error. 10015 Use char because int might match the return type of a GCC 10016 builtin and then its argument prototype would still apply. */ 10017#ifdef __cplusplus 10018extern "C" 10019#endif 10020char dlopen (); 10021int 10022main () 10023{ 10024return dlopen (); 10025 ; 10026 return 0; 10027} 10028_ACEOF 10029if ac_fn_c_try_link "$LINENO"; then : 10030 ac_cv_lib_dl_dlopen=yes 10031else 10032 ac_cv_lib_dl_dlopen=no 10033fi 10034rm -f core conftest.err conftest.$ac_objext \ 10035 conftest$ac_exeext conftest.$ac_ext 10036LIBS=$ac_check_lib_save_LIBS 10037fi 10038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 10039$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 10040if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : 10041 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 10042else 10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 10044$as_echo_n "checking for dlopen in -lsvld... " >&6; } 10045if test "${ac_cv_lib_svld_dlopen+set}" = set; then : 10046 $as_echo_n "(cached) " >&6 10047else 10048 ac_check_lib_save_LIBS=$LIBS 10049LIBS="-lsvld $LIBS" 10050cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10051/* end confdefs.h. */ 10052 10053/* Override any GCC internal prototype to avoid an error. 10054 Use char because int might match the return type of a GCC 10055 builtin and then its argument prototype would still apply. */ 10056#ifdef __cplusplus 10057extern "C" 10058#endif 10059char dlopen (); 10060int 10061main () 10062{ 10063return dlopen (); 10064 ; 10065 return 0; 10066} 10067_ACEOF 10068if ac_fn_c_try_link "$LINENO"; then : 10069 ac_cv_lib_svld_dlopen=yes 10070else 10071 ac_cv_lib_svld_dlopen=no 10072fi 10073rm -f core conftest.err conftest.$ac_objext \ 10074 conftest$ac_exeext conftest.$ac_ext 10075LIBS=$ac_check_lib_save_LIBS 10076fi 10077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 10078$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 10079if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : 10080 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 10081else 10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 10083$as_echo_n "checking for dld_link in -ldld... " >&6; } 10084if test "${ac_cv_lib_dld_dld_link+set}" = set; then : 10085 $as_echo_n "(cached) " >&6 10086else 10087 ac_check_lib_save_LIBS=$LIBS 10088LIBS="-ldld $LIBS" 10089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10090/* end confdefs.h. */ 10091 10092/* Override any GCC internal prototype to avoid an error. 10093 Use char because int might match the return type of a GCC 10094 builtin and then its argument prototype would still apply. */ 10095#ifdef __cplusplus 10096extern "C" 10097#endif 10098char dld_link (); 10099int 10100main () 10101{ 10102return dld_link (); 10103 ; 10104 return 0; 10105} 10106_ACEOF 10107if ac_fn_c_try_link "$LINENO"; then : 10108 ac_cv_lib_dld_dld_link=yes 10109else 10110 ac_cv_lib_dld_dld_link=no 10111fi 10112rm -f core conftest.err conftest.$ac_objext \ 10113 conftest$ac_exeext conftest.$ac_ext 10114LIBS=$ac_check_lib_save_LIBS 10115fi 10116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 10117$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 10118if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : 10119 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 10120fi 10121 10122 10123fi 10124 10125 10126fi 10127 10128 10129fi 10130 10131 10132fi 10133 10134 10135fi 10136 10137 ;; 10138 esac 10139 10140 if test "x$lt_cv_dlopen" != xno; then 10141 enable_dlopen=yes 10142 else 10143 enable_dlopen=no 10144 fi 10145 10146 case $lt_cv_dlopen in 10147 dlopen) 10148 save_CPPFLAGS="$CPPFLAGS" 10149 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 10150 10151 save_LDFLAGS="$LDFLAGS" 10152 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 10153 10154 save_LIBS="$LIBS" 10155 LIBS="$lt_cv_dlopen_libs $LIBS" 10156 10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 10158$as_echo_n "checking whether a program can dlopen itself... " >&6; } 10159if test "${lt_cv_dlopen_self+set}" = set; then : 10160 $as_echo_n "(cached) " >&6 10161else 10162 if test "$cross_compiling" = yes; then : 10163 lt_cv_dlopen_self=cross 10164else 10165 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10166 lt_status=$lt_dlunknown 10167 cat > conftest.$ac_ext <<_LT_EOF 10168#line 10168 "configure" 10169#include "confdefs.h" 10170 10171#if HAVE_DLFCN_H 10172#include <dlfcn.h> 10173#endif 10174 10175#include <stdio.h> 10176 10177#ifdef RTLD_GLOBAL 10178# define LT_DLGLOBAL RTLD_GLOBAL 10179#else 10180# ifdef DL_GLOBAL 10181# define LT_DLGLOBAL DL_GLOBAL 10182# else 10183# define LT_DLGLOBAL 0 10184# endif 10185#endif 10186 10187/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10188 find out it does not work in some platform. */ 10189#ifndef LT_DLLAZY_OR_NOW 10190# ifdef RTLD_LAZY 10191# define LT_DLLAZY_OR_NOW RTLD_LAZY 10192# else 10193# ifdef DL_LAZY 10194# define LT_DLLAZY_OR_NOW DL_LAZY 10195# else 10196# ifdef RTLD_NOW 10197# define LT_DLLAZY_OR_NOW RTLD_NOW 10198# else 10199# ifdef DL_NOW 10200# define LT_DLLAZY_OR_NOW DL_NOW 10201# else 10202# define LT_DLLAZY_OR_NOW 0 10203# endif 10204# endif 10205# endif 10206# endif 10207#endif 10208 10209void fnord() { int i=42;} 10210int main () 10211{ 10212 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10213 int status = $lt_dlunknown; 10214 10215 if (self) 10216 { 10217 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10218 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10219 /* dlclose (self); */ 10220 } 10221 else 10222 puts (dlerror ()); 10223 10224 return status; 10225} 10226_LT_EOF 10227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10228 (eval $ac_link) 2>&5 10229 ac_status=$? 10230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10231 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10232 (./conftest; exit; ) >&5 2>/dev/null 10233 lt_status=$? 10234 case x$lt_status in 10235 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 10236 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 10237 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 10238 esac 10239 else : 10240 # compilation failed 10241 lt_cv_dlopen_self=no 10242 fi 10243fi 10244rm -fr conftest* 10245 10246 10247fi 10248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 10249$as_echo "$lt_cv_dlopen_self" >&6; } 10250 10251 if test "x$lt_cv_dlopen_self" = xyes; then 10252 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 10254$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 10255if test "${lt_cv_dlopen_self_static+set}" = set; then : 10256 $as_echo_n "(cached) " >&6 10257else 10258 if test "$cross_compiling" = yes; then : 10259 lt_cv_dlopen_self_static=cross 10260else 10261 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10262 lt_status=$lt_dlunknown 10263 cat > conftest.$ac_ext <<_LT_EOF 10264#line 10264 "configure" 10265#include "confdefs.h" 10266 10267#if HAVE_DLFCN_H 10268#include <dlfcn.h> 10269#endif 10270 10271#include <stdio.h> 10272 10273#ifdef RTLD_GLOBAL 10274# define LT_DLGLOBAL RTLD_GLOBAL 10275#else 10276# ifdef DL_GLOBAL 10277# define LT_DLGLOBAL DL_GLOBAL 10278# else 10279# define LT_DLGLOBAL 0 10280# endif 10281#endif 10282 10283/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 10284 find out it does not work in some platform. */ 10285#ifndef LT_DLLAZY_OR_NOW 10286# ifdef RTLD_LAZY 10287# define LT_DLLAZY_OR_NOW RTLD_LAZY 10288# else 10289# ifdef DL_LAZY 10290# define LT_DLLAZY_OR_NOW DL_LAZY 10291# else 10292# ifdef RTLD_NOW 10293# define LT_DLLAZY_OR_NOW RTLD_NOW 10294# else 10295# ifdef DL_NOW 10296# define LT_DLLAZY_OR_NOW DL_NOW 10297# else 10298# define LT_DLLAZY_OR_NOW 0 10299# endif 10300# endif 10301# endif 10302# endif 10303#endif 10304 10305void fnord() { int i=42;} 10306int main () 10307{ 10308 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 10309 int status = $lt_dlunknown; 10310 10311 if (self) 10312 { 10313 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 10314 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 10315 /* dlclose (self); */ 10316 } 10317 else 10318 puts (dlerror ()); 10319 10320 return status; 10321} 10322_LT_EOF 10323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 10324 (eval $ac_link) 2>&5 10325 ac_status=$? 10326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10327 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 10328 (./conftest; exit; ) >&5 2>/dev/null 10329 lt_status=$? 10330 case x$lt_status in 10331 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 10332 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 10333 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 10334 esac 10335 else : 10336 # compilation failed 10337 lt_cv_dlopen_self_static=no 10338 fi 10339fi 10340rm -fr conftest* 10341 10342 10343fi 10344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 10345$as_echo "$lt_cv_dlopen_self_static" >&6; } 10346 fi 10347 10348 CPPFLAGS="$save_CPPFLAGS" 10349 LDFLAGS="$save_LDFLAGS" 10350 LIBS="$save_LIBS" 10351 ;; 10352 esac 10353 10354 case $lt_cv_dlopen_self in 10355 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 10356 *) enable_dlopen_self=unknown ;; 10357 esac 10358 10359 case $lt_cv_dlopen_self_static in 10360 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 10361 *) enable_dlopen_self_static=unknown ;; 10362 esac 10363fi 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381striplib= 10382old_striplib= 10383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 10384$as_echo_n "checking whether stripping libraries is possible... " >&6; } 10385if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 10386 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 10387 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10389$as_echo "yes" >&6; } 10390else 10391# FIXME - insert some real tests, host_os isn't really good enough 10392 case $host_os in 10393 darwin*) 10394 if test -n "$STRIP" ; then 10395 striplib="$STRIP -x" 10396 old_striplib="$STRIP -S" 10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10398$as_echo "yes" >&6; } 10399 else 10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10401$as_echo "no" >&6; } 10402 fi 10403 ;; 10404 *) 10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10406$as_echo "no" >&6; } 10407 ;; 10408 esac 10409fi 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 # Report which library types will actually be built 10423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 10424$as_echo_n "checking if libtool supports shared libraries... " >&6; } 10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 10426$as_echo "$can_build_shared" >&6; } 10427 10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 10429$as_echo_n "checking whether to build shared libraries... " >&6; } 10430 test "$can_build_shared" = "no" && enable_shared=no 10431 10432 # On AIX, shared libraries and static libraries use the same namespace, and 10433 # are all built from PIC. 10434 case $host_os in 10435 aix3*) 10436 test "$enable_shared" = yes && enable_static=no 10437 if test -n "$RANLIB"; then 10438 archive_cmds="$archive_cmds~\$RANLIB \$lib" 10439 postinstall_cmds='$RANLIB $lib' 10440 fi 10441 ;; 10442 10443 aix[4-9]*) 10444 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 10445 test "$enable_shared" = yes && enable_static=no 10446 fi 10447 ;; 10448 esac 10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 10450$as_echo "$enable_shared" >&6; } 10451 10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 10453$as_echo_n "checking whether to build static libraries... " >&6; } 10454 # Make sure either enable_shared or enable_static is yes. 10455 test "$enable_shared" = yes || enable_static=yes 10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 10457$as_echo "$enable_static" >&6; } 10458 10459 10460 10461 10462fi 10463ac_ext=c 10464ac_cpp='$CPP $CPPFLAGS' 10465ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 10466ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 10467ac_compiler_gnu=$ac_cv_c_compiler_gnu 10468 10469CC="$lt_save_CC" 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 ac_config_commands="$ac_config_commands libtool" 10484 10485 10486 10487 10488# Only expand once: 10489 10490 10491 10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 10493$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 10494if test "${ac_cv_prog_cc_c99+set}" = set; then : 10495 $as_echo_n "(cached) " >&6 10496else 10497 ac_cv_prog_cc_c99=no 10498ac_save_CC=$CC 10499cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10500/* end confdefs.h. */ 10501#include <stdarg.h> 10502#include <stdbool.h> 10503#include <stdlib.h> 10504#include <wchar.h> 10505#include <stdio.h> 10506 10507// Check varargs macros. These examples are taken from C99 6.10.3.5. 10508#define debug(...) fprintf (stderr, __VA_ARGS__) 10509#define showlist(...) puts (#__VA_ARGS__) 10510#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 10511static void 10512test_varargs_macros (void) 10513{ 10514 int x = 1234; 10515 int y = 5678; 10516 debug ("Flag"); 10517 debug ("X = %d\n", x); 10518 showlist (The first, second, and third items.); 10519 report (x>y, "x is %d but y is %d", x, y); 10520} 10521 10522// Check long long types. 10523#define BIG64 18446744073709551615ull 10524#define BIG32 4294967295ul 10525#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 10526#if !BIG_OK 10527 your preprocessor is broken; 10528#endif 10529#if BIG_OK 10530#else 10531 your preprocessor is broken; 10532#endif 10533static long long int bignum = -9223372036854775807LL; 10534static unsigned long long int ubignum = BIG64; 10535 10536struct incomplete_array 10537{ 10538 int datasize; 10539 double data[]; 10540}; 10541 10542struct named_init { 10543 int number; 10544 const wchar_t *name; 10545 double average; 10546}; 10547 10548typedef const char *ccp; 10549 10550static inline int 10551test_restrict (ccp restrict text) 10552{ 10553 // See if C++-style comments work. 10554 // Iterate through items via the restricted pointer. 10555 // Also check for declarations in for loops. 10556 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 10557 continue; 10558 return 0; 10559} 10560 10561// Check varargs and va_copy. 10562static void 10563test_varargs (const char *format, ...) 10564{ 10565 va_list args; 10566 va_start (args, format); 10567 va_list args_copy; 10568 va_copy (args_copy, args); 10569 10570 const char *str; 10571 int number; 10572 float fnumber; 10573 10574 while (*format) 10575 { 10576 switch (*format++) 10577 { 10578 case 's': // string 10579 str = va_arg (args_copy, const char *); 10580 break; 10581 case 'd': // int 10582 number = va_arg (args_copy, int); 10583 break; 10584 case 'f': // float 10585 fnumber = va_arg (args_copy, double); 10586 break; 10587 default: 10588 break; 10589 } 10590 } 10591 va_end (args_copy); 10592 va_end (args); 10593} 10594 10595int 10596main () 10597{ 10598 10599 // Check bool. 10600 _Bool success = false; 10601 10602 // Check restrict. 10603 if (test_restrict ("String literal") == 0) 10604 success = true; 10605 char *restrict newvar = "Another string"; 10606 10607 // Check varargs. 10608 test_varargs ("s, d' f .", "string", 65, 34.234); 10609 test_varargs_macros (); 10610 10611 // Check flexible array members. 10612 struct incomplete_array *ia = 10613 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 10614 ia->datasize = 10; 10615 for (int i = 0; i < ia->datasize; ++i) 10616 ia->data[i] = i * 1.234; 10617 10618 // Check named initializers. 10619 struct named_init ni = { 10620 .number = 34, 10621 .name = L"Test wide string", 10622 .average = 543.34343, 10623 }; 10624 10625 ni.number = 58; 10626 10627 int dynamic_array[ni.number]; 10628 dynamic_array[ni.number - 1] = 543; 10629 10630 // work around unused variable warnings 10631 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 10632 || dynamic_array[ni.number - 1] != 543); 10633 10634 ; 10635 return 0; 10636} 10637_ACEOF 10638for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 10639do 10640 CC="$ac_save_CC $ac_arg" 10641 if ac_fn_c_try_compile "$LINENO"; then : 10642 ac_cv_prog_cc_c99=$ac_arg 10643fi 10644rm -f core conftest.err conftest.$ac_objext 10645 test "x$ac_cv_prog_cc_c99" != "xno" && break 10646done 10647rm -f conftest.$ac_ext 10648CC=$ac_save_CC 10649 10650fi 10651# AC_CACHE_VAL 10652case "x$ac_cv_prog_cc_c99" in 10653 x) 10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 10655$as_echo "none needed" >&6; } ;; 10656 xno) 10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 10658$as_echo "unsupported" >&6; } ;; 10659 *) 10660 CC="$CC $ac_cv_prog_cc_c99" 10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 10662$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 10663esac 10664if test "x$ac_cv_prog_cc_c99" != xno; then : 10665 10666fi 10667 10668 10669 10670 10671if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 10672 if test -n "$ac_tool_prefix"; then 10673 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 10674set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 10675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10676$as_echo_n "checking for $ac_word... " >&6; } 10677if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 10678 $as_echo_n "(cached) " >&6 10679else 10680 case $PKG_CONFIG in 10681 [\\/]* | ?:[\\/]*) 10682 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 10683 ;; 10684 *) 10685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10686for as_dir in $PATH 10687do 10688 IFS=$as_save_IFS 10689 test -z "$as_dir" && as_dir=. 10690 for ac_exec_ext in '' $ac_executable_extensions; do 10691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10692 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10694 break 2 10695 fi 10696done 10697 done 10698IFS=$as_save_IFS 10699 10700 ;; 10701esac 10702fi 10703PKG_CONFIG=$ac_cv_path_PKG_CONFIG 10704if test -n "$PKG_CONFIG"; then 10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 10706$as_echo "$PKG_CONFIG" >&6; } 10707else 10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10709$as_echo "no" >&6; } 10710fi 10711 10712 10713fi 10714if test -z "$ac_cv_path_PKG_CONFIG"; then 10715 ac_pt_PKG_CONFIG=$PKG_CONFIG 10716 # Extract the first word of "pkg-config", so it can be a program name with args. 10717set dummy pkg-config; ac_word=$2 10718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10719$as_echo_n "checking for $ac_word... " >&6; } 10720if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 10721 $as_echo_n "(cached) " >&6 10722else 10723 case $ac_pt_PKG_CONFIG in 10724 [\\/]* | ?:[\\/]*) 10725 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 10726 ;; 10727 *) 10728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10729for as_dir in $PATH 10730do 10731 IFS=$as_save_IFS 10732 test -z "$as_dir" && as_dir=. 10733 for ac_exec_ext in '' $ac_executable_extensions; do 10734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 10735 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 10736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 10737 break 2 10738 fi 10739done 10740 done 10741IFS=$as_save_IFS 10742 10743 ;; 10744esac 10745fi 10746ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 10747if test -n "$ac_pt_PKG_CONFIG"; then 10748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 10749$as_echo "$ac_pt_PKG_CONFIG" >&6; } 10750else 10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10752$as_echo "no" >&6; } 10753fi 10754 10755 if test "x$ac_pt_PKG_CONFIG" = x; then 10756 PKG_CONFIG="" 10757 else 10758 case $cross_compiling:$ac_tool_warned in 10759yes:) 10760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 10761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 10762ac_tool_warned=yes ;; 10763esac 10764 PKG_CONFIG=$ac_pt_PKG_CONFIG 10765 fi 10766else 10767 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 10768fi 10769 10770fi 10771if test -n "$PKG_CONFIG"; then 10772 _pkg_min_version=0.9.0 10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 10774$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 10775 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10777$as_echo "yes" >&6; } 10778 else 10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10780$as_echo "no" >&6; } 10781 PKG_CONFIG="" 10782 fi 10783 10784fi 10785 10786 10787 10788 10789if test "x$GCC" = xyes ; then 10790 CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 10791-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 10792-Wbad-function-cast -Wformat=2" 10793 case `$CC -dumpversion` in 10794 3.4.* | 4.*) 10795 CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 10796 ;; 10797 esac 10798else 10799 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 10800if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 10801 SUNCC="yes" 10802else 10803 SUNCC="no" 10804fi 10805 10806 if test "x$SUNCC" = "xyes"; then 10807 CWARNFLAGS="-v" 10808 fi 10809fi 10810 10811 10812 10813# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89 10814 10815 10816 10817# Check whether --enable-strict-compilation was given. 10818if test "${enable_strict_compilation+set}" = set; then : 10819 enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 10820else 10821 STRICT_COMPILE=no 10822fi 10823 10824if test "x$STRICT_COMPILE" = "xyes"; then 10825 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" 10826if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then : 10827 SUNCC="yes" 10828else 10829 SUNCC="no" 10830fi 10831 10832 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" 10833if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then : 10834 INTELCC="yes" 10835else 10836 INTELCC="no" 10837fi 10838 10839 if test "x$GCC" = xyes ; then 10840 STRICT_CFLAGS="-pedantic -Werror" 10841 elif test "x$SUNCC" = "xyes"; then 10842 STRICT_CFLAGS="-errwarn" 10843 elif test "x$INTELCC" = "xyes"; then 10844 STRICT_CFLAGS="-Werror" 10845 fi 10846fi 10847CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 10848 10849 10850 10851 10852cat >>confdefs.h <<_ACEOF 10853#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 10854_ACEOF 10855 10856 PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 10857 if test "x$PVM" = "x"; then 10858 PVM="0" 10859 fi 10860 10861cat >>confdefs.h <<_ACEOF 10862#define PACKAGE_VERSION_MINOR $PVM 10863_ACEOF 10864 10865 PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 10866 if test "x$PVP" = "x"; then 10867 PVP="0" 10868 fi 10869 10870cat >>confdefs.h <<_ACEOF 10871#define PACKAGE_VERSION_PATCHLEVEL $PVP 10872_ACEOF 10873 10874 10875 10876CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \ 10877mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \ 10878|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \ 10879echo 'git directory not found: installing possibly empty changelog.' >&2)" 10880 10881 10882 10883 10884macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros` 10885INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \ 10886mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \ 10887|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \ 10888echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)" 10889 10890 10891 10892 10893 10894 10895if test x$APP_MAN_SUFFIX = x ; then 10896 APP_MAN_SUFFIX=1 10897fi 10898if test x$APP_MAN_DIR = x ; then 10899 APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 10900fi 10901 10902if test x$LIB_MAN_SUFFIX = x ; then 10903 LIB_MAN_SUFFIX=3 10904fi 10905if test x$LIB_MAN_DIR = x ; then 10906 LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 10907fi 10908 10909if test x$FILE_MAN_SUFFIX = x ; then 10910 case $host_os in 10911 solaris*) FILE_MAN_SUFFIX=4 ;; 10912 *) FILE_MAN_SUFFIX=5 ;; 10913 esac 10914fi 10915if test x$FILE_MAN_DIR = x ; then 10916 FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 10917fi 10918 10919if test x$MISC_MAN_SUFFIX = x ; then 10920 case $host_os in 10921 solaris*) MISC_MAN_SUFFIX=5 ;; 10922 *) MISC_MAN_SUFFIX=7 ;; 10923 esac 10924fi 10925if test x$MISC_MAN_DIR = x ; then 10926 MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 10927fi 10928 10929if test x$DRIVER_MAN_SUFFIX = x ; then 10930 case $host_os in 10931 solaris*) DRIVER_MAN_SUFFIX=7 ;; 10932 *) DRIVER_MAN_SUFFIX=4 ;; 10933 esac 10934fi 10935if test x$DRIVER_MAN_DIR = x ; then 10936 DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 10937fi 10938 10939if test x$ADMIN_MAN_SUFFIX = x ; then 10940 case $host_os in 10941 solaris*) ADMIN_MAN_SUFFIX=1m ;; 10942 *) ADMIN_MAN_SUFFIX=8 ;; 10943 esac 10944fi 10945if test x$ADMIN_MAN_DIR = x ; then 10946 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 10947fi 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963XORG_MAN_PAGE="X Version 11" 10964 10965MAN_SUBSTS="\ 10966 -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 10967 -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \ 10968 -e 's|__xservername__|Xorg|g' \ 10969 -e 's|__xconfigfile__|xorg.conf|g' \ 10970 -e 's|__projectroot__|\$(prefix)|g' \ 10971 -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \ 10972 -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \ 10973 -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \ 10974 -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \ 10975 -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \ 10976 -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'" 10977 10978 10979 10980# Check whether --enable-silent-rules was given. 10981if test "${enable_silent_rules+set}" = set; then : 10982 enableval=$enable_silent_rules; 10983fi 10984 10985case $enable_silent_rules in 10986yes) AM_DEFAULT_VERBOSITY=0;; 10987no) AM_DEFAULT_VERBOSITY=1;; 10988*) AM_DEFAULT_VERBOSITY=0;; 10989esac 10990AM_BACKSLASH='\' 10991 10992 10993 10994 10995 10996# Check whether --with-xmlto was given. 10997if test "${with_xmlto+set}" = set; then : 10998 withval=$with_xmlto; use_xmlto=$withval 10999else 11000 use_xmlto=auto 11001fi 11002 11003 11004if test "x$use_xmlto" = x"auto"; then 11005 # Extract the first word of "xmlto", so it can be a program name with args. 11006set dummy xmlto; ac_word=$2 11007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11008$as_echo_n "checking for $ac_word... " >&6; } 11009if test "${ac_cv_path_XMLTO+set}" = set; then : 11010 $as_echo_n "(cached) " >&6 11011else 11012 case $XMLTO in 11013 [\\/]* | ?:[\\/]*) 11014 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path. 11015 ;; 11016 *) 11017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11018for as_dir in $PATH 11019do 11020 IFS=$as_save_IFS 11021 test -z "$as_dir" && as_dir=. 11022 for ac_exec_ext in '' $ac_executable_extensions; do 11023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11024 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext" 11025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11026 break 2 11027 fi 11028done 11029 done 11030IFS=$as_save_IFS 11031 11032 ;; 11033esac 11034fi 11035XMLTO=$ac_cv_path_XMLTO 11036if test -n "$XMLTO"; then 11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 11038$as_echo "$XMLTO" >&6; } 11039else 11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11041$as_echo "no" >&6; } 11042fi 11043 11044 11045 if test "x$XMLTO" = "x"; then 11046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5 11047$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;} 11048 have_xmlto=no 11049 else 11050 have_xmlto=yes 11051 fi 11052elif test "x$use_xmlto" = x"yes" ; then 11053 # Extract the first word of "xmlto", so it can be a program name with args. 11054set dummy xmlto; ac_word=$2 11055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 11056$as_echo_n "checking for $ac_word... " >&6; } 11057if test "${ac_cv_path_XMLTO+set}" = set; then : 11058 $as_echo_n "(cached) " >&6 11059else 11060 case $XMLTO in 11061 [\\/]* | ?:[\\/]*) 11062 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path. 11063 ;; 11064 *) 11065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11066for as_dir in $PATH 11067do 11068 IFS=$as_save_IFS 11069 test -z "$as_dir" && as_dir=. 11070 for ac_exec_ext in '' $ac_executable_extensions; do 11071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 11072 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext" 11073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 11074 break 2 11075 fi 11076done 11077 done 11078IFS=$as_save_IFS 11079 11080 ;; 11081esac 11082fi 11083XMLTO=$ac_cv_path_XMLTO 11084if test -n "$XMLTO"; then 11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5 11086$as_echo "$XMLTO" >&6; } 11087else 11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11089$as_echo "no" >&6; } 11090fi 11091 11092 11093 if test "x$XMLTO" = "x"; then 11094 as_fn_error "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5 11095 fi 11096 have_xmlto=yes 11097elif test "x$use_xmlto" = x"no" ; then 11098 if test "x$XMLTO" != "x"; then 11099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5 11100$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;} 11101 fi 11102 have_xmlto=no 11103else 11104 as_fn_error "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5 11105fi 11106if test "$have_xmlto" = yes; then 11107 # scrape the xmlto version 11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5 11109$as_echo_n "checking the xmlto version... " >&6; } 11110 xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3` 11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5 11112$as_echo "$xmlto_version" >&6; } 11113 as_arg_v1=$xmlto_version 11114as_arg_v2=0.0.20 11115awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null 11116case $? in #( 11117 1) : 11118 if test "x$use_xmlto" = xauto; then 11119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5 11120$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;} 11121 have_xmlto=no 11122 else 11123 as_fn_error "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5 11124 fi ;; #( 11125 0) : 11126 ;; #( 11127 2) : 11128 ;; #( 11129 *) : 11130 ;; 11131esac 11132fi 11133 if test "$have_xmlto" = yes; then 11134 HAVE_XMLTO_TRUE= 11135 HAVE_XMLTO_FALSE='#' 11136else 11137 HAVE_XMLTO_TRUE='#' 11138 HAVE_XMLTO_FALSE= 11139fi 11140 11141 11142 11143# Determine if the source for man pages is available 11144# It may already be present (tarball) or can be generated using xmlto 11145 if test -f "$srcdir/man/Xcomposite.man" || test "x$have_xmlto" = xyes; then 11146 INSTALL_MANPAGES_TRUE= 11147 INSTALL_MANPAGES_FALSE='#' 11148else 11149 INSTALL_MANPAGES_TRUE='#' 11150 INSTALL_MANPAGES_FALSE= 11151fi 11152 11153 11154# Check compositeext configuration, strip extra digits from package version to 11155# find the required protocol version 11156 11157if test "$VERSION" = "" ; then 11158 VERSION=$PACKAGE_VERSION; 11159fi 11160COMPOSITEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'` 11161 11162 11163pkg_failed=no 11164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCOMPOSITE" >&5 11165$as_echo_n "checking for XCOMPOSITE... " >&6; } 11166 11167if test -n "$XCOMPOSITE_CFLAGS"; then 11168 pkg_cv_XCOMPOSITE_CFLAGS="$XCOMPOSITE_CFLAGS" 11169 elif test -n "$PKG_CONFIG"; then 11170 if test -n "$PKG_CONFIG" && \ 11171 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION x11 xfixes xext fixesproto\""; } >&5 11172 ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto") 2>&5 11173 ac_status=$? 11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11175 test $ac_status = 0; }; then 11176 pkg_cv_XCOMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto" 2>/dev/null` 11177else 11178 pkg_failed=yes 11179fi 11180 else 11181 pkg_failed=untried 11182fi 11183if test -n "$XCOMPOSITE_LIBS"; then 11184 pkg_cv_XCOMPOSITE_LIBS="$XCOMPOSITE_LIBS" 11185 elif test -n "$PKG_CONFIG"; then 11186 if test -n "$PKG_CONFIG" && \ 11187 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"compositeproto >= \$COMPOSITEEXT_VERSION x11 xfixes xext fixesproto\""; } >&5 11188 ($PKG_CONFIG --exists --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto") 2>&5 11189 ac_status=$? 11190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11191 test $ac_status = 0; }; then 11192 pkg_cv_XCOMPOSITE_LIBS=`$PKG_CONFIG --libs "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto" 2>/dev/null` 11193else 11194 pkg_failed=yes 11195fi 11196 else 11197 pkg_failed=untried 11198fi 11199 11200 11201 11202if test $pkg_failed = yes; then 11203 11204if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 11205 _pkg_short_errors_supported=yes 11206else 11207 _pkg_short_errors_supported=no 11208fi 11209 if test $_pkg_short_errors_supported = yes; then 11210 XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto" 2>&1` 11211 else 11212 XCOMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto" 2>&1` 11213 fi 11214 # Put the nasty error message in config.log where it belongs 11215 echo "$XCOMPOSITE_PKG_ERRORS" >&5 11216 11217 as_fn_error "Package requirements (compositeproto >= $COMPOSITEEXT_VERSION x11 xfixes xext fixesproto) were not met: 11218 11219$XCOMPOSITE_PKG_ERRORS 11220 11221Consider adjusting the PKG_CONFIG_PATH environment variable if you 11222installed software in a non-standard prefix. 11223 11224Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS 11225and XCOMPOSITE_LIBS to avoid the need to call pkg-config. 11226See the pkg-config man page for more details. 11227" "$LINENO" 5 11228elif test $pkg_failed = untried; then 11229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11231as_fn_error "The pkg-config script could not be found or is too old. Make sure it 11232is in your PATH or set the PKG_CONFIG environment variable to the full 11233path to pkg-config. 11234 11235Alternatively, you may set the environment variables XCOMPOSITE_CFLAGS 11236and XCOMPOSITE_LIBS to avoid the need to call pkg-config. 11237See the pkg-config man page for more details. 11238 11239To get pkg-config, see <http://pkg-config.freedesktop.org/>. 11240See \`config.log' for more details." "$LINENO" 5; } 11241else 11242 XCOMPOSITE_CFLAGS=$pkg_cv_XCOMPOSITE_CFLAGS 11243 XCOMPOSITE_LIBS=$pkg_cv_XCOMPOSITE_LIBS 11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11245$as_echo "yes" >&6; } 11246 : 11247fi 11248 11249 11250 11251ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xcomposite.pc" 11252 11253cat >confcache <<\_ACEOF 11254# This file is a shell script that caches the results of configure 11255# tests run on this system so they can be shared between configure 11256# scripts and configure runs, see configure's option --config-cache. 11257# It is not useful on other systems. If it contains results you don't 11258# want to keep, you may remove or edit it. 11259# 11260# config.status only pays attention to the cache file if you give it 11261# the --recheck option to rerun configure. 11262# 11263# `ac_cv_env_foo' variables (set or unset) will be overridden when 11264# loading this file, other *unset* `ac_cv_foo' will be assigned the 11265# following values. 11266 11267_ACEOF 11268 11269# The following way of writing the cache mishandles newlines in values, 11270# but we know of no workaround that is simple, portable, and efficient. 11271# So, we kill variables containing newlines. 11272# Ultrix sh set writes to stderr and can't be redirected directly, 11273# and sets the high bit in the cache file unless we assign to the vars. 11274( 11275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11276 eval ac_val=\$$ac_var 11277 case $ac_val in #( 11278 *${as_nl}*) 11279 case $ac_var in #( 11280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11281$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11282 esac 11283 case $ac_var in #( 11284 _ | IFS | as_nl) ;; #( 11285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11286 *) { eval $ac_var=; unset $ac_var;} ;; 11287 esac ;; 11288 esac 11289 done 11290 11291 (set) 2>&1 | 11292 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11293 *${as_nl}ac_space=\ *) 11294 # `set' does not quote correctly, so add quotes: double-quote 11295 # substitution turns \\\\ into \\, and sed turns \\ into \. 11296 sed -n \ 11297 "s/'/'\\\\''/g; 11298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11299 ;; #( 11300 *) 11301 # `set' quotes correctly as required by POSIX, so do not add quotes. 11302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11303 ;; 11304 esac | 11305 sort 11306) | 11307 sed ' 11308 /^ac_cv_env_/b end 11309 t clear 11310 :clear 11311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11312 t end 11313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11314 :end' >>confcache 11315if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11316 if test -w "$cache_file"; then 11317 test "x$cache_file" != "x/dev/null" && 11318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11319$as_echo "$as_me: updating cache $cache_file" >&6;} 11320 cat confcache >$cache_file 11321 else 11322 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11323$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11324 fi 11325fi 11326rm -f confcache 11327 11328test "x$prefix" = xNONE && prefix=$ac_default_prefix 11329# Let make expand exec_prefix. 11330test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11331 11332DEFS=-DHAVE_CONFIG_H 11333 11334ac_libobjs= 11335ac_ltlibobjs= 11336for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11337 # 1. Remove the extension, and $U if already installed. 11338 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11339 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11340 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11341 # will be set to the directory where LIBOBJS objects are built. 11342 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11343 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11344done 11345LIBOBJS=$ac_libobjs 11346 11347LTLIBOBJS=$ac_ltlibobjs 11348 11349 11350 if test -n "$EXEEXT"; then 11351 am__EXEEXT_TRUE= 11352 am__EXEEXT_FALSE='#' 11353else 11354 am__EXEEXT_TRUE='#' 11355 am__EXEEXT_FALSE= 11356fi 11357 11358if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11359 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. 11360Usually this means the macro was only invoked conditionally." "$LINENO" 5 11361fi 11362if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11363 as_fn_error "conditional \"AMDEP\" was never defined. 11364Usually this means the macro was only invoked conditionally." "$LINENO" 5 11365fi 11366if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11367 as_fn_error "conditional \"am__fastdepCC\" was never defined. 11368Usually this means the macro was only invoked conditionally." "$LINENO" 5 11369fi 11370if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then 11371 as_fn_error "conditional \"HAVE_XMLTO\" was never defined. 11372Usually this means the macro was only invoked conditionally." "$LINENO" 5 11373fi 11374if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then 11375 as_fn_error "conditional \"INSTALL_MANPAGES\" was never defined. 11376Usually this means the macro was only invoked conditionally." "$LINENO" 5 11377fi 11378 11379: ${CONFIG_STATUS=./config.status} 11380ac_write_fail=0 11381ac_clean_files_save=$ac_clean_files 11382ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11383{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11384$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11385as_write_fail=0 11386cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11387#! $SHELL 11388# Generated by $as_me. 11389# Run this file to recreate the current configuration. 11390# Compiler output produced by configure, useful for debugging 11391# configure, is in config.log if it exists. 11392 11393debug=false 11394ac_cs_recheck=false 11395ac_cs_silent=false 11396 11397SHELL=\${CONFIG_SHELL-$SHELL} 11398export SHELL 11399_ASEOF 11400cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11401## -------------------- ## 11402## M4sh Initialization. ## 11403## -------------------- ## 11404 11405# Be more Bourne compatible 11406DUALCASE=1; export DUALCASE # for MKS sh 11407if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11408 emulate sh 11409 NULLCMD=: 11410 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11411 # is contrary to our usage. Disable this feature. 11412 alias -g '${1+"$@"}'='"$@"' 11413 setopt NO_GLOB_SUBST 11414else 11415 case `(set -o) 2>/dev/null` in #( 11416 *posix*) : 11417 set -o posix ;; #( 11418 *) : 11419 ;; 11420esac 11421fi 11422 11423 11424as_nl=' 11425' 11426export as_nl 11427# Printing a long string crashes Solaris 7 /usr/bin/printf. 11428as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11429as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11430as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11431# Prefer a ksh shell builtin over an external printf program on Solaris, 11432# but without wasting forks for bash or zsh. 11433if test -z "$BASH_VERSION$ZSH_VERSION" \ 11434 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11435 as_echo='print -r --' 11436 as_echo_n='print -rn --' 11437elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11438 as_echo='printf %s\n' 11439 as_echo_n='printf %s' 11440else 11441 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11442 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11443 as_echo_n='/usr/ucb/echo -n' 11444 else 11445 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11446 as_echo_n_body='eval 11447 arg=$1; 11448 case $arg in #( 11449 *"$as_nl"*) 11450 expr "X$arg" : "X\\(.*\\)$as_nl"; 11451 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11452 esac; 11453 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11454 ' 11455 export as_echo_n_body 11456 as_echo_n='sh -c $as_echo_n_body as_echo' 11457 fi 11458 export as_echo_body 11459 as_echo='sh -c $as_echo_body as_echo' 11460fi 11461 11462# The user is always right. 11463if test "${PATH_SEPARATOR+set}" != set; then 11464 PATH_SEPARATOR=: 11465 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11466 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11467 PATH_SEPARATOR=';' 11468 } 11469fi 11470 11471 11472# IFS 11473# We need space, tab and new line, in precisely that order. Quoting is 11474# there to prevent editors from complaining about space-tab. 11475# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11476# splitting by setting IFS to empty value.) 11477IFS=" "" $as_nl" 11478 11479# Find who we are. Look in the path if we contain no directory separator. 11480case $0 in #(( 11481 *[\\/]* ) as_myself=$0 ;; 11482 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11483for as_dir in $PATH 11484do 11485 IFS=$as_save_IFS 11486 test -z "$as_dir" && as_dir=. 11487 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11488 done 11489IFS=$as_save_IFS 11490 11491 ;; 11492esac 11493# We did not find ourselves, most probably we were run as `sh COMMAND' 11494# in which case we are not to be found in the path. 11495if test "x$as_myself" = x; then 11496 as_myself=$0 11497fi 11498if test ! -f "$as_myself"; then 11499 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11500 exit 1 11501fi 11502 11503# Unset variables that we do not need and which cause bugs (e.g. in 11504# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 11505# suppresses any "Segmentation fault" message there. '((' could 11506# trigger a bug in pdksh 5.2.14. 11507for as_var in BASH_ENV ENV MAIL MAILPATH 11508do eval test x\${$as_var+set} = xset \ 11509 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 11510done 11511PS1='$ ' 11512PS2='> ' 11513PS4='+ ' 11514 11515# NLS nuisances. 11516LC_ALL=C 11517export LC_ALL 11518LANGUAGE=C 11519export LANGUAGE 11520 11521# CDPATH. 11522(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11523 11524 11525# as_fn_error ERROR [LINENO LOG_FD] 11526# --------------------------------- 11527# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 11528# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 11529# script with status $?, using 1 if that was 0. 11530as_fn_error () 11531{ 11532 as_status=$?; test $as_status -eq 0 && as_status=1 11533 if test "$3"; then 11534 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 11535 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 11536 fi 11537 $as_echo "$as_me: error: $1" >&2 11538 as_fn_exit $as_status 11539} # as_fn_error 11540 11541 11542# as_fn_set_status STATUS 11543# ----------------------- 11544# Set $? to STATUS, without forking. 11545as_fn_set_status () 11546{ 11547 return $1 11548} # as_fn_set_status 11549 11550# as_fn_exit STATUS 11551# ----------------- 11552# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 11553as_fn_exit () 11554{ 11555 set +e 11556 as_fn_set_status $1 11557 exit $1 11558} # as_fn_exit 11559 11560# as_fn_unset VAR 11561# --------------- 11562# Portably unset VAR. 11563as_fn_unset () 11564{ 11565 { eval $1=; unset $1;} 11566} 11567as_unset=as_fn_unset 11568# as_fn_append VAR VALUE 11569# ---------------------- 11570# Append the text in VALUE to the end of the definition contained in VAR. Take 11571# advantage of any shell optimizations that allow amortized linear growth over 11572# repeated appends, instead of the typical quadratic growth present in naive 11573# implementations. 11574if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 11575 eval 'as_fn_append () 11576 { 11577 eval $1+=\$2 11578 }' 11579else 11580 as_fn_append () 11581 { 11582 eval $1=\$$1\$2 11583 } 11584fi # as_fn_append 11585 11586# as_fn_arith ARG... 11587# ------------------ 11588# Perform arithmetic evaluation on the ARGs, and store the result in the 11589# global $as_val. Take advantage of shells that can avoid forks. The arguments 11590# must be portable across $(()) and expr. 11591if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 11592 eval 'as_fn_arith () 11593 { 11594 as_val=$(( $* )) 11595 }' 11596else 11597 as_fn_arith () 11598 { 11599 as_val=`expr "$@" || test $? -eq 1` 11600 } 11601fi # as_fn_arith 11602 11603 11604if expr a : '\(a\)' >/dev/null 2>&1 && 11605 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11606 as_expr=expr 11607else 11608 as_expr=false 11609fi 11610 11611if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11612 as_basename=basename 11613else 11614 as_basename=false 11615fi 11616 11617if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11618 as_dirname=dirname 11619else 11620 as_dirname=false 11621fi 11622 11623as_me=`$as_basename -- "$0" || 11624$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11625 X"$0" : 'X\(//\)$' \| \ 11626 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11627$as_echo X/"$0" | 11628 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11629 s//\1/ 11630 q 11631 } 11632 /^X\/\(\/\/\)$/{ 11633 s//\1/ 11634 q 11635 } 11636 /^X\/\(\/\).*/{ 11637 s//\1/ 11638 q 11639 } 11640 s/.*/./; q'` 11641 11642# Avoid depending upon Character Ranges. 11643as_cr_letters='abcdefghijklmnopqrstuvwxyz' 11644as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 11645as_cr_Letters=$as_cr_letters$as_cr_LETTERS 11646as_cr_digits='0123456789' 11647as_cr_alnum=$as_cr_Letters$as_cr_digits 11648 11649ECHO_C= ECHO_N= ECHO_T= 11650case `echo -n x` in #((((( 11651-n*) 11652 case `echo 'xy\c'` in 11653 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11654 xy) ECHO_C='\c';; 11655 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 11656 ECHO_T=' ';; 11657 esac;; 11658*) 11659 ECHO_N='-n';; 11660esac 11661 11662rm -f conf$$ conf$$.exe conf$$.file 11663if test -d conf$$.dir; then 11664 rm -f conf$$.dir/conf$$.file 11665else 11666 rm -f conf$$.dir 11667 mkdir conf$$.dir 2>/dev/null 11668fi 11669if (echo >conf$$.file) 2>/dev/null; then 11670 if ln -s conf$$.file conf$$ 2>/dev/null; then 11671 as_ln_s='ln -s' 11672 # ... but there are two gotchas: 11673 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11674 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11675 # In both cases, we have to default to `cp -p'. 11676 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11677 as_ln_s='cp -p' 11678 elif ln conf$$.file conf$$ 2>/dev/null; then 11679 as_ln_s=ln 11680 else 11681 as_ln_s='cp -p' 11682 fi 11683else 11684 as_ln_s='cp -p' 11685fi 11686rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11687rmdir conf$$.dir 2>/dev/null 11688 11689 11690# as_fn_mkdir_p 11691# ------------- 11692# Create "$as_dir" as a directory, including parents if necessary. 11693as_fn_mkdir_p () 11694{ 11695 11696 case $as_dir in #( 11697 -*) as_dir=./$as_dir;; 11698 esac 11699 test -d "$as_dir" || eval $as_mkdir_p || { 11700 as_dirs= 11701 while :; do 11702 case $as_dir in #( 11703 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 11704 *) as_qdir=$as_dir;; 11705 esac 11706 as_dirs="'$as_qdir' $as_dirs" 11707 as_dir=`$as_dirname -- "$as_dir" || 11708$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11709 X"$as_dir" : 'X\(//\)[^/]' \| \ 11710 X"$as_dir" : 'X\(//\)$' \| \ 11711 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 11712$as_echo X"$as_dir" | 11713 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11714 s//\1/ 11715 q 11716 } 11717 /^X\(\/\/\)[^/].*/{ 11718 s//\1/ 11719 q 11720 } 11721 /^X\(\/\/\)$/{ 11722 s//\1/ 11723 q 11724 } 11725 /^X\(\/\).*/{ 11726 s//\1/ 11727 q 11728 } 11729 s/.*/./; q'` 11730 test -d "$as_dir" && break 11731 done 11732 test -z "$as_dirs" || eval "mkdir $as_dirs" 11733 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 11734 11735 11736} # as_fn_mkdir_p 11737if mkdir -p . 2>/dev/null; then 11738 as_mkdir_p='mkdir -p "$as_dir"' 11739else 11740 test -d ./-p && rmdir ./-p 11741 as_mkdir_p=false 11742fi 11743 11744if test -x / >/dev/null 2>&1; then 11745 as_test_x='test -x' 11746else 11747 if ls -dL / >/dev/null 2>&1; then 11748 as_ls_L_option=L 11749 else 11750 as_ls_L_option= 11751 fi 11752 as_test_x=' 11753 eval sh -c '\'' 11754 if test -d "$1"; then 11755 test -d "$1/."; 11756 else 11757 case $1 in #( 11758 -*)set "./$1";; 11759 esac; 11760 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 11761 ???[sx]*):;;*)false;;esac;fi 11762 '\'' sh 11763 ' 11764fi 11765as_executable_p=$as_test_x 11766 11767# Sed expression to map a string onto a valid CPP name. 11768as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 11769 11770# Sed expression to map a string onto a valid variable name. 11771as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 11772 11773 11774exec 6>&1 11775## ----------------------------------- ## 11776## Main body of $CONFIG_STATUS script. ## 11777## ----------------------------------- ## 11778_ASEOF 11779test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 11780 11781cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11782# Save the log message, to keep $0 and so on meaningful, and to 11783# report actual input values of CONFIG_FILES etc. instead of their 11784# values after options handling. 11785ac_log=" 11786This file was extended by libXcomposite $as_me 0.4.2, which was 11787generated by GNU Autoconf 2.65. Invocation command line was 11788 11789 CONFIG_FILES = $CONFIG_FILES 11790 CONFIG_HEADERS = $CONFIG_HEADERS 11791 CONFIG_LINKS = $CONFIG_LINKS 11792 CONFIG_COMMANDS = $CONFIG_COMMANDS 11793 $ $0 $@ 11794 11795on `(hostname || uname -n) 2>/dev/null | sed 1q` 11796" 11797 11798_ACEOF 11799 11800case $ac_config_files in *" 11801"*) set x $ac_config_files; shift; ac_config_files=$*;; 11802esac 11803 11804case $ac_config_headers in *" 11805"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 11806esac 11807 11808 11809cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11810# Files that config.status was made for. 11811config_files="$ac_config_files" 11812config_headers="$ac_config_headers" 11813config_commands="$ac_config_commands" 11814 11815_ACEOF 11816 11817cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11818ac_cs_usage="\ 11819\`$as_me' instantiates files and other configuration actions 11820from templates according to the current configuration. Unless the files 11821and actions are specified as TAGs, all are instantiated by default. 11822 11823Usage: $0 [OPTION]... [TAG]... 11824 11825 -h, --help print this help, then exit 11826 -V, --version print version number and configuration settings, then exit 11827 --config print configuration, then exit 11828 -q, --quiet, --silent 11829 do not print progress messages 11830 -d, --debug don't remove temporary files 11831 --recheck update $as_me by reconfiguring in the same conditions 11832 --file=FILE[:TEMPLATE] 11833 instantiate the configuration file FILE 11834 --header=FILE[:TEMPLATE] 11835 instantiate the configuration header FILE 11836 11837Configuration files: 11838$config_files 11839 11840Configuration headers: 11841$config_headers 11842 11843Configuration commands: 11844$config_commands 11845 11846Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>." 11847 11848_ACEOF 11849cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11850ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 11851ac_cs_version="\\ 11852libXcomposite config.status 0.4.2 11853configured by $0, generated by GNU Autoconf 2.65, 11854 with options \\"\$ac_cs_config\\" 11855 11856Copyright (C) 2009 Free Software Foundation, Inc. 11857This config.status script is free software; the Free Software Foundation 11858gives unlimited permission to copy, distribute and modify it." 11859 11860ac_pwd='$ac_pwd' 11861srcdir='$srcdir' 11862INSTALL='$INSTALL' 11863MKDIR_P='$MKDIR_P' 11864AWK='$AWK' 11865test -n "\$AWK" || AWK=awk 11866_ACEOF 11867 11868cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11869# The default lists apply if the user does not specify any file. 11870ac_need_defaults=: 11871while test $# != 0 11872do 11873 case $1 in 11874 --*=*) 11875 ac_option=`expr "X$1" : 'X\([^=]*\)='` 11876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 11877 ac_shift=: 11878 ;; 11879 *) 11880 ac_option=$1 11881 ac_optarg=$2 11882 ac_shift=shift 11883 ;; 11884 esac 11885 11886 case $ac_option in 11887 # Handling of the options. 11888 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11889 ac_cs_recheck=: ;; 11890 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11891 $as_echo "$ac_cs_version"; exit ;; 11892 --config | --confi | --conf | --con | --co | --c ) 11893 $as_echo "$ac_cs_config"; exit ;; 11894 --debug | --debu | --deb | --de | --d | -d ) 11895 debug=: ;; 11896 --file | --fil | --fi | --f ) 11897 $ac_shift 11898 case $ac_optarg in 11899 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11900 esac 11901 as_fn_append CONFIG_FILES " '$ac_optarg'" 11902 ac_need_defaults=false;; 11903 --header | --heade | --head | --hea ) 11904 $ac_shift 11905 case $ac_optarg in 11906 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 11907 esac 11908 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 11909 ac_need_defaults=false;; 11910 --he | --h) 11911 # Conflict between --help and --header 11912 as_fn_error "ambiguous option: \`$1' 11913Try \`$0 --help' for more information.";; 11914 --help | --hel | -h ) 11915 $as_echo "$ac_cs_usage"; exit ;; 11916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11917 | -silent | --silent | --silen | --sile | --sil | --si | --s) 11918 ac_cs_silent=: ;; 11919 11920 # This is an error. 11921 -*) as_fn_error "unrecognized option: \`$1' 11922Try \`$0 --help' for more information." ;; 11923 11924 *) as_fn_append ac_config_targets " $1" 11925 ac_need_defaults=false ;; 11926 11927 esac 11928 shift 11929done 11930 11931ac_configure_extra_args= 11932 11933if $ac_cs_silent; then 11934 exec 6>/dev/null 11935 ac_configure_extra_args="$ac_configure_extra_args --silent" 11936fi 11937 11938_ACEOF 11939cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11940if \$ac_cs_recheck; then 11941 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11942 shift 11943 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 11944 CONFIG_SHELL='$SHELL' 11945 export CONFIG_SHELL 11946 exec "\$@" 11947fi 11948 11949_ACEOF 11950cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11951exec 5>>config.log 11952{ 11953 echo 11954 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11955## Running $as_me. ## 11956_ASBOX 11957 $as_echo "$ac_log" 11958} >&5 11959 11960_ACEOF 11961cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11962# 11963# INIT-COMMANDS 11964# 11965AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 11966 11967 11968# The HP-UX ksh and POSIX shell print the target directory to stdout 11969# if CDPATH is set. 11970(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 11971 11972sed_quote_subst='$sed_quote_subst' 11973double_quote_subst='$double_quote_subst' 11974delay_variable_subst='$delay_variable_subst' 11975macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`' 11976macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`' 11977enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`' 11978enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`' 11979pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`' 11980enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`' 11981host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`' 11982host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`' 11983host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`' 11984build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`' 11985build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`' 11986build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`' 11987SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`' 11988Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`' 11989GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`' 11990EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`' 11991FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`' 11992LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`' 11993NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`' 11994LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`' 11995max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`' 11996ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`' 11997exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`' 11998lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`' 11999lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`' 12000lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`' 12001reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`' 12002reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12003OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`' 12004deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`' 12005file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`' 12006AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`' 12007AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12008STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`' 12009RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`' 12010old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12011old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12012old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12013CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`' 12014CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`' 12015compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' 12016GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' 12017lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' 12018lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' 12019lt_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"`' 12020lt_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"`' 12021objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' 12022SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`' 12023ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`' 12024MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`' 12025lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`' 12026lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`' 12027lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`' 12028lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`' 12029lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`' 12030need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`' 12031DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`' 12032NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`' 12033LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`' 12034OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`' 12035OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`' 12036libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`' 12037shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12038extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12039archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`' 12040enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`' 12041export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12042whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12043compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`' 12044old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12045old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12046archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12047archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12048module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12049module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12050with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`' 12051allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12052no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`' 12053hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`' 12054hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`' 12055hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`' 12056hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`' 12057hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`' 12058hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`' 12059hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12060hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`' 12061inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`' 12062link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`' 12063fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`' 12064always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`' 12065export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12066exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12067include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`' 12068prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12069file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`' 12070variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`' 12071need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' 12072need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`' 12073version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`' 12074runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12075shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`' 12076shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`' 12077libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12078library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`' 12079soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`' 12080postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12081postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12082finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`' 12083finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`' 12084hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`' 12085sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12086sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`' 12087hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`' 12088enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`' 12089enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`' 12090enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`' 12091old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`' 12092striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`' 12093 12094LTCC='$LTCC' 12095LTCFLAGS='$LTCFLAGS' 12096compiler='$compiler_DEFAULT' 12097 12098# Quote evaled strings. 12099for var in SED \ 12100GREP \ 12101EGREP \ 12102FGREP \ 12103LD \ 12104NM \ 12105LN_S \ 12106lt_SP2NL \ 12107lt_NL2SP \ 12108reload_flag \ 12109OBJDUMP \ 12110deplibs_check_method \ 12111file_magic_cmd \ 12112AR \ 12113AR_FLAGS \ 12114STRIP \ 12115RANLIB \ 12116CC \ 12117CFLAGS \ 12118compiler \ 12119lt_cv_sys_global_symbol_pipe \ 12120lt_cv_sys_global_symbol_to_cdecl \ 12121lt_cv_sys_global_symbol_to_c_name_address \ 12122lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12123SHELL \ 12124ECHO \ 12125lt_prog_compiler_no_builtin_flag \ 12126lt_prog_compiler_wl \ 12127lt_prog_compiler_pic \ 12128lt_prog_compiler_static \ 12129lt_cv_prog_compiler_c_o \ 12130need_locks \ 12131DSYMUTIL \ 12132NMEDIT \ 12133LIPO \ 12134OTOOL \ 12135OTOOL64 \ 12136shrext_cmds \ 12137export_dynamic_flag_spec \ 12138whole_archive_flag_spec \ 12139compiler_needs_object \ 12140with_gnu_ld \ 12141allow_undefined_flag \ 12142no_undefined_flag \ 12143hardcode_libdir_flag_spec \ 12144hardcode_libdir_flag_spec_ld \ 12145hardcode_libdir_separator \ 12146fix_srcfile_path \ 12147exclude_expsyms \ 12148include_expsyms \ 12149file_list_spec \ 12150variables_saved_for_relink \ 12151libname_spec \ 12152library_names_spec \ 12153soname_spec \ 12154finish_eval \ 12155old_striplib \ 12156striplib; do 12157 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12158 *[\\\\\\\`\\"\\\$]*) 12159 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12160 ;; 12161 *) 12162 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12163 ;; 12164 esac 12165done 12166 12167# Double-quote double-evaled strings. 12168for var in reload_cmds \ 12169old_postinstall_cmds \ 12170old_postuninstall_cmds \ 12171old_archive_cmds \ 12172extract_expsyms_cmds \ 12173old_archive_from_new_cmds \ 12174old_archive_from_expsyms_cmds \ 12175archive_cmds \ 12176archive_expsym_cmds \ 12177module_cmds \ 12178module_expsym_cmds \ 12179export_symbols_cmds \ 12180prelink_cmds \ 12181postinstall_cmds \ 12182postuninstall_cmds \ 12183finish_cmds \ 12184sys_lib_search_path_spec \ 12185sys_lib_dlsearch_path_spec; do 12186 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in 12187 *[\\\\\\\`\\"\\\$]*) 12188 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12189 ;; 12190 *) 12191 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12192 ;; 12193 esac 12194done 12195 12196# Fix-up fallback echo if it was mangled by the above quoting rules. 12197case \$lt_ECHO in 12198*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\` 12199 ;; 12200esac 12201 12202ac_aux_dir='$ac_aux_dir' 12203xsi_shell='$xsi_shell' 12204lt_shell_append='$lt_shell_append' 12205 12206# See if we are running on zsh, and set the options which allow our 12207# commands through without removal of \ escapes INIT. 12208if test -n "\${ZSH_VERSION+set}" ; then 12209 setopt NO_GLOB_SUBST 12210fi 12211 12212 12213 PACKAGE='$PACKAGE' 12214 VERSION='$VERSION' 12215 TIMESTAMP='$TIMESTAMP' 12216 RM='$RM' 12217 ofile='$ofile' 12218 12219 12220 12221 12222_ACEOF 12223 12224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12225 12226# Handling of arguments. 12227for ac_config_target in $ac_config_targets 12228do 12229 case $ac_config_target in 12230 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 12231 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12232 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12233 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12234 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12235 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; 12236 "xcomposite.pc") CONFIG_FILES="$CONFIG_FILES xcomposite.pc" ;; 12237 12238 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12239 esac 12240done 12241 12242 12243# If the user did not use the arguments to specify the items to instantiate, 12244# then the envvar interface is used. Set only those that are not. 12245# We use the long form for the default assignment because of an extremely 12246# bizarre bug on SunOS 4.1.3. 12247if $ac_need_defaults; then 12248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 12250 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12251fi 12252 12253# Have a temporary directory for convenience. Make it in the build tree 12254# simply because there is no reason against having it here, and in addition, 12255# creating and moving files from /tmp can sometimes cause problems. 12256# Hook for its removal unless debugging. 12257# Note that there is a small window in which the directory will not be cleaned: 12258# after its creation but before its name has been assigned to `$tmp'. 12259$debug || 12260{ 12261 tmp= 12262 trap 'exit_status=$? 12263 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12264' 0 12265 trap 'as_fn_exit 1' 1 2 13 15 12266} 12267# Create a (secure) tmp directory for tmp files. 12268 12269{ 12270 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12271 test -n "$tmp" && test -d "$tmp" 12272} || 12273{ 12274 tmp=./conf$$-$RANDOM 12275 (umask 077 && mkdir "$tmp") 12276} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 12277 12278# Set up the scripts for CONFIG_FILES section. 12279# No need to generate them if there are no CONFIG_FILES. 12280# This happens for instance with `./config.status config.h'. 12281if test -n "$CONFIG_FILES"; then 12282 12283 12284ac_cr=`echo X | tr X '\015'` 12285# On cygwin, bash can eat \r inside `` if the user requested igncr. 12286# But we know of no other shell where ac_cr would be empty at this 12287# point, so we can use a bashism as a fallback. 12288if test "x$ac_cr" = x; then 12289 eval ac_cr=\$\'\\r\' 12290fi 12291ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12292if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12293 ac_cs_awk_cr='\r' 12294else 12295 ac_cs_awk_cr=$ac_cr 12296fi 12297 12298echo 'BEGIN {' >"$tmp/subs1.awk" && 12299_ACEOF 12300 12301 12302{ 12303 echo "cat >conf$$subs.awk <<_ACEOF" && 12304 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12305 echo "_ACEOF" 12306} >conf$$subs.sh || 12307 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12308ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 12309ac_delim='%!_!# ' 12310for ac_last_try in false false false false false :; do 12311 . ./conf$$subs.sh || 12312 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12313 12314 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12315 if test $ac_delim_n = $ac_delim_num; then 12316 break 12317 elif $ac_last_try; then 12318 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12319 else 12320 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12321 fi 12322done 12323rm -f conf$$subs.sh 12324 12325cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12326cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 12327_ACEOF 12328sed -n ' 12329h 12330s/^/S["/; s/!.*/"]=/ 12331p 12332g 12333s/^[^!]*!// 12334:repl 12335t repl 12336s/'"$ac_delim"'$// 12337t delim 12338:nl 12339h 12340s/\(.\{148\}\)..*/\1/ 12341t more1 12342s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12343p 12344n 12345b repl 12346:more1 12347s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12348p 12349g 12350s/.\{148\}// 12351t nl 12352:delim 12353h 12354s/\(.\{148\}\)..*/\1/ 12355t more2 12356s/["\\]/\\&/g; s/^/"/; s/$/"/ 12357p 12358b 12359:more2 12360s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12361p 12362g 12363s/.\{148\}// 12364t delim 12365' <conf$$subs.awk | sed ' 12366/^[^""]/{ 12367 N 12368 s/\n// 12369} 12370' >>$CONFIG_STATUS || ac_write_fail=1 12371rm -f conf$$subs.awk 12372cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12373_ACAWK 12374cat >>"\$tmp/subs1.awk" <<_ACAWK && 12375 for (key in S) S_is_set[key] = 1 12376 FS = "" 12377 12378} 12379{ 12380 line = $ 0 12381 nfields = split(line, field, "@") 12382 substed = 0 12383 len = length(field[1]) 12384 for (i = 2; i < nfields; i++) { 12385 key = field[i] 12386 keylen = length(key) 12387 if (S_is_set[key]) { 12388 value = S[key] 12389 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12390 len += length(value) + length(field[++i]) 12391 substed = 1 12392 } else 12393 len += 1 + keylen 12394 } 12395 12396 print line 12397} 12398 12399_ACAWK 12400_ACEOF 12401cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12402if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12403 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12404else 12405 cat 12406fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 12407 || as_fn_error "could not setup config files machinery" "$LINENO" 5 12408_ACEOF 12409 12410# VPATH may cause trouble with some makes, so we remove $(srcdir), 12411# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 12412# trailing colons and then remove the whole line if VPATH becomes empty 12413# (actually we leave an empty line to preserve line numbers). 12414if test "x$srcdir" = x.; then 12415 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 12416s/:*\$(srcdir):*/:/ 12417s/:*\${srcdir}:*/:/ 12418s/:*@srcdir@:*/:/ 12419s/^\([^=]*=[ ]*\):*/\1/ 12420s/:*$// 12421s/^[^=]*=[ ]*$// 12422}' 12423fi 12424 12425cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12426fi # test -n "$CONFIG_FILES" 12427 12428# Set up the scripts for CONFIG_HEADERS section. 12429# No need to generate them if there are no CONFIG_HEADERS. 12430# This happens for instance with `./config.status Makefile'. 12431if test -n "$CONFIG_HEADERS"; then 12432cat >"$tmp/defines.awk" <<\_ACAWK || 12433BEGIN { 12434_ACEOF 12435 12436# Transform confdefs.h into an awk script `defines.awk', embedded as 12437# here-document in config.status, that substitutes the proper values into 12438# config.h.in to produce config.h. 12439 12440# Create a delimiter string that does not exist in confdefs.h, to ease 12441# handling of long lines. 12442ac_delim='%!_!# ' 12443for ac_last_try in false false :; do 12444 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 12445 if test -z "$ac_t"; then 12446 break 12447 elif $ac_last_try; then 12448 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 12449 else 12450 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12451 fi 12452done 12453 12454# For the awk script, D is an array of macro values keyed by name, 12455# likewise P contains macro parameters if any. Preserve backslash 12456# newline sequences. 12457 12458ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12459sed -n ' 12460s/.\{148\}/&'"$ac_delim"'/g 12461t rset 12462:rset 12463s/^[ ]*#[ ]*define[ ][ ]*/ / 12464t def 12465d 12466:def 12467s/\\$// 12468t bsnl 12469s/["\\]/\\&/g 12470s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12471D["\1"]=" \3"/p 12472s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 12473d 12474:bsnl 12475s/["\\]/\\&/g 12476s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 12477D["\1"]=" \3\\\\\\n"\\/p 12478t cont 12479s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 12480t cont 12481d 12482:cont 12483n 12484s/.\{148\}/&'"$ac_delim"'/g 12485t clear 12486:clear 12487s/\\$// 12488t bsnlc 12489s/["\\]/\\&/g; s/^/"/; s/$/"/p 12490d 12491:bsnlc 12492s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 12493b cont 12494' <confdefs.h | sed ' 12495s/'"$ac_delim"'/"\\\ 12496"/g' >>$CONFIG_STATUS || ac_write_fail=1 12497 12498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12499 for (key in D) D_is_set[key] = 1 12500 FS = "" 12501} 12502/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 12503 line = \$ 0 12504 split(line, arg, " ") 12505 if (arg[1] == "#") { 12506 defundef = arg[2] 12507 mac1 = arg[3] 12508 } else { 12509 defundef = substr(arg[1], 2) 12510 mac1 = arg[2] 12511 } 12512 split(mac1, mac2, "(") #) 12513 macro = mac2[1] 12514 prefix = substr(line, 1, index(line, defundef) - 1) 12515 if (D_is_set[macro]) { 12516 # Preserve the white space surrounding the "#". 12517 print prefix "define", macro P[macro] D[macro] 12518 next 12519 } else { 12520 # Replace #undef with comments. This is necessary, for example, 12521 # in the case of _POSIX_SOURCE, which is predefined and required 12522 # on some systems where configure will not decide to define it. 12523 if (defundef == "undef") { 12524 print "/*", prefix defundef, macro, "*/" 12525 next 12526 } 12527 } 12528} 12529{ print } 12530_ACAWK 12531_ACEOF 12532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12533 as_fn_error "could not setup config headers machinery" "$LINENO" 5 12534fi # test -n "$CONFIG_HEADERS" 12535 12536 12537eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 12538shift 12539for ac_tag 12540do 12541 case $ac_tag in 12542 :[FHLC]) ac_mode=$ac_tag; continue;; 12543 esac 12544 case $ac_mode$ac_tag in 12545 :[FHL]*:*);; 12546 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 12547 :[FH]-) ac_tag=-:-;; 12548 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12549 esac 12550 ac_save_IFS=$IFS 12551 IFS=: 12552 set x $ac_tag 12553 IFS=$ac_save_IFS 12554 shift 12555 ac_file=$1 12556 shift 12557 12558 case $ac_mode in 12559 :L) ac_source=$1;; 12560 :[FH]) 12561 ac_file_inputs= 12562 for ac_f 12563 do 12564 case $ac_f in 12565 -) ac_f="$tmp/stdin";; 12566 *) # Look for the file first in the build tree, then in the source tree 12567 # (if the path is not absolute). The absolute path cannot be DOS-style, 12568 # because $ac_f cannot contain `:'. 12569 test -f "$ac_f" || 12570 case $ac_f in 12571 [\\/$]*) false;; 12572 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12573 esac || 12574 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12575 esac 12576 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12577 as_fn_append ac_file_inputs " '$ac_f'" 12578 done 12579 12580 # Let's still pretend it is `configure' which instantiates (i.e., don't 12581 # use $as_me), people would be surprised to read: 12582 # /* config.h. Generated by config.status. */ 12583 configure_input='Generated from '` 12584 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 12585 `' by configure.' 12586 if test x"$ac_file" != x-; then 12587 configure_input="$ac_file. $configure_input" 12588 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 12589$as_echo "$as_me: creating $ac_file" >&6;} 12590 fi 12591 # Neutralize special characters interpreted by sed in replacement strings. 12592 case $configure_input in #( 12593 *\&* | *\|* | *\\* ) 12594 ac_sed_conf_input=`$as_echo "$configure_input" | 12595 sed 's/[\\\\&|]/\\\\&/g'`;; #( 12596 *) ac_sed_conf_input=$configure_input;; 12597 esac 12598 12599 case $ac_tag in 12600 *:-:* | *:-) cat >"$tmp/stdin" \ 12601 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 12602 esac 12603 ;; 12604 esac 12605 12606 ac_dir=`$as_dirname -- "$ac_file" || 12607$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12608 X"$ac_file" : 'X\(//\)[^/]' \| \ 12609 X"$ac_file" : 'X\(//\)$' \| \ 12610 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 12611$as_echo X"$ac_file" | 12612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12613 s//\1/ 12614 q 12615 } 12616 /^X\(\/\/\)[^/].*/{ 12617 s//\1/ 12618 q 12619 } 12620 /^X\(\/\/\)$/{ 12621 s//\1/ 12622 q 12623 } 12624 /^X\(\/\).*/{ 12625 s//\1/ 12626 q 12627 } 12628 s/.*/./; q'` 12629 as_dir="$ac_dir"; as_fn_mkdir_p 12630 ac_builddir=. 12631 12632case "$ac_dir" in 12633.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12634*) 12635 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 12636 # A ".." for each directory in $ac_dir_suffix. 12637 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 12638 case $ac_top_builddir_sub in 12639 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12640 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12641 esac ;; 12642esac 12643ac_abs_top_builddir=$ac_pwd 12644ac_abs_builddir=$ac_pwd$ac_dir_suffix 12645# for backward compatibility: 12646ac_top_builddir=$ac_top_build_prefix 12647 12648case $srcdir in 12649 .) # We are building in place. 12650 ac_srcdir=. 12651 ac_top_srcdir=$ac_top_builddir_sub 12652 ac_abs_top_srcdir=$ac_pwd ;; 12653 [\\/]* | ?:[\\/]* ) # Absolute name. 12654 ac_srcdir=$srcdir$ac_dir_suffix; 12655 ac_top_srcdir=$srcdir 12656 ac_abs_top_srcdir=$srcdir ;; 12657 *) # Relative name. 12658 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12659 ac_top_srcdir=$ac_top_build_prefix$srcdir 12660 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12661esac 12662ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12663 12664 12665 case $ac_mode in 12666 :F) 12667 # 12668 # CONFIG_FILE 12669 # 12670 12671 case $INSTALL in 12672 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 12673 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 12674 esac 12675 ac_MKDIR_P=$MKDIR_P 12676 case $MKDIR_P in 12677 [\\/$]* | ?:[\\/]* ) ;; 12678 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 12679 esac 12680_ACEOF 12681 12682cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12683# If the template does not know about datarootdir, expand it. 12684# FIXME: This hack should be removed a few years after 2.60. 12685ac_datarootdir_hack=; ac_datarootdir_seen= 12686ac_sed_dataroot=' 12687/datarootdir/ { 12688 p 12689 q 12690} 12691/@datadir@/p 12692/@docdir@/p 12693/@infodir@/p 12694/@localedir@/p 12695/@mandir@/p' 12696case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 12697*datarootdir*) ac_datarootdir_seen=yes;; 12698*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 12699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12700$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12701_ACEOF 12702cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12703 ac_datarootdir_hack=' 12704 s&@datadir@&$datadir&g 12705 s&@docdir@&$docdir&g 12706 s&@infodir@&$infodir&g 12707 s&@localedir@&$localedir&g 12708 s&@mandir@&$mandir&g 12709 s&\\\${datarootdir}&$datarootdir&g' ;; 12710esac 12711_ACEOF 12712 12713# Neutralize VPATH when `$srcdir' = `.'. 12714# Shell code in configure.ac might set extrasub. 12715# FIXME: do we really want to maintain this feature? 12716cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12717ac_sed_extra="$ac_vpsub 12718$extrasub 12719_ACEOF 12720cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12721:t 12722/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 12723s|@configure_input@|$ac_sed_conf_input|;t t 12724s&@top_builddir@&$ac_top_builddir_sub&;t t 12725s&@top_build_prefix@&$ac_top_build_prefix&;t t 12726s&@srcdir@&$ac_srcdir&;t t 12727s&@abs_srcdir@&$ac_abs_srcdir&;t t 12728s&@top_srcdir@&$ac_top_srcdir&;t t 12729s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 12730s&@builddir@&$ac_builddir&;t t 12731s&@abs_builddir@&$ac_abs_builddir&;t t 12732s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12733s&@INSTALL@&$ac_INSTALL&;t t 12734s&@MKDIR_P@&$ac_MKDIR_P&;t t 12735$ac_datarootdir_hack 12736" 12737eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 12738 || as_fn_error "could not create $ac_file" "$LINENO" 5 12739 12740test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12741 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12742 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12744which seems to be undefined. Please make sure it is defined." >&5 12745$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12746which seems to be undefined. Please make sure it is defined." >&2;} 12747 12748 rm -f "$tmp/stdin" 12749 case $ac_file in 12750 -) cat "$tmp/out" && rm -f "$tmp/out";; 12751 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 12752 esac \ 12753 || as_fn_error "could not create $ac_file" "$LINENO" 5 12754 ;; 12755 :H) 12756 # 12757 # CONFIG_HEADER 12758 # 12759 if test x"$ac_file" != x-; then 12760 { 12761 $as_echo "/* $configure_input */" \ 12762 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 12763 } >"$tmp/config.h" \ 12764 || as_fn_error "could not create $ac_file" "$LINENO" 5 12765 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 12766 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 12767$as_echo "$as_me: $ac_file is unchanged" >&6;} 12768 else 12769 rm -f "$ac_file" 12770 mv "$tmp/config.h" "$ac_file" \ 12771 || as_fn_error "could not create $ac_file" "$LINENO" 5 12772 fi 12773 else 12774 $as_echo "/* $configure_input */" \ 12775 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 12776 || as_fn_error "could not create -" "$LINENO" 5 12777 fi 12778# Compute "$ac_file"'s index in $config_headers. 12779_am_arg="$ac_file" 12780_am_stamp_count=1 12781for _am_header in $config_headers :; do 12782 case $_am_header in 12783 $_am_arg | $_am_arg:* ) 12784 break ;; 12785 * ) 12786 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 12787 esac 12788done 12789echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 12790$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12791 X"$_am_arg" : 'X\(//\)[^/]' \| \ 12792 X"$_am_arg" : 'X\(//\)$' \| \ 12793 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 12794$as_echo X"$_am_arg" | 12795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12796 s//\1/ 12797 q 12798 } 12799 /^X\(\/\/\)[^/].*/{ 12800 s//\1/ 12801 q 12802 } 12803 /^X\(\/\/\)$/{ 12804 s//\1/ 12805 q 12806 } 12807 /^X\(\/\).*/{ 12808 s//\1/ 12809 q 12810 } 12811 s/.*/./; q'`/stamp-h$_am_stamp_count 12812 ;; 12813 12814 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 12815$as_echo "$as_me: executing $ac_file commands" >&6;} 12816 ;; 12817 esac 12818 12819 12820 case $ac_file$ac_mode in 12821 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 12822 # Autoconf 2.62 quotes --file arguments for eval, but not when files 12823 # are listed without --file. Let's play safe and only enable the eval 12824 # if we detect the quoting. 12825 case $CONFIG_FILES in 12826 *\'*) eval set x "$CONFIG_FILES" ;; 12827 *) set x $CONFIG_FILES ;; 12828 esac 12829 shift 12830 for mf 12831 do 12832 # Strip MF so we end up with the name of the file. 12833 mf=`echo "$mf" | sed -e 's/:.*$//'` 12834 # Check whether this is an Automake generated Makefile or not. 12835 # We used to match only the files named `Makefile.in', but 12836 # some people rename them; so instead we look at the file content. 12837 # Grep'ing the first line is not enough: some people post-process 12838 # each Makefile.in and add a new line on top of each file to say so. 12839 # Grep'ing the whole file is not good either: AIX grep has a line 12840 # limit of 2048, but all sed's we know have understand at least 4000. 12841 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 12842 dirpart=`$as_dirname -- "$mf" || 12843$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12844 X"$mf" : 'X\(//\)[^/]' \| \ 12845 X"$mf" : 'X\(//\)$' \| \ 12846 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 12847$as_echo X"$mf" | 12848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12849 s//\1/ 12850 q 12851 } 12852 /^X\(\/\/\)[^/].*/{ 12853 s//\1/ 12854 q 12855 } 12856 /^X\(\/\/\)$/{ 12857 s//\1/ 12858 q 12859 } 12860 /^X\(\/\).*/{ 12861 s//\1/ 12862 q 12863 } 12864 s/.*/./; q'` 12865 else 12866 continue 12867 fi 12868 # Extract the definition of DEPDIR, am__include, and am__quote 12869 # from the Makefile without running `make'. 12870 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 12871 test -z "$DEPDIR" && continue 12872 am__include=`sed -n 's/^am__include = //p' < "$mf"` 12873 test -z "am__include" && continue 12874 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 12875 # When using ansi2knr, U may be empty or an underscore; expand it 12876 U=`sed -n 's/^U = //p' < "$mf"` 12877 # Find all dependency output files, they are included files with 12878 # $(DEPDIR) in their names. We invoke sed twice because it is the 12879 # simplest approach to changing $(DEPDIR) to its actual value in the 12880 # expansion. 12881 for file in `sed -n " 12882 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 12883 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 12884 # Make sure the directory exists. 12885 test -f "$dirpart/$file" && continue 12886 fdir=`$as_dirname -- "$file" || 12887$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12888 X"$file" : 'X\(//\)[^/]' \| \ 12889 X"$file" : 'X\(//\)$' \| \ 12890 X"$file" : 'X\(/\)' \| . 2>/dev/null || 12891$as_echo X"$file" | 12892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12893 s//\1/ 12894 q 12895 } 12896 /^X\(\/\/\)[^/].*/{ 12897 s//\1/ 12898 q 12899 } 12900 /^X\(\/\/\)$/{ 12901 s//\1/ 12902 q 12903 } 12904 /^X\(\/\).*/{ 12905 s//\1/ 12906 q 12907 } 12908 s/.*/./; q'` 12909 as_dir=$dirpart/$fdir; as_fn_mkdir_p 12910 # echo "creating $dirpart/$file" 12911 echo '# dummy' > "$dirpart/$file" 12912 done 12913 done 12914} 12915 ;; 12916 "libtool":C) 12917 12918 # See if we are running on zsh, and set the options which allow our 12919 # commands through without removal of \ escapes. 12920 if test -n "${ZSH_VERSION+set}" ; then 12921 setopt NO_GLOB_SUBST 12922 fi 12923 12924 cfgfile="${ofile}T" 12925 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 12926 $RM "$cfgfile" 12927 12928 cat <<_LT_EOF >> "$cfgfile" 12929#! $SHELL 12930 12931# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 12932# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 12933# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 12934# NOTE: Changes made to this file will be lost: look at ltmain.sh. 12935# 12936# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 12937# 2006, 2007, 2008 Free Software Foundation, Inc. 12938# Written by Gordon Matzigkeit, 1996 12939# 12940# This file is part of GNU Libtool. 12941# 12942# GNU Libtool is free software; you can redistribute it and/or 12943# modify it under the terms of the GNU General Public License as 12944# published by the Free Software Foundation; either version 2 of 12945# the License, or (at your option) any later version. 12946# 12947# As a special exception to the GNU General Public License, 12948# if you distribute this file as part of a program or library that 12949# is built using GNU Libtool, you may include this file under the 12950# same distribution terms that you use for the rest of that program. 12951# 12952# GNU Libtool is distributed in the hope that it will be useful, 12953# but WITHOUT ANY WARRANTY; without even the implied warranty of 12954# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12955# GNU General Public License for more details. 12956# 12957# You should have received a copy of the GNU General Public License 12958# along with GNU Libtool; see the file COPYING. If not, a copy 12959# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 12960# obtained by writing to the Free Software Foundation, Inc., 12961# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 12962 12963 12964# The names of the tagged configurations supported by this script. 12965available_tags="" 12966 12967# ### BEGIN LIBTOOL CONFIG 12968 12969# Which release of libtool.m4 was used? 12970macro_version=$macro_version 12971macro_revision=$macro_revision 12972 12973# Whether or not to build shared libraries. 12974build_libtool_libs=$enable_shared 12975 12976# Whether or not to build static libraries. 12977build_old_libs=$enable_static 12978 12979# What type of objects to build. 12980pic_mode=$pic_mode 12981 12982# Whether or not to optimize for fast installation. 12983fast_install=$enable_fast_install 12984 12985# The host system. 12986host_alias=$host_alias 12987host=$host 12988host_os=$host_os 12989 12990# The build system. 12991build_alias=$build_alias 12992build=$build 12993build_os=$build_os 12994 12995# A sed program that does not truncate output. 12996SED=$lt_SED 12997 12998# Sed that helps us avoid accidentally triggering echo(1) options like -n. 12999Xsed="\$SED -e 1s/^X//" 13000 13001# A grep program that handles long lines. 13002GREP=$lt_GREP 13003 13004# An ERE matcher. 13005EGREP=$lt_EGREP 13006 13007# A literal string matcher. 13008FGREP=$lt_FGREP 13009 13010# A BSD- or MS-compatible name lister. 13011NM=$lt_NM 13012 13013# Whether we need soft or hard links. 13014LN_S=$lt_LN_S 13015 13016# What is the maximum length of a command? 13017max_cmd_len=$max_cmd_len 13018 13019# Object file suffix (normally "o"). 13020objext=$ac_objext 13021 13022# Executable file suffix (normally ""). 13023exeext=$exeext 13024 13025# whether the shell understands "unset". 13026lt_unset=$lt_unset 13027 13028# turn spaces into newlines. 13029SP2NL=$lt_lt_SP2NL 13030 13031# turn newlines into spaces. 13032NL2SP=$lt_lt_NL2SP 13033 13034# How to create reloadable object files. 13035reload_flag=$lt_reload_flag 13036reload_cmds=$lt_reload_cmds 13037 13038# An object symbol dumper. 13039OBJDUMP=$lt_OBJDUMP 13040 13041# Method to check whether dependent libraries are shared objects. 13042deplibs_check_method=$lt_deplibs_check_method 13043 13044# Command to use when deplibs_check_method == "file_magic". 13045file_magic_cmd=$lt_file_magic_cmd 13046 13047# The archiver. 13048AR=$lt_AR 13049AR_FLAGS=$lt_AR_FLAGS 13050 13051# A symbol stripping program. 13052STRIP=$lt_STRIP 13053 13054# Commands used to install an old-style archive. 13055RANLIB=$lt_RANLIB 13056old_postinstall_cmds=$lt_old_postinstall_cmds 13057old_postuninstall_cmds=$lt_old_postuninstall_cmds 13058 13059# A C compiler. 13060LTCC=$lt_CC 13061 13062# LTCC compiler flags. 13063LTCFLAGS=$lt_CFLAGS 13064 13065# Take the output of nm and produce a listing of raw symbols and C names. 13066global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13067 13068# Transform the output of nm in a proper C declaration. 13069global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13070 13071# Transform the output of nm in a C name address pair. 13072global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13073 13074# Transform the output of nm in a C name address pair when lib prefix is needed. 13075global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13076 13077# The name of the directory that contains temporary libtool files. 13078objdir=$objdir 13079 13080# Shell to use when invoking shell scripts. 13081SHELL=$lt_SHELL 13082 13083# An echo program that does not interpret backslashes. 13084ECHO=$lt_ECHO 13085 13086# Used to examine libraries when file_magic_cmd begins with "file". 13087MAGIC_CMD=$MAGIC_CMD 13088 13089# Must we lock files when doing compilation? 13090need_locks=$lt_need_locks 13091 13092# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13093DSYMUTIL=$lt_DSYMUTIL 13094 13095# Tool to change global to local symbols on Mac OS X. 13096NMEDIT=$lt_NMEDIT 13097 13098# Tool to manipulate fat objects and archives on Mac OS X. 13099LIPO=$lt_LIPO 13100 13101# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13102OTOOL=$lt_OTOOL 13103 13104# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13105OTOOL64=$lt_OTOOL64 13106 13107# Old archive suffix (normally "a"). 13108libext=$libext 13109 13110# Shared library suffix (normally ".so"). 13111shrext_cmds=$lt_shrext_cmds 13112 13113# The commands to extract the exported symbol list from a shared archive. 13114extract_expsyms_cmds=$lt_extract_expsyms_cmds 13115 13116# Variables whose values should be saved in libtool wrapper scripts and 13117# restored at link time. 13118variables_saved_for_relink=$lt_variables_saved_for_relink 13119 13120# Do we need the "lib" prefix for modules? 13121need_lib_prefix=$need_lib_prefix 13122 13123# Do we need a version for libraries? 13124need_version=$need_version 13125 13126# Library versioning type. 13127version_type=$version_type 13128 13129# Shared library runtime path variable. 13130runpath_var=$runpath_var 13131 13132# Shared library path variable. 13133shlibpath_var=$shlibpath_var 13134 13135# Is shlibpath searched before the hard-coded library search path? 13136shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13137 13138# Format of library name prefix. 13139libname_spec=$lt_libname_spec 13140 13141# List of archive names. First name is the real one, the rest are links. 13142# The last name is the one that the linker finds with -lNAME 13143library_names_spec=$lt_library_names_spec 13144 13145# The coded name of the library, if different from the real name. 13146soname_spec=$lt_soname_spec 13147 13148# Command to use after installation of a shared archive. 13149postinstall_cmds=$lt_postinstall_cmds 13150 13151# Command to use after uninstallation of a shared archive. 13152postuninstall_cmds=$lt_postuninstall_cmds 13153 13154# Commands used to finish a libtool library installation in a directory. 13155finish_cmds=$lt_finish_cmds 13156 13157# As "finish_cmds", except a single script fragment to be evaled but 13158# not shown. 13159finish_eval=$lt_finish_eval 13160 13161# Whether we should hardcode library paths into libraries. 13162hardcode_into_libs=$hardcode_into_libs 13163 13164# Compile-time system search path for libraries. 13165sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13166 13167# Run-time system search path for libraries. 13168sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13169 13170# Whether dlopen is supported. 13171dlopen_support=$enable_dlopen 13172 13173# Whether dlopen of programs is supported. 13174dlopen_self=$enable_dlopen_self 13175 13176# Whether dlopen of statically linked programs is supported. 13177dlopen_self_static=$enable_dlopen_self_static 13178 13179# Commands to strip libraries. 13180old_striplib=$lt_old_striplib 13181striplib=$lt_striplib 13182 13183 13184# The linker used to build libraries. 13185LD=$lt_LD 13186 13187# Commands used to build an old-style archive. 13188old_archive_cmds=$lt_old_archive_cmds 13189 13190# A language specific compiler. 13191CC=$lt_compiler 13192 13193# Is the compiler the GNU compiler? 13194with_gcc=$GCC 13195 13196# Compiler flag to turn off builtin functions. 13197no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13198 13199# How to pass a linker flag through the compiler. 13200wl=$lt_lt_prog_compiler_wl 13201 13202# Additional compiler flags for building library objects. 13203pic_flag=$lt_lt_prog_compiler_pic 13204 13205# Compiler flag to prevent dynamic linking. 13206link_static_flag=$lt_lt_prog_compiler_static 13207 13208# Does compiler simultaneously support -c and -o options? 13209compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13210 13211# Whether or not to add -lc for building shared libraries. 13212build_libtool_need_lc=$archive_cmds_need_lc 13213 13214# Whether or not to disallow shared libs when runtime libs are static. 13215allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13216 13217# Compiler flag to allow reflexive dlopens. 13218export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13219 13220# Compiler flag to generate shared objects directly from archives. 13221whole_archive_flag_spec=$lt_whole_archive_flag_spec 13222 13223# Whether the compiler copes with passing no objects directly. 13224compiler_needs_object=$lt_compiler_needs_object 13225 13226# Create an old-style archive from a shared archive. 13227old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13228 13229# Create a temporary old-style archive to link instead of a shared archive. 13230old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13231 13232# Commands used to build a shared archive. 13233archive_cmds=$lt_archive_cmds 13234archive_expsym_cmds=$lt_archive_expsym_cmds 13235 13236# Commands used to build a loadable module if different from building 13237# a shared archive. 13238module_cmds=$lt_module_cmds 13239module_expsym_cmds=$lt_module_expsym_cmds 13240 13241# Whether we are building with GNU ld or not. 13242with_gnu_ld=$lt_with_gnu_ld 13243 13244# Flag that allows shared libraries with undefined symbols to be built. 13245allow_undefined_flag=$lt_allow_undefined_flag 13246 13247# Flag that enforces no undefined symbols. 13248no_undefined_flag=$lt_no_undefined_flag 13249 13250# Flag to hardcode \$libdir into a binary during linking. 13251# This must work even if \$libdir does not exist 13252hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13253 13254# If ld is used when linking, flag to hardcode \$libdir into a binary 13255# during linking. This must work even if \$libdir does not exist. 13256hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld 13257 13258# Whether we need a single "-rpath" flag with a separated argument. 13259hardcode_libdir_separator=$lt_hardcode_libdir_separator 13260 13261# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13262# DIR into the resulting binary. 13263hardcode_direct=$hardcode_direct 13264 13265# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13266# DIR into the resulting binary and the resulting library dependency is 13267# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13268# library is relocated. 13269hardcode_direct_absolute=$hardcode_direct_absolute 13270 13271# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13272# into the resulting binary. 13273hardcode_minus_L=$hardcode_minus_L 13274 13275# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13276# into the resulting binary. 13277hardcode_shlibpath_var=$hardcode_shlibpath_var 13278 13279# Set to "yes" if building a shared library automatically hardcodes DIR 13280# into the library and all subsequent libraries and executables linked 13281# against it. 13282hardcode_automatic=$hardcode_automatic 13283 13284# Set to yes if linker adds runtime paths of dependent libraries 13285# to runtime path list. 13286inherit_rpath=$inherit_rpath 13287 13288# Whether libtool must link a program against all its dependency libraries. 13289link_all_deplibs=$link_all_deplibs 13290 13291# Fix the shell variable \$srcfile for the compiler. 13292fix_srcfile_path=$lt_fix_srcfile_path 13293 13294# Set to "yes" if exported symbols are required. 13295always_export_symbols=$always_export_symbols 13296 13297# The commands to list exported symbols. 13298export_symbols_cmds=$lt_export_symbols_cmds 13299 13300# Symbols that should not be listed in the preloaded symbols. 13301exclude_expsyms=$lt_exclude_expsyms 13302 13303# Symbols that must always be exported. 13304include_expsyms=$lt_include_expsyms 13305 13306# Commands necessary for linking programs (against libraries) with templates. 13307prelink_cmds=$lt_prelink_cmds 13308 13309# Specify filename containing input files. 13310file_list_spec=$lt_file_list_spec 13311 13312# How to hardcode a shared library path into an executable. 13313hardcode_action=$hardcode_action 13314 13315# ### END LIBTOOL CONFIG 13316 13317_LT_EOF 13318 13319 case $host_os in 13320 aix3*) 13321 cat <<\_LT_EOF >> "$cfgfile" 13322# AIX sometimes has problems with the GCC collect2 program. For some 13323# reason, if we set the COLLECT_NAMES environment variable, the problems 13324# vanish in a puff of smoke. 13325if test "X${COLLECT_NAMES+set}" != Xset; then 13326 COLLECT_NAMES= 13327 export COLLECT_NAMES 13328fi 13329_LT_EOF 13330 ;; 13331 esac 13332 13333 13334ltmain="$ac_aux_dir/ltmain.sh" 13335 13336 13337 # We use sed instead of cat because bash on DJGPP gets confused if 13338 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13339 # text mode, it properly converts lines to CR/LF. This bash problem 13340 # is reportedly fixed, but why not run on old versions too? 13341 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ 13342 || (rm -f "$cfgfile"; exit 1) 13343 13344 case $xsi_shell in 13345 yes) 13346 cat << \_LT_EOF >> "$cfgfile" 13347 13348# func_dirname file append nondir_replacement 13349# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13350# otherwise set result to NONDIR_REPLACEMENT. 13351func_dirname () 13352{ 13353 case ${1} in 13354 */*) func_dirname_result="${1%/*}${2}" ;; 13355 * ) func_dirname_result="${3}" ;; 13356 esac 13357} 13358 13359# func_basename file 13360func_basename () 13361{ 13362 func_basename_result="${1##*/}" 13363} 13364 13365# func_dirname_and_basename file append nondir_replacement 13366# perform func_basename and func_dirname in a single function 13367# call: 13368# dirname: Compute the dirname of FILE. If nonempty, 13369# add APPEND to the result, otherwise set result 13370# to NONDIR_REPLACEMENT. 13371# value returned in "$func_dirname_result" 13372# basename: Compute filename of FILE. 13373# value retuned in "$func_basename_result" 13374# Implementation must be kept synchronized with func_dirname 13375# and func_basename. For efficiency, we do not delegate to 13376# those functions but instead duplicate the functionality here. 13377func_dirname_and_basename () 13378{ 13379 case ${1} in 13380 */*) func_dirname_result="${1%/*}${2}" ;; 13381 * ) func_dirname_result="${3}" ;; 13382 esac 13383 func_basename_result="${1##*/}" 13384} 13385 13386# func_stripname prefix suffix name 13387# strip PREFIX and SUFFIX off of NAME. 13388# PREFIX and SUFFIX must not contain globbing or regex special 13389# characters, hashes, percent signs, but SUFFIX may contain a leading 13390# dot (in which case that matches only a dot). 13391func_stripname () 13392{ 13393 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are 13394 # positional parameters, so assign one to ordinary parameter first. 13395 func_stripname_result=${3} 13396 func_stripname_result=${func_stripname_result#"${1}"} 13397 func_stripname_result=${func_stripname_result%"${2}"} 13398} 13399 13400# func_opt_split 13401func_opt_split () 13402{ 13403 func_opt_split_opt=${1%%=*} 13404 func_opt_split_arg=${1#*=} 13405} 13406 13407# func_lo2o object 13408func_lo2o () 13409{ 13410 case ${1} in 13411 *.lo) func_lo2o_result=${1%.lo}.${objext} ;; 13412 *) func_lo2o_result=${1} ;; 13413 esac 13414} 13415 13416# func_xform libobj-or-source 13417func_xform () 13418{ 13419 func_xform_result=${1%.*}.lo 13420} 13421 13422# func_arith arithmetic-term... 13423func_arith () 13424{ 13425 func_arith_result=$(( $* )) 13426} 13427 13428# func_len string 13429# STRING may not start with a hyphen. 13430func_len () 13431{ 13432 func_len_result=${#1} 13433} 13434 13435_LT_EOF 13436 ;; 13437 *) # Bourne compatible functions. 13438 cat << \_LT_EOF >> "$cfgfile" 13439 13440# func_dirname file append nondir_replacement 13441# Compute the dirname of FILE. If nonempty, add APPEND to the result, 13442# otherwise set result to NONDIR_REPLACEMENT. 13443func_dirname () 13444{ 13445 # Extract subdirectory from the argument. 13446 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` 13447 if test "X$func_dirname_result" = "X${1}"; then 13448 func_dirname_result="${3}" 13449 else 13450 func_dirname_result="$func_dirname_result${2}" 13451 fi 13452} 13453 13454# func_basename file 13455func_basename () 13456{ 13457 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` 13458} 13459 13460 13461# func_stripname prefix suffix name 13462# strip PREFIX and SUFFIX off of NAME. 13463# PREFIX and SUFFIX must not contain globbing or regex special 13464# characters, hashes, percent signs, but SUFFIX may contain a leading 13465# dot (in which case that matches only a dot). 13466# func_strip_suffix prefix name 13467func_stripname () 13468{ 13469 case ${2} in 13470 .*) func_stripname_result=`$ECHO "X${3}" \ 13471 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; 13472 *) func_stripname_result=`$ECHO "X${3}" \ 13473 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; 13474 esac 13475} 13476 13477# sed scripts: 13478my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' 13479my_sed_long_arg='1s/^-[^=]*=//' 13480 13481# func_opt_split 13482func_opt_split () 13483{ 13484 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` 13485 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` 13486} 13487 13488# func_lo2o object 13489func_lo2o () 13490{ 13491 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` 13492} 13493 13494# func_xform libobj-or-source 13495func_xform () 13496{ 13497 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` 13498} 13499 13500# func_arith arithmetic-term... 13501func_arith () 13502{ 13503 func_arith_result=`expr "$@"` 13504} 13505 13506# func_len string 13507# STRING may not start with a hyphen. 13508func_len () 13509{ 13510 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` 13511} 13512 13513_LT_EOF 13514esac 13515 13516case $lt_shell_append in 13517 yes) 13518 cat << \_LT_EOF >> "$cfgfile" 13519 13520# func_append var value 13521# Append VALUE to the end of shell variable VAR. 13522func_append () 13523{ 13524 eval "$1+=\$2" 13525} 13526_LT_EOF 13527 ;; 13528 *) 13529 cat << \_LT_EOF >> "$cfgfile" 13530 13531# func_append var value 13532# Append VALUE to the end of shell variable VAR. 13533func_append () 13534{ 13535 eval "$1=\$$1\$2" 13536} 13537 13538_LT_EOF 13539 ;; 13540 esac 13541 13542 13543 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ 13544 || (rm -f "$cfgfile"; exit 1) 13545 13546 mv -f "$cfgfile" "$ofile" || 13547 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 13548 chmod +x "$ofile" 13549 13550 ;; 13551 13552 esac 13553done # for ac_tag 13554 13555 13556as_fn_exit 0 13557_ACEOF 13558ac_clean_files=$ac_clean_files_save 13559 13560test $ac_write_fail = 0 || 13561 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 13562 13563 13564# configure is writing to config.log, and then calls config.status. 13565# config.status does its own redirection, appending to config.log. 13566# Unfortunately, on DOS this fails, as config.log is still kept open 13567# by configure, so config.status won't be able to write to it; its 13568# output is simply discarded. So we exec the FD to /dev/null, 13569# effectively closing config.log, so it can be properly (re)opened and 13570# appended to by config.status. When coming back to configure, we 13571# need to make the FD available again. 13572if test "$no_create" != yes; then 13573 ac_cs_success=: 13574 ac_config_status_args= 13575 test "$silent" = yes && 13576 ac_config_status_args="$ac_config_status_args --quiet" 13577 exec 5>/dev/null 13578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13579 exec 5>>config.log 13580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13581 # would make configure fail if this is the last instruction. 13582 $ac_cs_success || as_fn_exit $? 13583fi 13584if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13586$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13587fi 13588 13589 13590