A hint: This file contains one or more very long lines, so maybe it is better readable using the pure text view mode that shows the contents as wrapped lines within the browser window.
1 #! /bin/sh 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.69 for alsa-oss 1.1.8. 4 # 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 9 # This configure script is free software; the Free Software Foundation 10 # gives unlimited permission to copy, distribute and modify it. 11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 14 15 # Be more Bourne compatible 16 DUALCASE=1; export DUALCASE # for MKS sh 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24 else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30 esac 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 71 72 # The user is always right. 73 if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79 fi 80 81 82 # IFS 83 # We need space, tab and new line, in precisely that order. Quoting is 84 # there to prevent editors from complaining about space-tab. 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 86 # splitting by setting IFS to empty value.) 87 IFS=" "" $as_nl" 88 89 # Find who we are. Look in the path if we contain no directory separator. 90 as_myself= 91 case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94 for as_dir in $PATH 95 do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100 IFS=$as_save_IFS 101 102 ;; 103 esac 104 # We did not find ourselves, most probably we were run as `sh COMMAND' 105 # in which case we are not to be found in the path. 106 if test "x$as_myself" = x; then 107 as_myself=$0 108 fi 109 if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121 done 122 PS1='$ ' 123 PS2='> ' 124 PS4='+ ' 125 126 # NLS nuisances. 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199 200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 204 PATH=/empty FPATH=/empty; export PATH FPATH 205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 207 test \$(( 1 + 1 )) = 2 || exit 1" 208 if (eval "$as_required") 2>/dev/null; then : 209 as_have_required=yes 210 else 211 as_have_required=no 212 fi 213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 214 215 else 216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 217 as_found=false 218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 219 do 220 IFS=$as_save_IFS 221 test -z "$as_dir" && as_dir=. 222 as_found=: 223 case $as_dir in #( 224 /*) 225 for as_base in sh bash ksh sh5; do 226 # Try only shells that exist, to save several forks. 227 as_shell=$as_dir/$as_base 228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 230 CONFIG_SHELL=$as_shell as_have_required=yes 231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 break 2 233 fi 234 fi 235 done;; 236 esac 237 as_found=false 238 done 239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 241 CONFIG_SHELL=$SHELL as_have_required=yes 242 fi; } 243 IFS=$as_save_IFS 244 245 246 if test "x$CONFIG_SHELL" != x; then : 247 export CONFIG_SHELL 248 # We cannot yet assume a decent shell, so we have to provide a 249 # neutralization value for shells without unset; and this also 250 # works around shells that cannot unset nonexistent variables. 251 # Preserve -v and -x to the replacement shell. 252 BASH_ENV=/dev/null 253 ENV=/dev/null 254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 255 case $- in # (((( 256 *v*x* | *x*v* ) as_opts=-vx ;; 257 *v* ) as_opts=-v ;; 258 *x* ) as_opts=-x ;; 259 * ) as_opts= ;; 260 esac 261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 262 # Admittedly, this is quite paranoid, since all the known shells bail 263 # out after a failed `exec'. 264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 265 exit 255 266 fi 267 268 if test x$as_have_required = xno; then : 269 $as_echo "$0: This script requires a shell more modern than all" 270 $as_echo "$0: the shells that I found on your system." 271 if test x${ZSH_VERSION+set} = xset ; then 272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 273 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 274 else 275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 276 $0: including any error possibly output before this 277 $0: message. Then install a modern shell, or manually run 278 $0: the script under such a shell if you do have one." 279 fi 280 exit 1 281 fi 282 fi 283 fi 284 SHELL=${CONFIG_SHELL-/bin/sh} 285 export SHELL 286 # Unset more variables known to interfere with behavior of common tools. 287 CLICOLOR_FORCE= GREP_OPTIONS= 288 unset CLICOLOR_FORCE GREP_OPTIONS 289 290 ## --------------------- ## 291 ## M4sh Shell Functions. ## 292 ## --------------------- ## 293 # as_fn_unset VAR 294 # --------------- 295 # Portably unset VAR. 296 as_fn_unset () 297 { 298 { eval $1=; unset $1;} 299 } 300 as_unset=as_fn_unset 301 302 # as_fn_set_status STATUS 303 # ----------------------- 304 # Set $? to STATUS, without forking. 305 as_fn_set_status () 306 { 307 return $1 308 } # as_fn_set_status 309 310 # as_fn_exit STATUS 311 # ----------------- 312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 313 as_fn_exit () 314 { 315 set +e 316 as_fn_set_status $1 317 exit $1 318 } # as_fn_exit 319 320 # as_fn_mkdir_p 321 # ------------- 322 # Create "$as_dir" as a directory, including parents if necessary. 323 as_fn_mkdir_p () 324 { 325 326 case $as_dir in #( 327 -*) as_dir=./$as_dir;; 328 esac 329 test -d "$as_dir" || eval $as_mkdir_p || { 330 as_dirs= 331 while :; do 332 case $as_dir in #( 333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 334 *) as_qdir=$as_dir;; 335 esac 336 as_dirs="'$as_qdir' $as_dirs" 337 as_dir=`$as_dirname -- "$as_dir" || 338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 339 X"$as_dir" : 'X\(//\)[^/]' \| \ 340 X"$as_dir" : 'X\(//\)$' \| \ 341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 342 $as_echo X"$as_dir" | 343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\/\)[^/].*/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)$/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\).*/{ 356 s//\1/ 357 q 358 } 359 s/.*/./; q'` 360 test -d "$as_dir" && break 361 done 362 test -z "$as_dirs" || eval "mkdir $as_dirs" 363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 364 365 366 } # as_fn_mkdir_p 367 368 # as_fn_executable_p FILE 369 # ----------------------- 370 # Test if FILE is an executable regular file. 371 as_fn_executable_p () 372 { 373 test -f "$1" && test -x "$1" 374 } # as_fn_executable_p 375 # as_fn_append VAR VALUE 376 # ---------------------- 377 # Append the text in VALUE to the end of the definition contained in VAR. Take 378 # advantage of any shell optimizations that allow amortized linear growth over 379 # repeated appends, instead of the typical quadratic growth present in naive 380 # implementations. 381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 382 eval 'as_fn_append () 383 { 384 eval $1+=\$2 385 }' 386 else 387 as_fn_append () 388 { 389 eval $1=\$$1\$2 390 } 391 fi # as_fn_append 392 393 # as_fn_arith ARG... 394 # ------------------ 395 # Perform arithmetic evaluation on the ARGs, and store the result in the 396 # global $as_val. Take advantage of shells that can avoid forks. The arguments 397 # must be portable across $(()) and expr. 398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 399 eval 'as_fn_arith () 400 { 401 as_val=$(( $* )) 402 }' 403 else 404 as_fn_arith () 405 { 406 as_val=`expr "$@" || test $? -eq 1` 407 } 408 fi # as_fn_arith 409 410 411 # as_fn_error STATUS ERROR [LINENO LOG_FD] 412 # ---------------------------------------- 413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 415 # script with STATUS, using 1 if that was 0. 416 as_fn_error () 417 { 418 as_status=$1; test $as_status -eq 0 && as_status=1 419 if test "$4"; then 420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 422 fi 423 $as_echo "$as_me: error: $2" >&2 424 as_fn_exit $as_status 425 } # as_fn_error 426 427 if expr a : '\(a\)' >/dev/null 2>&1 && 428 test "X`expr 00001 : '.*\(...\)'`" = X001; then 429 as_expr=expr 430 else 431 as_expr=false 432 fi 433 434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 435 as_basename=basename 436 else 437 as_basename=false 438 fi 439 440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 441 as_dirname=dirname 442 else 443 as_dirname=false 444 fi 445 446 as_me=`$as_basename -- "$0" || 447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 448 X"$0" : 'X\(//\)$' \| \ 449 X"$0" : 'X\(/\)' \| . 2>/dev/null || 450 $as_echo X/"$0" | 451 sed '/^.*\/\([^/][^/]*\)\/*$/{ 452 s//\1/ 453 q 454 } 455 /^X\/\(\/\/\)$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\).*/{ 460 s//\1/ 461 q 462 } 463 s/.*/./; q'` 464 465 # Avoid depending upon Character Ranges. 466 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 469 as_cr_digits='0123456789' 470 as_cr_alnum=$as_cr_Letters$as_cr_digits 471 472 473 as_lineno_1=$LINENO as_lineno_1a=$LINENO 474 as_lineno_2=$LINENO as_lineno_2a=$LINENO 475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 478 sed -n ' 479 p 480 /[$]LINENO/= 481 ' <$as_myself | 482 sed ' 483 s/[$]LINENO.*/&-/ 484 t lineno 485 b 486 :lineno 487 N 488 :loop 489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 490 t loop 491 s/-\n.*// 492 ' >$as_me.lineno && 493 chmod +x "$as_me.lineno" || 494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 495 496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 497 # already done that, so ensure we don't try to do so again and fall 498 # in an infinite loop. This has already happened in practice. 499 _as_can_reexec=no; export _as_can_reexec 500 # Don't try to exec as it changes $[0], causing all sort of problems 501 # (the dirname of $[0] is not the place where we might find the 502 # original and so on. Autoconf is especially sensitive to this). 503 . "./$as_me.lineno" 504 # Exit status is that of the last command. 505 exit 506 } 507 508 ECHO_C= ECHO_N= ECHO_T= 509 case `echo -n x` in #((((( 510 -n*) 511 case `echo 'xy\c'` in 512 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 513 xy) ECHO_C='\c';; 514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 515 ECHO_T=' ';; 516 esac;; 517 *) 518 ECHO_N='-n';; 519 esac 520 521 rm -f conf$$ conf$$.exe conf$$.file 522 if test -d conf$$.dir; then 523 rm -f conf$$.dir/conf$$.file 524 else 525 rm -f conf$$.dir 526 mkdir conf$$.dir 2>/dev/null 527 fi 528 if (echo >conf$$.file) 2>/dev/null; then 529 if ln -s conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s='ln -s' 531 # ... but there are two gotchas: 532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 534 # In both cases, we have to default to `cp -pR'. 535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 536 as_ln_s='cp -pR' 537 elif ln conf$$.file conf$$ 2>/dev/null; then 538 as_ln_s=ln 539 else 540 as_ln_s='cp -pR' 541 fi 542 else 543 as_ln_s='cp -pR' 544 fi 545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 546 rmdir conf$$.dir 2>/dev/null 547 548 if mkdir -p . 2>/dev/null; then 549 as_mkdir_p='mkdir -p "$as_dir"' 550 else 551 test -d ./-p && rmdir ./-p 552 as_mkdir_p=false 553 fi 554 555 as_test_x='test -x' 556 as_executable_p=as_fn_executable_p 557 558 # Sed expression to map a string onto a valid CPP name. 559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 560 561 # Sed expression to map a string onto a valid variable name. 562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 563 564 SHELL=${CONFIG_SHELL-/bin/sh} 565 566 567 test -n "$DJDIR" || exec 7<&0 </dev/null 568 exec 6>&1 569 570 # Name of the host. 571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 572 # so uname gets run too. 573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 574 575 # 576 # Initializations. 577 # 578 ac_default_prefix=/usr/local 579 ac_clean_files= 580 ac_config_libobj_dir=. 581 LIBOBJS= 582 cross_compiling=no 583 subdirs= 584 MFLAGS= 585 MAKEFLAGS= 586 587 # Identity of this package. 588 PACKAGE_NAME='alsa-oss' 589 PACKAGE_TARNAME='alsa-oss' 590 PACKAGE_VERSION='1.1.8' 591 PACKAGE_STRING='alsa-oss 1.1.8' 592 PACKAGE_BUGREPORT='' 593 PACKAGE_URL='' 594 595 ac_default_prefix=/usr 596 # Factoring default headers for most tests. 597 ac_includes_default="\ 598 #include <stdio.h> 599 #ifdef HAVE_SYS_TYPES_H 600 # include <sys/types.h> 601 #endif 602 #ifdef HAVE_SYS_STAT_H 603 # include <sys/stat.h> 604 #endif 605 #ifdef STDC_HEADERS 606 # include <stdlib.h> 607 # include <stddef.h> 608 #else 609 # ifdef HAVE_STDLIB_H 610 # include <stdlib.h> 611 # endif 612 #endif 613 #ifdef HAVE_STRING_H 614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 615 # include <memory.h> 616 # endif 617 # include <string.h> 618 #endif 619 #ifdef HAVE_STRINGS_H 620 # include <strings.h> 621 #endif 622 #ifdef HAVE_INTTYPES_H 623 # include <inttypes.h> 624 #endif 625 #ifdef HAVE_STDINT_H 626 # include <stdint.h> 627 #endif 628 #ifdef HAVE_UNISTD_H 629 # include <unistd.h> 630 #endif" 631 632 ac_subst_vars='am__EXEEXT_FALSE 633 am__EXEEXT_TRUE 634 LTLIBOBJS 635 LIBOBJS 636 ALSA_LIBS 637 ALSA_CFLAGS 638 WITH_AOSS_FALSE 639 WITH_AOSS_TRUE 640 CXXCPP 641 CPP 642 OTOOL64 643 OTOOL 644 LIPO 645 NMEDIT 646 DSYMUTIL 647 MANIFEST_TOOL 648 RANLIB 649 ac_ct_AR 650 AR 651 DLLTOOL 652 OBJDUMP 653 NM 654 ac_ct_DUMPBIN 655 DUMPBIN 656 LD 657 FGREP 658 EGREP 659 GREP 660 SED 661 host_os 662 host_vendor 663 host_cpu 664 host 665 build_os 666 build_vendor 667 build_cpu 668 build 669 LIBTOOL 670 LN_S 671 am__fastdepCXX_FALSE 672 am__fastdepCXX_TRUE 673 CXXDEPMODE 674 ac_ct_CXX 675 CXXFLAGS 676 CXX 677 am__fastdepCC_FALSE 678 am__fastdepCC_TRUE 679 CCDEPMODE 680 am__nodep 681 AMDEPBACKSLASH 682 AMDEP_FALSE 683 AMDEP_TRUE 684 am__quote 685 am__include 686 DEPDIR 687 OBJEXT 688 EXEEXT 689 ac_ct_CC 690 CPPFLAGS 691 LDFLAGS 692 CFLAGS 693 CC 694 LIBTOOL_VERSION_INFO 695 MAINT 696 MAINTAINER_MODE_FALSE 697 MAINTAINER_MODE_TRUE 698 am__untar 699 am__tar 700 AMTAR 701 am__leading_dot 702 SET_MAKE 703 AWK 704 mkdir_p 705 MKDIR_P 706 INSTALL_STRIP_PROGRAM 707 STRIP 708 install_sh 709 MAKEINFO 710 AUTOHEADER 711 AUTOMAKE 712 AUTOCONF 713 ACLOCAL 714 VERSION 715 PACKAGE 716 CYGPATH_W 717 am__isrc 718 INSTALL_DATA 719 INSTALL_SCRIPT 720 INSTALL_PROGRAM 721 target_alias 722 host_alias 723 build_alias 724 LIBS 725 ECHO_T 726 ECHO_N 727 ECHO_C 728 DEFS 729 mandir 730 localedir 731 libdir 732 psdir 733 pdfdir 734 dvidir 735 htmldir 736 infodir 737 docdir 738 oldincludedir 739 includedir 740 localstatedir 741 sharedstatedir 742 sysconfdir 743 datadir 744 datarootdir 745 libexecdir 746 sbindir 747 bindir 748 program_transform_name 749 prefix 750 exec_prefix 751 PACKAGE_URL 752 PACKAGE_BUGREPORT 753 PACKAGE_STRING 754 PACKAGE_VERSION 755 PACKAGE_TARNAME 756 PACKAGE_NAME 757 PATH_SEPARATOR 758 SHELL' 759 ac_subst_files='' 760 ac_user_opts=' 761 enable_option_checking 762 enable_maintainer_mode 763 enable_dependency_tracking 764 enable_shared 765 enable_static 766 with_pic 767 enable_fast_install 768 with_gnu_ld 769 with_sysroot 770 enable_libtool_lock 771 with_aoss 772 with_alsa_prefix 773 with_alsa_inc_prefix 774 enable_alsatest 775 ' 776 ac_precious_vars='build_alias 777 host_alias 778 target_alias 779 CC 780 CFLAGS 781 LDFLAGS 782 LIBS 783 CPPFLAGS 784 CXX 785 CXXFLAGS 786 CCC 787 CPP 788 CXXCPP' 789 790 791 # Initialize some variables set by options. 792 ac_init_help= 793 ac_init_version=false 794 ac_unrecognized_opts= 795 ac_unrecognized_sep= 796 # The variables have the same names as the options, with 797 # dashes changed to underlines. 798 cache_file=/dev/null 799 exec_prefix=NONE 800 no_create= 801 no_recursion= 802 prefix=NONE 803 program_prefix=NONE 804 program_suffix=NONE 805 program_transform_name=s,x,x, 806 silent= 807 site= 808 srcdir= 809 verbose= 810 x_includes=NONE 811 x_libraries=NONE 812 813 # Installation directory options. 814 # These are left unexpanded so users can "make install exec_prefix=/foo" 815 # and all the variables that are supposed to be based on exec_prefix 816 # by default will actually change. 817 # Use braces instead of parens because sh, perl, etc. also accept them. 818 # (The list follows the same order as the GNU Coding Standards.) 819 bindir='${exec_prefix}/bin' 820 sbindir='${exec_prefix}/sbin' 821 libexecdir='${exec_prefix}/libexec' 822 datarootdir='${prefix}/share' 823 datadir='${datarootdir}' 824 sysconfdir='${prefix}/etc' 825 sharedstatedir='${prefix}/com' 826 localstatedir='${prefix}/var' 827 includedir='${prefix}/include' 828 oldincludedir='/usr/include' 829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 830 infodir='${datarootdir}/info' 831 htmldir='${docdir}' 832 dvidir='${docdir}' 833 pdfdir='${docdir}' 834 psdir='${docdir}' 835 libdir='${exec_prefix}/lib' 836 localedir='${datarootdir}/locale' 837 mandir='${datarootdir}/man' 838 839 ac_prev= 840 ac_dashdash= 841 for ac_option 842 do 843 # If the previous option needs an argument, assign it. 844 if test -n "$ac_prev"; then 845 eval $ac_prev=\$ac_option 846 ac_prev= 847 continue 848 fi 849 850 case $ac_option in 851 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 852 *=) ac_optarg= ;; 853 *) ac_optarg=yes ;; 854 esac 855 856 # Accept the important Cygnus configure options, so we can diagnose typos. 857 858 case $ac_dashdash$ac_option in 859 --) 860 ac_dashdash=yes ;; 861 862 -bindir | --bindir | --bindi | --bind | --bin | --bi) 863 ac_prev=bindir ;; 864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 865 bindir=$ac_optarg ;; 866 867 -build | --build | --buil | --bui | --bu) 868 ac_prev=build_alias ;; 869 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 870 build_alias=$ac_optarg ;; 871 872 -cache-file | --cache-file | --cache-fil | --cache-fi \ 873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 874 ac_prev=cache_file ;; 875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 877 cache_file=$ac_optarg ;; 878 879 --config-cache | -C) 880 cache_file=config.cache ;; 881 882 -datadir | --datadir | --datadi | --datad) 883 ac_prev=datadir ;; 884 -datadir=* | --datadir=* | --datadi=* | --datad=*) 885 datadir=$ac_optarg ;; 886 887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 888 | --dataroo | --dataro | --datar) 889 ac_prev=datarootdir ;; 890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 892 datarootdir=$ac_optarg ;; 893 894 -disable-* | --disable-*) 895 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 896 # Reject names that are not valid shell variable names. 897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 898 as_fn_error $? "invalid feature name: $ac_useropt" 899 ac_useropt_orig=$ac_useropt 900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 901 case $ac_user_opts in 902 *" 903 "enable_$ac_useropt" 904 "*) ;; 905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 906 ac_unrecognized_sep=', ';; 907 esac 908 eval enable_$ac_useropt=no ;; 909 910 -docdir | --docdir | --docdi | --doc | --do) 911 ac_prev=docdir ;; 912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 913 docdir=$ac_optarg ;; 914 915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 916 ac_prev=dvidir ;; 917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 918 dvidir=$ac_optarg ;; 919 920 -enable-* | --enable-*) 921 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 922 # Reject names that are not valid shell variable names. 923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 924 as_fn_error $? "invalid feature name: $ac_useropt" 925 ac_useropt_orig=$ac_useropt 926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 927 case $ac_user_opts in 928 *" 929 "enable_$ac_useropt" 930 "*) ;; 931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 932 ac_unrecognized_sep=', ';; 933 esac 934 eval enable_$ac_useropt=\$ac_optarg ;; 935 936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 938 | --exec | --exe | --ex) 939 ac_prev=exec_prefix ;; 940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 942 | --exec=* | --exe=* | --ex=*) 943 exec_prefix=$ac_optarg ;; 944 945 -gas | --gas | --ga | --g) 946 # Obsolete; use --with-gas. 947 with_gas=yes ;; 948 949 -help | --help | --hel | --he | -h) 950 ac_init_help=long ;; 951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 952 ac_init_help=recursive ;; 953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 954 ac_init_help=short ;; 955 956 -host | --host | --hos | --ho) 957 ac_prev=host_alias ;; 958 -host=* | --host=* | --hos=* | --ho=*) 959 host_alias=$ac_optarg ;; 960 961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 962 ac_prev=htmldir ;; 963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 964 | --ht=*) 965 htmldir=$ac_optarg ;; 966 967 -includedir | --includedir | --includedi | --included | --include \ 968 | --includ | --inclu | --incl | --inc) 969 ac_prev=includedir ;; 970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 971 | --includ=* | --inclu=* | --incl=* | --inc=*) 972 includedir=$ac_optarg ;; 973 974 -infodir | --infodir | --infodi | --infod | --info | --inf) 975 ac_prev=infodir ;; 976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 977 infodir=$ac_optarg ;; 978 979 -libdir | --libdir | --libdi | --libd) 980 ac_prev=libdir ;; 981 -libdir=* | --libdir=* | --libdi=* | --libd=*) 982 libdir=$ac_optarg ;; 983 984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 985 | --libexe | --libex | --libe) 986 ac_prev=libexecdir ;; 987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 988 | --libexe=* | --libex=* | --libe=*) 989 libexecdir=$ac_optarg ;; 990 991 -localedir | --localedir | --localedi | --localed | --locale) 992 ac_prev=localedir ;; 993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 994 localedir=$ac_optarg ;; 995 996 -localstatedir | --localstatedir | --localstatedi | --localstated \ 997 | --localstate | --localstat | --localsta | --localst | --locals) 998 ac_prev=localstatedir ;; 999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1001 localstatedir=$ac_optarg ;; 1002 1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1004 ac_prev=mandir ;; 1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1006 mandir=$ac_optarg ;; 1007 1008 -nfp | --nfp | --nf) 1009 # Obsolete; use --without-fp. 1010 with_fp=no ;; 1011 1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1013 | --no-cr | --no-c | -n) 1014 no_create=yes ;; 1015 1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1018 no_recursion=yes ;; 1019 1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1022 | --oldin | --oldi | --old | --ol | --o) 1023 ac_prev=oldincludedir ;; 1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1027 oldincludedir=$ac_optarg ;; 1028 1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1030 ac_prev=prefix ;; 1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1032 prefix=$ac_optarg ;; 1033 1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1035 | --program-pre | --program-pr | --program-p) 1036 ac_prev=program_prefix ;; 1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1039 program_prefix=$ac_optarg ;; 1040 1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1042 | --program-suf | --program-su | --program-s) 1043 ac_prev=program_suffix ;; 1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1046 program_suffix=$ac_optarg ;; 1047 1048 -program-transform-name | --program-transform-name \ 1049 | --program-transform-nam | --program-transform-na \ 1050 | --program-transform-n | --program-transform- \ 1051 | --program-transform | --program-transfor \ 1052 | --program-transfo | --program-transf \ 1053 | --program-trans | --program-tran \ 1054 | --progr-tra | --program-tr | --program-t) 1055 ac_prev=program_transform_name ;; 1056 -program-transform-name=* | --program-transform-name=* \ 1057 | --program-transform-nam=* | --program-transform-na=* \ 1058 | --program-transform-n=* | --program-transform-=* \ 1059 | --program-transform=* | --program-transfor=* \ 1060 | --program-transfo=* | --program-transf=* \ 1061 | --program-trans=* | --program-tran=* \ 1062 | --progr-tra=* | --program-tr=* | --program-t=*) 1063 program_transform_name=$ac_optarg ;; 1064 1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1066 ac_prev=pdfdir ;; 1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1068 pdfdir=$ac_optarg ;; 1069 1070 -psdir | --psdir | --psdi | --psd | --ps) 1071 ac_prev=psdir ;; 1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1073 psdir=$ac_optarg ;; 1074 1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1076 | -silent | --silent | --silen | --sile | --sil) 1077 silent=yes ;; 1078 1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1080 ac_prev=sbindir ;; 1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1082 | --sbi=* | --sb=*) 1083 sbindir=$ac_optarg ;; 1084 1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1087 | --sharedst | --shareds | --shared | --share | --shar \ 1088 | --sha | --sh) 1089 ac_prev=sharedstatedir ;; 1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1093 | --sha=* | --sh=*) 1094 sharedstatedir=$ac_optarg ;; 1095 1096 -site | --site | --sit) 1097 ac_prev=site ;; 1098 -site=* | --site=* | --sit=*) 1099 site=$ac_optarg ;; 1100 1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1102 ac_prev=srcdir ;; 1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1104 srcdir=$ac_optarg ;; 1105 1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1107 | --syscon | --sysco | --sysc | --sys | --sy) 1108 ac_prev=sysconfdir ;; 1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1111 sysconfdir=$ac_optarg ;; 1112 1113 -target | --target | --targe | --targ | --tar | --ta | --t) 1114 ac_prev=target_alias ;; 1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1116 target_alias=$ac_optarg ;; 1117 1118 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1119 verbose=yes ;; 1120 1121 -version | --version | --versio | --versi | --vers | -V) 1122 ac_init_version=: ;; 1123 1124 -with-* | --with-*) 1125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1126 # Reject names that are not valid shell variable names. 1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1128 as_fn_error $? "invalid package name: $ac_useropt" 1129 ac_useropt_orig=$ac_useropt 1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1131 case $ac_user_opts in 1132 *" 1133 "with_$ac_useropt" 1134 "*) ;; 1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1136 ac_unrecognized_sep=', ';; 1137 esac 1138 eval with_$ac_useropt=\$ac_optarg ;; 1139 1140 -without-* | --without-*) 1141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1142 # Reject names that are not valid shell variable names. 1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1144 as_fn_error $? "invalid package name: $ac_useropt" 1145 ac_useropt_orig=$ac_useropt 1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1147 case $ac_user_opts in 1148 *" 1149 "with_$ac_useropt" 1150 "*) ;; 1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1152 ac_unrecognized_sep=', ';; 1153 esac 1154 eval with_$ac_useropt=no ;; 1155 1156 --x) 1157 # Obsolete; use --with-x. 1158 with_x=yes ;; 1159 1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1161 | --x-incl | --x-inc | --x-in | --x-i) 1162 ac_prev=x_includes ;; 1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1165 x_includes=$ac_optarg ;; 1166 1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1169 ac_prev=x_libraries ;; 1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1172 x_libraries=$ac_optarg ;; 1173 1174 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1175 Try \`$0 --help' for more information" 1176 ;; 1177 1178 *=*) 1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1180 # Reject names that are not valid shell variable names. 1181 case $ac_envvar in #( 1182 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1184 esac 1185 eval $ac_envvar=\$ac_optarg 1186 export $ac_envvar ;; 1187 1188 *) 1189 # FIXME: should be removed in autoconf 3.0. 1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1194 ;; 1195 1196 esac 1197 done 1198 1199 if test -n "$ac_prev"; then 1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1201 as_fn_error $? "missing argument to $ac_option" 1202 fi 1203 1204 if test -n "$ac_unrecognized_opts"; then 1205 case $enable_option_checking in 1206 no) ;; 1207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1209 esac 1210 fi 1211 1212 # Check all directory arguments for consistency. 1213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1214 datadir sysconfdir sharedstatedir localstatedir includedir \ 1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1216 libdir localedir mandir 1217 do 1218 eval ac_val=\$$ac_var 1219 # Remove trailing slashes. 1220 case $ac_val in 1221 */ ) 1222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1223 eval $ac_var=\$ac_val;; 1224 esac 1225 # Be sure to have absolute directory names. 1226 case $ac_val in 1227 [\\/$]* | ?:[\\/]* ) continue;; 1228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1229 esac 1230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1231 done 1232 1233 # There might be people who depend on the old broken behavior: `$host' 1234 # used to hold the argument of --host etc. 1235 # FIXME: To remove some day. 1236 build=$build_alias 1237 host=$host_alias 1238 target=$target_alias 1239 1240 # FIXME: To remove some day. 1241 if test "x$host_alias" != x; then 1242 if test "x$build_alias" = x; then 1243 cross_compiling=maybe 1244 elif test "x$build_alias" != "x$host_alias"; then 1245 cross_compiling=yes 1246 fi 1247 fi 1248 1249 ac_tool_prefix= 1250 test -n "$host_alias" && ac_tool_prefix=$host_alias- 1251 1252 test "$silent" = yes && exec 6>/dev/null 1253 1254 1255 ac_pwd=`pwd` && test -n "$ac_pwd" && 1256 ac_ls_di=`ls -di .` && 1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1258 as_fn_error $? "working directory cannot be determined" 1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1260 as_fn_error $? "pwd does not report name of working directory" 1261 1262 1263 # Find the source files, if location was not specified. 1264 if test -z "$srcdir"; then 1265 ac_srcdir_defaulted=yes 1266 # Try the directory containing this script, then the parent directory. 1267 ac_confdir=`$as_dirname -- "$as_myself" || 1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1269 X"$as_myself" : 'X\(//\)[^/]' \| \ 1270 X"$as_myself" : 'X\(//\)$' \| \ 1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1272 $as_echo X"$as_myself" | 1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1274 s//\1/ 1275 q 1276 } 1277 /^X\(\/\/\)[^/].*/{ 1278 s//\1/ 1279 q 1280 } 1281 /^X\(\/\/\)$/{ 1282 s//\1/ 1283 q 1284 } 1285 /^X\(\/\).*/{ 1286 s//\1/ 1287 q 1288 } 1289 s/.*/./; q'` 1290 srcdir=$ac_confdir 1291 if test ! -r "$srcdir/$ac_unique_file"; then 1292 srcdir=.. 1293 fi 1294 else 1295 ac_srcdir_defaulted=no 1296 fi 1297 if test ! -r "$srcdir/$ac_unique_file"; then 1298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1300 fi 1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1302 ac_abs_confdir=`( 1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1304 pwd)` 1305 # When building in place, set srcdir=. 1306 if test "$ac_abs_confdir" = "$ac_pwd"; then 1307 srcdir=. 1308 fi 1309 # Remove unnecessary trailing slashes from srcdir. 1310 # Double slashes in file names in object file debugging info 1311 # mess up M-x gdb in Emacs. 1312 case $srcdir in 1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1314 esac 1315 for ac_var in $ac_precious_vars; do 1316 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1317 eval ac_env_${ac_var}_value=\$${ac_var} 1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1319 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1320 done 1321 1322 # 1323 # Report the --help message. 1324 # 1325 if test "$ac_init_help" = "long"; then 1326 # Omit some internal or obsolete options to make the list less imposing. 1327 # This message is too long to be a string in the A/UX 3.1 sh. 1328 cat <<_ACEOF 1329 \`configure' configures alsa-oss 1.1.8 to adapt to many kinds of systems. 1330 1331 Usage: $0 [OPTION]... [VAR=VALUE]... 1332 1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1334 VAR=VALUE. See below for descriptions of some of the useful variables. 1335 1336 Defaults for the options are specified in brackets. 1337 1338 Configuration: 1339 -h, --help display this help and exit 1340 --help=short display options specific to this package 1341 --help=recursive display the short help of all the included packages 1342 -V, --version display version information and exit 1343 -q, --quiet, --silent do not print \`checking ...' messages 1344 --cache-file=FILE cache test results in FILE [disabled] 1345 -C, --config-cache alias for \`--cache-file=config.cache' 1346 -n, --no-create do not create output files 1347 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1348 1349 Installation directories: 1350 --prefix=PREFIX install architecture-independent files in PREFIX 1351 [$ac_default_prefix] 1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1353 [PREFIX] 1354 1355 By default, \`make install' will install all the files in 1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1358 for instance \`--prefix=\$HOME'. 1359 1360 For better control, use the options below. 1361 1362 Fine tuning of the installation directories: 1363 --bindir=DIR user executables [EPREFIX/bin] 1364 --sbindir=DIR system admin executables [EPREFIX/sbin] 1365 --libexecdir=DIR program executables [EPREFIX/libexec] 1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1369 --libdir=DIR object code libraries [EPREFIX/lib] 1370 --includedir=DIR C header files [PREFIX/include] 1371 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1374 --infodir=DIR info documentation [DATAROOTDIR/info] 1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1376 --mandir=DIR man documentation [DATAROOTDIR/man] 1377 --docdir=DIR documentation root [DATAROOTDIR/doc/alsa-oss] 1378 --htmldir=DIR html documentation [DOCDIR] 1379 --dvidir=DIR dvi documentation [DOCDIR] 1380 --pdfdir=DIR pdf documentation [DOCDIR] 1381 --psdir=DIR ps documentation [DOCDIR] 1382 _ACEOF 1383 1384 cat <<\_ACEOF 1385 1386 Program names: 1387 --program-prefix=PREFIX prepend PREFIX to installed program names 1388 --program-suffix=SUFFIX append SUFFIX to installed program names 1389 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1390 1391 System types: 1392 --build=BUILD configure for building on BUILD [guessed] 1393 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1394 _ACEOF 1395 fi 1396 1397 if test -n "$ac_init_help"; then 1398 case $ac_init_help in 1399 short | recursive ) echo "Configuration of alsa-oss 1.1.8:";; 1400 esac 1401 cat <<\_ACEOF 1402 1403 Optional Features: 1404 --disable-option-checking ignore unrecognized --enable/--with options 1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1407 --disable-maintainer-mode 1408 disable make rules and dependencies not useful (and 1409 sometimes confusing) to the casual installer 1410 --enable-dependency-tracking 1411 do not reject slow dependency extractors 1412 --disable-dependency-tracking 1413 speeds up one-time build 1414 --enable-shared[=PKGS] build shared libraries [default=yes] 1415 --enable-static[=PKGS] build static libraries [default=yes] 1416 --enable-fast-install[=PKGS] 1417 optimize for fast installation [default=yes] 1418 --disable-libtool-lock avoid locking (might break parallel builds) 1419 --disable-alsatest Do not try to compile and run a test Alsa program 1420 1421 Optional Packages: 1422 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1423 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1424 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1425 both] 1426 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1427 --with-sysroot=DIR Search for dependent libraries within DIR 1428 (or the compiler's sysroot if not specified). 1429 --with-aoss=yes,no OSS -> ALSA emulation library build 1430 --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional) 1431 --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional) 1432 1433 Some influential environment variables: 1434 CC C compiler command 1435 CFLAGS C compiler flags 1436 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1437 nonstandard directory <lib dir> 1438 LIBS libraries to pass to the linker, e.g. -l<library> 1439 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1440 you have headers in a nonstandard directory <include dir> 1441 CXX C++ compiler command 1442 CXXFLAGS C++ compiler flags 1443 CPP C preprocessor 1444 CXXCPP C++ preprocessor 1445 1446 Use these variables to override the choices made by `configure' or to help 1447 it to find libraries and programs with nonstandard names/locations. 1448 1449 Report bugs to the package provider. 1450 _ACEOF 1451 ac_status=$? 1452 fi 1453 1454 if test "$ac_init_help" = "recursive"; then 1455 # If there are subdirs, report their specific --help. 1456 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1457 test -d "$ac_dir" || 1458 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1459 continue 1460 ac_builddir=. 1461 1462 case "$ac_dir" in 1463 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1464 *) 1465 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1466 # A ".." for each directory in $ac_dir_suffix. 1467 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1468 case $ac_top_builddir_sub in 1469 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1470 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1471 esac ;; 1472 esac 1473 ac_abs_top_builddir=$ac_pwd 1474 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1475 # for backward compatibility: 1476 ac_top_builddir=$ac_top_build_prefix 1477 1478 case $srcdir in 1479 .) # We are building in place. 1480 ac_srcdir=. 1481 ac_top_srcdir=$ac_top_builddir_sub 1482 ac_abs_top_srcdir=$ac_pwd ;; 1483 [\\/]* | ?:[\\/]* ) # Absolute name. 1484 ac_srcdir=$srcdir$ac_dir_suffix; 1485 ac_top_srcdir=$srcdir 1486 ac_abs_top_srcdir=$srcdir ;; 1487 *) # Relative name. 1488 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1489 ac_top_srcdir=$ac_top_build_prefix$srcdir 1490 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1491 esac 1492 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1493 1494 cd "$ac_dir" || { ac_status=$?; continue; } 1495 # Check for guested configure. 1496 if test -f "$ac_srcdir/configure.gnu"; then 1497 echo && 1498 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1499 elif test -f "$ac_srcdir/configure"; then 1500 echo && 1501 $SHELL "$ac_srcdir/configure" --help=recursive 1502 else 1503 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1504 fi || ac_status=$? 1505 cd "$ac_pwd" || { ac_status=$?; break; } 1506 done 1507 fi 1508 1509 test -n "$ac_init_help" && exit $ac_status 1510 if $ac_init_version; then 1511 cat <<\_ACEOF 1512 alsa-oss configure 1.1.8 1513 generated by GNU Autoconf 2.69 1514 1515 Copyright (C) 2012 Free Software Foundation, Inc. 1516 This configure script is free software; the Free Software Foundation 1517 gives unlimited permission to copy, distribute and modify it. 1518 _ACEOF 1519 exit 1520 fi 1521 1522 ## ------------------------ ## 1523 ## Autoconf initialization. ## 1524 ## ------------------------ ## 1525 1526 # ac_fn_c_try_compile LINENO 1527 # -------------------------- 1528 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1529 ac_fn_c_try_compile () 1530 { 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 rm -f conftest.$ac_objext 1533 if { { ac_try="$ac_compile" 1534 case "(($ac_try" in 1535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1536 *) ac_try_echo=$ac_try;; 1537 esac 1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1539 $as_echo "$ac_try_echo"; } >&5 1540 (eval "$ac_compile") 2>conftest.err 1541 ac_status=$? 1542 if test -s conftest.err; then 1543 grep -v '^ *+' conftest.err >conftest.er1 1544 cat conftest.er1 >&5 1545 mv -f conftest.er1 conftest.err 1546 fi 1547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1548 test $ac_status = 0; } && { 1549 test -z "$ac_c_werror_flag" || 1550 test ! -s conftest.err 1551 } && test -s conftest.$ac_objext; then : 1552 ac_retval=0 1553 else 1554 $as_echo "$as_me: failed program was:" >&5 1555 sed 's/^/| /' conftest.$ac_ext >&5 1556 1557 ac_retval=1 1558 fi 1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1560 as_fn_set_status $ac_retval 1561 1562 } # ac_fn_c_try_compile 1563 1564 # ac_fn_cxx_try_compile LINENO 1565 # ---------------------------- 1566 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1567 ac_fn_cxx_try_compile () 1568 { 1569 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1570 rm -f conftest.$ac_objext 1571 if { { ac_try="$ac_compile" 1572 case "(($ac_try" in 1573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1574 *) ac_try_echo=$ac_try;; 1575 esac 1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1577 $as_echo "$ac_try_echo"; } >&5 1578 (eval "$ac_compile") 2>conftest.err 1579 ac_status=$? 1580 if test -s conftest.err; then 1581 grep -v '^ *+' conftest.err >conftest.er1 1582 cat conftest.er1 >&5 1583 mv -f conftest.er1 conftest.err 1584 fi 1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1586 test $ac_status = 0; } && { 1587 test -z "$ac_cxx_werror_flag" || 1588 test ! -s conftest.err 1589 } && test -s conftest.$ac_objext; then : 1590 ac_retval=0 1591 else 1592 $as_echo "$as_me: failed program was:" >&5 1593 sed 's/^/| /' conftest.$ac_ext >&5 1594 1595 ac_retval=1 1596 fi 1597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1598 as_fn_set_status $ac_retval 1599 1600 } # ac_fn_cxx_try_compile 1601 1602 # ac_fn_c_try_link LINENO 1603 # ----------------------- 1604 # Try to link conftest.$ac_ext, and return whether this succeeded. 1605 ac_fn_c_try_link () 1606 { 1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1608 rm -f conftest.$ac_objext conftest$ac_exeext 1609 if { { ac_try="$ac_link" 1610 case "(($ac_try" in 1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1612 *) ac_try_echo=$ac_try;; 1613 esac 1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1615 $as_echo "$ac_try_echo"; } >&5 1616 (eval "$ac_link") 2>conftest.err 1617 ac_status=$? 1618 if test -s conftest.err; then 1619 grep -v '^ *+' conftest.err >conftest.er1 1620 cat conftest.er1 >&5 1621 mv -f conftest.er1 conftest.err 1622 fi 1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1624 test $ac_status = 0; } && { 1625 test -z "$ac_c_werror_flag" || 1626 test ! -s conftest.err 1627 } && test -s conftest$ac_exeext && { 1628 test "$cross_compiling" = yes || 1629 test -x conftest$ac_exeext 1630 }; then : 1631 ac_retval=0 1632 else 1633 $as_echo "$as_me: failed program was:" >&5 1634 sed 's/^/| /' conftest.$ac_ext >&5 1635 1636 ac_retval=1 1637 fi 1638 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1639 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1640 # interfere with the next link command; also delete a directory that is 1641 # left behind by Apple's compiler. We do this before executing the actions. 1642 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1644 as_fn_set_status $ac_retval 1645 1646 } # ac_fn_c_try_link 1647 1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1649 # ------------------------------------------------------- 1650 # Tests whether HEADER exists and can be compiled using the include files in 1651 # INCLUDES, setting the cache variable VAR accordingly. 1652 ac_fn_c_check_header_compile () 1653 { 1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1656 $as_echo_n "checking for $2... " >&6; } 1657 if eval \${$3+:} false; then : 1658 $as_echo_n "(cached) " >&6 1659 else 1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1661 /* end confdefs.h. */ 1662 $4 1663 #include <$2> 1664 _ACEOF 1665 if ac_fn_c_try_compile "$LINENO"; then : 1666 eval "$3=yes" 1667 else 1668 eval "$3=no" 1669 fi 1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1671 fi 1672 eval ac_res=\$$3 1673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1674 $as_echo "$ac_res" >&6; } 1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1676 1677 } # ac_fn_c_check_header_compile 1678 1679 # ac_fn_c_try_cpp LINENO 1680 # ---------------------- 1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1682 ac_fn_c_try_cpp () 1683 { 1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1685 if { { ac_try="$ac_cpp conftest.$ac_ext" 1686 case "(($ac_try" in 1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1688 *) ac_try_echo=$ac_try;; 1689 esac 1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1691 $as_echo "$ac_try_echo"; } >&5 1692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1693 ac_status=$? 1694 if test -s conftest.err; then 1695 grep -v '^ *+' conftest.err >conftest.er1 1696 cat conftest.er1 >&5 1697 mv -f conftest.er1 conftest.err 1698 fi 1699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1700 test $ac_status = 0; } > conftest.i && { 1701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1702 test ! -s conftest.err 1703 }; then : 1704 ac_retval=0 1705 else 1706 $as_echo "$as_me: failed program was:" >&5 1707 sed 's/^/| /' conftest.$ac_ext >&5 1708 1709 ac_retval=1 1710 fi 1711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1712 as_fn_set_status $ac_retval 1713 1714 } # ac_fn_c_try_cpp 1715 1716 # ac_fn_c_try_run LINENO 1717 # ---------------------- 1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1719 # that executables *can* be run. 1720 ac_fn_c_try_run () 1721 { 1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1723 if { { ac_try="$ac_link" 1724 case "(($ac_try" in 1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1726 *) ac_try_echo=$ac_try;; 1727 esac 1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1729 $as_echo "$ac_try_echo"; } >&5 1730 (eval "$ac_link") 2>&5 1731 ac_status=$? 1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1733 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1734 { { case "(($ac_try" in 1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1736 *) ac_try_echo=$ac_try;; 1737 esac 1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1739 $as_echo "$ac_try_echo"; } >&5 1740 (eval "$ac_try") 2>&5 1741 ac_status=$? 1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1743 test $ac_status = 0; }; }; then : 1744 ac_retval=0 1745 else 1746 $as_echo "$as_me: program exited with status $ac_status" >&5 1747 $as_echo "$as_me: failed program was:" >&5 1748 sed 's/^/| /' conftest.$ac_ext >&5 1749 1750 ac_retval=$ac_status 1751 fi 1752 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1754 as_fn_set_status $ac_retval 1755 1756 } # ac_fn_c_try_run 1757 1758 # ac_fn_c_check_func LINENO FUNC VAR 1759 # ---------------------------------- 1760 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1761 ac_fn_c_check_func () 1762 { 1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1765 $as_echo_n "checking for $2... " >&6; } 1766 if eval \${$3+:} false; then : 1767 $as_echo_n "(cached) " >&6 1768 else 1769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1770 /* end confdefs.h. */ 1771 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1772 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1773 #define $2 innocuous_$2 1774 1775 /* System header to define __stub macros and hopefully few prototypes, 1776 which can conflict with char $2 (); below. 1777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1778 <limits.h> exists even on freestanding compilers. */ 1779 1780 #ifdef __STDC__ 1781 # include <limits.h> 1782 #else 1783 # include <assert.h> 1784 #endif 1785 1786 #undef $2 1787 1788 /* Override any GCC internal prototype to avoid an error. 1789 Use char because int might match the return type of a GCC 1790 builtin and then its argument prototype would still apply. */ 1791 #ifdef __cplusplus 1792 extern "C" 1793 #endif 1794 char $2 (); 1795 /* The GNU C library defines this for functions which it implements 1796 to always fail with ENOSYS. Some functions are actually named 1797 something starting with __ and the normal name is an alias. */ 1798 #if defined __stub_$2 || defined __stub___$2 1799 choke me 1800 #endif 1801 1802 int 1803 main () 1804 { 1805 return $2 (); 1806 ; 1807 return 0; 1808 } 1809 _ACEOF 1810 if ac_fn_c_try_link "$LINENO"; then : 1811 eval "$3=yes" 1812 else 1813 eval "$3=no" 1814 fi 1815 rm -f core conftest.err conftest.$ac_objext \ 1816 conftest$ac_exeext conftest.$ac_ext 1817 fi 1818 eval ac_res=\$$3 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1820 $as_echo "$ac_res" >&6; } 1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1822 1823 } # ac_fn_c_check_func 1824 1825 # ac_fn_cxx_try_cpp LINENO 1826 # ------------------------ 1827 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1828 ac_fn_cxx_try_cpp () 1829 { 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 if { { ac_try="$ac_cpp conftest.$ac_ext" 1832 case "(($ac_try" in 1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1834 *) ac_try_echo=$ac_try;; 1835 esac 1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1837 $as_echo "$ac_try_echo"; } >&5 1838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1839 ac_status=$? 1840 if test -s conftest.err; then 1841 grep -v '^ *+' conftest.err >conftest.er1 1842 cat conftest.er1 >&5 1843 mv -f conftest.er1 conftest.err 1844 fi 1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1846 test $ac_status = 0; } > conftest.i && { 1847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1848 test ! -s conftest.err 1849 }; then : 1850 ac_retval=0 1851 else 1852 $as_echo "$as_me: failed program was:" >&5 1853 sed 's/^/| /' conftest.$ac_ext >&5 1854 1855 ac_retval=1 1856 fi 1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1858 as_fn_set_status $ac_retval 1859 1860 } # ac_fn_cxx_try_cpp 1861 1862 # ac_fn_cxx_try_link LINENO 1863 # ------------------------- 1864 # Try to link conftest.$ac_ext, and return whether this succeeded. 1865 ac_fn_cxx_try_link () 1866 { 1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1868 rm -f conftest.$ac_objext conftest$ac_exeext 1869 if { { ac_try="$ac_link" 1870 case "(($ac_try" in 1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1872 *) ac_try_echo=$ac_try;; 1873 esac 1874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1875 $as_echo "$ac_try_echo"; } >&5 1876 (eval "$ac_link") 2>conftest.err 1877 ac_status=$? 1878 if test -s conftest.err; then 1879 grep -v '^ *+' conftest.err >conftest.er1 1880 cat conftest.er1 >&5 1881 mv -f conftest.er1 conftest.err 1882 fi 1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1884 test $ac_status = 0; } && { 1885 test -z "$ac_cxx_werror_flag" || 1886 test ! -s conftest.err 1887 } && test -s conftest$ac_exeext && { 1888 test "$cross_compiling" = yes || 1889 test -x conftest$ac_exeext 1890 }; then : 1891 ac_retval=0 1892 else 1893 $as_echo "$as_me: failed program was:" >&5 1894 sed 's/^/| /' conftest.$ac_ext >&5 1895 1896 ac_retval=1 1897 fi 1898 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1899 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1900 # interfere with the next link command; also delete a directory that is 1901 # left behind by Apple's compiler. We do this before executing the actions. 1902 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1904 as_fn_set_status $ac_retval 1905 1906 } # ac_fn_cxx_try_link 1907 cat >config.log <<_ACEOF 1908 This file contains any messages produced by compilers while 1909 running configure, to aid debugging if configure makes a mistake. 1910 1911 It was created by alsa-oss $as_me 1.1.8, which was 1912 generated by GNU Autoconf 2.69. Invocation command line was 1913 1914 $ $0 $@ 1915 1916 _ACEOF 1917 exec 5>>config.log 1918 { 1919 cat <<_ASUNAME 1920 ## --------- ## 1921 ## Platform. ## 1922 ## --------- ## 1923 1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1925 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1926 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1927 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1928 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1929 1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1932 1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1940 1941 _ASUNAME 1942 1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1944 for as_dir in $PATH 1945 do 1946 IFS=$as_save_IFS 1947 test -z "$as_dir" && as_dir=. 1948 $as_echo "PATH: $as_dir" 1949 done 1950 IFS=$as_save_IFS 1951 1952 } >&5 1953 1954 cat >&5 <<_ACEOF 1955 1956 1957 ## ----------- ## 1958 ## Core tests. ## 1959 ## ----------- ## 1960 1961 _ACEOF 1962 1963 1964 # Keep a trace of the command line. 1965 # Strip out --no-create and --no-recursion so they do not pile up. 1966 # Strip out --silent because we don't want to record it for future runs. 1967 # Also quote any args containing shell meta-characters. 1968 # Make two passes to allow for proper duplicate-argument suppression. 1969 ac_configure_args= 1970 ac_configure_args0= 1971 ac_configure_args1= 1972 ac_must_keep_next=false 1973 for ac_pass in 1 2 1974 do 1975 for ac_arg 1976 do 1977 case $ac_arg in 1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1980 | -silent | --silent | --silen | --sile | --sil) 1981 continue ;; 1982 *\'*) 1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1984 esac 1985 case $ac_pass in 1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1987 2) 1988 as_fn_append ac_configure_args1 " '$ac_arg'" 1989 if test $ac_must_keep_next = true; then 1990 ac_must_keep_next=false # Got value, back to normal. 1991 else 1992 case $ac_arg in 1993 *=* | --config-cache | -C | -disable-* | --disable-* \ 1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1996 | -with-* | --with-* | -without-* | --without-* | --x) 1997 case "$ac_configure_args0 " in 1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1999 esac 2000 ;; 2001 -* ) ac_must_keep_next=true ;; 2002 esac 2003 fi 2004 as_fn_append ac_configure_args " '$ac_arg'" 2005 ;; 2006 esac 2007 done 2008 done 2009 { ac_configure_args0=; unset ac_configure_args0;} 2010 { ac_configure_args1=; unset ac_configure_args1;} 2011 2012 # When interrupted or exit'd, cleanup temporary files, and complete 2013 # config.log. We remove comments because anyway the quotes in there 2014 # would cause problems or look ugly. 2015 # WARNING: Use '\'' to represent an apostrophe within the trap. 2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2017 trap 'exit_status=$? 2018 # Save into config.log some information that might help in debugging. 2019 { 2020 echo 2021 2022 $as_echo "## ---------------- ## 2023 ## Cache variables. ## 2024 ## ---------------- ##" 2025 echo 2026 # The following way of writing the cache mishandles newlines in values, 2027 ( 2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2029 eval ac_val=\$$ac_var 2030 case $ac_val in #( 2031 *${as_nl}*) 2032 case $ac_var in #( 2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2035 esac 2036 case $ac_var in #( 2037 _ | IFS | as_nl) ;; #( 2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2039 *) { eval $ac_var=; unset $ac_var;} ;; 2040 esac ;; 2041 esac 2042 done 2043 (set) 2>&1 | 2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2045 *${as_nl}ac_space=\ *) 2046 sed -n \ 2047 "s/'\''/'\''\\\\'\'''\''/g; 2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2049 ;; #( 2050 *) 2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2052 ;; 2053 esac | 2054 sort 2055 ) 2056 echo 2057 2058 $as_echo "## ----------------- ## 2059 ## Output variables. ## 2060 ## ----------------- ##" 2061 echo 2062 for ac_var in $ac_subst_vars 2063 do 2064 eval ac_val=\$$ac_var 2065 case $ac_val in 2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2067 esac 2068 $as_echo "$ac_var='\''$ac_val'\''" 2069 done | sort 2070 echo 2071 2072 if test -n "$ac_subst_files"; then 2073 $as_echo "## ------------------- ## 2074 ## File substitutions. ## 2075 ## ------------------- ##" 2076 echo 2077 for ac_var in $ac_subst_files 2078 do 2079 eval ac_val=\$$ac_var 2080 case $ac_val in 2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2082 esac 2083 $as_echo "$ac_var='\''$ac_val'\''" 2084 done | sort 2085 echo 2086 fi 2087 2088 if test -s confdefs.h; then 2089 $as_echo "## ----------- ## 2090 ## confdefs.h. ## 2091 ## ----------- ##" 2092 echo 2093 cat confdefs.h 2094 echo 2095 fi 2096 test "$ac_signal" != 0 && 2097 $as_echo "$as_me: caught signal $ac_signal" 2098 $as_echo "$as_me: exit $exit_status" 2099 } >&5 2100 rm -f core *.core core.conftest.* && 2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2102 exit $exit_status 2103 ' 0 2104 for ac_signal in 1 2 13 15; do 2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2106 done 2107 ac_signal=0 2108 2109 # confdefs.h avoids OS command line length limits that DEFS can exceed. 2110 rm -f -r conftest* confdefs.h 2111 2112 $as_echo "/* confdefs.h */" > confdefs.h 2113 2114 # Predefined preprocessor variables. 2115 2116 cat >>confdefs.h <<_ACEOF 2117 #define PACKAGE_NAME "$PACKAGE_NAME" 2118 _ACEOF 2119 2120 cat >>confdefs.h <<_ACEOF 2121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2122 _ACEOF 2123 2124 cat >>confdefs.h <<_ACEOF 2125 #define PACKAGE_VERSION "$PACKAGE_VERSION" 2126 _ACEOF 2127 2128 cat >>confdefs.h <<_ACEOF 2129 #define PACKAGE_STRING "$PACKAGE_STRING" 2130 _ACEOF 2131 2132 cat >>confdefs.h <<_ACEOF 2133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2134 _ACEOF 2135 2136 cat >>confdefs.h <<_ACEOF 2137 #define PACKAGE_URL "$PACKAGE_URL" 2138 _ACEOF 2139 2140 2141 # Let the site file select an alternate cache file if it wants to. 2142 # Prefer an explicitly selected file to automatically selected ones. 2143 ac_site_file1=NONE 2144 ac_site_file2=NONE 2145 if test -n "$CONFIG_SITE"; then 2146 # We do not want a PATH search for config.site. 2147 case $CONFIG_SITE in #(( 2148 -*) ac_site_file1=./$CONFIG_SITE;; 2149 */*) ac_site_file1=$CONFIG_SITE;; 2150 *) ac_site_file1=./$CONFIG_SITE;; 2151 esac 2152 elif test "x$prefix" != xNONE; then 2153 ac_site_file1=$prefix/share/config.site 2154 ac_site_file2=$prefix/etc/config.site 2155 else 2156 ac_site_file1=$ac_default_prefix/share/config.site 2157 ac_site_file2=$ac_default_prefix/etc/config.site 2158 fi 2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2160 do 2161 test "x$ac_site_file" = xNONE && continue 2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2165 sed 's/^/| /' "$ac_site_file" >&5 2166 . "$ac_site_file" \ 2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2169 as_fn_error $? "failed to load site script $ac_site_file 2170 See \`config.log' for more details" "$LINENO" 5; } 2171 fi 2172 done 2173 2174 if test -r "$cache_file"; then 2175 # Some versions of bash will fail to source /dev/null (special files 2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2179 $as_echo "$as_me: loading cache $cache_file" >&6;} 2180 case $cache_file in 2181 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2182 *) . "./$cache_file";; 2183 esac 2184 fi 2185 else 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2187 $as_echo "$as_me: creating cache $cache_file" >&6;} 2188 >$cache_file 2189 fi 2190 2191 # Check that the precious variables saved in the cache have kept the same 2192 # value. 2193 ac_cache_corrupted=false 2194 for ac_var in $ac_precious_vars; do 2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2196 eval ac_new_set=\$ac_env_${ac_var}_set 2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2198 eval ac_new_val=\$ac_env_${ac_var}_value 2199 case $ac_old_set,$ac_new_set in 2200 set,) 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2203 ac_cache_corrupted=: ;; 2204 ,set) 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2207 ac_cache_corrupted=: ;; 2208 ,);; 2209 *) 2210 if test "x$ac_old_val" != "x$ac_new_val"; then 2211 # differences in whitespace do not lead to failure. 2212 ac_old_val_w=`echo x $ac_old_val` 2213 ac_new_val_w=`echo x $ac_new_val` 2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2217 ac_cache_corrupted=: 2218 else 2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2221 eval $ac_var=\$ac_old_val 2222 fi 2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2227 fi;; 2228 esac 2229 # Pass precious variables to config.status. 2230 if test "$ac_new_set" = set; then 2231 case $ac_new_val in 2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2233 *) ac_arg=$ac_var=$ac_new_val ;; 2234 esac 2235 case " $ac_configure_args " in 2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2238 esac 2239 fi 2240 done 2241 if $ac_cache_corrupted; then 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2247 fi 2248 ## -------------------- ## 2249 ## Main body of script. ## 2250 ## -------------------- ## 2251 2252 ac_ext=c 2253 ac_cpp='$CPP $CPPFLAGS' 2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2257 2258 2259 am__api_version='1.12' 2260 2261 ac_aux_dir= 2262 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2263 if test -f "$ac_dir/install-sh"; then 2264 ac_aux_dir=$ac_dir 2265 ac_install_sh="$ac_aux_dir/install-sh -c" 2266 break 2267 elif test -f "$ac_dir/install.sh"; then 2268 ac_aux_dir=$ac_dir 2269 ac_install_sh="$ac_aux_dir/install.sh -c" 2270 break 2271 elif test -f "$ac_dir/shtool"; then 2272 ac_aux_dir=$ac_dir 2273 ac_install_sh="$ac_aux_dir/shtool install -c" 2274 break 2275 fi 2276 done 2277 if test -z "$ac_aux_dir"; then 2278 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2279 fi 2280 2281 # These three variables are undocumented and unsupported, 2282 # and are intended to be withdrawn in a future Autoconf release. 2283 # They can cause serious problems if a builder's source tree is in a directory 2284 # whose full name contains unusual characters. 2285 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2286 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2287 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2288 2289 2290 # Find a good install program. We prefer a C program (faster), 2291 # so one script is as good as another. But avoid the broken or 2292 # incompatible versions: 2293 # SysV /etc/install, /usr/sbin/install 2294 # SunOS /usr/etc/install 2295 # IRIX /sbin/install 2296 # AIX /bin/install 2297 # AmigaOS /C/install, which installs bootblocks on floppy discs 2298 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2299 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2300 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2301 # OS/2's system install, which has a completely different semantic 2302 # ./install, which can be erroneously created by make from ./install.sh. 2303 # Reject install programs that cannot install multiple files. 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2305 $as_echo_n "checking for a BSD-compatible install... " >&6; } 2306 if test -z "$INSTALL"; then 2307 if ${ac_cv_path_install+:} false; then : 2308 $as_echo_n "(cached) " >&6 2309 else 2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2311 for as_dir in $PATH 2312 do 2313 IFS=$as_save_IFS 2314 test -z "$as_dir" && as_dir=. 2315 # Account for people who put trailing slashes in PATH elements. 2316 case $as_dir/ in #(( 2317 ./ | .// | /[cC]/* | \ 2318 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2319 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2320 /usr/ucb/* ) ;; 2321 *) 2322 # OSF1 and SCO ODT 3.0 have their own names for install. 2323 # Don't use installbsd from OSF since it installs stuff as root 2324 # by default. 2325 for ac_prog in ginstall scoinst install; do 2326 for ac_exec_ext in '' $ac_executable_extensions; do 2327 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2328 if test $ac_prog = install && 2329 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2330 # AIX install. It has an incompatible calling convention. 2331 : 2332 elif test $ac_prog = install && 2333 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2334 # program-specific install script used by HP pwplus--don't use. 2335 : 2336 else 2337 rm -rf conftest.one conftest.two conftest.dir 2338 echo one > conftest.one 2339 echo two > conftest.two 2340 mkdir conftest.dir 2341 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2342 test -s conftest.one && test -s conftest.two && 2343 test -s conftest.dir/conftest.one && 2344 test -s conftest.dir/conftest.two 2345 then 2346 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2347 break 3 2348 fi 2349 fi 2350 fi 2351 done 2352 done 2353 ;; 2354 esac 2355 2356 done 2357 IFS=$as_save_IFS 2358 2359 rm -rf conftest.one conftest.two conftest.dir 2360 2361 fi 2362 if test "${ac_cv_path_install+set}" = set; then 2363 INSTALL=$ac_cv_path_install 2364 else 2365 # As a last resort, use the slow shell script. Don't cache a 2366 # value for INSTALL within a source directory, because that will 2367 # break other packages using the cache if that directory is 2368 # removed, or if the value is a relative name. 2369 INSTALL=$ac_install_sh 2370 fi 2371 fi 2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2373 $as_echo "$INSTALL" >&6; } 2374 2375 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2376 # It thinks the first close brace ends the variable substitution. 2377 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2378 2379 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2380 2381 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2382 2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2384 $as_echo_n "checking whether build environment is sane... " >&6; } 2385 # Reject unsafe characters in $srcdir or the absolute working directory 2386 # name. Accept space and tab only in the latter. 2387 am_lf=' 2388 ' 2389 case `pwd` in 2390 *[\\\"\#\$\&\'\`$am_lf]*) 2391 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2392 esac 2393 case $srcdir in 2394 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2395 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2396 esac 2397 2398 # Do 'set' in a subshell so we don't clobber the current shell's 2399 # arguments. Must try -L first in case configure is actually a 2400 # symlink; some systems play weird games with the mod time of symlinks 2401 # (eg FreeBSD returns the mod time of the symlink's containing 2402 # directory). 2403 if ( 2404 am_has_slept=no 2405 for am_try in 1 2; do 2406 echo "timestamp, slept: $am_has_slept" > conftest.file 2407 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2408 if test "$*" = "X"; then 2409 # -L didn't work. 2410 set X `ls -t "$srcdir/configure" conftest.file` 2411 fi 2412 if test "$*" != "X $srcdir/configure conftest.file" \ 2413 && test "$*" != "X conftest.file $srcdir/configure"; then 2414 2415 # If neither matched, then we have a broken ls. This can happen 2416 # if, for instance, CONFIG_SHELL is bash and it inherits a 2417 # broken ls alias from the environment. This has actually 2418 # happened. Such a system could not be considered "sane". 2419 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2420 alias in your environment" "$LINENO" 5 2421 fi 2422 if test "$2" = conftest.file || test $am_try -eq 2; then 2423 break 2424 fi 2425 # Just in case. 2426 sleep 1 2427 am_has_slept=yes 2428 done 2429 test "$2" = conftest.file 2430 ) 2431 then 2432 # Ok. 2433 : 2434 else 2435 as_fn_error $? "newly created file is older than distributed files! 2436 Check your system clock" "$LINENO" 5 2437 fi 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2439 $as_echo "yes" >&6; } 2440 # If we didn't sleep, we still need to ensure time stamps of config.status and 2441 # generated files are strictly newer. 2442 am_sleep_pid= 2443 if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2444 ( sleep 1 ) & 2445 am_sleep_pid=$! 2446 fi 2447 2448 rm -f conftest.file 2449 2450 test "$program_prefix" != NONE && 2451 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2452 # Use a double $ so make ignores it. 2453 test "$program_suffix" != NONE && 2454 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2455 # Double any \ or $. 2456 # By default was `s,x,x', remove it if useless. 2457 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2458 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2459 2460 # expand $ac_aux_dir to an absolute path 2461 am_aux_dir=`cd $ac_aux_dir && pwd` 2462 2463 if test x"${MISSING+set}" != xset; then 2464 case $am_aux_dir in 2465 *\ * | *\ *) 2466 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2467 *) 2468 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2469 esac 2470 fi 2471 # Use eval to expand $SHELL 2472 if eval "$MISSING --run true"; then 2473 am_missing_run="$MISSING --run " 2474 else 2475 am_missing_run= 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2477 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2478 fi 2479 2480 if test x"${install_sh}" != xset; then 2481 case $am_aux_dir in 2482 *\ * | *\ *) 2483 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2484 *) 2485 install_sh="\${SHELL} $am_aux_dir/install-sh" 2486 esac 2487 fi 2488 2489 # Installed binaries are usually stripped using 'strip' when the user 2490 # run "make install-strip". However 'strip' might not be the right 2491 # tool to use in cross-compilation environments, therefore Automake 2492 # will honor the 'STRIP' environment variable to overrule this program. 2493 if test "$cross_compiling" != no; then 2494 if test -n "$ac_tool_prefix"; then 2495 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2496 set dummy ${ac_tool_prefix}strip; ac_word=$2 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2498 $as_echo_n "checking for $ac_word... " >&6; } 2499 if ${ac_cv_prog_STRIP+:} false; then : 2500 $as_echo_n "(cached) " >&6 2501 else 2502 if test -n "$STRIP"; then 2503 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2504 else 2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2506 for as_dir in $PATH 2507 do 2508 IFS=$as_save_IFS 2509 test -z "$as_dir" && as_dir=. 2510 for ac_exec_ext in '' $ac_executable_extensions; do 2511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2512 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2514 break 2 2515 fi 2516 done 2517 done 2518 IFS=$as_save_IFS 2519 2520 fi 2521 fi 2522 STRIP=$ac_cv_prog_STRIP 2523 if test -n "$STRIP"; then 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2525 $as_echo "$STRIP" >&6; } 2526 else 2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2528 $as_echo "no" >&6; } 2529 fi 2530 2531 2532 fi 2533 if test -z "$ac_cv_prog_STRIP"; then 2534 ac_ct_STRIP=$STRIP 2535 # Extract the first word of "strip", so it can be a program name with args. 2536 set dummy strip; ac_word=$2 2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2538 $as_echo_n "checking for $ac_word... " >&6; } 2539 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2540 $as_echo_n "(cached) " >&6 2541 else 2542 if test -n "$ac_ct_STRIP"; then 2543 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2544 else 2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2546 for as_dir in $PATH 2547 do 2548 IFS=$as_save_IFS 2549 test -z "$as_dir" && as_dir=. 2550 for ac_exec_ext in '' $ac_executable_extensions; do 2551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2552 ac_cv_prog_ac_ct_STRIP="strip" 2553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2554 break 2 2555 fi 2556 done 2557 done 2558 IFS=$as_save_IFS 2559 2560 fi 2561 fi 2562 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2563 if test -n "$ac_ct_STRIP"; then 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2565 $as_echo "$ac_ct_STRIP" >&6; } 2566 else 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2568 $as_echo "no" >&6; } 2569 fi 2570 2571 if test "x$ac_ct_STRIP" = x; then 2572 STRIP=":" 2573 else 2574 case $cross_compiling:$ac_tool_warned in 2575 yes:) 2576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2578 ac_tool_warned=yes ;; 2579 esac 2580 STRIP=$ac_ct_STRIP 2581 fi 2582 else 2583 STRIP="$ac_cv_prog_STRIP" 2584 fi 2585 2586 fi 2587 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2588 2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2590 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2591 if test -z "$MKDIR_P"; then 2592 if ${ac_cv_path_mkdir+:} false; then : 2593 $as_echo_n "(cached) " >&6 2594 else 2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2596 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2597 do 2598 IFS=$as_save_IFS 2599 test -z "$as_dir" && as_dir=. 2600 for ac_prog in mkdir gmkdir; do 2601 for ac_exec_ext in '' $ac_executable_extensions; do 2602 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2603 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2604 'mkdir (GNU coreutils) '* | \ 2605 'mkdir (coreutils) '* | \ 2606 'mkdir (fileutils) '4.1*) 2607 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2608 break 3;; 2609 esac 2610 done 2611 done 2612 done 2613 IFS=$as_save_IFS 2614 2615 fi 2616 2617 test -d ./--version && rmdir ./--version 2618 if test "${ac_cv_path_mkdir+set}" = set; then 2619 MKDIR_P="$ac_cv_path_mkdir -p" 2620 else 2621 # As a last resort, use the slow shell script. Don't cache a 2622 # value for MKDIR_P within a source directory, because that will 2623 # break other packages using the cache if that directory is 2624 # removed, or if the value is a relative name. 2625 MKDIR_P="$ac_install_sh -d" 2626 fi 2627 fi 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2629 $as_echo "$MKDIR_P" >&6; } 2630 2631 for ac_prog in gawk mawk nawk awk 2632 do 2633 # Extract the first word of "$ac_prog", so it can be a program name with args. 2634 set dummy $ac_prog; ac_word=$2 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2636 $as_echo_n "checking for $ac_word... " >&6; } 2637 if ${ac_cv_prog_AWK+:} false; then : 2638 $as_echo_n "(cached) " >&6 2639 else 2640 if test -n "$AWK"; then 2641 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2642 else 2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2644 for as_dir in $PATH 2645 do 2646 IFS=$as_save_IFS 2647 test -z "$as_dir" && as_dir=. 2648 for ac_exec_ext in '' $ac_executable_extensions; do 2649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2650 ac_cv_prog_AWK="$ac_prog" 2651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2652 break 2 2653 fi 2654 done 2655 done 2656 IFS=$as_save_IFS 2657 2658 fi 2659 fi 2660 AWK=$ac_cv_prog_AWK 2661 if test -n "$AWK"; then 2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2663 $as_echo "$AWK" >&6; } 2664 else 2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2666 $as_echo "no" >&6; } 2667 fi 2668 2669 2670 test -n "$AWK" && break 2671 done 2672 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2674 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2675 set x ${MAKE-make} 2676 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2677 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2678 $as_echo_n "(cached) " >&6 2679 else 2680 cat >conftest.make <<\_ACEOF 2681 SHELL = /bin/sh 2682 all: 2683 @echo '@@@%%%=$(MAKE)=@@@%%%' 2684 _ACEOF 2685 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2686 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2687 *@@@%%%=?*=@@@%%%*) 2688 eval ac_cv_prog_make_${ac_make}_set=yes;; 2689 *) 2690 eval ac_cv_prog_make_${ac_make}_set=no;; 2691 esac 2692 rm -f conftest.make 2693 fi 2694 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2696 $as_echo "yes" >&6; } 2697 SET_MAKE= 2698 else 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2700 $as_echo "no" >&6; } 2701 SET_MAKE="MAKE=${MAKE-make}" 2702 fi 2703 2704 rm -rf .tst 2>/dev/null 2705 mkdir .tst 2>/dev/null 2706 if test -d .tst; then 2707 am__leading_dot=. 2708 else 2709 am__leading_dot=_ 2710 fi 2711 rmdir .tst 2>/dev/null 2712 2713 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2714 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2715 # is not polluted with repeated "-I." 2716 am__isrc=' -I$(srcdir)' 2717 # test to see if srcdir already configured 2718 if test -f $srcdir/config.status; then 2719 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2720 fi 2721 fi 2722 2723 # test whether we have cygpath 2724 if test -z "$CYGPATH_W"; then 2725 if (cygpath --version) >/dev/null 2>/dev/null; then 2726 CYGPATH_W='cygpath -w' 2727 else 2728 CYGPATH_W=echo 2729 fi 2730 fi 2731 2732 2733 # Define the identity of the package. 2734 PACKAGE='alsa-oss' 2735 VERSION='1.1.8' 2736 2737 2738 cat >>confdefs.h <<_ACEOF 2739 #define PACKAGE "$PACKAGE" 2740 _ACEOF 2741 2742 2743 cat >>confdefs.h <<_ACEOF 2744 #define VERSION "$VERSION" 2745 _ACEOF 2746 2747 # Some tools Automake needs. 2748 2749 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2750 2751 2752 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2753 2754 2755 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2756 2757 2758 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2759 2760 2761 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2762 2763 # For better backward compatibility. To be removed once Automake 1.9.x 2764 # dies out for good. For more background, see: 2765 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2766 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2767 mkdir_p='$(MKDIR_P)' 2768 2769 # We need awk for the "check" target. The system "awk" is bad on 2770 # some platforms. 2771 # Always define AMTAR for backward compatibility. Yes, it's still used 2772 # in the wild :-( We should find a proper way to deprecate it ... 2773 AMTAR='$${TAR-tar}' 2774 2775 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2776 2777 2778 2779 2780 2781 2782 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2784 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2785 # Check whether --enable-maintainer-mode was given. 2786 if test "${enable_maintainer_mode+set}" = set; then : 2787 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2788 else 2789 USE_MAINTAINER_MODE=yes 2790 fi 2791 2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2793 $as_echo "$USE_MAINTAINER_MODE" >&6; } 2794 if test $USE_MAINTAINER_MODE = yes; then 2795 MAINTAINER_MODE_TRUE= 2796 MAINTAINER_MODE_FALSE='#' 2797 else 2798 MAINTAINER_MODE_TRUE='#' 2799 MAINTAINER_MODE_FALSE= 2800 fi 2801 2802 MAINT=$MAINTAINER_MODE_TRUE 2803 2804 2805 2806 LIBTOOL_VERSION_INFO="0:0:0" 2807 2808 2809 2810 2811 ac_ext=c 2812 ac_cpp='$CPP $CPPFLAGS' 2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2816 if test -n "$ac_tool_prefix"; then 2817 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2818 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2820 $as_echo_n "checking for $ac_word... " >&6; } 2821 if ${ac_cv_prog_CC+:} false; then : 2822 $as_echo_n "(cached) " >&6 2823 else 2824 if test -n "$CC"; then 2825 ac_cv_prog_CC="$CC" # Let the user override the test. 2826 else 2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2828 for as_dir in $PATH 2829 do 2830 IFS=$as_save_IFS 2831 test -z "$as_dir" && as_dir=. 2832 for ac_exec_ext in '' $ac_executable_extensions; do 2833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2834 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2836 break 2 2837 fi 2838 done 2839 done 2840 IFS=$as_save_IFS 2841 2842 fi 2843 fi 2844 CC=$ac_cv_prog_CC 2845 if test -n "$CC"; then 2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2847 $as_echo "$CC" >&6; } 2848 else 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2850 $as_echo "no" >&6; } 2851 fi 2852 2853 2854 fi 2855 if test -z "$ac_cv_prog_CC"; then 2856 ac_ct_CC=$CC 2857 # Extract the first word of "gcc", so it can be a program name with args. 2858 set dummy gcc; ac_word=$2 2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2860 $as_echo_n "checking for $ac_word... " >&6; } 2861 if ${ac_cv_prog_ac_ct_CC+:} false; then : 2862 $as_echo_n "(cached) " >&6 2863 else 2864 if test -n "$ac_ct_CC"; then 2865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2866 else 2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2868 for as_dir in $PATH 2869 do 2870 IFS=$as_save_IFS 2871 test -z "$as_dir" && as_dir=. 2872 for ac_exec_ext in '' $ac_executable_extensions; do 2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2874 ac_cv_prog_ac_ct_CC="gcc" 2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2876 break 2 2877 fi 2878 done 2879 done 2880 IFS=$as_save_IFS 2881 2882 fi 2883 fi 2884 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2885 if test -n "$ac_ct_CC"; then 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2887 $as_echo "$ac_ct_CC" >&6; } 2888 else 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2890 $as_echo "no" >&6; } 2891 fi 2892 2893 if test "x$ac_ct_CC" = x; then 2894 CC="" 2895 else 2896 case $cross_compiling:$ac_tool_warned in 2897 yes:) 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2900 ac_tool_warned=yes ;; 2901 esac 2902 CC=$ac_ct_CC 2903 fi 2904 else 2905 CC="$ac_cv_prog_CC" 2906 fi 2907 2908 if test -z "$CC"; then 2909 if test -n "$ac_tool_prefix"; then 2910 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2911 set dummy ${ac_tool_prefix}cc; ac_word=$2 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2913 $as_echo_n "checking for $ac_word... " >&6; } 2914 if ${ac_cv_prog_CC+:} false; then : 2915 $as_echo_n "(cached) " >&6 2916 else 2917 if test -n "$CC"; then 2918 ac_cv_prog_CC="$CC" # Let the user override the test. 2919 else 2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2921 for as_dir in $PATH 2922 do 2923 IFS=$as_save_IFS 2924 test -z "$as_dir" && as_dir=. 2925 for ac_exec_ext in '' $ac_executable_extensions; do 2926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2927 ac_cv_prog_CC="${ac_tool_prefix}cc" 2928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2929 break 2 2930 fi 2931 done 2932 done 2933 IFS=$as_save_IFS 2934 2935 fi 2936 fi 2937 CC=$ac_cv_prog_CC 2938 if test -n "$CC"; then 2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2940 $as_echo "$CC" >&6; } 2941 else 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943 $as_echo "no" >&6; } 2944 fi 2945 2946 2947 fi 2948 fi 2949 if test -z "$CC"; then 2950 # Extract the first word of "cc", so it can be a program name with args. 2951 set dummy cc; ac_word=$2 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2953 $as_echo_n "checking for $ac_word... " >&6; } 2954 if ${ac_cv_prog_CC+:} false; then : 2955 $as_echo_n "(cached) " >&6 2956 else 2957 if test -n "$CC"; then 2958 ac_cv_prog_CC="$CC" # Let the user override the test. 2959 else 2960 ac_prog_rejected=no 2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2962 for as_dir in $PATH 2963 do 2964 IFS=$as_save_IFS 2965 test -z "$as_dir" && as_dir=. 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2968 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2969 ac_prog_rejected=yes 2970 continue 2971 fi 2972 ac_cv_prog_CC="cc" 2973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2974 break 2 2975 fi 2976 done 2977 done 2978 IFS=$as_save_IFS 2979 2980 if test $ac_prog_rejected = yes; then 2981 # We found a bogon in the path, so make sure we never use it. 2982 set dummy $ac_cv_prog_CC 2983 shift 2984 if test $# != 0; then 2985 # We chose a different compiler from the bogus one. 2986 # However, it has the same basename, so the bogon will be chosen 2987 # first if we set CC to just the basename; use the full file name. 2988 shift 2989 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2990 fi 2991 fi 2992 fi 2993 fi 2994 CC=$ac_cv_prog_CC 2995 if test -n "$CC"; then 2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2997 $as_echo "$CC" >&6; } 2998 else 2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3000 $as_echo "no" >&6; } 3001 fi 3002 3003 3004 fi 3005 if test -z "$CC"; then 3006 if test -n "$ac_tool_prefix"; then 3007 for ac_prog in cl.exe 3008 do 3009 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3010 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3012 $as_echo_n "checking for $ac_word... " >&6; } 3013 if ${ac_cv_prog_CC+:} false; then : 3014 $as_echo_n "(cached) " >&6 3015 else 3016 if test -n "$CC"; then 3017 ac_cv_prog_CC="$CC" # Let the user override the test. 3018 else 3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3020 for as_dir in $PATH 3021 do 3022 IFS=$as_save_IFS 3023 test -z "$as_dir" && as_dir=. 3024 for ac_exec_ext in '' $ac_executable_extensions; do 3025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3026 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3028 break 2 3029 fi 3030 done 3031 done 3032 IFS=$as_save_IFS 3033 3034 fi 3035 fi 3036 CC=$ac_cv_prog_CC 3037 if test -n "$CC"; then 3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3039 $as_echo "$CC" >&6; } 3040 else 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3042 $as_echo "no" >&6; } 3043 fi 3044 3045 3046 test -n "$CC" && break 3047 done 3048 fi 3049 if test -z "$CC"; then 3050 ac_ct_CC=$CC 3051 for ac_prog in cl.exe 3052 do 3053 # Extract the first word of "$ac_prog", so it can be a program name with args. 3054 set dummy $ac_prog; ac_word=$2 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3056 $as_echo_n "checking for $ac_word... " >&6; } 3057 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3058 $as_echo_n "(cached) " >&6 3059 else 3060 if test -n "$ac_ct_CC"; then 3061 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3062 else 3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3064 for as_dir in $PATH 3065 do 3066 IFS=$as_save_IFS 3067 test -z "$as_dir" && as_dir=. 3068 for ac_exec_ext in '' $ac_executable_extensions; do 3069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3070 ac_cv_prog_ac_ct_CC="$ac_prog" 3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3072 break 2 3073 fi 3074 done 3075 done 3076 IFS=$as_save_IFS 3077 3078 fi 3079 fi 3080 ac_ct_CC=$ac_cv_prog_ac_ct_CC 3081 if test -n "$ac_ct_CC"; then 3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3083 $as_echo "$ac_ct_CC" >&6; } 3084 else 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3086 $as_echo "no" >&6; } 3087 fi 3088 3089 3090 test -n "$ac_ct_CC" && break 3091 done 3092 3093 if test "x$ac_ct_CC" = x; then 3094 CC="" 3095 else 3096 case $cross_compiling:$ac_tool_warned in 3097 yes:) 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3100 ac_tool_warned=yes ;; 3101 esac 3102 CC=$ac_ct_CC 3103 fi 3104 fi 3105 3106 fi 3107 3108 3109 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3111 as_fn_error $? "no acceptable C compiler found in \$PATH 3112 See \`config.log' for more details" "$LINENO" 5; } 3113 3114 # Provide some information about the compiler. 3115 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3116 set X $ac_compile 3117 ac_compiler=$2 3118 for ac_option in --version -v -V -qversion; do 3119 { { ac_try="$ac_compiler $ac_option >&5" 3120 case "(($ac_try" in 3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3122 *) ac_try_echo=$ac_try;; 3123 esac 3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3125 $as_echo "$ac_try_echo"; } >&5 3126 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3127 ac_status=$? 3128 if test -s conftest.err; then 3129 sed '10a\ 3130 ... rest of stderr output deleted ... 3131 10q' conftest.err >conftest.er1 3132 cat conftest.er1 >&5 3133 fi 3134 rm -f conftest.er1 conftest.err 3135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3136 test $ac_status = 0; } 3137 done 3138 3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3140 /* end confdefs.h. */ 3141 3142 int 3143 main () 3144 { 3145 3146 ; 3147 return 0; 3148 } 3149 _ACEOF 3150 ac_clean_files_save=$ac_clean_files 3151 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3152 # Try to create an executable without -o first, disregard a.out. 3153 # It will help us diagnose broken compilers, and finding out an intuition 3154 # of exeext. 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3156 $as_echo_n "checking whether the C compiler works... " >&6; } 3157 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3158 3159 # The possible output files: 3160 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3161 3162 ac_rmfiles= 3163 for ac_file in $ac_files 3164 do 3165 case $ac_file in 3166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3167 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3168 esac 3169 done 3170 rm -f $ac_rmfiles 3171 3172 if { { ac_try="$ac_link_default" 3173 case "(($ac_try" in 3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3175 *) ac_try_echo=$ac_try;; 3176 esac 3177 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3178 $as_echo "$ac_try_echo"; } >&5 3179 (eval "$ac_link_default") 2>&5 3180 ac_status=$? 3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3182 test $ac_status = 0; }; then : 3183 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3184 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3185 # in a Makefile. We should not override ac_cv_exeext if it was cached, 3186 # so that the user can short-circuit this test for compilers unknown to 3187 # Autoconf. 3188 for ac_file in $ac_files '' 3189 do 3190 test -f "$ac_file" || continue 3191 case $ac_file in 3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3193 ;; 3194 [ab].out ) 3195 # We found the default executable, but exeext='' is most 3196 # certainly right. 3197 break;; 3198 *.* ) 3199 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3200 then :; else 3201 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3202 fi 3203 # We set ac_cv_exeext here because the later test for it is not 3204 # safe: cross compilers may not add the suffix if given an `-o' 3205 # argument, so we may need to know it at that point already. 3206 # Even if this section looks crufty: it has the advantage of 3207 # actually working. 3208 break;; 3209 * ) 3210 break;; 3211 esac 3212 done 3213 test "$ac_cv_exeext" = no && ac_cv_exeext= 3214 3215 else 3216 ac_file='' 3217 fi 3218 if test -z "$ac_file"; then : 3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3220 $as_echo "no" >&6; } 3221 $as_echo "$as_me: failed program was:" >&5 3222 sed 's/^/| /' conftest.$ac_ext >&5 3223 3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3226 as_fn_error 77 "C compiler cannot create executables 3227 See \`config.log' for more details" "$LINENO" 5; } 3228 else 3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3230 $as_echo "yes" >&6; } 3231 fi 3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3233 $as_echo_n "checking for C compiler default output file name... " >&6; } 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3235 $as_echo "$ac_file" >&6; } 3236 ac_exeext=$ac_cv_exeext 3237 3238 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3239 ac_clean_files=$ac_clean_files_save 3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3241 $as_echo_n "checking for suffix of executables... " >&6; } 3242 if { { ac_try="$ac_link" 3243 case "(($ac_try" in 3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3245 *) ac_try_echo=$ac_try;; 3246 esac 3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3248 $as_echo "$ac_try_echo"; } >&5 3249 (eval "$ac_link") 2>&5 3250 ac_status=$? 3251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3252 test $ac_status = 0; }; then : 3253 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3254 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3255 # work properly (i.e., refer to `conftest.exe'), while it won't with 3256 # `rm'. 3257 for ac_file in conftest.exe conftest conftest.*; do 3258 test -f "$ac_file" || continue 3259 case $ac_file in 3260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3261 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3262 break;; 3263 * ) break;; 3264 esac 3265 done 3266 else 3267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3269 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3270 See \`config.log' for more details" "$LINENO" 5; } 3271 fi 3272 rm -f conftest conftest$ac_cv_exeext 3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3274 $as_echo "$ac_cv_exeext" >&6; } 3275 3276 rm -f conftest.$ac_ext 3277 EXEEXT=$ac_cv_exeext 3278 ac_exeext=$EXEEXT 3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3280 /* end confdefs.h. */ 3281 #include <stdio.h> 3282 int 3283 main () 3284 { 3285 FILE *f = fopen ("conftest.out", "w"); 3286 return ferror (f) || fclose (f) != 0; 3287 3288 ; 3289 return 0; 3290 } 3291 _ACEOF 3292 ac_clean_files="$ac_clean_files conftest.out" 3293 # Check that the compiler produces executables we can run. If not, either 3294 # the compiler is broken, or we cross compile. 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3296 $as_echo_n "checking whether we are cross compiling... " >&6; } 3297 if test "$cross_compiling" != yes; then 3298 { { ac_try="$ac_link" 3299 case "(($ac_try" in 3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3301 *) ac_try_echo=$ac_try;; 3302 esac 3303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3304 $as_echo "$ac_try_echo"; } >&5 3305 (eval "$ac_link") 2>&5 3306 ac_status=$? 3307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3308 test $ac_status = 0; } 3309 if { ac_try='./conftest$ac_cv_exeext' 3310 { { case "(($ac_try" in 3311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3312 *) ac_try_echo=$ac_try;; 3313 esac 3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3315 $as_echo "$ac_try_echo"; } >&5 3316 (eval "$ac_try") 2>&5 3317 ac_status=$? 3318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3319 test $ac_status = 0; }; }; then 3320 cross_compiling=no 3321 else 3322 if test "$cross_compiling" = maybe; then 3323 cross_compiling=yes 3324 else 3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3327 as_fn_error $? "cannot run C compiled programs. 3328 If you meant to cross compile, use \`--host'. 3329 See \`config.log' for more details" "$LINENO" 5; } 3330 fi 3331 fi 3332 fi 3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3334 $as_echo "$cross_compiling" >&6; } 3335 3336 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3337 ac_clean_files=$ac_clean_files_save 3338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3339 $as_echo_n "checking for suffix of object files... " >&6; } 3340 if ${ac_cv_objext+:} false; then : 3341 $as_echo_n "(cached) " >&6 3342 else 3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3344 /* end confdefs.h. */ 3345 3346 int 3347 main () 3348 { 3349 3350 ; 3351 return 0; 3352 } 3353 _ACEOF 3354 rm -f conftest.o conftest.obj 3355 if { { ac_try="$ac_compile" 3356 case "(($ac_try" in 3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3358 *) ac_try_echo=$ac_try;; 3359 esac 3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3361 $as_echo "$ac_try_echo"; } >&5 3362 (eval "$ac_compile") 2>&5 3363 ac_status=$? 3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3365 test $ac_status = 0; }; then : 3366 for ac_file in conftest.o conftest.obj conftest.*; do 3367 test -f "$ac_file" || continue; 3368 case $ac_file in 3369 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3370 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3371 break;; 3372 esac 3373 done 3374 else 3375 $as_echo "$as_me: failed program was:" >&5 3376 sed 's/^/| /' conftest.$ac_ext >&5 3377 3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3380 as_fn_error $? "cannot compute suffix of object files: cannot compile 3381 See \`config.log' for more details" "$LINENO" 5; } 3382 fi 3383 rm -f conftest.$ac_cv_objext conftest.$ac_ext 3384 fi 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3386 $as_echo "$ac_cv_objext" >&6; } 3387 OBJEXT=$ac_cv_objext 3388 ac_objext=$OBJEXT 3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3390 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3391 if ${ac_cv_c_compiler_gnu+:} false; then : 3392 $as_echo_n "(cached) " >&6 3393 else 3394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3395 /* end confdefs.h. */ 3396 3397 int 3398 main () 3399 { 3400 #ifndef __GNUC__ 3401 choke me 3402 #endif 3403 3404 ; 3405 return 0; 3406 } 3407 _ACEOF 3408 if ac_fn_c_try_compile "$LINENO"; then : 3409 ac_compiler_gnu=yes 3410 else 3411 ac_compiler_gnu=no 3412 fi 3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3414 ac_cv_c_compiler_gnu=$ac_compiler_gnu 3415 3416 fi 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3418 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3419 if test $ac_compiler_gnu = yes; then 3420 GCC=yes 3421 else 3422 GCC= 3423 fi 3424 ac_test_CFLAGS=${CFLAGS+set} 3425 ac_save_CFLAGS=$CFLAGS 3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3427 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3428 if ${ac_cv_prog_cc_g+:} false; then : 3429 $as_echo_n "(cached) " >&6 3430 else 3431 ac_save_c_werror_flag=$ac_c_werror_flag 3432 ac_c_werror_flag=yes 3433 ac_cv_prog_cc_g=no 3434 CFLAGS="-g" 3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3436 /* end confdefs.h. */ 3437 3438 int 3439 main () 3440 { 3441 3442 ; 3443 return 0; 3444 } 3445 _ACEOF 3446 if ac_fn_c_try_compile "$LINENO"; then : 3447 ac_cv_prog_cc_g=yes 3448 else 3449 CFLAGS="" 3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3451 /* end confdefs.h. */ 3452 3453 int 3454 main () 3455 { 3456 3457 ; 3458 return 0; 3459 } 3460 _ACEOF 3461 if ac_fn_c_try_compile "$LINENO"; then : 3462 3463 else 3464 ac_c_werror_flag=$ac_save_c_werror_flag 3465 CFLAGS="-g" 3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3467 /* end confdefs.h. */ 3468 3469 int 3470 main () 3471 { 3472 3473 ; 3474 return 0; 3475 } 3476 _ACEOF 3477 if ac_fn_c_try_compile "$LINENO"; then : 3478 ac_cv_prog_cc_g=yes 3479 fi 3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3481 fi 3482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3483 fi 3484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3485 ac_c_werror_flag=$ac_save_c_werror_flag 3486 fi 3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3488 $as_echo "$ac_cv_prog_cc_g" >&6; } 3489 if test "$ac_test_CFLAGS" = set; then 3490 CFLAGS=$ac_save_CFLAGS 3491 elif test $ac_cv_prog_cc_g = yes; then 3492 if test "$GCC" = yes; then 3493 CFLAGS="-g -O2" 3494 else 3495 CFLAGS="-g" 3496 fi 3497 else 3498 if test "$GCC" = yes; then 3499 CFLAGS="-O2" 3500 else 3501 CFLAGS= 3502 fi 3503 fi 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3505 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3506 if ${ac_cv_prog_cc_c89+:} false; then : 3507 $as_echo_n "(cached) " >&6 3508 else 3509 ac_cv_prog_cc_c89=no 3510 ac_save_CC=$CC 3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3512 /* end confdefs.h. */ 3513 #include <stdarg.h> 3514 #include <stdio.h> 3515 struct stat; 3516 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3517 struct buf { int x; }; 3518 FILE * (*rcsopen) (struct buf *, struct stat *, int); 3519 static char *e (p, i) 3520 char **p; 3521 int i; 3522 { 3523 return p[i]; 3524 } 3525 static char *f (char * (*g) (char **, int), char **p, ...) 3526 { 3527 char *s; 3528 va_list v; 3529 va_start (v,p); 3530 s = g (p, va_arg (v,int)); 3531 va_end (v); 3532 return s; 3533 } 3534 3535 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3536 function prototypes and stuff, but not '\xHH' hex character constants. 3537 These don't provoke an error unfortunately, instead are silently treated 3538 as 'x'. The following induces an error, until -std is added to get 3539 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3540 array size at least. It's necessary to write '\x00'==0 to get something 3541 that's true only with -std. */ 3542 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3543 3544 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3545 inside strings and character constants. */ 3546 #define FOO(x) 'x' 3547 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3548 3549 int test (int i, double x); 3550 struct s1 {int (*f) (int a);}; 3551 struct s2 {int (*f) (double a);}; 3552 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3553 int argc; 3554 char **argv; 3555 int 3556 main () 3557 { 3558 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3559 ; 3560 return 0; 3561 } 3562 _ACEOF 3563 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3564 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3565 do 3566 CC="$ac_save_CC $ac_arg" 3567 if ac_fn_c_try_compile "$LINENO"; then : 3568 ac_cv_prog_cc_c89=$ac_arg 3569 fi 3570 rm -f core conftest.err conftest.$ac_objext 3571 test "x$ac_cv_prog_cc_c89" != "xno" && break 3572 done 3573 rm -f conftest.$ac_ext 3574 CC=$ac_save_CC 3575 3576 fi 3577 # AC_CACHE_VAL 3578 case "x$ac_cv_prog_cc_c89" in 3579 x) 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3581 $as_echo "none needed" >&6; } ;; 3582 xno) 3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3584 $as_echo "unsupported" >&6; } ;; 3585 *) 3586 CC="$CC $ac_cv_prog_cc_c89" 3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3588 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3589 esac 3590 if test "x$ac_cv_prog_cc_c89" != xno; then : 3591 3592 fi 3593 3594 ac_ext=c 3595 ac_cpp='$CPP $CPPFLAGS' 3596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3598 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3599 DEPDIR="${am__leading_dot}deps" 3600 3601 ac_config_commands="$ac_config_commands depfiles" 3602 3603 3604 am_make=${MAKE-make} 3605 cat > confinc << 'END' 3606 am__doit: 3607 @echo this is the am__doit target 3608 .PHONY: am__doit 3609 END 3610 # If we don't find an include directive, just comment out the code. 3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3612 $as_echo_n "checking for style of include used by $am_make... " >&6; } 3613 am__include="#" 3614 am__quote= 3615 _am_result=none 3616 # First try GNU make style include. 3617 echo "include confinc" > confmf 3618 # Ignore all kinds of additional output from 'make'. 3619 case `$am_make -s -f confmf 2> /dev/null` in #( 3620 *the\ am__doit\ target*) 3621 am__include=include 3622 am__quote= 3623 _am_result=GNU 3624 ;; 3625 esac 3626 # Now try BSD make style include. 3627 if test "$am__include" = "#"; then 3628 echo '.include "confinc"' > confmf 3629 case `$am_make -s -f confmf 2> /dev/null` in #( 3630 *the\ am__doit\ target*) 3631 am__include=.include 3632 am__quote="\"" 3633 _am_result=BSD 3634 ;; 3635 esac 3636 fi 3637 3638 3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3640 $as_echo "$_am_result" >&6; } 3641 rm -f confinc confmf 3642 3643 # Check whether --enable-dependency-tracking was given. 3644 if test "${enable_dependency_tracking+set}" = set; then : 3645 enableval=$enable_dependency_tracking; 3646 fi 3647 3648 if test "x$enable_dependency_tracking" != xno; then 3649 am_depcomp="$ac_aux_dir/depcomp" 3650 AMDEPBACKSLASH='\' 3651 am__nodep='_no' 3652 fi 3653 if test "x$enable_dependency_tracking" != xno; then 3654 AMDEP_TRUE= 3655 AMDEP_FALSE='#' 3656 else 3657 AMDEP_TRUE='#' 3658 AMDEP_FALSE= 3659 fi 3660 3661 3662 3663 depcc="$CC" am_compiler_list= 3664 3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3666 $as_echo_n "checking dependency style of $depcc... " >&6; } 3667 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3668 $as_echo_n "(cached) " >&6 3669 else 3670 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3671 # We make a subdir and do the tests there. Otherwise we can end up 3672 # making bogus files that we don't know about and never remove. For 3673 # instance it was reported that on HP-UX the gcc test will end up 3674 # making a dummy file named 'D' -- because '-MD' means "put the output 3675 # in D". 3676 rm -rf conftest.dir 3677 mkdir conftest.dir 3678 # Copy depcomp to subdir because otherwise we won't find it if we're 3679 # using a relative directory. 3680 cp "$am_depcomp" conftest.dir 3681 cd conftest.dir 3682 # We will build objects and dependencies in a subdirectory because 3683 # it helps to detect inapplicable dependency modes. For instance 3684 # both Tru64's cc and ICC support -MD to output dependencies as a 3685 # side effect of compilation, but ICC will put the dependencies in 3686 # the current directory while Tru64 will put them in the object 3687 # directory. 3688 mkdir sub 3689 3690 am_cv_CC_dependencies_compiler_type=none 3691 if test "$am_compiler_list" = ""; then 3692 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3693 fi 3694 am__universal=false 3695 case " $depcc " in #( 3696 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3697 esac 3698 3699 for depmode in $am_compiler_list; do 3700 # Setup a source with many dependencies, because some compilers 3701 # like to wrap large dependency lists on column 80 (with \), and 3702 # we should not choose a depcomp mode which is confused by this. 3703 # 3704 # We need to recreate these files for each test, as the compiler may 3705 # overwrite some of them when testing with obscure command lines. 3706 # This happens at least with the AIX C compiler. 3707 : > sub/conftest.c 3708 for i in 1 2 3 4 5 6; do 3709 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3710 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3711 # Solaris 10 /bin/sh. 3712 echo '/* dummy */' > sub/conftst$i.h 3713 done 3714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3715 3716 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3717 # mode. It turns out that the SunPro C++ compiler does not properly 3718 # handle '-M -o', and we need to detect this. Also, some Intel 3719 # versions had trouble with output in subdirs. 3720 am__obj=sub/conftest.${OBJEXT-o} 3721 am__minus_obj="-o $am__obj" 3722 case $depmode in 3723 gcc) 3724 # This depmode causes a compiler race in universal mode. 3725 test "$am__universal" = false || continue 3726 ;; 3727 nosideeffect) 3728 # After this tag, mechanisms are not by side-effect, so they'll 3729 # only be used when explicitly requested. 3730 if test "x$enable_dependency_tracking" = xyes; then 3731 continue 3732 else 3733 break 3734 fi 3735 ;; 3736 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3737 # This compiler won't grok '-c -o', but also, the minuso test has 3738 # not run yet. These depmodes are late enough in the game, and 3739 # so weak that their functioning should not be impacted. 3740 am__obj=conftest.${OBJEXT-o} 3741 am__minus_obj= 3742 ;; 3743 none) break ;; 3744 esac 3745 if depmode=$depmode \ 3746 source=sub/conftest.c object=$am__obj \ 3747 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3748 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3749 >/dev/null 2>conftest.err && 3750 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3751 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3752 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3753 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3754 # icc doesn't choke on unknown options, it will just issue warnings 3755 # or remarks (even with -Werror). So we grep stderr for any message 3756 # that says an option was ignored or not supported. 3757 # When given -MP, icc 7.0 and 7.1 complain thusly: 3758 # icc: Command line warning: ignoring option '-M'; no argument required 3759 # The diagnosis changed in icc 8.0: 3760 # icc: Command line remark: option '-MP' not supported 3761 if (grep 'ignoring option' conftest.err || 3762 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3763 am_cv_CC_dependencies_compiler_type=$depmode 3764 break 3765 fi 3766 fi 3767 done 3768 3769 cd .. 3770 rm -rf conftest.dir 3771 else 3772 am_cv_CC_dependencies_compiler_type=none 3773 fi 3774 3775 fi 3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3777 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3778 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3779 3780 if 3781 test "x$enable_dependency_tracking" != xno \ 3782 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3783 am__fastdepCC_TRUE= 3784 am__fastdepCC_FALSE='#' 3785 else 3786 am__fastdepCC_TRUE='#' 3787 am__fastdepCC_FALSE= 3788 fi 3789 3790 3791 ac_ext=cpp 3792 ac_cpp='$CXXCPP $CPPFLAGS' 3793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3796 if test -z "$CXX"; then 3797 if test -n "$CCC"; then 3798 CXX=$CCC 3799 else 3800 if test -n "$ac_tool_prefix"; then 3801 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3802 do 3803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3806 $as_echo_n "checking for $ac_word... " >&6; } 3807 if ${ac_cv_prog_CXX+:} false; then : 3808 $as_echo_n "(cached) " >&6 3809 else 3810 if test -n "$CXX"; then 3811 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3812 else 3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3814 for as_dir in $PATH 3815 do 3816 IFS=$as_save_IFS 3817 test -z "$as_dir" && as_dir=. 3818 for ac_exec_ext in '' $ac_executable_extensions; do 3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3820 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3822 break 2 3823 fi 3824 done 3825 done 3826 IFS=$as_save_IFS 3827 3828 fi 3829 fi 3830 CXX=$ac_cv_prog_CXX 3831 if test -n "$CXX"; then 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3833 $as_echo "$CXX" >&6; } 3834 else 3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3836 $as_echo "no" >&6; } 3837 fi 3838 3839 3840 test -n "$CXX" && break 3841 done 3842 fi 3843 if test -z "$CXX"; then 3844 ac_ct_CXX=$CXX 3845 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3846 do 3847 # Extract the first word of "$ac_prog", so it can be a program name with args. 3848 set dummy $ac_prog; ac_word=$2 3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3850 $as_echo_n "checking for $ac_word... " >&6; } 3851 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3852 $as_echo_n "(cached) " >&6 3853 else 3854 if test -n "$ac_ct_CXX"; then 3855 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3856 else 3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3858 for as_dir in $PATH 3859 do 3860 IFS=$as_save_IFS 3861 test -z "$as_dir" && as_dir=. 3862 for ac_exec_ext in '' $ac_executable_extensions; do 3863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3864 ac_cv_prog_ac_ct_CXX="$ac_prog" 3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3866 break 2 3867 fi 3868 done 3869 done 3870 IFS=$as_save_IFS 3871 3872 fi 3873 fi 3874 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3875 if test -n "$ac_ct_CXX"; then 3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3877 $as_echo "$ac_ct_CXX" >&6; } 3878 else 3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3880 $as_echo "no" >&6; } 3881 fi 3882 3883 3884 test -n "$ac_ct_CXX" && break 3885 done 3886 3887 if test "x$ac_ct_CXX" = x; then 3888 CXX="g++" 3889 else 3890 case $cross_compiling:$ac_tool_warned in 3891 yes:) 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3894 ac_tool_warned=yes ;; 3895 esac 3896 CXX=$ac_ct_CXX 3897 fi 3898 fi 3899 3900 fi 3901 fi 3902 # Provide some information about the compiler. 3903 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3904 set X $ac_compile 3905 ac_compiler=$2 3906 for ac_option in --version -v -V -qversion; do 3907 { { ac_try="$ac_compiler $ac_option >&5" 3908 case "(($ac_try" in 3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3910 *) ac_try_echo=$ac_try;; 3911 esac 3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3913 $as_echo "$ac_try_echo"; } >&5 3914 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3915 ac_status=$? 3916 if test -s conftest.err; then 3917 sed '10a\ 3918 ... rest of stderr output deleted ... 3919 10q' conftest.err >conftest.er1 3920 cat conftest.er1 >&5 3921 fi 3922 rm -f conftest.er1 conftest.err 3923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3924 test $ac_status = 0; } 3925 done 3926 3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3928 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3929 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3930 $as_echo_n "(cached) " >&6 3931 else 3932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3933 /* end confdefs.h. */ 3934 3935 int 3936 main () 3937 { 3938 #ifndef __GNUC__ 3939 choke me 3940 #endif 3941 3942 ; 3943 return 0; 3944 } 3945 _ACEOF 3946 if ac_fn_cxx_try_compile "$LINENO"; then : 3947 ac_compiler_gnu=yes 3948 else 3949 ac_compiler_gnu=no 3950 fi 3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3952 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3953 3954 fi 3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3956 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3957 if test $ac_compiler_gnu = yes; then 3958 GXX=yes 3959 else 3960 GXX= 3961 fi 3962 ac_test_CXXFLAGS=${CXXFLAGS+set} 3963 ac_save_CXXFLAGS=$CXXFLAGS 3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3965 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3966 if ${ac_cv_prog_cxx_g+:} false; then : 3967 $as_echo_n "(cached) " >&6 3968 else 3969 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3970 ac_cxx_werror_flag=yes 3971 ac_cv_prog_cxx_g=no 3972 CXXFLAGS="-g" 3973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3974 /* end confdefs.h. */ 3975 3976 int 3977 main () 3978 { 3979 3980 ; 3981 return 0; 3982 } 3983 _ACEOF 3984 if ac_fn_cxx_try_compile "$LINENO"; then : 3985 ac_cv_prog_cxx_g=yes 3986 else 3987 CXXFLAGS="" 3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3989 /* end confdefs.h. */ 3990 3991 int 3992 main () 3993 { 3994 3995 ; 3996 return 0; 3997 } 3998 _ACEOF 3999 if ac_fn_cxx_try_compile "$LINENO"; then : 4000 4001 else 4002 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4003 CXXFLAGS="-g" 4004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4005 /* end confdefs.h. */ 4006 4007 int 4008 main () 4009 { 4010 4011 ; 4012 return 0; 4013 } 4014 _ACEOF 4015 if ac_fn_cxx_try_compile "$LINENO"; then : 4016 ac_cv_prog_cxx_g=yes 4017 fi 4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4019 fi 4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4021 fi 4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4023 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 4024 fi 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 4026 $as_echo "$ac_cv_prog_cxx_g" >&6; } 4027 if test "$ac_test_CXXFLAGS" = set; then 4028 CXXFLAGS=$ac_save_CXXFLAGS 4029 elif test $ac_cv_prog_cxx_g = yes; then 4030 if test "$GXX" = yes; then 4031 CXXFLAGS="-g -O2" 4032 else 4033 CXXFLAGS="-g" 4034 fi 4035 else 4036 if test "$GXX" = yes; then 4037 CXXFLAGS="-O2" 4038 else 4039 CXXFLAGS= 4040 fi 4041 fi 4042 ac_ext=c 4043 ac_cpp='$CPP $CPPFLAGS' 4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4047 4048 depcc="$CXX" am_compiler_list= 4049 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4051 $as_echo_n "checking dependency style of $depcc... " >&6; } 4052 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 4053 $as_echo_n "(cached) " >&6 4054 else 4055 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4056 # We make a subdir and do the tests there. Otherwise we can end up 4057 # making bogus files that we don't know about and never remove. For 4058 # instance it was reported that on HP-UX the gcc test will end up 4059 # making a dummy file named 'D' -- because '-MD' means "put the output 4060 # in D". 4061 rm -rf conftest.dir 4062 mkdir conftest.dir 4063 # Copy depcomp to subdir because otherwise we won't find it if we're 4064 # using a relative directory. 4065 cp "$am_depcomp" conftest.dir 4066 cd conftest.dir 4067 # We will build objects and dependencies in a subdirectory because 4068 # it helps to detect inapplicable dependency modes. For instance 4069 # both Tru64's cc and ICC support -MD to output dependencies as a 4070 # side effect of compilation, but ICC will put the dependencies in 4071 # the current directory while Tru64 will put them in the object 4072 # directory. 4073 mkdir sub 4074 4075 am_cv_CXX_dependencies_compiler_type=none 4076 if test "$am_compiler_list" = ""; then 4077 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4078 fi 4079 am__universal=false 4080 case " $depcc " in #( 4081 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4082 esac 4083 4084 for depmode in $am_compiler_list; do 4085 # Setup a source with many dependencies, because some compilers 4086 # like to wrap large dependency lists on column 80 (with \), and 4087 # we should not choose a depcomp mode which is confused by this. 4088 # 4089 # We need to recreate these files for each test, as the compiler may 4090 # overwrite some of them when testing with obscure command lines. 4091 # This happens at least with the AIX C compiler. 4092 : > sub/conftest.c 4093 for i in 1 2 3 4 5 6; do 4094 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4095 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4096 # Solaris 10 /bin/sh. 4097 echo '/* dummy */' > sub/conftst$i.h 4098 done 4099 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4100 4101 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4102 # mode. It turns out that the SunPro C++ compiler does not properly 4103 # handle '-M -o', and we need to detect this. Also, some Intel 4104 # versions had trouble with output in subdirs. 4105 am__obj=sub/conftest.${OBJEXT-o} 4106 am__minus_obj="-o $am__obj" 4107 case $depmode in 4108 gcc) 4109 # This depmode causes a compiler race in universal mode. 4110 test "$am__universal" = false || continue 4111 ;; 4112 nosideeffect) 4113 # After this tag, mechanisms are not by side-effect, so they'll 4114 # only be used when explicitly requested. 4115 if test "x$enable_dependency_tracking" = xyes; then 4116 continue 4117 else 4118 break 4119 fi 4120 ;; 4121 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4122 # This compiler won't grok '-c -o', but also, the minuso test has 4123 # not run yet. These depmodes are late enough in the game, and 4124 # so weak that their functioning should not be impacted. 4125 am__obj=conftest.${OBJEXT-o} 4126 am__minus_obj= 4127 ;; 4128 none) break ;; 4129 esac 4130 if depmode=$depmode \ 4131 source=sub/conftest.c object=$am__obj \ 4132 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4133 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4134 >/dev/null 2>conftest.err && 4135 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4136 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4137 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4138 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4139 # icc doesn't choke on unknown options, it will just issue warnings 4140 # or remarks (even with -Werror). So we grep stderr for any message 4141 # that says an option was ignored or not supported. 4142 # When given -MP, icc 7.0 and 7.1 complain thusly: 4143 # icc: Command line warning: ignoring option '-M'; no argument required 4144 # The diagnosis changed in icc 8.0: 4145 # icc: Command line remark: option '-MP' not supported 4146 if (grep 'ignoring option' conftest.err || 4147 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4148 am_cv_CXX_dependencies_compiler_type=$depmode 4149 break 4150 fi 4151 fi 4152 done 4153 4154 cd .. 4155 rm -rf conftest.dir 4156 else 4157 am_cv_CXX_dependencies_compiler_type=none 4158 fi 4159 4160 fi 4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4162 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4163 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4164 4165 if 4166 test "x$enable_dependency_tracking" != xno \ 4167 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4168 am__fastdepCXX_TRUE= 4169 am__fastdepCXX_FALSE='#' 4170 else 4171 am__fastdepCXX_TRUE='#' 4172 am__fastdepCXX_FALSE= 4173 fi 4174 4175 4176 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4178 $as_echo_n "checking whether ln -s works... " >&6; } 4179 LN_S=$as_ln_s 4180 if test "$LN_S" = "ln -s"; then 4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4182 $as_echo "yes" >&6; } 4183 else 4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4185 $as_echo "no, using $LN_S" >&6; } 4186 fi 4187 4188 case `pwd` in 4189 *\ * | *\ *) 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4191 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4192 esac 4193 4194 4195 4196 macro_version='2.4.2' 4197 macro_revision='1.3337' 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 ltmain="$ac_aux_dir/ltmain.sh" 4212 4213 # Make sure we can run config.sub. 4214 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4215 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4216 4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4218 $as_echo_n "checking build system type... " >&6; } 4219 if ${ac_cv_build+:} false; then : 4220 $as_echo_n "(cached) " >&6 4221 else 4222 ac_build_alias=$build_alias 4223 test "x$ac_build_alias" = x && 4224 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4225 test "x$ac_build_alias" = x && 4226 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4227 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4228 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4229 4230 fi 4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4232 $as_echo "$ac_cv_build" >&6; } 4233 case $ac_cv_build in 4234 *-*-*) ;; 4235 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4236 esac 4237 build=$ac_cv_build 4238 ac_save_IFS=$IFS; IFS='-' 4239 set x $ac_cv_build 4240 shift 4241 build_cpu=$1 4242 build_vendor=$2 4243 shift; shift 4244 # Remember, the first character of IFS is used to create $*, 4245 # except with old shells: 4246 build_os=$* 4247 IFS=$ac_save_IFS 4248 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4249 4250 4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4252 $as_echo_n "checking host system type... " >&6; } 4253 if ${ac_cv_host+:} false; then : 4254 $as_echo_n "(cached) " >&6 4255 else 4256 if test "x$host_alias" = x; then 4257 ac_cv_host=$ac_cv_build 4258 else 4259 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4260 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4261 fi 4262 4263 fi 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4265 $as_echo "$ac_cv_host" >&6; } 4266 case $ac_cv_host in 4267 *-*-*) ;; 4268 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4269 esac 4270 host=$ac_cv_host 4271 ac_save_IFS=$IFS; IFS='-' 4272 set x $ac_cv_host 4273 shift 4274 host_cpu=$1 4275 host_vendor=$2 4276 shift; shift 4277 # Remember, the first character of IFS is used to create $*, 4278 # except with old shells: 4279 host_os=$* 4280 IFS=$ac_save_IFS 4281 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4282 4283 4284 # Backslashify metacharacters that are still active within 4285 # double-quoted strings. 4286 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4287 4288 # Same as above, but do not quote variable references. 4289 double_quote_subst='s/\(["`\\]\)/\\\1/g' 4290 4291 # Sed substitution to delay expansion of an escaped shell variable in a 4292 # double_quote_subst'ed string. 4293 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4294 4295 # Sed substitution to delay expansion of an escaped single quote. 4296 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4297 4298 # Sed substitution to avoid accidental globbing in evaled expressions 4299 no_glob_subst='s/\*/\\\*/g' 4300 4301 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4302 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4303 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4304 4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4306 $as_echo_n "checking how to print strings... " >&6; } 4307 # Test print first, because it will be a builtin if present. 4308 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4309 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4310 ECHO='print -r --' 4311 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4312 ECHO='printf %s\n' 4313 else 4314 # Use this function as a fallback that always works. 4315 func_fallback_echo () 4316 { 4317 eval 'cat <<_LTECHO_EOF 4318 $1 4319 _LTECHO_EOF' 4320 } 4321 ECHO='func_fallback_echo' 4322 fi 4323 4324 # func_echo_all arg... 4325 # Invoke $ECHO with all args, space-separated. 4326 func_echo_all () 4327 { 4328 $ECHO "" 4329 } 4330 4331 case "$ECHO" in 4332 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4333 $as_echo "printf" >&6; } ;; 4334 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4335 $as_echo "print -r" >&6; } ;; 4336 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4337 $as_echo "cat" >&6; } ;; 4338 esac 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4354 $as_echo_n "checking for a sed that does not truncate output... " >&6; } 4355 if ${ac_cv_path_SED+:} false; then : 4356 $as_echo_n "(cached) " >&6 4357 else 4358 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4359 for ac_i in 1 2 3 4 5 6 7; do 4360 ac_script="$ac_script$as_nl$ac_script" 4361 done 4362 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4363 { ac_script=; unset ac_script;} 4364 if test -z "$SED"; then 4365 ac_path_SED_found=false 4366 # Loop through the user's path and test for each of PROGNAME-LIST 4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4368 for as_dir in $PATH 4369 do 4370 IFS=$as_save_IFS 4371 test -z "$as_dir" && as_dir=. 4372 for ac_prog in sed gsed; do 4373 for ac_exec_ext in '' $ac_executable_extensions; do 4374 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4375 as_fn_executable_p "$ac_path_SED" || continue 4376 # Check for GNU ac_path_SED and select it if it is found. 4377 # Check for GNU $ac_path_SED 4378 case `"$ac_path_SED" --version 2>&1` in 4379 *GNU*) 4380 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4381 *) 4382 ac_count=0 4383 $as_echo_n 0123456789 >"conftest.in" 4384 while : 4385 do 4386 cat "conftest.in" "conftest.in" >"conftest.tmp" 4387 mv "conftest.tmp" "conftest.in" 4388 cp "conftest.in" "conftest.nl" 4389 $as_echo '' >> "conftest.nl" 4390 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4391 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4392 as_fn_arith $ac_count + 1 && ac_count=$as_val 4393 if test $ac_count -gt ${ac_path_SED_max-0}; then 4394 # Best one so far, save it but keep looking for a better one 4395 ac_cv_path_SED="$ac_path_SED" 4396 ac_path_SED_max=$ac_count 4397 fi 4398 # 10*(2^10) chars as input seems more than enough 4399 test $ac_count -gt 10 && break 4400 done 4401 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4402 esac 4403 4404 $ac_path_SED_found && break 3 4405 done 4406 done 4407 done 4408 IFS=$as_save_IFS 4409 if test -z "$ac_cv_path_SED"; then 4410 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4411 fi 4412 else 4413 ac_cv_path_SED=$SED 4414 fi 4415 4416 fi 4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4418 $as_echo "$ac_cv_path_SED" >&6; } 4419 SED="$ac_cv_path_SED" 4420 rm -f conftest.sed 4421 4422 test -z "$SED" && SED=sed 4423 Xsed="$SED -e 1s/^X//" 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4437 if ${ac_cv_path_GREP+:} false; then : 4438 $as_echo_n "(cached) " >&6 4439 else 4440 if test -z "$GREP"; then 4441 ac_path_GREP_found=false 4442 # Loop through the user's path and test for each of PROGNAME-LIST 4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4445 do 4446 IFS=$as_save_IFS 4447 test -z "$as_dir" && as_dir=. 4448 for ac_prog in grep ggrep; do 4449 for ac_exec_ext in '' $ac_executable_extensions; do 4450 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4451 as_fn_executable_p "$ac_path_GREP" || continue 4452 # Check for GNU ac_path_GREP and select it if it is found. 4453 # Check for GNU $ac_path_GREP 4454 case `"$ac_path_GREP" --version 2>&1` in 4455 *GNU*) 4456 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4457 *) 4458 ac_count=0 4459 $as_echo_n 0123456789 >"conftest.in" 4460 while : 4461 do 4462 cat "conftest.in" "conftest.in" >"conftest.tmp" 4463 mv "conftest.tmp" "conftest.in" 4464 cp "conftest.in" "conftest.nl" 4465 $as_echo 'GREP' >> "conftest.nl" 4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4468 as_fn_arith $ac_count + 1 && ac_count=$as_val 4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4470 # Best one so far, save it but keep looking for a better one 4471 ac_cv_path_GREP="$ac_path_GREP" 4472 ac_path_GREP_max=$ac_count 4473 fi 4474 # 10*(2^10) chars as input seems more than enough 4475 test $ac_count -gt 10 && break 4476 done 4477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4478 esac 4479 4480 $ac_path_GREP_found && break 3 4481 done 4482 done 4483 done 4484 IFS=$as_save_IFS 4485 if test -z "$ac_cv_path_GREP"; then 4486 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4487 fi 4488 else 4489 ac_cv_path_GREP=$GREP 4490 fi 4491 4492 fi 4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4494 $as_echo "$ac_cv_path_GREP" >&6; } 4495 GREP="$ac_cv_path_GREP" 4496 4497 4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4499 $as_echo_n "checking for egrep... " >&6; } 4500 if ${ac_cv_path_EGREP+:} false; then : 4501 $as_echo_n "(cached) " >&6 4502 else 4503 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4504 then ac_cv_path_EGREP="$GREP -E" 4505 else 4506 if test -z "$EGREP"; then 4507 ac_path_EGREP_found=false 4508 # Loop through the user's path and test for each of PROGNAME-LIST 4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4510 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4511 do 4512 IFS=$as_save_IFS 4513 test -z "$as_dir" && as_dir=. 4514 for ac_prog in egrep; do 4515 for ac_exec_ext in '' $ac_executable_extensions; do 4516 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4517 as_fn_executable_p "$ac_path_EGREP" || continue 4518 # Check for GNU ac_path_EGREP and select it if it is found. 4519 # Check for GNU $ac_path_EGREP 4520 case `"$ac_path_EGREP" --version 2>&1` in 4521 *GNU*) 4522 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4523 *) 4524 ac_count=0 4525 $as_echo_n 0123456789 >"conftest.in" 4526 while : 4527 do 4528 cat "conftest.in" "conftest.in" >"conftest.tmp" 4529 mv "conftest.tmp" "conftest.in" 4530 cp "conftest.in" "conftest.nl" 4531 $as_echo 'EGREP' >> "conftest.nl" 4532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4533 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4534 as_fn_arith $ac_count + 1 && ac_count=$as_val 4535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4536 # Best one so far, save it but keep looking for a better one 4537 ac_cv_path_EGREP="$ac_path_EGREP" 4538 ac_path_EGREP_max=$ac_count 4539 fi 4540 # 10*(2^10) chars as input seems more than enough 4541 test $ac_count -gt 10 && break 4542 done 4543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4544 esac 4545 4546 $ac_path_EGREP_found && break 3 4547 done 4548 done 4549 done 4550 IFS=$as_save_IFS 4551 if test -z "$ac_cv_path_EGREP"; then 4552 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4553 fi 4554 else 4555 ac_cv_path_EGREP=$EGREP 4556 fi 4557 4558 fi 4559 fi 4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4561 $as_echo "$ac_cv_path_EGREP" >&6; } 4562 EGREP="$ac_cv_path_EGREP" 4563 4564 4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4566 $as_echo_n "checking for fgrep... " >&6; } 4567 if ${ac_cv_path_FGREP+:} false; then : 4568 $as_echo_n "(cached) " >&6 4569 else 4570 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4571 then ac_cv_path_FGREP="$GREP -F" 4572 else 4573 if test -z "$FGREP"; then 4574 ac_path_FGREP_found=false 4575 # Loop through the user's path and test for each of PROGNAME-LIST 4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4577 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4578 do 4579 IFS=$as_save_IFS 4580 test -z "$as_dir" && as_dir=. 4581 for ac_prog in fgrep; do 4582 for ac_exec_ext in '' $ac_executable_extensions; do 4583 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4584 as_fn_executable_p "$ac_path_FGREP" || continue 4585 # Check for GNU ac_path_FGREP and select it if it is found. 4586 # Check for GNU $ac_path_FGREP 4587 case `"$ac_path_FGREP" --version 2>&1` in 4588 *GNU*) 4589 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4590 *) 4591 ac_count=0 4592 $as_echo_n 0123456789 >"conftest.in" 4593 while : 4594 do 4595 cat "conftest.in" "conftest.in" >"conftest.tmp" 4596 mv "conftest.tmp" "conftest.in" 4597 cp "conftest.in" "conftest.nl" 4598 $as_echo 'FGREP' >> "conftest.nl" 4599 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4600 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4601 as_fn_arith $ac_count + 1 && ac_count=$as_val 4602 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4603 # Best one so far, save it but keep looking for a better one 4604 ac_cv_path_FGREP="$ac_path_FGREP" 4605 ac_path_FGREP_max=$ac_count 4606 fi 4607 # 10*(2^10) chars as input seems more than enough 4608 test $ac_count -gt 10 && break 4609 done 4610 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4611 esac 4612 4613 $ac_path_FGREP_found && break 3 4614 done 4615 done 4616 done 4617 IFS=$as_save_IFS 4618 if test -z "$ac_cv_path_FGREP"; then 4619 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4620 fi 4621 else 4622 ac_cv_path_FGREP=$FGREP 4623 fi 4624 4625 fi 4626 fi 4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4628 $as_echo "$ac_cv_path_FGREP" >&6; } 4629 FGREP="$ac_cv_path_FGREP" 4630 4631 4632 test -z "$GREP" && GREP=grep 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 # Check whether --with-gnu-ld was given. 4653 if test "${with_gnu_ld+set}" = set; then : 4654 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4655 else 4656 with_gnu_ld=no 4657 fi 4658 4659 ac_prog=ld 4660 if test "$GCC" = yes; then 4661 # Check if gcc -print-prog-name=ld gives a path. 4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4663 $as_echo_n "checking for ld used by $CC... " >&6; } 4664 case $host in 4665 *-*-mingw*) 4666 # gcc leaves a trailing carriage return which upsets mingw 4667 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4668 *) 4669 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4670 esac 4671 case $ac_prog in 4672 # Accept absolute paths. 4673 [\\/]* | ?:[\\/]*) 4674 re_direlt='/[^/][^/]*/\.\./' 4675 # Canonicalize the pathname of ld 4676 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4677 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4678 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4679 done 4680 test -z "$LD" && LD="$ac_prog" 4681 ;; 4682 "") 4683 # If it fails, then pretend we aren't using GCC. 4684 ac_prog=ld 4685 ;; 4686 *) 4687 # If it is relative, then search for the first ld in PATH. 4688 with_gnu_ld=unknown 4689 ;; 4690 esac 4691 elif test "$with_gnu_ld" = yes; then 4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4693 $as_echo_n "checking for GNU ld... " >&6; } 4694 else 4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4696 $as_echo_n "checking for non-GNU ld... " >&6; } 4697 fi 4698 if ${lt_cv_path_LD+:} false; then : 4699 $as_echo_n "(cached) " >&6 4700 else 4701 if test -z "$LD"; then 4702 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4703 for ac_dir in $PATH; do 4704 IFS="$lt_save_ifs" 4705 test -z "$ac_dir" && ac_dir=. 4706 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4707 lt_cv_path_LD="$ac_dir/$ac_prog" 4708 # Check to see if the program is GNU ld. I'd rather use --version, 4709 # but apparently some variants of GNU ld only accept -v. 4710 # Break only if it was the GNU/non-GNU ld that we prefer. 4711 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4712 *GNU* | *'with BFD'*) 4713 test "$with_gnu_ld" != no && break 4714 ;; 4715 *) 4716 test "$with_gnu_ld" != yes && break 4717 ;; 4718 esac 4719 fi 4720 done 4721 IFS="$lt_save_ifs" 4722 else 4723 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4724 fi 4725 fi 4726 4727 LD="$lt_cv_path_LD" 4728 if test -n "$LD"; then 4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4730 $as_echo "$LD" >&6; } 4731 else 4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4733 $as_echo "no" >&6; } 4734 fi 4735 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4737 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4738 if ${lt_cv_prog_gnu_ld+:} false; then : 4739 $as_echo_n "(cached) " >&6 4740 else 4741 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4742 case `$LD -v 2>&1 </dev/null` in 4743 *GNU* | *'with BFD'*) 4744 lt_cv_prog_gnu_ld=yes 4745 ;; 4746 *) 4747 lt_cv_prog_gnu_ld=no 4748 ;; 4749 esac 4750 fi 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4752 $as_echo "$lt_cv_prog_gnu_ld" >&6; } 4753 with_gnu_ld=$lt_cv_prog_gnu_ld 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4764 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4765 if ${lt_cv_path_NM+:} false; then : 4766 $as_echo_n "(cached) " >&6 4767 else 4768 if test -n "$NM"; then 4769 # Let the user override the test. 4770 lt_cv_path_NM="$NM" 4771 else 4772 lt_nm_to_check="${ac_tool_prefix}nm" 4773 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4774 lt_nm_to_check="$lt_nm_to_check nm" 4775 fi 4776 for lt_tmp_nm in $lt_nm_to_check; do 4777 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4778 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4779 IFS="$lt_save_ifs" 4780 test -z "$ac_dir" && ac_dir=. 4781 tmp_nm="$ac_dir/$lt_tmp_nm" 4782 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4783 # Check to see if the nm accepts a BSD-compat flag. 4784 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4785 # nm: unknown option "B" ignored 4786 # Tru64's nm complains that /dev/null is an invalid object file 4787 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4788 */dev/null* | *'Invalid file or object type'*) 4789 lt_cv_path_NM="$tmp_nm -B" 4790 break 4791 ;; 4792 *) 4793 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4794 */dev/null*) 4795 lt_cv_path_NM="$tmp_nm -p" 4796 break 4797 ;; 4798 *) 4799 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4800 continue # so that we can try to find one that supports BSD flags 4801 ;; 4802 esac 4803 ;; 4804 esac 4805 fi 4806 done 4807 IFS="$lt_save_ifs" 4808 done 4809 : ${lt_cv_path_NM=no} 4810 fi 4811 fi 4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4813 $as_echo "$lt_cv_path_NM" >&6; } 4814 if test "$lt_cv_path_NM" != "no"; then 4815 NM="$lt_cv_path_NM" 4816 else 4817 # Didn't find any BSD compatible name lister, look for dumpbin. 4818 if test -n "$DUMPBIN"; then : 4819 # Let the user override the test. 4820 else 4821 if test -n "$ac_tool_prefix"; then 4822 for ac_prog in dumpbin "link -dump" 4823 do 4824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4827 $as_echo_n "checking for $ac_word... " >&6; } 4828 if ${ac_cv_prog_DUMPBIN+:} false; then : 4829 $as_echo_n "(cached) " >&6 4830 else 4831 if test -n "$DUMPBIN"; then 4832 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4833 else 4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4835 for as_dir in $PATH 4836 do 4837 IFS=$as_save_IFS 4838 test -z "$as_dir" && as_dir=. 4839 for ac_exec_ext in '' $ac_executable_extensions; do 4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4841 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4843 break 2 4844 fi 4845 done 4846 done 4847 IFS=$as_save_IFS 4848 4849 fi 4850 fi 4851 DUMPBIN=$ac_cv_prog_DUMPBIN 4852 if test -n "$DUMPBIN"; then 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4854 $as_echo "$DUMPBIN" >&6; } 4855 else 4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4857 $as_echo "no" >&6; } 4858 fi 4859 4860 4861 test -n "$DUMPBIN" && break 4862 done 4863 fi 4864 if test -z "$DUMPBIN"; then 4865 ac_ct_DUMPBIN=$DUMPBIN 4866 for ac_prog in dumpbin "link -dump" 4867 do 4868 # Extract the first word of "$ac_prog", so it can be a program name with args. 4869 set dummy $ac_prog; ac_word=$2 4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4871 $as_echo_n "checking for $ac_word... " >&6; } 4872 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4873 $as_echo_n "(cached) " >&6 4874 else 4875 if test -n "$ac_ct_DUMPBIN"; then 4876 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4877 else 4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4879 for as_dir in $PATH 4880 do 4881 IFS=$as_save_IFS 4882 test -z "$as_dir" && as_dir=. 4883 for ac_exec_ext in '' $ac_executable_extensions; do 4884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4885 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4887 break 2 4888 fi 4889 done 4890 done 4891 IFS=$as_save_IFS 4892 4893 fi 4894 fi 4895 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4896 if test -n "$ac_ct_DUMPBIN"; then 4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4898 $as_echo "$ac_ct_DUMPBIN" >&6; } 4899 else 4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4901 $as_echo "no" >&6; } 4902 fi 4903 4904 4905 test -n "$ac_ct_DUMPBIN" && break 4906 done 4907 4908 if test "x$ac_ct_DUMPBIN" = x; then 4909 DUMPBIN=":" 4910 else 4911 case $cross_compiling:$ac_tool_warned in 4912 yes:) 4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4915 ac_tool_warned=yes ;; 4916 esac 4917 DUMPBIN=$ac_ct_DUMPBIN 4918 fi 4919 fi 4920 4921 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4922 *COFF*) 4923 DUMPBIN="$DUMPBIN -symbols" 4924 ;; 4925 *) 4926 DUMPBIN=: 4927 ;; 4928 esac 4929 fi 4930 4931 if test "$DUMPBIN" != ":"; then 4932 NM="$DUMPBIN" 4933 fi 4934 fi 4935 test -z "$NM" && NM=nm 4936 4937 4938 4939 4940 4941 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4943 $as_echo_n "checking the name lister ($NM) interface... " >&6; } 4944 if ${lt_cv_nm_interface+:} false; then : 4945 $as_echo_n "(cached) " >&6 4946 else 4947 lt_cv_nm_interface="BSD nm" 4948 echo "int some_variable = 0;" > conftest.$ac_ext 4949 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4950 (eval "$ac_compile" 2>conftest.err) 4951 cat conftest.err >&5 4952 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4953 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4954 cat conftest.err >&5 4955 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4956 cat conftest.out >&5 4957 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4958 lt_cv_nm_interface="MS dumpbin" 4959 fi 4960 rm -f conftest* 4961 fi 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4963 $as_echo "$lt_cv_nm_interface" >&6; } 4964 4965 # find the maximum length of command line arguments 4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4967 $as_echo_n "checking the maximum length of command line arguments... " >&6; } 4968 if ${lt_cv_sys_max_cmd_len+:} false; then : 4969 $as_echo_n "(cached) " >&6 4970 else 4971 i=0 4972 teststring="ABCD" 4973 4974 case $build_os in 4975 msdosdjgpp*) 4976 # On DJGPP, this test can blow up pretty badly due to problems in libc 4977 # (any single argument exceeding 2000 bytes causes a buffer overrun 4978 # during glob expansion). Even if it were fixed, the result of this 4979 # check would be larger than it should be. 4980 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4981 ;; 4982 4983 gnu*) 4984 # Under GNU Hurd, this test is not required because there is 4985 # no limit to the length of command line arguments. 4986 # Libtool will interpret -1 as no limit whatsoever 4987 lt_cv_sys_max_cmd_len=-1; 4988 ;; 4989 4990 cygwin* | mingw* | cegcc*) 4991 # On Win9x/ME, this test blows up -- it succeeds, but takes 4992 # about 5 minutes as the teststring grows exponentially. 4993 # Worse, since 9x/ME are not pre-emptively multitasking, 4994 # you end up with a "frozen" computer, even though with patience 4995 # the test eventually succeeds (with a max line length of 256k). 4996 # Instead, let's just punt: use the minimum linelength reported by 4997 # all of the supported platforms: 8192 (on NT/2K/XP). 4998 lt_cv_sys_max_cmd_len=8192; 4999 ;; 5000 5001 mint*) 5002 # On MiNT this can take a long time and run out of memory. 5003 lt_cv_sys_max_cmd_len=8192; 5004 ;; 5005 5006 amigaos*) 5007 # On AmigaOS with pdksh, this test takes hours, literally. 5008 # So we just punt and use a minimum line length of 8192. 5009 lt_cv_sys_max_cmd_len=8192; 5010 ;; 5011 5012 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5013 # This has been around since 386BSD, at least. Likely further. 5014 if test -x /sbin/sysctl; then 5015 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5016 elif test -x /usr/sbin/sysctl; then 5017 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5018 else 5019 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5020 fi 5021 # And add a safety zone 5022 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5023 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5024 ;; 5025 5026 interix*) 5027 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5028 lt_cv_sys_max_cmd_len=196608 5029 ;; 5030 5031 os2*) 5032 # The test takes a long time on OS/2. 5033 lt_cv_sys_max_cmd_len=8192 5034 ;; 5035 5036 osf*) 5037 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5038 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5039 # nice to cause kernel panics so lets avoid the loop below. 5040 # First set a reasonable default. 5041 lt_cv_sys_max_cmd_len=16384 5042 # 5043 if test -x /sbin/sysconfig; then 5044 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5045 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5046 esac 5047 fi 5048 ;; 5049 sco3.2v5*) 5050 lt_cv_sys_max_cmd_len=102400 5051 ;; 5052 sysv5* | sco5v6* | sysv4.2uw2*) 5053 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5054 if test -n "$kargmax"; then 5055 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5056 else 5057 lt_cv_sys_max_cmd_len=32768 5058 fi 5059 ;; 5060 *) 5061 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5062 if test -n "$lt_cv_sys_max_cmd_len"; then 5063 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5064 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5065 else 5066 # Make teststring a little bigger before we do anything with it. 5067 # a 1K string should be a reasonable start. 5068 for i in 1 2 3 4 5 6 7 8 ; do 5069 teststring=$teststring$teststring 5070 done 5071 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5072 # If test is not a shell built-in, we'll probably end up computing a 5073 # maximum length that is only half of the actual maximum length, but 5074 # we can't tell. 5075 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5076 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5077 test $i != 17 # 1/2 MB should be enough 5078 do 5079 i=`expr $i + 1` 5080 teststring=$teststring$teststring 5081 done 5082 # Only check the string length outside the loop. 5083 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5084 teststring= 5085 # Add a significant safety factor because C++ compilers can tack on 5086 # massive amounts of additional arguments before passing them to the 5087 # linker. It appears as though 1/2 is a usable value. 5088 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5089 fi 5090 ;; 5091 esac 5092 5093 fi 5094 5095 if test -n $lt_cv_sys_max_cmd_len ; then 5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5097 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5098 else 5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5100 $as_echo "none" >&6; } 5101 fi 5102 max_cmd_len=$lt_cv_sys_max_cmd_len 5103 5104 5105 5106 5107 5108 5109 : ${CP="cp -f"} 5110 : ${MV="mv -f"} 5111 : ${RM="rm -f"} 5112 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5114 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5115 # Try some XSI features 5116 xsi_shell=no 5117 ( _lt_dummy="a/b/c" 5118 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5119 = c,a/b,b/c, \ 5120 && eval 'test $(( 1 + 1 )) -eq 2 \ 5121 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5122 && xsi_shell=yes 5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5124 $as_echo "$xsi_shell" >&6; } 5125 5126 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5128 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5129 lt_shell_append=no 5130 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5131 >/dev/null 2>&1 \ 5132 && lt_shell_append=yes 5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5134 $as_echo "$lt_shell_append" >&6; } 5135 5136 5137 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5138 lt_unset=unset 5139 else 5140 lt_unset=false 5141 fi 5142 5143 5144 5145 5146 5147 # test EBCDIC or ASCII 5148 case `echo X|tr X '\101'` in 5149 A) # ASCII based system 5150 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5151 lt_SP2NL='tr \040 \012' 5152 lt_NL2SP='tr \015\012 \040\040' 5153 ;; 5154 *) # EBCDIC based system 5155 lt_SP2NL='tr \100 \n' 5156 lt_NL2SP='tr \r\n \100\100' 5157 ;; 5158 esac 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5169 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5170 if ${lt_cv_to_host_file_cmd+:} false; then : 5171 $as_echo_n "(cached) " >&6 5172 else 5173 case $host in 5174 *-*-mingw* ) 5175 case $build in 5176 *-*-mingw* ) # actually msys 5177 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5178 ;; 5179 *-*-cygwin* ) 5180 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5181 ;; 5182 * ) # otherwise, assume *nix 5183 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5184 ;; 5185 esac 5186 ;; 5187 *-*-cygwin* ) 5188 case $build in 5189 *-*-mingw* ) # actually msys 5190 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5191 ;; 5192 *-*-cygwin* ) 5193 lt_cv_to_host_file_cmd=func_convert_file_noop 5194 ;; 5195 * ) # otherwise, assume *nix 5196 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5197 ;; 5198 esac 5199 ;; 5200 * ) # unhandled hosts (and "normal" native builds) 5201 lt_cv_to_host_file_cmd=func_convert_file_noop 5202 ;; 5203 esac 5204 5205 fi 5206 5207 to_host_file_cmd=$lt_cv_to_host_file_cmd 5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5209 $as_echo "$lt_cv_to_host_file_cmd" >&6; } 5210 5211 5212 5213 5214 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5216 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5217 if ${lt_cv_to_tool_file_cmd+:} false; then : 5218 $as_echo_n "(cached) " >&6 5219 else 5220 #assume ordinary cross tools, or native build. 5221 lt_cv_to_tool_file_cmd=func_convert_file_noop 5222 case $host in 5223 *-*-mingw* ) 5224 case $build in 5225 *-*-mingw* ) # actually msys 5226 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5227 ;; 5228 esac 5229 ;; 5230 esac 5231 5232 fi 5233 5234 to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5236 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5237 5238 5239 5240 5241 5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5243 $as_echo_n "checking for $LD option to reload object files... " >&6; } 5244 if ${lt_cv_ld_reload_flag+:} false; then : 5245 $as_echo_n "(cached) " >&6 5246 else 5247 lt_cv_ld_reload_flag='-r' 5248 fi 5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5250 $as_echo "$lt_cv_ld_reload_flag" >&6; } 5251 reload_flag=$lt_cv_ld_reload_flag 5252 case $reload_flag in 5253 "" | " "*) ;; 5254 *) reload_flag=" $reload_flag" ;; 5255 esac 5256 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5257 case $host_os in 5258 cygwin* | mingw* | pw32* | cegcc*) 5259 if test "$GCC" != yes; then 5260 reload_cmds=false 5261 fi 5262 ;; 5263 darwin*) 5264 if test "$GCC" = yes; then 5265 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5266 else 5267 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5268 fi 5269 ;; 5270 esac 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 if test -n "$ac_tool_prefix"; then 5281 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5282 set dummy ${ac_tool_prefix}objdump; ac_word=$2 5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5284 $as_echo_n "checking for $ac_word... " >&6; } 5285 if ${ac_cv_prog_OBJDUMP+:} false; then : 5286 $as_echo_n "(cached) " >&6 5287 else 5288 if test -n "$OBJDUMP"; then 5289 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5290 else 5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5292 for as_dir in $PATH 5293 do 5294 IFS=$as_save_IFS 5295 test -z "$as_dir" && as_dir=. 5296 for ac_exec_ext in '' $ac_executable_extensions; do 5297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5298 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5300 break 2 5301 fi 5302 done 5303 done 5304 IFS=$as_save_IFS 5305 5306 fi 5307 fi 5308 OBJDUMP=$ac_cv_prog_OBJDUMP 5309 if test -n "$OBJDUMP"; then 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5311 $as_echo "$OBJDUMP" >&6; } 5312 else 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5314 $as_echo "no" >&6; } 5315 fi 5316 5317 5318 fi 5319 if test -z "$ac_cv_prog_OBJDUMP"; then 5320 ac_ct_OBJDUMP=$OBJDUMP 5321 # Extract the first word of "objdump", so it can be a program name with args. 5322 set dummy objdump; ac_word=$2 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5324 $as_echo_n "checking for $ac_word... " >&6; } 5325 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5326 $as_echo_n "(cached) " >&6 5327 else 5328 if test -n "$ac_ct_OBJDUMP"; then 5329 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5330 else 5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5332 for as_dir in $PATH 5333 do 5334 IFS=$as_save_IFS 5335 test -z "$as_dir" && as_dir=. 5336 for ac_exec_ext in '' $ac_executable_extensions; do 5337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext