1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libao 1.2.0. 4# 5# Report bugs to <monty@xiph.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and monty@xiph.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='libao' 592PACKAGE_TARNAME='libao' 593PACKAGE_VERSION='1.2.0' 594PACKAGE_STRING='libao 1.2.0' 595PACKAGE_BUGREPORT='monty@xiph.org' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='DOCDIR 635BINDIR 636INCLUDEDIR 637LIBDIR 638am__EXEEXT_FALSE 639am__EXEEXT_TRUE 640LTLIBOBJS 641LIBOBJS 642PLUGIN_LDFLAGS 643HAVE_SOLARIS_FALSE 644HAVE_SOLARIS_TRUE 645HAVE_PULSE_FALSE 646HAVE_PULSE_TRUE 647PULSE_LIBS 648PULSE_CFLAGS 649NAS_LIBS 650NAS_CFLAGS 651HAVE_NAS_FALSE 652HAVE_NAS_TRUE 653X_EXTRA_LIBS 654X_LIBS 655X_PRE_LIBS 656X_CFLAGS 657XMKMF 658HAVE_MACOSX_FALSE 659HAVE_MACOSX_TRUE 660HAVE_IRIX_FALSE 661HAVE_IRIX_TRUE 662ARTS_LIBS 663ARTS_CFLAGS 664HAVE_ARTS_FALSE 665HAVE_ARTS_TRUE 666ARTSGLIB_LIBS 667ARTSGLIB_CFLAGS 668PKG_CONFIG 669ARTSC_CONFIG 670HAVE_AIX_AUDIO_FALSE 671HAVE_AIX_AUDIO_TRUE 672HAVE_ROAR_AUDIO_FALSE 673HAVE_ROAR_AUDIO_TRUE 674HAVE_SNDIO_AUDIO_FALSE 675HAVE_SNDIO_AUDIO_TRUE 676HAVE_SUN_AUDIO_FALSE 677HAVE_SUN_AUDIO_TRUE 678ALSA_LIBS 679HAVE_ALSA_FALSE 680HAVE_ALSA_TRUE 681HAVE_OSS_FALSE 682HAVE_OSS_TRUE 683HAVE_ESD_FALSE 684HAVE_ESD_TRUE 685ESD_LIBS 686ESD_CFLAGS 687ESD_CONFIG 688WMM_LIBS 689HAVE_WMM_FALSE 690HAVE_WMM_TRUE 691SLP_DEF 692SIZE32 693SIZE16 694HAVE_LD_VERSION_SCRIPT_FALSE 695HAVE_LD_VERSION_SCRIPT_TRUE 696LIBAO_LA_LDFLAGS 697PROFILE 698DEBUG 699CPP 700OTOOL64 701OTOOL 702LIPO 703NMEDIT 704DSYMUTIL 705MANIFEST_TOOL 706RANLIB 707ac_ct_AR 708AR 709LN_S 710NM 711ac_ct_DUMPBIN 712DUMPBIN 713LD 714FGREP 715EGREP 716GREP 717SED 718LIBTOOL 719OBJDUMP 720DLLTOOL 721AS 722am__fastdepCC_FALSE 723am__fastdepCC_TRUE 724CCDEPMODE 725am__nodep 726AMDEPBACKSLASH 727AMDEP_FALSE 728AMDEP_TRUE 729am__quote 730am__include 731DEPDIR 732OBJEXT 733EXEEXT 734ac_ct_CC 735CPPFLAGS 736LDFLAGS 737CFLAGS 738CC 739plugindir 740host_os 741host_vendor 742host_cpu 743host 744build_os 745build_vendor 746build_cpu 747build 748LIB_AGE 749LIB_REVISION 750LIB_CURRENT 751MAINT 752MAINTAINER_MODE_FALSE 753MAINTAINER_MODE_TRUE 754AM_BACKSLASH 755AM_DEFAULT_VERBOSITY 756AM_DEFAULT_V 757AM_V 758am__untar 759am__tar 760AMTAR 761am__leading_dot 762SET_MAKE 763AWK 764mkdir_p 765MKDIR_P 766INSTALL_STRIP_PROGRAM 767STRIP 768install_sh 769MAKEINFO 770AUTOHEADER 771AUTOMAKE 772AUTOCONF 773ACLOCAL 774VERSION 775PACKAGE 776CYGPATH_W 777am__isrc 778INSTALL_DATA 779INSTALL_SCRIPT 780INSTALL_PROGRAM 781target_alias 782host_alias 783build_alias 784LIBS 785ECHO_T 786ECHO_N 787ECHO_C 788DEFS 789mandir 790localedir 791libdir 792psdir 793pdfdir 794dvidir 795htmldir 796infodir 797docdir 798oldincludedir 799includedir 800localstatedir 801sharedstatedir 802sysconfdir 803datadir 804datarootdir 805libexecdir 806sbindir 807bindir 808program_transform_name 809prefix 810exec_prefix 811PACKAGE_URL 812PACKAGE_BUGREPORT 813PACKAGE_STRING 814PACKAGE_VERSION 815PACKAGE_TARNAME 816PACKAGE_NAME 817PATH_SEPARATOR 818SHELL' 819ac_subst_files='' 820ac_user_opts=' 821enable_option_checking 822enable_silent_rules 823enable_maintainer_mode 824enable_static 825enable_dependency_tracking 826enable_shared 827with_pic 828enable_fast_install 829with_gnu_ld 830with_sysroot 831enable_libtool_lock 832enable_roar_default_slp 833enable_wmm 834enable_esd 835with_esd_prefix 836with_esd_exec_prefix 837enable_esdtest 838enable_alsa 839enable_alsa_mmap 840enable_broken_oss 841enable_arts 842enable_nas 843with_x 844enable_pulse 845' 846 ac_precious_vars='build_alias 847host_alias 848target_alias 849CC 850CFLAGS 851LDFLAGS 852LIBS 853CPPFLAGS 854CPP 855XMKMF' 856 857 858# Initialize some variables set by options. 859ac_init_help= 860ac_init_version=false 861ac_unrecognized_opts= 862ac_unrecognized_sep= 863# The variables have the same names as the options, with 864# dashes changed to underlines. 865cache_file=/dev/null 866exec_prefix=NONE 867no_create= 868no_recursion= 869prefix=NONE 870program_prefix=NONE 871program_suffix=NONE 872program_transform_name=s,x,x, 873silent= 874site= 875srcdir= 876verbose= 877x_includes=NONE 878x_libraries=NONE 879 880# Installation directory options. 881# These are left unexpanded so users can "make install exec_prefix=/foo" 882# and all the variables that are supposed to be based on exec_prefix 883# by default will actually change. 884# Use braces instead of parens because sh, perl, etc. also accept them. 885# (The list follows the same order as the GNU Coding Standards.) 886bindir='${exec_prefix}/bin' 887sbindir='${exec_prefix}/sbin' 888libexecdir='${exec_prefix}/libexec' 889datarootdir='${prefix}/share' 890datadir='${datarootdir}' 891sysconfdir='${prefix}/etc' 892sharedstatedir='${prefix}/com' 893localstatedir='${prefix}/var' 894includedir='${prefix}/include' 895oldincludedir='/usr/include' 896docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 897infodir='${datarootdir}/info' 898htmldir='${docdir}' 899dvidir='${docdir}' 900pdfdir='${docdir}' 901psdir='${docdir}' 902libdir='${exec_prefix}/lib' 903localedir='${datarootdir}/locale' 904mandir='${datarootdir}/man' 905 906ac_prev= 907ac_dashdash= 908for ac_option 909do 910 # If the previous option needs an argument, assign it. 911 if test -n "$ac_prev"; then 912 eval $ac_prev=\$ac_option 913 ac_prev= 914 continue 915 fi 916 917 case $ac_option in 918 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 919 *=) ac_optarg= ;; 920 *) ac_optarg=yes ;; 921 esac 922 923 # Accept the important Cygnus configure options, so we can diagnose typos. 924 925 case $ac_dashdash$ac_option in 926 --) 927 ac_dashdash=yes ;; 928 929 -bindir | --bindir | --bindi | --bind | --bin | --bi) 930 ac_prev=bindir ;; 931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 932 bindir=$ac_optarg ;; 933 934 -build | --build | --buil | --bui | --bu) 935 ac_prev=build_alias ;; 936 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 937 build_alias=$ac_optarg ;; 938 939 -cache-file | --cache-file | --cache-fil | --cache-fi \ 940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 941 ac_prev=cache_file ;; 942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 944 cache_file=$ac_optarg ;; 945 946 --config-cache | -C) 947 cache_file=config.cache ;; 948 949 -datadir | --datadir | --datadi | --datad) 950 ac_prev=datadir ;; 951 -datadir=* | --datadir=* | --datadi=* | --datad=*) 952 datadir=$ac_optarg ;; 953 954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 955 | --dataroo | --dataro | --datar) 956 ac_prev=datarootdir ;; 957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 959 datarootdir=$ac_optarg ;; 960 961 -disable-* | --disable-*) 962 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 963 # Reject names that are not valid shell variable names. 964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 965 as_fn_error $? "invalid feature name: $ac_useropt" 966 ac_useropt_orig=$ac_useropt 967 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 968 case $ac_user_opts in 969 *" 970"enable_$ac_useropt" 971"*) ;; 972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 973 ac_unrecognized_sep=', ';; 974 esac 975 eval enable_$ac_useropt=no ;; 976 977 -docdir | --docdir | --docdi | --doc | --do) 978 ac_prev=docdir ;; 979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 980 docdir=$ac_optarg ;; 981 982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 983 ac_prev=dvidir ;; 984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 985 dvidir=$ac_optarg ;; 986 987 -enable-* | --enable-*) 988 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 989 # Reject names that are not valid shell variable names. 990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 991 as_fn_error $? "invalid feature name: $ac_useropt" 992 ac_useropt_orig=$ac_useropt 993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 994 case $ac_user_opts in 995 *" 996"enable_$ac_useropt" 997"*) ;; 998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 999 ac_unrecognized_sep=', ';; 1000 esac 1001 eval enable_$ac_useropt=\$ac_optarg ;; 1002 1003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1005 | --exec | --exe | --ex) 1006 ac_prev=exec_prefix ;; 1007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1009 | --exec=* | --exe=* | --ex=*) 1010 exec_prefix=$ac_optarg ;; 1011 1012 -gas | --gas | --ga | --g) 1013 # Obsolete; use --with-gas. 1014 with_gas=yes ;; 1015 1016 -help | --help | --hel | --he | -h) 1017 ac_init_help=long ;; 1018 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1019 ac_init_help=recursive ;; 1020 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1021 ac_init_help=short ;; 1022 1023 -host | --host | --hos | --ho) 1024 ac_prev=host_alias ;; 1025 -host=* | --host=* | --hos=* | --ho=*) 1026 host_alias=$ac_optarg ;; 1027 1028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1029 ac_prev=htmldir ;; 1030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1031 | --ht=*) 1032 htmldir=$ac_optarg ;; 1033 1034 -includedir | --includedir | --includedi | --included | --include \ 1035 | --includ | --inclu | --incl | --inc) 1036 ac_prev=includedir ;; 1037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1038 | --includ=* | --inclu=* | --incl=* | --inc=*) 1039 includedir=$ac_optarg ;; 1040 1041 -infodir | --infodir | --infodi | --infod | --info | --inf) 1042 ac_prev=infodir ;; 1043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1044 infodir=$ac_optarg ;; 1045 1046 -libdir | --libdir | --libdi | --libd) 1047 ac_prev=libdir ;; 1048 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1049 libdir=$ac_optarg ;; 1050 1051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1052 | --libexe | --libex | --libe) 1053 ac_prev=libexecdir ;; 1054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1055 | --libexe=* | --libex=* | --libe=*) 1056 libexecdir=$ac_optarg ;; 1057 1058 -localedir | --localedir | --localedi | --localed | --locale) 1059 ac_prev=localedir ;; 1060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1061 localedir=$ac_optarg ;; 1062 1063 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1064 | --localstate | --localstat | --localsta | --localst | --locals) 1065 ac_prev=localstatedir ;; 1066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1068 localstatedir=$ac_optarg ;; 1069 1070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1071 ac_prev=mandir ;; 1072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1073 mandir=$ac_optarg ;; 1074 1075 -nfp | --nfp | --nf) 1076 # Obsolete; use --without-fp. 1077 with_fp=no ;; 1078 1079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1080 | --no-cr | --no-c | -n) 1081 no_create=yes ;; 1082 1083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1085 no_recursion=yes ;; 1086 1087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1089 | --oldin | --oldi | --old | --ol | --o) 1090 ac_prev=oldincludedir ;; 1091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1094 oldincludedir=$ac_optarg ;; 1095 1096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1097 ac_prev=prefix ;; 1098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1099 prefix=$ac_optarg ;; 1100 1101 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1102 | --program-pre | --program-pr | --program-p) 1103 ac_prev=program_prefix ;; 1104 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1106 program_prefix=$ac_optarg ;; 1107 1108 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1109 | --program-suf | --program-su | --program-s) 1110 ac_prev=program_suffix ;; 1111 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1113 program_suffix=$ac_optarg ;; 1114 1115 -program-transform-name | --program-transform-name \ 1116 | --program-transform-nam | --program-transform-na \ 1117 | --program-transform-n | --program-transform- \ 1118 | --program-transform | --program-transfor \ 1119 | --program-transfo | --program-transf \ 1120 | --program-trans | --program-tran \ 1121 | --progr-tra | --program-tr | --program-t) 1122 ac_prev=program_transform_name ;; 1123 -program-transform-name=* | --program-transform-name=* \ 1124 | --program-transform-nam=* | --program-transform-na=* \ 1125 | --program-transform-n=* | --program-transform-=* \ 1126 | --program-transform=* | --program-transfor=* \ 1127 | --program-transfo=* | --program-transf=* \ 1128 | --program-trans=* | --program-tran=* \ 1129 | --progr-tra=* | --program-tr=* | --program-t=*) 1130 program_transform_name=$ac_optarg ;; 1131 1132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1133 ac_prev=pdfdir ;; 1134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1135 pdfdir=$ac_optarg ;; 1136 1137 -psdir | --psdir | --psdi | --psd | --ps) 1138 ac_prev=psdir ;; 1139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1140 psdir=$ac_optarg ;; 1141 1142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1143 | -silent | --silent | --silen | --sile | --sil) 1144 silent=yes ;; 1145 1146 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1147 ac_prev=sbindir ;; 1148 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1149 | --sbi=* | --sb=*) 1150 sbindir=$ac_optarg ;; 1151 1152 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1153 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1154 | --sharedst | --shareds | --shared | --share | --shar \ 1155 | --sha | --sh) 1156 ac_prev=sharedstatedir ;; 1157 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1158 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1159 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1160 | --sha=* | --sh=*) 1161 sharedstatedir=$ac_optarg ;; 1162 1163 -site | --site | --sit) 1164 ac_prev=site ;; 1165 -site=* | --site=* | --sit=*) 1166 site=$ac_optarg ;; 1167 1168 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1169 ac_prev=srcdir ;; 1170 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1171 srcdir=$ac_optarg ;; 1172 1173 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1174 | --syscon | --sysco | --sysc | --sys | --sy) 1175 ac_prev=sysconfdir ;; 1176 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1177 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1178 sysconfdir=$ac_optarg ;; 1179 1180 -target | --target | --targe | --targ | --tar | --ta | --t) 1181 ac_prev=target_alias ;; 1182 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1183 target_alias=$ac_optarg ;; 1184 1185 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1186 verbose=yes ;; 1187 1188 -version | --version | --versio | --versi | --vers | -V) 1189 ac_init_version=: ;; 1190 1191 -with-* | --with-*) 1192 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1193 # Reject names that are not valid shell variable names. 1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1195 as_fn_error $? "invalid package name: $ac_useropt" 1196 ac_useropt_orig=$ac_useropt 1197 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1198 case $ac_user_opts in 1199 *" 1200"with_$ac_useropt" 1201"*) ;; 1202 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1203 ac_unrecognized_sep=', ';; 1204 esac 1205 eval with_$ac_useropt=\$ac_optarg ;; 1206 1207 -without-* | --without-*) 1208 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1209 # Reject names that are not valid shell variable names. 1210 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1211 as_fn_error $? "invalid package name: $ac_useropt" 1212 ac_useropt_orig=$ac_useropt 1213 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1214 case $ac_user_opts in 1215 *" 1216"with_$ac_useropt" 1217"*) ;; 1218 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1219 ac_unrecognized_sep=', ';; 1220 esac 1221 eval with_$ac_useropt=no ;; 1222 1223 --x) 1224 # Obsolete; use --with-x. 1225 with_x=yes ;; 1226 1227 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1228 | --x-incl | --x-inc | --x-in | --x-i) 1229 ac_prev=x_includes ;; 1230 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1231 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1232 x_includes=$ac_optarg ;; 1233 1234 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1235 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1236 ac_prev=x_libraries ;; 1237 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1238 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1239 x_libraries=$ac_optarg ;; 1240 1241 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1242Try \`$0 --help' for more information" 1243 ;; 1244 1245 *=*) 1246 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1247 # Reject names that are not valid shell variable names. 1248 case $ac_envvar in #( 1249 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1250 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1251 esac 1252 eval $ac_envvar=\$ac_optarg 1253 export $ac_envvar ;; 1254 1255 *) 1256 # FIXME: should be removed in autoconf 3.0. 1257 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1258 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1259 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1260 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1261 ;; 1262 1263 esac 1264done 1265 1266if test -n "$ac_prev"; then 1267 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1268 as_fn_error $? "missing argument to $ac_option" 1269fi 1270 1271if test -n "$ac_unrecognized_opts"; then 1272 case $enable_option_checking in 1273 no) ;; 1274 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1275 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1276 esac 1277fi 1278 1279# Check all directory arguments for consistency. 1280for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1281 datadir sysconfdir sharedstatedir localstatedir includedir \ 1282 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1283 libdir localedir mandir 1284do 1285 eval ac_val=\$$ac_var 1286 # Remove trailing slashes. 1287 case $ac_val in 1288 */ ) 1289 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1290 eval $ac_var=\$ac_val;; 1291 esac 1292 # Be sure to have absolute directory names. 1293 case $ac_val in 1294 [\\/$]* | ?:[\\/]* ) continue;; 1295 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1296 esac 1297 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1298done 1299 1300# There might be people who depend on the old broken behavior: `$host' 1301# used to hold the argument of --host etc. 1302# FIXME: To remove some day. 1303build=$build_alias 1304host=$host_alias 1305target=$target_alias 1306 1307# FIXME: To remove some day. 1308if test "x$host_alias" != x; then 1309 if test "x$build_alias" = x; then 1310 cross_compiling=maybe 1311 elif test "x$build_alias" != "x$host_alias"; then 1312 cross_compiling=yes 1313 fi 1314fi 1315 1316ac_tool_prefix= 1317test -n "$host_alias" && ac_tool_prefix=$host_alias- 1318 1319test "$silent" = yes && exec 6>/dev/null 1320 1321 1322ac_pwd=`pwd` && test -n "$ac_pwd" && 1323ac_ls_di=`ls -di .` && 1324ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1325 as_fn_error $? "working directory cannot be determined" 1326test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1327 as_fn_error $? "pwd does not report name of working directory" 1328 1329 1330# Find the source files, if location was not specified. 1331if test -z "$srcdir"; then 1332 ac_srcdir_defaulted=yes 1333 # Try the directory containing this script, then the parent directory. 1334 ac_confdir=`$as_dirname -- "$as_myself" || 1335$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1336 X"$as_myself" : 'X\(//\)[^/]' \| \ 1337 X"$as_myself" : 'X\(//\)$' \| \ 1338 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1339$as_echo X"$as_myself" | 1340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1341 s//\1/ 1342 q 1343 } 1344 /^X\(\/\/\)[^/].*/{ 1345 s//\1/ 1346 q 1347 } 1348 /^X\(\/\/\)$/{ 1349 s//\1/ 1350 q 1351 } 1352 /^X\(\/\).*/{ 1353 s//\1/ 1354 q 1355 } 1356 s/.*/./; q'` 1357 srcdir=$ac_confdir 1358 if test ! -r "$srcdir/$ac_unique_file"; then 1359 srcdir=.. 1360 fi 1361else 1362 ac_srcdir_defaulted=no 1363fi 1364if test ! -r "$srcdir/$ac_unique_file"; then 1365 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1366 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1367fi 1368ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1369ac_abs_confdir=`( 1370 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1371 pwd)` 1372# When building in place, set srcdir=. 1373if test "$ac_abs_confdir" = "$ac_pwd"; then 1374 srcdir=. 1375fi 1376# Remove unnecessary trailing slashes from srcdir. 1377# Double slashes in file names in object file debugging info 1378# mess up M-x gdb in Emacs. 1379case $srcdir in 1380*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1381esac 1382for ac_var in $ac_precious_vars; do 1383 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1384 eval ac_env_${ac_var}_value=\$${ac_var} 1385 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1386 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1387done 1388 1389# 1390# Report the --help message. 1391# 1392if test "$ac_init_help" = "long"; then 1393 # Omit some internal or obsolete options to make the list less imposing. 1394 # This message is too long to be a string in the A/UX 3.1 sh. 1395 cat <<_ACEOF 1396\`configure' configures libao 1.2.0 to adapt to many kinds of systems. 1397 1398Usage: $0 [OPTION]... [VAR=VALUE]... 1399 1400To assign environment variables (e.g., CC, CFLAGS...), specify them as 1401VAR=VALUE. See below for descriptions of some of the useful variables. 1402 1403Defaults for the options are specified in brackets. 1404 1405Configuration: 1406 -h, --help display this help and exit 1407 --help=short display options specific to this package 1408 --help=recursive display the short help of all the included packages 1409 -V, --version display version information and exit 1410 -q, --quiet, --silent do not print \`checking ...' messages 1411 --cache-file=FILE cache test results in FILE [disabled] 1412 -C, --config-cache alias for \`--cache-file=config.cache' 1413 -n, --no-create do not create output files 1414 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1415 1416Installation directories: 1417 --prefix=PREFIX install architecture-independent files in PREFIX 1418 [$ac_default_prefix] 1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1420 [PREFIX] 1421 1422By default, \`make install' will install all the files in 1423\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1424an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1425for instance \`--prefix=\$HOME'. 1426 1427For better control, use the options below. 1428 1429Fine tuning of the installation directories: 1430 --bindir=DIR user executables [EPREFIX/bin] 1431 --sbindir=DIR system admin executables [EPREFIX/sbin] 1432 --libexecdir=DIR program executables [EPREFIX/libexec] 1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1436 --libdir=DIR object code libraries [EPREFIX/lib] 1437 --includedir=DIR C header files [PREFIX/include] 1438 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1441 --infodir=DIR info documentation [DATAROOTDIR/info] 1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1443 --mandir=DIR man documentation [DATAROOTDIR/man] 1444 --docdir=DIR documentation root [DATAROOTDIR/doc/libao] 1445 --htmldir=DIR html documentation [DOCDIR] 1446 --dvidir=DIR dvi documentation [DOCDIR] 1447 --pdfdir=DIR pdf documentation [DOCDIR] 1448 --psdir=DIR ps documentation [DOCDIR] 1449_ACEOF 1450 1451 cat <<\_ACEOF 1452 1453Program names: 1454 --program-prefix=PREFIX prepend PREFIX to installed program names 1455 --program-suffix=SUFFIX append SUFFIX to installed program names 1456 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1457 1458X features: 1459 --x-includes=DIR X include files are in DIR 1460 --x-libraries=DIR X library files are in DIR 1461 1462System types: 1463 --build=BUILD configure for building on BUILD [guessed] 1464 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1465_ACEOF 1466fi 1467 1468if test -n "$ac_init_help"; then 1469 case $ac_init_help in 1470 short | recursive ) echo "Configuration of libao 1.2.0:";; 1471 esac 1472 cat <<\_ACEOF 1473 1474Optional Features: 1475 --disable-option-checking ignore unrecognized --enable/--with options 1476 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1477 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1478 --enable-silent-rules less verbose build output (undo: "make V=1") 1479 --disable-silent-rules verbose build output (undo: "make V=0") 1480 --enable-maintainer-mode 1481 enable make rules and dependencies not useful (and 1482 sometimes confusing) to the casual installer 1483 --enable-static[=PKGS] build static libraries [default=no] 1484 --enable-dependency-tracking 1485 do not reject slow dependency extractors 1486 --disable-dependency-tracking 1487 speeds up one-time build 1488 --enable-shared[=PKGS] build shared libraries [default=yes] 1489 --enable-fast-install[=PKGS] 1490 optimize for fast installation [default=yes] 1491 --disable-libtool-lock avoid locking (might break parallel builds) 1492 --enable-roar-default-slp 1493 allow Roar driver to use SLP in default search 1494 --enable-wmm include WMM output plugin [default=check] 1495 --enable-esd include ESD output plugin 1496 --disable-esdtest Do not try to compile and run a test ESD program 1497 --enable-alsa include alsa 0.9/1.0 output plugin 1498 --enable-alsa-mmap use mmio with alsa 1499 --enable-broken-oss workaround for some OSS drivers (see README for details) 1500 --enable-arts include aRts output plugin 1501 --enable-nas include NAS output plugin 1502 --enable-pulse include PulseAudio output plugin 1503 1504Optional Packages: 1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1507 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1508 both] 1509 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1510 --with-sysroot=DIR Search for dependent libraries within DIR 1511 (or the compiler's sysroot if not specified). 1512 --with-esd-prefix=PFX Prefix where ESD is installed (optional) 1513 --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional) 1514 --with-x use the X Window System 1515 1516Some influential environment variables: 1517 CC C compiler command 1518 CFLAGS C compiler flags 1519 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1520 nonstandard directory <lib dir> 1521 LIBS libraries to pass to the linker, e.g. -l<library> 1522 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1523 you have headers in a nonstandard directory <include dir> 1524 CPP C preprocessor 1525 XMKMF Path to xmkmf, Makefile generator for X Window System 1526 1527Use these variables to override the choices made by `configure' or to help 1528it to find libraries and programs with nonstandard names/locations. 1529 1530Report bugs to <monty@xiph.org>. 1531_ACEOF 1532ac_status=$? 1533fi 1534 1535if test "$ac_init_help" = "recursive"; then 1536 # If there are subdirs, report their specific --help. 1537 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1538 test -d "$ac_dir" || 1539 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1540 continue 1541 ac_builddir=. 1542 1543case "$ac_dir" in 1544.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1545*) 1546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1547 # A ".." for each directory in $ac_dir_suffix. 1548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1549 case $ac_top_builddir_sub in 1550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1552 esac ;; 1553esac 1554ac_abs_top_builddir=$ac_pwd 1555ac_abs_builddir=$ac_pwd$ac_dir_suffix 1556# for backward compatibility: 1557ac_top_builddir=$ac_top_build_prefix 1558 1559case $srcdir in 1560 .) # We are building in place. 1561 ac_srcdir=. 1562 ac_top_srcdir=$ac_top_builddir_sub 1563 ac_abs_top_srcdir=$ac_pwd ;; 1564 [\\/]* | ?:[\\/]* ) # Absolute name. 1565 ac_srcdir=$srcdir$ac_dir_suffix; 1566 ac_top_srcdir=$srcdir 1567 ac_abs_top_srcdir=$srcdir ;; 1568 *) # Relative name. 1569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1570 ac_top_srcdir=$ac_top_build_prefix$srcdir 1571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1572esac 1573ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1574 1575 cd "$ac_dir" || { ac_status=$?; continue; } 1576 # Check for guested configure. 1577 if test -f "$ac_srcdir/configure.gnu"; then 1578 echo && 1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1580 elif test -f "$ac_srcdir/configure"; then 1581 echo && 1582 $SHELL "$ac_srcdir/configure" --help=recursive 1583 else 1584 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1585 fi || ac_status=$? 1586 cd "$ac_pwd" || { ac_status=$?; break; } 1587 done 1588fi 1589 1590test -n "$ac_init_help" && exit $ac_status 1591if $ac_init_version; then 1592 cat <<\_ACEOF 1593libao configure 1.2.0 1594generated by GNU Autoconf 2.69 1595 1596Copyright (C) 2012 Free Software Foundation, Inc. 1597This configure script is free software; the Free Software Foundation 1598gives unlimited permission to copy, distribute and modify it. 1599_ACEOF 1600 exit 1601fi 1602 1603## ------------------------ ## 1604## Autoconf initialization. ## 1605## ------------------------ ## 1606 1607# ac_fn_c_try_compile LINENO 1608# -------------------------- 1609# Try to compile conftest.$ac_ext, and return whether this succeeded. 1610ac_fn_c_try_compile () 1611{ 1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1613 rm -f conftest.$ac_objext 1614 if { { ac_try="$ac_compile" 1615case "(($ac_try" in 1616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1617 *) ac_try_echo=$ac_try;; 1618esac 1619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1620$as_echo "$ac_try_echo"; } >&5 1621 (eval "$ac_compile") 2>conftest.err 1622 ac_status=$? 1623 if test -s conftest.err; then 1624 grep -v '^ *+' conftest.err >conftest.er1 1625 cat conftest.er1 >&5 1626 mv -f conftest.er1 conftest.err 1627 fi 1628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1629 test $ac_status = 0; } && { 1630 test -z "$ac_c_werror_flag" || 1631 test ! -s conftest.err 1632 } && test -s conftest.$ac_objext; then : 1633 ac_retval=0 1634else 1635 $as_echo "$as_me: failed program was:" >&5 1636sed 's/^/| /' conftest.$ac_ext >&5 1637 1638 ac_retval=1 1639fi 1640 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1641 as_fn_set_status $ac_retval 1642 1643} # ac_fn_c_try_compile 1644 1645# ac_fn_c_try_link LINENO 1646# ----------------------- 1647# Try to link conftest.$ac_ext, and return whether this succeeded. 1648ac_fn_c_try_link () 1649{ 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1651 rm -f conftest.$ac_objext conftest$ac_exeext 1652 if { { ac_try="$ac_link" 1653case "(($ac_try" in 1654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1655 *) ac_try_echo=$ac_try;; 1656esac 1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1658$as_echo "$ac_try_echo"; } >&5 1659 (eval "$ac_link") 2>conftest.err 1660 ac_status=$? 1661 if test -s conftest.err; then 1662 grep -v '^ *+' conftest.err >conftest.er1 1663 cat conftest.er1 >&5 1664 mv -f conftest.er1 conftest.err 1665 fi 1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1667 test $ac_status = 0; } && { 1668 test -z "$ac_c_werror_flag" || 1669 test ! -s conftest.err 1670 } && test -s conftest$ac_exeext && { 1671 test "$cross_compiling" = yes || 1672 test -x conftest$ac_exeext 1673 }; then : 1674 ac_retval=0 1675else 1676 $as_echo "$as_me: failed program was:" >&5 1677sed 's/^/| /' conftest.$ac_ext >&5 1678 1679 ac_retval=1 1680fi 1681 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1682 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1683 # interfere with the next link command; also delete a directory that is 1684 # left behind by Apple's compiler. We do this before executing the actions. 1685 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1687 as_fn_set_status $ac_retval 1688 1689} # ac_fn_c_try_link 1690 1691# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1692# ------------------------------------------------------- 1693# Tests whether HEADER exists and can be compiled using the include files in 1694# INCLUDES, setting the cache variable VAR accordingly. 1695ac_fn_c_check_header_compile () 1696{ 1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699$as_echo_n "checking for $2... " >&6; } 1700if eval \${$3+:} false; then : 1701 $as_echo_n "(cached) " >&6 1702else 1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1704/* end confdefs.h. */ 1705$4 1706#include <$2> 1707_ACEOF 1708if ac_fn_c_try_compile "$LINENO"; then : 1709 eval "$3=yes" 1710else 1711 eval "$3=no" 1712fi 1713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1714fi 1715eval ac_res=\$$3 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1717$as_echo "$ac_res" >&6; } 1718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1719 1720} # ac_fn_c_check_header_compile 1721 1722# ac_fn_c_try_cpp LINENO 1723# ---------------------- 1724# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1725ac_fn_c_try_cpp () 1726{ 1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1728 if { { ac_try="$ac_cpp conftest.$ac_ext" 1729case "(($ac_try" in 1730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1731 *) ac_try_echo=$ac_try;; 1732esac 1733eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1734$as_echo "$ac_try_echo"; } >&5 1735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1736 ac_status=$? 1737 if test -s conftest.err; then 1738 grep -v '^ *+' conftest.err >conftest.er1 1739 cat conftest.er1 >&5 1740 mv -f conftest.er1 conftest.err 1741 fi 1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1743 test $ac_status = 0; } > conftest.i && { 1744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1745 test ! -s conftest.err 1746 }; then : 1747 ac_retval=0 1748else 1749 $as_echo "$as_me: failed program was:" >&5 1750sed 's/^/| /' conftest.$ac_ext >&5 1751 1752 ac_retval=1 1753fi 1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1755 as_fn_set_status $ac_retval 1756 1757} # ac_fn_c_try_cpp 1758 1759# ac_fn_c_try_run LINENO 1760# ---------------------- 1761# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1762# that executables *can* be run. 1763ac_fn_c_try_run () 1764{ 1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1766 if { { ac_try="$ac_link" 1767case "(($ac_try" in 1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1769 *) ac_try_echo=$ac_try;; 1770esac 1771eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1772$as_echo "$ac_try_echo"; } >&5 1773 (eval "$ac_link") 2>&5 1774 ac_status=$? 1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1776 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1777 { { case "(($ac_try" in 1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1779 *) ac_try_echo=$ac_try;; 1780esac 1781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1782$as_echo "$ac_try_echo"; } >&5 1783 (eval "$ac_try") 2>&5 1784 ac_status=$? 1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1786 test $ac_status = 0; }; }; then : 1787 ac_retval=0 1788else 1789 $as_echo "$as_me: program exited with status $ac_status" >&5 1790 $as_echo "$as_me: failed program was:" >&5 1791sed 's/^/| /' conftest.$ac_ext >&5 1792 1793 ac_retval=$ac_status 1794fi 1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1797 as_fn_set_status $ac_retval 1798 1799} # ac_fn_c_try_run 1800 1801# ac_fn_c_check_func LINENO FUNC VAR 1802# ---------------------------------- 1803# Tests whether FUNC exists, setting the cache variable VAR accordingly 1804ac_fn_c_check_func () 1805{ 1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1808$as_echo_n "checking for $2... " >&6; } 1809if eval \${$3+:} false; then : 1810 $as_echo_n "(cached) " >&6 1811else 1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1813/* end confdefs.h. */ 1814/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1815 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1816#define $2 innocuous_$2 1817 1818/* System header to define __stub macros and hopefully few prototypes, 1819 which can conflict with char $2 (); below. 1820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1821 <limits.h> exists even on freestanding compilers. */ 1822 1823#ifdef __STDC__ 1824# include <limits.h> 1825#else 1826# include <assert.h> 1827#endif 1828 1829#undef $2 1830 1831/* Override any GCC internal prototype to avoid an error. 1832 Use char because int might match the return type of a GCC 1833 builtin and then its argument prototype would still apply. */ 1834#ifdef __cplusplus 1835extern "C" 1836#endif 1837char $2 (); 1838/* The GNU C library defines this for functions which it implements 1839 to always fail with ENOSYS. Some functions are actually named 1840 something starting with __ and the normal name is an alias. */ 1841#if defined __stub_$2 || defined __stub___$2 1842choke me 1843#endif 1844 1845int 1846main () 1847{ 1848return $2 (); 1849 ; 1850 return 0; 1851} 1852_ACEOF 1853if ac_fn_c_try_link "$LINENO"; then : 1854 eval "$3=yes" 1855else 1856 eval "$3=no" 1857fi 1858rm -f core conftest.err conftest.$ac_objext \ 1859 conftest$ac_exeext conftest.$ac_ext 1860fi 1861eval ac_res=\$$3 1862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1863$as_echo "$ac_res" >&6; } 1864 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1865 1866} # ac_fn_c_check_func 1867 1868# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1869# ------------------------------------------------------- 1870# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1871# the include files in INCLUDES and setting the cache variable VAR 1872# accordingly. 1873ac_fn_c_check_header_mongrel () 1874{ 1875 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1876 if eval \${$3+:} false; then : 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1878$as_echo_n "checking for $2... " >&6; } 1879if eval \${$3+:} false; then : 1880 $as_echo_n "(cached) " >&6 1881fi 1882eval ac_res=\$$3 1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1884$as_echo "$ac_res" >&6; } 1885else 1886 # Is the header compilable? 1887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1888$as_echo_n "checking $2 usability... " >&6; } 1889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1890/* end confdefs.h. */ 1891$4 1892#include <$2> 1893_ACEOF 1894if ac_fn_c_try_compile "$LINENO"; then : 1895 ac_header_compiler=yes 1896else 1897 ac_header_compiler=no 1898fi 1899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1901$as_echo "$ac_header_compiler" >&6; } 1902 1903# Is the header present? 1904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1905$as_echo_n "checking $2 presence... " >&6; } 1906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1907/* end confdefs.h. */ 1908#include <$2> 1909_ACEOF 1910if ac_fn_c_try_cpp "$LINENO"; then : 1911 ac_header_preproc=yes 1912else 1913 ac_header_preproc=no 1914fi 1915rm -f conftest.err conftest.i conftest.$ac_ext 1916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1917$as_echo "$ac_header_preproc" >&6; } 1918 1919# So? What about this header? 1920case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1921 yes:no: ) 1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1923$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1925$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1926 ;; 1927 no:yes:* ) 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1929$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1931$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1933$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1935$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1937$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1938( $as_echo "## ----------------------------- ## 1939## Report this to monty@xiph.org ## 1940## ----------------------------- ##" 1941 ) | sed "s/^/$as_me: WARNING: /" >&2 1942 ;; 1943esac 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1945$as_echo_n "checking for $2... " >&6; } 1946if eval \${$3+:} false; then : 1947 $as_echo_n "(cached) " >&6 1948else 1949 eval "$3=\$ac_header_compiler" 1950fi 1951eval ac_res=\$$3 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1953$as_echo "$ac_res" >&6; } 1954fi 1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1956 1957} # ac_fn_c_check_header_mongrel 1958 1959# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1960# -------------------------------------------- 1961# Tries to find the compile-time value of EXPR in a program that includes 1962# INCLUDES, setting VAR accordingly. Returns whether the value could be 1963# computed 1964ac_fn_c_compute_int () 1965{ 1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1967 if test "$cross_compiling" = yes; then 1968 # Depending upon the size, compute the lo and hi bounds. 1969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1970/* end confdefs.h. */ 1971$4 1972int 1973main () 1974{ 1975static int test_array [1 - 2 * !(($2) >= 0)]; 1976test_array [0] = 0; 1977return test_array [0]; 1978 1979 ; 1980 return 0; 1981} 1982_ACEOF 1983if ac_fn_c_try_compile "$LINENO"; then : 1984 ac_lo=0 ac_mid=0 1985 while :; do 1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1987/* end confdefs.h. */ 1988$4 1989int 1990main () 1991{ 1992static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1993test_array [0] = 0; 1994return test_array [0]; 1995 1996 ; 1997 return 0; 1998} 1999_ACEOF 2000if ac_fn_c_try_compile "$LINENO"; then : 2001 ac_hi=$ac_mid; break 2002else 2003 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2004 if test $ac_lo -le $ac_mid; then 2005 ac_lo= ac_hi= 2006 break 2007 fi 2008 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2009fi 2010rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2011 done 2012else 2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2014/* end confdefs.h. */ 2015$4 2016int 2017main () 2018{ 2019static int test_array [1 - 2 * !(($2) < 0)]; 2020test_array [0] = 0; 2021return test_array [0]; 2022 2023 ; 2024 return 0; 2025} 2026_ACEOF 2027if ac_fn_c_try_compile "$LINENO"; then : 2028 ac_hi=-1 ac_mid=-1 2029 while :; do 2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2031/* end confdefs.h. */ 2032$4 2033int 2034main () 2035{ 2036static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2037test_array [0] = 0; 2038return test_array [0]; 2039 2040 ; 2041 return 0; 2042} 2043_ACEOF 2044if ac_fn_c_try_compile "$LINENO"; then : 2045 ac_lo=$ac_mid; break 2046else 2047 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2048 if test $ac_mid -le $ac_hi; then 2049 ac_lo= ac_hi= 2050 break 2051 fi 2052 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2053fi 2054rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2055 done 2056else 2057 ac_lo= ac_hi= 2058fi 2059rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2060fi 2061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2062# Binary search between lo and hi bounds. 2063while test "x$ac_lo" != "x$ac_hi"; do 2064 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2066/* end confdefs.h. */ 2067$4 2068int 2069main () 2070{ 2071static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2072test_array [0] = 0; 2073return test_array [0]; 2074 2075 ; 2076 return 0; 2077} 2078_ACEOF 2079if ac_fn_c_try_compile "$LINENO"; then : 2080 ac_hi=$ac_mid 2081else 2082 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2083fi 2084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2085done 2086case $ac_lo in #(( 2087?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2088'') ac_retval=1 ;; 2089esac 2090 else 2091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2092/* end confdefs.h. */ 2093$4 2094static long int longval () { return $2; } 2095static unsigned long int ulongval () { return $2; } 2096#include <stdio.h> 2097#include <stdlib.h> 2098int 2099main () 2100{ 2101 2102 FILE *f = fopen ("conftest.val", "w"); 2103 if (! f) 2104 return 1; 2105 if (($2) < 0) 2106 { 2107 long int i = longval (); 2108 if (i != ($2)) 2109 return 1; 2110 fprintf (f, "%ld", i); 2111 } 2112 else 2113 { 2114 unsigned long int i = ulongval (); 2115 if (i != ($2)) 2116 return 1; 2117 fprintf (f, "%lu", i); 2118 } 2119 /* Do not output a trailing newline, as this causes \r\n confusion 2120 on some platforms. */ 2121 return ferror (f) || fclose (f) != 0; 2122 2123 ; 2124 return 0; 2125} 2126_ACEOF 2127if ac_fn_c_try_run "$LINENO"; then : 2128 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2129else 2130 ac_retval=1 2131fi 2132rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2133 conftest.$ac_objext conftest.beam conftest.$ac_ext 2134rm -f conftest.val 2135 2136 fi 2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2138 as_fn_set_status $ac_retval 2139 2140} # ac_fn_c_compute_int 2141cat >config.log <<_ACEOF 2142This file contains any messages produced by compilers while 2143running configure, to aid debugging if configure makes a mistake. 2144 2145It was created by libao $as_me 1.2.0, which was 2146generated by GNU Autoconf 2.69. Invocation command line was 2147 2148 $ $0 $@ 2149 2150_ACEOF 2151exec 5>>config.log 2152{ 2153cat <<_ASUNAME 2154## --------- ## 2155## Platform. ## 2156## --------- ## 2157 2158hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2159uname -m = `(uname -m) 2>/dev/null || echo unknown` 2160uname -r = `(uname -r) 2>/dev/null || echo unknown` 2161uname -s = `(uname -s) 2>/dev/null || echo unknown` 2162uname -v = `(uname -v) 2>/dev/null || echo unknown` 2163 2164/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2165/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2166 2167/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2168/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2169/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2170/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2171/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2172/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2173/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2174 2175_ASUNAME 2176 2177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2178for as_dir in $PATH 2179do 2180 IFS=$as_save_IFS 2181 test -z "$as_dir" && as_dir=. 2182 $as_echo "PATH: $as_dir" 2183 done 2184IFS=$as_save_IFS 2185 2186} >&5 2187 2188cat >&5 <<_ACEOF 2189 2190 2191## ----------- ## 2192## Core tests. ## 2193## ----------- ## 2194 2195_ACEOF 2196 2197 2198# Keep a trace of the command line. 2199# Strip out --no-create and --no-recursion so they do not pile up. 2200# Strip out --silent because we don't want to record it for future runs. 2201# Also quote any args containing shell meta-characters. 2202# Make two passes to allow for proper duplicate-argument suppression. 2203ac_configure_args= 2204ac_configure_args0= 2205ac_configure_args1= 2206ac_must_keep_next=false 2207for ac_pass in 1 2 2208do 2209 for ac_arg 2210 do 2211 case $ac_arg in 2212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2214 | -silent | --silent | --silen | --sile | --sil) 2215 continue ;; 2216 *\'*) 2217 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2218 esac 2219 case $ac_pass in 2220 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2221 2) 2222 as_fn_append ac_configure_args1 " '$ac_arg'" 2223 if test $ac_must_keep_next = true; then 2224 ac_must_keep_next=false # Got value, back to normal. 2225 else 2226 case $ac_arg in 2227 *=* | --config-cache | -C | -disable-* | --disable-* \ 2228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2230 | -with-* | --with-* | -without-* | --without-* | --x) 2231 case "$ac_configure_args0 " in 2232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2233 esac 2234 ;; 2235 -* ) ac_must_keep_next=true ;; 2236 esac 2237 fi 2238 as_fn_append ac_configure_args " '$ac_arg'" 2239 ;; 2240 esac 2241 done 2242done 2243{ ac_configure_args0=; unset ac_configure_args0;} 2244{ ac_configure_args1=; unset ac_configure_args1;} 2245 2246# When interrupted or exit'd, cleanup temporary files, and complete 2247# config.log. We remove comments because anyway the quotes in there 2248# would cause problems or look ugly. 2249# WARNING: Use '\'' to represent an apostrophe within the trap. 2250# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2251trap 'exit_status=$? 2252 # Save into config.log some information that might help in debugging. 2253 { 2254 echo 2255 2256 $as_echo "## ---------------- ## 2257## Cache variables. ## 2258## ---------------- ##" 2259 echo 2260 # The following way of writing the cache mishandles newlines in values, 2261( 2262 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2263 eval ac_val=\$$ac_var 2264 case $ac_val in #( 2265 *${as_nl}*) 2266 case $ac_var in #( 2267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2268$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2269 esac 2270 case $ac_var in #( 2271 _ | IFS | as_nl) ;; #( 2272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2273 *) { eval $ac_var=; unset $ac_var;} ;; 2274 esac ;; 2275 esac 2276 done 2277 (set) 2>&1 | 2278 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2279 *${as_nl}ac_space=\ *) 2280 sed -n \ 2281 "s/'\''/'\''\\\\'\'''\''/g; 2282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2283 ;; #( 2284 *) 2285 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2286 ;; 2287 esac | 2288 sort 2289) 2290 echo 2291 2292 $as_echo "## ----------------- ## 2293## Output variables. ## 2294## ----------------- ##" 2295 echo 2296 for ac_var in $ac_subst_vars 2297 do 2298 eval ac_val=\$$ac_var 2299 case $ac_val in 2300 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2301 esac 2302 $as_echo "$ac_var='\''$ac_val'\''" 2303 done | sort 2304 echo 2305 2306 if test -n "$ac_subst_files"; then 2307 $as_echo "## ------------------- ## 2308## File substitutions. ## 2309## ------------------- ##" 2310 echo 2311 for ac_var in $ac_subst_files 2312 do 2313 eval ac_val=\$$ac_var 2314 case $ac_val in 2315 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2316 esac 2317 $as_echo "$ac_var='\''$ac_val'\''" 2318 done | sort 2319 echo 2320 fi 2321 2322 if test -s confdefs.h; then 2323 $as_echo "## ----------- ## 2324## confdefs.h. ## 2325## ----------- ##" 2326 echo 2327 cat confdefs.h 2328 echo 2329 fi 2330 test "$ac_signal" != 0 && 2331 $as_echo "$as_me: caught signal $ac_signal" 2332 $as_echo "$as_me: exit $exit_status" 2333 } >&5 2334 rm -f core *.core core.conftest.* && 2335 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2336 exit $exit_status 2337' 0 2338for ac_signal in 1 2 13 15; do 2339 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2340done 2341ac_signal=0 2342 2343# confdefs.h avoids OS command line length limits that DEFS can exceed. 2344rm -f -r conftest* confdefs.h 2345 2346$as_echo "/* confdefs.h */" > confdefs.h 2347 2348# Predefined preprocessor variables. 2349 2350cat >>confdefs.h <<_ACEOF 2351#define PACKAGE_NAME "$PACKAGE_NAME" 2352_ACEOF 2353 2354cat >>confdefs.h <<_ACEOF 2355#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2356_ACEOF 2357 2358cat >>confdefs.h <<_ACEOF 2359#define PACKAGE_VERSION "$PACKAGE_VERSION" 2360_ACEOF 2361 2362cat >>confdefs.h <<_ACEOF 2363#define PACKAGE_STRING "$PACKAGE_STRING" 2364_ACEOF 2365 2366cat >>confdefs.h <<_ACEOF 2367#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2368_ACEOF 2369 2370cat >>confdefs.h <<_ACEOF 2371#define PACKAGE_URL "$PACKAGE_URL" 2372_ACEOF 2373 2374 2375# Let the site file select an alternate cache file if it wants to. 2376# Prefer an explicitly selected file to automatically selected ones. 2377ac_site_file1=NONE 2378ac_site_file2=NONE 2379if test -n "$CONFIG_SITE"; then 2380 # We do not want a PATH search for config.site. 2381 case $CONFIG_SITE in #(( 2382 -*) ac_site_file1=./$CONFIG_SITE;; 2383 */*) ac_site_file1=$CONFIG_SITE;; 2384 *) ac_site_file1=./$CONFIG_SITE;; 2385 esac 2386elif test "x$prefix" != xNONE; then 2387 ac_site_file1=$prefix/share/config.site 2388 ac_site_file2=$prefix/etc/config.site 2389else 2390 ac_site_file1=$ac_default_prefix/share/config.site 2391 ac_site_file2=$ac_default_prefix/etc/config.site 2392fi 2393for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2394do 2395 test "x$ac_site_file" = xNONE && continue 2396 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2398$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2399 sed 's/^/| /' "$ac_site_file" >&5 2400 . "$ac_site_file" \ 2401 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2403as_fn_error $? "failed to load site script $ac_site_file 2404See \`config.log' for more details" "$LINENO" 5; } 2405 fi 2406done 2407 2408if test -r "$cache_file"; then 2409 # Some versions of bash will fail to source /dev/null (special files 2410 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2411 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2413$as_echo "$as_me: loading cache $cache_file" >&6;} 2414 case $cache_file in 2415 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2416 *) . "./$cache_file";; 2417 esac 2418 fi 2419else 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2421$as_echo "$as_me: creating cache $cache_file" >&6;} 2422 >$cache_file 2423fi 2424 2425# Check that the precious variables saved in the cache have kept the same 2426# value. 2427ac_cache_corrupted=false 2428for ac_var in $ac_precious_vars; do 2429 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2430 eval ac_new_set=\$ac_env_${ac_var}_set 2431 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2432 eval ac_new_val=\$ac_env_${ac_var}_value 2433 case $ac_old_set,$ac_new_set in 2434 set,) 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2436$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2437 ac_cache_corrupted=: ;; 2438 ,set) 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2440$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2441 ac_cache_corrupted=: ;; 2442 ,);; 2443 *) 2444 if test "x$ac_old_val" != "x$ac_new_val"; then 2445 # differences in whitespace do not lead to failure. 2446 ac_old_val_w=`echo x $ac_old_val` 2447 ac_new_val_w=`echo x $ac_new_val` 2448 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2450$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2451 ac_cache_corrupted=: 2452 else 2453 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2454$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2455 eval $ac_var=\$ac_old_val 2456 fi 2457 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2458$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2460$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2461 fi;; 2462 esac 2463 # Pass precious variables to config.status. 2464 if test "$ac_new_set" = set; then 2465 case $ac_new_val in 2466 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2467 *) ac_arg=$ac_var=$ac_new_val ;; 2468 esac 2469 case " $ac_configure_args " in 2470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2471 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2472 esac 2473 fi 2474done 2475if $ac_cache_corrupted; then 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2479$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2480 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2481fi 2482## -------------------- ## 2483## Main body of script. ## 2484## -------------------- ## 2485 2486ac_ext=c 2487ac_cpp='$CPP $CPPFLAGS' 2488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2490ac_compiler_gnu=$ac_cv_c_compiler_gnu 2491 2492 2493am__api_version='1.13' 2494 2495ac_aux_dir= 2496for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2497 if test -f "$ac_dir/install-sh"; then 2498 ac_aux_dir=$ac_dir 2499 ac_install_sh="$ac_aux_dir/install-sh -c" 2500 break 2501 elif test -f "$ac_dir/install.sh"; then 2502 ac_aux_dir=$ac_dir 2503 ac_install_sh="$ac_aux_dir/install.sh -c" 2504 break 2505 elif test -f "$ac_dir/shtool"; then 2506 ac_aux_dir=$ac_dir 2507 ac_install_sh="$ac_aux_dir/shtool install -c" 2508 break 2509 fi 2510done 2511if test -z "$ac_aux_dir"; then 2512 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2513fi 2514 2515# These three variables are undocumented and unsupported, 2516# and are intended to be withdrawn in a future Autoconf release. 2517# They can cause serious problems if a builder's source tree is in a directory 2518# whose full name contains unusual characters. 2519ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2520ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2521ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2522 2523 2524# Find a good install program. We prefer a C program (faster), 2525# so one script is as good as another. But avoid the broken or 2526# incompatible versions: 2527# SysV /etc/install, /usr/sbin/install 2528# SunOS /usr/etc/install 2529# IRIX /sbin/install 2530# AIX /bin/install 2531# AmigaOS /C/install, which installs bootblocks on floppy discs 2532# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2533# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2534# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2535# OS/2's system install, which has a completely different semantic 2536# ./install, which can be erroneously created by make from ./install.sh. 2537# Reject install programs that cannot install multiple files. 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2539$as_echo_n "checking for a BSD-compatible install... " >&6; } 2540if test -z "$INSTALL"; then 2541if ${ac_cv_path_install+:} false; then : 2542 $as_echo_n "(cached) " >&6 2543else 2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2545for as_dir in $PATH 2546do 2547 IFS=$as_save_IFS 2548 test -z "$as_dir" && as_dir=. 2549 # Account for people who put trailing slashes in PATH elements. 2550case $as_dir/ in #(( 2551 ./ | .// | /[cC]/* | \ 2552 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2553 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2554 /usr/ucb/* ) ;; 2555 *) 2556 # OSF1 and SCO ODT 3.0 have their own names for install. 2557 # Don't use installbsd from OSF since it installs stuff as root 2558 # by default. 2559 for ac_prog in ginstall scoinst install; do 2560 for ac_exec_ext in '' $ac_executable_extensions; do 2561 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2562 if test $ac_prog = install && 2563 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2564 # AIX install. It has an incompatible calling convention. 2565 : 2566 elif test $ac_prog = install && 2567 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2568 # program-specific install script used by HP pwplus--don't use. 2569 : 2570 else 2571 rm -rf conftest.one conftest.two conftest.dir 2572 echo one > conftest.one 2573 echo two > conftest.two 2574 mkdir conftest.dir 2575 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2576 test -s conftest.one && test -s conftest.two && 2577 test -s conftest.dir/conftest.one && 2578 test -s conftest.dir/conftest.two 2579 then 2580 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2581 break 3 2582 fi 2583 fi 2584 fi 2585 done 2586 done 2587 ;; 2588esac 2589 2590 done 2591IFS=$as_save_IFS 2592 2593rm -rf conftest.one conftest.two conftest.dir 2594 2595fi 2596 if test "${ac_cv_path_install+set}" = set; then 2597 INSTALL=$ac_cv_path_install 2598 else 2599 # As a last resort, use the slow shell script. Don't cache a 2600 # value for INSTALL within a source directory, because that will 2601 # break other packages using the cache if that directory is 2602 # removed, or if the value is a relative name. 2603 INSTALL=$ac_install_sh 2604 fi 2605fi 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2607$as_echo "$INSTALL" >&6; } 2608 2609# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2610# It thinks the first close brace ends the variable substitution. 2611test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2612 2613test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2614 2615test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2616 2617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2618$as_echo_n "checking whether build environment is sane... " >&6; } 2619# Reject unsafe characters in $srcdir or the absolute working directory 2620# name. Accept space and tab only in the latter. 2621am_lf=' 2622' 2623case `pwd` in 2624 *[\\\"\#\$\&\'\`$am_lf]*) 2625 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2626esac 2627case $srcdir in 2628 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2629 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2630esac 2631 2632# Do 'set' in a subshell so we don't clobber the current shell's 2633# arguments. Must try -L first in case configure is actually a 2634# symlink; some systems play weird games with the mod time of symlinks 2635# (eg FreeBSD returns the mod time of the symlink's containing 2636# directory). 2637if ( 2638 am_has_slept=no 2639 for am_try in 1 2; do 2640 echo "timestamp, slept: $am_has_slept" > conftest.file 2641 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2642 if test "$*" = "X"; then 2643 # -L didn't work. 2644 set X `ls -t "$srcdir/configure" conftest.file` 2645 fi 2646 if test "$*" != "X $srcdir/configure conftest.file" \ 2647 && test "$*" != "X conftest.file $srcdir/configure"; then 2648 2649 # If neither matched, then we have a broken ls. This can happen 2650 # if, for instance, CONFIG_SHELL is bash and it inherits a 2651 # broken ls alias from the environment. This has actually 2652 # happened. Such a system could not be considered "sane". 2653 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2654 alias in your environment" "$LINENO" 5 2655 fi 2656 if test "$2" = conftest.file || test $am_try -eq 2; then 2657 break 2658 fi 2659 # Just in case. 2660 sleep 1 2661 am_has_slept=yes 2662 done 2663 test "$2" = conftest.file 2664 ) 2665then 2666 # Ok. 2667 : 2668else 2669 as_fn_error $? "newly created file is older than distributed files! 2670Check your system clock" "$LINENO" 5 2671fi 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2673$as_echo "yes" >&6; } 2674# If we didn't sleep, we still need to ensure time stamps of config.status and 2675# generated files are strictly newer. 2676am_sleep_pid= 2677if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2678 ( sleep 1 ) & 2679 am_sleep_pid=$! 2680fi 2681 2682rm -f conftest.file 2683 2684test "$program_prefix" != NONE && 2685 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2686# Use a double $ so make ignores it. 2687test "$program_suffix" != NONE && 2688 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2689# Double any \ or $. 2690# By default was `s,x,x', remove it if useless. 2691ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2692program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2693 2694# expand $ac_aux_dir to an absolute path 2695am_aux_dir=`cd $ac_aux_dir && pwd` 2696 2697if test x"${MISSING+set}" != xset; then 2698 case $am_aux_dir in 2699 *\ * | *\ *) 2700 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2701 *) 2702 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2703 esac 2704fi 2705# Use eval to expand $SHELL 2706if eval "$MISSING --is-lightweight"; then 2707 am_missing_run="$MISSING " 2708else 2709 am_missing_run= 2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2711$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2712fi 2713 2714if test x"${install_sh}" != xset; then 2715 case $am_aux_dir in 2716 *\ * | *\ *) 2717 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2718 *) 2719 install_sh="\${SHELL} $am_aux_dir/install-sh" 2720 esac 2721fi 2722 2723# Installed binaries are usually stripped using 'strip' when the user 2724# run "make install-strip". However 'strip' might not be the right 2725# tool to use in cross-compilation environments, therefore Automake 2726# will honor the 'STRIP' environment variable to overrule this program. 2727if test "$cross_compiling" != no; then 2728 if test -n "$ac_tool_prefix"; then 2729 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2730set dummy ${ac_tool_prefix}strip; ac_word=$2 2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2732$as_echo_n "checking for $ac_word... " >&6; } 2733if ${ac_cv_prog_STRIP+:} false; then : 2734 $as_echo_n "(cached) " >&6 2735else 2736 if test -n "$STRIP"; then 2737 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2738else 2739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2740for as_dir in $PATH 2741do 2742 IFS=$as_save_IFS 2743 test -z "$as_dir" && as_dir=. 2744 for ac_exec_ext in '' $ac_executable_extensions; do 2745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2746 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2748 break 2 2749 fi 2750done 2751 done 2752IFS=$as_save_IFS 2753 2754fi 2755fi 2756STRIP=$ac_cv_prog_STRIP 2757if test -n "$STRIP"; then 2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2759$as_echo "$STRIP" >&6; } 2760else 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2762$as_echo "no" >&6; } 2763fi 2764 2765 2766fi 2767if test -z "$ac_cv_prog_STRIP"; then 2768 ac_ct_STRIP=$STRIP 2769 # Extract the first word of "strip", so it can be a program name with args. 2770set dummy strip; ac_word=$2 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2772$as_echo_n "checking for $ac_word... " >&6; } 2773if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2774 $as_echo_n "(cached) " >&6 2775else 2776 if test -n "$ac_ct_STRIP"; then 2777 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2778else 2779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2780for as_dir in $PATH 2781do 2782 IFS=$as_save_IFS 2783 test -z "$as_dir" && as_dir=. 2784 for ac_exec_ext in '' $ac_executable_extensions; do 2785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2786 ac_cv_prog_ac_ct_STRIP="strip" 2787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2788 break 2 2789 fi 2790done 2791 done 2792IFS=$as_save_IFS 2793 2794fi 2795fi 2796ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2797if test -n "$ac_ct_STRIP"; then 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2799$as_echo "$ac_ct_STRIP" >&6; } 2800else 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2802$as_echo "no" >&6; } 2803fi 2804 2805 if test "x$ac_ct_STRIP" = x; then 2806 STRIP=":" 2807 else 2808 case $cross_compiling:$ac_tool_warned in 2809yes:) 2810{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2811$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2812ac_tool_warned=yes ;; 2813esac 2814 STRIP=$ac_ct_STRIP 2815 fi 2816else 2817 STRIP="$ac_cv_prog_STRIP" 2818fi 2819 2820fi 2821INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2822 2823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2824$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2825if test -z "$MKDIR_P"; then 2826 if ${ac_cv_path_mkdir+:} false; then : 2827 $as_echo_n "(cached) " >&6 2828else 2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2830for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2831do 2832 IFS=$as_save_IFS 2833 test -z "$as_dir" && as_dir=. 2834 for ac_prog in mkdir gmkdir; do 2835 for ac_exec_ext in '' $ac_executable_extensions; do 2836 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2837 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2838 'mkdir (GNU coreutils) '* | \ 2839 'mkdir (coreutils) '* | \ 2840 'mkdir (fileutils) '4.1*) 2841 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2842 break 3;; 2843 esac 2844 done 2845 done 2846 done 2847IFS=$as_save_IFS 2848 2849fi 2850 2851 test -d ./--version && rmdir ./--version 2852 if test "${ac_cv_path_mkdir+set}" = set; then 2853 MKDIR_P="$ac_cv_path_mkdir -p" 2854 else 2855 # As a last resort, use the slow shell script. Don't cache a 2856 # value for MKDIR_P within a source directory, because that will 2857 # break other packages using the cache if that directory is 2858 # removed, or if the value is a relative name. 2859 MKDIR_P="$ac_install_sh -d" 2860 fi 2861fi 2862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2863$as_echo "$MKDIR_P" >&6; } 2864 2865for ac_prog in gawk mawk nawk awk 2866do 2867 # Extract the first word of "$ac_prog", so it can be a program name with args. 2868set dummy $ac_prog; ac_word=$2 2869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2870$as_echo_n "checking for $ac_word... " >&6; } 2871if ${ac_cv_prog_AWK+:} false; then : 2872 $as_echo_n "(cached) " >&6 2873else 2874 if test -n "$AWK"; then 2875 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2876else 2877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2878for as_dir in $PATH 2879do 2880 IFS=$as_save_IFS 2881 test -z "$as_dir" && as_dir=. 2882 for ac_exec_ext in '' $ac_executable_extensions; do 2883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2884 ac_cv_prog_AWK="$ac_prog" 2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2886 break 2 2887 fi 2888done 2889 done 2890IFS=$as_save_IFS 2891 2892fi 2893fi 2894AWK=$ac_cv_prog_AWK 2895if test -n "$AWK"; then 2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2897$as_echo "$AWK" >&6; } 2898else 2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2900$as_echo "no" >&6; } 2901fi 2902 2903 2904 test -n "$AWK" && break 2905done 2906 2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2908$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2909set x ${MAKE-make} 2910ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2911if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2912 $as_echo_n "(cached) " >&6 2913else 2914 cat >conftest.make <<\_ACEOF 2915SHELL = /bin/sh 2916all: 2917 @echo '@@@%%%=$(MAKE)=@@@%%%' 2918_ACEOF 2919# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2920case `${MAKE-make} -f conftest.make 2>/dev/null` in 2921 *@@@%%%=?*=@@@%%%*) 2922 eval ac_cv_prog_make_${ac_make}_set=yes;; 2923 *) 2924 eval ac_cv_prog_make_${ac_make}_set=no;; 2925esac 2926rm -f conftest.make 2927fi 2928if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2930$as_echo "yes" >&6; } 2931 SET_MAKE= 2932else 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2934$as_echo "no" >&6; } 2935 SET_MAKE="MAKE=${MAKE-make}" 2936fi 2937 2938rm -rf .tst 2>/dev/null 2939mkdir .tst 2>/dev/null 2940if test -d .tst; then 2941 am__leading_dot=. 2942else 2943 am__leading_dot=_ 2944fi 2945rmdir .tst 2>/dev/null 2946 2947# Check whether --enable-silent-rules was given. 2948if test "${enable_silent_rules+set}" = set; then : 2949 enableval=$enable_silent_rules; 2950fi 2951 2952case $enable_silent_rules in # ((( 2953 yes) AM_DEFAULT_VERBOSITY=0;; 2954 no) AM_DEFAULT_VERBOSITY=1;; 2955 *) AM_DEFAULT_VERBOSITY=1;; 2956esac 2957am_make=${MAKE-make} 2958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2959$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2960if ${am_cv_make_support_nested_variables+:} false; then : 2961 $as_echo_n "(cached) " >&6 2962else 2963 if $as_echo 'TRUE=$(BAR$(V)) 2964BAR0=false 2965BAR1=true 2966V=1 2967am__doit: 2968 @$(TRUE) 2969.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2970 am_cv_make_support_nested_variables=yes 2971else 2972 am_cv_make_support_nested_variables=no 2973fi 2974fi 2975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2976$as_echo "$am_cv_make_support_nested_variables" >&6; } 2977if test $am_cv_make_support_nested_variables = yes; then 2978 AM_V='$(V)' 2979 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2980else 2981 AM_V=$AM_DEFAULT_VERBOSITY 2982 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2983fi 2984AM_BACKSLASH='\' 2985 2986if test "`cd $srcdir && pwd`" != "`pwd`"; then 2987 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2988 # is not polluted with repeated "-I." 2989 am__isrc=' -I$(srcdir)' 2990 # test to see if srcdir already configured 2991 if test -f $srcdir/config.status; then 2992 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2993 fi 2994fi 2995 2996# test whether we have cygpath 2997if test -z "$CYGPATH_W"; then 2998 if (cygpath --version) >/dev/null 2>/dev/null; then 2999 CYGPATH_W='cygpath -w' 3000 else 3001 CYGPATH_W=echo 3002 fi 3003fi 3004 3005 3006# Define the identity of the package. 3007 PACKAGE='libao' 3008 VERSION='1.2.0' 3009 3010 3011cat >>confdefs.h <<_ACEOF 3012#define PACKAGE "$PACKAGE" 3013_ACEOF 3014 3015 3016cat >>confdefs.h <<_ACEOF 3017#define VERSION "$VERSION" 3018_ACEOF 3019 3020# Some tools Automake needs. 3021 3022ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3023 3024 3025AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3026 3027 3028AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3029 3030 3031AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3032 3033 3034MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3035 3036# For better backward compatibility. To be removed once Automake 1.9.x 3037# dies out for good. For more background, see: 3038# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3039# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3040mkdir_p='$(MKDIR_P)' 3041 3042# We need awk for the "check" target. The system "awk" is bad on 3043# some platforms. 3044# Always define AMTAR for backward compatibility. Yes, it's still used 3045# in the wild :-( We should find a proper way to deprecate it ... 3046AMTAR='$${TAR-tar}' 3047 3048 3049# We'll loop over all known methods to create a tar archive until one works. 3050_am_tools='gnutar pax cpio none' 3051 3052am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3053 3054 3055 3056 3057 3058 3059 3060 3061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3062$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3063 # Check whether --enable-maintainer-mode was given. 3064if test "${enable_maintainer_mode+set}" = set; then : 3065 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3066else 3067 USE_MAINTAINER_MODE=no 3068fi 3069 3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3071$as_echo "$USE_MAINTAINER_MODE" >&6; } 3072 if test $USE_MAINTAINER_MODE = yes; then 3073 MAINTAINER_MODE_TRUE= 3074 MAINTAINER_MODE_FALSE='#' 3075else 3076 MAINTAINER_MODE_TRUE='#' 3077 MAINTAINER_MODE_FALSE= 3078fi 3079 3080 MAINT=$MAINTAINER_MODE_TRUE 3081 3082 3083 3084# Check whether --enable-static was given. 3085if test "${enable_static+set}" = set; then : 3086 enableval=$enable_static; p=${PACKAGE-default} 3087 case $enableval in 3088 yes) enable_static=yes ;; 3089 no) enable_static=no ;; 3090 *) 3091 enable_static=no 3092 # Look at the argument we got. We use all the common list separators. 3093 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 3094 for pkg in $enableval; do 3095 IFS="$lt_save_ifs" 3096 if test "X$pkg" = "X$p"; then 3097 enable_static=yes 3098 fi 3099 done 3100 IFS="$lt_save_ifs" 3101 ;; 3102 esac 3103else 3104 enable_static=no 3105fi 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116LIB_CURRENT=5 3117LIB_REVISION=0 3118LIB_AGE=1 3119 3120 3121 3122 3123PLUGIN_VERSION=4 3124 3125# Make sure we can run config.sub. 3126$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3127 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3128 3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3130$as_echo_n "checking build system type... " >&6; } 3131if ${ac_cv_build+:} false; then : 3132 $as_echo_n "(cached) " >&6 3133else 3134 ac_build_alias=$build_alias 3135test "x$ac_build_alias" = x && 3136 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3137test "x$ac_build_alias" = x && 3138 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3139ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3140 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3141 3142fi 3143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3144$as_echo "$ac_cv_build" >&6; } 3145case $ac_cv_build in 3146*-*-*) ;; 3147*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3148esac 3149build=$ac_cv_build 3150ac_save_IFS=$IFS; IFS='-' 3151set x $ac_cv_build 3152shift 3153build_cpu=$1 3154build_vendor=$2 3155shift; shift 3156# Remember, the first character of IFS is used to create $*, 3157# except with old shells: 3158build_os=$* 3159IFS=$ac_save_IFS 3160case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3161 3162 3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3164$as_echo_n "checking host system type... " >&6; } 3165if ${ac_cv_host+:} false; then : 3166 $as_echo_n "(cached) " >&6 3167else 3168 if test "x$host_alias" = x; then 3169 ac_cv_host=$ac_cv_build 3170else 3171 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3172 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3173fi 3174 3175fi 3176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3177$as_echo "$ac_cv_host" >&6; } 3178case $ac_cv_host in 3179*-*-*) ;; 3180*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3181esac 3182host=$ac_cv_host 3183ac_save_IFS=$IFS; IFS='-' 3184set x $ac_cv_host 3185shift 3186host_cpu=$1 3187host_vendor=$2 3188shift; shift 3189# Remember, the first character of IFS is used to create $*, 3190# except with old shells: 3191host_os=$* 3192IFS=$ac_save_IFS 3193case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3194 3195 3196 3197plugindir=$libdir/ao/plugins-$PLUGIN_VERSION 3198 3199 3200 3201cflags_save="$CFLAGS" 3202ac_ext=c 3203ac_cpp='$CPP $CPPFLAGS' 3204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3206ac_compiler_gnu=$ac_cv_c_compiler_gnu 3207if test -n "$ac_tool_prefix"; then 3208 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3209set dummy ${ac_tool_prefix}gcc; ac_word=$2 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3211$as_echo_n "checking for $ac_word... " >&6; } 3212if ${ac_cv_prog_CC+:} false; then : 3213 $as_echo_n "(cached) " >&6 3214else 3215 if test -n "$CC"; then 3216 ac_cv_prog_CC="$CC" # Let the user override the test. 3217else 3218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3219for as_dir in $PATH 3220do 3221 IFS=$as_save_IFS 3222 test -z "$as_dir" && as_dir=. 3223 for ac_exec_ext in '' $ac_executable_extensions; do 3224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3225 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3227 break 2 3228 fi 3229done 3230 done 3231IFS=$as_save_IFS 3232 3233fi 3234fi 3235CC=$ac_cv_prog_CC 3236if test -n "$CC"; then 3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3238$as_echo "$CC" >&6; } 3239else 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3241$as_echo "no" >&6; } 3242fi 3243 3244 3245fi 3246if test -z "$ac_cv_prog_CC"; then 3247 ac_ct_CC=$CC 3248 # Extract the first word of "gcc", so it can be a program name with args. 3249set dummy gcc; ac_word=$2 3250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3251$as_echo_n "checking for $ac_word... " >&6; } 3252if ${ac_cv_prog_ac_ct_CC+:} false; then : 3253 $as_echo_n "(cached) " >&6 3254else 3255 if test -n "$ac_ct_CC"; then 3256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3257else 3258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3259for as_dir in $PATH 3260do 3261 IFS=$as_save_IFS 3262 test -z "$as_dir" && as_dir=. 3263 for ac_exec_ext in '' $ac_executable_extensions; do 3264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3265 ac_cv_prog_ac_ct_CC="gcc" 3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3267 break 2 3268 fi 3269done 3270 done 3271IFS=$as_save_IFS 3272 3273fi 3274fi 3275ac_ct_CC=$ac_cv_prog_ac_ct_CC 3276if test -n "$ac_ct_CC"; then 3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3278$as_echo "$ac_ct_CC" >&6; } 3279else 3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3281$as_echo "no" >&6; } 3282fi 3283 3284 if test "x$ac_ct_CC" = x; then 3285 CC="" 3286 else 3287 case $cross_compiling:$ac_tool_warned in 3288yes:) 3289{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3290$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3291ac_tool_warned=yes ;; 3292esac 3293 CC=$ac_ct_CC 3294 fi 3295else 3296 CC="$ac_cv_prog_CC" 3297fi 3298 3299if test -z "$CC"; then 3300 if test -n "$ac_tool_prefix"; then 3301 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3302set dummy ${ac_tool_prefix}cc; ac_word=$2 3303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3304$as_echo_n "checking for $ac_word... " >&6; } 3305if ${ac_cv_prog_CC+:} false; then : 3306 $as_echo_n "(cached) " >&6 3307else 3308 if test -n "$CC"; then 3309 ac_cv_prog_CC="$CC" # Let the user override the test. 3310else 3311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3312for as_dir in $PATH 3313do 3314 IFS=$as_save_IFS 3315 test -z "$as_dir" && as_dir=. 3316 for ac_exec_ext in '' $ac_executable_extensions; do 3317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3318 ac_cv_prog_CC="${ac_tool_prefix}cc" 3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3320 break 2 3321 fi 3322done 3323 done 3324IFS=$as_save_IFS 3325 3326fi 3327fi 3328CC=$ac_cv_prog_CC 3329if test -n "$CC"; then 3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3331$as_echo "$CC" >&6; } 3332else 3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3334$as_echo "no" >&6; } 3335fi 3336 3337 3338 fi 3339fi 3340if test -z "$CC"; then 3341 # Extract the first word of "cc", so it can be a program name with args. 3342set dummy cc; ac_word=$2 3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3344$as_echo_n "checking for $ac_word... " >&6; } 3345if ${ac_cv_prog_CC+:} false; then : 3346 $as_echo_n "(cached) " >&6 3347else 3348 if test -n "$CC"; then 3349 ac_cv_prog_CC="$CC" # Let the user override the test. 3350else 3351 ac_prog_rejected=no 3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3353for as_dir in $PATH 3354do 3355 IFS=$as_save_IFS 3356 test -z "$as_dir" && as_dir=. 3357 for ac_exec_ext in '' $ac_executable_extensions; do 3358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3359 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3360 ac_prog_rejected=yes 3361 continue 3362 fi 3363 ac_cv_prog_CC="cc" 3364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3365 break 2 3366 fi 3367done 3368 done 3369IFS=$as_save_IFS 3370 3371if test $ac_prog_rejected = yes; then 3372 # We found a bogon in the path, so make sure we never use it. 3373 set dummy $ac_cv_prog_CC 3374 shift 3375 if test $# != 0; then 3376 # We chose a different compiler from the bogus one. 3377 # However, it has the same basename, so the bogon will be chosen 3378 # first if we set CC to just the basename; use the full file name. 3379 shift 3380 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3381 fi 3382fi 3383fi 3384fi 3385CC=$ac_cv_prog_CC 3386if test -n "$CC"; then 3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3388$as_echo "$CC" >&6; } 3389else 3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3391$as_echo "no" >&6; } 3392fi 3393 3394 3395fi 3396if test -z "$CC"; then 3397 if test -n "$ac_tool_prefix"; then 3398 for ac_prog in cl.exe 3399 do 3400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3401set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3403$as_echo_n "checking for $ac_word... " >&6; } 3404if ${ac_cv_prog_CC+:} false; then : 3405 $as_echo_n "(cached) " >&6 3406else 3407 if test -n "$CC"; then 3408 ac_cv_prog_CC="$CC" # Let the user override the test. 3409else 3410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3411for as_dir in $PATH 3412do 3413 IFS=$as_save_IFS 3414 test -z "$as_dir" && as_dir=. 3415 for ac_exec_ext in '' $ac_executable_extensions; do 3416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3419 break 2 3420 fi 3421done 3422 done 3423IFS=$as_save_IFS 3424 3425fi 3426fi 3427CC=$ac_cv_prog_CC 3428if test -n "$CC"; then 3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3430$as_echo "$CC" >&6; } 3431else 3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3433$as_echo "no" >&6; } 3434fi 3435 3436 3437 test -n "$CC" && break 3438 done 3439fi 3440if test -z "$CC"; then 3441 ac_ct_CC=$CC 3442 for ac_prog in cl.exe 3443do 3444 # Extract the first word of "$ac_prog", so it can be a program name with args. 3445set dummy $ac_prog; ac_word=$2 3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3447$as_echo_n "checking for $ac_word... " >&6; } 3448if ${ac_cv_prog_ac_ct_CC+:} false; then : 3449 $as_echo_n "(cached) " >&6 3450else 3451 if test -n "$ac_ct_CC"; then 3452 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3453else 3454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3455for as_dir in $PATH 3456do 3457 IFS=$as_save_IFS 3458 test -z "$as_dir" && as_dir=. 3459 for ac_exec_ext in '' $ac_executable_extensions; do 3460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3461 ac_cv_prog_ac_ct_CC="$ac_prog" 3462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3463 break 2 3464 fi 3465done 3466 done 3467IFS=$as_save_IFS 3468 3469fi 3470fi 3471ac_ct_CC=$ac_cv_prog_ac_ct_CC 3472if test -n "$ac_ct_CC"; then 3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3474$as_echo "$ac_ct_CC" >&6; } 3475else 3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3477$as_echo "no" >&6; } 3478fi 3479 3480 3481 test -n "$ac_ct_CC" && break 3482done 3483 3484 if test "x$ac_ct_CC" = x; then 3485 CC="" 3486 else 3487 case $cross_compiling:$ac_tool_warned in 3488yes:) 3489{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3490$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3491ac_tool_warned=yes ;; 3492esac 3493 CC=$ac_ct_CC 3494 fi 3495fi 3496 3497fi 3498 3499 3500test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3501$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3502as_fn_error $? "no acceptable C compiler found in \$PATH 3503See \`config.log' for more details" "$LINENO" 5; } 3504 3505# Provide some information about the compiler. 3506$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3507set X $ac_compile 3508ac_compiler=$2 3509for ac_option in --version -v -V -qversion; do 3510 { { ac_try="$ac_compiler $ac_option >&5" 3511case "(($ac_try" in 3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3513 *) ac_try_echo=$ac_try;; 3514esac 3515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3516$as_echo "$ac_try_echo"; } >&5 3517 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3518 ac_status=$? 3519 if test -s conftest.err; then 3520 sed '10a\ 3521... rest of stderr output deleted ... 3522 10q' conftest.err >conftest.er1 3523 cat conftest.er1 >&5 3524 fi 3525 rm -f conftest.er1 conftest.err 3526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3527 test $ac_status = 0; } 3528done 3529 3530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3531/* end confdefs.h. */ 3532 3533int 3534main () 3535{ 3536 3537 ; 3538 return 0; 3539} 3540_ACEOF 3541ac_clean_files_save=$ac_clean_files 3542ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3543# Try to create an executable without -o first, disregard a.out. 3544# It will help us diagnose broken compilers, and finding out an intuition 3545# of exeext. 3546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3547$as_echo_n "checking whether the C compiler works... " >&6; } 3548ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3549 3550# The possible output files: 3551ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3552 3553ac_rmfiles= 3554for ac_file in $ac_files 3555do 3556 case $ac_file in 3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3558 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3559 esac 3560done 3561rm -f $ac_rmfiles 3562 3563if { { ac_try="$ac_link_default" 3564case "(($ac_try" in 3565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3566 *) ac_try_echo=$ac_try;; 3567esac 3568eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3569$as_echo "$ac_try_echo"; } >&5 3570 (eval "$ac_link_default") 2>&5 3571 ac_status=$? 3572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3573 test $ac_status = 0; }; then : 3574 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3575# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3576# in a Makefile. We should not override ac_cv_exeext if it was cached, 3577# so that the user can short-circuit this test for compilers unknown to 3578# Autoconf. 3579for ac_file in $ac_files '' 3580do 3581 test -f "$ac_file" || continue 3582 case $ac_file in 3583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3584 ;; 3585 [ab].out ) 3586 # We found the default executable, but exeext='' is most 3587 # certainly right. 3588 break;; 3589 *.* ) 3590 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3591 then :; else 3592 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3593 fi 3594 # We set ac_cv_exeext here because the later test for it is not 3595 # safe: cross compilers may not add the suffix if given an `-o' 3596 # argument, so we may need to know it at that point already. 3597 # Even if this section looks crufty: it has the advantage of 3598 # actually working. 3599 break;; 3600 * ) 3601 break;; 3602 esac 3603done 3604test "$ac_cv_exeext" = no && ac_cv_exeext= 3605 3606else 3607 ac_file='' 3608fi 3609if test -z "$ac_file"; then : 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611$as_echo "no" >&6; } 3612$as_echo "$as_me: failed program was:" >&5 3613sed 's/^/| /' conftest.$ac_ext >&5 3614 3615{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3616$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3617as_fn_error 77 "C compiler cannot create executables 3618See \`config.log' for more details" "$LINENO" 5; } 3619else 3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3621$as_echo "yes" >&6; } 3622fi 3623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3624$as_echo_n "checking for C compiler default output file name... " >&6; } 3625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3626$as_echo "$ac_file" >&6; } 3627ac_exeext=$ac_cv_exeext 3628 3629rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3630ac_clean_files=$ac_clean_files_save 3631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3632$as_echo_n "checking for suffix of executables... " >&6; } 3633if { { ac_try="$ac_link" 3634case "(($ac_try" in 3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3636 *) ac_try_echo=$ac_try;; 3637esac 3638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3639$as_echo "$ac_try_echo"; } >&5 3640 (eval "$ac_link") 2>&5 3641 ac_status=$? 3642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3643 test $ac_status = 0; }; then : 3644 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3645# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3646# work properly (i.e., refer to `conftest.exe'), while it won't with 3647# `rm'. 3648for ac_file in conftest.exe conftest conftest.*; do 3649 test -f "$ac_file" || continue 3650 case $ac_file in 3651 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3652 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3653 break;; 3654 * ) break;; 3655 esac 3656done 3657else 3658 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3660as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3661See \`config.log' for more details" "$LINENO" 5; } 3662fi 3663rm -f conftest conftest$ac_cv_exeext 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3665$as_echo "$ac_cv_exeext" >&6; } 3666 3667rm -f conftest.$ac_ext 3668EXEEXT=$ac_cv_exeext 3669ac_exeext=$EXEEXT 3670cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3671/* end confdefs.h. */ 3672#include <stdio.h> 3673int 3674main () 3675{ 3676FILE *f = fopen ("conftest.out", "w"); 3677 return ferror (f) || fclose (f) != 0; 3678 3679 ; 3680 return 0; 3681} 3682_ACEOF 3683ac_clean_files="$ac_clean_files conftest.out" 3684# Check that the compiler produces executables we can run. If not, either 3685# the compiler is broken, or we cross compile. 3686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3687$as_echo_n "checking whether we are cross compiling... " >&6; } 3688if test "$cross_compiling" != yes; then 3689 { { ac_try="$ac_link" 3690case "(($ac_try" in 3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3692 *) ac_try_echo=$ac_try;; 3693esac 3694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3695$as_echo "$ac_try_echo"; } >&5 3696 (eval "$ac_link") 2>&5 3697 ac_status=$? 3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3699 test $ac_status = 0; } 3700 if { ac_try='./conftest$ac_cv_exeext' 3701 { { case "(($ac_try" in 3702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3703 *) ac_try_echo=$ac_try;; 3704esac 3705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3706$as_echo "$ac_try_echo"; } >&5 3707 (eval "$ac_try") 2>&5 3708 ac_status=$? 3709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3710 test $ac_status = 0; }; }; then 3711 cross_compiling=no 3712 else 3713 if test "$cross_compiling" = maybe; then 3714 cross_compiling=yes 3715 else 3716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3717$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3718as_fn_error $? "cannot run C compiled programs. 3719If you meant to cross compile, use \`--host'. 3720See \`config.log' for more details" "$LINENO" 5; } 3721 fi 3722 fi 3723fi 3724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3725$as_echo "$cross_compiling" >&6; } 3726 3727rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3728ac_clean_files=$ac_clean_files_save 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3730$as_echo_n "checking for suffix of object files... " >&6; } 3731if ${ac_cv_objext+:} false; then : 3732 $as_echo_n "(cached) " >&6 3733else 3734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3735/* end confdefs.h. */ 3736 3737int 3738main () 3739{ 3740 3741 ; 3742 return 0; 3743} 3744_ACEOF 3745rm -f conftest.o conftest.obj 3746if { { ac_try="$ac_compile" 3747case "(($ac_try" in 3748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3749 *) ac_try_echo=$ac_try;; 3750esac 3751eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3752$as_echo "$ac_try_echo"; } >&5 3753 (eval "$ac_compile") 2>&5 3754 ac_status=$? 3755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3756 test $ac_status = 0; }; then : 3757 for ac_file in conftest.o conftest.obj conftest.*; do 3758 test -f "$ac_file" || continue; 3759 case $ac_file in 3760 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3761 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3762 break;; 3763 esac 3764done 3765else 3766 $as_echo "$as_me: failed program was:" >&5 3767sed 's/^/| /' conftest.$ac_ext >&5 3768 3769{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3770$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3771as_fn_error $? "cannot compute suffix of object files: cannot compile 3772See \`config.log' for more details" "$LINENO" 5; } 3773fi 3774rm -f conftest.$ac_cv_objext conftest.$ac_ext 3775fi 3776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3777$as_echo "$ac_cv_objext" >&6; } 3778OBJEXT=$ac_cv_objext 3779ac_objext=$OBJEXT 3780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3781$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3782if ${ac_cv_c_compiler_gnu+:} false; then : 3783 $as_echo_n "(cached) " >&6 3784else 3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3786/* end confdefs.h. */ 3787 3788int 3789main () 3790{ 3791#ifndef __GNUC__ 3792 choke me 3793#endif 3794 3795 ; 3796 return 0; 3797} 3798_ACEOF 3799if ac_fn_c_try_compile "$LINENO"; then : 3800 ac_compiler_gnu=yes 3801else 3802 ac_compiler_gnu=no 3803fi 3804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3805ac_cv_c_compiler_gnu=$ac_compiler_gnu 3806 3807fi 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3809$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3810if test $ac_compiler_gnu = yes; then 3811 GCC=yes 3812else 3813 GCC= 3814fi 3815ac_test_CFLAGS=${CFLAGS+set} 3816ac_save_CFLAGS=$CFLAGS 3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3818$as_echo_n "checking whether $CC accepts -g... " >&6; } 3819if ${ac_cv_prog_cc_g+:} false; then : 3820 $as_echo_n "(cached) " >&6 3821else 3822 ac_save_c_werror_flag=$ac_c_werror_flag 3823 ac_c_werror_flag=yes 3824 ac_cv_prog_cc_g=no 3825 CFLAGS="-g" 3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3827/* end confdefs.h. */ 3828 3829int 3830main () 3831{ 3832 3833 ; 3834 return 0; 3835} 3836_ACEOF 3837if ac_fn_c_try_compile "$LINENO"; then : 3838 ac_cv_prog_cc_g=yes 3839else 3840 CFLAGS="" 3841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3842/* end confdefs.h. */ 3843 3844int 3845main () 3846{ 3847 3848 ; 3849 return 0; 3850} 3851_ACEOF 3852if ac_fn_c_try_compile "$LINENO"; then : 3853 3854else 3855 ac_c_werror_flag=$ac_save_c_werror_flag 3856 CFLAGS="-g" 3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3858/* end confdefs.h. */ 3859 3860int 3861main () 3862{ 3863 3864 ; 3865 return 0; 3866} 3867_ACEOF 3868if ac_fn_c_try_compile "$LINENO"; then : 3869 ac_cv_prog_cc_g=yes 3870fi 3871rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3872fi 3873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3874fi 3875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3876 ac_c_werror_flag=$ac_save_c_werror_flag 3877fi 3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3879$as_echo "$ac_cv_prog_cc_g" >&6; } 3880if test "$ac_test_CFLAGS" = set; then 3881 CFLAGS=$ac_save_CFLAGS 3882elif test $ac_cv_prog_cc_g = yes; then 3883 if test "$GCC" = yes; then 3884 CFLAGS="-g -O2" 3885 else 3886 CFLAGS="-g" 3887 fi 3888else 3889 if test "$GCC" = yes; then 3890 CFLAGS="-O2" 3891 else 3892 CFLAGS= 3893 fi 3894fi 3895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3896$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3897if ${ac_cv_prog_cc_c89+:} false; then : 3898 $as_echo_n "(cached) " >&6 3899else 3900 ac_cv_prog_cc_c89=no 3901ac_save_CC=$CC 3902cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3903/* end confdefs.h. */ 3904#include <stdarg.h> 3905#include <stdio.h> 3906struct stat; 3907/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3908struct buf { int x; }; 3909FILE * (*rcsopen) (struct buf *, struct stat *, int); 3910static char *e (p, i) 3911 char **p; 3912 int i; 3913{ 3914 return p[i]; 3915} 3916static char *f (char * (*g) (char **, int), char **p, ...) 3917{ 3918 char *s; 3919 va_list v; 3920 va_start (v,p); 3921 s = g (p, va_arg (v,int)); 3922 va_end (v); 3923 return s; 3924} 3925 3926/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3927 function prototypes and stuff, but not '\xHH' hex character constants. 3928 These don't provoke an error unfortunately, instead are silently treated 3929 as 'x'. The following induces an error, until -std is added to get 3930 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3931 array size at least. It's necessary to write '\x00'==0 to get something 3932 that's true only with -std. */ 3933int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3934 3935/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3936 inside strings and character constants. */ 3937#define FOO(x) 'x' 3938int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3939 3940int test (int i, double x); 3941struct s1 {int (*f) (int a);}; 3942struct s2 {int (*f) (double a);}; 3943int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3944int argc; 3945char **argv; 3946int 3947main () 3948{ 3949return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3950 ; 3951 return 0; 3952} 3953_ACEOF 3954for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3955 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3956do 3957 CC="$ac_save_CC $ac_arg" 3958 if ac_fn_c_try_compile "$LINENO"; then : 3959 ac_cv_prog_cc_c89=$ac_arg 3960fi 3961rm -f core conftest.err conftest.$ac_objext 3962 test "x$ac_cv_prog_cc_c89" != "xno" && break 3963done 3964rm -f conftest.$ac_ext 3965CC=$ac_save_CC 3966 3967fi 3968# AC_CACHE_VAL 3969case "x$ac_cv_prog_cc_c89" in 3970 x) 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3972$as_echo "none needed" >&6; } ;; 3973 xno) 3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3975$as_echo "unsupported" >&6; } ;; 3976 *) 3977 CC="$CC $ac_cv_prog_cc_c89" 3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3979$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3980esac 3981if test "x$ac_cv_prog_cc_c89" != xno; then : 3982 3983fi 3984 3985ac_ext=c 3986ac_cpp='$CPP $CPPFLAGS' 3987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3989ac_compiler_gnu=$ac_cv_c_compiler_gnu 3990DEPDIR="${am__leading_dot}deps" 3991 3992ac_config_commands="$ac_config_commands depfiles" 3993 3994 3995am_make=${MAKE-make} 3996cat > confinc << 'END' 3997am__doit: 3998 @echo this is the am__doit target 3999.PHONY: am__doit 4000END 4001# If we don't find an include directive, just comment out the code. 4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 4003$as_echo_n "checking for style of include used by $am_make... " >&6; } 4004am__include="#" 4005am__quote= 4006_am_result=none 4007# First try GNU make style include. 4008echo "include confinc" > confmf 4009# Ignore all kinds of additional output from 'make'. 4010case `$am_make -s -f confmf 2> /dev/null` in #( 4011*the\ am__doit\ target*) 4012 am__include=include 4013 am__quote= 4014 _am_result=GNU 4015 ;; 4016esac 4017# Now try BSD make style include. 4018if test "$am__include" = "#"; then 4019 echo '.include "confinc"' > confmf 4020 case `$am_make -s -f confmf 2> /dev/null` in #( 4021 *the\ am__doit\ target*) 4022 am__include=.include 4023 am__quote="\"" 4024 _am_result=BSD 4025 ;; 4026 esac 4027fi 4028 4029 4030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 4031$as_echo "$_am_result" >&6; } 4032rm -f confinc confmf 4033 4034# Check whether --enable-dependency-tracking was given. 4035if test "${enable_dependency_tracking+set}" = set; then : 4036 enableval=$enable_dependency_tracking; 4037fi 4038 4039if test "x$enable_dependency_tracking" != xno; then 4040 am_depcomp="$ac_aux_dir/depcomp" 4041 AMDEPBACKSLASH='\' 4042 am__nodep='_no' 4043fi 4044 if test "x$enable_dependency_tracking" != xno; then 4045 AMDEP_TRUE= 4046 AMDEP_FALSE='#' 4047else 4048 AMDEP_TRUE='#' 4049 AMDEP_FALSE= 4050fi 4051 4052 4053 4054depcc="$CC" am_compiler_list= 4055 4056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4057$as_echo_n "checking dependency style of $depcc... " >&6; } 4058if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4059 $as_echo_n "(cached) " >&6 4060else 4061 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4062 # We make a subdir and do the tests there. Otherwise we can end up 4063 # making bogus files that we don't know about and never remove. For 4064 # instance it was reported that on HP-UX the gcc test will end up 4065 # making a dummy file named 'D' -- because '-MD' means "put the output 4066 # in D". 4067 rm -rf conftest.dir 4068 mkdir conftest.dir 4069 # Copy depcomp to subdir because otherwise we won't find it if we're 4070 # using a relative directory. 4071 cp "$am_depcomp" conftest.dir 4072 cd conftest.dir 4073 # We will build objects and dependencies in a subdirectory because 4074 # it helps to detect inapplicable dependency modes. For instance 4075 # both Tru64's cc and ICC support -MD to output dependencies as a 4076 # side effect of compilation, but ICC will put the dependencies in 4077 # the current directory while Tru64 will put them in the object 4078 # directory. 4079 mkdir sub 4080 4081 am_cv_CC_dependencies_compiler_type=none 4082 if test "$am_compiler_list" = ""; then 4083 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4084 fi 4085 am__universal=false 4086 case " $depcc " in #( 4087 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4088 esac 4089 4090 for depmode in $am_compiler_list; do 4091 # Setup a source with many dependencies, because some compilers 4092 # like to wrap large dependency lists on column 80 (with \), and 4093 # we should not choose a depcomp mode which is confused by this. 4094 # 4095 # We need to recreate these files for each test, as the compiler may 4096 # overwrite some of them when testing with obscure command lines. 4097 # This happens at least with the AIX C compiler. 4098 : > sub/conftest.c 4099 for i in 1 2 3 4 5 6; do 4100 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4101 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4102 # Solaris 10 /bin/sh. 4103 echo '/* dummy */' > sub/conftst$i.h 4104 done 4105 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4106 4107 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4108 # mode. It turns out that the SunPro C++ compiler does not properly 4109 # handle '-M -o', and we need to detect this. Also, some Intel 4110 # versions had trouble with output in subdirs. 4111 am__obj=sub/conftest.${OBJEXT-o} 4112 am__minus_obj="-o $am__obj" 4113 case $depmode in 4114 gcc) 4115 # This depmode causes a compiler race in universal mode. 4116 test "$am__universal" = false || continue 4117 ;; 4118 nosideeffect) 4119 # After this tag, mechanisms are not by side-effect, so they'll 4120 # only be used when explicitly requested. 4121 if test "x$enable_dependency_tracking" = xyes; then 4122 continue 4123 else 4124 break 4125 fi 4126 ;; 4127 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4128 # This compiler won't grok '-c -o', but also, the minuso test has 4129 # not run yet. These depmodes are late enough in the game, and 4130 # so weak that their functioning should not be impacted. 4131 am__obj=conftest.${OBJEXT-o} 4132 am__minus_obj= 4133 ;; 4134 none) break ;; 4135 esac 4136 if depmode=$depmode \ 4137 source=sub/conftest.c object=$am__obj \ 4138 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4139 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4140 >/dev/null 2>conftest.err && 4141 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4142 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4143 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4144 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4145 # icc doesn't choke on unknown options, it will just issue warnings 4146 # or remarks (even with -Werror). So we grep stderr for any message 4147 # that says an option was ignored or not supported. 4148 # When given -MP, icc 7.0 and 7.1 complain thusly: 4149 # icc: Command line warning: ignoring option '-M'; no argument required 4150 # The diagnosis changed in icc 8.0: 4151 # icc: Command line remark: option '-MP' not supported 4152 if (grep 'ignoring option' conftest.err || 4153 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4154 am_cv_CC_dependencies_compiler_type=$depmode 4155 break 4156 fi 4157 fi 4158 done 4159 4160 cd .. 4161 rm -rf conftest.dir 4162else 4163 am_cv_CC_dependencies_compiler_type=none 4164fi 4165 4166fi 4167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4168$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4169CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4170 4171 if 4172 test "x$enable_dependency_tracking" != xno \ 4173 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4174 am__fastdepCC_TRUE= 4175 am__fastdepCC_FALSE='#' 4176else 4177 am__fastdepCC_TRUE='#' 4178 am__fastdepCC_FALSE= 4179fi 4180 4181 4182enable_win32_dll=yes 4183 4184case $host in 4185*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 4186 if test -n "$ac_tool_prefix"; then 4187 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 4188set dummy ${ac_tool_prefix}as; ac_word=$2 4189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4190$as_echo_n "checking for $ac_word... " >&6; } 4191if ${ac_cv_prog_AS+:} false; then : 4192 $as_echo_n "(cached) " >&6 4193else 4194 if test -n "$AS"; then 4195 ac_cv_prog_AS="$AS" # Let the user override the test. 4196else 4197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4198for as_dir in $PATH 4199do 4200 IFS=$as_save_IFS 4201 test -z "$as_dir" && as_dir=. 4202 for ac_exec_ext in '' $ac_executable_extensions; do 4203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4204 ac_cv_prog_AS="${ac_tool_prefix}as" 4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4206 break 2 4207 fi 4208done 4209 done 4210IFS=$as_save_IFS 4211 4212fi 4213fi 4214AS=$ac_cv_prog_AS 4215if test -n "$AS"; then 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 4217$as_echo "$AS" >&6; } 4218else 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4220$as_echo "no" >&6; } 4221fi 4222 4223 4224fi 4225if test -z "$ac_cv_prog_AS"; then 4226 ac_ct_AS=$AS 4227 # Extract the first word of "as", so it can be a program name with args. 4228set dummy as; ac_word=$2 4229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4230$as_echo_n "checking for $ac_word... " >&6; } 4231if ${ac_cv_prog_ac_ct_AS+:} false; then : 4232 $as_echo_n "(cached) " >&6 4233else 4234 if test -n "$ac_ct_AS"; then 4235 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 4236else 4237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4238for as_dir in $PATH 4239do 4240 IFS=$as_save_IFS 4241 test -z "$as_dir" && as_dir=. 4242 for ac_exec_ext in '' $ac_executable_extensions; do 4243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4244 ac_cv_prog_ac_ct_AS="as" 4245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4246 break 2 4247 fi 4248done 4249 done 4250IFS=$as_save_IFS 4251 4252fi 4253fi 4254ac_ct_AS=$ac_cv_prog_ac_ct_AS 4255if test -n "$ac_ct_AS"; then 4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4257$as_echo "$ac_ct_AS" >&6; } 4258else 4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4260$as_echo "no" >&6; } 4261fi 4262 4263 if test "x$ac_ct_AS" = x; then 4264 AS="false" 4265 else 4266 case $cross_compiling:$ac_tool_warned in 4267yes:) 4268{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4269$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4270ac_tool_warned=yes ;; 4271esac 4272 AS=$ac_ct_AS 4273 fi 4274else 4275 AS="$ac_cv_prog_AS" 4276fi 4277 4278 if test -n "$ac_tool_prefix"; then 4279 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4280set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4282$as_echo_n "checking for $ac_word... " >&6; } 4283if ${ac_cv_prog_DLLTOOL+:} false; then : 4284 $as_echo_n "(cached) " >&6 4285else 4286 if test -n "$DLLTOOL"; then 4287 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4288else 4289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4290for as_dir in $PATH 4291do 4292 IFS=$as_save_IFS 4293 test -z "$as_dir" && as_dir=. 4294 for ac_exec_ext in '' $ac_executable_extensions; do 4295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4296 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4298 break 2 4299 fi 4300done 4301 done 4302IFS=$as_save_IFS 4303 4304fi 4305fi 4306DLLTOOL=$ac_cv_prog_DLLTOOL 4307if test -n "$DLLTOOL"; then 4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4309$as_echo "$DLLTOOL" >&6; } 4310else 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4312$as_echo "no" >&6; } 4313fi 4314 4315 4316fi 4317if test -z "$ac_cv_prog_DLLTOOL"; then 4318 ac_ct_DLLTOOL=$DLLTOOL 4319 # Extract the first word of "dlltool", so it can be a program name with args. 4320set dummy dlltool; ac_word=$2 4321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4322$as_echo_n "checking for $ac_word... " >&6; } 4323if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4324 $as_echo_n "(cached) " >&6 4325else 4326 if test -n "$ac_ct_DLLTOOL"; then 4327 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4328else 4329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4330for as_dir in $PATH 4331do 4332 IFS=$as_save_IFS 4333 test -z "$as_dir" && as_dir=. 4334 for ac_exec_ext in '' $ac_executable_extensions; do 4335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4336 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4338 break 2 4339 fi 4340done 4341 done 4342IFS=$as_save_IFS 4343 4344fi 4345fi 4346ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4347if test -n "$ac_ct_DLLTOOL"; then 4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4349$as_echo "$ac_ct_DLLTOOL" >&6; } 4350else 4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4352$as_echo "no" >&6; } 4353fi 4354 4355 if test "x$ac_ct_DLLTOOL" = x; then 4356 DLLTOOL="false" 4357 else 4358 case $cross_compiling:$ac_tool_warned in 4359yes:) 4360{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4361$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4362ac_tool_warned=yes ;; 4363esac 4364 DLLTOOL=$ac_ct_DLLTOOL 4365 fi 4366else 4367 DLLTOOL="$ac_cv_prog_DLLTOOL" 4368fi 4369 4370 if test -n "$ac_tool_prefix"; then 4371 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4372set dummy ${ac_tool_prefix}objdump; ac_word=$2 4373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4374$as_echo_n "checking for $ac_word... " >&6; } 4375if ${ac_cv_prog_OBJDUMP+:} false; then : 4376 $as_echo_n "(cached) " >&6 4377else 4378 if test -n "$OBJDUMP"; then 4379 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4380else 4381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4382for as_dir in $PATH 4383do 4384 IFS=$as_save_IFS 4385 test -z "$as_dir" && as_dir=. 4386 for ac_exec_ext in '' $ac_executable_extensions; do 4387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4388 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4390 break 2 4391 fi 4392done 4393 done 4394IFS=$as_save_IFS 4395 4396fi 4397fi 4398OBJDUMP=$ac_cv_prog_OBJDUMP 4399if test -n "$OBJDUMP"; then 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4401$as_echo "$OBJDUMP" >&6; } 4402else 4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4404$as_echo "no" >&6; } 4405fi 4406 4407 4408fi 4409if test -z "$ac_cv_prog_OBJDUMP"; then 4410 ac_ct_OBJDUMP=$OBJDUMP 4411 # Extract the first word of "objdump", so it can be a program name with args. 4412set dummy objdump; ac_word=$2 4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4414$as_echo_n "checking for $ac_word... " >&6; } 4415if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4416 $as_echo_n "(cached) " >&6 4417else 4418 if test -n "$ac_ct_OBJDUMP"; then 4419 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4420else 4421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4422for as_dir in $PATH 4423do 4424 IFS=$as_save_IFS 4425 test -z "$as_dir" && as_dir=. 4426 for ac_exec_ext in '' $ac_executable_extensions; do 4427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4428 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4430 break 2 4431 fi 4432done 4433 done 4434IFS=$as_save_IFS 4435 4436fi 4437fi 4438ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4439if test -n "$ac_ct_OBJDUMP"; then 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4441$as_echo "$ac_ct_OBJDUMP" >&6; } 4442else 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4444$as_echo "no" >&6; } 4445fi 4446 4447 if test "x$ac_ct_OBJDUMP" = x; then 4448 OBJDUMP="false" 4449 else 4450 case $cross_compiling:$ac_tool_warned in 4451yes:) 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4453$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4454ac_tool_warned=yes ;; 4455esac 4456 OBJDUMP=$ac_ct_OBJDUMP 4457 fi 4458else 4459 OBJDUMP="$ac_cv_prog_OBJDUMP" 4460fi 4461 4462 ;; 4463esac 4464 4465test -z "$AS" && AS=as 4466 4467 4468 4469 4470 4471test -z "$DLLTOOL" && DLLTOOL=dlltool 4472 4473 4474 4475 4476 4477test -z "$OBJDUMP" && OBJDUMP=objdump 4478 4479 4480 4481 4482 4483 4484 4485enable_dlopen=yes 4486 4487 4488 4489case `pwd` in 4490 *\ * | *\ *) 4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4492$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4493esac 4494 4495 4496 4497macro_version='2.4.2' 4498macro_revision='1.3337' 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512ltmain="$ac_aux_dir/ltmain.sh" 4513 4514# Backslashify metacharacters that are still active within 4515# double-quoted strings. 4516sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4517 4518# Same as above, but do not quote variable references. 4519double_quote_subst='s/\(["`\\]\)/\\\1/g' 4520 4521# Sed substitution to delay expansion of an escaped shell variable in a 4522# double_quote_subst'ed string. 4523delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4524 4525# Sed substitution to delay expansion of an escaped single quote. 4526delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4527 4528# Sed substitution to avoid accidental globbing in evaled expressions 4529no_glob_subst='s/\*/\\\*/g' 4530 4531ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4532ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4533ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4534 4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4536$as_echo_n "checking how to print strings... " >&6; } 4537# Test print first, because it will be a builtin if present. 4538if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4539 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4540 ECHO='print -r --' 4541elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4542 ECHO='printf %s\n' 4543else 4544 # Use this function as a fallback that always works. 4545 func_fallback_echo () 4546 { 4547 eval 'cat <<_LTECHO_EOF 4548$1 4549_LTECHO_EOF' 4550 } 4551 ECHO='func_fallback_echo' 4552fi 4553 4554# func_echo_all arg... 4555# Invoke $ECHO with all args, space-separated. 4556func_echo_all () 4557{ 4558 $ECHO "" 4559} 4560 4561case "$ECHO" in 4562 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4563$as_echo "printf" >&6; } ;; 4564 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4565$as_echo "print -r" >&6; } ;; 4566 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4567$as_echo "cat" >&6; } ;; 4568esac 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4584$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4585if ${ac_cv_path_SED+:} false; then : 4586 $as_echo_n "(cached) " >&6 4587else 4588 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4589 for ac_i in 1 2 3 4 5 6 7; do 4590 ac_script="$ac_script$as_nl$ac_script" 4591 done 4592 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4593 { ac_script=; unset ac_script;} 4594 if test -z "$SED"; then 4595 ac_path_SED_found=false 4596 # Loop through the user's path and test for each of PROGNAME-LIST 4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4598for as_dir in $PATH 4599do 4600 IFS=$as_save_IFS 4601 test -z "$as_dir" && as_dir=. 4602 for ac_prog in sed gsed; do 4603 for ac_exec_ext in '' $ac_executable_extensions; do 4604 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4605 as_fn_executable_p "$ac_path_SED" || continue 4606# Check for GNU ac_path_SED and select it if it is found. 4607 # Check for GNU $ac_path_SED 4608case `"$ac_path_SED" --version 2>&1` in 4609*GNU*) 4610 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4611*) 4612 ac_count=0 4613 $as_echo_n 0123456789 >"conftest.in" 4614 while : 4615 do 4616 cat "conftest.in" "conftest.in" >"conftest.tmp" 4617 mv "conftest.tmp" "conftest.in" 4618 cp "conftest.in" "conftest.nl" 4619 $as_echo '' >> "conftest.nl" 4620 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4621 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4622 as_fn_arith $ac_count + 1 && ac_count=$as_val 4623 if test $ac_count -gt ${ac_path_SED_max-0}; then 4624 # Best one so far, save it but keep looking for a better one 4625 ac_cv_path_SED="$ac_path_SED" 4626 ac_path_SED_max=$ac_count 4627 fi 4628 # 10*(2^10) chars as input seems more than enough 4629 test $ac_count -gt 10 && break 4630 done 4631 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4632esac 4633 4634 $ac_path_SED_found && break 3 4635 done 4636 done 4637 done 4638IFS=$as_save_IFS 4639 if test -z "$ac_cv_path_SED"; then 4640 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4641 fi 4642else 4643 ac_cv_path_SED=$SED 4644fi 4645 4646fi 4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4648$as_echo "$ac_cv_path_SED" >&6; } 4649 SED="$ac_cv_path_SED" 4650 rm -f conftest.sed 4651 4652test -z "$SED" && SED=sed 4653Xsed="$SED -e 1s/^X//" 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4666$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4667if ${ac_cv_path_GREP+:} false; then : 4668 $as_echo_n "(cached) " >&6 4669else 4670 if test -z "$GREP"; then 4671 ac_path_GREP_found=false 4672 # Loop through the user's path and test for each of PROGNAME-LIST 4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4674for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4675do 4676 IFS=$as_save_IFS 4677 test -z "$as_dir" && as_dir=. 4678 for ac_prog in grep ggrep; do 4679 for ac_exec_ext in '' $ac_executable_extensions; do 4680 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4681 as_fn_executable_p "$ac_path_GREP" || continue 4682# Check for GNU ac_path_GREP and select it if it is found. 4683 # Check for GNU $ac_path_GREP 4684case `"$ac_path_GREP" --version 2>&1` in 4685*GNU*) 4686 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4687*) 4688 ac_count=0 4689 $as_echo_n 0123456789 >"conftest.in" 4690 while : 4691 do 4692 cat "conftest.in" "conftest.in" >"conftest.tmp" 4693 mv "conftest.tmp" "conftest.in" 4694 cp "conftest.in" "conftest.nl" 4695 $as_echo 'GREP' >> "conftest.nl" 4696 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4697 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4698 as_fn_arith $ac_count + 1 && ac_count=$as_val 4699 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4700 # Best one so far, save it but keep looking for a better one 4701 ac_cv_path_GREP="$ac_path_GREP" 4702 ac_path_GREP_max=$ac_count 4703 fi 4704 # 10*(2^10) chars as input seems more than enough 4705 test $ac_count -gt 10 && break 4706 done 4707 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4708esac 4709 4710 $ac_path_GREP_found && break 3 4711 done 4712 done 4713 done 4714IFS=$as_save_IFS 4715 if test -z "$ac_cv_path_GREP"; then 4716 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4717 fi 4718else 4719 ac_cv_path_GREP=$GREP 4720fi 4721 4722fi 4723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4724$as_echo "$ac_cv_path_GREP" >&6; } 4725 GREP="$ac_cv_path_GREP" 4726 4727 4728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4729$as_echo_n "checking for egrep... " >&6; } 4730if ${ac_cv_path_EGREP+:} false; then : 4731 $as_echo_n "(cached) " >&6 4732else 4733 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4734 then ac_cv_path_EGREP="$GREP -E" 4735 else 4736 if test -z "$EGREP"; then 4737 ac_path_EGREP_found=false 4738 # Loop through the user's path and test for each of PROGNAME-LIST 4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4740for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4741do 4742 IFS=$as_save_IFS 4743 test -z "$as_dir" && as_dir=. 4744 for ac_prog in egrep; do 4745 for ac_exec_ext in '' $ac_executable_extensions; do 4746 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4747 as_fn_executable_p "$ac_path_EGREP" || continue 4748# Check for GNU ac_path_EGREP and select it if it is found. 4749 # Check for GNU $ac_path_EGREP 4750case `"$ac_path_EGREP" --version 2>&1` in 4751*GNU*) 4752 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4753*) 4754 ac_count=0 4755 $as_echo_n 0123456789 >"conftest.in" 4756 while : 4757 do 4758 cat "conftest.in" "conftest.in" >"conftest.tmp" 4759 mv "conftest.tmp" "conftest.in" 4760 cp "conftest.in" "conftest.nl" 4761 $as_echo 'EGREP' >> "conftest.nl" 4762 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4763 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4764 as_fn_arith $ac_count + 1 && ac_count=$as_val 4765 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4766 # Best one so far, save it but keep looking for a better one 4767 ac_cv_path_EGREP="$ac_path_EGREP" 4768 ac_path_EGREP_max=$ac_count 4769 fi 4770 # 10*(2^10) chars as input seems more than enough 4771 test $ac_count -gt 10 && break 4772 done 4773 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4774esac 4775 4776 $ac_path_EGREP_found && break 3 4777 done 4778 done 4779 done 4780IFS=$as_save_IFS 4781 if test -z "$ac_cv_path_EGREP"; then 4782 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4783 fi 4784else 4785 ac_cv_path_EGREP=$EGREP 4786fi 4787 4788 fi 4789fi 4790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4791$as_echo "$ac_cv_path_EGREP" >&6; } 4792 EGREP="$ac_cv_path_EGREP" 4793 4794 4795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4796$as_echo_n "checking for fgrep... " >&6; } 4797if ${ac_cv_path_FGREP+:} false; then : 4798 $as_echo_n "(cached) " >&6 4799else 4800 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4801 then ac_cv_path_FGREP="$GREP -F" 4802 else 4803 if test -z "$FGREP"; then 4804 ac_path_FGREP_found=false 4805 # Loop through the user's path and test for each of PROGNAME-LIST 4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4807for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4808do 4809 IFS=$as_save_IFS 4810 test -z "$as_dir" && as_dir=. 4811 for ac_prog in fgrep; do 4812 for ac_exec_ext in '' $ac_executable_extensions; do 4813 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4814 as_fn_executable_p "$ac_path_FGREP" || continue 4815# Check for GNU ac_path_FGREP and select it if it is found. 4816 # Check for GNU $ac_path_FGREP 4817case `"$ac_path_FGREP" --version 2>&1` in 4818*GNU*) 4819 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4820*) 4821 ac_count=0 4822 $as_echo_n 0123456789 >"conftest.in" 4823 while : 4824 do 4825 cat "conftest.in" "conftest.in" >"conftest.tmp" 4826 mv "conftest.tmp" "conftest.in" 4827 cp "conftest.in" "conftest.nl" 4828 $as_echo 'FGREP' >> "conftest.nl" 4829 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4830 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4831 as_fn_arith $ac_count + 1 && ac_count=$as_val 4832 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4833 # Best one so far, save it but keep looking for a better one 4834 ac_cv_path_FGREP="$ac_path_FGREP" 4835 ac_path_FGREP_max=$ac_count 4836 fi 4837 # 10*(2^10) chars as input seems more than enough 4838 test $ac_count -gt 10 && break 4839 done 4840 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4841esac 4842 4843 $ac_path_FGREP_found && break 3 4844 done 4845 done 4846 done 4847IFS=$as_save_IFS 4848 if test -z "$ac_cv_path_FGREP"; then 4849 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4850 fi 4851else 4852 ac_cv_path_FGREP=$FGREP 4853fi 4854 4855 fi 4856fi 4857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4858$as_echo "$ac_cv_path_FGREP" >&6; } 4859 FGREP="$ac_cv_path_FGREP" 4860 4861 4862test -z "$GREP" && GREP=grep 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882# Check whether --with-gnu-ld was given. 4883if test "${with_gnu_ld+set}" = set; then : 4884 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4885else 4886 with_gnu_ld=no 4887fi 4888 4889ac_prog=ld 4890if test "$GCC" = yes; then 4891 # Check if gcc -print-prog-name=ld gives a path. 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4893$as_echo_n "checking for ld used by $CC... " >&6; } 4894 case $host in 4895 *-*-mingw*) 4896 # gcc leaves a trailing carriage return which upsets mingw 4897 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4898 *) 4899 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4900 esac 4901 case $ac_prog in 4902 # Accept absolute paths. 4903 [\\/]* | ?:[\\/]*) 4904 re_direlt='/[^/][^/]*/\.\./' 4905 # Canonicalize the pathname of ld 4906 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4907 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4908 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4909 done 4910 test -z "$LD" && LD="$ac_prog" 4911 ;; 4912 "") 4913 # If it fails, then pretend we aren't using GCC. 4914 ac_prog=ld 4915 ;; 4916 *) 4917 # If it is relative, then search for the first ld in PATH. 4918 with_gnu_ld=unknown 4919 ;; 4920 esac 4921elif test "$with_gnu_ld" = yes; then 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4923$as_echo_n "checking for GNU ld... " >&6; } 4924else 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4926$as_echo_n "checking for non-GNU ld... " >&6; } 4927fi 4928if ${lt_cv_path_LD+:} false; then : 4929 $as_echo_n "(cached) " >&6 4930else 4931 if test -z "$LD"; then 4932 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4933 for ac_dir in $PATH; do 4934 IFS="$lt_save_ifs" 4935 test -z "$ac_dir" && ac_dir=. 4936 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4937 lt_cv_path_LD="$ac_dir/$ac_prog" 4938 # Check to see if the program is GNU ld. I'd rather use --version, 4939 # but apparently some variants of GNU ld only accept -v. 4940 # Break only if it was the GNU/non-GNU ld that we prefer. 4941 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4942 *GNU* | *'with BFD'*) 4943 test "$with_gnu_ld" != no && break 4944 ;; 4945 *) 4946 test "$with_gnu_ld" != yes && break 4947 ;; 4948 esac 4949 fi 4950 done 4951 IFS="$lt_save_ifs" 4952else 4953 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4954fi 4955fi 4956 4957LD="$lt_cv_path_LD" 4958if test -n "$LD"; then 4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4960$as_echo "$LD" >&6; } 4961else 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4963$as_echo "no" >&6; } 4964fi 4965test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4967$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4968if ${lt_cv_prog_gnu_ld+:} false; then : 4969 $as_echo_n "(cached) " >&6 4970else 4971 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4972case `$LD -v 2>&1 </dev/null` in 4973*GNU* | *'with BFD'*) 4974 lt_cv_prog_gnu_ld=yes 4975 ;; 4976*) 4977 lt_cv_prog_gnu_ld=no 4978 ;; 4979esac 4980fi 4981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4982$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4983with_gnu_ld=$lt_cv_prog_gnu_ld 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4994$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4995if ${lt_cv_path_NM+:} false; then : 4996 $as_echo_n "(cached) " >&6 4997else 4998 if test -n "$NM"; then 4999 # Let the user override the test. 5000 lt_cv_path_NM="$NM" 5001else 5002 lt_nm_to_check="${ac_tool_prefix}nm" 5003 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5004 lt_nm_to_check="$lt_nm_to_check nm" 5005 fi 5006 for lt_tmp_nm in $lt_nm_to_check; do 5007 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5008 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5009 IFS="$lt_save_ifs" 5010 test -z "$ac_dir" && ac_dir=. 5011 tmp_nm="$ac_dir/$lt_tmp_nm" 5012 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5013 # Check to see if the nm accepts a BSD-compat flag. 5014 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5015 # nm: unknown option "B" ignored 5016 # Tru64's nm complains that /dev/null is an invalid object file 5017 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5018 */dev/null* | *'Invalid file or object type'*) 5019 lt_cv_path_NM="$tmp_nm -B" 5020 break 5021 ;; 5022 *) 5023 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5024 */dev/null*) 5025 lt_cv_path_NM="$tmp_nm -p" 5026 break 5027 ;; 5028 *) 5029 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5030 continue # so that we can try to find one that supports BSD flags 5031 ;; 5032 esac 5033 ;; 5034 esac 5035 fi 5036 done 5037 IFS="$lt_save_ifs" 5038 done 5039 : ${lt_cv_path_NM=no} 5040fi 5041fi 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5043$as_echo "$lt_cv_path_NM" >&6; } 5044if test "$lt_cv_path_NM" != "no"; then 5045 NM="$lt_cv_path_NM" 5046else 5047 # Didn't find any BSD compatible name lister, look for dumpbin. 5048 if test -n "$DUMPBIN"; then : 5049 # Let the user override the test. 5050 else 5051 if test -n "$ac_tool_prefix"; then 5052 for ac_prog in dumpbin "link -dump" 5053 do 5054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5055set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5057$as_echo_n "checking for $ac_word... " >&6; } 5058if ${ac_cv_prog_DUMPBIN+:} false; then : 5059 $as_echo_n "(cached) " >&6 5060else 5061 if test -n "$DUMPBIN"; then 5062 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5063else 5064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5065for as_dir in $PATH 5066do 5067 IFS=$as_save_IFS 5068 test -z "$as_dir" && as_dir=. 5069 for ac_exec_ext in '' $ac_executable_extensions; do 5070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5071 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5073 break 2 5074 fi 5075done 5076 done 5077IFS=$as_save_IFS 5078 5079fi 5080fi 5081DUMPBIN=$ac_cv_prog_DUMPBIN 5082if test -n "$DUMPBIN"; then 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5084$as_echo "$DUMPBIN" >&6; } 5085else 5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5087$as_echo "no" >&6; } 5088fi 5089 5090 5091 test -n "$DUMPBIN" && break 5092 done 5093fi 5094if test -z "$DUMPBIN"; then 5095 ac_ct_DUMPBIN=$DUMPBIN 5096 for ac_prog in dumpbin "link -dump" 5097do 5098 # Extract the first word of "$ac_prog", so it can be a program name with args. 5099set dummy $ac_prog; ac_word=$2 5100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5101$as_echo_n "checking for $ac_word... " >&6; } 5102if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5103 $as_echo_n "(cached) " >&6 5104else 5105 if test -n "$ac_ct_DUMPBIN"; then 5106 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5107else 5108as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5109for as_dir in $PATH 5110do 5111 IFS=$as_save_IFS 5112 test -z "$as_dir" && as_dir=. 5113 for ac_exec_ext in '' $ac_executable_extensions; do 5114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5115 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5117 break 2 5118 fi 5119done 5120 done 5121IFS=$as_save_IFS 5122 5123fi 5124fi 5125ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5126if test -n "$ac_ct_DUMPBIN"; then 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5128$as_echo "$ac_ct_DUMPBIN" >&6; } 5129else 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5131$as_echo "no" >&6; } 5132fi 5133 5134 5135 test -n "$ac_ct_DUMPBIN" && break 5136done 5137 5138 if test "x$ac_ct_DUMPBIN" = x; then 5139 DUMPBIN=":" 5140 else 5141 case $cross_compiling:$ac_tool_warned in 5142yes:) 5143{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5144$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5145ac_tool_warned=yes ;; 5146esac 5147 DUMPBIN=$ac_ct_DUMPBIN 5148 fi 5149fi 5150 5151 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5152 *COFF*) 5153 DUMPBIN="$DUMPBIN -symbols" 5154 ;; 5155 *) 5156 DUMPBIN=: 5157 ;; 5158 esac 5159 fi 5160 5161 if test "$DUMPBIN" != ":"; then 5162 NM="$DUMPBIN" 5163 fi 5164fi 5165test -z "$NM" && NM=nm 5166 5167 5168 5169 5170 5171 5172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5173$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5174if ${lt_cv_nm_interface+:} false; then : 5175 $as_echo_n "(cached) " >&6 5176else 5177 lt_cv_nm_interface="BSD nm" 5178 echo "int some_variable = 0;" > conftest.$ac_ext 5179 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5180 (eval "$ac_compile" 2>conftest.err) 5181 cat conftest.err >&5 5182 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5183 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5184 cat conftest.err >&5 5185 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5186 cat conftest.out >&5 5187 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5188 lt_cv_nm_interface="MS dumpbin" 5189 fi 5190 rm -f conftest* 5191fi 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5193$as_echo "$lt_cv_nm_interface" >&6; } 5194 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5196$as_echo_n "checking whether ln -s works... " >&6; } 5197LN_S=$as_ln_s 5198if test "$LN_S" = "ln -s"; then 5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5200$as_echo "yes" >&6; } 5201else 5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5203$as_echo "no, using $LN_S" >&6; } 5204fi 5205 5206# find the maximum length of command line arguments 5207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5208$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5209if ${lt_cv_sys_max_cmd_len+:} false; then : 5210 $as_echo_n "(cached) " >&6 5211else 5212 i=0 5213 teststring="ABCD" 5214 5215 case $build_os in 5216 msdosdjgpp*) 5217 # On DJGPP, this test can blow up pretty badly due to problems in libc 5218 # (any single argument exceeding 2000 bytes causes a buffer overrun 5219 # during glob expansion). Even if it were fixed, the result of this 5220 # check would be larger than it should be. 5221 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5222 ;; 5223 5224 gnu*) 5225 # Under GNU Hurd, this test is not required because there is 5226 # no limit to the length of command line arguments. 5227 # Libtool will interpret -1 as no limit whatsoever 5228 lt_cv_sys_max_cmd_len=-1; 5229 ;; 5230 5231 cygwin* | mingw* | cegcc*) 5232 # On Win9x/ME, this test blows up -- it succeeds, but takes 5233 # about 5 minutes as the teststring grows exponentially. 5234 # Worse, since 9x/ME are not pre-emptively multitasking, 5235 # you end up with a "frozen" computer, even though with patience 5236 # the test eventually succeeds (with a max line length of 256k). 5237 # Instead, let's just punt: use the minimum linelength reported by 5238 # all of the supported platforms: 8192 (on NT/2K/XP). 5239 lt_cv_sys_max_cmd_len=8192; 5240 ;; 5241 5242 mint*) 5243 # On MiNT this can take a long time and run out of memory. 5244 lt_cv_sys_max_cmd_len=8192; 5245 ;; 5246 5247 amigaos*) 5248 # On AmigaOS with pdksh, this test takes hours, literally. 5249 # So we just punt and use a minimum line length of 8192. 5250 lt_cv_sys_max_cmd_len=8192; 5251 ;; 5252 5253 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5254 # This has been around since 386BSD, at least. Likely further. 5255 if test -x /sbin/sysctl; then 5256 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5257 elif test -x /usr/sbin/sysctl; then 5258 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5259 else 5260 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5261 fi 5262 # And add a safety zone 5263 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5264 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5265 ;; 5266 5267 interix*) 5268 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5269 lt_cv_sys_max_cmd_len=196608 5270 ;; 5271 5272 os2*) 5273 # The test takes a long time on OS/2. 5274 lt_cv_sys_max_cmd_len=8192 5275 ;; 5276 5277 osf*) 5278 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5279 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5280 # nice to cause kernel panics so lets avoid the loop below. 5281 # First set a reasonable default. 5282 lt_cv_sys_max_cmd_len=16384 5283 # 5284 if test -x /sbin/sysconfig; then 5285 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5286 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5287 esac 5288 fi 5289 ;; 5290 sco3.2v5*) 5291 lt_cv_sys_max_cmd_len=102400 5292 ;; 5293 sysv5* | sco5v6* | sysv4.2uw2*) 5294 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5295 if test -n "$kargmax"; then 5296 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5297 else 5298 lt_cv_sys_max_cmd_len=32768 5299 fi 5300 ;; 5301 *) 5302 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5303 if test -n "$lt_cv_sys_max_cmd_len"; then 5304 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5305 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5306 else 5307 # Make teststring a little bigger before we do anything with it. 5308 # a 1K string should be a reasonable start. 5309 for i in 1 2 3 4 5 6 7 8 ; do 5310 teststring=$teststring$teststring 5311 done 5312 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5313 # If test is not a shell built-in, we'll probably end up computing a 5314 # maximum length that is only half of the actual maximum length, but 5315 # we can't tell. 5316 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5317 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5318 test $i != 17 # 1/2 MB should be enough 5319 do 5320 i=`expr $i + 1` 5321 teststring=$teststring$teststring 5322 done 5323 # Only check the string length outside the loop. 5324 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5325 teststring= 5326 # Add a significant safety factor because C++ compilers can tack on 5327 # massive amounts of additional arguments before passing them to the 5328 # linker. It appears as though 1/2 is a usable value. 5329 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5330 fi 5331 ;; 5332 esac 5333 5334fi 5335 5336if test -n $lt_cv_sys_max_cmd_len ; then 5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5338$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5339else 5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5341$as_echo "none" >&6; } 5342fi 5343max_cmd_len=$lt_cv_sys_max_cmd_len 5344 5345 5346 5347 5348 5349 5350: ${CP="cp -f"} 5351: ${MV="mv -f"} 5352: ${RM="rm -f"} 5353 5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5355$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5356# Try some XSI features 5357xsi_shell=no 5358( _lt_dummy="a/b/c" 5359 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5360 = c,a/b,b/c, \ 5361 && eval 'test $(( 1 + 1 )) -eq 2 \ 5362 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5363 && xsi_shell=yes 5364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5365$as_echo "$xsi_shell" >&6; } 5366 5367 5368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5369$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5370lt_shell_append=no 5371( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5372 >/dev/null 2>&1 \ 5373 && lt_shell_append=yes 5374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5375$as_echo "$lt_shell_append" >&6; } 5376 5377 5378if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5379 lt_unset=unset 5380else 5381 lt_unset=false 5382fi 5383 5384 5385 5386 5387 5388# test EBCDIC or ASCII 5389case `echo X|tr X '\101'` in 5390 A) # ASCII based system 5391 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5392 lt_SP2NL='tr \040 \012' 5393 lt_NL2SP='tr \015\012 \040\040' 5394 ;; 5395 *) # EBCDIC based system 5396 lt_SP2NL='tr \100 \n' 5397 lt_NL2SP='tr \r\n \100\100' 5398 ;; 5399esac 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5410$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5411if ${lt_cv_to_host_file_cmd+:} false; then : 5412 $as_echo_n "(cached) " >&6 5413else 5414 case $host in 5415 *-*-mingw* ) 5416 case $build in 5417 *-*-mingw* ) # actually msys 5418 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5419 ;; 5420 *-*-cygwin* ) 5421 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5422 ;; 5423 * ) # otherwise, assume *nix 5424 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5425 ;; 5426 esac 5427 ;; 5428 *-*-cygwin* ) 5429 case $build in 5430 *-*-mingw* ) # actually msys 5431 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5432 ;; 5433 *-*-cygwin* ) 5434 lt_cv_to_host_file_cmd=func_convert_file_noop 5435 ;; 5436 * ) # otherwise, assume *nix 5437 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5438 ;; 5439 esac 5440 ;; 5441 * ) # unhandled hosts (and "normal" native builds) 5442 lt_cv_to_host_file_cmd=func_convert_file_noop 5443 ;; 5444esac 5445 5446fi 5447 5448to_host_file_cmd=$lt_cv_to_host_file_cmd 5449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5450$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5451 5452 5453 5454 5455 5456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5457$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5458if ${lt_cv_to_tool_file_cmd+:} false; then : 5459 $as_echo_n "(cached) " >&6 5460else 5461 #assume ordinary cross tools, or native build. 5462lt_cv_to_tool_file_cmd=func_convert_file_noop 5463case $host in 5464 *-*-mingw* ) 5465 case $build in 5466 *-*-mingw* ) # actually msys 5467 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5468 ;; 5469 esac 5470 ;; 5471esac 5472 5473fi 5474 5475to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5477$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5478 5479 5480 5481 5482 5483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5484$as_echo_n "checking for $LD option to reload object files... " >&6; } 5485if ${lt_cv_ld_reload_flag+:} false; then : 5486 $as_echo_n "(cached) " >&6 5487else 5488 lt_cv_ld_reload_flag='-r' 5489fi 5490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5491$as_echo "$lt_cv_ld_reload_flag" >&6; } 5492reload_flag=$lt_cv_ld_reload_flag 5493case $reload_flag in 5494"" | " "*) ;; 5495*) reload_flag=" $reload_flag" ;; 5496esac 5497reload_cmds='$LD$reload_flag -o $output$reload_objs' 5498case $host_os in 5499 cygwin* | mingw* | pw32* | cegcc*) 5500 if test "$GCC" != yes; then 5501 reload_cmds=false 5502 fi 5503 ;; 5504 darwin*) 5505 if test "$GCC" = yes; then 5506 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5507 else 5508 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5509 fi 5510 ;; 5511esac 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521if test -n "$ac_tool_prefix"; then 5522 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5523set dummy ${ac_tool_prefix}objdump; ac_word=$2 5524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5525$as_echo_n "checking for $ac_word... " >&6; } 5526if ${ac_cv_prog_OBJDUMP+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528else 5529 if test -n "$OBJDUMP"; then 5530 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5531else 5532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5533for as_dir in $PATH 5534do 5535 IFS=$as_save_IFS 5536 test -z "$as_dir" && as_dir=. 5537 for ac_exec_ext in '' $ac_executable_extensions; do 5538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5539 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5541 break 2 5542 fi 5543done 5544 done 5545IFS=$as_save_IFS 5546 5547fi 5548fi 5549OBJDUMP=$ac_cv_prog_OBJDUMP 5550if test -n "$OBJDUMP"; then 5551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5552$as_echo "$OBJDUMP" >&6; } 5553else 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5555$as_echo "no" >&6; } 5556fi 5557 5558 5559fi 5560if test -z "$ac_cv_prog_OBJDUMP"; then 5561 ac_ct_OBJDUMP=$OBJDUMP 5562 # Extract the first word of "objdump", so it can be a program name with args. 5563set dummy objdump; ac_word=$2 5564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5565$as_echo_n "checking for $ac_word... " >&6; } 5566if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5567 $as_echo_n "(cached) " >&6 5568else 5569 if test -n "$ac_ct_OBJDUMP"; then 5570 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5571else 5572as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5573for as_dir in $PATH 5574do 5575 IFS=$as_save_IFS 5576 test -z "$as_dir" && as_dir=. 5577 for ac_exec_ext in '' $ac_executable_extensions; do 5578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5579 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5581 break 2 5582 fi 5583done 5584 done 5585IFS=$as_save_IFS 5586 5587fi 5588fi 5589ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5590if test -n "$ac_ct_OBJDUMP"; then 5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5592$as_echo "$ac_ct_OBJDUMP" >&6; } 5593else 5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5595$as_echo "no" >&6; } 5596fi 5597 5598 if test "x$ac_ct_OBJDUMP" = x; then 5599 OBJDUMP="false" 5600 else 5601 case $cross_compiling:$ac_tool_warned in 5602yes:) 5603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5605ac_tool_warned=yes ;; 5606esac 5607 OBJDUMP=$ac_ct_OBJDUMP 5608 fi 5609else 5610 OBJDUMP="$ac_cv_prog_OBJDUMP" 5611fi 5612 5613test -z "$OBJDUMP" && OBJDUMP=objdump 5614 5615 5616 5617 5618 5619 5620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5621$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5622if ${lt_cv_deplibs_check_method+:} false; then : 5623 $as_echo_n "(cached) " >&6 5624else 5625 lt_cv_file_magic_cmd='$MAGIC_CMD' 5626lt_cv_file_magic_test_file= 5627lt_cv_deplibs_check_method='unknown' 5628# Need to set the preceding variable on all platforms that support 5629# interlibrary dependencies. 5630# 'none' -- dependencies not supported. 5631# `unknown' -- same as none, but documents that we really don't know. 5632# 'pass_all' -- all dependencies passed with no checks. 5633# 'test_compile' -- check by making test program. 5634# 'file_magic [[regex]]' -- check by looking for files in library path 5635# which responds to the $file_magic_cmd with a given extended regex. 5636# If you have `file' or equivalent on your system and you're not sure 5637# whether `pass_all' will *always* work, you probably want this one. 5638 5639case $host_os in 5640aix[4-9]*) 5641 lt_cv_deplibs_check_method=pass_all 5642 ;; 5643 5644beos*) 5645 lt_cv_deplibs_check_method=pass_all 5646 ;; 5647 5648bsdi[45]*) 5649 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5650 lt_cv_file_magic_cmd='/usr/bin/file -L' 5651 lt_cv_file_magic_test_file=/shlib/libc.so 5652 ;; 5653 5654cygwin*) 5655 # func_win32_libid is a shell function defined in ltmain.sh 5656 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5657 lt_cv_file_magic_cmd='func_win32_libid' 5658 ;; 5659 5660mingw* | pw32*) 5661 # Base MSYS/MinGW do not provide the 'file' command needed by 5662 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5663 # unless we find 'file', for example because we are cross-compiling. 5664 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5665 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5666 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5667 lt_cv_file_magic_cmd='func_win32_libid' 5668 else 5669 # Keep this pattern in sync with the one in func_win32_libid. 5670 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5671 lt_cv_file_magic_cmd='$OBJDUMP -f' 5672 fi 5673 ;; 5674 5675cegcc*) 5676 # use the weaker test based on 'objdump'. See mingw*. 5677 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5678 lt_cv_file_magic_cmd='$OBJDUMP -f' 5679 ;; 5680 5681darwin* | rhapsody*) 5682 lt_cv_deplibs_check_method=pass_all 5683 ;; 5684 5685freebsd* | dragonfly*) 5686 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5687 case $host_cpu in 5688 i*86 ) 5689 # Not sure whether the presence of OpenBSD here was a mistake. 5690 # Let's accept both of them until this is cleared up. 5691 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5692 lt_cv_file_magic_cmd=/usr/bin/file 5693 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5694 ;; 5695 esac 5696 else 5697 lt_cv_deplibs_check_method=pass_all 5698 fi 5699 ;; 5700 5701gnu*) 5702 lt_cv_deplibs_check_method=pass_all 5703 ;; 5704 5705haiku*) 5706 lt_cv_deplibs_check_method=pass_all 5707 ;; 5708 5709hpux10.20* | hpux11*) 5710 lt_cv_file_magic_cmd=/usr/bin/file 5711 case $host_cpu in 5712 ia64*) 5713 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5714 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5715 ;; 5716 hppa*64*) 5717 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 5718 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5719 ;; 5720 *) 5721 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5722 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5723 ;; 5724 esac 5725 ;; 5726 5727interix[3-9]*) 5728 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5729 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5730 ;; 5731 5732irix5* | irix6* | nonstopux*) 5733 case $LD in 5734 *-32|*"-32 ") libmagic=32-bit;; 5735 *-n32|*"-n32 ") libmagic=N32;; 5736 *-64|*"-64 ") libmagic=64-bit;; 5737 *) libmagic=never-match;; 5738 esac 5739 lt_cv_deplibs_check_method=pass_all 5740 ;; 5741 5742# This must be glibc/ELF. 5743linux* | k*bsd*-gnu | kopensolaris*-gnu) 5744 lt_cv_deplibs_check_method=pass_all 5745 ;; 5746 5747netbsd*) 5748 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5749 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5750 else 5751 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5752 fi 5753 ;; 5754 5755newos6*) 5756 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5757 lt_cv_file_magic_cmd=/usr/bin/file 5758 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5759 ;; 5760 5761*nto* | *qnx*) 5762 lt_cv_deplibs_check_method=pass_all 5763 ;; 5764 5765openbsd*) 5766 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5767 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5768 else 5769 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5770 fi 5771 ;; 5772 5773osf3* | osf4* | osf5*) 5774 lt_cv_deplibs_check_method=pass_all 5775 ;; 5776 5777rdos*) 5778 lt_cv_deplibs_check_method=pass_all 5779 ;; 5780 5781solaris*) 5782 lt_cv_deplibs_check_method=pass_all 5783 ;; 5784 5785sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5786 lt_cv_deplibs_check_method=pass_all 5787 ;; 5788 5789sysv4 | sysv4.3*) 5790 case $host_vendor in 5791 motorola) 5792 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]' 5793 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5794 ;; 5795 ncr) 5796 lt_cv_deplibs_check_method=pass_all 5797 ;; 5798 sequent) 5799 lt_cv_file_magic_cmd='/bin/file' 5800 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5801 ;; 5802 sni) 5803 lt_cv_file_magic_cmd='/bin/file' 5804 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5805 lt_cv_file_magic_test_file=/lib/libc.so 5806 ;; 5807 siemens) 5808 lt_cv_deplibs_check_method=pass_all 5809 ;; 5810 pc) 5811 lt_cv_deplibs_check_method=pass_all 5812 ;; 5813 esac 5814 ;; 5815 5816tpf*) 5817 lt_cv_deplibs_check_method=pass_all 5818 ;; 5819esac 5820 5821fi 5822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5823$as_echo "$lt_cv_deplibs_check_method" >&6; } 5824 5825file_magic_glob= 5826want_nocaseglob=no 5827if test "$build" = "$host"; then 5828 case $host_os in 5829 mingw* | pw32*) 5830 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5831 want_nocaseglob=yes 5832 else 5833 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5834 fi 5835 ;; 5836 esac 5837fi 5838 5839file_magic_cmd=$lt_cv_file_magic_cmd 5840deplibs_check_method=$lt_cv_deplibs_check_method 5841test -z "$deplibs_check_method" && deplibs_check_method=unknown 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864if test -n "$ac_tool_prefix"; then 5865 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5866set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5868$as_echo_n "checking for $ac_word... " >&6; } 5869if ${ac_cv_prog_DLLTOOL+:} false; then : 5870 $as_echo_n "(cached) " >&6 5871else 5872 if test -n "$DLLTOOL"; then 5873 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5874else 5875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5876for as_dir in $PATH 5877do 5878 IFS=$as_save_IFS 5879 test -z "$as_dir" && as_dir=. 5880 for ac_exec_ext in '' $ac_executable_extensions; do 5881 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5882 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5884 break 2 5885 fi 5886done 5887 done 5888IFS=$as_save_IFS 5889 5890fi 5891fi 5892DLLTOOL=$ac_cv_prog_DLLTOOL 5893if test -n "$DLLTOOL"; then 5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5895$as_echo "$DLLTOOL" >&6; } 5896else 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5898$as_echo "no" >&6; } 5899fi 5900 5901 5902fi 5903if test -z "$ac_cv_prog_DLLTOOL"; then 5904 ac_ct_DLLTOOL=$DLLTOOL 5905 # Extract the first word of "dlltool", so it can be a program name with args. 5906set dummy dlltool; ac_word=$2 5907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5908$as_echo_n "checking for $ac_word... " >&6; } 5909if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5910 $as_echo_n "(cached) " >&6 5911else 5912 if test -n "$ac_ct_DLLTOOL"; then 5913 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5914else 5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5916for as_dir in $PATH 5917do 5918 IFS=$as_save_IFS 5919 test -z "$as_dir" && as_dir=. 5920 for ac_exec_ext in '' $ac_executable_extensions; do 5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5922 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5924 break 2 5925 fi 5926done 5927 done 5928IFS=$as_save_IFS 5929 5930fi 5931fi 5932ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5933if test -n "$ac_ct_DLLTOOL"; then 5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5935$as_echo "$ac_ct_DLLTOOL" >&6; } 5936else 5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5938$as_echo "no" >&6; } 5939fi 5940 5941 if test "x$ac_ct_DLLTOOL" = x; then 5942 DLLTOOL="false" 5943 else 5944 case $cross_compiling:$ac_tool_warned in 5945yes:) 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5947$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5948ac_tool_warned=yes ;; 5949esac 5950 DLLTOOL=$ac_ct_DLLTOOL 5951 fi 5952else 5953 DLLTOOL="$ac_cv_prog_DLLTOOL" 5954fi 5955 5956test -z "$DLLTOOL" && DLLTOOL=dlltool 5957 5958 5959 5960 5961 5962 5963 5964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5965$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5966if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5967 $as_echo_n "(cached) " >&6 5968else 5969 lt_cv_sharedlib_from_linklib_cmd='unknown' 5970 5971case $host_os in 5972cygwin* | mingw* | pw32* | cegcc*) 5973 # two different shell functions defined in ltmain.sh 5974 # decide which to use based on capabilities of $DLLTOOL 5975 case `$DLLTOOL --help 2>&1` in 5976 *--identify-strict*) 5977 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5978 ;; 5979 *) 5980 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5981 ;; 5982 esac 5983 ;; 5984*) 5985 # fallback: assume linklib IS sharedlib 5986 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5987 ;; 5988esac 5989 5990fi 5991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5992$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5993sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5994test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5995 5996 5997 5998 5999 6000 6001 6002 6003if test -n "$ac_tool_prefix"; then 6004 for ac_prog in ar 6005 do 6006 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6007set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6009$as_echo_n "checking for $ac_word... " >&6; } 6010if ${ac_cv_prog_AR+:} false; then : 6011 $as_echo_n "(cached) " >&6 6012else 6013 if test -n "$AR"; then 6014 ac_cv_prog_AR="$AR" # Let the user override the test. 6015else 6016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6017for as_dir in $PATH 6018do 6019 IFS=$as_save_IFS 6020 test -z "$as_dir" && as_dir=. 6021 for ac_exec_ext in '' $ac_executable_extensions; do 6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6023 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6025 break 2 6026 fi 6027done 6028 done 6029IFS=$as_save_IFS 6030 6031fi 6032fi 6033AR=$ac_cv_prog_AR 6034if test -n "$AR"; then 6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6036$as_echo "$AR" >&6; } 6037else 6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6039$as_echo "no" >&6; } 6040fi 6041 6042 6043 test -n "$AR" && break 6044 done 6045fi 6046if test -z "$AR"; then 6047 ac_ct_AR=$AR 6048 for ac_prog in ar 6049do 6050 # Extract the first word of "$ac_prog", so it can be a program name with args. 6051set dummy $ac_prog; ac_word=$2 6052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6053$as_echo_n "checking for $ac_word... " >&6; } 6054if ${ac_cv_prog_ac_ct_AR+:} false; then : 6055 $as_echo_n "(cached) " >&6 6056else 6057 if test -n "$ac_ct_AR"; then 6058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6059else 6060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6061for as_dir in $PATH 6062do 6063 IFS=$as_save_IFS 6064 test -z "$as_dir" && as_dir=. 6065 for ac_exec_ext in '' $ac_executable_extensions; do 6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6067 ac_cv_prog_ac_ct_AR="$ac_prog" 6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6069 break 2 6070 fi 6071done 6072 done 6073IFS=$as_save_IFS 6074 6075fi 6076fi 6077ac_ct_AR=$ac_cv_prog_ac_ct_AR 6078if test -n "$ac_ct_AR"; then 6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6080$as_echo "$ac_ct_AR" >&6; } 6081else 6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6083$as_echo "no" >&6; } 6084fi 6085 6086 6087 test -n "$ac_ct_AR" && break 6088done 6089 6090 if test "x$ac_ct_AR" = x; then 6091 AR="false" 6092 else 6093 case $cross_compiling:$ac_tool_warned in 6094yes:) 6095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6097ac_tool_warned=yes ;; 6098esac 6099 AR=$ac_ct_AR 6100 fi 6101fi 6102 6103: ${AR=ar} 6104: ${AR_FLAGS=cru} 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6117$as_echo_n "checking for archiver @FILE support... " >&6; } 6118if ${lt_cv_ar_at_file+:} false; then : 6119 $as_echo_n "(cached) " >&6 6120else 6121 lt_cv_ar_at_file=no 6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6123/* end confdefs.h. */ 6124 6125int 6126main () 6127{ 6128 6129 ; 6130 return 0; 6131} 6132_ACEOF 6133if ac_fn_c_try_compile "$LINENO"; then : 6134 echo conftest.$ac_objext > conftest.lst 6135 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6136 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6137 (eval $lt_ar_try) 2>&5 6138 ac_status=$? 6139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6140 test $ac_status = 0; } 6141 if test "$ac_status" -eq 0; then 6142 # Ensure the archiver fails upon bogus file names. 6143 rm -f conftest.$ac_objext libconftest.a 6144 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6145 (eval $lt_ar_try) 2>&5 6146 ac_status=$? 6147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6148 test $ac_status = 0; } 6149 if test "$ac_status" -ne 0; then 6150 lt_cv_ar_at_file=@ 6151 fi 6152 fi 6153 rm -f conftest.* libconftest.a 6154 6155fi 6156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6157 6158fi 6159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6160$as_echo "$lt_cv_ar_at_file" >&6; } 6161 6162if test "x$lt_cv_ar_at_file" = xno; then 6163 archiver_list_spec= 6164else 6165 archiver_list_spec=$lt_cv_ar_at_file 6166fi 6167 6168 6169 6170 6171 6172 6173 6174if test -n "$ac_tool_prefix"; then 6175 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6176set dummy ${ac_tool_prefix}strip; ac_word=$2 6177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6178$as_echo_n "checking for $ac_word... " >&6; } 6179if ${ac_cv_prog_STRIP+:} false; then : 6180 $as_echo_n "(cached) " >&6 6181else 6182 if test -n "$STRIP"; then 6183 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6184else 6185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6186for as_dir in $PATH 6187do 6188 IFS=$as_save_IFS 6189 test -z "$as_dir" && as_dir=. 6190 for ac_exec_ext in '' $ac_executable_extensions; do 6191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6192 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6194 break 2 6195 fi 6196done 6197 done 6198IFS=$as_save_IFS 6199 6200fi 6201fi 6202STRIP=$ac_cv_prog_STRIP 6203if test -n "$STRIP"; then 6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6205$as_echo "$STRIP" >&6; } 6206else 6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6208$as_echo "no" >&6; } 6209fi 6210 6211 6212fi 6213if test -z "$ac_cv_prog_STRIP"; then 6214 ac_ct_STRIP=$STRIP 6215 # Extract the first word of "strip", so it can be a program name with args. 6216set dummy strip; ac_word=$2 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6218$as_echo_n "checking for $ac_word... " >&6; } 6219if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6220 $as_echo_n "(cached) " >&6 6221else 6222 if test -n "$ac_ct_STRIP"; then 6223 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6224else 6225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6226for as_dir in $PATH 6227do 6228 IFS=$as_save_IFS 6229 test -z "$as_dir" && as_dir=. 6230 for ac_exec_ext in '' $ac_executable_extensions; do 6231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6232 ac_cv_prog_ac_ct_STRIP="strip" 6233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6234 break 2 6235 fi 6236done 6237 done 6238IFS=$as_save_IFS 6239 6240fi 6241fi 6242ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6243if test -n "$ac_ct_STRIP"; then 6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6245$as_echo "$ac_ct_STRIP" >&6; } 6246else 6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6248$as_echo "no" >&6; } 6249fi 6250 6251 if test "x$ac_ct_STRIP" = x; then 6252 STRIP=":" 6253 else 6254 case $cross_compiling:$ac_tool_warned in 6255yes:) 6256{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6258ac_tool_warned=yes ;; 6259esac 6260 STRIP=$ac_ct_STRIP 6261 fi 6262else 6263 STRIP="$ac_cv_prog_STRIP" 6264fi 6265 6266test -z "$STRIP" && STRIP=: 6267 6268 6269 6270 6271 6272 6273if test -n "$ac_tool_prefix"; then 6274 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6275set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6277$as_echo_n "checking for $ac_word... " >&6; } 6278if ${ac_cv_prog_RANLIB+:} false; then : 6279 $as_echo_n "(cached) " >&6 6280else 6281 if test -n "$RANLIB"; then 6282 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6283else 6284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6285for as_dir in $PATH 6286do 6287 IFS=$as_save_IFS 6288 test -z "$as_dir" && as_dir=. 6289 for ac_exec_ext in '' $ac_executable_extensions; do 6290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6291 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6293 break 2 6294 fi 6295done 6296 done 6297IFS=$as_save_IFS 6298 6299fi 6300fi 6301RANLIB=$ac_cv_prog_RANLIB 6302if test -n "$RANLIB"; then 6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6304$as_echo "$RANLIB" >&6; } 6305else 6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6307$as_echo "no" >&6; } 6308fi 6309 6310 6311fi 6312if test -z "$ac_cv_prog_RANLIB"; then 6313 ac_ct_RANLIB=$RANLIB 6314 # Extract the first word of "ranlib", so it can be a program name with args. 6315set dummy ranlib; ac_word=$2 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6317$as_echo_n "checking for $ac_word... " >&6; } 6318if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6319 $as_echo_n "(cached) " >&6 6320else 6321 if test -n "$ac_ct_RANLIB"; then 6322 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6323else 6324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6325for as_dir in $PATH 6326do 6327 IFS=$as_save_IFS 6328 test -z "$as_dir" && as_dir=. 6329 for ac_exec_ext in '' $ac_executable_extensions; do 6330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6331 ac_cv_prog_ac_ct_RANLIB="ranlib" 6332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6333 break 2 6334 fi 6335done 6336 done 6337IFS=$as_save_IFS 6338 6339fi 6340fi 6341ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6342if test -n "$ac_ct_RANLIB"; then 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6344$as_echo "$ac_ct_RANLIB" >&6; } 6345else 6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6347$as_echo "no" >&6; } 6348fi 6349 6350 if test "x$ac_ct_RANLIB" = x; then 6351 RANLIB=":" 6352 else 6353 case $cross_compiling:$ac_tool_warned in 6354yes:) 6355{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6356$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6357ac_tool_warned=yes ;; 6358esac 6359 RANLIB=$ac_ct_RANLIB 6360 fi 6361else 6362 RANLIB="$ac_cv_prog_RANLIB" 6363fi 6364 6365test -z "$RANLIB" && RANLIB=: 6366 6367 6368 6369 6370 6371 6372# Determine commands to create old-style static archives. 6373old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6374old_postinstall_cmds='chmod 644 $oldlib' 6375old_postuninstall_cmds= 6376 6377if test -n "$RANLIB"; then 6378 case $host_os in 6379 openbsd*) 6380 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6381 ;; 6382 *) 6383 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6384 ;; 6385 esac 6386 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6387fi 6388 6389case $host_os in 6390 darwin*) 6391 lock_old_archive_extraction=yes ;; 6392 *) 6393 lock_old_archive_extraction=no ;; 6394esac 6395 6396 6397 6398 6399 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 6428 6429 6430 6431 6432 6433 6434# If no C compiler was specified, use CC. 6435LTCC=${LTCC-"$CC"} 6436 6437# If no C compiler flags were specified, use CFLAGS. 6438LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6439 6440# Allow CC to be a program name with arguments. 6441compiler=$CC 6442 6443 6444# Check for command to grab the raw symbol name followed by C symbol from nm. 6445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6446$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6447if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6448 $as_echo_n "(cached) " >&6 6449else 6450 6451# These are sane defaults that work on at least a few old systems. 6452# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6453 6454# Character class describing NM global symbol codes. 6455symcode='[BCDEGRST]' 6456 6457# Regexp to match symbols that can be accessed directly from C. 6458sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6459 6460# Define system-specific variables. 6461case $host_os in 6462aix*) 6463 symcode='[BCDT]' 6464 ;; 6465cygwin* | mingw* | pw32* | cegcc*) 6466 symcode='[ABCDGISTW]' 6467 ;; 6468hpux*) 6469 if test "$host_cpu" = ia64; then 6470 symcode='[ABCDEGRST]' 6471 fi 6472 ;; 6473irix* | nonstopux*) 6474 symcode='[BCDEGRST]' 6475 ;; 6476osf*) 6477 symcode='[BCDEGQRST]' 6478 ;; 6479solaris*) 6480 symcode='[BDRT]' 6481 ;; 6482sco3.2v5*) 6483 symcode='[DT]' 6484 ;; 6485sysv4.2uw2*) 6486 symcode='[DT]' 6487 ;; 6488sysv5* | sco5v6* | unixware* | OpenUNIX*) 6489 symcode='[ABDT]' 6490 ;; 6491sysv4) 6492 symcode='[DFNSTU]' 6493 ;; 6494esac 6495 6496# If we're using GNU nm, then use its standard symbol codes. 6497case `$NM -V 2>&1` in 6498*GNU* | *'with BFD'*) 6499 symcode='[ABCDGIRSTW]' ;; 6500esac 6501 6502# Transform an extracted symbol line into a proper C declaration. 6503# Some systems (esp. on ia64) link data and code symbols differently, 6504# so use this general approach. 6505lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6506 6507# Transform an extracted symbol line into symbol name and symbol address 6508lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6509lt_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'" 6510 6511# Handle CRLF in mingw tool chain 6512opt_cr= 6513case $build_os in 6514mingw*) 6515 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6516 ;; 6517esac 6518 6519# Try without a prefix underscore, then with it. 6520for ac_symprfx in "" "_"; do 6521 6522 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6523 symxfrm="\\1 $ac_symprfx\\2 \\2" 6524 6525 # Write the raw and C identifiers. 6526 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6527 # Fake it for dumpbin and say T for any non-static function 6528 # and D for any global variable. 6529 # Also find C++ and __fastcall symbols from MSVC++, 6530 # which start with @ or ?. 6531 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6532" {last_section=section; section=\$ 3};"\ 6533" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6534" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6535" \$ 0!~/External *\|/{next};"\ 6536" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6537" {if(hide[section]) next};"\ 6538" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6539" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6540" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6541" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6542" ' prfx=^$ac_symprfx" 6543 else 6544 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6545 fi 6546 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6547 6548 # Check to see that the pipe works correctly. 6549 pipe_works=no 6550 6551 rm -f conftest* 6552 cat > conftest.$ac_ext <<_LT_EOF 6553#ifdef __cplusplus 6554extern "C" { 6555#endif 6556char nm_test_var; 6557void nm_test_func(void); 6558void nm_test_func(void){} 6559#ifdef __cplusplus 6560} 6561#endif 6562int main(){nm_test_var='a';nm_test_func();return(0);} 6563_LT_EOF 6564 6565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6566 (eval $ac_compile) 2>&5 6567 ac_status=$? 6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6569 test $ac_status = 0; }; then 6570 # Now try to grab the symbols. 6571 nlist=conftest.nm 6572 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6573 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6574 ac_status=$? 6575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6576 test $ac_status = 0; } && test -s "$nlist"; then 6577 # Try sorting and uniquifying the output. 6578 if sort "$nlist" | uniq > "$nlist"T; then 6579 mv -f "$nlist"T "$nlist" 6580 else 6581 rm -f "$nlist"T 6582 fi 6583 6584 # Make sure that we snagged all the symbols we need. 6585 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6586 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6587 cat <<_LT_EOF > conftest.$ac_ext 6588/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6589#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6590/* DATA imports from DLLs on WIN32 con't be const, because runtime 6591 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6592# define LT_DLSYM_CONST 6593#elif defined(__osf__) 6594/* This system does not cope well with relocations in const data. */ 6595# define LT_DLSYM_CONST 6596#else 6597# define LT_DLSYM_CONST const 6598#endif 6599 6600#ifdef __cplusplus 6601extern "C" { 6602#endif 6603 6604_LT_EOF 6605 # Now generate the symbol file. 6606 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6607 6608 cat <<_LT_EOF >> conftest.$ac_ext 6609 6610/* The mapping between symbol names and symbols. */ 6611LT_DLSYM_CONST struct { 6612 const char *name; 6613 void *address; 6614} 6615lt__PROGRAM__LTX_preloaded_symbols[] = 6616{ 6617 { "@PROGRAM@", (void *) 0 }, 6618_LT_EOF 6619 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6620 cat <<\_LT_EOF >> conftest.$ac_ext 6621 {0, (void *) 0} 6622}; 6623 6624/* This works around a problem in FreeBSD linker */ 6625#ifdef FREEBSD_WORKAROUND 6626static const void *lt_preloaded_setup() { 6627 return lt__PROGRAM__LTX_preloaded_symbols; 6628} 6629#endif 6630 6631#ifdef __cplusplus 6632} 6633#endif 6634_LT_EOF 6635 # Now try linking the two files. 6636 mv conftest.$ac_objext conftstm.$ac_objext 6637 lt_globsym_save_LIBS=$LIBS 6638 lt_globsym_save_CFLAGS=$CFLAGS 6639 LIBS="conftstm.$ac_objext" 6640 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6642 (eval $ac_link) 2>&5 6643 ac_status=$? 6644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6645 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6646 pipe_works=yes 6647 fi 6648 LIBS=$lt_globsym_save_LIBS 6649 CFLAGS=$lt_globsym_save_CFLAGS 6650 else 6651 echo "cannot find nm_test_func in $nlist" >&5 6652 fi 6653 else 6654 echo "cannot find nm_test_var in $nlist" >&5 6655 fi 6656 else 6657 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6658 fi 6659 else 6660 echo "$progname: failed program was:" >&5 6661 cat conftest.$ac_ext >&5 6662 fi 6663 rm -rf conftest* conftst* 6664 6665 # Do not use the global_symbol_pipe unless it works. 6666 if test "$pipe_works" = yes; then 6667 break 6668 else 6669 lt_cv_sys_global_symbol_pipe= 6670 fi 6671done 6672 6673fi 6674 6675if test -z "$lt_cv_sys_global_symbol_pipe"; then 6676 lt_cv_sys_global_symbol_to_cdecl= 6677fi 6678if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6680$as_echo "failed" >&6; } 6681else 6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6683$as_echo "ok" >&6; } 6684fi 6685 6686# Response file support. 6687if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6688 nm_file_list_spec='@' 6689elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6690 nm_file_list_spec='@' 6691fi 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6720$as_echo_n "checking for sysroot... " >&6; } 6721 6722# Check whether --with-sysroot was given. 6723if test "${with_sysroot+set}" = set; then : 6724 withval=$with_sysroot; 6725else 6726 with_sysroot=no 6727fi 6728 6729 6730lt_sysroot= 6731case ${with_sysroot} in #( 6732 yes) 6733 if test "$GCC" = yes; then 6734 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6735 fi 6736 ;; #( 6737 /*) 6738 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6739 ;; #( 6740 no|'') 6741 ;; #( 6742 *) 6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6744$as_echo "${with_sysroot}" >&6; } 6745 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6746 ;; 6747esac 6748 6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6750$as_echo "${lt_sysroot:-no}" >&6; } 6751 6752 6753 6754 6755 6756# Check whether --enable-libtool-lock was given. 6757if test "${enable_libtool_lock+set}" = set; then : 6758 enableval=$enable_libtool_lock; 6759fi 6760 6761test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6762 6763# Some flags need to be propagated to the compiler or linker for good 6764# libtool support. 6765case $host in 6766ia64-*-hpux*) 6767 # Find out which ABI we are using. 6768 echo 'int i;' > conftest.$ac_ext 6769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6770 (eval $ac_compile) 2>&5 6771 ac_status=$? 6772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6773 test $ac_status = 0; }; then 6774 case `/usr/bin/file conftest.$ac_objext` in 6775 *ELF-32*) 6776 HPUX_IA64_MODE="32" 6777 ;; 6778 *ELF-64*) 6779 HPUX_IA64_MODE="64" 6780 ;; 6781 esac 6782 fi 6783 rm -rf conftest* 6784 ;; 6785*-*-irix6*) 6786 # Find out which ABI we are using. 6787 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6788 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6789 (eval $ac_compile) 2>&5 6790 ac_status=$? 6791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6792 test $ac_status = 0; }; then 6793 if test "$lt_cv_prog_gnu_ld" = yes; then 6794 case `/usr/bin/file conftest.$ac_objext` in 6795 *32-bit*) 6796 LD="${LD-ld} -melf32bsmip" 6797 ;; 6798 *N32*) 6799 LD="${LD-ld} -melf32bmipn32" 6800 ;; 6801 *64-bit*) 6802 LD="${LD-ld} -melf64bmip" 6803 ;; 6804 esac 6805 else 6806 case `/usr/bin/file conftest.$ac_objext` in 6807 *32-bit*) 6808 LD="${LD-ld} -32" 6809 ;; 6810 *N32*) 6811 LD="${LD-ld} -n32" 6812 ;; 6813 *64-bit*) 6814 LD="${LD-ld} -64" 6815 ;; 6816 esac 6817 fi 6818 fi 6819 rm -rf conftest* 6820 ;; 6821 6822x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6823s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6824 # Find out which ABI we are using. 6825 echo 'int i;' > conftest.$ac_ext 6826 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6827 (eval $ac_compile) 2>&5 6828 ac_status=$? 6829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6830 test $ac_status = 0; }; then 6831 case `/usr/bin/file conftest.o` in 6832 *32-bit*) 6833 case $host in 6834 x86_64-*kfreebsd*-gnu) 6835 LD="${LD-ld} -m elf_i386_fbsd" 6836 ;; 6837 x86_64-*linux*) 6838 LD="${LD-ld} -m elf_i386" 6839 ;; 6840 powerpcle-*linux*) 6841 LD="${LD-ld} -m elf32lppclinux" 6842 ;; 6843 powerpc-*linux*) 6844 LD="${LD-ld} -m elf32ppclinux" 6845 ;; 6846 s390x-*linux*) 6847 LD="${LD-ld} -m elf_s390" 6848 ;; 6849 sparc64-*linux*) 6850 LD="${LD-ld} -m elf32_sparc" 6851 ;; 6852 esac 6853 ;; 6854 *64-bit*) 6855 case $host in 6856 x86_64-*kfreebsd*-gnu) 6857 LD="${LD-ld} -m elf_x86_64_fbsd" 6858 ;; 6859 x86_64-*linux*) 6860 LD="${LD-ld} -m elf_x86_64" 6861 ;; 6862 powerpcle-*linux*) 6863 LD="${LD-ld} -m elf64lppc" 6864 ;; 6865 powerpc-*linux*) 6866 LD="${LD-ld} -m elf64ppc" 6867 ;; 6868 s390*-*linux*|s390*-*tpf*) 6869 LD="${LD-ld} -m elf64_s390" 6870 ;; 6871 sparc*-*linux*) 6872 LD="${LD-ld} -m elf64_sparc" 6873 ;; 6874 esac 6875 ;; 6876 esac 6877 fi 6878 rm -rf conftest* 6879 ;; 6880 6881*-*-sco3.2v5*) 6882 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6883 SAVE_CFLAGS="$CFLAGS" 6884 CFLAGS="$CFLAGS -belf" 6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6886$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6887if ${lt_cv_cc_needs_belf+:} false; then : 6888 $as_echo_n "(cached) " >&6 6889else 6890 ac_ext=c 6891ac_cpp='$CPP $CPPFLAGS' 6892ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6893ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6894ac_compiler_gnu=$ac_cv_c_compiler_gnu 6895 6896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6897/* end confdefs.h. */ 6898 6899int 6900main () 6901{ 6902 6903 ; 6904 return 0; 6905} 6906_ACEOF 6907if ac_fn_c_try_link "$LINENO"; then : 6908 lt_cv_cc_needs_belf=yes 6909else 6910 lt_cv_cc_needs_belf=no 6911fi 6912rm -f core conftest.err conftest.$ac_objext \ 6913 conftest$ac_exeext conftest.$ac_ext 6914 ac_ext=c 6915ac_cpp='$CPP $CPPFLAGS' 6916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6918ac_compiler_gnu=$ac_cv_c_compiler_gnu 6919 6920fi 6921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6922$as_echo "$lt_cv_cc_needs_belf" >&6; } 6923 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6925 CFLAGS="$SAVE_CFLAGS" 6926 fi 6927 ;; 6928*-*solaris*) 6929 # Find out which ABI we are using. 6930 echo 'int i;' > conftest.$ac_ext 6931 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6932 (eval $ac_compile) 2>&5 6933 ac_status=$? 6934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6935 test $ac_status = 0; }; then 6936 case `/usr/bin/file conftest.o` in 6937 *64-bit*) 6938 case $lt_cv_prog_gnu_ld in 6939 yes*) 6940 case $host in 6941 i?86-*-solaris*) 6942 LD="${LD-ld} -m elf_x86_64" 6943 ;; 6944 sparc*-*-solaris*) 6945 LD="${LD-ld} -m elf64_sparc" 6946 ;; 6947 esac 6948 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6949 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6950 LD="${LD-ld}_sol2" 6951 fi 6952 ;; 6953 *) 6954 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6955 LD="${LD-ld} -64" 6956 fi 6957 ;; 6958 esac 6959 ;; 6960 esac 6961 fi 6962 rm -rf conftest* 6963 ;; 6964esac 6965 6966need_locks="$enable_libtool_lock" 6967 6968if test -n "$ac_tool_prefix"; then 6969 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6970set dummy ${ac_tool_prefix}mt; ac_word=$2 6971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6972$as_echo_n "checking for $ac_word... " >&6; } 6973if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6974 $as_echo_n "(cached) " >&6 6975else 6976 if test -n "$MANIFEST_TOOL"; then 6977 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6978else 6979as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6980for as_dir in $PATH 6981do 6982 IFS=$as_save_IFS 6983 test -z "$as_dir" && as_dir=. 6984 for ac_exec_ext in '' $ac_executable_extensions; do 6985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6986 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6988 break 2 6989 fi 6990done 6991 done 6992IFS=$as_save_IFS 6993 6994fi 6995fi 6996MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6997if test -n "$MANIFEST_TOOL"; then 6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6999$as_echo "$MANIFEST_TOOL" >&6; } 7000else 7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7002$as_echo "no" >&6; } 7003fi 7004 7005 7006fi 7007if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7008 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7009 # Extract the first word of "mt", so it can be a program name with args. 7010set dummy mt; ac_word=$2 7011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7012$as_echo_n "checking for $ac_word... " >&6; } 7013if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7014 $as_echo_n "(cached) " >&6 7015else 7016 if test -n "$ac_ct_MANIFEST_TOOL"; then 7017 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7018else 7019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7020for as_dir in $PATH 7021do 7022 IFS=$as_save_IFS 7023 test -z "$as_dir" && as_dir=. 7024 for ac_exec_ext in '' $ac_executable_extensions; do 7025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7026 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7028 break 2 7029 fi 7030done 7031 done 7032IFS=$as_save_IFS 7033 7034fi 7035fi 7036ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7037if test -n "$ac_ct_MANIFEST_TOOL"; then 7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7039$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7040else 7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7042$as_echo "no" >&6; } 7043fi 7044 7045 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7046 MANIFEST_TOOL=":" 7047 else 7048 case $cross_compiling:$ac_tool_warned in 7049yes:) 7050{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7051$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7052ac_tool_warned=yes ;; 7053esac 7054 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7055 fi 7056else 7057 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7058fi 7059 7060test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7062$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7063if ${lt_cv_path_mainfest_tool+:} false; then : 7064 $as_echo_n "(cached) " >&6 7065else 7066 lt_cv_path_mainfest_tool=no 7067 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7068 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7069 cat conftest.err >&5 7070 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7071 lt_cv_path_mainfest_tool=yes 7072 fi 7073 rm -f conftest* 7074fi 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7076$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7077if test "x$lt_cv_path_mainfest_tool" != xyes; then 7078 MANIFEST_TOOL=: 7079fi 7080 7081 7082 7083 7084 7085 7086 case $host_os in 7087 rhapsody* | darwin*) 7088 if test -n "$ac_tool_prefix"; then 7089 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7090set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7092$as_echo_n "checking for $ac_word... " >&6; } 7093if ${ac_cv_prog_DSYMUTIL+:} false; then : 7094 $as_echo_n "(cached) " >&6 7095else 7096 if test -n "$DSYMUTIL"; then 7097 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7098else 7099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7100for as_dir in $PATH 7101do 7102 IFS=$as_save_IFS 7103 test -z "$as_dir" && as_dir=. 7104 for ac_exec_ext in '' $ac_executable_extensions; do 7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7106 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7108 break 2 7109 fi 7110done 7111 done 7112IFS=$as_save_IFS 7113 7114fi 7115fi 7116DSYMUTIL=$ac_cv_prog_DSYMUTIL 7117if test -n "$DSYMUTIL"; then 7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7119$as_echo "$DSYMUTIL" >&6; } 7120else 7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7122$as_echo "no" >&6; } 7123fi 7124 7125 7126fi 7127if test -z "$ac_cv_prog_DSYMUTIL"; then 7128 ac_ct_DSYMUTIL=$DSYMUTIL 7129 # Extract the first word of "dsymutil", so it can be a program name with args. 7130set dummy dsymutil; ac_word=$2 7131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7132$as_echo_n "checking for $ac_word... " >&6; } 7133if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7134 $as_echo_n "(cached) " >&6 7135else 7136 if test -n "$ac_ct_DSYMUTIL"; then 7137 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7138else 7139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7140for as_dir in $PATH 7141do 7142 IFS=$as_save_IFS 7143 test -z "$as_dir" && as_dir=. 7144 for ac_exec_ext in '' $ac_executable_extensions; do 7145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7146 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7148 break 2 7149 fi 7150done 7151 done 7152IFS=$as_save_IFS 7153 7154fi 7155fi 7156ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7157if test -n "$ac_ct_DSYMUTIL"; then 7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7159$as_echo "$ac_ct_DSYMUTIL" >&6; } 7160else 7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7162$as_echo "no" >&6; } 7163fi 7164 7165 if test "x$ac_ct_DSYMUTIL" = x; then 7166 DSYMUTIL=":" 7167 else 7168 case $cross_compiling:$ac_tool_warned in 7169yes:) 7170{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7171$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7172ac_tool_warned=yes ;; 7173esac 7174 DSYMUTIL=$ac_ct_DSYMUTIL 7175 fi 7176else 7177 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7178fi 7179 7180 if test -n "$ac_tool_prefix"; then 7181 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7182set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7184$as_echo_n "checking for $ac_word... " >&6; } 7185if ${ac_cv_prog_NMEDIT+:} false; then : 7186 $as_echo_n "(cached) " >&6 7187else 7188 if test -n "$NMEDIT"; then 7189 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7190else 7191as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7192for as_dir in $PATH 7193do 7194 IFS=$as_save_IFS 7195 test -z "$as_dir" && as_dir=. 7196 for ac_exec_ext in '' $ac_executable_extensions; do 7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7198 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7200 break 2 7201 fi 7202done 7203 done 7204IFS=$as_save_IFS 7205 7206fi 7207fi 7208NMEDIT=$ac_cv_prog_NMEDIT 7209if test -n "$NMEDIT"; then 7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7211$as_echo "$NMEDIT" >&6; } 7212else 7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7214$as_echo "no" >&6; } 7215fi 7216 7217 7218fi 7219if test -z "$ac_cv_prog_NMEDIT"; then 7220 ac_ct_NMEDIT=$NMEDIT 7221 # Extract the first word of "nmedit", so it can be a program name with args. 7222set dummy nmedit; ac_word=$2 7223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7224$as_echo_n "checking for $ac_word... " >&6; } 7225if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7226 $as_echo_n "(cached) " >&6 7227else 7228 if test -n "$ac_ct_NMEDIT"; then 7229 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7230else 7231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7232for as_dir in $PATH 7233do 7234 IFS=$as_save_IFS 7235 test -z "$as_dir" && as_dir=. 7236 for ac_exec_ext in '' $ac_executable_extensions; do 7237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7238 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7240 break 2 7241 fi 7242done 7243 done 7244IFS=$as_save_IFS 7245 7246fi 7247fi 7248ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7249if test -n "$ac_ct_NMEDIT"; then 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7251$as_echo "$ac_ct_NMEDIT" >&6; } 7252else 7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7254$as_echo "no" >&6; } 7255fi 7256 7257 if test "x$ac_ct_NMEDIT" = x; then 7258 NMEDIT=":" 7259 else 7260 case $cross_compiling:$ac_tool_warned in 7261yes:) 7262{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7263$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7264ac_tool_warned=yes ;; 7265esac 7266 NMEDIT=$ac_ct_NMEDIT 7267 fi 7268else 7269 NMEDIT="$ac_cv_prog_NMEDIT" 7270fi 7271 7272 if test -n "$ac_tool_prefix"; then 7273 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7274set dummy ${ac_tool_prefix}lipo; ac_word=$2 7275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7276$as_echo_n "checking for $ac_word... " >&6; } 7277if ${ac_cv_prog_LIPO+:} false; then : 7278 $as_echo_n "(cached) " >&6 7279else 7280 if test -n "$LIPO"; then 7281 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7282else 7283as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7284for as_dir in $PATH 7285do 7286 IFS=$as_save_IFS 7287 test -z "$as_dir" && as_dir=. 7288 for ac_exec_ext in '' $ac_executable_extensions; do 7289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7290 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7292 break 2 7293 fi 7294done 7295 done 7296IFS=$as_save_IFS 7297 7298fi 7299fi 7300LIPO=$ac_cv_prog_LIPO 7301if test -n "$LIPO"; then 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7303$as_echo "$LIPO" >&6; } 7304else 7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7306$as_echo "no" >&6; } 7307fi 7308 7309 7310fi 7311if test -z "$ac_cv_prog_LIPO"; then 7312 ac_ct_LIPO=$LIPO 7313 # Extract the first word of "lipo", so it can be a program name with args. 7314set dummy lipo; ac_word=$2 7315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7316$as_echo_n "checking for $ac_word... " >&6; } 7317if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7318 $as_echo_n "(cached) " >&6 7319else 7320 if test -n "$ac_ct_LIPO"; then 7321 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7322else 7323as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7324for as_dir in $PATH 7325do 7326 IFS=$as_save_IFS 7327 test -z "$as_dir" && as_dir=. 7328 for ac_exec_ext in '' $ac_executable_extensions; do 7329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7330 ac_cv_prog_ac_ct_LIPO="lipo" 7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7332 break 2 7333 fi 7334done 7335 done 7336IFS=$as_save_IFS 7337 7338fi 7339fi 7340ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7341if test -n "$ac_ct_LIPO"; then 7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7343$as_echo "$ac_ct_LIPO" >&6; } 7344else 7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7346$as_echo "no" >&6; } 7347fi 7348 7349 if test "x$ac_ct_LIPO" = x; then 7350 LIPO=":" 7351 else 7352 case $cross_compiling:$ac_tool_warned in 7353yes:) 7354{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7355$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7356ac_tool_warned=yes ;; 7357esac 7358 LIPO=$ac_ct_LIPO 7359 fi 7360else 7361 LIPO="$ac_cv_prog_LIPO" 7362fi 7363 7364 if test -n "$ac_tool_prefix"; then 7365 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7366set dummy ${ac_tool_prefix}otool; ac_word=$2 7367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7368$as_echo_n "checking for $ac_word... " >&6; } 7369if ${ac_cv_prog_OTOOL+:} false; then : 7370 $as_echo_n "(cached) " >&6 7371else 7372 if test -n "$OTOOL"; then 7373 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7374else 7375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7376for as_dir in $PATH 7377do 7378 IFS=$as_save_IFS 7379 test -z "$as_dir" && as_dir=. 7380 for ac_exec_ext in '' $ac_executable_extensions; do 7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7382 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7384 break 2 7385 fi 7386done 7387 done 7388IFS=$as_save_IFS 7389 7390fi 7391fi 7392OTOOL=$ac_cv_prog_OTOOL 7393if test -n "$OTOOL"; then 7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7395$as_echo "$OTOOL" >&6; } 7396else 7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7398$as_echo "no" >&6; } 7399fi 7400 7401 7402fi 7403if test -z "$ac_cv_prog_OTOOL"; then 7404 ac_ct_OTOOL=$OTOOL 7405 # Extract the first word of "otool", so it can be a program name with args. 7406set dummy otool; ac_word=$2 7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7408$as_echo_n "checking for $ac_word... " >&6; } 7409if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7410 $as_echo_n "(cached) " >&6 7411else 7412 if test -n "$ac_ct_OTOOL"; then 7413 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7414else 7415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7416for as_dir in $PATH 7417do 7418 IFS=$as_save_IFS 7419 test -z "$as_dir" && as_dir=. 7420 for ac_exec_ext in '' $ac_executable_extensions; do 7421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7422 ac_cv_prog_ac_ct_OTOOL="otool" 7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7424 break 2 7425 fi 7426done 7427 done 7428IFS=$as_save_IFS 7429 7430fi 7431fi 7432ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7433if test -n "$ac_ct_OTOOL"; then 7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7435$as_echo "$ac_ct_OTOOL" >&6; } 7436else 7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7438$as_echo "no" >&6; } 7439fi 7440 7441 if test "x$ac_ct_OTOOL" = x; then 7442 OTOOL=":" 7443 else 7444 case $cross_compiling:$ac_tool_warned in 7445yes:) 7446{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7447$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7448ac_tool_warned=yes ;; 7449esac 7450 OTOOL=$ac_ct_OTOOL 7451 fi 7452else 7453 OTOOL="$ac_cv_prog_OTOOL" 7454fi 7455 7456 if test -n "$ac_tool_prefix"; then 7457 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7458set dummy ${ac_tool_prefix}otool64; ac_word=$2 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7460$as_echo_n "checking for $ac_word... " >&6; } 7461if ${ac_cv_prog_OTOOL64+:} false; then : 7462 $as_echo_n "(cached) " >&6 7463else 7464 if test -n "$OTOOL64"; then 7465 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7466else 7467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7468for as_dir in $PATH 7469do 7470 IFS=$as_save_IFS 7471 test -z "$as_dir" && as_dir=. 7472 for ac_exec_ext in '' $ac_executable_extensions; do 7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7474 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7476 break 2 7477 fi 7478done 7479 done 7480IFS=$as_save_IFS 7481 7482fi 7483fi 7484OTOOL64=$ac_cv_prog_OTOOL64 7485if test -n "$OTOOL64"; then 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7487$as_echo "$OTOOL64" >&6; } 7488else 7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7490$as_echo "no" >&6; } 7491fi 7492 7493 7494fi 7495if test -z "$ac_cv_prog_OTOOL64"; then 7496 ac_ct_OTOOL64=$OTOOL64 7497 # Extract the first word of "otool64", so it can be a program name with args. 7498set dummy otool64; ac_word=$2 7499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7500$as_echo_n "checking for $ac_word... " >&6; } 7501if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7502 $as_echo_n "(cached) " >&6 7503else 7504 if test -n "$ac_ct_OTOOL64"; then 7505 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7506else 7507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7508for as_dir in $PATH 7509do 7510 IFS=$as_save_IFS 7511 test -z "$as_dir" && as_dir=. 7512 for ac_exec_ext in '' $ac_executable_extensions; do 7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7514 ac_cv_prog_ac_ct_OTOOL64="otool64" 7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7516 break 2 7517 fi 7518done 7519 done 7520IFS=$as_save_IFS 7521 7522fi 7523fi 7524ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7525if test -n "$ac_ct_OTOOL64"; then 7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7527$as_echo "$ac_ct_OTOOL64" >&6; } 7528else 7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7530$as_echo "no" >&6; } 7531fi 7532 7533 if test "x$ac_ct_OTOOL64" = x; then 7534 OTOOL64=":" 7535 else 7536 case $cross_compiling:$ac_tool_warned in 7537yes:) 7538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7540ac_tool_warned=yes ;; 7541esac 7542 OTOOL64=$ac_ct_OTOOL64 7543 fi 7544else 7545 OTOOL64="$ac_cv_prog_OTOOL64" 7546fi 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7575$as_echo_n "checking for -single_module linker flag... " >&6; } 7576if ${lt_cv_apple_cc_single_mod+:} false; then : 7577 $as_echo_n "(cached) " >&6 7578else 7579 lt_cv_apple_cc_single_mod=no 7580 if test -z "${LT_MULTI_MODULE}"; then 7581 # By default we will add the -single_module flag. You can override 7582 # by either setting the environment variable LT_MULTI_MODULE 7583 # non-empty at configure time, or by adding -multi_module to the 7584 # link flags. 7585 rm -rf libconftest.dylib* 7586 echo "int foo(void){return 1;}" > conftest.c 7587 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7588-dynamiclib -Wl,-single_module conftest.c" >&5 7589 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7590 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7591 _lt_result=$? 7592 # If there is a non-empty error log, and "single_module" 7593 # appears in it, assume the flag caused a linker warning 7594 if test -s conftest.err && $GREP single_module conftest.err; then 7595 cat conftest.err >&5 7596 # Otherwise, if the output was created with a 0 exit code from 7597 # the compiler, it worked. 7598 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7599 lt_cv_apple_cc_single_mod=yes 7600 else 7601 cat conftest.err >&5 7602 fi 7603 rm -rf libconftest.dylib* 7604 rm -f conftest.* 7605 fi 7606fi 7607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7608$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7609 7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7611$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7612if ${lt_cv_ld_exported_symbols_list+:} false; then : 7613 $as_echo_n "(cached) " >&6 7614else 7615 lt_cv_ld_exported_symbols_list=no 7616 save_LDFLAGS=$LDFLAGS 7617 echo "_main" > conftest.sym 7618 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7620/* end confdefs.h. */ 7621 7622int 7623main () 7624{ 7625 7626 ; 7627 return 0; 7628} 7629_ACEOF 7630if ac_fn_c_try_link "$LINENO"; then : 7631 lt_cv_ld_exported_symbols_list=yes 7632else 7633 lt_cv_ld_exported_symbols_list=no 7634fi 7635rm -f core conftest.err conftest.$ac_objext \ 7636 conftest$ac_exeext conftest.$ac_ext 7637 LDFLAGS="$save_LDFLAGS" 7638 7639fi 7640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7641$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7642 7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7644$as_echo_n "checking for -force_load linker flag... " >&6; } 7645if ${lt_cv_ld_force_load+:} false; then : 7646 $as_echo_n "(cached) " >&6 7647else 7648 lt_cv_ld_force_load=no 7649 cat > conftest.c << _LT_EOF 7650int forced_loaded() { return 2;} 7651_LT_EOF 7652 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7653 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7654 echo "$AR cru libconftest.a conftest.o" >&5 7655 $AR cru libconftest.a conftest.o 2>&5 7656 echo "$RANLIB libconftest.a" >&5 7657 $RANLIB libconftest.a 2>&5 7658 cat > conftest.c << _LT_EOF 7659int main() { return 0;} 7660_LT_EOF 7661 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7662 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7663 _lt_result=$? 7664 if test -s conftest.err && $GREP force_load conftest.err; then 7665 cat conftest.err >&5 7666 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7667 lt_cv_ld_force_load=yes 7668 else 7669 cat conftest.err >&5 7670 fi 7671 rm -f conftest.err libconftest.a conftest conftest.c 7672 rm -rf conftest.dSYM 7673 7674fi 7675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7676$as_echo "$lt_cv_ld_force_load" >&6; } 7677 case $host_os in 7678 rhapsody* | darwin1.[012]) 7679 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7680 darwin1.*) 7681 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7682 darwin*) # darwin 5.x on 7683 # if running on 10.5 or later, the deployment target defaults 7684 # to the OS version, if on x86, and 10.4, the deployment 7685 # target defaults to 10.4. Don't you love it? 7686 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7687 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7688 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7689 10.[012]*) 7690 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7691 10.*) 7692 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7693 esac 7694 ;; 7695 esac 7696 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7697 _lt_dar_single_mod='$single_module' 7698 fi 7699 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7700 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7701 else 7702 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7703 fi 7704 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7705 _lt_dsymutil='~$DSYMUTIL $lib || :' 7706 else 7707 _lt_dsymutil= 7708 fi 7709 ;; 7710 esac 7711 7712ac_ext=c 7713ac_cpp='$CPP $CPPFLAGS' 7714ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7715ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7716ac_compiler_gnu=$ac_cv_c_compiler_gnu 7717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7718$as_echo_n "checking how to run the C preprocessor... " >&6; } 7719# On Suns, sometimes $CPP names a directory. 7720if test -n "$CPP" && test -d "$CPP"; then 7721 CPP= 7722fi 7723if test -z "$CPP"; then 7724 if ${ac_cv_prog_CPP+:} false; then : 7725 $as_echo_n "(cached) " >&6 7726else 7727 # Double quotes because CPP needs to be expanded 7728 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7729 do 7730 ac_preproc_ok=false 7731for ac_c_preproc_warn_flag in '' yes 7732do 7733 # Use a header file that comes with gcc, so configuring glibc 7734 # with a fresh cross-compiler works. 7735 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7736 # <limits.h> exists even on freestanding compilers. 7737 # On the NeXT, cc -E runs the code through the compiler's parser, 7738 # not just through cpp. "Syntax error" is here to catch this case. 7739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7740/* end confdefs.h. */ 7741#ifdef __STDC__ 7742# include <limits.h> 7743#else 7744# include <assert.h> 7745#endif 7746 Syntax error 7747_ACEOF 7748if ac_fn_c_try_cpp "$LINENO"; then : 7749 7750else 7751 # Broken: fails on valid input. 7752continue 7753fi 7754rm -f conftest.err conftest.i conftest.$ac_ext 7755 7756 # OK, works on sane cases. Now check whether nonexistent headers 7757 # can be detected and how. 7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7759/* end confdefs.h. */ 7760#include <ac_nonexistent.h> 7761_ACEOF 7762if ac_fn_c_try_cpp "$LINENO"; then : 7763 # Broken: success on invalid input. 7764continue 7765else 7766 # Passes both tests. 7767ac_preproc_ok=: 7768break 7769fi 7770rm -f conftest.err conftest.i conftest.$ac_ext 7771 7772done 7773# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7774rm -f conftest.i conftest.err conftest.$ac_ext 7775if $ac_preproc_ok; then : 7776 break 7777fi 7778 7779 done 7780 ac_cv_prog_CPP=$CPP 7781 7782fi 7783 CPP=$ac_cv_prog_CPP 7784else 7785 ac_cv_prog_CPP=$CPP 7786fi 7787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7788$as_echo "$CPP" >&6; } 7789ac_preproc_ok=false 7790for ac_c_preproc_warn_flag in '' yes 7791do 7792 # Use a header file that comes with gcc, so configuring glibc 7793 # with a fresh cross-compiler works. 7794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7795 # <limits.h> exists even on freestanding compilers. 7796 # On the NeXT, cc -E runs the code through the compiler's parser, 7797 # not just through cpp. "Syntax error" is here to catch this case. 7798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7799/* end confdefs.h. */ 7800#ifdef __STDC__ 7801# include <limits.h> 7802#else 7803# include <assert.h> 7804#endif 7805 Syntax error 7806_ACEOF 7807if ac_fn_c_try_cpp "$LINENO"; then : 7808 7809else 7810 # Broken: fails on valid input. 7811continue 7812fi 7813rm -f conftest.err conftest.i conftest.$ac_ext 7814 7815 # OK, works on sane cases. Now check whether nonexistent headers 7816 # can be detected and how. 7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7818/* end confdefs.h. */ 7819#include <ac_nonexistent.h> 7820_ACEOF 7821if ac_fn_c_try_cpp "$LINENO"; then : 7822 # Broken: success on invalid input. 7823continue 7824else 7825 # Passes both tests. 7826ac_preproc_ok=: 7827break 7828fi 7829rm -f conftest.err conftest.i conftest.$ac_ext 7830 7831done 7832# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7833rm -f conftest.i conftest.err conftest.$ac_ext 7834if $ac_preproc_ok; then : 7835 7836else 7837 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7838$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7839as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7840See \`config.log' for more details" "$LINENO" 5; } 7841fi 7842 7843ac_ext=c 7844ac_cpp='$CPP $CPPFLAGS' 7845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7847ac_compiler_gnu=$ac_cv_c_compiler_gnu 7848 7849 7850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7851$as_echo_n "checking for ANSI C header files... " >&6; } 7852if ${ac_cv_header_stdc+:} false; then : 7853 $as_echo_n "(cached) " >&6 7854else 7855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7856/* end confdefs.h. */ 7857#include <stdlib.h> 7858#include <stdarg.h> 7859#include <string.h> 7860#include <float.h> 7861 7862int 7863main () 7864{ 7865 7866 ; 7867 return 0; 7868} 7869_ACEOF 7870if ac_fn_c_try_compile "$LINENO"; then : 7871 ac_cv_header_stdc=yes 7872else 7873 ac_cv_header_stdc=no 7874fi 7875rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7876 7877if test $ac_cv_header_stdc = yes; then 7878 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7880/* end confdefs.h. */ 7881#include <string.h> 7882 7883_ACEOF 7884if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7885 $EGREP "memchr" >/dev/null 2>&1; then : 7886 7887else 7888 ac_cv_header_stdc=no 7889fi 7890rm -f conftest* 7891 7892fi 7893 7894if test $ac_cv_header_stdc = yes; then 7895 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7897/* end confdefs.h. */ 7898#include <stdlib.h> 7899 7900_ACEOF 7901if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7902 $EGREP "free" >/dev/null 2>&1; then : 7903 7904else 7905 ac_cv_header_stdc=no 7906fi 7907rm -f conftest* 7908 7909fi 7910 7911if test $ac_cv_header_stdc = yes; then 7912 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7913 if test "$cross_compiling" = yes; then : 7914 : 7915else 7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7917/* end confdefs.h. */ 7918#include <ctype.h> 7919#include <stdlib.h> 7920#if ((' ' & 0x0FF) == 0x020) 7921# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7922# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7923#else 7924# define ISLOWER(c) \ 7925 (('a' <= (c) && (c) <= 'i') \ 7926 || ('j' <= (c) && (c) <= 'r') \ 7927 || ('s' <= (c) && (c) <= 'z')) 7928# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7929#endif 7930 7931#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7932int 7933main () 7934{ 7935 int i; 7936 for (i = 0; i < 256; i++) 7937 if (XOR (islower (i), ISLOWER (i)) 7938 || toupper (i) != TOUPPER (i)) 7939 return 2; 7940 return 0; 7941} 7942_ACEOF 7943if ac_fn_c_try_run "$LINENO"; then : 7944 7945else 7946 ac_cv_header_stdc=no 7947fi 7948rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7949 conftest.$ac_objext conftest.beam conftest.$ac_ext 7950fi 7951 7952fi 7953fi 7954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7955$as_echo "$ac_cv_header_stdc" >&6; } 7956if test $ac_cv_header_stdc = yes; then 7957 7958$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7959 7960fi 7961 7962# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7963for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7964 inttypes.h stdint.h unistd.h 7965do : 7966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7967ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7968" 7969if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7970 cat >>confdefs.h <<_ACEOF 7971#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7972_ACEOF 7973 7974fi 7975 7976done 7977 7978 7979for ac_header in dlfcn.h 7980do : 7981 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7982" 7983if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7984 cat >>confdefs.h <<_ACEOF 7985#define HAVE_DLFCN_H 1 7986_ACEOF 7987 7988fi 7989 7990done 7991 7992 7993 7994 7995 7996# Set options 7997 7998 7999 8000 8001 8002 # Check whether --enable-shared was given. 8003if test "${enable_shared+set}" = set; then : 8004 enableval=$enable_shared; p=${PACKAGE-default} 8005 case $enableval in 8006 yes) enable_shared=yes ;; 8007 no) enable_shared=no ;; 8008 *) 8009 enable_shared=no 8010 # Look at the argument we got. We use all the common list separators. 8011 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8012 for pkg in $enableval; do 8013 IFS="$lt_save_ifs" 8014 if test "X$pkg" = "X$p"; then 8015 enable_shared=yes 8016 fi 8017 done 8018 IFS="$lt_save_ifs" 8019 ;; 8020 esac 8021else 8022 enable_shared=yes 8023fi 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035# Check whether --with-pic was given. 8036if test "${with_pic+set}" = set; then : 8037 withval=$with_pic; lt_p=${PACKAGE-default} 8038 case $withval in 8039 yes|no) pic_mode=$withval ;; 8040 *) 8041 pic_mode=default 8042 # Look at the argument we got. We use all the common list separators. 8043 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8044 for lt_pkg in $withval; do 8045 IFS="$lt_save_ifs" 8046 if test "X$lt_pkg" = "X$lt_p"; then 8047 pic_mode=yes 8048 fi 8049 done 8050 IFS="$lt_save_ifs" 8051 ;; 8052 esac 8053else 8054 pic_mode=default 8055fi 8056 8057 8058test -z "$pic_mode" && pic_mode=default 8059 8060 8061 8062 8063 8064 8065 8066 # Check whether --enable-fast-install was given. 8067if test "${enable_fast_install+set}" = set; then : 8068 enableval=$enable_fast_install; p=${PACKAGE-default} 8069 case $enableval in 8070 yes) enable_fast_install=yes ;; 8071 no) enable_fast_install=no ;; 8072 *) 8073 enable_fast_install=no 8074 # Look at the argument we got. We use all the common list separators. 8075 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8076 for pkg in $enableval; do 8077 IFS="$lt_save_ifs" 8078 if test "X$pkg" = "X$p"; then 8079 enable_fast_install=yes 8080 fi 8081 done 8082 IFS="$lt_save_ifs" 8083 ;; 8084 esac 8085else 8086 enable_fast_install=yes 8087fi 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099# This can be used to rebuild libtool when needed 8100LIBTOOL_DEPS="$ltmain" 8101 8102# Always use our own libtool. 8103LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134test -z "$LN_S" && LN_S="ln -s" 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149if test -n "${ZSH_VERSION+set}" ; then 8150 setopt NO_GLOB_SUBST 8151fi 8152 8153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8154$as_echo_n "checking for objdir... " >&6; } 8155if ${lt_cv_objdir+:} false; then : 8156 $as_echo_n "(cached) " >&6 8157else 8158 rm -f .libs 2>/dev/null 8159mkdir .libs 2>/dev/null 8160if test -d .libs; then 8161 lt_cv_objdir=.libs 8162else 8163 # MS-DOS does not allow filenames that begin with a dot. 8164 lt_cv_objdir=_libs 8165fi 8166rmdir .libs 2>/dev/null 8167fi 8168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8169$as_echo "$lt_cv_objdir" >&6; } 8170objdir=$lt_cv_objdir 8171 8172 8173 8174 8175 8176cat >>confdefs.h <<_ACEOF 8177#define LT_OBJDIR "$lt_cv_objdir/" 8178_ACEOF 8179 8180 8181 8182 8183case $host_os in 8184aix3*) 8185 # AIX sometimes has problems with the GCC collect2 program. For some 8186 # reason, if we set the COLLECT_NAMES environment variable, the problems 8187 # vanish in a puff of smoke. 8188 if test "X${COLLECT_NAMES+set}" != Xset; then 8189 COLLECT_NAMES= 8190 export COLLECT_NAMES 8191 fi 8192 ;; 8193esac 8194 8195# Global variables: 8196ofile=libtool 8197can_build_shared=yes 8198 8199# All known linkers require a `.a' archive for static linking (except MSVC, 8200# which needs '.lib'). 8201libext=a 8202 8203with_gnu_ld="$lt_cv_prog_gnu_ld" 8204 8205old_CC="$CC" 8206old_CFLAGS="$CFLAGS" 8207 8208# Set sane defaults for various variables 8209test -z "$CC" && CC=cc 8210test -z "$LTCC" && LTCC=$CC 8211test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8212test -z "$LD" && LD=ld 8213test -z "$ac_objext" && ac_objext=o 8214 8215for cc_temp in $compiler""; do 8216 case $cc_temp in 8217 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8218 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8219 \-*) ;; 8220 *) break;; 8221 esac 8222done 8223cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8224 8225 8226# Only perform the check for file, if the check method requires it 8227test -z "$MAGIC_CMD" && MAGIC_CMD=file 8228case $deplibs_check_method in 8229file_magic*) 8230 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8232$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8233if ${lt_cv_path_MAGIC_CMD+:} false; then : 8234 $as_echo_n "(cached) " >&6 8235else 8236 case $MAGIC_CMD in 8237[\\/*] | ?:[\\/]*) 8238 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8239 ;; 8240*) 8241 lt_save_MAGIC_CMD="$MAGIC_CMD" 8242 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8243 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8244 for ac_dir in $ac_dummy; do 8245 IFS="$lt_save_ifs" 8246 test -z "$ac_dir" && ac_dir=. 8247 if test -f $ac_dir/${ac_tool_prefix}file; then 8248 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8249 if test -n "$file_magic_test_file"; then 8250 case $deplibs_check_method in 8251 "file_magic "*) 8252 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8253 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8254 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8255 $EGREP "$file_magic_regex" > /dev/null; then 8256 : 8257 else 8258 cat <<_LT_EOF 1>&2 8259 8260*** Warning: the command libtool uses to detect shared libraries, 8261*** $file_magic_cmd, produces output that libtool cannot recognize. 8262*** The result is that libtool may fail to recognize shared libraries 8263*** as such. This will affect the creation of libtool libraries that 8264*** depend on shared libraries, but programs linked with such libtool 8265*** libraries will work regardless of this problem. Nevertheless, you 8266*** may want to report the problem to your system manager and/or to 8267*** bug-libtool@gnu.org 8268 8269_LT_EOF 8270 fi ;; 8271 esac 8272 fi 8273 break 8274 fi 8275 done 8276 IFS="$lt_save_ifs" 8277 MAGIC_CMD="$lt_save_MAGIC_CMD" 8278 ;; 8279esac 8280fi 8281 8282MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8283if test -n "$MAGIC_CMD"; then 8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8285$as_echo "$MAGIC_CMD" >&6; } 8286else 8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8288$as_echo "no" >&6; } 8289fi 8290 8291 8292 8293 8294 8295if test -z "$lt_cv_path_MAGIC_CMD"; then 8296 if test -n "$ac_tool_prefix"; then 8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8298$as_echo_n "checking for file... " >&6; } 8299if ${lt_cv_path_MAGIC_CMD+:} false; then : 8300 $as_echo_n "(cached) " >&6 8301else 8302 case $MAGIC_CMD in 8303[\\/*] | ?:[\\/]*) 8304 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8305 ;; 8306*) 8307 lt_save_MAGIC_CMD="$MAGIC_CMD" 8308 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8309 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8310 for ac_dir in $ac_dummy; do 8311 IFS="$lt_save_ifs" 8312 test -z "$ac_dir" && ac_dir=. 8313 if test -f $ac_dir/file; then 8314 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8315 if test -n "$file_magic_test_file"; then 8316 case $deplibs_check_method in 8317 "file_magic "*) 8318 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8319 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8320 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8321 $EGREP "$file_magic_regex" > /dev/null; then 8322 : 8323 else 8324 cat <<_LT_EOF 1>&2 8325 8326*** Warning: the command libtool uses to detect shared libraries, 8327*** $file_magic_cmd, produces output that libtool cannot recognize. 8328*** The result is that libtool may fail to recognize shared libraries 8329*** as such. This will affect the creation of libtool libraries that 8330*** depend on shared libraries, but programs linked with such libtool 8331*** libraries will work regardless of this problem. Nevertheless, you 8332*** may want to report the problem to your system manager and/or to 8333*** bug-libtool@gnu.org 8334 8335_LT_EOF 8336 fi ;; 8337 esac 8338 fi 8339 break 8340 fi 8341 done 8342 IFS="$lt_save_ifs" 8343 MAGIC_CMD="$lt_save_MAGIC_CMD" 8344 ;; 8345esac 8346fi 8347 8348MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8349if test -n "$MAGIC_CMD"; then 8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8351$as_echo "$MAGIC_CMD" >&6; } 8352else 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8354$as_echo "no" >&6; } 8355fi 8356 8357 8358 else 8359 MAGIC_CMD=: 8360 fi 8361fi 8362 8363 fi 8364 ;; 8365esac 8366 8367# Use C for the default configuration in the libtool script 8368 8369lt_save_CC="$CC" 8370ac_ext=c 8371ac_cpp='$CPP $CPPFLAGS' 8372ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8373ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8374ac_compiler_gnu=$ac_cv_c_compiler_gnu 8375 8376 8377# Source file extension for C test sources. 8378ac_ext=c 8379 8380# Object file extension for compiled C test sources. 8381objext=o 8382objext=$objext 8383 8384# Code to be used in simple compile tests 8385lt_simple_compile_test_code="int some_variable = 0;" 8386 8387# Code to be used in simple link tests 8388lt_simple_link_test_code='int main(){return(0);}' 8389 8390 8391 8392 8393 8394 8395 8396# If no C compiler was specified, use CC. 8397LTCC=${LTCC-"$CC"} 8398 8399# If no C compiler flags were specified, use CFLAGS. 8400LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8401 8402# Allow CC to be a program name with arguments. 8403compiler=$CC 8404 8405# Save the default compiler, since it gets overwritten when the other 8406# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8407compiler_DEFAULT=$CC 8408 8409# save warnings/boilerplate of simple test code 8410ac_outfile=conftest.$ac_objext 8411echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8412eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8413_lt_compiler_boilerplate=`cat conftest.err` 8414$RM conftest* 8415 8416ac_outfile=conftest.$ac_objext 8417echo "$lt_simple_link_test_code" >conftest.$ac_ext 8418eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8419_lt_linker_boilerplate=`cat conftest.err` 8420$RM -r conftest* 8421 8422 8423if test -n "$compiler"; then 8424 8425lt_prog_compiler_no_builtin_flag= 8426 8427if test "$GCC" = yes; then 8428 case $cc_basename in 8429 nvcc*) 8430 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8431 *) 8432 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8433 esac 8434 8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8436$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8437if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8438 $as_echo_n "(cached) " >&6 8439else 8440 lt_cv_prog_compiler_rtti_exceptions=no 8441 ac_outfile=conftest.$ac_objext 8442 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8443 lt_compiler_flag="-fno-rtti -fno-exceptions" 8444 # Insert the option either (1) after the last *FLAGS variable, or 8445 # (2) before a word containing "conftest.", or (3) at the end. 8446 # Note that $ac_compile itself does not contain backslashes and begins 8447 # with a dollar sign (not a hyphen), so the echo should work correctly. 8448 # The option is referenced via a variable to avoid confusing sed. 8449 lt_compile=`echo "$ac_compile" | $SED \ 8450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8452 -e 's:$: $lt_compiler_flag:'` 8453 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8454 (eval "$lt_compile" 2>conftest.err) 8455 ac_status=$? 8456 cat conftest.err >&5 8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8458 if (exit $ac_status) && test -s "$ac_outfile"; then 8459 # The compiler can only warn and ignore the option if not recognized 8460 # So say no if there are warnings other than the usual output. 8461 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8462 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8463 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8464 lt_cv_prog_compiler_rtti_exceptions=yes 8465 fi 8466 fi 8467 $RM conftest* 8468 8469fi 8470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8471$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8472 8473if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8474 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8475else 8476 : 8477fi 8478 8479fi 8480 8481 8482 8483 8484 8485 8486 lt_prog_compiler_wl= 8487lt_prog_compiler_pic= 8488lt_prog_compiler_static= 8489 8490 8491 if test "$GCC" = yes; then 8492 lt_prog_compiler_wl='-Wl,' 8493 lt_prog_compiler_static='-static' 8494 8495 case $host_os in 8496 aix*) 8497 # All AIX code is PIC. 8498 if test "$host_cpu" = ia64; then 8499 # AIX 5 now supports IA64 processor 8500 lt_prog_compiler_static='-Bstatic' 8501 fi 8502 ;; 8503 8504 amigaos*) 8505 case $host_cpu in 8506 powerpc) 8507 # see comment about AmigaOS4 .so support 8508 lt_prog_compiler_pic='-fPIC' 8509 ;; 8510 m68k) 8511 # FIXME: we need at least 68020 code to build shared libraries, but 8512 # adding the `-m68020' flag to GCC prevents building anything better, 8513 # like `-m68040'. 8514 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8515 ;; 8516 esac 8517 ;; 8518 8519 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8520 # PIC is the default for these OSes. 8521 ;; 8522 8523 mingw* | cygwin* | pw32* | os2* | cegcc*) 8524 # This hack is so that the source file can tell whether it is being 8525 # built for inclusion in a dll (and should export symbols for example). 8526 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8527 # (--disable-auto-import) libraries 8528 lt_prog_compiler_pic='-DDLL_EXPORT' 8529 ;; 8530 8531 darwin* | rhapsody*) 8532 # PIC is the default on this platform 8533 # Common symbols not allowed in MH_DYLIB files 8534 lt_prog_compiler_pic='-fno-common' 8535 ;; 8536 8537 haiku*) 8538 # PIC is the default for Haiku. 8539 # The "-static" flag exists, but is broken. 8540 lt_prog_compiler_static= 8541 ;; 8542 8543 hpux*) 8544 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8545 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8546 # sets the default TLS model and affects inlining. 8547 case $host_cpu in 8548 hppa*64*) 8549 # +Z the default 8550 ;; 8551 *) 8552 lt_prog_compiler_pic='-fPIC' 8553 ;; 8554 esac 8555 ;; 8556 8557 interix[3-9]*) 8558 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8559 # Instead, we relocate shared libraries at runtime. 8560 ;; 8561 8562 msdosdjgpp*) 8563 # Just because we use GCC doesn't mean we suddenly get shared libraries 8564 # on systems that don't support them. 8565 lt_prog_compiler_can_build_shared=no 8566 enable_shared=no 8567 ;; 8568 8569 *nto* | *qnx*) 8570 # QNX uses GNU C++, but need to define -shared option too, otherwise 8571 # it will coredump. 8572 lt_prog_compiler_pic='-fPIC -shared' 8573 ;; 8574 8575 sysv4*MP*) 8576 if test -d /usr/nec; then 8577 lt_prog_compiler_pic=-Kconform_pic 8578 fi 8579 ;; 8580 8581 *) 8582 lt_prog_compiler_pic='-fPIC' 8583 ;; 8584 esac 8585 8586 case $cc_basename in 8587 nvcc*) # Cuda Compiler Driver 2.2 8588 lt_prog_compiler_wl='-Xlinker ' 8589 if test -n "$lt_prog_compiler_pic"; then 8590 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8591 fi 8592 ;; 8593 esac 8594 else 8595 # PORTME Check for flag to pass linker flags through the system compiler. 8596 case $host_os in 8597 aix*) 8598 lt_prog_compiler_wl='-Wl,' 8599 if test "$host_cpu" = ia64; then 8600 # AIX 5 now supports IA64 processor 8601 lt_prog_compiler_static='-Bstatic' 8602 else 8603 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8604 fi 8605 ;; 8606 8607 mingw* | cygwin* | pw32* | os2* | cegcc*) 8608 # This hack is so that the source file can tell whether it is being 8609 # built for inclusion in a dll (and should export symbols for example). 8610 lt_prog_compiler_pic='-DDLL_EXPORT' 8611 ;; 8612 8613 hpux9* | hpux10* | hpux11*) 8614 lt_prog_compiler_wl='-Wl,' 8615 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8616 # not for PA HP-UX. 8617 case $host_cpu in 8618 hppa*64*|ia64*) 8619 # +Z the default 8620 ;; 8621 *) 8622 lt_prog_compiler_pic='+Z' 8623 ;; 8624 esac 8625 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8626 lt_prog_compiler_static='${wl}-a ${wl}archive' 8627 ;; 8628 8629 irix5* | irix6* | nonstopux*) 8630 lt_prog_compiler_wl='-Wl,' 8631 # PIC (with -KPIC) is the default. 8632 lt_prog_compiler_static='-non_shared' 8633 ;; 8634 8635 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8636 case $cc_basename in 8637 # old Intel for x86_64 which still supported -KPIC. 8638 ecc*) 8639 lt_prog_compiler_wl='-Wl,' 8640 lt_prog_compiler_pic='-KPIC' 8641 lt_prog_compiler_static='-static' 8642 ;; 8643 # icc used to be incompatible with GCC. 8644 # ICC 10 doesn't accept -KPIC any more. 8645 icc* | ifort*) 8646 lt_prog_compiler_wl='-Wl,' 8647 lt_prog_compiler_pic='-fPIC' 8648 lt_prog_compiler_static='-static' 8649 ;; 8650 # Lahey Fortran 8.1. 8651 lf95*) 8652 lt_prog_compiler_wl='-Wl,' 8653 lt_prog_compiler_pic='--shared' 8654 lt_prog_compiler_static='--static' 8655 ;; 8656 nagfor*) 8657 # NAG Fortran compiler 8658 lt_prog_compiler_wl='-Wl,-Wl,,' 8659 lt_prog_compiler_pic='-PIC' 8660 lt_prog_compiler_static='-Bstatic' 8661 ;; 8662 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8663 # Portland Group compilers (*not* the Pentium gcc compiler, 8664 # which looks to be a dead project) 8665 lt_prog_compiler_wl='-Wl,' 8666 lt_prog_compiler_pic='-fpic' 8667 lt_prog_compiler_static='-Bstatic' 8668 ;; 8669 ccc*) 8670 lt_prog_compiler_wl='-Wl,' 8671 # All Alpha code is PIC. 8672 lt_prog_compiler_static='-non_shared' 8673 ;; 8674 xl* | bgxl* | bgf* | mpixl*) 8675 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8676 lt_prog_compiler_wl='-Wl,' 8677 lt_prog_compiler_pic='-qpic' 8678 lt_prog_compiler_static='-qstaticlink' 8679 ;; 8680 *) 8681 case `$CC -V 2>&1 | sed 5q` in 8682 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8683 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8684 lt_prog_compiler_pic='-KPIC' 8685 lt_prog_compiler_static='-Bstatic' 8686 lt_prog_compiler_wl='' 8687 ;; 8688 *Sun\ F* | *Sun*Fortran*) 8689 lt_prog_compiler_pic='-KPIC' 8690 lt_prog_compiler_static='-Bstatic' 8691 lt_prog_compiler_wl='-Qoption ld ' 8692 ;; 8693 *Sun\ C*) 8694 # Sun C 5.9 8695 lt_prog_compiler_pic='-KPIC' 8696 lt_prog_compiler_static='-Bstatic' 8697 lt_prog_compiler_wl='-Wl,' 8698 ;; 8699 *Intel*\ [CF]*Compiler*) 8700 lt_prog_compiler_wl='-Wl,' 8701 lt_prog_compiler_pic='-fPIC' 8702 lt_prog_compiler_static='-static' 8703 ;; 8704 *Portland\ Group*) 8705 lt_prog_compiler_wl='-Wl,' 8706 lt_prog_compiler_pic='-fpic' 8707 lt_prog_compiler_static='-Bstatic' 8708 ;; 8709 esac 8710 ;; 8711 esac 8712 ;; 8713 8714 newsos6) 8715 lt_prog_compiler_pic='-KPIC' 8716 lt_prog_compiler_static='-Bstatic' 8717 ;; 8718 8719 *nto* | *qnx*) 8720 # QNX uses GNU C++, but need to define -shared option too, otherwise 8721 # it will coredump. 8722 lt_prog_compiler_pic='-fPIC -shared' 8723 ;; 8724 8725 osf3* | osf4* | osf5*) 8726 lt_prog_compiler_wl='-Wl,' 8727 # All OSF/1 code is PIC. 8728 lt_prog_compiler_static='-non_shared' 8729 ;; 8730 8731 rdos*) 8732 lt_prog_compiler_static='-non_shared' 8733 ;; 8734 8735 solaris*) 8736 lt_prog_compiler_pic='-KPIC' 8737 lt_prog_compiler_static='-Bstatic' 8738 case $cc_basename in 8739 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8740 lt_prog_compiler_wl='-Qoption ld ';; 8741 *) 8742 lt_prog_compiler_wl='-Wl,';; 8743 esac 8744 ;; 8745 8746 sunos4*) 8747 lt_prog_compiler_wl='-Qoption ld ' 8748 lt_prog_compiler_pic='-PIC' 8749 lt_prog_compiler_static='-Bstatic' 8750 ;; 8751 8752 sysv4 | sysv4.2uw2* | sysv4.3*) 8753 lt_prog_compiler_wl='-Wl,' 8754 lt_prog_compiler_pic='-KPIC' 8755 lt_prog_compiler_static='-Bstatic' 8756 ;; 8757 8758 sysv4*MP*) 8759 if test -d /usr/nec ;then 8760 lt_prog_compiler_pic='-Kconform_pic' 8761 lt_prog_compiler_static='-Bstatic' 8762 fi 8763 ;; 8764 8765 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8766 lt_prog_compiler_wl='-Wl,' 8767 lt_prog_compiler_pic='-KPIC' 8768 lt_prog_compiler_static='-Bstatic' 8769 ;; 8770 8771 unicos*) 8772 lt_prog_compiler_wl='-Wl,' 8773 lt_prog_compiler_can_build_shared=no 8774 ;; 8775 8776 uts4*) 8777 lt_prog_compiler_pic='-pic' 8778 lt_prog_compiler_static='-Bstatic' 8779 ;; 8780 8781 *) 8782 lt_prog_compiler_can_build_shared=no 8783 ;; 8784 esac 8785 fi 8786 8787case $host_os in 8788 # For platforms which do not support PIC, -DPIC is meaningless: 8789 *djgpp*) 8790 lt_prog_compiler_pic= 8791 ;; 8792 *) 8793 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8794 ;; 8795esac 8796 8797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8798$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8799if ${lt_cv_prog_compiler_pic+:} false; then : 8800 $as_echo_n "(cached) " >&6 8801else 8802 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8803fi 8804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8805$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8806lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8807 8808# 8809# Check to make sure the PIC flag actually works. 8810# 8811if test -n "$lt_prog_compiler_pic"; then 8812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8813$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8814if ${lt_cv_prog_compiler_pic_works+:} false; then : 8815 $as_echo_n "(cached) " >&6 8816else 8817 lt_cv_prog_compiler_pic_works=no 8818 ac_outfile=conftest.$ac_objext 8819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8820 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8821 # Insert the option either (1) after the last *FLAGS variable, or 8822 # (2) before a word containing "conftest.", or (3) at the end. 8823 # Note that $ac_compile itself does not contain backslashes and begins 8824 # with a dollar sign (not a hyphen), so the echo should work correctly. 8825 # The option is referenced via a variable to avoid confusing sed. 8826 lt_compile=`echo "$ac_compile" | $SED \ 8827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8829 -e 's:$: $lt_compiler_flag:'` 8830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8831 (eval "$lt_compile" 2>conftest.err) 8832 ac_status=$? 8833 cat conftest.err >&5 8834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8835 if (exit $ac_status) && test -s "$ac_outfile"; then 8836 # The compiler can only warn and ignore the option if not recognized 8837 # So say no if there are warnings other than the usual output. 8838 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8840 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8841 lt_cv_prog_compiler_pic_works=yes 8842 fi 8843 fi 8844 $RM conftest* 8845 8846fi 8847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8848$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8849 8850if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8851 case $lt_prog_compiler_pic in 8852 "" | " "*) ;; 8853 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8854 esac 8855else 8856 lt_prog_compiler_pic= 8857 lt_prog_compiler_can_build_shared=no 8858fi 8859 8860fi 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872# 8873# Check to make sure the static flag actually works. 8874# 8875wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8877$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8878if ${lt_cv_prog_compiler_static_works+:} false; then : 8879 $as_echo_n "(cached) " >&6 8880else 8881 lt_cv_prog_compiler_static_works=no 8882 save_LDFLAGS="$LDFLAGS" 8883 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8884 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8885 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8886 # The linker can only warn and ignore the option if not recognized 8887 # So say no if there are warnings 8888 if test -s conftest.err; then 8889 # Append any errors to the config.log. 8890 cat conftest.err 1>&5 8891 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8892 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8893 if diff conftest.exp conftest.er2 >/dev/null; then 8894 lt_cv_prog_compiler_static_works=yes 8895 fi 8896 else 8897 lt_cv_prog_compiler_static_works=yes 8898 fi 8899 fi 8900 $RM -r conftest* 8901 LDFLAGS="$save_LDFLAGS" 8902 8903fi 8904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8905$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8906 8907if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8908 : 8909else 8910 lt_prog_compiler_static= 8911fi 8912 8913 8914 8915 8916 8917 8918 8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8920$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8921if ${lt_cv_prog_compiler_c_o+:} false; then : 8922 $as_echo_n "(cached) " >&6 8923else 8924 lt_cv_prog_compiler_c_o=no 8925 $RM -r conftest 2>/dev/null 8926 mkdir conftest 8927 cd conftest 8928 mkdir out 8929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8930 8931 lt_compiler_flag="-o out/conftest2.$ac_objext" 8932 # Insert the option either (1) after the last *FLAGS variable, or 8933 # (2) before a word containing "conftest.", or (3) at the end. 8934 # Note that $ac_compile itself does not contain backslashes and begins 8935 # with a dollar sign (not a hyphen), so the echo should work correctly. 8936 lt_compile=`echo "$ac_compile" | $SED \ 8937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8939 -e 's:$: $lt_compiler_flag:'` 8940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8941 (eval "$lt_compile" 2>out/conftest.err) 8942 ac_status=$? 8943 cat out/conftest.err >&5 8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8945 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8946 then 8947 # The compiler can only warn and ignore the option if not recognized 8948 # So say no if there are warnings 8949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8952 lt_cv_prog_compiler_c_o=yes 8953 fi 8954 fi 8955 chmod u+w . 2>&5 8956 $RM conftest* 8957 # SGI C++ compiler will create directory out/ii_files/ for 8958 # template instantiation 8959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8960 $RM out/* && rmdir out 8961 cd .. 8962 $RM -r conftest 8963 $RM conftest* 8964 8965fi 8966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8967$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8968 8969 8970 8971 8972 8973 8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8975$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8976if ${lt_cv_prog_compiler_c_o+:} false; then : 8977 $as_echo_n "(cached) " >&6 8978else 8979 lt_cv_prog_compiler_c_o=no 8980 $RM -r conftest 2>/dev/null 8981 mkdir conftest 8982 cd conftest 8983 mkdir out 8984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8985 8986 lt_compiler_flag="-o out/conftest2.$ac_objext" 8987 # Insert the option either (1) after the last *FLAGS variable, or 8988 # (2) before a word containing "conftest.", or (3) at the end. 8989 # Note that $ac_compile itself does not contain backslashes and begins 8990 # with a dollar sign (not a hyphen), so the echo should work correctly. 8991 lt_compile=`echo "$ac_compile" | $SED \ 8992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8994 -e 's:$: $lt_compiler_flag:'` 8995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8996 (eval "$lt_compile" 2>out/conftest.err) 8997 ac_status=$? 8998 cat out/conftest.err >&5 8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9000 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9001 then 9002 # The compiler can only warn and ignore the option if not recognized 9003 # So say no if there are warnings 9004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9007 lt_cv_prog_compiler_c_o=yes 9008 fi 9009 fi 9010 chmod u+w . 2>&5 9011 $RM conftest* 9012 # SGI C++ compiler will create directory out/ii_files/ for 9013 # template instantiation 9014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9015 $RM out/* && rmdir out 9016 cd .. 9017 $RM -r conftest 9018 $RM conftest* 9019 9020fi 9021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9022$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9023 9024 9025 9026 9027hard_links="nottested" 9028if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9029 # do not overwrite the value of need_locks provided by the user 9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9031$as_echo_n "checking if we can lock with hard links... " >&6; } 9032 hard_links=yes 9033 $RM conftest* 9034 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9035 touch conftest.a 9036 ln conftest.a conftest.b 2>&5 || hard_links=no 9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9039$as_echo "$hard_links" >&6; } 9040 if test "$hard_links" = no; then 9041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9042$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9043 need_locks=warn 9044 fi 9045else 9046 need_locks=no 9047fi 9048 9049 9050 9051 9052 9053 9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9055$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9056 9057 runpath_var= 9058 allow_undefined_flag= 9059 always_export_symbols=no 9060 archive_cmds= 9061 archive_expsym_cmds= 9062 compiler_needs_object=no 9063 enable_shared_with_static_runtimes=no 9064 export_dynamic_flag_spec= 9065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9066 hardcode_automatic=no 9067 hardcode_direct=no 9068 hardcode_direct_absolute=no 9069 hardcode_libdir_flag_spec= 9070 hardcode_libdir_separator= 9071 hardcode_minus_L=no 9072 hardcode_shlibpath_var=unsupported 9073 inherit_rpath=no 9074 link_all_deplibs=unknown 9075 module_cmds= 9076 module_expsym_cmds= 9077 old_archive_from_new_cmds= 9078 old_archive_from_expsyms_cmds= 9079 thread_safe_flag_spec= 9080 whole_archive_flag_spec= 9081 # include_expsyms should be a list of space-separated symbols to be *always* 9082 # included in the symbol list 9083 include_expsyms= 9084 # exclude_expsyms can be an extended regexp of symbols to exclude 9085 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9086 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9087 # as well as any symbol that contains `d'. 9088 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9089 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9090 # platforms (ab)use it in PIC code, but their linkers get confused if 9091 # the symbol is explicitly referenced. Since portable code cannot 9092 # rely on this symbol name, it's probably fine to never include it in 9093 # preloaded symbol tables. 9094 # Exclude shared library initialization/finalization symbols. 9095 extract_expsyms_cmds= 9096 9097 case $host_os in 9098 cygwin* | mingw* | pw32* | cegcc*) 9099 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9100 # When not using gcc, we currently assume that we are using 9101 # Microsoft Visual C++. 9102 if test "$GCC" != yes; then 9103 with_gnu_ld=no 9104 fi 9105 ;; 9106 interix*) 9107 # we just hope/assume this is gcc and not c89 (= MSVC++) 9108 with_gnu_ld=yes 9109 ;; 9110 openbsd*) 9111 with_gnu_ld=no 9112 ;; 9113 esac 9114 9115 ld_shlibs=yes 9116 9117 # On some targets, GNU ld is compatible enough with the native linker 9118 # that we're better off using the native interface for both. 9119 lt_use_gnu_ld_interface=no 9120 if test "$with_gnu_ld" = yes; then 9121 case $host_os in 9122 aix*) 9123 # The AIX port of GNU ld has always aspired to compatibility 9124 # with the native linker. However, as the warning in the GNU ld 9125 # block says, versions before 2.19.5* couldn't really create working 9126 # shared libraries, regardless of the interface used. 9127 case `$LD -v 2>&1` in 9128 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9129 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9130 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9131 *) 9132 lt_use_gnu_ld_interface=yes 9133 ;; 9134 esac 9135 ;; 9136 *) 9137 lt_use_gnu_ld_interface=yes 9138 ;; 9139 esac 9140 fi 9141 9142 if test "$lt_use_gnu_ld_interface" = yes; then 9143 # If archive_cmds runs LD, not CC, wlarc should be empty 9144 wlarc='${wl}' 9145 9146 # Set some defaults for GNU ld with shared library support. These 9147 # are reset later if shared libraries are not supported. Putting them 9148 # here allows them to be overridden if necessary. 9149 runpath_var=LD_RUN_PATH 9150 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9151 export_dynamic_flag_spec='${wl}--export-dynamic' 9152 # ancient GNU ld didn't support --whole-archive et. al. 9153 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9154 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9155 else 9156 whole_archive_flag_spec= 9157 fi 9158 supports_anon_versioning=no 9159 case `$LD -v 2>&1` in 9160 *GNU\ gold*) supports_anon_versioning=yes ;; 9161 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9162 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9163 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9164 *\ 2.11.*) ;; # other 2.11 versions 9165 *) supports_anon_versioning=yes ;; 9166 esac 9167 9168 # See if GNU ld supports shared libraries. 9169 case $host_os in 9170 aix[3-9]*) 9171 # On AIX/PPC, the GNU linker is very broken 9172 if test "$host_cpu" != ia64; then 9173 ld_shlibs=no 9174 cat <<_LT_EOF 1>&2 9175 9176*** Warning: the GNU linker, at least up to release 2.19, is reported 9177*** to be unable to reliably create shared libraries on AIX. 9178*** Therefore, libtool is disabling shared libraries support. If you 9179*** really care for shared libraries, you may want to install binutils 9180*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9181*** You will then need to restart the configuration process. 9182 9183_LT_EOF 9184 fi 9185 ;; 9186 9187 amigaos*) 9188 case $host_cpu in 9189 powerpc) 9190 # see comment about AmigaOS4 .so support 9191 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9192 archive_expsym_cmds='' 9193 ;; 9194 m68k) 9195 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)' 9196 hardcode_libdir_flag_spec='-L$libdir' 9197 hardcode_minus_L=yes 9198 ;; 9199 esac 9200 ;; 9201 9202 beos*) 9203 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9204 allow_undefined_flag=unsupported 9205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9206 # support --undefined. This deserves some investigation. FIXME 9207 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9208 else 9209 ld_shlibs=no 9210 fi 9211 ;; 9212 9213 cygwin* | mingw* | pw32* | cegcc*) 9214 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9215 # as there is no search path for DLLs. 9216 hardcode_libdir_flag_spec='-L$libdir' 9217 export_dynamic_flag_spec='${wl}--export-all-symbols' 9218 allow_undefined_flag=unsupported 9219 always_export_symbols=no 9220 enable_shared_with_static_runtimes=yes 9221 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 9222 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9223 9224 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9226 # If the export-symbols file already is a .def file (1st line 9227 # is EXPORTS), use it as is; otherwise, prepend... 9228 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9229 cp $export_symbols $output_objdir/$soname.def; 9230 else 9231 echo EXPORTS > $output_objdir/$soname.def; 9232 cat $export_symbols >> $output_objdir/$soname.def; 9233 fi~ 9234 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9235 else 9236 ld_shlibs=no 9237 fi 9238 ;; 9239 9240 haiku*) 9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9242 link_all_deplibs=yes 9243 ;; 9244 9245 interix[3-9]*) 9246 hardcode_direct=no 9247 hardcode_shlibpath_var=no 9248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9249 export_dynamic_flag_spec='${wl}-E' 9250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9251 # Instead, shared libraries are loaded at an image base (0x10000000 by 9252 # default) and relocated if they conflict, which is a slow very memory 9253 # consuming and fragmenting process. To avoid this, we pick a random, 9254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9255 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9257 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' 9258 ;; 9259 9260 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9261 tmp_diet=no 9262 if test "$host_os" = linux-dietlibc; then 9263 case $cc_basename in 9264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9265 esac 9266 fi 9267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9268 && test "$tmp_diet" = no 9269 then 9270 tmp_addflag=' $pic_flag' 9271 tmp_sharedflag='-shared' 9272 case $cc_basename,$host_cpu in 9273 pgcc*) # Portland Group C compiler 9274 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9275 tmp_addflag=' $pic_flag' 9276 ;; 9277 pgf77* | pgf90* | pgf95* | pgfortran*) 9278 # Portland Group f77 and f90 compilers 9279 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9280 tmp_addflag=' $pic_flag -Mnomain' ;; 9281 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9282 tmp_addflag=' -i_dynamic' ;; 9283 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9284 tmp_addflag=' -i_dynamic -nofor_main' ;; 9285 ifc* | ifort*) # Intel Fortran compiler 9286 tmp_addflag=' -nofor_main' ;; 9287 lf95*) # Lahey Fortran 8.1 9288 whole_archive_flag_spec= 9289 tmp_sharedflag='--shared' ;; 9290 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9291 tmp_sharedflag='-qmkshrobj' 9292 tmp_addflag= ;; 9293 nvcc*) # Cuda Compiler Driver 2.2 9294 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9295 compiler_needs_object=yes 9296 ;; 9297 esac 9298 case `$CC -V 2>&1 | sed 5q` in 9299 *Sun\ C*) # Sun C 5.9 9300 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9301 compiler_needs_object=yes 9302 tmp_sharedflag='-G' ;; 9303 *Sun\ F*) # Sun Fortran 8.3 9304 tmp_sharedflag='-G' ;; 9305 esac 9306 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9307 9308 if test "x$supports_anon_versioning" = xyes; then 9309 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9311 echo "local: *; };" >> $output_objdir/$libname.ver~ 9312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9313 fi 9314 9315 case $cc_basename in 9316 xlf* | bgf* | bgxlf* | mpixlf*) 9317 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9318 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9320 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9321 if test "x$supports_anon_versioning" = xyes; then 9322 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9323 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9324 echo "local: *; };" >> $output_objdir/$libname.ver~ 9325 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9326 fi 9327 ;; 9328 esac 9329 else 9330 ld_shlibs=no 9331 fi 9332 ;; 9333 9334 netbsd*) 9335 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9336 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9337 wlarc= 9338 else 9339 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9340 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9341 fi 9342 ;; 9343 9344 solaris*) 9345 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9346 ld_shlibs=no 9347 cat <<_LT_EOF 1>&2 9348 9349*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9350*** create shared libraries on Solaris systems. Therefore, libtool 9351*** is disabling shared libraries support. We urge you to upgrade GNU 9352*** binutils to release 2.9.1 or newer. Another option is to modify 9353*** your PATH or compiler configuration so that the native linker is 9354*** used, and then restart. 9355 9356_LT_EOF 9357 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9358 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9359 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9360 else 9361 ld_shlibs=no 9362 fi 9363 ;; 9364 9365 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9366 case `$LD -v 2>&1` in 9367 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9368 ld_shlibs=no 9369 cat <<_LT_EOF 1>&2 9370 9371*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9372*** reliably create shared libraries on SCO systems. Therefore, libtool 9373*** is disabling shared libraries support. We urge you to upgrade GNU 9374*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9375*** your PATH or compiler configuration so that the native linker is 9376*** used, and then restart. 9377 9378_LT_EOF 9379 ;; 9380 *) 9381 # For security reasons, it is highly recommended that you always 9382 # use absolute paths for naming shared libraries, and exclude the 9383 # DT_RUNPATH tag from executables and libraries. But doing so 9384 # requires that you compile everything twice, which is a pain. 9385 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9386 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9389 else 9390 ld_shlibs=no 9391 fi 9392 ;; 9393 esac 9394 ;; 9395 9396 sunos4*) 9397 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9398 wlarc= 9399 hardcode_direct=yes 9400 hardcode_shlibpath_var=no 9401 ;; 9402 9403 *) 9404 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9405 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9406 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9407 else 9408 ld_shlibs=no 9409 fi 9410 ;; 9411 esac 9412 9413 if test "$ld_shlibs" = no; then 9414 runpath_var= 9415 hardcode_libdir_flag_spec= 9416 export_dynamic_flag_spec= 9417 whole_archive_flag_spec= 9418 fi 9419 else 9420 # PORTME fill in a description of your system's linker (not GNU ld) 9421 case $host_os in 9422 aix3*) 9423 allow_undefined_flag=unsupported 9424 always_export_symbols=yes 9425 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' 9426 # Note: this linker hardcodes the directories in LIBPATH if there 9427 # are no directories specified by -L. 9428 hardcode_minus_L=yes 9429 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9430 # Neither direct hardcoding nor static linking is supported with a 9431 # broken collect2. 9432 hardcode_direct=unsupported 9433 fi 9434 ;; 9435 9436 aix[4-9]*) 9437 if test "$host_cpu" = ia64; then 9438 # On IA64, the linker does run time linking by default, so we don't 9439 # have to do anything special. 9440 aix_use_runtimelinking=no 9441 exp_sym_flag='-Bexport' 9442 no_entry_flag="" 9443 else 9444 # If we're using GNU nm, then we don't want the "-C" option. 9445 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9446 # Also, AIX nm treats weak defined symbols like other global 9447 # defined symbols, whereas GNU nm marks them as "W". 9448 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9449 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9450 else 9451 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' 9452 fi 9453 aix_use_runtimelinking=no 9454 9455 # Test if we are trying to use run time linking or normal 9456 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9457 # need to do runtime linking. 9458 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9459 for ld_flag in $LDFLAGS; do 9460 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9461 aix_use_runtimelinking=yes 9462 break 9463 fi 9464 done 9465 ;; 9466 esac 9467 9468 exp_sym_flag='-bexport' 9469 no_entry_flag='-bnoentry' 9470 fi 9471 9472 # When large executables or shared objects are built, AIX ld can 9473 # have problems creating the table of contents. If linking a library 9474 # or program results in "error TOC overflow" add -mminimal-toc to 9475 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9476 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9477 9478 archive_cmds='' 9479 hardcode_direct=yes 9480 hardcode_direct_absolute=yes 9481 hardcode_libdir_separator=':' 9482 link_all_deplibs=yes 9483 file_list_spec='${wl}-f,' 9484 9485 if test "$GCC" = yes; then 9486 case $host_os in aix4.[012]|aix4.[012].*) 9487 # We only want to do this on AIX 4.2 and lower, the check 9488 # below for broken collect2 doesn't work under 4.3+ 9489 collect2name=`${CC} -print-prog-name=collect2` 9490 if test -f "$collect2name" && 9491 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9492 then 9493 # We have reworked collect2 9494 : 9495 else 9496 # We have old collect2 9497 hardcode_direct=unsupported 9498 # It fails to find uninstalled libraries when the uninstalled 9499 # path is not listed in the libpath. Setting hardcode_minus_L 9500 # to unsupported forces relinking 9501 hardcode_minus_L=yes 9502 hardcode_libdir_flag_spec='-L$libdir' 9503 hardcode_libdir_separator= 9504 fi 9505 ;; 9506 esac 9507 shared_flag='-shared' 9508 if test "$aix_use_runtimelinking" = yes; then 9509 shared_flag="$shared_flag "'${wl}-G' 9510 fi 9511 else 9512 # not using gcc 9513 if test "$host_cpu" = ia64; then 9514 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9515 # chokes on -Wl,-G. The following line is correct: 9516 shared_flag='-G' 9517 else 9518 if test "$aix_use_runtimelinking" = yes; then 9519 shared_flag='${wl}-G' 9520 else 9521 shared_flag='${wl}-bM:SRE' 9522 fi 9523 fi 9524 fi 9525 9526 export_dynamic_flag_spec='${wl}-bexpall' 9527 # It seems that -bexpall does not export symbols beginning with 9528 # underscore (_), so it is better to generate a list of symbols to export. 9529 always_export_symbols=yes 9530 if test "$aix_use_runtimelinking" = yes; then 9531 # Warning - without using the other runtime loading flags (-brtl), 9532 # -berok will link without error, but may produce a broken library. 9533 allow_undefined_flag='-berok' 9534 # Determine the default libpath from the value encoded in an 9535 # empty executable. 9536 if test "${lt_cv_aix_libpath+set}" = set; then 9537 aix_libpath=$lt_cv_aix_libpath 9538else 9539 if ${lt_cv_aix_libpath_+:} false; then : 9540 $as_echo_n "(cached) " >&6 9541else 9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9543/* end confdefs.h. */ 9544 9545int 9546main () 9547{ 9548 9549 ; 9550 return 0; 9551} 9552_ACEOF 9553if ac_fn_c_try_link "$LINENO"; then : 9554 9555 lt_aix_libpath_sed=' 9556 /Import File Strings/,/^$/ { 9557 /^0/ { 9558 s/^0 *\([^ ]*\) *$/\1/ 9559 p 9560 } 9561 }' 9562 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9563 # Check for a 64-bit object if we didn't find anything. 9564 if test -z "$lt_cv_aix_libpath_"; then 9565 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9566 fi 9567fi 9568rm -f core conftest.err conftest.$ac_objext \ 9569 conftest$ac_exeext conftest.$ac_ext 9570 if test -z "$lt_cv_aix_libpath_"; then 9571 lt_cv_aix_libpath_="/usr/lib:/lib" 9572 fi 9573 9574fi 9575 9576 aix_libpath=$lt_cv_aix_libpath_ 9577fi 9578 9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9580 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9581 else 9582 if test "$host_cpu" = ia64; then 9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9584 allow_undefined_flag="-z nodefs" 9585 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" 9586 else 9587 # Determine the default libpath from the value encoded in an 9588 # empty executable. 9589 if test "${lt_cv_aix_libpath+set}" = set; then 9590 aix_libpath=$lt_cv_aix_libpath 9591else 9592 if ${lt_cv_aix_libpath_+:} false; then : 9593 $as_echo_n "(cached) " >&6 9594else 9595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9596/* end confdefs.h. */ 9597 9598int 9599main () 9600{ 9601 9602 ; 9603 return 0; 9604} 9605_ACEOF 9606if ac_fn_c_try_link "$LINENO"; then : 9607 9608 lt_aix_libpath_sed=' 9609 /Import File Strings/,/^$/ { 9610 /^0/ { 9611 s/^0 *\([^ ]*\) *$/\1/ 9612 p 9613 } 9614 }' 9615 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9616 # Check for a 64-bit object if we didn't find anything. 9617 if test -z "$lt_cv_aix_libpath_"; then 9618 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9619 fi 9620fi 9621rm -f core conftest.err conftest.$ac_objext \ 9622 conftest$ac_exeext conftest.$ac_ext 9623 if test -z "$lt_cv_aix_libpath_"; then 9624 lt_cv_aix_libpath_="/usr/lib:/lib" 9625 fi 9626 9627fi 9628 9629 aix_libpath=$lt_cv_aix_libpath_ 9630fi 9631 9632 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9633 # Warning - without using the other run time loading flags, 9634 # -berok will link without error, but may produce a broken library. 9635 no_undefined_flag=' ${wl}-bernotok' 9636 allow_undefined_flag=' ${wl}-berok' 9637 if test "$with_gnu_ld" = yes; then 9638 # We only use this code for GNU lds that support --whole-archive. 9639 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9640 else 9641 # Exported symbols can be pulled into shared objects from archives 9642 whole_archive_flag_spec='$convenience' 9643 fi 9644 archive_cmds_need_lc=yes 9645 # This is similar to how AIX traditionally builds its shared libraries. 9646 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' 9647 fi 9648 fi 9649 ;; 9650 9651 amigaos*) 9652 case $host_cpu in 9653 powerpc) 9654 # see comment about AmigaOS4 .so support 9655 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9656 archive_expsym_cmds='' 9657 ;; 9658 m68k) 9659 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)' 9660 hardcode_libdir_flag_spec='-L$libdir' 9661 hardcode_minus_L=yes 9662 ;; 9663 esac 9664 ;; 9665 9666 bsdi[45]*) 9667 export_dynamic_flag_spec=-rdynamic 9668 ;; 9669 9670 cygwin* | mingw* | pw32* | cegcc*) 9671 # When not using gcc, we currently assume that we are using 9672 # Microsoft Visual C++. 9673 # hardcode_libdir_flag_spec is actually meaningless, as there is 9674 # no search path for DLLs. 9675 case $cc_basename in 9676 cl*) 9677 # Native MSVC 9678 hardcode_libdir_flag_spec=' ' 9679 allow_undefined_flag=unsupported 9680 always_export_symbols=yes 9681 file_list_spec='@' 9682 # Tell ltmain to make .lib files, not .a files. 9683 libext=lib 9684 # Tell ltmain to make .dll files, not .so files. 9685 shrext_cmds=".dll" 9686 # FIXME: Setting linknames here is a bad hack. 9687 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9688 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9689 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9690 else 9691 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9692 fi~ 9693 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9694 linknames=' 9695 # The linker will not automatically build a static lib if we build a DLL. 9696 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9697 enable_shared_with_static_runtimes=yes 9698 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9699 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9700 # Don't use ranlib 9701 old_postinstall_cmds='chmod 644 $oldlib' 9702 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9703 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9704 case $lt_outputfile in 9705 *.exe|*.EXE) ;; 9706 *) 9707 lt_outputfile="$lt_outputfile.exe" 9708 lt_tool_outputfile="$lt_tool_outputfile.exe" 9709 ;; 9710 esac~ 9711 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9712 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9713 $RM "$lt_outputfile.manifest"; 9714 fi' 9715 ;; 9716 *) 9717 # Assume MSVC wrapper 9718 hardcode_libdir_flag_spec=' ' 9719 allow_undefined_flag=unsupported 9720 # Tell ltmain to make .lib files, not .a files. 9721 libext=lib 9722 # Tell ltmain to make .dll files, not .so files. 9723 shrext_cmds=".dll" 9724 # FIXME: Setting linknames here is a bad hack. 9725 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9726 # The linker will automatically build a .lib file if we build a DLL. 9727 old_archive_from_new_cmds='true' 9728 # FIXME: Should let the user specify the lib program. 9729 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9730 enable_shared_with_static_runtimes=yes 9731 ;; 9732 esac 9733 ;; 9734 9735 darwin* | rhapsody*) 9736 9737 9738 archive_cmds_need_lc=no 9739 hardcode_direct=no 9740 hardcode_automatic=yes 9741 hardcode_shlibpath_var=unsupported 9742 if test "$lt_cv_ld_force_load" = "yes"; then 9743 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 9744 9745 else 9746 whole_archive_flag_spec='' 9747 fi 9748 link_all_deplibs=yes 9749 allow_undefined_flag="$_lt_dar_allow_undefined" 9750 case $cc_basename in 9751 ifort*) _lt_dar_can_shared=yes ;; 9752 *) _lt_dar_can_shared=$GCC ;; 9753 esac 9754 if test "$_lt_dar_can_shared" = "yes"; then 9755 output_verbose_link_cmd=func_echo_all 9756 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9757 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9758 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}" 9759 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}" 9760 9761 else 9762 ld_shlibs=no 9763 fi 9764 9765 ;; 9766 9767 dgux*) 9768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9769 hardcode_libdir_flag_spec='-L$libdir' 9770 hardcode_shlibpath_var=no 9771 ;; 9772 9773 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9774 # support. Future versions do this automatically, but an explicit c++rt0.o 9775 # does not break anything, and helps significantly (at the cost of a little 9776 # extra space). 9777 freebsd2.2*) 9778 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9779 hardcode_libdir_flag_spec='-R$libdir' 9780 hardcode_direct=yes 9781 hardcode_shlibpath_var=no 9782 ;; 9783 9784 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9785 freebsd2.*) 9786 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9787 hardcode_direct=yes 9788 hardcode_minus_L=yes 9789 hardcode_shlibpath_var=no 9790 ;; 9791 9792 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9793 freebsd* | dragonfly*) 9794 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9795 hardcode_libdir_flag_spec='-R$libdir' 9796 hardcode_direct=yes 9797 hardcode_shlibpath_var=no 9798 ;; 9799 9800 hpux9*) 9801 if test "$GCC" = yes; then 9802 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9803 else 9804 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' 9805 fi 9806 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9807 hardcode_libdir_separator=: 9808 hardcode_direct=yes 9809 9810 # hardcode_minus_L: Not really in the search PATH, 9811 # but as the default location of the library. 9812 hardcode_minus_L=yes 9813 export_dynamic_flag_spec='${wl}-E' 9814 ;; 9815 9816 hpux10*) 9817 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9818 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9819 else 9820 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9821 fi 9822 if test "$with_gnu_ld" = no; then 9823 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9824 hardcode_libdir_separator=: 9825 hardcode_direct=yes 9826 hardcode_direct_absolute=yes 9827 export_dynamic_flag_spec='${wl}-E' 9828 # hardcode_minus_L: Not really in the search PATH, 9829 # but as the default location of the library. 9830 hardcode_minus_L=yes 9831 fi 9832 ;; 9833 9834 hpux11*) 9835 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9836 case $host_cpu in 9837 hppa*64*) 9838 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9839 ;; 9840 ia64*) 9841 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9842 ;; 9843 *) 9844 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9845 ;; 9846 esac 9847 else 9848 case $host_cpu in 9849 hppa*64*) 9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9851 ;; 9852 ia64*) 9853 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9854 ;; 9855 *) 9856 9857 # Older versions of the 11.00 compiler do not understand -b yet 9858 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9860$as_echo_n "checking if $CC understands -b... " >&6; } 9861if ${lt_cv_prog_compiler__b+:} false; then : 9862 $as_echo_n "(cached) " >&6 9863else 9864 lt_cv_prog_compiler__b=no 9865 save_LDFLAGS="$LDFLAGS" 9866 LDFLAGS="$LDFLAGS -b" 9867 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9868 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9869 # The linker can only warn and ignore the option if not recognized 9870 # So say no if there are warnings 9871 if test -s conftest.err; then 9872 # Append any errors to the config.log. 9873 cat conftest.err 1>&5 9874 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9875 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9876 if diff conftest.exp conftest.er2 >/dev/null; then 9877 lt_cv_prog_compiler__b=yes 9878 fi 9879 else 9880 lt_cv_prog_compiler__b=yes 9881 fi 9882 fi 9883 $RM -r conftest* 9884 LDFLAGS="$save_LDFLAGS" 9885 9886fi 9887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9888$as_echo "$lt_cv_prog_compiler__b" >&6; } 9889 9890if test x"$lt_cv_prog_compiler__b" = xyes; then 9891 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9892else 9893 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9894fi 9895 9896 ;; 9897 esac 9898 fi 9899 if test "$with_gnu_ld" = no; then 9900 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9901 hardcode_libdir_separator=: 9902 9903 case $host_cpu in 9904 hppa*64*|ia64*) 9905 hardcode_direct=no 9906 hardcode_shlibpath_var=no 9907 ;; 9908 *) 9909 hardcode_direct=yes 9910 hardcode_direct_absolute=yes 9911 export_dynamic_flag_spec='${wl}-E' 9912 9913 # hardcode_minus_L: Not really in the search PATH, 9914 # but as the default location of the library. 9915 hardcode_minus_L=yes 9916 ;; 9917 esac 9918 fi 9919 ;; 9920 9921 irix5* | irix6* | nonstopux*) 9922 if test "$GCC" = yes; then 9923 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9924 # Try to use the -exported_symbol ld option, if it does not 9925 # work, assume that -exports_file does not work either and 9926 # implicitly export all symbols. 9927 # This should be the same for all languages, so no per-tag cache variable. 9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9929$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9930if ${lt_cv_irix_exported_symbol+:} false; then : 9931 $as_echo_n "(cached) " >&6 9932else 9933 save_LDFLAGS="$LDFLAGS" 9934 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9936/* end confdefs.h. */ 9937int foo (void) { return 0; } 9938_ACEOF 9939if ac_fn_c_try_link "$LINENO"; then : 9940 lt_cv_irix_exported_symbol=yes 9941else 9942 lt_cv_irix_exported_symbol=no 9943fi 9944rm -f core conftest.err conftest.$ac_objext \ 9945 conftest$ac_exeext conftest.$ac_ext 9946 LDFLAGS="$save_LDFLAGS" 9947fi 9948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9949$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9950 if test "$lt_cv_irix_exported_symbol" = yes; then 9951 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9952 fi 9953 else 9954 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9955 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9956 fi 9957 archive_cmds_need_lc='no' 9958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9959 hardcode_libdir_separator=: 9960 inherit_rpath=yes 9961 link_all_deplibs=yes 9962 ;; 9963 9964 netbsd*) 9965 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9966 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9967 else 9968 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9969 fi 9970 hardcode_libdir_flag_spec='-R$libdir' 9971 hardcode_direct=yes 9972 hardcode_shlibpath_var=no 9973 ;; 9974 9975 newsos6) 9976 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9977 hardcode_direct=yes 9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9979 hardcode_libdir_separator=: 9980 hardcode_shlibpath_var=no 9981 ;; 9982 9983 *nto* | *qnx*) 9984 ;; 9985 9986 openbsd*) 9987 if test -f /usr/libexec/ld.so; then 9988 hardcode_direct=yes 9989 hardcode_shlibpath_var=no 9990 hardcode_direct_absolute=yes 9991 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9992 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9993 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9994 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9995 export_dynamic_flag_spec='${wl}-E' 9996 else 9997 case $host_os in 9998 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9999 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10000 hardcode_libdir_flag_spec='-R$libdir' 10001 ;; 10002 *) 10003 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10004 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10005 ;; 10006 esac 10007 fi 10008 else 10009 ld_shlibs=no 10010 fi 10011 ;; 10012 10013 os2*) 10014 hardcode_libdir_flag_spec='-L$libdir' 10015 hardcode_minus_L=yes 10016 allow_undefined_flag=unsupported 10017 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' 10018 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10019 ;; 10020 10021 osf3*) 10022 if test "$GCC" = yes; then 10023 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10024 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10025 else 10026 allow_undefined_flag=' -expect_unresolved \*' 10027 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10028 fi 10029 archive_cmds_need_lc='no' 10030 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10031 hardcode_libdir_separator=: 10032 ;; 10033 10034 osf4* | osf5*) # as osf3* with the addition of -msym flag 10035 if test "$GCC" = yes; then 10036 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10037 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10039 else 10040 allow_undefined_flag=' -expect_unresolved \*' 10041 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10042 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~ 10043 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 10044 10045 # Both c and cxx compiler support -rpath directly 10046 hardcode_libdir_flag_spec='-rpath $libdir' 10047 fi 10048 archive_cmds_need_lc='no' 10049 hardcode_libdir_separator=: 10050 ;; 10051 10052 solaris*) 10053 no_undefined_flag=' -z defs' 10054 if test "$GCC" = yes; then 10055 wlarc='${wl}' 10056 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10057 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10058 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10059 else 10060 case `$CC -V 2>&1` in 10061 *"Compilers 5.0"*) 10062 wlarc='' 10063 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10064 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10065 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10066 ;; 10067 *) 10068 wlarc='${wl}' 10069 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10070 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10071 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10072 ;; 10073 esac 10074 fi 10075 hardcode_libdir_flag_spec='-R$libdir' 10076 hardcode_shlibpath_var=no 10077 case $host_os in 10078 solaris2.[0-5] | solaris2.[0-5].*) ;; 10079 *) 10080 # The compiler driver will combine and reorder linker options, 10081 # but understands `-z linker_flag'. GCC discards it without `$wl', 10082 # but is careful enough not to reorder. 10083 # Supported since Solaris 2.6 (maybe 2.5.1?) 10084 if test "$GCC" = yes; then 10085 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10086 else 10087 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10088 fi 10089 ;; 10090 esac 10091 link_all_deplibs=yes 10092 ;; 10093 10094 sunos4*) 10095 if test "x$host_vendor" = xsequent; then 10096 # Use $CC to link under sequent, because it throws in some extra .o 10097 # files that make .init and .fini sections work. 10098 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10099 else 10100 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10101 fi 10102 hardcode_libdir_flag_spec='-L$libdir' 10103 hardcode_direct=yes 10104 hardcode_minus_L=yes 10105 hardcode_shlibpath_var=no 10106 ;; 10107 10108 sysv4) 10109 case $host_vendor in 10110 sni) 10111 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10112 hardcode_direct=yes # is this really true??? 10113 ;; 10114 siemens) 10115 ## LD is ld it makes a PLAMLIB 10116 ## CC just makes a GrossModule. 10117 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10118 reload_cmds='$CC -r -o $output$reload_objs' 10119 hardcode_direct=no 10120 ;; 10121 motorola) 10122 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10123 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10124 ;; 10125 esac 10126 runpath_var='LD_RUN_PATH' 10127 hardcode_shlibpath_var=no 10128 ;; 10129 10130 sysv4.3*) 10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10132 hardcode_shlibpath_var=no 10133 export_dynamic_flag_spec='-Bexport' 10134 ;; 10135 10136 sysv4*MP*) 10137 if test -d /usr/nec; then 10138 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10139 hardcode_shlibpath_var=no 10140 runpath_var=LD_RUN_PATH 10141 hardcode_runpath_var=yes 10142 ld_shlibs=yes 10143 fi 10144 ;; 10145 10146 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10147 no_undefined_flag='${wl}-z,text' 10148 archive_cmds_need_lc=no 10149 hardcode_shlibpath_var=no 10150 runpath_var='LD_RUN_PATH' 10151 10152 if test "$GCC" = yes; then 10153 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10154 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10155 else 10156 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10157 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10158 fi 10159 ;; 10160 10161 sysv5* | sco3.2v5* | sco5v6*) 10162 # Note: We can NOT use -z defs as we might desire, because we do not 10163 # link with -lc, and that would cause any symbols used from libc to 10164 # always be unresolved, which means just about no library would 10165 # ever link correctly. If we're not using GNU ld we use -z text 10166 # though, which does catch some bad symbols but isn't as heavy-handed 10167 # as -z defs. 10168 no_undefined_flag='${wl}-z,text' 10169 allow_undefined_flag='${wl}-z,nodefs' 10170 archive_cmds_need_lc=no 10171 hardcode_shlibpath_var=no 10172 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10173 hardcode_libdir_separator=':' 10174 link_all_deplibs=yes 10175 export_dynamic_flag_spec='${wl}-Bexport' 10176 runpath_var='LD_RUN_PATH' 10177 10178 if test "$GCC" = yes; then 10179 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10180 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10181 else 10182 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10183 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10184 fi 10185 ;; 10186 10187 uts4*) 10188 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10189 hardcode_libdir_flag_spec='-L$libdir' 10190 hardcode_shlibpath_var=no 10191 ;; 10192 10193 *) 10194 ld_shlibs=no 10195 ;; 10196 esac 10197 10198 if test x$host_vendor = xsni; then 10199 case $host in 10200 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10201 export_dynamic_flag_spec='${wl}-Blargedynsym' 10202 ;; 10203 esac 10204 fi 10205 fi 10206 10207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10208$as_echo "$ld_shlibs" >&6; } 10209test "$ld_shlibs" = no && can_build_shared=no 10210 10211with_gnu_ld=$with_gnu_ld 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227# 10228# Do we need to explicitly link libc? 10229# 10230case "x$archive_cmds_need_lc" in 10231x|xyes) 10232 # Assume -lc should be added 10233 archive_cmds_need_lc=yes 10234 10235 if test "$enable_shared" = yes && test "$GCC" = yes; then 10236 case $archive_cmds in 10237 *'~'*) 10238 # FIXME: we may have to deal with multi-command sequences. 10239 ;; 10240 '$CC '*) 10241 # Test whether the compiler implicitly links with -lc since on some 10242 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10243 # to ld, don't add -lc before -lgcc. 10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10245$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10246if ${lt_cv_archive_cmds_need_lc+:} false; then : 10247 $as_echo_n "(cached) " >&6 10248else 10249 $RM conftest* 10250 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10251 10252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10253 (eval $ac_compile) 2>&5 10254 ac_status=$? 10255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10256 test $ac_status = 0; } 2>conftest.err; then 10257 soname=conftest 10258 lib=conftest 10259 libobjs=conftest.$ac_objext 10260 deplibs= 10261 wl=$lt_prog_compiler_wl 10262 pic_flag=$lt_prog_compiler_pic 10263 compiler_flags=-v 10264 linker_flags=-v 10265 verstring= 10266 output_objdir=. 10267 libname=conftest 10268 lt_save_allow_undefined_flag=$allow_undefined_flag 10269 allow_undefined_flag= 10270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10271 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10272 ac_status=$? 10273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10274 test $ac_status = 0; } 10275 then 10276 lt_cv_archive_cmds_need_lc=no 10277 else 10278 lt_cv_archive_cmds_need_lc=yes 10279 fi 10280 allow_undefined_flag=$lt_save_allow_undefined_flag 10281 else 10282 cat conftest.err 1>&5 10283 fi 10284 $RM conftest* 10285 10286fi 10287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10288$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10289 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10290 ;; 10291 esac 10292 fi 10293 ;; 10294esac 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10448$as_echo_n "checking dynamic linker characteristics... " >&6; } 10449 10450if test "$GCC" = yes; then 10451 case $host_os in 10452 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10453 *) lt_awk_arg="/^libraries:/" ;; 10454 esac 10455 case $host_os in 10456 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10457 *) lt_sed_strip_eq="s,=/,/,g" ;; 10458 esac 10459 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10460 case $lt_search_path_spec in 10461 *\;*) 10462 # if the path contains ";" then we assume it to be the separator 10463 # otherwise default to the standard path separator (i.e. ":") - it is 10464 # assumed that no part of a normal pathname contains ";" but that should 10465 # okay in the real world where ";" in dirpaths is itself problematic. 10466 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10467 ;; 10468 *) 10469 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10470 ;; 10471 esac 10472 # Ok, now we have the path, separated by spaces, we can step through it 10473 # and add multilib dir if necessary. 10474 lt_tmp_lt_search_path_spec= 10475 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10476 for lt_sys_path in $lt_search_path_spec; do 10477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10478 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10479 else 10480 test -d "$lt_sys_path" && \ 10481 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10482 fi 10483 done 10484 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10485BEGIN {RS=" "; FS="/|\n";} { 10486 lt_foo=""; 10487 lt_count=0; 10488 for (lt_i = NF; lt_i > 0; lt_i--) { 10489 if ($lt_i != "" && $lt_i != ".") { 10490 if ($lt_i == "..") { 10491 lt_count++; 10492 } else { 10493 if (lt_count == 0) { 10494 lt_foo="/" $lt_i lt_foo; 10495 } else { 10496 lt_count--; 10497 } 10498 } 10499 } 10500 } 10501 if (lt_foo != "") { lt_freq[lt_foo]++; } 10502 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10503}'` 10504 # AWK program above erroneously prepends '/' to C:/dos/paths 10505 # for these hosts. 10506 case $host_os in 10507 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10508 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10509 esac 10510 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10511else 10512 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10513fi 10514library_names_spec= 10515libname_spec='lib$name' 10516soname_spec= 10517shrext_cmds=".so" 10518postinstall_cmds= 10519postuninstall_cmds= 10520finish_cmds= 10521finish_eval= 10522shlibpath_var= 10523shlibpath_overrides_runpath=unknown 10524version_type=none 10525dynamic_linker="$host_os ld.so" 10526sys_lib_dlsearch_path_spec="/lib /usr/lib" 10527need_lib_prefix=unknown 10528hardcode_into_libs=no 10529 10530# when you set need_version to no, make sure it does not cause -set_version 10531# flags to be left without arguments 10532need_version=unknown 10533 10534case $host_os in 10535aix3*) 10536 version_type=linux # correct to gnu/linux during the next big refactor 10537 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10538 shlibpath_var=LIBPATH 10539 10540 # AIX 3 has no versioning support, so we append a major version to the name. 10541 soname_spec='${libname}${release}${shared_ext}$major' 10542 ;; 10543 10544aix[4-9]*) 10545 version_type=linux # correct to gnu/linux during the next big refactor 10546 need_lib_prefix=no 10547 need_version=no 10548 hardcode_into_libs=yes 10549 if test "$host_cpu" = ia64; then 10550 # AIX 5 supports IA64 10551 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10552 shlibpath_var=LD_LIBRARY_PATH 10553 else 10554 # With GCC up to 2.95.x, collect2 would create an import file 10555 # for dependence libraries. The import file would start with 10556 # the line `#! .'. This would cause the generated library to 10557 # depend on `.', always an invalid library. This was fixed in 10558 # development snapshots of GCC prior to 3.0. 10559 case $host_os in 10560 aix4 | aix4.[01] | aix4.[01].*) 10561 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10562 echo ' yes ' 10563 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10564 : 10565 else 10566 can_build_shared=no 10567 fi 10568 ;; 10569 esac 10570 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10571 # soname into executable. Probably we can add versioning support to 10572 # collect2, so additional links can be useful in future. 10573 if test "$aix_use_runtimelinking" = yes; then 10574 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10575 # instead of lib<name>.a to let people know that these are not 10576 # typical AIX shared libraries. 10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10578 else 10579 # We preserve .a as extension for shared libraries through AIX4.2 10580 # and later when we are not doing run time linking. 10581 library_names_spec='${libname}${release}.a $libname.a' 10582 soname_spec='${libname}${release}${shared_ext}$major' 10583 fi 10584 shlibpath_var=LIBPATH 10585 fi 10586 ;; 10587 10588amigaos*) 10589 case $host_cpu in 10590 powerpc) 10591 # Since July 2007 AmigaOS4 officially supports .so libraries. 10592 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10594 ;; 10595 m68k) 10596 library_names_spec='$libname.ixlibrary $libname.a' 10597 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10598 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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' 10599 ;; 10600 esac 10601 ;; 10602 10603beos*) 10604 library_names_spec='${libname}${shared_ext}' 10605 dynamic_linker="$host_os ld.so" 10606 shlibpath_var=LIBRARY_PATH 10607 ;; 10608 10609bsdi[45]*) 10610 version_type=linux # correct to gnu/linux during the next big refactor 10611 need_version=no 10612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10613 soname_spec='${libname}${release}${shared_ext}$major' 10614 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10615 shlibpath_var=LD_LIBRARY_PATH 10616 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10617 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10618 # the default ld.so.conf also contains /usr/contrib/lib and 10619 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10620 # libtool to hard-code these into programs 10621 ;; 10622 10623cygwin* | mingw* | pw32* | cegcc*) 10624 version_type=windows 10625 shrext_cmds=".dll" 10626 need_version=no 10627 need_lib_prefix=no 10628 10629 case $GCC,$cc_basename in 10630 yes,*) 10631 # gcc 10632 library_names_spec='$libname.dll.a' 10633 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10634 postinstall_cmds='base_file=`basename \${file}`~ 10635 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10636 dldir=$destdir/`dirname \$dlpath`~ 10637 test -d \$dldir || mkdir -p \$dldir~ 10638 $install_prog $dir/$dlname \$dldir/$dlname~ 10639 chmod a+x \$dldir/$dlname~ 10640 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10641 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10642 fi' 10643 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10644 dlpath=$dir/\$dldll~ 10645 $RM \$dlpath' 10646 shlibpath_overrides_runpath=yes 10647 10648 case $host_os in 10649 cygwin*) 10650 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10651 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10652 10653 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10654 ;; 10655 mingw* | cegcc*) 10656 # MinGW DLLs use traditional 'lib' prefix 10657 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10658 ;; 10659 pw32*) 10660 # pw32 DLLs use 'pw' prefix rather than 'lib' 10661 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10662 ;; 10663 esac 10664 dynamic_linker='Win32 ld.exe' 10665 ;; 10666 10667 *,cl*) 10668 # Native MSVC 10669 libname_spec='$name' 10670 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10671 library_names_spec='${libname}.dll.lib' 10672 10673 case $build_os in 10674 mingw*) 10675 sys_lib_search_path_spec= 10676 lt_save_ifs=$IFS 10677 IFS=';' 10678 for lt_path in $LIB 10679 do 10680 IFS=$lt_save_ifs 10681 # Let DOS variable expansion print the short 8.3 style file name. 10682 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10683 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10684 done 10685 IFS=$lt_save_ifs 10686 # Convert to MSYS style. 10687 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10688 ;; 10689 cygwin*) 10690 # Convert to unix form, then to dos form, then back to unix form 10691 # but this time dos style (no spaces!) so that the unix form looks 10692 # like /cygdrive/c/PROGRA~1:/cygdr... 10693 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10694 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10695 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10696 ;; 10697 *) 10698 sys_lib_search_path_spec="$LIB" 10699 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10700 # It is most probably a Windows format PATH. 10701 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10702 else 10703 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10704 fi 10705 # FIXME: find the short name or the path components, as spaces are 10706 # common. (e.g. "Program Files" -> "PROGRA~1") 10707 ;; 10708 esac 10709 10710 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10711 postinstall_cmds='base_file=`basename \${file}`~ 10712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10713 dldir=$destdir/`dirname \$dlpath`~ 10714 test -d \$dldir || mkdir -p \$dldir~ 10715 $install_prog $dir/$dlname \$dldir/$dlname' 10716 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10717 dlpath=$dir/\$dldll~ 10718 $RM \$dlpath' 10719 shlibpath_overrides_runpath=yes 10720 dynamic_linker='Win32 link.exe' 10721 ;; 10722 10723 *) 10724 # Assume MSVC wrapper 10725 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10726 dynamic_linker='Win32 ld.exe' 10727 ;; 10728 esac 10729 # FIXME: first we should search . and the directory the executable is in 10730 shlibpath_var=PATH 10731 ;; 10732 10733darwin* | rhapsody*) 10734 dynamic_linker="$host_os dyld" 10735 version_type=darwin 10736 need_lib_prefix=no 10737 need_version=no 10738 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10739 soname_spec='${libname}${release}${major}$shared_ext' 10740 shlibpath_overrides_runpath=yes 10741 shlibpath_var=DYLD_LIBRARY_PATH 10742 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10743 10744 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10745 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10746 ;; 10747 10748dgux*) 10749 version_type=linux # correct to gnu/linux during the next big refactor 10750 need_lib_prefix=no 10751 need_version=no 10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10753 soname_spec='${libname}${release}${shared_ext}$major' 10754 shlibpath_var=LD_LIBRARY_PATH 10755 ;; 10756 10757freebsd* | dragonfly*) 10758 # DragonFly does not have aout. When/if they implement a new 10759 # versioning mechanism, adjust this. 10760 if test -x /usr/bin/objformat; then 10761 objformat=`/usr/bin/objformat` 10762 else 10763 case $host_os in 10764 freebsd[23].*) objformat=aout ;; 10765 *) objformat=elf ;; 10766 esac 10767 fi 10768 version_type=freebsd-$objformat 10769 case $version_type in 10770 freebsd-elf*) 10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10772 need_version=no 10773 need_lib_prefix=no 10774 ;; 10775 freebsd-*) 10776 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10777 need_version=yes 10778 ;; 10779 esac 10780 shlibpath_var=LD_LIBRARY_PATH 10781 case $host_os in 10782 freebsd2.*) 10783 shlibpath_overrides_runpath=yes 10784 ;; 10785 freebsd3.[01]* | freebsdelf3.[01]*) 10786 shlibpath_overrides_runpath=yes 10787 hardcode_into_libs=yes 10788 ;; 10789 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10790 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10791 shlibpath_overrides_runpath=no 10792 hardcode_into_libs=yes 10793 ;; 10794 *) # from 4.6 on, and DragonFly 10795 shlibpath_overrides_runpath=yes 10796 hardcode_into_libs=yes 10797 ;; 10798 esac 10799 ;; 10800 10801gnu*) 10802 version_type=linux # correct to gnu/linux during the next big refactor 10803 need_lib_prefix=no 10804 need_version=no 10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10806 soname_spec='${libname}${release}${shared_ext}$major' 10807 shlibpath_var=LD_LIBRARY_PATH 10808 shlibpath_overrides_runpath=no 10809 hardcode_into_libs=yes 10810 ;; 10811 10812haiku*) 10813 version_type=linux # correct to gnu/linux during the next big refactor 10814 need_lib_prefix=no 10815 need_version=no 10816 dynamic_linker="$host_os runtime_loader" 10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10818 soname_spec='${libname}${release}${shared_ext}$major' 10819 shlibpath_var=LIBRARY_PATH 10820 shlibpath_overrides_runpath=yes 10821 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10822 hardcode_into_libs=yes 10823 ;; 10824 10825hpux9* | hpux10* | hpux11*) 10826 # Give a soname corresponding to the major version so that dld.sl refuses to 10827 # link against other versions. 10828 version_type=sunos 10829 need_lib_prefix=no 10830 need_version=no 10831 case $host_cpu in 10832 ia64*) 10833 shrext_cmds='.so' 10834 hardcode_into_libs=yes 10835 dynamic_linker="$host_os dld.so" 10836 shlibpath_var=LD_LIBRARY_PATH 10837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10839 soname_spec='${libname}${release}${shared_ext}$major' 10840 if test "X$HPUX_IA64_MODE" = X32; then 10841 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10842 else 10843 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10844 fi 10845 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10846 ;; 10847 hppa*64*) 10848 shrext_cmds='.sl' 10849 hardcode_into_libs=yes 10850 dynamic_linker="$host_os dld.sl" 10851 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10854 soname_spec='${libname}${release}${shared_ext}$major' 10855 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10856 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10857 ;; 10858 *) 10859 shrext_cmds='.sl' 10860 dynamic_linker="$host_os dld.sl" 10861 shlibpath_var=SHLIB_PATH 10862 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10864 soname_spec='${libname}${release}${shared_ext}$major' 10865 ;; 10866 esac 10867 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10868 postinstall_cmds='chmod 555 $lib' 10869 # or fails outright, so override atomically: 10870 install_override_mode=555 10871 ;; 10872 10873interix[3-9]*) 10874 version_type=linux # correct to gnu/linux during the next big refactor 10875 need_lib_prefix=no 10876 need_version=no 10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10878 soname_spec='${libname}${release}${shared_ext}$major' 10879 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10880 shlibpath_var=LD_LIBRARY_PATH 10881 shlibpath_overrides_runpath=no 10882 hardcode_into_libs=yes 10883 ;; 10884 10885irix5* | irix6* | nonstopux*) 10886 case $host_os in 10887 nonstopux*) version_type=nonstopux ;; 10888 *) 10889 if test "$lt_cv_prog_gnu_ld" = yes; then 10890 version_type=linux # correct to gnu/linux during the next big refactor 10891 else 10892 version_type=irix 10893 fi ;; 10894 esac 10895 need_lib_prefix=no 10896 need_version=no 10897 soname_spec='${libname}${release}${shared_ext}$major' 10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10899 case $host_os in 10900 irix5* | nonstopux*) 10901 libsuff= shlibsuff= 10902 ;; 10903 *) 10904 case $LD in # libtool.m4 will add one of these switches to LD 10905 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10906 libsuff= shlibsuff= libmagic=32-bit;; 10907 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10908 libsuff=32 shlibsuff=N32 libmagic=N32;; 10909 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10910 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10911 *) libsuff= shlibsuff= libmagic=never-match;; 10912 esac 10913 ;; 10914 esac 10915 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10916 shlibpath_overrides_runpath=no 10917 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10918 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10919 hardcode_into_libs=yes 10920 ;; 10921 10922# No shared lib support for Linux oldld, aout, or coff. 10923linux*oldld* | linux*aout* | linux*coff*) 10924 dynamic_linker=no 10925 ;; 10926 10927# This must be glibc/ELF. 10928linux* | k*bsd*-gnu | kopensolaris*-gnu) 10929 version_type=linux # correct to gnu/linux during the next big refactor 10930 need_lib_prefix=no 10931 need_version=no 10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10933 soname_spec='${libname}${release}${shared_ext}$major' 10934 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10935 shlibpath_var=LD_LIBRARY_PATH 10936 shlibpath_overrides_runpath=no 10937 10938 # Some binutils ld are patched to set DT_RUNPATH 10939 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10940 $as_echo_n "(cached) " >&6 10941else 10942 lt_cv_shlibpath_overrides_runpath=no 10943 save_LDFLAGS=$LDFLAGS 10944 save_libdir=$libdir 10945 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10946 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10948/* end confdefs.h. */ 10949 10950int 10951main () 10952{ 10953 10954 ; 10955 return 0; 10956} 10957_ACEOF 10958if ac_fn_c_try_link "$LINENO"; then : 10959 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10960 lt_cv_shlibpath_overrides_runpath=yes 10961fi 10962fi 10963rm -f core conftest.err conftest.$ac_objext \ 10964 conftest$ac_exeext conftest.$ac_ext 10965 LDFLAGS=$save_LDFLAGS 10966 libdir=$save_libdir 10967 10968fi 10969 10970 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10971 10972 # This implies no fast_install, which is unacceptable. 10973 # Some rework will be needed to allow for fast_install 10974 # before this can be enabled. 10975 hardcode_into_libs=yes 10976 10977 # Add ABI-specific directories to the system library path. 10978 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10979 10980 # Append ld.so.conf contents to the search path 10981 if test -f /etc/ld.so.conf; then 10982 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;s/"//g;/^$/d' | tr '\n' ' '` 10983 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10984 10985 fi 10986 10987 # We used to test for /lib/ld.so.1 and disable shared libraries on 10988 # powerpc, because MkLinux only supported shared libraries with the 10989 # GNU dynamic linker. Since this was broken with cross compilers, 10990 # most powerpc-linux boxes support dynamic linking these days and 10991 # people can always --disable-shared, the test was removed, and we 10992 # assume the GNU/Linux dynamic linker is in use. 10993 dynamic_linker='GNU/Linux ld.so' 10994 ;; 10995 10996netbsd*) 10997 version_type=sunos 10998 need_lib_prefix=no 10999 need_version=no 11000 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11002 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11003 dynamic_linker='NetBSD (a.out) ld.so' 11004 else 11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11006 soname_spec='${libname}${release}${shared_ext}$major' 11007 dynamic_linker='NetBSD ld.elf_so' 11008 fi 11009 shlibpath_var=LD_LIBRARY_PATH 11010 shlibpath_overrides_runpath=yes 11011 hardcode_into_libs=yes 11012 ;; 11013 11014newsos6) 11015 version_type=linux # correct to gnu/linux during the next big refactor 11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11017 shlibpath_var=LD_LIBRARY_PATH 11018 shlibpath_overrides_runpath=yes 11019 ;; 11020 11021*nto* | *qnx*) 11022 version_type=qnx 11023 need_lib_prefix=no 11024 need_version=no 11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11026 soname_spec='${libname}${release}${shared_ext}$major' 11027 shlibpath_var=LD_LIBRARY_PATH 11028 shlibpath_overrides_runpath=no 11029 hardcode_into_libs=yes 11030 dynamic_linker='ldqnx.so' 11031 ;; 11032 11033openbsd*) 11034 version_type=sunos 11035 sys_lib_dlsearch_path_spec="/usr/lib" 11036 need_lib_prefix=no 11037 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11038 case $host_os in 11039 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11040 *) need_version=no ;; 11041 esac 11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11043 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11044 shlibpath_var=LD_LIBRARY_PATH 11045 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11046 case $host_os in 11047 openbsd2.[89] | openbsd2.[89].*) 11048 shlibpath_overrides_runpath=no 11049 ;; 11050 *) 11051 shlibpath_overrides_runpath=yes 11052 ;; 11053 esac 11054 else 11055 shlibpath_overrides_runpath=yes 11056 fi 11057 ;; 11058 11059os2*) 11060 libname_spec='$name' 11061 shrext_cmds=".dll" 11062 need_lib_prefix=no 11063 library_names_spec='$libname${shared_ext} $libname.a' 11064 dynamic_linker='OS/2 ld.exe' 11065 shlibpath_var=LIBPATH 11066 ;; 11067 11068osf3* | osf4* | osf5*) 11069 version_type=osf 11070 need_lib_prefix=no 11071 need_version=no 11072 soname_spec='${libname}${release}${shared_ext}$major' 11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11074 shlibpath_var=LD_LIBRARY_PATH 11075 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11076 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11077 ;; 11078 11079rdos*) 11080 dynamic_linker=no 11081 ;; 11082 11083solaris*) 11084 version_type=linux # correct to gnu/linux during the next big refactor 11085 need_lib_prefix=no 11086 need_version=no 11087 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11088 soname_spec='${libname}${release}${shared_ext}$major' 11089 shlibpath_var=LD_LIBRARY_PATH 11090 shlibpath_overrides_runpath=yes 11091 hardcode_into_libs=yes 11092 # ldd complains unless libraries are executable 11093 postinstall_cmds='chmod +x $lib' 11094 ;; 11095 11096sunos4*) 11097 version_type=sunos 11098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11099 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11100 shlibpath_var=LD_LIBRARY_PATH 11101 shlibpath_overrides_runpath=yes 11102 if test "$with_gnu_ld" = yes; then 11103 need_lib_prefix=no 11104 fi 11105 need_version=yes 11106 ;; 11107 11108sysv4 | sysv4.3*) 11109 version_type=linux # correct to gnu/linux during the next big refactor 11110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11111 soname_spec='${libname}${release}${shared_ext}$major' 11112 shlibpath_var=LD_LIBRARY_PATH 11113 case $host_vendor in 11114 sni) 11115 shlibpath_overrides_runpath=no 11116 need_lib_prefix=no 11117 runpath_var=LD_RUN_PATH 11118 ;; 11119 siemens) 11120 need_lib_prefix=no 11121 ;; 11122 motorola) 11123 need_lib_prefix=no 11124 need_version=no 11125 shlibpath_overrides_runpath=no 11126 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11127 ;; 11128 esac 11129 ;; 11130 11131sysv4*MP*) 11132 if test -d /usr/nec ;then 11133 version_type=linux # correct to gnu/linux during the next big refactor 11134 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11135 soname_spec='$libname${shared_ext}.$major' 11136 shlibpath_var=LD_LIBRARY_PATH 11137 fi 11138 ;; 11139 11140sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11141 version_type=freebsd-elf 11142 need_lib_prefix=no 11143 need_version=no 11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11145 soname_spec='${libname}${release}${shared_ext}$major' 11146 shlibpath_var=LD_LIBRARY_PATH 11147 shlibpath_overrides_runpath=yes 11148 hardcode_into_libs=yes 11149 if test "$with_gnu_ld" = yes; then 11150 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11151 else 11152 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11153 case $host_os in 11154 sco3.2v5*) 11155 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11156 ;; 11157 esac 11158 fi 11159 sys_lib_dlsearch_path_spec='/usr/lib' 11160 ;; 11161 11162tpf*) 11163 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11164 version_type=linux # correct to gnu/linux during the next big refactor 11165 need_lib_prefix=no 11166 need_version=no 11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11168 shlibpath_var=LD_LIBRARY_PATH 11169 shlibpath_overrides_runpath=no 11170 hardcode_into_libs=yes 11171 ;; 11172 11173uts4*) 11174 version_type=linux # correct to gnu/linux during the next big refactor 11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11176 soname_spec='${libname}${release}${shared_ext}$major' 11177 shlibpath_var=LD_LIBRARY_PATH 11178 ;; 11179 11180*) 11181 dynamic_linker=no 11182 ;; 11183esac 11184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11185$as_echo "$dynamic_linker" >&6; } 11186test "$dynamic_linker" = no && can_build_shared=no 11187 11188variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11189if test "$GCC" = yes; then 11190 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11191fi 11192 11193if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11194 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11195fi 11196if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11197 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11198fi 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11292$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11293hardcode_action= 11294if test -n "$hardcode_libdir_flag_spec" || 11295 test -n "$runpath_var" || 11296 test "X$hardcode_automatic" = "Xyes" ; then 11297 11298 # We can hardcode non-existent directories. 11299 if test "$hardcode_direct" != no && 11300 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11301 # have to relink, otherwise we might link with an installed library 11302 # when we should be linking with a yet-to-be-installed one 11303 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11304 test "$hardcode_minus_L" != no; then 11305 # Linking always hardcodes the temporary library directory. 11306 hardcode_action=relink 11307 else 11308 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11309 hardcode_action=immediate 11310 fi 11311else 11312 # We cannot hardcode anything, or else we can only hardcode existing 11313 # directories. 11314 hardcode_action=unsupported 11315fi 11316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11317$as_echo "$hardcode_action" >&6; } 11318 11319if test "$hardcode_action" = relink || 11320 test "$inherit_rpath" = yes; then 11321 # Fast installation is not supported 11322 enable_fast_install=no 11323elif test "$shlibpath_overrides_runpath" = yes || 11324 test "$enable_shared" = no; then 11325 # Fast installation is not necessary 11326 enable_fast_install=needless 11327fi 11328 11329 11330 11331 11332 11333 11334 if test "x$enable_dlopen" != xyes; then 11335 enable_dlopen=unknown 11336 enable_dlopen_self=unknown 11337 enable_dlopen_self_static=unknown 11338else 11339 lt_cv_dlopen=no 11340 lt_cv_dlopen_libs= 11341 11342 case $host_os in 11343 beos*) 11344 lt_cv_dlopen="load_add_on" 11345 lt_cv_dlopen_libs= 11346 lt_cv_dlopen_self=yes 11347 ;; 11348 11349 mingw* | pw32* | cegcc*) 11350 lt_cv_dlopen="LoadLibrary" 11351 lt_cv_dlopen_libs= 11352 ;; 11353 11354 cygwin*) 11355 lt_cv_dlopen="dlopen" 11356 lt_cv_dlopen_libs= 11357 ;; 11358 11359 darwin*) 11360 # if libdl is installed we need to link against it 11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11362$as_echo_n "checking for dlopen in -ldl... " >&6; } 11363if ${ac_cv_lib_dl_dlopen+:} false; then : 11364 $as_echo_n "(cached) " >&6 11365else 11366 ac_check_lib_save_LIBS=$LIBS 11367LIBS="-ldl $LIBS" 11368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11369/* end confdefs.h. */ 11370 11371/* Override any GCC internal prototype to avoid an error. 11372 Use char because int might match the return type of a GCC 11373 builtin and then its argument prototype would still apply. */ 11374#ifdef __cplusplus 11375extern "C" 11376#endif 11377char dlopen (); 11378int 11379main () 11380{ 11381return dlopen (); 11382 ; 11383 return 0; 11384} 11385_ACEOF 11386if ac_fn_c_try_link "$LINENO"; then : 11387 ac_cv_lib_dl_dlopen=yes 11388else 11389 ac_cv_lib_dl_dlopen=no 11390fi 11391rm -f core conftest.err conftest.$ac_objext \ 11392 conftest$ac_exeext conftest.$ac_ext 11393LIBS=$ac_check_lib_save_LIBS 11394fi 11395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11396$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11397if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11398 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11399else 11400 11401 lt_cv_dlopen="dyld" 11402 lt_cv_dlopen_libs= 11403 lt_cv_dlopen_self=yes 11404 11405fi 11406 11407 ;; 11408 11409 *) 11410 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11411if test "x$ac_cv_func_shl_load" = xyes; then : 11412 lt_cv_dlopen="shl_load" 11413else 11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11415$as_echo_n "checking for shl_load in -ldld... " >&6; } 11416if ${ac_cv_lib_dld_shl_load+:} false; then : 11417 $as_echo_n "(cached) " >&6 11418else 11419 ac_check_lib_save_LIBS=$LIBS 11420LIBS="-ldld $LIBS" 11421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11422/* end confdefs.h. */ 11423 11424/* Override any GCC internal prototype to avoid an error. 11425 Use char because int might match the return type of a GCC 11426 builtin and then its argument prototype would still apply. */ 11427#ifdef __cplusplus 11428extern "C" 11429#endif 11430char shl_load (); 11431int 11432main () 11433{ 11434return shl_load (); 11435 ; 11436 return 0; 11437} 11438_ACEOF 11439if ac_fn_c_try_link "$LINENO"; then : 11440 ac_cv_lib_dld_shl_load=yes 11441else 11442 ac_cv_lib_dld_shl_load=no 11443fi 11444rm -f core conftest.err conftest.$ac_objext \ 11445 conftest$ac_exeext conftest.$ac_ext 11446LIBS=$ac_check_lib_save_LIBS 11447fi 11448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11449$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11450if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11451 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11452else 11453 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11454if test "x$ac_cv_func_dlopen" = xyes; then : 11455 lt_cv_dlopen="dlopen" 11456else 11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11458$as_echo_n "checking for dlopen in -ldl... " >&6; } 11459if ${ac_cv_lib_dl_dlopen+:} false; then : 11460 $as_echo_n "(cached) " >&6 11461else 11462 ac_check_lib_save_LIBS=$LIBS 11463LIBS="-ldl $LIBS" 11464cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11465/* end confdefs.h. */ 11466 11467/* Override any GCC internal prototype to avoid an error. 11468 Use char because int might match the return type of a GCC 11469 builtin and then its argument prototype would still apply. */ 11470#ifdef __cplusplus 11471extern "C" 11472#endif 11473char dlopen (); 11474int 11475main () 11476{ 11477return dlopen (); 11478 ; 11479 return 0; 11480} 11481_ACEOF 11482if ac_fn_c_try_link "$LINENO"; then : 11483 ac_cv_lib_dl_dlopen=yes 11484else 11485 ac_cv_lib_dl_dlopen=no 11486fi 11487rm -f core conftest.err conftest.$ac_objext \ 11488 conftest$ac_exeext conftest.$ac_ext 11489LIBS=$ac_check_lib_save_LIBS 11490fi 11491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11492$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11493if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11494 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11495else 11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11497$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11498if ${ac_cv_lib_svld_dlopen+:} false; then : 11499 $as_echo_n "(cached) " >&6 11500else 11501 ac_check_lib_save_LIBS=$LIBS 11502LIBS="-lsvld $LIBS" 11503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11504/* end confdefs.h. */ 11505 11506/* Override any GCC internal prototype to avoid an error. 11507 Use char because int might match the return type of a GCC 11508 builtin and then its argument prototype would still apply. */ 11509#ifdef __cplusplus 11510extern "C" 11511#endif 11512char dlopen (); 11513int 11514main () 11515{ 11516return dlopen (); 11517 ; 11518 return 0; 11519} 11520_ACEOF 11521if ac_fn_c_try_link "$LINENO"; then : 11522 ac_cv_lib_svld_dlopen=yes 11523else 11524 ac_cv_lib_svld_dlopen=no 11525fi 11526rm -f core conftest.err conftest.$ac_objext \ 11527 conftest$ac_exeext conftest.$ac_ext 11528LIBS=$ac_check_lib_save_LIBS 11529fi 11530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11531$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11532if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11533 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11534else 11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11536$as_echo_n "checking for dld_link in -ldld... " >&6; } 11537if ${ac_cv_lib_dld_dld_link+:} false; then : 11538 $as_echo_n "(cached) " >&6 11539else 11540 ac_check_lib_save_LIBS=$LIBS 11541LIBS="-ldld $LIBS" 11542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11543/* end confdefs.h. */ 11544 11545/* Override any GCC internal prototype to avoid an error. 11546 Use char because int might match the return type of a GCC 11547 builtin and then its argument prototype would still apply. */ 11548#ifdef __cplusplus 11549extern "C" 11550#endif 11551char dld_link (); 11552int 11553main () 11554{ 11555return dld_link (); 11556 ; 11557 return 0; 11558} 11559_ACEOF 11560if ac_fn_c_try_link "$LINENO"; then : 11561 ac_cv_lib_dld_dld_link=yes 11562else 11563 ac_cv_lib_dld_dld_link=no 11564fi 11565rm -f core conftest.err conftest.$ac_objext \ 11566 conftest$ac_exeext conftest.$ac_ext 11567LIBS=$ac_check_lib_save_LIBS 11568fi 11569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11570$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11571if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11572 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11573fi 11574 11575 11576fi 11577 11578 11579fi 11580 11581 11582fi 11583 11584 11585fi 11586 11587 11588fi 11589 11590 ;; 11591 esac 11592 11593 if test "x$lt_cv_dlopen" != xno; then 11594 enable_dlopen=yes 11595 else 11596 enable_dlopen=no 11597 fi 11598 11599 case $lt_cv_dlopen in 11600 dlopen) 11601 save_CPPFLAGS="$CPPFLAGS" 11602 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11603 11604 save_LDFLAGS="$LDFLAGS" 11605 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11606 11607 save_LIBS="$LIBS" 11608 LIBS="$lt_cv_dlopen_libs $LIBS" 11609 11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11611$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11612if ${lt_cv_dlopen_self+:} false; then : 11613 $as_echo_n "(cached) " >&6 11614else 11615 if test "$cross_compiling" = yes; then : 11616 lt_cv_dlopen_self=cross 11617else 11618 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11619 lt_status=$lt_dlunknown 11620 cat > conftest.$ac_ext <<_LT_EOF 11621#line $LINENO "configure" 11622#include "confdefs.h" 11623 11624#if HAVE_DLFCN_H 11625#include <dlfcn.h> 11626#endif 11627 11628#include <stdio.h> 11629 11630#ifdef RTLD_GLOBAL 11631# define LT_DLGLOBAL RTLD_GLOBAL 11632#else 11633# ifdef DL_GLOBAL 11634# define LT_DLGLOBAL DL_GLOBAL 11635# else 11636# define LT_DLGLOBAL 0 11637# endif 11638#endif 11639 11640/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11641 find out it does not work in some platform. */ 11642#ifndef LT_DLLAZY_OR_NOW 11643# ifdef RTLD_LAZY 11644# define LT_DLLAZY_OR_NOW RTLD_LAZY 11645# else 11646# ifdef DL_LAZY 11647# define LT_DLLAZY_OR_NOW DL_LAZY 11648# else 11649# ifdef RTLD_NOW 11650# define LT_DLLAZY_OR_NOW RTLD_NOW 11651# else 11652# ifdef DL_NOW 11653# define LT_DLLAZY_OR_NOW DL_NOW 11654# else 11655# define LT_DLLAZY_OR_NOW 0 11656# endif 11657# endif 11658# endif 11659# endif 11660#endif 11661 11662/* When -fvisbility=hidden is used, assume the code has been annotated 11663 correspondingly for the symbols needed. */ 11664#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11665int fnord () __attribute__((visibility("default"))); 11666#endif 11667 11668int fnord () { return 42; } 11669int main () 11670{ 11671 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11672 int status = $lt_dlunknown; 11673 11674 if (self) 11675 { 11676 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11677 else 11678 { 11679 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11680 else puts (dlerror ()); 11681 } 11682 /* dlclose (self); */ 11683 } 11684 else 11685 puts (dlerror ()); 11686 11687 return status; 11688} 11689_LT_EOF 11690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11691 (eval $ac_link) 2>&5 11692 ac_status=$? 11693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11694 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11695 (./conftest; exit; ) >&5 2>/dev/null 11696 lt_status=$? 11697 case x$lt_status in 11698 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11699 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11700 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11701 esac 11702 else : 11703 # compilation failed 11704 lt_cv_dlopen_self=no 11705 fi 11706fi 11707rm -fr conftest* 11708 11709 11710fi 11711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11712$as_echo "$lt_cv_dlopen_self" >&6; } 11713 11714 if test "x$lt_cv_dlopen_self" = xyes; then 11715 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11717$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11718if ${lt_cv_dlopen_self_static+:} false; then : 11719 $as_echo_n "(cached) " >&6 11720else 11721 if test "$cross_compiling" = yes; then : 11722 lt_cv_dlopen_self_static=cross 11723else 11724 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11725 lt_status=$lt_dlunknown 11726 cat > conftest.$ac_ext <<_LT_EOF 11727#line $LINENO "configure" 11728#include "confdefs.h" 11729 11730#if HAVE_DLFCN_H 11731#include <dlfcn.h> 11732#endif 11733 11734#include <stdio.h> 11735 11736#ifdef RTLD_GLOBAL 11737# define LT_DLGLOBAL RTLD_GLOBAL 11738#else 11739# ifdef DL_GLOBAL 11740# define LT_DLGLOBAL DL_GLOBAL 11741# else 11742# define LT_DLGLOBAL 0 11743# endif 11744#endif 11745 11746/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11747 find out it does not work in some platform. */ 11748#ifndef LT_DLLAZY_OR_NOW 11749# ifdef RTLD_LAZY 11750# define LT_DLLAZY_OR_NOW RTLD_LAZY 11751# else 11752# ifdef DL_LAZY 11753# define LT_DLLAZY_OR_NOW DL_LAZY 11754# else 11755# ifdef RTLD_NOW 11756# define LT_DLLAZY_OR_NOW RTLD_NOW 11757# else 11758# ifdef DL_NOW 11759# define LT_DLLAZY_OR_NOW DL_NOW 11760# else 11761# define LT_DLLAZY_OR_NOW 0 11762# endif 11763# endif 11764# endif 11765# endif 11766#endif 11767 11768/* When -fvisbility=hidden is used, assume the code has been annotated 11769 correspondingly for the symbols needed. */ 11770#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11771int fnord () __attribute__((visibility("default"))); 11772#endif 11773 11774int fnord () { return 42; } 11775int main () 11776{ 11777 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11778 int status = $lt_dlunknown; 11779 11780 if (self) 11781 { 11782 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11783 else 11784 { 11785 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11786 else puts (dlerror ()); 11787 } 11788 /* dlclose (self); */ 11789 } 11790 else 11791 puts (dlerror ()); 11792 11793 return status; 11794} 11795_LT_EOF 11796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11797 (eval $ac_link) 2>&5 11798 ac_status=$? 11799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11800 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11801 (./conftest; exit; ) >&5 2>/dev/null 11802 lt_status=$? 11803 case x$lt_status in 11804 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11805 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11806 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11807 esac 11808 else : 11809 # compilation failed 11810 lt_cv_dlopen_self_static=no 11811 fi 11812fi 11813rm -fr conftest* 11814 11815 11816fi 11817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11818$as_echo "$lt_cv_dlopen_self_static" >&6; } 11819 fi 11820 11821 CPPFLAGS="$save_CPPFLAGS" 11822 LDFLAGS="$save_LDFLAGS" 11823 LIBS="$save_LIBS" 11824 ;; 11825 esac 11826 11827 case $lt_cv_dlopen_self in 11828 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11829 *) enable_dlopen_self=unknown ;; 11830 esac 11831 11832 case $lt_cv_dlopen_self_static in 11833 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11834 *) enable_dlopen_self_static=unknown ;; 11835 esac 11836fi 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854striplib= 11855old_striplib= 11856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11857$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11858if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11859 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11860 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11862$as_echo "yes" >&6; } 11863else 11864# FIXME - insert some real tests, host_os isn't really good enough 11865 case $host_os in 11866 darwin*) 11867 if test -n "$STRIP" ; then 11868 striplib="$STRIP -x" 11869 old_striplib="$STRIP -S" 11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11871$as_echo "yes" >&6; } 11872 else 11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11874$as_echo "no" >&6; } 11875 fi 11876 ;; 11877 *) 11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11879$as_echo "no" >&6; } 11880 ;; 11881 esac 11882fi 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 # Report which library types will actually be built 11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11897$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11899$as_echo "$can_build_shared" >&6; } 11900 11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11902$as_echo_n "checking whether to build shared libraries... " >&6; } 11903 test "$can_build_shared" = "no" && enable_shared=no 11904 11905 # On AIX, shared libraries and static libraries use the same namespace, and 11906 # are all built from PIC. 11907 case $host_os in 11908 aix3*) 11909 test "$enable_shared" = yes && enable_static=no 11910 if test -n "$RANLIB"; then 11911 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11912 postinstall_cmds='$RANLIB $lib' 11913 fi 11914 ;; 11915 11916 aix[4-9]*) 11917 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11918 test "$enable_shared" = yes && enable_static=no 11919 fi 11920 ;; 11921 esac 11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11923$as_echo "$enable_shared" >&6; } 11924 11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11926$as_echo_n "checking whether to build static libraries... " >&6; } 11927 # Make sure either enable_shared or enable_static is yes. 11928 test "$enable_shared" = yes || enable_static=yes 11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11930$as_echo "$enable_static" >&6; } 11931 11932 11933 11934 11935fi 11936ac_ext=c 11937ac_cpp='$CPP $CPPFLAGS' 11938ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11939ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11940ac_compiler_gnu=$ac_cv_c_compiler_gnu 11941 11942CC="$lt_save_CC" 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 ac_config_commands="$ac_config_commands libtool" 11959 11960 11961 11962 11963# Only expand once: 11964 11965 11966 11967 11968for ac_header in dlfcn.h 11969do : 11970 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 11971if test "x$ac_cv_header_dlfcn_h" = xyes; then : 11972 cat >>confdefs.h <<_ACEOF 11973#define HAVE_DLFCN_H 1 11974_ACEOF 11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 11976$as_echo_n "checking for library containing dlopen... " >&6; } 11977if ${ac_cv_search_dlopen+:} false; then : 11978 $as_echo_n "(cached) " >&6 11979else 11980 ac_func_search_save_LIBS=$LIBS 11981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11982/* end confdefs.h. */ 11983 11984/* Override any GCC internal prototype to avoid an error. 11985 Use char because int might match the return type of a GCC 11986 builtin and then its argument prototype would still apply. */ 11987#ifdef __cplusplus 11988extern "C" 11989#endif 11990char dlopen (); 11991int 11992main () 11993{ 11994return dlopen (); 11995 ; 11996 return 0; 11997} 11998_ACEOF 11999for ac_lib in '' dl; do 12000 if test -z "$ac_lib"; then 12001 ac_res="none required" 12002 else 12003 ac_res=-l$ac_lib 12004 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 12005 fi 12006 if ac_fn_c_try_link "$LINENO"; then : 12007 ac_cv_search_dlopen=$ac_res 12008fi 12009rm -f core conftest.err conftest.$ac_objext \ 12010 conftest$ac_exeext 12011 if ${ac_cv_search_dlopen+:} false; then : 12012 break 12013fi 12014done 12015if ${ac_cv_search_dlopen+:} false; then : 12016 12017else 12018 ac_cv_search_dlopen=no 12019fi 12020rm conftest.$ac_ext 12021LIBS=$ac_func_search_save_LIBS 12022fi 12023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 12024$as_echo "$ac_cv_search_dlopen" >&6; } 12025ac_res=$ac_cv_search_dlopen 12026if test "$ac_res" != no; then : 12027 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12028 12029$as_echo "#define HAVE_DLOPEN 1" >>confdefs.h 12030 12031fi 12032 12033fi 12034 12035done 12036 12037 12038 12039if test -z "$GCC"; then 12040 case $host in 12041 *-*-irix*) 12042 if test -z "$CC"; then 12043 CC=cc 12044 fi 12045 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12046 DEBUG="-g -signed" 12047 CFLAGS="-O2 -w -signed" 12048 PROFILE="-p -g3 -O2 -signed" ;; 12049 sparc-sun-solaris*) 12050 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12051 DEBUG="-v -g" 12052 CFLAGS="-xO4 -fast -w -fsimple -native -xcg92" 12053 PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;; 12054 *) 12055 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12056 DEBUG="-g" 12057 CFLAGS="" 12058 PROFILE="-g -p" ;; 12059 esac 12060else 12061 12062 case $host in 12063 *-*-linux*) 12064 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12065 DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char" 12066 CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char" 12067 PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";; 12068 sparc-sun-*) 12069 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12070 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" 12071 CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char" 12072 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char" ;; 12073 *-darwin*) 12074 PLUGIN_LDFLAGS="-module -avoid-version" 12075 DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" 12076 CFLAGS="-D__NO_MATH_INLINES -fsigned-char" 12077 PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;; 12078 *) 12079 PLUGIN_LDFLAGS="-export-dynamic -avoid-version" 12080 DEBUG="-g -Wall -fsigned-char" 12081 CFLAGS="-fsigned-char" 12082 PROFILE="-g -pg -fsigned-char" ;; 12083 esac 12084fi 12085CFLAGS="$CFLAGS $cflags_save -DAO_BUILDING_LIBAO" 12086DEBUG="$DEBUG $cflags_save -DAO_BUILDING_LIBAO" 12087PROFILE="$PROFILE $cflags_save -DAO_BUILDING_LIBAO" 12088 12089 12090 12091 12092case $host in 12093 *-mingw*|*-cygwin*) 12094 LIBAO_LA_LDFLAGS="-no-undefined" 12095 ;; 12096 *) 12097 LIBAO_LA_LDFLAGS="" 12098 ;; 12099esac 12100 12101 12102 12103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libraries can be versioned" >&5 12104$as_echo_n "checking if libraries can be versioned... " >&6; } 12105GLD=`$LD --help < /dev/null 2>/dev/null | grep version-script` 12106if test "$GLD"; then 12107 have_ld_version_script=yes 12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12109$as_echo "yes" >&6; } 12110else 12111 have_ld_version_script=no 12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12113$as_echo "no" >&6; } 12114fi 12115 if test "$have_ld_version_script" = "yes"; then 12116 HAVE_LD_VERSION_SCRIPT_TRUE= 12117 HAVE_LD_VERSION_SCRIPT_FALSE='#' 12118else 12119 HAVE_LD_VERSION_SCRIPT_TRUE='#' 12120 HAVE_LD_VERSION_SCRIPT_FALSE= 12121fi 12122 12123 12124 12125# we link to libpthread just in case one of our plugins does 12126# in which case this is required to avoid problems on dlclose() 12127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5 12128$as_echo_n "checking for pthread_kill in -lpthread... " >&6; } 12129if ${ac_cv_lib_pthread_pthread_kill+:} false; then : 12130 $as_echo_n "(cached) " >&6 12131else 12132 ac_check_lib_save_LIBS=$LIBS 12133LIBS="-lpthread $LIBS" 12134cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12135/* end confdefs.h. */ 12136 12137/* Override any GCC internal prototype to avoid an error. 12138 Use char because int might match the return type of a GCC 12139 builtin and then its argument prototype would still apply. */ 12140#ifdef __cplusplus 12141extern "C" 12142#endif 12143char pthread_kill (); 12144int 12145main () 12146{ 12147return pthread_kill (); 12148 ; 12149 return 0; 12150} 12151_ACEOF 12152if ac_fn_c_try_link "$LINENO"; then : 12153 ac_cv_lib_pthread_pthread_kill=yes 12154else 12155 ac_cv_lib_pthread_pthread_kill=no 12156fi 12157rm -f core conftest.err conftest.$ac_objext \ 12158 conftest$ac_exeext conftest.$ac_ext 12159LIBS=$ac_check_lib_save_LIBS 12160fi 12161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_kill" >&5 12162$as_echo "$ac_cv_lib_pthread_pthread_kill" >&6; } 12163if test "x$ac_cv_lib_pthread_pthread_kill" = xyes; then : 12164 cat >>confdefs.h <<_ACEOF 12165#define HAVE_LIBPTHREAD 1 12166_ACEOF 12167 12168 LIBS="-lpthread $LIBS" 12169 12170fi 12171 12172 12173 12174case $host in 12175 *hpux*) 12176 DLOPEN_FLAG='(RTLD_LAZY)' 12177 SHARED_LIB_EXT='.sl' 12178 ;; 12179 *openbsd* | *netbsd* | *solaris2.7 | *darwin*) 12180 DLOPEN_FLAG='(RTLD_LAZY)' 12181 SHARED_LIB_EXT='.so' 12182 ;; 12183 *) 12184 DLOPEN_FLAG='(RTLD_NOW | RTLD_GLOBAL)' 12185 SHARED_LIB_EXT='.so' 12186 ;; 12187esac 12188cat >>confdefs.h <<_ACEOF 12189#define DLOPEN_FLAG $DLOPEN_FLAG 12190_ACEOF 12191 12192cat >>confdefs.h <<_ACEOF 12193#define SHARED_LIB_EXT "$SHARED_LIB_EXT" 12194_ACEOF 12195 12196 12197 12198# The cast to long int works around a bug in the HP C Compiler 12199# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12200# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12201# This bug is HP SR number 8606223364. 12202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 12203$as_echo_n "checking size of short... " >&6; } 12204if ${ac_cv_sizeof_short+:} false; then : 12205 $as_echo_n "(cached) " >&6 12206else 12207 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 12208 12209else 12210 if test "$ac_cv_type_short" = yes; then 12211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12213as_fn_error 77 "cannot compute sizeof (short) 12214See \`config.log' for more details" "$LINENO" 5; } 12215 else 12216 ac_cv_sizeof_short=0 12217 fi 12218fi 12219 12220fi 12221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 12222$as_echo "$ac_cv_sizeof_short" >&6; } 12223 12224 12225 12226cat >>confdefs.h <<_ACEOF 12227#define SIZEOF_SHORT $ac_cv_sizeof_short 12228_ACEOF 12229 12230 12231# The cast to long int works around a bug in the HP C Compiler 12232# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12233# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12234# This bug is HP SR number 8606223364. 12235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 12236$as_echo_n "checking size of int... " >&6; } 12237if ${ac_cv_sizeof_int+:} false; then : 12238 $as_echo_n "(cached) " >&6 12239else 12240 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 12241 12242else 12243 if test "$ac_cv_type_int" = yes; then 12244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12246as_fn_error 77 "cannot compute sizeof (int) 12247See \`config.log' for more details" "$LINENO" 5; } 12248 else 12249 ac_cv_sizeof_int=0 12250 fi 12251fi 12252 12253fi 12254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 12255$as_echo "$ac_cv_sizeof_int" >&6; } 12256 12257 12258 12259cat >>confdefs.h <<_ACEOF 12260#define SIZEOF_INT $ac_cv_sizeof_int 12261_ACEOF 12262 12263 12264# The cast to long int works around a bug in the HP C Compiler 12265# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 12266# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 12267# This bug is HP SR number 8606223364. 12268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 12269$as_echo_n "checking size of long... " >&6; } 12270if ${ac_cv_sizeof_long+:} false; then : 12271 $as_echo_n "(cached) " >&6 12272else 12273 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 12274 12275else 12276 if test "$ac_cv_type_long" = yes; then 12277 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 12278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 12279as_fn_error 77 "cannot compute sizeof (long) 12280See \`config.log' for more details" "$LINENO" 5; } 12281 else 12282 ac_cv_sizeof_long=0 12283 fi 12284fi 12285 12286fi 12287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 12288$as_echo "$ac_cv_sizeof_long" >&6; } 12289 12290 12291 12292cat >>confdefs.h <<_ACEOF 12293#define SIZEOF_LONG $ac_cv_sizeof_long 12294_ACEOF 12295 12296 12297 12298case 2 in 12299 $ac_cv_sizeof_short) SIZE16="short";; 12300 $ac_cv_sizeof_int) SIZE16="int";; 12301esac 12302 12303case 4 in 12304 $ac_cv_sizeof_short) SIZE32="short";; 12305 $ac_cv_sizeof_int) SIZE32="int";; 12306 $ac_cv_sizeof_long) SIZE32="long";; 12307esac 12308 12309if test -z "$SIZE16"; then 12310 as_fn_error $? "No 16 bit type found on this platform!" "$LINENO" 5 12311fi 12312if test -z "$SIZE32"; then 12313 as_fn_error $? "No 32 bit type found on this platform!" "$LINENO" 5 12314fi 12315 12316 12317 12318 12319 12320use_slp="no" 12321# Check whether --enable-roar-default-slp was given. 12322if test "${enable_roar_default_slp+set}" = set; then : 12323 enableval=$enable_roar_default_slp; use_slp="$enableval" 12324else 12325 use_slp="no" 12326 12327fi 12328 12329if test "x$use_slp" != "xyes"; then 12330 SLP_DEF="-DROAR_LIBROAR_CONFIG_WAS_NO_SLP" 12331fi 12332 12333 12334 12335 12336have_wmm="no" 12337# Check whether --enable-wmm was given. 12338if test "${enable_wmm+set}" = set; then : 12339 enableval=$enable_wmm; 12340else 12341 enable_wmm="check" 12342 12343fi 12344 12345if test "x$enable_wmm" != "xno"; then : 12346 12347fi 12348 if test "x$have_wmm" = "xyes"; then 12349 HAVE_WMM_TRUE= 12350 HAVE_WMM_FALSE='#' 12351else 12352 HAVE_WMM_TRUE='#' 12353 HAVE_WMM_FALSE= 12354fi 12355 12356if test "x${have_wmm}" = "xyes"; then : 12357 WMM_LIBS="-lwinmm" 12358else 12359 WMM_LIBS="" 12360fi 12361 12362 12363 12364have_esd="no"; 12365# Check whether --enable-esd was given. 12366if test "${enable_esd+set}" = set; then : 12367 enableval=$enable_esd; BUILD_ESD="$enableval" 12368else 12369 BUILD_ESD="yes" 12370fi 12371 12372 12373if test "$BUILD_ESD" = "yes"; then 12374 12375# Check whether --with-esd-prefix was given. 12376if test "${with_esd_prefix+set}" = set; then : 12377 withval=$with_esd_prefix; esd_prefix="$withval" 12378else 12379 esd_prefix="" 12380fi 12381 12382 12383# Check whether --with-esd-exec-prefix was given. 12384if test "${with_esd_exec_prefix+set}" = set; then : 12385 withval=$with_esd_exec_prefix; esd_exec_prefix="$withval" 12386else 12387 esd_exec_prefix="" 12388fi 12389 12390# Check whether --enable-esdtest was given. 12391if test "${enable_esdtest+set}" = set; then : 12392 enableval=$enable_esdtest; 12393else 12394 enable_esdtest=yes 12395fi 12396 12397 12398 if test x$esd_exec_prefix != x ; then 12399 esd_args="$esd_args --exec-prefix=$esd_exec_prefix" 12400 if test x${ESD_CONFIG+set} != xset ; then 12401 ESD_CONFIG=$esd_exec_prefix/bin/esd-config 12402 fi 12403 fi 12404 if test x$esd_prefix != x ; then 12405 esd_args="$esd_args --prefix=$esd_prefix" 12406 if test x${ESD_CONFIG+set} != xset ; then 12407 ESD_CONFIG=$esd_prefix/bin/esd-config 12408 fi 12409 fi 12410 12411 # Extract the first word of "esd-config", so it can be a program name with args. 12412set dummy esd-config; ac_word=$2 12413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12414$as_echo_n "checking for $ac_word... " >&6; } 12415if ${ac_cv_path_ESD_CONFIG+:} false; then : 12416 $as_echo_n "(cached) " >&6 12417else 12418 case $ESD_CONFIG in 12419 [\\/]* | ?:[\\/]*) 12420 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path. 12421 ;; 12422 *) 12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12424for as_dir in $PATH 12425do 12426 IFS=$as_save_IFS 12427 test -z "$as_dir" && as_dir=. 12428 for ac_exec_ext in '' $ac_executable_extensions; do 12429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12430 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12432 break 2 12433 fi 12434done 12435 done 12436IFS=$as_save_IFS 12437 12438 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no" 12439 ;; 12440esac 12441fi 12442ESD_CONFIG=$ac_cv_path_ESD_CONFIG 12443if test -n "$ESD_CONFIG"; then 12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESD_CONFIG" >&5 12445$as_echo "$ESD_CONFIG" >&6; } 12446else 12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12448$as_echo "no" >&6; } 12449fi 12450 12451 12452 min_esd_version=0.2.8 12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD - version >= $min_esd_version" >&5 12454$as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; } 12455 no_esd="" 12456 if test "$ESD_CONFIG" = "no" ; then 12457 no_esd=yes 12458 else 12459 ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags` 12460 ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs` 12461 12462 esd_major_version=`$ESD_CONFIG $esd_args --version | \ 12463 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 12464 esd_minor_version=`$ESD_CONFIG $esd_args --version | \ 12465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 12466 esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \ 12467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 12468 if test "x$enable_esdtest" = "xyes" ; then 12469 ac_save_CFLAGS="$CFLAGS" 12470 ac_save_LIBS="$LIBS" 12471 CFLAGS="$CFLAGS $ESD_CFLAGS" 12472 LIBS="$LIBS $ESD_LIBS" 12473 rm -f conf.esdtest 12474 if test "$cross_compiling" = yes; then : 12475 echo $ac_n "cross compiling; assumed OK... $ac_c" 12476else 12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12478/* end confdefs.h. */ 12479 12480#include <stdio.h> 12481#include <stdlib.h> 12482#include <string.h> 12483#include <esd.h> 12484 12485char* 12486my_strdup (char *str) 12487{ 12488 char *new_str; 12489 12490 if (str) 12491 { 12492 new_str = malloc ((strlen (str) + 1) * sizeof(char)); 12493 strcpy (new_str, str); 12494 } 12495 else 12496 new_str = NULL; 12497 12498 return new_str; 12499} 12500 12501int main () 12502{ 12503 int major, minor, micro; 12504 char *tmp_version; 12505 12506 system ("touch conf.esdtest"); 12507 12508 /* HP/UX 9 (%@#!) writes to sscanf strings */ 12509 tmp_version = my_strdup("$min_esd_version"); 12510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 12511 printf("%s, bad version string\n", "$min_esd_version"); 12512 exit(1); 12513 } 12514 12515 if (($esd_major_version > major) || 12516 (($esd_major_version == major) && ($esd_minor_version > minor)) || 12517 (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro))) 12518 { 12519 return 0; 12520 } 12521 else 12522 { 12523 printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version); 12524 printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro); 12525 printf("*** best to upgrade to the required version.\n"); 12526 printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n"); 12527 printf("*** to point to the correct copy of esd-config, and remove the file\n"); 12528 printf("*** config.cache before re-running configure\n"); 12529 return 1; 12530 } 12531} 12532 12533 12534_ACEOF 12535if ac_fn_c_try_run "$LINENO"; then : 12536 12537else 12538 no_esd=yes 12539fi 12540rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12541 conftest.$ac_objext conftest.beam conftest.$ac_ext 12542fi 12543 12544 CFLAGS="$ac_save_CFLAGS" 12545 LIBS="$ac_save_LIBS" 12546 fi 12547 fi 12548 if test "x$no_esd" = x ; then 12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12550$as_echo "yes" >&6; } 12551 have_esd=yes 12552 else 12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12554$as_echo "no" >&6; } 12555 if test "$ESD_CONFIG" = "no" ; then 12556 echo "*** The esd-config script installed by ESD could not be found" 12557 echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in" 12558 echo "*** your path, or set the ESD_CONFIG environment variable to the" 12559 echo "*** full path to esd-config." 12560 else 12561 if test -f conf.esdtest ; then 12562 : 12563 else 12564 echo "*** Could not run ESD test program, checking why..." 12565 CFLAGS="$CFLAGS $ESD_CFLAGS" 12566 LIBS="$LIBS $ESD_LIBS" 12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12568/* end confdefs.h. */ 12569 12570#include <stdio.h> 12571#include <esd.h> 12572 12573int 12574main () 12575{ 12576 return 0; 12577 ; 12578 return 0; 12579} 12580_ACEOF 12581if ac_fn_c_try_link "$LINENO"; then : 12582 echo "*** The test program compiled, but did not run. This usually means" 12583 echo "*** that the run-time linker is not finding ESD or finding the wrong" 12584 echo "*** version of ESD. If it is not finding ESD, you'll need to set your" 12585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 12586 echo "*** to the installed location Also, make sure you have run ldconfig if that" 12587 echo "*** is required on your system" 12588 echo "***" 12589 echo "*** If you have an old version installed, it is best to remove it, although" 12590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 12591else 12592 echo "*** The test program failed to compile or link. See the file config.log for the" 12593 echo "*** exact error that occured. This usually means ESD was incorrectly installed" 12594 echo "*** or that you have moved ESD since it was installed. In the latter case, you" 12595 echo "*** may want to edit the esd-config script: $ESD_CONFIG" 12596fi 12597rm -f core conftest.err conftest.$ac_objext \ 12598 conftest$ac_exeext conftest.$ac_ext 12599 CFLAGS="$ac_save_CFLAGS" 12600 LIBS="$ac_save_LIBS" 12601 fi 12602 fi 12603 ESD_CFLAGS="" 12604 ESD_LIBS="" 12605 : 12606 fi 12607 12608 12609 rm -f conf.esdtest 12610 12611fi 12612 if test "x$have_esd" = xyes; then 12613 HAVE_ESD_TRUE= 12614 HAVE_ESD_FALSE='#' 12615else 12616 HAVE_ESD_TRUE='#' 12617 HAVE_ESD_FALSE= 12618fi 12619 12620 12621 12622 12623have_oss="no"; 12624for ac_header in sys/soundcard.h 12625do : 12626 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 12627if test "x$ac_cv_header_sys_soundcard_h" = xyes; then : 12628 cat >>confdefs.h <<_ACEOF 12629#define HAVE_SYS_SOUNDCARD_H 1 12630_ACEOF 12631 have_oss=yes 12632fi 12633 12634done 12635 12636for ac_header in machine/soundcard.h 12637do : 12638 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 12639if test "x$ac_cv_header_machine_soundcard_h" = xyes; then : 12640 cat >>confdefs.h <<_ACEOF 12641#define HAVE_MACHINE_SOUNDCARD_H 1 12642_ACEOF 12643 have_oss=yes 12644fi 12645 12646done 12647 12648 if test "${have_oss}" = "yes"; then 12649 HAVE_OSS_TRUE= 12650 HAVE_OSS_FALSE='#' 12651else 12652 HAVE_OSS_TRUE='#' 12653 HAVE_OSS_FALSE= 12654fi 12655 12656 12657 12658have_alsa="no"; 12659# Check whether --enable-alsa was given. 12660if test "${enable_alsa+set}" = set; then : 12661 enableval=$enable_alsa; BUILD_ALSA="$enableval" 12662else 12663 BUILD_ALSA="yes" 12664fi 12665 12666# Check whether --enable-alsa-mmap was given. 12667if test "${enable_alsa_mmap+set}" = set; then : 12668 enableval=$enable_alsa_mmap; BUILD_ALSAMMIO="$enableval" 12669else 12670 BUILD_ALSAMMIO="no" 12671fi 12672 12673 12674if test "$BUILD_ALSA" = "yes"; then 12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 12676$as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } 12677if ${ac_cv_lib_asound_snd_pcm_open+:} false; then : 12678 $as_echo_n "(cached) " >&6 12679else 12680 ac_check_lib_save_LIBS=$LIBS 12681LIBS="-lasound $LIBS" 12682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12683/* end confdefs.h. */ 12684 12685/* Override any GCC internal prototype to avoid an error. 12686 Use char because int might match the return type of a GCC 12687 builtin and then its argument prototype would still apply. */ 12688#ifdef __cplusplus 12689extern "C" 12690#endif 12691char snd_pcm_open (); 12692int 12693main () 12694{ 12695return snd_pcm_open (); 12696 ; 12697 return 0; 12698} 12699_ACEOF 12700if ac_fn_c_try_link "$LINENO"; then : 12701 ac_cv_lib_asound_snd_pcm_open=yes 12702else 12703 ac_cv_lib_asound_snd_pcm_open=no 12704fi 12705rm -f core conftest.err conftest.$ac_objext \ 12706 conftest$ac_exeext conftest.$ac_ext 12707LIBS=$ac_check_lib_save_LIBS 12708fi 12709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5 12710$as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; } 12711if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then : 12712 have_alsa=yes 12713else 12714 have_alsa=no 12715fi 12716 12717 ac_fn_c_check_header_mongrel "$LINENO" "alsa/asoundlib.h" "ac_cv_header_alsa_asoundlib_h" "$ac_includes_default" 12718if test "x$ac_cv_header_alsa_asoundlib_h" = xyes; then : 12719 12720else 12721 have_alsa=no 12722fi 12723 12724 12725 if test "$BUILD_ALSAMMIO" = "yes" ; then 12726 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" 12727if test "x$ac_cv_header_sys_mman_h" = xyes; then : 12728 have_alsammio=yes 12729else 12730 have_alsammio=no 12731fi 12732 12733 12734 fi 12735 12736fi 12737 12738if test "x$have_alsa" = xyes; then 12739 ALSA_LIBS="-lasound" 12740 if test "x$have_alsammio" = xyes; then 12741 $as_echo "#define USE_ALSA_MMIO 1" >>confdefs.h 12742 12743 fi 12744else 12745 ALSA_LIBS="" 12746fi 12747 if test "x$have_alsa" = xyes; then 12748 HAVE_ALSA_TRUE= 12749 HAVE_ALSA_FALSE='#' 12750else 12751 HAVE_ALSA_TRUE='#' 12752 HAVE_ALSA_FALSE= 12753fi 12754 12755 12756 12757 12758# Check whether --enable-broken-oss was given. 12759if test "${enable_broken_oss+set}" = set; then : 12760 enableval=$enable_broken_oss; 12761else 12762 if test "x$have_alsa" = "xyes" -o "x$have_alsa" = "xyes"; then 12763 enable_broken_oss="yes" 12764fi 12765fi 12766 12767 12768if test "x$enable_broken_oss" = "xyes"; then 12769 $as_echo "#define BROKEN_OSS 1" >>confdefs.h 12770 12771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Broken OSS API workaround enabled. See README for details." >&5 12772$as_echo "$as_me: WARNING: Broken OSS API workaround enabled. See README for details." >&2;} 12773fi 12774 12775 12776have_sun="no"; 12777for ac_header in sys/audioio.h 12778do : 12779 ac_fn_c_check_header_mongrel "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default" 12780if test "x$ac_cv_header_sys_audioio_h" = xyes; then : 12781 cat >>confdefs.h <<_ACEOF 12782#define HAVE_SYS_AUDIOIO_H 1 12783_ACEOF 12784 have_sun=yes 12785fi 12786 12787done 12788 12789 if test "${have_sun}" = yes; then 12790 HAVE_SUN_AUDIO_TRUE= 12791 HAVE_SUN_AUDIO_FALSE='#' 12792else 12793 HAVE_SUN_AUDIO_TRUE='#' 12794 HAVE_SUN_AUDIO_FALSE= 12795fi 12796 12797 12798 12799have_sndio="no"; 12800for ac_header in sndio.h 12801do : 12802 ac_fn_c_check_header_mongrel "$LINENO" "sndio.h" "ac_cv_header_sndio_h" "$ac_includes_default" 12803if test "x$ac_cv_header_sndio_h" = xyes; then : 12804 cat >>confdefs.h <<_ACEOF 12805#define HAVE_SNDIO_H 1 12806_ACEOF 12807 have_sndio=yes 12808fi 12809 12810done 12811 12812 if test "${have_sndio}" = yes; then 12813 HAVE_SNDIO_AUDIO_TRUE= 12814 HAVE_SNDIO_AUDIO_FALSE='#' 12815else 12816 HAVE_SNDIO_AUDIO_TRUE='#' 12817 HAVE_SNDIO_AUDIO_FALSE= 12818fi 12819 12820 12821 12822have_roar="no"; 12823for ac_header in libroar/config.h 12824do : 12825 ac_fn_c_check_header_mongrel "$LINENO" "libroar/config.h" "ac_cv_header_libroar_config_h" "$ac_includes_default" 12826if test "x$ac_cv_header_libroar_config_h" = xyes; then : 12827 cat >>confdefs.h <<_ACEOF 12828#define HAVE_LIBROAR_CONFIG_H 1 12829_ACEOF 12830 have_roar=yes 12831fi 12832 12833done 12834 12835if test "x$have_roar" = "xyes"; then 12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SLP lookup can be disabled in libroar" >&5 12837$as_echo_n "checking if SLP lookup can be disabled in libroar... " >&6; } 12838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12839/* end confdefs.h. */ 12840 12841#include <libroar/config.h> 12842int main(int a, char **b) { 12843#ifdef ROAR_LIBROAR_CONFIG_WAS_NO_SLP 12844 return 0; 12845#else 12846 ROAR_LIBROAR_CONFIG_WAS_NO_SLP required 12847#endif 12848} 12849 12850_ACEOF 12851if ac_fn_c_try_compile "$LINENO"; then : 12852 12853fi 12854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12855fi 12856 if test "${have_roar}" = yes; then 12857 HAVE_ROAR_AUDIO_TRUE= 12858 HAVE_ROAR_AUDIO_FALSE='#' 12859else 12860 HAVE_ROAR_AUDIO_TRUE='#' 12861 HAVE_ROAR_AUDIO_FALSE= 12862fi 12863 12864 12865 12866have_aix="no"; 12867case $host in 12868 *-aix*) 12869 for ac_header in sys/audio.h 12870do : 12871 ac_fn_c_check_header_mongrel "$LINENO" "sys/audio.h" "ac_cv_header_sys_audio_h" "$ac_includes_default" 12872if test "x$ac_cv_header_sys_audio_h" = xyes; then : 12873 cat >>confdefs.h <<_ACEOF 12874#define HAVE_SYS_AUDIO_H 1 12875_ACEOF 12876 have_aix=yes 12877fi 12878 12879done 12880 12881 ;; 12882esac 12883 if test "x$have_aix" = xyes; then 12884 HAVE_AIX_AUDIO_TRUE= 12885 HAVE_AIX_AUDIO_FALSE='#' 12886else 12887 HAVE_AIX_AUDIO_TRUE='#' 12888 HAVE_AIX_AUDIO_FALSE= 12889fi 12890 12891 12892 12893# Check whether --enable-arts was given. 12894if test "${enable_arts+set}" = set; then : 12895 enableval=$enable_arts; BUILD_ARTS="$enableval" 12896else 12897 BUILD_ARTS="maybe" 12898fi 12899 12900 12901if test "$BUILD_ARTS" = "maybe"; then 12902 case $host in 12903 *-darwin*) 12904 BUILD_ARTS=no;; 12905 *) 12906 BUILD_ARTS=yes;; 12907 esac 12908fi 12909 12910have_arts="no"; 12911if test "$BUILD_ARTS" = "yes"; then 12912 # Extract the first word of "artsc-config", so it can be a program name with args. 12913set dummy artsc-config; ac_word=$2 12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12915$as_echo_n "checking for $ac_word... " >&6; } 12916if ${ac_cv_path_ARTSC_CONFIG+:} false; then : 12917 $as_echo_n "(cached) " >&6 12918else 12919 case $ARTSC_CONFIG in 12920 [\\/]* | ?:[\\/]*) 12921 ac_cv_path_ARTSC_CONFIG="$ARTSC_CONFIG" # Let the user override the test with a path. 12922 ;; 12923 *) 12924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12925for as_dir in $PATH 12926do 12927 IFS=$as_save_IFS 12928 test -z "$as_dir" && as_dir=. 12929 for ac_exec_ext in '' $ac_executable_extensions; do 12930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12931 ac_cv_path_ARTSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12933 break 2 12934 fi 12935done 12936 done 12937IFS=$as_save_IFS 12938 12939 ;; 12940esac 12941fi 12942ARTSC_CONFIG=$ac_cv_path_ARTSC_CONFIG 12943if test -n "$ARTSC_CONFIG"; then 12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARTSC_CONFIG" >&5 12945$as_echo "$ARTSC_CONFIG" >&6; } 12946else 12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12948$as_echo "no" >&6; } 12949fi 12950 12951 12952 12953 if test "x$ac_cv_path_ARTSC_CONFIG" != x 12954 then 12955 12956 succeeded=no 12957 12958 if test -z "$PKG_CONFIG"; then 12959 # Extract the first word of "pkg-config", so it can be a program name with args. 12960set dummy pkg-config; ac_word=$2 12961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12962$as_echo_n "checking for $ac_word... " >&6; } 12963if ${ac_cv_path_PKG_CONFIG+:} false; then : 12964 $as_echo_n "(cached) " >&6 12965else 12966 case $PKG_CONFIG in 12967 [\\/]* | ?:[\\/]*) 12968 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 12969 ;; 12970 *) 12971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12972for as_dir in $PATH 12973do 12974 IFS=$as_save_IFS 12975 test -z "$as_dir" && as_dir=. 12976 for ac_exec_ext in '' $ac_executable_extensions; do 12977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 12978 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 12979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 12980 break 2 12981 fi 12982done 12983 done 12984IFS=$as_save_IFS 12985 12986 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 12987 ;; 12988esac 12989fi 12990PKG_CONFIG=$ac_cv_path_PKG_CONFIG 12991if test -n "$PKG_CONFIG"; then 12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 12993$as_echo "$PKG_CONFIG" >&6; } 12994else 12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12996$as_echo "no" >&6; } 12997fi 12998 12999 13000 fi 13001 13002 if test "$PKG_CONFIG" = "no" ; then 13003 echo "*** The pkg-config script could not be found. Make sure it is" 13004 echo "*** in your path, or set the PKG_CONFIG environment variable" 13005 echo "*** to the full path to pkg-config." 13006 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 13007 else 13008 PKG_CONFIG_MIN_VERSION=0.9.0 13009 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 gthread-2.0" >&5 13011$as_echo_n "checking for glib-2.0 gthread-2.0... " >&6; } 13012 13013 if $PKG_CONFIG --exists "glib-2.0 gthread-2.0" ; then 13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13015$as_echo "yes" >&6; } 13016 succeeded=yes 13017 13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ARTSGLIB_CFLAGS" >&5 13019$as_echo_n "checking ARTSGLIB_CFLAGS... " >&6; } 13020 ARTSGLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gthread-2.0"` 13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARTSGLIB_CFLAGS" >&5 13022$as_echo "$ARTSGLIB_CFLAGS" >&6; } 13023 13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ARTSGLIB_LIBS" >&5 13025$as_echo_n "checking ARTSGLIB_LIBS... " >&6; } 13026 ARTSGLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 gthread-2.0"` 13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARTSGLIB_LIBS" >&5 13028$as_echo "$ARTSGLIB_LIBS" >&6; } 13029 else 13030 ARTSGLIB_CFLAGS="" 13031 ARTSGLIB_LIBS="" 13032 ## If we have a custom action on failure, don't print errors, but 13033 ## do set a variable so people can do so. 13034 ARTSGLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gthread-2.0"` 13035 echo $ARTSGLIB_PKG_ERRORS 13036 fi 13037 13038 13039 13040 else 13041 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 13042 echo "*** See http://www.freedesktop.org/software/pkgconfig" 13043 fi 13044 fi 13045 13046 if test $succeeded = yes; then 13047 : 13048 else 13049 as_fn_error $? "Library requirements (glib-2.0 gthread-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." "$LINENO" 5 13050 fi 13051 13052 ARTS_CFLAGS="`$ac_cv_path_ARTSC_CONFIG --cflags` $ARTSGLIB_CFLAGS" 13053 ARTS_LIBS="`$ac_cv_path_ARTSC_CONFIG --libs` $ARTSGLIB_LIBS" 13054 SAVELIBS=$LIBS 13055 LIBS="$LIBS $ARTS_LIBS" 13056 for ac_func in arts_suspended 13057do : 13058 ac_fn_c_check_func "$LINENO" "arts_suspended" "ac_cv_func_arts_suspended" 13059if test "x$ac_cv_func_arts_suspended" = xyes; then : 13060 cat >>confdefs.h <<_ACEOF 13061#define HAVE_ARTS_SUSPENDED 1 13062_ACEOF 13063 13064fi 13065done 13066 13067 LIBS=$SAVELIBS 13068 have_arts=yes 13069 fi 13070fi 13071 if test "x${have_arts}" = xyes; then 13072 HAVE_ARTS_TRUE= 13073 HAVE_ARTS_FALSE='#' 13074else 13075 HAVE_ARTS_TRUE='#' 13076 HAVE_ARTS_FALSE= 13077fi 13078 13079 13080 13081 13082 13083 13084 13085have_irix="no"; 13086case $host in 13087 *-*-irix*) 13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALwritesamps in -laudio" >&5 13089$as_echo_n "checking for ALwritesamps in -laudio... " >&6; } 13090if ${ac_cv_lib_audio_ALwritesamps+:} false; then : 13091 $as_echo_n "(cached) " >&6 13092else 13093 ac_check_lib_save_LIBS=$LIBS 13094LIBS="-laudio $LIBS" 13095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13096/* end confdefs.h. */ 13097 13098/* Override any GCC internal prototype to avoid an error. 13099 Use char because int might match the return type of a GCC 13100 builtin and then its argument prototype would still apply. */ 13101#ifdef __cplusplus 13102extern "C" 13103#endif 13104char ALwritesamps (); 13105int 13106main () 13107{ 13108return ALwritesamps (); 13109 ; 13110 return 0; 13111} 13112_ACEOF 13113if ac_fn_c_try_link "$LINENO"; then : 13114 ac_cv_lib_audio_ALwritesamps=yes 13115else 13116 ac_cv_lib_audio_ALwritesamps=no 13117fi 13118rm -f core conftest.err conftest.$ac_objext \ 13119 conftest$ac_exeext conftest.$ac_ext 13120LIBS=$ac_check_lib_save_LIBS 13121fi 13122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_ALwritesamps" >&5 13123$as_echo "$ac_cv_lib_audio_ALwritesamps" >&6; } 13124if test "x$ac_cv_lib_audio_ALwritesamps" = xyes; then : 13125 have_irix=yes 13126else 13127 have_irix=no 13128fi 13129 13130 ;; 13131esac 13132 if test "x$have_irix" = xyes; then 13133 HAVE_IRIX_TRUE= 13134 HAVE_IRIX_FALSE='#' 13135else 13136 HAVE_IRIX_TRUE='#' 13137 HAVE_IRIX_FALSE= 13138fi 13139 13140 13141 13142case $host in 13143 *-darwin*) 13144 have_macosx=yes;; 13145 *) 13146 have_macosx=no;; 13147esac 13148 if test "x$have_macosx" = xyes; then 13149 HAVE_MACOSX_TRUE= 13150 HAVE_MACOSX_FALSE='#' 13151else 13152 HAVE_MACOSX_TRUE='#' 13153 HAVE_MACOSX_FALSE= 13154fi 13155 13156 13157 13158 13159# Check whether --enable-nas was given. 13160if test "${enable_nas+set}" = set; then : 13161 enableval=$enable_nas; BUILD_NAS="$enableval" 13162else 13163 BUILD_NAS="yes" 13164fi 13165 13166 13167have_nas="no" 13168if test "$BUILD_NAS" = "yes"; then 13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 13170$as_echo_n "checking for X... " >&6; } 13171 13172 13173# Check whether --with-x was given. 13174if test "${with_x+set}" = set; then : 13175 withval=$with_x; 13176fi 13177 13178# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 13179if test "x$with_x" = xno; then 13180 # The user explicitly disabled X. 13181 have_x=disabled 13182else 13183 case $x_includes,$x_libraries in #( 13184 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 13185 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 13186 $as_echo_n "(cached) " >&6 13187else 13188 # One or both of the vars are not set, and there is no cached value. 13189ac_x_includes=no ac_x_libraries=no 13190rm -f -r conftest.dir 13191if mkdir conftest.dir; then 13192 cd conftest.dir 13193 cat >Imakefile <<'_ACEOF' 13194incroot: 13195 @echo incroot='${INCROOT}' 13196usrlibdir: 13197 @echo usrlibdir='${USRLIBDIR}' 13198libdir: 13199 @echo libdir='${LIBDIR}' 13200_ACEOF 13201 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 13202 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 13203 for ac_var in incroot usrlibdir libdir; do 13204 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 13205 done 13206 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 13207 for ac_extension in a so sl dylib la dll; do 13208 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 13209 test -f "$ac_im_libdir/libX11.$ac_extension"; then 13210 ac_im_usrlibdir=$ac_im_libdir; break 13211 fi 13212 done 13213 # Screen out bogus values from the imake configuration. They are 13214 # bogus both because they are the default anyway, and because 13215 # using them would break gcc on systems where it needs fixed includes. 13216 case $ac_im_incroot in 13217 /usr/include) ac_x_includes= ;; 13218 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 13219 esac 13220 case $ac_im_usrlibdir in 13221 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 13222 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 13223 esac 13224 fi 13225 cd .. 13226 rm -f -r conftest.dir 13227fi 13228 13229# Standard set of common directories for X headers. 13230# Check X11 before X11Rn because it is often a symlink to the current release. 13231ac_x_header_dirs=' 13232/usr/X11/include 13233/usr/X11R7/include 13234/usr/X11R6/include 13235/usr/X11R5/include 13236/usr/X11R4/include 13237 13238/usr/include/X11 13239/usr/include/X11R7 13240/usr/include/X11R6 13241/usr/include/X11R5 13242/usr/include/X11R4 13243 13244/usr/local/X11/include 13245/usr/local/X11R7/include 13246/usr/local/X11R6/include 13247/usr/local/X11R5/include 13248/usr/local/X11R4/include 13249 13250/usr/local/include/X11 13251/usr/local/include/X11R7 13252/usr/local/include/X11R6 13253/usr/local/include/X11R5 13254/usr/local/include/X11R4 13255 13256/usr/X386/include 13257/usr/x386/include 13258/usr/XFree86/include/X11 13259 13260/usr/include 13261/usr/local/include 13262/usr/unsupported/include 13263/usr/athena/include 13264/usr/local/x11r5/include 13265/usr/lpp/Xamples/include 13266 13267/usr/openwin/include 13268/usr/openwin/share/include' 13269 13270if test "$ac_x_includes" = no; then 13271 # Guess where to find include files, by looking for Xlib.h. 13272 # First, try using that file with no special directory specified. 13273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13274/* end confdefs.h. */ 13275#include <X11/Xlib.h> 13276_ACEOF 13277if ac_fn_c_try_cpp "$LINENO"; then : 13278 # We can compile using X headers with no special include directory. 13279ac_x_includes= 13280else 13281 for ac_dir in $ac_x_header_dirs; do 13282 if test -r "$ac_dir/X11/Xlib.h"; then 13283 ac_x_includes=$ac_dir 13284 break 13285 fi 13286done 13287fi 13288rm -f conftest.err conftest.i conftest.$ac_ext 13289fi # $ac_x_includes = no 13290 13291if test "$ac_x_libraries" = no; then 13292 # Check for the libraries. 13293 # See if we find them without any special options. 13294 # Don't add to $LIBS permanently. 13295 ac_save_LIBS=$LIBS 13296 LIBS="-lX11 $LIBS" 13297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13298/* end confdefs.h. */ 13299#include <X11/Xlib.h> 13300int 13301main () 13302{ 13303XrmInitialize () 13304 ; 13305 return 0; 13306} 13307_ACEOF 13308if ac_fn_c_try_link "$LINENO"; then : 13309 LIBS=$ac_save_LIBS 13310# We can link X programs with no special library path. 13311ac_x_libraries= 13312else 13313 LIBS=$ac_save_LIBS 13314for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 13315do 13316 # Don't even attempt the hair of trying to link an X program! 13317 for ac_extension in a so sl dylib la dll; do 13318 if test -r "$ac_dir/libX11.$ac_extension"; then 13319 ac_x_libraries=$ac_dir 13320 break 2 13321 fi 13322 done 13323done 13324fi 13325rm -f core conftest.err conftest.$ac_objext \ 13326 conftest$ac_exeext conftest.$ac_ext 13327fi # $ac_x_libraries = no 13328 13329case $ac_x_includes,$ac_x_libraries in #( 13330 no,* | *,no | *\'*) 13331 # Didn't find X, or a directory has "'" in its name. 13332 ac_cv_have_x="have_x=no";; #( 13333 *) 13334 # Record where we found X for the cache. 13335 ac_cv_have_x="have_x=yes\ 13336 ac_x_includes='$ac_x_includes'\ 13337 ac_x_libraries='$ac_x_libraries'" 13338esac 13339fi 13340;; #( 13341 *) have_x=yes;; 13342 esac 13343 eval "$ac_cv_have_x" 13344fi # $with_x != no 13345 13346if test "$have_x" != yes; then 13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 13348$as_echo "$have_x" >&6; } 13349 no_x=yes 13350else 13351 # If each of the values was on the command line, it overrides each guess. 13352 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 13353 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 13354 # Update the cache value to reflect the command line values. 13355 ac_cv_have_x="have_x=yes\ 13356 ac_x_includes='$x_includes'\ 13357 ac_x_libraries='$x_libraries'" 13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 13359$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 13360fi 13361 13362if test "$no_x" = yes; then 13363 # Not all programs may use this symbol, but it does not hurt to define it. 13364 13365$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 13366 13367 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 13368else 13369 if test -n "$x_includes"; then 13370 X_CFLAGS="$X_CFLAGS -I$x_includes" 13371 fi 13372 13373 # It would also be nice to do this for all -L options, not just this one. 13374 if test -n "$x_libraries"; then 13375 X_LIBS="$X_LIBS -L$x_libraries" 13376 # For Solaris; some versions of Sun CC require a space after -R and 13377 # others require no space. Words are not sufficient . . . . 13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 13379$as_echo_n "checking whether -R must be followed by a space... " >&6; } 13380 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 13381 ac_xsave_c_werror_flag=$ac_c_werror_flag 13382 ac_c_werror_flag=yes 13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13384/* end confdefs.h. */ 13385 13386int 13387main () 13388{ 13389 13390 ; 13391 return 0; 13392} 13393_ACEOF 13394if ac_fn_c_try_link "$LINENO"; then : 13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13396$as_echo "no" >&6; } 13397 X_LIBS="$X_LIBS -R$x_libraries" 13398else 13399 LIBS="$ac_xsave_LIBS -R $x_libraries" 13400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13401/* end confdefs.h. */ 13402 13403int 13404main () 13405{ 13406 13407 ; 13408 return 0; 13409} 13410_ACEOF 13411if ac_fn_c_try_link "$LINENO"; then : 13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13413$as_echo "yes" >&6; } 13414 X_LIBS="$X_LIBS -R $x_libraries" 13415else 13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 13417$as_echo "neither works" >&6; } 13418fi 13419rm -f core conftest.err conftest.$ac_objext \ 13420 conftest$ac_exeext conftest.$ac_ext 13421fi 13422rm -f core conftest.err conftest.$ac_objext \ 13423 conftest$ac_exeext conftest.$ac_ext 13424 ac_c_werror_flag=$ac_xsave_c_werror_flag 13425 LIBS=$ac_xsave_LIBS 13426 fi 13427 13428 # Check for system-dependent libraries X programs must link with. 13429 # Do this before checking for the system-independent R6 libraries 13430 # (-lICE), since we may need -lsocket or whatever for X linking. 13431 13432 if test "$ISC" = yes; then 13433 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 13434 else 13435 # Martyn Johnson says this is needed for Ultrix, if the X 13436 # libraries were built with DECnet support. And Karl Berry says 13437 # the Alpha needs dnet_stub (dnet does not exist). 13438 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13440/* end confdefs.h. */ 13441 13442/* Override any GCC internal prototype to avoid an error. 13443 Use char because int might match the return type of a GCC 13444 builtin and then its argument prototype would still apply. */ 13445#ifdef __cplusplus 13446extern "C" 13447#endif 13448char XOpenDisplay (); 13449int 13450main () 13451{ 13452return XOpenDisplay (); 13453 ; 13454 return 0; 13455} 13456_ACEOF 13457if ac_fn_c_try_link "$LINENO"; then : 13458 13459else 13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 13461$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 13462if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 13463 $as_echo_n "(cached) " >&6 13464else 13465 ac_check_lib_save_LIBS=$LIBS 13466LIBS="-ldnet $LIBS" 13467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13468/* end confdefs.h. */ 13469 13470/* Override any GCC internal prototype to avoid an error. 13471 Use char because int might match the return type of a GCC 13472 builtin and then its argument prototype would still apply. */ 13473#ifdef __cplusplus 13474extern "C" 13475#endif 13476char dnet_ntoa (); 13477int 13478main () 13479{ 13480return dnet_ntoa (); 13481 ; 13482 return 0; 13483} 13484_ACEOF 13485if ac_fn_c_try_link "$LINENO"; then : 13486 ac_cv_lib_dnet_dnet_ntoa=yes 13487else 13488 ac_cv_lib_dnet_dnet_ntoa=no 13489fi 13490rm -f core conftest.err conftest.$ac_objext \ 13491 conftest$ac_exeext conftest.$ac_ext 13492LIBS=$ac_check_lib_save_LIBS 13493fi 13494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 13495$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 13496if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 13497 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 13498fi 13499 13500 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 13502$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 13503if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 13504 $as_echo_n "(cached) " >&6 13505else 13506 ac_check_lib_save_LIBS=$LIBS 13507LIBS="-ldnet_stub $LIBS" 13508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13509/* end confdefs.h. */ 13510 13511/* Override any GCC internal prototype to avoid an error. 13512 Use char because int might match the return type of a GCC 13513 builtin and then its argument prototype would still apply. */ 13514#ifdef __cplusplus 13515extern "C" 13516#endif 13517char dnet_ntoa (); 13518int 13519main () 13520{ 13521return dnet_ntoa (); 13522 ; 13523 return 0; 13524} 13525_ACEOF 13526if ac_fn_c_try_link "$LINENO"; then : 13527 ac_cv_lib_dnet_stub_dnet_ntoa=yes 13528else 13529 ac_cv_lib_dnet_stub_dnet_ntoa=no 13530fi 13531rm -f core conftest.err conftest.$ac_objext \ 13532 conftest$ac_exeext conftest.$ac_ext 13533LIBS=$ac_check_lib_save_LIBS 13534fi 13535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 13536$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 13537if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 13538 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 13539fi 13540 13541 fi 13542fi 13543rm -f core conftest.err conftest.$ac_objext \ 13544 conftest$ac_exeext conftest.$ac_ext 13545 LIBS="$ac_xsave_LIBS" 13546 13547 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 13548 # to get the SysV transport functions. 13549 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 13550 # needs -lnsl. 13551 # The nsl library prevents programs from opening the X display 13552 # on Irix 5.2, according to T.E. Dickey. 13553 # The functions gethostbyname, getservbyname, and inet_addr are 13554 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 13555 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 13556if test "x$ac_cv_func_gethostbyname" = xyes; then : 13557 13558fi 13559 13560 if test $ac_cv_func_gethostbyname = no; then 13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 13562$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 13563if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 13564 $as_echo_n "(cached) " >&6 13565else 13566 ac_check_lib_save_LIBS=$LIBS 13567LIBS="-lnsl $LIBS" 13568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13569/* end confdefs.h. */ 13570 13571/* Override any GCC internal prototype to avoid an error. 13572 Use char because int might match the return type of a GCC 13573 builtin and then its argument prototype would still apply. */ 13574#ifdef __cplusplus 13575extern "C" 13576#endif 13577char gethostbyname (); 13578int 13579main () 13580{ 13581return gethostbyname (); 13582 ; 13583 return 0; 13584} 13585_ACEOF 13586if ac_fn_c_try_link "$LINENO"; then : 13587 ac_cv_lib_nsl_gethostbyname=yes 13588else 13589 ac_cv_lib_nsl_gethostbyname=no 13590fi 13591rm -f core conftest.err conftest.$ac_objext \ 13592 conftest$ac_exeext conftest.$ac_ext 13593LIBS=$ac_check_lib_save_LIBS 13594fi 13595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 13596$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 13597if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 13598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 13599fi 13600 13601 if test $ac_cv_lib_nsl_gethostbyname = no; then 13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 13603$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 13604if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 13605 $as_echo_n "(cached) " >&6 13606else 13607 ac_check_lib_save_LIBS=$LIBS 13608LIBS="-lbsd $LIBS" 13609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13610/* end confdefs.h. */ 13611 13612/* Override any GCC internal prototype to avoid an error. 13613 Use char because int might match the return type of a GCC 13614 builtin and then its argument prototype would still apply. */ 13615#ifdef __cplusplus 13616extern "C" 13617#endif 13618char gethostbyname (); 13619int 13620main () 13621{ 13622return gethostbyname (); 13623 ; 13624 return 0; 13625} 13626_ACEOF 13627if ac_fn_c_try_link "$LINENO"; then : 13628 ac_cv_lib_bsd_gethostbyname=yes 13629else 13630 ac_cv_lib_bsd_gethostbyname=no 13631fi 13632rm -f core conftest.err conftest.$ac_objext \ 13633 conftest$ac_exeext conftest.$ac_ext 13634LIBS=$ac_check_lib_save_LIBS 13635fi 13636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 13637$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 13638if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 13639 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 13640fi 13641 13642 fi 13643 fi 13644 13645 # lieder@skyler.mavd.honeywell.com says without -lsocket, 13646 # socket/setsockopt and other routines are undefined under SCO ODT 13647 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 13648 # on later versions), says Simon Leinen: it contains gethostby* 13649 # variants that don't use the name server (or something). -lsocket 13650 # must be given before -lnsl if both are needed. We assume that 13651 # if connect needs -lnsl, so does gethostbyname. 13652 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 13653if test "x$ac_cv_func_connect" = xyes; then : 13654 13655fi 13656 13657 if test $ac_cv_func_connect = no; then 13658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 13659$as_echo_n "checking for connect in -lsocket... " >&6; } 13660if ${ac_cv_lib_socket_connect+:} false; then : 13661 $as_echo_n "(cached) " >&6 13662else 13663 ac_check_lib_save_LIBS=$LIBS 13664LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 13665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13666/* end confdefs.h. */ 13667 13668/* Override any GCC internal prototype to avoid an error. 13669 Use char because int might match the return type of a GCC 13670 builtin and then its argument prototype would still apply. */ 13671#ifdef __cplusplus 13672extern "C" 13673#endif 13674char connect (); 13675int 13676main () 13677{ 13678return connect (); 13679 ; 13680 return 0; 13681} 13682_ACEOF 13683if ac_fn_c_try_link "$LINENO"; then : 13684 ac_cv_lib_socket_connect=yes 13685else 13686 ac_cv_lib_socket_connect=no 13687fi 13688rm -f core conftest.err conftest.$ac_objext \ 13689 conftest$ac_exeext conftest.$ac_ext 13690LIBS=$ac_check_lib_save_LIBS 13691fi 13692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 13693$as_echo "$ac_cv_lib_socket_connect" >&6; } 13694if test "x$ac_cv_lib_socket_connect" = xyes; then : 13695 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 13696fi 13697 13698 fi 13699 13700 # Guillermo Gomez says -lposix is necessary on A/UX. 13701 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 13702if test "x$ac_cv_func_remove" = xyes; then : 13703 13704fi 13705 13706 if test $ac_cv_func_remove = no; then 13707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 13708$as_echo_n "checking for remove in -lposix... " >&6; } 13709if ${ac_cv_lib_posix_remove+:} false; then : 13710 $as_echo_n "(cached) " >&6 13711else 13712 ac_check_lib_save_LIBS=$LIBS 13713LIBS="-lposix $LIBS" 13714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13715/* end confdefs.h. */ 13716 13717/* Override any GCC internal prototype to avoid an error. 13718 Use char because int might match the return type of a GCC 13719 builtin and then its argument prototype would still apply. */ 13720#ifdef __cplusplus 13721extern "C" 13722#endif 13723char remove (); 13724int 13725main () 13726{ 13727return remove (); 13728 ; 13729 return 0; 13730} 13731_ACEOF 13732if ac_fn_c_try_link "$LINENO"; then : 13733 ac_cv_lib_posix_remove=yes 13734else 13735 ac_cv_lib_posix_remove=no 13736fi 13737rm -f core conftest.err conftest.$ac_objext \ 13738 conftest$ac_exeext conftest.$ac_ext 13739LIBS=$ac_check_lib_save_LIBS 13740fi 13741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 13742$as_echo "$ac_cv_lib_posix_remove" >&6; } 13743if test "x$ac_cv_lib_posix_remove" = xyes; then : 13744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 13745fi 13746 13747 fi 13748 13749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 13750 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 13751if test "x$ac_cv_func_shmat" = xyes; then : 13752 13753fi 13754 13755 if test $ac_cv_func_shmat = no; then 13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 13757$as_echo_n "checking for shmat in -lipc... " >&6; } 13758if ${ac_cv_lib_ipc_shmat+:} false; then : 13759 $as_echo_n "(cached) " >&6 13760else 13761 ac_check_lib_save_LIBS=$LIBS 13762LIBS="-lipc $LIBS" 13763cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13764/* end confdefs.h. */ 13765 13766/* Override any GCC internal prototype to avoid an error. 13767 Use char because int might match the return type of a GCC 13768 builtin and then its argument prototype would still apply. */ 13769#ifdef __cplusplus 13770extern "C" 13771#endif 13772char shmat (); 13773int 13774main () 13775{ 13776return shmat (); 13777 ; 13778 return 0; 13779} 13780_ACEOF 13781if ac_fn_c_try_link "$LINENO"; then : 13782 ac_cv_lib_ipc_shmat=yes 13783else 13784 ac_cv_lib_ipc_shmat=no 13785fi 13786rm -f core conftest.err conftest.$ac_objext \ 13787 conftest$ac_exeext conftest.$ac_ext 13788LIBS=$ac_check_lib_save_LIBS 13789fi 13790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 13791$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 13792if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 13793 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 13794fi 13795 13796 fi 13797 fi 13798 13799 # Check for libraries that X11R6 Xt/Xaw programs need. 13800 ac_save_LDFLAGS=$LDFLAGS 13801 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 13802 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 13803 # check for ICE first), but we must link in the order -lSM -lICE or 13804 # we get undefined symbols. So assume we have SM if we have ICE. 13805 # These have to be linked with before -lX11, unlike the other 13806 # libraries we check for below, so use a different variable. 13807 # John Interrante, Karl Berry 13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 13809$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 13810if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 13811 $as_echo_n "(cached) " >&6 13812else 13813 ac_check_lib_save_LIBS=$LIBS 13814LIBS="-lICE $X_EXTRA_LIBS $LIBS" 13815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13816/* end confdefs.h. */ 13817 13818/* Override any GCC internal prototype to avoid an error. 13819 Use char because int might match the return type of a GCC 13820 builtin and then its argument prototype would still apply. */ 13821#ifdef __cplusplus 13822extern "C" 13823#endif 13824char IceConnectionNumber (); 13825int 13826main () 13827{ 13828return IceConnectionNumber (); 13829 ; 13830 return 0; 13831} 13832_ACEOF 13833if ac_fn_c_try_link "$LINENO"; then : 13834 ac_cv_lib_ICE_IceConnectionNumber=yes 13835else 13836 ac_cv_lib_ICE_IceConnectionNumber=no 13837fi 13838rm -f core conftest.err conftest.$ac_objext \ 13839 conftest$ac_exeext conftest.$ac_ext 13840LIBS=$ac_check_lib_save_LIBS 13841fi 13842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 13843$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 13844if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 13845 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 13846fi 13847 13848 LDFLAGS=$ac_save_LDFLAGS 13849 13850fi 13851 13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauFileName in -lXau" >&5 13853$as_echo_n "checking for XauFileName in -lXau... " >&6; } 13854if ${ac_cv_lib_Xau_XauFileName+:} false; then : 13855 $as_echo_n "(cached) " >&6 13856else 13857 ac_check_lib_save_LIBS=$LIBS 13858LIBS="-lXau $X_LIBS $LIBS" 13859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13860/* end confdefs.h. */ 13861 13862/* Override any GCC internal prototype to avoid an error. 13863 Use char because int might match the return type of a GCC 13864 builtin and then its argument prototype would still apply. */ 13865#ifdef __cplusplus 13866extern "C" 13867#endif 13868char XauFileName (); 13869int 13870main () 13871{ 13872return XauFileName (); 13873 ; 13874 return 0; 13875} 13876_ACEOF 13877if ac_fn_c_try_link "$LINENO"; then : 13878 ac_cv_lib_Xau_XauFileName=yes 13879else 13880 ac_cv_lib_Xau_XauFileName=no 13881fi 13882rm -f core conftest.err conftest.$ac_objext \ 13883 conftest$ac_exeext conftest.$ac_ext 13884LIBS=$ac_check_lib_save_LIBS 13885fi 13886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauFileName" >&5 13887$as_echo "$ac_cv_lib_Xau_XauFileName" >&6; } 13888if test "x$ac_cv_lib_Xau_XauFileName" = xyes; then : 13889 have_nas=yes 13890else 13891 have_nas=no 13892fi 13893 13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5 13895$as_echo_n "checking for AuOpenServer in -laudio... " >&6; } 13896if ${ac_cv_lib_audio_AuOpenServer+:} false; then : 13897 $as_echo_n "(cached) " >&6 13898else 13899 ac_check_lib_save_LIBS=$LIBS 13900LIBS="-laudio -lXau -lXt -lm $X_LIBS $LIBS" 13901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13902/* end confdefs.h. */ 13903 13904/* Override any GCC internal prototype to avoid an error. 13905 Use char because int might match the return type of a GCC 13906 builtin and then its argument prototype would still apply. */ 13907#ifdef __cplusplus 13908extern "C" 13909#endif 13910char AuOpenServer (); 13911int 13912main () 13913{ 13914return AuOpenServer (); 13915 ; 13916 return 0; 13917} 13918_ACEOF 13919if ac_fn_c_try_link "$LINENO"; then : 13920 ac_cv_lib_audio_AuOpenServer=yes 13921else 13922 ac_cv_lib_audio_AuOpenServer=no 13923fi 13924rm -f core conftest.err conftest.$ac_objext \ 13925 conftest$ac_exeext conftest.$ac_ext 13926LIBS=$ac_check_lib_save_LIBS 13927fi 13928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5 13929$as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; } 13930if test "x$ac_cv_lib_audio_AuOpenServer" = xyes; then : 13931 dummy="no-op" 13932else 13933 have_nas=no 13934fi 13935 13936 13937 ac_save_CPPFLAGS="$CPPFLAGS" 13938 CPPFLAGS="$CPPFLAGS $X_CFLAGS" 13939 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default" 13940if test "x$ac_cv_header_audio_audiolib_h" = xyes; then : 13941 dummy="no-op" 13942else 13943 have_nas=no 13944fi 13945 13946 13947 CPPFLAGS="$ac_save_CPPFLAGS" 13948fi 13949 13950 if test "x$have_nas" = xyes; then 13951 HAVE_NAS_TRUE= 13952 HAVE_NAS_FALSE='#' 13953else 13954 HAVE_NAS_TRUE='#' 13955 HAVE_NAS_FALSE= 13956fi 13957 13958 13959if test "x$have_nas" = xyes; then 13960 NAS_CFLAGS="$X_CFLAGS" 13961 NAS_LIBS="-laudio -lXau -lXt -lm $X_LIBS" 13962else 13963 NAS_CFLAGS="" 13964 NAS_LIBS="" 13965fi 13966 13967 13968 13969 13970# Check whether --enable-pulse was given. 13971if test "${enable_pulse+set}" = set; then : 13972 enableval=$enable_pulse; BUILD_PULSE="$enableval" 13973else 13974 BUILD_PULSE="yes" 13975fi 13976 13977 13978have_pulse="no"; 13979if test "x$BUILD_PULSE" = "xyes" ; then 13980 13981 succeeded=no 13982 13983 if test -z "$PKG_CONFIG"; then 13984 # Extract the first word of "pkg-config", so it can be a program name with args. 13985set dummy pkg-config; ac_word=$2 13986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13987$as_echo_n "checking for $ac_word... " >&6; } 13988if ${ac_cv_path_PKG_CONFIG+:} false; then : 13989 $as_echo_n "(cached) " >&6 13990else 13991 case $PKG_CONFIG in 13992 [\\/]* | ?:[\\/]*) 13993 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13994 ;; 13995 *) 13996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13997for as_dir in $PATH 13998do 13999 IFS=$as_save_IFS 14000 test -z "$as_dir" && as_dir=. 14001 for ac_exec_ext in '' $ac_executable_extensions; do 14002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14003 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 14004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14005 break 2 14006 fi 14007done 14008 done 14009IFS=$as_save_IFS 14010 14011 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 14012 ;; 14013esac 14014fi 14015PKG_CONFIG=$ac_cv_path_PKG_CONFIG 14016if test -n "$PKG_CONFIG"; then 14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 14018$as_echo "$PKG_CONFIG" >&6; } 14019else 14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14021$as_echo "no" >&6; } 14022fi 14023 14024 14025 fi 14026 14027 if test "$PKG_CONFIG" = "no" ; then 14028 echo "*** The pkg-config script could not be found. Make sure it is" 14029 echo "*** in your path, or set the PKG_CONFIG environment variable" 14030 echo "*** to the full path to pkg-config." 14031 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 14032 else 14033 PKG_CONFIG_MIN_VERSION=0.9.0 14034 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse-simple >= 0.9 " >&5 14036$as_echo_n "checking for libpulse-simple >= 0.9 ... " >&6; } 14037 14038 if $PKG_CONFIG --exists " libpulse-simple >= 0.9 " ; then 14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14040$as_echo "yes" >&6; } 14041 succeeded=yes 14042 14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PULSE_CFLAGS" >&5 14044$as_echo_n "checking PULSE_CFLAGS... " >&6; } 14045 PULSE_CFLAGS=`$PKG_CONFIG --cflags " libpulse-simple >= 0.9 "` 14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PULSE_CFLAGS" >&5 14047$as_echo "$PULSE_CFLAGS" >&6; } 14048 14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking PULSE_LIBS" >&5 14050$as_echo_n "checking PULSE_LIBS... " >&6; } 14051 PULSE_LIBS=`$PKG_CONFIG --libs " libpulse-simple >= 0.9 "` 14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PULSE_LIBS" >&5 14053$as_echo "$PULSE_LIBS" >&6; } 14054 else 14055 PULSE_CFLAGS="" 14056 PULSE_LIBS="" 14057 ## If we have a custom action on failure, don't print errors, but 14058 ## do set a variable so people can do so. 14059 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libpulse-simple >= 0.9 "` 14060 14061 fi 14062 14063 14064 14065 else 14066 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 14067 echo "*** See http://www.freedesktop.org/software/pkgconfig" 14068 fi 14069 fi 14070 14071 if test $succeeded = yes; then 14072 have_pulse=yes 14073 else 14074 have_pulse=no 14075 fi 14076 14077fi 14078 14079 14080 if test "x$have_pulse" = xyes; then 14081 HAVE_PULSE_TRUE= 14082 HAVE_PULSE_FALSE='#' 14083else 14084 HAVE_PULSE_TRUE='#' 14085 HAVE_PULSE_FALSE= 14086fi 14087 14088 14089 if test "x$have_solaris" = xyes; then 14090 HAVE_SOLARIS_TRUE= 14091 HAVE_SOLARIS_FALSE='#' 14092else 14093 HAVE_SOLARIS_TRUE='#' 14094 HAVE_SOLARIS_FALSE= 14095fi 14096 14097 14098 14099 14100 14101ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile include/Makefile include/ao/Makefile include/ao/os_types.h src/plugins/Makefile src/plugins/esd/Makefile src/plugins/oss/Makefile src/plugins/alsa/Makefile src/plugins/sun/Makefile src/plugins/irix/Makefile src/plugins/arts/Makefile src/plugins/macosx/Makefile src/plugins/nas/Makefile src/plugins/pulse/Makefile src/plugins/sndio/Makefile src/plugins/roar/Makefile ao.pc" 14102 14103cat >confcache <<\_ACEOF 14104# This file is a shell script that caches the results of configure 14105# tests run on this system so they can be shared between configure 14106# scripts and configure runs, see configure's option --config-cache. 14107# It is not useful on other systems. If it contains results you don't 14108# want to keep, you may remove or edit it. 14109# 14110# config.status only pays attention to the cache file if you give it 14111# the --recheck option to rerun configure. 14112# 14113# `ac_cv_env_foo' variables (set or unset) will be overridden when 14114# loading this file, other *unset* `ac_cv_foo' will be assigned the 14115# following values. 14116 14117_ACEOF 14118 14119# The following way of writing the cache mishandles newlines in values, 14120# but we know of no workaround that is simple, portable, and efficient. 14121# So, we kill variables containing newlines. 14122# Ultrix sh set writes to stderr and can't be redirected directly, 14123# and sets the high bit in the cache file unless we assign to the vars. 14124( 14125 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14126 eval ac_val=\$$ac_var 14127 case $ac_val in #( 14128 *${as_nl}*) 14129 case $ac_var in #( 14130 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 14131$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14132 esac 14133 case $ac_var in #( 14134 _ | IFS | as_nl) ;; #( 14135 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14136 *) { eval $ac_var=; unset $ac_var;} ;; 14137 esac ;; 14138 esac 14139 done 14140 14141 (set) 2>&1 | 14142 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14143 *${as_nl}ac_space=\ *) 14144 # `set' does not quote correctly, so add quotes: double-quote 14145 # substitution turns \\\\ into \\, and sed turns \\ into \. 14146 sed -n \ 14147 "s/'/'\\\\''/g; 14148 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14149 ;; #( 14150 *) 14151 # `set' quotes correctly as required by POSIX, so do not add quotes. 14152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14153 ;; 14154 esac | 14155 sort 14156) | 14157 sed ' 14158 /^ac_cv_env_/b end 14159 t clear 14160 :clear 14161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14162 t end 14163 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14164 :end' >>confcache 14165if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14166 if test -w "$cache_file"; then 14167 if test "x$cache_file" != "x/dev/null"; then 14168 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 14169$as_echo "$as_me: updating cache $cache_file" >&6;} 14170 if test ! -f "$cache_file" || test -h "$cache_file"; then 14171 cat confcache >"$cache_file" 14172 else 14173 case $cache_file in #( 14174 */* | ?:*) 14175 mv -f confcache "$cache_file"$$ && 14176 mv -f "$cache_file"$$ "$cache_file" ;; #( 14177 *) 14178 mv -f confcache "$cache_file" ;; 14179 esac 14180 fi 14181 fi 14182 else 14183 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 14184$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14185 fi 14186fi 14187rm -f confcache 14188 14189test "x$prefix" = xNONE && prefix=$ac_default_prefix 14190# Let make expand exec_prefix. 14191test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14192 14193# Transform confdefs.h into DEFS. 14194# Protect against shell expansion while executing Makefile rules. 14195# Protect against Makefile macro expansion. 14196# 14197# If the first sed substitution is executed (which looks for macros that 14198# take arguments), then branch to the quote section. Otherwise, 14199# look for a macro that doesn't take arguments. 14200ac_script=' 14201:mline 14202/\\$/{ 14203 N 14204 s,\\\n,, 14205 b mline 14206} 14207t clear 14208:clear 14209s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 14210t quote 14211s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 14212t quote 14213b any 14214:quote 14215s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 14216s/\[/\\&/g 14217s/\]/\\&/g 14218s/\$/$$/g 14219H 14220:any 14221${ 14222 g 14223 s/^\n// 14224 s/\n/ /g 14225 p 14226} 14227' 14228DEFS=`sed -n "$ac_script" confdefs.h` 14229 14230 14231ac_libobjs= 14232ac_ltlibobjs= 14233U= 14234for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 14235 # 1. Remove the extension, and $U if already installed. 14236 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14237 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14238 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14239 # will be set to the directory where LIBOBJS objects are built. 14240 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14241 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 14242done 14243LIBOBJS=$ac_libobjs 14244 14245LTLIBOBJS=$ac_ltlibobjs 14246 14247 14248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 14249$as_echo_n "checking that generated files are newer than configure... " >&6; } 14250 if test -n "$am_sleep_pid"; then 14251 # Hide warnings about reused PIDs. 14252 wait $am_sleep_pid 2>/dev/null 14253 fi 14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 14255$as_echo "done" >&6; } 14256 if test -n "$EXEEXT"; then 14257 am__EXEEXT_TRUE= 14258 am__EXEEXT_FALSE='#' 14259else 14260 am__EXEEXT_TRUE='#' 14261 am__EXEEXT_FALSE= 14262fi 14263 14264if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 14265 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 14266Usually this means the macro was only invoked conditionally." "$LINENO" 5 14267fi 14268if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14269 as_fn_error $? "conditional \"AMDEP\" was never defined. 14270Usually this means the macro was only invoked conditionally." "$LINENO" 5 14271fi 14272if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14273 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 14274Usually this means the macro was only invoked conditionally." "$LINENO" 5 14275fi 14276if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then 14277 as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. 14278Usually this means the macro was only invoked conditionally." "$LINENO" 5 14279fi 14280if test -z "${HAVE_WMM_TRUE}" && test -z "${HAVE_WMM_FALSE}"; then 14281 as_fn_error $? "conditional \"HAVE_WMM\" was never defined. 14282Usually this means the macro was only invoked conditionally." "$LINENO" 5 14283fi 14284if test -z "${HAVE_ESD_TRUE}" && test -z "${HAVE_ESD_FALSE}"; then 14285 as_fn_error $? "conditional \"HAVE_ESD\" was never defined. 14286Usually this means the macro was only invoked conditionally." "$LINENO" 5 14287fi 14288if test -z "${HAVE_OSS_TRUE}" && test -z "${HAVE_OSS_FALSE}"; then 14289 as_fn_error $? "conditional \"HAVE_OSS\" was never defined. 14290Usually this means the macro was only invoked conditionally." "$LINENO" 5 14291fi 14292if test -z "${HAVE_ALSA_TRUE}" && test -z "${HAVE_ALSA_FALSE}"; then 14293 as_fn_error $? "conditional \"HAVE_ALSA\" was never defined. 14294Usually this means the macro was only invoked conditionally." "$LINENO" 5 14295fi 14296if test -z "${HAVE_SUN_AUDIO_TRUE}" && test -z "${HAVE_SUN_AUDIO_FALSE}"; then 14297 as_fn_error $? "conditional \"HAVE_SUN_AUDIO\" was never defined. 14298Usually this means the macro was only invoked conditionally." "$LINENO" 5 14299fi 14300if test -z "${HAVE_SNDIO_AUDIO_TRUE}" && test -z "${HAVE_SNDIO_AUDIO_FALSE}"; then 14301 as_fn_error $? "conditional \"HAVE_SNDIO_AUDIO\" was never defined. 14302Usually this means the macro was only invoked conditionally." "$LINENO" 5 14303fi 14304if test -z "${HAVE_ROAR_AUDIO_TRUE}" && test -z "${HAVE_ROAR_AUDIO_FALSE}"; then 14305 as_fn_error $? "conditional \"HAVE_ROAR_AUDIO\" was never defined. 14306Usually this means the macro was only invoked conditionally." "$LINENO" 5 14307fi 14308if test -z "${HAVE_AIX_AUDIO_TRUE}" && test -z "${HAVE_AIX_AUDIO_FALSE}"; then 14309 as_fn_error $? "conditional \"HAVE_AIX_AUDIO\" was never defined. 14310Usually this means the macro was only invoked conditionally." "$LINENO" 5 14311fi 14312if test -z "${HAVE_ARTS_TRUE}" && test -z "${HAVE_ARTS_FALSE}"; then 14313 as_fn_error $? "conditional \"HAVE_ARTS\" was never defined. 14314Usually this means the macro was only invoked conditionally." "$LINENO" 5 14315fi 14316if test -z "${HAVE_IRIX_TRUE}" && test -z "${HAVE_IRIX_FALSE}"; then 14317 as_fn_error $? "conditional \"HAVE_IRIX\" was never defined. 14318Usually this means the macro was only invoked conditionally." "$LINENO" 5 14319fi 14320if test -z "${HAVE_MACOSX_TRUE}" && test -z "${HAVE_MACOSX_FALSE}"; then 14321 as_fn_error $? "conditional \"HAVE_MACOSX\" was never defined. 14322Usually this means the macro was only invoked conditionally." "$LINENO" 5 14323fi 14324if test -z "${HAVE_NAS_TRUE}" && test -z "${HAVE_NAS_FALSE}"; then 14325 as_fn_error $? "conditional \"HAVE_NAS\" was never defined. 14326Usually this means the macro was only invoked conditionally." "$LINENO" 5 14327fi 14328if test -z "${HAVE_PULSE_TRUE}" && test -z "${HAVE_PULSE_FALSE}"; then 14329 as_fn_error $? "conditional \"HAVE_PULSE\" was never defined. 14330Usually this means the macro was only invoked conditionally." "$LINENO" 5 14331fi 14332if test -z "${HAVE_SOLARIS_TRUE}" && test -z "${HAVE_SOLARIS_FALSE}"; then 14333 as_fn_error $? "conditional \"HAVE_SOLARIS\" was never defined. 14334Usually this means the macro was only invoked conditionally." "$LINENO" 5 14335fi 14336 14337: "${CONFIG_STATUS=./config.status}" 14338ac_write_fail=0 14339ac_clean_files_save=$ac_clean_files 14340ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14341{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 14342$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14343as_write_fail=0 14344cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 14345#! $SHELL 14346# Generated by $as_me. 14347# Run this file to recreate the current configuration. 14348# Compiler output produced by configure, useful for debugging 14349# configure, is in config.log if it exists. 14350 14351debug=false 14352ac_cs_recheck=false 14353ac_cs_silent=false 14354 14355SHELL=\${CONFIG_SHELL-$SHELL} 14356export SHELL 14357_ASEOF 14358cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 14359## -------------------- ## 14360## M4sh Initialization. ## 14361## -------------------- ## 14362 14363# Be more Bourne compatible 14364DUALCASE=1; export DUALCASE # for MKS sh 14365if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 14366 emulate sh 14367 NULLCMD=: 14368 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14369 # is contrary to our usage. Disable this feature. 14370 alias -g '${1+"$@"}'='"$@"' 14371 setopt NO_GLOB_SUBST 14372else 14373 case `(set -o) 2>/dev/null` in #( 14374 *posix*) : 14375 set -o posix ;; #( 14376 *) : 14377 ;; 14378esac 14379fi 14380 14381 14382as_nl=' 14383' 14384export as_nl 14385# Printing a long string crashes Solaris 7 /usr/bin/printf. 14386as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 14387as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 14388as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 14389# Prefer a ksh shell builtin over an external printf program on Solaris, 14390# but without wasting forks for bash or zsh. 14391if test -z "$BASH_VERSION$ZSH_VERSION" \ 14392 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 14393 as_echo='print -r --' 14394 as_echo_n='print -rn --' 14395elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 14396 as_echo='printf %s\n' 14397 as_echo_n='printf %s' 14398else 14399 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 14400 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 14401 as_echo_n='/usr/ucb/echo -n' 14402 else 14403 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 14404 as_echo_n_body='eval 14405 arg=$1; 14406 case $arg in #( 14407 *"$as_nl"*) 14408 expr "X$arg" : "X\\(.*\\)$as_nl"; 14409 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 14410 esac; 14411 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 14412 ' 14413 export as_echo_n_body 14414 as_echo_n='sh -c $as_echo_n_body as_echo' 14415 fi 14416 export as_echo_body 14417 as_echo='sh -c $as_echo_body as_echo' 14418fi 14419 14420# The user is always right. 14421if test "${PATH_SEPARATOR+set}" != set; then 14422 PATH_SEPARATOR=: 14423 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 14424 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 14425 PATH_SEPARATOR=';' 14426 } 14427fi 14428 14429 14430# IFS 14431# We need space, tab and new line, in precisely that order. Quoting is 14432# there to prevent editors from complaining about space-tab. 14433# (If _AS_PATH_WALK were called with IFS unset, it would disable word 14434# splitting by setting IFS to empty value.) 14435IFS=" "" $as_nl" 14436 14437# Find who we are. Look in the path if we contain no directory separator. 14438as_myself= 14439case $0 in #(( 14440 *[\\/]* ) as_myself=$0 ;; 14441 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14442for as_dir in $PATH 14443do 14444 IFS=$as_save_IFS 14445 test -z "$as_dir" && as_dir=. 14446 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 14447 done 14448IFS=$as_save_IFS 14449 14450 ;; 14451esac 14452# We did not find ourselves, most probably we were run as `sh COMMAND' 14453# in which case we are not to be found in the path. 14454if test "x$as_myself" = x; then 14455 as_myself=$0 14456fi 14457if test ! -f "$as_myself"; then 14458 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 14459 exit 1 14460fi 14461 14462# Unset variables that we do not need and which cause bugs (e.g. in 14463# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 14464# suppresses any "Segmentation fault" message there. '((' could 14465# trigger a bug in pdksh 5.2.14. 14466for as_var in BASH_ENV ENV MAIL MAILPATH 14467do eval test x\${$as_var+set} = xset \ 14468 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 14469done 14470PS1='$ ' 14471PS2='> ' 14472PS4='+ ' 14473 14474# NLS nuisances. 14475LC_ALL=C 14476export LC_ALL 14477LANGUAGE=C 14478export LANGUAGE 14479 14480# CDPATH. 14481(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14482 14483 14484# as_fn_error STATUS ERROR [LINENO LOG_FD] 14485# ---------------------------------------- 14486# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 14487# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 14488# script with STATUS, using 1 if that was 0. 14489as_fn_error () 14490{ 14491 as_status=$1; test $as_status -eq 0 && as_status=1 14492 if test "$4"; then 14493 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 14494 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 14495 fi 14496 $as_echo "$as_me: error: $2" >&2 14497 as_fn_exit $as_status 14498} # as_fn_error 14499 14500 14501# as_fn_set_status STATUS 14502# ----------------------- 14503# Set $? to STATUS, without forking. 14504as_fn_set_status () 14505{ 14506 return $1 14507} # as_fn_set_status 14508 14509# as_fn_exit STATUS 14510# ----------------- 14511# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 14512as_fn_exit () 14513{ 14514 set +e 14515 as_fn_set_status $1 14516 exit $1 14517} # as_fn_exit 14518 14519# as_fn_unset VAR 14520# --------------- 14521# Portably unset VAR. 14522as_fn_unset () 14523{ 14524 { eval $1=; unset $1;} 14525} 14526as_unset=as_fn_unset 14527# as_fn_append VAR VALUE 14528# ---------------------- 14529# Append the text in VALUE to the end of the definition contained in VAR. Take 14530# advantage of any shell optimizations that allow amortized linear growth over 14531# repeated appends, instead of the typical quadratic growth present in naive 14532# implementations. 14533if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 14534 eval 'as_fn_append () 14535 { 14536 eval $1+=\$2 14537 }' 14538else 14539 as_fn_append () 14540 { 14541 eval $1=\$$1\$2 14542 } 14543fi # as_fn_append 14544 14545# as_fn_arith ARG... 14546# ------------------ 14547# Perform arithmetic evaluation on the ARGs, and store the result in the 14548# global $as_val. Take advantage of shells that can avoid forks. The arguments 14549# must be portable across $(()) and expr. 14550if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14551 eval 'as_fn_arith () 14552 { 14553 as_val=$(( $* )) 14554 }' 14555else 14556 as_fn_arith () 14557 { 14558 as_val=`expr "$@" || test $? -eq 1` 14559 } 14560fi # as_fn_arith 14561 14562 14563if expr a : '\(a\)' >/dev/null 2>&1 && 14564 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14565 as_expr=expr 14566else 14567 as_expr=false 14568fi 14569 14570if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14571 as_basename=basename 14572else 14573 as_basename=false 14574fi 14575 14576if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14577 as_dirname=dirname 14578else 14579 as_dirname=false 14580fi 14581 14582as_me=`$as_basename -- "$0" || 14583$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14584 X"$0" : 'X\(//\)$' \| \ 14585 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14586$as_echo X/"$0" | 14587 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14588 s//\1/ 14589 q 14590 } 14591 /^X\/\(\/\/\)$/{ 14592 s//\1/ 14593 q 14594 } 14595 /^X\/\(\/\).*/{ 14596 s//\1/ 14597 q 14598 } 14599 s/.*/./; q'` 14600 14601# Avoid depending upon Character Ranges. 14602as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14603as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14604as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14605as_cr_digits='0123456789' 14606as_cr_alnum=$as_cr_Letters$as_cr_digits 14607 14608ECHO_C= ECHO_N= ECHO_T= 14609case `echo -n x` in #((((( 14610-n*) 14611 case `echo 'xy\c'` in 14612 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14613 xy) ECHO_C='\c';; 14614 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14615 ECHO_T=' ';; 14616 esac;; 14617*) 14618 ECHO_N='-n';; 14619esac 14620 14621rm -f conf$$ conf$$.exe conf$$.file 14622if test -d conf$$.dir; then 14623 rm -f conf$$.dir/conf$$.file 14624else 14625 rm -f conf$$.dir 14626 mkdir conf$$.dir 2>/dev/null 14627fi 14628if (echo >conf$$.file) 2>/dev/null; then 14629 if ln -s conf$$.file conf$$ 2>/dev/null; then 14630 as_ln_s='ln -s' 14631 # ... but there are two gotchas: 14632 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14633 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14634 # In both cases, we have to default to `cp -pR'. 14635 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14636 as_ln_s='cp -pR' 14637 elif ln conf$$.file conf$$ 2>/dev/null; then 14638 as_ln_s=ln 14639 else 14640 as_ln_s='cp -pR' 14641 fi 14642else 14643 as_ln_s='cp -pR' 14644fi 14645rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14646rmdir conf$$.dir 2>/dev/null 14647 14648 14649# as_fn_mkdir_p 14650# ------------- 14651# Create "$as_dir" as a directory, including parents if necessary. 14652as_fn_mkdir_p () 14653{ 14654 14655 case $as_dir in #( 14656 -*) as_dir=./$as_dir;; 14657 esac 14658 test -d "$as_dir" || eval $as_mkdir_p || { 14659 as_dirs= 14660 while :; do 14661 case $as_dir in #( 14662 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14663 *) as_qdir=$as_dir;; 14664 esac 14665 as_dirs="'$as_qdir' $as_dirs" 14666 as_dir=`$as_dirname -- "$as_dir" || 14667$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14668 X"$as_dir" : 'X\(//\)[^/]' \| \ 14669 X"$as_dir" : 'X\(//\)$' \| \ 14670 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14671$as_echo X"$as_dir" | 14672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14673 s//\1/ 14674 q 14675 } 14676 /^X\(\/\/\)[^/].*/{ 14677 s//\1/ 14678 q 14679 } 14680 /^X\(\/\/\)$/{ 14681 s//\1/ 14682 q 14683 } 14684 /^X\(\/\).*/{ 14685 s//\1/ 14686 q 14687 } 14688 s/.*/./; q'` 14689 test -d "$as_dir" && break 14690 done 14691 test -z "$as_dirs" || eval "mkdir $as_dirs" 14692 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14693 14694 14695} # as_fn_mkdir_p 14696if mkdir -p . 2>/dev/null; then 14697 as_mkdir_p='mkdir -p "$as_dir"' 14698else 14699 test -d ./-p && rmdir ./-p 14700 as_mkdir_p=false 14701fi 14702 14703 14704# as_fn_executable_p FILE 14705# ----------------------- 14706# Test if FILE is an executable regular file. 14707as_fn_executable_p () 14708{ 14709 test -f "$1" && test -x "$1" 14710} # as_fn_executable_p 14711as_test_x='test -x' 14712as_executable_p=as_fn_executable_p 14713 14714# Sed expression to map a string onto a valid CPP name. 14715as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14716 14717# Sed expression to map a string onto a valid variable name. 14718as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14719 14720 14721exec 6>&1 14722## ----------------------------------- ## 14723## Main body of $CONFIG_STATUS script. ## 14724## ----------------------------------- ## 14725_ASEOF 14726test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14727 14728cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14729# Save the log message, to keep $0 and so on meaningful, and to 14730# report actual input values of CONFIG_FILES etc. instead of their 14731# values after options handling. 14732ac_log=" 14733This file was extended by libao $as_me 1.2.0, which was 14734generated by GNU Autoconf 2.69. Invocation command line was 14735 14736 CONFIG_FILES = $CONFIG_FILES 14737 CONFIG_HEADERS = $CONFIG_HEADERS 14738 CONFIG_LINKS = $CONFIG_LINKS 14739 CONFIG_COMMANDS = $CONFIG_COMMANDS 14740 $ $0 $@ 14741 14742on `(hostname || uname -n) 2>/dev/null | sed 1q` 14743" 14744 14745_ACEOF 14746 14747case $ac_config_files in *" 14748"*) set x $ac_config_files; shift; ac_config_files=$*;; 14749esac 14750 14751 14752 14753cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14754# Files that config.status was made for. 14755config_files="$ac_config_files" 14756config_commands="$ac_config_commands" 14757 14758_ACEOF 14759 14760cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14761ac_cs_usage="\ 14762\`$as_me' instantiates files and other configuration actions 14763from templates according to the current configuration. Unless the files 14764and actions are specified as TAGs, all are instantiated by default. 14765 14766Usage: $0 [OPTION]... [TAG]... 14767 14768 -h, --help print this help, then exit 14769 -V, --version print version number and configuration settings, then exit 14770 --config print configuration, then exit 14771 -q, --quiet, --silent 14772 do not print progress messages 14773 -d, --debug don't remove temporary files 14774 --recheck update $as_me by reconfiguring in the same conditions 14775 --file=FILE[:TEMPLATE] 14776 instantiate the configuration file FILE 14777 14778Configuration files: 14779$config_files 14780 14781Configuration commands: 14782$config_commands 14783 14784Report bugs to <monty@xiph.org>." 14785 14786_ACEOF 14787cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14788ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14789ac_cs_version="\\ 14790libao config.status 1.2.0 14791configured by $0, generated by GNU Autoconf 2.69, 14792 with options \\"\$ac_cs_config\\" 14793 14794Copyright (C) 2012 Free Software Foundation, Inc. 14795This config.status script is free software; the Free Software Foundation 14796gives unlimited permission to copy, distribute and modify it." 14797 14798ac_pwd='$ac_pwd' 14799srcdir='$srcdir' 14800INSTALL='$INSTALL' 14801MKDIR_P='$MKDIR_P' 14802AWK='$AWK' 14803test -n "\$AWK" || AWK=awk 14804_ACEOF 14805 14806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14807# The default lists apply if the user does not specify any file. 14808ac_need_defaults=: 14809while test $# != 0 14810do 14811 case $1 in 14812 --*=?*) 14813 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14814 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14815 ac_shift=: 14816 ;; 14817 --*=) 14818 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14819 ac_optarg= 14820 ac_shift=: 14821 ;; 14822 *) 14823 ac_option=$1 14824 ac_optarg=$2 14825 ac_shift=shift 14826 ;; 14827 esac 14828 14829 case $ac_option in 14830 # Handling of the options. 14831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14832 ac_cs_recheck=: ;; 14833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14834 $as_echo "$ac_cs_version"; exit ;; 14835 --config | --confi | --conf | --con | --co | --c ) 14836 $as_echo "$ac_cs_config"; exit ;; 14837 --debug | --debu | --deb | --de | --d | -d ) 14838 debug=: ;; 14839 --file | --fil | --fi | --f ) 14840 $ac_shift 14841 case $ac_optarg in 14842 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14843 '') as_fn_error $? "missing file argument" ;; 14844 esac 14845 as_fn_append CONFIG_FILES " '$ac_optarg'" 14846 ac_need_defaults=false;; 14847 --he | --h | --help | --hel | -h ) 14848 $as_echo "$ac_cs_usage"; exit ;; 14849 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14850 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14851 ac_cs_silent=: ;; 14852 14853 # This is an error. 14854 -*) as_fn_error $? "unrecognized option: \`$1' 14855Try \`$0 --help' for more information." ;; 14856 14857 *) as_fn_append ac_config_targets " $1" 14858 ac_need_defaults=false ;; 14859 14860 esac 14861 shift 14862done 14863 14864ac_configure_extra_args= 14865 14866if $ac_cs_silent; then 14867 exec 6>/dev/null 14868 ac_configure_extra_args="$ac_configure_extra_args --silent" 14869fi 14870 14871_ACEOF 14872cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14873if \$ac_cs_recheck; then 14874 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14875 shift 14876 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14877 CONFIG_SHELL='$SHELL' 14878 export CONFIG_SHELL 14879 exec "\$@" 14880fi 14881 14882_ACEOF 14883cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14884exec 5>>config.log 14885{ 14886 echo 14887 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14888## Running $as_me. ## 14889_ASBOX 14890 $as_echo "$ac_log" 14891} >&5 14892 14893_ACEOF 14894cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14895# 14896# INIT-COMMANDS 14897# 14898AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14899 14900 14901# The HP-UX ksh and POSIX shell print the target directory to stdout 14902# if CDPATH is set. 14903(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14904 14905sed_quote_subst='$sed_quote_subst' 14906double_quote_subst='$double_quote_subst' 14907delay_variable_subst='$delay_variable_subst' 14908enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14909AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14910DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14911OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14912macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14913macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14914enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14915pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14916enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14917SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14918ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14919PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14920host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14921host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14922host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14923build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14924build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14925build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14926SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14927Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14928GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14929EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14930FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14931LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14932NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14933LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14934max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14935ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14936exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14937lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14938lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14939lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14940lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14941lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14942reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14943reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14944deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14945file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14946file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14947want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14948sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14949AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14950AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14951archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14952STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14953RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14954old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14955old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14956old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14957lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14958CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14959CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14960compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14961GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14962lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14963lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14964lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14965lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 14966nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14967lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14968objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14969MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14970lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14971lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14972lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14973lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14974lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14975need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14976MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14977DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14978NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14979LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14980OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14981OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14982libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14983shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14984extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14985archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14986enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14987export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14988whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14989compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14990old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14991old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14992archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14993archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14994module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14995module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14996with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14997allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14998no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14999hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15000hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15001hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15002hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15003hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15004hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15005hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15006inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15007link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15008always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15009export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15010exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15011include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15012prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15013postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15014file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15015variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15016need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15017need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15018version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15019runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15020shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15021shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15022libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15023library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15024soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15025install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15026postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15027postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15028finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15029finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15030hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15031sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15032sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 15033hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15034enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15035enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15036enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15037old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15038striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15039 15040LTCC='$LTCC' 15041LTCFLAGS='$LTCFLAGS' 15042compiler='$compiler_DEFAULT' 15043 15044# A function that is used when there is no print builtin or printf. 15045func_fallback_echo () 15046{ 15047 eval 'cat <<_LTECHO_EOF 15048\$1 15049_LTECHO_EOF' 15050} 15051 15052# Quote evaled strings. 15053for var in AS \ 15054DLLTOOL \ 15055OBJDUMP \ 15056SHELL \ 15057ECHO \ 15058PATH_SEPARATOR \ 15059SED \ 15060GREP \ 15061EGREP \ 15062FGREP \ 15063LD \ 15064NM \ 15065LN_S \ 15066lt_SP2NL \ 15067lt_NL2SP \ 15068reload_flag \ 15069deplibs_check_method \ 15070file_magic_cmd \ 15071file_magic_glob \ 15072want_nocaseglob \ 15073sharedlib_from_linklib_cmd \ 15074AR \ 15075AR_FLAGS \ 15076archiver_list_spec \ 15077STRIP \ 15078RANLIB \ 15079CC \ 15080CFLAGS \ 15081compiler \ 15082lt_cv_sys_global_symbol_pipe \ 15083lt_cv_sys_global_symbol_to_cdecl \ 15084lt_cv_sys_global_symbol_to_c_name_address \ 15085lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15086nm_file_list_spec \ 15087lt_prog_compiler_no_builtin_flag \ 15088lt_prog_compiler_pic \ 15089lt_prog_compiler_wl \ 15090lt_prog_compiler_static \ 15091lt_cv_prog_compiler_c_o \ 15092need_locks \ 15093MANIFEST_TOOL \ 15094DSYMUTIL \ 15095NMEDIT \ 15096LIPO \ 15097OTOOL \ 15098OTOOL64 \ 15099shrext_cmds \ 15100export_dynamic_flag_spec \ 15101whole_archive_flag_spec \ 15102compiler_needs_object \ 15103with_gnu_ld \ 15104allow_undefined_flag \ 15105no_undefined_flag \ 15106hardcode_libdir_flag_spec \ 15107hardcode_libdir_separator \ 15108exclude_expsyms \ 15109include_expsyms \ 15110file_list_spec \ 15111variables_saved_for_relink \ 15112libname_spec \ 15113library_names_spec \ 15114soname_spec \ 15115install_override_mode \ 15116finish_eval \ 15117old_striplib \ 15118striplib; do 15119 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15120 *[\\\\\\\`\\"\\\$]*) 15121 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 15122 ;; 15123 *) 15124 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15125 ;; 15126 esac 15127done 15128 15129# Double-quote double-evaled strings. 15130for var in reload_cmds \ 15131old_postinstall_cmds \ 15132old_postuninstall_cmds \ 15133old_archive_cmds \ 15134extract_expsyms_cmds \ 15135old_archive_from_new_cmds \ 15136old_archive_from_expsyms_cmds \ 15137archive_cmds \ 15138archive_expsym_cmds \ 15139module_cmds \ 15140module_expsym_cmds \ 15141export_symbols_cmds \ 15142prelink_cmds \ 15143postlink_cmds \ 15144postinstall_cmds \ 15145postuninstall_cmds \ 15146finish_cmds \ 15147sys_lib_search_path_spec \ 15148sys_lib_dlsearch_path_spec; do 15149 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15150 *[\\\\\\\`\\"\\\$]*) 15151 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15152 ;; 15153 *) 15154 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15155 ;; 15156 esac 15157done 15158 15159ac_aux_dir='$ac_aux_dir' 15160xsi_shell='$xsi_shell' 15161lt_shell_append='$lt_shell_append' 15162 15163# See if we are running on zsh, and set the options which allow our 15164# commands through without removal of \ escapes INIT. 15165if test -n "\${ZSH_VERSION+set}" ; then 15166 setopt NO_GLOB_SUBST 15167fi 15168 15169 15170 PACKAGE='$PACKAGE' 15171 VERSION='$VERSION' 15172 TIMESTAMP='$TIMESTAMP' 15173 RM='$RM' 15174 ofile='$ofile' 15175 15176 15177 15178 15179_ACEOF 15180 15181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15182 15183# Handling of arguments. 15184for ac_config_target in $ac_config_targets 15185do 15186 case $ac_config_target in 15187 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15188 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15189 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15190 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 15191 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 15192 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 15193 "include/ao/Makefile") CONFIG_FILES="$CONFIG_FILES include/ao/Makefile" ;; 15194 "include/ao/os_types.h") CONFIG_FILES="$CONFIG_FILES include/ao/os_types.h" ;; 15195 "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;; 15196 "src/plugins/esd/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/esd/Makefile" ;; 15197 "src/plugins/oss/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/oss/Makefile" ;; 15198 "src/plugins/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/alsa/Makefile" ;; 15199 "src/plugins/sun/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/sun/Makefile" ;; 15200 "src/plugins/irix/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/irix/Makefile" ;; 15201 "src/plugins/arts/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/arts/Makefile" ;; 15202 "src/plugins/macosx/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/macosx/Makefile" ;; 15203 "src/plugins/nas/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/nas/Makefile" ;; 15204 "src/plugins/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/pulse/Makefile" ;; 15205 "src/plugins/sndio/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/sndio/Makefile" ;; 15206 "src/plugins/roar/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/roar/Makefile" ;; 15207 "ao.pc") CONFIG_FILES="$CONFIG_FILES ao.pc" ;; 15208 15209 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 15210 esac 15211done 15212 15213 15214# If the user did not use the arguments to specify the items to instantiate, 15215# then the envvar interface is used. Set only those that are not. 15216# We use the long form for the default assignment because of an extremely 15217# bizarre bug on SunOS 4.1.3. 15218if $ac_need_defaults; then 15219 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15220 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15221fi 15222 15223# Have a temporary directory for convenience. Make it in the build tree 15224# simply because there is no reason against having it here, and in addition, 15225# creating and moving files from /tmp can sometimes cause problems. 15226# Hook for its removal unless debugging. 15227# Note that there is a small window in which the directory will not be cleaned: 15228# after its creation but before its name has been assigned to `$tmp'. 15229$debug || 15230{ 15231 tmp= ac_tmp= 15232 trap 'exit_status=$? 15233 : "${ac_tmp:=$tmp}" 15234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 15235' 0 15236 trap 'as_fn_exit 1' 1 2 13 15 15237} 15238# Create a (secure) tmp directory for tmp files. 15239 15240{ 15241 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15242 test -d "$tmp" 15243} || 15244{ 15245 tmp=./conf$$-$RANDOM 15246 (umask 077 && mkdir "$tmp") 15247} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 15248ac_tmp=$tmp 15249 15250# Set up the scripts for CONFIG_FILES section. 15251# No need to generate them if there are no CONFIG_FILES. 15252# This happens for instance with `./config.status config.h'. 15253if test -n "$CONFIG_FILES"; then 15254 15255 15256ac_cr=`echo X | tr X '\015'` 15257# On cygwin, bash can eat \r inside `` if the user requested igncr. 15258# But we know of no other shell where ac_cr would be empty at this 15259# point, so we can use a bashism as a fallback. 15260if test "x$ac_cr" = x; then 15261 eval ac_cr=\$\'\\r\' 15262fi 15263ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15264if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15265 ac_cs_awk_cr='\\r' 15266else 15267 ac_cs_awk_cr=$ac_cr 15268fi 15269 15270echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 15271_ACEOF 15272 15273 15274{ 15275 echo "cat >conf$$subs.awk <<_ACEOF" && 15276 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15277 echo "_ACEOF" 15278} >conf$$subs.sh || 15279 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15280ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 15281ac_delim='%!_!# ' 15282for ac_last_try in false false false false false :; do 15283 . ./conf$$subs.sh || 15284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15285 15286 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15287 if test $ac_delim_n = $ac_delim_num; then 15288 break 15289 elif $ac_last_try; then 15290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 15291 else 15292 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15293 fi 15294done 15295rm -f conf$$subs.sh 15296 15297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15298cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 15299_ACEOF 15300sed -n ' 15301h 15302s/^/S["/; s/!.*/"]=/ 15303p 15304g 15305s/^[^!]*!// 15306:repl 15307t repl 15308s/'"$ac_delim"'$// 15309t delim 15310:nl 15311h 15312s/\(.\{148\}\)..*/\1/ 15313t more1 15314s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15315p 15316n 15317b repl 15318:more1 15319s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15320p 15321g 15322s/.\{148\}// 15323t nl 15324:delim 15325h 15326s/\(.\{148\}\)..*/\1/ 15327t more2 15328s/["\\]/\\&/g; s/^/"/; s/$/"/ 15329p 15330b 15331:more2 15332s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15333p 15334g 15335s/.\{148\}// 15336t delim 15337' <conf$$subs.awk | sed ' 15338/^[^""]/{ 15339 N 15340 s/\n// 15341} 15342' >>$CONFIG_STATUS || ac_write_fail=1 15343rm -f conf$$subs.awk 15344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15345_ACAWK 15346cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 15347 for (key in S) S_is_set[key] = 1 15348 FS = "" 15349 15350} 15351{ 15352 line = $ 0 15353 nfields = split(line, field, "@") 15354 substed = 0 15355 len = length(field[1]) 15356 for (i = 2; i < nfields; i++) { 15357 key = field[i] 15358 keylen = length(key) 15359 if (S_is_set[key]) { 15360 value = S[key] 15361 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15362 len += length(value) + length(field[++i]) 15363 substed = 1 15364 } else 15365 len += 1 + keylen 15366 } 15367 15368 print line 15369} 15370 15371_ACAWK 15372_ACEOF 15373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15374if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15375 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15376else 15377 cat 15378fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 15379 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 15380_ACEOF 15381 15382# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 15383# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 15384# trailing colons and then remove the whole line if VPATH becomes empty 15385# (actually we leave an empty line to preserve line numbers). 15386if test "x$srcdir" = x.; then 15387 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 15388h 15389s/// 15390s/^/:/ 15391s/[ ]*$/:/ 15392s/:\$(srcdir):/:/g 15393s/:\${srcdir}:/:/g 15394s/:@srcdir@:/:/g 15395s/^:*// 15396s/:*$// 15397x 15398s/\(=[ ]*\).*/\1/ 15399G 15400s/\n// 15401s/^[^=]*=[ ]*$// 15402}' 15403fi 15404 15405cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15406fi # test -n "$CONFIG_FILES" 15407 15408 15409eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 15410shift 15411for ac_tag 15412do 15413 case $ac_tag in 15414 :[FHLC]) ac_mode=$ac_tag; continue;; 15415 esac 15416 case $ac_mode$ac_tag in 15417 :[FHL]*:*);; 15418 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15419 :[FH]-) ac_tag=-:-;; 15420 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15421 esac 15422 ac_save_IFS=$IFS 15423 IFS=: 15424 set x $ac_tag 15425 IFS=$ac_save_IFS 15426 shift 15427 ac_file=$1 15428 shift 15429 15430 case $ac_mode in 15431 :L) ac_source=$1;; 15432 :[FH]) 15433 ac_file_inputs= 15434 for ac_f 15435 do 15436 case $ac_f in 15437 -) ac_f="$ac_tmp/stdin";; 15438 *) # Look for the file first in the build tree, then in the source tree 15439 # (if the path is not absolute). The absolute path cannot be DOS-style, 15440 # because $ac_f cannot contain `:'. 15441 test -f "$ac_f" || 15442 case $ac_f in 15443 [\\/$]*) false;; 15444 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15445 esac || 15446 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15447 esac 15448 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15449 as_fn_append ac_file_inputs " '$ac_f'" 15450 done 15451 15452 # Let's still pretend it is `configure' which instantiates (i.e., don't 15453 # use $as_me), people would be surprised to read: 15454 # /* config.h. Generated by config.status. */ 15455 configure_input='Generated from '` 15456 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15457 `' by configure.' 15458 if test x"$ac_file" != x-; then 15459 configure_input="$ac_file. $configure_input" 15460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15461$as_echo "$as_me: creating $ac_file" >&6;} 15462 fi 15463 # Neutralize special characters interpreted by sed in replacement strings. 15464 case $configure_input in #( 15465 *\&* | *\|* | *\\* ) 15466 ac_sed_conf_input=`$as_echo "$configure_input" | 15467 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15468 *) ac_sed_conf_input=$configure_input;; 15469 esac 15470 15471 case $ac_tag in 15472 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15473 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15474 esac 15475 ;; 15476 esac 15477 15478 ac_dir=`$as_dirname -- "$ac_file" || 15479$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15480 X"$ac_file" : 'X\(//\)[^/]' \| \ 15481 X"$ac_file" : 'X\(//\)$' \| \ 15482 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15483$as_echo X"$ac_file" | 15484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15485 s//\1/ 15486 q 15487 } 15488 /^X\(\/\/\)[^/].*/{ 15489 s//\1/ 15490 q 15491 } 15492 /^X\(\/\/\)$/{ 15493 s//\1/ 15494 q 15495 } 15496 /^X\(\/\).*/{ 15497 s//\1/ 15498 q 15499 } 15500 s/.*/./; q'` 15501 as_dir="$ac_dir"; as_fn_mkdir_p 15502 ac_builddir=. 15503 15504case "$ac_dir" in 15505.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15506*) 15507 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15508 # A ".." for each directory in $ac_dir_suffix. 15509 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15510 case $ac_top_builddir_sub in 15511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15513 esac ;; 15514esac 15515ac_abs_top_builddir=$ac_pwd 15516ac_abs_builddir=$ac_pwd$ac_dir_suffix 15517# for backward compatibility: 15518ac_top_builddir=$ac_top_build_prefix 15519 15520case $srcdir in 15521 .) # We are building in place. 15522 ac_srcdir=. 15523 ac_top_srcdir=$ac_top_builddir_sub 15524 ac_abs_top_srcdir=$ac_pwd ;; 15525 [\\/]* | ?:[\\/]* ) # Absolute name. 15526 ac_srcdir=$srcdir$ac_dir_suffix; 15527 ac_top_srcdir=$srcdir 15528 ac_abs_top_srcdir=$srcdir ;; 15529 *) # Relative name. 15530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15531 ac_top_srcdir=$ac_top_build_prefix$srcdir 15532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15533esac 15534ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15535 15536 15537 case $ac_mode in 15538 :F) 15539 # 15540 # CONFIG_FILE 15541 # 15542 15543 case $INSTALL in 15544 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15545 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15546 esac 15547 ac_MKDIR_P=$MKDIR_P 15548 case $MKDIR_P in 15549 [\\/$]* | ?:[\\/]* ) ;; 15550 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15551 esac 15552_ACEOF 15553 15554cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15555# If the template does not know about datarootdir, expand it. 15556# FIXME: This hack should be removed a few years after 2.60. 15557ac_datarootdir_hack=; ac_datarootdir_seen= 15558ac_sed_dataroot=' 15559/datarootdir/ { 15560 p 15561 q 15562} 15563/@datadir@/p 15564/@docdir@/p 15565/@infodir@/p 15566/@localedir@/p 15567/@mandir@/p' 15568case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15569*datarootdir*) ac_datarootdir_seen=yes;; 15570*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15572$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15573_ACEOF 15574cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15575 ac_datarootdir_hack=' 15576 s&@datadir@&$datadir&g 15577 s&@docdir@&$docdir&g 15578 s&@infodir@&$infodir&g 15579 s&@localedir@&$localedir&g 15580 s&@mandir@&$mandir&g 15581 s&\\\${datarootdir}&$datarootdir&g' ;; 15582esac 15583_ACEOF 15584 15585# Neutralize VPATH when `$srcdir' = `.'. 15586# Shell code in configure.ac might set extrasub. 15587# FIXME: do we really want to maintain this feature? 15588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15589ac_sed_extra="$ac_vpsub 15590$extrasub 15591_ACEOF 15592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15593:t 15594/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15595s|@configure_input@|$ac_sed_conf_input|;t t 15596s&@top_builddir@&$ac_top_builddir_sub&;t t 15597s&@top_build_prefix@&$ac_top_build_prefix&;t t 15598s&@srcdir@&$ac_srcdir&;t t 15599s&@abs_srcdir@&$ac_abs_srcdir&;t t 15600s&@top_srcdir@&$ac_top_srcdir&;t t 15601s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15602s&@builddir@&$ac_builddir&;t t 15603s&@abs_builddir@&$ac_abs_builddir&;t t 15604s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15605s&@INSTALL@&$ac_INSTALL&;t t 15606s&@MKDIR_P@&$ac_MKDIR_P&;t t 15607$ac_datarootdir_hack 15608" 15609eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15610 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15611 15612test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15613 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15615 "$ac_tmp/out"`; test -z "$ac_out"; } && 15616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15617which seems to be undefined. Please make sure it is defined" >&5 15618$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15619which seems to be undefined. Please make sure it is defined" >&2;} 15620 15621 rm -f "$ac_tmp/stdin" 15622 case $ac_file in 15623 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15624 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15625 esac \ 15626 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15627 ;; 15628 15629 15630 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15631$as_echo "$as_me: executing $ac_file commands" >&6;} 15632 ;; 15633 esac 15634 15635 15636 case $ac_file$ac_mode in 15637 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15638 # Older Autoconf quotes --file arguments for eval, but not when files 15639 # are listed without --file. Let's play safe and only enable the eval 15640 # if we detect the quoting. 15641 case $CONFIG_FILES in 15642 *\'*) eval set x "$CONFIG_FILES" ;; 15643 *) set x $CONFIG_FILES ;; 15644 esac 15645 shift 15646 for mf 15647 do 15648 # Strip MF so we end up with the name of the file. 15649 mf=`echo "$mf" | sed -e 's/:.*$//'` 15650 # Check whether this is an Automake generated Makefile or not. 15651 # We used to match only the files named 'Makefile.in', but 15652 # some people rename them; so instead we look at the file content. 15653 # Grep'ing the first line is not enough: some people post-process 15654 # each Makefile.in and add a new line on top of each file to say so. 15655 # Grep'ing the whole file is not good either: AIX grep has a line 15656 # limit of 2048, but all sed's we know have understand at least 4000. 15657 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15658 dirpart=`$as_dirname -- "$mf" || 15659$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15660 X"$mf" : 'X\(//\)[^/]' \| \ 15661 X"$mf" : 'X\(//\)$' \| \ 15662 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15663$as_echo X"$mf" | 15664 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15665 s//\1/ 15666 q 15667 } 15668 /^X\(\/\/\)[^/].*/{ 15669 s//\1/ 15670 q 15671 } 15672 /^X\(\/\/\)$/{ 15673 s//\1/ 15674 q 15675 } 15676 /^X\(\/\).*/{ 15677 s//\1/ 15678 q 15679 } 15680 s/.*/./; q'` 15681 else 15682 continue 15683 fi 15684 # Extract the definition of DEPDIR, am__include, and am__quote 15685 # from the Makefile without running 'make'. 15686 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15687 test -z "$DEPDIR" && continue 15688 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15689 test -z "$am__include" && continue 15690 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15691 # Find all dependency output files, they are included files with 15692 # $(DEPDIR) in their names. We invoke sed twice because it is the 15693 # simplest approach to changing $(DEPDIR) to its actual value in the 15694 # expansion. 15695 for file in `sed -n " 15696 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15697 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15698 # Make sure the directory exists. 15699 test -f "$dirpart/$file" && continue 15700 fdir=`$as_dirname -- "$file" || 15701$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15702 X"$file" : 'X\(//\)[^/]' \| \ 15703 X"$file" : 'X\(//\)$' \| \ 15704 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15705$as_echo X"$file" | 15706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15707 s//\1/ 15708 q 15709 } 15710 /^X\(\/\/\)[^/].*/{ 15711 s//\1/ 15712 q 15713 } 15714 /^X\(\/\/\)$/{ 15715 s//\1/ 15716 q 15717 } 15718 /^X\(\/\).*/{ 15719 s//\1/ 15720 q 15721 } 15722 s/.*/./; q'` 15723 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15724 # echo "creating $dirpart/$file" 15725 echo '# dummy' > "$dirpart/$file" 15726 done 15727 done 15728} 15729 ;; 15730 "libtool":C) 15731 15732 # See if we are running on zsh, and set the options which allow our 15733 # commands through without removal of \ escapes. 15734 if test -n "${ZSH_VERSION+set}" ; then 15735 setopt NO_GLOB_SUBST 15736 fi 15737 15738 cfgfile="${ofile}T" 15739 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15740 $RM "$cfgfile" 15741 15742 cat <<_LT_EOF >> "$cfgfile" 15743#! $SHELL 15744 15745# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15746# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15747# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15748# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15749# 15750# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15751# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15752# Foundation, Inc. 15753# Written by Gordon Matzigkeit, 1996 15754# 15755# This file is part of GNU Libtool. 15756# 15757# GNU Libtool is free software; you can redistribute it and/or 15758# modify it under the terms of the GNU General Public License as 15759# published by the Free Software Foundation; either version 2 of 15760# the License, or (at your option) any later version. 15761# 15762# As a special exception to the GNU General Public License, 15763# if you distribute this file as part of a program or library that 15764# is built using GNU Libtool, you may include this file under the 15765# same distribution terms that you use for the rest of that program. 15766# 15767# GNU Libtool is distributed in the hope that it will be useful, 15768# but WITHOUT ANY WARRANTY; without even the implied warranty of 15769# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15770# GNU General Public License for more details. 15771# 15772# You should have received a copy of the GNU General Public License 15773# along with GNU Libtool; see the file COPYING. If not, a copy 15774# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15775# obtained by writing to the Free Software Foundation, Inc., 15776# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15777 15778 15779# The names of the tagged configurations supported by this script. 15780available_tags="" 15781 15782# ### BEGIN LIBTOOL CONFIG 15783 15784# Whether or not to build static libraries. 15785build_old_libs=$enable_static 15786 15787# Assembler program. 15788AS=$lt_AS 15789 15790# DLL creation program. 15791DLLTOOL=$lt_DLLTOOL 15792 15793# Object dumper program. 15794OBJDUMP=$lt_OBJDUMP 15795 15796# Which release of libtool.m4 was used? 15797macro_version=$macro_version 15798macro_revision=$macro_revision 15799 15800# Whether or not to build shared libraries. 15801build_libtool_libs=$enable_shared 15802 15803# What type of objects to build. 15804pic_mode=$pic_mode 15805 15806# Whether or not to optimize for fast installation. 15807fast_install=$enable_fast_install 15808 15809# Shell to use when invoking shell scripts. 15810SHELL=$lt_SHELL 15811 15812# An echo program that protects backslashes. 15813ECHO=$lt_ECHO 15814 15815# The PATH separator for the build system. 15816PATH_SEPARATOR=$lt_PATH_SEPARATOR 15817 15818# The host system. 15819host_alias=$host_alias 15820host=$host 15821host_os=$host_os 15822 15823# The build system. 15824build_alias=$build_alias 15825build=$build 15826build_os=$build_os 15827 15828# A sed program that does not truncate output. 15829SED=$lt_SED 15830 15831# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15832Xsed="\$SED -e 1s/^X//" 15833 15834# A grep program that handles long lines. 15835GREP=$lt_GREP 15836 15837# An ERE matcher. 15838EGREP=$lt_EGREP 15839 15840# A literal string matcher. 15841FGREP=$lt_FGREP 15842 15843# A BSD- or MS-compatible name lister. 15844NM=$lt_NM 15845 15846# Whether we need soft or hard links. 15847LN_S=$lt_LN_S 15848 15849# What is the maximum length of a command? 15850max_cmd_len=$max_cmd_len 15851 15852# Object file suffix (normally "o"). 15853objext=$ac_objext 15854 15855# Executable file suffix (normally ""). 15856exeext=$exeext 15857 15858# whether the shell understands "unset". 15859lt_unset=$lt_unset 15860 15861# turn spaces into newlines. 15862SP2NL=$lt_lt_SP2NL 15863 15864# turn newlines into spaces. 15865NL2SP=$lt_lt_NL2SP 15866 15867# convert \$build file names to \$host format. 15868to_host_file_cmd=$lt_cv_to_host_file_cmd 15869 15870# convert \$build files to toolchain format. 15871to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15872 15873# Method to check whether dependent libraries are shared objects. 15874deplibs_check_method=$lt_deplibs_check_method 15875 15876# Command to use when deplibs_check_method = "file_magic". 15877file_magic_cmd=$lt_file_magic_cmd 15878 15879# How to find potential files when deplibs_check_method = "file_magic". 15880file_magic_glob=$lt_file_magic_glob 15881 15882# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15883want_nocaseglob=$lt_want_nocaseglob 15884 15885# Command to associate shared and link libraries. 15886sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15887 15888# The archiver. 15889AR=$lt_AR 15890 15891# Flags to create an archive. 15892AR_FLAGS=$lt_AR_FLAGS 15893 15894# How to feed a file listing to the archiver. 15895archiver_list_spec=$lt_archiver_list_spec 15896 15897# A symbol stripping program. 15898STRIP=$lt_STRIP 15899 15900# Commands used to install an old-style archive. 15901RANLIB=$lt_RANLIB 15902old_postinstall_cmds=$lt_old_postinstall_cmds 15903old_postuninstall_cmds=$lt_old_postuninstall_cmds 15904 15905# Whether to use a lock for old archive extraction. 15906lock_old_archive_extraction=$lock_old_archive_extraction 15907 15908# A C compiler. 15909LTCC=$lt_CC 15910 15911# LTCC compiler flags. 15912LTCFLAGS=$lt_CFLAGS 15913 15914# Take the output of nm and produce a listing of raw symbols and C names. 15915global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15916 15917# Transform the output of nm in a proper C declaration. 15918global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15919 15920# Transform the output of nm in a C name address pair. 15921global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15922 15923# Transform the output of nm in a C name address pair when lib prefix is needed. 15924global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15925 15926# Specify filename containing input files for \$NM. 15927nm_file_list_spec=$lt_nm_file_list_spec 15928 15929# The root where to search for dependent libraries,and in which our libraries should be installed. 15930lt_sysroot=$lt_sysroot 15931 15932# The name of the directory that contains temporary libtool files. 15933objdir=$objdir 15934 15935# Used to examine libraries when file_magic_cmd begins with "file". 15936MAGIC_CMD=$MAGIC_CMD 15937 15938# Must we lock files when doing compilation? 15939need_locks=$lt_need_locks 15940 15941# Manifest tool. 15942MANIFEST_TOOL=$lt_MANIFEST_TOOL 15943 15944# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15945DSYMUTIL=$lt_DSYMUTIL 15946 15947# Tool to change global to local symbols on Mac OS X. 15948NMEDIT=$lt_NMEDIT 15949 15950# Tool to manipulate fat objects and archives on Mac OS X. 15951LIPO=$lt_LIPO 15952 15953# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15954OTOOL=$lt_OTOOL 15955 15956# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15957OTOOL64=$lt_OTOOL64 15958 15959# Old archive suffix (normally "a"). 15960libext=$libext 15961 15962# Shared library suffix (normally ".so"). 15963shrext_cmds=$lt_shrext_cmds 15964 15965# The commands to extract the exported symbol list from a shared archive. 15966extract_expsyms_cmds=$lt_extract_expsyms_cmds 15967 15968# Variables whose values should be saved in libtool wrapper scripts and 15969# restored at link time. 15970variables_saved_for_relink=$lt_variables_saved_for_relink 15971 15972# Do we need the "lib" prefix for modules? 15973need_lib_prefix=$need_lib_prefix 15974 15975# Do we need a version for libraries? 15976need_version=$need_version 15977 15978# Library versioning type. 15979version_type=$version_type 15980 15981# Shared library runtime path variable. 15982runpath_var=$runpath_var 15983 15984# Shared library path variable. 15985shlibpath_var=$shlibpath_var 15986 15987# Is shlibpath searched before the hard-coded library search path? 15988shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15989 15990# Format of library name prefix. 15991libname_spec=$lt_libname_spec 15992 15993# List of archive names. First name is the real one, the rest are links. 15994# The last name is the one that the linker finds with -lNAME 15995library_names_spec=$lt_library_names_spec 15996 15997# The coded name of the library, if different from the real name. 15998soname_spec=$lt_soname_spec 15999 16000# Permission mode override for installation of shared libraries. 16001install_override_mode=$lt_install_override_mode 16002 16003# Command to use after installation of a shared archive. 16004postinstall_cmds=$lt_postinstall_cmds 16005 16006# Command to use after uninstallation of a shared archive. 16007postuninstall_cmds=$lt_postuninstall_cmds 16008 16009# Commands used to finish a libtool library installation in a directory. 16010finish_cmds=$lt_finish_cmds 16011 16012# As "finish_cmds", except a single script fragment to be evaled but 16013# not shown. 16014finish_eval=$lt_finish_eval 16015 16016# Whether we should hardcode library paths into libraries. 16017hardcode_into_libs=$hardcode_into_libs 16018 16019# Compile-time system search path for libraries. 16020sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16021 16022# Run-time system search path for libraries. 16023sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16024 16025# Whether dlopen is supported. 16026dlopen_support=$enable_dlopen 16027 16028# Whether dlopen of programs is supported. 16029dlopen_self=$enable_dlopen_self 16030 16031# Whether dlopen of statically linked programs is supported. 16032dlopen_self_static=$enable_dlopen_self_static 16033 16034# Commands to strip libraries. 16035old_striplib=$lt_old_striplib 16036striplib=$lt_striplib 16037 16038 16039# The linker used to build libraries. 16040LD=$lt_LD 16041 16042# How to create reloadable object files. 16043reload_flag=$lt_reload_flag 16044reload_cmds=$lt_reload_cmds 16045 16046# Commands used to build an old-style archive. 16047old_archive_cmds=$lt_old_archive_cmds 16048 16049# A language specific compiler. 16050CC=$lt_compiler 16051 16052# Is the compiler the GNU compiler? 16053with_gcc=$GCC 16054 16055# Compiler flag to turn off builtin functions. 16056no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16057 16058# Additional compiler flags for building library objects. 16059pic_flag=$lt_lt_prog_compiler_pic 16060 16061# How to pass a linker flag through the compiler. 16062wl=$lt_lt_prog_compiler_wl 16063 16064# Compiler flag to prevent dynamic linking. 16065link_static_flag=$lt_lt_prog_compiler_static 16066 16067# Does compiler simultaneously support -c and -o options? 16068compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16069 16070# Whether or not to add -lc for building shared libraries. 16071build_libtool_need_lc=$archive_cmds_need_lc 16072 16073# Whether or not to disallow shared libs when runtime libs are static. 16074allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16075 16076# Compiler flag to allow reflexive dlopens. 16077export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16078 16079# Compiler flag to generate shared objects directly from archives. 16080whole_archive_flag_spec=$lt_whole_archive_flag_spec 16081 16082# Whether the compiler copes with passing no objects directly. 16083compiler_needs_object=$lt_compiler_needs_object 16084 16085# Create an old-style archive from a shared archive. 16086old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16087 16088# Create a temporary old-style archive to link instead of a shared archive. 16089old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16090 16091# Commands used to build a shared archive. 16092archive_cmds=$lt_archive_cmds 16093archive_expsym_cmds=$lt_archive_expsym_cmds 16094 16095# Commands used to build a loadable module if different from building 16096# a shared archive. 16097module_cmds=$lt_module_cmds 16098module_expsym_cmds=$lt_module_expsym_cmds 16099 16100# Whether we are building with GNU ld or not. 16101with_gnu_ld=$lt_with_gnu_ld 16102 16103# Flag that allows shared libraries with undefined symbols to be built. 16104allow_undefined_flag=$lt_allow_undefined_flag 16105 16106# Flag that enforces no undefined symbols. 16107no_undefined_flag=$lt_no_undefined_flag 16108 16109# Flag to hardcode \$libdir into a binary during linking. 16110# This must work even if \$libdir does not exist 16111hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16112 16113# Whether we need a single "-rpath" flag with a separated argument. 16114hardcode_libdir_separator=$lt_hardcode_libdir_separator 16115 16116# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16117# DIR into the resulting binary. 16118hardcode_direct=$hardcode_direct 16119 16120# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16121# DIR into the resulting binary and the resulting library dependency is 16122# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16123# library is relocated. 16124hardcode_direct_absolute=$hardcode_direct_absolute 16125 16126# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16127# into the resulting binary. 16128hardcode_minus_L=$hardcode_minus_L 16129 16130# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16131# into the resulting binary. 16132hardcode_shlibpath_var=$hardcode_shlibpath_var 16133 16134# Set to "yes" if building a shared library automatically hardcodes DIR 16135# into the library and all subsequent libraries and executables linked 16136# against it. 16137hardcode_automatic=$hardcode_automatic 16138 16139# Set to yes if linker adds runtime paths of dependent libraries 16140# to runtime path list. 16141inherit_rpath=$inherit_rpath 16142 16143# Whether libtool must link a program against all its dependency libraries. 16144link_all_deplibs=$link_all_deplibs 16145 16146# Set to "yes" if exported symbols are required. 16147always_export_symbols=$always_export_symbols 16148 16149# The commands to list exported symbols. 16150export_symbols_cmds=$lt_export_symbols_cmds 16151 16152# Symbols that should not be listed in the preloaded symbols. 16153exclude_expsyms=$lt_exclude_expsyms 16154 16155# Symbols that must always be exported. 16156include_expsyms=$lt_include_expsyms 16157 16158# Commands necessary for linking programs (against libraries) with templates. 16159prelink_cmds=$lt_prelink_cmds 16160 16161# Commands necessary for finishing linking programs. 16162postlink_cmds=$lt_postlink_cmds 16163 16164# Specify filename containing input files. 16165file_list_spec=$lt_file_list_spec 16166 16167# How to hardcode a shared library path into an executable. 16168hardcode_action=$hardcode_action 16169 16170# ### END LIBTOOL CONFIG 16171 16172_LT_EOF 16173 16174 case $host_os in 16175 aix3*) 16176 cat <<\_LT_EOF >> "$cfgfile" 16177# AIX sometimes has problems with the GCC collect2 program. For some 16178# reason, if we set the COLLECT_NAMES environment variable, the problems 16179# vanish in a puff of smoke. 16180if test "X${COLLECT_NAMES+set}" != Xset; then 16181 COLLECT_NAMES= 16182 export COLLECT_NAMES 16183fi 16184_LT_EOF 16185 ;; 16186 esac 16187 16188 16189ltmain="$ac_aux_dir/ltmain.sh" 16190 16191 16192 # We use sed instead of cat because bash on DJGPP gets confused if 16193 # if finds mixed CR/LF and LF-only lines. Since sed operates in 16194 # text mode, it properly converts lines to CR/LF. This bash problem 16195 # is reportedly fixed, but why not run on old versions too? 16196 sed '$q' "$ltmain" >> "$cfgfile" \ 16197 || (rm -f "$cfgfile"; exit 1) 16198 16199 if test x"$xsi_shell" = xyes; then 16200 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 16201func_dirname ()\ 16202{\ 16203\ case ${1} in\ 16204\ */*) func_dirname_result="${1%/*}${2}" ;;\ 16205\ * ) func_dirname_result="${3}" ;;\ 16206\ esac\ 16207} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 16208 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16209 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16210test 0 -eq $? || _lt_function_replace_fail=: 16211 16212 16213 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 16214func_basename ()\ 16215{\ 16216\ func_basename_result="${1##*/}"\ 16217} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16218 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16219 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16220test 0 -eq $? || _lt_function_replace_fail=: 16221 16222 16223 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 16224func_dirname_and_basename ()\ 16225{\ 16226\ case ${1} in\ 16227\ */*) func_dirname_result="${1%/*}${2}" ;;\ 16228\ * ) func_dirname_result="${3}" ;;\ 16229\ esac\ 16230\ func_basename_result="${1##*/}"\ 16231} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 16232 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16233 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16234test 0 -eq $? || _lt_function_replace_fail=: 16235 16236 16237 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 16238func_stripname ()\ 16239{\ 16240\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 16241\ # positional parameters, so assign one to ordinary parameter first.\ 16242\ func_stripname_result=${3}\ 16243\ func_stripname_result=${func_stripname_result#"${1}"}\ 16244\ func_stripname_result=${func_stripname_result%"${2}"}\ 16245} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 16246 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16247 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16248test 0 -eq $? || _lt_function_replace_fail=: 16249 16250 16251 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 16252func_split_long_opt ()\ 16253{\ 16254\ func_split_long_opt_name=${1%%=*}\ 16255\ func_split_long_opt_arg=${1#*=}\ 16256} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16257 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16258 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16259test 0 -eq $? || _lt_function_replace_fail=: 16260 16261 16262 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 16263func_split_short_opt ()\ 16264{\ 16265\ func_split_short_opt_arg=${1#??}\ 16266\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 16267} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 16268 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16269 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16270test 0 -eq $? || _lt_function_replace_fail=: 16271 16272 16273 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 16274func_lo2o ()\ 16275{\ 16276\ case ${1} in\ 16277\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 16278\ *) func_lo2o_result=${1} ;;\ 16279\ esac\ 16280} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 16281 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16282 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16283test 0 -eq $? || _lt_function_replace_fail=: 16284 16285 16286 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 16287func_xform ()\ 16288{\ 16289 func_xform_result=${1%.*}.lo\ 16290} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 16291 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16292 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16293test 0 -eq $? || _lt_function_replace_fail=: 16294 16295 16296 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 16297func_arith ()\ 16298{\ 16299 func_arith_result=$(( $* ))\ 16300} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 16301 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16302 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16303test 0 -eq $? || _lt_function_replace_fail=: 16304 16305 16306 sed -e '/^func_len ()$/,/^} # func_len /c\ 16307func_len ()\ 16308{\ 16309 func_len_result=${#1}\ 16310} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 16311 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16312 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16313test 0 -eq $? || _lt_function_replace_fail=: 16314 16315fi 16316 16317if test x"$lt_shell_append" = xyes; then 16318 sed -e '/^func_append ()$/,/^} # func_append /c\ 16319func_append ()\ 16320{\ 16321 eval "${1}+=\\${2}"\ 16322} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 16323 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16324 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16325test 0 -eq $? || _lt_function_replace_fail=: 16326 16327 16328 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 16329func_append_quoted ()\ 16330{\ 16331\ func_quote_for_eval "${2}"\ 16332\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 16333} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 16334 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16335 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16336test 0 -eq $? || _lt_function_replace_fail=: 16337 16338 16339 # Save a `func_append' function call where possible by direct use of '+=' 16340 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 16341 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16342 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16343 test 0 -eq $? || _lt_function_replace_fail=: 16344else 16345 # Save a `func_append' function call even when '+=' is not available 16346 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 16347 && mv -f "$cfgfile.tmp" "$cfgfile" \ 16348 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 16349 test 0 -eq $? || _lt_function_replace_fail=: 16350fi 16351 16352if test x"$_lt_function_replace_fail" = x":"; then 16353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 16354$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 16355fi 16356 16357 16358 mv -f "$cfgfile" "$ofile" || 16359 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16360 chmod +x "$ofile" 16361 16362 ;; 16363 16364 esac 16365done # for ac_tag 16366 16367 16368as_fn_exit 0 16369_ACEOF 16370ac_clean_files=$ac_clean_files_save 16371 16372test $ac_write_fail = 0 || 16373 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16374 16375 16376# configure is writing to config.log, and then calls config.status. 16377# config.status does its own redirection, appending to config.log. 16378# Unfortunately, on DOS this fails, as config.log is still kept open 16379# by configure, so config.status won't be able to write to it; its 16380# output is simply discarded. So we exec the FD to /dev/null, 16381# effectively closing config.log, so it can be properly (re)opened and 16382# appended to by config.status. When coming back to configure, we 16383# need to make the FD available again. 16384if test "$no_create" != yes; then 16385 ac_cs_success=: 16386 ac_config_status_args= 16387 test "$silent" = yes && 16388 ac_config_status_args="$ac_config_status_args --quiet" 16389 exec 5>/dev/null 16390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16391 exec 5>>config.log 16392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16393 # would make configure fail if this is the last instruction. 16394 $ac_cs_success || as_fn_exit 1 16395fi 16396if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16398$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16399fi 16400 16401 16402 16403 EXP_VAR=LIBDIR 16404 FROM_VAR=${libdir} 16405 16406 prefix_save=$prefix 16407 exec_prefix_save=$exec_prefix 16408 16409 if test "x$prefix" = "xNONE"; then 16410 prefix="$ac_default_prefix" 16411 fi 16412 if test "x$exec_prefix" = "xNONE"; then 16413 exec_prefix=$prefix 16414 fi 16415 16416 full_var="$FROM_VAR" 16417 while true; do 16418 new_full_var="`eval echo $full_var`" 16419 if test "x$new_full_var" = "x$full_var"; then break; fi 16420 full_var=$new_full_var 16421 done 16422 16423 full_var=$new_full_var 16424 LIBDIR="$full_var" 16425 16426 16427 prefix=$prefix_save 16428 exec_prefix=$exec_prefix_save 16429 16430 16431 EXP_VAR=INCLUDEDIR 16432 FROM_VAR=${includedir} 16433 16434 prefix_save=$prefix 16435 exec_prefix_save=$exec_prefix 16436 16437 if test "x$prefix" = "xNONE"; then 16438 prefix="$ac_default_prefix" 16439 fi 16440 if test "x$exec_prefix" = "xNONE"; then 16441 exec_prefix=$prefix 16442 fi 16443 16444 full_var="$FROM_VAR" 16445 while true; do 16446 new_full_var="`eval echo $full_var`" 16447 if test "x$new_full_var" = "x$full_var"; then break; fi 16448 full_var=$new_full_var 16449 done 16450 16451 full_var=$new_full_var 16452 INCLUDEDIR="$full_var" 16453 16454 16455 prefix=$prefix_save 16456 exec_prefix=$exec_prefix_save 16457 16458 16459 EXP_VAR=BINDIR 16460 FROM_VAR=${bindir} 16461 16462 prefix_save=$prefix 16463 exec_prefix_save=$exec_prefix 16464 16465 if test "x$prefix" = "xNONE"; then 16466 prefix="$ac_default_prefix" 16467 fi 16468 if test "x$exec_prefix" = "xNONE"; then 16469 exec_prefix=$prefix 16470 fi 16471 16472 full_var="$FROM_VAR" 16473 while true; do 16474 new_full_var="`eval echo $full_var`" 16475 if test "x$new_full_var" = "x$full_var"; then break; fi 16476 full_var=$new_full_var 16477 done 16478 16479 full_var=$new_full_var 16480 BINDIR="$full_var" 16481 16482 16483 prefix=$prefix_save 16484 exec_prefix=$exec_prefix_save 16485 16486 16487 EXP_VAR=DOCDIR 16488 FROM_VAR=${docdir} 16489 16490 prefix_save=$prefix 16491 exec_prefix_save=$exec_prefix 16492 16493 if test "x$prefix" = "xNONE"; then 16494 prefix="$ac_default_prefix" 16495 fi 16496 if test "x$exec_prefix" = "xNONE"; then 16497 exec_prefix=$prefix 16498 fi 16499 16500 full_var="$FROM_VAR" 16501 while true; do 16502 new_full_var="`eval echo $full_var`" 16503 if test "x$new_full_var" = "x$full_var"; then break; fi 16504 full_var=$new_full_var 16505 done 16506 16507 full_var=$new_full_var 16508 DOCDIR="$full_var" 16509 16510 16511 prefix=$prefix_save 16512 exec_prefix=$exec_prefix_save 16513 16514 16515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 16516------------------------------------------------------------------------ 16517 $PACKAGE $VERSION: Automatic configuration OK. 16518 16519 Backends to be built: 16520 16521 AU file output: .............. yes 16522 RAW file output: ............. yes 16523 WAV file output: ............. yes 16524 16525 AIX live output: ............. ${have_aix} 16526 ALSA live output: ............ ${have_alsa} 16527 ARTS live output: ............ ${have_arts} 16528 ESD live output: ............. ${have_esd} 16529 IRIX live output: ............ ${have_irix} 16530 MACOSX live output: .......... ${have_macosx} 16531 NAS live output: ............. ${have_nas} 16532 NULL live output: ............ yes 16533 OSS live output: ............. ${have_oss} 16534 PULSE live output: ........... ${have_pulse} 16535 ROAR live output: ............ ${have_roar} 16536 SNDIO live output: ........... ${have_sndio} 16537 SUN live output: ............. ${have_sun} 16538 Windows WMM live output: ..... ${have_wmm} 16539 16540 Installation paths: 16541 16542 libao: ....................... ${LIBDIR} 16543 C header files: .............. ${INCLUDEDIR}/ao 16544 Documentation: ............... ${DOCDIR} 16545 16546 Building: 16547 16548 Type 'make' to compile $PACKAGE. 16549 16550 Type 'make install' to install $PACKAGE. 16551 16552------------------------------------------------------------------------ 16553" >&5 16554$as_echo " 16555------------------------------------------------------------------------ 16556 $PACKAGE $VERSION: Automatic configuration OK. 16557 16558 Backends to be built: 16559 16560 AU file output: .............. yes 16561 RAW file output: ............. yes 16562 WAV file output: ............. yes 16563 16564 AIX live output: ............. ${have_aix} 16565 ALSA live output: ............ ${have_alsa} 16566 ARTS live output: ............ ${have_arts} 16567 ESD live output: ............. ${have_esd} 16568 IRIX live output: ............ ${have_irix} 16569 MACOSX live output: .......... ${have_macosx} 16570 NAS live output: ............. ${have_nas} 16571 NULL live output: ............ yes 16572 OSS live output: ............. ${have_oss} 16573 PULSE live output: ........... ${have_pulse} 16574 ROAR live output: ............ ${have_roar} 16575 SNDIO live output: ........... ${have_sndio} 16576 SUN live output: ............. ${have_sun} 16577 Windows WMM live output: ..... ${have_wmm} 16578 16579 Installation paths: 16580 16581 libao: ....................... ${LIBDIR} 16582 C header files: .............. ${INCLUDEDIR}/ao 16583 Documentation: ............... ${DOCDIR} 16584 16585 Building: 16586 16587 Type 'make' to compile $PACKAGE. 16588 16589 Type 'make install' to install $PACKAGE. 16590 16591------------------------------------------------------------------------ 16592" >&6; } 16593