1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.63. 4@%:@ 5@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 7@%:@ This configure script is free software; the Free Software Foundation 8@%:@ gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be more Bourne compatible 14DUALCASE=1; export DUALCASE # for MKS sh 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25esac 26 27fi 28 29 30 31 32# PATH needs CR 33# Avoid depending upon Character Ranges. 34as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37as_cr_digits='0123456789' 38as_cr_alnum=$as_cr_Letters$as_cr_digits 39 40as_nl=' 41' 42export as_nl 43# Printing a long string crashes Solaris 7 /usr/bin/printf. 44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47if (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' 50else 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' 70fi 71 72# The user is always right. 73if 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 } 79fi 80 81# Support unset when possible. 82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 83 as_unset=unset 84else 85 as_unset=false 86fi 87 88 89# IFS 90# We need space, tab and new line, in precisely that order. Quoting is 91# there to prevent editors from complaining about space-tab. 92# (If _AS_PATH_WALK were called with IFS unset, it would disable word 93# splitting by setting IFS to empty value.) 94IFS=" "" $as_nl" 95 96# Find who we are. Look in the path if we contain no directory separator. 97case $0 in 98 *[\\/]* ) as_myself=$0 ;; 99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 100for as_dir in $PATH 101do 102 IFS=$as_save_IFS 103 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 105done 106IFS=$as_save_IFS 107 108 ;; 109esac 110# We did not find ourselves, most probably we were run as `sh COMMAND' 111# in which case we are not to be found in the path. 112if test "x$as_myself" = x; then 113 as_myself=$0 114fi 115if test ! -f "$as_myself"; then 116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118fi 119 120# Work around bugs in pre-3.0 UWIN ksh. 121for as_var in ENV MAIL MAILPATH 122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# Required to use basename. 135if expr a : '\(a\)' >/dev/null 2>&1 && 136 test "X`expr 00001 : '.*\(...\)'`" = X001; then 137 as_expr=expr 138else 139 as_expr=false 140fi 141 142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 143 as_basename=basename 144else 145 as_basename=false 146fi 147 148 149# Name of the executable. 150as_me=`$as_basename -- "$0" || 151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 152 X"$0" : 'X\(//\)$' \| \ 153 X"$0" : 'X\(/\)' \| . 2>/dev/null || 154$as_echo X/"$0" | 155 sed '/^.*\/\([^/][^/]*\)\/*$/{ 156 s//\1/ 157 q 158 } 159 /^X\/\(\/\/\)$/{ 160 s//\1/ 161 q 162 } 163 /^X\/\(\/\).*/{ 164 s//\1/ 165 q 166 } 167 s/.*/./; q'` 168 169# CDPATH. 170$as_unset CDPATH 171 172 173if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176else 177 as_have_required=no 178fi 179 180 if test $as_have_required = yes && (eval ": 181(as_func_return () { 182 (exit \$1) 183} 184as_func_success () { 185 as_func_return 0 186} 187as_func_failure () { 188 as_func_return 1 189} 190as_func_ret_success () { 191 return 0 192} 193as_func_ret_failure () { 194 return 1 195} 196 197exitcode=0 198if as_func_success; then 199 : 200else 201 exitcode=1 202 echo as_func_success failed. 203fi 204 205if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208fi 209 210if as_func_ret_success; then 211 : 212else 213 exitcode=1 214 echo as_func_ret_success failed. 215fi 216 217if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220fi 221 222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224else 225 exitcode=1 226 echo positional parameters were not saved. 227fi 228 229test \$exitcode = 0) || { (exit 1); exit 1; } 230 231( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 237( 238 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 239 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 240 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 241 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 242 PATH=/empty FPATH=/empty; export PATH FPATH 243 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 244 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" )) || { (exit 1); exit 1; } 245") 2> /dev/null; then 246 : 247else 248 as_candidate_shells= 249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 250for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 251do 252 IFS=$as_save_IFS 253 test -z "$as_dir" && as_dir=. 254 case $as_dir in 255 /*) 256 for as_base in sh bash ksh sh5; do 257 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 258 done;; 259 esac 260done 261IFS=$as_save_IFS 262 263 264 for as_shell in $as_candidate_shells $SHELL; do 265 # Try only shells that exist, to save several forks. 266 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 267 { ("$as_shell") 2> /dev/null <<\_ASEOF 268if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 269 emulate sh 270 NULLCMD=: 271 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 272 # is contrary to our usage. Disable this feature. 273 alias -g '${1+"$@"}'='"$@"' 274 setopt NO_GLOB_SUBST 275else 276 case `(set -o) 2>/dev/null` in 277 *posix*) set -o posix ;; 278esac 279 280fi 281 282 283: 284_ASEOF 285}; then 286 CONFIG_SHELL=$as_shell 287 as_have_required=yes 288 if { "$as_shell" 2> /dev/null <<\_ASEOF 289if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 290 emulate sh 291 NULLCMD=: 292 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 293 # is contrary to our usage. Disable this feature. 294 alias -g '${1+"$@"}'='"$@"' 295 setopt NO_GLOB_SUBST 296else 297 case `(set -o) 2>/dev/null` in 298 *posix*) set -o posix ;; 299esac 300 301fi 302 303 304: 305(as_func_return () { 306 (exit $1) 307} 308as_func_success () { 309 as_func_return 0 310} 311as_func_failure () { 312 as_func_return 1 313} 314as_func_ret_success () { 315 return 0 316} 317as_func_ret_failure () { 318 return 1 319} 320 321exitcode=0 322if as_func_success; then 323 : 324else 325 exitcode=1 326 echo as_func_success failed. 327fi 328 329if as_func_failure; then 330 exitcode=1 331 echo as_func_failure succeeded. 332fi 333 334if as_func_ret_success; then 335 : 336else 337 exitcode=1 338 echo as_func_ret_success failed. 339fi 340 341if as_func_ret_failure; then 342 exitcode=1 343 echo as_func_ret_failure succeeded. 344fi 345 346if ( set x; as_func_ret_success y && test x = "$1" ); then 347 : 348else 349 exitcode=1 350 echo positional parameters were not saved. 351fi 352 353test $exitcode = 0) || { (exit 1); exit 1; } 354 355( 356 as_lineno_1=$LINENO 357 as_lineno_2=$LINENO 358 test "x$as_lineno_1" != "x$as_lineno_2" && 359 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 360 361( 362 test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( 363 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 364 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 365 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 366 PATH=/empty FPATH=/empty; export PATH FPATH 367 test "X`printf %s $ECHO`" = "X$ECHO" \ 368 || test "X`print -r -- $ECHO`" = "X$ECHO" )) || { (exit 1); exit 1; } 369 370_ASEOF 371}; then 372 break 373fi 374 375fi 376 377 done 378 379 if test "x$CONFIG_SHELL" != x; then 380 for as_var in BASH_ENV ENV 381 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 382 done 383 export CONFIG_SHELL 384 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 385fi 386 387 388 if test $as_have_required = no; then 389 echo This script requires a shell more modern than all the 390 echo shells that I found on your system. Please install a 391 echo modern shell, or manually run the script under such a 392 echo shell if you do have one. 393 { (exit 1); exit 1; } 394fi 395 396 397fi 398 399fi 400 401 402 403(eval "as_func_return () { 404 (exit \$1) 405} 406as_func_success () { 407 as_func_return 0 408} 409as_func_failure () { 410 as_func_return 1 411} 412as_func_ret_success () { 413 return 0 414} 415as_func_ret_failure () { 416 return 1 417} 418 419exitcode=0 420if as_func_success; then 421 : 422else 423 exitcode=1 424 echo as_func_success failed. 425fi 426 427if as_func_failure; then 428 exitcode=1 429 echo as_func_failure succeeded. 430fi 431 432if as_func_ret_success; then 433 : 434else 435 exitcode=1 436 echo as_func_ret_success failed. 437fi 438 439if as_func_ret_failure; then 440 exitcode=1 441 echo as_func_ret_failure succeeded. 442fi 443 444if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 445 : 446else 447 exitcode=1 448 echo positional parameters were not saved. 449fi 450 451test \$exitcode = 0") || { 452 echo No shell found that supports shell functions. 453 echo Please tell bug-autoconf@gnu.org about your system, 454 echo including any error possibly output before this message. 455 echo This can help us improve future autoconf versions. 456 echo Configuration will now proceed without shell functions. 457} 458 459 460 461 as_lineno_1=$LINENO 462 as_lineno_2=$LINENO 463 test "x$as_lineno_1" != "x$as_lineno_2" && 464 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 465 466 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 467 # uniformly replaced by the line number. The first 'sed' inserts a 468 # line-number line after each line using $LINENO; the second 'sed' 469 # does the real work. The second script uses 'N' to pair each 470 # line-number line with the line containing $LINENO, and appends 471 # trailing '-' during substitution so that $LINENO is not a special 472 # case at line end. 473 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 474 # scripts with optimization help from Paolo Bonzini. Blame Lee 475 # E. McMahon (1931-1989) for sed's syntax. :-) 476 sed -n ' 477 p 478 /[$]LINENO/= 479 ' <$as_myself | 480 sed ' 481 s/[$]LINENO.*/&-/ 482 t lineno 483 b 484 :lineno 485 N 486 :loop 487 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 488 t loop 489 s/-\n.*// 490 ' >$as_me.lineno && 491 chmod +x "$as_me.lineno" || 492 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 493 { (exit 1); exit 1; }; } 494 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503 504if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 505 as_dirname=dirname 506else 507 as_dirname=false 508fi 509 510ECHO_C= ECHO_N= ECHO_T= 511case `echo -n x` in 512-n*) 513 case `echo 'x\c'` in 514 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 515 *) ECHO_C='\c';; 516 esac;; 517*) 518 ECHO_N='-n';; 519esac 520if expr a : '\(a\)' >/dev/null 2>&1 && 521 test "X`expr 00001 : '.*\(...\)'`" = X001; then 522 as_expr=expr 523else 524 as_expr=false 525fi 526 527rm -f conf$$ conf$$.exe conf$$.file 528if test -d conf$$.dir; then 529 rm -f conf$$.dir/conf$$.file 530else 531 rm -f conf$$.dir 532 mkdir conf$$.dir 2>/dev/null 533fi 534if (echo >conf$$.file) 2>/dev/null; then 535 if ln -s conf$$.file conf$$ 2>/dev/null; then 536 as_ln_s='ln -s' 537 # ... but there are two gotchas: 538 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 539 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 540 # In both cases, we have to default to `cp -p'. 541 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 542 as_ln_s='cp -p' 543 elif ln conf$$.file conf$$ 2>/dev/null; then 544 as_ln_s=ln 545 else 546 as_ln_s='cp -p' 547 fi 548else 549 as_ln_s='cp -p' 550fi 551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 552rmdir conf$$.dir 2>/dev/null 553 554if mkdir -p . 2>/dev/null; then 555 as_mkdir_p=: 556else 557 test -d ./-p && rmdir ./-p 558 as_mkdir_p=false 559fi 560 561if test -x / >/dev/null 2>&1; then 562 as_test_x='test -x' 563else 564 if ls -dL / >/dev/null 2>&1; then 565 as_ls_L_option=L 566 else 567 as_ls_L_option= 568 fi 569 as_test_x=' 570 eval sh -c '\'' 571 if test -d "$1"; then 572 test -d "$1/."; 573 else 574 case $1 in 575 -*)set "./$1";; 576 esac; 577 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 578 ???[sx]*):;;*)false;;esac;fi 579 '\'' sh 580 ' 581fi 582as_executable_p=$as_test_x 583 584# Sed expression to map a string onto a valid CPP name. 585as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 586 587# Sed expression to map a string onto a valid variable name. 588as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 589 590 591SHELL=${CONFIG_SHELL-/bin/sh} 592 593 594exec 7<&0 </dev/null 6>&1 595 596# Name of the host. 597# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 598# so uname gets run too. 599ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 600 601# 602# Initializations. 603# 604ac_default_prefix=/usr/local 605ac_clean_files= 606ac_config_libobj_dir=. 607LIB@&t@OBJS= 608cross_compiling=no 609subdirs= 610MFLAGS= 611MAKEFLAGS= 612SHELL=${CONFIG_SHELL-/bin/sh} 613 614# Identity of this package. 615PACKAGE_NAME= 616PACKAGE_TARNAME= 617PACKAGE_VERSION= 618PACKAGE_STRING= 619PACKAGE_BUGREPORT= 620 621ac_unique_file="src/control/control.c" 622ac_default_prefix=/usr 623# Factoring default headers for most tests. 624ac_includes_default="\ 625#include <stdio.h> 626#ifdef HAVE_SYS_TYPES_H 627# include <sys/types.h> 628#endif 629#ifdef HAVE_SYS_STAT_H 630# include <sys/stat.h> 631#endif 632#ifdef STDC_HEADERS 633# include <stdlib.h> 634# include <stddef.h> 635#else 636# ifdef HAVE_STDLIB_H 637# include <stdlib.h> 638# endif 639#endif 640#ifdef HAVE_STRING_H 641# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 642# include <memory.h> 643# endif 644# include <string.h> 645#endif 646#ifdef HAVE_STRINGS_H 647# include <strings.h> 648#endif 649#ifdef HAVE_INTTYPES_H 650# include <inttypes.h> 651#endif 652#ifdef HAVE_STDINT_H 653# include <stdint.h> 654#endif 655#ifdef HAVE_UNISTD_H 656# include <unistd.h> 657#endif" 658 659ac_subst_vars='am__EXEEXT_FALSE 660am__EXEEXT_TRUE 661LTLIBOBJS 662LIB@&t@OBJS 663BUILD_CTL_PLUGIN_EXT_FALSE 664BUILD_CTL_PLUGIN_EXT_TRUE 665BUILD_CTL_PLUGIN_SHM_FALSE 666BUILD_CTL_PLUGIN_SHM_TRUE 667BUILD_CTL_PLUGIN_FALSE 668BUILD_CTL_PLUGIN_TRUE 669BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE 670BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE 671BUILD_PCM_PLUGIN_IOPLUG_FALSE 672BUILD_PCM_PLUGIN_IOPLUG_TRUE 673BUILD_PCM_PLUGIN_EXTPLUG_FALSE 674BUILD_PCM_PLUGIN_EXTPLUG_TRUE 675BUILD_PCM_PLUGIN_SOFTVOL_FALSE 676BUILD_PCM_PLUGIN_SOFTVOL_TRUE 677BUILD_PCM_PLUGIN_IEC958_FALSE 678BUILD_PCM_PLUGIN_IEC958_TRUE 679BUILD_PCM_PLUGIN_ASYM_FALSE 680BUILD_PCM_PLUGIN_ASYM_TRUE 681BUILD_PCM_PLUGIN_DSNOOP_FALSE 682BUILD_PCM_PLUGIN_DSNOOP_TRUE 683BUILD_PCM_PLUGIN_DSHARE_FALSE 684BUILD_PCM_PLUGIN_DSHARE_TRUE 685BUILD_PCM_PLUGIN_DMIX_FALSE 686BUILD_PCM_PLUGIN_DMIX_TRUE 687BUILD_PCM_PLUGIN_LADSPA_FALSE 688BUILD_PCM_PLUGIN_LADSPA_TRUE 689BUILD_PCM_PLUGIN_LFLOAT_FALSE 690BUILD_PCM_PLUGIN_LFLOAT_TRUE 691BUILD_PCM_PLUGIN_HOOKS_FALSE 692BUILD_PCM_PLUGIN_HOOKS_TRUE 693BUILD_PCM_PLUGIN_METER_FALSE 694BUILD_PCM_PLUGIN_METER_TRUE 695BUILD_PCM_PLUGIN_SHARE_FALSE 696BUILD_PCM_PLUGIN_SHARE_TRUE 697BUILD_PCM_PLUGIN_EMPTY_FALSE 698BUILD_PCM_PLUGIN_EMPTY_TRUE 699BUILD_PCM_PLUGIN_NULL_FALSE 700BUILD_PCM_PLUGIN_NULL_TRUE 701BUILD_PCM_PLUGIN_FILE_FALSE 702BUILD_PCM_PLUGIN_FILE_TRUE 703BUILD_PCM_PLUGIN_SHM_FALSE 704BUILD_PCM_PLUGIN_SHM_TRUE 705BUILD_PCM_PLUGIN_MULTI_FALSE 706BUILD_PCM_PLUGIN_MULTI_TRUE 707BUILD_PCM_PLUGIN_PLUG_FALSE 708BUILD_PCM_PLUGIN_PLUG_TRUE 709BUILD_PCM_PLUGIN_RATE_FALSE 710BUILD_PCM_PLUGIN_RATE_TRUE 711BUILD_PCM_PLUGIN_ADPCM_FALSE 712BUILD_PCM_PLUGIN_ADPCM_TRUE 713BUILD_PCM_PLUGIN_ALAW_FALSE 714BUILD_PCM_PLUGIN_ALAW_TRUE 715BUILD_PCM_PLUGIN_MULAW_FALSE 716BUILD_PCM_PLUGIN_MULAW_TRUE 717BUILD_PCM_PLUGIN_ROUTE_FALSE 718BUILD_PCM_PLUGIN_ROUTE_TRUE 719BUILD_PCM_PLUGIN_LINEAR_FALSE 720BUILD_PCM_PLUGIN_LINEAR_TRUE 721BUILD_PCM_PLUGIN_COPY_FALSE 722BUILD_PCM_PLUGIN_COPY_TRUE 723BUILD_PCM_PLUGIN_FALSE 724BUILD_PCM_PLUGIN_TRUE 725BUILD_PYTHON_FALSE 726BUILD_PYTHON_TRUE 727BUILD_ALISP_FALSE 728BUILD_ALISP_TRUE 729BUILD_UCM_FALSE 730BUILD_UCM_TRUE 731BUILD_SEQ_FALSE 732BUILD_SEQ_TRUE 733BUILD_HWDEP_FALSE 734BUILD_HWDEP_TRUE 735BUILD_RAWMIDI_FALSE 736BUILD_RAWMIDI_TRUE 737BUILD_PCM_FALSE 738BUILD_PCM_TRUE 739BUILD_MIXER_FALSE 740BUILD_MIXER_TRUE 741PYTHON_INCLUDES 742PYTHON_LIBS 743KEEP_OLD_SYMBOLS_FALSE 744KEEP_OLD_SYMBOLS_TRUE 745ALSA_DEPLIBS 746BUILD_MODULES_FALSE 747BUILD_MODULES_TRUE 748SYMBOL_PREFIX 749SYMBOLIC_FUNCTIONS_FALSE 750SYMBOLIC_FUNCTIONS_TRUE 751VERSIONED_SYMBOLS_FALSE 752VERSIONED_SYMBOLS_TRUE 753ALSA_PKGCONF_DIR 754ALSA_PLUGIN_DIR 755ALSA_CONFIG_DIR 756LIBTOOL_VERSION_INFO 757SND_LIB_EXTRAVER 758SND_LIB_SUBMINOR 759SND_LIB_MINOR 760SND_LIB_MAJOR 761SND_LIB_VERSION 762ALSA_HSEARCH_R_FALSE 763ALSA_HSEARCH_R_TRUE 764OTOOL64 765OTOOL 766LIPO 767NMEDIT 768DSYMUTIL 769MANIFEST_TOOL 770RANLIB 771ac_ct_AR 772AR 773DLLTOOL 774OBJDUMP 775NM 776ac_ct_DUMPBIN 777DUMPBIN 778LD 779FGREP 780EGREP 781GREP 782SED 783LIBTOOL 784LN_S 785CPP 786am__fastdepCC_FALSE 787am__fastdepCC_TRUE 788CCDEPMODE 789am__nodep 790AMDEPBACKSLASH 791AMDEP_FALSE 792AMDEP_TRUE 793am__quote 794am__include 795DEPDIR 796OBJEXT 797EXEEXT 798ac_ct_CC 799CPPFLAGS 800LDFLAGS 801CFLAGS 802CC 803AM_BACKSLASH 804AM_DEFAULT_VERBOSITY 805AM_DEFAULT_V 806AM_V 807INSTALL_M4_FALSE 808INSTALL_M4_TRUE 809am__untar 810am__tar 811AMTAR 812am__leading_dot 813SET_MAKE 814AWK 815mkdir_p 816MKDIR_P 817INSTALL_STRIP_PROGRAM 818STRIP 819install_sh 820MAKEINFO 821AUTOHEADER 822AUTOMAKE 823AUTOCONF 824ACLOCAL 825VERSION 826PACKAGE 827CYGPATH_W 828am__isrc 829INSTALL_DATA 830INSTALL_SCRIPT 831INSTALL_PROGRAM 832host_os 833host_vendor 834host_cpu 835host 836build_os 837build_vendor 838build_cpu 839build 840target_alias 841host_alias 842build_alias 843LIBS 844ECHO_T 845ECHO_N 846ECHO_C 847DEFS 848mandir 849localedir 850libdir 851psdir 852pdfdir 853dvidir 854htmldir 855infodir 856docdir 857oldincludedir 858includedir 859localstatedir 860sharedstatedir 861sysconfdir 862datadir 863datarootdir 864libexecdir 865sbindir 866bindir 867program_transform_name 868prefix 869exec_prefix 870PACKAGE_BUGREPORT 871PACKAGE_STRING 872PACKAGE_VERSION 873PACKAGE_TARNAME 874PACKAGE_NAME 875PATH_SEPARATOR 876SHELL' 877ac_subst_files='' 878ac_user_opts=' 879enable_option_checking 880enable_silent_rules 881enable_dependency_tracking 882enable_static 883enable_shared 884with_pic 885enable_fast_install 886with_gnu_ld 887with_sysroot 888enable_libtool_lock 889with_configdir 890with_plugindir 891with_pkgconfdir 892with_versioned 893enable_symbolic_functions 894with_debug 895enable_debug_assert 896with_tmpdir 897with_softfloat 898with_libdl 899with_pthread 900with_librt 901enable_resmgr 902enable_aload 903with_alsa_devdir 904with_aload_devdir 905enable_mixer 906enable_pcm 907enable_rawmidi 908enable_hwdep 909enable_seq 910enable_ucm 911enable_alisp 912enable_old_symbols 913enable_python 914with_pythonlibs 915with_pythonincludes 916with_pcm_plugins 917with_ctl_plugins 918' 919 ac_precious_vars='build_alias 920host_alias 921target_alias 922CC 923CFLAGS 924LDFLAGS 925LIBS 926CPPFLAGS 927CPP' 928 929 930# Initialize some variables set by options. 931ac_init_help= 932ac_init_version=false 933ac_unrecognized_opts= 934ac_unrecognized_sep= 935# The variables have the same names as the options, with 936# dashes changed to underlines. 937cache_file=/dev/null 938exec_prefix=NONE 939no_create= 940no_recursion= 941prefix=NONE 942program_prefix=NONE 943program_suffix=NONE 944program_transform_name=s,x,x, 945silent= 946site= 947srcdir= 948verbose= 949x_includes=NONE 950x_libraries=NONE 951 952# Installation directory options. 953# These are left unexpanded so users can "make install exec_prefix=/foo" 954# and all the variables that are supposed to be based on exec_prefix 955# by default will actually change. 956# Use braces instead of parens because sh, perl, etc. also accept them. 957# (The list follows the same order as the GNU Coding Standards.) 958bindir='${exec_prefix}/bin' 959sbindir='${exec_prefix}/sbin' 960libexecdir='${exec_prefix}/libexec' 961datarootdir='${prefix}/share' 962datadir='${datarootdir}' 963sysconfdir='${prefix}/etc' 964sharedstatedir='${prefix}/com' 965localstatedir='${prefix}/var' 966includedir='${prefix}/include' 967oldincludedir='/usr/include' 968docdir='${datarootdir}/doc/${PACKAGE}' 969infodir='${datarootdir}/info' 970htmldir='${docdir}' 971dvidir='${docdir}' 972pdfdir='${docdir}' 973psdir='${docdir}' 974libdir='${exec_prefix}/lib' 975localedir='${datarootdir}/locale' 976mandir='${datarootdir}/man' 977 978ac_prev= 979ac_dashdash= 980for ac_option 981do 982 # If the previous option needs an argument, assign it. 983 if test -n "$ac_prev"; then 984 eval $ac_prev=\$ac_option 985 ac_prev= 986 continue 987 fi 988 989 case $ac_option in 990 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 991 *) ac_optarg=yes ;; 992 esac 993 994 # Accept the important Cygnus configure options, so we can diagnose typos. 995 996 case $ac_dashdash$ac_option in 997 --) 998 ac_dashdash=yes ;; 999 1000 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1001 ac_prev=bindir ;; 1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1003 bindir=$ac_optarg ;; 1004 1005 -build | --build | --buil | --bui | --bu) 1006 ac_prev=build_alias ;; 1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1008 build_alias=$ac_optarg ;; 1009 1010 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1012 ac_prev=cache_file ;; 1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1015 cache_file=$ac_optarg ;; 1016 1017 --config-cache | -C) 1018 cache_file=config.cache ;; 1019 1020 -datadir | --datadir | --datadi | --datad) 1021 ac_prev=datadir ;; 1022 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1023 datadir=$ac_optarg ;; 1024 1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1026 | --dataroo | --dataro | --datar) 1027 ac_prev=datarootdir ;; 1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1030 datarootdir=$ac_optarg ;; 1031 1032 -disable-* | --disable-*) 1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1034 # Reject names that are not valid shell variable names. 1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1036 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1037 { (exit 1); exit 1; }; } 1038 ac_useropt_orig=$ac_useropt 1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1040 case $ac_user_opts in 1041 *" 1042"enable_$ac_useropt" 1043"*) ;; 1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1045 ac_unrecognized_sep=', ';; 1046 esac 1047 eval enable_$ac_useropt=no ;; 1048 1049 -docdir | --docdir | --docdi | --doc | --do) 1050 ac_prev=docdir ;; 1051 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1052 docdir=$ac_optarg ;; 1053 1054 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1055 ac_prev=dvidir ;; 1056 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1057 dvidir=$ac_optarg ;; 1058 1059 -enable-* | --enable-*) 1060 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1061 # Reject names that are not valid shell variable names. 1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1063 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 1064 { (exit 1); exit 1; }; } 1065 ac_useropt_orig=$ac_useropt 1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1067 case $ac_user_opts in 1068 *" 1069"enable_$ac_useropt" 1070"*) ;; 1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1072 ac_unrecognized_sep=', ';; 1073 esac 1074 eval enable_$ac_useropt=\$ac_optarg ;; 1075 1076 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1077 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1078 | --exec | --exe | --ex) 1079 ac_prev=exec_prefix ;; 1080 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1081 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1082 | --exec=* | --exe=* | --ex=*) 1083 exec_prefix=$ac_optarg ;; 1084 1085 -gas | --gas | --ga | --g) 1086 # Obsolete; use --with-gas. 1087 with_gas=yes ;; 1088 1089 -help | --help | --hel | --he | -h) 1090 ac_init_help=long ;; 1091 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1092 ac_init_help=recursive ;; 1093 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1094 ac_init_help=short ;; 1095 1096 -host | --host | --hos | --ho) 1097 ac_prev=host_alias ;; 1098 -host=* | --host=* | --hos=* | --ho=*) 1099 host_alias=$ac_optarg ;; 1100 1101 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1102 ac_prev=htmldir ;; 1103 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1104 | --ht=*) 1105 htmldir=$ac_optarg ;; 1106 1107 -includedir | --includedir | --includedi | --included | --include \ 1108 | --includ | --inclu | --incl | --inc) 1109 ac_prev=includedir ;; 1110 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1111 | --includ=* | --inclu=* | --incl=* | --inc=*) 1112 includedir=$ac_optarg ;; 1113 1114 -infodir | --infodir | --infodi | --infod | --info | --inf) 1115 ac_prev=infodir ;; 1116 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1117 infodir=$ac_optarg ;; 1118 1119 -libdir | --libdir | --libdi | --libd) 1120 ac_prev=libdir ;; 1121 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1122 libdir=$ac_optarg ;; 1123 1124 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1125 | --libexe | --libex | --libe) 1126 ac_prev=libexecdir ;; 1127 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1128 | --libexe=* | --libex=* | --libe=*) 1129 libexecdir=$ac_optarg ;; 1130 1131 -localedir | --localedir | --localedi | --localed | --locale) 1132 ac_prev=localedir ;; 1133 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1134 localedir=$ac_optarg ;; 1135 1136 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1137 | --localstate | --localstat | --localsta | --localst | --locals) 1138 ac_prev=localstatedir ;; 1139 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1140 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1141 localstatedir=$ac_optarg ;; 1142 1143 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1144 ac_prev=mandir ;; 1145 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1146 mandir=$ac_optarg ;; 1147 1148 -nfp | --nfp | --nf) 1149 # Obsolete; use --without-fp. 1150 with_fp=no ;; 1151 1152 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1153 | --no-cr | --no-c | -n) 1154 no_create=yes ;; 1155 1156 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1157 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1158 no_recursion=yes ;; 1159 1160 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1161 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1162 | --oldin | --oldi | --old | --ol | --o) 1163 ac_prev=oldincludedir ;; 1164 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1165 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1166 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1167 oldincludedir=$ac_optarg ;; 1168 1169 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1170 ac_prev=prefix ;; 1171 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1172 prefix=$ac_optarg ;; 1173 1174 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1175 | --program-pre | --program-pr | --program-p) 1176 ac_prev=program_prefix ;; 1177 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1178 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1179 program_prefix=$ac_optarg ;; 1180 1181 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1182 | --program-suf | --program-su | --program-s) 1183 ac_prev=program_suffix ;; 1184 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1185 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1186 program_suffix=$ac_optarg ;; 1187 1188 -program-transform-name | --program-transform-name \ 1189 | --program-transform-nam | --program-transform-na \ 1190 | --program-transform-n | --program-transform- \ 1191 | --program-transform | --program-transfor \ 1192 | --program-transfo | --program-transf \ 1193 | --program-trans | --program-tran \ 1194 | --progr-tra | --program-tr | --program-t) 1195 ac_prev=program_transform_name ;; 1196 -program-transform-name=* | --program-transform-name=* \ 1197 | --program-transform-nam=* | --program-transform-na=* \ 1198 | --program-transform-n=* | --program-transform-=* \ 1199 | --program-transform=* | --program-transfor=* \ 1200 | --program-transfo=* | --program-transf=* \ 1201 | --program-trans=* | --program-tran=* \ 1202 | --progr-tra=* | --program-tr=* | --program-t=*) 1203 program_transform_name=$ac_optarg ;; 1204 1205 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1206 ac_prev=pdfdir ;; 1207 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1208 pdfdir=$ac_optarg ;; 1209 1210 -psdir | --psdir | --psdi | --psd | --ps) 1211 ac_prev=psdir ;; 1212 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1213 psdir=$ac_optarg ;; 1214 1215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1216 | -silent | --silent | --silen | --sile | --sil) 1217 silent=yes ;; 1218 1219 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1220 ac_prev=sbindir ;; 1221 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1222 | --sbi=* | --sb=*) 1223 sbindir=$ac_optarg ;; 1224 1225 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1226 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1227 | --sharedst | --shareds | --shared | --share | --shar \ 1228 | --sha | --sh) 1229 ac_prev=sharedstatedir ;; 1230 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1231 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1232 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1233 | --sha=* | --sh=*) 1234 sharedstatedir=$ac_optarg ;; 1235 1236 -site | --site | --sit) 1237 ac_prev=site ;; 1238 -site=* | --site=* | --sit=*) 1239 site=$ac_optarg ;; 1240 1241 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1242 ac_prev=srcdir ;; 1243 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1244 srcdir=$ac_optarg ;; 1245 1246 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1247 | --syscon | --sysco | --sysc | --sys | --sy) 1248 ac_prev=sysconfdir ;; 1249 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1250 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1251 sysconfdir=$ac_optarg ;; 1252 1253 -target | --target | --targe | --targ | --tar | --ta | --t) 1254 ac_prev=target_alias ;; 1255 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1256 target_alias=$ac_optarg ;; 1257 1258 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1259 verbose=yes ;; 1260 1261 -version | --version | --versio | --versi | --vers | -V) 1262 ac_init_version=: ;; 1263 1264 -with-* | --with-*) 1265 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1266 # Reject names that are not valid shell variable names. 1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1268 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1269 { (exit 1); exit 1; }; } 1270 ac_useropt_orig=$ac_useropt 1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1272 case $ac_user_opts in 1273 *" 1274"with_$ac_useropt" 1275"*) ;; 1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1277 ac_unrecognized_sep=', ';; 1278 esac 1279 eval with_$ac_useropt=\$ac_optarg ;; 1280 1281 -without-* | --without-*) 1282 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1283 # Reject names that are not valid shell variable names. 1284 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1285 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1286 { (exit 1); exit 1; }; } 1287 ac_useropt_orig=$ac_useropt 1288 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1289 case $ac_user_opts in 1290 *" 1291"with_$ac_useropt" 1292"*) ;; 1293 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1294 ac_unrecognized_sep=', ';; 1295 esac 1296 eval with_$ac_useropt=no ;; 1297 1298 --x) 1299 # Obsolete; use --with-x. 1300 with_x=yes ;; 1301 1302 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1303 | --x-incl | --x-inc | --x-in | --x-i) 1304 ac_prev=x_includes ;; 1305 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1306 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1307 x_includes=$ac_optarg ;; 1308 1309 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1310 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1311 ac_prev=x_libraries ;; 1312 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1313 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1314 x_libraries=$ac_optarg ;; 1315 1316 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1317Try \`$0 --help' for more information." >&2 1318 { (exit 1); exit 1; }; } 1319 ;; 1320 1321 *=*) 1322 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1323 # Reject names that are not valid shell variable names. 1324 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1325 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1326 { (exit 1); exit 1; }; } 1327 eval $ac_envvar=\$ac_optarg 1328 export $ac_envvar ;; 1329 1330 *) 1331 # FIXME: should be removed in autoconf 3.0. 1332 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1333 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1334 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1335 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1336 ;; 1337 1338 esac 1339done 1340 1341if test -n "$ac_prev"; then 1342 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1343 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1344 { (exit 1); exit 1; }; } 1345fi 1346 1347if test -n "$ac_unrecognized_opts"; then 1348 case $enable_option_checking in 1349 no) ;; 1350 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1351 { (exit 1); exit 1; }; } ;; 1352 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1353 esac 1354fi 1355 1356# Check all directory arguments for consistency. 1357for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1358 datadir sysconfdir sharedstatedir localstatedir includedir \ 1359 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1360 libdir localedir mandir 1361do 1362 eval ac_val=\$$ac_var 1363 # Remove trailing slashes. 1364 case $ac_val in 1365 */ ) 1366 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1367 eval $ac_var=\$ac_val;; 1368 esac 1369 # Be sure to have absolute directory names. 1370 case $ac_val in 1371 [\\/$]* | ?:[\\/]* ) continue;; 1372 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1373 esac 1374 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1375 { (exit 1); exit 1; }; } 1376done 1377 1378# There might be people who depend on the old broken behavior: `$host' 1379# used to hold the argument of --host etc. 1380# FIXME: To remove some day. 1381build=$build_alias 1382host=$host_alias 1383target=$target_alias 1384 1385# FIXME: To remove some day. 1386if test "x$host_alias" != x; then 1387 if test "x$build_alias" = x; then 1388 cross_compiling=maybe 1389 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1390 If a cross compiler is detected then cross compile mode will be used." >&2 1391 elif test "x$build_alias" != "x$host_alias"; then 1392 cross_compiling=yes 1393 fi 1394fi 1395 1396ac_tool_prefix= 1397test -n "$host_alias" && ac_tool_prefix=$host_alias- 1398 1399test "$silent" = yes && exec 6>/dev/null 1400 1401 1402ac_pwd=`pwd` && test -n "$ac_pwd" && 1403ac_ls_di=`ls -di .` && 1404ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1405 { $as_echo "$as_me: error: working directory cannot be determined" >&2 1406 { (exit 1); exit 1; }; } 1407test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1408 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1409 { (exit 1); exit 1; }; } 1410 1411 1412# Find the source files, if location was not specified. 1413if test -z "$srcdir"; then 1414 ac_srcdir_defaulted=yes 1415 # Try the directory containing this script, then the parent directory. 1416 ac_confdir=`$as_dirname -- "$as_myself" || 1417$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1418 X"$as_myself" : 'X\(//\)[^/]' \| \ 1419 X"$as_myself" : 'X\(//\)$' \| \ 1420 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1421$as_echo X"$as_myself" | 1422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1423 s//\1/ 1424 q 1425 } 1426 /^X\(\/\/\)[^/].*/{ 1427 s//\1/ 1428 q 1429 } 1430 /^X\(\/\/\)$/{ 1431 s//\1/ 1432 q 1433 } 1434 /^X\(\/\).*/{ 1435 s//\1/ 1436 q 1437 } 1438 s/.*/./; q'` 1439 srcdir=$ac_confdir 1440 if test ! -r "$srcdir/$ac_unique_file"; then 1441 srcdir=.. 1442 fi 1443else 1444 ac_srcdir_defaulted=no 1445fi 1446if test ! -r "$srcdir/$ac_unique_file"; then 1447 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1448 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1449 { (exit 1); exit 1; }; } 1450fi 1451ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1452ac_abs_confdir=`( 1453 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1454 { (exit 1); exit 1; }; } 1455 pwd)` 1456# When building in place, set srcdir=. 1457if test "$ac_abs_confdir" = "$ac_pwd"; then 1458 srcdir=. 1459fi 1460# Remove unnecessary trailing slashes from srcdir. 1461# Double slashes in file names in object file debugging info 1462# mess up M-x gdb in Emacs. 1463case $srcdir in 1464*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1465esac 1466for ac_var in $ac_precious_vars; do 1467 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1468 eval ac_env_${ac_var}_value=\$${ac_var} 1469 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1470 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1471done 1472 1473# 1474# Report the --help message. 1475# 1476if test "$ac_init_help" = "long"; then 1477 # Omit some internal or obsolete options to make the list less imposing. 1478 # This message is too long to be a string in the A/UX 3.1 sh. 1479 cat <<_ACEOF 1480\`configure' configures this package to adapt to many kinds of systems. 1481 1482Usage: $0 [OPTION]... [VAR=VALUE]... 1483 1484To assign environment variables (e.g., CC, CFLAGS...), specify them as 1485VAR=VALUE. See below for descriptions of some of the useful variables. 1486 1487Defaults for the options are specified in brackets. 1488 1489Configuration: 1490 -h, --help display this help and exit 1491 --help=short display options specific to this package 1492 --help=recursive display the short help of all the included packages 1493 -V, --version display version information and exit 1494 -q, --quiet, --silent do not print \`checking...' messages 1495 --cache-file=FILE cache test results in FILE [disabled] 1496 -C, --config-cache alias for \`--cache-file=config.cache' 1497 -n, --no-create do not create output files 1498 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1499 1500Installation directories: 1501 --prefix=PREFIX install architecture-independent files in PREFIX 1502 [$ac_default_prefix] 1503 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1504 [PREFIX] 1505 1506By default, \`make install' will install all the files in 1507\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1508an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1509for instance \`--prefix=\$HOME'. 1510 1511For better control, use the options below. 1512 1513Fine tuning of the installation directories: 1514 --bindir=DIR user executables [EPREFIX/bin] 1515 --sbindir=DIR system admin executables [EPREFIX/sbin] 1516 --libexecdir=DIR program executables [EPREFIX/libexec] 1517 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1518 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1519 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1520 --libdir=DIR object code libraries [EPREFIX/lib] 1521 --includedir=DIR C header files [PREFIX/include] 1522 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1523 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1524 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1525 --infodir=DIR info documentation [DATAROOTDIR/info] 1526 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1527 --mandir=DIR man documentation [DATAROOTDIR/man] 1528 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ 1529 --htmldir=DIR html documentation [DOCDIR] 1530 --dvidir=DIR dvi documentation [DOCDIR] 1531 --pdfdir=DIR pdf documentation [DOCDIR] 1532 --psdir=DIR ps documentation [DOCDIR] 1533_ACEOF 1534 1535 cat <<\_ACEOF 1536 1537Program names: 1538 --program-prefix=PREFIX prepend PREFIX to installed program names 1539 --program-suffix=SUFFIX append SUFFIX to installed program names 1540 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1541 1542System types: 1543 --build=BUILD configure for building on BUILD [guessed] 1544 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1545_ACEOF 1546fi 1547 1548if test -n "$ac_init_help"; then 1549 1550 cat <<\_ACEOF 1551 1552Optional Features: 1553 --disable-option-checking ignore unrecognized --enable/--with options 1554 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1555 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1556 --enable-silent-rules less verbose build output (undo: `make V=1') 1557 --disable-silent-rules verbose build output (undo: `make V=0') 1558 --disable-dependency-tracking speeds up one-time build 1559 --enable-dependency-tracking do not reject slow dependency extractors 1560 --enable-static@<:@=PKGS@:>@ build static libraries @<:@default=no@:>@ 1561 --enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@ 1562 --enable-fast-install@<:@=PKGS@:>@ 1563 optimize for fast installation @<:@default=yes@:>@ 1564 --disable-libtool-lock avoid locking (might break parallel builds) 1565 --enable-symbolic-functions 1566 use -Bsymbolic-functions option if available 1567 (optmization for size and speed) 1568 --enable-debug enable assert call at the default error message 1569 handler 1570 --enable-resmgr support resmgr (optional) 1571 --disable-aload disable reading /dev/aload* 1572 --disable-mixer disable the mixer component 1573 --disable-pcm disable the PCM component 1574 --disable-rawmidi disable the raw MIDI component 1575 --disable-hwdep disable the hwdep component 1576 --disable-seq disable the sequencer component 1577 --disable-ucm disable the use-case-manager component 1578 --disable-alisp disable the alisp component 1579 --disable-old-symbols disable old obsoleted symbols 1580 --disable-python disable the python components 1581 1582Optional Packages: 1583 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1584 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1585 --with-pic@<:@=PKGS@:>@ try to use only PIC/non-PIC objects @<:@default=use 1586 both@:>@ 1587 --with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@ 1588 --with-sysroot=DIR Search for dependent libraries within DIR 1589 (or the compiler's sysroot if not specified). 1590 --with-configdir=dir path where ALSA config files are stored 1591 --with-plugindir=dir path where ALSA plugin files are stored 1592 --with-pkgconfdir=dir path where pkgconfig files are stored 1593 --with-versioned shared library will be compiled with versioned 1594 symbols (default = yes) 1595 --with-debug library will be compiled with asserts (default = 1596 yes) 1597 --with-tmpdir=directory directory to put tmp socket files (/tmp) 1598 --with-softfloat do you have floating point unit on this machine? 1599 (optional) 1600 --with-libdl Use libdl for plugins (default = yes) 1601 --with-pthread Use pthread (default = yes) 1602 --with-librt Use librt for monotonic clock (default = yes) 1603 --with-alsa-devdir=dir directory with ALSA device files (default /dev/snd) 1604 --with-aload-devdir=dir directory with aload* device files (default /dev) 1605 --with-pythonlibs=ldflags 1606 specify python libraries (-lpthread -lm -ldl 1607 -lpython2.4) 1608 --with-pythonincludes=Cflags 1609 specify python C header files 1610 (-I/usr/include/python) 1611 --with-pcm-plugins=<list> 1612 build PCM plugins (default = all) 1613 --with-ctl-plugins=<list> 1614 build control plugins (default = all) 1615 1616Some influential environment variables: 1617 CC C compiler command 1618 CFLAGS C compiler flags 1619 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1620 nonstandard directory <lib dir> 1621 LIBS libraries to pass to the linker, e.g. -l<library> 1622 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1623 you have headers in a nonstandard directory <include dir> 1624 CPP C preprocessor 1625 1626Use these variables to override the choices made by `configure' or to help 1627it to find libraries and programs with nonstandard names/locations. 1628 1629_ACEOF 1630ac_status=$? 1631fi 1632 1633if test "$ac_init_help" = "recursive"; then 1634 # If there are subdirs, report their specific --help. 1635 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1636 test -d "$ac_dir" || 1637 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1638 continue 1639 ac_builddir=. 1640 1641case "$ac_dir" in 1642.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1643*) 1644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1645 # A ".." for each directory in $ac_dir_suffix. 1646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1647 case $ac_top_builddir_sub in 1648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1650 esac ;; 1651esac 1652ac_abs_top_builddir=$ac_pwd 1653ac_abs_builddir=$ac_pwd$ac_dir_suffix 1654# for backward compatibility: 1655ac_top_builddir=$ac_top_build_prefix 1656 1657case $srcdir in 1658 .) # We are building in place. 1659 ac_srcdir=. 1660 ac_top_srcdir=$ac_top_builddir_sub 1661 ac_abs_top_srcdir=$ac_pwd ;; 1662 [\\/]* | ?:[\\/]* ) # Absolute name. 1663 ac_srcdir=$srcdir$ac_dir_suffix; 1664 ac_top_srcdir=$srcdir 1665 ac_abs_top_srcdir=$srcdir ;; 1666 *) # Relative name. 1667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1668 ac_top_srcdir=$ac_top_build_prefix$srcdir 1669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1670esac 1671ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1672 1673 cd "$ac_dir" || { ac_status=$?; continue; } 1674 # Check for guested configure. 1675 if test -f "$ac_srcdir/configure.gnu"; then 1676 echo && 1677 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1678 elif test -f "$ac_srcdir/configure"; then 1679 echo && 1680 $SHELL "$ac_srcdir/configure" --help=recursive 1681 else 1682 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1683 fi || ac_status=$? 1684 cd "$ac_pwd" || { ac_status=$?; break; } 1685 done 1686fi 1687 1688test -n "$ac_init_help" && exit $ac_status 1689if $ac_init_version; then 1690 cat <<\_ACEOF 1691configure 1692generated by GNU Autoconf 2.63 1693 1694Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 16952002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1696This configure script is free software; the Free Software Foundation 1697gives unlimited permission to copy, distribute and modify it. 1698_ACEOF 1699 exit 1700fi 1701cat >config.log <<_ACEOF 1702This file contains any messages produced by compilers while 1703running configure, to aid debugging if configure makes a mistake. 1704 1705It was created by $as_me, which was 1706generated by GNU Autoconf 2.63. Invocation command line was 1707 1708 $ $0 $@ 1709 1710_ACEOF 1711exec 5>>config.log 1712{ 1713cat <<_ASUNAME 1714@%:@@%:@ --------- @%:@@%:@ 1715@%:@@%:@ Platform. @%:@@%:@ 1716@%:@@%:@ --------- @%:@@%:@ 1717 1718hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1719uname -m = `(uname -m) 2>/dev/null || echo unknown` 1720uname -r = `(uname -r) 2>/dev/null || echo unknown` 1721uname -s = `(uname -s) 2>/dev/null || echo unknown` 1722uname -v = `(uname -v) 2>/dev/null || echo unknown` 1723 1724/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1725/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1726 1727/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1728/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1729/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1730/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1731/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1732/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1733/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1734 1735_ASUNAME 1736 1737as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1738for as_dir in $PATH 1739do 1740 IFS=$as_save_IFS 1741 test -z "$as_dir" && as_dir=. 1742 $as_echo "PATH: $as_dir" 1743done 1744IFS=$as_save_IFS 1745 1746} >&5 1747 1748cat >&5 <<_ACEOF 1749 1750 1751@%:@@%:@ ----------- @%:@@%:@ 1752@%:@@%:@ Core tests. @%:@@%:@ 1753@%:@@%:@ ----------- @%:@@%:@ 1754 1755_ACEOF 1756 1757 1758# Keep a trace of the command line. 1759# Strip out --no-create and --no-recursion so they do not pile up. 1760# Strip out --silent because we don't want to record it for future runs. 1761# Also quote any args containing shell meta-characters. 1762# Make two passes to allow for proper duplicate-argument suppression. 1763ac_configure_args= 1764ac_configure_args0= 1765ac_configure_args1= 1766ac_must_keep_next=false 1767for ac_pass in 1 2 1768do 1769 for ac_arg 1770 do 1771 case $ac_arg in 1772 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1773 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1774 | -silent | --silent | --silen | --sile | --sil) 1775 continue ;; 1776 *\'*) 1777 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1778 esac 1779 case $ac_pass in 1780 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1781 2) 1782 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1783 if test $ac_must_keep_next = true; then 1784 ac_must_keep_next=false # Got value, back to normal. 1785 else 1786 case $ac_arg in 1787 *=* | --config-cache | -C | -disable-* | --disable-* \ 1788 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1789 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1790 | -with-* | --with-* | -without-* | --without-* | --x) 1791 case "$ac_configure_args0 " in 1792 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1793 esac 1794 ;; 1795 -* ) ac_must_keep_next=true ;; 1796 esac 1797 fi 1798 ac_configure_args="$ac_configure_args '$ac_arg'" 1799 ;; 1800 esac 1801 done 1802done 1803$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1804$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1805 1806# When interrupted or exit'd, cleanup temporary files, and complete 1807# config.log. We remove comments because anyway the quotes in there 1808# would cause problems or look ugly. 1809# WARNING: Use '\'' to represent an apostrophe within the trap. 1810# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1811trap 'exit_status=$? 1812 # Save into config.log some information that might help in debugging. 1813 { 1814 echo 1815 1816 cat <<\_ASBOX 1817@%:@@%:@ ---------------- @%:@@%:@ 1818@%:@@%:@ Cache variables. @%:@@%:@ 1819@%:@@%:@ ---------------- @%:@@%:@ 1820_ASBOX 1821 echo 1822 # The following way of writing the cache mishandles newlines in values, 1823( 1824 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1825 eval ac_val=\$$ac_var 1826 case $ac_val in #( 1827 *${as_nl}*) 1828 case $ac_var in #( 1829 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 1830$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1831 esac 1832 case $ac_var in #( 1833 _ | IFS | as_nl) ;; #( 1834 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1835 *) $as_unset $ac_var ;; 1836 esac ;; 1837 esac 1838 done 1839 (set) 2>&1 | 1840 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1841 *${as_nl}ac_space=\ *) 1842 sed -n \ 1843 "s/'\''/'\''\\\\'\'''\''/g; 1844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1845 ;; #( 1846 *) 1847 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1848 ;; 1849 esac | 1850 sort 1851) 1852 echo 1853 1854 cat <<\_ASBOX 1855@%:@@%:@ ----------------- @%:@@%:@ 1856@%:@@%:@ Output variables. @%:@@%:@ 1857@%:@@%:@ ----------------- @%:@@%:@ 1858_ASBOX 1859 echo 1860 for ac_var in $ac_subst_vars 1861 do 1862 eval ac_val=\$$ac_var 1863 case $ac_val in 1864 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1865 esac 1866 $as_echo "$ac_var='\''$ac_val'\''" 1867 done | sort 1868 echo 1869 1870 if test -n "$ac_subst_files"; then 1871 cat <<\_ASBOX 1872@%:@@%:@ ------------------- @%:@@%:@ 1873@%:@@%:@ File substitutions. @%:@@%:@ 1874@%:@@%:@ ------------------- @%:@@%:@ 1875_ASBOX 1876 echo 1877 for ac_var in $ac_subst_files 1878 do 1879 eval ac_val=\$$ac_var 1880 case $ac_val in 1881 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1882 esac 1883 $as_echo "$ac_var='\''$ac_val'\''" 1884 done | sort 1885 echo 1886 fi 1887 1888 if test -s confdefs.h; then 1889 cat <<\_ASBOX 1890@%:@@%:@ ----------- @%:@@%:@ 1891@%:@@%:@ confdefs.h. @%:@@%:@ 1892@%:@@%:@ ----------- @%:@@%:@ 1893_ASBOX 1894 echo 1895 cat confdefs.h 1896 echo 1897 fi 1898 test "$ac_signal" != 0 && 1899 $as_echo "$as_me: caught signal $ac_signal" 1900 $as_echo "$as_me: exit $exit_status" 1901 } >&5 1902 rm -f core *.core core.conftest.* && 1903 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1904 exit $exit_status 1905' 0 1906for ac_signal in 1 2 13 15; do 1907 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1908done 1909ac_signal=0 1910 1911# confdefs.h avoids OS command line length limits that DEFS can exceed. 1912rm -f -r conftest* confdefs.h 1913 1914# Predefined preprocessor variables. 1915 1916cat >>confdefs.h <<_ACEOF 1917@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1918_ACEOF 1919 1920 1921cat >>confdefs.h <<_ACEOF 1922@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1923_ACEOF 1924 1925 1926cat >>confdefs.h <<_ACEOF 1927@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1928_ACEOF 1929 1930 1931cat >>confdefs.h <<_ACEOF 1932@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1933_ACEOF 1934 1935 1936cat >>confdefs.h <<_ACEOF 1937@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1938_ACEOF 1939 1940 1941# Let the site file select an alternate cache file if it wants to. 1942# Prefer an explicitly selected file to automatically selected ones. 1943ac_site_file1=NONE 1944ac_site_file2=NONE 1945if test -n "$CONFIG_SITE"; then 1946 ac_site_file1=$CONFIG_SITE 1947elif test "x$prefix" != xNONE; then 1948 ac_site_file1=$prefix/share/config.site 1949 ac_site_file2=$prefix/etc/config.site 1950else 1951 ac_site_file1=$ac_default_prefix/share/config.site 1952 ac_site_file2=$ac_default_prefix/etc/config.site 1953fi 1954for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1955do 1956 test "x$ac_site_file" = xNONE && continue 1957 if test -r "$ac_site_file"; then 1958 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1959$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1960 sed 's/^/| /' "$ac_site_file" >&5 1961 . "$ac_site_file" 1962 fi 1963done 1964 1965if test -r "$cache_file"; then 1966 # Some versions of bash will fail to source /dev/null (special 1967 # files actually), so we avoid doing that. 1968 if test -f "$cache_file"; then 1969 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1970$as_echo "$as_me: loading cache $cache_file" >&6;} 1971 case $cache_file in 1972 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1973 *) . "./$cache_file";; 1974 esac 1975 fi 1976else 1977 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1978$as_echo "$as_me: creating cache $cache_file" >&6;} 1979 >$cache_file 1980fi 1981 1982# Check that the precious variables saved in the cache have kept the same 1983# value. 1984ac_cache_corrupted=false 1985for ac_var in $ac_precious_vars; do 1986 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1987 eval ac_new_set=\$ac_env_${ac_var}_set 1988 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1989 eval ac_new_val=\$ac_env_${ac_var}_value 1990 case $ac_old_set,$ac_new_set in 1991 set,) 1992 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1993$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1994 ac_cache_corrupted=: ;; 1995 ,set) 1996 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1997$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1998 ac_cache_corrupted=: ;; 1999 ,);; 2000 *) 2001 if test "x$ac_old_val" != "x$ac_new_val"; then 2002 # differences in whitespace do not lead to failure. 2003 ac_old_val_w=`echo x $ac_old_val` 2004 ac_new_val_w=`echo x $ac_new_val` 2005 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2006 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 2007$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2008 ac_cache_corrupted=: 2009 else 2010 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2011$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2012 eval $ac_var=\$ac_old_val 2013 fi 2014 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 2015$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2016 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 2017$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2018 fi;; 2019 esac 2020 # Pass precious variables to config.status. 2021 if test "$ac_new_set" = set; then 2022 case $ac_new_val in 2023 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2024 *) ac_arg=$ac_var=$ac_new_val ;; 2025 esac 2026 case " $ac_configure_args " in 2027 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2028 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 2029 esac 2030 fi 2031done 2032if $ac_cache_corrupted; then 2033 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 2034$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2035 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2036$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2037 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 2038$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 2039 { (exit 1); exit 1; }; } 2040fi 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058ac_ext=c 2059ac_cpp='$CPP $CPPFLAGS' 2060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2062ac_compiler_gnu=$ac_cv_c_compiler_gnu 2063 2064 2065 2066 2067 2068ac_aux_dir= 2069for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2070 if test -f "$ac_dir/install-sh"; then 2071 ac_aux_dir=$ac_dir 2072 ac_install_sh="$ac_aux_dir/install-sh -c" 2073 break 2074 elif test -f "$ac_dir/install.sh"; then 2075 ac_aux_dir=$ac_dir 2076 ac_install_sh="$ac_aux_dir/install.sh -c" 2077 break 2078 elif test -f "$ac_dir/shtool"; then 2079 ac_aux_dir=$ac_dir 2080 ac_install_sh="$ac_aux_dir/shtool install -c" 2081 break 2082 fi 2083done 2084if test -z "$ac_aux_dir"; then 2085 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2086$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2087 { (exit 1); exit 1; }; } 2088fi 2089 2090# These three variables are undocumented and unsupported, 2091# and are intended to be withdrawn in a future Autoconf release. 2092# They can cause serious problems if a builder's source tree is in a directory 2093# whose full name contains unusual characters. 2094ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2095ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2096ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2097 2098 2099# Make sure we can run config.sub. 2100$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2101 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2102$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2103 { (exit 1); exit 1; }; } 2104 2105{ $as_echo "$as_me:$LINENO: checking build system type" >&5 2106$as_echo_n "checking build system type... " >&6; } 2107if test "${ac_cv_build+set}" = set; then 2108 $as_echo_n "(cached) " >&6 2109else 2110 ac_build_alias=$build_alias 2111test "x$ac_build_alias" = x && 2112 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2113test "x$ac_build_alias" = x && 2114 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2115$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2116 { (exit 1); exit 1; }; } 2117ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2118 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2119$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2120 { (exit 1); exit 1; }; } 2121 2122fi 2123{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2124$as_echo "$ac_cv_build" >&6; } 2125case $ac_cv_build in 2126*-*-*) ;; 2127*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2128$as_echo "$as_me: error: invalid value of canonical build" >&2;} 2129 { (exit 1); exit 1; }; };; 2130esac 2131build=$ac_cv_build 2132ac_save_IFS=$IFS; IFS='-' 2133set x $ac_cv_build 2134shift 2135build_cpu=$1 2136build_vendor=$2 2137shift; shift 2138# Remember, the first character of IFS is used to create $*, 2139# except with old shells: 2140build_os=$* 2141IFS=$ac_save_IFS 2142case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2143 2144 2145{ $as_echo "$as_me:$LINENO: checking host system type" >&5 2146$as_echo_n "checking host system type... " >&6; } 2147if test "${ac_cv_host+set}" = set; then 2148 $as_echo_n "(cached) " >&6 2149else 2150 if test "x$host_alias" = x; then 2151 ac_cv_host=$ac_cv_build 2152else 2153 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2154 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2155$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2156 { (exit 1); exit 1; }; } 2157fi 2158 2159fi 2160{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2161$as_echo "$ac_cv_host" >&6; } 2162case $ac_cv_host in 2163*-*-*) ;; 2164*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2165$as_echo "$as_me: error: invalid value of canonical host" >&2;} 2166 { (exit 1); exit 1; }; };; 2167esac 2168host=$ac_cv_host 2169ac_save_IFS=$IFS; IFS='-' 2170set x $ac_cv_host 2171shift 2172host_cpu=$1 2173host_vendor=$2 2174shift; shift 2175# Remember, the first character of IFS is used to create $*, 2176# except with old shells: 2177host_os=$* 2178IFS=$ac_save_IFS 2179case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2180 2181 2182am__api_version='1.11' 2183 2184# Find a good install program. We prefer a C program (faster), 2185# so one script is as good as another. But avoid the broken or 2186# incompatible versions: 2187# SysV /etc/install, /usr/sbin/install 2188# SunOS /usr/etc/install 2189# IRIX /sbin/install 2190# AIX /bin/install 2191# AmigaOS /C/install, which installs bootblocks on floppy discs 2192# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2193# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2194# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2195# OS/2's system install, which has a completely different semantic 2196# ./install, which can be erroneously created by make from ./install.sh. 2197# Reject install programs that cannot install multiple files. 2198{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2199$as_echo_n "checking for a BSD-compatible install... " >&6; } 2200if test -z "$INSTALL"; then 2201if test "${ac_cv_path_install+set}" = set; then 2202 $as_echo_n "(cached) " >&6 2203else 2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2205for as_dir in $PATH 2206do 2207 IFS=$as_save_IFS 2208 test -z "$as_dir" && as_dir=. 2209 # Account for people who put trailing slashes in PATH elements. 2210case $as_dir/ in 2211 ./ | .// | /cC/* | \ 2212 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2213 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2214 /usr/ucb/* ) ;; 2215 *) 2216 # OSF1 and SCO ODT 3.0 have their own names for install. 2217 # Don't use installbsd from OSF since it installs stuff as root 2218 # by default. 2219 for ac_prog in ginstall scoinst install; do 2220 for ac_exec_ext in '' $ac_executable_extensions; do 2221 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2222 if test $ac_prog = install && 2223 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2224 # AIX install. It has an incompatible calling convention. 2225 : 2226 elif test $ac_prog = install && 2227 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2228 # program-specific install script used by HP pwplus--don't use. 2229 : 2230 else 2231 rm -rf conftest.one conftest.two conftest.dir 2232 echo one > conftest.one 2233 echo two > conftest.two 2234 mkdir conftest.dir 2235 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2236 test -s conftest.one && test -s conftest.two && 2237 test -s conftest.dir/conftest.one && 2238 test -s conftest.dir/conftest.two 2239 then 2240 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2241 break 3 2242 fi 2243 fi 2244 fi 2245 done 2246 done 2247 ;; 2248esac 2249 2250done 2251IFS=$as_save_IFS 2252 2253rm -rf conftest.one conftest.two conftest.dir 2254 2255fi 2256 if test "${ac_cv_path_install+set}" = set; then 2257 INSTALL=$ac_cv_path_install 2258 else 2259 # As a last resort, use the slow shell script. Don't cache a 2260 # value for INSTALL within a source directory, because that will 2261 # break other packages using the cache if that directory is 2262 # removed, or if the value is a relative name. 2263 INSTALL=$ac_install_sh 2264 fi 2265fi 2266{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 2267$as_echo "$INSTALL" >&6; } 2268 2269# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2270# It thinks the first close brace ends the variable substitution. 2271test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2272 2273test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2274 2275test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2276 2277{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2278$as_echo_n "checking whether build environment is sane... " >&6; } 2279# Just in case 2280sleep 1 2281echo timestamp > conftest.file 2282# Reject unsafe characters in $srcdir or the absolute working directory 2283# name. Accept space and tab only in the latter. 2284am_lf=' 2285' 2286case `pwd` in 2287 *[\\\"\#\$\&\'\`$am_lf]*) 2288 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 2289$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 2290 { (exit 1); exit 1; }; };; 2291esac 2292case $srcdir in 2293 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2294 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 2295$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 2296 { (exit 1); exit 1; }; };; 2297esac 2298 2299# Do `set' in a subshell so we don't clobber the current shell's 2300# arguments. Must try -L first in case configure is actually a 2301# symlink; some systems play weird games with the mod time of symlinks 2302# (eg FreeBSD returns the mod time of the symlink's containing 2303# directory). 2304if ( 2305 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2306 if test "$*" = "X"; then 2307 # -L didn't work. 2308 set X `ls -t "$srcdir/configure" conftest.file` 2309 fi 2310 rm -f conftest.file 2311 if test "$*" != "X $srcdir/configure conftest.file" \ 2312 && test "$*" != "X conftest.file $srcdir/configure"; then 2313 2314 # If neither matched, then we have a broken ls. This can happen 2315 # if, for instance, CONFIG_SHELL is bash and it inherits a 2316 # broken ls alias from the environment. This has actually 2317 # happened. Such a system could not be considered "sane". 2318 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2319alias in your environment" >&5 2320$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2321alias in your environment" >&2;} 2322 { (exit 1); exit 1; }; } 2323 fi 2324 2325 test "$2" = conftest.file 2326 ) 2327then 2328 # Ok. 2329 : 2330else 2331 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2332Check your system clock" >&5 2333$as_echo "$as_me: error: newly created file is older than distributed files! 2334Check your system clock" >&2;} 2335 { (exit 1); exit 1; }; } 2336fi 2337{ $as_echo "$as_me:$LINENO: result: yes" >&5 2338$as_echo "yes" >&6; } 2339test "$program_prefix" != NONE && 2340 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2341# Use a double $ so make ignores it. 2342test "$program_suffix" != NONE && 2343 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2344# Double any \ or $. 2345# By default was `s,x,x', remove it if useless. 2346ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2347program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2348 2349# expand $ac_aux_dir to an absolute path 2350am_aux_dir=`cd $ac_aux_dir && pwd` 2351 2352if test x"${MISSING+set}" != xset; then 2353 case $am_aux_dir in 2354 *\ * | *\ *) 2355 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2356 *) 2357 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2358 esac 2359fi 2360# Use eval to expand $SHELL 2361if eval "$MISSING --run true"; then 2362 am_missing_run="$MISSING --run " 2363else 2364 am_missing_run= 2365 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2366$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2367fi 2368 2369if test x"${install_sh}" != xset; then 2370 case $am_aux_dir in 2371 *\ * | *\ *) 2372 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2373 *) 2374 install_sh="\${SHELL} $am_aux_dir/install-sh" 2375 esac 2376fi 2377 2378# Installed binaries are usually stripped using `strip' when the user 2379# run `make install-strip'. However `strip' might not be the right 2380# tool to use in cross-compilation environments, therefore Automake 2381# will honor the `STRIP' environment variable to overrule this program. 2382if test "$cross_compiling" != no; then 2383 if test -n "$ac_tool_prefix"; then 2384 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2385set dummy ${ac_tool_prefix}strip; ac_word=$2 2386{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2387$as_echo_n "checking for $ac_word... " >&6; } 2388if test "${ac_cv_prog_STRIP+set}" = set; then 2389 $as_echo_n "(cached) " >&6 2390else 2391 if test -n "$STRIP"; then 2392 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2393else 2394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2395for as_dir in $PATH 2396do 2397 IFS=$as_save_IFS 2398 test -z "$as_dir" && as_dir=. 2399 for ac_exec_ext in '' $ac_executable_extensions; do 2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2401 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2402 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2403 break 2 2404 fi 2405done 2406done 2407IFS=$as_save_IFS 2408 2409fi 2410fi 2411STRIP=$ac_cv_prog_STRIP 2412if test -n "$STRIP"; then 2413 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 2414$as_echo "$STRIP" >&6; } 2415else 2416 { $as_echo "$as_me:$LINENO: result: no" >&5 2417$as_echo "no" >&6; } 2418fi 2419 2420 2421fi 2422if test -z "$ac_cv_prog_STRIP"; then 2423 ac_ct_STRIP=$STRIP 2424 # Extract the first word of "strip", so it can be a program name with args. 2425set dummy strip; ac_word=$2 2426{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2427$as_echo_n "checking for $ac_word... " >&6; } 2428if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2429 $as_echo_n "(cached) " >&6 2430else 2431 if test -n "$ac_ct_STRIP"; then 2432 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2433else 2434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2435for as_dir in $PATH 2436do 2437 IFS=$as_save_IFS 2438 test -z "$as_dir" && as_dir=. 2439 for ac_exec_ext in '' $ac_executable_extensions; do 2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2441 ac_cv_prog_ac_ct_STRIP="strip" 2442 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2443 break 2 2444 fi 2445done 2446done 2447IFS=$as_save_IFS 2448 2449fi 2450fi 2451ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2452if test -n "$ac_ct_STRIP"; then 2453 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2454$as_echo "$ac_ct_STRIP" >&6; } 2455else 2456 { $as_echo "$as_me:$LINENO: result: no" >&5 2457$as_echo "no" >&6; } 2458fi 2459 2460 if test "x$ac_ct_STRIP" = x; then 2461 STRIP=":" 2462 else 2463 case $cross_compiling:$ac_tool_warned in 2464yes:) 2465{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2466$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2467ac_tool_warned=yes ;; 2468esac 2469 STRIP=$ac_ct_STRIP 2470 fi 2471else 2472 STRIP="$ac_cv_prog_STRIP" 2473fi 2474 2475fi 2476INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2477 2478{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 2479$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2480if test -z "$MKDIR_P"; then 2481 if test "${ac_cv_path_mkdir+set}" = set; then 2482 $as_echo_n "(cached) " >&6 2483else 2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2485for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2486do 2487 IFS=$as_save_IFS 2488 test -z "$as_dir" && as_dir=. 2489 for ac_prog in mkdir gmkdir; do 2490 for ac_exec_ext in '' $ac_executable_extensions; do 2491 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2492 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2493 'mkdir (GNU coreutils) '* | \ 2494 'mkdir (coreutils) '* | \ 2495 'mkdir (fileutils) '4.1*) 2496 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2497 break 3;; 2498 esac 2499 done 2500 done 2501done 2502IFS=$as_save_IFS 2503 2504fi 2505 2506 if test "${ac_cv_path_mkdir+set}" = set; then 2507 MKDIR_P="$ac_cv_path_mkdir -p" 2508 else 2509 # As a last resort, use the slow shell script. Don't cache a 2510 # value for MKDIR_P within a source directory, because that will 2511 # break other packages using the cache if that directory is 2512 # removed, or if the value is a relative name. 2513 test -d ./--version && rmdir ./--version 2514 MKDIR_P="$ac_install_sh -d" 2515 fi 2516fi 2517{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2518$as_echo "$MKDIR_P" >&6; } 2519 2520mkdir_p="$MKDIR_P" 2521case $mkdir_p in 2522 [\\/$]* | ?:[\\/]*) ;; 2523 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2524esac 2525 2526for ac_prog in gawk mawk nawk awk 2527do 2528 # Extract the first word of "$ac_prog", so it can be a program name with args. 2529set dummy $ac_prog; ac_word=$2 2530{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2531$as_echo_n "checking for $ac_word... " >&6; } 2532if test "${ac_cv_prog_AWK+set}" = set; then 2533 $as_echo_n "(cached) " >&6 2534else 2535 if test -n "$AWK"; then 2536 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2537else 2538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2539for as_dir in $PATH 2540do 2541 IFS=$as_save_IFS 2542 test -z "$as_dir" && as_dir=. 2543 for ac_exec_ext in '' $ac_executable_extensions; do 2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2545 ac_cv_prog_AWK="$ac_prog" 2546 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2547 break 2 2548 fi 2549done 2550done 2551IFS=$as_save_IFS 2552 2553fi 2554fi 2555AWK=$ac_cv_prog_AWK 2556if test -n "$AWK"; then 2557 { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2558$as_echo "$AWK" >&6; } 2559else 2560 { $as_echo "$as_me:$LINENO: result: no" >&5 2561$as_echo "no" >&6; } 2562fi 2563 2564 2565 test -n "$AWK" && break 2566done 2567 2568{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2569$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2570set x ${MAKE-make} 2571ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2572if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2573 $as_echo_n "(cached) " >&6 2574else 2575 cat >conftest.make <<\_ACEOF 2576SHELL = /bin/sh 2577all: 2578 @echo '@@@%%%=$(MAKE)=@@@%%%' 2579_ACEOF 2580# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2581case `${MAKE-make} -f conftest.make 2>/dev/null` in 2582 *@@@%%%=?*=@@@%%%*) 2583 eval ac_cv_prog_make_${ac_make}_set=yes;; 2584 *) 2585 eval ac_cv_prog_make_${ac_make}_set=no;; 2586esac 2587rm -f conftest.make 2588fi 2589if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2590 { $as_echo "$as_me:$LINENO: result: yes" >&5 2591$as_echo "yes" >&6; } 2592 SET_MAKE= 2593else 2594 { $as_echo "$as_me:$LINENO: result: no" >&5 2595$as_echo "no" >&6; } 2596 SET_MAKE="MAKE=${MAKE-make}" 2597fi 2598 2599rm -rf .tst 2>/dev/null 2600mkdir .tst 2>/dev/null 2601if test -d .tst; then 2602 am__leading_dot=. 2603else 2604 am__leading_dot=_ 2605fi 2606rmdir .tst 2>/dev/null 2607 2608if test "`cd $srcdir && pwd`" != "`pwd`"; then 2609 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2610 # is not polluted with repeated "-I." 2611 am__isrc=' -I$(srcdir)' 2612 # test to see if srcdir already configured 2613 if test -f $srcdir/config.status; then 2614 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2615$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2616 { (exit 1); exit 1; }; } 2617 fi 2618fi 2619 2620# test whether we have cygpath 2621if test -z "$CYGPATH_W"; then 2622 if (cygpath --version) >/dev/null 2>/dev/null; then 2623 CYGPATH_W='cygpath -w' 2624 else 2625 CYGPATH_W=echo 2626 fi 2627fi 2628 2629 2630# Define the identity of the package. 2631 PACKAGE=alsa-lib 2632 VERSION=1.0.26 2633 2634 2635cat >>confdefs.h <<_ACEOF 2636@%:@define PACKAGE "$PACKAGE" 2637_ACEOF 2638 2639 2640cat >>confdefs.h <<_ACEOF 2641@%:@define VERSION "$VERSION" 2642_ACEOF 2643 2644# Some tools Automake needs. 2645 2646ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2647 2648 2649AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2650 2651 2652AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2653 2654 2655AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2656 2657 2658MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2659 2660# We need awk for the "check" target. The system "awk" is bad on 2661# some platforms. 2662# Always define AMTAR for backward compatibility. Yes, it's still used 2663# in the wild :-( We should find a proper way to deprecate it ... 2664AMTAR='$${TAR-tar}' 2665 2666am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2667 2668 2669 2670 2671 2672eval LIBTOOL_VERSION_INFO="2:0:0" 2673 if test -n "${ACLOCAL}"; then 2674 INSTALL_M4_TRUE= 2675 INSTALL_M4_FALSE='#' 2676else 2677 INSTALL_M4_TRUE='#' 2678 INSTALL_M4_FALSE= 2679fi 2680 2681 2682# Test for new silent rules and enable only if they are available 2683@%:@ Check whether --enable-silent-rules was given. 2684if test "${enable_silent_rules+set}" = set; then 2685 enableval=$enable_silent_rules; 2686fi 2687 2688case $enable_silent_rules in 2689yes) AM_DEFAULT_VERBOSITY=0;; 2690no) AM_DEFAULT_VERBOSITY=1;; 2691*) AM_DEFAULT_VERBOSITY=0;; 2692esac 2693am_make=${MAKE-make} 2694{ $as_echo "$as_me:$LINENO: checking whether $am_make supports nested variables" >&5 2695$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2696if test "${am_cv_make_support_nested_variables+set}" = set; then 2697 $as_echo_n "(cached) " >&6 2698else 2699 if $as_echo 'TRUE=$(BAR$(V)) 2700BAR0=false 2701BAR1=true 2702V=1 2703am__doit: 2704 @$(TRUE) 2705.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2706 am_cv_make_support_nested_variables=yes 2707else 2708 am_cv_make_support_nested_variables=no 2709fi 2710fi 2711{ $as_echo "$as_me:$LINENO: result: $am_cv_make_support_nested_variables" >&5 2712$as_echo "$am_cv_make_support_nested_variables" >&6; } 2713if test $am_cv_make_support_nested_variables = yes; then 2714 AM_V='$(V)' 2715 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2716else 2717 AM_V=$AM_DEFAULT_VERBOSITY 2718 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2719fi 2720AM_BACKSLASH='\' 2721 2722 2723 2724 2725 2726if test "x$host" != "x$build" -a -z "`echo $CC | grep -e '-gcc'`"; 2727then 2728 { $as_echo "$as_me:$LINENO: checking for cross-compiler" >&5 2729$as_echo_n "checking for cross-compiler... " >&6; } 2730 2731 which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc 2732 which ${host_cpu}-${host_os}-gcc >/dev/null 2>&1 \ 2733 && CC=${host_cpu}-${host-os}-gcc 2734 which ${host_cpu}-${host_vendor}-${host_os}-gcc >/dev/null 2>&1 \ 2735 && CC=${host_cpu}-${host_vendor}-${host_os}-gcc 2736 2737 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2738$as_echo "$CC" >&6; } 2739fi 2740 2741CFLAGS="$CFLAGS -D_GNU_SOURCE" 2742 2743 2744ac_ext=c 2745ac_cpp='$CPP $CPPFLAGS' 2746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2748ac_compiler_gnu=$ac_cv_c_compiler_gnu 2749if test -n "$ac_tool_prefix"; then 2750 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2751set dummy ${ac_tool_prefix}gcc; ac_word=$2 2752{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2753$as_echo_n "checking for $ac_word... " >&6; } 2754if test "${ac_cv_prog_CC+set}" = set; then 2755 $as_echo_n "(cached) " >&6 2756else 2757 if test -n "$CC"; then 2758 ac_cv_prog_CC="$CC" # Let the user override the test. 2759else 2760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2761for as_dir in $PATH 2762do 2763 IFS=$as_save_IFS 2764 test -z "$as_dir" && as_dir=. 2765 for ac_exec_ext in '' $ac_executable_extensions; do 2766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2767 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2769 break 2 2770 fi 2771done 2772done 2773IFS=$as_save_IFS 2774 2775fi 2776fi 2777CC=$ac_cv_prog_CC 2778if test -n "$CC"; then 2779 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2780$as_echo "$CC" >&6; } 2781else 2782 { $as_echo "$as_me:$LINENO: result: no" >&5 2783$as_echo "no" >&6; } 2784fi 2785 2786 2787fi 2788if test -z "$ac_cv_prog_CC"; then 2789 ac_ct_CC=$CC 2790 # Extract the first word of "gcc", so it can be a program name with args. 2791set dummy gcc; ac_word=$2 2792{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2793$as_echo_n "checking for $ac_word... " >&6; } 2794if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2795 $as_echo_n "(cached) " >&6 2796else 2797 if test -n "$ac_ct_CC"; then 2798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2799else 2800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2801for as_dir in $PATH 2802do 2803 IFS=$as_save_IFS 2804 test -z "$as_dir" && as_dir=. 2805 for ac_exec_ext in '' $ac_executable_extensions; do 2806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2807 ac_cv_prog_ac_ct_CC="gcc" 2808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2809 break 2 2810 fi 2811done 2812done 2813IFS=$as_save_IFS 2814 2815fi 2816fi 2817ac_ct_CC=$ac_cv_prog_ac_ct_CC 2818if test -n "$ac_ct_CC"; then 2819 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2820$as_echo "$ac_ct_CC" >&6; } 2821else 2822 { $as_echo "$as_me:$LINENO: result: no" >&5 2823$as_echo "no" >&6; } 2824fi 2825 2826 if test "x$ac_ct_CC" = x; then 2827 CC="" 2828 else 2829 case $cross_compiling:$ac_tool_warned in 2830yes:) 2831{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 2832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2833ac_tool_warned=yes ;; 2834esac 2835 CC=$ac_ct_CC 2836 fi 2837else 2838 CC="$ac_cv_prog_CC" 2839fi 2840 2841if test -z "$CC"; then 2842 if test -n "$ac_tool_prefix"; then 2843 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2844set dummy ${ac_tool_prefix}cc; ac_word=$2 2845{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2846$as_echo_n "checking for $ac_word... " >&6; } 2847if test "${ac_cv_prog_CC+set}" = set; then 2848 $as_echo_n "(cached) " >&6 2849else 2850 if test -n "$CC"; then 2851 ac_cv_prog_CC="$CC" # Let the user override the test. 2852else 2853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2854for as_dir in $PATH 2855do 2856 IFS=$as_save_IFS 2857 test -z "$as_dir" && as_dir=. 2858 for ac_exec_ext in '' $ac_executable_extensions; do 2859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2860 ac_cv_prog_CC="${ac_tool_prefix}cc" 2861 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2862 break 2 2863 fi 2864done 2865done 2866IFS=$as_save_IFS 2867 2868fi 2869fi 2870CC=$ac_cv_prog_CC 2871if test -n "$CC"; then 2872 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2873$as_echo "$CC" >&6; } 2874else 2875 { $as_echo "$as_me:$LINENO: result: no" >&5 2876$as_echo "no" >&6; } 2877fi 2878 2879 2880 fi 2881fi 2882if test -z "$CC"; then 2883 # Extract the first word of "cc", so it can be a program name with args. 2884set dummy cc; ac_word=$2 2885{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2886$as_echo_n "checking for $ac_word... " >&6; } 2887if test "${ac_cv_prog_CC+set}" = set; then 2888 $as_echo_n "(cached) " >&6 2889else 2890 if test -n "$CC"; then 2891 ac_cv_prog_CC="$CC" # Let the user override the test. 2892else 2893 ac_prog_rejected=no 2894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2895for as_dir in $PATH 2896do 2897 IFS=$as_save_IFS 2898 test -z "$as_dir" && as_dir=. 2899 for ac_exec_ext in '' $ac_executable_extensions; do 2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2902 ac_prog_rejected=yes 2903 continue 2904 fi 2905 ac_cv_prog_CC="cc" 2906 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2907 break 2 2908 fi 2909done 2910done 2911IFS=$as_save_IFS 2912 2913if test $ac_prog_rejected = yes; then 2914 # We found a bogon in the path, so make sure we never use it. 2915 set dummy $ac_cv_prog_CC 2916 shift 2917 if test $@%:@ != 0; then 2918 # We chose a different compiler from the bogus one. 2919 # However, it has the same basename, so the bogon will be chosen 2920 # first if we set CC to just the basename; use the full file name. 2921 shift 2922 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2923 fi 2924fi 2925fi 2926fi 2927CC=$ac_cv_prog_CC 2928if test -n "$CC"; then 2929 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2930$as_echo "$CC" >&6; } 2931else 2932 { $as_echo "$as_me:$LINENO: result: no" >&5 2933$as_echo "no" >&6; } 2934fi 2935 2936 2937fi 2938if test -z "$CC"; then 2939 if test -n "$ac_tool_prefix"; then 2940 for ac_prog in cl.exe 2941 do 2942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2943set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2944{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2945$as_echo_n "checking for $ac_word... " >&6; } 2946if test "${ac_cv_prog_CC+set}" = set; then 2947 $as_echo_n "(cached) " >&6 2948else 2949 if test -n "$CC"; then 2950 ac_cv_prog_CC="$CC" # Let the user override the test. 2951else 2952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2953for as_dir in $PATH 2954do 2955 IFS=$as_save_IFS 2956 test -z "$as_dir" && as_dir=. 2957 for ac_exec_ext in '' $ac_executable_extensions; do 2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2959 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2960 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2961 break 2 2962 fi 2963done 2964done 2965IFS=$as_save_IFS 2966 2967fi 2968fi 2969CC=$ac_cv_prog_CC 2970if test -n "$CC"; then 2971 { $as_echo "$as_me:$LINENO: result: $CC" >&5 2972$as_echo "$CC" >&6; } 2973else 2974 { $as_echo "$as_me:$LINENO: result: no" >&5 2975$as_echo "no" >&6; } 2976fi 2977 2978 2979 test -n "$CC" && break 2980 done 2981fi 2982if test -z "$CC"; then 2983 ac_ct_CC=$CC 2984 for ac_prog in cl.exe 2985do 2986 # Extract the first word of "$ac_prog", so it can be a program name with args. 2987set dummy $ac_prog; ac_word=$2 2988{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2989$as_echo_n "checking for $ac_word... " >&6; } 2990if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2991 $as_echo_n "(cached) " >&6 2992else 2993 if test -n "$ac_ct_CC"; then 2994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2995else 2996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2997for as_dir in $PATH 2998do 2999 IFS=$as_save_IFS 3000 test -z "$as_dir" && as_dir=. 3001 for ac_exec_ext in '' $ac_executable_extensions; do 3002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3003 ac_cv_prog_ac_ct_CC="$ac_prog" 3004 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3005 break 2 3006 fi 3007done 3008done 3009IFS=$as_save_IFS 3010 3011fi 3012fi 3013ac_ct_CC=$ac_cv_prog_ac_ct_CC 3014if test -n "$ac_ct_CC"; then 3015 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3016$as_echo "$ac_ct_CC" >&6; } 3017else 3018 { $as_echo "$as_me:$LINENO: result: no" >&5 3019$as_echo "no" >&6; } 3020fi 3021 3022 3023 test -n "$ac_ct_CC" && break 3024done 3025 3026 if test "x$ac_ct_CC" = x; then 3027 CC="" 3028 else 3029 case $cross_compiling:$ac_tool_warned in 3030yes:) 3031{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 3032$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3033ac_tool_warned=yes ;; 3034esac 3035 CC=$ac_ct_CC 3036 fi 3037fi 3038 3039fi 3040 3041 3042test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3044{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3045See \`config.log' for more details." >&5 3046$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 3047See \`config.log' for more details." >&2;} 3048 { (exit 1); exit 1; }; }; } 3049 3050# Provide some information about the compiler. 3051$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 3052set X $ac_compile 3053ac_compiler=$2 3054{ (ac_try="$ac_compiler --version >&5" 3055case "(($ac_try" in 3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3057 *) ac_try_echo=$ac_try;; 3058esac 3059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3060$as_echo "$ac_try_echo") >&5 3061 (eval "$ac_compiler --version >&5") 2>&5 3062 ac_status=$? 3063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3064 (exit $ac_status); } 3065{ (ac_try="$ac_compiler -v >&5" 3066case "(($ac_try" in 3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3068 *) ac_try_echo=$ac_try;; 3069esac 3070eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3071$as_echo "$ac_try_echo") >&5 3072 (eval "$ac_compiler -v >&5") 2>&5 3073 ac_status=$? 3074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075 (exit $ac_status); } 3076{ (ac_try="$ac_compiler -V >&5" 3077case "(($ac_try" in 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3079 *) ac_try_echo=$ac_try;; 3080esac 3081eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3082$as_echo "$ac_try_echo") >&5 3083 (eval "$ac_compiler -V >&5") 2>&5 3084 ac_status=$? 3085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3086 (exit $ac_status); } 3087 3088cat >conftest.$ac_ext <<_ACEOF 3089/* confdefs.h. */ 3090_ACEOF 3091cat confdefs.h >>conftest.$ac_ext 3092cat >>conftest.$ac_ext <<_ACEOF 3093/* end confdefs.h. */ 3094 3095int 3096main () 3097{ 3098 3099 ; 3100 return 0; 3101} 3102_ACEOF 3103ac_clean_files_save=$ac_clean_files 3104ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3105# Try to create an executable without -o first, disregard a.out. 3106# It will help us diagnose broken compilers, and finding out an intuition 3107# of exeext. 3108{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 3109$as_echo_n "checking for C compiler default output file name... " >&6; } 3110ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3111 3112# The possible output files: 3113ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3114 3115ac_rmfiles= 3116for ac_file in $ac_files 3117do 3118 case $ac_file in 3119 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3120 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3121 esac 3122done 3123rm -f $ac_rmfiles 3124 3125if { (ac_try="$ac_link_default" 3126case "(($ac_try" in 3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3128 *) ac_try_echo=$ac_try;; 3129esac 3130eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3131$as_echo "$ac_try_echo") >&5 3132 (eval "$ac_link_default") 2>&5 3133 ac_status=$? 3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3135 (exit $ac_status); }; then 3136 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3137# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3138# in a Makefile. We should not override ac_cv_exeext if it was cached, 3139# so that the user can short-circuit this test for compilers unknown to 3140# Autoconf. 3141for ac_file in $ac_files '' 3142do 3143 test -f "$ac_file" || continue 3144 case $ac_file in 3145 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3146 ;; 3147 [ab].out ) 3148 # We found the default executable, but exeext='' is most 3149 # certainly right. 3150 break;; 3151 *.* ) 3152 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3153 then :; else 3154 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3155 fi 3156 # We set ac_cv_exeext here because the later test for it is not 3157 # safe: cross compilers may not add the suffix if given an `-o' 3158 # argument, so we may need to know it at that point already. 3159 # Even if this section looks crufty: it has the advantage of 3160 # actually working. 3161 break;; 3162 * ) 3163 break;; 3164 esac 3165done 3166test "$ac_cv_exeext" = no && ac_cv_exeext= 3167 3168else 3169 ac_file='' 3170fi 3171 3172{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 3173$as_echo "$ac_file" >&6; } 3174if test -z "$ac_file"; then 3175 $as_echo "$as_me: failed program was:" >&5 3176sed 's/^/| /' conftest.$ac_ext >&5 3177 3178{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3180{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 3181See \`config.log' for more details." >&5 3182$as_echo "$as_me: error: C compiler cannot create executables 3183See \`config.log' for more details." >&2;} 3184 { (exit 77); exit 77; }; }; } 3185fi 3186 3187ac_exeext=$ac_cv_exeext 3188 3189# Check that the compiler produces executables we can run. If not, either 3190# the compiler is broken, or we cross compile. 3191{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 3192$as_echo_n "checking whether the C compiler works... " >&6; } 3193# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 3194# If not cross compiling, check that we can run a simple program. 3195if test "$cross_compiling" != yes; then 3196 if { ac_try='./$ac_file' 3197 { (case "(($ac_try" in 3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3199 *) ac_try_echo=$ac_try;; 3200esac 3201eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3202$as_echo "$ac_try_echo") >&5 3203 (eval "$ac_try") 2>&5 3204 ac_status=$? 3205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3206 (exit $ac_status); }; }; then 3207 cross_compiling=no 3208 else 3209 if test "$cross_compiling" = maybe; then 3210 cross_compiling=yes 3211 else 3212 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3214{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 3215If you meant to cross compile, use \`--host'. 3216See \`config.log' for more details." >&5 3217$as_echo "$as_me: error: cannot run C compiled programs. 3218If you meant to cross compile, use \`--host'. 3219See \`config.log' for more details." >&2;} 3220 { (exit 1); exit 1; }; }; } 3221 fi 3222 fi 3223fi 3224{ $as_echo "$as_me:$LINENO: result: yes" >&5 3225$as_echo "yes" >&6; } 3226 3227rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3228ac_clean_files=$ac_clean_files_save 3229# Check that the compiler produces executables we can run. If not, either 3230# the compiler is broken, or we cross compile. 3231{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 3232$as_echo_n "checking whether we are cross compiling... " >&6; } 3233{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 3234$as_echo "$cross_compiling" >&6; } 3235 3236{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 3237$as_echo_n "checking for suffix of executables... " >&6; } 3238if { (ac_try="$ac_link" 3239case "(($ac_try" in 3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3241 *) ac_try_echo=$ac_try;; 3242esac 3243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3244$as_echo "$ac_try_echo") >&5 3245 (eval "$ac_link") 2>&5 3246 ac_status=$? 3247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3248 (exit $ac_status); }; then 3249 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3250# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3251# work properly (i.e., refer to `conftest.exe'), while it won't with 3252# `rm'. 3253for ac_file in conftest.exe conftest conftest.*; do 3254 test -f "$ac_file" || continue 3255 case $ac_file in 3256 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3257 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3258 break;; 3259 * ) break;; 3260 esac 3261done 3262else 3263 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3265{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 3266See \`config.log' for more details." >&5 3267$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 3268See \`config.log' for more details." >&2;} 3269 { (exit 1); exit 1; }; }; } 3270fi 3271 3272rm -f conftest$ac_cv_exeext 3273{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 3274$as_echo "$ac_cv_exeext" >&6; } 3275 3276rm -f conftest.$ac_ext 3277EXEEXT=$ac_cv_exeext 3278ac_exeext=$EXEEXT 3279{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 3280$as_echo_n "checking for suffix of object files... " >&6; } 3281if test "${ac_cv_objext+set}" = set; then 3282 $as_echo_n "(cached) " >&6 3283else 3284 cat >conftest.$ac_ext <<_ACEOF 3285/* confdefs.h. */ 3286_ACEOF 3287cat confdefs.h >>conftest.$ac_ext 3288cat >>conftest.$ac_ext <<_ACEOF 3289/* end confdefs.h. */ 3290 3291int 3292main () 3293{ 3294 3295 ; 3296 return 0; 3297} 3298_ACEOF 3299rm -f conftest.o conftest.obj 3300if { (ac_try="$ac_compile" 3301case "(($ac_try" in 3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3303 *) ac_try_echo=$ac_try;; 3304esac 3305eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3306$as_echo "$ac_try_echo") >&5 3307 (eval "$ac_compile") 2>&5 3308 ac_status=$? 3309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3310 (exit $ac_status); }; then 3311 for ac_file in conftest.o conftest.obj conftest.*; do 3312 test -f "$ac_file" || continue; 3313 case $ac_file in 3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3316 break;; 3317 esac 3318done 3319else 3320 $as_echo "$as_me: failed program was:" >&5 3321sed 's/^/| /' conftest.$ac_ext >&5 3322 3323{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 3324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3325{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3326See \`config.log' for more details." >&5 3327$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3328See \`config.log' for more details." >&2;} 3329 { (exit 1); exit 1; }; }; } 3330fi 3331 3332rm -f conftest.$ac_cv_objext conftest.$ac_ext 3333fi 3334{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3335$as_echo "$ac_cv_objext" >&6; } 3336OBJEXT=$ac_cv_objext 3337ac_objext=$OBJEXT 3338{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3339$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3340if test "${ac_cv_c_compiler_gnu+set}" = set; then 3341 $as_echo_n "(cached) " >&6 3342else 3343 cat >conftest.$ac_ext <<_ACEOF 3344/* confdefs.h. */ 3345_ACEOF 3346cat confdefs.h >>conftest.$ac_ext 3347cat >>conftest.$ac_ext <<_ACEOF 3348/* end confdefs.h. */ 3349 3350int 3351main () 3352{ 3353#ifndef __GNUC__ 3354 choke me 3355#endif 3356 3357 ; 3358 return 0; 3359} 3360_ACEOF 3361rm -f conftest.$ac_objext 3362if { (ac_try="$ac_compile" 3363case "(($ac_try" in 3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3365 *) ac_try_echo=$ac_try;; 3366esac 3367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3368$as_echo "$ac_try_echo") >&5 3369 (eval "$ac_compile") 2>conftest.er1 3370 ac_status=$? 3371 grep -v '^ *+' conftest.er1 >conftest.err 3372 rm -f conftest.er1 3373 cat conftest.err >&5 3374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3375 (exit $ac_status); } && { 3376 test -z "$ac_c_werror_flag" || 3377 test ! -s conftest.err 3378 } && test -s conftest.$ac_objext; then 3379 ac_compiler_gnu=yes 3380else 3381 $as_echo "$as_me: failed program was:" >&5 3382sed 's/^/| /' conftest.$ac_ext >&5 3383 3384 ac_compiler_gnu=no 3385fi 3386 3387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3388ac_cv_c_compiler_gnu=$ac_compiler_gnu 3389 3390fi 3391{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3392$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3393if test $ac_compiler_gnu = yes; then 3394 GCC=yes 3395else 3396 GCC= 3397fi 3398ac_test_CFLAGS=${CFLAGS+set} 3399ac_save_CFLAGS=$CFLAGS 3400{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3401$as_echo_n "checking whether $CC accepts -g... " >&6; } 3402if test "${ac_cv_prog_cc_g+set}" = set; then 3403 $as_echo_n "(cached) " >&6 3404else 3405 ac_save_c_werror_flag=$ac_c_werror_flag 3406 ac_c_werror_flag=yes 3407 ac_cv_prog_cc_g=no 3408 CFLAGS="-g" 3409 cat >conftest.$ac_ext <<_ACEOF 3410/* confdefs.h. */ 3411_ACEOF 3412cat confdefs.h >>conftest.$ac_ext 3413cat >>conftest.$ac_ext <<_ACEOF 3414/* end confdefs.h. */ 3415 3416int 3417main () 3418{ 3419 3420 ; 3421 return 0; 3422} 3423_ACEOF 3424rm -f conftest.$ac_objext 3425if { (ac_try="$ac_compile" 3426case "(($ac_try" in 3427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3428 *) ac_try_echo=$ac_try;; 3429esac 3430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3431$as_echo "$ac_try_echo") >&5 3432 (eval "$ac_compile") 2>conftest.er1 3433 ac_status=$? 3434 grep -v '^ *+' conftest.er1 >conftest.err 3435 rm -f conftest.er1 3436 cat conftest.err >&5 3437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3438 (exit $ac_status); } && { 3439 test -z "$ac_c_werror_flag" || 3440 test ! -s conftest.err 3441 } && test -s conftest.$ac_objext; then 3442 ac_cv_prog_cc_g=yes 3443else 3444 $as_echo "$as_me: failed program was:" >&5 3445sed 's/^/| /' conftest.$ac_ext >&5 3446 3447 CFLAGS="" 3448 cat >conftest.$ac_ext <<_ACEOF 3449/* confdefs.h. */ 3450_ACEOF 3451cat confdefs.h >>conftest.$ac_ext 3452cat >>conftest.$ac_ext <<_ACEOF 3453/* end confdefs.h. */ 3454 3455int 3456main () 3457{ 3458 3459 ; 3460 return 0; 3461} 3462_ACEOF 3463rm -f conftest.$ac_objext 3464if { (ac_try="$ac_compile" 3465case "(($ac_try" in 3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3467 *) ac_try_echo=$ac_try;; 3468esac 3469eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3470$as_echo "$ac_try_echo") >&5 3471 (eval "$ac_compile") 2>conftest.er1 3472 ac_status=$? 3473 grep -v '^ *+' conftest.er1 >conftest.err 3474 rm -f conftest.er1 3475 cat conftest.err >&5 3476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3477 (exit $ac_status); } && { 3478 test -z "$ac_c_werror_flag" || 3479 test ! -s conftest.err 3480 } && test -s conftest.$ac_objext; then 3481 : 3482else 3483 $as_echo "$as_me: failed program was:" >&5 3484sed 's/^/| /' conftest.$ac_ext >&5 3485 3486 ac_c_werror_flag=$ac_save_c_werror_flag 3487 CFLAGS="-g" 3488 cat >conftest.$ac_ext <<_ACEOF 3489/* confdefs.h. */ 3490_ACEOF 3491cat confdefs.h >>conftest.$ac_ext 3492cat >>conftest.$ac_ext <<_ACEOF 3493/* end confdefs.h. */ 3494 3495int 3496main () 3497{ 3498 3499 ; 3500 return 0; 3501} 3502_ACEOF 3503rm -f conftest.$ac_objext 3504if { (ac_try="$ac_compile" 3505case "(($ac_try" in 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3507 *) ac_try_echo=$ac_try;; 3508esac 3509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3510$as_echo "$ac_try_echo") >&5 3511 (eval "$ac_compile") 2>conftest.er1 3512 ac_status=$? 3513 grep -v '^ *+' conftest.er1 >conftest.err 3514 rm -f conftest.er1 3515 cat conftest.err >&5 3516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 (exit $ac_status); } && { 3518 test -z "$ac_c_werror_flag" || 3519 test ! -s conftest.err 3520 } && test -s conftest.$ac_objext; then 3521 ac_cv_prog_cc_g=yes 3522else 3523 $as_echo "$as_me: failed program was:" >&5 3524sed 's/^/| /' conftest.$ac_ext >&5 3525 3526 3527fi 3528 3529rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3530fi 3531 3532rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3533fi 3534 3535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3536 ac_c_werror_flag=$ac_save_c_werror_flag 3537fi 3538{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3539$as_echo "$ac_cv_prog_cc_g" >&6; } 3540if test "$ac_test_CFLAGS" = set; then 3541 CFLAGS=$ac_save_CFLAGS 3542elif test $ac_cv_prog_cc_g = yes; then 3543 if test "$GCC" = yes; then 3544 CFLAGS="-g -O2" 3545 else 3546 CFLAGS="-g" 3547 fi 3548else 3549 if test "$GCC" = yes; then 3550 CFLAGS="-O2" 3551 else 3552 CFLAGS= 3553 fi 3554fi 3555{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3556$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3557if test "${ac_cv_prog_cc_c89+set}" = set; then 3558 $as_echo_n "(cached) " >&6 3559else 3560 ac_cv_prog_cc_c89=no 3561ac_save_CC=$CC 3562cat >conftest.$ac_ext <<_ACEOF 3563/* confdefs.h. */ 3564_ACEOF 3565cat confdefs.h >>conftest.$ac_ext 3566cat >>conftest.$ac_ext <<_ACEOF 3567/* end confdefs.h. */ 3568#include <stdarg.h> 3569#include <stdio.h> 3570#include <sys/types.h> 3571#include <sys/stat.h> 3572/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3573struct buf { int x; }; 3574FILE * (*rcsopen) (struct buf *, struct stat *, int); 3575static char *e (p, i) 3576 char **p; 3577 int i; 3578{ 3579 return p[i]; 3580} 3581static char *f (char * (*g) (char **, int), char **p, ...) 3582{ 3583 char *s; 3584 va_list v; 3585 va_start (v,p); 3586 s = g (p, va_arg (v,int)); 3587 va_end (v); 3588 return s; 3589} 3590 3591/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3592 function prototypes and stuff, but not '\xHH' hex character constants. 3593 These don't provoke an error unfortunately, instead are silently treated 3594 as 'x'. The following induces an error, until -std is added to get 3595 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3596 array size at least. It's necessary to write '\x00'==0 to get something 3597 that's true only with -std. */ 3598int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3599 3600/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3601 inside strings and character constants. */ 3602#define FOO(x) 'x' 3603int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3604 3605int test (int i, double x); 3606struct s1 {int (*f) (int a);}; 3607struct s2 {int (*f) (double a);}; 3608int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3609int argc; 3610char **argv; 3611int 3612main () 3613{ 3614return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3615 ; 3616 return 0; 3617} 3618_ACEOF 3619for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3620 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3621do 3622 CC="$ac_save_CC $ac_arg" 3623 rm -f conftest.$ac_objext 3624if { (ac_try="$ac_compile" 3625case "(($ac_try" in 3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3627 *) ac_try_echo=$ac_try;; 3628esac 3629eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3630$as_echo "$ac_try_echo") >&5 3631 (eval "$ac_compile") 2>conftest.er1 3632 ac_status=$? 3633 grep -v '^ *+' conftest.er1 >conftest.err 3634 rm -f conftest.er1 3635 cat conftest.err >&5 3636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3637 (exit $ac_status); } && { 3638 test -z "$ac_c_werror_flag" || 3639 test ! -s conftest.err 3640 } && test -s conftest.$ac_objext; then 3641 ac_cv_prog_cc_c89=$ac_arg 3642else 3643 $as_echo "$as_me: failed program was:" >&5 3644sed 's/^/| /' conftest.$ac_ext >&5 3645 3646 3647fi 3648 3649rm -f core conftest.err conftest.$ac_objext 3650 test "x$ac_cv_prog_cc_c89" != "xno" && break 3651done 3652rm -f conftest.$ac_ext 3653CC=$ac_save_CC 3654 3655fi 3656# AC_CACHE_VAL 3657case "x$ac_cv_prog_cc_c89" in 3658 x) 3659 { $as_echo "$as_me:$LINENO: result: none needed" >&5 3660$as_echo "none needed" >&6; } ;; 3661 xno) 3662 { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3663$as_echo "unsupported" >&6; } ;; 3664 *) 3665 CC="$CC $ac_cv_prog_cc_c89" 3666 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3667$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3668esac 3669 3670 3671ac_ext=c 3672ac_cpp='$CPP $CPPFLAGS' 3673ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3674ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3675ac_compiler_gnu=$ac_cv_c_compiler_gnu 3676DEPDIR="${am__leading_dot}deps" 3677 3678ac_config_commands="$ac_config_commands depfiles" 3679 3680 3681am_make=${MAKE-make} 3682cat > confinc << 'END' 3683am__doit: 3684 @echo this is the am__doit target 3685.PHONY: am__doit 3686END 3687# If we don't find an include directive, just comment out the code. 3688{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3689$as_echo_n "checking for style of include used by $am_make... " >&6; } 3690am__include="#" 3691am__quote= 3692_am_result=none 3693# First try GNU make style include. 3694echo "include confinc" > confmf 3695# Ignore all kinds of additional output from `make'. 3696case `$am_make -s -f confmf 2> /dev/null` in #( 3697*the\ am__doit\ target*) 3698 am__include=include 3699 am__quote= 3700 _am_result=GNU 3701 ;; 3702esac 3703# Now try BSD make style include. 3704if test "$am__include" = "#"; then 3705 echo '.include "confinc"' > confmf 3706 case `$am_make -s -f confmf 2> /dev/null` in #( 3707 *the\ am__doit\ target*) 3708 am__include=.include 3709 am__quote="\"" 3710 _am_result=BSD 3711 ;; 3712 esac 3713fi 3714 3715 3716{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3717$as_echo "$_am_result" >&6; } 3718rm -f confinc confmf 3719 3720@%:@ Check whether --enable-dependency-tracking was given. 3721if test "${enable_dependency_tracking+set}" = set; then 3722 enableval=$enable_dependency_tracking; 3723fi 3724 3725if test "x$enable_dependency_tracking" != xno; then 3726 am_depcomp="$ac_aux_dir/depcomp" 3727 AMDEPBACKSLASH='\' 3728 am__nodep='_no' 3729fi 3730 if test "x$enable_dependency_tracking" != xno; then 3731 AMDEP_TRUE= 3732 AMDEP_FALSE='#' 3733else 3734 AMDEP_TRUE='#' 3735 AMDEP_FALSE= 3736fi 3737 3738 3739 3740depcc="$CC" am_compiler_list= 3741 3742{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3743$as_echo_n "checking dependency style of $depcc... " >&6; } 3744if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3745 $as_echo_n "(cached) " >&6 3746else 3747 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3748 # We make a subdir and do the tests there. Otherwise we can end up 3749 # making bogus files that we don't know about and never remove. For 3750 # instance it was reported that on HP-UX the gcc test will end up 3751 # making a dummy file named `D' -- because `-MD' means `put the output 3752 # in D'. 3753 rm -rf conftest.dir 3754 mkdir conftest.dir 3755 # Copy depcomp to subdir because otherwise we won't find it if we're 3756 # using a relative directory. 3757 cp "$am_depcomp" conftest.dir 3758 cd conftest.dir 3759 # We will build objects and dependencies in a subdirectory because 3760 # it helps to detect inapplicable dependency modes. For instance 3761 # both Tru64's cc and ICC support -MD to output dependencies as a 3762 # side effect of compilation, but ICC will put the dependencies in 3763 # the current directory while Tru64 will put them in the object 3764 # directory. 3765 mkdir sub 3766 3767 am_cv_CC_dependencies_compiler_type=none 3768 if test "$am_compiler_list" = ""; then 3769 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3770 fi 3771 am__universal=false 3772 case " $depcc " in #( 3773 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3774 esac 3775 3776 for depmode in $am_compiler_list; do 3777 # Setup a source with many dependencies, because some compilers 3778 # like to wrap large dependency lists on column 80 (with \), and 3779 # we should not choose a depcomp mode which is confused by this. 3780 # 3781 # We need to recreate these files for each test, as the compiler may 3782 # overwrite some of them when testing with obscure command lines. 3783 # This happens at least with the AIX C compiler. 3784 : > sub/conftest.c 3785 for i in 1 2 3 4 5 6; do 3786 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3787 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3788 # Solaris 8's {/usr,}/bin/sh. 3789 touch sub/conftst$i.h 3790 done 3791 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3792 3793 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3794 # mode. It turns out that the SunPro C++ compiler does not properly 3795 # handle `-M -o', and we need to detect this. Also, some Intel 3796 # versions had trouble with output in subdirs 3797 am__obj=sub/conftest.${OBJEXT-o} 3798 am__minus_obj="-o $am__obj" 3799 case $depmode in 3800 gcc) 3801 # This depmode causes a compiler race in universal mode. 3802 test "$am__universal" = false || continue 3803 ;; 3804 nosideeffect) 3805 # after this tag, mechanisms are not by side-effect, so they'll 3806 # only be used when explicitly requested 3807 if test "x$enable_dependency_tracking" = xyes; then 3808 continue 3809 else 3810 break 3811 fi 3812 ;; 3813 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3814 # This compiler won't grok `-c -o', but also, the minuso test has 3815 # not run yet. These depmodes are late enough in the game, and 3816 # so weak that their functioning should not be impacted. 3817 am__obj=conftest.${OBJEXT-o} 3818 am__minus_obj= 3819 ;; 3820 none) break ;; 3821 esac 3822 if depmode=$depmode \ 3823 source=sub/conftest.c object=$am__obj \ 3824 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3825 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3826 >/dev/null 2>conftest.err && 3827 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3828 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3829 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3830 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3831 # icc doesn't choke on unknown options, it will just issue warnings 3832 # or remarks (even with -Werror). So we grep stderr for any message 3833 # that says an option was ignored or not supported. 3834 # When given -MP, icc 7.0 and 7.1 complain thusly: 3835 # icc: Command line warning: ignoring option '-M'; no argument required 3836 # The diagnosis changed in icc 8.0: 3837 # icc: Command line remark: option '-MP' not supported 3838 if (grep 'ignoring option' conftest.err || 3839 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3840 am_cv_CC_dependencies_compiler_type=$depmode 3841 break 3842 fi 3843 fi 3844 done 3845 3846 cd .. 3847 rm -rf conftest.dir 3848else 3849 am_cv_CC_dependencies_compiler_type=none 3850fi 3851 3852fi 3853{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3854$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3855CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3856 3857 if 3858 test "x$enable_dependency_tracking" != xno \ 3859 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3860 am__fastdepCC_TRUE= 3861 am__fastdepCC_FALSE='#' 3862else 3863 am__fastdepCC_TRUE='#' 3864 am__fastdepCC_FALSE= 3865fi 3866 3867 3868ac_ext=c 3869ac_cpp='$CPP $CPPFLAGS' 3870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3872ac_compiler_gnu=$ac_cv_c_compiler_gnu 3873{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3874$as_echo_n "checking how to run the C preprocessor... " >&6; } 3875# On Suns, sometimes $CPP names a directory. 3876if test -n "$CPP" && test -d "$CPP"; then 3877 CPP= 3878fi 3879if test -z "$CPP"; then 3880 if test "${ac_cv_prog_CPP+set}" = set; then 3881 $as_echo_n "(cached) " >&6 3882else 3883 # Double quotes because CPP needs to be expanded 3884 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3885 do 3886 ac_preproc_ok=false 3887for ac_c_preproc_warn_flag in '' yes 3888do 3889 # Use a header file that comes with gcc, so configuring glibc 3890 # with a fresh cross-compiler works. 3891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3892 # <limits.h> exists even on freestanding compilers. 3893 # On the NeXT, cc -E runs the code through the compiler's parser, 3894 # not just through cpp. "Syntax error" is here to catch this case. 3895 cat >conftest.$ac_ext <<_ACEOF 3896/* confdefs.h. */ 3897_ACEOF 3898cat confdefs.h >>conftest.$ac_ext 3899cat >>conftest.$ac_ext <<_ACEOF 3900/* end confdefs.h. */ 3901@%:@ifdef __STDC__ 3902@%:@ include <limits.h> 3903@%:@else 3904@%:@ include <assert.h> 3905@%:@endif 3906 Syntax error 3907_ACEOF 3908if { (ac_try="$ac_cpp conftest.$ac_ext" 3909case "(($ac_try" in 3910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3911 *) ac_try_echo=$ac_try;; 3912esac 3913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3914$as_echo "$ac_try_echo") >&5 3915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3916 ac_status=$? 3917 grep -v '^ *+' conftest.er1 >conftest.err 3918 rm -f conftest.er1 3919 cat conftest.err >&5 3920 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3921 (exit $ac_status); } >/dev/null && { 3922 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3923 test ! -s conftest.err 3924 }; then 3925 : 3926else 3927 $as_echo "$as_me: failed program was:" >&5 3928sed 's/^/| /' conftest.$ac_ext >&5 3929 3930 # Broken: fails on valid input. 3931continue 3932fi 3933 3934rm -f conftest.err conftest.$ac_ext 3935 3936 # OK, works on sane cases. Now check whether nonexistent headers 3937 # can be detected and how. 3938 cat >conftest.$ac_ext <<_ACEOF 3939/* confdefs.h. */ 3940_ACEOF 3941cat confdefs.h >>conftest.$ac_ext 3942cat >>conftest.$ac_ext <<_ACEOF 3943/* end confdefs.h. */ 3944@%:@include <ac_nonexistent.h> 3945_ACEOF 3946if { (ac_try="$ac_cpp conftest.$ac_ext" 3947case "(($ac_try" in 3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3949 *) ac_try_echo=$ac_try;; 3950esac 3951eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3952$as_echo "$ac_try_echo") >&5 3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3954 ac_status=$? 3955 grep -v '^ *+' conftest.er1 >conftest.err 3956 rm -f conftest.er1 3957 cat conftest.err >&5 3958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3959 (exit $ac_status); } >/dev/null && { 3960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3961 test ! -s conftest.err 3962 }; then 3963 # Broken: success on invalid input. 3964continue 3965else 3966 $as_echo "$as_me: failed program was:" >&5 3967sed 's/^/| /' conftest.$ac_ext >&5 3968 3969 # Passes both tests. 3970ac_preproc_ok=: 3971break 3972fi 3973 3974rm -f conftest.err conftest.$ac_ext 3975 3976done 3977# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3978rm -f conftest.err conftest.$ac_ext 3979if $ac_preproc_ok; then 3980 break 3981fi 3982 3983 done 3984 ac_cv_prog_CPP=$CPP 3985 3986fi 3987 CPP=$ac_cv_prog_CPP 3988else 3989 ac_cv_prog_CPP=$CPP 3990fi 3991{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 3992$as_echo "$CPP" >&6; } 3993ac_preproc_ok=false 3994for ac_c_preproc_warn_flag in '' yes 3995do 3996 # Use a header file that comes with gcc, so configuring glibc 3997 # with a fresh cross-compiler works. 3998 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3999 # <limits.h> exists even on freestanding compilers. 4000 # On the NeXT, cc -E runs the code through the compiler's parser, 4001 # not just through cpp. "Syntax error" is here to catch this case. 4002 cat >conftest.$ac_ext <<_ACEOF 4003/* confdefs.h. */ 4004_ACEOF 4005cat confdefs.h >>conftest.$ac_ext 4006cat >>conftest.$ac_ext <<_ACEOF 4007/* end confdefs.h. */ 4008@%:@ifdef __STDC__ 4009@%:@ include <limits.h> 4010@%:@else 4011@%:@ include <assert.h> 4012@%:@endif 4013 Syntax error 4014_ACEOF 4015if { (ac_try="$ac_cpp conftest.$ac_ext" 4016case "(($ac_try" in 4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4018 *) ac_try_echo=$ac_try;; 4019esac 4020eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4021$as_echo "$ac_try_echo") >&5 4022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4023 ac_status=$? 4024 grep -v '^ *+' conftest.er1 >conftest.err 4025 rm -f conftest.er1 4026 cat conftest.err >&5 4027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4028 (exit $ac_status); } >/dev/null && { 4029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4030 test ! -s conftest.err 4031 }; then 4032 : 4033else 4034 $as_echo "$as_me: failed program was:" >&5 4035sed 's/^/| /' conftest.$ac_ext >&5 4036 4037 # Broken: fails on valid input. 4038continue 4039fi 4040 4041rm -f conftest.err conftest.$ac_ext 4042 4043 # OK, works on sane cases. Now check whether nonexistent headers 4044 # can be detected and how. 4045 cat >conftest.$ac_ext <<_ACEOF 4046/* confdefs.h. */ 4047_ACEOF 4048cat confdefs.h >>conftest.$ac_ext 4049cat >>conftest.$ac_ext <<_ACEOF 4050/* end confdefs.h. */ 4051@%:@include <ac_nonexistent.h> 4052_ACEOF 4053if { (ac_try="$ac_cpp conftest.$ac_ext" 4054case "(($ac_try" in 4055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4056 *) ac_try_echo=$ac_try;; 4057esac 4058eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4059$as_echo "$ac_try_echo") >&5 4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4061 ac_status=$? 4062 grep -v '^ *+' conftest.er1 >conftest.err 4063 rm -f conftest.er1 4064 cat conftest.err >&5 4065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4066 (exit $ac_status); } >/dev/null && { 4067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4068 test ! -s conftest.err 4069 }; then 4070 # Broken: success on invalid input. 4071continue 4072else 4073 $as_echo "$as_me: failed program was:" >&5 4074sed 's/^/| /' conftest.$ac_ext >&5 4075 4076 # Passes both tests. 4077ac_preproc_ok=: 4078break 4079fi 4080 4081rm -f conftest.err conftest.$ac_ext 4082 4083done 4084# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4085rm -f conftest.err conftest.$ac_ext 4086if $ac_preproc_ok; then 4087 : 4088else 4089 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 4090$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4091{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4092See \`config.log' for more details." >&5 4093$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4094See \`config.log' for more details." >&2;} 4095 { (exit 1); exit 1; }; }; } 4096fi 4097 4098ac_ext=c 4099ac_cpp='$CPP $CPPFLAGS' 4100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4102ac_compiler_gnu=$ac_cv_c_compiler_gnu 4103 4104# Find a good install program. We prefer a C program (faster), 4105# so one script is as good as another. But avoid the broken or 4106# incompatible versions: 4107# SysV /etc/install, /usr/sbin/install 4108# SunOS /usr/etc/install 4109# IRIX /sbin/install 4110# AIX /bin/install 4111# AmigaOS /C/install, which installs bootblocks on floppy discs 4112# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 4113# AFS /usr/afsws/bin/install, which mishandles nonexistent args 4114# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4115# OS/2's system install, which has a completely different semantic 4116# ./install, which can be erroneously created by make from ./install.sh. 4117# Reject install programs that cannot install multiple files. 4118{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4119$as_echo_n "checking for a BSD-compatible install... " >&6; } 4120if test -z "$INSTALL"; then 4121if test "${ac_cv_path_install+set}" = set; then 4122 $as_echo_n "(cached) " >&6 4123else 4124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4125for as_dir in $PATH 4126do 4127 IFS=$as_save_IFS 4128 test -z "$as_dir" && as_dir=. 4129 # Account for people who put trailing slashes in PATH elements. 4130case $as_dir/ in 4131 ./ | .// | /cC/* | \ 4132 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 4133 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 4134 /usr/ucb/* ) ;; 4135 *) 4136 # OSF1 and SCO ODT 3.0 have their own names for install. 4137 # Don't use installbsd from OSF since it installs stuff as root 4138 # by default. 4139 for ac_prog in ginstall scoinst install; do 4140 for ac_exec_ext in '' $ac_executable_extensions; do 4141 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 4142 if test $ac_prog = install && 4143 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4144 # AIX install. It has an incompatible calling convention. 4145 : 4146 elif test $ac_prog = install && 4147 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 4148 # program-specific install script used by HP pwplus--don't use. 4149 : 4150 else 4151 rm -rf conftest.one conftest.two conftest.dir 4152 echo one > conftest.one 4153 echo two > conftest.two 4154 mkdir conftest.dir 4155 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 4156 test -s conftest.one && test -s conftest.two && 4157 test -s conftest.dir/conftest.one && 4158 test -s conftest.dir/conftest.two 4159 then 4160 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4161 break 3 4162 fi 4163 fi 4164 fi 4165 done 4166 done 4167 ;; 4168esac 4169 4170done 4171IFS=$as_save_IFS 4172 4173rm -rf conftest.one conftest.two conftest.dir 4174 4175fi 4176 if test "${ac_cv_path_install+set}" = set; then 4177 INSTALL=$ac_cv_path_install 4178 else 4179 # As a last resort, use the slow shell script. Don't cache a 4180 # value for INSTALL within a source directory, because that will 4181 # break other packages using the cache if that directory is 4182 # removed, or if the value is a relative name. 4183 INSTALL=$ac_install_sh 4184 fi 4185fi 4186{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 4187$as_echo "$INSTALL" >&6; } 4188 4189# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4190# It thinks the first close brace ends the variable substitution. 4191test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 4192 4193test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 4194 4195test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4196 4197{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 4198$as_echo_n "checking whether ln -s works... " >&6; } 4199LN_S=$as_ln_s 4200if test "$LN_S" = "ln -s"; then 4201 { $as_echo "$as_me:$LINENO: result: yes" >&5 4202$as_echo "yes" >&6; } 4203else 4204 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4205$as_echo "no, using $LN_S" >&6; } 4206fi 4207 4208@%:@ Check whether --enable-static was given. 4209if test "${enable_static+set}" = set; then 4210 enableval=$enable_static; p=${PACKAGE-default} 4211 case $enableval in 4212 yes) enable_static=yes ;; 4213 no) enable_static=no ;; 4214 *) 4215 enable_static=no 4216 # Look at the argument we got. We use all the common list separators. 4217 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 4218 for pkg in $enableval; do 4219 IFS="$lt_save_ifs" 4220 if test "X$pkg" = "X$p"; then 4221 enable_static=yes 4222 fi 4223 done 4224 IFS="$lt_save_ifs" 4225 ;; 4226 esac 4227else 4228 enable_static=no 4229fi 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239enable_dlopen=yes 4240 4241 4242 4243case `pwd` in 4244 *\ * | *\ *) 4245 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4246$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4247esac 4248 4249 4250 4251macro_version='2.4.2' 4252macro_revision='1.3337' 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266ltmain="$ac_aux_dir/ltmain.sh" 4267 4268# Backslashify metacharacters that are still active within 4269# double-quoted strings. 4270sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4271 4272# Same as above, but do not quote variable references. 4273double_quote_subst='s/\(["`\\]\)/\\\1/g' 4274 4275# Sed substitution to delay expansion of an escaped shell variable in a 4276# double_quote_subst'ed string. 4277delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4278 4279# Sed substitution to delay expansion of an escaped single quote. 4280delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4281 4282# Sed substitution to avoid accidental globbing in evaled expressions 4283no_glob_subst='s/\*/\\\*/g' 4284 4285ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4286ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4287ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4288 4289{ $as_echo "$as_me:$LINENO: checking how to print strings" >&5 4290$as_echo_n "checking how to print strings... " >&6; } 4291# Test print first, because it will be a builtin if present. 4292if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4293 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4294 ECHO='print -r --' 4295elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4296 ECHO='printf %s\n' 4297else 4298 # Use this function as a fallback that always works. 4299 func_fallback_echo () 4300 { 4301 eval 'cat <<_LTECHO_EOF 4302$1 4303_LTECHO_EOF' 4304 } 4305 ECHO='func_fallback_echo' 4306fi 4307 4308# func_echo_all arg... 4309# Invoke $ECHO with all args, space-separated. 4310func_echo_all () 4311{ 4312 $ECHO "" 4313} 4314 4315case "$ECHO" in 4316 printf*) { $as_echo "$as_me:$LINENO: result: printf" >&5 4317$as_echo "printf" >&6; } ;; 4318 print*) { $as_echo "$as_me:$LINENO: result: print -r" >&5 4319$as_echo "print -r" >&6; } ;; 4320 *) { $as_echo "$as_me:$LINENO: result: cat" >&5 4321$as_echo "cat" >&6; } ;; 4322esac 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 4338$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4339if test "${ac_cv_path_SED+set}" = set; then 4340 $as_echo_n "(cached) " >&6 4341else 4342 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4343 for ac_i in 1 2 3 4 5 6 7; do 4344 ac_script="$ac_script$as_nl$ac_script" 4345 done 4346 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4347 $as_unset ac_script || ac_script= 4348 if test -z "$SED"; then 4349 ac_path_SED_found=false 4350 # Loop through the user's path and test for each of PROGNAME-LIST 4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4352for as_dir in $PATH 4353do 4354 IFS=$as_save_IFS 4355 test -z "$as_dir" && as_dir=. 4356 for ac_prog in sed gsed; do 4357 for ac_exec_ext in '' $ac_executable_extensions; do 4358 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4359 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue 4360# Check for GNU ac_path_SED and select it if it is found. 4361 # Check for GNU $ac_path_SED 4362case `"$ac_path_SED" --version 2>&1` in 4363*GNU*) 4364 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4365*) 4366 ac_count=0 4367 $as_echo_n 0123456789 >"conftest.in" 4368 while : 4369 do 4370 cat "conftest.in" "conftest.in" >"conftest.tmp" 4371 mv "conftest.tmp" "conftest.in" 4372 cp "conftest.in" "conftest.nl" 4373 $as_echo '' >> "conftest.nl" 4374 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4375 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4376 ac_count=`expr $ac_count + 1` 4377 if test $ac_count -gt ${ac_path_SED_max-0}; then 4378 # Best one so far, save it but keep looking for a better one 4379 ac_cv_path_SED="$ac_path_SED" 4380 ac_path_SED_max=$ac_count 4381 fi 4382 # 10*(2^10) chars as input seems more than enough 4383 test $ac_count -gt 10 && break 4384 done 4385 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4386esac 4387 4388 $ac_path_SED_found && break 3 4389 done 4390 done 4391done 4392IFS=$as_save_IFS 4393 if test -z "$ac_cv_path_SED"; then 4394 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 4395$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} 4396 { (exit 1); exit 1; }; } 4397 fi 4398else 4399 ac_cv_path_SED=$SED 4400fi 4401 4402fi 4403{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 4404$as_echo "$ac_cv_path_SED" >&6; } 4405 SED="$ac_cv_path_SED" 4406 rm -f conftest.sed 4407 4408test -z "$SED" && SED=sed 4409Xsed="$SED -e 1s/^X//" 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4422$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4423if test "${ac_cv_path_GREP+set}" = set; then 4424 $as_echo_n "(cached) " >&6 4425else 4426 if test -z "$GREP"; then 4427 ac_path_GREP_found=false 4428 # Loop through the user's path and test for each of PROGNAME-LIST 4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4430for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4431do 4432 IFS=$as_save_IFS 4433 test -z "$as_dir" && as_dir=. 4434 for ac_prog in grep ggrep; do 4435 for ac_exec_ext in '' $ac_executable_extensions; do 4436 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4437 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4438# Check for GNU ac_path_GREP and select it if it is found. 4439 # Check for GNU $ac_path_GREP 4440case `"$ac_path_GREP" --version 2>&1` in 4441*GNU*) 4442 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4443*) 4444 ac_count=0 4445 $as_echo_n 0123456789 >"conftest.in" 4446 while : 4447 do 4448 cat "conftest.in" "conftest.in" >"conftest.tmp" 4449 mv "conftest.tmp" "conftest.in" 4450 cp "conftest.in" "conftest.nl" 4451 $as_echo 'GREP' >> "conftest.nl" 4452 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4453 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4454 ac_count=`expr $ac_count + 1` 4455 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4456 # Best one so far, save it but keep looking for a better one 4457 ac_cv_path_GREP="$ac_path_GREP" 4458 ac_path_GREP_max=$ac_count 4459 fi 4460 # 10*(2^10) chars as input seems more than enough 4461 test $ac_count -gt 10 && break 4462 done 4463 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4464esac 4465 4466 $ac_path_GREP_found && break 3 4467 done 4468 done 4469done 4470IFS=$as_save_IFS 4471 if test -z "$ac_cv_path_GREP"; then 4472 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4473$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4474 { (exit 1); exit 1; }; } 4475 fi 4476else 4477 ac_cv_path_GREP=$GREP 4478fi 4479 4480fi 4481{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4482$as_echo "$ac_cv_path_GREP" >&6; } 4483 GREP="$ac_cv_path_GREP" 4484 4485 4486{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 4487$as_echo_n "checking for egrep... " >&6; } 4488if test "${ac_cv_path_EGREP+set}" = set; then 4489 $as_echo_n "(cached) " >&6 4490else 4491 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4492 then ac_cv_path_EGREP="$GREP -E" 4493 else 4494 if test -z "$EGREP"; then 4495 ac_path_EGREP_found=false 4496 # Loop through the user's path and test for each of PROGNAME-LIST 4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4498for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4499do 4500 IFS=$as_save_IFS 4501 test -z "$as_dir" && as_dir=. 4502 for ac_prog in egrep; do 4503 for ac_exec_ext in '' $ac_executable_extensions; do 4504 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4505 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4506# Check for GNU ac_path_EGREP and select it if it is found. 4507 # Check for GNU $ac_path_EGREP 4508case `"$ac_path_EGREP" --version 2>&1` in 4509*GNU*) 4510 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4511*) 4512 ac_count=0 4513 $as_echo_n 0123456789 >"conftest.in" 4514 while : 4515 do 4516 cat "conftest.in" "conftest.in" >"conftest.tmp" 4517 mv "conftest.tmp" "conftest.in" 4518 cp "conftest.in" "conftest.nl" 4519 $as_echo 'EGREP' >> "conftest.nl" 4520 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4521 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4522 ac_count=`expr $ac_count + 1` 4523 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4524 # Best one so far, save it but keep looking for a better one 4525 ac_cv_path_EGREP="$ac_path_EGREP" 4526 ac_path_EGREP_max=$ac_count 4527 fi 4528 # 10*(2^10) chars as input seems more than enough 4529 test $ac_count -gt 10 && break 4530 done 4531 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4532esac 4533 4534 $ac_path_EGREP_found && break 3 4535 done 4536 done 4537done 4538IFS=$as_save_IFS 4539 if test -z "$ac_cv_path_EGREP"; then 4540 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4541$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4542 { (exit 1); exit 1; }; } 4543 fi 4544else 4545 ac_cv_path_EGREP=$EGREP 4546fi 4547 4548 fi 4549fi 4550{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4551$as_echo "$ac_cv_path_EGREP" >&6; } 4552 EGREP="$ac_cv_path_EGREP" 4553 4554 4555{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 4556$as_echo_n "checking for fgrep... " >&6; } 4557if test "${ac_cv_path_FGREP+set}" = set; then 4558 $as_echo_n "(cached) " >&6 4559else 4560 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4561 then ac_cv_path_FGREP="$GREP -F" 4562 else 4563 if test -z "$FGREP"; then 4564 ac_path_FGREP_found=false 4565 # Loop through the user's path and test for each of PROGNAME-LIST 4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4567for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4568do 4569 IFS=$as_save_IFS 4570 test -z "$as_dir" && as_dir=. 4571 for ac_prog in fgrep; do 4572 for ac_exec_ext in '' $ac_executable_extensions; do 4573 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4574 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue 4575# Check for GNU ac_path_FGREP and select it if it is found. 4576 # Check for GNU $ac_path_FGREP 4577case `"$ac_path_FGREP" --version 2>&1` in 4578*GNU*) 4579 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4580*) 4581 ac_count=0 4582 $as_echo_n 0123456789 >"conftest.in" 4583 while : 4584 do 4585 cat "conftest.in" "conftest.in" >"conftest.tmp" 4586 mv "conftest.tmp" "conftest.in" 4587 cp "conftest.in" "conftest.nl" 4588 $as_echo 'FGREP' >> "conftest.nl" 4589 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4591 ac_count=`expr $ac_count + 1` 4592 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4593 # Best one so far, save it but keep looking for a better one 4594 ac_cv_path_FGREP="$ac_path_FGREP" 4595 ac_path_FGREP_max=$ac_count 4596 fi 4597 # 10*(2^10) chars as input seems more than enough 4598 test $ac_count -gt 10 && break 4599 done 4600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4601esac 4602 4603 $ac_path_FGREP_found && break 3 4604 done 4605 done 4606done 4607IFS=$as_save_IFS 4608 if test -z "$ac_cv_path_FGREP"; then 4609 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4610$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4611 { (exit 1); exit 1; }; } 4612 fi 4613else 4614 ac_cv_path_FGREP=$FGREP 4615fi 4616 4617 fi 4618fi 4619{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 4620$as_echo "$ac_cv_path_FGREP" >&6; } 4621 FGREP="$ac_cv_path_FGREP" 4622 4623 4624test -z "$GREP" && GREP=grep 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644@%:@ Check whether --with-gnu-ld was given. 4645if test "${with_gnu_ld+set}" = set; then 4646 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4647else 4648 with_gnu_ld=no 4649fi 4650 4651ac_prog=ld 4652if test "$GCC" = yes; then 4653 # Check if gcc -print-prog-name=ld gives a path. 4654 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 4655$as_echo_n "checking for ld used by $CC... " >&6; } 4656 case $host in 4657 *-*-mingw*) 4658 # gcc leaves a trailing carriage return which upsets mingw 4659 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4660 *) 4661 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4662 esac 4663 case $ac_prog in 4664 # Accept absolute paths. 4665 [\\/]* | ?:[\\/]*) 4666 re_direlt='/[^/][^/]*/\.\./' 4667 # Canonicalize the pathname of ld 4668 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4669 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4670 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4671 done 4672 test -z "$LD" && LD="$ac_prog" 4673 ;; 4674 "") 4675 # If it fails, then pretend we aren't using GCC. 4676 ac_prog=ld 4677 ;; 4678 *) 4679 # If it is relative, then search for the first ld in PATH. 4680 with_gnu_ld=unknown 4681 ;; 4682 esac 4683elif test "$with_gnu_ld" = yes; then 4684 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 4685$as_echo_n "checking for GNU ld... " >&6; } 4686else 4687 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 4688$as_echo_n "checking for non-GNU ld... " >&6; } 4689fi 4690if test "${lt_cv_path_LD+set}" = set; then 4691 $as_echo_n "(cached) " >&6 4692else 4693 if test -z "$LD"; then 4694 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4695 for ac_dir in $PATH; do 4696 IFS="$lt_save_ifs" 4697 test -z "$ac_dir" && ac_dir=. 4698 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4699 lt_cv_path_LD="$ac_dir/$ac_prog" 4700 # Check to see if the program is GNU ld. I'd rather use --version, 4701 # but apparently some variants of GNU ld only accept -v. 4702 # Break only if it was the GNU/non-GNU ld that we prefer. 4703 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4704 *GNU* | *'with BFD'*) 4705 test "$with_gnu_ld" != no && break 4706 ;; 4707 *) 4708 test "$with_gnu_ld" != yes && break 4709 ;; 4710 esac 4711 fi 4712 done 4713 IFS="$lt_save_ifs" 4714else 4715 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4716fi 4717fi 4718 4719LD="$lt_cv_path_LD" 4720if test -n "$LD"; then 4721 { $as_echo "$as_me:$LINENO: result: $LD" >&5 4722$as_echo "$LD" >&6; } 4723else 4724 { $as_echo "$as_me:$LINENO: result: no" >&5 4725$as_echo "no" >&6; } 4726fi 4727test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 4728$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} 4729 { (exit 1); exit 1; }; } 4730{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 4731$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4732if test "${lt_cv_prog_gnu_ld+set}" = set; then 4733 $as_echo_n "(cached) " >&6 4734else 4735 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4736case `$LD -v 2>&1 </dev/null` in 4737*GNU* | *'with BFD'*) 4738 lt_cv_prog_gnu_ld=yes 4739 ;; 4740*) 4741 lt_cv_prog_gnu_ld=no 4742 ;; 4743esac 4744fi 4745{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 4746$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4747with_gnu_ld=$lt_cv_prog_gnu_ld 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 4758$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4759if test "${lt_cv_path_NM+set}" = set; then 4760 $as_echo_n "(cached) " >&6 4761else 4762 if test -n "$NM"; then 4763 # Let the user override the test. 4764 lt_cv_path_NM="$NM" 4765else 4766 lt_nm_to_check="${ac_tool_prefix}nm" 4767 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4768 lt_nm_to_check="$lt_nm_to_check nm" 4769 fi 4770 for lt_tmp_nm in $lt_nm_to_check; do 4771 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4772 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4773 IFS="$lt_save_ifs" 4774 test -z "$ac_dir" && ac_dir=. 4775 tmp_nm="$ac_dir/$lt_tmp_nm" 4776 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4777 # Check to see if the nm accepts a BSD-compat flag. 4778 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4779 # nm: unknown option "B" ignored 4780 # Tru64's nm complains that /dev/null is an invalid object file 4781 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4782 */dev/null* | *'Invalid file or object type'*) 4783 lt_cv_path_NM="$tmp_nm -B" 4784 break 4785 ;; 4786 *) 4787 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4788 */dev/null*) 4789 lt_cv_path_NM="$tmp_nm -p" 4790 break 4791 ;; 4792 *) 4793 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4794 continue # so that we can try to find one that supports BSD flags 4795 ;; 4796 esac 4797 ;; 4798 esac 4799 fi 4800 done 4801 IFS="$lt_save_ifs" 4802 done 4803 : ${lt_cv_path_NM=no} 4804fi 4805fi 4806{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 4807$as_echo "$lt_cv_path_NM" >&6; } 4808if test "$lt_cv_path_NM" != "no"; then 4809 NM="$lt_cv_path_NM" 4810else 4811 # Didn't find any BSD compatible name lister, look for dumpbin. 4812 if test -n "$DUMPBIN"; then : 4813 # Let the user override the test. 4814 else 4815 if test -n "$ac_tool_prefix"; then 4816 for ac_prog in dumpbin "link -dump" 4817 do 4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4819set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4820{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4821$as_echo_n "checking for $ac_word... " >&6; } 4822if test "${ac_cv_prog_DUMPBIN+set}" = set; then 4823 $as_echo_n "(cached) " >&6 4824else 4825 if test -n "$DUMPBIN"; then 4826 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4827else 4828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4829for as_dir in $PATH 4830do 4831 IFS=$as_save_IFS 4832 test -z "$as_dir" && as_dir=. 4833 for ac_exec_ext in '' $ac_executable_extensions; do 4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4835 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4836 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4837 break 2 4838 fi 4839done 4840done 4841IFS=$as_save_IFS 4842 4843fi 4844fi 4845DUMPBIN=$ac_cv_prog_DUMPBIN 4846if test -n "$DUMPBIN"; then 4847 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 4848$as_echo "$DUMPBIN" >&6; } 4849else 4850 { $as_echo "$as_me:$LINENO: result: no" >&5 4851$as_echo "no" >&6; } 4852fi 4853 4854 4855 test -n "$DUMPBIN" && break 4856 done 4857fi 4858if test -z "$DUMPBIN"; then 4859 ac_ct_DUMPBIN=$DUMPBIN 4860 for ac_prog in dumpbin "link -dump" 4861do 4862 # Extract the first word of "$ac_prog", so it can be a program name with args. 4863set dummy $ac_prog; ac_word=$2 4864{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 4865$as_echo_n "checking for $ac_word... " >&6; } 4866if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then 4867 $as_echo_n "(cached) " >&6 4868else 4869 if test -n "$ac_ct_DUMPBIN"; then 4870 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4871else 4872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4873for as_dir in $PATH 4874do 4875 IFS=$as_save_IFS 4876 test -z "$as_dir" && as_dir=. 4877 for ac_exec_ext in '' $ac_executable_extensions; do 4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4879 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4880 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4881 break 2 4882 fi 4883done 4884done 4885IFS=$as_save_IFS 4886 4887fi 4888fi 4889ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4890if test -n "$ac_ct_DUMPBIN"; then 4891 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 4892$as_echo "$ac_ct_DUMPBIN" >&6; } 4893else 4894 { $as_echo "$as_me:$LINENO: result: no" >&5 4895$as_echo "no" >&6; } 4896fi 4897 4898 4899 test -n "$ac_ct_DUMPBIN" && break 4900done 4901 4902 if test "x$ac_ct_DUMPBIN" = x; then 4903 DUMPBIN=":" 4904 else 4905 case $cross_compiling:$ac_tool_warned in 4906yes:) 4907{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 4908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4909ac_tool_warned=yes ;; 4910esac 4911 DUMPBIN=$ac_ct_DUMPBIN 4912 fi 4913fi 4914 4915 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4916 *COFF*) 4917 DUMPBIN="$DUMPBIN -symbols" 4918 ;; 4919 *) 4920 DUMPBIN=: 4921 ;; 4922 esac 4923 fi 4924 4925 if test "$DUMPBIN" != ":"; then 4926 NM="$DUMPBIN" 4927 fi 4928fi 4929test -z "$NM" && NM=nm 4930 4931 4932 4933 4934 4935 4936{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 4937$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4938if test "${lt_cv_nm_interface+set}" = set; then 4939 $as_echo_n "(cached) " >&6 4940else 4941 lt_cv_nm_interface="BSD nm" 4942 echo "int some_variable = 0;" > conftest.$ac_ext 4943 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4944 (eval "$ac_compile" 2>conftest.err) 4945 cat conftest.err >&5 4946 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4947 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4948 cat conftest.err >&5 4949 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4950 cat conftest.out >&5 4951 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4952 lt_cv_nm_interface="MS dumpbin" 4953 fi 4954 rm -f conftest* 4955fi 4956{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 4957$as_echo "$lt_cv_nm_interface" >&6; } 4958 4959# find the maximum length of command line arguments 4960{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 4961$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4962if test "${lt_cv_sys_max_cmd_len+set}" = set; then 4963 $as_echo_n "(cached) " >&6 4964else 4965 i=0 4966 teststring="ABCD" 4967 4968 case $build_os in 4969 msdosdjgpp*) 4970 # On DJGPP, this test can blow up pretty badly due to problems in libc 4971 # (any single argument exceeding 2000 bytes causes a buffer overrun 4972 # during glob expansion). Even if it were fixed, the result of this 4973 # check would be larger than it should be. 4974 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4975 ;; 4976 4977 gnu*) 4978 # Under GNU Hurd, this test is not required because there is 4979 # no limit to the length of command line arguments. 4980 # Libtool will interpret -1 as no limit whatsoever 4981 lt_cv_sys_max_cmd_len=-1; 4982 ;; 4983 4984 cygwin* | mingw* | cegcc*) 4985 # On Win9x/ME, this test blows up -- it succeeds, but takes 4986 # about 5 minutes as the teststring grows exponentially. 4987 # Worse, since 9x/ME are not pre-emptively multitasking, 4988 # you end up with a "frozen" computer, even though with patience 4989 # the test eventually succeeds (with a max line length of 256k). 4990 # Instead, let's just punt: use the minimum linelength reported by 4991 # all of the supported platforms: 8192 (on NT/2K/XP). 4992 lt_cv_sys_max_cmd_len=8192; 4993 ;; 4994 4995 mint*) 4996 # On MiNT this can take a long time and run out of memory. 4997 lt_cv_sys_max_cmd_len=8192; 4998 ;; 4999 5000 amigaos*) 5001 # On AmigaOS with pdksh, this test takes hours, literally. 5002 # So we just punt and use a minimum line length of 8192. 5003 lt_cv_sys_max_cmd_len=8192; 5004 ;; 5005 5006 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5007 # This has been around since 386BSD, at least. Likely further. 5008 if test -x /sbin/sysctl; then 5009 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5010 elif test -x /usr/sbin/sysctl; then 5011 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5012 else 5013 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5014 fi 5015 # And add a safety zone 5016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5018 ;; 5019 5020 interix*) 5021 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5022 lt_cv_sys_max_cmd_len=196608 5023 ;; 5024 5025 os2*) 5026 # The test takes a long time on OS/2. 5027 lt_cv_sys_max_cmd_len=8192 5028 ;; 5029 5030 osf*) 5031 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5032 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5033 # nice to cause kernel panics so lets avoid the loop below. 5034 # First set a reasonable default. 5035 lt_cv_sys_max_cmd_len=16384 5036 # 5037 if test -x /sbin/sysconfig; then 5038 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5039 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5040 esac 5041 fi 5042 ;; 5043 sco3.2v5*) 5044 lt_cv_sys_max_cmd_len=102400 5045 ;; 5046 sysv5* | sco5v6* | sysv4.2uw2*) 5047 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5048 if test -n "$kargmax"; then 5049 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5050 else 5051 lt_cv_sys_max_cmd_len=32768 5052 fi 5053 ;; 5054 *) 5055 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5056 if test -n "$lt_cv_sys_max_cmd_len"; then 5057 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5058 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5059 else 5060 # Make teststring a little bigger before we do anything with it. 5061 # a 1K string should be a reasonable start. 5062 for i in 1 2 3 4 5 6 7 8 ; do 5063 teststring=$teststring$teststring 5064 done 5065 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5066 # If test is not a shell built-in, we'll probably end up computing a 5067 # maximum length that is only half of the actual maximum length, but 5068 # we can't tell. 5069 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5070 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5071 test $i != 17 # 1/2 MB should be enough 5072 do 5073 i=`expr $i + 1` 5074 teststring=$teststring$teststring 5075 done 5076 # Only check the string length outside the loop. 5077 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5078 teststring= 5079 # Add a significant safety factor because C++ compilers can tack on 5080 # massive amounts of additional arguments before passing them to the 5081 # linker. It appears as though 1/2 is a usable value. 5082 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5083 fi 5084 ;; 5085 esac 5086 5087fi 5088 5089if test -n $lt_cv_sys_max_cmd_len ; then 5090 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 5091$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5092else 5093 { $as_echo "$as_me:$LINENO: result: none" >&5 5094$as_echo "none" >&6; } 5095fi 5096max_cmd_len=$lt_cv_sys_max_cmd_len 5097 5098 5099 5100 5101 5102 5103: ${CP="cp -f"} 5104: ${MV="mv -f"} 5105: ${RM="rm -f"} 5106 5107{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 5108$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5109# Try some XSI features 5110xsi_shell=no 5111( _lt_dummy="a/b/c" 5112 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5113 = c,a/b,b/c, \ 5114 && eval 'test $(( 1 + 1 )) -eq 2 \ 5115 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5116 && xsi_shell=yes 5117{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 5118$as_echo "$xsi_shell" >&6; } 5119 5120 5121{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 5122$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5123lt_shell_append=no 5124( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5125 >/dev/null 2>&1 \ 5126 && lt_shell_append=yes 5127{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 5128$as_echo "$lt_shell_append" >&6; } 5129 5130 5131if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5132 lt_unset=unset 5133else 5134 lt_unset=false 5135fi 5136 5137 5138 5139 5140 5141# test EBCDIC or ASCII 5142case `echo X|tr X '\101'` in 5143 A) # ASCII based system 5144 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5145 lt_SP2NL='tr \040 \012' 5146 lt_NL2SP='tr \015\012 \040\040' 5147 ;; 5148 *) # EBCDIC based system 5149 lt_SP2NL='tr \100 \n' 5150 lt_NL2SP='tr \r\n \100\100' 5151 ;; 5152esac 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162{ $as_echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5 5163$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5164if test "${lt_cv_to_host_file_cmd+set}" = set; then 5165 $as_echo_n "(cached) " >&6 5166else 5167 case $host in 5168 *-*-mingw* ) 5169 case $build in 5170 *-*-mingw* ) # actually msys 5171 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5172 ;; 5173 *-*-cygwin* ) 5174 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5175 ;; 5176 * ) # otherwise, assume *nix 5177 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5178 ;; 5179 esac 5180 ;; 5181 *-*-cygwin* ) 5182 case $build in 5183 *-*-mingw* ) # actually msys 5184 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5185 ;; 5186 *-*-cygwin* ) 5187 lt_cv_to_host_file_cmd=func_convert_file_noop 5188 ;; 5189 * ) # otherwise, assume *nix 5190 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5191 ;; 5192 esac 5193 ;; 5194 * ) # unhandled hosts (and "normal" native builds) 5195 lt_cv_to_host_file_cmd=func_convert_file_noop 5196 ;; 5197esac 5198 5199fi 5200 5201to_host_file_cmd=$lt_cv_to_host_file_cmd 5202{ $as_echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5 5203$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5204 5205 5206 5207 5208 5209{ $as_echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5 5210$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5211if test "${lt_cv_to_tool_file_cmd+set}" = set; then 5212 $as_echo_n "(cached) " >&6 5213else 5214 #assume ordinary cross tools, or native build. 5215lt_cv_to_tool_file_cmd=func_convert_file_noop 5216case $host in 5217 *-*-mingw* ) 5218 case $build in 5219 *-*-mingw* ) # actually msys 5220 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5221 ;; 5222 esac 5223 ;; 5224esac 5225 5226fi 5227 5228to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5229{ $as_echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5 5230$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5231 5232 5233 5234 5235 5236{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 5237$as_echo_n "checking for $LD option to reload object files... " >&6; } 5238if test "${lt_cv_ld_reload_flag+set}" = set; then 5239 $as_echo_n "(cached) " >&6 5240else 5241 lt_cv_ld_reload_flag='-r' 5242fi 5243{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 5244$as_echo "$lt_cv_ld_reload_flag" >&6; } 5245reload_flag=$lt_cv_ld_reload_flag 5246case $reload_flag in 5247"" | " "*) ;; 5248*) reload_flag=" $reload_flag" ;; 5249esac 5250reload_cmds='$LD$reload_flag -o $output$reload_objs' 5251case $host_os in 5252 cygwin* | mingw* | pw32* | cegcc*) 5253 if test "$GCC" != yes; then 5254 reload_cmds=false 5255 fi 5256 ;; 5257 darwin*) 5258 if test "$GCC" = yes; then 5259 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5260 else 5261 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5262 fi 5263 ;; 5264esac 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274if test -n "$ac_tool_prefix"; then 5275 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5276set dummy ${ac_tool_prefix}objdump; ac_word=$2 5277{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5278$as_echo_n "checking for $ac_word... " >&6; } 5279if test "${ac_cv_prog_OBJDUMP+set}" = set; then 5280 $as_echo_n "(cached) " >&6 5281else 5282 if test -n "$OBJDUMP"; then 5283 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5284else 5285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5286for as_dir in $PATH 5287do 5288 IFS=$as_save_IFS 5289 test -z "$as_dir" && as_dir=. 5290 for ac_exec_ext in '' $ac_executable_extensions; do 5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5292 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5293 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5294 break 2 5295 fi 5296done 5297done 5298IFS=$as_save_IFS 5299 5300fi 5301fi 5302OBJDUMP=$ac_cv_prog_OBJDUMP 5303if test -n "$OBJDUMP"; then 5304 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 5305$as_echo "$OBJDUMP" >&6; } 5306else 5307 { $as_echo "$as_me:$LINENO: result: no" >&5 5308$as_echo "no" >&6; } 5309fi 5310 5311 5312fi 5313if test -z "$ac_cv_prog_OBJDUMP"; then 5314 ac_ct_OBJDUMP=$OBJDUMP 5315 # Extract the first word of "objdump", so it can be a program name with args. 5316set dummy objdump; ac_word=$2 5317{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5318$as_echo_n "checking for $ac_word... " >&6; } 5319if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then 5320 $as_echo_n "(cached) " >&6 5321else 5322 if test -n "$ac_ct_OBJDUMP"; then 5323 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5324else 5325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5326for as_dir in $PATH 5327do 5328 IFS=$as_save_IFS 5329 test -z "$as_dir" && as_dir=. 5330 for ac_exec_ext in '' $ac_executable_extensions; do 5331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5332 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5334 break 2 5335 fi 5336done 5337done 5338IFS=$as_save_IFS 5339 5340fi 5341fi 5342ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5343if test -n "$ac_ct_OBJDUMP"; then 5344 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 5345$as_echo "$ac_ct_OBJDUMP" >&6; } 5346else 5347 { $as_echo "$as_me:$LINENO: result: no" >&5 5348$as_echo "no" >&6; } 5349fi 5350 5351 if test "x$ac_ct_OBJDUMP" = x; then 5352 OBJDUMP="false" 5353 else 5354 case $cross_compiling:$ac_tool_warned in 5355yes:) 5356{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5357$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5358ac_tool_warned=yes ;; 5359esac 5360 OBJDUMP=$ac_ct_OBJDUMP 5361 fi 5362else 5363 OBJDUMP="$ac_cv_prog_OBJDUMP" 5364fi 5365 5366test -z "$OBJDUMP" && OBJDUMP=objdump 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 5377$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5378if test "${lt_cv_deplibs_check_method+set}" = set; then 5379 $as_echo_n "(cached) " >&6 5380else 5381 lt_cv_file_magic_cmd='$MAGIC_CMD' 5382lt_cv_file_magic_test_file= 5383lt_cv_deplibs_check_method='unknown' 5384# Need to set the preceding variable on all platforms that support 5385# interlibrary dependencies. 5386# 'none' -- dependencies not supported. 5387# `unknown' -- same as none, but documents that we really don't know. 5388# 'pass_all' -- all dependencies passed with no checks. 5389# 'test_compile' -- check by making test program. 5390# 'file_magic [[regex]]' -- check by looking for files in library path 5391# which responds to the $file_magic_cmd with a given extended regex. 5392# If you have `file' or equivalent on your system and you're not sure 5393# whether `pass_all' will *always* work, you probably want this one. 5394 5395case $host_os in 5396aix[4-9]*) 5397 lt_cv_deplibs_check_method=pass_all 5398 ;; 5399 5400beos*) 5401 lt_cv_deplibs_check_method=pass_all 5402 ;; 5403 5404bsdi[45]*) 5405 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5406 lt_cv_file_magic_cmd='/usr/bin/file -L' 5407 lt_cv_file_magic_test_file=/shlib/libc.so 5408 ;; 5409 5410cygwin*) 5411 # func_win32_libid is a shell function defined in ltmain.sh 5412 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5413 lt_cv_file_magic_cmd='func_win32_libid' 5414 ;; 5415 5416mingw* | pw32*) 5417 # Base MSYS/MinGW do not provide the 'file' command needed by 5418 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5419 # unless we find 'file', for example because we are cross-compiling. 5420 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5421 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5422 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5423 lt_cv_file_magic_cmd='func_win32_libid' 5424 else 5425 # Keep this pattern in sync with the one in func_win32_libid. 5426 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5427 lt_cv_file_magic_cmd='$OBJDUMP -f' 5428 fi 5429 ;; 5430 5431cegcc*) 5432 # use the weaker test based on 'objdump'. See mingw*. 5433 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5434 lt_cv_file_magic_cmd='$OBJDUMP -f' 5435 ;; 5436 5437darwin* | rhapsody*) 5438 lt_cv_deplibs_check_method=pass_all 5439 ;; 5440 5441freebsd* | dragonfly*) 5442 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5443 case $host_cpu in 5444 i*86 ) 5445 # Not sure whether the presence of OpenBSD here was a mistake. 5446 # Let's accept both of them until this is cleared up. 5447 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5448 lt_cv_file_magic_cmd=/usr/bin/file 5449 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5450 ;; 5451 esac 5452 else 5453 lt_cv_deplibs_check_method=pass_all 5454 fi 5455 ;; 5456 5457gnu*) 5458 lt_cv_deplibs_check_method=pass_all 5459 ;; 5460 5461haiku*) 5462 lt_cv_deplibs_check_method=pass_all 5463 ;; 5464 5465hpux10.20* | hpux11*) 5466 lt_cv_file_magic_cmd=/usr/bin/file 5467 case $host_cpu in 5468 ia64*) 5469 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5470 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5471 ;; 5472 hppa*64*) 5473 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' 5474 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5475 ;; 5476 *) 5477 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5478 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5479 ;; 5480 esac 5481 ;; 5482 5483interix[3-9]*) 5484 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5485 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5486 ;; 5487 5488irix5* | irix6* | nonstopux*) 5489 case $LD in 5490 *-32|*"-32 ") libmagic=32-bit;; 5491 *-n32|*"-n32 ") libmagic=N32;; 5492 *-64|*"-64 ") libmagic=64-bit;; 5493 *) libmagic=never-match;; 5494 esac 5495 lt_cv_deplibs_check_method=pass_all 5496 ;; 5497 5498# This must be glibc/ELF. 5499linux* | k*bsd*-gnu | kopensolaris*-gnu) 5500 lt_cv_deplibs_check_method=pass_all 5501 ;; 5502 5503netbsd*) 5504 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5505 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5506 else 5507 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5508 fi 5509 ;; 5510 5511newos6*) 5512 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5513 lt_cv_file_magic_cmd=/usr/bin/file 5514 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5515 ;; 5516 5517*nto* | *qnx*) 5518 lt_cv_deplibs_check_method=pass_all 5519 ;; 5520 5521openbsd*) 5522 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5523 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5524 else 5525 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5526 fi 5527 ;; 5528 5529osf3* | osf4* | osf5*) 5530 lt_cv_deplibs_check_method=pass_all 5531 ;; 5532 5533rdos*) 5534 lt_cv_deplibs_check_method=pass_all 5535 ;; 5536 5537solaris*) 5538 lt_cv_deplibs_check_method=pass_all 5539 ;; 5540 5541sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5542 lt_cv_deplibs_check_method=pass_all 5543 ;; 5544 5545sysv4 | sysv4.3*) 5546 case $host_vendor in 5547 motorola) 5548 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' 5549 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5550 ;; 5551 ncr) 5552 lt_cv_deplibs_check_method=pass_all 5553 ;; 5554 sequent) 5555 lt_cv_file_magic_cmd='/bin/file' 5556 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5557 ;; 5558 sni) 5559 lt_cv_file_magic_cmd='/bin/file' 5560 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5561 lt_cv_file_magic_test_file=/lib/libc.so 5562 ;; 5563 siemens) 5564 lt_cv_deplibs_check_method=pass_all 5565 ;; 5566 pc) 5567 lt_cv_deplibs_check_method=pass_all 5568 ;; 5569 esac 5570 ;; 5571 5572tpf*) 5573 lt_cv_deplibs_check_method=pass_all 5574 ;; 5575esac 5576 5577fi 5578{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 5579$as_echo "$lt_cv_deplibs_check_method" >&6; } 5580 5581file_magic_glob= 5582want_nocaseglob=no 5583if test "$build" = "$host"; then 5584 case $host_os in 5585 mingw* | pw32*) 5586 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5587 want_nocaseglob=yes 5588 else 5589 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5590 fi 5591 ;; 5592 esac 5593fi 5594 5595file_magic_cmd=$lt_cv_file_magic_cmd 5596deplibs_check_method=$lt_cv_deplibs_check_method 5597test -z "$deplibs_check_method" && deplibs_check_method=unknown 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620if test -n "$ac_tool_prefix"; then 5621 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5622set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5623{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5624$as_echo_n "checking for $ac_word... " >&6; } 5625if test "${ac_cv_prog_DLLTOOL+set}" = set; then 5626 $as_echo_n "(cached) " >&6 5627else 5628 if test -n "$DLLTOOL"; then 5629 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5630else 5631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5632for as_dir in $PATH 5633do 5634 IFS=$as_save_IFS 5635 test -z "$as_dir" && as_dir=. 5636 for ac_exec_ext in '' $ac_executable_extensions; do 5637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5638 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5639 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5640 break 2 5641 fi 5642done 5643done 5644IFS=$as_save_IFS 5645 5646fi 5647fi 5648DLLTOOL=$ac_cv_prog_DLLTOOL 5649if test -n "$DLLTOOL"; then 5650 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 5651$as_echo "$DLLTOOL" >&6; } 5652else 5653 { $as_echo "$as_me:$LINENO: result: no" >&5 5654$as_echo "no" >&6; } 5655fi 5656 5657 5658fi 5659if test -z "$ac_cv_prog_DLLTOOL"; then 5660 ac_ct_DLLTOOL=$DLLTOOL 5661 # Extract the first word of "dlltool", so it can be a program name with args. 5662set dummy dlltool; ac_word=$2 5663{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5664$as_echo_n "checking for $ac_word... " >&6; } 5665if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then 5666 $as_echo_n "(cached) " >&6 5667else 5668 if test -n "$ac_ct_DLLTOOL"; then 5669 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5670else 5671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5672for as_dir in $PATH 5673do 5674 IFS=$as_save_IFS 5675 test -z "$as_dir" && as_dir=. 5676 for ac_exec_ext in '' $ac_executable_extensions; do 5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5678 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5680 break 2 5681 fi 5682done 5683done 5684IFS=$as_save_IFS 5685 5686fi 5687fi 5688ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5689if test -n "$ac_ct_DLLTOOL"; then 5690 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 5691$as_echo "$ac_ct_DLLTOOL" >&6; } 5692else 5693 { $as_echo "$as_me:$LINENO: result: no" >&5 5694$as_echo "no" >&6; } 5695fi 5696 5697 if test "x$ac_ct_DLLTOOL" = x; then 5698 DLLTOOL="false" 5699 else 5700 case $cross_compiling:$ac_tool_warned in 5701yes:) 5702{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5704ac_tool_warned=yes ;; 5705esac 5706 DLLTOOL=$ac_ct_DLLTOOL 5707 fi 5708else 5709 DLLTOOL="$ac_cv_prog_DLLTOOL" 5710fi 5711 5712test -z "$DLLTOOL" && DLLTOOL=dlltool 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723{ $as_echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5 5724$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5725if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then 5726 $as_echo_n "(cached) " >&6 5727else 5728 lt_cv_sharedlib_from_linklib_cmd='unknown' 5729 5730case $host_os in 5731cygwin* | mingw* | pw32* | cegcc*) 5732 # two different shell functions defined in ltmain.sh 5733 # decide which to use based on capabilities of $DLLTOOL 5734 case `$DLLTOOL --help 2>&1` in 5735 *--identify-strict*) 5736 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5737 ;; 5738 *) 5739 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5740 ;; 5741 esac 5742 ;; 5743*) 5744 # fallback: assume linklib IS sharedlib 5745 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5746 ;; 5747esac 5748 5749fi 5750{ $as_echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5751$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5752sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5753test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5754 5755 5756 5757 5758 5759 5760 5761 5762if test -n "$ac_tool_prefix"; then 5763 for ac_prog in ar 5764 do 5765 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5766set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5767{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5768$as_echo_n "checking for $ac_word... " >&6; } 5769if test "${ac_cv_prog_AR+set}" = set; then 5770 $as_echo_n "(cached) " >&6 5771else 5772 if test -n "$AR"; then 5773 ac_cv_prog_AR="$AR" # Let the user override the test. 5774else 5775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5776for as_dir in $PATH 5777do 5778 IFS=$as_save_IFS 5779 test -z "$as_dir" && as_dir=. 5780 for ac_exec_ext in '' $ac_executable_extensions; do 5781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5782 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5783 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5784 break 2 5785 fi 5786done 5787done 5788IFS=$as_save_IFS 5789 5790fi 5791fi 5792AR=$ac_cv_prog_AR 5793if test -n "$AR"; then 5794 { $as_echo "$as_me:$LINENO: result: $AR" >&5 5795$as_echo "$AR" >&6; } 5796else 5797 { $as_echo "$as_me:$LINENO: result: no" >&5 5798$as_echo "no" >&6; } 5799fi 5800 5801 5802 test -n "$AR" && break 5803 done 5804fi 5805if test -z "$AR"; then 5806 ac_ct_AR=$AR 5807 for ac_prog in ar 5808do 5809 # Extract the first word of "$ac_prog", so it can be a program name with args. 5810set dummy $ac_prog; ac_word=$2 5811{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5812$as_echo_n "checking for $ac_word... " >&6; } 5813if test "${ac_cv_prog_ac_ct_AR+set}" = set; then 5814 $as_echo_n "(cached) " >&6 5815else 5816 if test -n "$ac_ct_AR"; then 5817 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5818else 5819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5820for as_dir in $PATH 5821do 5822 IFS=$as_save_IFS 5823 test -z "$as_dir" && as_dir=. 5824 for ac_exec_ext in '' $ac_executable_extensions; do 5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5826 ac_cv_prog_ac_ct_AR="$ac_prog" 5827 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5828 break 2 5829 fi 5830done 5831done 5832IFS=$as_save_IFS 5833 5834fi 5835fi 5836ac_ct_AR=$ac_cv_prog_ac_ct_AR 5837if test -n "$ac_ct_AR"; then 5838 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 5839$as_echo "$ac_ct_AR" >&6; } 5840else 5841 { $as_echo "$as_me:$LINENO: result: no" >&5 5842$as_echo "no" >&6; } 5843fi 5844 5845 5846 test -n "$ac_ct_AR" && break 5847done 5848 5849 if test "x$ac_ct_AR" = x; then 5850 AR="false" 5851 else 5852 case $cross_compiling:$ac_tool_warned in 5853yes:) 5854{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 5855$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5856ac_tool_warned=yes ;; 5857esac 5858 AR=$ac_ct_AR 5859 fi 5860fi 5861 5862: ${AR=ar} 5863: ${AR_FLAGS=cru} 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875{ $as_echo "$as_me:$LINENO: checking for archiver @FILE support" >&5 5876$as_echo_n "checking for archiver @FILE support... " >&6; } 5877if test "${lt_cv_ar_at_file+set}" = set; then 5878 $as_echo_n "(cached) " >&6 5879else 5880 lt_cv_ar_at_file=no 5881 cat >conftest.$ac_ext <<_ACEOF 5882/* confdefs.h. */ 5883_ACEOF 5884cat confdefs.h >>conftest.$ac_ext 5885cat >>conftest.$ac_ext <<_ACEOF 5886/* end confdefs.h. */ 5887 5888int 5889main () 5890{ 5891 5892 ; 5893 return 0; 5894} 5895_ACEOF 5896rm -f conftest.$ac_objext 5897if { (ac_try="$ac_compile" 5898case "(($ac_try" in 5899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5900 *) ac_try_echo=$ac_try;; 5901esac 5902eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5903$as_echo "$ac_try_echo") >&5 5904 (eval "$ac_compile") 2>conftest.er1 5905 ac_status=$? 5906 grep -v '^ *+' conftest.er1 >conftest.err 5907 rm -f conftest.er1 5908 cat conftest.err >&5 5909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5910 (exit $ac_status); } && { 5911 test -z "$ac_c_werror_flag" || 5912 test ! -s conftest.err 5913 } && test -s conftest.$ac_objext; then 5914 echo conftest.$ac_objext > conftest.lst 5915 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5916 { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5 5917 (eval $lt_ar_try) 2>&5 5918 ac_status=$? 5919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5920 (exit $ac_status); } 5921 if test "$ac_status" -eq 0; then 5922 # Ensure the archiver fails upon bogus file names. 5923 rm -f conftest.$ac_objext libconftest.a 5924 { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5 5925 (eval $lt_ar_try) 2>&5 5926 ac_status=$? 5927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5928 (exit $ac_status); } 5929 if test "$ac_status" -ne 0; then 5930 lt_cv_ar_at_file=@ 5931 fi 5932 fi 5933 rm -f conftest.* libconftest.a 5934 5935else 5936 $as_echo "$as_me: failed program was:" >&5 5937sed 's/^/| /' conftest.$ac_ext >&5 5938 5939 5940fi 5941 5942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5943 5944fi 5945{ $as_echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5 5946$as_echo "$lt_cv_ar_at_file" >&6; } 5947 5948if test "x$lt_cv_ar_at_file" = xno; then 5949 archiver_list_spec= 5950else 5951 archiver_list_spec=$lt_cv_ar_at_file 5952fi 5953 5954 5955 5956 5957 5958 5959 5960if test -n "$ac_tool_prefix"; then 5961 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5962set dummy ${ac_tool_prefix}strip; ac_word=$2 5963{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5964$as_echo_n "checking for $ac_word... " >&6; } 5965if test "${ac_cv_prog_STRIP+set}" = set; then 5966 $as_echo_n "(cached) " >&6 5967else 5968 if test -n "$STRIP"; then 5969 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5970else 5971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5972for as_dir in $PATH 5973do 5974 IFS=$as_save_IFS 5975 test -z "$as_dir" && as_dir=. 5976 for ac_exec_ext in '' $ac_executable_extensions; do 5977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5978 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5980 break 2 5981 fi 5982done 5983done 5984IFS=$as_save_IFS 5985 5986fi 5987fi 5988STRIP=$ac_cv_prog_STRIP 5989if test -n "$STRIP"; then 5990 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 5991$as_echo "$STRIP" >&6; } 5992else 5993 { $as_echo "$as_me:$LINENO: result: no" >&5 5994$as_echo "no" >&6; } 5995fi 5996 5997 5998fi 5999if test -z "$ac_cv_prog_STRIP"; then 6000 ac_ct_STRIP=$STRIP 6001 # Extract the first word of "strip", so it can be a program name with args. 6002set dummy strip; ac_word=$2 6003{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6004$as_echo_n "checking for $ac_word... " >&6; } 6005if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 6006 $as_echo_n "(cached) " >&6 6007else 6008 if test -n "$ac_ct_STRIP"; then 6009 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6010else 6011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6012for as_dir in $PATH 6013do 6014 IFS=$as_save_IFS 6015 test -z "$as_dir" && as_dir=. 6016 for ac_exec_ext in '' $ac_executable_extensions; do 6017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6018 ac_cv_prog_ac_ct_STRIP="strip" 6019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6020 break 2 6021 fi 6022done 6023done 6024IFS=$as_save_IFS 6025 6026fi 6027fi 6028ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6029if test -n "$ac_ct_STRIP"; then 6030 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 6031$as_echo "$ac_ct_STRIP" >&6; } 6032else 6033 { $as_echo "$as_me:$LINENO: result: no" >&5 6034$as_echo "no" >&6; } 6035fi 6036 6037 if test "x$ac_ct_STRIP" = x; then 6038 STRIP=":" 6039 else 6040 case $cross_compiling:$ac_tool_warned in 6041yes:) 6042{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6043$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6044ac_tool_warned=yes ;; 6045esac 6046 STRIP=$ac_ct_STRIP 6047 fi 6048else 6049 STRIP="$ac_cv_prog_STRIP" 6050fi 6051 6052test -z "$STRIP" && STRIP=: 6053 6054 6055 6056 6057 6058 6059if test -n "$ac_tool_prefix"; then 6060 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6061set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6062{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6063$as_echo_n "checking for $ac_word... " >&6; } 6064if test "${ac_cv_prog_RANLIB+set}" = set; then 6065 $as_echo_n "(cached) " >&6 6066else 6067 if test -n "$RANLIB"; then 6068 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6069else 6070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6071for as_dir in $PATH 6072do 6073 IFS=$as_save_IFS 6074 test -z "$as_dir" && as_dir=. 6075 for ac_exec_ext in '' $ac_executable_extensions; do 6076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6077 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6079 break 2 6080 fi 6081done 6082done 6083IFS=$as_save_IFS 6084 6085fi 6086fi 6087RANLIB=$ac_cv_prog_RANLIB 6088if test -n "$RANLIB"; then 6089 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 6090$as_echo "$RANLIB" >&6; } 6091else 6092 { $as_echo "$as_me:$LINENO: result: no" >&5 6093$as_echo "no" >&6; } 6094fi 6095 6096 6097fi 6098if test -z "$ac_cv_prog_RANLIB"; then 6099 ac_ct_RANLIB=$RANLIB 6100 # Extract the first word of "ranlib", so it can be a program name with args. 6101set dummy ranlib; ac_word=$2 6102{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6103$as_echo_n "checking for $ac_word... " >&6; } 6104if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 6105 $as_echo_n "(cached) " >&6 6106else 6107 if test -n "$ac_ct_RANLIB"; then 6108 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6109else 6110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6111for as_dir in $PATH 6112do 6113 IFS=$as_save_IFS 6114 test -z "$as_dir" && as_dir=. 6115 for ac_exec_ext in '' $ac_executable_extensions; do 6116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6117 ac_cv_prog_ac_ct_RANLIB="ranlib" 6118 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6119 break 2 6120 fi 6121done 6122done 6123IFS=$as_save_IFS 6124 6125fi 6126fi 6127ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6128if test -n "$ac_ct_RANLIB"; then 6129 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 6130$as_echo "$ac_ct_RANLIB" >&6; } 6131else 6132 { $as_echo "$as_me:$LINENO: result: no" >&5 6133$as_echo "no" >&6; } 6134fi 6135 6136 if test "x$ac_ct_RANLIB" = x; then 6137 RANLIB=":" 6138 else 6139 case $cross_compiling:$ac_tool_warned in 6140yes:) 6141{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6142$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6143ac_tool_warned=yes ;; 6144esac 6145 RANLIB=$ac_ct_RANLIB 6146 fi 6147else 6148 RANLIB="$ac_cv_prog_RANLIB" 6149fi 6150 6151test -z "$RANLIB" && RANLIB=: 6152 6153 6154 6155 6156 6157 6158# Determine commands to create old-style static archives. 6159old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6160old_postinstall_cmds='chmod 644 $oldlib' 6161old_postuninstall_cmds= 6162 6163if test -n "$RANLIB"; then 6164 case $host_os in 6165 openbsd*) 6166 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6167 ;; 6168 *) 6169 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6170 ;; 6171 esac 6172 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6173fi 6174 6175case $host_os in 6176 darwin*) 6177 lock_old_archive_extraction=yes ;; 6178 *) 6179 lock_old_archive_extraction=no ;; 6180esac 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220# If no C compiler was specified, use CC. 6221LTCC=${LTCC-"$CC"} 6222 6223# If no C compiler flags were specified, use CFLAGS. 6224LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6225 6226# Allow CC to be a program name with arguments. 6227compiler=$CC 6228 6229 6230# Check for command to grab the raw symbol name followed by C symbol from nm. 6231{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 6232$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6233if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then 6234 $as_echo_n "(cached) " >&6 6235else 6236 6237# These are sane defaults that work on at least a few old systems. 6238# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6239 6240# Character class describing NM global symbol codes. 6241symcode='[BCDEGRST]' 6242 6243# Regexp to match symbols that can be accessed directly from C. 6244sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6245 6246# Define system-specific variables. 6247case $host_os in 6248aix*) 6249 symcode='[BCDT]' 6250 ;; 6251cygwin* | mingw* | pw32* | cegcc*) 6252 symcode='[ABCDGISTW]' 6253 ;; 6254hpux*) 6255 if test "$host_cpu" = ia64; then 6256 symcode='[ABCDEGRST]' 6257 fi 6258 ;; 6259irix* | nonstopux*) 6260 symcode='[BCDEGRST]' 6261 ;; 6262osf*) 6263 symcode='[BCDEGQRST]' 6264 ;; 6265solaris*) 6266 symcode='[BDRT]' 6267 ;; 6268sco3.2v5*) 6269 symcode='[DT]' 6270 ;; 6271sysv4.2uw2*) 6272 symcode='[DT]' 6273 ;; 6274sysv5* | sco5v6* | unixware* | OpenUNIX*) 6275 symcode='[ABDT]' 6276 ;; 6277sysv4) 6278 symcode='[DFNSTU]' 6279 ;; 6280esac 6281 6282# If we're using GNU nm, then use its standard symbol codes. 6283case `$NM -V 2>&1` in 6284*GNU* | *'with BFD'*) 6285 symcode='[ABCDGIRSTW]' ;; 6286esac 6287 6288# Transform an extracted symbol line into a proper C declaration. 6289# Some systems (esp. on ia64) link data and code symbols differently, 6290# so use this general approach. 6291lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6292 6293# Transform an extracted symbol line into symbol name and symbol address 6294lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6295lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" 6296 6297# Handle CRLF in mingw tool chain 6298opt_cr= 6299case $build_os in 6300mingw*) 6301 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6302 ;; 6303esac 6304 6305# Try without a prefix underscore, then with it. 6306for ac_symprfx in "" "_"; do 6307 6308 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6309 symxfrm="\\1 $ac_symprfx\\2 \\2" 6310 6311 # Write the raw and C identifiers. 6312 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6313 # Fake it for dumpbin and say T for any non-static function 6314 # and D for any global variable. 6315 # Also find C++ and __fastcall symbols from MSVC++, 6316 # which start with @ or ?. 6317 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6318" {last_section=section; section=\$ 3};"\ 6319" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6320" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6321" \$ 0!~/External *\|/{next};"\ 6322" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6323" {if(hide[section]) next};"\ 6324" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6325" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6326" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6327" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6328" ' prfx=^$ac_symprfx" 6329 else 6330 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6331 fi 6332 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6333 6334 # Check to see that the pipe works correctly. 6335 pipe_works=no 6336 6337 rm -f conftest* 6338 cat > conftest.$ac_ext <<_LT_EOF 6339#ifdef __cplusplus 6340extern "C" { 6341#endif 6342char nm_test_var; 6343void nm_test_func(void); 6344void nm_test_func(void){} 6345#ifdef __cplusplus 6346} 6347#endif 6348int main(){nm_test_var='a';nm_test_func();return(0);} 6349_LT_EOF 6350 6351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6352 (eval $ac_compile) 2>&5 6353 ac_status=$? 6354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); }; then 6356 # Now try to grab the symbols. 6357 nlist=conftest.nm 6358 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5 6359 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6360 ac_status=$? 6361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6362 (exit $ac_status); } && test -s "$nlist"; then 6363 # Try sorting and uniquifying the output. 6364 if sort "$nlist" | uniq > "$nlist"T; then 6365 mv -f "$nlist"T "$nlist" 6366 else 6367 rm -f "$nlist"T 6368 fi 6369 6370 # Make sure that we snagged all the symbols we need. 6371 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6372 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6373 cat <<_LT_EOF > conftest.$ac_ext 6374/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6375#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6376/* DATA imports from DLLs on WIN32 con't be const, because runtime 6377 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6378# define LT@&t@_DLSYM_CONST 6379#elif defined(__osf__) 6380/* This system does not cope well with relocations in const data. */ 6381# define LT@&t@_DLSYM_CONST 6382#else 6383# define LT@&t@_DLSYM_CONST const 6384#endif 6385 6386#ifdef __cplusplus 6387extern "C" { 6388#endif 6389 6390_LT_EOF 6391 # Now generate the symbol file. 6392 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6393 6394 cat <<_LT_EOF >> conftest.$ac_ext 6395 6396/* The mapping between symbol names and symbols. */ 6397LT@&t@_DLSYM_CONST struct { 6398 const char *name; 6399 void *address; 6400} 6401lt__PROGRAM__LTX_preloaded_symbols[] = 6402{ 6403 { "@PROGRAM@", (void *) 0 }, 6404_LT_EOF 6405 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6406 cat <<\_LT_EOF >> conftest.$ac_ext 6407 {0, (void *) 0} 6408}; 6409 6410/* This works around a problem in FreeBSD linker */ 6411#ifdef FREEBSD_WORKAROUND 6412static const void *lt_preloaded_setup() { 6413 return lt__PROGRAM__LTX_preloaded_symbols; 6414} 6415#endif 6416 6417#ifdef __cplusplus 6418} 6419#endif 6420_LT_EOF 6421 # Now try linking the two files. 6422 mv conftest.$ac_objext conftstm.$ac_objext 6423 lt_globsym_save_LIBS=$LIBS 6424 lt_globsym_save_CFLAGS=$CFLAGS 6425 LIBS="conftstm.$ac_objext" 6426 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6428 (eval $ac_link) 2>&5 6429 ac_status=$? 6430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6431 (exit $ac_status); } && test -s conftest${ac_exeext}; then 6432 pipe_works=yes 6433 fi 6434 LIBS=$lt_globsym_save_LIBS 6435 CFLAGS=$lt_globsym_save_CFLAGS 6436 else 6437 echo "cannot find nm_test_func in $nlist" >&5 6438 fi 6439 else 6440 echo "cannot find nm_test_var in $nlist" >&5 6441 fi 6442 else 6443 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6444 fi 6445 else 6446 echo "$progname: failed program was:" >&5 6447 cat conftest.$ac_ext >&5 6448 fi 6449 rm -rf conftest* conftst* 6450 6451 # Do not use the global_symbol_pipe unless it works. 6452 if test "$pipe_works" = yes; then 6453 break 6454 else 6455 lt_cv_sys_global_symbol_pipe= 6456 fi 6457done 6458 6459fi 6460 6461if test -z "$lt_cv_sys_global_symbol_pipe"; then 6462 lt_cv_sys_global_symbol_to_cdecl= 6463fi 6464if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6465 { $as_echo "$as_me:$LINENO: result: failed" >&5 6466$as_echo "failed" >&6; } 6467else 6468 { $as_echo "$as_me:$LINENO: result: ok" >&5 6469$as_echo "ok" >&6; } 6470fi 6471 6472# Response file support. 6473if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6474 nm_file_list_spec='@' 6475elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6476 nm_file_list_spec='@' 6477fi 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505{ $as_echo "$as_me:$LINENO: checking for sysroot" >&5 6506$as_echo_n "checking for sysroot... " >&6; } 6507 6508@%:@ Check whether --with-sysroot was given. 6509if test "${with_sysroot+set}" = set; then 6510 withval=$with_sysroot; 6511else 6512 with_sysroot=no 6513fi 6514 6515 6516lt_sysroot= 6517case ${with_sysroot} in #( 6518 yes) 6519 if test "$GCC" = yes; then 6520 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6521 fi 6522 ;; #( 6523 /*) 6524 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6525 ;; #( 6526 no|'') 6527 ;; #( 6528 *) 6529 { $as_echo "$as_me:$LINENO: result: ${with_sysroot}" >&5 6530$as_echo "${with_sysroot}" >&6; } 6531 { { $as_echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5 6532$as_echo "$as_me: error: The sysroot must be an absolute path." >&2;} 6533 { (exit 1); exit 1; }; } 6534 ;; 6535esac 6536 6537 { $as_echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5 6538$as_echo "${lt_sysroot:-no}" >&6; } 6539 6540 6541 6542 6543 6544@%:@ Check whether --enable-libtool-lock was given. 6545if test "${enable_libtool_lock+set}" = set; then 6546 enableval=$enable_libtool_lock; 6547fi 6548 6549test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6550 6551# Some flags need to be propagated to the compiler or linker for good 6552# libtool support. 6553case $host in 6554ia64-*-hpux*) 6555 # Find out which ABI we are using. 6556 echo 'int i;' > conftest.$ac_ext 6557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6558 (eval $ac_compile) 2>&5 6559 ac_status=$? 6560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6561 (exit $ac_status); }; then 6562 case `/usr/bin/file conftest.$ac_objext` in 6563 *ELF-32*) 6564 HPUX_IA64_MODE="32" 6565 ;; 6566 *ELF-64*) 6567 HPUX_IA64_MODE="64" 6568 ;; 6569 esac 6570 fi 6571 rm -rf conftest* 6572 ;; 6573*-*-irix6*) 6574 # Find out which ABI we are using. 6575 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6577 (eval $ac_compile) 2>&5 6578 ac_status=$? 6579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6580 (exit $ac_status); }; then 6581 if test "$lt_cv_prog_gnu_ld" = yes; then 6582 case `/usr/bin/file conftest.$ac_objext` in 6583 *32-bit*) 6584 LD="${LD-ld} -melf32bsmip" 6585 ;; 6586 *N32*) 6587 LD="${LD-ld} -melf32bmipn32" 6588 ;; 6589 *64-bit*) 6590 LD="${LD-ld} -melf64bmip" 6591 ;; 6592 esac 6593 else 6594 case `/usr/bin/file conftest.$ac_objext` in 6595 *32-bit*) 6596 LD="${LD-ld} -32" 6597 ;; 6598 *N32*) 6599 LD="${LD-ld} -n32" 6600 ;; 6601 *64-bit*) 6602 LD="${LD-ld} -64" 6603 ;; 6604 esac 6605 fi 6606 fi 6607 rm -rf conftest* 6608 ;; 6609 6610x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6611s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6612 # Find out which ABI we are using. 6613 echo 'int i;' > conftest.$ac_ext 6614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6615 (eval $ac_compile) 2>&5 6616 ac_status=$? 6617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6618 (exit $ac_status); }; then 6619 case `/usr/bin/file conftest.o` in 6620 *32-bit*) 6621 case $host in 6622 x86_64-*kfreebsd*-gnu) 6623 LD="${LD-ld} -m elf_i386_fbsd" 6624 ;; 6625 x86_64-*linux*) 6626 LD="${LD-ld} -m elf_i386" 6627 ;; 6628 ppc64-*linux*|powerpc64-*linux*) 6629 LD="${LD-ld} -m elf32ppclinux" 6630 ;; 6631 s390x-*linux*) 6632 LD="${LD-ld} -m elf_s390" 6633 ;; 6634 sparc64-*linux*) 6635 LD="${LD-ld} -m elf32_sparc" 6636 ;; 6637 esac 6638 ;; 6639 *64-bit*) 6640 case $host in 6641 x86_64-*kfreebsd*-gnu) 6642 LD="${LD-ld} -m elf_x86_64_fbsd" 6643 ;; 6644 x86_64-*linux*) 6645 LD="${LD-ld} -m elf_x86_64" 6646 ;; 6647 ppc*-*linux*|powerpc*-*linux*) 6648 LD="${LD-ld} -m elf64ppc" 6649 ;; 6650 s390*-*linux*|s390*-*tpf*) 6651 LD="${LD-ld} -m elf64_s390" 6652 ;; 6653 sparc*-*linux*) 6654 LD="${LD-ld} -m elf64_sparc" 6655 ;; 6656 esac 6657 ;; 6658 esac 6659 fi 6660 rm -rf conftest* 6661 ;; 6662 6663*-*-sco3.2v5*) 6664 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6665 SAVE_CFLAGS="$CFLAGS" 6666 CFLAGS="$CFLAGS -belf" 6667 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 6668$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6669if test "${lt_cv_cc_needs_belf+set}" = set; then 6670 $as_echo_n "(cached) " >&6 6671else 6672 ac_ext=c 6673ac_cpp='$CPP $CPPFLAGS' 6674ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6675ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6676ac_compiler_gnu=$ac_cv_c_compiler_gnu 6677 6678 cat >conftest.$ac_ext <<_ACEOF 6679/* confdefs.h. */ 6680_ACEOF 6681cat confdefs.h >>conftest.$ac_ext 6682cat >>conftest.$ac_ext <<_ACEOF 6683/* end confdefs.h. */ 6684 6685int 6686main () 6687{ 6688 6689 ; 6690 return 0; 6691} 6692_ACEOF 6693rm -f conftest.$ac_objext conftest$ac_exeext 6694if { (ac_try="$ac_link" 6695case "(($ac_try" in 6696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6697 *) ac_try_echo=$ac_try;; 6698esac 6699eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6700$as_echo "$ac_try_echo") >&5 6701 (eval "$ac_link") 2>conftest.er1 6702 ac_status=$? 6703 grep -v '^ *+' conftest.er1 >conftest.err 6704 rm -f conftest.er1 6705 cat conftest.err >&5 6706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6707 (exit $ac_status); } && { 6708 test -z "$ac_c_werror_flag" || 6709 test ! -s conftest.err 6710 } && test -s conftest$ac_exeext && { 6711 test "$cross_compiling" = yes || 6712 $as_test_x conftest$ac_exeext 6713 }; then 6714 lt_cv_cc_needs_belf=yes 6715else 6716 $as_echo "$as_me: failed program was:" >&5 6717sed 's/^/| /' conftest.$ac_ext >&5 6718 6719 lt_cv_cc_needs_belf=no 6720fi 6721 6722rm -rf conftest.dSYM 6723rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6724 conftest$ac_exeext conftest.$ac_ext 6725 ac_ext=c 6726ac_cpp='$CPP $CPPFLAGS' 6727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6729ac_compiler_gnu=$ac_cv_c_compiler_gnu 6730 6731fi 6732{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 6733$as_echo "$lt_cv_cc_needs_belf" >&6; } 6734 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6735 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6736 CFLAGS="$SAVE_CFLAGS" 6737 fi 6738 ;; 6739*-*solaris*) 6740 # Find out which ABI we are using. 6741 echo 'int i;' > conftest.$ac_ext 6742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6743 (eval $ac_compile) 2>&5 6744 ac_status=$? 6745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6746 (exit $ac_status); }; then 6747 case `/usr/bin/file conftest.o` in 6748 *64-bit*) 6749 case $lt_cv_prog_gnu_ld in 6750 yes*) 6751 case $host in 6752 i?86-*-solaris*) 6753 LD="${LD-ld} -m elf_x86_64" 6754 ;; 6755 sparc*-*-solaris*) 6756 LD="${LD-ld} -m elf64_sparc" 6757 ;; 6758 esac 6759 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6760 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6761 LD="${LD-ld}_sol2" 6762 fi 6763 ;; 6764 *) 6765 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6766 LD="${LD-ld} -64" 6767 fi 6768 ;; 6769 esac 6770 ;; 6771 esac 6772 fi 6773 rm -rf conftest* 6774 ;; 6775esac 6776 6777need_locks="$enable_libtool_lock" 6778 6779if test -n "$ac_tool_prefix"; then 6780 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6781set dummy ${ac_tool_prefix}mt; ac_word=$2 6782{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6783$as_echo_n "checking for $ac_word... " >&6; } 6784if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then 6785 $as_echo_n "(cached) " >&6 6786else 6787 if test -n "$MANIFEST_TOOL"; then 6788 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6789else 6790as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6791for as_dir in $PATH 6792do 6793 IFS=$as_save_IFS 6794 test -z "$as_dir" && as_dir=. 6795 for ac_exec_ext in '' $ac_executable_extensions; do 6796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6797 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6798 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6799 break 2 6800 fi 6801done 6802done 6803IFS=$as_save_IFS 6804 6805fi 6806fi 6807MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6808if test -n "$MANIFEST_TOOL"; then 6809 { $as_echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5 6810$as_echo "$MANIFEST_TOOL" >&6; } 6811else 6812 { $as_echo "$as_me:$LINENO: result: no" >&5 6813$as_echo "no" >&6; } 6814fi 6815 6816 6817fi 6818if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6819 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6820 # Extract the first word of "mt", so it can be a program name with args. 6821set dummy mt; ac_word=$2 6822{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6823$as_echo_n "checking for $ac_word... " >&6; } 6824if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then 6825 $as_echo_n "(cached) " >&6 6826else 6827 if test -n "$ac_ct_MANIFEST_TOOL"; then 6828 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6829else 6830as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6831for as_dir in $PATH 6832do 6833 IFS=$as_save_IFS 6834 test -z "$as_dir" && as_dir=. 6835 for ac_exec_ext in '' $ac_executable_extensions; do 6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6837 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6838 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6839 break 2 6840 fi 6841done 6842done 6843IFS=$as_save_IFS 6844 6845fi 6846fi 6847ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6848if test -n "$ac_ct_MANIFEST_TOOL"; then 6849 { $as_echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5 6850$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6851else 6852 { $as_echo "$as_me:$LINENO: result: no" >&5 6853$as_echo "no" >&6; } 6854fi 6855 6856 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6857 MANIFEST_TOOL=":" 6858 else 6859 case $cross_compiling:$ac_tool_warned in 6860yes:) 6861{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6862$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6863ac_tool_warned=yes ;; 6864esac 6865 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6866 fi 6867else 6868 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6869fi 6870 6871test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6872{ $as_echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5 6873$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6874if test "${lt_cv_path_mainfest_tool+set}" = set; then 6875 $as_echo_n "(cached) " >&6 6876else 6877 lt_cv_path_mainfest_tool=no 6878 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6879 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6880 cat conftest.err >&5 6881 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6882 lt_cv_path_mainfest_tool=yes 6883 fi 6884 rm -f conftest* 6885fi 6886{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5 6887$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6888if test "x$lt_cv_path_mainfest_tool" != xyes; then 6889 MANIFEST_TOOL=: 6890fi 6891 6892 6893 6894 6895 6896 6897 case $host_os in 6898 rhapsody* | darwin*) 6899 if test -n "$ac_tool_prefix"; then 6900 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6901set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6902{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6903$as_echo_n "checking for $ac_word... " >&6; } 6904if test "${ac_cv_prog_DSYMUTIL+set}" = set; then 6905 $as_echo_n "(cached) " >&6 6906else 6907 if test -n "$DSYMUTIL"; then 6908 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6909else 6910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6911for as_dir in $PATH 6912do 6913 IFS=$as_save_IFS 6914 test -z "$as_dir" && as_dir=. 6915 for ac_exec_ext in '' $ac_executable_extensions; do 6916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6917 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6918 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6919 break 2 6920 fi 6921done 6922done 6923IFS=$as_save_IFS 6924 6925fi 6926fi 6927DSYMUTIL=$ac_cv_prog_DSYMUTIL 6928if test -n "$DSYMUTIL"; then 6929 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 6930$as_echo "$DSYMUTIL" >&6; } 6931else 6932 { $as_echo "$as_me:$LINENO: result: no" >&5 6933$as_echo "no" >&6; } 6934fi 6935 6936 6937fi 6938if test -z "$ac_cv_prog_DSYMUTIL"; then 6939 ac_ct_DSYMUTIL=$DSYMUTIL 6940 # Extract the first word of "dsymutil", so it can be a program name with args. 6941set dummy dsymutil; ac_word=$2 6942{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6943$as_echo_n "checking for $ac_word... " >&6; } 6944if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then 6945 $as_echo_n "(cached) " >&6 6946else 6947 if test -n "$ac_ct_DSYMUTIL"; then 6948 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6949else 6950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6951for as_dir in $PATH 6952do 6953 IFS=$as_save_IFS 6954 test -z "$as_dir" && as_dir=. 6955 for ac_exec_ext in '' $ac_executable_extensions; do 6956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6957 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6958 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 6959 break 2 6960 fi 6961done 6962done 6963IFS=$as_save_IFS 6964 6965fi 6966fi 6967ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6968if test -n "$ac_ct_DSYMUTIL"; then 6969 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 6970$as_echo "$ac_ct_DSYMUTIL" >&6; } 6971else 6972 { $as_echo "$as_me:$LINENO: result: no" >&5 6973$as_echo "no" >&6; } 6974fi 6975 6976 if test "x$ac_ct_DSYMUTIL" = x; then 6977 DSYMUTIL=":" 6978 else 6979 case $cross_compiling:$ac_tool_warned in 6980yes:) 6981{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 6982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6983ac_tool_warned=yes ;; 6984esac 6985 DSYMUTIL=$ac_ct_DSYMUTIL 6986 fi 6987else 6988 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6989fi 6990 6991 if test -n "$ac_tool_prefix"; then 6992 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6993set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6994{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 6995$as_echo_n "checking for $ac_word... " >&6; } 6996if test "${ac_cv_prog_NMEDIT+set}" = set; then 6997 $as_echo_n "(cached) " >&6 6998else 6999 if test -n "$NMEDIT"; then 7000 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7001else 7002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7003for as_dir in $PATH 7004do 7005 IFS=$as_save_IFS 7006 test -z "$as_dir" && as_dir=. 7007 for ac_exec_ext in '' $ac_executable_extensions; do 7008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7009 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7010 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7011 break 2 7012 fi 7013done 7014done 7015IFS=$as_save_IFS 7016 7017fi 7018fi 7019NMEDIT=$ac_cv_prog_NMEDIT 7020if test -n "$NMEDIT"; then 7021 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 7022$as_echo "$NMEDIT" >&6; } 7023else 7024 { $as_echo "$as_me:$LINENO: result: no" >&5 7025$as_echo "no" >&6; } 7026fi 7027 7028 7029fi 7030if test -z "$ac_cv_prog_NMEDIT"; then 7031 ac_ct_NMEDIT=$NMEDIT 7032 # Extract the first word of "nmedit", so it can be a program name with args. 7033set dummy nmedit; ac_word=$2 7034{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7035$as_echo_n "checking for $ac_word... " >&6; } 7036if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then 7037 $as_echo_n "(cached) " >&6 7038else 7039 if test -n "$ac_ct_NMEDIT"; then 7040 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7041else 7042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7043for as_dir in $PATH 7044do 7045 IFS=$as_save_IFS 7046 test -z "$as_dir" && as_dir=. 7047 for ac_exec_ext in '' $ac_executable_extensions; do 7048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7049 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7051 break 2 7052 fi 7053done 7054done 7055IFS=$as_save_IFS 7056 7057fi 7058fi 7059ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7060if test -n "$ac_ct_NMEDIT"; then 7061 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 7062$as_echo "$ac_ct_NMEDIT" >&6; } 7063else 7064 { $as_echo "$as_me:$LINENO: result: no" >&5 7065$as_echo "no" >&6; } 7066fi 7067 7068 if test "x$ac_ct_NMEDIT" = x; then 7069 NMEDIT=":" 7070 else 7071 case $cross_compiling:$ac_tool_warned in 7072yes:) 7073{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7074$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7075ac_tool_warned=yes ;; 7076esac 7077 NMEDIT=$ac_ct_NMEDIT 7078 fi 7079else 7080 NMEDIT="$ac_cv_prog_NMEDIT" 7081fi 7082 7083 if test -n "$ac_tool_prefix"; then 7084 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7085set dummy ${ac_tool_prefix}lipo; ac_word=$2 7086{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7087$as_echo_n "checking for $ac_word... " >&6; } 7088if test "${ac_cv_prog_LIPO+set}" = set; then 7089 $as_echo_n "(cached) " >&6 7090else 7091 if test -n "$LIPO"; then 7092 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7093else 7094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7095for as_dir in $PATH 7096do 7097 IFS=$as_save_IFS 7098 test -z "$as_dir" && as_dir=. 7099 for ac_exec_ext in '' $ac_executable_extensions; do 7100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7101 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7103 break 2 7104 fi 7105done 7106done 7107IFS=$as_save_IFS 7108 7109fi 7110fi 7111LIPO=$ac_cv_prog_LIPO 7112if test -n "$LIPO"; then 7113 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 7114$as_echo "$LIPO" >&6; } 7115else 7116 { $as_echo "$as_me:$LINENO: result: no" >&5 7117$as_echo "no" >&6; } 7118fi 7119 7120 7121fi 7122if test -z "$ac_cv_prog_LIPO"; then 7123 ac_ct_LIPO=$LIPO 7124 # Extract the first word of "lipo", so it can be a program name with args. 7125set dummy lipo; ac_word=$2 7126{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7127$as_echo_n "checking for $ac_word... " >&6; } 7128if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then 7129 $as_echo_n "(cached) " >&6 7130else 7131 if test -n "$ac_ct_LIPO"; then 7132 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7133else 7134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7135for as_dir in $PATH 7136do 7137 IFS=$as_save_IFS 7138 test -z "$as_dir" && as_dir=. 7139 for ac_exec_ext in '' $ac_executable_extensions; do 7140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7141 ac_cv_prog_ac_ct_LIPO="lipo" 7142 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7143 break 2 7144 fi 7145done 7146done 7147IFS=$as_save_IFS 7148 7149fi 7150fi 7151ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7152if test -n "$ac_ct_LIPO"; then 7153 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 7154$as_echo "$ac_ct_LIPO" >&6; } 7155else 7156 { $as_echo "$as_me:$LINENO: result: no" >&5 7157$as_echo "no" >&6; } 7158fi 7159 7160 if test "x$ac_ct_LIPO" = x; then 7161 LIPO=":" 7162 else 7163 case $cross_compiling:$ac_tool_warned in 7164yes:) 7165{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7167ac_tool_warned=yes ;; 7168esac 7169 LIPO=$ac_ct_LIPO 7170 fi 7171else 7172 LIPO="$ac_cv_prog_LIPO" 7173fi 7174 7175 if test -n "$ac_tool_prefix"; then 7176 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7177set dummy ${ac_tool_prefix}otool; ac_word=$2 7178{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7179$as_echo_n "checking for $ac_word... " >&6; } 7180if test "${ac_cv_prog_OTOOL+set}" = set; then 7181 $as_echo_n "(cached) " >&6 7182else 7183 if test -n "$OTOOL"; then 7184 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7185else 7186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7187for as_dir in $PATH 7188do 7189 IFS=$as_save_IFS 7190 test -z "$as_dir" && as_dir=. 7191 for ac_exec_ext in '' $ac_executable_extensions; do 7192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7193 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7195 break 2 7196 fi 7197done 7198done 7199IFS=$as_save_IFS 7200 7201fi 7202fi 7203OTOOL=$ac_cv_prog_OTOOL 7204if test -n "$OTOOL"; then 7205 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 7206$as_echo "$OTOOL" >&6; } 7207else 7208 { $as_echo "$as_me:$LINENO: result: no" >&5 7209$as_echo "no" >&6; } 7210fi 7211 7212 7213fi 7214if test -z "$ac_cv_prog_OTOOL"; then 7215 ac_ct_OTOOL=$OTOOL 7216 # Extract the first word of "otool", so it can be a program name with args. 7217set dummy otool; ac_word=$2 7218{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7219$as_echo_n "checking for $ac_word... " >&6; } 7220if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then 7221 $as_echo_n "(cached) " >&6 7222else 7223 if test -n "$ac_ct_OTOOL"; then 7224 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7225else 7226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7227for as_dir in $PATH 7228do 7229 IFS=$as_save_IFS 7230 test -z "$as_dir" && as_dir=. 7231 for ac_exec_ext in '' $ac_executable_extensions; do 7232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7233 ac_cv_prog_ac_ct_OTOOL="otool" 7234 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7235 break 2 7236 fi 7237done 7238done 7239IFS=$as_save_IFS 7240 7241fi 7242fi 7243ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7244if test -n "$ac_ct_OTOOL"; then 7245 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 7246$as_echo "$ac_ct_OTOOL" >&6; } 7247else 7248 { $as_echo "$as_me:$LINENO: result: no" >&5 7249$as_echo "no" >&6; } 7250fi 7251 7252 if test "x$ac_ct_OTOOL" = x; then 7253 OTOOL=":" 7254 else 7255 case $cross_compiling:$ac_tool_warned in 7256yes:) 7257{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7258$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7259ac_tool_warned=yes ;; 7260esac 7261 OTOOL=$ac_ct_OTOOL 7262 fi 7263else 7264 OTOOL="$ac_cv_prog_OTOOL" 7265fi 7266 7267 if test -n "$ac_tool_prefix"; then 7268 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7269set dummy ${ac_tool_prefix}otool64; ac_word=$2 7270{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7271$as_echo_n "checking for $ac_word... " >&6; } 7272if test "${ac_cv_prog_OTOOL64+set}" = set; then 7273 $as_echo_n "(cached) " >&6 7274else 7275 if test -n "$OTOOL64"; then 7276 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7277else 7278as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7279for as_dir in $PATH 7280do 7281 IFS=$as_save_IFS 7282 test -z "$as_dir" && as_dir=. 7283 for ac_exec_ext in '' $ac_executable_extensions; do 7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7285 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7286 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7287 break 2 7288 fi 7289done 7290done 7291IFS=$as_save_IFS 7292 7293fi 7294fi 7295OTOOL64=$ac_cv_prog_OTOOL64 7296if test -n "$OTOOL64"; then 7297 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 7298$as_echo "$OTOOL64" >&6; } 7299else 7300 { $as_echo "$as_me:$LINENO: result: no" >&5 7301$as_echo "no" >&6; } 7302fi 7303 7304 7305fi 7306if test -z "$ac_cv_prog_OTOOL64"; then 7307 ac_ct_OTOOL64=$OTOOL64 7308 # Extract the first word of "otool64", so it can be a program name with args. 7309set dummy otool64; ac_word=$2 7310{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 7311$as_echo_n "checking for $ac_word... " >&6; } 7312if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then 7313 $as_echo_n "(cached) " >&6 7314else 7315 if test -n "$ac_ct_OTOOL64"; then 7316 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7317else 7318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7319for as_dir in $PATH 7320do 7321 IFS=$as_save_IFS 7322 test -z "$as_dir" && as_dir=. 7323 for ac_exec_ext in '' $ac_executable_extensions; do 7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 7325 ac_cv_prog_ac_ct_OTOOL64="otool64" 7326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 7327 break 2 7328 fi 7329done 7330done 7331IFS=$as_save_IFS 7332 7333fi 7334fi 7335ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7336if test -n "$ac_ct_OTOOL64"; then 7337 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 7338$as_echo "$ac_ct_OTOOL64" >&6; } 7339else 7340 { $as_echo "$as_me:$LINENO: result: no" >&5 7341$as_echo "no" >&6; } 7342fi 7343 7344 if test "x$ac_ct_OTOOL64" = x; then 7345 OTOOL64=":" 7346 else 7347 case $cross_compiling:$ac_tool_warned in 7348yes:) 7349{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 7350$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7351ac_tool_warned=yes ;; 7352esac 7353 OTOOL64=$ac_ct_OTOOL64 7354 fi 7355else 7356 OTOOL64="$ac_cv_prog_OTOOL64" 7357fi 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 7386$as_echo_n "checking for -single_module linker flag... " >&6; } 7387if test "${lt_cv_apple_cc_single_mod+set}" = set; then 7388 $as_echo_n "(cached) " >&6 7389else 7390 lt_cv_apple_cc_single_mod=no 7391 if test -z "${LT_MULTI_MODULE}"; then 7392 # By default we will add the -single_module flag. You can override 7393 # by either setting the environment variable LT_MULTI_MODULE 7394 # non-empty at configure time, or by adding -multi_module to the 7395 # link flags. 7396 rm -rf libconftest.dylib* 7397 echo "int foo(void){return 1;}" > conftest.c 7398 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7399-dynamiclib -Wl,-single_module conftest.c" >&5 7400 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7401 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7402 _lt_result=$? 7403 # If there is a non-empty error log, and "single_module" 7404 # appears in it, assume the flag caused a linker warning 7405 if test -s conftest.err && $GREP single_module conftest.err; then 7406 cat conftest.err >&5 7407 # Otherwise, if the output was created with a 0 exit code from 7408 # the compiler, it worked. 7409 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7410 lt_cv_apple_cc_single_mod=yes 7411 else 7412 cat conftest.err >&5 7413 fi 7414 rm -rf libconftest.dylib* 7415 rm -f conftest.* 7416 fi 7417fi 7418{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 7419$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7420 7421 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 7422$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7423if test "${lt_cv_ld_exported_symbols_list+set}" = set; then 7424 $as_echo_n "(cached) " >&6 7425else 7426 lt_cv_ld_exported_symbols_list=no 7427 save_LDFLAGS=$LDFLAGS 7428 echo "_main" > conftest.sym 7429 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7430 cat >conftest.$ac_ext <<_ACEOF 7431/* confdefs.h. */ 7432_ACEOF 7433cat confdefs.h >>conftest.$ac_ext 7434cat >>conftest.$ac_ext <<_ACEOF 7435/* end confdefs.h. */ 7436 7437int 7438main () 7439{ 7440 7441 ; 7442 return 0; 7443} 7444_ACEOF 7445rm -f conftest.$ac_objext conftest$ac_exeext 7446if { (ac_try="$ac_link" 7447case "(($ac_try" in 7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7449 *) ac_try_echo=$ac_try;; 7450esac 7451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7452$as_echo "$ac_try_echo") >&5 7453 (eval "$ac_link") 2>conftest.er1 7454 ac_status=$? 7455 grep -v '^ *+' conftest.er1 >conftest.err 7456 rm -f conftest.er1 7457 cat conftest.err >&5 7458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7459 (exit $ac_status); } && { 7460 test -z "$ac_c_werror_flag" || 7461 test ! -s conftest.err 7462 } && test -s conftest$ac_exeext && { 7463 test "$cross_compiling" = yes || 7464 $as_test_x conftest$ac_exeext 7465 }; then 7466 lt_cv_ld_exported_symbols_list=yes 7467else 7468 $as_echo "$as_me: failed program was:" >&5 7469sed 's/^/| /' conftest.$ac_ext >&5 7470 7471 lt_cv_ld_exported_symbols_list=no 7472fi 7473 7474rm -rf conftest.dSYM 7475rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7476 conftest$ac_exeext conftest.$ac_ext 7477 LDFLAGS="$save_LDFLAGS" 7478 7479fi 7480{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 7481$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7482 7483 { $as_echo "$as_me:$LINENO: checking for -force_load linker flag" >&5 7484$as_echo_n "checking for -force_load linker flag... " >&6; } 7485if test "${lt_cv_ld_force_load+set}" = set; then 7486 $as_echo_n "(cached) " >&6 7487else 7488 lt_cv_ld_force_load=no 7489 cat > conftest.c << _LT_EOF 7490int forced_loaded() { return 2;} 7491_LT_EOF 7492 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7493 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7494 echo "$AR cru libconftest.a conftest.o" >&5 7495 $AR cru libconftest.a conftest.o 2>&5 7496 echo "$RANLIB libconftest.a" >&5 7497 $RANLIB libconftest.a 2>&5 7498 cat > conftest.c << _LT_EOF 7499int main() { return 0;} 7500_LT_EOF 7501 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7502 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7503 _lt_result=$? 7504 if test -s conftest.err && $GREP force_load conftest.err; then 7505 cat conftest.err >&5 7506 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7507 lt_cv_ld_force_load=yes 7508 else 7509 cat conftest.err >&5 7510 fi 7511 rm -f conftest.err libconftest.a conftest conftest.c 7512 rm -rf conftest.dSYM 7513 7514fi 7515{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5 7516$as_echo "$lt_cv_ld_force_load" >&6; } 7517 case $host_os in 7518 rhapsody* | darwin1.[012]) 7519 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7520 darwin1.*) 7521 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7522 darwin*) # darwin 5.x on 7523 # if running on 10.5 or later, the deployment target defaults 7524 # to the OS version, if on x86, and 10.4, the deployment 7525 # target defaults to 10.4. Don't you love it? 7526 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7527 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7528 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7529 10.[012]*) 7530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7531 10.*) 7532 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7533 esac 7534 ;; 7535 esac 7536 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7537 _lt_dar_single_mod='$single_module' 7538 fi 7539 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7540 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7541 else 7542 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7543 fi 7544 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7545 _lt_dsymutil='~$DSYMUTIL $lib || :' 7546 else 7547 _lt_dsymutil= 7548 fi 7549 ;; 7550 esac 7551 7552 7553{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 7554$as_echo_n "checking for ANSI C header files... " >&6; } 7555if test "${ac_cv_header_stdc+set}" = set; then 7556 $as_echo_n "(cached) " >&6 7557else 7558 cat >conftest.$ac_ext <<_ACEOF 7559/* confdefs.h. */ 7560_ACEOF 7561cat confdefs.h >>conftest.$ac_ext 7562cat >>conftest.$ac_ext <<_ACEOF 7563/* end confdefs.h. */ 7564#include <stdlib.h> 7565#include <stdarg.h> 7566#include <string.h> 7567#include <float.h> 7568 7569int 7570main () 7571{ 7572 7573 ; 7574 return 0; 7575} 7576_ACEOF 7577rm -f conftest.$ac_objext 7578if { (ac_try="$ac_compile" 7579case "(($ac_try" in 7580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7581 *) ac_try_echo=$ac_try;; 7582esac 7583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7584$as_echo "$ac_try_echo") >&5 7585 (eval "$ac_compile") 2>conftest.er1 7586 ac_status=$? 7587 grep -v '^ *+' conftest.er1 >conftest.err 7588 rm -f conftest.er1 7589 cat conftest.err >&5 7590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7591 (exit $ac_status); } && { 7592 test -z "$ac_c_werror_flag" || 7593 test ! -s conftest.err 7594 } && test -s conftest.$ac_objext; then 7595 ac_cv_header_stdc=yes 7596else 7597 $as_echo "$as_me: failed program was:" >&5 7598sed 's/^/| /' conftest.$ac_ext >&5 7599 7600 ac_cv_header_stdc=no 7601fi 7602 7603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7604 7605if test $ac_cv_header_stdc = yes; then 7606 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7607 cat >conftest.$ac_ext <<_ACEOF 7608/* confdefs.h. */ 7609_ACEOF 7610cat confdefs.h >>conftest.$ac_ext 7611cat >>conftest.$ac_ext <<_ACEOF 7612/* end confdefs.h. */ 7613#include <string.h> 7614 7615_ACEOF 7616if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7617 $EGREP "memchr" >/dev/null 2>&1; then 7618 : 7619else 7620 ac_cv_header_stdc=no 7621fi 7622rm -f conftest* 7623 7624fi 7625 7626if test $ac_cv_header_stdc = yes; then 7627 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7628 cat >conftest.$ac_ext <<_ACEOF 7629/* confdefs.h. */ 7630_ACEOF 7631cat confdefs.h >>conftest.$ac_ext 7632cat >>conftest.$ac_ext <<_ACEOF 7633/* end confdefs.h. */ 7634#include <stdlib.h> 7635 7636_ACEOF 7637if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7638 $EGREP "free" >/dev/null 2>&1; then 7639 : 7640else 7641 ac_cv_header_stdc=no 7642fi 7643rm -f conftest* 7644 7645fi 7646 7647if test $ac_cv_header_stdc = yes; then 7648 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7649 if test "$cross_compiling" = yes; then 7650 : 7651else 7652 cat >conftest.$ac_ext <<_ACEOF 7653/* confdefs.h. */ 7654_ACEOF 7655cat confdefs.h >>conftest.$ac_ext 7656cat >>conftest.$ac_ext <<_ACEOF 7657/* end confdefs.h. */ 7658#include <ctype.h> 7659#include <stdlib.h> 7660#if ((' ' & 0x0FF) == 0x020) 7661# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7662# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7663#else 7664# define ISLOWER(c) \ 7665 (('a' <= (c) && (c) <= 'i') \ 7666 || ('j' <= (c) && (c) <= 'r') \ 7667 || ('s' <= (c) && (c) <= 'z')) 7668# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7669#endif 7670 7671#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7672int 7673main () 7674{ 7675 int i; 7676 for (i = 0; i < 256; i++) 7677 if (XOR (islower (i), ISLOWER (i)) 7678 || toupper (i) != TOUPPER (i)) 7679 return 2; 7680 return 0; 7681} 7682_ACEOF 7683rm -f conftest$ac_exeext 7684if { (ac_try="$ac_link" 7685case "(($ac_try" in 7686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7687 *) ac_try_echo=$ac_try;; 7688esac 7689eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7690$as_echo "$ac_try_echo") >&5 7691 (eval "$ac_link") 2>&5 7692 ac_status=$? 7693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7695 { (case "(($ac_try" in 7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7697 *) ac_try_echo=$ac_try;; 7698esac 7699eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7700$as_echo "$ac_try_echo") >&5 7701 (eval "$ac_try") 2>&5 7702 ac_status=$? 7703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7704 (exit $ac_status); }; }; then 7705 : 7706else 7707 $as_echo "$as_me: program exited with status $ac_status" >&5 7708$as_echo "$as_me: failed program was:" >&5 7709sed 's/^/| /' conftest.$ac_ext >&5 7710 7711( exit $ac_status ) 7712ac_cv_header_stdc=no 7713fi 7714rm -rf conftest.dSYM 7715rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7716fi 7717 7718 7719fi 7720fi 7721{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 7722$as_echo "$ac_cv_header_stdc" >&6; } 7723if test $ac_cv_header_stdc = yes; then 7724 7725cat >>confdefs.h <<\_ACEOF 7726@%:@define STDC_HEADERS 1 7727_ACEOF 7728 7729fi 7730 7731# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7742 inttypes.h stdint.h unistd.h 7743do 7744as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7745{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7746$as_echo_n "checking for $ac_header... " >&6; } 7747if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7748 $as_echo_n "(cached) " >&6 7749else 7750 cat >conftest.$ac_ext <<_ACEOF 7751/* confdefs.h. */ 7752_ACEOF 7753cat confdefs.h >>conftest.$ac_ext 7754cat >>conftest.$ac_ext <<_ACEOF 7755/* end confdefs.h. */ 7756$ac_includes_default 7757 7758@%:@include <$ac_header> 7759_ACEOF 7760rm -f conftest.$ac_objext 7761if { (ac_try="$ac_compile" 7762case "(($ac_try" in 7763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7764 *) ac_try_echo=$ac_try;; 7765esac 7766eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7767$as_echo "$ac_try_echo") >&5 7768 (eval "$ac_compile") 2>conftest.er1 7769 ac_status=$? 7770 grep -v '^ *+' conftest.er1 >conftest.err 7771 rm -f conftest.er1 7772 cat conftest.err >&5 7773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7774 (exit $ac_status); } && { 7775 test -z "$ac_c_werror_flag" || 7776 test ! -s conftest.err 7777 } && test -s conftest.$ac_objext; then 7778 eval "$as_ac_Header=yes" 7779else 7780 $as_echo "$as_me: failed program was:" >&5 7781sed 's/^/| /' conftest.$ac_ext >&5 7782 7783 eval "$as_ac_Header=no" 7784fi 7785 7786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7787fi 7788ac_res=`eval 'as_val=${'$as_ac_Header'} 7789 $as_echo "$as_val"'` 7790 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7791$as_echo "$ac_res" >&6; } 7792as_val=`eval 'as_val=${'$as_ac_Header'} 7793 $as_echo "$as_val"'` 7794 if test "x$as_val" = x""yes; then 7795 cat >>confdefs.h <<_ACEOF 7796@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7797_ACEOF 7798 7799fi 7800 7801done 7802 7803 7804 7805for ac_header in dlfcn.h 7806do 7807as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7808{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 7809$as_echo_n "checking for $ac_header... " >&6; } 7810if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7811 $as_echo_n "(cached) " >&6 7812else 7813 cat >conftest.$ac_ext <<_ACEOF 7814/* confdefs.h. */ 7815_ACEOF 7816cat confdefs.h >>conftest.$ac_ext 7817cat >>conftest.$ac_ext <<_ACEOF 7818/* end confdefs.h. */ 7819$ac_includes_default 7820 7821@%:@include <$ac_header> 7822_ACEOF 7823rm -f conftest.$ac_objext 7824if { (ac_try="$ac_compile" 7825case "(($ac_try" in 7826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7827 *) ac_try_echo=$ac_try;; 7828esac 7829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7830$as_echo "$ac_try_echo") >&5 7831 (eval "$ac_compile") 2>conftest.er1 7832 ac_status=$? 7833 grep -v '^ *+' conftest.er1 >conftest.err 7834 rm -f conftest.er1 7835 cat conftest.err >&5 7836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7837 (exit $ac_status); } && { 7838 test -z "$ac_c_werror_flag" || 7839 test ! -s conftest.err 7840 } && test -s conftest.$ac_objext; then 7841 eval "$as_ac_Header=yes" 7842else 7843 $as_echo "$as_me: failed program was:" >&5 7844sed 's/^/| /' conftest.$ac_ext >&5 7845 7846 eval "$as_ac_Header=no" 7847fi 7848 7849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7850fi 7851ac_res=`eval 'as_val=${'$as_ac_Header'} 7852 $as_echo "$as_val"'` 7853 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 7854$as_echo "$ac_res" >&6; } 7855as_val=`eval 'as_val=${'$as_ac_Header'} 7856 $as_echo "$as_val"'` 7857 if test "x$as_val" = x""yes; then 7858 cat >>confdefs.h <<_ACEOF 7859@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7860_ACEOF 7861 7862fi 7863 7864done 7865 7866 7867 7868 7869 7870# Set options 7871 7872 7873 7874 7875 enable_win32_dll=no 7876 7877 7878 @%:@ Check whether --enable-shared was given. 7879if test "${enable_shared+set}" = set; then 7880 enableval=$enable_shared; p=${PACKAGE-default} 7881 case $enableval in 7882 yes) enable_shared=yes ;; 7883 no) enable_shared=no ;; 7884 *) 7885 enable_shared=no 7886 # Look at the argument we got. We use all the common list separators. 7887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7888 for pkg in $enableval; do 7889 IFS="$lt_save_ifs" 7890 if test "X$pkg" = "X$p"; then 7891 enable_shared=yes 7892 fi 7893 done 7894 IFS="$lt_save_ifs" 7895 ;; 7896 esac 7897else 7898 enable_shared=yes 7899fi 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911@%:@ Check whether --with-pic was given. 7912if test "${with_pic+set}" = set; then 7913 withval=$with_pic; lt_p=${PACKAGE-default} 7914 case $withval in 7915 yes|no) pic_mode=$withval ;; 7916 *) 7917 pic_mode=default 7918 # Look at the argument we got. We use all the common list separators. 7919 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7920 for lt_pkg in $withval; do 7921 IFS="$lt_save_ifs" 7922 if test "X$lt_pkg" = "X$lt_p"; then 7923 pic_mode=yes 7924 fi 7925 done 7926 IFS="$lt_save_ifs" 7927 ;; 7928 esac 7929else 7930 pic_mode=default 7931fi 7932 7933 7934test -z "$pic_mode" && pic_mode=default 7935 7936 7937 7938 7939 7940 7941 7942 @%:@ Check whether --enable-fast-install was given. 7943if test "${enable_fast_install+set}" = set; then 7944 enableval=$enable_fast_install; p=${PACKAGE-default} 7945 case $enableval in 7946 yes) enable_fast_install=yes ;; 7947 no) enable_fast_install=no ;; 7948 *) 7949 enable_fast_install=no 7950 # Look at the argument we got. We use all the common list separators. 7951 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7952 for pkg in $enableval; do 7953 IFS="$lt_save_ifs" 7954 if test "X$pkg" = "X$p"; then 7955 enable_fast_install=yes 7956 fi 7957 done 7958 IFS="$lt_save_ifs" 7959 ;; 7960 esac 7961else 7962 enable_fast_install=yes 7963fi 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975# This can be used to rebuild libtool when needed 7976LIBTOOL_DEPS="$ltmain" 7977 7978# Always use our own libtool. 7979LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010test -z "$LN_S" && LN_S="ln -s" 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025if test -n "${ZSH_VERSION+set}" ; then 8026 setopt NO_GLOB_SUBST 8027fi 8028 8029{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 8030$as_echo_n "checking for objdir... " >&6; } 8031if test "${lt_cv_objdir+set}" = set; then 8032 $as_echo_n "(cached) " >&6 8033else 8034 rm -f .libs 2>/dev/null 8035mkdir .libs 2>/dev/null 8036if test -d .libs; then 8037 lt_cv_objdir=.libs 8038else 8039 # MS-DOS does not allow filenames that begin with a dot. 8040 lt_cv_objdir=_libs 8041fi 8042rmdir .libs 2>/dev/null 8043fi 8044{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 8045$as_echo "$lt_cv_objdir" >&6; } 8046objdir=$lt_cv_objdir 8047 8048 8049 8050 8051 8052cat >>confdefs.h <<_ACEOF 8053@%:@define LT_OBJDIR "$lt_cv_objdir/" 8054_ACEOF 8055 8056 8057 8058 8059case $host_os in 8060aix3*) 8061 # AIX sometimes has problems with the GCC collect2 program. For some 8062 # reason, if we set the COLLECT_NAMES environment variable, the problems 8063 # vanish in a puff of smoke. 8064 if test "X${COLLECT_NAMES+set}" != Xset; then 8065 COLLECT_NAMES= 8066 export COLLECT_NAMES 8067 fi 8068 ;; 8069esac 8070 8071# Global variables: 8072ofile=libtool 8073can_build_shared=yes 8074 8075# All known linkers require a `.a' archive for static linking (except MSVC, 8076# which needs '.lib'). 8077libext=a 8078 8079with_gnu_ld="$lt_cv_prog_gnu_ld" 8080 8081old_CC="$CC" 8082old_CFLAGS="$CFLAGS" 8083 8084# Set sane defaults for various variables 8085test -z "$CC" && CC=cc 8086test -z "$LTCC" && LTCC=$CC 8087test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8088test -z "$LD" && LD=ld 8089test -z "$ac_objext" && ac_objext=o 8090 8091for cc_temp in $compiler""; do 8092 case $cc_temp in 8093 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8094 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8095 \-*) ;; 8096 *) break;; 8097 esac 8098done 8099cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8100 8101 8102# Only perform the check for file, if the check method requires it 8103test -z "$MAGIC_CMD" && MAGIC_CMD=file 8104case $deplibs_check_method in 8105file_magic*) 8106 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8107 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 8108$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8109if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8110 $as_echo_n "(cached) " >&6 8111else 8112 case $MAGIC_CMD in 8113[\\/*] | ?:[\\/]*) 8114 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8115 ;; 8116*) 8117 lt_save_MAGIC_CMD="$MAGIC_CMD" 8118 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8119 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8120 for ac_dir in $ac_dummy; do 8121 IFS="$lt_save_ifs" 8122 test -z "$ac_dir" && ac_dir=. 8123 if test -f $ac_dir/${ac_tool_prefix}file; then 8124 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8125 if test -n "$file_magic_test_file"; then 8126 case $deplibs_check_method in 8127 "file_magic "*) 8128 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8130 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8131 $EGREP "$file_magic_regex" > /dev/null; then 8132 : 8133 else 8134 cat <<_LT_EOF 1>&2 8135 8136*** Warning: the command libtool uses to detect shared libraries, 8137*** $file_magic_cmd, produces output that libtool cannot recognize. 8138*** The result is that libtool may fail to recognize shared libraries 8139*** as such. This will affect the creation of libtool libraries that 8140*** depend on shared libraries, but programs linked with such libtool 8141*** libraries will work regardless of this problem. Nevertheless, you 8142*** may want to report the problem to your system manager and/or to 8143*** bug-libtool@gnu.org 8144 8145_LT_EOF 8146 fi ;; 8147 esac 8148 fi 8149 break 8150 fi 8151 done 8152 IFS="$lt_save_ifs" 8153 MAGIC_CMD="$lt_save_MAGIC_CMD" 8154 ;; 8155esac 8156fi 8157 8158MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8159if test -n "$MAGIC_CMD"; then 8160 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8161$as_echo "$MAGIC_CMD" >&6; } 8162else 8163 { $as_echo "$as_me:$LINENO: result: no" >&5 8164$as_echo "no" >&6; } 8165fi 8166 8167 8168 8169 8170 8171if test -z "$lt_cv_path_MAGIC_CMD"; then 8172 if test -n "$ac_tool_prefix"; then 8173 { $as_echo "$as_me:$LINENO: checking for file" >&5 8174$as_echo_n "checking for file... " >&6; } 8175if test "${lt_cv_path_MAGIC_CMD+set}" = set; then 8176 $as_echo_n "(cached) " >&6 8177else 8178 case $MAGIC_CMD in 8179[\\/*] | ?:[\\/]*) 8180 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8181 ;; 8182*) 8183 lt_save_MAGIC_CMD="$MAGIC_CMD" 8184 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8185 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8186 for ac_dir in $ac_dummy; do 8187 IFS="$lt_save_ifs" 8188 test -z "$ac_dir" && ac_dir=. 8189 if test -f $ac_dir/file; then 8190 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8191 if test -n "$file_magic_test_file"; then 8192 case $deplibs_check_method in 8193 "file_magic "*) 8194 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8195 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8196 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8197 $EGREP "$file_magic_regex" > /dev/null; then 8198 : 8199 else 8200 cat <<_LT_EOF 1>&2 8201 8202*** Warning: the command libtool uses to detect shared libraries, 8203*** $file_magic_cmd, produces output that libtool cannot recognize. 8204*** The result is that libtool may fail to recognize shared libraries 8205*** as such. This will affect the creation of libtool libraries that 8206*** depend on shared libraries, but programs linked with such libtool 8207*** libraries will work regardless of this problem. Nevertheless, you 8208*** may want to report the problem to your system manager and/or to 8209*** bug-libtool@gnu.org 8210 8211_LT_EOF 8212 fi ;; 8213 esac 8214 fi 8215 break 8216 fi 8217 done 8218 IFS="$lt_save_ifs" 8219 MAGIC_CMD="$lt_save_MAGIC_CMD" 8220 ;; 8221esac 8222fi 8223 8224MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8225if test -n "$MAGIC_CMD"; then 8226 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 8227$as_echo "$MAGIC_CMD" >&6; } 8228else 8229 { $as_echo "$as_me:$LINENO: result: no" >&5 8230$as_echo "no" >&6; } 8231fi 8232 8233 8234 else 8235 MAGIC_CMD=: 8236 fi 8237fi 8238 8239 fi 8240 ;; 8241esac 8242 8243# Use C for the default configuration in the libtool script 8244 8245lt_save_CC="$CC" 8246ac_ext=c 8247ac_cpp='$CPP $CPPFLAGS' 8248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8250ac_compiler_gnu=$ac_cv_c_compiler_gnu 8251 8252 8253# Source file extension for C test sources. 8254ac_ext=c 8255 8256# Object file extension for compiled C test sources. 8257objext=o 8258objext=$objext 8259 8260# Code to be used in simple compile tests 8261lt_simple_compile_test_code="int some_variable = 0;" 8262 8263# Code to be used in simple link tests 8264lt_simple_link_test_code='int main(){return(0);}' 8265 8266 8267 8268 8269 8270 8271 8272# If no C compiler was specified, use CC. 8273LTCC=${LTCC-"$CC"} 8274 8275# If no C compiler flags were specified, use CFLAGS. 8276LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8277 8278# Allow CC to be a program name with arguments. 8279compiler=$CC 8280 8281# Save the default compiler, since it gets overwritten when the other 8282# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8283compiler_DEFAULT=$CC 8284 8285# save warnings/boilerplate of simple test code 8286ac_outfile=conftest.$ac_objext 8287echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8288eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8289_lt_compiler_boilerplate=`cat conftest.err` 8290$RM conftest* 8291 8292ac_outfile=conftest.$ac_objext 8293echo "$lt_simple_link_test_code" >conftest.$ac_ext 8294eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8295_lt_linker_boilerplate=`cat conftest.err` 8296$RM -r conftest* 8297 8298 8299if test -n "$compiler"; then 8300 8301lt_prog_compiler_no_builtin_flag= 8302 8303if test "$GCC" = yes; then 8304 case $cc_basename in 8305 nvcc*) 8306 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8307 *) 8308 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8309 esac 8310 8311 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8312$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8313if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then 8314 $as_echo_n "(cached) " >&6 8315else 8316 lt_cv_prog_compiler_rtti_exceptions=no 8317 ac_outfile=conftest.$ac_objext 8318 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8319 lt_compiler_flag="-fno-rtti -fno-exceptions" 8320 # Insert the option either (1) after the last *FLAGS variable, or 8321 # (2) before a word containing "conftest.", or (3) at the end. 8322 # Note that $ac_compile itself does not contain backslashes and begins 8323 # with a dollar sign (not a hyphen), so the echo should work correctly. 8324 # The option is referenced via a variable to avoid confusing sed. 8325 lt_compile=`echo "$ac_compile" | $SED \ 8326 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8328 -e 's:$: $lt_compiler_flag:'` 8329 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8330 (eval "$lt_compile" 2>conftest.err) 8331 ac_status=$? 8332 cat conftest.err >&5 8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8334 if (exit $ac_status) && test -s "$ac_outfile"; then 8335 # The compiler can only warn and ignore the option if not recognized 8336 # So say no if there are warnings other than the usual output. 8337 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8338 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8339 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8340 lt_cv_prog_compiler_rtti_exceptions=yes 8341 fi 8342 fi 8343 $RM conftest* 8344 8345fi 8346{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8347$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8348 8349if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8350 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8351else 8352 : 8353fi 8354 8355fi 8356 8357 8358 8359 8360 8361 8362 lt_prog_compiler_wl= 8363lt_prog_compiler_pic= 8364lt_prog_compiler_static= 8365 8366 8367 if test "$GCC" = yes; then 8368 lt_prog_compiler_wl='-Wl,' 8369 lt_prog_compiler_static='-static' 8370 8371 case $host_os in 8372 aix*) 8373 # All AIX code is PIC. 8374 if test "$host_cpu" = ia64; then 8375 # AIX 5 now supports IA64 processor 8376 lt_prog_compiler_static='-Bstatic' 8377 fi 8378 ;; 8379 8380 amigaos*) 8381 case $host_cpu in 8382 powerpc) 8383 # see comment about AmigaOS4 .so support 8384 lt_prog_compiler_pic='-fPIC' 8385 ;; 8386 m68k) 8387 # FIXME: we need at least 68020 code to build shared libraries, but 8388 # adding the `-m68020' flag to GCC prevents building anything better, 8389 # like `-m68040'. 8390 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8391 ;; 8392 esac 8393 ;; 8394 8395 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8396 # PIC is the default for these OSes. 8397 ;; 8398 8399 mingw* | cygwin* | pw32* | os2* | cegcc*) 8400 # This hack is so that the source file can tell whether it is being 8401 # built for inclusion in a dll (and should export symbols for example). 8402 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8403 # (--disable-auto-import) libraries 8404 lt_prog_compiler_pic='-DDLL_EXPORT' 8405 ;; 8406 8407 darwin* | rhapsody*) 8408 # PIC is the default on this platform 8409 # Common symbols not allowed in MH_DYLIB files 8410 lt_prog_compiler_pic='-fno-common' 8411 ;; 8412 8413 haiku*) 8414 # PIC is the default for Haiku. 8415 # The "-static" flag exists, but is broken. 8416 lt_prog_compiler_static= 8417 ;; 8418 8419 hpux*) 8420 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8421 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8422 # sets the default TLS model and affects inlining. 8423 case $host_cpu in 8424 hppa*64*) 8425 # +Z the default 8426 ;; 8427 *) 8428 lt_prog_compiler_pic='-fPIC' 8429 ;; 8430 esac 8431 ;; 8432 8433 interix[3-9]*) 8434 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8435 # Instead, we relocate shared libraries at runtime. 8436 ;; 8437 8438 msdosdjgpp*) 8439 # Just because we use GCC doesn't mean we suddenly get shared libraries 8440 # on systems that don't support them. 8441 lt_prog_compiler_can_build_shared=no 8442 enable_shared=no 8443 ;; 8444 8445 *nto* | *qnx*) 8446 # QNX uses GNU C++, but need to define -shared option too, otherwise 8447 # it will coredump. 8448 lt_prog_compiler_pic='-fPIC -shared' 8449 ;; 8450 8451 sysv4*MP*) 8452 if test -d /usr/nec; then 8453 lt_prog_compiler_pic=-Kconform_pic 8454 fi 8455 ;; 8456 8457 *) 8458 lt_prog_compiler_pic='-fPIC' 8459 ;; 8460 esac 8461 8462 case $cc_basename in 8463 nvcc*) # Cuda Compiler Driver 2.2 8464 lt_prog_compiler_wl='-Xlinker ' 8465 if test -n "$lt_prog_compiler_pic"; then 8466 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8467 fi 8468 ;; 8469 esac 8470 else 8471 # PORTME Check for flag to pass linker flags through the system compiler. 8472 case $host_os in 8473 aix*) 8474 lt_prog_compiler_wl='-Wl,' 8475 if test "$host_cpu" = ia64; then 8476 # AIX 5 now supports IA64 processor 8477 lt_prog_compiler_static='-Bstatic' 8478 else 8479 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8480 fi 8481 ;; 8482 8483 mingw* | cygwin* | pw32* | os2* | cegcc*) 8484 # This hack is so that the source file can tell whether it is being 8485 # built for inclusion in a dll (and should export symbols for example). 8486 lt_prog_compiler_pic='-DDLL_EXPORT' 8487 ;; 8488 8489 hpux9* | hpux10* | hpux11*) 8490 lt_prog_compiler_wl='-Wl,' 8491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8492 # not for PA HP-UX. 8493 case $host_cpu in 8494 hppa*64*|ia64*) 8495 # +Z the default 8496 ;; 8497 *) 8498 lt_prog_compiler_pic='+Z' 8499 ;; 8500 esac 8501 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8502 lt_prog_compiler_static='${wl}-a ${wl}archive' 8503 ;; 8504 8505 irix5* | irix6* | nonstopux*) 8506 lt_prog_compiler_wl='-Wl,' 8507 # PIC (with -KPIC) is the default. 8508 lt_prog_compiler_static='-non_shared' 8509 ;; 8510 8511 linux* | k*bsd*-gnu | kopensolaris*-gnu) 8512 case $cc_basename in 8513 # old Intel for x86_64 which still supported -KPIC. 8514 ecc*) 8515 lt_prog_compiler_wl='-Wl,' 8516 lt_prog_compiler_pic='-KPIC' 8517 lt_prog_compiler_static='-static' 8518 ;; 8519 # icc used to be incompatible with GCC. 8520 # ICC 10 doesn't accept -KPIC any more. 8521 icc* | ifort*) 8522 lt_prog_compiler_wl='-Wl,' 8523 lt_prog_compiler_pic='-fPIC' 8524 lt_prog_compiler_static='-static' 8525 ;; 8526 # Lahey Fortran 8.1. 8527 lf95*) 8528 lt_prog_compiler_wl='-Wl,' 8529 lt_prog_compiler_pic='--shared' 8530 lt_prog_compiler_static='--static' 8531 ;; 8532 nagfor*) 8533 # NAG Fortran compiler 8534 lt_prog_compiler_wl='-Wl,-Wl,,' 8535 lt_prog_compiler_pic='-PIC' 8536 lt_prog_compiler_static='-Bstatic' 8537 ;; 8538 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8539 # Portland Group compilers (*not* the Pentium gcc compiler, 8540 # which looks to be a dead project) 8541 lt_prog_compiler_wl='-Wl,' 8542 lt_prog_compiler_pic='-fpic' 8543 lt_prog_compiler_static='-Bstatic' 8544 ;; 8545 ccc*) 8546 lt_prog_compiler_wl='-Wl,' 8547 # All Alpha code is PIC. 8548 lt_prog_compiler_static='-non_shared' 8549 ;; 8550 xl* | bgxl* | bgf* | mpixl*) 8551 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8552 lt_prog_compiler_wl='-Wl,' 8553 lt_prog_compiler_pic='-qpic' 8554 lt_prog_compiler_static='-qstaticlink' 8555 ;; 8556 *) 8557 case `$CC -V 2>&1 | sed 5q` in 8558 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8559 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8560 lt_prog_compiler_pic='-KPIC' 8561 lt_prog_compiler_static='-Bstatic' 8562 lt_prog_compiler_wl='' 8563 ;; 8564 *Sun\ F* | *Sun*Fortran*) 8565 lt_prog_compiler_pic='-KPIC' 8566 lt_prog_compiler_static='-Bstatic' 8567 lt_prog_compiler_wl='-Qoption ld ' 8568 ;; 8569 *Sun\ C*) 8570 # Sun C 5.9 8571 lt_prog_compiler_pic='-KPIC' 8572 lt_prog_compiler_static='-Bstatic' 8573 lt_prog_compiler_wl='-Wl,' 8574 ;; 8575 *Intel*\ [CF]*Compiler*) 8576 lt_prog_compiler_wl='-Wl,' 8577 lt_prog_compiler_pic='-fPIC' 8578 lt_prog_compiler_static='-static' 8579 ;; 8580 *Portland\ Group*) 8581 lt_prog_compiler_wl='-Wl,' 8582 lt_prog_compiler_pic='-fpic' 8583 lt_prog_compiler_static='-Bstatic' 8584 ;; 8585 esac 8586 ;; 8587 esac 8588 ;; 8589 8590 newsos6) 8591 lt_prog_compiler_pic='-KPIC' 8592 lt_prog_compiler_static='-Bstatic' 8593 ;; 8594 8595 *nto* | *qnx*) 8596 # QNX uses GNU C++, but need to define -shared option too, otherwise 8597 # it will coredump. 8598 lt_prog_compiler_pic='-fPIC -shared' 8599 ;; 8600 8601 osf3* | osf4* | osf5*) 8602 lt_prog_compiler_wl='-Wl,' 8603 # All OSF/1 code is PIC. 8604 lt_prog_compiler_static='-non_shared' 8605 ;; 8606 8607 rdos*) 8608 lt_prog_compiler_static='-non_shared' 8609 ;; 8610 8611 solaris*) 8612 lt_prog_compiler_pic='-KPIC' 8613 lt_prog_compiler_static='-Bstatic' 8614 case $cc_basename in 8615 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8616 lt_prog_compiler_wl='-Qoption ld ';; 8617 *) 8618 lt_prog_compiler_wl='-Wl,';; 8619 esac 8620 ;; 8621 8622 sunos4*) 8623 lt_prog_compiler_wl='-Qoption ld ' 8624 lt_prog_compiler_pic='-PIC' 8625 lt_prog_compiler_static='-Bstatic' 8626 ;; 8627 8628 sysv4 | sysv4.2uw2* | sysv4.3*) 8629 lt_prog_compiler_wl='-Wl,' 8630 lt_prog_compiler_pic='-KPIC' 8631 lt_prog_compiler_static='-Bstatic' 8632 ;; 8633 8634 sysv4*MP*) 8635 if test -d /usr/nec ;then 8636 lt_prog_compiler_pic='-Kconform_pic' 8637 lt_prog_compiler_static='-Bstatic' 8638 fi 8639 ;; 8640 8641 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8642 lt_prog_compiler_wl='-Wl,' 8643 lt_prog_compiler_pic='-KPIC' 8644 lt_prog_compiler_static='-Bstatic' 8645 ;; 8646 8647 unicos*) 8648 lt_prog_compiler_wl='-Wl,' 8649 lt_prog_compiler_can_build_shared=no 8650 ;; 8651 8652 uts4*) 8653 lt_prog_compiler_pic='-pic' 8654 lt_prog_compiler_static='-Bstatic' 8655 ;; 8656 8657 *) 8658 lt_prog_compiler_can_build_shared=no 8659 ;; 8660 esac 8661 fi 8662 8663case $host_os in 8664 # For platforms which do not support PIC, -DPIC is meaningless: 8665 *djgpp*) 8666 lt_prog_compiler_pic= 8667 ;; 8668 *) 8669 lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC" 8670 ;; 8671esac 8672 8673{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 8674$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8675if test "${lt_cv_prog_compiler_pic+set}" = set; then 8676 $as_echo_n "(cached) " >&6 8677else 8678 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8679fi 8680{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5 8681$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8682lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8683 8684# 8685# Check to make sure the PIC flag actually works. 8686# 8687if test -n "$lt_prog_compiler_pic"; then 8688 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8689$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8690if test "${lt_cv_prog_compiler_pic_works+set}" = set; then 8691 $as_echo_n "(cached) " >&6 8692else 8693 lt_cv_prog_compiler_pic_works=no 8694 ac_outfile=conftest.$ac_objext 8695 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8696 lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC" 8697 # Insert the option either (1) after the last *FLAGS variable, or 8698 # (2) before a word containing "conftest.", or (3) at the end. 8699 # Note that $ac_compile itself does not contain backslashes and begins 8700 # with a dollar sign (not a hyphen), so the echo should work correctly. 8701 # The option is referenced via a variable to avoid confusing sed. 8702 lt_compile=`echo "$ac_compile" | $SED \ 8703 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8705 -e 's:$: $lt_compiler_flag:'` 8706 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8707 (eval "$lt_compile" 2>conftest.err) 8708 ac_status=$? 8709 cat conftest.err >&5 8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8711 if (exit $ac_status) && test -s "$ac_outfile"; then 8712 # The compiler can only warn and ignore the option if not recognized 8713 # So say no if there are warnings other than the usual output. 8714 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8715 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8716 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8717 lt_cv_prog_compiler_pic_works=yes 8718 fi 8719 fi 8720 $RM conftest* 8721 8722fi 8723{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 8724$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8725 8726if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8727 case $lt_prog_compiler_pic in 8728 "" | " "*) ;; 8729 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8730 esac 8731else 8732 lt_prog_compiler_pic= 8733 lt_prog_compiler_can_build_shared=no 8734fi 8735 8736fi 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748# 8749# Check to make sure the static flag actually works. 8750# 8751wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8752{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8753$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8754if test "${lt_cv_prog_compiler_static_works+set}" = set; then 8755 $as_echo_n "(cached) " >&6 8756else 8757 lt_cv_prog_compiler_static_works=no 8758 save_LDFLAGS="$LDFLAGS" 8759 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8760 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8761 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8762 # The linker can only warn and ignore the option if not recognized 8763 # So say no if there are warnings 8764 if test -s conftest.err; then 8765 # Append any errors to the config.log. 8766 cat conftest.err 1>&5 8767 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8768 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8769 if diff conftest.exp conftest.er2 >/dev/null; then 8770 lt_cv_prog_compiler_static_works=yes 8771 fi 8772 else 8773 lt_cv_prog_compiler_static_works=yes 8774 fi 8775 fi 8776 $RM -r conftest* 8777 LDFLAGS="$save_LDFLAGS" 8778 8779fi 8780{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 8781$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8782 8783if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8784 : 8785else 8786 lt_prog_compiler_static= 8787fi 8788 8789 8790 8791 8792 8793 8794 8795 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8796$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8797if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8798 $as_echo_n "(cached) " >&6 8799else 8800 lt_cv_prog_compiler_c_o=no 8801 $RM -r conftest 2>/dev/null 8802 mkdir conftest 8803 cd conftest 8804 mkdir out 8805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8806 8807 lt_compiler_flag="-o out/conftest2.$ac_objext" 8808 # Insert the option either (1) after the last *FLAGS variable, or 8809 # (2) before a word containing "conftest.", or (3) at the end. 8810 # Note that $ac_compile itself does not contain backslashes and begins 8811 # with a dollar sign (not a hyphen), so the echo should work correctly. 8812 lt_compile=`echo "$ac_compile" | $SED \ 8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8815 -e 's:$: $lt_compiler_flag:'` 8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8817 (eval "$lt_compile" 2>out/conftest.err) 8818 ac_status=$? 8819 cat out/conftest.err >&5 8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8821 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8822 then 8823 # The compiler can only warn and ignore the option if not recognized 8824 # So say no if there are warnings 8825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8826 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8827 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8828 lt_cv_prog_compiler_c_o=yes 8829 fi 8830 fi 8831 chmod u+w . 2>&5 8832 $RM conftest* 8833 # SGI C++ compiler will create directory out/ii_files/ for 8834 # template instantiation 8835 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8836 $RM out/* && rmdir out 8837 cd .. 8838 $RM -r conftest 8839 $RM conftest* 8840 8841fi 8842{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8843$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8844 8845 8846 8847 8848 8849 8850 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 8851$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8852if test "${lt_cv_prog_compiler_c_o+set}" = set; then 8853 $as_echo_n "(cached) " >&6 8854else 8855 lt_cv_prog_compiler_c_o=no 8856 $RM -r conftest 2>/dev/null 8857 mkdir conftest 8858 cd conftest 8859 mkdir out 8860 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8861 8862 lt_compiler_flag="-o out/conftest2.$ac_objext" 8863 # Insert the option either (1) after the last *FLAGS variable, or 8864 # (2) before a word containing "conftest.", or (3) at the end. 8865 # Note that $ac_compile itself does not contain backslashes and begins 8866 # with a dollar sign (not a hyphen), so the echo should work correctly. 8867 lt_compile=`echo "$ac_compile" | $SED \ 8868 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8869 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8870 -e 's:$: $lt_compiler_flag:'` 8871 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8872 (eval "$lt_compile" 2>out/conftest.err) 8873 ac_status=$? 8874 cat out/conftest.err >&5 8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8876 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8877 then 8878 # The compiler can only warn and ignore the option if not recognized 8879 # So say no if there are warnings 8880 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8881 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8882 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8883 lt_cv_prog_compiler_c_o=yes 8884 fi 8885 fi 8886 chmod u+w . 2>&5 8887 $RM conftest* 8888 # SGI C++ compiler will create directory out/ii_files/ for 8889 # template instantiation 8890 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8891 $RM out/* && rmdir out 8892 cd .. 8893 $RM -r conftest 8894 $RM conftest* 8895 8896fi 8897{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 8898$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8899 8900 8901 8902 8903hard_links="nottested" 8904if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8905 # do not overwrite the value of need_locks provided by the user 8906 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 8907$as_echo_n "checking if we can lock with hard links... " >&6; } 8908 hard_links=yes 8909 $RM conftest* 8910 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8911 touch conftest.a 8912 ln conftest.a conftest.b 2>&5 || hard_links=no 8913 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8914 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 8915$as_echo "$hard_links" >&6; } 8916 if test "$hard_links" = no; then 8917 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8918$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8919 need_locks=warn 8920 fi 8921else 8922 need_locks=no 8923fi 8924 8925 8926 8927 8928 8929 8930 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8931$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8932 8933 runpath_var= 8934 allow_undefined_flag= 8935 always_export_symbols=no 8936 archive_cmds= 8937 archive_expsym_cmds= 8938 compiler_needs_object=no 8939 enable_shared_with_static_runtimes=no 8940 export_dynamic_flag_spec= 8941 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8942 hardcode_automatic=no 8943 hardcode_direct=no 8944 hardcode_direct_absolute=no 8945 hardcode_libdir_flag_spec= 8946 hardcode_libdir_separator= 8947 hardcode_minus_L=no 8948 hardcode_shlibpath_var=unsupported 8949 inherit_rpath=no 8950 link_all_deplibs=unknown 8951 module_cmds= 8952 module_expsym_cmds= 8953 old_archive_from_new_cmds= 8954 old_archive_from_expsyms_cmds= 8955 thread_safe_flag_spec= 8956 whole_archive_flag_spec= 8957 # include_expsyms should be a list of space-separated symbols to be *always* 8958 # included in the symbol list 8959 include_expsyms= 8960 # exclude_expsyms can be an extended regexp of symbols to exclude 8961 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8962 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8963 # as well as any symbol that contains `d'. 8964 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8965 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8966 # platforms (ab)use it in PIC code, but their linkers get confused if 8967 # the symbol is explicitly referenced. Since portable code cannot 8968 # rely on this symbol name, it's probably fine to never include it in 8969 # preloaded symbol tables. 8970 # Exclude shared library initialization/finalization symbols. 8971 extract_expsyms_cmds= 8972 8973 case $host_os in 8974 cygwin* | mingw* | pw32* | cegcc*) 8975 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8976 # When not using gcc, we currently assume that we are using 8977 # Microsoft Visual C++. 8978 if test "$GCC" != yes; then 8979 with_gnu_ld=no 8980 fi 8981 ;; 8982 interix*) 8983 # we just hope/assume this is gcc and not c89 (= MSVC++) 8984 with_gnu_ld=yes 8985 ;; 8986 openbsd*) 8987 with_gnu_ld=no 8988 ;; 8989 esac 8990 8991 ld_shlibs=yes 8992 8993 # On some targets, GNU ld is compatible enough with the native linker 8994 # that we're better off using the native interface for both. 8995 lt_use_gnu_ld_interface=no 8996 if test "$with_gnu_ld" = yes; then 8997 case $host_os in 8998 aix*) 8999 # The AIX port of GNU ld has always aspired to compatibility 9000 # with the native linker. However, as the warning in the GNU ld 9001 # block says, versions before 2.19.5* couldn't really create working 9002 # shared libraries, regardless of the interface used. 9003 case `$LD -v 2>&1` in 9004 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9005 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9006 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9007 *) 9008 lt_use_gnu_ld_interface=yes 9009 ;; 9010 esac 9011 ;; 9012 *) 9013 lt_use_gnu_ld_interface=yes 9014 ;; 9015 esac 9016 fi 9017 9018 if test "$lt_use_gnu_ld_interface" = yes; then 9019 # If archive_cmds runs LD, not CC, wlarc should be empty 9020 wlarc='${wl}' 9021 9022 # Set some defaults for GNU ld with shared library support. These 9023 # are reset later if shared libraries are not supported. Putting them 9024 # here allows them to be overridden if necessary. 9025 runpath_var=LD_RUN_PATH 9026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9027 export_dynamic_flag_spec='${wl}--export-dynamic' 9028 # ancient GNU ld didn't support --whole-archive et. al. 9029 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9030 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9031 else 9032 whole_archive_flag_spec= 9033 fi 9034 supports_anon_versioning=no 9035 case `$LD -v 2>&1` in 9036 *GNU\ gold*) supports_anon_versioning=yes ;; 9037 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9038 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9039 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9040 *\ 2.11.*) ;; # other 2.11 versions 9041 *) supports_anon_versioning=yes ;; 9042 esac 9043 9044 # See if GNU ld supports shared libraries. 9045 case $host_os in 9046 aix[3-9]*) 9047 # On AIX/PPC, the GNU linker is very broken 9048 if test "$host_cpu" != ia64; then 9049 ld_shlibs=no 9050 cat <<_LT_EOF 1>&2 9051 9052*** Warning: the GNU linker, at least up to release 2.19, is reported 9053*** to be unable to reliably create shared libraries on AIX. 9054*** Therefore, libtool is disabling shared libraries support. If you 9055*** really care for shared libraries, you may want to install binutils 9056*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9057*** You will then need to restart the configuration process. 9058 9059_LT_EOF 9060 fi 9061 ;; 9062 9063 amigaos*) 9064 case $host_cpu in 9065 powerpc) 9066 # see comment about AmigaOS4 .so support 9067 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9068 archive_expsym_cmds='' 9069 ;; 9070 m68k) 9071 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9072 hardcode_libdir_flag_spec='-L$libdir' 9073 hardcode_minus_L=yes 9074 ;; 9075 esac 9076 ;; 9077 9078 beos*) 9079 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9080 allow_undefined_flag=unsupported 9081 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9082 # support --undefined. This deserves some investigation. FIXME 9083 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9084 else 9085 ld_shlibs=no 9086 fi 9087 ;; 9088 9089 cygwin* | mingw* | pw32* | cegcc*) 9090 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9091 # as there is no search path for DLLs. 9092 hardcode_libdir_flag_spec='-L$libdir' 9093 export_dynamic_flag_spec='${wl}--export-all-symbols' 9094 allow_undefined_flag=unsupported 9095 always_export_symbols=no 9096 enable_shared_with_static_runtimes=yes 9097 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' 9098 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9099 9100 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9101 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9102 # If the export-symbols file already is a .def file (1st line 9103 # is EXPORTS), use it as is; otherwise, prepend... 9104 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9105 cp $export_symbols $output_objdir/$soname.def; 9106 else 9107 echo EXPORTS > $output_objdir/$soname.def; 9108 cat $export_symbols >> $output_objdir/$soname.def; 9109 fi~ 9110 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9111 else 9112 ld_shlibs=no 9113 fi 9114 ;; 9115 9116 haiku*) 9117 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9118 link_all_deplibs=yes 9119 ;; 9120 9121 interix[3-9]*) 9122 hardcode_direct=no 9123 hardcode_shlibpath_var=no 9124 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9125 export_dynamic_flag_spec='${wl}-E' 9126 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9127 # Instead, shared libraries are loaded at an image base (0x10000000 by 9128 # default) and relocated if they conflict, which is a slow very memory 9129 # consuming and fragmenting process. To avoid this, we pick a random, 9130 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9131 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9132 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9133 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9134 ;; 9135 9136 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9137 tmp_diet=no 9138 if test "$host_os" = linux-dietlibc; then 9139 case $cc_basename in 9140 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9141 esac 9142 fi 9143 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9144 && test "$tmp_diet" = no 9145 then 9146 tmp_addflag=' $pic_flag' 9147 tmp_sharedflag='-shared' 9148 case $cc_basename,$host_cpu in 9149 pgcc*) # Portland Group C compiler 9150 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9151 tmp_addflag=' $pic_flag' 9152 ;; 9153 pgf77* | pgf90* | pgf95* | pgfortran*) 9154 # Portland Group f77 and f90 compilers 9155 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9156 tmp_addflag=' $pic_flag -Mnomain' ;; 9157 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9158 tmp_addflag=' -i_dynamic' ;; 9159 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9160 tmp_addflag=' -i_dynamic -nofor_main' ;; 9161 ifc* | ifort*) # Intel Fortran compiler 9162 tmp_addflag=' -nofor_main' ;; 9163 lf95*) # Lahey Fortran 8.1 9164 whole_archive_flag_spec= 9165 tmp_sharedflag='--shared' ;; 9166 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9167 tmp_sharedflag='-qmkshrobj' 9168 tmp_addflag= ;; 9169 nvcc*) # Cuda Compiler Driver 2.2 9170 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9171 compiler_needs_object=yes 9172 ;; 9173 esac 9174 case `$CC -V 2>&1 | sed 5q` in 9175 *Sun\ C*) # Sun C 5.9 9176 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' 9177 compiler_needs_object=yes 9178 tmp_sharedflag='-G' ;; 9179 *Sun\ F*) # Sun Fortran 8.3 9180 tmp_sharedflag='-G' ;; 9181 esac 9182 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9183 9184 if test "x$supports_anon_versioning" = xyes; then 9185 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9186 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9187 echo "local: *; };" >> $output_objdir/$libname.ver~ 9188 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9189 fi 9190 9191 case $cc_basename in 9192 xlf* | bgf* | bgxlf* | mpixlf*) 9193 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9194 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9195 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9196 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9197 if test "x$supports_anon_versioning" = xyes; then 9198 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9199 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9200 echo "local: *; };" >> $output_objdir/$libname.ver~ 9201 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9202 fi 9203 ;; 9204 esac 9205 else 9206 ld_shlibs=no 9207 fi 9208 ;; 9209 9210 netbsd*) 9211 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9212 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9213 wlarc= 9214 else 9215 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9216 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9217 fi 9218 ;; 9219 9220 solaris*) 9221 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9222 ld_shlibs=no 9223 cat <<_LT_EOF 1>&2 9224 9225*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9226*** create shared libraries on Solaris systems. Therefore, libtool 9227*** is disabling shared libraries support. We urge you to upgrade GNU 9228*** binutils to release 2.9.1 or newer. Another option is to modify 9229*** your PATH or compiler configuration so that the native linker is 9230*** used, and then restart. 9231 9232_LT_EOF 9233 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9234 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9235 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9236 else 9237 ld_shlibs=no 9238 fi 9239 ;; 9240 9241 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9242 case `$LD -v 2>&1` in 9243 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9244 ld_shlibs=no 9245 cat <<_LT_EOF 1>&2 9246 9247*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9248*** reliably create shared libraries on SCO systems. Therefore, libtool 9249*** is disabling shared libraries support. We urge you to upgrade GNU 9250*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9251*** your PATH or compiler configuration so that the native linker is 9252*** used, and then restart. 9253 9254_LT_EOF 9255 ;; 9256 *) 9257 # For security reasons, it is highly recommended that you always 9258 # use absolute paths for naming shared libraries, and exclude the 9259 # DT_RUNPATH tag from executables and libraries. But doing so 9260 # requires that you compile everything twice, which is a pain. 9261 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9262 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9264 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9265 else 9266 ld_shlibs=no 9267 fi 9268 ;; 9269 esac 9270 ;; 9271 9272 sunos4*) 9273 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9274 wlarc= 9275 hardcode_direct=yes 9276 hardcode_shlibpath_var=no 9277 ;; 9278 9279 *) 9280 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9282 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9283 else 9284 ld_shlibs=no 9285 fi 9286 ;; 9287 esac 9288 9289 if test "$ld_shlibs" = no; then 9290 runpath_var= 9291 hardcode_libdir_flag_spec= 9292 export_dynamic_flag_spec= 9293 whole_archive_flag_spec= 9294 fi 9295 else 9296 # PORTME fill in a description of your system's linker (not GNU ld) 9297 case $host_os in 9298 aix3*) 9299 allow_undefined_flag=unsupported 9300 always_export_symbols=yes 9301 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' 9302 # Note: this linker hardcodes the directories in LIBPATH if there 9303 # are no directories specified by -L. 9304 hardcode_minus_L=yes 9305 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9306 # Neither direct hardcoding nor static linking is supported with a 9307 # broken collect2. 9308 hardcode_direct=unsupported 9309 fi 9310 ;; 9311 9312 aix[4-9]*) 9313 if test "$host_cpu" = ia64; then 9314 # On IA64, the linker does run time linking by default, so we don't 9315 # have to do anything special. 9316 aix_use_runtimelinking=no 9317 exp_sym_flag='-Bexport' 9318 no_entry_flag="" 9319 else 9320 # If we're using GNU nm, then we don't want the "-C" option. 9321 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9322 # Also, AIX nm treats weak defined symbols like other global 9323 # defined symbols, whereas GNU nm marks them as "W". 9324 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9325 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9326 else 9327 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' 9328 fi 9329 aix_use_runtimelinking=no 9330 9331 # Test if we are trying to use run time linking or normal 9332 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9333 # need to do runtime linking. 9334 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9335 for ld_flag in $LDFLAGS; do 9336 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9337 aix_use_runtimelinking=yes 9338 break 9339 fi 9340 done 9341 ;; 9342 esac 9343 9344 exp_sym_flag='-bexport' 9345 no_entry_flag='-bnoentry' 9346 fi 9347 9348 # When large executables or shared objects are built, AIX ld can 9349 # have problems creating the table of contents. If linking a library 9350 # or program results in "error TOC overflow" add -mminimal-toc to 9351 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9352 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9353 9354 archive_cmds='' 9355 hardcode_direct=yes 9356 hardcode_direct_absolute=yes 9357 hardcode_libdir_separator=':' 9358 link_all_deplibs=yes 9359 file_list_spec='${wl}-f,' 9360 9361 if test "$GCC" = yes; then 9362 case $host_os in aix4.[012]|aix4.[012].*) 9363 # We only want to do this on AIX 4.2 and lower, the check 9364 # below for broken collect2 doesn't work under 4.3+ 9365 collect2name=`${CC} -print-prog-name=collect2` 9366 if test -f "$collect2name" && 9367 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9368 then 9369 # We have reworked collect2 9370 : 9371 else 9372 # We have old collect2 9373 hardcode_direct=unsupported 9374 # It fails to find uninstalled libraries when the uninstalled 9375 # path is not listed in the libpath. Setting hardcode_minus_L 9376 # to unsupported forces relinking 9377 hardcode_minus_L=yes 9378 hardcode_libdir_flag_spec='-L$libdir' 9379 hardcode_libdir_separator= 9380 fi 9381 ;; 9382 esac 9383 shared_flag='-shared' 9384 if test "$aix_use_runtimelinking" = yes; then 9385 shared_flag="$shared_flag "'${wl}-G' 9386 fi 9387 else 9388 # not using gcc 9389 if test "$host_cpu" = ia64; then 9390 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9391 # chokes on -Wl,-G. The following line is correct: 9392 shared_flag='-G' 9393 else 9394 if test "$aix_use_runtimelinking" = yes; then 9395 shared_flag='${wl}-G' 9396 else 9397 shared_flag='${wl}-bM:SRE' 9398 fi 9399 fi 9400 fi 9401 9402 export_dynamic_flag_spec='${wl}-bexpall' 9403 # It seems that -bexpall does not export symbols beginning with 9404 # underscore (_), so it is better to generate a list of symbols to export. 9405 always_export_symbols=yes 9406 if test "$aix_use_runtimelinking" = yes; then 9407 # Warning - without using the other runtime loading flags (-brtl), 9408 # -berok will link without error, but may produce a broken library. 9409 allow_undefined_flag='-berok' 9410 # Determine the default libpath from the value encoded in an 9411 # empty executable. 9412 if test "${lt_cv_aix_libpath+set}" = set; then 9413 aix_libpath=$lt_cv_aix_libpath 9414else 9415 if test "${lt_cv_aix_libpath_+set}" = set; then 9416 $as_echo_n "(cached) " >&6 9417else 9418 cat >conftest.$ac_ext <<_ACEOF 9419/* confdefs.h. */ 9420_ACEOF 9421cat confdefs.h >>conftest.$ac_ext 9422cat >>conftest.$ac_ext <<_ACEOF 9423/* end confdefs.h. */ 9424 9425int 9426main () 9427{ 9428 9429 ; 9430 return 0; 9431} 9432_ACEOF 9433rm -f conftest.$ac_objext conftest$ac_exeext 9434if { (ac_try="$ac_link" 9435case "(($ac_try" in 9436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9437 *) ac_try_echo=$ac_try;; 9438esac 9439eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9440$as_echo "$ac_try_echo") >&5 9441 (eval "$ac_link") 2>conftest.er1 9442 ac_status=$? 9443 grep -v '^ *+' conftest.er1 >conftest.err 9444 rm -f conftest.er1 9445 cat conftest.err >&5 9446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9447 (exit $ac_status); } && { 9448 test -z "$ac_c_werror_flag" || 9449 test ! -s conftest.err 9450 } && test -s conftest$ac_exeext && { 9451 test "$cross_compiling" = yes || 9452 $as_test_x conftest$ac_exeext 9453 }; then 9454 9455 lt_aix_libpath_sed=' 9456 /Import File Strings/,/^$/ { 9457 /^0/ { 9458 s/^0 *\([^ ]*\) *$/\1/ 9459 p 9460 } 9461 }' 9462 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9463 # Check for a 64-bit object if we didn't find anything. 9464 if test -z "$lt_cv_aix_libpath_"; then 9465 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9466 fi 9467else 9468 $as_echo "$as_me: failed program was:" >&5 9469sed 's/^/| /' conftest.$ac_ext >&5 9470 9471 9472fi 9473 9474rm -rf conftest.dSYM 9475rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9476 conftest$ac_exeext conftest.$ac_ext 9477 if test -z "$lt_cv_aix_libpath_"; then 9478 lt_cv_aix_libpath_="/usr/lib:/lib" 9479 fi 9480 9481fi 9482 9483 aix_libpath=$lt_cv_aix_libpath_ 9484fi 9485 9486 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9487 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" 9488 else 9489 if test "$host_cpu" = ia64; then 9490 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9491 allow_undefined_flag="-z nodefs" 9492 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" 9493 else 9494 # Determine the default libpath from the value encoded in an 9495 # empty executable. 9496 if test "${lt_cv_aix_libpath+set}" = set; then 9497 aix_libpath=$lt_cv_aix_libpath 9498else 9499 if test "${lt_cv_aix_libpath_+set}" = set; then 9500 $as_echo_n "(cached) " >&6 9501else 9502 cat >conftest.$ac_ext <<_ACEOF 9503/* confdefs.h. */ 9504_ACEOF 9505cat confdefs.h >>conftest.$ac_ext 9506cat >>conftest.$ac_ext <<_ACEOF 9507/* end confdefs.h. */ 9508 9509int 9510main () 9511{ 9512 9513 ; 9514 return 0; 9515} 9516_ACEOF 9517rm -f conftest.$ac_objext conftest$ac_exeext 9518if { (ac_try="$ac_link" 9519case "(($ac_try" in 9520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9521 *) ac_try_echo=$ac_try;; 9522esac 9523eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9524$as_echo "$ac_try_echo") >&5 9525 (eval "$ac_link") 2>conftest.er1 9526 ac_status=$? 9527 grep -v '^ *+' conftest.er1 >conftest.err 9528 rm -f conftest.er1 9529 cat conftest.err >&5 9530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9531 (exit $ac_status); } && { 9532 test -z "$ac_c_werror_flag" || 9533 test ! -s conftest.err 9534 } && test -s conftest$ac_exeext && { 9535 test "$cross_compiling" = yes || 9536 $as_test_x conftest$ac_exeext 9537 }; then 9538 9539 lt_aix_libpath_sed=' 9540 /Import File Strings/,/^$/ { 9541 /^0/ { 9542 s/^0 *\([^ ]*\) *$/\1/ 9543 p 9544 } 9545 }' 9546 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9547 # Check for a 64-bit object if we didn't find anything. 9548 if test -z "$lt_cv_aix_libpath_"; then 9549 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9550 fi 9551else 9552 $as_echo "$as_me: failed program was:" >&5 9553sed 's/^/| /' conftest.$ac_ext >&5 9554 9555 9556fi 9557 9558rm -rf conftest.dSYM 9559rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9560 conftest$ac_exeext conftest.$ac_ext 9561 if test -z "$lt_cv_aix_libpath_"; then 9562 lt_cv_aix_libpath_="/usr/lib:/lib" 9563 fi 9564 9565fi 9566 9567 aix_libpath=$lt_cv_aix_libpath_ 9568fi 9569 9570 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9571 # Warning - without using the other run time loading flags, 9572 # -berok will link without error, but may produce a broken library. 9573 no_undefined_flag=' ${wl}-bernotok' 9574 allow_undefined_flag=' ${wl}-berok' 9575 if test "$with_gnu_ld" = yes; then 9576 # We only use this code for GNU lds that support --whole-archive. 9577 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9578 else 9579 # Exported symbols can be pulled into shared objects from archives 9580 whole_archive_flag_spec='$convenience' 9581 fi 9582 archive_cmds_need_lc=yes 9583 # This is similar to how AIX traditionally builds its shared libraries. 9584 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' 9585 fi 9586 fi 9587 ;; 9588 9589 amigaos*) 9590 case $host_cpu in 9591 powerpc) 9592 # see comment about AmigaOS4 .so support 9593 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9594 archive_expsym_cmds='' 9595 ;; 9596 m68k) 9597 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' 9598 hardcode_libdir_flag_spec='-L$libdir' 9599 hardcode_minus_L=yes 9600 ;; 9601 esac 9602 ;; 9603 9604 bsdi[45]*) 9605 export_dynamic_flag_spec=-rdynamic 9606 ;; 9607 9608 cygwin* | mingw* | pw32* | cegcc*) 9609 # When not using gcc, we currently assume that we are using 9610 # Microsoft Visual C++. 9611 # hardcode_libdir_flag_spec is actually meaningless, as there is 9612 # no search path for DLLs. 9613 case $cc_basename in 9614 cl*) 9615 # Native MSVC 9616 hardcode_libdir_flag_spec=' ' 9617 allow_undefined_flag=unsupported 9618 always_export_symbols=yes 9619 file_list_spec='@' 9620 # Tell ltmain to make .lib files, not .a files. 9621 libext=lib 9622 # Tell ltmain to make .dll files, not .so files. 9623 shrext_cmds=".dll" 9624 # FIXME: Setting linknames here is a bad hack. 9625 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9626 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9627 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9628 else 9629 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9630 fi~ 9631 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9632 linknames=' 9633 # The linker will not automatically build a static lib if we build a DLL. 9634 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9635 enable_shared_with_static_runtimes=yes 9636 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9637 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9638 # Don't use ranlib 9639 old_postinstall_cmds='chmod 644 $oldlib' 9640 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9641 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9642 case $lt_outputfile in 9643 *.exe|*.EXE) ;; 9644 *) 9645 lt_outputfile="$lt_outputfile.exe" 9646 lt_tool_outputfile="$lt_tool_outputfile.exe" 9647 ;; 9648 esac~ 9649 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9650 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9651 $RM "$lt_outputfile.manifest"; 9652 fi' 9653 ;; 9654 *) 9655 # Assume MSVC wrapper 9656 hardcode_libdir_flag_spec=' ' 9657 allow_undefined_flag=unsupported 9658 # Tell ltmain to make .lib files, not .a files. 9659 libext=lib 9660 # Tell ltmain to make .dll files, not .so files. 9661 shrext_cmds=".dll" 9662 # FIXME: Setting linknames here is a bad hack. 9663 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9664 # The linker will automatically build a .lib file if we build a DLL. 9665 old_archive_from_new_cmds='true' 9666 # FIXME: Should let the user specify the lib program. 9667 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9668 enable_shared_with_static_runtimes=yes 9669 ;; 9670 esac 9671 ;; 9672 9673 darwin* | rhapsody*) 9674 9675 9676 archive_cmds_need_lc=no 9677 hardcode_direct=no 9678 hardcode_automatic=yes 9679 hardcode_shlibpath_var=unsupported 9680 if test "$lt_cv_ld_force_load" = "yes"; then 9681 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' 9682 9683 else 9684 whole_archive_flag_spec='' 9685 fi 9686 link_all_deplibs=yes 9687 allow_undefined_flag="$_lt_dar_allow_undefined" 9688 case $cc_basename in 9689 ifort*) _lt_dar_can_shared=yes ;; 9690 *) _lt_dar_can_shared=$GCC ;; 9691 esac 9692 if test "$_lt_dar_can_shared" = "yes"; then 9693 output_verbose_link_cmd=func_echo_all 9694 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9695 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9696 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 9697 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 9698 9699 else 9700 ld_shlibs=no 9701 fi 9702 9703 ;; 9704 9705 dgux*) 9706 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9707 hardcode_libdir_flag_spec='-L$libdir' 9708 hardcode_shlibpath_var=no 9709 ;; 9710 9711 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9712 # support. Future versions do this automatically, but an explicit c++rt0.o 9713 # does not break anything, and helps significantly (at the cost of a little 9714 # extra space). 9715 freebsd2.2*) 9716 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9717 hardcode_libdir_flag_spec='-R$libdir' 9718 hardcode_direct=yes 9719 hardcode_shlibpath_var=no 9720 ;; 9721 9722 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9723 freebsd2.*) 9724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9725 hardcode_direct=yes 9726 hardcode_minus_L=yes 9727 hardcode_shlibpath_var=no 9728 ;; 9729 9730 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9731 freebsd* | dragonfly*) 9732 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9733 hardcode_libdir_flag_spec='-R$libdir' 9734 hardcode_direct=yes 9735 hardcode_shlibpath_var=no 9736 ;; 9737 9738 hpux9*) 9739 if test "$GCC" = yes; then 9740 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9741 else 9742 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' 9743 fi 9744 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9745 hardcode_libdir_separator=: 9746 hardcode_direct=yes 9747 9748 # hardcode_minus_L: Not really in the search PATH, 9749 # but as the default location of the library. 9750 hardcode_minus_L=yes 9751 export_dynamic_flag_spec='${wl}-E' 9752 ;; 9753 9754 hpux10*) 9755 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9756 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9757 else 9758 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9759 fi 9760 if test "$with_gnu_ld" = no; then 9761 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9762 hardcode_libdir_separator=: 9763 hardcode_direct=yes 9764 hardcode_direct_absolute=yes 9765 export_dynamic_flag_spec='${wl}-E' 9766 # hardcode_minus_L: Not really in the search PATH, 9767 # but as the default location of the library. 9768 hardcode_minus_L=yes 9769 fi 9770 ;; 9771 9772 hpux11*) 9773 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9774 case $host_cpu in 9775 hppa*64*) 9776 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9777 ;; 9778 ia64*) 9779 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9780 ;; 9781 *) 9782 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9783 ;; 9784 esac 9785 else 9786 case $host_cpu in 9787 hppa*64*) 9788 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9789 ;; 9790 ia64*) 9791 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9792 ;; 9793 *) 9794 9795 # Older versions of the 11.00 compiler do not understand -b yet 9796 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9797 { $as_echo "$as_me:$LINENO: checking if $CC understands -b" >&5 9798$as_echo_n "checking if $CC understands -b... " >&6; } 9799if test "${lt_cv_prog_compiler__b+set}" = set; then 9800 $as_echo_n "(cached) " >&6 9801else 9802 lt_cv_prog_compiler__b=no 9803 save_LDFLAGS="$LDFLAGS" 9804 LDFLAGS="$LDFLAGS -b" 9805 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9806 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9807 # The linker can only warn and ignore the option if not recognized 9808 # So say no if there are warnings 9809 if test -s conftest.err; then 9810 # Append any errors to the config.log. 9811 cat conftest.err 1>&5 9812 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9814 if diff conftest.exp conftest.er2 >/dev/null; then 9815 lt_cv_prog_compiler__b=yes 9816 fi 9817 else 9818 lt_cv_prog_compiler__b=yes 9819 fi 9820 fi 9821 $RM -r conftest* 9822 LDFLAGS="$save_LDFLAGS" 9823 9824fi 9825{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5 9826$as_echo "$lt_cv_prog_compiler__b" >&6; } 9827 9828if test x"$lt_cv_prog_compiler__b" = xyes; then 9829 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9830else 9831 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9832fi 9833 9834 ;; 9835 esac 9836 fi 9837 if test "$with_gnu_ld" = no; then 9838 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9839 hardcode_libdir_separator=: 9840 9841 case $host_cpu in 9842 hppa*64*|ia64*) 9843 hardcode_direct=no 9844 hardcode_shlibpath_var=no 9845 ;; 9846 *) 9847 hardcode_direct=yes 9848 hardcode_direct_absolute=yes 9849 export_dynamic_flag_spec='${wl}-E' 9850 9851 # hardcode_minus_L: Not really in the search PATH, 9852 # but as the default location of the library. 9853 hardcode_minus_L=yes 9854 ;; 9855 esac 9856 fi 9857 ;; 9858 9859 irix5* | irix6* | nonstopux*) 9860 if test "$GCC" = yes; then 9861 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9862 # Try to use the -exported_symbol ld option, if it does not 9863 # work, assume that -exports_file does not work either and 9864 # implicitly export all symbols. 9865 # This should be the same for all languages, so no per-tag cache variable. 9866 { $as_echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5 9867$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9868if test "${lt_cv_irix_exported_symbol+set}" = set; then 9869 $as_echo_n "(cached) " >&6 9870else 9871 save_LDFLAGS="$LDFLAGS" 9872 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9873 cat >conftest.$ac_ext <<_ACEOF 9874/* confdefs.h. */ 9875_ACEOF 9876cat confdefs.h >>conftest.$ac_ext 9877cat >>conftest.$ac_ext <<_ACEOF 9878/* end confdefs.h. */ 9879int foo (void) { return 0; } 9880_ACEOF 9881rm -f conftest.$ac_objext conftest$ac_exeext 9882if { (ac_try="$ac_link" 9883case "(($ac_try" in 9884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9885 *) ac_try_echo=$ac_try;; 9886esac 9887eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9888$as_echo "$ac_try_echo") >&5 9889 (eval "$ac_link") 2>conftest.er1 9890 ac_status=$? 9891 grep -v '^ *+' conftest.er1 >conftest.err 9892 rm -f conftest.er1 9893 cat conftest.err >&5 9894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9895 (exit $ac_status); } && { 9896 test -z "$ac_c_werror_flag" || 9897 test ! -s conftest.err 9898 } && test -s conftest$ac_exeext && { 9899 test "$cross_compiling" = yes || 9900 $as_test_x conftest$ac_exeext 9901 }; then 9902 lt_cv_irix_exported_symbol=yes 9903else 9904 $as_echo "$as_me: failed program was:" >&5 9905sed 's/^/| /' conftest.$ac_ext >&5 9906 9907 lt_cv_irix_exported_symbol=no 9908fi 9909 9910rm -rf conftest.dSYM 9911rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9912 conftest$ac_exeext conftest.$ac_ext 9913 LDFLAGS="$save_LDFLAGS" 9914fi 9915{ $as_echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5 9916$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9917 if test "$lt_cv_irix_exported_symbol" = yes; then 9918 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' 9919 fi 9920 else 9921 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9922 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' 9923 fi 9924 archive_cmds_need_lc='no' 9925 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9926 hardcode_libdir_separator=: 9927 inherit_rpath=yes 9928 link_all_deplibs=yes 9929 ;; 9930 9931 netbsd*) 9932 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9933 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9934 else 9935 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9936 fi 9937 hardcode_libdir_flag_spec='-R$libdir' 9938 hardcode_direct=yes 9939 hardcode_shlibpath_var=no 9940 ;; 9941 9942 newsos6) 9943 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9944 hardcode_direct=yes 9945 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9946 hardcode_libdir_separator=: 9947 hardcode_shlibpath_var=no 9948 ;; 9949 9950 *nto* | *qnx*) 9951 ;; 9952 9953 openbsd*) 9954 if test -f /usr/libexec/ld.so; then 9955 hardcode_direct=yes 9956 hardcode_shlibpath_var=no 9957 hardcode_direct_absolute=yes 9958 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9959 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9960 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9961 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9962 export_dynamic_flag_spec='${wl}-E' 9963 else 9964 case $host_os in 9965 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9966 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9967 hardcode_libdir_flag_spec='-R$libdir' 9968 ;; 9969 *) 9970 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9971 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9972 ;; 9973 esac 9974 fi 9975 else 9976 ld_shlibs=no 9977 fi 9978 ;; 9979 9980 os2*) 9981 hardcode_libdir_flag_spec='-L$libdir' 9982 hardcode_minus_L=yes 9983 allow_undefined_flag=unsupported 9984 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' 9985 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9986 ;; 9987 9988 osf3*) 9989 if test "$GCC" = yes; then 9990 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9991 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 9992 else 9993 allow_undefined_flag=' -expect_unresolved \*' 9994 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 9995 fi 9996 archive_cmds_need_lc='no' 9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9998 hardcode_libdir_separator=: 9999 ;; 10000 10001 osf4* | osf5*) # as osf3* with the addition of -msym flag 10002 if test "$GCC" = yes; then 10003 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10004 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' 10005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10006 else 10007 allow_undefined_flag=' -expect_unresolved \*' 10008 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' 10009 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ 10010 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' 10011 10012 # Both c and cxx compiler support -rpath directly 10013 hardcode_libdir_flag_spec='-rpath $libdir' 10014 fi 10015 archive_cmds_need_lc='no' 10016 hardcode_libdir_separator=: 10017 ;; 10018 10019 solaris*) 10020 no_undefined_flag=' -z defs' 10021 if test "$GCC" = yes; then 10022 wlarc='${wl}' 10023 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10025 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10026 else 10027 case `$CC -V 2>&1` in 10028 *"Compilers 5.0"*) 10029 wlarc='' 10030 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10031 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10032 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10033 ;; 10034 *) 10035 wlarc='${wl}' 10036 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10037 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10038 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10039 ;; 10040 esac 10041 fi 10042 hardcode_libdir_flag_spec='-R$libdir' 10043 hardcode_shlibpath_var=no 10044 case $host_os in 10045 solaris2.[0-5] | solaris2.[0-5].*) ;; 10046 *) 10047 # The compiler driver will combine and reorder linker options, 10048 # but understands `-z linker_flag'. GCC discards it without `$wl', 10049 # but is careful enough not to reorder. 10050 # Supported since Solaris 2.6 (maybe 2.5.1?) 10051 if test "$GCC" = yes; then 10052 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10053 else 10054 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10055 fi 10056 ;; 10057 esac 10058 link_all_deplibs=yes 10059 ;; 10060 10061 sunos4*) 10062 if test "x$host_vendor" = xsequent; then 10063 # Use $CC to link under sequent, because it throws in some extra .o 10064 # files that make .init and .fini sections work. 10065 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10066 else 10067 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10068 fi 10069 hardcode_libdir_flag_spec='-L$libdir' 10070 hardcode_direct=yes 10071 hardcode_minus_L=yes 10072 hardcode_shlibpath_var=no 10073 ;; 10074 10075 sysv4) 10076 case $host_vendor in 10077 sni) 10078 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10079 hardcode_direct=yes # is this really true??? 10080 ;; 10081 siemens) 10082 ## LD is ld it makes a PLAMLIB 10083 ## CC just makes a GrossModule. 10084 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10085 reload_cmds='$CC -r -o $output$reload_objs' 10086 hardcode_direct=no 10087 ;; 10088 motorola) 10089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10090 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10091 ;; 10092 esac 10093 runpath_var='LD_RUN_PATH' 10094 hardcode_shlibpath_var=no 10095 ;; 10096 10097 sysv4.3*) 10098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10099 hardcode_shlibpath_var=no 10100 export_dynamic_flag_spec='-Bexport' 10101 ;; 10102 10103 sysv4*MP*) 10104 if test -d /usr/nec; then 10105 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10106 hardcode_shlibpath_var=no 10107 runpath_var=LD_RUN_PATH 10108 hardcode_runpath_var=yes 10109 ld_shlibs=yes 10110 fi 10111 ;; 10112 10113 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10114 no_undefined_flag='${wl}-z,text' 10115 archive_cmds_need_lc=no 10116 hardcode_shlibpath_var=no 10117 runpath_var='LD_RUN_PATH' 10118 10119 if test "$GCC" = yes; then 10120 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10121 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10122 else 10123 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10124 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10125 fi 10126 ;; 10127 10128 sysv5* | sco3.2v5* | sco5v6*) 10129 # Note: We can NOT use -z defs as we might desire, because we do not 10130 # link with -lc, and that would cause any symbols used from libc to 10131 # always be unresolved, which means just about no library would 10132 # ever link correctly. If we're not using GNU ld we use -z text 10133 # though, which does catch some bad symbols but isn't as heavy-handed 10134 # as -z defs. 10135 no_undefined_flag='${wl}-z,text' 10136 allow_undefined_flag='${wl}-z,nodefs' 10137 archive_cmds_need_lc=no 10138 hardcode_shlibpath_var=no 10139 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10140 hardcode_libdir_separator=':' 10141 link_all_deplibs=yes 10142 export_dynamic_flag_spec='${wl}-Bexport' 10143 runpath_var='LD_RUN_PATH' 10144 10145 if test "$GCC" = yes; then 10146 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10147 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10148 else 10149 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10150 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10151 fi 10152 ;; 10153 10154 uts4*) 10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10156 hardcode_libdir_flag_spec='-L$libdir' 10157 hardcode_shlibpath_var=no 10158 ;; 10159 10160 *) 10161 ld_shlibs=no 10162 ;; 10163 esac 10164 10165 if test x$host_vendor = xsni; then 10166 case $host in 10167 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10168 export_dynamic_flag_spec='${wl}-Blargedynsym' 10169 ;; 10170 esac 10171 fi 10172 fi 10173 10174{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 10175$as_echo "$ld_shlibs" >&6; } 10176test "$ld_shlibs" = no && can_build_shared=no 10177 10178with_gnu_ld=$with_gnu_ld 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194# 10195# Do we need to explicitly link libc? 10196# 10197case "x$archive_cmds_need_lc" in 10198x|xyes) 10199 # Assume -lc should be added 10200 archive_cmds_need_lc=yes 10201 10202 if test "$enable_shared" = yes && test "$GCC" = yes; then 10203 case $archive_cmds in 10204 *'~'*) 10205 # FIXME: we may have to deal with multi-command sequences. 10206 ;; 10207 '$CC '*) 10208 # Test whether the compiler implicitly links with -lc since on some 10209 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10210 # to ld, don't add -lc before -lgcc. 10211 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 10212$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10213if test "${lt_cv_archive_cmds_need_lc+set}" = set; then 10214 $as_echo_n "(cached) " >&6 10215else 10216 $RM conftest* 10217 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10218 10219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10220 (eval $ac_compile) 2>&5 10221 ac_status=$? 10222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10223 (exit $ac_status); } 2>conftest.err; then 10224 soname=conftest 10225 lib=conftest 10226 libobjs=conftest.$ac_objext 10227 deplibs= 10228 wl=$lt_prog_compiler_wl 10229 pic_flag=$lt_prog_compiler_pic 10230 compiler_flags=-v 10231 linker_flags=-v 10232 verstring= 10233 output_objdir=. 10234 libname=conftest 10235 lt_save_allow_undefined_flag=$allow_undefined_flag 10236 allow_undefined_flag= 10237 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 10238 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10239 ac_status=$? 10240 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10241 (exit $ac_status); } 10242 then 10243 lt_cv_archive_cmds_need_lc=no 10244 else 10245 lt_cv_archive_cmds_need_lc=yes 10246 fi 10247 allow_undefined_flag=$lt_save_allow_undefined_flag 10248 else 10249 cat conftest.err 1>&5 10250 fi 10251 $RM conftest* 10252 10253fi 10254{ $as_echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 10255$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10256 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10257 ;; 10258 esac 10259 fi 10260 ;; 10261esac 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 10415$as_echo_n "checking dynamic linker characteristics... " >&6; } 10416 10417if test "$GCC" = yes; then 10418 case $host_os in 10419 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10420 *) lt_awk_arg="/^libraries:/" ;; 10421 esac 10422 case $host_os in 10423 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10424 *) lt_sed_strip_eq="s,=/,/,g" ;; 10425 esac 10426 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10427 case $lt_search_path_spec in 10428 *\;*) 10429 # if the path contains ";" then we assume it to be the separator 10430 # otherwise default to the standard path separator (i.e. ":") - it is 10431 # assumed that no part of a normal pathname contains ";" but that should 10432 # okay in the real world where ";" in dirpaths is itself problematic. 10433 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10434 ;; 10435 *) 10436 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10437 ;; 10438 esac 10439 # Ok, now we have the path, separated by spaces, we can step through it 10440 # and add multilib dir if necessary. 10441 lt_tmp_lt_search_path_spec= 10442 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10443 for lt_sys_path in $lt_search_path_spec; do 10444 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10445 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10446 else 10447 test -d "$lt_sys_path" && \ 10448 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10449 fi 10450 done 10451 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10452BEGIN {RS=" "; FS="/|\n";} { 10453 lt_foo=""; 10454 lt_count=0; 10455 for (lt_i = NF; lt_i > 0; lt_i--) { 10456 if ($lt_i != "" && $lt_i != ".") { 10457 if ($lt_i == "..") { 10458 lt_count++; 10459 } else { 10460 if (lt_count == 0) { 10461 lt_foo="/" $lt_i lt_foo; 10462 } else { 10463 lt_count--; 10464 } 10465 } 10466 } 10467 } 10468 if (lt_foo != "") { lt_freq[lt_foo]++; } 10469 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10470}'` 10471 # AWK program above erroneously prepends '/' to C:/dos/paths 10472 # for these hosts. 10473 case $host_os in 10474 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10475 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10476 esac 10477 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10478else 10479 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10480fi 10481library_names_spec= 10482libname_spec='lib$name' 10483soname_spec= 10484shrext_cmds=".so" 10485postinstall_cmds= 10486postuninstall_cmds= 10487finish_cmds= 10488finish_eval= 10489shlibpath_var= 10490shlibpath_overrides_runpath=unknown 10491version_type=none 10492dynamic_linker="$host_os ld.so" 10493sys_lib_dlsearch_path_spec="/lib /usr/lib" 10494need_lib_prefix=unknown 10495hardcode_into_libs=no 10496 10497# when you set need_version to no, make sure it does not cause -set_version 10498# flags to be left without arguments 10499need_version=unknown 10500 10501case $host_os in 10502aix3*) 10503 version_type=linux # correct to gnu/linux during the next big refactor 10504 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10505 shlibpath_var=LIBPATH 10506 10507 # AIX 3 has no versioning support, so we append a major version to the name. 10508 soname_spec='${libname}${release}${shared_ext}$major' 10509 ;; 10510 10511aix[4-9]*) 10512 version_type=linux # correct to gnu/linux during the next big refactor 10513 need_lib_prefix=no 10514 need_version=no 10515 hardcode_into_libs=yes 10516 if test "$host_cpu" = ia64; then 10517 # AIX 5 supports IA64 10518 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10519 shlibpath_var=LD_LIBRARY_PATH 10520 else 10521 # With GCC up to 2.95.x, collect2 would create an import file 10522 # for dependence libraries. The import file would start with 10523 # the line `#! .'. This would cause the generated library to 10524 # depend on `.', always an invalid library. This was fixed in 10525 # development snapshots of GCC prior to 3.0. 10526 case $host_os in 10527 aix4 | aix4.[01] | aix4.[01].*) 10528 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10529 echo ' yes ' 10530 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10531 : 10532 else 10533 can_build_shared=no 10534 fi 10535 ;; 10536 esac 10537 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10538 # soname into executable. Probably we can add versioning support to 10539 # collect2, so additional links can be useful in future. 10540 if test "$aix_use_runtimelinking" = yes; then 10541 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10542 # instead of lib<name>.a to let people know that these are not 10543 # typical AIX shared libraries. 10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10545 else 10546 # We preserve .a as extension for shared libraries through AIX4.2 10547 # and later when we are not doing run time linking. 10548 library_names_spec='${libname}${release}.a $libname.a' 10549 soname_spec='${libname}${release}${shared_ext}$major' 10550 fi 10551 shlibpath_var=LIBPATH 10552 fi 10553 ;; 10554 10555amigaos*) 10556 case $host_cpu in 10557 powerpc) 10558 # Since July 2007 AmigaOS4 officially supports .so libraries. 10559 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10561 ;; 10562 m68k) 10563 library_names_spec='$libname.ixlibrary $libname.a' 10564 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10565 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 10566 ;; 10567 esac 10568 ;; 10569 10570beos*) 10571 library_names_spec='${libname}${shared_ext}' 10572 dynamic_linker="$host_os ld.so" 10573 shlibpath_var=LIBRARY_PATH 10574 ;; 10575 10576bsdi[45]*) 10577 version_type=linux # correct to gnu/linux during the next big refactor 10578 need_version=no 10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10580 soname_spec='${libname}${release}${shared_ext}$major' 10581 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10582 shlibpath_var=LD_LIBRARY_PATH 10583 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10584 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10585 # the default ld.so.conf also contains /usr/contrib/lib and 10586 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10587 # libtool to hard-code these into programs 10588 ;; 10589 10590cygwin* | mingw* | pw32* | cegcc*) 10591 version_type=windows 10592 shrext_cmds=".dll" 10593 need_version=no 10594 need_lib_prefix=no 10595 10596 case $GCC,$cc_basename in 10597 yes,*) 10598 # gcc 10599 library_names_spec='$libname.dll.a' 10600 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10601 postinstall_cmds='base_file=`basename \${file}`~ 10602 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10603 dldir=$destdir/`dirname \$dlpath`~ 10604 test -d \$dldir || mkdir -p \$dldir~ 10605 $install_prog $dir/$dlname \$dldir/$dlname~ 10606 chmod a+x \$dldir/$dlname~ 10607 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10608 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10609 fi' 10610 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10611 dlpath=$dir/\$dldll~ 10612 $RM \$dlpath' 10613 shlibpath_overrides_runpath=yes 10614 10615 case $host_os in 10616 cygwin*) 10617 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10618 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10619 10620 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10621 ;; 10622 mingw* | cegcc*) 10623 # MinGW DLLs use traditional 'lib' prefix 10624 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10625 ;; 10626 pw32*) 10627 # pw32 DLLs use 'pw' prefix rather than 'lib' 10628 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10629 ;; 10630 esac 10631 dynamic_linker='Win32 ld.exe' 10632 ;; 10633 10634 *,cl*) 10635 # Native MSVC 10636 libname_spec='$name' 10637 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10638 library_names_spec='${libname}.dll.lib' 10639 10640 case $build_os in 10641 mingw*) 10642 sys_lib_search_path_spec= 10643 lt_save_ifs=$IFS 10644 IFS=';' 10645 for lt_path in $LIB 10646 do 10647 IFS=$lt_save_ifs 10648 # Let DOS variable expansion print the short 8.3 style file name. 10649 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10650 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10651 done 10652 IFS=$lt_save_ifs 10653 # Convert to MSYS style. 10654 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10655 ;; 10656 cygwin*) 10657 # Convert to unix form, then to dos form, then back to unix form 10658 # but this time dos style (no spaces!) so that the unix form looks 10659 # like /cygdrive/c/PROGRA~1:/cygdr... 10660 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10661 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10662 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10663 ;; 10664 *) 10665 sys_lib_search_path_spec="$LIB" 10666 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10667 # It is most probably a Windows format PATH. 10668 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10669 else 10670 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10671 fi 10672 # FIXME: find the short name or the path components, as spaces are 10673 # common. (e.g. "Program Files" -> "PROGRA~1") 10674 ;; 10675 esac 10676 10677 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10678 postinstall_cmds='base_file=`basename \${file}`~ 10679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10680 dldir=$destdir/`dirname \$dlpath`~ 10681 test -d \$dldir || mkdir -p \$dldir~ 10682 $install_prog $dir/$dlname \$dldir/$dlname' 10683 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10684 dlpath=$dir/\$dldll~ 10685 $RM \$dlpath' 10686 shlibpath_overrides_runpath=yes 10687 dynamic_linker='Win32 link.exe' 10688 ;; 10689 10690 *) 10691 # Assume MSVC wrapper 10692 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10693 dynamic_linker='Win32 ld.exe' 10694 ;; 10695 esac 10696 # FIXME: first we should search . and the directory the executable is in 10697 shlibpath_var=PATH 10698 ;; 10699 10700darwin* | rhapsody*) 10701 dynamic_linker="$host_os dyld" 10702 version_type=darwin 10703 need_lib_prefix=no 10704 need_version=no 10705 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10706 soname_spec='${libname}${release}${major}$shared_ext' 10707 shlibpath_overrides_runpath=yes 10708 shlibpath_var=DYLD_LIBRARY_PATH 10709 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10710 10711 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10712 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10713 ;; 10714 10715dgux*) 10716 version_type=linux # correct to gnu/linux during the next big refactor 10717 need_lib_prefix=no 10718 need_version=no 10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10720 soname_spec='${libname}${release}${shared_ext}$major' 10721 shlibpath_var=LD_LIBRARY_PATH 10722 ;; 10723 10724freebsd* | dragonfly*) 10725 # DragonFly does not have aout. When/if they implement a new 10726 # versioning mechanism, adjust this. 10727 if test -x /usr/bin/objformat; then 10728 objformat=`/usr/bin/objformat` 10729 else 10730 case $host_os in 10731 freebsd[23].*) objformat=aout ;; 10732 *) objformat=elf ;; 10733 esac 10734 fi 10735 version_type=freebsd-$objformat 10736 case $version_type in 10737 freebsd-elf*) 10738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10739 need_version=no 10740 need_lib_prefix=no 10741 ;; 10742 freebsd-*) 10743 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10744 need_version=yes 10745 ;; 10746 esac 10747 shlibpath_var=LD_LIBRARY_PATH 10748 case $host_os in 10749 freebsd2.*) 10750 shlibpath_overrides_runpath=yes 10751 ;; 10752 freebsd3.[01]* | freebsdelf3.[01]*) 10753 shlibpath_overrides_runpath=yes 10754 hardcode_into_libs=yes 10755 ;; 10756 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10757 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10758 shlibpath_overrides_runpath=no 10759 hardcode_into_libs=yes 10760 ;; 10761 *) # from 4.6 on, and DragonFly 10762 shlibpath_overrides_runpath=yes 10763 hardcode_into_libs=yes 10764 ;; 10765 esac 10766 ;; 10767 10768gnu*) 10769 version_type=linux # correct to gnu/linux during the next big refactor 10770 need_lib_prefix=no 10771 need_version=no 10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10773 soname_spec='${libname}${release}${shared_ext}$major' 10774 shlibpath_var=LD_LIBRARY_PATH 10775 shlibpath_overrides_runpath=no 10776 hardcode_into_libs=yes 10777 ;; 10778 10779haiku*) 10780 version_type=linux # correct to gnu/linux during the next big refactor 10781 need_lib_prefix=no 10782 need_version=no 10783 dynamic_linker="$host_os runtime_loader" 10784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10785 soname_spec='${libname}${release}${shared_ext}$major' 10786 shlibpath_var=LIBRARY_PATH 10787 shlibpath_overrides_runpath=yes 10788 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10789 hardcode_into_libs=yes 10790 ;; 10791 10792hpux9* | hpux10* | hpux11*) 10793 # Give a soname corresponding to the major version so that dld.sl refuses to 10794 # link against other versions. 10795 version_type=sunos 10796 need_lib_prefix=no 10797 need_version=no 10798 case $host_cpu in 10799 ia64*) 10800 shrext_cmds='.so' 10801 hardcode_into_libs=yes 10802 dynamic_linker="$host_os dld.so" 10803 shlibpath_var=LD_LIBRARY_PATH 10804 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10806 soname_spec='${libname}${release}${shared_ext}$major' 10807 if test "X$HPUX_IA64_MODE" = X32; then 10808 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10809 else 10810 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10811 fi 10812 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10813 ;; 10814 hppa*64*) 10815 shrext_cmds='.sl' 10816 hardcode_into_libs=yes 10817 dynamic_linker="$host_os dld.sl" 10818 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10819 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10821 soname_spec='${libname}${release}${shared_ext}$major' 10822 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10823 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10824 ;; 10825 *) 10826 shrext_cmds='.sl' 10827 dynamic_linker="$host_os dld.sl" 10828 shlibpath_var=SHLIB_PATH 10829 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10831 soname_spec='${libname}${release}${shared_ext}$major' 10832 ;; 10833 esac 10834 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10835 postinstall_cmds='chmod 555 $lib' 10836 # or fails outright, so override atomically: 10837 install_override_mode=555 10838 ;; 10839 10840interix[3-9]*) 10841 version_type=linux # correct to gnu/linux during the next big refactor 10842 need_lib_prefix=no 10843 need_version=no 10844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10845 soname_spec='${libname}${release}${shared_ext}$major' 10846 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10847 shlibpath_var=LD_LIBRARY_PATH 10848 shlibpath_overrides_runpath=no 10849 hardcode_into_libs=yes 10850 ;; 10851 10852irix5* | irix6* | nonstopux*) 10853 case $host_os in 10854 nonstopux*) version_type=nonstopux ;; 10855 *) 10856 if test "$lt_cv_prog_gnu_ld" = yes; then 10857 version_type=linux # correct to gnu/linux during the next big refactor 10858 else 10859 version_type=irix 10860 fi ;; 10861 esac 10862 need_lib_prefix=no 10863 need_version=no 10864 soname_spec='${libname}${release}${shared_ext}$major' 10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10866 case $host_os in 10867 irix5* | nonstopux*) 10868 libsuff= shlibsuff= 10869 ;; 10870 *) 10871 case $LD in # libtool.m4 will add one of these switches to LD 10872 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10873 libsuff= shlibsuff= libmagic=32-bit;; 10874 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10875 libsuff=32 shlibsuff=N32 libmagic=N32;; 10876 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10877 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10878 *) libsuff= shlibsuff= libmagic=never-match;; 10879 esac 10880 ;; 10881 esac 10882 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10883 shlibpath_overrides_runpath=no 10884 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10885 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10886 hardcode_into_libs=yes 10887 ;; 10888 10889# No shared lib support for Linux oldld, aout, or coff. 10890linux*oldld* | linux*aout* | linux*coff*) 10891 dynamic_linker=no 10892 ;; 10893 10894# This must be glibc/ELF. 10895linux* | k*bsd*-gnu | kopensolaris*-gnu) 10896 version_type=linux # correct to gnu/linux during the next big refactor 10897 need_lib_prefix=no 10898 need_version=no 10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10900 soname_spec='${libname}${release}${shared_ext}$major' 10901 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10902 shlibpath_var=LD_LIBRARY_PATH 10903 shlibpath_overrides_runpath=no 10904 10905 # Some binutils ld are patched to set DT_RUNPATH 10906 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then 10907 $as_echo_n "(cached) " >&6 10908else 10909 lt_cv_shlibpath_overrides_runpath=no 10910 save_LDFLAGS=$LDFLAGS 10911 save_libdir=$libdir 10912 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10913 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10914 cat >conftest.$ac_ext <<_ACEOF 10915/* confdefs.h. */ 10916_ACEOF 10917cat confdefs.h >>conftest.$ac_ext 10918cat >>conftest.$ac_ext <<_ACEOF 10919/* end confdefs.h. */ 10920 10921int 10922main () 10923{ 10924 10925 ; 10926 return 0; 10927} 10928_ACEOF 10929rm -f conftest.$ac_objext conftest$ac_exeext 10930if { (ac_try="$ac_link" 10931case "(($ac_try" in 10932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10933 *) ac_try_echo=$ac_try;; 10934esac 10935eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10936$as_echo "$ac_try_echo") >&5 10937 (eval "$ac_link") 2>conftest.er1 10938 ac_status=$? 10939 grep -v '^ *+' conftest.er1 >conftest.err 10940 rm -f conftest.er1 10941 cat conftest.err >&5 10942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10943 (exit $ac_status); } && { 10944 test -z "$ac_c_werror_flag" || 10945 test ! -s conftest.err 10946 } && test -s conftest$ac_exeext && { 10947 test "$cross_compiling" = yes || 10948 $as_test_x conftest$ac_exeext 10949 }; then 10950 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then 10951 lt_cv_shlibpath_overrides_runpath=yes 10952fi 10953 10954else 10955 $as_echo "$as_me: failed program was:" >&5 10956sed 's/^/| /' conftest.$ac_ext >&5 10957 10958 10959fi 10960 10961rm -rf conftest.dSYM 10962rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10963 conftest$ac_exeext conftest.$ac_ext 10964 LDFLAGS=$save_LDFLAGS 10965 libdir=$save_libdir 10966 10967fi 10968 10969 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10970 10971 # This implies no fast_install, which is unacceptable. 10972 # Some rework will be needed to allow for fast_install 10973 # before this can be enabled. 10974 hardcode_into_libs=yes 10975 10976 # Add ABI-specific directories to the system library path. 10977 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 10978 10979 # Append ld.so.conf contents to the search path 10980 if test -f /etc/ld.so.conf; then 10981 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` 10982 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 10983 10984 fi 10985 10986 # We used to test for /lib/ld.so.1 and disable shared libraries on 10987 # powerpc, because MkLinux only supported shared libraries with the 10988 # GNU dynamic linker. Since this was broken with cross compilers, 10989 # most powerpc-linux boxes support dynamic linking these days and 10990 # people can always --disable-shared, the test was removed, and we 10991 # assume the GNU/Linux dynamic linker is in use. 10992 dynamic_linker='GNU/Linux ld.so' 10993 ;; 10994 10995netbsd*) 10996 version_type=sunos 10997 need_lib_prefix=no 10998 need_version=no 10999 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11001 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11002 dynamic_linker='NetBSD (a.out) ld.so' 11003 else 11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11005 soname_spec='${libname}${release}${shared_ext}$major' 11006 dynamic_linker='NetBSD ld.elf_so' 11007 fi 11008 shlibpath_var=LD_LIBRARY_PATH 11009 shlibpath_overrides_runpath=yes 11010 hardcode_into_libs=yes 11011 ;; 11012 11013newsos6) 11014 version_type=linux # correct to gnu/linux during the next big refactor 11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11016 shlibpath_var=LD_LIBRARY_PATH 11017 shlibpath_overrides_runpath=yes 11018 ;; 11019 11020*nto* | *qnx*) 11021 version_type=qnx 11022 need_lib_prefix=no 11023 need_version=no 11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11025 soname_spec='${libname}${release}${shared_ext}$major' 11026 shlibpath_var=LD_LIBRARY_PATH 11027 shlibpath_overrides_runpath=no 11028 hardcode_into_libs=yes 11029 dynamic_linker='ldqnx.so' 11030 ;; 11031 11032openbsd*) 11033 version_type=sunos 11034 sys_lib_dlsearch_path_spec="/usr/lib" 11035 need_lib_prefix=no 11036 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11037 case $host_os in 11038 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11039 *) need_version=no ;; 11040 esac 11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11042 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11043 shlibpath_var=LD_LIBRARY_PATH 11044 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11045 case $host_os in 11046 openbsd2.[89] | openbsd2.[89].*) 11047 shlibpath_overrides_runpath=no 11048 ;; 11049 *) 11050 shlibpath_overrides_runpath=yes 11051 ;; 11052 esac 11053 else 11054 shlibpath_overrides_runpath=yes 11055 fi 11056 ;; 11057 11058os2*) 11059 libname_spec='$name' 11060 shrext_cmds=".dll" 11061 need_lib_prefix=no 11062 library_names_spec='$libname${shared_ext} $libname.a' 11063 dynamic_linker='OS/2 ld.exe' 11064 shlibpath_var=LIBPATH 11065 ;; 11066 11067osf3* | osf4* | osf5*) 11068 version_type=osf 11069 need_lib_prefix=no 11070 need_version=no 11071 soname_spec='${libname}${release}${shared_ext}$major' 11072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11073 shlibpath_var=LD_LIBRARY_PATH 11074 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11075 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11076 ;; 11077 11078rdos*) 11079 dynamic_linker=no 11080 ;; 11081 11082solaris*) 11083 version_type=linux # correct to gnu/linux during the next big refactor 11084 need_lib_prefix=no 11085 need_version=no 11086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11087 soname_spec='${libname}${release}${shared_ext}$major' 11088 shlibpath_var=LD_LIBRARY_PATH 11089 shlibpath_overrides_runpath=yes 11090 hardcode_into_libs=yes 11091 # ldd complains unless libraries are executable 11092 postinstall_cmds='chmod +x $lib' 11093 ;; 11094 11095sunos4*) 11096 version_type=sunos 11097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11098 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11099 shlibpath_var=LD_LIBRARY_PATH 11100 shlibpath_overrides_runpath=yes 11101 if test "$with_gnu_ld" = yes; then 11102 need_lib_prefix=no 11103 fi 11104 need_version=yes 11105 ;; 11106 11107sysv4 | sysv4.3*) 11108 version_type=linux # correct to gnu/linux during the next big refactor 11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11110 soname_spec='${libname}${release}${shared_ext}$major' 11111 shlibpath_var=LD_LIBRARY_PATH 11112 case $host_vendor in 11113 sni) 11114 shlibpath_overrides_runpath=no 11115 need_lib_prefix=no 11116 runpath_var=LD_RUN_PATH 11117 ;; 11118 siemens) 11119 need_lib_prefix=no 11120 ;; 11121 motorola) 11122 need_lib_prefix=no 11123 need_version=no 11124 shlibpath_overrides_runpath=no 11125 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11126 ;; 11127 esac 11128 ;; 11129 11130sysv4*MP*) 11131 if test -d /usr/nec ;then 11132 version_type=linux # correct to gnu/linux during the next big refactor 11133 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11134 soname_spec='$libname${shared_ext}.$major' 11135 shlibpath_var=LD_LIBRARY_PATH 11136 fi 11137 ;; 11138 11139sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11140 version_type=freebsd-elf 11141 need_lib_prefix=no 11142 need_version=no 11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11144 soname_spec='${libname}${release}${shared_ext}$major' 11145 shlibpath_var=LD_LIBRARY_PATH 11146 shlibpath_overrides_runpath=yes 11147 hardcode_into_libs=yes 11148 if test "$with_gnu_ld" = yes; then 11149 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11150 else 11151 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11152 case $host_os in 11153 sco3.2v5*) 11154 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11155 ;; 11156 esac 11157 fi 11158 sys_lib_dlsearch_path_spec='/usr/lib' 11159 ;; 11160 11161tpf*) 11162 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11163 version_type=linux # correct to gnu/linux during the next big refactor 11164 need_lib_prefix=no 11165 need_version=no 11166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11167 shlibpath_var=LD_LIBRARY_PATH 11168 shlibpath_overrides_runpath=no 11169 hardcode_into_libs=yes 11170 ;; 11171 11172uts4*) 11173 version_type=linux # correct to gnu/linux during the next big refactor 11174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11175 soname_spec='${libname}${release}${shared_ext}$major' 11176 shlibpath_var=LD_LIBRARY_PATH 11177 ;; 11178 11179*) 11180 dynamic_linker=no 11181 ;; 11182esac 11183{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 11184$as_echo "$dynamic_linker" >&6; } 11185test "$dynamic_linker" = no && can_build_shared=no 11186 11187variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11188if test "$GCC" = yes; then 11189 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11190fi 11191 11192if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11193 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11194fi 11195if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11196 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11197fi 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 11291$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11292hardcode_action= 11293if test -n "$hardcode_libdir_flag_spec" || 11294 test -n "$runpath_var" || 11295 test "X$hardcode_automatic" = "Xyes" ; then 11296 11297 # We can hardcode non-existent directories. 11298 if test "$hardcode_direct" != no && 11299 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11300 # have to relink, otherwise we might link with an installed library 11301 # when we should be linking with a yet-to-be-installed one 11302 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11303 test "$hardcode_minus_L" != no; then 11304 # Linking always hardcodes the temporary library directory. 11305 hardcode_action=relink 11306 else 11307 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11308 hardcode_action=immediate 11309 fi 11310else 11311 # We cannot hardcode anything, or else we can only hardcode existing 11312 # directories. 11313 hardcode_action=unsupported 11314fi 11315{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 11316$as_echo "$hardcode_action" >&6; } 11317 11318if test "$hardcode_action" = relink || 11319 test "$inherit_rpath" = yes; then 11320 # Fast installation is not supported 11321 enable_fast_install=no 11322elif test "$shlibpath_overrides_runpath" = yes || 11323 test "$enable_shared" = no; then 11324 # Fast installation is not necessary 11325 enable_fast_install=needless 11326fi 11327 11328 11329 11330 11331 11332 11333 if test "x$enable_dlopen" != xyes; then 11334 enable_dlopen=unknown 11335 enable_dlopen_self=unknown 11336 enable_dlopen_self_static=unknown 11337else 11338 lt_cv_dlopen=no 11339 lt_cv_dlopen_libs= 11340 11341 case $host_os in 11342 beos*) 11343 lt_cv_dlopen="load_add_on" 11344 lt_cv_dlopen_libs= 11345 lt_cv_dlopen_self=yes 11346 ;; 11347 11348 mingw* | pw32* | cegcc*) 11349 lt_cv_dlopen="LoadLibrary" 11350 lt_cv_dlopen_libs= 11351 ;; 11352 11353 cygwin*) 11354 lt_cv_dlopen="dlopen" 11355 lt_cv_dlopen_libs= 11356 ;; 11357 11358 darwin*) 11359 # if libdl is installed we need to link against it 11360 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11361$as_echo_n "checking for dlopen in -ldl... " >&6; } 11362if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11363 $as_echo_n "(cached) " >&6 11364else 11365 ac_check_lib_save_LIBS=$LIBS 11366LIBS="-ldl $LIBS" 11367cat >conftest.$ac_ext <<_ACEOF 11368/* confdefs.h. */ 11369_ACEOF 11370cat confdefs.h >>conftest.$ac_ext 11371cat >>conftest.$ac_ext <<_ACEOF 11372/* end confdefs.h. */ 11373 11374/* Override any GCC internal prototype to avoid an error. 11375 Use char because int might match the return type of a GCC 11376 builtin and then its argument prototype would still apply. */ 11377#ifdef __cplusplus 11378extern "C" 11379#endif 11380char dlopen (); 11381int 11382main () 11383{ 11384return dlopen (); 11385 ; 11386 return 0; 11387} 11388_ACEOF 11389rm -f conftest.$ac_objext conftest$ac_exeext 11390if { (ac_try="$ac_link" 11391case "(($ac_try" in 11392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11393 *) ac_try_echo=$ac_try;; 11394esac 11395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11396$as_echo "$ac_try_echo") >&5 11397 (eval "$ac_link") 2>conftest.er1 11398 ac_status=$? 11399 grep -v '^ *+' conftest.er1 >conftest.err 11400 rm -f conftest.er1 11401 cat conftest.err >&5 11402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11403 (exit $ac_status); } && { 11404 test -z "$ac_c_werror_flag" || 11405 test ! -s conftest.err 11406 } && test -s conftest$ac_exeext && { 11407 test "$cross_compiling" = yes || 11408 $as_test_x conftest$ac_exeext 11409 }; then 11410 ac_cv_lib_dl_dlopen=yes 11411else 11412 $as_echo "$as_me: failed program was:" >&5 11413sed 's/^/| /' conftest.$ac_ext >&5 11414 11415 ac_cv_lib_dl_dlopen=no 11416fi 11417 11418rm -rf conftest.dSYM 11419rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11420 conftest$ac_exeext conftest.$ac_ext 11421LIBS=$ac_check_lib_save_LIBS 11422fi 11423{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11424$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11425if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11426 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11427else 11428 11429 lt_cv_dlopen="dyld" 11430 lt_cv_dlopen_libs= 11431 lt_cv_dlopen_self=yes 11432 11433fi 11434 11435 ;; 11436 11437 *) 11438 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 11439$as_echo_n "checking for shl_load... " >&6; } 11440if test "${ac_cv_func_shl_load+set}" = set; then 11441 $as_echo_n "(cached) " >&6 11442else 11443 cat >conftest.$ac_ext <<_ACEOF 11444/* confdefs.h. */ 11445_ACEOF 11446cat confdefs.h >>conftest.$ac_ext 11447cat >>conftest.$ac_ext <<_ACEOF 11448/* end confdefs.h. */ 11449/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. 11450 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11451#define shl_load innocuous_shl_load 11452 11453/* System header to define __stub macros and hopefully few prototypes, 11454 which can conflict with char shl_load (); below. 11455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11456 <limits.h> exists even on freestanding compilers. */ 11457 11458#ifdef __STDC__ 11459# include <limits.h> 11460#else 11461# include <assert.h> 11462#endif 11463 11464#undef shl_load 11465 11466/* Override any GCC internal prototype to avoid an error. 11467 Use char because int might match the return type of a GCC 11468 builtin and then its argument prototype would still apply. */ 11469#ifdef __cplusplus 11470extern "C" 11471#endif 11472char shl_load (); 11473/* The GNU C library defines this for functions which it implements 11474 to always fail with ENOSYS. Some functions are actually named 11475 something starting with __ and the normal name is an alias. */ 11476#if defined __stub_shl_load || defined __stub___shl_load 11477choke me 11478#endif 11479 11480int 11481main () 11482{ 11483return shl_load (); 11484 ; 11485 return 0; 11486} 11487_ACEOF 11488rm -f conftest.$ac_objext conftest$ac_exeext 11489if { (ac_try="$ac_link" 11490case "(($ac_try" in 11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11492 *) ac_try_echo=$ac_try;; 11493esac 11494eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11495$as_echo "$ac_try_echo") >&5 11496 (eval "$ac_link") 2>conftest.er1 11497 ac_status=$? 11498 grep -v '^ *+' conftest.er1 >conftest.err 11499 rm -f conftest.er1 11500 cat conftest.err >&5 11501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11502 (exit $ac_status); } && { 11503 test -z "$ac_c_werror_flag" || 11504 test ! -s conftest.err 11505 } && test -s conftest$ac_exeext && { 11506 test "$cross_compiling" = yes || 11507 $as_test_x conftest$ac_exeext 11508 }; then 11509 ac_cv_func_shl_load=yes 11510else 11511 $as_echo "$as_me: failed program was:" >&5 11512sed 's/^/| /' conftest.$ac_ext >&5 11513 11514 ac_cv_func_shl_load=no 11515fi 11516 11517rm -rf conftest.dSYM 11518rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11519 conftest$ac_exeext conftest.$ac_ext 11520fi 11521{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 11522$as_echo "$ac_cv_func_shl_load" >&6; } 11523if test "x$ac_cv_func_shl_load" = x""yes; then 11524 lt_cv_dlopen="shl_load" 11525else 11526 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 11527$as_echo_n "checking for shl_load in -ldld... " >&6; } 11528if test "${ac_cv_lib_dld_shl_load+set}" = set; then 11529 $as_echo_n "(cached) " >&6 11530else 11531 ac_check_lib_save_LIBS=$LIBS 11532LIBS="-ldld $LIBS" 11533cat >conftest.$ac_ext <<_ACEOF 11534/* confdefs.h. */ 11535_ACEOF 11536cat confdefs.h >>conftest.$ac_ext 11537cat >>conftest.$ac_ext <<_ACEOF 11538/* end confdefs.h. */ 11539 11540/* Override any GCC internal prototype to avoid an error. 11541 Use char because int might match the return type of a GCC 11542 builtin and then its argument prototype would still apply. */ 11543#ifdef __cplusplus 11544extern "C" 11545#endif 11546char shl_load (); 11547int 11548main () 11549{ 11550return shl_load (); 11551 ; 11552 return 0; 11553} 11554_ACEOF 11555rm -f conftest.$ac_objext conftest$ac_exeext 11556if { (ac_try="$ac_link" 11557case "(($ac_try" in 11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11559 *) ac_try_echo=$ac_try;; 11560esac 11561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11562$as_echo "$ac_try_echo") >&5 11563 (eval "$ac_link") 2>conftest.er1 11564 ac_status=$? 11565 grep -v '^ *+' conftest.er1 >conftest.err 11566 rm -f conftest.er1 11567 cat conftest.err >&5 11568 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11569 (exit $ac_status); } && { 11570 test -z "$ac_c_werror_flag" || 11571 test ! -s conftest.err 11572 } && test -s conftest$ac_exeext && { 11573 test "$cross_compiling" = yes || 11574 $as_test_x conftest$ac_exeext 11575 }; then 11576 ac_cv_lib_dld_shl_load=yes 11577else 11578 $as_echo "$as_me: failed program was:" >&5 11579sed 's/^/| /' conftest.$ac_ext >&5 11580 11581 ac_cv_lib_dld_shl_load=no 11582fi 11583 11584rm -rf conftest.dSYM 11585rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11586 conftest$ac_exeext conftest.$ac_ext 11587LIBS=$ac_check_lib_save_LIBS 11588fi 11589{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 11590$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11591if test "x$ac_cv_lib_dld_shl_load" = x""yes; then 11592 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11593else 11594 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 11595$as_echo_n "checking for dlopen... " >&6; } 11596if test "${ac_cv_func_dlopen+set}" = set; then 11597 $as_echo_n "(cached) " >&6 11598else 11599 cat >conftest.$ac_ext <<_ACEOF 11600/* confdefs.h. */ 11601_ACEOF 11602cat confdefs.h >>conftest.$ac_ext 11603cat >>conftest.$ac_ext <<_ACEOF 11604/* end confdefs.h. */ 11605/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. 11606 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 11607#define dlopen innocuous_dlopen 11608 11609/* System header to define __stub macros and hopefully few prototypes, 11610 which can conflict with char dlopen (); below. 11611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 11612 <limits.h> exists even on freestanding compilers. */ 11613 11614#ifdef __STDC__ 11615# include <limits.h> 11616#else 11617# include <assert.h> 11618#endif 11619 11620#undef dlopen 11621 11622/* Override any GCC internal prototype to avoid an error. 11623 Use char because int might match the return type of a GCC 11624 builtin and then its argument prototype would still apply. */ 11625#ifdef __cplusplus 11626extern "C" 11627#endif 11628char dlopen (); 11629/* The GNU C library defines this for functions which it implements 11630 to always fail with ENOSYS. Some functions are actually named 11631 something starting with __ and the normal name is an alias. */ 11632#if defined __stub_dlopen || defined __stub___dlopen 11633choke me 11634#endif 11635 11636int 11637main () 11638{ 11639return dlopen (); 11640 ; 11641 return 0; 11642} 11643_ACEOF 11644rm -f conftest.$ac_objext conftest$ac_exeext 11645if { (ac_try="$ac_link" 11646case "(($ac_try" in 11647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11648 *) ac_try_echo=$ac_try;; 11649esac 11650eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11651$as_echo "$ac_try_echo") >&5 11652 (eval "$ac_link") 2>conftest.er1 11653 ac_status=$? 11654 grep -v '^ *+' conftest.er1 >conftest.err 11655 rm -f conftest.er1 11656 cat conftest.err >&5 11657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11658 (exit $ac_status); } && { 11659 test -z "$ac_c_werror_flag" || 11660 test ! -s conftest.err 11661 } && test -s conftest$ac_exeext && { 11662 test "$cross_compiling" = yes || 11663 $as_test_x conftest$ac_exeext 11664 }; then 11665 ac_cv_func_dlopen=yes 11666else 11667 $as_echo "$as_me: failed program was:" >&5 11668sed 's/^/| /' conftest.$ac_ext >&5 11669 11670 ac_cv_func_dlopen=no 11671fi 11672 11673rm -rf conftest.dSYM 11674rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11675 conftest$ac_exeext conftest.$ac_ext 11676fi 11677{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 11678$as_echo "$ac_cv_func_dlopen" >&6; } 11679if test "x$ac_cv_func_dlopen" = x""yes; then 11680 lt_cv_dlopen="dlopen" 11681else 11682 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 11683$as_echo_n "checking for dlopen in -ldl... " >&6; } 11684if test "${ac_cv_lib_dl_dlopen+set}" = set; then 11685 $as_echo_n "(cached) " >&6 11686else 11687 ac_check_lib_save_LIBS=$LIBS 11688LIBS="-ldl $LIBS" 11689cat >conftest.$ac_ext <<_ACEOF 11690/* confdefs.h. */ 11691_ACEOF 11692cat confdefs.h >>conftest.$ac_ext 11693cat >>conftest.$ac_ext <<_ACEOF 11694/* end confdefs.h. */ 11695 11696/* Override any GCC internal prototype to avoid an error. 11697 Use char because int might match the return type of a GCC 11698 builtin and then its argument prototype would still apply. */ 11699#ifdef __cplusplus 11700extern "C" 11701#endif 11702char dlopen (); 11703int 11704main () 11705{ 11706return dlopen (); 11707 ; 11708 return 0; 11709} 11710_ACEOF 11711rm -f conftest.$ac_objext conftest$ac_exeext 11712if { (ac_try="$ac_link" 11713case "(($ac_try" in 11714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11715 *) ac_try_echo=$ac_try;; 11716esac 11717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11718$as_echo "$ac_try_echo") >&5 11719 (eval "$ac_link") 2>conftest.er1 11720 ac_status=$? 11721 grep -v '^ *+' conftest.er1 >conftest.err 11722 rm -f conftest.er1 11723 cat conftest.err >&5 11724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11725 (exit $ac_status); } && { 11726 test -z "$ac_c_werror_flag" || 11727 test ! -s conftest.err 11728 } && test -s conftest$ac_exeext && { 11729 test "$cross_compiling" = yes || 11730 $as_test_x conftest$ac_exeext 11731 }; then 11732 ac_cv_lib_dl_dlopen=yes 11733else 11734 $as_echo "$as_me: failed program was:" >&5 11735sed 's/^/| /' conftest.$ac_ext >&5 11736 11737 ac_cv_lib_dl_dlopen=no 11738fi 11739 11740rm -rf conftest.dSYM 11741rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11742 conftest$ac_exeext conftest.$ac_ext 11743LIBS=$ac_check_lib_save_LIBS 11744fi 11745{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 11746$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11747if test "x$ac_cv_lib_dl_dlopen" = x""yes; then 11748 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11749else 11750 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 11751$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11752if test "${ac_cv_lib_svld_dlopen+set}" = set; then 11753 $as_echo_n "(cached) " >&6 11754else 11755 ac_check_lib_save_LIBS=$LIBS 11756LIBS="-lsvld $LIBS" 11757cat >conftest.$ac_ext <<_ACEOF 11758/* confdefs.h. */ 11759_ACEOF 11760cat confdefs.h >>conftest.$ac_ext 11761cat >>conftest.$ac_ext <<_ACEOF 11762/* end confdefs.h. */ 11763 11764/* Override any GCC internal prototype to avoid an error. 11765 Use char because int might match the return type of a GCC 11766 builtin and then its argument prototype would still apply. */ 11767#ifdef __cplusplus 11768extern "C" 11769#endif 11770char dlopen (); 11771int 11772main () 11773{ 11774return dlopen (); 11775 ; 11776 return 0; 11777} 11778_ACEOF 11779rm -f conftest.$ac_objext conftest$ac_exeext 11780if { (ac_try="$ac_link" 11781case "(($ac_try" in 11782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11783 *) ac_try_echo=$ac_try;; 11784esac 11785eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11786$as_echo "$ac_try_echo") >&5 11787 (eval "$ac_link") 2>conftest.er1 11788 ac_status=$? 11789 grep -v '^ *+' conftest.er1 >conftest.err 11790 rm -f conftest.er1 11791 cat conftest.err >&5 11792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11793 (exit $ac_status); } && { 11794 test -z "$ac_c_werror_flag" || 11795 test ! -s conftest.err 11796 } && test -s conftest$ac_exeext && { 11797 test "$cross_compiling" = yes || 11798 $as_test_x conftest$ac_exeext 11799 }; then 11800 ac_cv_lib_svld_dlopen=yes 11801else 11802 $as_echo "$as_me: failed program was:" >&5 11803sed 's/^/| /' conftest.$ac_ext >&5 11804 11805 ac_cv_lib_svld_dlopen=no 11806fi 11807 11808rm -rf conftest.dSYM 11809rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11810 conftest$ac_exeext conftest.$ac_ext 11811LIBS=$ac_check_lib_save_LIBS 11812fi 11813{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 11814$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11815if test "x$ac_cv_lib_svld_dlopen" = x""yes; then 11816 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11817else 11818 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 11819$as_echo_n "checking for dld_link in -ldld... " >&6; } 11820if test "${ac_cv_lib_dld_dld_link+set}" = set; then 11821 $as_echo_n "(cached) " >&6 11822else 11823 ac_check_lib_save_LIBS=$LIBS 11824LIBS="-ldld $LIBS" 11825cat >conftest.$ac_ext <<_ACEOF 11826/* confdefs.h. */ 11827_ACEOF 11828cat confdefs.h >>conftest.$ac_ext 11829cat >>conftest.$ac_ext <<_ACEOF 11830/* end confdefs.h. */ 11831 11832/* Override any GCC internal prototype to avoid an error. 11833 Use char because int might match the return type of a GCC 11834 builtin and then its argument prototype would still apply. */ 11835#ifdef __cplusplus 11836extern "C" 11837#endif 11838char dld_link (); 11839int 11840main () 11841{ 11842return dld_link (); 11843 ; 11844 return 0; 11845} 11846_ACEOF 11847rm -f conftest.$ac_objext conftest$ac_exeext 11848if { (ac_try="$ac_link" 11849case "(($ac_try" in 11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11851 *) ac_try_echo=$ac_try;; 11852esac 11853eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11854$as_echo "$ac_try_echo") >&5 11855 (eval "$ac_link") 2>conftest.er1 11856 ac_status=$? 11857 grep -v '^ *+' conftest.er1 >conftest.err 11858 rm -f conftest.er1 11859 cat conftest.err >&5 11860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11861 (exit $ac_status); } && { 11862 test -z "$ac_c_werror_flag" || 11863 test ! -s conftest.err 11864 } && test -s conftest$ac_exeext && { 11865 test "$cross_compiling" = yes || 11866 $as_test_x conftest$ac_exeext 11867 }; then 11868 ac_cv_lib_dld_dld_link=yes 11869else 11870 $as_echo "$as_me: failed program was:" >&5 11871sed 's/^/| /' conftest.$ac_ext >&5 11872 11873 ac_cv_lib_dld_dld_link=no 11874fi 11875 11876rm -rf conftest.dSYM 11877rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11878 conftest$ac_exeext conftest.$ac_ext 11879LIBS=$ac_check_lib_save_LIBS 11880fi 11881{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 11882$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11883if test "x$ac_cv_lib_dld_dld_link" = x""yes; then 11884 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11885fi 11886 11887 11888fi 11889 11890 11891fi 11892 11893 11894fi 11895 11896 11897fi 11898 11899 11900fi 11901 11902 ;; 11903 esac 11904 11905 if test "x$lt_cv_dlopen" != xno; then 11906 enable_dlopen=yes 11907 else 11908 enable_dlopen=no 11909 fi 11910 11911 case $lt_cv_dlopen in 11912 dlopen) 11913 save_CPPFLAGS="$CPPFLAGS" 11914 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11915 11916 save_LDFLAGS="$LDFLAGS" 11917 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11918 11919 save_LIBS="$LIBS" 11920 LIBS="$lt_cv_dlopen_libs $LIBS" 11921 11922 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 11923$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11924if test "${lt_cv_dlopen_self+set}" = set; then 11925 $as_echo_n "(cached) " >&6 11926else 11927 if test "$cross_compiling" = yes; then : 11928 lt_cv_dlopen_self=cross 11929else 11930 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11931 lt_status=$lt_dlunknown 11932 cat > conftest.$ac_ext <<_LT_EOF 11933#line $LINENO "configure" 11934#include "confdefs.h" 11935 11936#if HAVE_DLFCN_H 11937#include <dlfcn.h> 11938#endif 11939 11940#include <stdio.h> 11941 11942#ifdef RTLD_GLOBAL 11943# define LT_DLGLOBAL RTLD_GLOBAL 11944#else 11945# ifdef DL_GLOBAL 11946# define LT_DLGLOBAL DL_GLOBAL 11947# else 11948# define LT_DLGLOBAL 0 11949# endif 11950#endif 11951 11952/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11953 find out it does not work in some platform. */ 11954#ifndef LT_DLLAZY_OR_NOW 11955# ifdef RTLD_LAZY 11956# define LT_DLLAZY_OR_NOW RTLD_LAZY 11957# else 11958# ifdef DL_LAZY 11959# define LT_DLLAZY_OR_NOW DL_LAZY 11960# else 11961# ifdef RTLD_NOW 11962# define LT_DLLAZY_OR_NOW RTLD_NOW 11963# else 11964# ifdef DL_NOW 11965# define LT_DLLAZY_OR_NOW DL_NOW 11966# else 11967# define LT_DLLAZY_OR_NOW 0 11968# endif 11969# endif 11970# endif 11971# endif 11972#endif 11973 11974/* When -fvisbility=hidden is used, assume the code has been annotated 11975 correspondingly for the symbols needed. */ 11976#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11977int fnord () __attribute__((visibility("default"))); 11978#endif 11979 11980int fnord () { return 42; } 11981int main () 11982{ 11983 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11984 int status = $lt_dlunknown; 11985 11986 if (self) 11987 { 11988 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11989 else 11990 { 11991 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11992 else puts (dlerror ()); 11993 } 11994 /* dlclose (self); */ 11995 } 11996 else 11997 puts (dlerror ()); 11998 11999 return status; 12000} 12001_LT_EOF 12002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12003 (eval $ac_link) 2>&5 12004 ac_status=$? 12005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12006 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12007 (./conftest; exit; ) >&5 2>/dev/null 12008 lt_status=$? 12009 case x$lt_status in 12010 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 12011 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 12012 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 12013 esac 12014 else : 12015 # compilation failed 12016 lt_cv_dlopen_self=no 12017 fi 12018fi 12019rm -fr conftest* 12020 12021 12022fi 12023{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 12024$as_echo "$lt_cv_dlopen_self" >&6; } 12025 12026 if test "x$lt_cv_dlopen_self" = xyes; then 12027 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 12028 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 12029$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 12030if test "${lt_cv_dlopen_self_static+set}" = set; then 12031 $as_echo_n "(cached) " >&6 12032else 12033 if test "$cross_compiling" = yes; then : 12034 lt_cv_dlopen_self_static=cross 12035else 12036 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 12037 lt_status=$lt_dlunknown 12038 cat > conftest.$ac_ext <<_LT_EOF 12039#line $LINENO "configure" 12040#include "confdefs.h" 12041 12042#if HAVE_DLFCN_H 12043#include <dlfcn.h> 12044#endif 12045 12046#include <stdio.h> 12047 12048#ifdef RTLD_GLOBAL 12049# define LT_DLGLOBAL RTLD_GLOBAL 12050#else 12051# ifdef DL_GLOBAL 12052# define LT_DLGLOBAL DL_GLOBAL 12053# else 12054# define LT_DLGLOBAL 0 12055# endif 12056#endif 12057 12058/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 12059 find out it does not work in some platform. */ 12060#ifndef LT_DLLAZY_OR_NOW 12061# ifdef RTLD_LAZY 12062# define LT_DLLAZY_OR_NOW RTLD_LAZY 12063# else 12064# ifdef DL_LAZY 12065# define LT_DLLAZY_OR_NOW DL_LAZY 12066# else 12067# ifdef RTLD_NOW 12068# define LT_DLLAZY_OR_NOW RTLD_NOW 12069# else 12070# ifdef DL_NOW 12071# define LT_DLLAZY_OR_NOW DL_NOW 12072# else 12073# define LT_DLLAZY_OR_NOW 0 12074# endif 12075# endif 12076# endif 12077# endif 12078#endif 12079 12080/* When -fvisbility=hidden is used, assume the code has been annotated 12081 correspondingly for the symbols needed. */ 12082#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 12083int fnord () __attribute__((visibility("default"))); 12084#endif 12085 12086int fnord () { return 42; } 12087int main () 12088{ 12089 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 12090 int status = $lt_dlunknown; 12091 12092 if (self) 12093 { 12094 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 12095 else 12096 { 12097 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 12098 else puts (dlerror ()); 12099 } 12100 /* dlclose (self); */ 12101 } 12102 else 12103 puts (dlerror ()); 12104 12105 return status; 12106} 12107_LT_EOF 12108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 12109 (eval $ac_link) 2>&5 12110 ac_status=$? 12111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12112 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then 12113 (./conftest; exit; ) >&5 2>/dev/null 12114 lt_status=$? 12115 case x$lt_status in 12116 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 12117 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 12118 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 12119 esac 12120 else : 12121 # compilation failed 12122 lt_cv_dlopen_self_static=no 12123 fi 12124fi 12125rm -fr conftest* 12126 12127 12128fi 12129{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 12130$as_echo "$lt_cv_dlopen_self_static" >&6; } 12131 fi 12132 12133 CPPFLAGS="$save_CPPFLAGS" 12134 LDFLAGS="$save_LDFLAGS" 12135 LIBS="$save_LIBS" 12136 ;; 12137 esac 12138 12139 case $lt_cv_dlopen_self in 12140 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 12141 *) enable_dlopen_self=unknown ;; 12142 esac 12143 12144 case $lt_cv_dlopen_self_static in 12145 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 12146 *) enable_dlopen_self_static=unknown ;; 12147 esac 12148fi 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166striplib= 12167old_striplib= 12168{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 12169$as_echo_n "checking whether stripping libraries is possible... " >&6; } 12170if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 12171 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 12172 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 12173 { $as_echo "$as_me:$LINENO: result: yes" >&5 12174$as_echo "yes" >&6; } 12175else 12176# FIXME - insert some real tests, host_os isn't really good enough 12177 case $host_os in 12178 darwin*) 12179 if test -n "$STRIP" ; then 12180 striplib="$STRIP -x" 12181 old_striplib="$STRIP -S" 12182 { $as_echo "$as_me:$LINENO: result: yes" >&5 12183$as_echo "yes" >&6; } 12184 else 12185 { $as_echo "$as_me:$LINENO: result: no" >&5 12186$as_echo "no" >&6; } 12187 fi 12188 ;; 12189 *) 12190 { $as_echo "$as_me:$LINENO: result: no" >&5 12191$as_echo "no" >&6; } 12192 ;; 12193 esac 12194fi 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 # Report which library types will actually be built 12208 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 12209$as_echo_n "checking if libtool supports shared libraries... " >&6; } 12210 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 12211$as_echo "$can_build_shared" >&6; } 12212 12213 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 12214$as_echo_n "checking whether to build shared libraries... " >&6; } 12215 test "$can_build_shared" = "no" && enable_shared=no 12216 12217 # On AIX, shared libraries and static libraries use the same namespace, and 12218 # are all built from PIC. 12219 case $host_os in 12220 aix3*) 12221 test "$enable_shared" = yes && enable_static=no 12222 if test -n "$RANLIB"; then 12223 archive_cmds="$archive_cmds~\$RANLIB \$lib" 12224 postinstall_cmds='$RANLIB $lib' 12225 fi 12226 ;; 12227 12228 aix[4-9]*) 12229 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 12230 test "$enable_shared" = yes && enable_static=no 12231 fi 12232 ;; 12233 esac 12234 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 12235$as_echo "$enable_shared" >&6; } 12236 12237 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 12238$as_echo_n "checking whether to build static libraries... " >&6; } 12239 # Make sure either enable_shared or enable_static is yes. 12240 test "$enable_shared" = yes || enable_static=yes 12241 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 12242$as_echo "$enable_static" >&6; } 12243 12244 12245 12246 12247fi 12248ac_ext=c 12249ac_cpp='$CPP $CPPFLAGS' 12250ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12251ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12252ac_compiler_gnu=$ac_cv_c_compiler_gnu 12253 12254CC="$lt_save_CC" 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 ac_config_commands="$ac_config_commands libtool" 12271 12272 12273 12274 12275# Only expand once: 12276 12277 12278 12279CC_NOUNDEFINED 12280 12281{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 12282$as_echo_n "checking for ANSI C header files... " >&6; } 12283if test "${ac_cv_header_stdc+set}" = set; then 12284 $as_echo_n "(cached) " >&6 12285else 12286 cat >conftest.$ac_ext <<_ACEOF 12287/* confdefs.h. */ 12288_ACEOF 12289cat confdefs.h >>conftest.$ac_ext 12290cat >>conftest.$ac_ext <<_ACEOF 12291/* end confdefs.h. */ 12292#include <stdlib.h> 12293#include <stdarg.h> 12294#include <string.h> 12295#include <float.h> 12296 12297int 12298main () 12299{ 12300 12301 ; 12302 return 0; 12303} 12304_ACEOF 12305rm -f conftest.$ac_objext 12306if { (ac_try="$ac_compile" 12307case "(($ac_try" in 12308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12309 *) ac_try_echo=$ac_try;; 12310esac 12311eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12312$as_echo "$ac_try_echo") >&5 12313 (eval "$ac_compile") 2>conftest.er1 12314 ac_status=$? 12315 grep -v '^ *+' conftest.er1 >conftest.err 12316 rm -f conftest.er1 12317 cat conftest.err >&5 12318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12319 (exit $ac_status); } && { 12320 test -z "$ac_c_werror_flag" || 12321 test ! -s conftest.err 12322 } && test -s conftest.$ac_objext; then 12323 ac_cv_header_stdc=yes 12324else 12325 $as_echo "$as_me: failed program was:" >&5 12326sed 's/^/| /' conftest.$ac_ext >&5 12327 12328 ac_cv_header_stdc=no 12329fi 12330 12331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12332 12333if test $ac_cv_header_stdc = yes; then 12334 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 12335 cat >conftest.$ac_ext <<_ACEOF 12336/* confdefs.h. */ 12337_ACEOF 12338cat confdefs.h >>conftest.$ac_ext 12339cat >>conftest.$ac_ext <<_ACEOF 12340/* end confdefs.h. */ 12341#include <string.h> 12342 12343_ACEOF 12344if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12345 $EGREP "memchr" >/dev/null 2>&1; then 12346 : 12347else 12348 ac_cv_header_stdc=no 12349fi 12350rm -f conftest* 12351 12352fi 12353 12354if test $ac_cv_header_stdc = yes; then 12355 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 12356 cat >conftest.$ac_ext <<_ACEOF 12357/* confdefs.h. */ 12358_ACEOF 12359cat confdefs.h >>conftest.$ac_ext 12360cat >>conftest.$ac_ext <<_ACEOF 12361/* end confdefs.h. */ 12362#include <stdlib.h> 12363 12364_ACEOF 12365if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12366 $EGREP "free" >/dev/null 2>&1; then 12367 : 12368else 12369 ac_cv_header_stdc=no 12370fi 12371rm -f conftest* 12372 12373fi 12374 12375if test $ac_cv_header_stdc = yes; then 12376 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 12377 if test "$cross_compiling" = yes; then 12378 : 12379else 12380 cat >conftest.$ac_ext <<_ACEOF 12381/* confdefs.h. */ 12382_ACEOF 12383cat confdefs.h >>conftest.$ac_ext 12384cat >>conftest.$ac_ext <<_ACEOF 12385/* end confdefs.h. */ 12386#include <ctype.h> 12387#include <stdlib.h> 12388#if ((' ' & 0x0FF) == 0x020) 12389# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 12390# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 12391#else 12392# define ISLOWER(c) \ 12393 (('a' <= (c) && (c) <= 'i') \ 12394 || ('j' <= (c) && (c) <= 'r') \ 12395 || ('s' <= (c) && (c) <= 'z')) 12396# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 12397#endif 12398 12399#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 12400int 12401main () 12402{ 12403 int i; 12404 for (i = 0; i < 256; i++) 12405 if (XOR (islower (i), ISLOWER (i)) 12406 || toupper (i) != TOUPPER (i)) 12407 return 2; 12408 return 0; 12409} 12410_ACEOF 12411rm -f conftest$ac_exeext 12412if { (ac_try="$ac_link" 12413case "(($ac_try" in 12414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12415 *) ac_try_echo=$ac_try;; 12416esac 12417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12418$as_echo "$ac_try_echo") >&5 12419 (eval "$ac_link") 2>&5 12420 ac_status=$? 12421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12423 { (case "(($ac_try" in 12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12425 *) ac_try_echo=$ac_try;; 12426esac 12427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12428$as_echo "$ac_try_echo") >&5 12429 (eval "$ac_try") 2>&5 12430 ac_status=$? 12431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12432 (exit $ac_status); }; }; then 12433 : 12434else 12435 $as_echo "$as_me: program exited with status $ac_status" >&5 12436$as_echo "$as_me: failed program was:" >&5 12437sed 's/^/| /' conftest.$ac_ext >&5 12438 12439( exit $ac_status ) 12440ac_cv_header_stdc=no 12441fi 12442rm -rf conftest.dSYM 12443rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12444fi 12445 12446 12447fi 12448fi 12449{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 12450$as_echo "$ac_cv_header_stdc" >&6; } 12451if test $ac_cv_header_stdc = yes; then 12452 12453cat >>confdefs.h <<\_ACEOF 12454@%:@define STDC_HEADERS 1 12455_ACEOF 12456 12457fi 12458 12459ac_config_headers="$ac_config_headers include/config.h" 12460 12461 12462{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 12463$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12464if test "${ac_cv_c_const+set}" = set; then 12465 $as_echo_n "(cached) " >&6 12466else 12467 cat >conftest.$ac_ext <<_ACEOF 12468/* confdefs.h. */ 12469_ACEOF 12470cat confdefs.h >>conftest.$ac_ext 12471cat >>conftest.$ac_ext <<_ACEOF 12472/* end confdefs.h. */ 12473 12474int 12475main () 12476{ 12477/* FIXME: Include the comments suggested by Paul. */ 12478#ifndef __cplusplus 12479 /* Ultrix mips cc rejects this. */ 12480 typedef int charset[2]; 12481 const charset cs; 12482 /* SunOS 4.1.1 cc rejects this. */ 12483 char const *const *pcpcc; 12484 char **ppc; 12485 /* NEC SVR4.0.2 mips cc rejects this. */ 12486 struct point {int x, y;}; 12487 static struct point const zero = {0,0}; 12488 /* AIX XL C 1.02.0.0 rejects this. 12489 It does not let you subtract one const X* pointer from another in 12490 an arm of an if-expression whose if-part is not a constant 12491 expression */ 12492 const char *g = "string"; 12493 pcpcc = &g + (g ? g-g : 0); 12494 /* HPUX 7.0 cc rejects these. */ 12495 ++pcpcc; 12496 ppc = (char**) pcpcc; 12497 pcpcc = (char const *const *) ppc; 12498 { /* SCO 3.2v4 cc rejects this. */ 12499 char *t; 12500 char const *s = 0 ? (char *) 0 : (char const *) 0; 12501 12502 *t++ = 0; 12503 if (s) return 0; 12504 } 12505 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12506 int x[] = {25, 17}; 12507 const int *foo = &x[0]; 12508 ++foo; 12509 } 12510 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12511 typedef const int *iptr; 12512 iptr p = 0; 12513 ++p; 12514 } 12515 { /* AIX XL C 1.02.0.0 rejects this saying 12516 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12517 struct s { int j; const int *ap[3]; }; 12518 struct s *b; b->j = 5; 12519 } 12520 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12521 const int foo = 10; 12522 if (!foo) return 0; 12523 } 12524 return !cs[0] && !zero.x; 12525#endif 12526 12527 ; 12528 return 0; 12529} 12530_ACEOF 12531rm -f conftest.$ac_objext 12532if { (ac_try="$ac_compile" 12533case "(($ac_try" in 12534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12535 *) ac_try_echo=$ac_try;; 12536esac 12537eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12538$as_echo "$ac_try_echo") >&5 12539 (eval "$ac_compile") 2>conftest.er1 12540 ac_status=$? 12541 grep -v '^ *+' conftest.er1 >conftest.err 12542 rm -f conftest.er1 12543 cat conftest.err >&5 12544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12545 (exit $ac_status); } && { 12546 test -z "$ac_c_werror_flag" || 12547 test ! -s conftest.err 12548 } && test -s conftest.$ac_objext; then 12549 ac_cv_c_const=yes 12550else 12551 $as_echo "$as_me: failed program was:" >&5 12552sed 's/^/| /' conftest.$ac_ext >&5 12553 12554 ac_cv_c_const=no 12555fi 12556 12557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12558fi 12559{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 12560$as_echo "$ac_cv_c_const" >&6; } 12561if test $ac_cv_c_const = no; then 12562 12563cat >>confdefs.h <<\_ACEOF 12564@%:@define const /**/ 12565_ACEOF 12566 12567fi 12568 12569{ $as_echo "$as_me:$LINENO: checking for inline" >&5 12570$as_echo_n "checking for inline... " >&6; } 12571if test "${ac_cv_c_inline+set}" = set; then 12572 $as_echo_n "(cached) " >&6 12573else 12574 ac_cv_c_inline=no 12575for ac_kw in inline __inline__ __inline; do 12576 cat >conftest.$ac_ext <<_ACEOF 12577/* confdefs.h. */ 12578_ACEOF 12579cat confdefs.h >>conftest.$ac_ext 12580cat >>conftest.$ac_ext <<_ACEOF 12581/* end confdefs.h. */ 12582#ifndef __cplusplus 12583typedef int foo_t; 12584static $ac_kw foo_t static_foo () {return 0; } 12585$ac_kw foo_t foo () {return 0; } 12586#endif 12587 12588_ACEOF 12589rm -f conftest.$ac_objext 12590if { (ac_try="$ac_compile" 12591case "(($ac_try" in 12592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12593 *) ac_try_echo=$ac_try;; 12594esac 12595eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12596$as_echo "$ac_try_echo") >&5 12597 (eval "$ac_compile") 2>conftest.er1 12598 ac_status=$? 12599 grep -v '^ *+' conftest.er1 >conftest.err 12600 rm -f conftest.er1 12601 cat conftest.err >&5 12602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12603 (exit $ac_status); } && { 12604 test -z "$ac_c_werror_flag" || 12605 test ! -s conftest.err 12606 } && test -s conftest.$ac_objext; then 12607 ac_cv_c_inline=$ac_kw 12608else 12609 $as_echo "$as_me: failed program was:" >&5 12610sed 's/^/| /' conftest.$ac_ext >&5 12611 12612 12613fi 12614 12615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12616 test "$ac_cv_c_inline" != no && break 12617done 12618 12619fi 12620{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 12621$as_echo "$ac_cv_c_inline" >&6; } 12622 12623 12624case $ac_cv_c_inline in 12625 inline | yes) ;; 12626 *) 12627 case $ac_cv_c_inline in 12628 no) ac_val=;; 12629 *) ac_val=$ac_cv_c_inline;; 12630 esac 12631 cat >>confdefs.h <<_ACEOF 12632#ifndef __cplusplus 12633#define inline $ac_val 12634#endif 12635_ACEOF 12636 ;; 12637esac 12638 12639{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 12640$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 12641if test "${ac_cv_header_time+set}" = set; then 12642 $as_echo_n "(cached) " >&6 12643else 12644 cat >conftest.$ac_ext <<_ACEOF 12645/* confdefs.h. */ 12646_ACEOF 12647cat confdefs.h >>conftest.$ac_ext 12648cat >>conftest.$ac_ext <<_ACEOF 12649/* end confdefs.h. */ 12650#include <sys/types.h> 12651#include <sys/time.h> 12652#include <time.h> 12653 12654int 12655main () 12656{ 12657if ((struct tm *) 0) 12658return 0; 12659 ; 12660 return 0; 12661} 12662_ACEOF 12663rm -f conftest.$ac_objext 12664if { (ac_try="$ac_compile" 12665case "(($ac_try" in 12666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12667 *) ac_try_echo=$ac_try;; 12668esac 12669eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12670$as_echo "$ac_try_echo") >&5 12671 (eval "$ac_compile") 2>conftest.er1 12672 ac_status=$? 12673 grep -v '^ *+' conftest.er1 >conftest.err 12674 rm -f conftest.er1 12675 cat conftest.err >&5 12676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12677 (exit $ac_status); } && { 12678 test -z "$ac_c_werror_flag" || 12679 test ! -s conftest.err 12680 } && test -s conftest.$ac_objext; then 12681 ac_cv_header_time=yes 12682else 12683 $as_echo "$as_me: failed program was:" >&5 12684sed 's/^/| /' conftest.$ac_ext >&5 12685 12686 ac_cv_header_time=no 12687fi 12688 12689rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12690fi 12691{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 12692$as_echo "$ac_cv_header_time" >&6; } 12693if test $ac_cv_header_time = yes; then 12694 12695cat >>confdefs.h <<\_ACEOF 12696@%:@define TIME_WITH_SYS_TIME 1 12697_ACEOF 12698 12699fi 12700 12701 12702if test $ac_cv_c_compiler_gnu = yes; then 12703 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 12704$as_echo_n "checking whether $CC needs -traditional... " >&6; } 12705if test "${ac_cv_prog_gcc_traditional+set}" = set; then 12706 $as_echo_n "(cached) " >&6 12707else 12708 ac_pattern="Autoconf.*'x'" 12709 cat >conftest.$ac_ext <<_ACEOF 12710/* confdefs.h. */ 12711_ACEOF 12712cat confdefs.h >>conftest.$ac_ext 12713cat >>conftest.$ac_ext <<_ACEOF 12714/* end confdefs.h. */ 12715#include <sgtty.h> 12716Autoconf TIOCGETP 12717_ACEOF 12718if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12719 $EGREP "$ac_pattern" >/dev/null 2>&1; then 12720 ac_cv_prog_gcc_traditional=yes 12721else 12722 ac_cv_prog_gcc_traditional=no 12723fi 12724rm -f conftest* 12725 12726 12727 if test $ac_cv_prog_gcc_traditional = no; then 12728 cat >conftest.$ac_ext <<_ACEOF 12729/* confdefs.h. */ 12730_ACEOF 12731cat confdefs.h >>conftest.$ac_ext 12732cat >>conftest.$ac_ext <<_ACEOF 12733/* end confdefs.h. */ 12734#include <termio.h> 12735Autoconf TCGETA 12736_ACEOF 12737if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12738 $EGREP "$ac_pattern" >/dev/null 2>&1; then 12739 ac_cv_prog_gcc_traditional=yes 12740fi 12741rm -f conftest* 12742 12743 fi 12744fi 12745{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 12746$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 12747 if test $ac_cv_prog_gcc_traditional = yes; then 12748 CC="$CC -traditional" 12749 fi 12750fi 12751 12752{ $as_echo "$as_me:$LINENO: checking for hsearch_r" >&5 12753$as_echo_n "checking for hsearch_r... " >&6; } 12754if test "${ac_cv_func_hsearch_r+set}" = set; then 12755 $as_echo_n "(cached) " >&6 12756else 12757 cat >conftest.$ac_ext <<_ACEOF 12758/* confdefs.h. */ 12759_ACEOF 12760cat confdefs.h >>conftest.$ac_ext 12761cat >>conftest.$ac_ext <<_ACEOF 12762/* end confdefs.h. */ 12763/* Define hsearch_r to an innocuous variant, in case <limits.h> declares hsearch_r. 12764 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12765#define hsearch_r innocuous_hsearch_r 12766 12767/* System header to define __stub macros and hopefully few prototypes, 12768 which can conflict with char hsearch_r (); below. 12769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12770 <limits.h> exists even on freestanding compilers. */ 12771 12772#ifdef __STDC__ 12773# include <limits.h> 12774#else 12775# include <assert.h> 12776#endif 12777 12778#undef hsearch_r 12779 12780/* Override any GCC internal prototype to avoid an error. 12781 Use char because int might match the return type of a GCC 12782 builtin and then its argument prototype would still apply. */ 12783#ifdef __cplusplus 12784extern "C" 12785#endif 12786char hsearch_r (); 12787/* The GNU C library defines this for functions which it implements 12788 to always fail with ENOSYS. Some functions are actually named 12789 something starting with __ and the normal name is an alias. */ 12790#if defined __stub_hsearch_r || defined __stub___hsearch_r 12791choke me 12792#endif 12793 12794int 12795main () 12796{ 12797return hsearch_r (); 12798 ; 12799 return 0; 12800} 12801_ACEOF 12802rm -f conftest.$ac_objext conftest$ac_exeext 12803if { (ac_try="$ac_link" 12804case "(($ac_try" in 12805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12806 *) ac_try_echo=$ac_try;; 12807esac 12808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12809$as_echo "$ac_try_echo") >&5 12810 (eval "$ac_link") 2>conftest.er1 12811 ac_status=$? 12812 grep -v '^ *+' conftest.er1 >conftest.err 12813 rm -f conftest.er1 12814 cat conftest.err >&5 12815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12816 (exit $ac_status); } && { 12817 test -z "$ac_c_werror_flag" || 12818 test ! -s conftest.err 12819 } && test -s conftest$ac_exeext && { 12820 test "$cross_compiling" = yes || 12821 $as_test_x conftest$ac_exeext 12822 }; then 12823 ac_cv_func_hsearch_r=yes 12824else 12825 $as_echo "$as_me: failed program was:" >&5 12826sed 's/^/| /' conftest.$ac_ext >&5 12827 12828 ac_cv_func_hsearch_r=no 12829fi 12830 12831rm -rf conftest.dSYM 12832rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12833 conftest$ac_exeext conftest.$ac_ext 12834fi 12835{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_hsearch_r" >&5 12836$as_echo "$ac_cv_func_hsearch_r" >&6; } 12837if test "x$ac_cv_func_hsearch_r" = x""yes; then 12838 HAVE_HSEARCH_R=yes 12839fi 12840 12841 if test "x$HAVE_HSEARCH_R" != xyes; then 12842 ALSA_HSEARCH_R_TRUE= 12843 ALSA_HSEARCH_R_FALSE='#' 12844else 12845 ALSA_HSEARCH_R_TRUE='#' 12846 ALSA_HSEARCH_R_FALSE= 12847fi 12848 12849 12850for ac_func in uselocale 12851do 12852as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 12853{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 12854$as_echo_n "checking for $ac_func... " >&6; } 12855if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12856 $as_echo_n "(cached) " >&6 12857else 12858 cat >conftest.$ac_ext <<_ACEOF 12859/* confdefs.h. */ 12860_ACEOF 12861cat confdefs.h >>conftest.$ac_ext 12862cat >>conftest.$ac_ext <<_ACEOF 12863/* end confdefs.h. */ 12864/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 12865 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 12866#define $ac_func innocuous_$ac_func 12867 12868/* System header to define __stub macros and hopefully few prototypes, 12869 which can conflict with char $ac_func (); below. 12870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 12871 <limits.h> exists even on freestanding compilers. */ 12872 12873#ifdef __STDC__ 12874# include <limits.h> 12875#else 12876# include <assert.h> 12877#endif 12878 12879#undef $ac_func 12880 12881/* Override any GCC internal prototype to avoid an error. 12882 Use char because int might match the return type of a GCC 12883 builtin and then its argument prototype would still apply. */ 12884#ifdef __cplusplus 12885extern "C" 12886#endif 12887char $ac_func (); 12888/* The GNU C library defines this for functions which it implements 12889 to always fail with ENOSYS. Some functions are actually named 12890 something starting with __ and the normal name is an alias. */ 12891#if defined __stub_$ac_func || defined __stub___$ac_func 12892choke me 12893#endif 12894 12895int 12896main () 12897{ 12898return $ac_func (); 12899 ; 12900 return 0; 12901} 12902_ACEOF 12903rm -f conftest.$ac_objext conftest$ac_exeext 12904if { (ac_try="$ac_link" 12905case "(($ac_try" in 12906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12907 *) ac_try_echo=$ac_try;; 12908esac 12909eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 12910$as_echo "$ac_try_echo") >&5 12911 (eval "$ac_link") 2>conftest.er1 12912 ac_status=$? 12913 grep -v '^ *+' conftest.er1 >conftest.err 12914 rm -f conftest.er1 12915 cat conftest.err >&5 12916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 12917 (exit $ac_status); } && { 12918 test -z "$ac_c_werror_flag" || 12919 test ! -s conftest.err 12920 } && test -s conftest$ac_exeext && { 12921 test "$cross_compiling" = yes || 12922 $as_test_x conftest$ac_exeext 12923 }; then 12924 eval "$as_ac_var=yes" 12925else 12926 $as_echo "$as_me: failed program was:" >&5 12927sed 's/^/| /' conftest.$ac_ext >&5 12928 12929 eval "$as_ac_var=no" 12930fi 12931 12932rm -rf conftest.dSYM 12933rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12934 conftest$ac_exeext conftest.$ac_ext 12935fi 12936ac_res=`eval 'as_val=${'$as_ac_var'} 12937 $as_echo "$as_val"'` 12938 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 12939$as_echo "$ac_res" >&6; } 12940as_val=`eval 'as_val=${'$as_ac_var'} 12941 $as_echo "$as_val"'` 12942 if test "x$as_val" = x""yes; then 12943 cat >>confdefs.h <<_ACEOF 12944@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 12945_ACEOF 12946 12947fi 12948done 12949 12950 12951 12952{ $as_echo "$as_me:$LINENO: checking for library version" >&5 12953$as_echo_n "checking for library version... " >&6; } 12954SND_LIB_VERSION=$VERSION 12955echo $VERSION > $srcdir/version 12956 12957cat >>confdefs.h <<_ACEOF 12958@%:@define VERSION "$SND_LIB_VERSION" 12959_ACEOF 12960 12961 12962SND_LIB_MAJOR=`echo $VERSION | cut -d . -f 1` 12963 12964SND_LIB_MINOR=`echo $VERSION | cut -d . -f 2` 12965 12966SND_LIB_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\(.*\)$/\1/g'` 12967 12968SND_LIB_EXTRASTR=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\2/g'` 12969SND_LIB_EXTRAVER=`echo $VERSION | cut -d . -f 3 | sed -e 's/^\([^[:alpha:]]*\)\([[:alpha:]]*\)\([[:digit:]]*\)\(.*\)$/\3/g'` 12970case "$SND_LIB_EXTRASTR" in 12971 pre) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 00000` ;; 12972 alpha) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 10000` ;; 12973 beta) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 20000` ;; 12974 rc) SND_LIB_EXTRAVER=`expr $SND_LIB_EXTRAVER + 100000` ;; 12975 *) SND_LIB_EXTRAVER=1000000 ;; 12976esac 12977{ $as_echo "$as_me:$LINENO: result: major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&5 12978$as_echo "major $SND_LIB_MAJOR minor $SND_LIB_MINOR subminor $SND_LIB_SUBMINOR extrastr $SND_LIB_EXTRASTR extraver $SND_LIB_EXTRAVER" >&6; } 12979 12980 12981 12982 12983test "x$prefix" = xNONE && prefix=$ac_default_prefix 12984 12985if test "$enable_static" = "$enable_shared" -a "$enable_static" = "yes"; then 12986cat <<EOF 12987 Please, do not try to compile static and shared libraries together. 12988 See INSTALL file for more details (do not use --enable-shared=yes with 12989 --enable-static=yes). 12990EOF 12991 exit 1 12992fi 12993 12994 12995@%:@ Check whether --with-configdir was given. 12996if test "${with_configdir+set}" = set; then 12997 withval=$with_configdir; confdir="$withval" 12998else 12999 confdir="" 13000fi 13001 13002if test -z "$confdir"; then 13003 eval dir="$datadir" 13004 case "$dir" in 13005 /*) ;; 13006 *) dir="$prefix/share" 13007 esac 13008 confdir="$dir/alsa" 13009fi 13010ALSA_CONFIG_DIR="$confdir" 13011 13012cat >>confdefs.h <<_ACEOF 13013@%:@define ALSA_CONFIG_DIR "$confdir" 13014_ACEOF 13015 13016 13017 13018test "x$exec_prefix" = xNONE && exec_prefix=$prefix 13019 13020 13021@%:@ Check whether --with-plugindir was given. 13022if test "${with_plugindir+set}" = set; then 13023 withval=$with_plugindir; plugindir="$withval" 13024else 13025 plugindir="" 13026fi 13027 13028if test -z "$plugindir"; then 13029 eval dir="$libdir" 13030 case "$dir" in 13031 /*) ;; 13032 *) dir="$dir" 13033 esac 13034 plugindir="$dir/$PACKAGE" 13035fi 13036 13037cat >>confdefs.h <<_ACEOF 13038@%:@define ALSA_PLUGIN_DIR "$plugindir" 13039_ACEOF 13040 13041ALSA_PLUGIN_DIR="$plugindir" 13042 13043 13044 13045@%:@ Check whether --with-pkgconfdir was given. 13046if test "${with_pkgconfdir+set}" = set; then 13047 withval=$with_pkgconfdir; pkgconfdir="$withval" 13048else 13049 pkgconfdir="" 13050fi 13051 13052if test -z "$pkgconfdir"; then 13053 eval dir="$libdir" 13054 case "$dir" in 13055 /*) ;; 13056 *) dir="$dir" 13057 esac 13058 pkgconfdir="$dir/pkgconfig" 13059fi 13060 13061cat >>confdefs.h <<_ACEOF 13062@%:@define ALSA_PKGCONF_DIR "$pkgconfdir" 13063_ACEOF 13064 13065ALSA_PKGCONF_DIR="$pkgconfdir" 13066 13067 13068{ $as_echo "$as_me:$LINENO: checking for versioned symbols" >&5 13069$as_echo_n "checking for versioned symbols... " >&6; } 13070 13071@%:@ Check whether --with-versioned was given. 13072if test "${with_versioned+set}" = set; then 13073 withval=$with_versioned; versioned="$withval" 13074else 13075 versioned="yes" 13076fi 13077 13078if test "$versioned" = "yes"; then 13079 # it seems that GNU ld versions since 2.10 are not broken 13080 xres=`grep '^VERSION=' ${srcdir}/ltmain.sh | cut -d = -f 2 | cut -d \" -f 2` 13081 major=`echo $xres | cut -d . -f 1` 13082 minor=`echo $xres | cut -d . -f 2` 13083 pass=0 13084 if test $major -eq 1 && test $minor -gt 3; then 13085 pass=1 13086 else 13087 if test $major -gt 1; then 13088 pass=1 13089 fi 13090 fi 13091 if test $pass -eq 1; then 13092 13093cat >>confdefs.h <<\_ACEOF 13094@%:@define VERSIONED_SYMBOLS /**/ 13095_ACEOF 13096 13097 { $as_echo "$as_me:$LINENO: result: yes" >&5 13098$as_echo "yes" >&6; } 13099 else 13100 { $as_echo "$as_me:$LINENO: result: broken libtool - use libtool v1.4+; no versions" >&5 13101$as_echo "broken libtool - use libtool v1.4+; no versions" >&6; } 13102 fi 13103else 13104 { $as_echo "$as_me:$LINENO: result: no" >&5 13105$as_echo "no" >&6; } 13106fi 13107 if test x$versioned = xyes; then 13108 VERSIONED_SYMBOLS_TRUE= 13109 VERSIONED_SYMBOLS_FALSE='#' 13110else 13111 VERSIONED_SYMBOLS_TRUE='#' 13112 VERSIONED_SYMBOLS_FALSE= 13113fi 13114 13115 13116{ $as_echo "$as_me:$LINENO: checking for symbolic-functions" >&5 13117$as_echo_n "checking for symbolic-functions... " >&6; } 13118@%:@ Check whether --enable-symbolic-functions was given. 13119if test "${enable_symbolic_functions+set}" = set; then 13120 enableval=$enable_symbolic_functions; symfuncs="$enableval" 13121else 13122 symfuncs="no" 13123fi 13124 13125if test "$symfuncs" = "yes"; then 13126 if ld --help | grep -q -- '-Bsymbolic-functions'; then 13127 { $as_echo "$as_me:$LINENO: result: yes" >&5 13128$as_echo "yes" >&6; } 13129 else 13130 { $as_echo "$as_me:$LINENO: result: not supported by ld" >&5 13131$as_echo "not supported by ld" >&6; } 13132 symfuncs="no" 13133 fi 13134else 13135 { $as_echo "$as_me:$LINENO: result: no" >&5 13136$as_echo "no" >&6; } 13137fi 13138 if test x"$symfuncs" = xyes; then 13139 SYMBOLIC_FUNCTIONS_TRUE= 13140 SYMBOLIC_FUNCTIONS_FALSE='#' 13141else 13142 SYMBOLIC_FUNCTIONS_TRUE='#' 13143 SYMBOLIC_FUNCTIONS_FALSE= 13144fi 13145 13146 13147{ $as_echo "$as_me:$LINENO: checking for custom symbol prefixes" >&5 13148$as_echo_n "checking for custom symbol prefixes... " >&6; } 13149SYMBOL_PREFIX=` \ 13150 echo "PREFIX=__USER_LABEL_PREFIX__" \ 13151 | ${CPP-${CC-gcc} -E} - 2>&1 \ 13152 | ${EGREP-grep} "^PREFIX=" \ 13153 | ${SED-sed} "s:^PREFIX=::"` 13154 13155cat >>confdefs.h <<_ACEOF 13156@%:@define __SYMBOL_PREFIX "$SYMBOL_PREFIX" 13157_ACEOF 13158 13159 13160{ $as_echo "$as_me:$LINENO: result: $SYMBOL_PREFIX" >&5 13161$as_echo "$SYMBOL_PREFIX" >&6; } 13162 13163{ $as_echo "$as_me:$LINENO: checking for debug" >&5 13164$as_echo_n "checking for debug... " >&6; } 13165 13166@%:@ Check whether --with-debug was given. 13167if test "${with_debug+set}" = set; then 13168 withval=$with_debug; debug="$withval" 13169else 13170 debug="yes" 13171fi 13172 13173if test "$debug" = "yes"; then 13174 { $as_echo "$as_me:$LINENO: result: yes" >&5 13175$as_echo "yes" >&6; } 13176else 13177 13178cat >>confdefs.h <<\_ACEOF 13179@%:@define NDEBUG /**/ 13180_ACEOF 13181 13182 { $as_echo "$as_me:$LINENO: result: no" >&5 13183$as_echo "no" >&6; } 13184fi 13185 13186if test "$debug" = "yes"; then 13187 { $as_echo "$as_me:$LINENO: checking for debug assert" >&5 13188$as_echo_n "checking for debug assert... " >&6; } 13189 @%:@ Check whether --enable-debug-assert was given. 13190if test "${enable_debug_assert+set}" = set; then 13191 enableval=$enable_debug_assert; debug_assert="$enableval" 13192else 13193 debug_assert="no" 13194fi 13195 13196 if test "$debug_assert" = "yes"; then 13197 { $as_echo "$as_me:$LINENO: result: yes" >&5 13198$as_echo "yes" >&6; } 13199 13200cat >>confdefs.h <<\_ACEOF 13201@%:@define ALSA_DEBUG_ASSERT /**/ 13202_ACEOF 13203 13204 else 13205 { $as_echo "$as_me:$LINENO: result: no" >&5 13206$as_echo "no" >&6; } 13207 fi 13208fi 13209 13210{ $as_echo "$as_me:$LINENO: checking for tmpdir" >&5 13211$as_echo_n "checking for tmpdir... " >&6; } 13212 13213@%:@ Check whether --with-tmpdir was given. 13214if test "${with_tmpdir+set}" = set; then 13215 withval=$with_tmpdir; tmpdir="$withval" 13216else 13217 tmpdir="/tmp" 13218fi 13219 13220{ $as_echo "$as_me:$LINENO: result: $tmpdir" >&5 13221$as_echo "$tmpdir" >&6; } 13222 13223cat >>confdefs.h <<_ACEOF 13224@%:@define TMPDIR "$tmpdir" 13225_ACEOF 13226 13227 13228{ $as_echo "$as_me:$LINENO: checking for softfloat" >&5 13229$as_echo_n "checking for softfloat... " >&6; } 13230 13231@%:@ Check whether --with-softfloat was given. 13232if test "${with_softfloat+set}" = set; then 13233 withval=$with_softfloat; case "$withval" in 13234 y|yes) softfloat=yes ;; 13235 *) softfloat=no ;; 13236 esac 13237fi 13238 13239if test "$softfloat" = "yes" ; then 13240 13241cat >>confdefs.h <<\_ACEOF 13242@%:@define HAVE_SOFT_FLOAT "1" 13243_ACEOF 13244 13245 { $as_echo "$as_me:$LINENO: result: yes" >&5 13246$as_echo "yes" >&6; } 13247else 13248 { $as_echo "$as_me:$LINENO: result: no" >&5 13249$as_echo "no" >&6; } 13250fi 13251 13252ALSA_DEPLIBS="" 13253if test "$softfloat" != "yes"; then 13254 ALSA_DEPLIBS="-lm" 13255fi 13256 13257{ $as_echo "$as_me:$LINENO: checking for libdl" >&5 13258$as_echo_n "checking for libdl... " >&6; } 13259 13260@%:@ Check whether --with-libdl was given. 13261if test "${with_libdl+set}" = set; then 13262 withval=$with_libdl; have_libdl="$withval" 13263else 13264 have_libdl="yes" 13265fi 13266 13267if test "$have_libdl" = "yes"; then 13268 { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 13269$as_echo_n "checking for dlsym in -ldl... " >&6; } 13270if test "${ac_cv_lib_dl_dlsym+set}" = set; then 13271 $as_echo_n "(cached) " >&6 13272else 13273 ac_check_lib_save_LIBS=$LIBS 13274LIBS="-ldl $LIBS" 13275cat >conftest.$ac_ext <<_ACEOF 13276/* confdefs.h. */ 13277_ACEOF 13278cat confdefs.h >>conftest.$ac_ext 13279cat >>conftest.$ac_ext <<_ACEOF 13280/* end confdefs.h. */ 13281 13282/* Override any GCC internal prototype to avoid an error. 13283 Use char because int might match the return type of a GCC 13284 builtin and then its argument prototype would still apply. */ 13285#ifdef __cplusplus 13286extern "C" 13287#endif 13288char dlsym (); 13289int 13290main () 13291{ 13292return dlsym (); 13293 ; 13294 return 0; 13295} 13296_ACEOF 13297rm -f conftest.$ac_objext conftest$ac_exeext 13298if { (ac_try="$ac_link" 13299case "(($ac_try" in 13300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13301 *) ac_try_echo=$ac_try;; 13302esac 13303eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13304$as_echo "$ac_try_echo") >&5 13305 (eval "$ac_link") 2>conftest.er1 13306 ac_status=$? 13307 grep -v '^ *+' conftest.er1 >conftest.err 13308 rm -f conftest.er1 13309 cat conftest.err >&5 13310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13311 (exit $ac_status); } && { 13312 test -z "$ac_c_werror_flag" || 13313 test ! -s conftest.err 13314 } && test -s conftest$ac_exeext && { 13315 test "$cross_compiling" = yes || 13316 $as_test_x conftest$ac_exeext 13317 }; then 13318 ac_cv_lib_dl_dlsym=yes 13319else 13320 $as_echo "$as_me: failed program was:" >&5 13321sed 's/^/| /' conftest.$ac_ext >&5 13322 13323 ac_cv_lib_dl_dlsym=no 13324fi 13325 13326rm -rf conftest.dSYM 13327rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13328 conftest$ac_exeext conftest.$ac_ext 13329LIBS=$ac_check_lib_save_LIBS 13330fi 13331{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 13332$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 13333if test "x$ac_cv_lib_dl_dlsym" = x""yes; then 13334 HAVE_LIBDL="yes" 13335fi 13336 13337 if test "$HAVE_LIBDL" = "yes" ; then 13338 ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl" 13339 13340cat >>confdefs.h <<\_ACEOF 13341@%:@define HAVE_LIBDL 1 13342_ACEOF 13343 13344 fi 13345else 13346 { $as_echo "$as_me:$LINENO: result: no" >&5 13347$as_echo "no" >&6; } 13348fi 13349 if test "$HAVE_LIBDL"="yes"; then 13350 BUILD_MODULES_TRUE= 13351 BUILD_MODULES_FALSE='#' 13352else 13353 BUILD_MODULES_TRUE='#' 13354 BUILD_MODULES_FALSE= 13355fi 13356 13357 13358{ $as_echo "$as_me:$LINENO: checking for pthread" >&5 13359$as_echo_n "checking for pthread... " >&6; } 13360 13361@%:@ Check whether --with-pthread was given. 13362if test "${with_pthread+set}" = set; then 13363 withval=$with_pthread; have_pthread="$withval" 13364else 13365 have_pthread="yes" 13366fi 13367 13368if test "$have_pthread" = "yes"; then 13369 { $as_echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5 13370$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 13371if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then 13372 $as_echo_n "(cached) " >&6 13373else 13374 ac_check_lib_save_LIBS=$LIBS 13375LIBS="-lpthread $LIBS" 13376cat >conftest.$ac_ext <<_ACEOF 13377/* confdefs.h. */ 13378_ACEOF 13379cat confdefs.h >>conftest.$ac_ext 13380cat >>conftest.$ac_ext <<_ACEOF 13381/* end confdefs.h. */ 13382 13383/* Override any GCC internal prototype to avoid an error. 13384 Use char because int might match the return type of a GCC 13385 builtin and then its argument prototype would still apply. */ 13386#ifdef __cplusplus 13387extern "C" 13388#endif 13389char pthread_join (); 13390int 13391main () 13392{ 13393return pthread_join (); 13394 ; 13395 return 0; 13396} 13397_ACEOF 13398rm -f conftest.$ac_objext conftest$ac_exeext 13399if { (ac_try="$ac_link" 13400case "(($ac_try" in 13401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13402 *) ac_try_echo=$ac_try;; 13403esac 13404eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13405$as_echo "$ac_try_echo") >&5 13406 (eval "$ac_link") 2>conftest.er1 13407 ac_status=$? 13408 grep -v '^ *+' conftest.er1 >conftest.err 13409 rm -f conftest.er1 13410 cat conftest.err >&5 13411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13412 (exit $ac_status); } && { 13413 test -z "$ac_c_werror_flag" || 13414 test ! -s conftest.err 13415 } && test -s conftest$ac_exeext && { 13416 test "$cross_compiling" = yes || 13417 $as_test_x conftest$ac_exeext 13418 }; then 13419 ac_cv_lib_pthread_pthread_join=yes 13420else 13421 $as_echo "$as_me: failed program was:" >&5 13422sed 's/^/| /' conftest.$ac_ext >&5 13423 13424 ac_cv_lib_pthread_pthread_join=no 13425fi 13426 13427rm -rf conftest.dSYM 13428rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13429 conftest$ac_exeext conftest.$ac_ext 13430LIBS=$ac_check_lib_save_LIBS 13431fi 13432{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5 13433$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 13434if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then 13435 HAVE_LIBPTHREAD="yes" 13436fi 13437 13438 if test "$HAVE_LIBPTHREAD" = "yes"; then 13439 ALSA_DEPLIBS="$ALSA_DEPLIBS -lpthread" 13440 13441cat >>confdefs.h <<\_ACEOF 13442@%:@define HAVE_LIBPTHREAD 1 13443_ACEOF 13444 13445 fi 13446else 13447 { $as_echo "$as_me:$LINENO: result: no" >&5 13448$as_echo "no" >&6; } 13449fi 13450 13451{ $as_echo "$as_me:$LINENO: checking for librt" >&5 13452$as_echo_n "checking for librt... " >&6; } 13453 13454@%:@ Check whether --with-librt was given. 13455if test "${with_librt+set}" = set; then 13456 withval=$with_librt; have_librt="$withval" 13457else 13458 have_librt="yes" 13459fi 13460 13461if test "$have_librt" = "yes"; then 13462 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 13463$as_echo_n "checking for clock_gettime in -lrt... " >&6; } 13464if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 13465 $as_echo_n "(cached) " >&6 13466else 13467 ac_check_lib_save_LIBS=$LIBS 13468LIBS="-lrt $LIBS" 13469cat >conftest.$ac_ext <<_ACEOF 13470/* confdefs.h. */ 13471_ACEOF 13472cat confdefs.h >>conftest.$ac_ext 13473cat >>conftest.$ac_ext <<_ACEOF 13474/* end confdefs.h. */ 13475 13476/* Override any GCC internal prototype to avoid an error. 13477 Use char because int might match the return type of a GCC 13478 builtin and then its argument prototype would still apply. */ 13479#ifdef __cplusplus 13480extern "C" 13481#endif 13482char clock_gettime (); 13483int 13484main () 13485{ 13486return clock_gettime (); 13487 ; 13488 return 0; 13489} 13490_ACEOF 13491rm -f conftest.$ac_objext conftest$ac_exeext 13492if { (ac_try="$ac_link" 13493case "(($ac_try" in 13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13495 *) ac_try_echo=$ac_try;; 13496esac 13497eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13498$as_echo "$ac_try_echo") >&5 13499 (eval "$ac_link") 2>conftest.er1 13500 ac_status=$? 13501 grep -v '^ *+' conftest.er1 >conftest.err 13502 rm -f conftest.er1 13503 cat conftest.err >&5 13504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13505 (exit $ac_status); } && { 13506 test -z "$ac_c_werror_flag" || 13507 test ! -s conftest.err 13508 } && test -s conftest$ac_exeext && { 13509 test "$cross_compiling" = yes || 13510 $as_test_x conftest$ac_exeext 13511 }; then 13512 ac_cv_lib_rt_clock_gettime=yes 13513else 13514 $as_echo "$as_me: failed program was:" >&5 13515sed 's/^/| /' conftest.$ac_ext >&5 13516 13517 ac_cv_lib_rt_clock_gettime=no 13518fi 13519 13520rm -rf conftest.dSYM 13521rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13522 conftest$ac_exeext conftest.$ac_ext 13523LIBS=$ac_check_lib_save_LIBS 13524fi 13525{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 13526$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } 13527if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then 13528 HAVE_LIBRT="yes" 13529fi 13530 13531 if test "$HAVE_LIBRT" = "yes" ; then 13532 ALSA_DEPLIBS="$ALSA_DEPLIBS -lrt" 13533 13534cat >>confdefs.h <<\_ACEOF 13535@%:@define HAVE_LIBRT 1 13536_ACEOF 13537 13538 13539cat >>confdefs.h <<\_ACEOF 13540@%:@define HAVE_CLOCK_GETTIME 1 13541_ACEOF 13542 13543 fi 13544else 13545 { $as_echo "$as_me:$LINENO: result: no" >&5 13546$as_echo "no" >&6; } 13547fi 13548 13549 13550 13551{ $as_echo "$as_me:$LINENO: checking for architecture" >&5 13552$as_echo_n "checking for architecture... " >&6; } 13553case "$host" in 13554i?86*) 13555 { $as_echo "$as_me:$LINENO: result: x86" >&5 13556$as_echo "x86" >&6; } 13557 ;; 13558x86_64*) 13559 { $as_echo "$as_me:$LINENO: result: x86" >&5 13560$as_echo "x86" >&6; } 13561 ;; 13562alpha*) 13563 { $as_echo "$as_me:$LINENO: result: alpha" >&5 13564$as_echo "alpha" >&6; } 13565 ;; 13566powerpc*|ppc*) 13567 { $as_echo "$as_me:$LINENO: result: ppc" >&5 13568$as_echo "ppc" >&6; } 13569 CPPFLAGS="$CPPFLAGS -D__ppc__" 13570 ;; 13571ia64*) 13572 { $as_echo "$as_me:$LINENO: result: ia64" >&5 13573$as_echo "ia64" >&6; } 13574 CPPFLAGS="$CPPFLAGS -D__ia64__" 13575 ;; 13576mips*) 13577 { $as_echo "$as_me:$LINENO: result: mips" >&5 13578$as_echo "mips" >&6; } 13579 CPPFLAGS="$CPPFLAGS -D__mips__" 13580 ;; 13581arm*) 13582 { $as_echo "$as_me:$LINENO: result: arm" >&5 13583$as_echo "arm" >&6; } 13584 CPPFLAGS="$CPPFLAGS -D__arm__" 13585 ;; 13586*) 13587 { $as_echo "$as_me:$LINENO: result: $host_cpu" >&5 13588$as_echo "$host_cpu" >&6; } 13589 echo "No atomic operations supported.." 13590 ;; 13591esac 13592 13593 13594for ac_header in wordexp.h 13595do 13596as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13597if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13598 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13599$as_echo_n "checking for $ac_header... " >&6; } 13600if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13601 $as_echo_n "(cached) " >&6 13602fi 13603ac_res=`eval 'as_val=${'$as_ac_Header'} 13604 $as_echo "$as_val"'` 13605 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13606$as_echo "$ac_res" >&6; } 13607else 13608 # Is the header compilable? 13609{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 13610$as_echo_n "checking $ac_header usability... " >&6; } 13611cat >conftest.$ac_ext <<_ACEOF 13612/* confdefs.h. */ 13613_ACEOF 13614cat confdefs.h >>conftest.$ac_ext 13615cat >>conftest.$ac_ext <<_ACEOF 13616/* end confdefs.h. */ 13617$ac_includes_default 13618@%:@include <$ac_header> 13619_ACEOF 13620rm -f conftest.$ac_objext 13621if { (ac_try="$ac_compile" 13622case "(($ac_try" in 13623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13624 *) ac_try_echo=$ac_try;; 13625esac 13626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13627$as_echo "$ac_try_echo") >&5 13628 (eval "$ac_compile") 2>conftest.er1 13629 ac_status=$? 13630 grep -v '^ *+' conftest.er1 >conftest.err 13631 rm -f conftest.er1 13632 cat conftest.err >&5 13633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13634 (exit $ac_status); } && { 13635 test -z "$ac_c_werror_flag" || 13636 test ! -s conftest.err 13637 } && test -s conftest.$ac_objext; then 13638 ac_header_compiler=yes 13639else 13640 $as_echo "$as_me: failed program was:" >&5 13641sed 's/^/| /' conftest.$ac_ext >&5 13642 13643 ac_header_compiler=no 13644fi 13645 13646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13647{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 13648$as_echo "$ac_header_compiler" >&6; } 13649 13650# Is the header present? 13651{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 13652$as_echo_n "checking $ac_header presence... " >&6; } 13653cat >conftest.$ac_ext <<_ACEOF 13654/* confdefs.h. */ 13655_ACEOF 13656cat confdefs.h >>conftest.$ac_ext 13657cat >>conftest.$ac_ext <<_ACEOF 13658/* end confdefs.h. */ 13659@%:@include <$ac_header> 13660_ACEOF 13661if { (ac_try="$ac_cpp conftest.$ac_ext" 13662case "(($ac_try" in 13663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13664 *) ac_try_echo=$ac_try;; 13665esac 13666eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13667$as_echo "$ac_try_echo") >&5 13668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 13669 ac_status=$? 13670 grep -v '^ *+' conftest.er1 >conftest.err 13671 rm -f conftest.er1 13672 cat conftest.err >&5 13673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13674 (exit $ac_status); } >/dev/null && { 13675 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 13676 test ! -s conftest.err 13677 }; then 13678 ac_header_preproc=yes 13679else 13680 $as_echo "$as_me: failed program was:" >&5 13681sed 's/^/| /' conftest.$ac_ext >&5 13682 13683 ac_header_preproc=no 13684fi 13685 13686rm -f conftest.err conftest.$ac_ext 13687{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 13688$as_echo "$ac_header_preproc" >&6; } 13689 13690# So? What about this header? 13691case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 13692 yes:no: ) 13693 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 13694$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 13695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 13696$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 13697 ac_header_preproc=yes 13698 ;; 13699 no:yes:* ) 13700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 13701$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 13702 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 13703$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 13704 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 13705$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 13706 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 13707$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 13708 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 13709$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 13710 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 13711$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 13712 13713 ;; 13714esac 13715{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 13716$as_echo_n "checking for $ac_header... " >&6; } 13717if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13718 $as_echo_n "(cached) " >&6 13719else 13720 eval "$as_ac_Header=\$ac_header_preproc" 13721fi 13722ac_res=`eval 'as_val=${'$as_ac_Header'} 13723 $as_echo "$as_val"'` 13724 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 13725$as_echo "$ac_res" >&6; } 13726 13727fi 13728as_val=`eval 'as_val=${'$as_ac_Header'} 13729 $as_echo "$as_val"'` 13730 if test "x$as_val" = x""yes; then 13731 cat >>confdefs.h <<_ACEOF 13732@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13733_ACEOF 13734 13735fi 13736 13737done 13738 13739 13740{ $as_echo "$as_me:$LINENO: checking for resmgr support" >&5 13741$as_echo_n "checking for resmgr support... " >&6; } 13742@%:@ Check whether --enable-resmgr was given. 13743if test "${enable_resmgr+set}" = set; then 13744 enableval=$enable_resmgr; resmgr="$enableval" 13745else 13746 resmgr="no" 13747fi 13748 13749{ $as_echo "$as_me:$LINENO: result: $resmgr" >&5 13750$as_echo "$resmgr" >&6; } 13751if test "$resmgr" = "yes"; then 13752 13753{ $as_echo "$as_me:$LINENO: checking for rsm_open_device in -lresmgr" >&5 13754$as_echo_n "checking for rsm_open_device in -lresmgr... " >&6; } 13755if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then 13756 $as_echo_n "(cached) " >&6 13757else 13758 ac_check_lib_save_LIBS=$LIBS 13759LIBS="-lresmgr $LIBS" 13760cat >conftest.$ac_ext <<_ACEOF 13761/* confdefs.h. */ 13762_ACEOF 13763cat confdefs.h >>conftest.$ac_ext 13764cat >>conftest.$ac_ext <<_ACEOF 13765/* end confdefs.h. */ 13766 13767/* Override any GCC internal prototype to avoid an error. 13768 Use char because int might match the return type of a GCC 13769 builtin and then its argument prototype would still apply. */ 13770#ifdef __cplusplus 13771extern "C" 13772#endif 13773char rsm_open_device (); 13774int 13775main () 13776{ 13777return rsm_open_device (); 13778 ; 13779 return 0; 13780} 13781_ACEOF 13782rm -f conftest.$ac_objext conftest$ac_exeext 13783if { (ac_try="$ac_link" 13784case "(($ac_try" in 13785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13786 *) ac_try_echo=$ac_try;; 13787esac 13788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 13789$as_echo "$ac_try_echo") >&5 13790 (eval "$ac_link") 2>conftest.er1 13791 ac_status=$? 13792 grep -v '^ *+' conftest.er1 >conftest.err 13793 rm -f conftest.er1 13794 cat conftest.err >&5 13795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 13796 (exit $ac_status); } && { 13797 test -z "$ac_c_werror_flag" || 13798 test ! -s conftest.err 13799 } && test -s conftest$ac_exeext && { 13800 test "$cross_compiling" = yes || 13801 $as_test_x conftest$ac_exeext 13802 }; then 13803 ac_cv_lib_resmgr_rsm_open_device=yes 13804else 13805 $as_echo "$as_me: failed program was:" >&5 13806sed 's/^/| /' conftest.$ac_ext >&5 13807 13808 ac_cv_lib_resmgr_rsm_open_device=no 13809fi 13810 13811rm -rf conftest.dSYM 13812rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13813 conftest$ac_exeext conftest.$ac_ext 13814LIBS=$ac_check_lib_save_LIBS 13815fi 13816{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_open_device" >&5 13817$as_echo "$ac_cv_lib_resmgr_rsm_open_device" >&6; } 13818if test "x$ac_cv_lib_resmgr_rsm_open_device" = x""yes; then 13819 cat >>confdefs.h <<_ACEOF 13820@%:@define HAVE_LIBRESMGR 1 13821_ACEOF 13822 13823 LIBS="-lresmgr $LIBS" 13824 13825else 13826 { { $as_echo "$as_me:$LINENO: error: Cannot find libresmgr" >&5 13827$as_echo "$as_me: error: Cannot find libresmgr" >&2;} 13828 { (exit 1); exit 1; }; } 13829fi 13830 13831 13832cat >>confdefs.h <<\_ACEOF 13833@%:@define SUPPORT_RESMGR "1" 13834_ACEOF 13835 13836fi 13837 13838{ $as_echo "$as_me:$LINENO: checking for aload* support" >&5 13839$as_echo_n "checking for aload* support... " >&6; } 13840@%:@ Check whether --enable-aload was given. 13841if test "${enable_aload+set}" = set; then 13842 enableval=$enable_aload; aload="$enableval" 13843else 13844 aload="yes" 13845fi 13846 13847{ $as_echo "$as_me:$LINENO: result: $aload" >&5 13848$as_echo "$aload" >&6; } 13849if test "$aload" = "yes"; then 13850 13851cat >>confdefs.h <<\_ACEOF 13852@%:@define SUPPORT_ALOAD "1" 13853_ACEOF 13854 13855fi 13856 13857{ $as_echo "$as_me:$LINENO: checking for ALSA device file directory" >&5 13858$as_echo_n "checking for ALSA device file directory... " >&6; } 13859 13860@%:@ Check whether --with-alsa-devdir was given. 13861if test "${with_alsa_devdir+set}" = set; then 13862 withval=$with_alsa_devdir; alsa_dev_dir="$withval" 13863else 13864 alsa_dev_dir="/dev/snd" 13865fi 13866 13867if echo "$alsa_dev_dir" | grep -v '/$' > /dev/null; then 13868 alsa_dev_dir="$alsa_dev_dir/" 13869fi 13870 13871cat >>confdefs.h <<_ACEOF 13872@%:@define ALSA_DEVICE_DIRECTORY "$alsa_dev_dir" 13873_ACEOF 13874 13875{ $as_echo "$as_me:$LINENO: result: $alsa_dev_dir" >&5 13876$as_echo "$alsa_dev_dir" >&6; } 13877 13878{ $as_echo "$as_me:$LINENO: checking for aload* device file directory" >&5 13879$as_echo_n "checking for aload* device file directory... " >&6; } 13880 13881@%:@ Check whether --with-aload-devdir was given. 13882if test "${with_aload_devdir+set}" = set; then 13883 withval=$with_aload_devdir; aload_dev_dir="$withval" 13884else 13885 aload_dev_dir="/dev" 13886fi 13887 13888if echo "$aload_dev_dir" | grep -v '/$' > /dev/null; then 13889 aload_dev_dir="$aload_dev_dir/" 13890fi 13891 13892cat >>confdefs.h <<_ACEOF 13893@%:@define ALOAD_DEVICE_DIRECTORY "$aload_dev_dir" 13894_ACEOF 13895 13896{ $as_echo "$as_me:$LINENO: result: $aload_dev_dir" >&5 13897$as_echo "$aload_dev_dir" >&6; } 13898 13899@%:@ Check whether --enable-mixer was given. 13900if test "${enable_mixer+set}" = set; then 13901 enableval=$enable_mixer; build_mixer="$enableval" 13902else 13903 build_mixer="yes" 13904fi 13905 13906@%:@ Check whether --enable-pcm was given. 13907if test "${enable_pcm+set}" = set; then 13908 enableval=$enable_pcm; build_pcm="$enableval" 13909else 13910 build_pcm="yes" 13911fi 13912 13913@%:@ Check whether --enable-rawmidi was given. 13914if test "${enable_rawmidi+set}" = set; then 13915 enableval=$enable_rawmidi; build_rawmidi="$enableval" 13916else 13917 build_rawmidi="yes" 13918fi 13919 13920@%:@ Check whether --enable-hwdep was given. 13921if test "${enable_hwdep+set}" = set; then 13922 enableval=$enable_hwdep; build_hwdep="$enableval" 13923else 13924 build_hwdep="yes" 13925fi 13926 13927@%:@ Check whether --enable-seq was given. 13928if test "${enable_seq+set}" = set; then 13929 enableval=$enable_seq; build_seq="$enableval" 13930else 13931 build_seq="yes" 13932fi 13933 13934@%:@ Check whether --enable-ucm was given. 13935if test "${enable_ucm+set}" = set; then 13936 enableval=$enable_ucm; build_ucm="$enableval" 13937else 13938 build_ucm="yes" 13939fi 13940 13941@%:@ Check whether --enable-alisp was given. 13942if test "${enable_alisp+set}" = set; then 13943 enableval=$enable_alisp; build_alisp="$enableval" 13944else 13945 build_alisp="yes" 13946fi 13947 13948test "$softfloat" = "yes" && build_alisp="no" 13949@%:@ Check whether --enable-old-symbols was given. 13950if test "${enable_old_symbols+set}" = set; then 13951 enableval=$enable_old_symbols; keep_old_symbols="$enableval" 13952else 13953 keep_old_symbols="yes" 13954fi 13955 13956 if test x$keep_old_symbols = xyes; then 13957 KEEP_OLD_SYMBOLS_TRUE= 13958 KEEP_OLD_SYMBOLS_FALSE='#' 13959else 13960 KEEP_OLD_SYMBOLS_TRUE='#' 13961 KEEP_OLD_SYMBOLS_FALSE= 13962fi 13963 13964 13965@%:@ Check whether --enable-python was given. 13966if test "${enable_python+set}" = set; then 13967 enableval=$enable_python; build_python="$enableval" 13968else 13969 build_python="yes" 13970fi 13971 13972PYTHON_LIBS="" 13973PYTHON_INCLUDES="" 13974if test "$build_python" = "yes"; then 13975 13976@%:@ Check whether --with-pythonlibs was given. 13977if test "${with_pythonlibs+set}" = set; then 13978 withval=$with_pythonlibs; pythonlibs="$withval" 13979else 13980 pythonlibs=`python-config --libs` 13981fi 13982 13983 13984@%:@ Check whether --with-pythonincludes was given. 13985if test "${with_pythonincludes+set}" = set; then 13986 withval=$with_pythonincludes; pythonincludes="$withval" 13987else 13988 pythonincludes=`python-config --includes` 13989fi 13990 13991 if test -z "$pythonlibs"; then 13992 echo "Unable to determine python libraries! Probably python-config is not" 13993 echo "available on this system. Please, use --with-pythonlibs and" 13994 echo "--with-pythonincludes options. Python components are disabled in this build." 13995 build_python="no" 13996 else 13997 PYTHON_LIBS="$pythonlibs" 13998 PYTHON_INCLUDES="$pythonincludes" 13999 fi 14000fi 14001 14002 14003 14004 if test x$build_mixer = xyes; then 14005 BUILD_MIXER_TRUE= 14006 BUILD_MIXER_FALSE='#' 14007else 14008 BUILD_MIXER_TRUE='#' 14009 BUILD_MIXER_FALSE= 14010fi 14011 14012 if test x$build_pcm = xyes; then 14013 BUILD_PCM_TRUE= 14014 BUILD_PCM_FALSE='#' 14015else 14016 BUILD_PCM_TRUE='#' 14017 BUILD_PCM_FALSE= 14018fi 14019 14020 if test x$build_rawmidi = xyes; then 14021 BUILD_RAWMIDI_TRUE= 14022 BUILD_RAWMIDI_FALSE='#' 14023else 14024 BUILD_RAWMIDI_TRUE='#' 14025 BUILD_RAWMIDI_FALSE= 14026fi 14027 14028 if test x$build_hwdep = xyes; then 14029 BUILD_HWDEP_TRUE= 14030 BUILD_HWDEP_FALSE='#' 14031else 14032 BUILD_HWDEP_TRUE='#' 14033 BUILD_HWDEP_FALSE= 14034fi 14035 14036 if test x$build_seq = xyes; then 14037 BUILD_SEQ_TRUE= 14038 BUILD_SEQ_FALSE='#' 14039else 14040 BUILD_SEQ_TRUE='#' 14041 BUILD_SEQ_FALSE= 14042fi 14043 14044 if test x$build_ucm = xyes; then 14045 BUILD_UCM_TRUE= 14046 BUILD_UCM_FALSE='#' 14047else 14048 BUILD_UCM_TRUE='#' 14049 BUILD_UCM_FALSE= 14050fi 14051 14052 if test x$build_alisp = xyes; then 14053 BUILD_ALISP_TRUE= 14054 BUILD_ALISP_FALSE='#' 14055else 14056 BUILD_ALISP_TRUE='#' 14057 BUILD_ALISP_FALSE= 14058fi 14059 14060 if test x$build_python = xyes; then 14061 BUILD_PYTHON_TRUE= 14062 BUILD_PYTHON_FALSE='#' 14063else 14064 BUILD_PYTHON_TRUE='#' 14065 BUILD_PYTHON_FALSE= 14066fi 14067 14068 14069if test "$build_mixer" = "yes"; then 14070 14071cat >>confdefs.h <<\_ACEOF 14072@%:@define BUILD_MIXER "1" 14073_ACEOF 14074 14075fi 14076if test "$build_pcm" = "yes"; then 14077 14078cat >>confdefs.h <<\_ACEOF 14079@%:@define BUILD_PCM "1" 14080_ACEOF 14081 14082fi 14083if test "$build_rawmidi" = "yes"; then 14084 14085cat >>confdefs.h <<\_ACEOF 14086@%:@define BUILD_RAWMIDI "1" 14087_ACEOF 14088 14089fi 14090if test "$build_hwdep" = "yes"; then 14091 14092cat >>confdefs.h <<\_ACEOF 14093@%:@define BUILD_HWDEP "1" 14094_ACEOF 14095 14096fi 14097if test "$build_seq" = "yes"; then 14098 14099cat >>confdefs.h <<\_ACEOF 14100@%:@define BUILD_SEQ "1" 14101_ACEOF 14102 14103fi 14104if test "$build_ucm" = "yes"; then 14105 14106cat >>confdefs.h <<\_ACEOF 14107@%:@define BUILD_UCM "1" 14108_ACEOF 14109 14110fi 14111 14112 14113if test "$build_pcm" = "yes"; then 14114 14115@%:@ Check whether --with-pcm-plugins was given. 14116if test "${with_pcm_plugins+set}" = set; then 14117 withval=$with_pcm_plugins; pcm_plugins="$withval" 14118else 14119 pcm_plugins="all" 14120fi 14121 14122else 14123pcm_plugins="" 14124fi 14125 14126PCM_PLUGIN_LIST="copy linear route mulaw alaw adpcm rate plug multi shm file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" 14127 14128build_pcm_plugin="no" 14129for t in $PCM_PLUGIN_LIST; do 14130 eval build_pcm_$t="no" 14131done 14132 14133pcm_plugins=`echo $pcm_plugins | sed 's/,/ /g'` 14134for p in $pcm_plugins; do 14135 for t in $PCM_PLUGIN_LIST; do 14136 if test "$p" = "$t" -o "$p" = "all"; then 14137 eval build_pcm_$t="yes" 14138 build_pcm_plugin="yes" 14139 fi 14140 done 14141done 14142 14143if test "$build_pcm_plug" = "yes"; then 14144 build_pcm_linear="yes" 14145 build_pcm_copy="yes" 14146fi 14147 14148if test "$build_pcm_ioplug" = "yes"; then 14149 build_pcm_extplug="yes" 14150fi 14151 14152if test "$HAVE_LIBDL" != "yes"; then 14153 build_pcm_meter="no" 14154 build_pcm_ladspa="no" 14155 build_pcm_pcm_ioplug="no" 14156 build_pcm_pcm_extplug="no" 14157fi 14158 14159if test "$HAVE_LIBPTHREAD" != "yes"; then 14160 build_pcm_share="no" 14161fi 14162 14163if test "$softfloat" = "yes"; then 14164 build_pcm_lfloat="no" 14165 build_pcm_ladspa="no" 14166fi 14167 14168 if test x$build_pcm_plugin = xyes; then 14169 BUILD_PCM_PLUGIN_TRUE= 14170 BUILD_PCM_PLUGIN_FALSE='#' 14171else 14172 BUILD_PCM_PLUGIN_TRUE='#' 14173 BUILD_PCM_PLUGIN_FALSE= 14174fi 14175 14176 if test x$build_pcm_copy = xyes; then 14177 BUILD_PCM_PLUGIN_COPY_TRUE= 14178 BUILD_PCM_PLUGIN_COPY_FALSE='#' 14179else 14180 BUILD_PCM_PLUGIN_COPY_TRUE='#' 14181 BUILD_PCM_PLUGIN_COPY_FALSE= 14182fi 14183 14184 if test x$build_pcm_linear = xyes; then 14185 BUILD_PCM_PLUGIN_LINEAR_TRUE= 14186 BUILD_PCM_PLUGIN_LINEAR_FALSE='#' 14187else 14188 BUILD_PCM_PLUGIN_LINEAR_TRUE='#' 14189 BUILD_PCM_PLUGIN_LINEAR_FALSE= 14190fi 14191 14192 if test x$build_pcm_route = xyes; then 14193 BUILD_PCM_PLUGIN_ROUTE_TRUE= 14194 BUILD_PCM_PLUGIN_ROUTE_FALSE='#' 14195else 14196 BUILD_PCM_PLUGIN_ROUTE_TRUE='#' 14197 BUILD_PCM_PLUGIN_ROUTE_FALSE= 14198fi 14199 14200 if test x$build_pcm_mulaw = xyes; then 14201 BUILD_PCM_PLUGIN_MULAW_TRUE= 14202 BUILD_PCM_PLUGIN_MULAW_FALSE='#' 14203else 14204 BUILD_PCM_PLUGIN_MULAW_TRUE='#' 14205 BUILD_PCM_PLUGIN_MULAW_FALSE= 14206fi 14207 14208 if test x$build_pcm_alaw = xyes; then 14209 BUILD_PCM_PLUGIN_ALAW_TRUE= 14210 BUILD_PCM_PLUGIN_ALAW_FALSE='#' 14211else 14212 BUILD_PCM_PLUGIN_ALAW_TRUE='#' 14213 BUILD_PCM_PLUGIN_ALAW_FALSE= 14214fi 14215 14216 if test x$build_pcm_adpcm = xyes; then 14217 BUILD_PCM_PLUGIN_ADPCM_TRUE= 14218 BUILD_PCM_PLUGIN_ADPCM_FALSE='#' 14219else 14220 BUILD_PCM_PLUGIN_ADPCM_TRUE='#' 14221 BUILD_PCM_PLUGIN_ADPCM_FALSE= 14222fi 14223 14224 if test x$build_pcm_rate = xyes; then 14225 BUILD_PCM_PLUGIN_RATE_TRUE= 14226 BUILD_PCM_PLUGIN_RATE_FALSE='#' 14227else 14228 BUILD_PCM_PLUGIN_RATE_TRUE='#' 14229 BUILD_PCM_PLUGIN_RATE_FALSE= 14230fi 14231 14232 if test x$build_pcm_plug = xyes; then 14233 BUILD_PCM_PLUGIN_PLUG_TRUE= 14234 BUILD_PCM_PLUGIN_PLUG_FALSE='#' 14235else 14236 BUILD_PCM_PLUGIN_PLUG_TRUE='#' 14237 BUILD_PCM_PLUGIN_PLUG_FALSE= 14238fi 14239 14240 if test x$build_pcm_multi = xyes; then 14241 BUILD_PCM_PLUGIN_MULTI_TRUE= 14242 BUILD_PCM_PLUGIN_MULTI_FALSE='#' 14243else 14244 BUILD_PCM_PLUGIN_MULTI_TRUE='#' 14245 BUILD_PCM_PLUGIN_MULTI_FALSE= 14246fi 14247 14248 if test x$build_pcm_shm = xyes; then 14249 BUILD_PCM_PLUGIN_SHM_TRUE= 14250 BUILD_PCM_PLUGIN_SHM_FALSE='#' 14251else 14252 BUILD_PCM_PLUGIN_SHM_TRUE='#' 14253 BUILD_PCM_PLUGIN_SHM_FALSE= 14254fi 14255 14256 if test x$build_pcm_file = xyes; then 14257 BUILD_PCM_PLUGIN_FILE_TRUE= 14258 BUILD_PCM_PLUGIN_FILE_FALSE='#' 14259else 14260 BUILD_PCM_PLUGIN_FILE_TRUE='#' 14261 BUILD_PCM_PLUGIN_FILE_FALSE= 14262fi 14263 14264 if test x$build_pcm_null = xyes; then 14265 BUILD_PCM_PLUGIN_NULL_TRUE= 14266 BUILD_PCM_PLUGIN_NULL_FALSE='#' 14267else 14268 BUILD_PCM_PLUGIN_NULL_TRUE='#' 14269 BUILD_PCM_PLUGIN_NULL_FALSE= 14270fi 14271 14272 if test x$build_pcm_empty = xyes; then 14273 BUILD_PCM_PLUGIN_EMPTY_TRUE= 14274 BUILD_PCM_PLUGIN_EMPTY_FALSE='#' 14275else 14276 BUILD_PCM_PLUGIN_EMPTY_TRUE='#' 14277 BUILD_PCM_PLUGIN_EMPTY_FALSE= 14278fi 14279 14280 if test x$build_pcm_share = xyes; then 14281 BUILD_PCM_PLUGIN_SHARE_TRUE= 14282 BUILD_PCM_PLUGIN_SHARE_FALSE='#' 14283else 14284 BUILD_PCM_PLUGIN_SHARE_TRUE='#' 14285 BUILD_PCM_PLUGIN_SHARE_FALSE= 14286fi 14287 14288 if test x$build_pcm_meter = xyes; then 14289 BUILD_PCM_PLUGIN_METER_TRUE= 14290 BUILD_PCM_PLUGIN_METER_FALSE='#' 14291else 14292 BUILD_PCM_PLUGIN_METER_TRUE='#' 14293 BUILD_PCM_PLUGIN_METER_FALSE= 14294fi 14295 14296 if test x$build_pcm_hooks = xyes; then 14297 BUILD_PCM_PLUGIN_HOOKS_TRUE= 14298 BUILD_PCM_PLUGIN_HOOKS_FALSE='#' 14299else 14300 BUILD_PCM_PLUGIN_HOOKS_TRUE='#' 14301 BUILD_PCM_PLUGIN_HOOKS_FALSE= 14302fi 14303 14304 if test x$build_pcm_lfloat = xyes; then 14305 BUILD_PCM_PLUGIN_LFLOAT_TRUE= 14306 BUILD_PCM_PLUGIN_LFLOAT_FALSE='#' 14307else 14308 BUILD_PCM_PLUGIN_LFLOAT_TRUE='#' 14309 BUILD_PCM_PLUGIN_LFLOAT_FALSE= 14310fi 14311 14312 if test x$build_pcm_ladspa = xyes; then 14313 BUILD_PCM_PLUGIN_LADSPA_TRUE= 14314 BUILD_PCM_PLUGIN_LADSPA_FALSE='#' 14315else 14316 BUILD_PCM_PLUGIN_LADSPA_TRUE='#' 14317 BUILD_PCM_PLUGIN_LADSPA_FALSE= 14318fi 14319 14320 if test x$build_pcm_dmix = xyes; then 14321 BUILD_PCM_PLUGIN_DMIX_TRUE= 14322 BUILD_PCM_PLUGIN_DMIX_FALSE='#' 14323else 14324 BUILD_PCM_PLUGIN_DMIX_TRUE='#' 14325 BUILD_PCM_PLUGIN_DMIX_FALSE= 14326fi 14327 14328 if test x$build_pcm_dshare = xyes; then 14329 BUILD_PCM_PLUGIN_DSHARE_TRUE= 14330 BUILD_PCM_PLUGIN_DSHARE_FALSE='#' 14331else 14332 BUILD_PCM_PLUGIN_DSHARE_TRUE='#' 14333 BUILD_PCM_PLUGIN_DSHARE_FALSE= 14334fi 14335 14336 if test x$build_pcm_dsnoop = xyes; then 14337 BUILD_PCM_PLUGIN_DSNOOP_TRUE= 14338 BUILD_PCM_PLUGIN_DSNOOP_FALSE='#' 14339else 14340 BUILD_PCM_PLUGIN_DSNOOP_TRUE='#' 14341 BUILD_PCM_PLUGIN_DSNOOP_FALSE= 14342fi 14343 14344 if test x$build_pcm_asym = xyes; then 14345 BUILD_PCM_PLUGIN_ASYM_TRUE= 14346 BUILD_PCM_PLUGIN_ASYM_FALSE='#' 14347else 14348 BUILD_PCM_PLUGIN_ASYM_TRUE='#' 14349 BUILD_PCM_PLUGIN_ASYM_FALSE= 14350fi 14351 14352 if test x$build_pcm_iec958 = xyes; then 14353 BUILD_PCM_PLUGIN_IEC958_TRUE= 14354 BUILD_PCM_PLUGIN_IEC958_FALSE='#' 14355else 14356 BUILD_PCM_PLUGIN_IEC958_TRUE='#' 14357 BUILD_PCM_PLUGIN_IEC958_FALSE= 14358fi 14359 14360 if test x$build_pcm_softvol = xyes; then 14361 BUILD_PCM_PLUGIN_SOFTVOL_TRUE= 14362 BUILD_PCM_PLUGIN_SOFTVOL_FALSE='#' 14363else 14364 BUILD_PCM_PLUGIN_SOFTVOL_TRUE='#' 14365 BUILD_PCM_PLUGIN_SOFTVOL_FALSE= 14366fi 14367 14368 if test x$build_pcm_extplug = xyes; then 14369 BUILD_PCM_PLUGIN_EXTPLUG_TRUE= 14370 BUILD_PCM_PLUGIN_EXTPLUG_FALSE='#' 14371else 14372 BUILD_PCM_PLUGIN_EXTPLUG_TRUE='#' 14373 BUILD_PCM_PLUGIN_EXTPLUG_FALSE= 14374fi 14375 14376 if test x$build_pcm_ioplug = xyes; then 14377 BUILD_PCM_PLUGIN_IOPLUG_TRUE= 14378 BUILD_PCM_PLUGIN_IOPLUG_FALSE='#' 14379else 14380 BUILD_PCM_PLUGIN_IOPLUG_TRUE='#' 14381 BUILD_PCM_PLUGIN_IOPLUG_FALSE= 14382fi 14383 14384 if test x$build_pcm_mmap_emul = xyes; then 14385 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE= 14386 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE='#' 14387else 14388 BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE='#' 14389 BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE= 14390fi 14391 14392 14393if test "$build_pcm_rate" = "yes"; then 14394 14395cat >>confdefs.h <<\_ACEOF 14396@%:@define BUILD_PCM_PLUGIN_RATE "1" 14397_ACEOF 14398 14399fi 14400if test "$build_pcm_route" = "yes"; then 14401 14402cat >>confdefs.h <<\_ACEOF 14403@%:@define BUILD_PCM_PLUGIN_ROUTE "1" 14404_ACEOF 14405 14406fi 14407if test "$build_pcm_lfloat" = "yes"; then 14408 14409cat >>confdefs.h <<\_ACEOF 14410@%:@define BUILD_PCM_PLUGIN_LFLOAT "1" 14411_ACEOF 14412 14413fi 14414if test "$build_pcm_adpcm" = "yes"; then 14415 14416cat >>confdefs.h <<\_ACEOF 14417@%:@define BUILD_PCM_PLUGIN_ADPCM "1" 14418_ACEOF 14419 14420fi 14421if test "$build_pcm_mulaw" = "yes"; then 14422 14423cat >>confdefs.h <<\_ACEOF 14424@%:@define BUILD_PCM_PLUGIN_MULAW "1" 14425_ACEOF 14426 14427fi 14428if test "$build_pcm_alaw" = "yes"; then 14429 14430cat >>confdefs.h <<\_ACEOF 14431@%:@define BUILD_PCM_PLUGIN_ALAW "1" 14432_ACEOF 14433 14434fi 14435if test "$build_pcm_mmap_emul" = "yes"; then 14436 14437cat >>confdefs.h <<\_ACEOF 14438@%:@define BUILD_PCM_PLUGIN_MMAP_EMUL "1" 14439_ACEOF 14440 14441fi 14442 14443 14444rm -f "$srcdir"/src/pcm/pcm_symbols_list.c 14445touch "$srcdir"/src/pcm/pcm_symbols_list.c 14446for t in $PCM_PLUGIN_LIST; do 14447 if eval test \$build_pcm_$t = yes; then 14448 echo \&_snd_module_pcm_$t, >> "$srcdir"/src/pcm/pcm_symbols_list.c 14449 fi 14450done 14451 14452 14453 14454@%:@ Check whether --with-ctl-plugins was given. 14455if test "${with_ctl_plugins+set}" = set; then 14456 withval=$with_ctl_plugins; ctl_plugins="$withval" 14457else 14458 ctl_plugins="all" 14459fi 14460 14461 14462CTL_PLUGIN_LIST="shm ext" 14463 14464build_ctl_plugin="no" 14465for t in $CTL_PLUGIN_LIST; do 14466 eval build_ctl_$t="no" 14467done 14468 14469ctl_plugins=`echo $ctl_plugins | sed 's/,/ /g'` 14470for p in $ctl_plugins; do 14471 for t in $CTL_PLUGIN_LIST; do 14472 if test "$p" = "$t" -o "$p" = "all"; then 14473 eval build_ctl_$t="yes" 14474 build_ctl_plugin="yes" 14475 fi 14476 done 14477done 14478 14479 if test x$build_ctl_plugin = xyes; then 14480 BUILD_CTL_PLUGIN_TRUE= 14481 BUILD_CTL_PLUGIN_FALSE='#' 14482else 14483 BUILD_CTL_PLUGIN_TRUE='#' 14484 BUILD_CTL_PLUGIN_FALSE= 14485fi 14486 14487 if test x$build_ctl_shm = xyes; then 14488 BUILD_CTL_PLUGIN_SHM_TRUE= 14489 BUILD_CTL_PLUGIN_SHM_FALSE='#' 14490else 14491 BUILD_CTL_PLUGIN_SHM_TRUE='#' 14492 BUILD_CTL_PLUGIN_SHM_FALSE= 14493fi 14494 14495 if test x$build_ctl_ext = xyes; then 14496 BUILD_CTL_PLUGIN_EXT_TRUE= 14497 BUILD_CTL_PLUGIN_EXT_FALSE='#' 14498else 14499 BUILD_CTL_PLUGIN_EXT_TRUE='#' 14500 BUILD_CTL_PLUGIN_EXT_FALSE= 14501fi 14502 14503 14504rm -f "$srcdir"/src/control/ctl_symbols_list.c 14505touch "$srcdir"/src/control/ctl_symbols_list.c 14506for t in $CTL_PLUGIN_LIST; do 14507 if eval test \$build_ctl_$t = yes; then 14508 echo \&_snd_module_control_$t, >> "$srcdir"/src/control/ctl_symbols_list.c 14509 fi 14510done 14511 14512if test ! -L "$srcdir"/include/alsa ; then 14513 echo "Making a symlink include/alsa" 14514 rm -f "$srcdir"/include/alsa 14515 ln -sf . "$srcdir"/include/alsa 14516fi 14517 14518ac_config_files="$ac_config_files Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg include/Makefile include/sound/Makefile src/Versions src/Makefile src/control/Makefile src/mixer/Makefile src/pcm/Makefile src/pcm/scopes/Makefile src/rawmidi/Makefile src/timer/Makefile src/hwdep/Makefile src/seq/Makefile src/ucm/Makefile src/compat/Makefile src/alisp/Makefile src/conf/Makefile src/conf/alsa.conf.d/Makefile src/conf/cards/Makefile src/conf/pcm/Makefile modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile alsalisp/Makefile aserver/Makefile test/Makefile test/lsb/Makefile utils/Makefile utils/alsa-lib.spec utils/alsa.pc" 14519 14520cat >confcache <<\_ACEOF 14521# This file is a shell script that caches the results of configure 14522# tests run on this system so they can be shared between configure 14523# scripts and configure runs, see configure's option --config-cache. 14524# It is not useful on other systems. If it contains results you don't 14525# want to keep, you may remove or edit it. 14526# 14527# config.status only pays attention to the cache file if you give it 14528# the --recheck option to rerun configure. 14529# 14530# `ac_cv_env_foo' variables (set or unset) will be overridden when 14531# loading this file, other *unset* `ac_cv_foo' will be assigned the 14532# following values. 14533 14534_ACEOF 14535 14536# The following way of writing the cache mishandles newlines in values, 14537# but we know of no workaround that is simple, portable, and efficient. 14538# So, we kill variables containing newlines. 14539# Ultrix sh set writes to stderr and can't be redirected directly, 14540# and sets the high bit in the cache file unless we assign to the vars. 14541( 14542 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 14543 eval ac_val=\$$ac_var 14544 case $ac_val in #( 14545 *${as_nl}*) 14546 case $ac_var in #( 14547 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 14548$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 14549 esac 14550 case $ac_var in #( 14551 _ | IFS | as_nl) ;; #( 14552 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 14553 *) $as_unset $ac_var ;; 14554 esac ;; 14555 esac 14556 done 14557 14558 (set) 2>&1 | 14559 case $as_nl`(ac_space=' '; set) 2>&1` in #( 14560 *${as_nl}ac_space=\ *) 14561 # `set' does not quote correctly, so add quotes (double-quote 14562 # substitution turns \\\\ into \\, and sed turns \\ into \). 14563 sed -n \ 14564 "s/'/'\\\\''/g; 14565 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 14566 ;; #( 14567 *) 14568 # `set' quotes correctly as required by POSIX, so do not add quotes. 14569 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 14570 ;; 14571 esac | 14572 sort 14573) | 14574 sed ' 14575 /^ac_cv_env_/b end 14576 t clear 14577 :clear 14578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 14579 t end 14580 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 14581 :end' >>confcache 14582if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 14583 if test -w "$cache_file"; then 14584 test "x$cache_file" != "x/dev/null" && 14585 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 14586$as_echo "$as_me: updating cache $cache_file" >&6;} 14587 cat confcache >$cache_file 14588 else 14589 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 14590$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 14591 fi 14592fi 14593rm -f confcache 14594 14595test "x$prefix" = xNONE && prefix=$ac_default_prefix 14596# Let make expand exec_prefix. 14597test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 14598 14599DEFS=-DHAVE_CONFIG_H 14600 14601ac_libobjs= 14602ac_ltlibobjs= 14603for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 14604 # 1. Remove the extension, and $U if already installed. 14605 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 14606 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 14607 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 14608 # will be set to the directory where LIBOBJS objects are built. 14609 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 14610 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 14611done 14612LIB@&t@OBJS=$ac_libobjs 14613 14614LTLIBOBJS=$ac_ltlibobjs 14615 14616 14617 if test -n "$EXEEXT"; then 14618 am__EXEEXT_TRUE= 14619 am__EXEEXT_FALSE='#' 14620else 14621 am__EXEEXT_TRUE='#' 14622 am__EXEEXT_FALSE= 14623fi 14624 14625if test -z "${INSTALL_M4_TRUE}" && test -z "${INSTALL_M4_FALSE}"; then 14626 { { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_M4\" was never defined. 14627Usually this means the macro was only invoked conditionally." >&5 14628$as_echo "$as_me: error: conditional \"INSTALL_M4\" was never defined. 14629Usually this means the macro was only invoked conditionally." >&2;} 14630 { (exit 1); exit 1; }; } 14631fi 14632if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 14633 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 14634Usually this means the macro was only invoked conditionally." >&5 14635$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 14636Usually this means the macro was only invoked conditionally." >&2;} 14637 { (exit 1); exit 1; }; } 14638fi 14639if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 14640 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 14641Usually this means the macro was only invoked conditionally." >&5 14642$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 14643Usually this means the macro was only invoked conditionally." >&2;} 14644 { (exit 1); exit 1; }; } 14645fi 14646if test -z "${ALSA_HSEARCH_R_TRUE}" && test -z "${ALSA_HSEARCH_R_FALSE}"; then 14647 { { $as_echo "$as_me:$LINENO: error: conditional \"ALSA_HSEARCH_R\" was never defined. 14648Usually this means the macro was only invoked conditionally." >&5 14649$as_echo "$as_me: error: conditional \"ALSA_HSEARCH_R\" was never defined. 14650Usually this means the macro was only invoked conditionally." >&2;} 14651 { (exit 1); exit 1; }; } 14652fi 14653if test -z "${VERSIONED_SYMBOLS_TRUE}" && test -z "${VERSIONED_SYMBOLS_FALSE}"; then 14654 { { $as_echo "$as_me:$LINENO: error: conditional \"VERSIONED_SYMBOLS\" was never defined. 14655Usually this means the macro was only invoked conditionally." >&5 14656$as_echo "$as_me: error: conditional \"VERSIONED_SYMBOLS\" was never defined. 14657Usually this means the macro was only invoked conditionally." >&2;} 14658 { (exit 1); exit 1; }; } 14659fi 14660if test -z "${SYMBOLIC_FUNCTIONS_TRUE}" && test -z "${SYMBOLIC_FUNCTIONS_FALSE}"; then 14661 { { $as_echo "$as_me:$LINENO: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined. 14662Usually this means the macro was only invoked conditionally." >&5 14663$as_echo "$as_me: error: conditional \"SYMBOLIC_FUNCTIONS\" was never defined. 14664Usually this means the macro was only invoked conditionally." >&2;} 14665 { (exit 1); exit 1; }; } 14666fi 14667if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then 14668 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MODULES\" was never defined. 14669Usually this means the macro was only invoked conditionally." >&5 14670$as_echo "$as_me: error: conditional \"BUILD_MODULES\" was never defined. 14671Usually this means the macro was only invoked conditionally." >&2;} 14672 { (exit 1); exit 1; }; } 14673fi 14674if test -z "${KEEP_OLD_SYMBOLS_TRUE}" && test -z "${KEEP_OLD_SYMBOLS_FALSE}"; then 14675 { { $as_echo "$as_me:$LINENO: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined. 14676Usually this means the macro was only invoked conditionally." >&5 14677$as_echo "$as_me: error: conditional \"KEEP_OLD_SYMBOLS\" was never defined. 14678Usually this means the macro was only invoked conditionally." >&2;} 14679 { (exit 1); exit 1; }; } 14680fi 14681if test -z "${BUILD_MIXER_TRUE}" && test -z "${BUILD_MIXER_FALSE}"; then 14682 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_MIXER\" was never defined. 14683Usually this means the macro was only invoked conditionally." >&5 14684$as_echo "$as_me: error: conditional \"BUILD_MIXER\" was never defined. 14685Usually this means the macro was only invoked conditionally." >&2;} 14686 { (exit 1); exit 1; }; } 14687fi 14688if test -z "${BUILD_PCM_TRUE}" && test -z "${BUILD_PCM_FALSE}"; then 14689 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM\" was never defined. 14690Usually this means the macro was only invoked conditionally." >&5 14691$as_echo "$as_me: error: conditional \"BUILD_PCM\" was never defined. 14692Usually this means the macro was only invoked conditionally." >&2;} 14693 { (exit 1); exit 1; }; } 14694fi 14695if test -z "${BUILD_RAWMIDI_TRUE}" && test -z "${BUILD_RAWMIDI_FALSE}"; then 14696 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_RAWMIDI\" was never defined. 14697Usually this means the macro was only invoked conditionally." >&5 14698$as_echo "$as_me: error: conditional \"BUILD_RAWMIDI\" was never defined. 14699Usually this means the macro was only invoked conditionally." >&2;} 14700 { (exit 1); exit 1; }; } 14701fi 14702if test -z "${BUILD_HWDEP_TRUE}" && test -z "${BUILD_HWDEP_FALSE}"; then 14703 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_HWDEP\" was never defined. 14704Usually this means the macro was only invoked conditionally." >&5 14705$as_echo "$as_me: error: conditional \"BUILD_HWDEP\" was never defined. 14706Usually this means the macro was only invoked conditionally." >&2;} 14707 { (exit 1); exit 1; }; } 14708fi 14709if test -z "${BUILD_SEQ_TRUE}" && test -z "${BUILD_SEQ_FALSE}"; then 14710 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SEQ\" was never defined. 14711Usually this means the macro was only invoked conditionally." >&5 14712$as_echo "$as_me: error: conditional \"BUILD_SEQ\" was never defined. 14713Usually this means the macro was only invoked conditionally." >&2;} 14714 { (exit 1); exit 1; }; } 14715fi 14716if test -z "${BUILD_UCM_TRUE}" && test -z "${BUILD_UCM_FALSE}"; then 14717 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_UCM\" was never defined. 14718Usually this means the macro was only invoked conditionally." >&5 14719$as_echo "$as_me: error: conditional \"BUILD_UCM\" was never defined. 14720Usually this means the macro was only invoked conditionally." >&2;} 14721 { (exit 1); exit 1; }; } 14722fi 14723if test -z "${BUILD_ALISP_TRUE}" && test -z "${BUILD_ALISP_FALSE}"; then 14724 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ALISP\" was never defined. 14725Usually this means the macro was only invoked conditionally." >&5 14726$as_echo "$as_me: error: conditional \"BUILD_ALISP\" was never defined. 14727Usually this means the macro was only invoked conditionally." >&2;} 14728 { (exit 1); exit 1; }; } 14729fi 14730if test -z "${BUILD_PYTHON_TRUE}" && test -z "${BUILD_PYTHON_FALSE}"; then 14731 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PYTHON\" was never defined. 14732Usually this means the macro was only invoked conditionally." >&5 14733$as_echo "$as_me: error: conditional \"BUILD_PYTHON\" was never defined. 14734Usually this means the macro was only invoked conditionally." >&2;} 14735 { (exit 1); exit 1; }; } 14736fi 14737if test -z "${BUILD_PCM_PLUGIN_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FALSE}"; then 14738 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN\" was never defined. 14739Usually this means the macro was only invoked conditionally." >&5 14740$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN\" was never defined. 14741Usually this means the macro was only invoked conditionally." >&2;} 14742 { (exit 1); exit 1; }; } 14743fi 14744if test -z "${BUILD_PCM_PLUGIN_COPY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_COPY_FALSE}"; then 14745 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined. 14746Usually this means the macro was only invoked conditionally." >&5 14747$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_COPY\" was never defined. 14748Usually this means the macro was only invoked conditionally." >&2;} 14749 { (exit 1); exit 1; }; } 14750fi 14751if test -z "${BUILD_PCM_PLUGIN_LINEAR_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LINEAR_FALSE}"; then 14752 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined. 14753Usually this means the macro was only invoked conditionally." >&5 14754$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LINEAR\" was never defined. 14755Usually this means the macro was only invoked conditionally." >&2;} 14756 { (exit 1); exit 1; }; } 14757fi 14758if test -z "${BUILD_PCM_PLUGIN_ROUTE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ROUTE_FALSE}"; then 14759 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined. 14760Usually this means the macro was only invoked conditionally." >&5 14761$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ROUTE\" was never defined. 14762Usually this means the macro was only invoked conditionally." >&2;} 14763 { (exit 1); exit 1; }; } 14764fi 14765if test -z "${BUILD_PCM_PLUGIN_MULAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULAW_FALSE}"; then 14766 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined. 14767Usually this means the macro was only invoked conditionally." >&5 14768$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULAW\" was never defined. 14769Usually this means the macro was only invoked conditionally." >&2;} 14770 { (exit 1); exit 1; }; } 14771fi 14772if test -z "${BUILD_PCM_PLUGIN_ALAW_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ALAW_FALSE}"; then 14773 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined. 14774Usually this means the macro was only invoked conditionally." >&5 14775$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ALAW\" was never defined. 14776Usually this means the macro was only invoked conditionally." >&2;} 14777 { (exit 1); exit 1; }; } 14778fi 14779if test -z "${BUILD_PCM_PLUGIN_ADPCM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ADPCM_FALSE}"; then 14780 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined. 14781Usually this means the macro was only invoked conditionally." >&5 14782$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ADPCM\" was never defined. 14783Usually this means the macro was only invoked conditionally." >&2;} 14784 { (exit 1); exit 1; }; } 14785fi 14786if test -z "${BUILD_PCM_PLUGIN_RATE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_RATE_FALSE}"; then 14787 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined. 14788Usually this means the macro was only invoked conditionally." >&5 14789$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_RATE\" was never defined. 14790Usually this means the macro was only invoked conditionally." >&2;} 14791 { (exit 1); exit 1; }; } 14792fi 14793if test -z "${BUILD_PCM_PLUGIN_PLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_PLUG_FALSE}"; then 14794 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined. 14795Usually this means the macro was only invoked conditionally." >&5 14796$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_PLUG\" was never defined. 14797Usually this means the macro was only invoked conditionally." >&2;} 14798 { (exit 1); exit 1; }; } 14799fi 14800if test -z "${BUILD_PCM_PLUGIN_MULTI_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MULTI_FALSE}"; then 14801 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined. 14802Usually this means the macro was only invoked conditionally." >&5 14803$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MULTI\" was never defined. 14804Usually this means the macro was only invoked conditionally." >&2;} 14805 { (exit 1); exit 1; }; } 14806fi 14807if test -z "${BUILD_PCM_PLUGIN_SHM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHM_FALSE}"; then 14808 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined. 14809Usually this means the macro was only invoked conditionally." >&5 14810$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHM\" was never defined. 14811Usually this means the macro was only invoked conditionally." >&2;} 14812 { (exit 1); exit 1; }; } 14813fi 14814if test -z "${BUILD_PCM_PLUGIN_FILE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_FILE_FALSE}"; then 14815 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined. 14816Usually this means the macro was only invoked conditionally." >&5 14817$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_FILE\" was never defined. 14818Usually this means the macro was only invoked conditionally." >&2;} 14819 { (exit 1); exit 1; }; } 14820fi 14821if test -z "${BUILD_PCM_PLUGIN_NULL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_NULL_FALSE}"; then 14822 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined. 14823Usually this means the macro was only invoked conditionally." >&5 14824$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_NULL\" was never defined. 14825Usually this means the macro was only invoked conditionally." >&2;} 14826 { (exit 1); exit 1; }; } 14827fi 14828if test -z "${BUILD_PCM_PLUGIN_EMPTY_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EMPTY_FALSE}"; then 14829 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined. 14830Usually this means the macro was only invoked conditionally." >&5 14831$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EMPTY\" was never defined. 14832Usually this means the macro was only invoked conditionally." >&2;} 14833 { (exit 1); exit 1; }; } 14834fi 14835if test -z "${BUILD_PCM_PLUGIN_SHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SHARE_FALSE}"; then 14836 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined. 14837Usually this means the macro was only invoked conditionally." >&5 14838$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SHARE\" was never defined. 14839Usually this means the macro was only invoked conditionally." >&2;} 14840 { (exit 1); exit 1; }; } 14841fi 14842if test -z "${BUILD_PCM_PLUGIN_METER_TRUE}" && test -z "${BUILD_PCM_PLUGIN_METER_FALSE}"; then 14843 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined. 14844Usually this means the macro was only invoked conditionally." >&5 14845$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_METER\" was never defined. 14846Usually this means the macro was only invoked conditionally." >&2;} 14847 { (exit 1); exit 1; }; } 14848fi 14849if test -z "${BUILD_PCM_PLUGIN_HOOKS_TRUE}" && test -z "${BUILD_PCM_PLUGIN_HOOKS_FALSE}"; then 14850 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined. 14851Usually this means the macro was only invoked conditionally." >&5 14852$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_HOOKS\" was never defined. 14853Usually this means the macro was only invoked conditionally." >&2;} 14854 { (exit 1); exit 1; }; } 14855fi 14856if test -z "${BUILD_PCM_PLUGIN_LFLOAT_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LFLOAT_FALSE}"; then 14857 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined. 14858Usually this means the macro was only invoked conditionally." >&5 14859$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LFLOAT\" was never defined. 14860Usually this means the macro was only invoked conditionally." >&2;} 14861 { (exit 1); exit 1; }; } 14862fi 14863if test -z "${BUILD_PCM_PLUGIN_LADSPA_TRUE}" && test -z "${BUILD_PCM_PLUGIN_LADSPA_FALSE}"; then 14864 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined. 14865Usually this means the macro was only invoked conditionally." >&5 14866$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_LADSPA\" was never defined. 14867Usually this means the macro was only invoked conditionally." >&2;} 14868 { (exit 1); exit 1; }; } 14869fi 14870if test -z "${BUILD_PCM_PLUGIN_DMIX_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DMIX_FALSE}"; then 14871 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined. 14872Usually this means the macro was only invoked conditionally." >&5 14873$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DMIX\" was never defined. 14874Usually this means the macro was only invoked conditionally." >&2;} 14875 { (exit 1); exit 1; }; } 14876fi 14877if test -z "${BUILD_PCM_PLUGIN_DSHARE_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSHARE_FALSE}"; then 14878 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined. 14879Usually this means the macro was only invoked conditionally." >&5 14880$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSHARE\" was never defined. 14881Usually this means the macro was only invoked conditionally." >&2;} 14882 { (exit 1); exit 1; }; } 14883fi 14884if test -z "${BUILD_PCM_PLUGIN_DSNOOP_TRUE}" && test -z "${BUILD_PCM_PLUGIN_DSNOOP_FALSE}"; then 14885 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined. 14886Usually this means the macro was only invoked conditionally." >&5 14887$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_DSNOOP\" was never defined. 14888Usually this means the macro was only invoked conditionally." >&2;} 14889 { (exit 1); exit 1; }; } 14890fi 14891if test -z "${BUILD_PCM_PLUGIN_ASYM_TRUE}" && test -z "${BUILD_PCM_PLUGIN_ASYM_FALSE}"; then 14892 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined. 14893Usually this means the macro was only invoked conditionally." >&5 14894$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_ASYM\" was never defined. 14895Usually this means the macro was only invoked conditionally." >&2;} 14896 { (exit 1); exit 1; }; } 14897fi 14898if test -z "${BUILD_PCM_PLUGIN_IEC958_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IEC958_FALSE}"; then 14899 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined. 14900Usually this means the macro was only invoked conditionally." >&5 14901$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IEC958\" was never defined. 14902Usually this means the macro was only invoked conditionally." >&2;} 14903 { (exit 1); exit 1; }; } 14904fi 14905if test -z "${BUILD_PCM_PLUGIN_SOFTVOL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_SOFTVOL_FALSE}"; then 14906 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined. 14907Usually this means the macro was only invoked conditionally." >&5 14908$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_SOFTVOL\" was never defined. 14909Usually this means the macro was only invoked conditionally." >&2;} 14910 { (exit 1); exit 1; }; } 14911fi 14912if test -z "${BUILD_PCM_PLUGIN_EXTPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_EXTPLUG_FALSE}"; then 14913 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined. 14914Usually this means the macro was only invoked conditionally." >&5 14915$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_EXTPLUG\" was never defined. 14916Usually this means the macro was only invoked conditionally." >&2;} 14917 { (exit 1); exit 1; }; } 14918fi 14919if test -z "${BUILD_PCM_PLUGIN_IOPLUG_TRUE}" && test -z "${BUILD_PCM_PLUGIN_IOPLUG_FALSE}"; then 14920 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined. 14921Usually this means the macro was only invoked conditionally." >&5 14922$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_IOPLUG\" was never defined. 14923Usually this means the macro was only invoked conditionally." >&2;} 14924 { (exit 1); exit 1; }; } 14925fi 14926if test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_TRUE}" && test -z "${BUILD_PCM_PLUGIN_MMAP_EMUL_FALSE}"; then 14927 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined. 14928Usually this means the macro was only invoked conditionally." >&5 14929$as_echo "$as_me: error: conditional \"BUILD_PCM_PLUGIN_MMAP_EMUL\" was never defined. 14930Usually this means the macro was only invoked conditionally." >&2;} 14931 { (exit 1); exit 1; }; } 14932fi 14933if test -z "${BUILD_CTL_PLUGIN_TRUE}" && test -z "${BUILD_CTL_PLUGIN_FALSE}"; then 14934 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN\" was never defined. 14935Usually this means the macro was only invoked conditionally." >&5 14936$as_echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN\" was never defined. 14937Usually this means the macro was only invoked conditionally." >&2;} 14938 { (exit 1); exit 1; }; } 14939fi 14940if test -z "${BUILD_CTL_PLUGIN_SHM_TRUE}" && test -z "${BUILD_CTL_PLUGIN_SHM_FALSE}"; then 14941 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined. 14942Usually this means the macro was only invoked conditionally." >&5 14943$as_echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_SHM\" was never defined. 14944Usually this means the macro was only invoked conditionally." >&2;} 14945 { (exit 1); exit 1; }; } 14946fi 14947if test -z "${BUILD_CTL_PLUGIN_EXT_TRUE}" && test -z "${BUILD_CTL_PLUGIN_EXT_FALSE}"; then 14948 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined. 14949Usually this means the macro was only invoked conditionally." >&5 14950$as_echo "$as_me: error: conditional \"BUILD_CTL_PLUGIN_EXT\" was never defined. 14951Usually this means the macro was only invoked conditionally." >&2;} 14952 { (exit 1); exit 1; }; } 14953fi 14954 14955: ${CONFIG_STATUS=./config.status} 14956ac_write_fail=0 14957ac_clean_files_save=$ac_clean_files 14958ac_clean_files="$ac_clean_files $CONFIG_STATUS" 14959{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 14960$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 14961cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14962#! $SHELL 14963# Generated by $as_me. 14964# Run this file to recreate the current configuration. 14965# Compiler output produced by configure, useful for debugging 14966# configure, is in config.log if it exists. 14967 14968debug=false 14969ac_cs_recheck=false 14970ac_cs_silent=false 14971SHELL=\${CONFIG_SHELL-$SHELL} 14972_ACEOF 14973 14974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14975## --------------------- ## 14976## M4sh Initialization. ## 14977## --------------------- ## 14978 14979# Be more Bourne compatible 14980DUALCASE=1; export DUALCASE # for MKS sh 14981if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14982 emulate sh 14983 NULLCMD=: 14984 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 14985 # is contrary to our usage. Disable this feature. 14986 alias -g '${1+"$@"}'='"$@"' 14987 setopt NO_GLOB_SUBST 14988else 14989 case `(set -o) 2>/dev/null` in 14990 *posix*) set -o posix ;; 14991esac 14992 14993fi 14994 14995 14996 14997 14998# PATH needs CR 14999# Avoid depending upon Character Ranges. 15000as_cr_letters='abcdefghijklmnopqrstuvwxyz' 15001as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 15002as_cr_Letters=$as_cr_letters$as_cr_LETTERS 15003as_cr_digits='0123456789' 15004as_cr_alnum=$as_cr_Letters$as_cr_digits 15005 15006as_nl=' 15007' 15008export as_nl 15009# Printing a long string crashes Solaris 7 /usr/bin/printf. 15010as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 15011as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 15012as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 15013if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 15014 as_echo='printf %s\n' 15015 as_echo_n='printf %s' 15016else 15017 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 15018 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 15019 as_echo_n='/usr/ucb/echo -n' 15020 else 15021 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 15022 as_echo_n_body='eval 15023 arg=$1; 15024 case $arg in 15025 *"$as_nl"*) 15026 expr "X$arg" : "X\\(.*\\)$as_nl"; 15027 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 15028 esac; 15029 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 15030 ' 15031 export as_echo_n_body 15032 as_echo_n='sh -c $as_echo_n_body as_echo' 15033 fi 15034 export as_echo_body 15035 as_echo='sh -c $as_echo_body as_echo' 15036fi 15037 15038# The user is always right. 15039if test "${PATH_SEPARATOR+set}" != set; then 15040 PATH_SEPARATOR=: 15041 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 15042 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 15043 PATH_SEPARATOR=';' 15044 } 15045fi 15046 15047# Support unset when possible. 15048if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 15049 as_unset=unset 15050else 15051 as_unset=false 15052fi 15053 15054 15055# IFS 15056# We need space, tab and new line, in precisely that order. Quoting is 15057# there to prevent editors from complaining about space-tab. 15058# (If _AS_PATH_WALK were called with IFS unset, it would disable word 15059# splitting by setting IFS to empty value.) 15060IFS=" "" $as_nl" 15061 15062# Find who we are. Look in the path if we contain no directory separator. 15063case $0 in 15064 *[\\/]* ) as_myself=$0 ;; 15065 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15066for as_dir in $PATH 15067do 15068 IFS=$as_save_IFS 15069 test -z "$as_dir" && as_dir=. 15070 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 15071done 15072IFS=$as_save_IFS 15073 15074 ;; 15075esac 15076# We did not find ourselves, most probably we were run as `sh COMMAND' 15077# in which case we are not to be found in the path. 15078if test "x$as_myself" = x; then 15079 as_myself=$0 15080fi 15081if test ! -f "$as_myself"; then 15082 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 15083 { (exit 1); exit 1; } 15084fi 15085 15086# Work around bugs in pre-3.0 UWIN ksh. 15087for as_var in ENV MAIL MAILPATH 15088do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 15089done 15090PS1='$ ' 15091PS2='> ' 15092PS4='+ ' 15093 15094# NLS nuisances. 15095LC_ALL=C 15096export LC_ALL 15097LANGUAGE=C 15098export LANGUAGE 15099 15100# Required to use basename. 15101if expr a : '\(a\)' >/dev/null 2>&1 && 15102 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15103 as_expr=expr 15104else 15105 as_expr=false 15106fi 15107 15108if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 15109 as_basename=basename 15110else 15111 as_basename=false 15112fi 15113 15114 15115# Name of the executable. 15116as_me=`$as_basename -- "$0" || 15117$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 15118 X"$0" : 'X\(//\)$' \| \ 15119 X"$0" : 'X\(/\)' \| . 2>/dev/null || 15120$as_echo X/"$0" | 15121 sed '/^.*\/\([^/][^/]*\)\/*$/{ 15122 s//\1/ 15123 q 15124 } 15125 /^X\/\(\/\/\)$/{ 15126 s//\1/ 15127 q 15128 } 15129 /^X\/\(\/\).*/{ 15130 s//\1/ 15131 q 15132 } 15133 s/.*/./; q'` 15134 15135# CDPATH. 15136$as_unset CDPATH 15137 15138 15139 15140 as_lineno_1=$LINENO 15141 as_lineno_2=$LINENO 15142 test "x$as_lineno_1" != "x$as_lineno_2" && 15143 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 15144 15145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 15146 # uniformly replaced by the line number. The first 'sed' inserts a 15147 # line-number line after each line using $LINENO; the second 'sed' 15148 # does the real work. The second script uses 'N' to pair each 15149 # line-number line with the line containing $LINENO, and appends 15150 # trailing '-' during substitution so that $LINENO is not a special 15151 # case at line end. 15152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 15153 # scripts with optimization help from Paolo Bonzini. Blame Lee 15154 # E. McMahon (1931-1989) for sed's syntax. :-) 15155 sed -n ' 15156 p 15157 /[$]LINENO/= 15158 ' <$as_myself | 15159 sed ' 15160 s/[$]LINENO.*/&-/ 15161 t lineno 15162 b 15163 :lineno 15164 N 15165 :loop 15166 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 15167 t loop 15168 s/-\n.*// 15169 ' >$as_me.lineno && 15170 chmod +x "$as_me.lineno" || 15171 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 15172 { (exit 1); exit 1; }; } 15173 15174 # Don't try to exec as it changes $[0], causing all sort of problems 15175 # (the dirname of $[0] is not the place where we might find the 15176 # original and so on. Autoconf is especially sensitive to this). 15177 . "./$as_me.lineno" 15178 # Exit status is that of the last command. 15179 exit 15180} 15181 15182 15183if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 15184 as_dirname=dirname 15185else 15186 as_dirname=false 15187fi 15188 15189ECHO_C= ECHO_N= ECHO_T= 15190case `echo -n x` in 15191-n*) 15192 case `echo 'x\c'` in 15193 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 15194 *) ECHO_C='\c';; 15195 esac;; 15196*) 15197 ECHO_N='-n';; 15198esac 15199if expr a : '\(a\)' >/dev/null 2>&1 && 15200 test "X`expr 00001 : '.*\(...\)'`" = X001; then 15201 as_expr=expr 15202else 15203 as_expr=false 15204fi 15205 15206rm -f conf$$ conf$$.exe conf$$.file 15207if test -d conf$$.dir; then 15208 rm -f conf$$.dir/conf$$.file 15209else 15210 rm -f conf$$.dir 15211 mkdir conf$$.dir 2>/dev/null 15212fi 15213if (echo >conf$$.file) 2>/dev/null; then 15214 if ln -s conf$$.file conf$$ 2>/dev/null; then 15215 as_ln_s='ln -s' 15216 # ... but there are two gotchas: 15217 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 15218 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 15219 # In both cases, we have to default to `cp -p'. 15220 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 15221 as_ln_s='cp -p' 15222 elif ln conf$$.file conf$$ 2>/dev/null; then 15223 as_ln_s=ln 15224 else 15225 as_ln_s='cp -p' 15226 fi 15227else 15228 as_ln_s='cp -p' 15229fi 15230rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 15231rmdir conf$$.dir 2>/dev/null 15232 15233if mkdir -p . 2>/dev/null; then 15234 as_mkdir_p=: 15235else 15236 test -d ./-p && rmdir ./-p 15237 as_mkdir_p=false 15238fi 15239 15240if test -x / >/dev/null 2>&1; then 15241 as_test_x='test -x' 15242else 15243 if ls -dL / >/dev/null 2>&1; then 15244 as_ls_L_option=L 15245 else 15246 as_ls_L_option= 15247 fi 15248 as_test_x=' 15249 eval sh -c '\'' 15250 if test -d "$1"; then 15251 test -d "$1/."; 15252 else 15253 case $1 in 15254 -*)set "./$1";; 15255 esac; 15256 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 15257 ???[sx]*):;;*)false;;esac;fi 15258 '\'' sh 15259 ' 15260fi 15261as_executable_p=$as_test_x 15262 15263# Sed expression to map a string onto a valid CPP name. 15264as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 15265 15266# Sed expression to map a string onto a valid variable name. 15267as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 15268 15269 15270exec 6>&1 15271 15272# Save the log message, to keep $[0] and so on meaningful, and to 15273# report actual input values of CONFIG_FILES etc. instead of their 15274# values after options handling. 15275ac_log=" 15276This file was extended by $as_me, which was 15277generated by GNU Autoconf 2.63. Invocation command line was 15278 15279 CONFIG_FILES = $CONFIG_FILES 15280 CONFIG_HEADERS = $CONFIG_HEADERS 15281 CONFIG_LINKS = $CONFIG_LINKS 15282 CONFIG_COMMANDS = $CONFIG_COMMANDS 15283 $ $0 $@ 15284 15285on `(hostname || uname -n) 2>/dev/null | sed 1q` 15286" 15287 15288_ACEOF 15289 15290case $ac_config_files in *" 15291"*) set x $ac_config_files; shift; ac_config_files=$*;; 15292esac 15293 15294case $ac_config_headers in *" 15295"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 15296esac 15297 15298 15299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15300# Files that config.status was made for. 15301config_files="$ac_config_files" 15302config_headers="$ac_config_headers" 15303config_commands="$ac_config_commands" 15304 15305_ACEOF 15306 15307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15308ac_cs_usage="\ 15309\`$as_me' instantiates files from templates according to the 15310current configuration. 15311 15312Usage: $0 [OPTION]... [FILE]... 15313 15314 -h, --help print this help, then exit 15315 -V, --version print version number and configuration settings, then exit 15316 -q, --quiet, --silent 15317 do not print progress messages 15318 -d, --debug don't remove temporary files 15319 --recheck update $as_me by reconfiguring in the same conditions 15320 --file=FILE[:TEMPLATE] 15321 instantiate the configuration file FILE 15322 --header=FILE[:TEMPLATE] 15323 instantiate the configuration header FILE 15324 15325Configuration files: 15326$config_files 15327 15328Configuration headers: 15329$config_headers 15330 15331Configuration commands: 15332$config_commands 15333 15334Report bugs to <bug-autoconf@gnu.org>." 15335 15336_ACEOF 15337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15338ac_cs_version="\\ 15339config.status 15340configured by $0, generated by GNU Autoconf 2.63, 15341 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 15342 15343Copyright (C) 2008 Free Software Foundation, Inc. 15344This config.status script is free software; the Free Software Foundation 15345gives unlimited permission to copy, distribute and modify it." 15346 15347ac_pwd='$ac_pwd' 15348srcdir='$srcdir' 15349INSTALL='$INSTALL' 15350MKDIR_P='$MKDIR_P' 15351AWK='$AWK' 15352test -n "\$AWK" || AWK=awk 15353_ACEOF 15354 15355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15356# The default lists apply if the user does not specify any file. 15357ac_need_defaults=: 15358while test $# != 0 15359do 15360 case $1 in 15361 --*=*) 15362 ac_option=`expr "X$1" : 'X\([^=]*\)='` 15363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 15364 ac_shift=: 15365 ;; 15366 *) 15367 ac_option=$1 15368 ac_optarg=$2 15369 ac_shift=shift 15370 ;; 15371 esac 15372 15373 case $ac_option in 15374 # Handling of the options. 15375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 15376 ac_cs_recheck=: ;; 15377 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 15378 $as_echo "$ac_cs_version"; exit ;; 15379 --debug | --debu | --deb | --de | --d | -d ) 15380 debug=: ;; 15381 --file | --fil | --fi | --f ) 15382 $ac_shift 15383 case $ac_optarg in 15384 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15385 esac 15386 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 15387 ac_need_defaults=false;; 15388 --header | --heade | --head | --hea ) 15389 $ac_shift 15390 case $ac_optarg in 15391 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 15392 esac 15393 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 15394 ac_need_defaults=false;; 15395 --he | --h) 15396 # Conflict between --help and --header 15397 { $as_echo "$as_me: error: ambiguous option: $1 15398Try \`$0 --help' for more information." >&2 15399 { (exit 1); exit 1; }; };; 15400 --help | --hel | -h ) 15401 $as_echo "$ac_cs_usage"; exit ;; 15402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 15403 | -silent | --silent | --silen | --sile | --sil | --si | --s) 15404 ac_cs_silent=: ;; 15405 15406 # This is an error. 15407 -*) { $as_echo "$as_me: error: unrecognized option: $1 15408Try \`$0 --help' for more information." >&2 15409 { (exit 1); exit 1; }; } ;; 15410 15411 *) ac_config_targets="$ac_config_targets $1" 15412 ac_need_defaults=false ;; 15413 15414 esac 15415 shift 15416done 15417 15418ac_configure_extra_args= 15419 15420if $ac_cs_silent; then 15421 exec 6>/dev/null 15422 ac_configure_extra_args="$ac_configure_extra_args --silent" 15423fi 15424 15425_ACEOF 15426cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15427if \$ac_cs_recheck; then 15428 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 15429 shift 15430 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 15431 CONFIG_SHELL='$SHELL' 15432 export CONFIG_SHELL 15433 exec "\$@" 15434fi 15435 15436_ACEOF 15437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15438exec 5>>config.log 15439{ 15440 echo 15441 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 15442@%:@@%:@ Running $as_me. @%:@@%:@ 15443_ASBOX 15444 $as_echo "$ac_log" 15445} >&5 15446 15447_ACEOF 15448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15449# 15450# INIT-COMMANDS 15451# 15452AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 15453 15454 15455# The HP-UX ksh and POSIX shell print the target directory to stdout 15456# if CDPATH is set. 15457(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 15458 15459sed_quote_subst='$sed_quote_subst' 15460double_quote_subst='$double_quote_subst' 15461delay_variable_subst='$delay_variable_subst' 15462enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 15463macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 15464macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 15465enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 15466pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 15467enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 15468SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 15469ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 15470PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 15471host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 15472host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 15473host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 15474build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 15475build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 15476build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 15477SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 15478Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 15479GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 15480EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 15481FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 15482LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 15483NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 15484LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 15485max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 15486ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 15487exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 15488lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 15489lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 15490lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 15491lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 15492lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 15493reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 15494reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 15495OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 15496deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 15497file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 15498file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 15499want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 15500DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 15501sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 15502AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 15503AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 15504archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 15505STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 15506RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 15507old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15508old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15509old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 15510lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 15511CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 15512CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 15513compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 15514GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 15515lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 15516lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 15517lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 15518lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' 15519nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 15520lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 15521objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 15522MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 15523lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 15524lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 15525lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 15526lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 15527lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 15528need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 15529MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 15530DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 15531NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 15532LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 15533OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 15534OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 15535libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 15536shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 15537extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15538archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 15539enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 15540export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 15541whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 15542compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 15543old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 15544old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 15545archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 15546archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15547module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 15548module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 15549with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 15550allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 15551no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 15552hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 15553hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 15554hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 15555hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 15556hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 15557hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 15558hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 15559inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 15560link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 15561always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 15562export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 15563exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 15564include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 15565prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 15566postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 15567file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 15568variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 15569need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 15570need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 15571version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 15572runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 15573shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 15574shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 15575libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 15576library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 15577soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 15578install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 15579postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 15580postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 15581finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 15582finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 15583hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 15584sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 15585sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 15586hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 15587enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 15588enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 15589enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 15590old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 15591striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 15592 15593LTCC='$LTCC' 15594LTCFLAGS='$LTCFLAGS' 15595compiler='$compiler_DEFAULT' 15596 15597# A function that is used when there is no print builtin or printf. 15598func_fallback_echo () 15599{ 15600 eval 'cat <<_LTECHO_EOF 15601\$1 15602_LTECHO_EOF' 15603} 15604 15605# Quote evaled strings. 15606for var in SHELL \ 15607ECHO \ 15608PATH_SEPARATOR \ 15609SED \ 15610GREP \ 15611EGREP \ 15612FGREP \ 15613LD \ 15614NM \ 15615LN_S \ 15616lt_SP2NL \ 15617lt_NL2SP \ 15618reload_flag \ 15619OBJDUMP \ 15620deplibs_check_method \ 15621file_magic_cmd \ 15622file_magic_glob \ 15623want_nocaseglob \ 15624DLLTOOL \ 15625sharedlib_from_linklib_cmd \ 15626AR \ 15627AR_FLAGS \ 15628archiver_list_spec \ 15629STRIP \ 15630RANLIB \ 15631CC \ 15632CFLAGS \ 15633compiler \ 15634lt_cv_sys_global_symbol_pipe \ 15635lt_cv_sys_global_symbol_to_cdecl \ 15636lt_cv_sys_global_symbol_to_c_name_address \ 15637lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 15638nm_file_list_spec \ 15639lt_prog_compiler_no_builtin_flag \ 15640lt_prog_compiler_pic \ 15641lt_prog_compiler_wl \ 15642lt_prog_compiler_static \ 15643lt_cv_prog_compiler_c_o \ 15644need_locks \ 15645MANIFEST_TOOL \ 15646DSYMUTIL \ 15647NMEDIT \ 15648LIPO \ 15649OTOOL \ 15650OTOOL64 \ 15651shrext_cmds \ 15652export_dynamic_flag_spec \ 15653whole_archive_flag_spec \ 15654compiler_needs_object \ 15655with_gnu_ld \ 15656allow_undefined_flag \ 15657no_undefined_flag \ 15658hardcode_libdir_flag_spec \ 15659hardcode_libdir_separator \ 15660exclude_expsyms \ 15661include_expsyms \ 15662file_list_spec \ 15663variables_saved_for_relink \ 15664libname_spec \ 15665library_names_spec \ 15666soname_spec \ 15667install_override_mode \ 15668finish_eval \ 15669old_striplib \ 15670striplib; do 15671 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15672 *[\\\\\\\`\\"\\\$]*) 15673 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 15674 ;; 15675 *) 15676 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15677 ;; 15678 esac 15679done 15680 15681# Double-quote double-evaled strings. 15682for var in reload_cmds \ 15683old_postinstall_cmds \ 15684old_postuninstall_cmds \ 15685old_archive_cmds \ 15686extract_expsyms_cmds \ 15687old_archive_from_new_cmds \ 15688old_archive_from_expsyms_cmds \ 15689archive_cmds \ 15690archive_expsym_cmds \ 15691module_cmds \ 15692module_expsym_cmds \ 15693export_symbols_cmds \ 15694prelink_cmds \ 15695postlink_cmds \ 15696postinstall_cmds \ 15697postuninstall_cmds \ 15698finish_cmds \ 15699sys_lib_search_path_spec \ 15700sys_lib_dlsearch_path_spec; do 15701 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 15702 *[\\\\\\\`\\"\\\$]*) 15703 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 15704 ;; 15705 *) 15706 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 15707 ;; 15708 esac 15709done 15710 15711ac_aux_dir='$ac_aux_dir' 15712xsi_shell='$xsi_shell' 15713lt_shell_append='$lt_shell_append' 15714 15715# See if we are running on zsh, and set the options which allow our 15716# commands through without removal of \ escapes INIT. 15717if test -n "\${ZSH_VERSION+set}" ; then 15718 setopt NO_GLOB_SUBST 15719fi 15720 15721 15722 PACKAGE='$PACKAGE' 15723 VERSION='$VERSION' 15724 TIMESTAMP='$TIMESTAMP' 15725 RM='$RM' 15726 ofile='$ofile' 15727 15728 15729 15730 15731_ACEOF 15732 15733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15734 15735# Handling of arguments. 15736for ac_config_target in $ac_config_targets 15737do 15738 case $ac_config_target in 15739 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 15740 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 15741 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;; 15742 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 15743 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 15744 "doc/pictures/Makefile") CONFIG_FILES="$CONFIG_FILES doc/pictures/Makefile" ;; 15745 "doc/doxygen.cfg") CONFIG_FILES="$CONFIG_FILES doc/doxygen.cfg" ;; 15746 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 15747 "include/sound/Makefile") CONFIG_FILES="$CONFIG_FILES include/sound/Makefile" ;; 15748 "src/Versions") CONFIG_FILES="$CONFIG_FILES src/Versions" ;; 15749 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 15750 "src/control/Makefile") CONFIG_FILES="$CONFIG_FILES src/control/Makefile" ;; 15751 "src/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES src/mixer/Makefile" ;; 15752 "src/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/Makefile" ;; 15753 "src/pcm/scopes/Makefile") CONFIG_FILES="$CONFIG_FILES src/pcm/scopes/Makefile" ;; 15754 "src/rawmidi/Makefile") CONFIG_FILES="$CONFIG_FILES src/rawmidi/Makefile" ;; 15755 "src/timer/Makefile") CONFIG_FILES="$CONFIG_FILES src/timer/Makefile" ;; 15756 "src/hwdep/Makefile") CONFIG_FILES="$CONFIG_FILES src/hwdep/Makefile" ;; 15757 "src/seq/Makefile") CONFIG_FILES="$CONFIG_FILES src/seq/Makefile" ;; 15758 "src/ucm/Makefile") CONFIG_FILES="$CONFIG_FILES src/ucm/Makefile" ;; 15759 "src/compat/Makefile") CONFIG_FILES="$CONFIG_FILES src/compat/Makefile" ;; 15760 "src/alisp/Makefile") CONFIG_FILES="$CONFIG_FILES src/alisp/Makefile" ;; 15761 "src/conf/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/Makefile" ;; 15762 "src/conf/alsa.conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/alsa.conf.d/Makefile" ;; 15763 "src/conf/cards/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/cards/Makefile" ;; 15764 "src/conf/pcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/conf/pcm/Makefile" ;; 15765 "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;; 15766 "modules/mixer/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/Makefile" ;; 15767 "modules/mixer/simple/Makefile") CONFIG_FILES="$CONFIG_FILES modules/mixer/simple/Makefile" ;; 15768 "alsalisp/Makefile") CONFIG_FILES="$CONFIG_FILES alsalisp/Makefile" ;; 15769 "aserver/Makefile") CONFIG_FILES="$CONFIG_FILES aserver/Makefile" ;; 15770 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 15771 "test/lsb/Makefile") CONFIG_FILES="$CONFIG_FILES test/lsb/Makefile" ;; 15772 "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;; 15773 "utils/alsa-lib.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-lib.spec" ;; 15774 "utils/alsa.pc") CONFIG_FILES="$CONFIG_FILES utils/alsa.pc" ;; 15775 15776 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 15777$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 15778 { (exit 1); exit 1; }; };; 15779 esac 15780done 15781 15782 15783# If the user did not use the arguments to specify the items to instantiate, 15784# then the envvar interface is used. Set only those that are not. 15785# We use the long form for the default assignment because of an extremely 15786# bizarre bug on SunOS 4.1.3. 15787if $ac_need_defaults; then 15788 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 15789 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 15790 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 15791fi 15792 15793# Have a temporary directory for convenience. Make it in the build tree 15794# simply because there is no reason against having it here, and in addition, 15795# creating and moving files from /tmp can sometimes cause problems. 15796# Hook for its removal unless debugging. 15797# Note that there is a small window in which the directory will not be cleaned: 15798# after its creation but before its name has been assigned to `$tmp'. 15799$debug || 15800{ 15801 tmp= 15802 trap 'exit_status=$? 15803 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 15804' 0 15805 trap '{ (exit 1); exit 1; }' 1 2 13 15 15806} 15807# Create a (secure) tmp directory for tmp files. 15808 15809{ 15810 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 15811 test -n "$tmp" && test -d "$tmp" 15812} || 15813{ 15814 tmp=./conf$$-$RANDOM 15815 (umask 077 && mkdir "$tmp") 15816} || 15817{ 15818 $as_echo "$as_me: cannot create a temporary directory in ." >&2 15819 { (exit 1); exit 1; } 15820} 15821 15822# Set up the scripts for CONFIG_FILES section. 15823# No need to generate them if there are no CONFIG_FILES. 15824# This happens for instance with `./config.status config.h'. 15825if test -n "$CONFIG_FILES"; then 15826 15827 15828ac_cr=' 15829' 15830ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 15831if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 15832 ac_cs_awk_cr='\\r' 15833else 15834 ac_cs_awk_cr=$ac_cr 15835fi 15836 15837echo 'BEGIN {' >"$tmp/subs1.awk" && 15838_ACEOF 15839 15840 15841{ 15842 echo "cat >conf$$subs.awk <<_ACEOF" && 15843 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 15844 echo "_ACEOF" 15845} >conf$$subs.sh || 15846 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 15847$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 15848 { (exit 1); exit 1; }; } 15849ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 15850ac_delim='%!_!# ' 15851for ac_last_try in false false false false false :; do 15852 . ./conf$$subs.sh || 15853 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 15854$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 15855 { (exit 1); exit 1; }; } 15856 15857 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 15858 if test $ac_delim_n = $ac_delim_num; then 15859 break 15860 elif $ac_last_try; then 15861 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 15862$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 15863 { (exit 1); exit 1; }; } 15864 else 15865 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 15866 fi 15867done 15868rm -f conf$$subs.sh 15869 15870cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15871cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 15872_ACEOF 15873sed -n ' 15874h 15875s/^/S["/; s/!.*/"]=/ 15876p 15877g 15878s/^[^!]*!// 15879:repl 15880t repl 15881s/'"$ac_delim"'$// 15882t delim 15883:nl 15884h 15885s/\(.\{148\}\).*/\1/ 15886t more1 15887s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 15888p 15889n 15890b repl 15891:more1 15892s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15893p 15894g 15895s/.\{148\}// 15896t nl 15897:delim 15898h 15899s/\(.\{148\}\).*/\1/ 15900t more2 15901s/["\\]/\\&/g; s/^/"/; s/$/"/ 15902p 15903b 15904:more2 15905s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 15906p 15907g 15908s/.\{148\}// 15909t delim 15910' <conf$$subs.awk | sed ' 15911/^[^""]/{ 15912 N 15913 s/\n// 15914} 15915' >>$CONFIG_STATUS || ac_write_fail=1 15916rm -f conf$$subs.awk 15917cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15918_ACAWK 15919cat >>"\$tmp/subs1.awk" <<_ACAWK && 15920 for (key in S) S_is_set[key] = 1 15921 FS = "" 15922 15923} 15924{ 15925 line = $ 0 15926 nfields = split(line, field, "@") 15927 substed = 0 15928 len = length(field[1]) 15929 for (i = 2; i < nfields; i++) { 15930 key = field[i] 15931 keylen = length(key) 15932 if (S_is_set[key]) { 15933 value = S[key] 15934 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 15935 len += length(value) + length(field[++i]) 15936 substed = 1 15937 } else 15938 len += 1 + keylen 15939 } 15940 15941 print line 15942} 15943 15944_ACAWK 15945_ACEOF 15946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15947if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 15948 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 15949else 15950 cat 15951fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 15952 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 15953$as_echo "$as_me: error: could not setup config files machinery" >&2;} 15954 { (exit 1); exit 1; }; } 15955_ACEOF 15956 15957# VPATH may cause trouble with some makes, so we remove $(srcdir), 15958# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 15959# trailing colons and then remove the whole line if VPATH becomes empty 15960# (actually we leave an empty line to preserve line numbers). 15961if test "x$srcdir" = x.; then 15962 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 15963s/:*\$(srcdir):*/:/ 15964s/:*\${srcdir}:*/:/ 15965s/:*@srcdir@:*/:/ 15966s/^\([^=]*=[ ]*\):*/\1/ 15967s/:*$// 15968s/^[^=]*=[ ]*$// 15969}' 15970fi 15971 15972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15973fi # test -n "$CONFIG_FILES" 15974 15975# Set up the scripts for CONFIG_HEADERS section. 15976# No need to generate them if there are no CONFIG_HEADERS. 15977# This happens for instance with `./config.status Makefile'. 15978if test -n "$CONFIG_HEADERS"; then 15979cat >"$tmp/defines.awk" <<\_ACAWK || 15980BEGIN { 15981_ACEOF 15982 15983# Transform confdefs.h into an awk script `defines.awk', embedded as 15984# here-document in config.status, that substitutes the proper values into 15985# config.h.in to produce config.h. 15986 15987# Create a delimiter string that does not exist in confdefs.h, to ease 15988# handling of long lines. 15989ac_delim='%!_!# ' 15990for ac_last_try in false false :; do 15991 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 15992 if test -z "$ac_t"; then 15993 break 15994 elif $ac_last_try; then 15995 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 15996$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 15997 { (exit 1); exit 1; }; } 15998 else 15999 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 16000 fi 16001done 16002 16003# For the awk script, D is an array of macro values keyed by name, 16004# likewise P contains macro parameters if any. Preserve backslash 16005# newline sequences. 16006 16007ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 16008sed -n ' 16009s/.\{148\}/&'"$ac_delim"'/g 16010t rset 16011:rset 16012s/^[ ]*#[ ]*define[ ][ ]*/ / 16013t def 16014d 16015:def 16016s/\\$// 16017t bsnl 16018s/["\\]/\\&/g 16019s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16020D["\1"]=" \3"/p 16021s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 16022d 16023:bsnl 16024s/["\\]/\\&/g 16025s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 16026D["\1"]=" \3\\\\\\n"\\/p 16027t cont 16028s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 16029t cont 16030d 16031:cont 16032n 16033s/.\{148\}/&'"$ac_delim"'/g 16034t clear 16035:clear 16036s/\\$// 16037t bsnlc 16038s/["\\]/\\&/g; s/^/"/; s/$/"/p 16039d 16040:bsnlc 16041s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 16042b cont 16043' <confdefs.h | sed ' 16044s/'"$ac_delim"'/"\\\ 16045"/g' >>$CONFIG_STATUS || ac_write_fail=1 16046 16047cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16048 for (key in D) D_is_set[key] = 1 16049 FS = "" 16050} 16051/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 16052 line = \$ 0 16053 split(line, arg, " ") 16054 if (arg[1] == "#") { 16055 defundef = arg[2] 16056 mac1 = arg[3] 16057 } else { 16058 defundef = substr(arg[1], 2) 16059 mac1 = arg[2] 16060 } 16061 split(mac1, mac2, "(") #) 16062 macro = mac2[1] 16063 prefix = substr(line, 1, index(line, defundef) - 1) 16064 if (D_is_set[macro]) { 16065 # Preserve the white space surrounding the "#". 16066 print prefix "define", macro P[macro] D[macro] 16067 next 16068 } else { 16069 # Replace #undef with comments. This is necessary, for example, 16070 # in the case of _POSIX_SOURCE, which is predefined and required 16071 # on some systems where configure will not decide to define it. 16072 if (defundef == "undef") { 16073 print "/*", prefix defundef, macro, "*/" 16074 next 16075 } 16076 } 16077} 16078{ print } 16079_ACAWK 16080_ACEOF 16081cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16082 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 16083$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 16084 { (exit 1); exit 1; }; } 16085fi # test -n "$CONFIG_HEADERS" 16086 16087 16088eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 16089shift 16090for ac_tag 16091do 16092 case $ac_tag in 16093 :[FHLC]) ac_mode=$ac_tag; continue;; 16094 esac 16095 case $ac_mode$ac_tag in 16096 :[FHL]*:*);; 16097 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 16098$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 16099 { (exit 1); exit 1; }; };; 16100 :[FH]-) ac_tag=-:-;; 16101 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 16102 esac 16103 ac_save_IFS=$IFS 16104 IFS=: 16105 set x $ac_tag 16106 IFS=$ac_save_IFS 16107 shift 16108 ac_file=$1 16109 shift 16110 16111 case $ac_mode in 16112 :L) ac_source=$1;; 16113 :[FH]) 16114 ac_file_inputs= 16115 for ac_f 16116 do 16117 case $ac_f in 16118 -) ac_f="$tmp/stdin";; 16119 *) # Look for the file first in the build tree, then in the source tree 16120 # (if the path is not absolute). The absolute path cannot be DOS-style, 16121 # because $ac_f cannot contain `:'. 16122 test -f "$ac_f" || 16123 case $ac_f in 16124 [\\/$]*) false;; 16125 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 16126 esac || 16127 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 16128$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 16129 { (exit 1); exit 1; }; };; 16130 esac 16131 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 16132 ac_file_inputs="$ac_file_inputs '$ac_f'" 16133 done 16134 16135 # Let's still pretend it is `configure' which instantiates (i.e., don't 16136 # use $as_me), people would be surprised to read: 16137 # /* config.h. Generated by config.status. */ 16138 configure_input='Generated from '` 16139 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 16140 `' by configure.' 16141 if test x"$ac_file" != x-; then 16142 configure_input="$ac_file. $configure_input" 16143 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 16144$as_echo "$as_me: creating $ac_file" >&6;} 16145 fi 16146 # Neutralize special characters interpreted by sed in replacement strings. 16147 case $configure_input in #( 16148 *\&* | *\|* | *\\* ) 16149 ac_sed_conf_input=`$as_echo "$configure_input" | 16150 sed 's/[\\\\&|]/\\\\&/g'`;; #( 16151 *) ac_sed_conf_input=$configure_input;; 16152 esac 16153 16154 case $ac_tag in 16155 *:-:* | *:-) cat >"$tmp/stdin" \ 16156 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16157$as_echo "$as_me: error: could not create $ac_file" >&2;} 16158 { (exit 1); exit 1; }; } ;; 16159 esac 16160 ;; 16161 esac 16162 16163 ac_dir=`$as_dirname -- "$ac_file" || 16164$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16165 X"$ac_file" : 'X\(//\)[^/]' \| \ 16166 X"$ac_file" : 'X\(//\)$' \| \ 16167 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 16168$as_echo X"$ac_file" | 16169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16170 s//\1/ 16171 q 16172 } 16173 /^X\(\/\/\)[^/].*/{ 16174 s//\1/ 16175 q 16176 } 16177 /^X\(\/\/\)$/{ 16178 s//\1/ 16179 q 16180 } 16181 /^X\(\/\).*/{ 16182 s//\1/ 16183 q 16184 } 16185 s/.*/./; q'` 16186 { as_dir="$ac_dir" 16187 case $as_dir in #( 16188 -*) as_dir=./$as_dir;; 16189 esac 16190 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16191 as_dirs= 16192 while :; do 16193 case $as_dir in #( 16194 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16195 *) as_qdir=$as_dir;; 16196 esac 16197 as_dirs="'$as_qdir' $as_dirs" 16198 as_dir=`$as_dirname -- "$as_dir" || 16199$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16200 X"$as_dir" : 'X\(//\)[^/]' \| \ 16201 X"$as_dir" : 'X\(//\)$' \| \ 16202 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16203$as_echo X"$as_dir" | 16204 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16205 s//\1/ 16206 q 16207 } 16208 /^X\(\/\/\)[^/].*/{ 16209 s//\1/ 16210 q 16211 } 16212 /^X\(\/\/\)$/{ 16213 s//\1/ 16214 q 16215 } 16216 /^X\(\/\).*/{ 16217 s//\1/ 16218 q 16219 } 16220 s/.*/./; q'` 16221 test -d "$as_dir" && break 16222 done 16223 test -z "$as_dirs" || eval "mkdir $as_dirs" 16224 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16225$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 16226 { (exit 1); exit 1; }; }; } 16227 ac_builddir=. 16228 16229case "$ac_dir" in 16230.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 16231*) 16232 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 16233 # A ".." for each directory in $ac_dir_suffix. 16234 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 16235 case $ac_top_builddir_sub in 16236 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 16237 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 16238 esac ;; 16239esac 16240ac_abs_top_builddir=$ac_pwd 16241ac_abs_builddir=$ac_pwd$ac_dir_suffix 16242# for backward compatibility: 16243ac_top_builddir=$ac_top_build_prefix 16244 16245case $srcdir in 16246 .) # We are building in place. 16247 ac_srcdir=. 16248 ac_top_srcdir=$ac_top_builddir_sub 16249 ac_abs_top_srcdir=$ac_pwd ;; 16250 [\\/]* | ?:[\\/]* ) # Absolute name. 16251 ac_srcdir=$srcdir$ac_dir_suffix; 16252 ac_top_srcdir=$srcdir 16253 ac_abs_top_srcdir=$srcdir ;; 16254 *) # Relative name. 16255 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 16256 ac_top_srcdir=$ac_top_build_prefix$srcdir 16257 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 16258esac 16259ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 16260 16261 16262 case $ac_mode in 16263 :F) 16264 # 16265 # CONFIG_FILE 16266 # 16267 16268 case $INSTALL in 16269 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 16270 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 16271 esac 16272 ac_MKDIR_P=$MKDIR_P 16273 case $MKDIR_P in 16274 [\\/$]* | ?:[\\/]* ) ;; 16275 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 16276 esac 16277_ACEOF 16278 16279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16280# If the template does not know about datarootdir, expand it. 16281# FIXME: This hack should be removed a few years after 2.60. 16282ac_datarootdir_hack=; ac_datarootdir_seen= 16283 16284ac_sed_dataroot=' 16285/datarootdir/ { 16286 p 16287 q 16288} 16289/@datadir@/p 16290/@docdir@/p 16291/@infodir@/p 16292/@localedir@/p 16293/@mandir@/p 16294' 16295case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 16296*datarootdir*) ac_datarootdir_seen=yes;; 16297*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 16298 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 16299$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 16300_ACEOF 16301cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16302 ac_datarootdir_hack=' 16303 s&@datadir@&$datadir&g 16304 s&@docdir@&$docdir&g 16305 s&@infodir@&$infodir&g 16306 s&@localedir@&$localedir&g 16307 s&@mandir@&$mandir&g 16308 s&\\\${datarootdir}&$datarootdir&g' ;; 16309esac 16310_ACEOF 16311 16312# Neutralize VPATH when `$srcdir' = `.'. 16313# Shell code in configure.ac might set extrasub. 16314# FIXME: do we really want to maintain this feature? 16315cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 16316ac_sed_extra="$ac_vpsub 16317$extrasub 16318_ACEOF 16319cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 16320:t 16321/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 16322s|@configure_input@|$ac_sed_conf_input|;t t 16323s&@top_builddir@&$ac_top_builddir_sub&;t t 16324s&@top_build_prefix@&$ac_top_build_prefix&;t t 16325s&@srcdir@&$ac_srcdir&;t t 16326s&@abs_srcdir@&$ac_abs_srcdir&;t t 16327s&@top_srcdir@&$ac_top_srcdir&;t t 16328s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 16329s&@builddir@&$ac_builddir&;t t 16330s&@abs_builddir@&$ac_abs_builddir&;t t 16331s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 16332s&@INSTALL@&$ac_INSTALL&;t t 16333s&@MKDIR_P@&$ac_MKDIR_P&;t t 16334$ac_datarootdir_hack 16335" 16336eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 16337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16338$as_echo "$as_me: error: could not create $ac_file" >&2;} 16339 { (exit 1); exit 1; }; } 16340 16341test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 16342 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 16343 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 16344 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16345which seems to be undefined. Please make sure it is defined." >&5 16346$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 16347which seems to be undefined. Please make sure it is defined." >&2;} 16348 16349 rm -f "$tmp/stdin" 16350 case $ac_file in 16351 -) cat "$tmp/out" && rm -f "$tmp/out";; 16352 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 16353 esac \ 16354 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16355$as_echo "$as_me: error: could not create $ac_file" >&2;} 16356 { (exit 1); exit 1; }; } 16357 ;; 16358 :H) 16359 # 16360 # CONFIG_HEADER 16361 # 16362 if test x"$ac_file" != x-; then 16363 { 16364 $as_echo "/* $configure_input */" \ 16365 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 16366 } >"$tmp/config.h" \ 16367 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16368$as_echo "$as_me: error: could not create $ac_file" >&2;} 16369 { (exit 1); exit 1; }; } 16370 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 16371 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 16372$as_echo "$as_me: $ac_file is unchanged" >&6;} 16373 else 16374 rm -f "$ac_file" 16375 mv "$tmp/config.h" "$ac_file" \ 16376 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 16377$as_echo "$as_me: error: could not create $ac_file" >&2;} 16378 { (exit 1); exit 1; }; } 16379 fi 16380 else 16381 $as_echo "/* $configure_input */" \ 16382 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 16383 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 16384$as_echo "$as_me: error: could not create -" >&2;} 16385 { (exit 1); exit 1; }; } 16386 fi 16387# Compute "$ac_file"'s index in $config_headers. 16388_am_arg="$ac_file" 16389_am_stamp_count=1 16390for _am_header in $config_headers :; do 16391 case $_am_header in 16392 $_am_arg | $_am_arg:* ) 16393 break ;; 16394 * ) 16395 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 16396 esac 16397done 16398echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 16399$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16400 X"$_am_arg" : 'X\(//\)[^/]' \| \ 16401 X"$_am_arg" : 'X\(//\)$' \| \ 16402 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 16403$as_echo X"$_am_arg" | 16404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16405 s//\1/ 16406 q 16407 } 16408 /^X\(\/\/\)[^/].*/{ 16409 s//\1/ 16410 q 16411 } 16412 /^X\(\/\/\)$/{ 16413 s//\1/ 16414 q 16415 } 16416 /^X\(\/\).*/{ 16417 s//\1/ 16418 q 16419 } 16420 s/.*/./; q'`/stamp-h$_am_stamp_count 16421 ;; 16422 16423 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 16424$as_echo "$as_me: executing $ac_file commands" >&6;} 16425 ;; 16426 esac 16427 16428 16429 case $ac_file$ac_mode in 16430 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 16431 # Autoconf 2.62 quotes --file arguments for eval, but not when files 16432 # are listed without --file. Let's play safe and only enable the eval 16433 # if we detect the quoting. 16434 case $CONFIG_FILES in 16435 *\'*) eval set x "$CONFIG_FILES" ;; 16436 *) set x $CONFIG_FILES ;; 16437 esac 16438 shift 16439 for mf 16440 do 16441 # Strip MF so we end up with the name of the file. 16442 mf=`echo "$mf" | sed -e 's/:.*$//'` 16443 # Check whether this is an Automake generated Makefile or not. 16444 # We used to match only the files named `Makefile.in', but 16445 # some people rename them; so instead we look at the file content. 16446 # Grep'ing the first line is not enough: some people post-process 16447 # each Makefile.in and add a new line on top of each file to say so. 16448 # Grep'ing the whole file is not good either: AIX grep has a line 16449 # limit of 2048, but all sed's we know have understand at least 4000. 16450 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 16451 dirpart=`$as_dirname -- "$mf" || 16452$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16453 X"$mf" : 'X\(//\)[^/]' \| \ 16454 X"$mf" : 'X\(//\)$' \| \ 16455 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 16456$as_echo X"$mf" | 16457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16458 s//\1/ 16459 q 16460 } 16461 /^X\(\/\/\)[^/].*/{ 16462 s//\1/ 16463 q 16464 } 16465 /^X\(\/\/\)$/{ 16466 s//\1/ 16467 q 16468 } 16469 /^X\(\/\).*/{ 16470 s//\1/ 16471 q 16472 } 16473 s/.*/./; q'` 16474 else 16475 continue 16476 fi 16477 # Extract the definition of DEPDIR, am__include, and am__quote 16478 # from the Makefile without running `make'. 16479 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 16480 test -z "$DEPDIR" && continue 16481 am__include=`sed -n 's/^am__include = //p' < "$mf"` 16482 test -z "am__include" && continue 16483 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 16484 # When using ansi2knr, U may be empty or an underscore; expand it 16485 U=`sed -n 's/^U = //p' < "$mf"` 16486 # Find all dependency output files, they are included files with 16487 # $(DEPDIR) in their names. We invoke sed twice because it is the 16488 # simplest approach to changing $(DEPDIR) to its actual value in the 16489 # expansion. 16490 for file in `sed -n " 16491 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 16492 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 16493 # Make sure the directory exists. 16494 test -f "$dirpart/$file" && continue 16495 fdir=`$as_dirname -- "$file" || 16496$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16497 X"$file" : 'X\(//\)[^/]' \| \ 16498 X"$file" : 'X\(//\)$' \| \ 16499 X"$file" : 'X\(/\)' \| . 2>/dev/null || 16500$as_echo X"$file" | 16501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16502 s//\1/ 16503 q 16504 } 16505 /^X\(\/\/\)[^/].*/{ 16506 s//\1/ 16507 q 16508 } 16509 /^X\(\/\/\)$/{ 16510 s//\1/ 16511 q 16512 } 16513 /^X\(\/\).*/{ 16514 s//\1/ 16515 q 16516 } 16517 s/.*/./; q'` 16518 { as_dir=$dirpart/$fdir 16519 case $as_dir in #( 16520 -*) as_dir=./$as_dir;; 16521 esac 16522 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 16523 as_dirs= 16524 while :; do 16525 case $as_dir in #( 16526 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 16527 *) as_qdir=$as_dir;; 16528 esac 16529 as_dirs="'$as_qdir' $as_dirs" 16530 as_dir=`$as_dirname -- "$as_dir" || 16531$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16532 X"$as_dir" : 'X\(//\)[^/]' \| \ 16533 X"$as_dir" : 'X\(//\)$' \| \ 16534 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 16535$as_echo X"$as_dir" | 16536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 16537 s//\1/ 16538 q 16539 } 16540 /^X\(\/\/\)[^/].*/{ 16541 s//\1/ 16542 q 16543 } 16544 /^X\(\/\/\)$/{ 16545 s//\1/ 16546 q 16547 } 16548 /^X\(\/\).*/{ 16549 s//\1/ 16550 q 16551 } 16552 s/.*/./; q'` 16553 test -d "$as_dir" && break 16554 done 16555 test -z "$as_dirs" || eval "mkdir $as_dirs" 16556 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 16557$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 16558 { (exit 1); exit 1; }; }; } 16559 # echo "creating $dirpart/$file" 16560 echo '# dummy' > "$dirpart/$file" 16561 done 16562 done 16563} 16564 ;; 16565 "libtool":C) 16566 16567 # See if we are running on zsh, and set the options which allow our 16568 # commands through without removal of \ escapes. 16569 if test -n "${ZSH_VERSION+set}" ; then 16570 setopt NO_GLOB_SUBST 16571 fi 16572 16573 cfgfile="${ofile}T" 16574 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 16575 $RM "$cfgfile" 16576 16577 cat <<_LT_EOF >> "$cfgfile" 16578#! $SHELL 16579 16580# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 16581# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 16582# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 16583# NOTE: Changes made to this file will be lost: look at ltmain.sh. 16584# 16585# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 16586# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 16587# Foundation, Inc. 16588# Written by Gordon Matzigkeit, 1996 16589# 16590# This file is part of GNU Libtool. 16591# 16592# GNU Libtool is free software; you can redistribute it and/or 16593# modify it under the terms of the GNU General Public License as 16594# published by the Free Software Foundation; either version 2 of 16595# the License, or (at your option) any later version. 16596# 16597# As a special exception to the GNU General Public License, 16598# if you distribute this file as part of a program or library that 16599# is built using GNU Libtool, you may include this file under the 16600# same distribution terms that you use for the rest of that program. 16601# 16602# GNU Libtool is distributed in the hope that it will be useful, 16603# but WITHOUT ANY WARRANTY; without even the implied warranty of 16604# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16605# GNU General Public License for more details. 16606# 16607# You should have received a copy of the GNU General Public License 16608# along with GNU Libtool; see the file COPYING. If not, a copy 16609# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 16610# obtained by writing to the Free Software Foundation, Inc., 16611# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 16612 16613 16614# The names of the tagged configurations supported by this script. 16615available_tags="" 16616 16617# ### BEGIN LIBTOOL CONFIG 16618 16619# Whether or not to build static libraries. 16620build_old_libs=$enable_static 16621 16622# Which release of libtool.m4 was used? 16623macro_version=$macro_version 16624macro_revision=$macro_revision 16625 16626# Whether or not to build shared libraries. 16627build_libtool_libs=$enable_shared 16628 16629# What type of objects to build. 16630pic_mode=$pic_mode 16631 16632# Whether or not to optimize for fast installation. 16633fast_install=$enable_fast_install 16634 16635# Shell to use when invoking shell scripts. 16636SHELL=$lt_SHELL 16637 16638# An echo program that protects backslashes. 16639ECHO=$lt_ECHO 16640 16641# The PATH separator for the build system. 16642PATH_SEPARATOR=$lt_PATH_SEPARATOR 16643 16644# The host system. 16645host_alias=$host_alias 16646host=$host 16647host_os=$host_os 16648 16649# The build system. 16650build_alias=$build_alias 16651build=$build 16652build_os=$build_os 16653 16654# A sed program that does not truncate output. 16655SED=$lt_SED 16656 16657# Sed that helps us avoid accidentally triggering echo(1) options like -n. 16658Xsed="\$SED -e 1s/^X//" 16659 16660# A grep program that handles long lines. 16661GREP=$lt_GREP 16662 16663# An ERE matcher. 16664EGREP=$lt_EGREP 16665 16666# A literal string matcher. 16667FGREP=$lt_FGREP 16668 16669# A BSD- or MS-compatible name lister. 16670NM=$lt_NM 16671 16672# Whether we need soft or hard links. 16673LN_S=$lt_LN_S 16674 16675# What is the maximum length of a command? 16676max_cmd_len=$max_cmd_len 16677 16678# Object file suffix (normally "o"). 16679objext=$ac_objext 16680 16681# Executable file suffix (normally ""). 16682exeext=$exeext 16683 16684# whether the shell understands "unset". 16685lt_unset=$lt_unset 16686 16687# turn spaces into newlines. 16688SP2NL=$lt_lt_SP2NL 16689 16690# turn newlines into spaces. 16691NL2SP=$lt_lt_NL2SP 16692 16693# convert \$build file names to \$host format. 16694to_host_file_cmd=$lt_cv_to_host_file_cmd 16695 16696# convert \$build files to toolchain format. 16697to_tool_file_cmd=$lt_cv_to_tool_file_cmd 16698 16699# An object symbol dumper. 16700OBJDUMP=$lt_OBJDUMP 16701 16702# Method to check whether dependent libraries are shared objects. 16703deplibs_check_method=$lt_deplibs_check_method 16704 16705# Command to use when deplibs_check_method = "file_magic". 16706file_magic_cmd=$lt_file_magic_cmd 16707 16708# How to find potential files when deplibs_check_method = "file_magic". 16709file_magic_glob=$lt_file_magic_glob 16710 16711# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 16712want_nocaseglob=$lt_want_nocaseglob 16713 16714# DLL creation program. 16715DLLTOOL=$lt_DLLTOOL 16716 16717# Command to associate shared and link libraries. 16718sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 16719 16720# The archiver. 16721AR=$lt_AR 16722 16723# Flags to create an archive. 16724AR_FLAGS=$lt_AR_FLAGS 16725 16726# How to feed a file listing to the archiver. 16727archiver_list_spec=$lt_archiver_list_spec 16728 16729# A symbol stripping program. 16730STRIP=$lt_STRIP 16731 16732# Commands used to install an old-style archive. 16733RANLIB=$lt_RANLIB 16734old_postinstall_cmds=$lt_old_postinstall_cmds 16735old_postuninstall_cmds=$lt_old_postuninstall_cmds 16736 16737# Whether to use a lock for old archive extraction. 16738lock_old_archive_extraction=$lock_old_archive_extraction 16739 16740# A C compiler. 16741LTCC=$lt_CC 16742 16743# LTCC compiler flags. 16744LTCFLAGS=$lt_CFLAGS 16745 16746# Take the output of nm and produce a listing of raw symbols and C names. 16747global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 16748 16749# Transform the output of nm in a proper C declaration. 16750global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 16751 16752# Transform the output of nm in a C name address pair. 16753global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 16754 16755# Transform the output of nm in a C name address pair when lib prefix is needed. 16756global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 16757 16758# Specify filename containing input files for \$NM. 16759nm_file_list_spec=$lt_nm_file_list_spec 16760 16761# The root where to search for dependent libraries,and in which our libraries should be installed. 16762lt_sysroot=$lt_sysroot 16763 16764# The name of the directory that contains temporary libtool files. 16765objdir=$objdir 16766 16767# Used to examine libraries when file_magic_cmd begins with "file". 16768MAGIC_CMD=$MAGIC_CMD 16769 16770# Must we lock files when doing compilation? 16771need_locks=$lt_need_locks 16772 16773# Manifest tool. 16774MANIFEST_TOOL=$lt_MANIFEST_TOOL 16775 16776# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 16777DSYMUTIL=$lt_DSYMUTIL 16778 16779# Tool to change global to local symbols on Mac OS X. 16780NMEDIT=$lt_NMEDIT 16781 16782# Tool to manipulate fat objects and archives on Mac OS X. 16783LIPO=$lt_LIPO 16784 16785# ldd/readelf like tool for Mach-O binaries on Mac OS X. 16786OTOOL=$lt_OTOOL 16787 16788# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 16789OTOOL64=$lt_OTOOL64 16790 16791# Old archive suffix (normally "a"). 16792libext=$libext 16793 16794# Shared library suffix (normally ".so"). 16795shrext_cmds=$lt_shrext_cmds 16796 16797# The commands to extract the exported symbol list from a shared archive. 16798extract_expsyms_cmds=$lt_extract_expsyms_cmds 16799 16800# Variables whose values should be saved in libtool wrapper scripts and 16801# restored at link time. 16802variables_saved_for_relink=$lt_variables_saved_for_relink 16803 16804# Do we need the "lib" prefix for modules? 16805need_lib_prefix=$need_lib_prefix 16806 16807# Do we need a version for libraries? 16808need_version=$need_version 16809 16810# Library versioning type. 16811version_type=$version_type 16812 16813# Shared library runtime path variable. 16814runpath_var=$runpath_var 16815 16816# Shared library path variable. 16817shlibpath_var=$shlibpath_var 16818 16819# Is shlibpath searched before the hard-coded library search path? 16820shlibpath_overrides_runpath=$shlibpath_overrides_runpath 16821 16822# Format of library name prefix. 16823libname_spec=$lt_libname_spec 16824 16825# List of archive names. First name is the real one, the rest are links. 16826# The last name is the one that the linker finds with -lNAME 16827library_names_spec=$lt_library_names_spec 16828 16829# The coded name of the library, if different from the real name. 16830soname_spec=$lt_soname_spec 16831 16832# Permission mode override for installation of shared libraries. 16833install_override_mode=$lt_install_override_mode 16834 16835# Command to use after installation of a shared archive. 16836postinstall_cmds=$lt_postinstall_cmds 16837 16838# Command to use after uninstallation of a shared archive. 16839postuninstall_cmds=$lt_postuninstall_cmds 16840 16841# Commands used to finish a libtool library installation in a directory. 16842finish_cmds=$lt_finish_cmds 16843 16844# As "finish_cmds", except a single script fragment to be evaled but 16845# not shown. 16846finish_eval=$lt_finish_eval 16847 16848# Whether we should hardcode library paths into libraries. 16849hardcode_into_libs=$hardcode_into_libs 16850 16851# Compile-time system search path for libraries. 16852sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 16853 16854# Run-time system search path for libraries. 16855sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 16856 16857# Whether dlopen is supported. 16858dlopen_support=$enable_dlopen 16859 16860# Whether dlopen of programs is supported. 16861dlopen_self=$enable_dlopen_self 16862 16863# Whether dlopen of statically linked programs is supported. 16864dlopen_self_static=$enable_dlopen_self_static 16865 16866# Commands to strip libraries. 16867old_striplib=$lt_old_striplib 16868striplib=$lt_striplib 16869 16870 16871# The linker used to build libraries. 16872LD=$lt_LD 16873 16874# How to create reloadable object files. 16875reload_flag=$lt_reload_flag 16876reload_cmds=$lt_reload_cmds 16877 16878# Commands used to build an old-style archive. 16879old_archive_cmds=$lt_old_archive_cmds 16880 16881# A language specific compiler. 16882CC=$lt_compiler 16883 16884# Is the compiler the GNU compiler? 16885with_gcc=$GCC 16886 16887# Compiler flag to turn off builtin functions. 16888no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 16889 16890# Additional compiler flags for building library objects. 16891pic_flag=$lt_lt_prog_compiler_pic 16892 16893# How to pass a linker flag through the compiler. 16894wl=$lt_lt_prog_compiler_wl 16895 16896# Compiler flag to prevent dynamic linking. 16897link_static_flag=$lt_lt_prog_compiler_static 16898 16899# Does compiler simultaneously support -c and -o options? 16900compiler_c_o=$lt_lt_cv_prog_compiler_c_o 16901 16902# Whether or not to add -lc for building shared libraries. 16903build_libtool_need_lc=$archive_cmds_need_lc 16904 16905# Whether or not to disallow shared libs when runtime libs are static. 16906allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 16907 16908# Compiler flag to allow reflexive dlopens. 16909export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 16910 16911# Compiler flag to generate shared objects directly from archives. 16912whole_archive_flag_spec=$lt_whole_archive_flag_spec 16913 16914# Whether the compiler copes with passing no objects directly. 16915compiler_needs_object=$lt_compiler_needs_object 16916 16917# Create an old-style archive from a shared archive. 16918old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 16919 16920# Create a temporary old-style archive to link instead of a shared archive. 16921old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 16922 16923# Commands used to build a shared archive. 16924archive_cmds=$lt_archive_cmds 16925archive_expsym_cmds=$lt_archive_expsym_cmds 16926 16927# Commands used to build a loadable module if different from building 16928# a shared archive. 16929module_cmds=$lt_module_cmds 16930module_expsym_cmds=$lt_module_expsym_cmds 16931 16932# Whether we are building with GNU ld or not. 16933with_gnu_ld=$lt_with_gnu_ld 16934 16935# Flag that allows shared libraries with undefined symbols to be built. 16936allow_undefined_flag=$lt_allow_undefined_flag 16937 16938# Flag that enforces no undefined symbols. 16939no_undefined_flag=$lt_no_undefined_flag 16940 16941# Flag to hardcode \$libdir into a binary during linking. 16942# This must work even if \$libdir does not exist 16943hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 16944 16945# Whether we need a single "-rpath" flag with a separated argument. 16946hardcode_libdir_separator=$lt_hardcode_libdir_separator 16947 16948# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16949# DIR into the resulting binary. 16950hardcode_direct=$hardcode_direct 16951 16952# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 16953# DIR into the resulting binary and the resulting library dependency is 16954# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 16955# library is relocated. 16956hardcode_direct_absolute=$hardcode_direct_absolute 16957 16958# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 16959# into the resulting binary. 16960hardcode_minus_L=$hardcode_minus_L 16961 16962# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 16963# into the resulting binary. 16964hardcode_shlibpath_var=$hardcode_shlibpath_var 16965 16966# Set to "yes" if building a shared library automatically hardcodes DIR 16967# into the library and all subsequent libraries and executables linked 16968# against it. 16969hardcode_automatic=$hardcode_automatic 16970 16971# Set to yes if linker adds runtime paths of dependent libraries 16972# to runtime path list. 16973inherit_rpath=$inherit_rpath 16974 16975# Whether libtool must link a program against all its dependency libraries. 16976link_all_deplibs=$link_all_deplibs 16977 16978# Set to "yes" if exported symbols are required. 16979always_export_symbols=$always_export_symbols 16980 16981# The commands to list exported symbols. 16982export_symbols_cmds=$lt_export_symbols_cmds 16983 16984# Symbols that should not be listed in the preloaded symbols. 16985exclude_expsyms=$lt_exclude_expsyms 16986 16987# Symbols that must always be exported. 16988include_expsyms=$lt_include_expsyms 16989 16990# Commands necessary for linking programs (against libraries) with templates. 16991prelink_cmds=$lt_prelink_cmds 16992 16993# Commands necessary for finishing linking programs. 16994postlink_cmds=$lt_postlink_cmds 16995 16996# Specify filename containing input files. 16997file_list_spec=$lt_file_list_spec 16998 16999# How to hardcode a shared library path into an executable. 17000hardcode_action=$hardcode_action 17001 17002# ### END LIBTOOL CONFIG 17003 17004_LT_EOF 17005 17006 case $host_os in 17007 aix3*) 17008 cat <<\_LT_EOF >> "$cfgfile" 17009# AIX sometimes has problems with the GCC collect2 program. For some 17010# reason, if we set the COLLECT_NAMES environment variable, the problems 17011# vanish in a puff of smoke. 17012if test "X${COLLECT_NAMES+set}" != Xset; then 17013 COLLECT_NAMES= 17014 export COLLECT_NAMES 17015fi 17016_LT_EOF 17017 ;; 17018 esac 17019 17020 17021ltmain="$ac_aux_dir/ltmain.sh" 17022 17023 17024 # We use sed instead of cat because bash on DJGPP gets confused if 17025 # if finds mixed CR/LF and LF-only lines. Since sed operates in 17026 # text mode, it properly converts lines to CR/LF. This bash problem 17027 # is reportedly fixed, but why not run on old versions too? 17028 sed '$q' "$ltmain" >> "$cfgfile" \ 17029 || (rm -f "$cfgfile"; exit 1) 17030 17031 if test x"$xsi_shell" = xyes; then 17032 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 17033func_dirname ()\ 17034{\ 17035\ case ${1} in\ 17036\ */*) func_dirname_result="${1%/*}${2}" ;;\ 17037\ * ) func_dirname_result="${3}" ;;\ 17038\ esac\ 17039} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 17040 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17041 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17042test 0 -eq $? || _lt_function_replace_fail=: 17043 17044 17045 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 17046func_basename ()\ 17047{\ 17048\ func_basename_result="${1##*/}"\ 17049} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 17050 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17052test 0 -eq $? || _lt_function_replace_fail=: 17053 17054 17055 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 17056func_dirname_and_basename ()\ 17057{\ 17058\ case ${1} in\ 17059\ */*) func_dirname_result="${1%/*}${2}" ;;\ 17060\ * ) func_dirname_result="${3}" ;;\ 17061\ esac\ 17062\ func_basename_result="${1##*/}"\ 17063} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 17064 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17065 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17066test 0 -eq $? || _lt_function_replace_fail=: 17067 17068 17069 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 17070func_stripname ()\ 17071{\ 17072\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 17073\ # positional parameters, so assign one to ordinary parameter first.\ 17074\ func_stripname_result=${3}\ 17075\ func_stripname_result=${func_stripname_result#"${1}"}\ 17076\ func_stripname_result=${func_stripname_result%"${2}"}\ 17077} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 17078 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17079 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17080test 0 -eq $? || _lt_function_replace_fail=: 17081 17082 17083 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 17084func_split_long_opt ()\ 17085{\ 17086\ func_split_long_opt_name=${1%%=*}\ 17087\ func_split_long_opt_arg=${1#*=}\ 17088} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 17089 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17091test 0 -eq $? || _lt_function_replace_fail=: 17092 17093 17094 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 17095func_split_short_opt ()\ 17096{\ 17097\ func_split_short_opt_arg=${1#??}\ 17098\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 17099} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 17100 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17101 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17102test 0 -eq $? || _lt_function_replace_fail=: 17103 17104 17105 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 17106func_lo2o ()\ 17107{\ 17108\ case ${1} in\ 17109\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 17110\ *) func_lo2o_result=${1} ;;\ 17111\ esac\ 17112} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 17113 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17115test 0 -eq $? || _lt_function_replace_fail=: 17116 17117 17118 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 17119func_xform ()\ 17120{\ 17121 func_xform_result=${1%.*}.lo\ 17122} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 17123 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17125test 0 -eq $? || _lt_function_replace_fail=: 17126 17127 17128 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 17129func_arith ()\ 17130{\ 17131 func_arith_result=$(( $* ))\ 17132} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 17133 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17135test 0 -eq $? || _lt_function_replace_fail=: 17136 17137 17138 sed -e '/^func_len ()$/,/^} # func_len /c\ 17139func_len ()\ 17140{\ 17141 func_len_result=${#1}\ 17142} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 17143 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17145test 0 -eq $? || _lt_function_replace_fail=: 17146 17147fi 17148 17149if test x"$lt_shell_append" = xyes; then 17150 sed -e '/^func_append ()$/,/^} # func_append /c\ 17151func_append ()\ 17152{\ 17153 eval "${1}+=\\${2}"\ 17154} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 17155 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17156 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17157test 0 -eq $? || _lt_function_replace_fail=: 17158 17159 17160 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 17161func_append_quoted ()\ 17162{\ 17163\ func_quote_for_eval "${2}"\ 17164\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 17165} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 17166 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17167 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17168test 0 -eq $? || _lt_function_replace_fail=: 17169 17170 17171 # Save a `func_append' function call where possible by direct use of '+=' 17172 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 17173 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17175 test 0 -eq $? || _lt_function_replace_fail=: 17176else 17177 # Save a `func_append' function call even when '+=' is not available 17178 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 17179 && mv -f "$cfgfile.tmp" "$cfgfile" \ 17180 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 17181 test 0 -eq $? || _lt_function_replace_fail=: 17182fi 17183 17184if test x"$_lt_function_replace_fail" = x":"; then 17185 { $as_echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5 17186$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 17187fi 17188 17189 17190 mv -f "$cfgfile" "$ofile" || 17191 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 17192 chmod +x "$ofile" 17193 17194 ;; 17195 17196 esac 17197done # for ac_tag 17198 17199 17200{ (exit 0); exit 0; } 17201_ACEOF 17202chmod +x $CONFIG_STATUS 17203ac_clean_files=$ac_clean_files_save 17204 17205test $ac_write_fail = 0 || 17206 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 17207$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 17208 { (exit 1); exit 1; }; } 17209 17210 17211# configure is writing to config.log, and then calls config.status. 17212# config.status does its own redirection, appending to config.log. 17213# Unfortunately, on DOS this fails, as config.log is still kept open 17214# by configure, so config.status won't be able to write to it; its 17215# output is simply discarded. So we exec the FD to /dev/null, 17216# effectively closing config.log, so it can be properly (re)opened and 17217# appended to by config.status. When coming back to configure, we 17218# need to make the FD available again. 17219if test "$no_create" != yes; then 17220 ac_cs_success=: 17221 ac_config_status_args= 17222 test "$silent" = yes && 17223 ac_config_status_args="$ac_config_status_args --quiet" 17224 exec 5>/dev/null 17225 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 17226 exec 5>>config.log 17227 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 17228 # would make configure fail if this is the last instruction. 17229 $ac_cs_success || { (exit 1); exit 1; } 17230fi 17231if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 17232 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 17233$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 17234fi 17235 17236 17237echo "Creating asoundlib.h..." 17238cp "$srcdir"/include/asoundlib-head.h include/asoundlib.h 17239test "$build_pcm" = "yes" && echo "#include <alsa/pcm.h>" >> include/asoundlib.h 17240test "$build_rawmidi" = "yes" && echo "#include <alsa/rawmidi.h>" >> include/asoundlib.h 17241test "$build_pcm" = "yes" && echo "#include <alsa/timer.h>" >> include/asoundlib.h 17242test "$build_hwdep" = "yes" && echo "#include <alsa/hwdep.h>" >> include/asoundlib.h 17243echo "#include <alsa/control.h>" >> include/asoundlib.h 17244test "$build_mixer" = "yes" && echo "#include <alsa/mixer.h>" >> include/asoundlib.h 17245test "$build_seq" = "yes" && echo "#include <alsa/seq_event.h>" >> include/asoundlib.h 17246test "$build_seq" = "yes" && echo "#include <alsa/seq.h>" >> include/asoundlib.h 17247test "$build_seq" = "yes" && echo "#include <alsa/seqmid.h>" >> include/asoundlib.h 17248test "$build_seq" = "yes" && echo "#include <alsa/seq_midi_event.h>" >> include/asoundlib.h 17249cat "$srcdir"/include/asoundlib-tail.h >> include/asoundlib.h 17250 17251