1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for speexdsp 1.2rc3. 4# 5# Report bugs to <speex-dev@xiph.org>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201 202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 PATH=/empty FPATH=/empty; export PATH FPATH 207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 209test \$(( 1 + 1 )) = 2 || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and speex-dev@xiph.org 278$0: about your system, including any error possibly output 279$0: before this message. Then install a modern shell, or 280$0: manually run the script under such a shell if you do 281$0: have one." 282 fi 283 exit 1 284fi 285fi 286fi 287SHELL=${CONFIG_SHELL-/bin/sh} 288export SHELL 289# Unset more variables known to interfere with behavior of common tools. 290CLICOLOR_FORCE= GREP_OPTIONS= 291unset CLICOLOR_FORCE GREP_OPTIONS 292 293## --------------------- ## 294## M4sh Shell Functions. ## 295## --------------------- ## 296# as_fn_unset VAR 297# --------------- 298# Portably unset VAR. 299as_fn_unset () 300{ 301 { eval $1=; unset $1;} 302} 303as_unset=as_fn_unset 304 305# as_fn_set_status STATUS 306# ----------------------- 307# Set $? to STATUS, without forking. 308as_fn_set_status () 309{ 310 return $1 311} # as_fn_set_status 312 313# as_fn_exit STATUS 314# ----------------- 315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 316as_fn_exit () 317{ 318 set +e 319 as_fn_set_status $1 320 exit $1 321} # as_fn_exit 322 323# as_fn_mkdir_p 324# ------------- 325# Create "$as_dir" as a directory, including parents if necessary. 326as_fn_mkdir_p () 327{ 328 329 case $as_dir in #( 330 -*) as_dir=./$as_dir;; 331 esac 332 test -d "$as_dir" || eval $as_mkdir_p || { 333 as_dirs= 334 while :; do 335 case $as_dir in #( 336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 337 *) as_qdir=$as_dir;; 338 esac 339 as_dirs="'$as_qdir' $as_dirs" 340 as_dir=`$as_dirname -- "$as_dir" || 341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 342 X"$as_dir" : 'X\(//\)[^/]' \| \ 343 X"$as_dir" : 'X\(//\)$' \| \ 344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 345$as_echo X"$as_dir" | 346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\/\)[^/].*/{ 351 s//\1/ 352 q 353 } 354 /^X\(\/\/\)$/{ 355 s//\1/ 356 q 357 } 358 /^X\(\/\).*/{ 359 s//\1/ 360 q 361 } 362 s/.*/./; q'` 363 test -d "$as_dir" && break 364 done 365 test -z "$as_dirs" || eval "mkdir $as_dirs" 366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 367 368 369} # as_fn_mkdir_p 370 371# as_fn_executable_p FILE 372# ----------------------- 373# Test if FILE is an executable regular file. 374as_fn_executable_p () 375{ 376 test -f "$1" && test -x "$1" 377} # as_fn_executable_p 378# as_fn_append VAR VALUE 379# ---------------------- 380# Append the text in VALUE to the end of the definition contained in VAR. Take 381# advantage of any shell optimizations that allow amortized linear growth over 382# repeated appends, instead of the typical quadratic growth present in naive 383# implementations. 384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 385 eval 'as_fn_append () 386 { 387 eval $1+=\$2 388 }' 389else 390 as_fn_append () 391 { 392 eval $1=\$$1\$2 393 } 394fi # as_fn_append 395 396# as_fn_arith ARG... 397# ------------------ 398# Perform arithmetic evaluation on the ARGs, and store the result in the 399# global $as_val. Take advantage of shells that can avoid forks. The arguments 400# must be portable across $(()) and expr. 401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 402 eval 'as_fn_arith () 403 { 404 as_val=$(( $* )) 405 }' 406else 407 as_fn_arith () 408 { 409 as_val=`expr "$@" || test $? -eq 1` 410 } 411fi # as_fn_arith 412 413 414# as_fn_error STATUS ERROR [LINENO LOG_FD] 415# ---------------------------------------- 416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 418# script with STATUS, using 1 if that was 0. 419as_fn_error () 420{ 421 as_status=$1; test $as_status -eq 0 && as_status=1 422 if test "$4"; then 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 425 fi 426 $as_echo "$as_me: error: $2" >&2 427 as_fn_exit $as_status 428} # as_fn_error 429 430if expr a : '\(a\)' >/dev/null 2>&1 && 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then 432 as_expr=expr 433else 434 as_expr=false 435fi 436 437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 438 as_basename=basename 439else 440 as_basename=false 441fi 442 443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 444 as_dirname=dirname 445else 446 as_dirname=false 447fi 448 449as_me=`$as_basename -- "$0" || 450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 451 X"$0" : 'X\(//\)$' \| \ 452 X"$0" : 'X\(/\)' \| . 2>/dev/null || 453$as_echo X/"$0" | 454 sed '/^.*\/\([^/][^/]*\)\/*$/{ 455 s//\1/ 456 q 457 } 458 /^X\/\(\/\/\)$/{ 459 s//\1/ 460 q 461 } 462 /^X\/\(\/\).*/{ 463 s//\1/ 464 q 465 } 466 s/.*/./; q'` 467 468# Avoid depending upon Character Ranges. 469as_cr_letters='abcdefghijklmnopqrstuvwxyz' 470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 471as_cr_Letters=$as_cr_letters$as_cr_LETTERS 472as_cr_digits='0123456789' 473as_cr_alnum=$as_cr_Letters$as_cr_digits 474 475 476 as_lineno_1=$LINENO as_lineno_1a=$LINENO 477 as_lineno_2=$LINENO as_lineno_2a=$LINENO 478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 481 sed -n ' 482 p 483 /[$]LINENO/= 484 ' <$as_myself | 485 sed ' 486 s/[$]LINENO.*/&-/ 487 t lineno 488 b 489 :lineno 490 N 491 :loop 492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 493 t loop 494 s/-\n.*// 495 ' >$as_me.lineno && 496 chmod +x "$as_me.lineno" || 497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 498 499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 500 # already done that, so ensure we don't try to do so again and fall 501 # in an infinite loop. This has already happened in practice. 502 _as_can_reexec=no; export _as_can_reexec 503 # Don't try to exec as it changes $[0], causing all sort of problems 504 # (the dirname of $[0] is not the place where we might find the 505 # original and so on. Autoconf is especially sensitive to this). 506 . "./$as_me.lineno" 507 # Exit status is that of the last command. 508 exit 509} 510 511ECHO_C= ECHO_N= ECHO_T= 512case `echo -n x` in #((((( 513-n*) 514 case `echo 'xy\c'` in 515 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 516 xy) ECHO_C='\c';; 517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 518 ECHO_T=' ';; 519 esac;; 520*) 521 ECHO_N='-n';; 522esac 523 524rm -f conf$$ conf$$.exe conf$$.file 525if test -d conf$$.dir; then 526 rm -f conf$$.dir/conf$$.file 527else 528 rm -f conf$$.dir 529 mkdir conf$$.dir 2>/dev/null 530fi 531if (echo >conf$$.file) 2>/dev/null; then 532 if ln -s conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s='ln -s' 534 # ... but there are two gotchas: 535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 537 # In both cases, we have to default to `cp -pR'. 538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 539 as_ln_s='cp -pR' 540 elif ln conf$$.file conf$$ 2>/dev/null; then 541 as_ln_s=ln 542 else 543 as_ln_s='cp -pR' 544 fi 545else 546 as_ln_s='cp -pR' 547fi 548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 549rmdir conf$$.dir 2>/dev/null 550 551if mkdir -p . 2>/dev/null; then 552 as_mkdir_p='mkdir -p "$as_dir"' 553else 554 test -d ./-p && rmdir ./-p 555 as_mkdir_p=false 556fi 557 558as_test_x='test -x' 559as_executable_p=as_fn_executable_p 560 561# Sed expression to map a string onto a valid CPP name. 562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 563 564# Sed expression to map a string onto a valid variable name. 565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 566 567SHELL=${CONFIG_SHELL-/bin/sh} 568 569 570test -n "$DJDIR" || exec 7<&0 </dev/null 571exec 6>&1 572 573# Name of the host. 574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 575# so uname gets run too. 576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 577 578# 579# Initializations. 580# 581ac_default_prefix=/usr/local 582ac_clean_files= 583ac_config_libobj_dir=. 584LIBOBJS= 585cross_compiling=no 586subdirs= 587MFLAGS= 588MAKEFLAGS= 589 590# Identity of this package. 591PACKAGE_NAME='speexdsp' 592PACKAGE_TARNAME='speexdsp' 593PACKAGE_VERSION='1.2rc3' 594PACKAGE_STRING='speexdsp 1.2rc3' 595PACKAGE_BUGREPORT='speex-dev@xiph.org' 596PACKAGE_URL='' 597 598ac_unique_file="libspeexdsp/preprocess.c" 599# Factoring default headers for most tests. 600ac_includes_default="\ 601#include <stdio.h> 602#ifdef HAVE_SYS_TYPES_H 603# include <sys/types.h> 604#endif 605#ifdef HAVE_SYS_STAT_H 606# include <sys/stat.h> 607#endif 608#ifdef STDC_HEADERS 609# include <stdlib.h> 610# include <stddef.h> 611#else 612# ifdef HAVE_STDLIB_H 613# include <stdlib.h> 614# endif 615#endif 616#ifdef HAVE_STRING_H 617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 618# include <memory.h> 619# endif 620# include <string.h> 621#endif 622#ifdef HAVE_STRINGS_H 623# include <strings.h> 624#endif 625#ifdef HAVE_INTTYPES_H 626# include <inttypes.h> 627#endif 628#ifdef HAVE_STDINT_H 629# include <stdint.h> 630#endif 631#ifdef HAVE_UNISTD_H 632# include <unistd.h> 633#endif" 634 635ac_subst_vars='am__EXEEXT_FALSE 636am__EXEEXT_TRUE 637LTLIBOBJS 638LIBOBJS 639USIZE32 640SIZE32 641USIZE16 642SIZE16 643FFT_PKGCONFIG 644BUILD_SMALLFT_FALSE 645BUILD_SMALLFT_TRUE 646BUILD_KISS_FFT_FALSE 647BUILD_KISS_FFT_TRUE 648FFT_LIBS 649FFT_CFLAGS 650PKG_CONFIG_LIBDIR 651PKG_CONFIG_PATH 652PKG_CONFIG 653BUILD_EXAMPLES_FALSE 654BUILD_EXAMPLES_TRUE 655LIBM 656src 657CPP 658OTOOL64 659OTOOL 660LIPO 661NMEDIT 662DSYMUTIL 663MANIFEST_TOOL 664RANLIB 665ac_ct_AR 666AR 667LN_S 668NM 669ac_ct_DUMPBIN 670DUMPBIN 671LD 672FGREP 673EGREP 674GREP 675SED 676am__fastdepCC_FALSE 677am__fastdepCC_TRUE 678CCDEPMODE 679am__nodep 680AMDEPBACKSLASH 681AMDEP_FALSE 682AMDEP_TRUE 683am__quote 684am__include 685DEPDIR 686OBJEXT 687EXEEXT 688ac_ct_CC 689CPPFLAGS 690LDFLAGS 691CFLAGS 692CC 693LIBTOOL 694OBJDUMP 695DLLTOOL 696AS 697host_os 698host_vendor 699host_cpu 700host 701build_os 702build_vendor 703build_cpu 704build 705MAINT 706MAINTAINER_MODE_FALSE 707MAINTAINER_MODE_TRUE 708am__untar 709am__tar 710AMTAR 711am__leading_dot 712SET_MAKE 713AWK 714mkdir_p 715MKDIR_P 716INSTALL_STRIP_PROGRAM 717STRIP 718install_sh 719MAKEINFO 720AUTOHEADER 721AUTOMAKE 722AUTOCONF 723ACLOCAL 724VERSION 725PACKAGE 726CYGPATH_W 727am__isrc 728INSTALL_DATA 729INSTALL_SCRIPT 730INSTALL_PROGRAM 731SPEEXDSP_LT_AGE 732SPEEXDSP_LT_REVISION 733SPEEXDSP_LT_CURRENT 734AM_BACKSLASH 735AM_DEFAULT_VERBOSITY 736AM_DEFAULT_V 737AM_V 738target_alias 739host_alias 740build_alias 741LIBS 742ECHO_T 743ECHO_N 744ECHO_C 745DEFS 746mandir 747localedir 748libdir 749psdir 750pdfdir 751dvidir 752htmldir 753infodir 754docdir 755oldincludedir 756includedir 757localstatedir 758sharedstatedir 759sysconfdir 760datadir 761datarootdir 762libexecdir 763sbindir 764bindir 765program_transform_name 766prefix 767exec_prefix 768PACKAGE_URL 769PACKAGE_BUGREPORT 770PACKAGE_STRING 771PACKAGE_VERSION 772PACKAGE_TARNAME 773PACKAGE_NAME 774PATH_SEPARATOR 775SHELL' 776ac_subst_files='' 777ac_user_opts=' 778enable_option_checking 779enable_silent_rules 780enable_maintainer_mode 781enable_shared 782enable_static 783with_pic 784enable_fast_install 785enable_dependency_tracking 786with_gnu_ld 787with_sysroot 788enable_libtool_lock 789enable_valgrind 790enable_sse 791enable_neon 792enable_fixed_point 793enable_float_api 794enable_examples 795enable_arm4_asm 796enable_arm5e_asm 797enable_blackfin_asm 798enable_fixed_point_debug 799enable_resample_full_sinc_table 800enable_ti_c55x 801with_fft 802' 803 ac_precious_vars='build_alias 804host_alias 805target_alias 806CC 807CFLAGS 808LDFLAGS 809LIBS 810CPPFLAGS 811CPP 812PKG_CONFIG 813PKG_CONFIG_PATH 814PKG_CONFIG_LIBDIR 815FFT_CFLAGS 816FFT_LIBS' 817 818 819# Initialize some variables set by options. 820ac_init_help= 821ac_init_version=false 822ac_unrecognized_opts= 823ac_unrecognized_sep= 824# The variables have the same names as the options, with 825# dashes changed to underlines. 826cache_file=/dev/null 827exec_prefix=NONE 828no_create= 829no_recursion= 830prefix=NONE 831program_prefix=NONE 832program_suffix=NONE 833program_transform_name=s,x,x, 834silent= 835site= 836srcdir= 837verbose= 838x_includes=NONE 839x_libraries=NONE 840 841# Installation directory options. 842# These are left unexpanded so users can "make install exec_prefix=/foo" 843# and all the variables that are supposed to be based on exec_prefix 844# by default will actually change. 845# Use braces instead of parens because sh, perl, etc. also accept them. 846# (The list follows the same order as the GNU Coding Standards.) 847bindir='${exec_prefix}/bin' 848sbindir='${exec_prefix}/sbin' 849libexecdir='${exec_prefix}/libexec' 850datarootdir='${prefix}/share' 851datadir='${datarootdir}' 852sysconfdir='${prefix}/etc' 853sharedstatedir='${prefix}/com' 854localstatedir='${prefix}/var' 855includedir='${prefix}/include' 856oldincludedir='/usr/include' 857docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 858infodir='${datarootdir}/info' 859htmldir='${docdir}' 860dvidir='${docdir}' 861pdfdir='${docdir}' 862psdir='${docdir}' 863libdir='${exec_prefix}/lib' 864localedir='${datarootdir}/locale' 865mandir='${datarootdir}/man' 866 867ac_prev= 868ac_dashdash= 869for ac_option 870do 871 # If the previous option needs an argument, assign it. 872 if test -n "$ac_prev"; then 873 eval $ac_prev=\$ac_option 874 ac_prev= 875 continue 876 fi 877 878 case $ac_option in 879 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 880 *=) ac_optarg= ;; 881 *) ac_optarg=yes ;; 882 esac 883 884 # Accept the important Cygnus configure options, so we can diagnose typos. 885 886 case $ac_dashdash$ac_option in 887 --) 888 ac_dashdash=yes ;; 889 890 -bindir | --bindir | --bindi | --bind | --bin | --bi) 891 ac_prev=bindir ;; 892 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 893 bindir=$ac_optarg ;; 894 895 -build | --build | --buil | --bui | --bu) 896 ac_prev=build_alias ;; 897 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 898 build_alias=$ac_optarg ;; 899 900 -cache-file | --cache-file | --cache-fil | --cache-fi \ 901 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 902 ac_prev=cache_file ;; 903 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 904 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 905 cache_file=$ac_optarg ;; 906 907 --config-cache | -C) 908 cache_file=config.cache ;; 909 910 -datadir | --datadir | --datadi | --datad) 911 ac_prev=datadir ;; 912 -datadir=* | --datadir=* | --datadi=* | --datad=*) 913 datadir=$ac_optarg ;; 914 915 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 916 | --dataroo | --dataro | --datar) 917 ac_prev=datarootdir ;; 918 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 919 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 920 datarootdir=$ac_optarg ;; 921 922 -disable-* | --disable-*) 923 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 924 # Reject names that are not valid shell variable names. 925 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 926 as_fn_error $? "invalid feature name: $ac_useropt" 927 ac_useropt_orig=$ac_useropt 928 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 929 case $ac_user_opts in 930 *" 931"enable_$ac_useropt" 932"*) ;; 933 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 934 ac_unrecognized_sep=', ';; 935 esac 936 eval enable_$ac_useropt=no ;; 937 938 -docdir | --docdir | --docdi | --doc | --do) 939 ac_prev=docdir ;; 940 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 941 docdir=$ac_optarg ;; 942 943 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 944 ac_prev=dvidir ;; 945 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 946 dvidir=$ac_optarg ;; 947 948 -enable-* | --enable-*) 949 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 950 # Reject names that are not valid shell variable names. 951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 952 as_fn_error $? "invalid feature name: $ac_useropt" 953 ac_useropt_orig=$ac_useropt 954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 955 case $ac_user_opts in 956 *" 957"enable_$ac_useropt" 958"*) ;; 959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 960 ac_unrecognized_sep=', ';; 961 esac 962 eval enable_$ac_useropt=\$ac_optarg ;; 963 964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 966 | --exec | --exe | --ex) 967 ac_prev=exec_prefix ;; 968 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 969 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 970 | --exec=* | --exe=* | --ex=*) 971 exec_prefix=$ac_optarg ;; 972 973 -gas | --gas | --ga | --g) 974 # Obsolete; use --with-gas. 975 with_gas=yes ;; 976 977 -help | --help | --hel | --he | -h) 978 ac_init_help=long ;; 979 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 980 ac_init_help=recursive ;; 981 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 982 ac_init_help=short ;; 983 984 -host | --host | --hos | --ho) 985 ac_prev=host_alias ;; 986 -host=* | --host=* | --hos=* | --ho=*) 987 host_alias=$ac_optarg ;; 988 989 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 990 ac_prev=htmldir ;; 991 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 992 | --ht=*) 993 htmldir=$ac_optarg ;; 994 995 -includedir | --includedir | --includedi | --included | --include \ 996 | --includ | --inclu | --incl | --inc) 997 ac_prev=includedir ;; 998 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 999 | --includ=* | --inclu=* | --incl=* | --inc=*) 1000 includedir=$ac_optarg ;; 1001 1002 -infodir | --infodir | --infodi | --infod | --info | --inf) 1003 ac_prev=infodir ;; 1004 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1005 infodir=$ac_optarg ;; 1006 1007 -libdir | --libdir | --libdi | --libd) 1008 ac_prev=libdir ;; 1009 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1010 libdir=$ac_optarg ;; 1011 1012 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1013 | --libexe | --libex | --libe) 1014 ac_prev=libexecdir ;; 1015 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1016 | --libexe=* | --libex=* | --libe=*) 1017 libexecdir=$ac_optarg ;; 1018 1019 -localedir | --localedir | --localedi | --localed | --locale) 1020 ac_prev=localedir ;; 1021 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1022 localedir=$ac_optarg ;; 1023 1024 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1025 | --localstate | --localstat | --localsta | --localst | --locals) 1026 ac_prev=localstatedir ;; 1027 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1028 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1029 localstatedir=$ac_optarg ;; 1030 1031 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1032 ac_prev=mandir ;; 1033 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1034 mandir=$ac_optarg ;; 1035 1036 -nfp | --nfp | --nf) 1037 # Obsolete; use --without-fp. 1038 with_fp=no ;; 1039 1040 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1041 | --no-cr | --no-c | -n) 1042 no_create=yes ;; 1043 1044 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1045 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1046 no_recursion=yes ;; 1047 1048 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1049 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1050 | --oldin | --oldi | --old | --ol | --o) 1051 ac_prev=oldincludedir ;; 1052 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1053 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1054 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1055 oldincludedir=$ac_optarg ;; 1056 1057 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1058 ac_prev=prefix ;; 1059 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1060 prefix=$ac_optarg ;; 1061 1062 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1063 | --program-pre | --program-pr | --program-p) 1064 ac_prev=program_prefix ;; 1065 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1066 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1067 program_prefix=$ac_optarg ;; 1068 1069 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1070 | --program-suf | --program-su | --program-s) 1071 ac_prev=program_suffix ;; 1072 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1073 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1074 program_suffix=$ac_optarg ;; 1075 1076 -program-transform-name | --program-transform-name \ 1077 | --program-transform-nam | --program-transform-na \ 1078 | --program-transform-n | --program-transform- \ 1079 | --program-transform | --program-transfor \ 1080 | --program-transfo | --program-transf \ 1081 | --program-trans | --program-tran \ 1082 | --progr-tra | --program-tr | --program-t) 1083 ac_prev=program_transform_name ;; 1084 -program-transform-name=* | --program-transform-name=* \ 1085 | --program-transform-nam=* | --program-transform-na=* \ 1086 | --program-transform-n=* | --program-transform-=* \ 1087 | --program-transform=* | --program-transfor=* \ 1088 | --program-transfo=* | --program-transf=* \ 1089 | --program-trans=* | --program-tran=* \ 1090 | --progr-tra=* | --program-tr=* | --program-t=*) 1091 program_transform_name=$ac_optarg ;; 1092 1093 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1094 ac_prev=pdfdir ;; 1095 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1096 pdfdir=$ac_optarg ;; 1097 1098 -psdir | --psdir | --psdi | --psd | --ps) 1099 ac_prev=psdir ;; 1100 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1101 psdir=$ac_optarg ;; 1102 1103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1104 | -silent | --silent | --silen | --sile | --sil) 1105 silent=yes ;; 1106 1107 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1108 ac_prev=sbindir ;; 1109 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1110 | --sbi=* | --sb=*) 1111 sbindir=$ac_optarg ;; 1112 1113 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1114 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1115 | --sharedst | --shareds | --shared | --share | --shar \ 1116 | --sha | --sh) 1117 ac_prev=sharedstatedir ;; 1118 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1119 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1120 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1121 | --sha=* | --sh=*) 1122 sharedstatedir=$ac_optarg ;; 1123 1124 -site | --site | --sit) 1125 ac_prev=site ;; 1126 -site=* | --site=* | --sit=*) 1127 site=$ac_optarg ;; 1128 1129 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1130 ac_prev=srcdir ;; 1131 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1132 srcdir=$ac_optarg ;; 1133 1134 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1135 | --syscon | --sysco | --sysc | --sys | --sy) 1136 ac_prev=sysconfdir ;; 1137 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1138 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1139 sysconfdir=$ac_optarg ;; 1140 1141 -target | --target | --targe | --targ | --tar | --ta | --t) 1142 ac_prev=target_alias ;; 1143 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1144 target_alias=$ac_optarg ;; 1145 1146 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1147 verbose=yes ;; 1148 1149 -version | --version | --versio | --versi | --vers | -V) 1150 ac_init_version=: ;; 1151 1152 -with-* | --with-*) 1153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1154 # Reject names that are not valid shell variable names. 1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1156 as_fn_error $? "invalid package name: $ac_useropt" 1157 ac_useropt_orig=$ac_useropt 1158 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1159 case $ac_user_opts in 1160 *" 1161"with_$ac_useropt" 1162"*) ;; 1163 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1164 ac_unrecognized_sep=', ';; 1165 esac 1166 eval with_$ac_useropt=\$ac_optarg ;; 1167 1168 -without-* | --without-*) 1169 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1170 # Reject names that are not valid shell variable names. 1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1172 as_fn_error $? "invalid package name: $ac_useropt" 1173 ac_useropt_orig=$ac_useropt 1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1175 case $ac_user_opts in 1176 *" 1177"with_$ac_useropt" 1178"*) ;; 1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1180 ac_unrecognized_sep=', ';; 1181 esac 1182 eval with_$ac_useropt=no ;; 1183 1184 --x) 1185 # Obsolete; use --with-x. 1186 with_x=yes ;; 1187 1188 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1189 | --x-incl | --x-inc | --x-in | --x-i) 1190 ac_prev=x_includes ;; 1191 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1192 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1193 x_includes=$ac_optarg ;; 1194 1195 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1196 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1197 ac_prev=x_libraries ;; 1198 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1199 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1200 x_libraries=$ac_optarg ;; 1201 1202 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1203Try \`$0 --help' for more information" 1204 ;; 1205 1206 *=*) 1207 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1208 # Reject names that are not valid shell variable names. 1209 case $ac_envvar in #( 1210 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1211 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1212 esac 1213 eval $ac_envvar=\$ac_optarg 1214 export $ac_envvar ;; 1215 1216 *) 1217 # FIXME: should be removed in autoconf 3.0. 1218 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1219 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1220 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1221 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1222 ;; 1223 1224 esac 1225done 1226 1227if test -n "$ac_prev"; then 1228 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1229 as_fn_error $? "missing argument to $ac_option" 1230fi 1231 1232if test -n "$ac_unrecognized_opts"; then 1233 case $enable_option_checking in 1234 no) ;; 1235 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1236 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1237 esac 1238fi 1239 1240# Check all directory arguments for consistency. 1241for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1242 datadir sysconfdir sharedstatedir localstatedir includedir \ 1243 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1244 libdir localedir mandir 1245do 1246 eval ac_val=\$$ac_var 1247 # Remove trailing slashes. 1248 case $ac_val in 1249 */ ) 1250 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1251 eval $ac_var=\$ac_val;; 1252 esac 1253 # Be sure to have absolute directory names. 1254 case $ac_val in 1255 [\\/$]* | ?:[\\/]* ) continue;; 1256 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1257 esac 1258 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1259done 1260 1261# There might be people who depend on the old broken behavior: `$host' 1262# used to hold the argument of --host etc. 1263# FIXME: To remove some day. 1264build=$build_alias 1265host=$host_alias 1266target=$target_alias 1267 1268# FIXME: To remove some day. 1269if test "x$host_alias" != x; then 1270 if test "x$build_alias" = x; then 1271 cross_compiling=maybe 1272 elif test "x$build_alias" != "x$host_alias"; then 1273 cross_compiling=yes 1274 fi 1275fi 1276 1277ac_tool_prefix= 1278test -n "$host_alias" && ac_tool_prefix=$host_alias- 1279 1280test "$silent" = yes && exec 6>/dev/null 1281 1282 1283ac_pwd=`pwd` && test -n "$ac_pwd" && 1284ac_ls_di=`ls -di .` && 1285ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1286 as_fn_error $? "working directory cannot be determined" 1287test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1288 as_fn_error $? "pwd does not report name of working directory" 1289 1290 1291# Find the source files, if location was not specified. 1292if test -z "$srcdir"; then 1293 ac_srcdir_defaulted=yes 1294 # Try the directory containing this script, then the parent directory. 1295 ac_confdir=`$as_dirname -- "$as_myself" || 1296$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1297 X"$as_myself" : 'X\(//\)[^/]' \| \ 1298 X"$as_myself" : 'X\(//\)$' \| \ 1299 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1300$as_echo X"$as_myself" | 1301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1302 s//\1/ 1303 q 1304 } 1305 /^X\(\/\/\)[^/].*/{ 1306 s//\1/ 1307 q 1308 } 1309 /^X\(\/\/\)$/{ 1310 s//\1/ 1311 q 1312 } 1313 /^X\(\/\).*/{ 1314 s//\1/ 1315 q 1316 } 1317 s/.*/./; q'` 1318 srcdir=$ac_confdir 1319 if test ! -r "$srcdir/$ac_unique_file"; then 1320 srcdir=.. 1321 fi 1322else 1323 ac_srcdir_defaulted=no 1324fi 1325if test ! -r "$srcdir/$ac_unique_file"; then 1326 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1327 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1328fi 1329ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1330ac_abs_confdir=`( 1331 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1332 pwd)` 1333# When building in place, set srcdir=. 1334if test "$ac_abs_confdir" = "$ac_pwd"; then 1335 srcdir=. 1336fi 1337# Remove unnecessary trailing slashes from srcdir. 1338# Double slashes in file names in object file debugging info 1339# mess up M-x gdb in Emacs. 1340case $srcdir in 1341*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1342esac 1343for ac_var in $ac_precious_vars; do 1344 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1345 eval ac_env_${ac_var}_value=\$${ac_var} 1346 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1347 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1348done 1349 1350# 1351# Report the --help message. 1352# 1353if test "$ac_init_help" = "long"; then 1354 # Omit some internal or obsolete options to make the list less imposing. 1355 # This message is too long to be a string in the A/UX 3.1 sh. 1356 cat <<_ACEOF 1357\`configure' configures speexdsp 1.2rc3 to adapt to many kinds of systems. 1358 1359Usage: $0 [OPTION]... [VAR=VALUE]... 1360 1361To assign environment variables (e.g., CC, CFLAGS...), specify them as 1362VAR=VALUE. See below for descriptions of some of the useful variables. 1363 1364Defaults for the options are specified in brackets. 1365 1366Configuration: 1367 -h, --help display this help and exit 1368 --help=short display options specific to this package 1369 --help=recursive display the short help of all the included packages 1370 -V, --version display version information and exit 1371 -q, --quiet, --silent do not print \`checking ...' messages 1372 --cache-file=FILE cache test results in FILE [disabled] 1373 -C, --config-cache alias for \`--cache-file=config.cache' 1374 -n, --no-create do not create output files 1375 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1376 1377Installation directories: 1378 --prefix=PREFIX install architecture-independent files in PREFIX 1379 [$ac_default_prefix] 1380 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1381 [PREFIX] 1382 1383By default, \`make install' will install all the files in 1384\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1385an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1386for instance \`--prefix=\$HOME'. 1387 1388For better control, use the options below. 1389 1390Fine tuning of the installation directories: 1391 --bindir=DIR user executables [EPREFIX/bin] 1392 --sbindir=DIR system admin executables [EPREFIX/sbin] 1393 --libexecdir=DIR program executables [EPREFIX/libexec] 1394 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1395 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1396 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1397 --libdir=DIR object code libraries [EPREFIX/lib] 1398 --includedir=DIR C header files [PREFIX/include] 1399 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1400 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1401 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1402 --infodir=DIR info documentation [DATAROOTDIR/info] 1403 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1404 --mandir=DIR man documentation [DATAROOTDIR/man] 1405 --docdir=DIR documentation root [DATAROOTDIR/doc/speexdsp] 1406 --htmldir=DIR html documentation [DOCDIR] 1407 --dvidir=DIR dvi documentation [DOCDIR] 1408 --pdfdir=DIR pdf documentation [DOCDIR] 1409 --psdir=DIR ps documentation [DOCDIR] 1410_ACEOF 1411 1412 cat <<\_ACEOF 1413 1414Program names: 1415 --program-prefix=PREFIX prepend PREFIX to installed program names 1416 --program-suffix=SUFFIX append SUFFIX to installed program names 1417 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1418 1419System types: 1420 --build=BUILD configure for building on BUILD [guessed] 1421 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1422_ACEOF 1423fi 1424 1425if test -n "$ac_init_help"; then 1426 case $ac_init_help in 1427 short | recursive ) echo "Configuration of speexdsp 1.2rc3:";; 1428 esac 1429 cat <<\_ACEOF 1430 1431Optional Features: 1432 --disable-option-checking ignore unrecognized --enable/--with options 1433 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1434 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1435 --enable-silent-rules less verbose build output (undo: "make V=1") 1436 --disable-silent-rules verbose build output (undo: "make V=0") 1437 --disable-maintainer-mode 1438 disable make rules and dependencies not useful (and 1439 sometimes confusing) to the casual installer 1440 --enable-shared[=PKGS] build shared libraries [default=yes] 1441 --enable-static[=PKGS] build static libraries [default=yes] 1442 --enable-fast-install[=PKGS] 1443 optimize for fast installation [default=yes] 1444 --enable-dependency-tracking 1445 do not reject slow dependency extractors 1446 --disable-dependency-tracking 1447 speeds up one-time build 1448 --disable-libtool-lock avoid locking (might break parallel builds) 1449 --enable-valgrind Enable valgrind extra checks 1450 --enable-sse Enable SSE support 1451 --enable-neon Enable NEON support 1452 --enable-fixed-point Compile as fixed-point 1453 --disable-float-api Disable the floating-point API 1454 --disable-examples Do not build example programs, only the library 1455 --enable-arm4-asm Make use of ARM4 assembly optimizations 1456 --enable-arm5e-asm Make use of ARM5E assembly optimizations 1457 --enable-blackfin-asm Make use of Blackfin assembly optimizations 1458 --enable-fixed-point-debug Debug fixed-point implementation 1459 --enable-resample-full-sinc-table Resample full SINC table (no interpolation) 1460 --enable-ti-c55x Enable support for TI C55X DSP 1461 1462Optional Packages: 1463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1465 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1466 both] 1467 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1468 --with-sysroot=DIR Search for dependent libraries within DIR 1469 (or the compiler's sysroot if not specified). 1470 --with-fft=choice use an alternate FFT implementation. The available 1471 choices are kiss (default fixed point), smallft 1472 (default floating point), gpl-fftw3 and 1473 proprietary-intel-mkl 1474 1475Some influential environment variables: 1476 CC C compiler command 1477 CFLAGS C compiler flags 1478 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1479 nonstandard directory <lib dir> 1480 LIBS libraries to pass to the linker, e.g. -l<library> 1481 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1482 you have headers in a nonstandard directory <include dir> 1483 CPP C preprocessor 1484 PKG_CONFIG path to pkg-config utility 1485 PKG_CONFIG_PATH 1486 directories to add to pkg-config's search path 1487 PKG_CONFIG_LIBDIR 1488 path overriding pkg-config's built-in search path 1489 FFT_CFLAGS C compiler flags for FFT, overriding pkg-config 1490 FFT_LIBS linker flags for FFT, overriding pkg-config 1491 1492Use these variables to override the choices made by `configure' or to help 1493it to find libraries and programs with nonstandard names/locations. 1494 1495Report bugs to <speex-dev@xiph.org>. 1496_ACEOF 1497ac_status=$? 1498fi 1499 1500if test "$ac_init_help" = "recursive"; then 1501 # If there are subdirs, report their specific --help. 1502 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1503 test -d "$ac_dir" || 1504 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1505 continue 1506 ac_builddir=. 1507 1508case "$ac_dir" in 1509.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1510*) 1511 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1512 # A ".." for each directory in $ac_dir_suffix. 1513 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1514 case $ac_top_builddir_sub in 1515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1517 esac ;; 1518esac 1519ac_abs_top_builddir=$ac_pwd 1520ac_abs_builddir=$ac_pwd$ac_dir_suffix 1521# for backward compatibility: 1522ac_top_builddir=$ac_top_build_prefix 1523 1524case $srcdir in 1525 .) # We are building in place. 1526 ac_srcdir=. 1527 ac_top_srcdir=$ac_top_builddir_sub 1528 ac_abs_top_srcdir=$ac_pwd ;; 1529 [\\/]* | ?:[\\/]* ) # Absolute name. 1530 ac_srcdir=$srcdir$ac_dir_suffix; 1531 ac_top_srcdir=$srcdir 1532 ac_abs_top_srcdir=$srcdir ;; 1533 *) # Relative name. 1534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1535 ac_top_srcdir=$ac_top_build_prefix$srcdir 1536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1537esac 1538ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1539 1540 cd "$ac_dir" || { ac_status=$?; continue; } 1541 # Check for guested configure. 1542 if test -f "$ac_srcdir/configure.gnu"; then 1543 echo && 1544 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1545 elif test -f "$ac_srcdir/configure"; then 1546 echo && 1547 $SHELL "$ac_srcdir/configure" --help=recursive 1548 else 1549 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1550 fi || ac_status=$? 1551 cd "$ac_pwd" || { ac_status=$?; break; } 1552 done 1553fi 1554 1555test -n "$ac_init_help" && exit $ac_status 1556if $ac_init_version; then 1557 cat <<\_ACEOF 1558speexdsp configure 1.2rc3 1559generated by GNU Autoconf 2.69 1560 1561Copyright (C) 2012 Free Software Foundation, Inc. 1562This configure script is free software; the Free Software Foundation 1563gives unlimited permission to copy, distribute and modify it. 1564_ACEOF 1565 exit 1566fi 1567 1568## ------------------------ ## 1569## Autoconf initialization. ## 1570## ------------------------ ## 1571 1572# ac_fn_c_try_compile LINENO 1573# -------------------------- 1574# Try to compile conftest.$ac_ext, and return whether this succeeded. 1575ac_fn_c_try_compile () 1576{ 1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1578 rm -f conftest.$ac_objext 1579 if { { ac_try="$ac_compile" 1580case "(($ac_try" in 1581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1582 *) ac_try_echo=$ac_try;; 1583esac 1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1585$as_echo "$ac_try_echo"; } >&5 1586 (eval "$ac_compile") 2>conftest.err 1587 ac_status=$? 1588 if test -s conftest.err; then 1589 grep -v '^ *+' conftest.err >conftest.er1 1590 cat conftest.er1 >&5 1591 mv -f conftest.er1 conftest.err 1592 fi 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { 1595 test -z "$ac_c_werror_flag" || 1596 test ! -s conftest.err 1597 } && test -s conftest.$ac_objext; then : 1598 ac_retval=0 1599else 1600 $as_echo "$as_me: failed program was:" >&5 1601sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=1 1604fi 1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1606 as_fn_set_status $ac_retval 1607 1608} # ac_fn_c_try_compile 1609 1610# ac_fn_c_try_link LINENO 1611# ----------------------- 1612# Try to link conftest.$ac_ext, and return whether this succeeded. 1613ac_fn_c_try_link () 1614{ 1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1616 rm -f conftest.$ac_objext conftest$ac_exeext 1617 if { { ac_try="$ac_link" 1618case "(($ac_try" in 1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1620 *) ac_try_echo=$ac_try;; 1621esac 1622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1623$as_echo "$ac_try_echo"; } >&5 1624 (eval "$ac_link") 2>conftest.err 1625 ac_status=$? 1626 if test -s conftest.err; then 1627 grep -v '^ *+' conftest.err >conftest.er1 1628 cat conftest.er1 >&5 1629 mv -f conftest.er1 conftest.err 1630 fi 1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1632 test $ac_status = 0; } && { 1633 test -z "$ac_c_werror_flag" || 1634 test ! -s conftest.err 1635 } && test -s conftest$ac_exeext && { 1636 test "$cross_compiling" = yes || 1637 test -x conftest$ac_exeext 1638 }; then : 1639 ac_retval=0 1640else 1641 $as_echo "$as_me: failed program was:" >&5 1642sed 's/^/| /' conftest.$ac_ext >&5 1643 1644 ac_retval=1 1645fi 1646 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1647 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1648 # interfere with the next link command; also delete a directory that is 1649 # left behind by Apple's compiler. We do this before executing the actions. 1650 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1652 as_fn_set_status $ac_retval 1653 1654} # ac_fn_c_try_link 1655 1656# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1657# ------------------------------------------------------- 1658# Tests whether HEADER exists and can be compiled using the include files in 1659# INCLUDES, setting the cache variable VAR accordingly. 1660ac_fn_c_check_header_compile () 1661{ 1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1664$as_echo_n "checking for $2... " >&6; } 1665if eval \${$3+:} false; then : 1666 $as_echo_n "(cached) " >&6 1667else 1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1669/* end confdefs.h. */ 1670$4 1671#include <$2> 1672_ACEOF 1673if ac_fn_c_try_compile "$LINENO"; then : 1674 eval "$3=yes" 1675else 1676 eval "$3=no" 1677fi 1678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1679fi 1680eval ac_res=\$$3 1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1682$as_echo "$ac_res" >&6; } 1683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1684 1685} # ac_fn_c_check_header_compile 1686 1687# ac_fn_c_try_cpp LINENO 1688# ---------------------- 1689# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1690ac_fn_c_try_cpp () 1691{ 1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1693 if { { ac_try="$ac_cpp conftest.$ac_ext" 1694case "(($ac_try" in 1695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1696 *) ac_try_echo=$ac_try;; 1697esac 1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1699$as_echo "$ac_try_echo"; } >&5 1700 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1701 ac_status=$? 1702 if test -s conftest.err; then 1703 grep -v '^ *+' conftest.err >conftest.er1 1704 cat conftest.er1 >&5 1705 mv -f conftest.er1 conftest.err 1706 fi 1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1708 test $ac_status = 0; } > conftest.i && { 1709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1710 test ! -s conftest.err 1711 }; then : 1712 ac_retval=0 1713else 1714 $as_echo "$as_me: failed program was:" >&5 1715sed 's/^/| /' conftest.$ac_ext >&5 1716 1717 ac_retval=1 1718fi 1719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1720 as_fn_set_status $ac_retval 1721 1722} # ac_fn_c_try_cpp 1723 1724# ac_fn_c_try_run LINENO 1725# ---------------------- 1726# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1727# that executables *can* be run. 1728ac_fn_c_try_run () 1729{ 1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1731 if { { ac_try="$ac_link" 1732case "(($ac_try" in 1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1734 *) ac_try_echo=$ac_try;; 1735esac 1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1737$as_echo "$ac_try_echo"; } >&5 1738 (eval "$ac_link") 2>&5 1739 ac_status=$? 1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1742 { { case "(($ac_try" in 1743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1744 *) ac_try_echo=$ac_try;; 1745esac 1746eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1747$as_echo "$ac_try_echo"; } >&5 1748 (eval "$ac_try") 2>&5 1749 ac_status=$? 1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1751 test $ac_status = 0; }; }; then : 1752 ac_retval=0 1753else 1754 $as_echo "$as_me: program exited with status $ac_status" >&5 1755 $as_echo "$as_me: failed program was:" >&5 1756sed 's/^/| /' conftest.$ac_ext >&5 1757 1758 ac_retval=$ac_status 1759fi 1760 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1762 as_fn_set_status $ac_retval 1763 1764} # ac_fn_c_try_run 1765 1766# ac_fn_c_check_func LINENO FUNC VAR 1767# ---------------------------------- 1768# Tests whether FUNC exists, setting the cache variable VAR accordingly 1769ac_fn_c_check_func () 1770{ 1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1773$as_echo_n "checking for $2... " >&6; } 1774if eval \${$3+:} false; then : 1775 $as_echo_n "(cached) " >&6 1776else 1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1778/* end confdefs.h. */ 1779/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1780 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1781#define $2 innocuous_$2 1782 1783/* System header to define __stub macros and hopefully few prototypes, 1784 which can conflict with char $2 (); below. 1785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1786 <limits.h> exists even on freestanding compilers. */ 1787 1788#ifdef __STDC__ 1789# include <limits.h> 1790#else 1791# include <assert.h> 1792#endif 1793 1794#undef $2 1795 1796/* Override any GCC internal prototype to avoid an error. 1797 Use char because int might match the return type of a GCC 1798 builtin and then its argument prototype would still apply. */ 1799#ifdef __cplusplus 1800extern "C" 1801#endif 1802char $2 (); 1803/* The GNU C library defines this for functions which it implements 1804 to always fail with ENOSYS. Some functions are actually named 1805 something starting with __ and the normal name is an alias. */ 1806#if defined __stub_$2 || defined __stub___$2 1807choke me 1808#endif 1809 1810int 1811main () 1812{ 1813return $2 (); 1814 ; 1815 return 0; 1816} 1817_ACEOF 1818if ac_fn_c_try_link "$LINENO"; then : 1819 eval "$3=yes" 1820else 1821 eval "$3=no" 1822fi 1823rm -f core conftest.err conftest.$ac_objext \ 1824 conftest$ac_exeext conftest.$ac_ext 1825fi 1826eval ac_res=\$$3 1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1828$as_echo "$ac_res" >&6; } 1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1830 1831} # ac_fn_c_check_func 1832 1833# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1834# ------------------------------------------------------- 1835# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1836# the include files in INCLUDES and setting the cache variable VAR 1837# accordingly. 1838ac_fn_c_check_header_mongrel () 1839{ 1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1841 if eval \${$3+:} false; then : 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1843$as_echo_n "checking for $2... " >&6; } 1844if eval \${$3+:} false; then : 1845 $as_echo_n "(cached) " >&6 1846fi 1847eval ac_res=\$$3 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1849$as_echo "$ac_res" >&6; } 1850else 1851 # Is the header compilable? 1852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1853$as_echo_n "checking $2 usability... " >&6; } 1854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1855/* end confdefs.h. */ 1856$4 1857#include <$2> 1858_ACEOF 1859if ac_fn_c_try_compile "$LINENO"; then : 1860 ac_header_compiler=yes 1861else 1862 ac_header_compiler=no 1863fi 1864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1866$as_echo "$ac_header_compiler" >&6; } 1867 1868# Is the header present? 1869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1870$as_echo_n "checking $2 presence... " >&6; } 1871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1872/* end confdefs.h. */ 1873#include <$2> 1874_ACEOF 1875if ac_fn_c_try_cpp "$LINENO"; then : 1876 ac_header_preproc=yes 1877else 1878 ac_header_preproc=no 1879fi 1880rm -f conftest.err conftest.i conftest.$ac_ext 1881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1882$as_echo "$ac_header_preproc" >&6; } 1883 1884# So? What about this header? 1885case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1886 yes:no: ) 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1888$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1890$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1891 ;; 1892 no:yes:* ) 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1894$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1896$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1898$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1900$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1902$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1903( $as_echo "## --------------------------------- ## 1904## Report this to speex-dev@xiph.org ## 1905## --------------------------------- ##" 1906 ) | sed "s/^/$as_me: WARNING: /" >&2 1907 ;; 1908esac 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1910$as_echo_n "checking for $2... " >&6; } 1911if eval \${$3+:} false; then : 1912 $as_echo_n "(cached) " >&6 1913else 1914 eval "$3=\$ac_header_compiler" 1915fi 1916eval ac_res=\$$3 1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1918$as_echo "$ac_res" >&6; } 1919fi 1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1921 1922} # ac_fn_c_check_header_mongrel 1923 1924# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1925# -------------------------------------------- 1926# Tries to find the compile-time value of EXPR in a program that includes 1927# INCLUDES, setting VAR accordingly. Returns whether the value could be 1928# computed 1929ac_fn_c_compute_int () 1930{ 1931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1932 if test "$cross_compiling" = yes; then 1933 # Depending upon the size, compute the lo and hi bounds. 1934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1935/* end confdefs.h. */ 1936$4 1937int 1938main () 1939{ 1940static int test_array [1 - 2 * !(($2) >= 0)]; 1941test_array [0] = 0; 1942return test_array [0]; 1943 1944 ; 1945 return 0; 1946} 1947_ACEOF 1948if ac_fn_c_try_compile "$LINENO"; then : 1949 ac_lo=0 ac_mid=0 1950 while :; do 1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1952/* end confdefs.h. */ 1953$4 1954int 1955main () 1956{ 1957static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1958test_array [0] = 0; 1959return test_array [0]; 1960 1961 ; 1962 return 0; 1963} 1964_ACEOF 1965if ac_fn_c_try_compile "$LINENO"; then : 1966 ac_hi=$ac_mid; break 1967else 1968 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1969 if test $ac_lo -le $ac_mid; then 1970 ac_lo= ac_hi= 1971 break 1972 fi 1973 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1974fi 1975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1976 done 1977else 1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1979/* end confdefs.h. */ 1980$4 1981int 1982main () 1983{ 1984static int test_array [1 - 2 * !(($2) < 0)]; 1985test_array [0] = 0; 1986return test_array [0]; 1987 1988 ; 1989 return 0; 1990} 1991_ACEOF 1992if ac_fn_c_try_compile "$LINENO"; then : 1993 ac_hi=-1 ac_mid=-1 1994 while :; do 1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1996/* end confdefs.h. */ 1997$4 1998int 1999main () 2000{ 2001static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2002test_array [0] = 0; 2003return test_array [0]; 2004 2005 ; 2006 return 0; 2007} 2008_ACEOF 2009if ac_fn_c_try_compile "$LINENO"; then : 2010 ac_lo=$ac_mid; break 2011else 2012 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2013 if test $ac_mid -le $ac_hi; then 2014 ac_lo= ac_hi= 2015 break 2016 fi 2017 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2018fi 2019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2020 done 2021else 2022 ac_lo= ac_hi= 2023fi 2024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2025fi 2026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2027# Binary search between lo and hi bounds. 2028while test "x$ac_lo" != "x$ac_hi"; do 2029 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2031/* end confdefs.h. */ 2032$4 2033int 2034main () 2035{ 2036static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2037test_array [0] = 0; 2038return test_array [0]; 2039 2040 ; 2041 return 0; 2042} 2043_ACEOF 2044if ac_fn_c_try_compile "$LINENO"; then : 2045 ac_hi=$ac_mid 2046else 2047 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2048fi 2049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2050done 2051case $ac_lo in #(( 2052?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2053'') ac_retval=1 ;; 2054esac 2055 else 2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2057/* end confdefs.h. */ 2058$4 2059static long int longval () { return $2; } 2060static unsigned long int ulongval () { return $2; } 2061#include <stdio.h> 2062#include <stdlib.h> 2063int 2064main () 2065{ 2066 2067 FILE *f = fopen ("conftest.val", "w"); 2068 if (! f) 2069 return 1; 2070 if (($2) < 0) 2071 { 2072 long int i = longval (); 2073 if (i != ($2)) 2074 return 1; 2075 fprintf (f, "%ld", i); 2076 } 2077 else 2078 { 2079 unsigned long int i = ulongval (); 2080 if (i != ($2)) 2081 return 1; 2082 fprintf (f, "%lu", i); 2083 } 2084 /* Do not output a trailing newline, as this causes \r\n confusion 2085 on some platforms. */ 2086 return ferror (f) || fclose (f) != 0; 2087 2088 ; 2089 return 0; 2090} 2091_ACEOF 2092if ac_fn_c_try_run "$LINENO"; then : 2093 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2094else 2095 ac_retval=1 2096fi 2097rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2098 conftest.$ac_objext conftest.beam conftest.$ac_ext 2099rm -f conftest.val 2100 2101 fi 2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2103 as_fn_set_status $ac_retval 2104 2105} # ac_fn_c_compute_int 2106cat >config.log <<_ACEOF 2107This file contains any messages produced by compilers while 2108running configure, to aid debugging if configure makes a mistake. 2109 2110It was created by speexdsp $as_me 1.2rc3, which was 2111generated by GNU Autoconf 2.69. Invocation command line was 2112 2113 $ $0 $@ 2114 2115_ACEOF 2116exec 5>>config.log 2117{ 2118cat <<_ASUNAME 2119## --------- ## 2120## Platform. ## 2121## --------- ## 2122 2123hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2124uname -m = `(uname -m) 2>/dev/null || echo unknown` 2125uname -r = `(uname -r) 2>/dev/null || echo unknown` 2126uname -s = `(uname -s) 2>/dev/null || echo unknown` 2127uname -v = `(uname -v) 2>/dev/null || echo unknown` 2128 2129/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2130/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2131 2132/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2133/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2134/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2135/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2136/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2137/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2138/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2139 2140_ASUNAME 2141 2142as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2143for as_dir in $PATH 2144do 2145 IFS=$as_save_IFS 2146 test -z "$as_dir" && as_dir=. 2147 $as_echo "PATH: $as_dir" 2148 done 2149IFS=$as_save_IFS 2150 2151} >&5 2152 2153cat >&5 <<_ACEOF 2154 2155 2156## ----------- ## 2157## Core tests. ## 2158## ----------- ## 2159 2160_ACEOF 2161 2162 2163# Keep a trace of the command line. 2164# Strip out --no-create and --no-recursion so they do not pile up. 2165# Strip out --silent because we don't want to record it for future runs. 2166# Also quote any args containing shell meta-characters. 2167# Make two passes to allow for proper duplicate-argument suppression. 2168ac_configure_args= 2169ac_configure_args0= 2170ac_configure_args1= 2171ac_must_keep_next=false 2172for ac_pass in 1 2 2173do 2174 for ac_arg 2175 do 2176 case $ac_arg in 2177 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2179 | -silent | --silent | --silen | --sile | --sil) 2180 continue ;; 2181 *\'*) 2182 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2183 esac 2184 case $ac_pass in 2185 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2186 2) 2187 as_fn_append ac_configure_args1 " '$ac_arg'" 2188 if test $ac_must_keep_next = true; then 2189 ac_must_keep_next=false # Got value, back to normal. 2190 else 2191 case $ac_arg in 2192 *=* | --config-cache | -C | -disable-* | --disable-* \ 2193 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2194 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2195 | -with-* | --with-* | -without-* | --without-* | --x) 2196 case "$ac_configure_args0 " in 2197 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2198 esac 2199 ;; 2200 -* ) ac_must_keep_next=true ;; 2201 esac 2202 fi 2203 as_fn_append ac_configure_args " '$ac_arg'" 2204 ;; 2205 esac 2206 done 2207done 2208{ ac_configure_args0=; unset ac_configure_args0;} 2209{ ac_configure_args1=; unset ac_configure_args1;} 2210 2211# When interrupted or exit'd, cleanup temporary files, and complete 2212# config.log. We remove comments because anyway the quotes in there 2213# would cause problems or look ugly. 2214# WARNING: Use '\'' to represent an apostrophe within the trap. 2215# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2216trap 'exit_status=$? 2217 # Save into config.log some information that might help in debugging. 2218 { 2219 echo 2220 2221 $as_echo "## ---------------- ## 2222## Cache variables. ## 2223## ---------------- ##" 2224 echo 2225 # The following way of writing the cache mishandles newlines in values, 2226( 2227 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2228 eval ac_val=\$$ac_var 2229 case $ac_val in #( 2230 *${as_nl}*) 2231 case $ac_var in #( 2232 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2233$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2234 esac 2235 case $ac_var in #( 2236 _ | IFS | as_nl) ;; #( 2237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2238 *) { eval $ac_var=; unset $ac_var;} ;; 2239 esac ;; 2240 esac 2241 done 2242 (set) 2>&1 | 2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2244 *${as_nl}ac_space=\ *) 2245 sed -n \ 2246 "s/'\''/'\''\\\\'\'''\''/g; 2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2248 ;; #( 2249 *) 2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2251 ;; 2252 esac | 2253 sort 2254) 2255 echo 2256 2257 $as_echo "## ----------------- ## 2258## Output variables. ## 2259## ----------------- ##" 2260 echo 2261 for ac_var in $ac_subst_vars 2262 do 2263 eval ac_val=\$$ac_var 2264 case $ac_val in 2265 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2266 esac 2267 $as_echo "$ac_var='\''$ac_val'\''" 2268 done | sort 2269 echo 2270 2271 if test -n "$ac_subst_files"; then 2272 $as_echo "## ------------------- ## 2273## File substitutions. ## 2274## ------------------- ##" 2275 echo 2276 for ac_var in $ac_subst_files 2277 do 2278 eval ac_val=\$$ac_var 2279 case $ac_val in 2280 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2281 esac 2282 $as_echo "$ac_var='\''$ac_val'\''" 2283 done | sort 2284 echo 2285 fi 2286 2287 if test -s confdefs.h; then 2288 $as_echo "## ----------- ## 2289## confdefs.h. ## 2290## ----------- ##" 2291 echo 2292 cat confdefs.h 2293 echo 2294 fi 2295 test "$ac_signal" != 0 && 2296 $as_echo "$as_me: caught signal $ac_signal" 2297 $as_echo "$as_me: exit $exit_status" 2298 } >&5 2299 rm -f core *.core core.conftest.* && 2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2301 exit $exit_status 2302' 0 2303for ac_signal in 1 2 13 15; do 2304 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2305done 2306ac_signal=0 2307 2308# confdefs.h avoids OS command line length limits that DEFS can exceed. 2309rm -f -r conftest* confdefs.h 2310 2311$as_echo "/* confdefs.h */" > confdefs.h 2312 2313# Predefined preprocessor variables. 2314 2315cat >>confdefs.h <<_ACEOF 2316#define PACKAGE_NAME "$PACKAGE_NAME" 2317_ACEOF 2318 2319cat >>confdefs.h <<_ACEOF 2320#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2321_ACEOF 2322 2323cat >>confdefs.h <<_ACEOF 2324#define PACKAGE_VERSION "$PACKAGE_VERSION" 2325_ACEOF 2326 2327cat >>confdefs.h <<_ACEOF 2328#define PACKAGE_STRING "$PACKAGE_STRING" 2329_ACEOF 2330 2331cat >>confdefs.h <<_ACEOF 2332#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2333_ACEOF 2334 2335cat >>confdefs.h <<_ACEOF 2336#define PACKAGE_URL "$PACKAGE_URL" 2337_ACEOF 2338 2339 2340# Let the site file select an alternate cache file if it wants to. 2341# Prefer an explicitly selected file to automatically selected ones. 2342ac_site_file1=NONE 2343ac_site_file2=NONE 2344if test -n "$CONFIG_SITE"; then 2345 # We do not want a PATH search for config.site. 2346 case $CONFIG_SITE in #(( 2347 -*) ac_site_file1=./$CONFIG_SITE;; 2348 */*) ac_site_file1=$CONFIG_SITE;; 2349 *) ac_site_file1=./$CONFIG_SITE;; 2350 esac 2351elif test "x$prefix" != xNONE; then 2352 ac_site_file1=$prefix/share/config.site 2353 ac_site_file2=$prefix/etc/config.site 2354else 2355 ac_site_file1=$ac_default_prefix/share/config.site 2356 ac_site_file2=$ac_default_prefix/etc/config.site 2357fi 2358for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2359do 2360 test "x$ac_site_file" = xNONE && continue 2361 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2362 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2363$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2364 sed 's/^/| /' "$ac_site_file" >&5 2365 . "$ac_site_file" \ 2366 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2368as_fn_error $? "failed to load site script $ac_site_file 2369See \`config.log' for more details" "$LINENO" 5; } 2370 fi 2371done 2372 2373if test -r "$cache_file"; then 2374 # Some versions of bash will fail to source /dev/null (special files 2375 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2378$as_echo "$as_me: loading cache $cache_file" >&6;} 2379 case $cache_file in 2380 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2381 *) . "./$cache_file";; 2382 esac 2383 fi 2384else 2385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2386$as_echo "$as_me: creating cache $cache_file" >&6;} 2387 >$cache_file 2388fi 2389 2390# Check that the precious variables saved in the cache have kept the same 2391# value. 2392ac_cache_corrupted=false 2393for ac_var in $ac_precious_vars; do 2394 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2395 eval ac_new_set=\$ac_env_${ac_var}_set 2396 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2397 eval ac_new_val=\$ac_env_${ac_var}_value 2398 case $ac_old_set,$ac_new_set in 2399 set,) 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2401$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2402 ac_cache_corrupted=: ;; 2403 ,set) 2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2405$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2406 ac_cache_corrupted=: ;; 2407 ,);; 2408 *) 2409 if test "x$ac_old_val" != "x$ac_new_val"; then 2410 # differences in whitespace do not lead to failure. 2411 ac_old_val_w=`echo x $ac_old_val` 2412 ac_new_val_w=`echo x $ac_new_val` 2413 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2415$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2416 ac_cache_corrupted=: 2417 else 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2419$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2420 eval $ac_var=\$ac_old_val 2421 fi 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2423$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2425$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2426 fi;; 2427 esac 2428 # Pass precious variables to config.status. 2429 if test "$ac_new_set" = set; then 2430 case $ac_new_val in 2431 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2432 *) ac_arg=$ac_var=$ac_new_val ;; 2433 esac 2434 case " $ac_configure_args " in 2435 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2436 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2437 esac 2438 fi 2439done 2440if $ac_cache_corrupted; then 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2442$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2444$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2445 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2446fi 2447## -------------------- ## 2448## Main body of script. ## 2449## -------------------- ## 2450 2451ac_ext=c 2452ac_cpp='$CPP $CPPFLAGS' 2453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2455ac_compiler_gnu=$ac_cv_c_compiler_gnu 2456 2457 2458 2459 2460 2461 2462# Check whether --enable-silent-rules was given. 2463if test "${enable_silent_rules+set}" = set; then : 2464 enableval=$enable_silent_rules; 2465fi 2466 2467case $enable_silent_rules in # ((( 2468 yes) AM_DEFAULT_VERBOSITY=0;; 2469 no) AM_DEFAULT_VERBOSITY=1;; 2470 *) AM_DEFAULT_VERBOSITY=0;; 2471esac 2472am_make=${MAKE-make} 2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2474$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2475if ${am_cv_make_support_nested_variables+:} false; then : 2476 $as_echo_n "(cached) " >&6 2477else 2478 if $as_echo 'TRUE=$(BAR$(V)) 2479BAR0=false 2480BAR1=true 2481V=1 2482am__doit: 2483 @$(TRUE) 2484.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2485 am_cv_make_support_nested_variables=yes 2486else 2487 am_cv_make_support_nested_variables=no 2488fi 2489fi 2490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2491$as_echo "$am_cv_make_support_nested_variables" >&6; } 2492if test $am_cv_make_support_nested_variables = yes; then 2493 AM_V='$(V)' 2494 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2495else 2496 AM_V=$AM_DEFAULT_VERBOSITY 2497 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2498fi 2499AM_BACKSLASH='\' 2500 2501 2502 2503SPEEXDSP_LT_CURRENT=6 2504SPEEXDSP_LT_REVISION=0 2505SPEEXDSP_LT_AGE=5 2506 2507 2508 2509 2510 2511 2512am__api_version='1.14' 2513 2514ac_aux_dir= 2515for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2516 if test -f "$ac_dir/install-sh"; then 2517 ac_aux_dir=$ac_dir 2518 ac_install_sh="$ac_aux_dir/install-sh -c" 2519 break 2520 elif test -f "$ac_dir/install.sh"; then 2521 ac_aux_dir=$ac_dir 2522 ac_install_sh="$ac_aux_dir/install.sh -c" 2523 break 2524 elif test -f "$ac_dir/shtool"; then 2525 ac_aux_dir=$ac_dir 2526 ac_install_sh="$ac_aux_dir/shtool install -c" 2527 break 2528 fi 2529done 2530if test -z "$ac_aux_dir"; then 2531 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2532fi 2533 2534# These three variables are undocumented and unsupported, 2535# and are intended to be withdrawn in a future Autoconf release. 2536# They can cause serious problems if a builder's source tree is in a directory 2537# whose full name contains unusual characters. 2538ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2539ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2540ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2541 2542 2543# Find a good install program. We prefer a C program (faster), 2544# so one script is as good as another. But avoid the broken or 2545# incompatible versions: 2546# SysV /etc/install, /usr/sbin/install 2547# SunOS /usr/etc/install 2548# IRIX /sbin/install 2549# AIX /bin/install 2550# AmigaOS /C/install, which installs bootblocks on floppy discs 2551# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2552# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2553# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2554# OS/2's system install, which has a completely different semantic 2555# ./install, which can be erroneously created by make from ./install.sh. 2556# Reject install programs that cannot install multiple files. 2557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2558$as_echo_n "checking for a BSD-compatible install... " >&6; } 2559if test -z "$INSTALL"; then 2560if ${ac_cv_path_install+:} false; then : 2561 $as_echo_n "(cached) " >&6 2562else 2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2564for as_dir in $PATH 2565do 2566 IFS=$as_save_IFS 2567 test -z "$as_dir" && as_dir=. 2568 # Account for people who put trailing slashes in PATH elements. 2569case $as_dir/ in #(( 2570 ./ | .// | /[cC]/* | \ 2571 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2572 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2573 /usr/ucb/* ) ;; 2574 *) 2575 # OSF1 and SCO ODT 3.0 have their own names for install. 2576 # Don't use installbsd from OSF since it installs stuff as root 2577 # by default. 2578 for ac_prog in ginstall scoinst install; do 2579 for ac_exec_ext in '' $ac_executable_extensions; do 2580 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2581 if test $ac_prog = install && 2582 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2583 # AIX install. It has an incompatible calling convention. 2584 : 2585 elif test $ac_prog = install && 2586 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2587 # program-specific install script used by HP pwplus--don't use. 2588 : 2589 else 2590 rm -rf conftest.one conftest.two conftest.dir 2591 echo one > conftest.one 2592 echo two > conftest.two 2593 mkdir conftest.dir 2594 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2595 test -s conftest.one && test -s conftest.two && 2596 test -s conftest.dir/conftest.one && 2597 test -s conftest.dir/conftest.two 2598 then 2599 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2600 break 3 2601 fi 2602 fi 2603 fi 2604 done 2605 done 2606 ;; 2607esac 2608 2609 done 2610IFS=$as_save_IFS 2611 2612rm -rf conftest.one conftest.two conftest.dir 2613 2614fi 2615 if test "${ac_cv_path_install+set}" = set; then 2616 INSTALL=$ac_cv_path_install 2617 else 2618 # As a last resort, use the slow shell script. Don't cache a 2619 # value for INSTALL within a source directory, because that will 2620 # break other packages using the cache if that directory is 2621 # removed, or if the value is a relative name. 2622 INSTALL=$ac_install_sh 2623 fi 2624fi 2625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2626$as_echo "$INSTALL" >&6; } 2627 2628# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2629# It thinks the first close brace ends the variable substitution. 2630test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2631 2632test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2633 2634test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2635 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2637$as_echo_n "checking whether build environment is sane... " >&6; } 2638# Reject unsafe characters in $srcdir or the absolute working directory 2639# name. Accept space and tab only in the latter. 2640am_lf=' 2641' 2642case `pwd` in 2643 *[\\\"\#\$\&\'\`$am_lf]*) 2644 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2645esac 2646case $srcdir in 2647 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2648 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2649esac 2650 2651# Do 'set' in a subshell so we don't clobber the current shell's 2652# arguments. Must try -L first in case configure is actually a 2653# symlink; some systems play weird games with the mod time of symlinks 2654# (eg FreeBSD returns the mod time of the symlink's containing 2655# directory). 2656if ( 2657 am_has_slept=no 2658 for am_try in 1 2; do 2659 echo "timestamp, slept: $am_has_slept" > conftest.file 2660 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2661 if test "$*" = "X"; then 2662 # -L didn't work. 2663 set X `ls -t "$srcdir/configure" conftest.file` 2664 fi 2665 if test "$*" != "X $srcdir/configure conftest.file" \ 2666 && test "$*" != "X conftest.file $srcdir/configure"; then 2667 2668 # If neither matched, then we have a broken ls. This can happen 2669 # if, for instance, CONFIG_SHELL is bash and it inherits a 2670 # broken ls alias from the environment. This has actually 2671 # happened. Such a system could not be considered "sane". 2672 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2673 alias in your environment" "$LINENO" 5 2674 fi 2675 if test "$2" = conftest.file || test $am_try -eq 2; then 2676 break 2677 fi 2678 # Just in case. 2679 sleep 1 2680 am_has_slept=yes 2681 done 2682 test "$2" = conftest.file 2683 ) 2684then 2685 # Ok. 2686 : 2687else 2688 as_fn_error $? "newly created file is older than distributed files! 2689Check your system clock" "$LINENO" 5 2690fi 2691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2692$as_echo "yes" >&6; } 2693# If we didn't sleep, we still need to ensure time stamps of config.status and 2694# generated files are strictly newer. 2695am_sleep_pid= 2696if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2697 ( sleep 1 ) & 2698 am_sleep_pid=$! 2699fi 2700 2701rm -f conftest.file 2702 2703test "$program_prefix" != NONE && 2704 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2705# Use a double $ so make ignores it. 2706test "$program_suffix" != NONE && 2707 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2708# Double any \ or $. 2709# By default was `s,x,x', remove it if useless. 2710ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2711program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2712 2713# expand $ac_aux_dir to an absolute path 2714am_aux_dir=`cd $ac_aux_dir && pwd` 2715 2716if test x"${MISSING+set}" != xset; then 2717 case $am_aux_dir in 2718 *\ * | *\ *) 2719 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2720 *) 2721 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2722 esac 2723fi 2724# Use eval to expand $SHELL 2725if eval "$MISSING --is-lightweight"; then 2726 am_missing_run="$MISSING " 2727else 2728 am_missing_run= 2729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2730$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2731fi 2732 2733if test x"${install_sh}" != xset; then 2734 case $am_aux_dir in 2735 *\ * | *\ *) 2736 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2737 *) 2738 install_sh="\${SHELL} $am_aux_dir/install-sh" 2739 esac 2740fi 2741 2742# Installed binaries are usually stripped using 'strip' when the user 2743# run "make install-strip". However 'strip' might not be the right 2744# tool to use in cross-compilation environments, therefore Automake 2745# will honor the 'STRIP' environment variable to overrule this program. 2746if test "$cross_compiling" != no; then 2747 if test -n "$ac_tool_prefix"; then 2748 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2749set dummy ${ac_tool_prefix}strip; ac_word=$2 2750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2751$as_echo_n "checking for $ac_word... " >&6; } 2752if ${ac_cv_prog_STRIP+:} false; then : 2753 $as_echo_n "(cached) " >&6 2754else 2755 if test -n "$STRIP"; then 2756 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2757else 2758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2759for as_dir in $PATH 2760do 2761 IFS=$as_save_IFS 2762 test -z "$as_dir" && as_dir=. 2763 for ac_exec_ext in '' $ac_executable_extensions; do 2764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2765 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2767 break 2 2768 fi 2769done 2770 done 2771IFS=$as_save_IFS 2772 2773fi 2774fi 2775STRIP=$ac_cv_prog_STRIP 2776if test -n "$STRIP"; then 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2778$as_echo "$STRIP" >&6; } 2779else 2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2781$as_echo "no" >&6; } 2782fi 2783 2784 2785fi 2786if test -z "$ac_cv_prog_STRIP"; then 2787 ac_ct_STRIP=$STRIP 2788 # Extract the first word of "strip", so it can be a program name with args. 2789set dummy strip; ac_word=$2 2790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2791$as_echo_n "checking for $ac_word... " >&6; } 2792if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2793 $as_echo_n "(cached) " >&6 2794else 2795 if test -n "$ac_ct_STRIP"; then 2796 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2797else 2798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2799for as_dir in $PATH 2800do 2801 IFS=$as_save_IFS 2802 test -z "$as_dir" && as_dir=. 2803 for ac_exec_ext in '' $ac_executable_extensions; do 2804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2805 ac_cv_prog_ac_ct_STRIP="strip" 2806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2807 break 2 2808 fi 2809done 2810 done 2811IFS=$as_save_IFS 2812 2813fi 2814fi 2815ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2816if test -n "$ac_ct_STRIP"; then 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2818$as_echo "$ac_ct_STRIP" >&6; } 2819else 2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2821$as_echo "no" >&6; } 2822fi 2823 2824 if test "x$ac_ct_STRIP" = x; then 2825 STRIP=":" 2826 else 2827 case $cross_compiling:$ac_tool_warned in 2828yes:) 2829{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2830$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2831ac_tool_warned=yes ;; 2832esac 2833 STRIP=$ac_ct_STRIP 2834 fi 2835else 2836 STRIP="$ac_cv_prog_STRIP" 2837fi 2838 2839fi 2840INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2841 2842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2843$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2844if test -z "$MKDIR_P"; then 2845 if ${ac_cv_path_mkdir+:} false; then : 2846 $as_echo_n "(cached) " >&6 2847else 2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2849for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2850do 2851 IFS=$as_save_IFS 2852 test -z "$as_dir" && as_dir=. 2853 for ac_prog in mkdir gmkdir; do 2854 for ac_exec_ext in '' $ac_executable_extensions; do 2855 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2856 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2857 'mkdir (GNU coreutils) '* | \ 2858 'mkdir (coreutils) '* | \ 2859 'mkdir (fileutils) '4.1*) 2860 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2861 break 3;; 2862 esac 2863 done 2864 done 2865 done 2866IFS=$as_save_IFS 2867 2868fi 2869 2870 test -d ./--version && rmdir ./--version 2871 if test "${ac_cv_path_mkdir+set}" = set; then 2872 MKDIR_P="$ac_cv_path_mkdir -p" 2873 else 2874 # As a last resort, use the slow shell script. Don't cache a 2875 # value for MKDIR_P within a source directory, because that will 2876 # break other packages using the cache if that directory is 2877 # removed, or if the value is a relative name. 2878 MKDIR_P="$ac_install_sh -d" 2879 fi 2880fi 2881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2882$as_echo "$MKDIR_P" >&6; } 2883 2884for ac_prog in gawk mawk nawk awk 2885do 2886 # Extract the first word of "$ac_prog", so it can be a program name with args. 2887set dummy $ac_prog; ac_word=$2 2888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2889$as_echo_n "checking for $ac_word... " >&6; } 2890if ${ac_cv_prog_AWK+:} false; then : 2891 $as_echo_n "(cached) " >&6 2892else 2893 if test -n "$AWK"; then 2894 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2895else 2896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2897for as_dir in $PATH 2898do 2899 IFS=$as_save_IFS 2900 test -z "$as_dir" && as_dir=. 2901 for ac_exec_ext in '' $ac_executable_extensions; do 2902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2903 ac_cv_prog_AWK="$ac_prog" 2904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2905 break 2 2906 fi 2907done 2908 done 2909IFS=$as_save_IFS 2910 2911fi 2912fi 2913AWK=$ac_cv_prog_AWK 2914if test -n "$AWK"; then 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2916$as_echo "$AWK" >&6; } 2917else 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2919$as_echo "no" >&6; } 2920fi 2921 2922 2923 test -n "$AWK" && break 2924done 2925 2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2927$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2928set x ${MAKE-make} 2929ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2930if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2931 $as_echo_n "(cached) " >&6 2932else 2933 cat >conftest.make <<\_ACEOF 2934SHELL = /bin/sh 2935all: 2936 @echo '@@@%%%=$(MAKE)=@@@%%%' 2937_ACEOF 2938# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2939case `${MAKE-make} -f conftest.make 2>/dev/null` in 2940 *@@@%%%=?*=@@@%%%*) 2941 eval ac_cv_prog_make_${ac_make}_set=yes;; 2942 *) 2943 eval ac_cv_prog_make_${ac_make}_set=no;; 2944esac 2945rm -f conftest.make 2946fi 2947if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2949$as_echo "yes" >&6; } 2950 SET_MAKE= 2951else 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2953$as_echo "no" >&6; } 2954 SET_MAKE="MAKE=${MAKE-make}" 2955fi 2956 2957rm -rf .tst 2>/dev/null 2958mkdir .tst 2>/dev/null 2959if test -d .tst; then 2960 am__leading_dot=. 2961else 2962 am__leading_dot=_ 2963fi 2964rmdir .tst 2>/dev/null 2965 2966if test "`cd $srcdir && pwd`" != "`pwd`"; then 2967 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2968 # is not polluted with repeated "-I." 2969 am__isrc=' -I$(srcdir)' 2970 # test to see if srcdir already configured 2971 if test -f $srcdir/config.status; then 2972 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2973 fi 2974fi 2975 2976# test whether we have cygpath 2977if test -z "$CYGPATH_W"; then 2978 if (cygpath --version) >/dev/null 2>/dev/null; then 2979 CYGPATH_W='cygpath -w' 2980 else 2981 CYGPATH_W=echo 2982 fi 2983fi 2984 2985 2986# Define the identity of the package. 2987 PACKAGE='speexdsp' 2988 VERSION='1.2rc3' 2989 2990 2991# Some tools Automake needs. 2992 2993ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2994 2995 2996AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2997 2998 2999AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3000 3001 3002AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3003 3004 3005MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3006 3007# For better backward compatibility. To be removed once Automake 1.9.x 3008# dies out for good. For more background, see: 3009# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3010# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3011mkdir_p='$(MKDIR_P)' 3012 3013# We need awk for the "check" target. The system "awk" is bad on 3014# some platforms. 3015# Always define AMTAR for backward compatibility. Yes, it's still used 3016# in the wild :-( We should find a proper way to deprecate it ... 3017AMTAR='$${TAR-tar}' 3018 3019 3020# We'll loop over all known methods to create a tar archive until one works. 3021_am_tools='gnutar pax cpio none' 3022 3023am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3024 3025 3026 3027 3028 3029 3030# POSIX will say in a future version that running "rm -f" with no argument 3031# is OK; and we want to be able to make that assumption in our Makefile 3032# recipes. So use an aggressive probe to check that the usage we want is 3033# actually supported "in the wild" to an acceptable degree. 3034# See automake bug#10828. 3035# To make any issue more visible, cause the running configure to be aborted 3036# by default if the 'rm' program in use doesn't match our expectations; the 3037# user can still override this though. 3038if rm -f && rm -fr && rm -rf; then : OK; else 3039 cat >&2 <<'END' 3040Oops! 3041 3042Your 'rm' program seems unable to run without file operands specified 3043on the command line, even when the '-f' option is present. This is contrary 3044to the behaviour of most rm programs out there, and not conforming with 3045the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3046 3047Please tell bug-automake@gnu.org about your system, including the value 3048of your $PATH and any error possibly output before this message. This 3049can help us improve future automake versions. 3050 3051END 3052 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3053 echo 'Configuration will proceed anyway, since you have set the' >&2 3054 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3055 echo >&2 3056 else 3057 cat >&2 <<'END' 3058Aborting the configuration process, to ensure you take notice of the issue. 3059 3060You can download and install GNU coreutils to get an 'rm' implementation 3061that behaves properly: <http://www.gnu.org/software/coreutils/>. 3062 3063If you want to complete the configuration process using your problematic 3064'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3065to "yes", and re-run configure. 3066 3067END 3068 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3069 fi 3070fi 3071 3072 3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3074$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3075 # Check whether --enable-maintainer-mode was given. 3076if test "${enable_maintainer_mode+set}" = set; then : 3077 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3078else 3079 USE_MAINTAINER_MODE=yes 3080fi 3081 3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3083$as_echo "$USE_MAINTAINER_MODE" >&6; } 3084 if test $USE_MAINTAINER_MODE = yes; then 3085 MAINTAINER_MODE_TRUE= 3086 MAINTAINER_MODE_FALSE='#' 3087else 3088 MAINTAINER_MODE_TRUE='#' 3089 MAINTAINER_MODE_FALSE= 3090fi 3091 3092 MAINT=$MAINTAINER_MODE_TRUE 3093 3094 3095 3096# Make sure we can run config.sub. 3097$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3098 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3099 3100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3101$as_echo_n "checking build system type... " >&6; } 3102if ${ac_cv_build+:} false; then : 3103 $as_echo_n "(cached) " >&6 3104else 3105 ac_build_alias=$build_alias 3106test "x$ac_build_alias" = x && 3107 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3108test "x$ac_build_alias" = x && 3109 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3110ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3112 3113fi 3114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3115$as_echo "$ac_cv_build" >&6; } 3116case $ac_cv_build in 3117*-*-*) ;; 3118*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3119esac 3120build=$ac_cv_build 3121ac_save_IFS=$IFS; IFS='-' 3122set x $ac_cv_build 3123shift 3124build_cpu=$1 3125build_vendor=$2 3126shift; shift 3127# Remember, the first character of IFS is used to create $*, 3128# except with old shells: 3129build_os=$* 3130IFS=$ac_save_IFS 3131case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3132 3133 3134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3135$as_echo_n "checking host system type... " >&6; } 3136if ${ac_cv_host+:} false; then : 3137 $as_echo_n "(cached) " >&6 3138else 3139 if test "x$host_alias" = x; then 3140 ac_cv_host=$ac_cv_build 3141else 3142 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3143 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3144fi 3145 3146fi 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3148$as_echo "$ac_cv_host" >&6; } 3149case $ac_cv_host in 3150*-*-*) ;; 3151*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3152esac 3153host=$ac_cv_host 3154ac_save_IFS=$IFS; IFS='-' 3155set x $ac_cv_host 3156shift 3157host_cpu=$1 3158host_vendor=$2 3159shift; shift 3160# Remember, the first character of IFS is used to create $*, 3161# except with old shells: 3162host_os=$* 3163IFS=$ac_save_IFS 3164case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3165 3166 3167enable_win32_dll=yes 3168 3169case $host in 3170*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3171 if test -n "$ac_tool_prefix"; then 3172 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3173set dummy ${ac_tool_prefix}as; ac_word=$2 3174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3175$as_echo_n "checking for $ac_word... " >&6; } 3176if ${ac_cv_prog_AS+:} false; then : 3177 $as_echo_n "(cached) " >&6 3178else 3179 if test -n "$AS"; then 3180 ac_cv_prog_AS="$AS" # Let the user override the test. 3181else 3182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3183for as_dir in $PATH 3184do 3185 IFS=$as_save_IFS 3186 test -z "$as_dir" && as_dir=. 3187 for ac_exec_ext in '' $ac_executable_extensions; do 3188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3189 ac_cv_prog_AS="${ac_tool_prefix}as" 3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3191 break 2 3192 fi 3193done 3194 done 3195IFS=$as_save_IFS 3196 3197fi 3198fi 3199AS=$ac_cv_prog_AS 3200if test -n "$AS"; then 3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3202$as_echo "$AS" >&6; } 3203else 3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3205$as_echo "no" >&6; } 3206fi 3207 3208 3209fi 3210if test -z "$ac_cv_prog_AS"; then 3211 ac_ct_AS=$AS 3212 # Extract the first word of "as", so it can be a program name with args. 3213set dummy as; ac_word=$2 3214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3215$as_echo_n "checking for $ac_word... " >&6; } 3216if ${ac_cv_prog_ac_ct_AS+:} false; then : 3217 $as_echo_n "(cached) " >&6 3218else 3219 if test -n "$ac_ct_AS"; then 3220 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3221else 3222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3223for as_dir in $PATH 3224do 3225 IFS=$as_save_IFS 3226 test -z "$as_dir" && as_dir=. 3227 for ac_exec_ext in '' $ac_executable_extensions; do 3228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3229 ac_cv_prog_ac_ct_AS="as" 3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3231 break 2 3232 fi 3233done 3234 done 3235IFS=$as_save_IFS 3236 3237fi 3238fi 3239ac_ct_AS=$ac_cv_prog_ac_ct_AS 3240if test -n "$ac_ct_AS"; then 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3242$as_echo "$ac_ct_AS" >&6; } 3243else 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3245$as_echo "no" >&6; } 3246fi 3247 3248 if test "x$ac_ct_AS" = x; then 3249 AS="false" 3250 else 3251 case $cross_compiling:$ac_tool_warned in 3252yes:) 3253{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3254$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3255ac_tool_warned=yes ;; 3256esac 3257 AS=$ac_ct_AS 3258 fi 3259else 3260 AS="$ac_cv_prog_AS" 3261fi 3262 3263 if test -n "$ac_tool_prefix"; then 3264 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3265set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3267$as_echo_n "checking for $ac_word... " >&6; } 3268if ${ac_cv_prog_DLLTOOL+:} false; then : 3269 $as_echo_n "(cached) " >&6 3270else 3271 if test -n "$DLLTOOL"; then 3272 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3273else 3274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3275for as_dir in $PATH 3276do 3277 IFS=$as_save_IFS 3278 test -z "$as_dir" && as_dir=. 3279 for ac_exec_ext in '' $ac_executable_extensions; do 3280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3281 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3283 break 2 3284 fi 3285done 3286 done 3287IFS=$as_save_IFS 3288 3289fi 3290fi 3291DLLTOOL=$ac_cv_prog_DLLTOOL 3292if test -n "$DLLTOOL"; then 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 3294$as_echo "$DLLTOOL" >&6; } 3295else 3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3297$as_echo "no" >&6; } 3298fi 3299 3300 3301fi 3302if test -z "$ac_cv_prog_DLLTOOL"; then 3303 ac_ct_DLLTOOL=$DLLTOOL 3304 # Extract the first word of "dlltool", so it can be a program name with args. 3305set dummy dlltool; ac_word=$2 3306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3307$as_echo_n "checking for $ac_word... " >&6; } 3308if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 3309 $as_echo_n "(cached) " >&6 3310else 3311 if test -n "$ac_ct_DLLTOOL"; then 3312 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 3313else 3314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3315for as_dir in $PATH 3316do 3317 IFS=$as_save_IFS 3318 test -z "$as_dir" && as_dir=. 3319 for ac_exec_ext in '' $ac_executable_extensions; do 3320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3321 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 3322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3323 break 2 3324 fi 3325done 3326 done 3327IFS=$as_save_IFS 3328 3329fi 3330fi 3331ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 3332if test -n "$ac_ct_DLLTOOL"; then 3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 3334$as_echo "$ac_ct_DLLTOOL" >&6; } 3335else 3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3337$as_echo "no" >&6; } 3338fi 3339 3340 if test "x$ac_ct_DLLTOOL" = x; then 3341 DLLTOOL="false" 3342 else 3343 case $cross_compiling:$ac_tool_warned in 3344yes:) 3345{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3346$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3347ac_tool_warned=yes ;; 3348esac 3349 DLLTOOL=$ac_ct_DLLTOOL 3350 fi 3351else 3352 DLLTOOL="$ac_cv_prog_DLLTOOL" 3353fi 3354 3355 if test -n "$ac_tool_prefix"; then 3356 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 3357set dummy ${ac_tool_prefix}objdump; ac_word=$2 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3359$as_echo_n "checking for $ac_word... " >&6; } 3360if ${ac_cv_prog_OBJDUMP+:} false; then : 3361 $as_echo_n "(cached) " >&6 3362else 3363 if test -n "$OBJDUMP"; then 3364 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 3365else 3366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3367for as_dir in $PATH 3368do 3369 IFS=$as_save_IFS 3370 test -z "$as_dir" && as_dir=. 3371 for ac_exec_ext in '' $ac_executable_extensions; do 3372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3373 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3375 break 2 3376 fi 3377done 3378 done 3379IFS=$as_save_IFS 3380 3381fi 3382fi 3383OBJDUMP=$ac_cv_prog_OBJDUMP 3384if test -n "$OBJDUMP"; then 3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 3386$as_echo "$OBJDUMP" >&6; } 3387else 3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3389$as_echo "no" >&6; } 3390fi 3391 3392 3393fi 3394if test -z "$ac_cv_prog_OBJDUMP"; then 3395 ac_ct_OBJDUMP=$OBJDUMP 3396 # Extract the first word of "objdump", so it can be a program name with args. 3397set dummy objdump; ac_word=$2 3398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3399$as_echo_n "checking for $ac_word... " >&6; } 3400if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 3401 $as_echo_n "(cached) " >&6 3402else 3403 if test -n "$ac_ct_OBJDUMP"; then 3404 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 3405else 3406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3407for as_dir in $PATH 3408do 3409 IFS=$as_save_IFS 3410 test -z "$as_dir" && as_dir=. 3411 for ac_exec_ext in '' $ac_executable_extensions; do 3412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3413 ac_cv_prog_ac_ct_OBJDUMP="objdump" 3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3415 break 2 3416 fi 3417done 3418 done 3419IFS=$as_save_IFS 3420 3421fi 3422fi 3423ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 3424if test -n "$ac_ct_OBJDUMP"; then 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 3426$as_echo "$ac_ct_OBJDUMP" >&6; } 3427else 3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3429$as_echo "no" >&6; } 3430fi 3431 3432 if test "x$ac_ct_OBJDUMP" = x; then 3433 OBJDUMP="false" 3434 else 3435 case $cross_compiling:$ac_tool_warned in 3436yes:) 3437{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3438$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3439ac_tool_warned=yes ;; 3440esac 3441 OBJDUMP=$ac_ct_OBJDUMP 3442 fi 3443else 3444 OBJDUMP="$ac_cv_prog_OBJDUMP" 3445fi 3446 3447 ;; 3448esac 3449 3450test -z "$AS" && AS=as 3451 3452 3453 3454 3455 3456test -z "$DLLTOOL" && DLLTOOL=dlltool 3457 3458 3459 3460 3461 3462test -z "$OBJDUMP" && OBJDUMP=objdump 3463 3464 3465 3466 3467 3468 3469 3470case `pwd` in 3471 *\ * | *\ *) 3472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 3473$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 3474esac 3475 3476 3477 3478macro_version='2.4.2' 3479macro_revision='1.3337' 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493ltmain="$ac_aux_dir/ltmain.sh" 3494 3495# Backslashify metacharacters that are still active within 3496# double-quoted strings. 3497sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 3498 3499# Same as above, but do not quote variable references. 3500double_quote_subst='s/\(["`\\]\)/\\\1/g' 3501 3502# Sed substitution to delay expansion of an escaped shell variable in a 3503# double_quote_subst'ed string. 3504delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 3505 3506# Sed substitution to delay expansion of an escaped single quote. 3507delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 3508 3509# Sed substitution to avoid accidental globbing in evaled expressions 3510no_glob_subst='s/\*/\\\*/g' 3511 3512ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3513ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 3514ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 3515 3516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 3517$as_echo_n "checking how to print strings... " >&6; } 3518# Test print first, because it will be a builtin if present. 3519if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 3520 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 3521 ECHO='print -r --' 3522elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 3523 ECHO='printf %s\n' 3524else 3525 # Use this function as a fallback that always works. 3526 func_fallback_echo () 3527 { 3528 eval 'cat <<_LTECHO_EOF 3529$1 3530_LTECHO_EOF' 3531 } 3532 ECHO='func_fallback_echo' 3533fi 3534 3535# func_echo_all arg... 3536# Invoke $ECHO with all args, space-separated. 3537func_echo_all () 3538{ 3539 $ECHO "" 3540} 3541 3542case "$ECHO" in 3543 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 3544$as_echo "printf" >&6; } ;; 3545 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 3546$as_echo "print -r" >&6; } ;; 3547 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 3548$as_echo "cat" >&6; } ;; 3549esac 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564DEPDIR="${am__leading_dot}deps" 3565 3566ac_config_commands="$ac_config_commands depfiles" 3567 3568 3569am_make=${MAKE-make} 3570cat > confinc << 'END' 3571am__doit: 3572 @echo this is the am__doit target 3573.PHONY: am__doit 3574END 3575# If we don't find an include directive, just comment out the code. 3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3577$as_echo_n "checking for style of include used by $am_make... " >&6; } 3578am__include="#" 3579am__quote= 3580_am_result=none 3581# First try GNU make style include. 3582echo "include confinc" > confmf 3583# Ignore all kinds of additional output from 'make'. 3584case `$am_make -s -f confmf 2> /dev/null` in #( 3585*the\ am__doit\ target*) 3586 am__include=include 3587 am__quote= 3588 _am_result=GNU 3589 ;; 3590esac 3591# Now try BSD make style include. 3592if test "$am__include" = "#"; then 3593 echo '.include "confinc"' > confmf 3594 case `$am_make -s -f confmf 2> /dev/null` in #( 3595 *the\ am__doit\ target*) 3596 am__include=.include 3597 am__quote="\"" 3598 _am_result=BSD 3599 ;; 3600 esac 3601fi 3602 3603 3604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3605$as_echo "$_am_result" >&6; } 3606rm -f confinc confmf 3607 3608# Check whether --enable-dependency-tracking was given. 3609if test "${enable_dependency_tracking+set}" = set; then : 3610 enableval=$enable_dependency_tracking; 3611fi 3612 3613if test "x$enable_dependency_tracking" != xno; then 3614 am_depcomp="$ac_aux_dir/depcomp" 3615 AMDEPBACKSLASH='\' 3616 am__nodep='_no' 3617fi 3618 if test "x$enable_dependency_tracking" != xno; then 3619 AMDEP_TRUE= 3620 AMDEP_FALSE='#' 3621else 3622 AMDEP_TRUE='#' 3623 AMDEP_FALSE= 3624fi 3625 3626 3627ac_ext=c 3628ac_cpp='$CPP $CPPFLAGS' 3629ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3630ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3631ac_compiler_gnu=$ac_cv_c_compiler_gnu 3632if test -n "$ac_tool_prefix"; then 3633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3634set dummy ${ac_tool_prefix}gcc; ac_word=$2 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3636$as_echo_n "checking for $ac_word... " >&6; } 3637if ${ac_cv_prog_CC+:} false; then : 3638 $as_echo_n "(cached) " >&6 3639else 3640 if test -n "$CC"; then 3641 ac_cv_prog_CC="$CC" # Let the user override the test. 3642else 3643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3644for as_dir in $PATH 3645do 3646 IFS=$as_save_IFS 3647 test -z "$as_dir" && as_dir=. 3648 for ac_exec_ext in '' $ac_executable_extensions; do 3649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3650 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3652 break 2 3653 fi 3654done 3655 done 3656IFS=$as_save_IFS 3657 3658fi 3659fi 3660CC=$ac_cv_prog_CC 3661if test -n "$CC"; then 3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3663$as_echo "$CC" >&6; } 3664else 3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3666$as_echo "no" >&6; } 3667fi 3668 3669 3670fi 3671if test -z "$ac_cv_prog_CC"; then 3672 ac_ct_CC=$CC 3673 # Extract the first word of "gcc", so it can be a program name with args. 3674set dummy gcc; ac_word=$2 3675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3676$as_echo_n "checking for $ac_word... " >&6; } 3677if ${ac_cv_prog_ac_ct_CC+:} false; then : 3678 $as_echo_n "(cached) " >&6 3679else 3680 if test -n "$ac_ct_CC"; then 3681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3682else 3683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3684for as_dir in $PATH 3685do 3686 IFS=$as_save_IFS 3687 test -z "$as_dir" && as_dir=. 3688 for ac_exec_ext in '' $ac_executable_extensions; do 3689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3690 ac_cv_prog_ac_ct_CC="gcc" 3691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3692 break 2 3693 fi 3694done 3695 done 3696IFS=$as_save_IFS 3697 3698fi 3699fi 3700ac_ct_CC=$ac_cv_prog_ac_ct_CC 3701if test -n "$ac_ct_CC"; then 3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3703$as_echo "$ac_ct_CC" >&6; } 3704else 3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3706$as_echo "no" >&6; } 3707fi 3708 3709 if test "x$ac_ct_CC" = x; then 3710 CC="" 3711 else 3712 case $cross_compiling:$ac_tool_warned in 3713yes:) 3714{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3715$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3716ac_tool_warned=yes ;; 3717esac 3718 CC=$ac_ct_CC 3719 fi 3720else 3721 CC="$ac_cv_prog_CC" 3722fi 3723 3724if test -z "$CC"; then 3725 if test -n "$ac_tool_prefix"; then 3726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3727set dummy ${ac_tool_prefix}cc; ac_word=$2 3728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3729$as_echo_n "checking for $ac_word... " >&6; } 3730if ${ac_cv_prog_CC+:} false; then : 3731 $as_echo_n "(cached) " >&6 3732else 3733 if test -n "$CC"; then 3734 ac_cv_prog_CC="$CC" # Let the user override the test. 3735else 3736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3737for as_dir in $PATH 3738do 3739 IFS=$as_save_IFS 3740 test -z "$as_dir" && as_dir=. 3741 for ac_exec_ext in '' $ac_executable_extensions; do 3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3743 ac_cv_prog_CC="${ac_tool_prefix}cc" 3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3745 break 2 3746 fi 3747done 3748 done 3749IFS=$as_save_IFS 3750 3751fi 3752fi 3753CC=$ac_cv_prog_CC 3754if test -n "$CC"; then 3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3756$as_echo "$CC" >&6; } 3757else 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3759$as_echo "no" >&6; } 3760fi 3761 3762 3763 fi 3764fi 3765if test -z "$CC"; then 3766 # Extract the first word of "cc", so it can be a program name with args. 3767set dummy cc; ac_word=$2 3768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3769$as_echo_n "checking for $ac_word... " >&6; } 3770if ${ac_cv_prog_CC+:} false; then : 3771 $as_echo_n "(cached) " >&6 3772else 3773 if test -n "$CC"; then 3774 ac_cv_prog_CC="$CC" # Let the user override the test. 3775else 3776 ac_prog_rejected=no 3777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3778for as_dir in $PATH 3779do 3780 IFS=$as_save_IFS 3781 test -z "$as_dir" && as_dir=. 3782 for ac_exec_ext in '' $ac_executable_extensions; do 3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3784 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3785 ac_prog_rejected=yes 3786 continue 3787 fi 3788 ac_cv_prog_CC="cc" 3789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3790 break 2 3791 fi 3792done 3793 done 3794IFS=$as_save_IFS 3795 3796if test $ac_prog_rejected = yes; then 3797 # We found a bogon in the path, so make sure we never use it. 3798 set dummy $ac_cv_prog_CC 3799 shift 3800 if test $# != 0; then 3801 # We chose a different compiler from the bogus one. 3802 # However, it has the same basename, so the bogon will be chosen 3803 # first if we set CC to just the basename; use the full file name. 3804 shift 3805 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3806 fi 3807fi 3808fi 3809fi 3810CC=$ac_cv_prog_CC 3811if test -n "$CC"; then 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3813$as_echo "$CC" >&6; } 3814else 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3816$as_echo "no" >&6; } 3817fi 3818 3819 3820fi 3821if test -z "$CC"; then 3822 if test -n "$ac_tool_prefix"; then 3823 for ac_prog in cl.exe 3824 do 3825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3826set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3828$as_echo_n "checking for $ac_word... " >&6; } 3829if ${ac_cv_prog_CC+:} false; then : 3830 $as_echo_n "(cached) " >&6 3831else 3832 if test -n "$CC"; then 3833 ac_cv_prog_CC="$CC" # Let the user override the test. 3834else 3835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3836for as_dir in $PATH 3837do 3838 IFS=$as_save_IFS 3839 test -z "$as_dir" && as_dir=. 3840 for ac_exec_ext in '' $ac_executable_extensions; do 3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3842 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3844 break 2 3845 fi 3846done 3847 done 3848IFS=$as_save_IFS 3849 3850fi 3851fi 3852CC=$ac_cv_prog_CC 3853if test -n "$CC"; then 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3855$as_echo "$CC" >&6; } 3856else 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3858$as_echo "no" >&6; } 3859fi 3860 3861 3862 test -n "$CC" && break 3863 done 3864fi 3865if test -z "$CC"; then 3866 ac_ct_CC=$CC 3867 for ac_prog in cl.exe 3868do 3869 # Extract the first word of "$ac_prog", so it can be a program name with args. 3870set dummy $ac_prog; ac_word=$2 3871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3872$as_echo_n "checking for $ac_word... " >&6; } 3873if ${ac_cv_prog_ac_ct_CC+:} false; then : 3874 $as_echo_n "(cached) " >&6 3875else 3876 if test -n "$ac_ct_CC"; then 3877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3878else 3879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3880for as_dir in $PATH 3881do 3882 IFS=$as_save_IFS 3883 test -z "$as_dir" && as_dir=. 3884 for ac_exec_ext in '' $ac_executable_extensions; do 3885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3886 ac_cv_prog_ac_ct_CC="$ac_prog" 3887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3888 break 2 3889 fi 3890done 3891 done 3892IFS=$as_save_IFS 3893 3894fi 3895fi 3896ac_ct_CC=$ac_cv_prog_ac_ct_CC 3897if test -n "$ac_ct_CC"; then 3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3899$as_echo "$ac_ct_CC" >&6; } 3900else 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3902$as_echo "no" >&6; } 3903fi 3904 3905 3906 test -n "$ac_ct_CC" && break 3907done 3908 3909 if test "x$ac_ct_CC" = x; then 3910 CC="" 3911 else 3912 case $cross_compiling:$ac_tool_warned in 3913yes:) 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3915$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3916ac_tool_warned=yes ;; 3917esac 3918 CC=$ac_ct_CC 3919 fi 3920fi 3921 3922fi 3923 3924 3925test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3926$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3927as_fn_error $? "no acceptable C compiler found in \$PATH 3928See \`config.log' for more details" "$LINENO" 5; } 3929 3930# Provide some information about the compiler. 3931$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3932set X $ac_compile 3933ac_compiler=$2 3934for ac_option in --version -v -V -qversion; do 3935 { { ac_try="$ac_compiler $ac_option >&5" 3936case "(($ac_try" in 3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3938 *) ac_try_echo=$ac_try;; 3939esac 3940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3941$as_echo "$ac_try_echo"; } >&5 3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3943 ac_status=$? 3944 if test -s conftest.err; then 3945 sed '10a\ 3946... rest of stderr output deleted ... 3947 10q' conftest.err >conftest.er1 3948 cat conftest.er1 >&5 3949 fi 3950 rm -f conftest.er1 conftest.err 3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3952 test $ac_status = 0; } 3953done 3954 3955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3956/* end confdefs.h. */ 3957 3958int 3959main () 3960{ 3961 3962 ; 3963 return 0; 3964} 3965_ACEOF 3966ac_clean_files_save=$ac_clean_files 3967ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3968# Try to create an executable without -o first, disregard a.out. 3969# It will help us diagnose broken compilers, and finding out an intuition 3970# of exeext. 3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3972$as_echo_n "checking whether the C compiler works... " >&6; } 3973ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3974 3975# The possible output files: 3976ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3977 3978ac_rmfiles= 3979for ac_file in $ac_files 3980do 3981 case $ac_file in 3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3983 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3984 esac 3985done 3986rm -f $ac_rmfiles 3987 3988if { { ac_try="$ac_link_default" 3989case "(($ac_try" in 3990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3991 *) ac_try_echo=$ac_try;; 3992esac 3993eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3994$as_echo "$ac_try_echo"; } >&5 3995 (eval "$ac_link_default") 2>&5 3996 ac_status=$? 3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3998 test $ac_status = 0; }; then : 3999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4000# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4001# in a Makefile. We should not override ac_cv_exeext if it was cached, 4002# so that the user can short-circuit this test for compilers unknown to 4003# Autoconf. 4004for ac_file in $ac_files '' 4005do 4006 test -f "$ac_file" || continue 4007 case $ac_file in 4008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4009 ;; 4010 [ab].out ) 4011 # We found the default executable, but exeext='' is most 4012 # certainly right. 4013 break;; 4014 *.* ) 4015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4016 then :; else 4017 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4018 fi 4019 # We set ac_cv_exeext here because the later test for it is not 4020 # safe: cross compilers may not add the suffix if given an `-o' 4021 # argument, so we may need to know it at that point already. 4022 # Even if this section looks crufty: it has the advantage of 4023 # actually working. 4024 break;; 4025 * ) 4026 break;; 4027 esac 4028done 4029test "$ac_cv_exeext" = no && ac_cv_exeext= 4030 4031else 4032 ac_file='' 4033fi 4034if test -z "$ac_file"; then : 4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4036$as_echo "no" >&6; } 4037$as_echo "$as_me: failed program was:" >&5 4038sed 's/^/| /' conftest.$ac_ext >&5 4039 4040{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4041$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4042as_fn_error 77 "C compiler cannot create executables 4043See \`config.log' for more details" "$LINENO" 5; } 4044else 4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4046$as_echo "yes" >&6; } 4047fi 4048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4049$as_echo_n "checking for C compiler default output file name... " >&6; } 4050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4051$as_echo "$ac_file" >&6; } 4052ac_exeext=$ac_cv_exeext 4053 4054rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4055ac_clean_files=$ac_clean_files_save 4056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4057$as_echo_n "checking for suffix of executables... " >&6; } 4058if { { ac_try="$ac_link" 4059case "(($ac_try" in 4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4061 *) ac_try_echo=$ac_try;; 4062esac 4063eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4064$as_echo "$ac_try_echo"; } >&5 4065 (eval "$ac_link") 2>&5 4066 ac_status=$? 4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4068 test $ac_status = 0; }; then : 4069 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4070# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4071# work properly (i.e., refer to `conftest.exe'), while it won't with 4072# `rm'. 4073for ac_file in conftest.exe conftest conftest.*; do 4074 test -f "$ac_file" || continue 4075 case $ac_file in 4076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4077 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4078 break;; 4079 * ) break;; 4080 esac 4081done 4082else 4083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4085as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4086See \`config.log' for more details" "$LINENO" 5; } 4087fi 4088rm -f conftest conftest$ac_cv_exeext 4089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4090$as_echo "$ac_cv_exeext" >&6; } 4091 4092rm -f conftest.$ac_ext 4093EXEEXT=$ac_cv_exeext 4094ac_exeext=$EXEEXT 4095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4096/* end confdefs.h. */ 4097#include <stdio.h> 4098int 4099main () 4100{ 4101FILE *f = fopen ("conftest.out", "w"); 4102 return ferror (f) || fclose (f) != 0; 4103 4104 ; 4105 return 0; 4106} 4107_ACEOF 4108ac_clean_files="$ac_clean_files conftest.out" 4109# Check that the compiler produces executables we can run. If not, either 4110# the compiler is broken, or we cross compile. 4111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4112$as_echo_n "checking whether we are cross compiling... " >&6; } 4113if test "$cross_compiling" != yes; then 4114 { { ac_try="$ac_link" 4115case "(($ac_try" in 4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4117 *) ac_try_echo=$ac_try;; 4118esac 4119eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4120$as_echo "$ac_try_echo"; } >&5 4121 (eval "$ac_link") 2>&5 4122 ac_status=$? 4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4124 test $ac_status = 0; } 4125 if { ac_try='./conftest$ac_cv_exeext' 4126 { { case "(($ac_try" in 4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4128 *) ac_try_echo=$ac_try;; 4129esac 4130eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4131$as_echo "$ac_try_echo"; } >&5 4132 (eval "$ac_try") 2>&5 4133 ac_status=$? 4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4135 test $ac_status = 0; }; }; then 4136 cross_compiling=no 4137 else 4138 if test "$cross_compiling" = maybe; then 4139 cross_compiling=yes 4140 else 4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4143as_fn_error $? "cannot run C compiled programs. 4144If you meant to cross compile, use \`--host'. 4145See \`config.log' for more details" "$LINENO" 5; } 4146 fi 4147 fi 4148fi 4149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4150$as_echo "$cross_compiling" >&6; } 4151 4152rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4153ac_clean_files=$ac_clean_files_save 4154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4155$as_echo_n "checking for suffix of object files... " >&6; } 4156if ${ac_cv_objext+:} false; then : 4157 $as_echo_n "(cached) " >&6 4158else 4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4160/* end confdefs.h. */ 4161 4162int 4163main () 4164{ 4165 4166 ; 4167 return 0; 4168} 4169_ACEOF 4170rm -f conftest.o conftest.obj 4171if { { ac_try="$ac_compile" 4172case "(($ac_try" in 4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4174 *) ac_try_echo=$ac_try;; 4175esac 4176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4177$as_echo "$ac_try_echo"; } >&5 4178 (eval "$ac_compile") 2>&5 4179 ac_status=$? 4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4181 test $ac_status = 0; }; then : 4182 for ac_file in conftest.o conftest.obj conftest.*; do 4183 test -f "$ac_file" || continue; 4184 case $ac_file in 4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4186 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4187 break;; 4188 esac 4189done 4190else 4191 $as_echo "$as_me: failed program was:" >&5 4192sed 's/^/| /' conftest.$ac_ext >&5 4193 4194{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4196as_fn_error $? "cannot compute suffix of object files: cannot compile 4197See \`config.log' for more details" "$LINENO" 5; } 4198fi 4199rm -f conftest.$ac_cv_objext conftest.$ac_ext 4200fi 4201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4202$as_echo "$ac_cv_objext" >&6; } 4203OBJEXT=$ac_cv_objext 4204ac_objext=$OBJEXT 4205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4206$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4207if ${ac_cv_c_compiler_gnu+:} false; then : 4208 $as_echo_n "(cached) " >&6 4209else 4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4211/* end confdefs.h. */ 4212 4213int 4214main () 4215{ 4216#ifndef __GNUC__ 4217 choke me 4218#endif 4219 4220 ; 4221 return 0; 4222} 4223_ACEOF 4224if ac_fn_c_try_compile "$LINENO"; then : 4225 ac_compiler_gnu=yes 4226else 4227 ac_compiler_gnu=no 4228fi 4229rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4230ac_cv_c_compiler_gnu=$ac_compiler_gnu 4231 4232fi 4233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4234$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4235if test $ac_compiler_gnu = yes; then 4236 GCC=yes 4237else 4238 GCC= 4239fi 4240ac_test_CFLAGS=${CFLAGS+set} 4241ac_save_CFLAGS=$CFLAGS 4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4243$as_echo_n "checking whether $CC accepts -g... " >&6; } 4244if ${ac_cv_prog_cc_g+:} false; then : 4245 $as_echo_n "(cached) " >&6 4246else 4247 ac_save_c_werror_flag=$ac_c_werror_flag 4248 ac_c_werror_flag=yes 4249 ac_cv_prog_cc_g=no 4250 CFLAGS="-g" 4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4252/* end confdefs.h. */ 4253 4254int 4255main () 4256{ 4257 4258 ; 4259 return 0; 4260} 4261_ACEOF 4262if ac_fn_c_try_compile "$LINENO"; then : 4263 ac_cv_prog_cc_g=yes 4264else 4265 CFLAGS="" 4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4267/* end confdefs.h. */ 4268 4269int 4270main () 4271{ 4272 4273 ; 4274 return 0; 4275} 4276_ACEOF 4277if ac_fn_c_try_compile "$LINENO"; then : 4278 4279else 4280 ac_c_werror_flag=$ac_save_c_werror_flag 4281 CFLAGS="-g" 4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4283/* end confdefs.h. */ 4284 4285int 4286main () 4287{ 4288 4289 ; 4290 return 0; 4291} 4292_ACEOF 4293if ac_fn_c_try_compile "$LINENO"; then : 4294 ac_cv_prog_cc_g=yes 4295fi 4296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4297fi 4298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4299fi 4300rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4301 ac_c_werror_flag=$ac_save_c_werror_flag 4302fi 4303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4304$as_echo "$ac_cv_prog_cc_g" >&6; } 4305if test "$ac_test_CFLAGS" = set; then 4306 CFLAGS=$ac_save_CFLAGS 4307elif test $ac_cv_prog_cc_g = yes; then 4308 if test "$GCC" = yes; then 4309 CFLAGS="-g -O2" 4310 else 4311 CFLAGS="-g" 4312 fi 4313else 4314 if test "$GCC" = yes; then 4315 CFLAGS="-O2" 4316 else 4317 CFLAGS= 4318 fi 4319fi 4320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4321$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4322if ${ac_cv_prog_cc_c89+:} false; then : 4323 $as_echo_n "(cached) " >&6 4324else 4325 ac_cv_prog_cc_c89=no 4326ac_save_CC=$CC 4327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4328/* end confdefs.h. */ 4329#include <stdarg.h> 4330#include <stdio.h> 4331struct stat; 4332/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4333struct buf { int x; }; 4334FILE * (*rcsopen) (struct buf *, struct stat *, int); 4335static char *e (p, i) 4336 char **p; 4337 int i; 4338{ 4339 return p[i]; 4340} 4341static char *f (char * (*g) (char **, int), char **p, ...) 4342{ 4343 char *s; 4344 va_list v; 4345 va_start (v,p); 4346 s = g (p, va_arg (v,int)); 4347 va_end (v); 4348 return s; 4349} 4350 4351/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4352 function prototypes and stuff, but not '\xHH' hex character constants. 4353 These don't provoke an error unfortunately, instead are silently treated 4354 as 'x'. The following induces an error, until -std is added to get 4355 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4356 array size at least. It's necessary to write '\x00'==0 to get something 4357 that's true only with -std. */ 4358int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4359 4360/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4361 inside strings and character constants. */ 4362#define FOO(x) 'x' 4363int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4364 4365int test (int i, double x); 4366struct s1 {int (*f) (int a);}; 4367struct s2 {int (*f) (double a);}; 4368int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4369int argc; 4370char **argv; 4371int 4372main () 4373{ 4374return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4375 ; 4376 return 0; 4377} 4378_ACEOF 4379for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4380 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4381do 4382 CC="$ac_save_CC $ac_arg" 4383 if ac_fn_c_try_compile "$LINENO"; then : 4384 ac_cv_prog_cc_c89=$ac_arg 4385fi 4386rm -f core conftest.err conftest.$ac_objext 4387 test "x$ac_cv_prog_cc_c89" != "xno" && break 4388done 4389rm -f conftest.$ac_ext 4390CC=$ac_save_CC 4391 4392fi 4393# AC_CACHE_VAL 4394case "x$ac_cv_prog_cc_c89" in 4395 x) 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4397$as_echo "none needed" >&6; } ;; 4398 xno) 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4400$as_echo "unsupported" >&6; } ;; 4401 *) 4402 CC="$CC $ac_cv_prog_cc_c89" 4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4404$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4405esac 4406if test "x$ac_cv_prog_cc_c89" != xno; then : 4407 4408fi 4409 4410ac_ext=c 4411ac_cpp='$CPP $CPPFLAGS' 4412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4414ac_compiler_gnu=$ac_cv_c_compiler_gnu 4415 4416ac_ext=c 4417ac_cpp='$CPP $CPPFLAGS' 4418ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4419ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4420ac_compiler_gnu=$ac_cv_c_compiler_gnu 4421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4422$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4423if ${am_cv_prog_cc_c_o+:} false; then : 4424 $as_echo_n "(cached) " >&6 4425else 4426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4427/* end confdefs.h. */ 4428 4429int 4430main () 4431{ 4432 4433 ; 4434 return 0; 4435} 4436_ACEOF 4437 # Make sure it works both with $CC and with simple cc. 4438 # Following AC_PROG_CC_C_O, we do the test twice because some 4439 # compilers refuse to overwrite an existing .o file with -o, 4440 # though they will create one. 4441 am_cv_prog_cc_c_o=yes 4442 for am_i in 1 2; do 4443 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4444 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4445 ac_status=$? 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4447 (exit $ac_status); } \ 4448 && test -f conftest2.$ac_objext; then 4449 : OK 4450 else 4451 am_cv_prog_cc_c_o=no 4452 break 4453 fi 4454 done 4455 rm -f core conftest* 4456 unset am_i 4457fi 4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4459$as_echo "$am_cv_prog_cc_c_o" >&6; } 4460if test "$am_cv_prog_cc_c_o" != yes; then 4461 # Losing compiler, so override with the script. 4462 # FIXME: It is wrong to rewrite CC. 4463 # But if we don't then we get into trouble of one sort or another. 4464 # A longer-term fix would be to have automake use am__CC in this case, 4465 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4466 CC="$am_aux_dir/compile $CC" 4467fi 4468ac_ext=c 4469ac_cpp='$CPP $CPPFLAGS' 4470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4472ac_compiler_gnu=$ac_cv_c_compiler_gnu 4473 4474 4475depcc="$CC" am_compiler_list= 4476 4477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4478$as_echo_n "checking dependency style of $depcc... " >&6; } 4479if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4480 $as_echo_n "(cached) " >&6 4481else 4482 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4483 # We make a subdir and do the tests there. Otherwise we can end up 4484 # making bogus files that we don't know about and never remove. For 4485 # instance it was reported that on HP-UX the gcc test will end up 4486 # making a dummy file named 'D' -- because '-MD' means "put the output 4487 # in D". 4488 rm -rf conftest.dir 4489 mkdir conftest.dir 4490 # Copy depcomp to subdir because otherwise we won't find it if we're 4491 # using a relative directory. 4492 cp "$am_depcomp" conftest.dir 4493 cd conftest.dir 4494 # We will build objects and dependencies in a subdirectory because 4495 # it helps to detect inapplicable dependency modes. For instance 4496 # both Tru64's cc and ICC support -MD to output dependencies as a 4497 # side effect of compilation, but ICC will put the dependencies in 4498 # the current directory while Tru64 will put them in the object 4499 # directory. 4500 mkdir sub 4501 4502 am_cv_CC_dependencies_compiler_type=none 4503 if test "$am_compiler_list" = ""; then 4504 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4505 fi 4506 am__universal=false 4507 case " $depcc " in #( 4508 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4509 esac 4510 4511 for depmode in $am_compiler_list; do 4512 # Setup a source with many dependencies, because some compilers 4513 # like to wrap large dependency lists on column 80 (with \), and 4514 # we should not choose a depcomp mode which is confused by this. 4515 # 4516 # We need to recreate these files for each test, as the compiler may 4517 # overwrite some of them when testing with obscure command lines. 4518 # This happens at least with the AIX C compiler. 4519 : > sub/conftest.c 4520 for i in 1 2 3 4 5 6; do 4521 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4522 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4523 # Solaris 10 /bin/sh. 4524 echo '/* dummy */' > sub/conftst$i.h 4525 done 4526 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4527 4528 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4529 # mode. It turns out that the SunPro C++ compiler does not properly 4530 # handle '-M -o', and we need to detect this. Also, some Intel 4531 # versions had trouble with output in subdirs. 4532 am__obj=sub/conftest.${OBJEXT-o} 4533 am__minus_obj="-o $am__obj" 4534 case $depmode in 4535 gcc) 4536 # This depmode causes a compiler race in universal mode. 4537 test "$am__universal" = false || continue 4538 ;; 4539 nosideeffect) 4540 # After this tag, mechanisms are not by side-effect, so they'll 4541 # only be used when explicitly requested. 4542 if test "x$enable_dependency_tracking" = xyes; then 4543 continue 4544 else 4545 break 4546 fi 4547 ;; 4548 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4549 # This compiler won't grok '-c -o', but also, the minuso test has 4550 # not run yet. These depmodes are late enough in the game, and 4551 # so weak that their functioning should not be impacted. 4552 am__obj=conftest.${OBJEXT-o} 4553 am__minus_obj= 4554 ;; 4555 none) break ;; 4556 esac 4557 if depmode=$depmode \ 4558 source=sub/conftest.c object=$am__obj \ 4559 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4560 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4561 >/dev/null 2>conftest.err && 4562 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4563 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4564 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4565 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4566 # icc doesn't choke on unknown options, it will just issue warnings 4567 # or remarks (even with -Werror). So we grep stderr for any message 4568 # that says an option was ignored or not supported. 4569 # When given -MP, icc 7.0 and 7.1 complain thusly: 4570 # icc: Command line warning: ignoring option '-M'; no argument required 4571 # The diagnosis changed in icc 8.0: 4572 # icc: Command line remark: option '-MP' not supported 4573 if (grep 'ignoring option' conftest.err || 4574 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4575 am_cv_CC_dependencies_compiler_type=$depmode 4576 break 4577 fi 4578 fi 4579 done 4580 4581 cd .. 4582 rm -rf conftest.dir 4583else 4584 am_cv_CC_dependencies_compiler_type=none 4585fi 4586 4587fi 4588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4589$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4590CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4591 4592 if 4593 test "x$enable_dependency_tracking" != xno \ 4594 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4595 am__fastdepCC_TRUE= 4596 am__fastdepCC_FALSE='#' 4597else 4598 am__fastdepCC_TRUE='#' 4599 am__fastdepCC_FALSE= 4600fi 4601 4602 4603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4604$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4605if ${ac_cv_path_SED+:} false; then : 4606 $as_echo_n "(cached) " >&6 4607else 4608 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4609 for ac_i in 1 2 3 4 5 6 7; do 4610 ac_script="$ac_script$as_nl$ac_script" 4611 done 4612 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4613 { ac_script=; unset ac_script;} 4614 if test -z "$SED"; then 4615 ac_path_SED_found=false 4616 # Loop through the user's path and test for each of PROGNAME-LIST 4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4618for as_dir in $PATH 4619do 4620 IFS=$as_save_IFS 4621 test -z "$as_dir" && as_dir=. 4622 for ac_prog in sed gsed; do 4623 for ac_exec_ext in '' $ac_executable_extensions; do 4624 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4625 as_fn_executable_p "$ac_path_SED" || continue 4626# Check for GNU ac_path_SED and select it if it is found. 4627 # Check for GNU $ac_path_SED 4628case `"$ac_path_SED" --version 2>&1` in 4629*GNU*) 4630 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4631*) 4632 ac_count=0 4633 $as_echo_n 0123456789 >"conftest.in" 4634 while : 4635 do 4636 cat "conftest.in" "conftest.in" >"conftest.tmp" 4637 mv "conftest.tmp" "conftest.in" 4638 cp "conftest.in" "conftest.nl" 4639 $as_echo '' >> "conftest.nl" 4640 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4641 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4642 as_fn_arith $ac_count + 1 && ac_count=$as_val 4643 if test $ac_count -gt ${ac_path_SED_max-0}; then 4644 # Best one so far, save it but keep looking for a better one 4645 ac_cv_path_SED="$ac_path_SED" 4646 ac_path_SED_max=$ac_count 4647 fi 4648 # 10*(2^10) chars as input seems more than enough 4649 test $ac_count -gt 10 && break 4650 done 4651 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4652esac 4653 4654 $ac_path_SED_found && break 3 4655 done 4656 done 4657 done 4658IFS=$as_save_IFS 4659 if test -z "$ac_cv_path_SED"; then 4660 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4661 fi 4662else 4663 ac_cv_path_SED=$SED 4664fi 4665 4666fi 4667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4668$as_echo "$ac_cv_path_SED" >&6; } 4669 SED="$ac_cv_path_SED" 4670 rm -f conftest.sed 4671 4672test -z "$SED" && SED=sed 4673Xsed="$SED -e 1s/^X//" 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4686$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4687if ${ac_cv_path_GREP+:} false; then : 4688 $as_echo_n "(cached) " >&6 4689else 4690 if test -z "$GREP"; then 4691 ac_path_GREP_found=false 4692 # Loop through the user's path and test for each of PROGNAME-LIST 4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4694for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4695do 4696 IFS=$as_save_IFS 4697 test -z "$as_dir" && as_dir=. 4698 for ac_prog in grep ggrep; do 4699 for ac_exec_ext in '' $ac_executable_extensions; do 4700 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4701 as_fn_executable_p "$ac_path_GREP" || continue 4702# Check for GNU ac_path_GREP and select it if it is found. 4703 # Check for GNU $ac_path_GREP 4704case `"$ac_path_GREP" --version 2>&1` in 4705*GNU*) 4706 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4707*) 4708 ac_count=0 4709 $as_echo_n 0123456789 >"conftest.in" 4710 while : 4711 do 4712 cat "conftest.in" "conftest.in" >"conftest.tmp" 4713 mv "conftest.tmp" "conftest.in" 4714 cp "conftest.in" "conftest.nl" 4715 $as_echo 'GREP' >> "conftest.nl" 4716 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4717 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4718 as_fn_arith $ac_count + 1 && ac_count=$as_val 4719 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4720 # Best one so far, save it but keep looking for a better one 4721 ac_cv_path_GREP="$ac_path_GREP" 4722 ac_path_GREP_max=$ac_count 4723 fi 4724 # 10*(2^10) chars as input seems more than enough 4725 test $ac_count -gt 10 && break 4726 done 4727 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4728esac 4729 4730 $ac_path_GREP_found && break 3 4731 done 4732 done 4733 done 4734IFS=$as_save_IFS 4735 if test -z "$ac_cv_path_GREP"; then 4736 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4737 fi 4738else 4739 ac_cv_path_GREP=$GREP 4740fi 4741 4742fi 4743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4744$as_echo "$ac_cv_path_GREP" >&6; } 4745 GREP="$ac_cv_path_GREP" 4746 4747 4748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4749$as_echo_n "checking for egrep... " >&6; } 4750if ${ac_cv_path_EGREP+:} false; then : 4751 $as_echo_n "(cached) " >&6 4752else 4753 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4754 then ac_cv_path_EGREP="$GREP -E" 4755 else 4756 if test -z "$EGREP"; then 4757 ac_path_EGREP_found=false 4758 # Loop through the user's path and test for each of PROGNAME-LIST 4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4760for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4761do 4762 IFS=$as_save_IFS 4763 test -z "$as_dir" && as_dir=. 4764 for ac_prog in egrep; do 4765 for ac_exec_ext in '' $ac_executable_extensions; do 4766 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4767 as_fn_executable_p "$ac_path_EGREP" || continue 4768# Check for GNU ac_path_EGREP and select it if it is found. 4769 # Check for GNU $ac_path_EGREP 4770case `"$ac_path_EGREP" --version 2>&1` in 4771*GNU*) 4772 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4773*) 4774 ac_count=0 4775 $as_echo_n 0123456789 >"conftest.in" 4776 while : 4777 do 4778 cat "conftest.in" "conftest.in" >"conftest.tmp" 4779 mv "conftest.tmp" "conftest.in" 4780 cp "conftest.in" "conftest.nl" 4781 $as_echo 'EGREP' >> "conftest.nl" 4782 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4783 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4784 as_fn_arith $ac_count + 1 && ac_count=$as_val 4785 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4786 # Best one so far, save it but keep looking for a better one 4787 ac_cv_path_EGREP="$ac_path_EGREP" 4788 ac_path_EGREP_max=$ac_count 4789 fi 4790 # 10*(2^10) chars as input seems more than enough 4791 test $ac_count -gt 10 && break 4792 done 4793 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4794esac 4795 4796 $ac_path_EGREP_found && break 3 4797 done 4798 done 4799 done 4800IFS=$as_save_IFS 4801 if test -z "$ac_cv_path_EGREP"; then 4802 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4803 fi 4804else 4805 ac_cv_path_EGREP=$EGREP 4806fi 4807 4808 fi 4809fi 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4811$as_echo "$ac_cv_path_EGREP" >&6; } 4812 EGREP="$ac_cv_path_EGREP" 4813 4814 4815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4816$as_echo_n "checking for fgrep... " >&6; } 4817if ${ac_cv_path_FGREP+:} false; then : 4818 $as_echo_n "(cached) " >&6 4819else 4820 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4821 then ac_cv_path_FGREP="$GREP -F" 4822 else 4823 if test -z "$FGREP"; then 4824 ac_path_FGREP_found=false 4825 # Loop through the user's path and test for each of PROGNAME-LIST 4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4827for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4828do 4829 IFS=$as_save_IFS 4830 test -z "$as_dir" && as_dir=. 4831 for ac_prog in fgrep; do 4832 for ac_exec_ext in '' $ac_executable_extensions; do 4833 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4834 as_fn_executable_p "$ac_path_FGREP" || continue 4835# Check for GNU ac_path_FGREP and select it if it is found. 4836 # Check for GNU $ac_path_FGREP 4837case `"$ac_path_FGREP" --version 2>&1` in 4838*GNU*) 4839 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4840*) 4841 ac_count=0 4842 $as_echo_n 0123456789 >"conftest.in" 4843 while : 4844 do 4845 cat "conftest.in" "conftest.in" >"conftest.tmp" 4846 mv "conftest.tmp" "conftest.in" 4847 cp "conftest.in" "conftest.nl" 4848 $as_echo 'FGREP' >> "conftest.nl" 4849 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4851 as_fn_arith $ac_count + 1 && ac_count=$as_val 4852 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4853 # Best one so far, save it but keep looking for a better one 4854 ac_cv_path_FGREP="$ac_path_FGREP" 4855 ac_path_FGREP_max=$ac_count 4856 fi 4857 # 10*(2^10) chars as input seems more than enough 4858 test $ac_count -gt 10 && break 4859 done 4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4861esac 4862 4863 $ac_path_FGREP_found && break 3 4864 done 4865 done 4866 done 4867IFS=$as_save_IFS 4868 if test -z "$ac_cv_path_FGREP"; then 4869 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4870 fi 4871else 4872 ac_cv_path_FGREP=$FGREP 4873fi 4874 4875 fi 4876fi 4877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4878$as_echo "$ac_cv_path_FGREP" >&6; } 4879 FGREP="$ac_cv_path_FGREP" 4880 4881 4882test -z "$GREP" && GREP=grep 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902# Check whether --with-gnu-ld was given. 4903if test "${with_gnu_ld+set}" = set; then : 4904 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4905else 4906 with_gnu_ld=no 4907fi 4908 4909ac_prog=ld 4910if test "$GCC" = yes; then 4911 # Check if gcc -print-prog-name=ld gives a path. 4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4913$as_echo_n "checking for ld used by $CC... " >&6; } 4914 case $host in 4915 *-*-mingw*) 4916 # gcc leaves a trailing carriage return which upsets mingw 4917 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4918 *) 4919 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4920 esac 4921 case $ac_prog in 4922 # Accept absolute paths. 4923 [\\/]* | ?:[\\/]*) 4924 re_direlt='/[^/][^/]*/\.\./' 4925 # Canonicalize the pathname of ld 4926 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4927 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4928 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4929 done 4930 test -z "$LD" && LD="$ac_prog" 4931 ;; 4932 "") 4933 # If it fails, then pretend we aren't using GCC. 4934 ac_prog=ld 4935 ;; 4936 *) 4937 # If it is relative, then search for the first ld in PATH. 4938 with_gnu_ld=unknown 4939 ;; 4940 esac 4941elif test "$with_gnu_ld" = yes; then 4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4943$as_echo_n "checking for GNU ld... " >&6; } 4944else 4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4946$as_echo_n "checking for non-GNU ld... " >&6; } 4947fi 4948if ${lt_cv_path_LD+:} false; then : 4949 $as_echo_n "(cached) " >&6 4950else 4951 if test -z "$LD"; then 4952 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4953 for ac_dir in $PATH; do 4954 IFS="$lt_save_ifs" 4955 test -z "$ac_dir" && ac_dir=. 4956 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4957 lt_cv_path_LD="$ac_dir/$ac_prog" 4958 # Check to see if the program is GNU ld. I'd rather use --version, 4959 # but apparently some variants of GNU ld only accept -v. 4960 # Break only if it was the GNU/non-GNU ld that we prefer. 4961 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4962 *GNU* | *'with BFD'*) 4963 test "$with_gnu_ld" != no && break 4964 ;; 4965 *) 4966 test "$with_gnu_ld" != yes && break 4967 ;; 4968 esac 4969 fi 4970 done 4971 IFS="$lt_save_ifs" 4972else 4973 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4974fi 4975fi 4976 4977LD="$lt_cv_path_LD" 4978if test -n "$LD"; then 4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4980$as_echo "$LD" >&6; } 4981else 4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4983$as_echo "no" >&6; } 4984fi 4985test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4987$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4988if ${lt_cv_prog_gnu_ld+:} false; then : 4989 $as_echo_n "(cached) " >&6 4990else 4991 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4992case `$LD -v 2>&1 </dev/null` in 4993*GNU* | *'with BFD'*) 4994 lt_cv_prog_gnu_ld=yes 4995 ;; 4996*) 4997 lt_cv_prog_gnu_ld=no 4998 ;; 4999esac 5000fi 5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5002$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5003with_gnu_ld=$lt_cv_prog_gnu_ld 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 5014$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 5015if ${lt_cv_path_NM+:} false; then : 5016 $as_echo_n "(cached) " >&6 5017else 5018 if test -n "$NM"; then 5019 # Let the user override the test. 5020 lt_cv_path_NM="$NM" 5021else 5022 lt_nm_to_check="${ac_tool_prefix}nm" 5023 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 5024 lt_nm_to_check="$lt_nm_to_check nm" 5025 fi 5026 for lt_tmp_nm in $lt_nm_to_check; do 5027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 5028 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 5029 IFS="$lt_save_ifs" 5030 test -z "$ac_dir" && ac_dir=. 5031 tmp_nm="$ac_dir/$lt_tmp_nm" 5032 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 5033 # Check to see if the nm accepts a BSD-compat flag. 5034 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 5035 # nm: unknown option "B" ignored 5036 # Tru64's nm complains that /dev/null is an invalid object file 5037 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 5038 */dev/null* | *'Invalid file or object type'*) 5039 lt_cv_path_NM="$tmp_nm -B" 5040 break 5041 ;; 5042 *) 5043 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 5044 */dev/null*) 5045 lt_cv_path_NM="$tmp_nm -p" 5046 break 5047 ;; 5048 *) 5049 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 5050 continue # so that we can try to find one that supports BSD flags 5051 ;; 5052 esac 5053 ;; 5054 esac 5055 fi 5056 done 5057 IFS="$lt_save_ifs" 5058 done 5059 : ${lt_cv_path_NM=no} 5060fi 5061fi 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 5063$as_echo "$lt_cv_path_NM" >&6; } 5064if test "$lt_cv_path_NM" != "no"; then 5065 NM="$lt_cv_path_NM" 5066else 5067 # Didn't find any BSD compatible name lister, look for dumpbin. 5068 if test -n "$DUMPBIN"; then : 5069 # Let the user override the test. 5070 else 5071 if test -n "$ac_tool_prefix"; then 5072 for ac_prog in dumpbin "link -dump" 5073 do 5074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5075set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5077$as_echo_n "checking for $ac_word... " >&6; } 5078if ${ac_cv_prog_DUMPBIN+:} false; then : 5079 $as_echo_n "(cached) " >&6 5080else 5081 if test -n "$DUMPBIN"; then 5082 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 5083else 5084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5085for as_dir in $PATH 5086do 5087 IFS=$as_save_IFS 5088 test -z "$as_dir" && as_dir=. 5089 for ac_exec_ext in '' $ac_executable_extensions; do 5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5091 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5093 break 2 5094 fi 5095done 5096 done 5097IFS=$as_save_IFS 5098 5099fi 5100fi 5101DUMPBIN=$ac_cv_prog_DUMPBIN 5102if test -n "$DUMPBIN"; then 5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 5104$as_echo "$DUMPBIN" >&6; } 5105else 5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5107$as_echo "no" >&6; } 5108fi 5109 5110 5111 test -n "$DUMPBIN" && break 5112 done 5113fi 5114if test -z "$DUMPBIN"; then 5115 ac_ct_DUMPBIN=$DUMPBIN 5116 for ac_prog in dumpbin "link -dump" 5117do 5118 # Extract the first word of "$ac_prog", so it can be a program name with args. 5119set dummy $ac_prog; ac_word=$2 5120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5121$as_echo_n "checking for $ac_word... " >&6; } 5122if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 5123 $as_echo_n "(cached) " >&6 5124else 5125 if test -n "$ac_ct_DUMPBIN"; then 5126 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 5127else 5128as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5129for as_dir in $PATH 5130do 5131 IFS=$as_save_IFS 5132 test -z "$as_dir" && as_dir=. 5133 for ac_exec_ext in '' $ac_executable_extensions; do 5134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5135 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5137 break 2 5138 fi 5139done 5140 done 5141IFS=$as_save_IFS 5142 5143fi 5144fi 5145ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 5146if test -n "$ac_ct_DUMPBIN"; then 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 5148$as_echo "$ac_ct_DUMPBIN" >&6; } 5149else 5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5151$as_echo "no" >&6; } 5152fi 5153 5154 5155 test -n "$ac_ct_DUMPBIN" && break 5156done 5157 5158 if test "x$ac_ct_DUMPBIN" = x; then 5159 DUMPBIN=":" 5160 else 5161 case $cross_compiling:$ac_tool_warned in 5162yes:) 5163{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5164$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5165ac_tool_warned=yes ;; 5166esac 5167 DUMPBIN=$ac_ct_DUMPBIN 5168 fi 5169fi 5170 5171 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 5172 *COFF*) 5173 DUMPBIN="$DUMPBIN -symbols" 5174 ;; 5175 *) 5176 DUMPBIN=: 5177 ;; 5178 esac 5179 fi 5180 5181 if test "$DUMPBIN" != ":"; then 5182 NM="$DUMPBIN" 5183 fi 5184fi 5185test -z "$NM" && NM=nm 5186 5187 5188 5189 5190 5191 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 5193$as_echo_n "checking the name lister ($NM) interface... " >&6; } 5194if ${lt_cv_nm_interface+:} false; then : 5195 $as_echo_n "(cached) " >&6 5196else 5197 lt_cv_nm_interface="BSD nm" 5198 echo "int some_variable = 0;" > conftest.$ac_ext 5199 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 5200 (eval "$ac_compile" 2>conftest.err) 5201 cat conftest.err >&5 5202 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5203 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5204 cat conftest.err >&5 5205 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 5206 cat conftest.out >&5 5207 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5208 lt_cv_nm_interface="MS dumpbin" 5209 fi 5210 rm -f conftest* 5211fi 5212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 5213$as_echo "$lt_cv_nm_interface" >&6; } 5214 5215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 5216$as_echo_n "checking whether ln -s works... " >&6; } 5217LN_S=$as_ln_s 5218if test "$LN_S" = "ln -s"; then 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5220$as_echo "yes" >&6; } 5221else 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 5223$as_echo "no, using $LN_S" >&6; } 5224fi 5225 5226# find the maximum length of command line arguments 5227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 5228$as_echo_n "checking the maximum length of command line arguments... " >&6; } 5229if ${lt_cv_sys_max_cmd_len+:} false; then : 5230 $as_echo_n "(cached) " >&6 5231else 5232 i=0 5233 teststring="ABCD" 5234 5235 case $build_os in 5236 msdosdjgpp*) 5237 # On DJGPP, this test can blow up pretty badly due to problems in libc 5238 # (any single argument exceeding 2000 bytes causes a buffer overrun 5239 # during glob expansion). Even if it were fixed, the result of this 5240 # check would be larger than it should be. 5241 lt_cv_sys_max_cmd_len=12288; # 12K is about right 5242 ;; 5243 5244 gnu*) 5245 # Under GNU Hurd, this test is not required because there is 5246 # no limit to the length of command line arguments. 5247 # Libtool will interpret -1 as no limit whatsoever 5248 lt_cv_sys_max_cmd_len=-1; 5249 ;; 5250 5251 cygwin* | mingw* | cegcc*) 5252 # On Win9x/ME, this test blows up -- it succeeds, but takes 5253 # about 5 minutes as the teststring grows exponentially. 5254 # Worse, since 9x/ME are not pre-emptively multitasking, 5255 # you end up with a "frozen" computer, even though with patience 5256 # the test eventually succeeds (with a max line length of 256k). 5257 # Instead, let's just punt: use the minimum linelength reported by 5258 # all of the supported platforms: 8192 (on NT/2K/XP). 5259 lt_cv_sys_max_cmd_len=8192; 5260 ;; 5261 5262 mint*) 5263 # On MiNT this can take a long time and run out of memory. 5264 lt_cv_sys_max_cmd_len=8192; 5265 ;; 5266 5267 amigaos*) 5268 # On AmigaOS with pdksh, this test takes hours, literally. 5269 # So we just punt and use a minimum line length of 8192. 5270 lt_cv_sys_max_cmd_len=8192; 5271 ;; 5272 5273 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 5274 # This has been around since 386BSD, at least. Likely further. 5275 if test -x /sbin/sysctl; then 5276 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 5277 elif test -x /usr/sbin/sysctl; then 5278 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 5279 else 5280 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 5281 fi 5282 # And add a safety zone 5283 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5284 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5285 ;; 5286 5287 interix*) 5288 # We know the value 262144 and hardcode it with a safety zone (like BSD) 5289 lt_cv_sys_max_cmd_len=196608 5290 ;; 5291 5292 os2*) 5293 # The test takes a long time on OS/2. 5294 lt_cv_sys_max_cmd_len=8192 5295 ;; 5296 5297 osf*) 5298 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 5299 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 5300 # nice to cause kernel panics so lets avoid the loop below. 5301 # First set a reasonable default. 5302 lt_cv_sys_max_cmd_len=16384 5303 # 5304 if test -x /sbin/sysconfig; then 5305 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 5306 *1*) lt_cv_sys_max_cmd_len=-1 ;; 5307 esac 5308 fi 5309 ;; 5310 sco3.2v5*) 5311 lt_cv_sys_max_cmd_len=102400 5312 ;; 5313 sysv5* | sco5v6* | sysv4.2uw2*) 5314 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5315 if test -n "$kargmax"; then 5316 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5317 else 5318 lt_cv_sys_max_cmd_len=32768 5319 fi 5320 ;; 5321 *) 5322 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5323 if test -n "$lt_cv_sys_max_cmd_len" && \ 5324 test undefined != "$lt_cv_sys_max_cmd_len"; then 5325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5327 else 5328 # Make teststring a little bigger before we do anything with it. 5329 # a 1K string should be a reasonable start. 5330 for i in 1 2 3 4 5 6 7 8 ; do 5331 teststring=$teststring$teststring 5332 done 5333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5334 # If test is not a shell built-in, we'll probably end up computing a 5335 # maximum length that is only half of the actual maximum length, but 5336 # we can't tell. 5337 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5338 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5339 test $i != 17 # 1/2 MB should be enough 5340 do 5341 i=`expr $i + 1` 5342 teststring=$teststring$teststring 5343 done 5344 # Only check the string length outside the loop. 5345 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5346 teststring= 5347 # Add a significant safety factor because C++ compilers can tack on 5348 # massive amounts of additional arguments before passing them to the 5349 # linker. It appears as though 1/2 is a usable value. 5350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5351 fi 5352 ;; 5353 esac 5354 5355fi 5356 5357if test -n $lt_cv_sys_max_cmd_len ; then 5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5359$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5360else 5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5362$as_echo "none" >&6; } 5363fi 5364max_cmd_len=$lt_cv_sys_max_cmd_len 5365 5366 5367 5368 5369 5370 5371: ${CP="cp -f"} 5372: ${MV="mv -f"} 5373: ${RM="rm -f"} 5374 5375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5376$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5377# Try some XSI features 5378xsi_shell=no 5379( _lt_dummy="a/b/c" 5380 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5381 = c,a/b,b/c, \ 5382 && eval 'test $(( 1 + 1 )) -eq 2 \ 5383 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5384 && xsi_shell=yes 5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5386$as_echo "$xsi_shell" >&6; } 5387 5388 5389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5390$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5391lt_shell_append=no 5392( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5393 >/dev/null 2>&1 \ 5394 && lt_shell_append=yes 5395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5396$as_echo "$lt_shell_append" >&6; } 5397 5398 5399if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5400 lt_unset=unset 5401else 5402 lt_unset=false 5403fi 5404 5405 5406 5407 5408 5409# test EBCDIC or ASCII 5410case `echo X|tr X '\101'` in 5411 A) # ASCII based system 5412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5413 lt_SP2NL='tr \040 \012' 5414 lt_NL2SP='tr \015\012 \040\040' 5415 ;; 5416 *) # EBCDIC based system 5417 lt_SP2NL='tr \100 \n' 5418 lt_NL2SP='tr \r\n \100\100' 5419 ;; 5420esac 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5431$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5432if ${lt_cv_to_host_file_cmd+:} false; then : 5433 $as_echo_n "(cached) " >&6 5434else 5435 case $host in 5436 *-*-mingw* ) 5437 case $build in 5438 *-*-mingw* ) # actually msys 5439 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5440 ;; 5441 *-*-cygwin* ) 5442 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5443 ;; 5444 * ) # otherwise, assume *nix 5445 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5446 ;; 5447 esac 5448 ;; 5449 *-*-cygwin* ) 5450 case $build in 5451 *-*-mingw* ) # actually msys 5452 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5453 ;; 5454 *-*-cygwin* ) 5455 lt_cv_to_host_file_cmd=func_convert_file_noop 5456 ;; 5457 * ) # otherwise, assume *nix 5458 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5459 ;; 5460 esac 5461 ;; 5462 * ) # unhandled hosts (and "normal" native builds) 5463 lt_cv_to_host_file_cmd=func_convert_file_noop 5464 ;; 5465esac 5466 5467fi 5468 5469to_host_file_cmd=$lt_cv_to_host_file_cmd 5470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5471$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5472 5473 5474 5475 5476 5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5478$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5479if ${lt_cv_to_tool_file_cmd+:} false; then : 5480 $as_echo_n "(cached) " >&6 5481else 5482 #assume ordinary cross tools, or native build. 5483lt_cv_to_tool_file_cmd=func_convert_file_noop 5484case $host in 5485 *-*-mingw* ) 5486 case $build in 5487 *-*-mingw* ) # actually msys 5488 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5489 ;; 5490 esac 5491 ;; 5492esac 5493 5494fi 5495 5496to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5498$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5499 5500 5501 5502 5503 5504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5505$as_echo_n "checking for $LD option to reload object files... " >&6; } 5506if ${lt_cv_ld_reload_flag+:} false; then : 5507 $as_echo_n "(cached) " >&6 5508else 5509 lt_cv_ld_reload_flag='-r' 5510fi 5511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5512$as_echo "$lt_cv_ld_reload_flag" >&6; } 5513reload_flag=$lt_cv_ld_reload_flag 5514case $reload_flag in 5515"" | " "*) ;; 5516*) reload_flag=" $reload_flag" ;; 5517esac 5518reload_cmds='$LD$reload_flag -o $output$reload_objs' 5519case $host_os in 5520 cygwin* | mingw* | pw32* | cegcc*) 5521 if test "$GCC" != yes; then 5522 reload_cmds=false 5523 fi 5524 ;; 5525 darwin*) 5526 if test "$GCC" = yes; then 5527 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5528 else 5529 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5530 fi 5531 ;; 5532esac 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542if test -n "$ac_tool_prefix"; then 5543 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5544set dummy ${ac_tool_prefix}objdump; ac_word=$2 5545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5546$as_echo_n "checking for $ac_word... " >&6; } 5547if ${ac_cv_prog_OBJDUMP+:} false; then : 5548 $as_echo_n "(cached) " >&6 5549else 5550 if test -n "$OBJDUMP"; then 5551 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5552else 5553as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5554for as_dir in $PATH 5555do 5556 IFS=$as_save_IFS 5557 test -z "$as_dir" && as_dir=. 5558 for ac_exec_ext in '' $ac_executable_extensions; do 5559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5560 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5562 break 2 5563 fi 5564done 5565 done 5566IFS=$as_save_IFS 5567 5568fi 5569fi 5570OBJDUMP=$ac_cv_prog_OBJDUMP 5571if test -n "$OBJDUMP"; then 5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5573$as_echo "$OBJDUMP" >&6; } 5574else 5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5576$as_echo "no" >&6; } 5577fi 5578 5579 5580fi 5581if test -z "$ac_cv_prog_OBJDUMP"; then 5582 ac_ct_OBJDUMP=$OBJDUMP 5583 # Extract the first word of "objdump", so it can be a program name with args. 5584set dummy objdump; ac_word=$2 5585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5586$as_echo_n "checking for $ac_word... " >&6; } 5587if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5588 $as_echo_n "(cached) " >&6 5589else 5590 if test -n "$ac_ct_OBJDUMP"; then 5591 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5592else 5593as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5594for as_dir in $PATH 5595do 5596 IFS=$as_save_IFS 5597 test -z "$as_dir" && as_dir=. 5598 for ac_exec_ext in '' $ac_executable_extensions; do 5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5600 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5602 break 2 5603 fi 5604done 5605 done 5606IFS=$as_save_IFS 5607 5608fi 5609fi 5610ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5611if test -n "$ac_ct_OBJDUMP"; then 5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5613$as_echo "$ac_ct_OBJDUMP" >&6; } 5614else 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5616$as_echo "no" >&6; } 5617fi 5618 5619 if test "x$ac_ct_OBJDUMP" = x; then 5620 OBJDUMP="false" 5621 else 5622 case $cross_compiling:$ac_tool_warned in 5623yes:) 5624{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5625$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5626ac_tool_warned=yes ;; 5627esac 5628 OBJDUMP=$ac_ct_OBJDUMP 5629 fi 5630else 5631 OBJDUMP="$ac_cv_prog_OBJDUMP" 5632fi 5633 5634test -z "$OBJDUMP" && OBJDUMP=objdump 5635 5636 5637 5638 5639 5640 5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5642$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5643if ${lt_cv_deplibs_check_method+:} false; then : 5644 $as_echo_n "(cached) " >&6 5645else 5646 lt_cv_file_magic_cmd='$MAGIC_CMD' 5647lt_cv_file_magic_test_file= 5648lt_cv_deplibs_check_method='unknown' 5649# Need to set the preceding variable on all platforms that support 5650# interlibrary dependencies. 5651# 'none' -- dependencies not supported. 5652# `unknown' -- same as none, but documents that we really don't know. 5653# 'pass_all' -- all dependencies passed with no checks. 5654# 'test_compile' -- check by making test program. 5655# 'file_magic [[regex]]' -- check by looking for files in library path 5656# which responds to the $file_magic_cmd with a given extended regex. 5657# If you have `file' or equivalent on your system and you're not sure 5658# whether `pass_all' will *always* work, you probably want this one. 5659 5660case $host_os in 5661aix[4-9]*) 5662 lt_cv_deplibs_check_method=pass_all 5663 ;; 5664 5665beos*) 5666 lt_cv_deplibs_check_method=pass_all 5667 ;; 5668 5669bsdi[45]*) 5670 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5671 lt_cv_file_magic_cmd='/usr/bin/file -L' 5672 lt_cv_file_magic_test_file=/shlib/libc.so 5673 ;; 5674 5675cygwin*) 5676 # func_win32_libid is a shell function defined in ltmain.sh 5677 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5678 lt_cv_file_magic_cmd='func_win32_libid' 5679 ;; 5680 5681mingw* | pw32*) 5682 # Base MSYS/MinGW do not provide the 'file' command needed by 5683 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5684 # unless we find 'file', for example because we are cross-compiling. 5685 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5686 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5687 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5688 lt_cv_file_magic_cmd='func_win32_libid' 5689 else 5690 # Keep this pattern in sync with the one in func_win32_libid. 5691 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5692 lt_cv_file_magic_cmd='$OBJDUMP -f' 5693 fi 5694 ;; 5695 5696cegcc*) 5697 # use the weaker test based on 'objdump'. See mingw*. 5698 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5699 lt_cv_file_magic_cmd='$OBJDUMP -f' 5700 ;; 5701 5702darwin* | rhapsody*) 5703 lt_cv_deplibs_check_method=pass_all 5704 ;; 5705 5706freebsd* | dragonfly*) 5707 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5708 case $host_cpu in 5709 i*86 ) 5710 # Not sure whether the presence of OpenBSD here was a mistake. 5711 # Let's accept both of them until this is cleared up. 5712 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5713 lt_cv_file_magic_cmd=/usr/bin/file 5714 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5715 ;; 5716 esac 5717 else 5718 lt_cv_deplibs_check_method=pass_all 5719 fi 5720 ;; 5721 5722haiku*) 5723 lt_cv_deplibs_check_method=pass_all 5724 ;; 5725 5726hpux10.20* | hpux11*) 5727 lt_cv_file_magic_cmd=/usr/bin/file 5728 case $host_cpu in 5729 ia64*) 5730 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5731 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5732 ;; 5733 hppa*64*) 5734 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]' 5735 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5736 ;; 5737 *) 5738 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5739 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5740 ;; 5741 esac 5742 ;; 5743 5744interix[3-9]*) 5745 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5746 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5747 ;; 5748 5749irix5* | irix6* | nonstopux*) 5750 case $LD in 5751 *-32|*"-32 ") libmagic=32-bit;; 5752 *-n32|*"-n32 ") libmagic=N32;; 5753 *-64|*"-64 ") libmagic=64-bit;; 5754 *) libmagic=never-match;; 5755 esac 5756 lt_cv_deplibs_check_method=pass_all 5757 ;; 5758 5759# This must be glibc/ELF. 5760linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5761 lt_cv_deplibs_check_method=pass_all 5762 ;; 5763 5764netbsd* | netbsdelf*-gnu) 5765 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5766 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5767 else 5768 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5769 fi 5770 ;; 5771 5772newos6*) 5773 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5774 lt_cv_file_magic_cmd=/usr/bin/file 5775 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5776 ;; 5777 5778*nto* | *qnx*) 5779 lt_cv_deplibs_check_method=pass_all 5780 ;; 5781 5782openbsd*) 5783 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5784 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5785 else 5786 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5787 fi 5788 ;; 5789 5790osf3* | osf4* | osf5*) 5791 lt_cv_deplibs_check_method=pass_all 5792 ;; 5793 5794rdos*) 5795 lt_cv_deplibs_check_method=pass_all 5796 ;; 5797 5798solaris*) 5799 lt_cv_deplibs_check_method=pass_all 5800 ;; 5801 5802sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5803 lt_cv_deplibs_check_method=pass_all 5804 ;; 5805 5806sysv4 | sysv4.3*) 5807 case $host_vendor in 5808 motorola) 5809 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]' 5810 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5811 ;; 5812 ncr) 5813 lt_cv_deplibs_check_method=pass_all 5814 ;; 5815 sequent) 5816 lt_cv_file_magic_cmd='/bin/file' 5817 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5818 ;; 5819 sni) 5820 lt_cv_file_magic_cmd='/bin/file' 5821 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5822 lt_cv_file_magic_test_file=/lib/libc.so 5823 ;; 5824 siemens) 5825 lt_cv_deplibs_check_method=pass_all 5826 ;; 5827 pc) 5828 lt_cv_deplibs_check_method=pass_all 5829 ;; 5830 esac 5831 ;; 5832 5833tpf*) 5834 lt_cv_deplibs_check_method=pass_all 5835 ;; 5836esac 5837 5838fi 5839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5840$as_echo "$lt_cv_deplibs_check_method" >&6; } 5841 5842file_magic_glob= 5843want_nocaseglob=no 5844if test "$build" = "$host"; then 5845 case $host_os in 5846 mingw* | pw32*) 5847 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5848 want_nocaseglob=yes 5849 else 5850 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5851 fi 5852 ;; 5853 esac 5854fi 5855 5856file_magic_cmd=$lt_cv_file_magic_cmd 5857deplibs_check_method=$lt_cv_deplibs_check_method 5858test -z "$deplibs_check_method" && deplibs_check_method=unknown 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881if test -n "$ac_tool_prefix"; then 5882 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5883set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5885$as_echo_n "checking for $ac_word... " >&6; } 5886if ${ac_cv_prog_DLLTOOL+:} false; then : 5887 $as_echo_n "(cached) " >&6 5888else 5889 if test -n "$DLLTOOL"; then 5890 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5891else 5892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5893for as_dir in $PATH 5894do 5895 IFS=$as_save_IFS 5896 test -z "$as_dir" && as_dir=. 5897 for ac_exec_ext in '' $ac_executable_extensions; do 5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5899 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5901 break 2 5902 fi 5903done 5904 done 5905IFS=$as_save_IFS 5906 5907fi 5908fi 5909DLLTOOL=$ac_cv_prog_DLLTOOL 5910if test -n "$DLLTOOL"; then 5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5912$as_echo "$DLLTOOL" >&6; } 5913else 5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5915$as_echo "no" >&6; } 5916fi 5917 5918 5919fi 5920if test -z "$ac_cv_prog_DLLTOOL"; then 5921 ac_ct_DLLTOOL=$DLLTOOL 5922 # Extract the first word of "dlltool", so it can be a program name with args. 5923set dummy dlltool; ac_word=$2 5924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5925$as_echo_n "checking for $ac_word... " >&6; } 5926if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5927 $as_echo_n "(cached) " >&6 5928else 5929 if test -n "$ac_ct_DLLTOOL"; then 5930 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5931else 5932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5933for as_dir in $PATH 5934do 5935 IFS=$as_save_IFS 5936 test -z "$as_dir" && as_dir=. 5937 for ac_exec_ext in '' $ac_executable_extensions; do 5938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5939 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5941 break 2 5942 fi 5943done 5944 done 5945IFS=$as_save_IFS 5946 5947fi 5948fi 5949ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5950if test -n "$ac_ct_DLLTOOL"; then 5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5952$as_echo "$ac_ct_DLLTOOL" >&6; } 5953else 5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5955$as_echo "no" >&6; } 5956fi 5957 5958 if test "x$ac_ct_DLLTOOL" = x; then 5959 DLLTOOL="false" 5960 else 5961 case $cross_compiling:$ac_tool_warned in 5962yes:) 5963{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5964$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5965ac_tool_warned=yes ;; 5966esac 5967 DLLTOOL=$ac_ct_DLLTOOL 5968 fi 5969else 5970 DLLTOOL="$ac_cv_prog_DLLTOOL" 5971fi 5972 5973test -z "$DLLTOOL" && DLLTOOL=dlltool 5974 5975 5976 5977 5978 5979 5980 5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5982$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5983if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5984 $as_echo_n "(cached) " >&6 5985else 5986 lt_cv_sharedlib_from_linklib_cmd='unknown' 5987 5988case $host_os in 5989cygwin* | mingw* | pw32* | cegcc*) 5990 # two different shell functions defined in ltmain.sh 5991 # decide which to use based on capabilities of $DLLTOOL 5992 case `$DLLTOOL --help 2>&1` in 5993 *--identify-strict*) 5994 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5995 ;; 5996 *) 5997 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5998 ;; 5999 esac 6000 ;; 6001*) 6002 # fallback: assume linklib IS sharedlib 6003 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 6004 ;; 6005esac 6006 6007fi 6008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 6009$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 6010sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 6011test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 6012 6013 6014 6015 6016 6017 6018 6019 6020if test -n "$ac_tool_prefix"; then 6021 for ac_prog in ar 6022 do 6023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6024set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6026$as_echo_n "checking for $ac_word... " >&6; } 6027if ${ac_cv_prog_AR+:} false; then : 6028 $as_echo_n "(cached) " >&6 6029else 6030 if test -n "$AR"; then 6031 ac_cv_prog_AR="$AR" # Let the user override the test. 6032else 6033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6034for as_dir in $PATH 6035do 6036 IFS=$as_save_IFS 6037 test -z "$as_dir" && as_dir=. 6038 for ac_exec_ext in '' $ac_executable_extensions; do 6039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6040 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 6041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6042 break 2 6043 fi 6044done 6045 done 6046IFS=$as_save_IFS 6047 6048fi 6049fi 6050AR=$ac_cv_prog_AR 6051if test -n "$AR"; then 6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 6053$as_echo "$AR" >&6; } 6054else 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6056$as_echo "no" >&6; } 6057fi 6058 6059 6060 test -n "$AR" && break 6061 done 6062fi 6063if test -z "$AR"; then 6064 ac_ct_AR=$AR 6065 for ac_prog in ar 6066do 6067 # Extract the first word of "$ac_prog", so it can be a program name with args. 6068set dummy $ac_prog; ac_word=$2 6069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6070$as_echo_n "checking for $ac_word... " >&6; } 6071if ${ac_cv_prog_ac_ct_AR+:} false; then : 6072 $as_echo_n "(cached) " >&6 6073else 6074 if test -n "$ac_ct_AR"; then 6075 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 6076else 6077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6078for as_dir in $PATH 6079do 6080 IFS=$as_save_IFS 6081 test -z "$as_dir" && as_dir=. 6082 for ac_exec_ext in '' $ac_executable_extensions; do 6083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6084 ac_cv_prog_ac_ct_AR="$ac_prog" 6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6086 break 2 6087 fi 6088done 6089 done 6090IFS=$as_save_IFS 6091 6092fi 6093fi 6094ac_ct_AR=$ac_cv_prog_ac_ct_AR 6095if test -n "$ac_ct_AR"; then 6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 6097$as_echo "$ac_ct_AR" >&6; } 6098else 6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6100$as_echo "no" >&6; } 6101fi 6102 6103 6104 test -n "$ac_ct_AR" && break 6105done 6106 6107 if test "x$ac_ct_AR" = x; then 6108 AR="false" 6109 else 6110 case $cross_compiling:$ac_tool_warned in 6111yes:) 6112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6114ac_tool_warned=yes ;; 6115esac 6116 AR=$ac_ct_AR 6117 fi 6118fi 6119 6120: ${AR=ar} 6121: ${AR_FLAGS=cru} 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 6134$as_echo_n "checking for archiver @FILE support... " >&6; } 6135if ${lt_cv_ar_at_file+:} false; then : 6136 $as_echo_n "(cached) " >&6 6137else 6138 lt_cv_ar_at_file=no 6139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6140/* end confdefs.h. */ 6141 6142int 6143main () 6144{ 6145 6146 ; 6147 return 0; 6148} 6149_ACEOF 6150if ac_fn_c_try_compile "$LINENO"; then : 6151 echo conftest.$ac_objext > conftest.lst 6152 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 6153 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6154 (eval $lt_ar_try) 2>&5 6155 ac_status=$? 6156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6157 test $ac_status = 0; } 6158 if test "$ac_status" -eq 0; then 6159 # Ensure the archiver fails upon bogus file names. 6160 rm -f conftest.$ac_objext libconftest.a 6161 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 6162 (eval $lt_ar_try) 2>&5 6163 ac_status=$? 6164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6165 test $ac_status = 0; } 6166 if test "$ac_status" -ne 0; then 6167 lt_cv_ar_at_file=@ 6168 fi 6169 fi 6170 rm -f conftest.* libconftest.a 6171 6172fi 6173rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6174 6175fi 6176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 6177$as_echo "$lt_cv_ar_at_file" >&6; } 6178 6179if test "x$lt_cv_ar_at_file" = xno; then 6180 archiver_list_spec= 6181else 6182 archiver_list_spec=$lt_cv_ar_at_file 6183fi 6184 6185 6186 6187 6188 6189 6190 6191if test -n "$ac_tool_prefix"; then 6192 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 6193set dummy ${ac_tool_prefix}strip; ac_word=$2 6194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6195$as_echo_n "checking for $ac_word... " >&6; } 6196if ${ac_cv_prog_STRIP+:} false; then : 6197 $as_echo_n "(cached) " >&6 6198else 6199 if test -n "$STRIP"; then 6200 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 6201else 6202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6203for as_dir in $PATH 6204do 6205 IFS=$as_save_IFS 6206 test -z "$as_dir" && as_dir=. 6207 for ac_exec_ext in '' $ac_executable_extensions; do 6208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6209 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 6210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6211 break 2 6212 fi 6213done 6214 done 6215IFS=$as_save_IFS 6216 6217fi 6218fi 6219STRIP=$ac_cv_prog_STRIP 6220if test -n "$STRIP"; then 6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 6222$as_echo "$STRIP" >&6; } 6223else 6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6225$as_echo "no" >&6; } 6226fi 6227 6228 6229fi 6230if test -z "$ac_cv_prog_STRIP"; then 6231 ac_ct_STRIP=$STRIP 6232 # Extract the first word of "strip", so it can be a program name with args. 6233set dummy strip; ac_word=$2 6234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6235$as_echo_n "checking for $ac_word... " >&6; } 6236if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 6237 $as_echo_n "(cached) " >&6 6238else 6239 if test -n "$ac_ct_STRIP"; then 6240 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 6241else 6242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6243for as_dir in $PATH 6244do 6245 IFS=$as_save_IFS 6246 test -z "$as_dir" && as_dir=. 6247 for ac_exec_ext in '' $ac_executable_extensions; do 6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6249 ac_cv_prog_ac_ct_STRIP="strip" 6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6251 break 2 6252 fi 6253done 6254 done 6255IFS=$as_save_IFS 6256 6257fi 6258fi 6259ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 6260if test -n "$ac_ct_STRIP"; then 6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 6262$as_echo "$ac_ct_STRIP" >&6; } 6263else 6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6265$as_echo "no" >&6; } 6266fi 6267 6268 if test "x$ac_ct_STRIP" = x; then 6269 STRIP=":" 6270 else 6271 case $cross_compiling:$ac_tool_warned in 6272yes:) 6273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6275ac_tool_warned=yes ;; 6276esac 6277 STRIP=$ac_ct_STRIP 6278 fi 6279else 6280 STRIP="$ac_cv_prog_STRIP" 6281fi 6282 6283test -z "$STRIP" && STRIP=: 6284 6285 6286 6287 6288 6289 6290if test -n "$ac_tool_prefix"; then 6291 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 6292set dummy ${ac_tool_prefix}ranlib; ac_word=$2 6293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6294$as_echo_n "checking for $ac_word... " >&6; } 6295if ${ac_cv_prog_RANLIB+:} false; then : 6296 $as_echo_n "(cached) " >&6 6297else 6298 if test -n "$RANLIB"; then 6299 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 6300else 6301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6302for as_dir in $PATH 6303do 6304 IFS=$as_save_IFS 6305 test -z "$as_dir" && as_dir=. 6306 for ac_exec_ext in '' $ac_executable_extensions; do 6307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6308 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6310 break 2 6311 fi 6312done 6313 done 6314IFS=$as_save_IFS 6315 6316fi 6317fi 6318RANLIB=$ac_cv_prog_RANLIB 6319if test -n "$RANLIB"; then 6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6321$as_echo "$RANLIB" >&6; } 6322else 6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6324$as_echo "no" >&6; } 6325fi 6326 6327 6328fi 6329if test -z "$ac_cv_prog_RANLIB"; then 6330 ac_ct_RANLIB=$RANLIB 6331 # Extract the first word of "ranlib", so it can be a program name with args. 6332set dummy ranlib; ac_word=$2 6333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6334$as_echo_n "checking for $ac_word... " >&6; } 6335if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6336 $as_echo_n "(cached) " >&6 6337else 6338 if test -n "$ac_ct_RANLIB"; then 6339 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6340else 6341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6342for as_dir in $PATH 6343do 6344 IFS=$as_save_IFS 6345 test -z "$as_dir" && as_dir=. 6346 for ac_exec_ext in '' $ac_executable_extensions; do 6347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6348 ac_cv_prog_ac_ct_RANLIB="ranlib" 6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6350 break 2 6351 fi 6352done 6353 done 6354IFS=$as_save_IFS 6355 6356fi 6357fi 6358ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6359if test -n "$ac_ct_RANLIB"; then 6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6361$as_echo "$ac_ct_RANLIB" >&6; } 6362else 6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6364$as_echo "no" >&6; } 6365fi 6366 6367 if test "x$ac_ct_RANLIB" = x; then 6368 RANLIB=":" 6369 else 6370 case $cross_compiling:$ac_tool_warned in 6371yes:) 6372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6374ac_tool_warned=yes ;; 6375esac 6376 RANLIB=$ac_ct_RANLIB 6377 fi 6378else 6379 RANLIB="$ac_cv_prog_RANLIB" 6380fi 6381 6382test -z "$RANLIB" && RANLIB=: 6383 6384 6385 6386 6387 6388 6389# Determine commands to create old-style static archives. 6390old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6391old_postinstall_cmds='chmod 644 $oldlib' 6392old_postuninstall_cmds= 6393 6394if test -n "$RANLIB"; then 6395 case $host_os in 6396 openbsd*) 6397 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6398 ;; 6399 *) 6400 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6401 ;; 6402 esac 6403 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6404fi 6405 6406case $host_os in 6407 darwin*) 6408 lock_old_archive_extraction=yes ;; 6409 *) 6410 lock_old_archive_extraction=no ;; 6411esac 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451# If no C compiler was specified, use CC. 6452LTCC=${LTCC-"$CC"} 6453 6454# If no C compiler flags were specified, use CFLAGS. 6455LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6456 6457# Allow CC to be a program name with arguments. 6458compiler=$CC 6459 6460 6461# Check for command to grab the raw symbol name followed by C symbol from nm. 6462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6463$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6464if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6465 $as_echo_n "(cached) " >&6 6466else 6467 6468# These are sane defaults that work on at least a few old systems. 6469# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6470 6471# Character class describing NM global symbol codes. 6472symcode='[BCDEGRST]' 6473 6474# Regexp to match symbols that can be accessed directly from C. 6475sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6476 6477# Define system-specific variables. 6478case $host_os in 6479aix*) 6480 symcode='[BCDT]' 6481 ;; 6482cygwin* | mingw* | pw32* | cegcc*) 6483 symcode='[ABCDGISTW]' 6484 ;; 6485hpux*) 6486 if test "$host_cpu" = ia64; then 6487 symcode='[ABCDEGRST]' 6488 fi 6489 ;; 6490irix* | nonstopux*) 6491 symcode='[BCDEGRST]' 6492 ;; 6493osf*) 6494 symcode='[BCDEGQRST]' 6495 ;; 6496solaris*) 6497 symcode='[BDRT]' 6498 ;; 6499sco3.2v5*) 6500 symcode='[DT]' 6501 ;; 6502sysv4.2uw2*) 6503 symcode='[DT]' 6504 ;; 6505sysv5* | sco5v6* | unixware* | OpenUNIX*) 6506 symcode='[ABDT]' 6507 ;; 6508sysv4) 6509 symcode='[DFNSTU]' 6510 ;; 6511esac 6512 6513# If we're using GNU nm, then use its standard symbol codes. 6514case `$NM -V 2>&1` in 6515*GNU* | *'with BFD'*) 6516 symcode='[ABCDGIRSTW]' ;; 6517esac 6518 6519# Transform an extracted symbol line into a proper C declaration. 6520# Some systems (esp. on ia64) link data and code symbols differently, 6521# so use this general approach. 6522lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6523 6524# Transform an extracted symbol line into symbol name and symbol address 6525lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6526lt_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'" 6527 6528# Handle CRLF in mingw tool chain 6529opt_cr= 6530case $build_os in 6531mingw*) 6532 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6533 ;; 6534esac 6535 6536# Try without a prefix underscore, then with it. 6537for ac_symprfx in "" "_"; do 6538 6539 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6540 symxfrm="\\1 $ac_symprfx\\2 \\2" 6541 6542 # Write the raw and C identifiers. 6543 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6544 # Fake it for dumpbin and say T for any non-static function 6545 # and D for any global variable. 6546 # Also find C++ and __fastcall symbols from MSVC++, 6547 # which start with @ or ?. 6548 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6549" {last_section=section; section=\$ 3};"\ 6550" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6551" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6552" \$ 0!~/External *\|/{next};"\ 6553" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6554" {if(hide[section]) next};"\ 6555" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6556" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6557" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6558" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6559" ' prfx=^$ac_symprfx" 6560 else 6561 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6562 fi 6563 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6564 6565 # Check to see that the pipe works correctly. 6566 pipe_works=no 6567 6568 rm -f conftest* 6569 cat > conftest.$ac_ext <<_LT_EOF 6570#ifdef __cplusplus 6571extern "C" { 6572#endif 6573char nm_test_var; 6574void nm_test_func(void); 6575void nm_test_func(void){} 6576#ifdef __cplusplus 6577} 6578#endif 6579int main(){nm_test_var='a';nm_test_func();return(0);} 6580_LT_EOF 6581 6582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6583 (eval $ac_compile) 2>&5 6584 ac_status=$? 6585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6586 test $ac_status = 0; }; then 6587 # Now try to grab the symbols. 6588 nlist=conftest.nm 6589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6590 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6591 ac_status=$? 6592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6593 test $ac_status = 0; } && test -s "$nlist"; then 6594 # Try sorting and uniquifying the output. 6595 if sort "$nlist" | uniq > "$nlist"T; then 6596 mv -f "$nlist"T "$nlist" 6597 else 6598 rm -f "$nlist"T 6599 fi 6600 6601 # Make sure that we snagged all the symbols we need. 6602 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6603 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6604 cat <<_LT_EOF > conftest.$ac_ext 6605/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6606#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6607/* DATA imports from DLLs on WIN32 con't be const, because runtime 6608 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6609# define LT_DLSYM_CONST 6610#elif defined(__osf__) 6611/* This system does not cope well with relocations in const data. */ 6612# define LT_DLSYM_CONST 6613#else 6614# define LT_DLSYM_CONST const 6615#endif 6616 6617#ifdef __cplusplus 6618extern "C" { 6619#endif 6620 6621_LT_EOF 6622 # Now generate the symbol file. 6623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6624 6625 cat <<_LT_EOF >> conftest.$ac_ext 6626 6627/* The mapping between symbol names and symbols. */ 6628LT_DLSYM_CONST struct { 6629 const char *name; 6630 void *address; 6631} 6632lt__PROGRAM__LTX_preloaded_symbols[] = 6633{ 6634 { "@PROGRAM@", (void *) 0 }, 6635_LT_EOF 6636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6637 cat <<\_LT_EOF >> conftest.$ac_ext 6638 {0, (void *) 0} 6639}; 6640 6641/* This works around a problem in FreeBSD linker */ 6642#ifdef FREEBSD_WORKAROUND 6643static const void *lt_preloaded_setup() { 6644 return lt__PROGRAM__LTX_preloaded_symbols; 6645} 6646#endif 6647 6648#ifdef __cplusplus 6649} 6650#endif 6651_LT_EOF 6652 # Now try linking the two files. 6653 mv conftest.$ac_objext conftstm.$ac_objext 6654 lt_globsym_save_LIBS=$LIBS 6655 lt_globsym_save_CFLAGS=$CFLAGS 6656 LIBS="conftstm.$ac_objext" 6657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6659 (eval $ac_link) 2>&5 6660 ac_status=$? 6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6663 pipe_works=yes 6664 fi 6665 LIBS=$lt_globsym_save_LIBS 6666 CFLAGS=$lt_globsym_save_CFLAGS 6667 else 6668 echo "cannot find nm_test_func in $nlist" >&5 6669 fi 6670 else 6671 echo "cannot find nm_test_var in $nlist" >&5 6672 fi 6673 else 6674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6675 fi 6676 else 6677 echo "$progname: failed program was:" >&5 6678 cat conftest.$ac_ext >&5 6679 fi 6680 rm -rf conftest* conftst* 6681 6682 # Do not use the global_symbol_pipe unless it works. 6683 if test "$pipe_works" = yes; then 6684 break 6685 else 6686 lt_cv_sys_global_symbol_pipe= 6687 fi 6688done 6689 6690fi 6691 6692if test -z "$lt_cv_sys_global_symbol_pipe"; then 6693 lt_cv_sys_global_symbol_to_cdecl= 6694fi 6695if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6697$as_echo "failed" >&6; } 6698else 6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6700$as_echo "ok" >&6; } 6701fi 6702 6703# Response file support. 6704if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6705 nm_file_list_spec='@' 6706elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6707 nm_file_list_spec='@' 6708fi 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6737$as_echo_n "checking for sysroot... " >&6; } 6738 6739# Check whether --with-sysroot was given. 6740if test "${with_sysroot+set}" = set; then : 6741 withval=$with_sysroot; 6742else 6743 with_sysroot=no 6744fi 6745 6746 6747lt_sysroot= 6748case ${with_sysroot} in #( 6749 yes) 6750 if test "$GCC" = yes; then 6751 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6752 fi 6753 ;; #( 6754 /*) 6755 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6756 ;; #( 6757 no|'') 6758 ;; #( 6759 *) 6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6761$as_echo "${with_sysroot}" >&6; } 6762 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6763 ;; 6764esac 6765 6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6767$as_echo "${lt_sysroot:-no}" >&6; } 6768 6769 6770 6771 6772 6773# Check whether --enable-libtool-lock was given. 6774if test "${enable_libtool_lock+set}" = set; then : 6775 enableval=$enable_libtool_lock; 6776fi 6777 6778test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6779 6780# Some flags need to be propagated to the compiler or linker for good 6781# libtool support. 6782case $host in 6783ia64-*-hpux*) 6784 # Find out which ABI we are using. 6785 echo 'int i;' > conftest.$ac_ext 6786 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6787 (eval $ac_compile) 2>&5 6788 ac_status=$? 6789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6790 test $ac_status = 0; }; then 6791 case `/usr/bin/file conftest.$ac_objext` in 6792 *ELF-32*) 6793 HPUX_IA64_MODE="32" 6794 ;; 6795 *ELF-64*) 6796 HPUX_IA64_MODE="64" 6797 ;; 6798 esac 6799 fi 6800 rm -rf conftest* 6801 ;; 6802*-*-irix6*) 6803 # Find out which ABI we are using. 6804 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6806 (eval $ac_compile) 2>&5 6807 ac_status=$? 6808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6809 test $ac_status = 0; }; then 6810 if test "$lt_cv_prog_gnu_ld" = yes; then 6811 case `/usr/bin/file conftest.$ac_objext` in 6812 *32-bit*) 6813 LD="${LD-ld} -melf32bsmip" 6814 ;; 6815 *N32*) 6816 LD="${LD-ld} -melf32bmipn32" 6817 ;; 6818 *64-bit*) 6819 LD="${LD-ld} -melf64bmip" 6820 ;; 6821 esac 6822 else 6823 case `/usr/bin/file conftest.$ac_objext` in 6824 *32-bit*) 6825 LD="${LD-ld} -32" 6826 ;; 6827 *N32*) 6828 LD="${LD-ld} -n32" 6829 ;; 6830 *64-bit*) 6831 LD="${LD-ld} -64" 6832 ;; 6833 esac 6834 fi 6835 fi 6836 rm -rf conftest* 6837 ;; 6838 6839x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 6840s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6841 # Find out which ABI we are using. 6842 echo 'int i;' > conftest.$ac_ext 6843 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6844 (eval $ac_compile) 2>&5 6845 ac_status=$? 6846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6847 test $ac_status = 0; }; then 6848 case `/usr/bin/file conftest.o` in 6849 *32-bit*) 6850 case $host in 6851 x86_64-*kfreebsd*-gnu) 6852 LD="${LD-ld} -m elf_i386_fbsd" 6853 ;; 6854 x86_64-*linux*) 6855 case `/usr/bin/file conftest.o` in 6856 *x86-64*) 6857 LD="${LD-ld} -m elf32_x86_64" 6858 ;; 6859 *) 6860 LD="${LD-ld} -m elf_i386" 6861 ;; 6862 esac 6863 ;; 6864 powerpc64le-*) 6865 LD="${LD-ld} -m elf32lppclinux" 6866 ;; 6867 powerpc64-*) 6868 LD="${LD-ld} -m elf32ppclinux" 6869 ;; 6870 s390x-*linux*) 6871 LD="${LD-ld} -m elf_s390" 6872 ;; 6873 sparc64-*linux*) 6874 LD="${LD-ld} -m elf32_sparc" 6875 ;; 6876 esac 6877 ;; 6878 *64-bit*) 6879 case $host in 6880 x86_64-*kfreebsd*-gnu) 6881 LD="${LD-ld} -m elf_x86_64_fbsd" 6882 ;; 6883 x86_64-*linux*) 6884 LD="${LD-ld} -m elf_x86_64" 6885 ;; 6886 powerpcle-*) 6887 LD="${LD-ld} -m elf64lppc" 6888 ;; 6889 powerpc-*) 6890 LD="${LD-ld} -m elf64ppc" 6891 ;; 6892 s390*-*linux*|s390*-*tpf*) 6893 LD="${LD-ld} -m elf64_s390" 6894 ;; 6895 sparc*-*linux*) 6896 LD="${LD-ld} -m elf64_sparc" 6897 ;; 6898 esac 6899 ;; 6900 esac 6901 fi 6902 rm -rf conftest* 6903 ;; 6904 6905*-*-sco3.2v5*) 6906 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6907 SAVE_CFLAGS="$CFLAGS" 6908 CFLAGS="$CFLAGS -belf" 6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6910$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6911if ${lt_cv_cc_needs_belf+:} false; then : 6912 $as_echo_n "(cached) " >&6 6913else 6914 ac_ext=c 6915ac_cpp='$CPP $CPPFLAGS' 6916ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6917ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6918ac_compiler_gnu=$ac_cv_c_compiler_gnu 6919 6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6921/* end confdefs.h. */ 6922 6923int 6924main () 6925{ 6926 6927 ; 6928 return 0; 6929} 6930_ACEOF 6931if ac_fn_c_try_link "$LINENO"; then : 6932 lt_cv_cc_needs_belf=yes 6933else 6934 lt_cv_cc_needs_belf=no 6935fi 6936rm -f core conftest.err conftest.$ac_objext \ 6937 conftest$ac_exeext conftest.$ac_ext 6938 ac_ext=c 6939ac_cpp='$CPP $CPPFLAGS' 6940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6942ac_compiler_gnu=$ac_cv_c_compiler_gnu 6943 6944fi 6945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6946$as_echo "$lt_cv_cc_needs_belf" >&6; } 6947 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6948 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6949 CFLAGS="$SAVE_CFLAGS" 6950 fi 6951 ;; 6952*-*solaris*) 6953 # Find out which ABI we are using. 6954 echo 'int i;' > conftest.$ac_ext 6955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6956 (eval $ac_compile) 2>&5 6957 ac_status=$? 6958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6959 test $ac_status = 0; }; then 6960 case `/usr/bin/file conftest.o` in 6961 *64-bit*) 6962 case $lt_cv_prog_gnu_ld in 6963 yes*) 6964 case $host in 6965 i?86-*-solaris*) 6966 LD="${LD-ld} -m elf_x86_64" 6967 ;; 6968 sparc*-*-solaris*) 6969 LD="${LD-ld} -m elf64_sparc" 6970 ;; 6971 esac 6972 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6973 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6974 LD="${LD-ld}_sol2" 6975 fi 6976 ;; 6977 *) 6978 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6979 LD="${LD-ld} -64" 6980 fi 6981 ;; 6982 esac 6983 ;; 6984 esac 6985 fi 6986 rm -rf conftest* 6987 ;; 6988esac 6989 6990need_locks="$enable_libtool_lock" 6991 6992if test -n "$ac_tool_prefix"; then 6993 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6994set dummy ${ac_tool_prefix}mt; ac_word=$2 6995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6996$as_echo_n "checking for $ac_word... " >&6; } 6997if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6998 $as_echo_n "(cached) " >&6 6999else 7000 if test -n "$MANIFEST_TOOL"; then 7001 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 7002else 7003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7004for as_dir in $PATH 7005do 7006 IFS=$as_save_IFS 7007 test -z "$as_dir" && as_dir=. 7008 for ac_exec_ext in '' $ac_executable_extensions; do 7009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7010 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7012 break 2 7013 fi 7014done 7015 done 7016IFS=$as_save_IFS 7017 7018fi 7019fi 7020MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 7021if test -n "$MANIFEST_TOOL"; then 7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 7023$as_echo "$MANIFEST_TOOL" >&6; } 7024else 7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7026$as_echo "no" >&6; } 7027fi 7028 7029 7030fi 7031if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 7032 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 7033 # Extract the first word of "mt", so it can be a program name with args. 7034set dummy mt; ac_word=$2 7035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7036$as_echo_n "checking for $ac_word... " >&6; } 7037if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 7038 $as_echo_n "(cached) " >&6 7039else 7040 if test -n "$ac_ct_MANIFEST_TOOL"; then 7041 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 7042else 7043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7044for as_dir in $PATH 7045do 7046 IFS=$as_save_IFS 7047 test -z "$as_dir" && as_dir=. 7048 for ac_exec_ext in '' $ac_executable_extensions; do 7049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7050 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7052 break 2 7053 fi 7054done 7055 done 7056IFS=$as_save_IFS 7057 7058fi 7059fi 7060ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 7061if test -n "$ac_ct_MANIFEST_TOOL"; then 7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 7063$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 7064else 7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7066$as_echo "no" >&6; } 7067fi 7068 7069 if test "x$ac_ct_MANIFEST_TOOL" = x; then 7070 MANIFEST_TOOL=":" 7071 else 7072 case $cross_compiling:$ac_tool_warned in 7073yes:) 7074{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7075$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7076ac_tool_warned=yes ;; 7077esac 7078 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 7079 fi 7080else 7081 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 7082fi 7083 7084test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 7085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 7086$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 7087if ${lt_cv_path_mainfest_tool+:} false; then : 7088 $as_echo_n "(cached) " >&6 7089else 7090 lt_cv_path_mainfest_tool=no 7091 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 7092 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 7093 cat conftest.err >&5 7094 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 7095 lt_cv_path_mainfest_tool=yes 7096 fi 7097 rm -f conftest* 7098fi 7099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 7100$as_echo "$lt_cv_path_mainfest_tool" >&6; } 7101if test "x$lt_cv_path_mainfest_tool" != xyes; then 7102 MANIFEST_TOOL=: 7103fi 7104 7105 7106 7107 7108 7109 7110 case $host_os in 7111 rhapsody* | darwin*) 7112 if test -n "$ac_tool_prefix"; then 7113 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 7114set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 7115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7116$as_echo_n "checking for $ac_word... " >&6; } 7117if ${ac_cv_prog_DSYMUTIL+:} false; then : 7118 $as_echo_n "(cached) " >&6 7119else 7120 if test -n "$DSYMUTIL"; then 7121 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 7122else 7123as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7124for as_dir in $PATH 7125do 7126 IFS=$as_save_IFS 7127 test -z "$as_dir" && as_dir=. 7128 for ac_exec_ext in '' $ac_executable_extensions; do 7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7130 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7132 break 2 7133 fi 7134done 7135 done 7136IFS=$as_save_IFS 7137 7138fi 7139fi 7140DSYMUTIL=$ac_cv_prog_DSYMUTIL 7141if test -n "$DSYMUTIL"; then 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 7143$as_echo "$DSYMUTIL" >&6; } 7144else 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7146$as_echo "no" >&6; } 7147fi 7148 7149 7150fi 7151if test -z "$ac_cv_prog_DSYMUTIL"; then 7152 ac_ct_DSYMUTIL=$DSYMUTIL 7153 # Extract the first word of "dsymutil", so it can be a program name with args. 7154set dummy dsymutil; ac_word=$2 7155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7156$as_echo_n "checking for $ac_word... " >&6; } 7157if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 7158 $as_echo_n "(cached) " >&6 7159else 7160 if test -n "$ac_ct_DSYMUTIL"; then 7161 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 7162else 7163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7164for as_dir in $PATH 7165do 7166 IFS=$as_save_IFS 7167 test -z "$as_dir" && as_dir=. 7168 for ac_exec_ext in '' $ac_executable_extensions; do 7169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7170 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 7171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7172 break 2 7173 fi 7174done 7175 done 7176IFS=$as_save_IFS 7177 7178fi 7179fi 7180ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 7181if test -n "$ac_ct_DSYMUTIL"; then 7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 7183$as_echo "$ac_ct_DSYMUTIL" >&6; } 7184else 7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7186$as_echo "no" >&6; } 7187fi 7188 7189 if test "x$ac_ct_DSYMUTIL" = x; then 7190 DSYMUTIL=":" 7191 else 7192 case $cross_compiling:$ac_tool_warned in 7193yes:) 7194{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7195$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7196ac_tool_warned=yes ;; 7197esac 7198 DSYMUTIL=$ac_ct_DSYMUTIL 7199 fi 7200else 7201 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 7202fi 7203 7204 if test -n "$ac_tool_prefix"; then 7205 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 7206set dummy ${ac_tool_prefix}nmedit; ac_word=$2 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7208$as_echo_n "checking for $ac_word... " >&6; } 7209if ${ac_cv_prog_NMEDIT+:} false; then : 7210 $as_echo_n "(cached) " >&6 7211else 7212 if test -n "$NMEDIT"; then 7213 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 7214else 7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7216for as_dir in $PATH 7217do 7218 IFS=$as_save_IFS 7219 test -z "$as_dir" && as_dir=. 7220 for ac_exec_ext in '' $ac_executable_extensions; do 7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7222 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7224 break 2 7225 fi 7226done 7227 done 7228IFS=$as_save_IFS 7229 7230fi 7231fi 7232NMEDIT=$ac_cv_prog_NMEDIT 7233if test -n "$NMEDIT"; then 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 7235$as_echo "$NMEDIT" >&6; } 7236else 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7238$as_echo "no" >&6; } 7239fi 7240 7241 7242fi 7243if test -z "$ac_cv_prog_NMEDIT"; then 7244 ac_ct_NMEDIT=$NMEDIT 7245 # Extract the first word of "nmedit", so it can be a program name with args. 7246set dummy nmedit; ac_word=$2 7247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7248$as_echo_n "checking for $ac_word... " >&6; } 7249if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 7250 $as_echo_n "(cached) " >&6 7251else 7252 if test -n "$ac_ct_NMEDIT"; then 7253 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 7254else 7255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7256for as_dir in $PATH 7257do 7258 IFS=$as_save_IFS 7259 test -z "$as_dir" && as_dir=. 7260 for ac_exec_ext in '' $ac_executable_extensions; do 7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7262 ac_cv_prog_ac_ct_NMEDIT="nmedit" 7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7264 break 2 7265 fi 7266done 7267 done 7268IFS=$as_save_IFS 7269 7270fi 7271fi 7272ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 7273if test -n "$ac_ct_NMEDIT"; then 7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 7275$as_echo "$ac_ct_NMEDIT" >&6; } 7276else 7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7278$as_echo "no" >&6; } 7279fi 7280 7281 if test "x$ac_ct_NMEDIT" = x; then 7282 NMEDIT=":" 7283 else 7284 case $cross_compiling:$ac_tool_warned in 7285yes:) 7286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7288ac_tool_warned=yes ;; 7289esac 7290 NMEDIT=$ac_ct_NMEDIT 7291 fi 7292else 7293 NMEDIT="$ac_cv_prog_NMEDIT" 7294fi 7295 7296 if test -n "$ac_tool_prefix"; then 7297 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 7298set dummy ${ac_tool_prefix}lipo; ac_word=$2 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7300$as_echo_n "checking for $ac_word... " >&6; } 7301if ${ac_cv_prog_LIPO+:} false; then : 7302 $as_echo_n "(cached) " >&6 7303else 7304 if test -n "$LIPO"; then 7305 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 7306else 7307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7308for as_dir in $PATH 7309do 7310 IFS=$as_save_IFS 7311 test -z "$as_dir" && as_dir=. 7312 for ac_exec_ext in '' $ac_executable_extensions; do 7313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7314 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 7315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7316 break 2 7317 fi 7318done 7319 done 7320IFS=$as_save_IFS 7321 7322fi 7323fi 7324LIPO=$ac_cv_prog_LIPO 7325if test -n "$LIPO"; then 7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7327$as_echo "$LIPO" >&6; } 7328else 7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7330$as_echo "no" >&6; } 7331fi 7332 7333 7334fi 7335if test -z "$ac_cv_prog_LIPO"; then 7336 ac_ct_LIPO=$LIPO 7337 # Extract the first word of "lipo", so it can be a program name with args. 7338set dummy lipo; ac_word=$2 7339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7340$as_echo_n "checking for $ac_word... " >&6; } 7341if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7342 $as_echo_n "(cached) " >&6 7343else 7344 if test -n "$ac_ct_LIPO"; then 7345 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7346else 7347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7348for as_dir in $PATH 7349do 7350 IFS=$as_save_IFS 7351 test -z "$as_dir" && as_dir=. 7352 for ac_exec_ext in '' $ac_executable_extensions; do 7353 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7354 ac_cv_prog_ac_ct_LIPO="lipo" 7355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7356 break 2 7357 fi 7358done 7359 done 7360IFS=$as_save_IFS 7361 7362fi 7363fi 7364ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7365if test -n "$ac_ct_LIPO"; then 7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7367$as_echo "$ac_ct_LIPO" >&6; } 7368else 7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7370$as_echo "no" >&6; } 7371fi 7372 7373 if test "x$ac_ct_LIPO" = x; then 7374 LIPO=":" 7375 else 7376 case $cross_compiling:$ac_tool_warned in 7377yes:) 7378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7380ac_tool_warned=yes ;; 7381esac 7382 LIPO=$ac_ct_LIPO 7383 fi 7384else 7385 LIPO="$ac_cv_prog_LIPO" 7386fi 7387 7388 if test -n "$ac_tool_prefix"; then 7389 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7390set dummy ${ac_tool_prefix}otool; ac_word=$2 7391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7392$as_echo_n "checking for $ac_word... " >&6; } 7393if ${ac_cv_prog_OTOOL+:} false; then : 7394 $as_echo_n "(cached) " >&6 7395else 7396 if test -n "$OTOOL"; then 7397 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7398else 7399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7400for as_dir in $PATH 7401do 7402 IFS=$as_save_IFS 7403 test -z "$as_dir" && as_dir=. 7404 for ac_exec_ext in '' $ac_executable_extensions; do 7405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7406 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7408 break 2 7409 fi 7410done 7411 done 7412IFS=$as_save_IFS 7413 7414fi 7415fi 7416OTOOL=$ac_cv_prog_OTOOL 7417if test -n "$OTOOL"; then 7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7419$as_echo "$OTOOL" >&6; } 7420else 7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7422$as_echo "no" >&6; } 7423fi 7424 7425 7426fi 7427if test -z "$ac_cv_prog_OTOOL"; then 7428 ac_ct_OTOOL=$OTOOL 7429 # Extract the first word of "otool", so it can be a program name with args. 7430set dummy otool; ac_word=$2 7431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7432$as_echo_n "checking for $ac_word... " >&6; } 7433if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 7434 $as_echo_n "(cached) " >&6 7435else 7436 if test -n "$ac_ct_OTOOL"; then 7437 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 7438else 7439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7440for as_dir in $PATH 7441do 7442 IFS=$as_save_IFS 7443 test -z "$as_dir" && as_dir=. 7444 for ac_exec_ext in '' $ac_executable_extensions; do 7445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7446 ac_cv_prog_ac_ct_OTOOL="otool" 7447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7448 break 2 7449 fi 7450done 7451 done 7452IFS=$as_save_IFS 7453 7454fi 7455fi 7456ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7457if test -n "$ac_ct_OTOOL"; then 7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7459$as_echo "$ac_ct_OTOOL" >&6; } 7460else 7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7462$as_echo "no" >&6; } 7463fi 7464 7465 if test "x$ac_ct_OTOOL" = x; then 7466 OTOOL=":" 7467 else 7468 case $cross_compiling:$ac_tool_warned in 7469yes:) 7470{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7471$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7472ac_tool_warned=yes ;; 7473esac 7474 OTOOL=$ac_ct_OTOOL 7475 fi 7476else 7477 OTOOL="$ac_cv_prog_OTOOL" 7478fi 7479 7480 if test -n "$ac_tool_prefix"; then 7481 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7482set dummy ${ac_tool_prefix}otool64; ac_word=$2 7483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7484$as_echo_n "checking for $ac_word... " >&6; } 7485if ${ac_cv_prog_OTOOL64+:} false; then : 7486 $as_echo_n "(cached) " >&6 7487else 7488 if test -n "$OTOOL64"; then 7489 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7490else 7491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7492for as_dir in $PATH 7493do 7494 IFS=$as_save_IFS 7495 test -z "$as_dir" && as_dir=. 7496 for ac_exec_ext in '' $ac_executable_extensions; do 7497 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7498 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7500 break 2 7501 fi 7502done 7503 done 7504IFS=$as_save_IFS 7505 7506fi 7507fi 7508OTOOL64=$ac_cv_prog_OTOOL64 7509if test -n "$OTOOL64"; then 7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7511$as_echo "$OTOOL64" >&6; } 7512else 7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7514$as_echo "no" >&6; } 7515fi 7516 7517 7518fi 7519if test -z "$ac_cv_prog_OTOOL64"; then 7520 ac_ct_OTOOL64=$OTOOL64 7521 # Extract the first word of "otool64", so it can be a program name with args. 7522set dummy otool64; ac_word=$2 7523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7524$as_echo_n "checking for $ac_word... " >&6; } 7525if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 7526 $as_echo_n "(cached) " >&6 7527else 7528 if test -n "$ac_ct_OTOOL64"; then 7529 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 7530else 7531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7532for as_dir in $PATH 7533do 7534 IFS=$as_save_IFS 7535 test -z "$as_dir" && as_dir=. 7536 for ac_exec_ext in '' $ac_executable_extensions; do 7537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7538 ac_cv_prog_ac_ct_OTOOL64="otool64" 7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7540 break 2 7541 fi 7542done 7543 done 7544IFS=$as_save_IFS 7545 7546fi 7547fi 7548ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7549if test -n "$ac_ct_OTOOL64"; then 7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7551$as_echo "$ac_ct_OTOOL64" >&6; } 7552else 7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7554$as_echo "no" >&6; } 7555fi 7556 7557 if test "x$ac_ct_OTOOL64" = x; then 7558 OTOOL64=":" 7559 else 7560 case $cross_compiling:$ac_tool_warned in 7561yes:) 7562{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7563$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7564ac_tool_warned=yes ;; 7565esac 7566 OTOOL64=$ac_ct_OTOOL64 7567 fi 7568else 7569 OTOOL64="$ac_cv_prog_OTOOL64" 7570fi 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7599$as_echo_n "checking for -single_module linker flag... " >&6; } 7600if ${lt_cv_apple_cc_single_mod+:} false; then : 7601 $as_echo_n "(cached) " >&6 7602else 7603 lt_cv_apple_cc_single_mod=no 7604 if test -z "${LT_MULTI_MODULE}"; then 7605 # By default we will add the -single_module flag. You can override 7606 # by either setting the environment variable LT_MULTI_MODULE 7607 # non-empty at configure time, or by adding -multi_module to the 7608 # link flags. 7609 rm -rf libconftest.dylib* 7610 echo "int foo(void){return 1;}" > conftest.c 7611 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7612-dynamiclib -Wl,-single_module conftest.c" >&5 7613 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7614 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7615 _lt_result=$? 7616 # If there is a non-empty error log, and "single_module" 7617 # appears in it, assume the flag caused a linker warning 7618 if test -s conftest.err && $GREP single_module conftest.err; then 7619 cat conftest.err >&5 7620 # Otherwise, if the output was created with a 0 exit code from 7621 # the compiler, it worked. 7622 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7623 lt_cv_apple_cc_single_mod=yes 7624 else 7625 cat conftest.err >&5 7626 fi 7627 rm -rf libconftest.dylib* 7628 rm -f conftest.* 7629 fi 7630fi 7631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7632$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7633 7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7635$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7636if ${lt_cv_ld_exported_symbols_list+:} false; then : 7637 $as_echo_n "(cached) " >&6 7638else 7639 lt_cv_ld_exported_symbols_list=no 7640 save_LDFLAGS=$LDFLAGS 7641 echo "_main" > conftest.sym 7642 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7644/* end confdefs.h. */ 7645 7646int 7647main () 7648{ 7649 7650 ; 7651 return 0; 7652} 7653_ACEOF 7654if ac_fn_c_try_link "$LINENO"; then : 7655 lt_cv_ld_exported_symbols_list=yes 7656else 7657 lt_cv_ld_exported_symbols_list=no 7658fi 7659rm -f core conftest.err conftest.$ac_objext \ 7660 conftest$ac_exeext conftest.$ac_ext 7661 LDFLAGS="$save_LDFLAGS" 7662 7663fi 7664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7665$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7666 7667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7668$as_echo_n "checking for -force_load linker flag... " >&6; } 7669if ${lt_cv_ld_force_load+:} false; then : 7670 $as_echo_n "(cached) " >&6 7671else 7672 lt_cv_ld_force_load=no 7673 cat > conftest.c << _LT_EOF 7674int forced_loaded() { return 2;} 7675_LT_EOF 7676 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7677 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7678 echo "$AR cru libconftest.a conftest.o" >&5 7679 $AR cru libconftest.a conftest.o 2>&5 7680 echo "$RANLIB libconftest.a" >&5 7681 $RANLIB libconftest.a 2>&5 7682 cat > conftest.c << _LT_EOF 7683int main() { return 0;} 7684_LT_EOF 7685 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7686 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7687 _lt_result=$? 7688 if test -s conftest.err && $GREP force_load conftest.err; then 7689 cat conftest.err >&5 7690 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7691 lt_cv_ld_force_load=yes 7692 else 7693 cat conftest.err >&5 7694 fi 7695 rm -f conftest.err libconftest.a conftest conftest.c 7696 rm -rf conftest.dSYM 7697 7698fi 7699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7700$as_echo "$lt_cv_ld_force_load" >&6; } 7701 case $host_os in 7702 rhapsody* | darwin1.[012]) 7703 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7704 darwin1.*) 7705 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7706 darwin*) # darwin 5.x on 7707 # if running on 10.5 or later, the deployment target defaults 7708 # to the OS version, if on x86, and 10.4, the deployment 7709 # target defaults to 10.4. Don't you love it? 7710 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7711 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7712 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7713 10.[012]*) 7714 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7715 10.*) 7716 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7717 esac 7718 ;; 7719 esac 7720 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7721 _lt_dar_single_mod='$single_module' 7722 fi 7723 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7724 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7725 else 7726 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7727 fi 7728 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7729 _lt_dsymutil='~$DSYMUTIL $lib || :' 7730 else 7731 _lt_dsymutil= 7732 fi 7733 ;; 7734 esac 7735 7736ac_ext=c 7737ac_cpp='$CPP $CPPFLAGS' 7738ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7739ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7740ac_compiler_gnu=$ac_cv_c_compiler_gnu 7741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7742$as_echo_n "checking how to run the C preprocessor... " >&6; } 7743# On Suns, sometimes $CPP names a directory. 7744if test -n "$CPP" && test -d "$CPP"; then 7745 CPP= 7746fi 7747if test -z "$CPP"; then 7748 if ${ac_cv_prog_CPP+:} false; then : 7749 $as_echo_n "(cached) " >&6 7750else 7751 # Double quotes because CPP needs to be expanded 7752 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7753 do 7754 ac_preproc_ok=false 7755for ac_c_preproc_warn_flag in '' yes 7756do 7757 # Use a header file that comes with gcc, so configuring glibc 7758 # with a fresh cross-compiler works. 7759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7760 # <limits.h> exists even on freestanding compilers. 7761 # On the NeXT, cc -E runs the code through the compiler's parser, 7762 # not just through cpp. "Syntax error" is here to catch this case. 7763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7764/* end confdefs.h. */ 7765#ifdef __STDC__ 7766# include <limits.h> 7767#else 7768# include <assert.h> 7769#endif 7770 Syntax error 7771_ACEOF 7772if ac_fn_c_try_cpp "$LINENO"; then : 7773 7774else 7775 # Broken: fails on valid input. 7776continue 7777fi 7778rm -f conftest.err conftest.i conftest.$ac_ext 7779 7780 # OK, works on sane cases. Now check whether nonexistent headers 7781 # can be detected and how. 7782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7783/* end confdefs.h. */ 7784#include <ac_nonexistent.h> 7785_ACEOF 7786if ac_fn_c_try_cpp "$LINENO"; then : 7787 # Broken: success on invalid input. 7788continue 7789else 7790 # Passes both tests. 7791ac_preproc_ok=: 7792break 7793fi 7794rm -f conftest.err conftest.i conftest.$ac_ext 7795 7796done 7797# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7798rm -f conftest.i conftest.err conftest.$ac_ext 7799if $ac_preproc_ok; then : 7800 break 7801fi 7802 7803 done 7804 ac_cv_prog_CPP=$CPP 7805 7806fi 7807 CPP=$ac_cv_prog_CPP 7808else 7809 ac_cv_prog_CPP=$CPP 7810fi 7811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7812$as_echo "$CPP" >&6; } 7813ac_preproc_ok=false 7814for ac_c_preproc_warn_flag in '' yes 7815do 7816 # Use a header file that comes with gcc, so configuring glibc 7817 # with a fresh cross-compiler works. 7818 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7819 # <limits.h> exists even on freestanding compilers. 7820 # On the NeXT, cc -E runs the code through the compiler's parser, 7821 # not just through cpp. "Syntax error" is here to catch this case. 7822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7823/* end confdefs.h. */ 7824#ifdef __STDC__ 7825# include <limits.h> 7826#else 7827# include <assert.h> 7828#endif 7829 Syntax error 7830_ACEOF 7831if ac_fn_c_try_cpp "$LINENO"; then : 7832 7833else 7834 # Broken: fails on valid input. 7835continue 7836fi 7837rm -f conftest.err conftest.i conftest.$ac_ext 7838 7839 # OK, works on sane cases. Now check whether nonexistent headers 7840 # can be detected and how. 7841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7842/* end confdefs.h. */ 7843#include <ac_nonexistent.h> 7844_ACEOF 7845if ac_fn_c_try_cpp "$LINENO"; then : 7846 # Broken: success on invalid input. 7847continue 7848else 7849 # Passes both tests. 7850ac_preproc_ok=: 7851break 7852fi 7853rm -f conftest.err conftest.i conftest.$ac_ext 7854 7855done 7856# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7857rm -f conftest.i conftest.err conftest.$ac_ext 7858if $ac_preproc_ok; then : 7859 7860else 7861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7862$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7863as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7864See \`config.log' for more details" "$LINENO" 5; } 7865fi 7866 7867ac_ext=c 7868ac_cpp='$CPP $CPPFLAGS' 7869ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7870ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7871ac_compiler_gnu=$ac_cv_c_compiler_gnu 7872 7873 7874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7875$as_echo_n "checking for ANSI C header files... " >&6; } 7876if ${ac_cv_header_stdc+:} false; then : 7877 $as_echo_n "(cached) " >&6 7878else 7879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7880/* end confdefs.h. */ 7881#include <stdlib.h> 7882#include <stdarg.h> 7883#include <string.h> 7884#include <float.h> 7885 7886int 7887main () 7888{ 7889 7890 ; 7891 return 0; 7892} 7893_ACEOF 7894if ac_fn_c_try_compile "$LINENO"; then : 7895 ac_cv_header_stdc=yes 7896else 7897 ac_cv_header_stdc=no 7898fi 7899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7900 7901if test $ac_cv_header_stdc = yes; then 7902 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7904/* end confdefs.h. */ 7905#include <string.h> 7906 7907_ACEOF 7908if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7909 $EGREP "memchr" >/dev/null 2>&1; then : 7910 7911else 7912 ac_cv_header_stdc=no 7913fi 7914rm -f conftest* 7915 7916fi 7917 7918if test $ac_cv_header_stdc = yes; then 7919 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7921/* end confdefs.h. */ 7922#include <stdlib.h> 7923 7924_ACEOF 7925if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7926 $EGREP "free" >/dev/null 2>&1; then : 7927 7928else 7929 ac_cv_header_stdc=no 7930fi 7931rm -f conftest* 7932 7933fi 7934 7935if test $ac_cv_header_stdc = yes; then 7936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7937 if test "$cross_compiling" = yes; then : 7938 : 7939else 7940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7941/* end confdefs.h. */ 7942#include <ctype.h> 7943#include <stdlib.h> 7944#if ((' ' & 0x0FF) == 0x020) 7945# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7946# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7947#else 7948# define ISLOWER(c) \ 7949 (('a' <= (c) && (c) <= 'i') \ 7950 || ('j' <= (c) && (c) <= 'r') \ 7951 || ('s' <= (c) && (c) <= 'z')) 7952# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7953#endif 7954 7955#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7956int 7957main () 7958{ 7959 int i; 7960 for (i = 0; i < 256; i++) 7961 if (XOR (islower (i), ISLOWER (i)) 7962 || toupper (i) != TOUPPER (i)) 7963 return 2; 7964 return 0; 7965} 7966_ACEOF 7967if ac_fn_c_try_run "$LINENO"; then : 7968 7969else 7970 ac_cv_header_stdc=no 7971fi 7972rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7973 conftest.$ac_objext conftest.beam conftest.$ac_ext 7974fi 7975 7976fi 7977fi 7978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7979$as_echo "$ac_cv_header_stdc" >&6; } 7980if test $ac_cv_header_stdc = yes; then 7981 7982$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7983 7984fi 7985 7986# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7987for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7988 inttypes.h stdint.h unistd.h 7989do : 7990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7991ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7992" 7993if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7994 cat >>confdefs.h <<_ACEOF 7995#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7996_ACEOF 7997 7998fi 7999 8000done 8001 8002 8003for ac_header in dlfcn.h 8004do : 8005 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 8006" 8007if test "x$ac_cv_header_dlfcn_h" = xyes; then : 8008 cat >>confdefs.h <<_ACEOF 8009#define HAVE_DLFCN_H 1 8010_ACEOF 8011 8012fi 8013 8014done 8015 8016 8017 8018 8019 8020# Set options 8021 8022 8023 8024 enable_dlopen=no 8025 8026 8027 8028 # Check whether --enable-shared was given. 8029if test "${enable_shared+set}" = set; then : 8030 enableval=$enable_shared; p=${PACKAGE-default} 8031 case $enableval in 8032 yes) enable_shared=yes ;; 8033 no) enable_shared=no ;; 8034 *) 8035 enable_shared=no 8036 # Look at the argument we got. We use all the common list separators. 8037 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8038 for pkg in $enableval; do 8039 IFS="$lt_save_ifs" 8040 if test "X$pkg" = "X$p"; then 8041 enable_shared=yes 8042 fi 8043 done 8044 IFS="$lt_save_ifs" 8045 ;; 8046 esac 8047else 8048 enable_shared=yes 8049fi 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 # Check whether --enable-static was given. 8060if test "${enable_static+set}" = set; then : 8061 enableval=$enable_static; p=${PACKAGE-default} 8062 case $enableval in 8063 yes) enable_static=yes ;; 8064 no) enable_static=no ;; 8065 *) 8066 enable_static=no 8067 # Look at the argument we got. We use all the common list separators. 8068 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8069 for pkg in $enableval; do 8070 IFS="$lt_save_ifs" 8071 if test "X$pkg" = "X$p"; then 8072 enable_static=yes 8073 fi 8074 done 8075 IFS="$lt_save_ifs" 8076 ;; 8077 esac 8078else 8079 enable_static=yes 8080fi 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091# Check whether --with-pic was given. 8092if test "${with_pic+set}" = set; then : 8093 withval=$with_pic; lt_p=${PACKAGE-default} 8094 case $withval in 8095 yes|no) pic_mode=$withval ;; 8096 *) 8097 pic_mode=default 8098 # Look at the argument we got. We use all the common list separators. 8099 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8100 for lt_pkg in $withval; do 8101 IFS="$lt_save_ifs" 8102 if test "X$lt_pkg" = "X$lt_p"; then 8103 pic_mode=yes 8104 fi 8105 done 8106 IFS="$lt_save_ifs" 8107 ;; 8108 esac 8109else 8110 pic_mode=default 8111fi 8112 8113 8114test -z "$pic_mode" && pic_mode=default 8115 8116 8117 8118 8119 8120 8121 8122 # Check whether --enable-fast-install was given. 8123if test "${enable_fast_install+set}" = set; then : 8124 enableval=$enable_fast_install; p=${PACKAGE-default} 8125 case $enableval in 8126 yes) enable_fast_install=yes ;; 8127 no) enable_fast_install=no ;; 8128 *) 8129 enable_fast_install=no 8130 # Look at the argument we got. We use all the common list separators. 8131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 8132 for pkg in $enableval; do 8133 IFS="$lt_save_ifs" 8134 if test "X$pkg" = "X$p"; then 8135 enable_fast_install=yes 8136 fi 8137 done 8138 IFS="$lt_save_ifs" 8139 ;; 8140 esac 8141else 8142 enable_fast_install=yes 8143fi 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155# This can be used to rebuild libtool when needed 8156LIBTOOL_DEPS="$ltmain" 8157 8158# Always use our own libtool. 8159LIBTOOL='$(SHELL) $(top_builddir)/libtool' 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190test -z "$LN_S" && LN_S="ln -s" 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205if test -n "${ZSH_VERSION+set}" ; then 8206 setopt NO_GLOB_SUBST 8207fi 8208 8209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 8210$as_echo_n "checking for objdir... " >&6; } 8211if ${lt_cv_objdir+:} false; then : 8212 $as_echo_n "(cached) " >&6 8213else 8214 rm -f .libs 2>/dev/null 8215mkdir .libs 2>/dev/null 8216if test -d .libs; then 8217 lt_cv_objdir=.libs 8218else 8219 # MS-DOS does not allow filenames that begin with a dot. 8220 lt_cv_objdir=_libs 8221fi 8222rmdir .libs 2>/dev/null 8223fi 8224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 8225$as_echo "$lt_cv_objdir" >&6; } 8226objdir=$lt_cv_objdir 8227 8228 8229 8230 8231 8232cat >>confdefs.h <<_ACEOF 8233#define LT_OBJDIR "$lt_cv_objdir/" 8234_ACEOF 8235 8236 8237 8238 8239case $host_os in 8240aix3*) 8241 # AIX sometimes has problems with the GCC collect2 program. For some 8242 # reason, if we set the COLLECT_NAMES environment variable, the problems 8243 # vanish in a puff of smoke. 8244 if test "X${COLLECT_NAMES+set}" != Xset; then 8245 COLLECT_NAMES= 8246 export COLLECT_NAMES 8247 fi 8248 ;; 8249esac 8250 8251# Global variables: 8252ofile=libtool 8253can_build_shared=yes 8254 8255# All known linkers require a `.a' archive for static linking (except MSVC, 8256# which needs '.lib'). 8257libext=a 8258 8259with_gnu_ld="$lt_cv_prog_gnu_ld" 8260 8261old_CC="$CC" 8262old_CFLAGS="$CFLAGS" 8263 8264# Set sane defaults for various variables 8265test -z "$CC" && CC=cc 8266test -z "$LTCC" && LTCC=$CC 8267test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 8268test -z "$LD" && LD=ld 8269test -z "$ac_objext" && ac_objext=o 8270 8271for cc_temp in $compiler""; do 8272 case $cc_temp in 8273 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8274 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8275 \-*) ;; 8276 *) break;; 8277 esac 8278done 8279cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8280 8281 8282# Only perform the check for file, if the check method requires it 8283test -z "$MAGIC_CMD" && MAGIC_CMD=file 8284case $deplibs_check_method in 8285file_magic*) 8286 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 8288$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 8289if ${lt_cv_path_MAGIC_CMD+:} false; then : 8290 $as_echo_n "(cached) " >&6 8291else 8292 case $MAGIC_CMD in 8293[\\/*] | ?:[\\/]*) 8294 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8295 ;; 8296*) 8297 lt_save_MAGIC_CMD="$MAGIC_CMD" 8298 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8299 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8300 for ac_dir in $ac_dummy; do 8301 IFS="$lt_save_ifs" 8302 test -z "$ac_dir" && ac_dir=. 8303 if test -f $ac_dir/${ac_tool_prefix}file; then 8304 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 8305 if test -n "$file_magic_test_file"; then 8306 case $deplibs_check_method in 8307 "file_magic "*) 8308 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8309 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8310 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8311 $EGREP "$file_magic_regex" > /dev/null; then 8312 : 8313 else 8314 cat <<_LT_EOF 1>&2 8315 8316*** Warning: the command libtool uses to detect shared libraries, 8317*** $file_magic_cmd, produces output that libtool cannot recognize. 8318*** The result is that libtool may fail to recognize shared libraries 8319*** as such. This will affect the creation of libtool libraries that 8320*** depend on shared libraries, but programs linked with such libtool 8321*** libraries will work regardless of this problem. Nevertheless, you 8322*** may want to report the problem to your system manager and/or to 8323*** bug-libtool@gnu.org 8324 8325_LT_EOF 8326 fi ;; 8327 esac 8328 fi 8329 break 8330 fi 8331 done 8332 IFS="$lt_save_ifs" 8333 MAGIC_CMD="$lt_save_MAGIC_CMD" 8334 ;; 8335esac 8336fi 8337 8338MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8339if test -n "$MAGIC_CMD"; then 8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8341$as_echo "$MAGIC_CMD" >&6; } 8342else 8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8344$as_echo "no" >&6; } 8345fi 8346 8347 8348 8349 8350 8351if test -z "$lt_cv_path_MAGIC_CMD"; then 8352 if test -n "$ac_tool_prefix"; then 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8354$as_echo_n "checking for file... " >&6; } 8355if ${lt_cv_path_MAGIC_CMD+:} false; then : 8356 $as_echo_n "(cached) " >&6 8357else 8358 case $MAGIC_CMD in 8359[\\/*] | ?:[\\/]*) 8360 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8361 ;; 8362*) 8363 lt_save_MAGIC_CMD="$MAGIC_CMD" 8364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8365 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8366 for ac_dir in $ac_dummy; do 8367 IFS="$lt_save_ifs" 8368 test -z "$ac_dir" && ac_dir=. 8369 if test -f $ac_dir/file; then 8370 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8371 if test -n "$file_magic_test_file"; then 8372 case $deplibs_check_method in 8373 "file_magic "*) 8374 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8376 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8377 $EGREP "$file_magic_regex" > /dev/null; then 8378 : 8379 else 8380 cat <<_LT_EOF 1>&2 8381 8382*** Warning: the command libtool uses to detect shared libraries, 8383*** $file_magic_cmd, produces output that libtool cannot recognize. 8384*** The result is that libtool may fail to recognize shared libraries 8385*** as such. This will affect the creation of libtool libraries that 8386*** depend on shared libraries, but programs linked with such libtool 8387*** libraries will work regardless of this problem. Nevertheless, you 8388*** may want to report the problem to your system manager and/or to 8389*** bug-libtool@gnu.org 8390 8391_LT_EOF 8392 fi ;; 8393 esac 8394 fi 8395 break 8396 fi 8397 done 8398 IFS="$lt_save_ifs" 8399 MAGIC_CMD="$lt_save_MAGIC_CMD" 8400 ;; 8401esac 8402fi 8403 8404MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8405if test -n "$MAGIC_CMD"; then 8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8407$as_echo "$MAGIC_CMD" >&6; } 8408else 8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8410$as_echo "no" >&6; } 8411fi 8412 8413 8414 else 8415 MAGIC_CMD=: 8416 fi 8417fi 8418 8419 fi 8420 ;; 8421esac 8422 8423# Use C for the default configuration in the libtool script 8424 8425lt_save_CC="$CC" 8426ac_ext=c 8427ac_cpp='$CPP $CPPFLAGS' 8428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8430ac_compiler_gnu=$ac_cv_c_compiler_gnu 8431 8432 8433# Source file extension for C test sources. 8434ac_ext=c 8435 8436# Object file extension for compiled C test sources. 8437objext=o 8438objext=$objext 8439 8440# Code to be used in simple compile tests 8441lt_simple_compile_test_code="int some_variable = 0;" 8442 8443# Code to be used in simple link tests 8444lt_simple_link_test_code='int main(){return(0);}' 8445 8446 8447 8448 8449 8450 8451 8452# If no C compiler was specified, use CC. 8453LTCC=${LTCC-"$CC"} 8454 8455# If no C compiler flags were specified, use CFLAGS. 8456LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8457 8458# Allow CC to be a program name with arguments. 8459compiler=$CC 8460 8461# Save the default compiler, since it gets overwritten when the other 8462# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8463compiler_DEFAULT=$CC 8464 8465# save warnings/boilerplate of simple test code 8466ac_outfile=conftest.$ac_objext 8467echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8468eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8469_lt_compiler_boilerplate=`cat conftest.err` 8470$RM conftest* 8471 8472ac_outfile=conftest.$ac_objext 8473echo "$lt_simple_link_test_code" >conftest.$ac_ext 8474eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8475_lt_linker_boilerplate=`cat conftest.err` 8476$RM -r conftest* 8477 8478 8479## CAVEAT EMPTOR: 8480## There is no encapsulation within the following macros, do not change 8481## the running order or otherwise move them around unless you know exactly 8482## what you are doing... 8483if test -n "$compiler"; then 8484 8485lt_prog_compiler_no_builtin_flag= 8486 8487if test "$GCC" = yes; then 8488 case $cc_basename in 8489 nvcc*) 8490 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8491 *) 8492 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8493 esac 8494 8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8496$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8497if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8498 $as_echo_n "(cached) " >&6 8499else 8500 lt_cv_prog_compiler_rtti_exceptions=no 8501 ac_outfile=conftest.$ac_objext 8502 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8503 lt_compiler_flag="-fno-rtti -fno-exceptions" 8504 # Insert the option either (1) after the last *FLAGS variable, or 8505 # (2) before a word containing "conftest.", or (3) at the end. 8506 # Note that $ac_compile itself does not contain backslashes and begins 8507 # with a dollar sign (not a hyphen), so the echo should work correctly. 8508 # The option is referenced via a variable to avoid confusing sed. 8509 lt_compile=`echo "$ac_compile" | $SED \ 8510 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8511 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8512 -e 's:$: $lt_compiler_flag:'` 8513 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8514 (eval "$lt_compile" 2>conftest.err) 8515 ac_status=$? 8516 cat conftest.err >&5 8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8518 if (exit $ac_status) && test -s "$ac_outfile"; then 8519 # The compiler can only warn and ignore the option if not recognized 8520 # So say no if there are warnings other than the usual output. 8521 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8522 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8523 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8524 lt_cv_prog_compiler_rtti_exceptions=yes 8525 fi 8526 fi 8527 $RM conftest* 8528 8529fi 8530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8531$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8532 8533if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8534 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8535else 8536 : 8537fi 8538 8539fi 8540 8541 8542 8543 8544 8545 8546 lt_prog_compiler_wl= 8547lt_prog_compiler_pic= 8548lt_prog_compiler_static= 8549 8550 8551 if test "$GCC" = yes; then 8552 lt_prog_compiler_wl='-Wl,' 8553 lt_prog_compiler_static='-static' 8554 8555 case $host_os in 8556 aix*) 8557 # All AIX code is PIC. 8558 if test "$host_cpu" = ia64; then 8559 # AIX 5 now supports IA64 processor 8560 lt_prog_compiler_static='-Bstatic' 8561 fi 8562 ;; 8563 8564 amigaos*) 8565 case $host_cpu in 8566 powerpc) 8567 # see comment about AmigaOS4 .so support 8568 lt_prog_compiler_pic='-fPIC' 8569 ;; 8570 m68k) 8571 # FIXME: we need at least 68020 code to build shared libraries, but 8572 # adding the `-m68020' flag to GCC prevents building anything better, 8573 # like `-m68040'. 8574 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8575 ;; 8576 esac 8577 ;; 8578 8579 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8580 # PIC is the default for these OSes. 8581 ;; 8582 8583 mingw* | cygwin* | pw32* | os2* | cegcc*) 8584 # This hack is so that the source file can tell whether it is being 8585 # built for inclusion in a dll (and should export symbols for example). 8586 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8587 # (--disable-auto-import) libraries 8588 lt_prog_compiler_pic='-DDLL_EXPORT' 8589 ;; 8590 8591 darwin* | rhapsody*) 8592 # PIC is the default on this platform 8593 # Common symbols not allowed in MH_DYLIB files 8594 lt_prog_compiler_pic='-fno-common' 8595 ;; 8596 8597 haiku*) 8598 # PIC is the default for Haiku. 8599 # The "-static" flag exists, but is broken. 8600 lt_prog_compiler_static= 8601 ;; 8602 8603 hpux*) 8604 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8605 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8606 # sets the default TLS model and affects inlining. 8607 case $host_cpu in 8608 hppa*64*) 8609 # +Z the default 8610 ;; 8611 *) 8612 lt_prog_compiler_pic='-fPIC' 8613 ;; 8614 esac 8615 ;; 8616 8617 interix[3-9]*) 8618 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8619 # Instead, we relocate shared libraries at runtime. 8620 ;; 8621 8622 msdosdjgpp*) 8623 # Just because we use GCC doesn't mean we suddenly get shared libraries 8624 # on systems that don't support them. 8625 lt_prog_compiler_can_build_shared=no 8626 enable_shared=no 8627 ;; 8628 8629 *nto* | *qnx*) 8630 # QNX uses GNU C++, but need to define -shared option too, otherwise 8631 # it will coredump. 8632 lt_prog_compiler_pic='-fPIC -shared' 8633 ;; 8634 8635 sysv4*MP*) 8636 if test -d /usr/nec; then 8637 lt_prog_compiler_pic=-Kconform_pic 8638 fi 8639 ;; 8640 8641 *) 8642 lt_prog_compiler_pic='-fPIC' 8643 ;; 8644 esac 8645 8646 case $cc_basename in 8647 nvcc*) # Cuda Compiler Driver 2.2 8648 lt_prog_compiler_wl='-Xlinker ' 8649 if test -n "$lt_prog_compiler_pic"; then 8650 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8651 fi 8652 ;; 8653 esac 8654 else 8655 # PORTME Check for flag to pass linker flags through the system compiler. 8656 case $host_os in 8657 aix*) 8658 lt_prog_compiler_wl='-Wl,' 8659 if test "$host_cpu" = ia64; then 8660 # AIX 5 now supports IA64 processor 8661 lt_prog_compiler_static='-Bstatic' 8662 else 8663 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8664 fi 8665 ;; 8666 8667 mingw* | cygwin* | pw32* | os2* | cegcc*) 8668 # This hack is so that the source file can tell whether it is being 8669 # built for inclusion in a dll (and should export symbols for example). 8670 lt_prog_compiler_pic='-DDLL_EXPORT' 8671 ;; 8672 8673 hpux9* | hpux10* | hpux11*) 8674 lt_prog_compiler_wl='-Wl,' 8675 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8676 # not for PA HP-UX. 8677 case $host_cpu in 8678 hppa*64*|ia64*) 8679 # +Z the default 8680 ;; 8681 *) 8682 lt_prog_compiler_pic='+Z' 8683 ;; 8684 esac 8685 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8686 lt_prog_compiler_static='${wl}-a ${wl}archive' 8687 ;; 8688 8689 irix5* | irix6* | nonstopux*) 8690 lt_prog_compiler_wl='-Wl,' 8691 # PIC (with -KPIC) is the default. 8692 lt_prog_compiler_static='-non_shared' 8693 ;; 8694 8695 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8696 case $cc_basename in 8697 # old Intel for x86_64 which still supported -KPIC. 8698 ecc*) 8699 lt_prog_compiler_wl='-Wl,' 8700 lt_prog_compiler_pic='-KPIC' 8701 lt_prog_compiler_static='-static' 8702 ;; 8703 # icc used to be incompatible with GCC. 8704 # ICC 10 doesn't accept -KPIC any more. 8705 icc* | ifort*) 8706 lt_prog_compiler_wl='-Wl,' 8707 lt_prog_compiler_pic='-fPIC' 8708 lt_prog_compiler_static='-static' 8709 ;; 8710 # Lahey Fortran 8.1. 8711 lf95*) 8712 lt_prog_compiler_wl='-Wl,' 8713 lt_prog_compiler_pic='--shared' 8714 lt_prog_compiler_static='--static' 8715 ;; 8716 nagfor*) 8717 # NAG Fortran compiler 8718 lt_prog_compiler_wl='-Wl,-Wl,,' 8719 lt_prog_compiler_pic='-PIC' 8720 lt_prog_compiler_static='-Bstatic' 8721 ;; 8722 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8723 # Portland Group compilers (*not* the Pentium gcc compiler, 8724 # which looks to be a dead project) 8725 lt_prog_compiler_wl='-Wl,' 8726 lt_prog_compiler_pic='-fpic' 8727 lt_prog_compiler_static='-Bstatic' 8728 ;; 8729 ccc*) 8730 lt_prog_compiler_wl='-Wl,' 8731 # All Alpha code is PIC. 8732 lt_prog_compiler_static='-non_shared' 8733 ;; 8734 xl* | bgxl* | bgf* | mpixl*) 8735 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8736 lt_prog_compiler_wl='-Wl,' 8737 lt_prog_compiler_pic='-qpic' 8738 lt_prog_compiler_static='-qstaticlink' 8739 ;; 8740 *) 8741 case `$CC -V 2>&1 | sed 5q` in 8742 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8743 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8744 lt_prog_compiler_pic='-KPIC' 8745 lt_prog_compiler_static='-Bstatic' 8746 lt_prog_compiler_wl='' 8747 ;; 8748 *Sun\ F* | *Sun*Fortran*) 8749 lt_prog_compiler_pic='-KPIC' 8750 lt_prog_compiler_static='-Bstatic' 8751 lt_prog_compiler_wl='-Qoption ld ' 8752 ;; 8753 *Sun\ C*) 8754 # Sun C 5.9 8755 lt_prog_compiler_pic='-KPIC' 8756 lt_prog_compiler_static='-Bstatic' 8757 lt_prog_compiler_wl='-Wl,' 8758 ;; 8759 *Intel*\ [CF]*Compiler*) 8760 lt_prog_compiler_wl='-Wl,' 8761 lt_prog_compiler_pic='-fPIC' 8762 lt_prog_compiler_static='-static' 8763 ;; 8764 *Portland\ Group*) 8765 lt_prog_compiler_wl='-Wl,' 8766 lt_prog_compiler_pic='-fpic' 8767 lt_prog_compiler_static='-Bstatic' 8768 ;; 8769 esac 8770 ;; 8771 esac 8772 ;; 8773 8774 newsos6) 8775 lt_prog_compiler_pic='-KPIC' 8776 lt_prog_compiler_static='-Bstatic' 8777 ;; 8778 8779 *nto* | *qnx*) 8780 # QNX uses GNU C++, but need to define -shared option too, otherwise 8781 # it will coredump. 8782 lt_prog_compiler_pic='-fPIC -shared' 8783 ;; 8784 8785 osf3* | osf4* | osf5*) 8786 lt_prog_compiler_wl='-Wl,' 8787 # All OSF/1 code is PIC. 8788 lt_prog_compiler_static='-non_shared' 8789 ;; 8790 8791 rdos*) 8792 lt_prog_compiler_static='-non_shared' 8793 ;; 8794 8795 solaris*) 8796 lt_prog_compiler_pic='-KPIC' 8797 lt_prog_compiler_static='-Bstatic' 8798 case $cc_basename in 8799 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8800 lt_prog_compiler_wl='-Qoption ld ';; 8801 *) 8802 lt_prog_compiler_wl='-Wl,';; 8803 esac 8804 ;; 8805 8806 sunos4*) 8807 lt_prog_compiler_wl='-Qoption ld ' 8808 lt_prog_compiler_pic='-PIC' 8809 lt_prog_compiler_static='-Bstatic' 8810 ;; 8811 8812 sysv4 | sysv4.2uw2* | sysv4.3*) 8813 lt_prog_compiler_wl='-Wl,' 8814 lt_prog_compiler_pic='-KPIC' 8815 lt_prog_compiler_static='-Bstatic' 8816 ;; 8817 8818 sysv4*MP*) 8819 if test -d /usr/nec ;then 8820 lt_prog_compiler_pic='-Kconform_pic' 8821 lt_prog_compiler_static='-Bstatic' 8822 fi 8823 ;; 8824 8825 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8826 lt_prog_compiler_wl='-Wl,' 8827 lt_prog_compiler_pic='-KPIC' 8828 lt_prog_compiler_static='-Bstatic' 8829 ;; 8830 8831 unicos*) 8832 lt_prog_compiler_wl='-Wl,' 8833 lt_prog_compiler_can_build_shared=no 8834 ;; 8835 8836 uts4*) 8837 lt_prog_compiler_pic='-pic' 8838 lt_prog_compiler_static='-Bstatic' 8839 ;; 8840 8841 *) 8842 lt_prog_compiler_can_build_shared=no 8843 ;; 8844 esac 8845 fi 8846 8847case $host_os in 8848 # For platforms which do not support PIC, -DPIC is meaningless: 8849 *djgpp*) 8850 lt_prog_compiler_pic= 8851 ;; 8852 *) 8853 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8854 ;; 8855esac 8856 8857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8858$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8859if ${lt_cv_prog_compiler_pic+:} false; then : 8860 $as_echo_n "(cached) " >&6 8861else 8862 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8863fi 8864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8865$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8866lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8867 8868# 8869# Check to make sure the PIC flag actually works. 8870# 8871if test -n "$lt_prog_compiler_pic"; then 8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8873$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8874if ${lt_cv_prog_compiler_pic_works+:} false; then : 8875 $as_echo_n "(cached) " >&6 8876else 8877 lt_cv_prog_compiler_pic_works=no 8878 ac_outfile=conftest.$ac_objext 8879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8880 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8881 # Insert the option either (1) after the last *FLAGS variable, or 8882 # (2) before a word containing "conftest.", or (3) at the end. 8883 # Note that $ac_compile itself does not contain backslashes and begins 8884 # with a dollar sign (not a hyphen), so the echo should work correctly. 8885 # The option is referenced via a variable to avoid confusing sed. 8886 lt_compile=`echo "$ac_compile" | $SED \ 8887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8889 -e 's:$: $lt_compiler_flag:'` 8890 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8891 (eval "$lt_compile" 2>conftest.err) 8892 ac_status=$? 8893 cat conftest.err >&5 8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8895 if (exit $ac_status) && test -s "$ac_outfile"; then 8896 # The compiler can only warn and ignore the option if not recognized 8897 # So say no if there are warnings other than the usual output. 8898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8900 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8901 lt_cv_prog_compiler_pic_works=yes 8902 fi 8903 fi 8904 $RM conftest* 8905 8906fi 8907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8908$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8909 8910if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8911 case $lt_prog_compiler_pic in 8912 "" | " "*) ;; 8913 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8914 esac 8915else 8916 lt_prog_compiler_pic= 8917 lt_prog_compiler_can_build_shared=no 8918fi 8919 8920fi 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932# 8933# Check to make sure the static flag actually works. 8934# 8935wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8937$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8938if ${lt_cv_prog_compiler_static_works+:} false; then : 8939 $as_echo_n "(cached) " >&6 8940else 8941 lt_cv_prog_compiler_static_works=no 8942 save_LDFLAGS="$LDFLAGS" 8943 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8944 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8945 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8946 # The linker can only warn and ignore the option if not recognized 8947 # So say no if there are warnings 8948 if test -s conftest.err; then 8949 # Append any errors to the config.log. 8950 cat conftest.err 1>&5 8951 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8952 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8953 if diff conftest.exp conftest.er2 >/dev/null; then 8954 lt_cv_prog_compiler_static_works=yes 8955 fi 8956 else 8957 lt_cv_prog_compiler_static_works=yes 8958 fi 8959 fi 8960 $RM -r conftest* 8961 LDFLAGS="$save_LDFLAGS" 8962 8963fi 8964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8965$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8966 8967if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8968 : 8969else 8970 lt_prog_compiler_static= 8971fi 8972 8973 8974 8975 8976 8977 8978 8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8980$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8981if ${lt_cv_prog_compiler_c_o+:} false; then : 8982 $as_echo_n "(cached) " >&6 8983else 8984 lt_cv_prog_compiler_c_o=no 8985 $RM -r conftest 2>/dev/null 8986 mkdir conftest 8987 cd conftest 8988 mkdir out 8989 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8990 8991 lt_compiler_flag="-o out/conftest2.$ac_objext" 8992 # Insert the option either (1) after the last *FLAGS variable, or 8993 # (2) before a word containing "conftest.", or (3) at the end. 8994 # Note that $ac_compile itself does not contain backslashes and begins 8995 # with a dollar sign (not a hyphen), so the echo should work correctly. 8996 lt_compile=`echo "$ac_compile" | $SED \ 8997 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8999 -e 's:$: $lt_compiler_flag:'` 9000 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9001 (eval "$lt_compile" 2>out/conftest.err) 9002 ac_status=$? 9003 cat out/conftest.err >&5 9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9005 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9006 then 9007 # The compiler can only warn and ignore the option if not recognized 9008 # So say no if there are warnings 9009 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9010 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9011 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9012 lt_cv_prog_compiler_c_o=yes 9013 fi 9014 fi 9015 chmod u+w . 2>&5 9016 $RM conftest* 9017 # SGI C++ compiler will create directory out/ii_files/ for 9018 # template instantiation 9019 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9020 $RM out/* && rmdir out 9021 cd .. 9022 $RM -r conftest 9023 $RM conftest* 9024 9025fi 9026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9027$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9028 9029 9030 9031 9032 9033 9034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 9035$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 9036if ${lt_cv_prog_compiler_c_o+:} false; then : 9037 $as_echo_n "(cached) " >&6 9038else 9039 lt_cv_prog_compiler_c_o=no 9040 $RM -r conftest 2>/dev/null 9041 mkdir conftest 9042 cd conftest 9043 mkdir out 9044 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9045 9046 lt_compiler_flag="-o out/conftest2.$ac_objext" 9047 # Insert the option either (1) after the last *FLAGS variable, or 9048 # (2) before a word containing "conftest.", or (3) at the end. 9049 # Note that $ac_compile itself does not contain backslashes and begins 9050 # with a dollar sign (not a hyphen), so the echo should work correctly. 9051 lt_compile=`echo "$ac_compile" | $SED \ 9052 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9053 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9054 -e 's:$: $lt_compiler_flag:'` 9055 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9056 (eval "$lt_compile" 2>out/conftest.err) 9057 ac_status=$? 9058 cat out/conftest.err >&5 9059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9060 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9061 then 9062 # The compiler can only warn and ignore the option if not recognized 9063 # So say no if there are warnings 9064 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 9065 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 9066 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 9067 lt_cv_prog_compiler_c_o=yes 9068 fi 9069 fi 9070 chmod u+w . 2>&5 9071 $RM conftest* 9072 # SGI C++ compiler will create directory out/ii_files/ for 9073 # template instantiation 9074 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 9075 $RM out/* && rmdir out 9076 cd .. 9077 $RM -r conftest 9078 $RM conftest* 9079 9080fi 9081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 9082$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 9083 9084 9085 9086 9087hard_links="nottested" 9088if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 9089 # do not overwrite the value of need_locks provided by the user 9090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 9091$as_echo_n "checking if we can lock with hard links... " >&6; } 9092 hard_links=yes 9093 $RM conftest* 9094 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9095 touch conftest.a 9096 ln conftest.a conftest.b 2>&5 || hard_links=no 9097 ln conftest.a conftest.b 2>/dev/null && hard_links=no 9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 9099$as_echo "$hard_links" >&6; } 9100 if test "$hard_links" = no; then 9101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 9102$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 9103 need_locks=warn 9104 fi 9105else 9106 need_locks=no 9107fi 9108 9109 9110 9111 9112 9113 9114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 9115$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 9116 9117 runpath_var= 9118 allow_undefined_flag= 9119 always_export_symbols=no 9120 archive_cmds= 9121 archive_expsym_cmds= 9122 compiler_needs_object=no 9123 enable_shared_with_static_runtimes=no 9124 export_dynamic_flag_spec= 9125 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 9126 hardcode_automatic=no 9127 hardcode_direct=no 9128 hardcode_direct_absolute=no 9129 hardcode_libdir_flag_spec= 9130 hardcode_libdir_separator= 9131 hardcode_minus_L=no 9132 hardcode_shlibpath_var=unsupported 9133 inherit_rpath=no 9134 link_all_deplibs=unknown 9135 module_cmds= 9136 module_expsym_cmds= 9137 old_archive_from_new_cmds= 9138 old_archive_from_expsyms_cmds= 9139 thread_safe_flag_spec= 9140 whole_archive_flag_spec= 9141 # include_expsyms should be a list of space-separated symbols to be *always* 9142 # included in the symbol list 9143 include_expsyms= 9144 # exclude_expsyms can be an extended regexp of symbols to exclude 9145 # it will be wrapped by ` (' and `)$', so one must not match beginning or 9146 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 9147 # as well as any symbol that contains `d'. 9148 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 9149 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 9150 # platforms (ab)use it in PIC code, but their linkers get confused if 9151 # the symbol is explicitly referenced. Since portable code cannot 9152 # rely on this symbol name, it's probably fine to never include it in 9153 # preloaded symbol tables. 9154 # Exclude shared library initialization/finalization symbols. 9155 extract_expsyms_cmds= 9156 9157 case $host_os in 9158 cygwin* | mingw* | pw32* | cegcc*) 9159 # FIXME: the MSVC++ port hasn't been tested in a loooong time 9160 # When not using gcc, we currently assume that we are using 9161 # Microsoft Visual C++. 9162 if test "$GCC" != yes; then 9163 with_gnu_ld=no 9164 fi 9165 ;; 9166 interix*) 9167 # we just hope/assume this is gcc and not c89 (= MSVC++) 9168 with_gnu_ld=yes 9169 ;; 9170 openbsd*) 9171 with_gnu_ld=no 9172 ;; 9173 linux* | k*bsd*-gnu | gnu*) 9174 link_all_deplibs=no 9175 ;; 9176 esac 9177 9178 ld_shlibs=yes 9179 9180 # On some targets, GNU ld is compatible enough with the native linker 9181 # that we're better off using the native interface for both. 9182 lt_use_gnu_ld_interface=no 9183 if test "$with_gnu_ld" = yes; then 9184 case $host_os in 9185 aix*) 9186 # The AIX port of GNU ld has always aspired to compatibility 9187 # with the native linker. However, as the warning in the GNU ld 9188 # block says, versions before 2.19.5* couldn't really create working 9189 # shared libraries, regardless of the interface used. 9190 case `$LD -v 2>&1` in 9191 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 9192 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 9193 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 9194 *) 9195 lt_use_gnu_ld_interface=yes 9196 ;; 9197 esac 9198 ;; 9199 *) 9200 lt_use_gnu_ld_interface=yes 9201 ;; 9202 esac 9203 fi 9204 9205 if test "$lt_use_gnu_ld_interface" = yes; then 9206 # If archive_cmds runs LD, not CC, wlarc should be empty 9207 wlarc='${wl}' 9208 9209 # Set some defaults for GNU ld with shared library support. These 9210 # are reset later if shared libraries are not supported. Putting them 9211 # here allows them to be overridden if necessary. 9212 runpath_var=LD_RUN_PATH 9213 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9214 export_dynamic_flag_spec='${wl}--export-dynamic' 9215 # ancient GNU ld didn't support --whole-archive et. al. 9216 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 9217 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 9218 else 9219 whole_archive_flag_spec= 9220 fi 9221 supports_anon_versioning=no 9222 case `$LD -v 2>&1` in 9223 *GNU\ gold*) supports_anon_versioning=yes ;; 9224 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 9225 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 9226 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 9227 *\ 2.11.*) ;; # other 2.11 versions 9228 *) supports_anon_versioning=yes ;; 9229 esac 9230 9231 # See if GNU ld supports shared libraries. 9232 case $host_os in 9233 aix[3-9]*) 9234 # On AIX/PPC, the GNU linker is very broken 9235 if test "$host_cpu" != ia64; then 9236 ld_shlibs=no 9237 cat <<_LT_EOF 1>&2 9238 9239*** Warning: the GNU linker, at least up to release 2.19, is reported 9240*** to be unable to reliably create shared libraries on AIX. 9241*** Therefore, libtool is disabling shared libraries support. If you 9242*** really care for shared libraries, you may want to install binutils 9243*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 9244*** You will then need to restart the configuration process. 9245 9246_LT_EOF 9247 fi 9248 ;; 9249 9250 amigaos*) 9251 case $host_cpu in 9252 powerpc) 9253 # see comment about AmigaOS4 .so support 9254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9255 archive_expsym_cmds='' 9256 ;; 9257 m68k) 9258 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)' 9259 hardcode_libdir_flag_spec='-L$libdir' 9260 hardcode_minus_L=yes 9261 ;; 9262 esac 9263 ;; 9264 9265 beos*) 9266 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9267 allow_undefined_flag=unsupported 9268 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 9269 # support --undefined. This deserves some investigation. FIXME 9270 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9271 else 9272 ld_shlibs=no 9273 fi 9274 ;; 9275 9276 cygwin* | mingw* | pw32* | cegcc*) 9277 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 9278 # as there is no search path for DLLs. 9279 hardcode_libdir_flag_spec='-L$libdir' 9280 export_dynamic_flag_spec='${wl}--export-all-symbols' 9281 allow_undefined_flag=unsupported 9282 always_export_symbols=no 9283 enable_shared_with_static_runtimes=yes 9284 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' 9285 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 9286 9287 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 9288 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9289 # If the export-symbols file already is a .def file (1st line 9290 # is EXPORTS), use it as is; otherwise, prepend... 9291 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9292 cp $export_symbols $output_objdir/$soname.def; 9293 else 9294 echo EXPORTS > $output_objdir/$soname.def; 9295 cat $export_symbols >> $output_objdir/$soname.def; 9296 fi~ 9297 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 9298 else 9299 ld_shlibs=no 9300 fi 9301 ;; 9302 9303 haiku*) 9304 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9305 link_all_deplibs=yes 9306 ;; 9307 9308 interix[3-9]*) 9309 hardcode_direct=no 9310 hardcode_shlibpath_var=no 9311 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9312 export_dynamic_flag_spec='${wl}-E' 9313 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9314 # Instead, shared libraries are loaded at an image base (0x10000000 by 9315 # default) and relocated if they conflict, which is a slow very memory 9316 # consuming and fragmenting process. To avoid this, we pick a random, 9317 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9318 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9319 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9320 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' 9321 ;; 9322 9323 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9324 tmp_diet=no 9325 if test "$host_os" = linux-dietlibc; then 9326 case $cc_basename in 9327 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9328 esac 9329 fi 9330 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9331 && test "$tmp_diet" = no 9332 then 9333 tmp_addflag=' $pic_flag' 9334 tmp_sharedflag='-shared' 9335 case $cc_basename,$host_cpu in 9336 pgcc*) # Portland Group C compiler 9337 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' 9338 tmp_addflag=' $pic_flag' 9339 ;; 9340 pgf77* | pgf90* | pgf95* | pgfortran*) 9341 # Portland Group f77 and f90 compilers 9342 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' 9343 tmp_addflag=' $pic_flag -Mnomain' ;; 9344 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9345 tmp_addflag=' -i_dynamic' ;; 9346 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9347 tmp_addflag=' -i_dynamic -nofor_main' ;; 9348 ifc* | ifort*) # Intel Fortran compiler 9349 tmp_addflag=' -nofor_main' ;; 9350 lf95*) # Lahey Fortran 8.1 9351 whole_archive_flag_spec= 9352 tmp_sharedflag='--shared' ;; 9353 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9354 tmp_sharedflag='-qmkshrobj' 9355 tmp_addflag= ;; 9356 nvcc*) # Cuda Compiler Driver 2.2 9357 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' 9358 compiler_needs_object=yes 9359 ;; 9360 esac 9361 case `$CC -V 2>&1 | sed 5q` in 9362 *Sun\ C*) # Sun C 5.9 9363 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' 9364 compiler_needs_object=yes 9365 tmp_sharedflag='-G' ;; 9366 *Sun\ F*) # Sun Fortran 8.3 9367 tmp_sharedflag='-G' ;; 9368 esac 9369 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9370 9371 if test "x$supports_anon_versioning" = xyes; then 9372 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9373 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9374 echo "local: *; };" >> $output_objdir/$libname.ver~ 9375 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9376 fi 9377 9378 case $cc_basename in 9379 xlf* | bgf* | bgxlf* | mpixlf*) 9380 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9381 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9382 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9383 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9384 if test "x$supports_anon_versioning" = xyes; then 9385 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9386 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9387 echo "local: *; };" >> $output_objdir/$libname.ver~ 9388 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9389 fi 9390 ;; 9391 esac 9392 else 9393 ld_shlibs=no 9394 fi 9395 ;; 9396 9397 netbsd* | netbsdelf*-gnu) 9398 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9399 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9400 wlarc= 9401 else 9402 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9403 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9404 fi 9405 ;; 9406 9407 solaris*) 9408 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9409 ld_shlibs=no 9410 cat <<_LT_EOF 1>&2 9411 9412*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9413*** create shared libraries on Solaris systems. Therefore, libtool 9414*** is disabling shared libraries support. We urge you to upgrade GNU 9415*** binutils to release 2.9.1 or newer. Another option is to modify 9416*** your PATH or compiler configuration so that the native linker is 9417*** used, and then restart. 9418 9419_LT_EOF 9420 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9421 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9422 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9423 else 9424 ld_shlibs=no 9425 fi 9426 ;; 9427 9428 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9429 case `$LD -v 2>&1` in 9430 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9431 ld_shlibs=no 9432 cat <<_LT_EOF 1>&2 9433 9434*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9435*** reliably create shared libraries on SCO systems. Therefore, libtool 9436*** is disabling shared libraries support. We urge you to upgrade GNU 9437*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9438*** your PATH or compiler configuration so that the native linker is 9439*** used, and then restart. 9440 9441_LT_EOF 9442 ;; 9443 *) 9444 # For security reasons, it is highly recommended that you always 9445 # use absolute paths for naming shared libraries, and exclude the 9446 # DT_RUNPATH tag from executables and libraries. But doing so 9447 # requires that you compile everything twice, which is a pain. 9448 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9449 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9450 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9451 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9452 else 9453 ld_shlibs=no 9454 fi 9455 ;; 9456 esac 9457 ;; 9458 9459 sunos4*) 9460 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9461 wlarc= 9462 hardcode_direct=yes 9463 hardcode_shlibpath_var=no 9464 ;; 9465 9466 *) 9467 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9468 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9469 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9470 else 9471 ld_shlibs=no 9472 fi 9473 ;; 9474 esac 9475 9476 if test "$ld_shlibs" = no; then 9477 runpath_var= 9478 hardcode_libdir_flag_spec= 9479 export_dynamic_flag_spec= 9480 whole_archive_flag_spec= 9481 fi 9482 else 9483 # PORTME fill in a description of your system's linker (not GNU ld) 9484 case $host_os in 9485 aix3*) 9486 allow_undefined_flag=unsupported 9487 always_export_symbols=yes 9488 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' 9489 # Note: this linker hardcodes the directories in LIBPATH if there 9490 # are no directories specified by -L. 9491 hardcode_minus_L=yes 9492 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9493 # Neither direct hardcoding nor static linking is supported with a 9494 # broken collect2. 9495 hardcode_direct=unsupported 9496 fi 9497 ;; 9498 9499 aix[4-9]*) 9500 if test "$host_cpu" = ia64; then 9501 # On IA64, the linker does run time linking by default, so we don't 9502 # have to do anything special. 9503 aix_use_runtimelinking=no 9504 exp_sym_flag='-Bexport' 9505 no_entry_flag="" 9506 else 9507 # If we're using GNU nm, then we don't want the "-C" option. 9508 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9509 # Also, AIX nm treats weak defined symbols like other global 9510 # defined symbols, whereas GNU nm marks them as "W". 9511 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9512 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' 9513 else 9514 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' 9515 fi 9516 aix_use_runtimelinking=no 9517 9518 # Test if we are trying to use run time linking or normal 9519 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9520 # need to do runtime linking. 9521 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9522 for ld_flag in $LDFLAGS; do 9523 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9524 aix_use_runtimelinking=yes 9525 break 9526 fi 9527 done 9528 ;; 9529 esac 9530 9531 exp_sym_flag='-bexport' 9532 no_entry_flag='-bnoentry' 9533 fi 9534 9535 # When large executables or shared objects are built, AIX ld can 9536 # have problems creating the table of contents. If linking a library 9537 # or program results in "error TOC overflow" add -mminimal-toc to 9538 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9539 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9540 9541 archive_cmds='' 9542 hardcode_direct=yes 9543 hardcode_direct_absolute=yes 9544 hardcode_libdir_separator=':' 9545 link_all_deplibs=yes 9546 file_list_spec='${wl}-f,' 9547 9548 if test "$GCC" = yes; then 9549 case $host_os in aix4.[012]|aix4.[012].*) 9550 # We only want to do this on AIX 4.2 and lower, the check 9551 # below for broken collect2 doesn't work under 4.3+ 9552 collect2name=`${CC} -print-prog-name=collect2` 9553 if test -f "$collect2name" && 9554 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9555 then 9556 # We have reworked collect2 9557 : 9558 else 9559 # We have old collect2 9560 hardcode_direct=unsupported 9561 # It fails to find uninstalled libraries when the uninstalled 9562 # path is not listed in the libpath. Setting hardcode_minus_L 9563 # to unsupported forces relinking 9564 hardcode_minus_L=yes 9565 hardcode_libdir_flag_spec='-L$libdir' 9566 hardcode_libdir_separator= 9567 fi 9568 ;; 9569 esac 9570 shared_flag='-shared' 9571 if test "$aix_use_runtimelinking" = yes; then 9572 shared_flag="$shared_flag "'${wl}-G' 9573 fi 9574 link_all_deplibs=no 9575 else 9576 # not using gcc 9577 if test "$host_cpu" = ia64; then 9578 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9579 # chokes on -Wl,-G. The following line is correct: 9580 shared_flag='-G' 9581 else 9582 if test "$aix_use_runtimelinking" = yes; then 9583 shared_flag='${wl}-G' 9584 else 9585 shared_flag='${wl}-bM:SRE' 9586 fi 9587 fi 9588 fi 9589 9590 export_dynamic_flag_spec='${wl}-bexpall' 9591 # It seems that -bexpall does not export symbols beginning with 9592 # underscore (_), so it is better to generate a list of symbols to export. 9593 always_export_symbols=yes 9594 if test "$aix_use_runtimelinking" = yes; then 9595 # Warning - without using the other runtime loading flags (-brtl), 9596 # -berok will link without error, but may produce a broken library. 9597 allow_undefined_flag='-berok' 9598 # Determine the default libpath from the value encoded in an 9599 # empty executable. 9600 if test "${lt_cv_aix_libpath+set}" = set; then 9601 aix_libpath=$lt_cv_aix_libpath 9602else 9603 if ${lt_cv_aix_libpath_+:} false; then : 9604 $as_echo_n "(cached) " >&6 9605else 9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9607/* end confdefs.h. */ 9608 9609int 9610main () 9611{ 9612 9613 ; 9614 return 0; 9615} 9616_ACEOF 9617if ac_fn_c_try_link "$LINENO"; then : 9618 9619 lt_aix_libpath_sed=' 9620 /Import File Strings/,/^$/ { 9621 /^0/ { 9622 s/^0 *\([^ ]*\) *$/\1/ 9623 p 9624 } 9625 }' 9626 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9627 # Check for a 64-bit object if we didn't find anything. 9628 if test -z "$lt_cv_aix_libpath_"; then 9629 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9630 fi 9631fi 9632rm -f core conftest.err conftest.$ac_objext \ 9633 conftest$ac_exeext conftest.$ac_ext 9634 if test -z "$lt_cv_aix_libpath_"; then 9635 lt_cv_aix_libpath_="/usr/lib:/lib" 9636 fi 9637 9638fi 9639 9640 aix_libpath=$lt_cv_aix_libpath_ 9641fi 9642 9643 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9644 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" 9645 else 9646 if test "$host_cpu" = ia64; then 9647 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9648 allow_undefined_flag="-z nodefs" 9649 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" 9650 else 9651 # Determine the default libpath from the value encoded in an 9652 # empty executable. 9653 if test "${lt_cv_aix_libpath+set}" = set; then 9654 aix_libpath=$lt_cv_aix_libpath 9655else 9656 if ${lt_cv_aix_libpath_+:} false; then : 9657 $as_echo_n "(cached) " >&6 9658else 9659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9660/* end confdefs.h. */ 9661 9662int 9663main () 9664{ 9665 9666 ; 9667 return 0; 9668} 9669_ACEOF 9670if ac_fn_c_try_link "$LINENO"; then : 9671 9672 lt_aix_libpath_sed=' 9673 /Import File Strings/,/^$/ { 9674 /^0/ { 9675 s/^0 *\([^ ]*\) *$/\1/ 9676 p 9677 } 9678 }' 9679 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9680 # Check for a 64-bit object if we didn't find anything. 9681 if test -z "$lt_cv_aix_libpath_"; then 9682 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9683 fi 9684fi 9685rm -f core conftest.err conftest.$ac_objext \ 9686 conftest$ac_exeext conftest.$ac_ext 9687 if test -z "$lt_cv_aix_libpath_"; then 9688 lt_cv_aix_libpath_="/usr/lib:/lib" 9689 fi 9690 9691fi 9692 9693 aix_libpath=$lt_cv_aix_libpath_ 9694fi 9695 9696 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9697 # Warning - without using the other run time loading flags, 9698 # -berok will link without error, but may produce a broken library. 9699 no_undefined_flag=' ${wl}-bernotok' 9700 allow_undefined_flag=' ${wl}-berok' 9701 if test "$with_gnu_ld" = yes; then 9702 # We only use this code for GNU lds that support --whole-archive. 9703 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9704 else 9705 # Exported symbols can be pulled into shared objects from archives 9706 whole_archive_flag_spec='$convenience' 9707 fi 9708 archive_cmds_need_lc=yes 9709 # This is similar to how AIX traditionally builds its shared libraries. 9710 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' 9711 fi 9712 fi 9713 ;; 9714 9715 amigaos*) 9716 case $host_cpu in 9717 powerpc) 9718 # see comment about AmigaOS4 .so support 9719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9720 archive_expsym_cmds='' 9721 ;; 9722 m68k) 9723 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)' 9724 hardcode_libdir_flag_spec='-L$libdir' 9725 hardcode_minus_L=yes 9726 ;; 9727 esac 9728 ;; 9729 9730 bsdi[45]*) 9731 export_dynamic_flag_spec=-rdynamic 9732 ;; 9733 9734 cygwin* | mingw* | pw32* | cegcc*) 9735 # When not using gcc, we currently assume that we are using 9736 # Microsoft Visual C++. 9737 # hardcode_libdir_flag_spec is actually meaningless, as there is 9738 # no search path for DLLs. 9739 case $cc_basename in 9740 cl*) 9741 # Native MSVC 9742 hardcode_libdir_flag_spec=' ' 9743 allow_undefined_flag=unsupported 9744 always_export_symbols=yes 9745 file_list_spec='@' 9746 # Tell ltmain to make .lib files, not .a files. 9747 libext=lib 9748 # Tell ltmain to make .dll files, not .so files. 9749 shrext_cmds=".dll" 9750 # FIXME: Setting linknames here is a bad hack. 9751 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9752 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9753 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9754 else 9755 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9756 fi~ 9757 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9758 linknames=' 9759 # The linker will not automatically build a static lib if we build a DLL. 9760 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9761 enable_shared_with_static_runtimes=yes 9762 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9763 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9764 # Don't use ranlib 9765 old_postinstall_cmds='chmod 644 $oldlib' 9766 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9767 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9768 case $lt_outputfile in 9769 *.exe|*.EXE) ;; 9770 *) 9771 lt_outputfile="$lt_outputfile.exe" 9772 lt_tool_outputfile="$lt_tool_outputfile.exe" 9773 ;; 9774 esac~ 9775 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9776 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9777 $RM "$lt_outputfile.manifest"; 9778 fi' 9779 ;; 9780 *) 9781 # Assume MSVC wrapper 9782 hardcode_libdir_flag_spec=' ' 9783 allow_undefined_flag=unsupported 9784 # Tell ltmain to make .lib files, not .a files. 9785 libext=lib 9786 # Tell ltmain to make .dll files, not .so files. 9787 shrext_cmds=".dll" 9788 # FIXME: Setting linknames here is a bad hack. 9789 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9790 # The linker will automatically build a .lib file if we build a DLL. 9791 old_archive_from_new_cmds='true' 9792 # FIXME: Should let the user specify the lib program. 9793 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9794 enable_shared_with_static_runtimes=yes 9795 ;; 9796 esac 9797 ;; 9798 9799 darwin* | rhapsody*) 9800 9801 9802 archive_cmds_need_lc=no 9803 hardcode_direct=no 9804 hardcode_automatic=yes 9805 hardcode_shlibpath_var=unsupported 9806 if test "$lt_cv_ld_force_load" = "yes"; then 9807 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\"`' 9808 9809 else 9810 whole_archive_flag_spec='' 9811 fi 9812 link_all_deplibs=yes 9813 allow_undefined_flag="$_lt_dar_allow_undefined" 9814 case $cc_basename in 9815 ifort*) _lt_dar_can_shared=yes ;; 9816 *) _lt_dar_can_shared=$GCC ;; 9817 esac 9818 if test "$_lt_dar_can_shared" = "yes"; then 9819 output_verbose_link_cmd=func_echo_all 9820 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9821 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9822 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}" 9823 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}" 9824 9825 else 9826 ld_shlibs=no 9827 fi 9828 9829 ;; 9830 9831 dgux*) 9832 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9833 hardcode_libdir_flag_spec='-L$libdir' 9834 hardcode_shlibpath_var=no 9835 ;; 9836 9837 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9838 # support. Future versions do this automatically, but an explicit c++rt0.o 9839 # does not break anything, and helps significantly (at the cost of a little 9840 # extra space). 9841 freebsd2.2*) 9842 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9843 hardcode_libdir_flag_spec='-R$libdir' 9844 hardcode_direct=yes 9845 hardcode_shlibpath_var=no 9846 ;; 9847 9848 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9849 freebsd2.*) 9850 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9851 hardcode_direct=yes 9852 hardcode_minus_L=yes 9853 hardcode_shlibpath_var=no 9854 ;; 9855 9856 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9857 freebsd* | dragonfly*) 9858 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9859 hardcode_libdir_flag_spec='-R$libdir' 9860 hardcode_direct=yes 9861 hardcode_shlibpath_var=no 9862 ;; 9863 9864 hpux9*) 9865 if test "$GCC" = yes; then 9866 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' 9867 else 9868 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' 9869 fi 9870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9871 hardcode_libdir_separator=: 9872 hardcode_direct=yes 9873 9874 # hardcode_minus_L: Not really in the search PATH, 9875 # but as the default location of the library. 9876 hardcode_minus_L=yes 9877 export_dynamic_flag_spec='${wl}-E' 9878 ;; 9879 9880 hpux10*) 9881 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9882 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9883 else 9884 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9885 fi 9886 if test "$with_gnu_ld" = no; then 9887 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9888 hardcode_libdir_separator=: 9889 hardcode_direct=yes 9890 hardcode_direct_absolute=yes 9891 export_dynamic_flag_spec='${wl}-E' 9892 # hardcode_minus_L: Not really in the search PATH, 9893 # but as the default location of the library. 9894 hardcode_minus_L=yes 9895 fi 9896 ;; 9897 9898 hpux11*) 9899 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9900 case $host_cpu in 9901 hppa*64*) 9902 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9903 ;; 9904 ia64*) 9905 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9906 ;; 9907 *) 9908 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9909 ;; 9910 esac 9911 else 9912 case $host_cpu in 9913 hppa*64*) 9914 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9915 ;; 9916 ia64*) 9917 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9918 ;; 9919 *) 9920 9921 # Older versions of the 11.00 compiler do not understand -b yet 9922 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9924$as_echo_n "checking if $CC understands -b... " >&6; } 9925if ${lt_cv_prog_compiler__b+:} false; then : 9926 $as_echo_n "(cached) " >&6 9927else 9928 lt_cv_prog_compiler__b=no 9929 save_LDFLAGS="$LDFLAGS" 9930 LDFLAGS="$LDFLAGS -b" 9931 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9932 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9933 # The linker can only warn and ignore the option if not recognized 9934 # So say no if there are warnings 9935 if test -s conftest.err; then 9936 # Append any errors to the config.log. 9937 cat conftest.err 1>&5 9938 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9940 if diff conftest.exp conftest.er2 >/dev/null; then 9941 lt_cv_prog_compiler__b=yes 9942 fi 9943 else 9944 lt_cv_prog_compiler__b=yes 9945 fi 9946 fi 9947 $RM -r conftest* 9948 LDFLAGS="$save_LDFLAGS" 9949 9950fi 9951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9952$as_echo "$lt_cv_prog_compiler__b" >&6; } 9953 9954if test x"$lt_cv_prog_compiler__b" = xyes; then 9955 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9956else 9957 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9958fi 9959 9960 ;; 9961 esac 9962 fi 9963 if test "$with_gnu_ld" = no; then 9964 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9965 hardcode_libdir_separator=: 9966 9967 case $host_cpu in 9968 hppa*64*|ia64*) 9969 hardcode_direct=no 9970 hardcode_shlibpath_var=no 9971 ;; 9972 *) 9973 hardcode_direct=yes 9974 hardcode_direct_absolute=yes 9975 export_dynamic_flag_spec='${wl}-E' 9976 9977 # hardcode_minus_L: Not really in the search PATH, 9978 # but as the default location of the library. 9979 hardcode_minus_L=yes 9980 ;; 9981 esac 9982 fi 9983 ;; 9984 9985 irix5* | irix6* | nonstopux*) 9986 if test "$GCC" = yes; then 9987 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' 9988 # Try to use the -exported_symbol ld option, if it does not 9989 # work, assume that -exports_file does not work either and 9990 # implicitly export all symbols. 9991 # This should be the same for all languages, so no per-tag cache variable. 9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9993$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9994if ${lt_cv_irix_exported_symbol+:} false; then : 9995 $as_echo_n "(cached) " >&6 9996else 9997 save_LDFLAGS="$LDFLAGS" 9998 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10000/* end confdefs.h. */ 10001int foo (void) { return 0; } 10002_ACEOF 10003if ac_fn_c_try_link "$LINENO"; then : 10004 lt_cv_irix_exported_symbol=yes 10005else 10006 lt_cv_irix_exported_symbol=no 10007fi 10008rm -f core conftest.err conftest.$ac_objext \ 10009 conftest$ac_exeext conftest.$ac_ext 10010 LDFLAGS="$save_LDFLAGS" 10011fi 10012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 10013$as_echo "$lt_cv_irix_exported_symbol" >&6; } 10014 if test "$lt_cv_irix_exported_symbol" = yes; then 10015 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' 10016 fi 10017 else 10018 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' 10019 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' 10020 fi 10021 archive_cmds_need_lc='no' 10022 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10023 hardcode_libdir_separator=: 10024 inherit_rpath=yes 10025 link_all_deplibs=yes 10026 ;; 10027 10028 netbsd* | netbsdelf*-gnu) 10029 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 10031 else 10032 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 10033 fi 10034 hardcode_libdir_flag_spec='-R$libdir' 10035 hardcode_direct=yes 10036 hardcode_shlibpath_var=no 10037 ;; 10038 10039 newsos6) 10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10041 hardcode_direct=yes 10042 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10043 hardcode_libdir_separator=: 10044 hardcode_shlibpath_var=no 10045 ;; 10046 10047 *nto* | *qnx*) 10048 ;; 10049 10050 openbsd*) 10051 if test -f /usr/libexec/ld.so; then 10052 hardcode_direct=yes 10053 hardcode_shlibpath_var=no 10054 hardcode_direct_absolute=yes 10055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10056 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10057 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 10058 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10059 export_dynamic_flag_spec='${wl}-E' 10060 else 10061 case $host_os in 10062 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10064 hardcode_libdir_flag_spec='-R$libdir' 10065 ;; 10066 *) 10067 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 10068 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 10069 ;; 10070 esac 10071 fi 10072 else 10073 ld_shlibs=no 10074 fi 10075 ;; 10076 10077 os2*) 10078 hardcode_libdir_flag_spec='-L$libdir' 10079 hardcode_minus_L=yes 10080 allow_undefined_flag=unsupported 10081 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' 10082 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 10083 ;; 10084 10085 osf3*) 10086 if test "$GCC" = yes; then 10087 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10088 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' 10089 else 10090 allow_undefined_flag=' -expect_unresolved \*' 10091 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' 10092 fi 10093 archive_cmds_need_lc='no' 10094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10095 hardcode_libdir_separator=: 10096 ;; 10097 10098 osf4* | osf5*) # as osf3* with the addition of -msym flag 10099 if test "$GCC" = yes; then 10100 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 10101 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' 10102 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 10103 else 10104 allow_undefined_flag=' -expect_unresolved \*' 10105 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' 10106 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~ 10107 $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' 10108 10109 # Both c and cxx compiler support -rpath directly 10110 hardcode_libdir_flag_spec='-rpath $libdir' 10111 fi 10112 archive_cmds_need_lc='no' 10113 hardcode_libdir_separator=: 10114 ;; 10115 10116 solaris*) 10117 no_undefined_flag=' -z defs' 10118 if test "$GCC" = yes; then 10119 wlarc='${wl}' 10120 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 10121 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10122 $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' 10123 else 10124 case `$CC -V 2>&1` in 10125 *"Compilers 5.0"*) 10126 wlarc='' 10127 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 10128 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10129 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 10130 ;; 10131 *) 10132 wlarc='${wl}' 10133 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 10134 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 10135 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 10136 ;; 10137 esac 10138 fi 10139 hardcode_libdir_flag_spec='-R$libdir' 10140 hardcode_shlibpath_var=no 10141 case $host_os in 10142 solaris2.[0-5] | solaris2.[0-5].*) ;; 10143 *) 10144 # The compiler driver will combine and reorder linker options, 10145 # but understands `-z linker_flag'. GCC discards it without `$wl', 10146 # but is careful enough not to reorder. 10147 # Supported since Solaris 2.6 (maybe 2.5.1?) 10148 if test "$GCC" = yes; then 10149 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 10150 else 10151 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 10152 fi 10153 ;; 10154 esac 10155 link_all_deplibs=yes 10156 ;; 10157 10158 sunos4*) 10159 if test "x$host_vendor" = xsequent; then 10160 # Use $CC to link under sequent, because it throws in some extra .o 10161 # files that make .init and .fini sections work. 10162 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 10163 else 10164 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 10165 fi 10166 hardcode_libdir_flag_spec='-L$libdir' 10167 hardcode_direct=yes 10168 hardcode_minus_L=yes 10169 hardcode_shlibpath_var=no 10170 ;; 10171 10172 sysv4) 10173 case $host_vendor in 10174 sni) 10175 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10176 hardcode_direct=yes # is this really true??? 10177 ;; 10178 siemens) 10179 ## LD is ld it makes a PLAMLIB 10180 ## CC just makes a GrossModule. 10181 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 10182 reload_cmds='$CC -r -o $output$reload_objs' 10183 hardcode_direct=no 10184 ;; 10185 motorola) 10186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10187 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 10188 ;; 10189 esac 10190 runpath_var='LD_RUN_PATH' 10191 hardcode_shlibpath_var=no 10192 ;; 10193 10194 sysv4.3*) 10195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10196 hardcode_shlibpath_var=no 10197 export_dynamic_flag_spec='-Bexport' 10198 ;; 10199 10200 sysv4*MP*) 10201 if test -d /usr/nec; then 10202 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10203 hardcode_shlibpath_var=no 10204 runpath_var=LD_RUN_PATH 10205 hardcode_runpath_var=yes 10206 ld_shlibs=yes 10207 fi 10208 ;; 10209 10210 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 10211 no_undefined_flag='${wl}-z,text' 10212 archive_cmds_need_lc=no 10213 hardcode_shlibpath_var=no 10214 runpath_var='LD_RUN_PATH' 10215 10216 if test "$GCC" = yes; then 10217 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10218 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10219 else 10220 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10221 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10222 fi 10223 ;; 10224 10225 sysv5* | sco3.2v5* | sco5v6*) 10226 # Note: We can NOT use -z defs as we might desire, because we do not 10227 # link with -lc, and that would cause any symbols used from libc to 10228 # always be unresolved, which means just about no library would 10229 # ever link correctly. If we're not using GNU ld we use -z text 10230 # though, which does catch some bad symbols but isn't as heavy-handed 10231 # as -z defs. 10232 no_undefined_flag='${wl}-z,text' 10233 allow_undefined_flag='${wl}-z,nodefs' 10234 archive_cmds_need_lc=no 10235 hardcode_shlibpath_var=no 10236 hardcode_libdir_flag_spec='${wl}-R,$libdir' 10237 hardcode_libdir_separator=':' 10238 link_all_deplibs=yes 10239 export_dynamic_flag_spec='${wl}-Bexport' 10240 runpath_var='LD_RUN_PATH' 10241 10242 if test "$GCC" = yes; then 10243 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10244 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10245 else 10246 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10247 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 10248 fi 10249 ;; 10250 10251 uts4*) 10252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 10253 hardcode_libdir_flag_spec='-L$libdir' 10254 hardcode_shlibpath_var=no 10255 ;; 10256 10257 *) 10258 ld_shlibs=no 10259 ;; 10260 esac 10261 10262 if test x$host_vendor = xsni; then 10263 case $host in 10264 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 10265 export_dynamic_flag_spec='${wl}-Blargedynsym' 10266 ;; 10267 esac 10268 fi 10269 fi 10270 10271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 10272$as_echo "$ld_shlibs" >&6; } 10273test "$ld_shlibs" = no && can_build_shared=no 10274 10275with_gnu_ld=$with_gnu_ld 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291# 10292# Do we need to explicitly link libc? 10293# 10294case "x$archive_cmds_need_lc" in 10295x|xyes) 10296 # Assume -lc should be added 10297 archive_cmds_need_lc=yes 10298 10299 if test "$enable_shared" = yes && test "$GCC" = yes; then 10300 case $archive_cmds in 10301 *'~'*) 10302 # FIXME: we may have to deal with multi-command sequences. 10303 ;; 10304 '$CC '*) 10305 # Test whether the compiler implicitly links with -lc since on some 10306 # systems, -lgcc has to come before -lc. If gcc already passes -lc 10307 # to ld, don't add -lc before -lgcc. 10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 10309$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 10310if ${lt_cv_archive_cmds_need_lc+:} false; then : 10311 $as_echo_n "(cached) " >&6 10312else 10313 $RM conftest* 10314 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10315 10316 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10317 (eval $ac_compile) 2>&5 10318 ac_status=$? 10319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10320 test $ac_status = 0; } 2>conftest.err; then 10321 soname=conftest 10322 lib=conftest 10323 libobjs=conftest.$ac_objext 10324 deplibs= 10325 wl=$lt_prog_compiler_wl 10326 pic_flag=$lt_prog_compiler_pic 10327 compiler_flags=-v 10328 linker_flags=-v 10329 verstring= 10330 output_objdir=. 10331 libname=conftest 10332 lt_save_allow_undefined_flag=$allow_undefined_flag 10333 allow_undefined_flag= 10334 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10335 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10336 ac_status=$? 10337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10338 test $ac_status = 0; } 10339 then 10340 lt_cv_archive_cmds_need_lc=no 10341 else 10342 lt_cv_archive_cmds_need_lc=yes 10343 fi 10344 allow_undefined_flag=$lt_save_allow_undefined_flag 10345 else 10346 cat conftest.err 1>&5 10347 fi 10348 $RM conftest* 10349 10350fi 10351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10352$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10353 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10354 ;; 10355 esac 10356 fi 10357 ;; 10358esac 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10512$as_echo_n "checking dynamic linker characteristics... " >&6; } 10513 10514if test "$GCC" = yes; then 10515 case $host_os in 10516 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10517 *) lt_awk_arg="/^libraries:/" ;; 10518 esac 10519 case $host_os in 10520 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10521 *) lt_sed_strip_eq="s,=/,/,g" ;; 10522 esac 10523 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10524 case $lt_search_path_spec in 10525 *\;*) 10526 # if the path contains ";" then we assume it to be the separator 10527 # otherwise default to the standard path separator (i.e. ":") - it is 10528 # assumed that no part of a normal pathname contains ";" but that should 10529 # okay in the real world where ";" in dirpaths is itself problematic. 10530 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10531 ;; 10532 *) 10533 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10534 ;; 10535 esac 10536 # Ok, now we have the path, separated by spaces, we can step through it 10537 # and add multilib dir if necessary. 10538 lt_tmp_lt_search_path_spec= 10539 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10540 for lt_sys_path in $lt_search_path_spec; do 10541 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10542 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10543 else 10544 test -d "$lt_sys_path" && \ 10545 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10546 fi 10547 done 10548 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10549BEGIN {RS=" "; FS="/|\n";} { 10550 lt_foo=""; 10551 lt_count=0; 10552 for (lt_i = NF; lt_i > 0; lt_i--) { 10553 if ($lt_i != "" && $lt_i != ".") { 10554 if ($lt_i == "..") { 10555 lt_count++; 10556 } else { 10557 if (lt_count == 0) { 10558 lt_foo="/" $lt_i lt_foo; 10559 } else { 10560 lt_count--; 10561 } 10562 } 10563 } 10564 } 10565 if (lt_foo != "") { lt_freq[lt_foo]++; } 10566 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10567}'` 10568 # AWK program above erroneously prepends '/' to C:/dos/paths 10569 # for these hosts. 10570 case $host_os in 10571 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10572 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10573 esac 10574 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10575else 10576 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10577fi 10578library_names_spec= 10579libname_spec='lib$name' 10580soname_spec= 10581shrext_cmds=".so" 10582postinstall_cmds= 10583postuninstall_cmds= 10584finish_cmds= 10585finish_eval= 10586shlibpath_var= 10587shlibpath_overrides_runpath=unknown 10588version_type=none 10589dynamic_linker="$host_os ld.so" 10590sys_lib_dlsearch_path_spec="/lib /usr/lib" 10591need_lib_prefix=unknown 10592hardcode_into_libs=no 10593 10594# when you set need_version to no, make sure it does not cause -set_version 10595# flags to be left without arguments 10596need_version=unknown 10597 10598case $host_os in 10599aix3*) 10600 version_type=linux # correct to gnu/linux during the next big refactor 10601 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10602 shlibpath_var=LIBPATH 10603 10604 # AIX 3 has no versioning support, so we append a major version to the name. 10605 soname_spec='${libname}${release}${shared_ext}$major' 10606 ;; 10607 10608aix[4-9]*) 10609 version_type=linux # correct to gnu/linux during the next big refactor 10610 need_lib_prefix=no 10611 need_version=no 10612 hardcode_into_libs=yes 10613 if test "$host_cpu" = ia64; then 10614 # AIX 5 supports IA64 10615 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10616 shlibpath_var=LD_LIBRARY_PATH 10617 else 10618 # With GCC up to 2.95.x, collect2 would create an import file 10619 # for dependence libraries. The import file would start with 10620 # the line `#! .'. This would cause the generated library to 10621 # depend on `.', always an invalid library. This was fixed in 10622 # development snapshots of GCC prior to 3.0. 10623 case $host_os in 10624 aix4 | aix4.[01] | aix4.[01].*) 10625 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10626 echo ' yes ' 10627 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10628 : 10629 else 10630 can_build_shared=no 10631 fi 10632 ;; 10633 esac 10634 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10635 # soname into executable. Probably we can add versioning support to 10636 # collect2, so additional links can be useful in future. 10637 if test "$aix_use_runtimelinking" = yes; then 10638 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10639 # instead of lib<name>.a to let people know that these are not 10640 # typical AIX shared libraries. 10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10642 else 10643 # We preserve .a as extension for shared libraries through AIX4.2 10644 # and later when we are not doing run time linking. 10645 library_names_spec='${libname}${release}.a $libname.a' 10646 soname_spec='${libname}${release}${shared_ext}$major' 10647 fi 10648 shlibpath_var=LIBPATH 10649 fi 10650 ;; 10651 10652amigaos*) 10653 case $host_cpu in 10654 powerpc) 10655 # Since July 2007 AmigaOS4 officially supports .so libraries. 10656 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10658 ;; 10659 m68k) 10660 library_names_spec='$libname.ixlibrary $libname.a' 10661 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10662 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' 10663 ;; 10664 esac 10665 ;; 10666 10667beos*) 10668 library_names_spec='${libname}${shared_ext}' 10669 dynamic_linker="$host_os ld.so" 10670 shlibpath_var=LIBRARY_PATH 10671 ;; 10672 10673bsdi[45]*) 10674 version_type=linux # correct to gnu/linux during the next big refactor 10675 need_version=no 10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10677 soname_spec='${libname}${release}${shared_ext}$major' 10678 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10679 shlibpath_var=LD_LIBRARY_PATH 10680 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10681 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10682 # the default ld.so.conf also contains /usr/contrib/lib and 10683 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10684 # libtool to hard-code these into programs 10685 ;; 10686 10687cygwin* | mingw* | pw32* | cegcc*) 10688 version_type=windows 10689 shrext_cmds=".dll" 10690 need_version=no 10691 need_lib_prefix=no 10692 10693 case $GCC,$cc_basename in 10694 yes,*) 10695 # gcc 10696 library_names_spec='$libname.dll.a' 10697 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10698 postinstall_cmds='base_file=`basename \${file}`~ 10699 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10700 dldir=$destdir/`dirname \$dlpath`~ 10701 test -d \$dldir || mkdir -p \$dldir~ 10702 $install_prog $dir/$dlname \$dldir/$dlname~ 10703 chmod a+x \$dldir/$dlname~ 10704 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10705 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10706 fi' 10707 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10708 dlpath=$dir/\$dldll~ 10709 $RM \$dlpath' 10710 shlibpath_overrides_runpath=yes 10711 10712 case $host_os in 10713 cygwin*) 10714 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10715 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10716 10717 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10718 ;; 10719 mingw* | cegcc*) 10720 # MinGW DLLs use traditional 'lib' prefix 10721 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10722 ;; 10723 pw32*) 10724 # pw32 DLLs use 'pw' prefix rather than 'lib' 10725 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10726 ;; 10727 esac 10728 dynamic_linker='Win32 ld.exe' 10729 ;; 10730 10731 *,cl*) 10732 # Native MSVC 10733 libname_spec='$name' 10734 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10735 library_names_spec='${libname}.dll.lib' 10736 10737 case $build_os in 10738 mingw*) 10739 sys_lib_search_path_spec= 10740 lt_save_ifs=$IFS 10741 IFS=';' 10742 for lt_path in $LIB 10743 do 10744 IFS=$lt_save_ifs 10745 # Let DOS variable expansion print the short 8.3 style file name. 10746 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10747 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10748 done 10749 IFS=$lt_save_ifs 10750 # Convert to MSYS style. 10751 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10752 ;; 10753 cygwin*) 10754 # Convert to unix form, then to dos form, then back to unix form 10755 # but this time dos style (no spaces!) so that the unix form looks 10756 # like /cygdrive/c/PROGRA~1:/cygdr... 10757 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10758 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10759 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10760 ;; 10761 *) 10762 sys_lib_search_path_spec="$LIB" 10763 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10764 # It is most probably a Windows format PATH. 10765 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10766 else 10767 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10768 fi 10769 # FIXME: find the short name or the path components, as spaces are 10770 # common. (e.g. "Program Files" -> "PROGRA~1") 10771 ;; 10772 esac 10773 10774 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10775 postinstall_cmds='base_file=`basename \${file}`~ 10776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10777 dldir=$destdir/`dirname \$dlpath`~ 10778 test -d \$dldir || mkdir -p \$dldir~ 10779 $install_prog $dir/$dlname \$dldir/$dlname' 10780 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10781 dlpath=$dir/\$dldll~ 10782 $RM \$dlpath' 10783 shlibpath_overrides_runpath=yes 10784 dynamic_linker='Win32 link.exe' 10785 ;; 10786 10787 *) 10788 # Assume MSVC wrapper 10789 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10790 dynamic_linker='Win32 ld.exe' 10791 ;; 10792 esac 10793 # FIXME: first we should search . and the directory the executable is in 10794 shlibpath_var=PATH 10795 ;; 10796 10797darwin* | rhapsody*) 10798 dynamic_linker="$host_os dyld" 10799 version_type=darwin 10800 need_lib_prefix=no 10801 need_version=no 10802 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10803 soname_spec='${libname}${release}${major}$shared_ext' 10804 shlibpath_overrides_runpath=yes 10805 shlibpath_var=DYLD_LIBRARY_PATH 10806 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10807 10808 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10809 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10810 ;; 10811 10812dgux*) 10813 version_type=linux # correct to gnu/linux during the next big refactor 10814 need_lib_prefix=no 10815 need_version=no 10816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10817 soname_spec='${libname}${release}${shared_ext}$major' 10818 shlibpath_var=LD_LIBRARY_PATH 10819 ;; 10820 10821freebsd* | dragonfly*) 10822 # DragonFly does not have aout. When/if they implement a new 10823 # versioning mechanism, adjust this. 10824 if test -x /usr/bin/objformat; then 10825 objformat=`/usr/bin/objformat` 10826 else 10827 case $host_os in 10828 freebsd[23].*) objformat=aout ;; 10829 *) objformat=elf ;; 10830 esac 10831 fi 10832 version_type=freebsd-$objformat 10833 case $version_type in 10834 freebsd-elf*) 10835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10836 need_version=no 10837 need_lib_prefix=no 10838 ;; 10839 freebsd-*) 10840 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10841 need_version=yes 10842 ;; 10843 esac 10844 shlibpath_var=LD_LIBRARY_PATH 10845 case $host_os in 10846 freebsd2.*) 10847 shlibpath_overrides_runpath=yes 10848 ;; 10849 freebsd3.[01]* | freebsdelf3.[01]*) 10850 shlibpath_overrides_runpath=yes 10851 hardcode_into_libs=yes 10852 ;; 10853 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10854 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10855 shlibpath_overrides_runpath=no 10856 hardcode_into_libs=yes 10857 ;; 10858 *) # from 4.6 on, and DragonFly 10859 shlibpath_overrides_runpath=yes 10860 hardcode_into_libs=yes 10861 ;; 10862 esac 10863 ;; 10864 10865haiku*) 10866 version_type=linux # correct to gnu/linux during the next big refactor 10867 need_lib_prefix=no 10868 need_version=no 10869 dynamic_linker="$host_os runtime_loader" 10870 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10871 soname_spec='${libname}${release}${shared_ext}$major' 10872 shlibpath_var=LIBRARY_PATH 10873 shlibpath_overrides_runpath=yes 10874 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10875 hardcode_into_libs=yes 10876 ;; 10877 10878hpux9* | hpux10* | hpux11*) 10879 # Give a soname corresponding to the major version so that dld.sl refuses to 10880 # link against other versions. 10881 version_type=sunos 10882 need_lib_prefix=no 10883 need_version=no 10884 case $host_cpu in 10885 ia64*) 10886 shrext_cmds='.so' 10887 hardcode_into_libs=yes 10888 dynamic_linker="$host_os dld.so" 10889 shlibpath_var=LD_LIBRARY_PATH 10890 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10892 soname_spec='${libname}${release}${shared_ext}$major' 10893 if test "X$HPUX_IA64_MODE" = X32; then 10894 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10895 else 10896 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10897 fi 10898 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10899 ;; 10900 hppa*64*) 10901 shrext_cmds='.sl' 10902 hardcode_into_libs=yes 10903 dynamic_linker="$host_os dld.sl" 10904 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10905 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10907 soname_spec='${libname}${release}${shared_ext}$major' 10908 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10909 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10910 ;; 10911 *) 10912 shrext_cmds='.sl' 10913 dynamic_linker="$host_os dld.sl" 10914 shlibpath_var=SHLIB_PATH 10915 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10917 soname_spec='${libname}${release}${shared_ext}$major' 10918 ;; 10919 esac 10920 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10921 postinstall_cmds='chmod 555 $lib' 10922 # or fails outright, so override atomically: 10923 install_override_mode=555 10924 ;; 10925 10926interix[3-9]*) 10927 version_type=linux # correct to gnu/linux during the next big refactor 10928 need_lib_prefix=no 10929 need_version=no 10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10931 soname_spec='${libname}${release}${shared_ext}$major' 10932 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10933 shlibpath_var=LD_LIBRARY_PATH 10934 shlibpath_overrides_runpath=no 10935 hardcode_into_libs=yes 10936 ;; 10937 10938irix5* | irix6* | nonstopux*) 10939 case $host_os in 10940 nonstopux*) version_type=nonstopux ;; 10941 *) 10942 if test "$lt_cv_prog_gnu_ld" = yes; then 10943 version_type=linux # correct to gnu/linux during the next big refactor 10944 else 10945 version_type=irix 10946 fi ;; 10947 esac 10948 need_lib_prefix=no 10949 need_version=no 10950 soname_spec='${libname}${release}${shared_ext}$major' 10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10952 case $host_os in 10953 irix5* | nonstopux*) 10954 libsuff= shlibsuff= 10955 ;; 10956 *) 10957 case $LD in # libtool.m4 will add one of these switches to LD 10958 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10959 libsuff= shlibsuff= libmagic=32-bit;; 10960 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10961 libsuff=32 shlibsuff=N32 libmagic=N32;; 10962 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10963 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10964 *) libsuff= shlibsuff= libmagic=never-match;; 10965 esac 10966 ;; 10967 esac 10968 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10969 shlibpath_overrides_runpath=no 10970 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10971 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10972 hardcode_into_libs=yes 10973 ;; 10974 10975# No shared lib support for Linux oldld, aout, or coff. 10976linux*oldld* | linux*aout* | linux*coff*) 10977 dynamic_linker=no 10978 ;; 10979 10980# This must be glibc/ELF. 10981linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10982 version_type=linux # correct to gnu/linux during the next big refactor 10983 need_lib_prefix=no 10984 need_version=no 10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10986 soname_spec='${libname}${release}${shared_ext}$major' 10987 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10988 shlibpath_var=LD_LIBRARY_PATH 10989 shlibpath_overrides_runpath=no 10990 10991 # Some binutils ld are patched to set DT_RUNPATH 10992 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10993 $as_echo_n "(cached) " >&6 10994else 10995 lt_cv_shlibpath_overrides_runpath=no 10996 save_LDFLAGS=$LDFLAGS 10997 save_libdir=$libdir 10998 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10999 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11001/* end confdefs.h. */ 11002 11003int 11004main () 11005{ 11006 11007 ; 11008 return 0; 11009} 11010_ACEOF 11011if ac_fn_c_try_link "$LINENO"; then : 11012 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 11013 lt_cv_shlibpath_overrides_runpath=yes 11014fi 11015fi 11016rm -f core conftest.err conftest.$ac_objext \ 11017 conftest$ac_exeext conftest.$ac_ext 11018 LDFLAGS=$save_LDFLAGS 11019 libdir=$save_libdir 11020 11021fi 11022 11023 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 11024 11025 # This implies no fast_install, which is unacceptable. 11026 # Some rework will be needed to allow for fast_install 11027 # before this can be enabled. 11028 hardcode_into_libs=yes 11029 11030 # Append ld.so.conf contents to the search path 11031 if test -f /etc/ld.so.conf; then 11032 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' ' '` 11033 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 11034 fi 11035 11036 # We used to test for /lib/ld.so.1 and disable shared libraries on 11037 # powerpc, because MkLinux only supported shared libraries with the 11038 # GNU dynamic linker. Since this was broken with cross compilers, 11039 # most powerpc-linux boxes support dynamic linking these days and 11040 # people can always --disable-shared, the test was removed, and we 11041 # assume the GNU/Linux dynamic linker is in use. 11042 dynamic_linker='GNU/Linux ld.so' 11043 ;; 11044 11045netbsdelf*-gnu) 11046 version_type=linux 11047 need_lib_prefix=no 11048 need_version=no 11049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11050 soname_spec='${libname}${release}${shared_ext}$major' 11051 shlibpath_var=LD_LIBRARY_PATH 11052 shlibpath_overrides_runpath=no 11053 hardcode_into_libs=yes 11054 dynamic_linker='NetBSD ld.elf_so' 11055 ;; 11056 11057netbsd*) 11058 version_type=sunos 11059 need_lib_prefix=no 11060 need_version=no 11061 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11063 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11064 dynamic_linker='NetBSD (a.out) ld.so' 11065 else 11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 11067 soname_spec='${libname}${release}${shared_ext}$major' 11068 dynamic_linker='NetBSD ld.elf_so' 11069 fi 11070 shlibpath_var=LD_LIBRARY_PATH 11071 shlibpath_overrides_runpath=yes 11072 hardcode_into_libs=yes 11073 ;; 11074 11075newsos6) 11076 version_type=linux # correct to gnu/linux during the next big refactor 11077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11078 shlibpath_var=LD_LIBRARY_PATH 11079 shlibpath_overrides_runpath=yes 11080 ;; 11081 11082*nto* | *qnx*) 11083 version_type=qnx 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=no 11090 hardcode_into_libs=yes 11091 dynamic_linker='ldqnx.so' 11092 ;; 11093 11094openbsd*) 11095 version_type=sunos 11096 sys_lib_dlsearch_path_spec="/usr/lib" 11097 need_lib_prefix=no 11098 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 11099 case $host_os in 11100 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 11101 *) need_version=no ;; 11102 esac 11103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11104 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 11105 shlibpath_var=LD_LIBRARY_PATH 11106 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 11107 case $host_os in 11108 openbsd2.[89] | openbsd2.[89].*) 11109 shlibpath_overrides_runpath=no 11110 ;; 11111 *) 11112 shlibpath_overrides_runpath=yes 11113 ;; 11114 esac 11115 else 11116 shlibpath_overrides_runpath=yes 11117 fi 11118 ;; 11119 11120os2*) 11121 libname_spec='$name' 11122 shrext_cmds=".dll" 11123 need_lib_prefix=no 11124 library_names_spec='$libname${shared_ext} $libname.a' 11125 dynamic_linker='OS/2 ld.exe' 11126 shlibpath_var=LIBPATH 11127 ;; 11128 11129osf3* | osf4* | osf5*) 11130 version_type=osf 11131 need_lib_prefix=no 11132 need_version=no 11133 soname_spec='${libname}${release}${shared_ext}$major' 11134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11135 shlibpath_var=LD_LIBRARY_PATH 11136 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 11137 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 11138 ;; 11139 11140rdos*) 11141 dynamic_linker=no 11142 ;; 11143 11144solaris*) 11145 version_type=linux # correct to gnu/linux during the next big refactor 11146 need_lib_prefix=no 11147 need_version=no 11148 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11149 soname_spec='${libname}${release}${shared_ext}$major' 11150 shlibpath_var=LD_LIBRARY_PATH 11151 shlibpath_overrides_runpath=yes 11152 hardcode_into_libs=yes 11153 # ldd complains unless libraries are executable 11154 postinstall_cmds='chmod +x $lib' 11155 ;; 11156 11157sunos4*) 11158 version_type=sunos 11159 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 11160 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 11161 shlibpath_var=LD_LIBRARY_PATH 11162 shlibpath_overrides_runpath=yes 11163 if test "$with_gnu_ld" = yes; then 11164 need_lib_prefix=no 11165 fi 11166 need_version=yes 11167 ;; 11168 11169sysv4 | sysv4.3*) 11170 version_type=linux # correct to gnu/linux during the next big refactor 11171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11172 soname_spec='${libname}${release}${shared_ext}$major' 11173 shlibpath_var=LD_LIBRARY_PATH 11174 case $host_vendor in 11175 sni) 11176 shlibpath_overrides_runpath=no 11177 need_lib_prefix=no 11178 runpath_var=LD_RUN_PATH 11179 ;; 11180 siemens) 11181 need_lib_prefix=no 11182 ;; 11183 motorola) 11184 need_lib_prefix=no 11185 need_version=no 11186 shlibpath_overrides_runpath=no 11187 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 11188 ;; 11189 esac 11190 ;; 11191 11192sysv4*MP*) 11193 if test -d /usr/nec ;then 11194 version_type=linux # correct to gnu/linux during the next big refactor 11195 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 11196 soname_spec='$libname${shared_ext}.$major' 11197 shlibpath_var=LD_LIBRARY_PATH 11198 fi 11199 ;; 11200 11201sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 11202 version_type=freebsd-elf 11203 need_lib_prefix=no 11204 need_version=no 11205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 11206 soname_spec='${libname}${release}${shared_ext}$major' 11207 shlibpath_var=LD_LIBRARY_PATH 11208 shlibpath_overrides_runpath=yes 11209 hardcode_into_libs=yes 11210 if test "$with_gnu_ld" = yes; then 11211 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 11212 else 11213 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 11214 case $host_os in 11215 sco3.2v5*) 11216 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 11217 ;; 11218 esac 11219 fi 11220 sys_lib_dlsearch_path_spec='/usr/lib' 11221 ;; 11222 11223tpf*) 11224 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 11225 version_type=linux # correct to gnu/linux during the next big refactor 11226 need_lib_prefix=no 11227 need_version=no 11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11229 shlibpath_var=LD_LIBRARY_PATH 11230 shlibpath_overrides_runpath=no 11231 hardcode_into_libs=yes 11232 ;; 11233 11234uts4*) 11235 version_type=linux # correct to gnu/linux during the next big refactor 11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 11237 soname_spec='${libname}${release}${shared_ext}$major' 11238 shlibpath_var=LD_LIBRARY_PATH 11239 ;; 11240 11241*) 11242 dynamic_linker=no 11243 ;; 11244esac 11245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 11246$as_echo "$dynamic_linker" >&6; } 11247test "$dynamic_linker" = no && can_build_shared=no 11248 11249variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 11250if test "$GCC" = yes; then 11251 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 11252fi 11253 11254if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 11255 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 11256fi 11257if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 11258 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 11259fi 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11353$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11354hardcode_action= 11355if test -n "$hardcode_libdir_flag_spec" || 11356 test -n "$runpath_var" || 11357 test "X$hardcode_automatic" = "Xyes" ; then 11358 11359 # We can hardcode non-existent directories. 11360 if test "$hardcode_direct" != no && 11361 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11362 # have to relink, otherwise we might link with an installed library 11363 # when we should be linking with a yet-to-be-installed one 11364 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11365 test "$hardcode_minus_L" != no; then 11366 # Linking always hardcodes the temporary library directory. 11367 hardcode_action=relink 11368 else 11369 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11370 hardcode_action=immediate 11371 fi 11372else 11373 # We cannot hardcode anything, or else we can only hardcode existing 11374 # directories. 11375 hardcode_action=unsupported 11376fi 11377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11378$as_echo "$hardcode_action" >&6; } 11379 11380if test "$hardcode_action" = relink || 11381 test "$inherit_rpath" = yes; then 11382 # Fast installation is not supported 11383 enable_fast_install=no 11384elif test "$shlibpath_overrides_runpath" = yes || 11385 test "$enable_shared" = no; then 11386 # Fast installation is not necessary 11387 enable_fast_install=needless 11388fi 11389 11390 11391 11392 11393 11394 11395 if test "x$enable_dlopen" != xyes; then 11396 enable_dlopen=unknown 11397 enable_dlopen_self=unknown 11398 enable_dlopen_self_static=unknown 11399else 11400 lt_cv_dlopen=no 11401 lt_cv_dlopen_libs= 11402 11403 case $host_os in 11404 beos*) 11405 lt_cv_dlopen="load_add_on" 11406 lt_cv_dlopen_libs= 11407 lt_cv_dlopen_self=yes 11408 ;; 11409 11410 mingw* | pw32* | cegcc*) 11411 lt_cv_dlopen="LoadLibrary" 11412 lt_cv_dlopen_libs= 11413 ;; 11414 11415 cygwin*) 11416 lt_cv_dlopen="dlopen" 11417 lt_cv_dlopen_libs= 11418 ;; 11419 11420 darwin*) 11421 # if libdl is installed we need to link against it 11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11423$as_echo_n "checking for dlopen in -ldl... " >&6; } 11424if ${ac_cv_lib_dl_dlopen+:} false; then : 11425 $as_echo_n "(cached) " >&6 11426else 11427 ac_check_lib_save_LIBS=$LIBS 11428LIBS="-ldl $LIBS" 11429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11430/* end confdefs.h. */ 11431 11432/* Override any GCC internal prototype to avoid an error. 11433 Use char because int might match the return type of a GCC 11434 builtin and then its argument prototype would still apply. */ 11435#ifdef __cplusplus 11436extern "C" 11437#endif 11438char dlopen (); 11439int 11440main () 11441{ 11442return dlopen (); 11443 ; 11444 return 0; 11445} 11446_ACEOF 11447if ac_fn_c_try_link "$LINENO"; then : 11448 ac_cv_lib_dl_dlopen=yes 11449else 11450 ac_cv_lib_dl_dlopen=no 11451fi 11452rm -f core conftest.err conftest.$ac_objext \ 11453 conftest$ac_exeext conftest.$ac_ext 11454LIBS=$ac_check_lib_save_LIBS 11455fi 11456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11457$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11458if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11459 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11460else 11461 11462 lt_cv_dlopen="dyld" 11463 lt_cv_dlopen_libs= 11464 lt_cv_dlopen_self=yes 11465 11466fi 11467 11468 ;; 11469 11470 *) 11471 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11472if test "x$ac_cv_func_shl_load" = xyes; then : 11473 lt_cv_dlopen="shl_load" 11474else 11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11476$as_echo_n "checking for shl_load in -ldld... " >&6; } 11477if ${ac_cv_lib_dld_shl_load+:} false; then : 11478 $as_echo_n "(cached) " >&6 11479else 11480 ac_check_lib_save_LIBS=$LIBS 11481LIBS="-ldld $LIBS" 11482cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11483/* end confdefs.h. */ 11484 11485/* Override any GCC internal prototype to avoid an error. 11486 Use char because int might match the return type of a GCC 11487 builtin and then its argument prototype would still apply. */ 11488#ifdef __cplusplus 11489extern "C" 11490#endif 11491char shl_load (); 11492int 11493main () 11494{ 11495return shl_load (); 11496 ; 11497 return 0; 11498} 11499_ACEOF 11500if ac_fn_c_try_link "$LINENO"; then : 11501 ac_cv_lib_dld_shl_load=yes 11502else 11503 ac_cv_lib_dld_shl_load=no 11504fi 11505rm -f core conftest.err conftest.$ac_objext \ 11506 conftest$ac_exeext conftest.$ac_ext 11507LIBS=$ac_check_lib_save_LIBS 11508fi 11509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11510$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11511if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11512 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11513else 11514 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11515if test "x$ac_cv_func_dlopen" = xyes; then : 11516 lt_cv_dlopen="dlopen" 11517else 11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11519$as_echo_n "checking for dlopen in -ldl... " >&6; } 11520if ${ac_cv_lib_dl_dlopen+:} false; then : 11521 $as_echo_n "(cached) " >&6 11522else 11523 ac_check_lib_save_LIBS=$LIBS 11524LIBS="-ldl $LIBS" 11525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11526/* end confdefs.h. */ 11527 11528/* Override any GCC internal prototype to avoid an error. 11529 Use char because int might match the return type of a GCC 11530 builtin and then its argument prototype would still apply. */ 11531#ifdef __cplusplus 11532extern "C" 11533#endif 11534char dlopen (); 11535int 11536main () 11537{ 11538return dlopen (); 11539 ; 11540 return 0; 11541} 11542_ACEOF 11543if ac_fn_c_try_link "$LINENO"; then : 11544 ac_cv_lib_dl_dlopen=yes 11545else 11546 ac_cv_lib_dl_dlopen=no 11547fi 11548rm -f core conftest.err conftest.$ac_objext \ 11549 conftest$ac_exeext conftest.$ac_ext 11550LIBS=$ac_check_lib_save_LIBS 11551fi 11552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11553$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11554if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11555 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11556else 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11558$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11559if ${ac_cv_lib_svld_dlopen+:} false; then : 11560 $as_echo_n "(cached) " >&6 11561else 11562 ac_check_lib_save_LIBS=$LIBS 11563LIBS="-lsvld $LIBS" 11564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11565/* end confdefs.h. */ 11566 11567/* Override any GCC internal prototype to avoid an error. 11568 Use char because int might match the return type of a GCC 11569 builtin and then its argument prototype would still apply. */ 11570#ifdef __cplusplus 11571extern "C" 11572#endif 11573char dlopen (); 11574int 11575main () 11576{ 11577return dlopen (); 11578 ; 11579 return 0; 11580} 11581_ACEOF 11582if ac_fn_c_try_link "$LINENO"; then : 11583 ac_cv_lib_svld_dlopen=yes 11584else 11585 ac_cv_lib_svld_dlopen=no 11586fi 11587rm -f core conftest.err conftest.$ac_objext \ 11588 conftest$ac_exeext conftest.$ac_ext 11589LIBS=$ac_check_lib_save_LIBS 11590fi 11591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11592$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11593if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11594 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11595else 11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11597$as_echo_n "checking for dld_link in -ldld... " >&6; } 11598if ${ac_cv_lib_dld_dld_link+:} false; then : 11599 $as_echo_n "(cached) " >&6 11600else 11601 ac_check_lib_save_LIBS=$LIBS 11602LIBS="-ldld $LIBS" 11603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11604/* end confdefs.h. */ 11605 11606/* Override any GCC internal prototype to avoid an error. 11607 Use char because int might match the return type of a GCC 11608 builtin and then its argument prototype would still apply. */ 11609#ifdef __cplusplus 11610extern "C" 11611#endif 11612char dld_link (); 11613int 11614main () 11615{ 11616return dld_link (); 11617 ; 11618 return 0; 11619} 11620_ACEOF 11621if ac_fn_c_try_link "$LINENO"; then : 11622 ac_cv_lib_dld_dld_link=yes 11623else 11624 ac_cv_lib_dld_dld_link=no 11625fi 11626rm -f core conftest.err conftest.$ac_objext \ 11627 conftest$ac_exeext conftest.$ac_ext 11628LIBS=$ac_check_lib_save_LIBS 11629fi 11630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11631$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11632if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11633 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11634fi 11635 11636 11637fi 11638 11639 11640fi 11641 11642 11643fi 11644 11645 11646fi 11647 11648 11649fi 11650 11651 ;; 11652 esac 11653 11654 if test "x$lt_cv_dlopen" != xno; then 11655 enable_dlopen=yes 11656 else 11657 enable_dlopen=no 11658 fi 11659 11660 case $lt_cv_dlopen in 11661 dlopen) 11662 save_CPPFLAGS="$CPPFLAGS" 11663 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11664 11665 save_LDFLAGS="$LDFLAGS" 11666 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11667 11668 save_LIBS="$LIBS" 11669 LIBS="$lt_cv_dlopen_libs $LIBS" 11670 11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11672$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11673if ${lt_cv_dlopen_self+:} false; then : 11674 $as_echo_n "(cached) " >&6 11675else 11676 if test "$cross_compiling" = yes; then : 11677 lt_cv_dlopen_self=cross 11678else 11679 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11680 lt_status=$lt_dlunknown 11681 cat > conftest.$ac_ext <<_LT_EOF 11682#line $LINENO "configure" 11683#include "confdefs.h" 11684 11685#if HAVE_DLFCN_H 11686#include <dlfcn.h> 11687#endif 11688 11689#include <stdio.h> 11690 11691#ifdef RTLD_GLOBAL 11692# define LT_DLGLOBAL RTLD_GLOBAL 11693#else 11694# ifdef DL_GLOBAL 11695# define LT_DLGLOBAL DL_GLOBAL 11696# else 11697# define LT_DLGLOBAL 0 11698# endif 11699#endif 11700 11701/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11702 find out it does not work in some platform. */ 11703#ifndef LT_DLLAZY_OR_NOW 11704# ifdef RTLD_LAZY 11705# define LT_DLLAZY_OR_NOW RTLD_LAZY 11706# else 11707# ifdef DL_LAZY 11708# define LT_DLLAZY_OR_NOW DL_LAZY 11709# else 11710# ifdef RTLD_NOW 11711# define LT_DLLAZY_OR_NOW RTLD_NOW 11712# else 11713# ifdef DL_NOW 11714# define LT_DLLAZY_OR_NOW DL_NOW 11715# else 11716# define LT_DLLAZY_OR_NOW 0 11717# endif 11718# endif 11719# endif 11720# endif 11721#endif 11722 11723/* When -fvisbility=hidden is used, assume the code has been annotated 11724 correspondingly for the symbols needed. */ 11725#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11726int fnord () __attribute__((visibility("default"))); 11727#endif 11728 11729int fnord () { return 42; } 11730int main () 11731{ 11732 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11733 int status = $lt_dlunknown; 11734 11735 if (self) 11736 { 11737 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11738 else 11739 { 11740 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11741 else puts (dlerror ()); 11742 } 11743 /* dlclose (self); */ 11744 } 11745 else 11746 puts (dlerror ()); 11747 11748 return status; 11749} 11750_LT_EOF 11751 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11752 (eval $ac_link) 2>&5 11753 ac_status=$? 11754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11755 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11756 (./conftest; exit; ) >&5 2>/dev/null 11757 lt_status=$? 11758 case x$lt_status in 11759 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11760 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11761 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11762 esac 11763 else : 11764 # compilation failed 11765 lt_cv_dlopen_self=no 11766 fi 11767fi 11768rm -fr conftest* 11769 11770 11771fi 11772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11773$as_echo "$lt_cv_dlopen_self" >&6; } 11774 11775 if test "x$lt_cv_dlopen_self" = xyes; then 11776 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11778$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11779if ${lt_cv_dlopen_self_static+:} false; then : 11780 $as_echo_n "(cached) " >&6 11781else 11782 if test "$cross_compiling" = yes; then : 11783 lt_cv_dlopen_self_static=cross 11784else 11785 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11786 lt_status=$lt_dlunknown 11787 cat > conftest.$ac_ext <<_LT_EOF 11788#line $LINENO "configure" 11789#include "confdefs.h" 11790 11791#if HAVE_DLFCN_H 11792#include <dlfcn.h> 11793#endif 11794 11795#include <stdio.h> 11796 11797#ifdef RTLD_GLOBAL 11798# define LT_DLGLOBAL RTLD_GLOBAL 11799#else 11800# ifdef DL_GLOBAL 11801# define LT_DLGLOBAL DL_GLOBAL 11802# else 11803# define LT_DLGLOBAL 0 11804# endif 11805#endif 11806 11807/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11808 find out it does not work in some platform. */ 11809#ifndef LT_DLLAZY_OR_NOW 11810# ifdef RTLD_LAZY 11811# define LT_DLLAZY_OR_NOW RTLD_LAZY 11812# else 11813# ifdef DL_LAZY 11814# define LT_DLLAZY_OR_NOW DL_LAZY 11815# else 11816# ifdef RTLD_NOW 11817# define LT_DLLAZY_OR_NOW RTLD_NOW 11818# else 11819# ifdef DL_NOW 11820# define LT_DLLAZY_OR_NOW DL_NOW 11821# else 11822# define LT_DLLAZY_OR_NOW 0 11823# endif 11824# endif 11825# endif 11826# endif 11827#endif 11828 11829/* When -fvisbility=hidden is used, assume the code has been annotated 11830 correspondingly for the symbols needed. */ 11831#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11832int fnord () __attribute__((visibility("default"))); 11833#endif 11834 11835int fnord () { return 42; } 11836int main () 11837{ 11838 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11839 int status = $lt_dlunknown; 11840 11841 if (self) 11842 { 11843 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11844 else 11845 { 11846 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11847 else puts (dlerror ()); 11848 } 11849 /* dlclose (self); */ 11850 } 11851 else 11852 puts (dlerror ()); 11853 11854 return status; 11855} 11856_LT_EOF 11857 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11858 (eval $ac_link) 2>&5 11859 ac_status=$? 11860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11861 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11862 (./conftest; exit; ) >&5 2>/dev/null 11863 lt_status=$? 11864 case x$lt_status in 11865 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11866 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11867 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11868 esac 11869 else : 11870 # compilation failed 11871 lt_cv_dlopen_self_static=no 11872 fi 11873fi 11874rm -fr conftest* 11875 11876 11877fi 11878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11879$as_echo "$lt_cv_dlopen_self_static" >&6; } 11880 fi 11881 11882 CPPFLAGS="$save_CPPFLAGS" 11883 LDFLAGS="$save_LDFLAGS" 11884 LIBS="$save_LIBS" 11885 ;; 11886 esac 11887 11888 case $lt_cv_dlopen_self in 11889 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11890 *) enable_dlopen_self=unknown ;; 11891 esac 11892 11893 case $lt_cv_dlopen_self_static in 11894 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11895 *) enable_dlopen_self_static=unknown ;; 11896 esac 11897fi 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915striplib= 11916old_striplib= 11917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11918$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11919if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11920 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11921 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11923$as_echo "yes" >&6; } 11924else 11925# FIXME - insert some real tests, host_os isn't really good enough 11926 case $host_os in 11927 darwin*) 11928 if test -n "$STRIP" ; then 11929 striplib="$STRIP -x" 11930 old_striplib="$STRIP -S" 11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11932$as_echo "yes" >&6; } 11933 else 11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11935$as_echo "no" >&6; } 11936 fi 11937 ;; 11938 *) 11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11940$as_echo "no" >&6; } 11941 ;; 11942 esac 11943fi 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 # Report which library types will actually be built 11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11958$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11960$as_echo "$can_build_shared" >&6; } 11961 11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11963$as_echo_n "checking whether to build shared libraries... " >&6; } 11964 test "$can_build_shared" = "no" && enable_shared=no 11965 11966 # On AIX, shared libraries and static libraries use the same namespace, and 11967 # are all built from PIC. 11968 case $host_os in 11969 aix3*) 11970 test "$enable_shared" = yes && enable_static=no 11971 if test -n "$RANLIB"; then 11972 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11973 postinstall_cmds='$RANLIB $lib' 11974 fi 11975 ;; 11976 11977 aix[4-9]*) 11978 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11979 test "$enable_shared" = yes && enable_static=no 11980 fi 11981 ;; 11982 esac 11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11984$as_echo "$enable_shared" >&6; } 11985 11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11987$as_echo_n "checking whether to build static libraries... " >&6; } 11988 # Make sure either enable_shared or enable_static is yes. 11989 test "$enable_shared" = yes || enable_static=yes 11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11991$as_echo "$enable_static" >&6; } 11992 11993 11994 11995 11996fi 11997ac_ext=c 11998ac_cpp='$CPP $CPPFLAGS' 11999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 12000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 12001ac_compiler_gnu=$ac_cv_c_compiler_gnu 12002 12003CC="$lt_save_CC" 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 ac_config_commands="$ac_config_commands libtool" 12020 12021 12022 12023 12024# Only expand once: 12025 12026 12027 12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 12029$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 12030if ${ac_cv_c_bigendian+:} false; then : 12031 $as_echo_n "(cached) " >&6 12032else 12033 ac_cv_c_bigendian=unknown 12034 # See if we're dealing with a universal compiler. 12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12036/* end confdefs.h. */ 12037#ifndef __APPLE_CC__ 12038 not a universal capable compiler 12039 #endif 12040 typedef int dummy; 12041 12042_ACEOF 12043if ac_fn_c_try_compile "$LINENO"; then : 12044 12045 # Check for potential -arch flags. It is not universal unless 12046 # there are at least two -arch flags with different values. 12047 ac_arch= 12048 ac_prev= 12049 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 12050 if test -n "$ac_prev"; then 12051 case $ac_word in 12052 i?86 | x86_64 | ppc | ppc64) 12053 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 12054 ac_arch=$ac_word 12055 else 12056 ac_cv_c_bigendian=universal 12057 break 12058 fi 12059 ;; 12060 esac 12061 ac_prev= 12062 elif test "x$ac_word" = "x-arch"; then 12063 ac_prev=arch 12064 fi 12065 done 12066fi 12067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12068 if test $ac_cv_c_bigendian = unknown; then 12069 # See if sys/param.h defines the BYTE_ORDER macro. 12070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12071/* end confdefs.h. */ 12072#include <sys/types.h> 12073 #include <sys/param.h> 12074 12075int 12076main () 12077{ 12078#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 12079 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 12080 && LITTLE_ENDIAN) 12081 bogus endian macros 12082 #endif 12083 12084 ; 12085 return 0; 12086} 12087_ACEOF 12088if ac_fn_c_try_compile "$LINENO"; then : 12089 # It does; now see whether it defined to BIG_ENDIAN or not. 12090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12091/* end confdefs.h. */ 12092#include <sys/types.h> 12093 #include <sys/param.h> 12094 12095int 12096main () 12097{ 12098#if BYTE_ORDER != BIG_ENDIAN 12099 not big endian 12100 #endif 12101 12102 ; 12103 return 0; 12104} 12105_ACEOF 12106if ac_fn_c_try_compile "$LINENO"; then : 12107 ac_cv_c_bigendian=yes 12108else 12109 ac_cv_c_bigendian=no 12110fi 12111rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12112fi 12113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12114 fi 12115 if test $ac_cv_c_bigendian = unknown; then 12116 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12118/* end confdefs.h. */ 12119#include <limits.h> 12120 12121int 12122main () 12123{ 12124#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 12125 bogus endian macros 12126 #endif 12127 12128 ; 12129 return 0; 12130} 12131_ACEOF 12132if ac_fn_c_try_compile "$LINENO"; then : 12133 # It does; now see whether it defined to _BIG_ENDIAN or not. 12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12135/* end confdefs.h. */ 12136#include <limits.h> 12137 12138int 12139main () 12140{ 12141#ifndef _BIG_ENDIAN 12142 not big endian 12143 #endif 12144 12145 ; 12146 return 0; 12147} 12148_ACEOF 12149if ac_fn_c_try_compile "$LINENO"; then : 12150 ac_cv_c_bigendian=yes 12151else 12152 ac_cv_c_bigendian=no 12153fi 12154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12155fi 12156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12157 fi 12158 if test $ac_cv_c_bigendian = unknown; then 12159 # Compile a test program. 12160 if test "$cross_compiling" = yes; then : 12161 # Try to guess by grepping values from an object file. 12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12163/* end confdefs.h. */ 12164short int ascii_mm[] = 12165 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 12166 short int ascii_ii[] = 12167 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 12168 int use_ascii (int i) { 12169 return ascii_mm[i] + ascii_ii[i]; 12170 } 12171 short int ebcdic_ii[] = 12172 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 12173 short int ebcdic_mm[] = 12174 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 12175 int use_ebcdic (int i) { 12176 return ebcdic_mm[i] + ebcdic_ii[i]; 12177 } 12178 extern int foo; 12179 12180int 12181main () 12182{ 12183return use_ascii (foo) == use_ebcdic (foo); 12184 ; 12185 return 0; 12186} 12187_ACEOF 12188if ac_fn_c_try_compile "$LINENO"; then : 12189 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 12190 ac_cv_c_bigendian=yes 12191 fi 12192 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 12193 if test "$ac_cv_c_bigendian" = unknown; then 12194 ac_cv_c_bigendian=no 12195 else 12196 # finding both strings is unlikely to happen, but who knows? 12197 ac_cv_c_bigendian=unknown 12198 fi 12199 fi 12200fi 12201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12202else 12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12204/* end confdefs.h. */ 12205$ac_includes_default 12206int 12207main () 12208{ 12209 12210 /* Are we little or big endian? From Harbison&Steele. */ 12211 union 12212 { 12213 long int l; 12214 char c[sizeof (long int)]; 12215 } u; 12216 u.l = 1; 12217 return u.c[sizeof (long int) - 1] == 1; 12218 12219 ; 12220 return 0; 12221} 12222_ACEOF 12223if ac_fn_c_try_run "$LINENO"; then : 12224 ac_cv_c_bigendian=no 12225else 12226 ac_cv_c_bigendian=yes 12227fi 12228rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 12229 conftest.$ac_objext conftest.beam conftest.$ac_ext 12230fi 12231 12232 fi 12233fi 12234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 12235$as_echo "$ac_cv_c_bigendian" >&6; } 12236 case $ac_cv_c_bigendian in #( 12237 yes) 12238 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 12239;; #( 12240 no) 12241 ;; #( 12242 universal) 12243 12244$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 12245 12246 ;; #( 12247 *) 12248 as_fn_error $? "unknown endianness 12249 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 12250 esac 12251 12252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 12253$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 12254if ${ac_cv_c_const+:} false; then : 12255 $as_echo_n "(cached) " >&6 12256else 12257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12258/* end confdefs.h. */ 12259 12260int 12261main () 12262{ 12263 12264#ifndef __cplusplus 12265 /* Ultrix mips cc rejects this sort of thing. */ 12266 typedef int charset[2]; 12267 const charset cs = { 0, 0 }; 12268 /* SunOS 4.1.1 cc rejects this. */ 12269 char const *const *pcpcc; 12270 char **ppc; 12271 /* NEC SVR4.0.2 mips cc rejects this. */ 12272 struct point {int x, y;}; 12273 static struct point const zero = {0,0}; 12274 /* AIX XL C 1.02.0.0 rejects this. 12275 It does not let you subtract one const X* pointer from another in 12276 an arm of an if-expression whose if-part is not a constant 12277 expression */ 12278 const char *g = "string"; 12279 pcpcc = &g + (g ? g-g : 0); 12280 /* HPUX 7.0 cc rejects these. */ 12281 ++pcpcc; 12282 ppc = (char**) pcpcc; 12283 pcpcc = (char const *const *) ppc; 12284 { /* SCO 3.2v4 cc rejects this sort of thing. */ 12285 char tx; 12286 char *t = &tx; 12287 char const *s = 0 ? (char *) 0 : (char const *) 0; 12288 12289 *t++ = 0; 12290 if (s) return 0; 12291 } 12292 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 12293 int x[] = {25, 17}; 12294 const int *foo = &x[0]; 12295 ++foo; 12296 } 12297 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 12298 typedef const int *iptr; 12299 iptr p = 0; 12300 ++p; 12301 } 12302 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 12303 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 12304 struct s { int j; const int *ap[3]; } bx; 12305 struct s *b = &bx; b->j = 5; 12306 } 12307 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 12308 const int foo = 10; 12309 if (!foo) return 0; 12310 } 12311 return !cs[0] && !zero.x; 12312#endif 12313 12314 ; 12315 return 0; 12316} 12317_ACEOF 12318if ac_fn_c_try_compile "$LINENO"; then : 12319 ac_cv_c_const=yes 12320else 12321 ac_cv_c_const=no 12322fi 12323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12324fi 12325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 12326$as_echo "$ac_cv_c_const" >&6; } 12327if test $ac_cv_c_const = no; then 12328 12329$as_echo "#define const /**/" >>confdefs.h 12330 12331fi 12332 12333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 12334$as_echo_n "checking for inline... " >&6; } 12335if ${ac_cv_c_inline+:} false; then : 12336 $as_echo_n "(cached) " >&6 12337else 12338 ac_cv_c_inline=no 12339for ac_kw in inline __inline__ __inline; do 12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12341/* end confdefs.h. */ 12342#ifndef __cplusplus 12343typedef int foo_t; 12344static $ac_kw foo_t static_foo () {return 0; } 12345$ac_kw foo_t foo () {return 0; } 12346#endif 12347 12348_ACEOF 12349if ac_fn_c_try_compile "$LINENO"; then : 12350 ac_cv_c_inline=$ac_kw 12351fi 12352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12353 test "$ac_cv_c_inline" != no && break 12354done 12355 12356fi 12357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 12358$as_echo "$ac_cv_c_inline" >&6; } 12359 12360case $ac_cv_c_inline in 12361 inline | yes) ;; 12362 *) 12363 case $ac_cv_c_inline in 12364 no) ac_val=;; 12365 *) ac_val=$ac_cv_c_inline;; 12366 esac 12367 cat >>confdefs.h <<_ACEOF 12368#ifndef __cplusplus 12369#define inline $ac_val 12370#endif 12371_ACEOF 12372 ;; 12373esac 12374 12375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 12376$as_echo_n "checking for C/C++ restrict keyword... " >&6; } 12377if ${ac_cv_c_restrict+:} false; then : 12378 $as_echo_n "(cached) " >&6 12379else 12380 ac_cv_c_restrict=no 12381 # The order here caters to the fact that C++ does not require restrict. 12382 for ac_kw in __restrict __restrict__ _Restrict restrict; do 12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12384/* end confdefs.h. */ 12385typedef int * int_ptr; 12386 int foo (int_ptr $ac_kw ip) { 12387 return ip[0]; 12388 } 12389int 12390main () 12391{ 12392int s[1]; 12393 int * $ac_kw t = s; 12394 t[0] = 0; 12395 return foo(t) 12396 ; 12397 return 0; 12398} 12399_ACEOF 12400if ac_fn_c_try_compile "$LINENO"; then : 12401 ac_cv_c_restrict=$ac_kw 12402fi 12403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12404 test "$ac_cv_c_restrict" != no && break 12405 done 12406 12407fi 12408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 12409$as_echo "$ac_cv_c_restrict" >&6; } 12410 12411 case $ac_cv_c_restrict in 12412 restrict) ;; 12413 no) $as_echo "#define restrict /**/" >>confdefs.h 12414 ;; 12415 *) cat >>confdefs.h <<_ACEOF 12416#define restrict $ac_cv_c_restrict 12417_ACEOF 12418 ;; 12419 esac 12420 12421 12422 12423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variable-size arrays" >&5 12424$as_echo_n "checking for C99 variable-size arrays... " >&6; } 12425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12426/* end confdefs.h. */ 12427 12428int 12429main () 12430{ 12431 12432int foo; 12433foo = 10; 12434int array[foo]; 12435 12436 ; 12437 return 0; 12438} 12439_ACEOF 12440if ac_fn_c_try_compile "$LINENO"; then : 12441 has_var_arrays=yes; 12442$as_echo "#define VAR_ARRAYS /**/" >>confdefs.h 12443 12444 12445else 12446 has_var_arrays=no 12447 12448fi 12449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_var_arrays" >&5 12451$as_echo "$has_var_arrays" >&6; } 12452 12453for ac_header in alloca.h getopt.h 12454do : 12455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12456ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12457if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12458 cat >>confdefs.h <<_ACEOF 12459#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12460_ACEOF 12461 12462fi 12463 12464done 12465 12466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 12467$as_echo_n "checking for alloca... " >&6; } 12468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12469/* end confdefs.h. */ 12470 12471#ifdef HAVE_ALLOCA_H 12472# include <alloca.h> 12473#endif 12474#include <stdlib.h> 12475 12476int 12477main () 12478{ 12479 12480int foo=10; 12481int *array = alloca(foo); 12482 12483 ; 12484 return 0; 12485} 12486_ACEOF 12487if ac_fn_c_try_compile "$LINENO"; then : 12488 12489has_alloca=yes; 12490if test x$has_var_arrays = "xno" ; then 12491 12492$as_echo "#define USE_ALLOCA /**/" >>confdefs.h 12493 12494fi 12495 12496else 12497 has_alloca=no 12498 12499fi 12500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_alloca" >&5 12502$as_echo "$has_alloca" >&6; } 12503 12504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE in current arch/CFLAGS" >&5 12505$as_echo_n "checking for SSE in current arch/CFLAGS... " >&6; } 12506cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12507/* end confdefs.h. */ 12508 12509 12510#include <xmmintrin.h> 12511__m128 testfunc(float *a, float *b) { 12512 return _mm_add_ps(_mm_loadu_ps(a), _mm_loadu_ps(b)); 12513} 12514 12515int 12516main () 12517{ 12518 12519 ; 12520 return 0; 12521} 12522_ACEOF 12523if ac_fn_c_try_link "$LINENO"; then : 12524 12525has_sse=yes 12526 12527else 12528 12529has_sse=no 12530 12531 12532fi 12533rm -f core conftest.err conftest.$ac_objext \ 12534 conftest$ac_exeext conftest.$ac_ext 12535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_sse" >&5 12536$as_echo "$has_sse" >&6; } 12537 12538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSE2 in current arch/CFLAGS" >&5 12539$as_echo_n "checking for SSE2 in current arch/CFLAGS... " >&6; } 12540cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12541/* end confdefs.h. */ 12542 12543 12544#include <emmintrin.h> 12545__m128d testfunc(double *a, double *b) { 12546 return _mm_add_pd(_mm_loadu_pd(a), _mm_loadu_pd(b)); 12547} 12548 12549int 12550main () 12551{ 12552 12553 ; 12554 return 0; 12555} 12556_ACEOF 12557if ac_fn_c_try_link "$LINENO"; then : 12558 12559has_sse2=yes 12560 12561else 12562 12563has_sse2=no 12564 12565 12566fi 12567rm -f core conftest.err conftest.$ac_objext \ 12568 conftest$ac_exeext conftest.$ac_ext 12569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_sse2" >&5 12570$as_echo "$has_sse2" >&6; } 12571 12572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON in current arch/CFLAGS" >&5 12573$as_echo_n "checking for NEON in current arch/CFLAGS... " >&6; } 12574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12575/* end confdefs.h. */ 12576 12577 12578#include <arm_neon.h> 12579int32x4_t testfunc(int16_t *a, int16_t *b) { 12580 return vmull_s16(vld1_s16(a), vld1_s16(b)); 12581} 12582 12583int 12584main () 12585{ 12586 12587 ; 12588 return 0; 12589} 12590_ACEOF 12591if ac_fn_c_try_link "$LINENO"; then : 12592 12593has_neon=yes 12594 12595else 12596 12597has_neon=no 12598 12599 12600fi 12601rm -f core conftest.err conftest.$ac_objext \ 12602 conftest$ac_exeext conftest.$ac_ext 12603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_neon" >&5 12604$as_echo "$has_neon" >&6; } 12605 12606SAVE_CFLAGS="$CFLAGS" 12607CFLAGS="$CFLAGS -fvisibility=hidden" 12608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF visibility" >&5 12609$as_echo_n "checking for ELF visibility... " >&6; } 12610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12611/* end confdefs.h. */ 12612 12613 12614#pragma GCC visibility push(hidden) 12615__attribute__((visibility("default"))) 12616int var=10; 12617 12618int 12619main () 12620{ 12621 12622 ; 12623 return 0; 12624} 12625_ACEOF 12626if ac_fn_c_try_compile "$LINENO"; then : 12627 12628has_visibility=yes 12629 12630$as_echo "#define EXPORT __attribute__((visibility(\"default\")))" >>confdefs.h 12631 12632 12633else 12634 12635has_visibility=no 12636 12637$as_echo "#define EXPORT /**/" >>confdefs.h 12638 12639CFLAGS="$SAVE_CFLAGS" 12640 12641 12642fi 12643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_visibility" >&5 12645$as_echo "$has_visibility" >&6; } 12646 12647for ac_header in sys/soundcard.h sys/audioio.h 12648do : 12649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12650ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12651if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 12652 cat >>confdefs.h <<_ACEOF 12653#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12654_ACEOF 12655 12656fi 12657 12658done 12659 12660 12661 12662 12663LIBM= 12664case $host in 12665*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 12666 # These system don't have libm, or don't need it 12667 ;; 12668*-ncr-sysv4.3*) 12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 12670$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } 12671if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then : 12672 $as_echo_n "(cached) " >&6 12673else 12674 ac_check_lib_save_LIBS=$LIBS 12675LIBS="-lmw $LIBS" 12676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12677/* end confdefs.h. */ 12678 12679/* Override any GCC internal prototype to avoid an error. 12680 Use char because int might match the return type of a GCC 12681 builtin and then its argument prototype would still apply. */ 12682#ifdef __cplusplus 12683extern "C" 12684#endif 12685char _mwvalidcheckl (); 12686int 12687main () 12688{ 12689return _mwvalidcheckl (); 12690 ; 12691 return 0; 12692} 12693_ACEOF 12694if ac_fn_c_try_link "$LINENO"; then : 12695 ac_cv_lib_mw__mwvalidcheckl=yes 12696else 12697 ac_cv_lib_mw__mwvalidcheckl=no 12698fi 12699rm -f core conftest.err conftest.$ac_objext \ 12700 conftest$ac_exeext conftest.$ac_ext 12701LIBS=$ac_check_lib_save_LIBS 12702fi 12703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 12704$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } 12705if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then : 12706 LIBM="-lmw" 12707fi 12708 12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 12710$as_echo_n "checking for cos in -lm... " >&6; } 12711if ${ac_cv_lib_m_cos+:} false; then : 12712 $as_echo_n "(cached) " >&6 12713else 12714 ac_check_lib_save_LIBS=$LIBS 12715LIBS="-lm $LIBS" 12716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12717/* end confdefs.h. */ 12718 12719/* Override any GCC internal prototype to avoid an error. 12720 Use char because int might match the return type of a GCC 12721 builtin and then its argument prototype would still apply. */ 12722#ifdef __cplusplus 12723extern "C" 12724#endif 12725char cos (); 12726int 12727main () 12728{ 12729return cos (); 12730 ; 12731 return 0; 12732} 12733_ACEOF 12734if ac_fn_c_try_link "$LINENO"; then : 12735 ac_cv_lib_m_cos=yes 12736else 12737 ac_cv_lib_m_cos=no 12738fi 12739rm -f core conftest.err conftest.$ac_objext \ 12740 conftest$ac_exeext conftest.$ac_ext 12741LIBS=$ac_check_lib_save_LIBS 12742fi 12743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 12744$as_echo "$ac_cv_lib_m_cos" >&6; } 12745if test "x$ac_cv_lib_m_cos" = xyes; then : 12746 LIBM="$LIBM -lm" 12747fi 12748 12749 ;; 12750*) 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 12752$as_echo_n "checking for cos in -lm... " >&6; } 12753if ${ac_cv_lib_m_cos+:} false; then : 12754 $as_echo_n "(cached) " >&6 12755else 12756 ac_check_lib_save_LIBS=$LIBS 12757LIBS="-lm $LIBS" 12758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12759/* end confdefs.h. */ 12760 12761/* Override any GCC internal prototype to avoid an error. 12762 Use char because int might match the return type of a GCC 12763 builtin and then its argument prototype would still apply. */ 12764#ifdef __cplusplus 12765extern "C" 12766#endif 12767char cos (); 12768int 12769main () 12770{ 12771return cos (); 12772 ; 12773 return 0; 12774} 12775_ACEOF 12776if ac_fn_c_try_link "$LINENO"; then : 12777 ac_cv_lib_m_cos=yes 12778else 12779 ac_cv_lib_m_cos=no 12780fi 12781rm -f core conftest.err conftest.$ac_objext \ 12782 conftest$ac_exeext conftest.$ac_ext 12783LIBS=$ac_check_lib_save_LIBS 12784fi 12785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 12786$as_echo "$ac_cv_lib_m_cos" >&6; } 12787if test "x$ac_cv_lib_m_cos" = xyes; then : 12788 LIBM="-lm" 12789fi 12790 12791 ;; 12792esac 12793 12794 12795 12796 12797# Check whether --enable-valgrind was given. 12798if test "${enable_valgrind+set}" = set; then : 12799 enableval=$enable_valgrind; if test "$enableval" = yes; then 12800 12801$as_echo "#define ENABLE_VALGRIND /**/" >>confdefs.h 12802 12803fi 12804fi 12805 12806 12807# Check whether --enable-sse was given. 12808if test "${enable_sse+set}" = set; then : 12809 enableval=$enable_sse; 12810if test "x$enableval" != xno; then 12811has_sse=yes 12812has_sse2=yes 12813CFLAGS="$CFLAGS -O3 -msse -msse2" 12814else 12815has_sse=no 12816has_sse2=no 12817fi 12818 12819fi 12820 12821 12822# Check whether --enable-neon was given. 12823if test "${enable_neon+set}" = set; then : 12824 enableval=$enable_neon; 12825if test "x$enableval" != xno; then 12826has_neon=yes 12827CFLAGS="$CFLAGS -O3 -march=armv7-a -mfpu=neon" 12828else 12829has_neon=no 12830fi 12831 12832fi 12833 12834 12835 12836FFT=smallft 12837 12838# Check whether --enable-fixed-point was given. 12839if test "${enable_fixed_point+set}" = set; then : 12840 enableval=$enable_fixed_point; if test "$enableval" = yes; then 12841 FFT=kiss 12842 has_sse=no 12843 12844$as_echo "#define FIXED_POINT /**/" >>confdefs.h 12845 12846else 12847 12848$as_echo "#define FLOATING_POINT /**/" >>confdefs.h 12849 12850fi 12851else 12852 12853$as_echo "#define FLOATING_POINT /**/" >>confdefs.h 12854 12855fi 12856 12857 12858if test "$has_sse" = yes; then 12859 12860$as_echo "#define _USE_SSE /**/" >>confdefs.h 12861 12862fi 12863 12864if test "$has_neon" = yes; then 12865 12866$as_echo "#define _USE_NEON /**/" >>confdefs.h 12867 12868fi 12869 12870if test "$has_sse2" = yes; then 12871 12872$as_echo "#define _USE_SSE2 /**/" >>confdefs.h 12873 12874fi 12875 12876# Check whether --enable-float-api was given. 12877if test "${enable_float_api+set}" = set; then : 12878 enableval=$enable_float_api; if test "$enableval" = no; then 12879 12880$as_echo "#define DISABLE_FLOAT_API /**/" >>confdefs.h 12881 12882fi 12883fi 12884 12885 12886# Check whether --enable-examples was given. 12887if test "${enable_examples+set}" = set; then : 12888 enableval=$enable_examples; 12889fi 12890 12891if test "$enableval" != no; then 12892 if true; then 12893 BUILD_EXAMPLES_TRUE= 12894 BUILD_EXAMPLES_FALSE='#' 12895else 12896 BUILD_EXAMPLES_TRUE='#' 12897 BUILD_EXAMPLES_FALSE= 12898fi 12899 12900else 12901 if false; then 12902 BUILD_EXAMPLES_TRUE= 12903 BUILD_EXAMPLES_FALSE='#' 12904else 12905 BUILD_EXAMPLES_TRUE='#' 12906 BUILD_EXAMPLES_FALSE= 12907fi 12908 12909fi 12910 12911# Check whether --enable-arm4-asm was given. 12912if test "${enable_arm4_asm+set}" = set; then : 12913 enableval=$enable_arm4_asm; if test "$enableval" = yes; then 12914 12915$as_echo "#define ARM4_ASM /**/" >>confdefs.h 12916 12917fi 12918fi 12919 12920 12921# Check whether --enable-arm5e-asm was given. 12922if test "${enable_arm5e_asm+set}" = set; then : 12923 enableval=$enable_arm5e_asm; if test "$enableval" = yes; then 12924 12925$as_echo "#define ARM5E_ASM /**/" >>confdefs.h 12926 12927fi 12928fi 12929 12930 12931# Check whether --enable-blackfin-asm was given. 12932if test "${enable_blackfin_asm+set}" = set; then : 12933 enableval=$enable_blackfin_asm; if test "$enableval" = yes; then 12934 12935$as_echo "#define BFIN_ASM /**/" >>confdefs.h 12936 12937fi 12938fi 12939 12940case $host_os in 12941 uclinux) LDFLAGS="-Wl,-elf2flt=-s100000 $LDFLAGS";; 12942esac 12943 12944# Check whether --enable-fixed-point-debug was given. 12945if test "${enable_fixed_point_debug+set}" = set; then : 12946 enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then 12947 12948$as_echo "#define FIXED_DEBUG /**/" >>confdefs.h 12949 12950fi 12951fi 12952 12953 12954# Check whether --enable-resample-full-sinc-table was given. 12955if test "${enable_resample_full_sinc_table+set}" = set; then : 12956 enableval=$enable_resample_full_sinc_table; if test "$enableval" = yes; then 12957 12958$as_echo "#define RESAMPLE_FULL_SINC_TABLE /**/" >>confdefs.h 12959 12960fi 12961fi 12962 12963 12964# Check whether --enable-ti-c55x was given. 12965if test "${enable_ti_c55x+set}" = set; then : 12966 enableval=$enable_ti_c55x; if test "$enableval" = yes; then 12967 has_char16=yes; 12968 12969$as_echo "#define TI_C55X /**/" >>confdefs.h 12970 12971fi 12972fi 12973 12974 12975 12976# Check whether --with-fft was given. 12977if test "${with_fft+set}" = set; then : 12978 withval=$with_fft; FFT=$withval 12979 12980fi 12981 12982 12983FFT_PKGCONFIG= 12984 12985 12986 12987 12988 12989 12990 12991if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 12992 if test -n "$ac_tool_prefix"; then 12993 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 12994set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 12995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12996$as_echo_n "checking for $ac_word... " >&6; } 12997if ${ac_cv_path_PKG_CONFIG+:} false; then : 12998 $as_echo_n "(cached) " >&6 12999else 13000 case $PKG_CONFIG in 13001 [\\/]* | ?:[\\/]*) 13002 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 13003 ;; 13004 *) 13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13006for as_dir in $PATH 13007do 13008 IFS=$as_save_IFS 13009 test -z "$as_dir" && as_dir=. 13010 for ac_exec_ext in '' $ac_executable_extensions; do 13011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13012 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13014 break 2 13015 fi 13016done 13017 done 13018IFS=$as_save_IFS 13019 13020 ;; 13021esac 13022fi 13023PKG_CONFIG=$ac_cv_path_PKG_CONFIG 13024if test -n "$PKG_CONFIG"; then 13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 13026$as_echo "$PKG_CONFIG" >&6; } 13027else 13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13029$as_echo "no" >&6; } 13030fi 13031 13032 13033fi 13034if test -z "$ac_cv_path_PKG_CONFIG"; then 13035 ac_pt_PKG_CONFIG=$PKG_CONFIG 13036 # Extract the first word of "pkg-config", so it can be a program name with args. 13037set dummy pkg-config; ac_word=$2 13038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 13039$as_echo_n "checking for $ac_word... " >&6; } 13040if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 13041 $as_echo_n "(cached) " >&6 13042else 13043 case $ac_pt_PKG_CONFIG in 13044 [\\/]* | ?:[\\/]*) 13045 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 13046 ;; 13047 *) 13048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13049for as_dir in $PATH 13050do 13051 IFS=$as_save_IFS 13052 test -z "$as_dir" && as_dir=. 13053 for ac_exec_ext in '' $ac_executable_extensions; do 13054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 13055 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 13056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 13057 break 2 13058 fi 13059done 13060 done 13061IFS=$as_save_IFS 13062 13063 ;; 13064esac 13065fi 13066ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 13067if test -n "$ac_pt_PKG_CONFIG"; then 13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 13069$as_echo "$ac_pt_PKG_CONFIG" >&6; } 13070else 13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13072$as_echo "no" >&6; } 13073fi 13074 13075 if test "x$ac_pt_PKG_CONFIG" = x; then 13076 PKG_CONFIG="" 13077 else 13078 case $cross_compiling:$ac_tool_warned in 13079yes:) 13080{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 13081$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 13082ac_tool_warned=yes ;; 13083esac 13084 PKG_CONFIG=$ac_pt_PKG_CONFIG 13085 fi 13086else 13087 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 13088fi 13089 13090fi 13091if test -n "$PKG_CONFIG"; then 13092 _pkg_min_version=0.9.0 13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 13094$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 13095 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13097$as_echo "yes" >&6; } 13098 else 13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13100$as_echo "no" >&6; } 13101 PKG_CONFIG="" 13102 fi 13103fi 13104case $FFT in #( 13105 kiss) : 13106 13107 13108$as_echo "#define USE_KISS_FFT /**/" >>confdefs.h 13109 13110 ;; #( 13111 smallft) : 13112 13113 13114$as_echo "#define USE_SMALLFT /**/" >>confdefs.h 13115 13116 ;; #( 13117 gpl-fftw3) : 13118 13119 13120$as_echo "#define USE_GPL_FFTW3 /**/" >>confdefs.h 13121 13122 13123pkg_failed=no 13124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFT" >&5 13125$as_echo_n "checking for FFT... " >&6; } 13126 13127if test -n "$FFT_CFLAGS"; then 13128 pkg_cv_FFT_CFLAGS="$FFT_CFLAGS" 13129 elif test -n "$PKG_CONFIG"; then 13130 if test -n "$PKG_CONFIG" && \ 13131 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5 13132 ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5 13133 ac_status=$? 13134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13135 test $ac_status = 0; }; then 13136 pkg_cv_FFT_CFLAGS=`$PKG_CONFIG --cflags "fftw3f" 2>/dev/null` 13137 test "x$?" != "x0" && pkg_failed=yes 13138else 13139 pkg_failed=yes 13140fi 13141 else 13142 pkg_failed=untried 13143fi 13144if test -n "$FFT_LIBS"; then 13145 pkg_cv_FFT_LIBS="$FFT_LIBS" 13146 elif test -n "$PKG_CONFIG"; then 13147 if test -n "$PKG_CONFIG" && \ 13148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fftw3f\""; } >&5 13149 ($PKG_CONFIG --exists --print-errors "fftw3f") 2>&5 13150 ac_status=$? 13151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13152 test $ac_status = 0; }; then 13153 pkg_cv_FFT_LIBS=`$PKG_CONFIG --libs "fftw3f" 2>/dev/null` 13154 test "x$?" != "x0" && pkg_failed=yes 13155else 13156 pkg_failed=yes 13157fi 13158 else 13159 pkg_failed=untried 13160fi 13161 13162 13163 13164if test $pkg_failed = yes; then 13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13166$as_echo "no" >&6; } 13167 13168if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 13169 _pkg_short_errors_supported=yes 13170else 13171 _pkg_short_errors_supported=no 13172fi 13173 if test $_pkg_short_errors_supported = yes; then 13174 FFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fftw3f" 2>&1` 13175 else 13176 FFT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fftw3f" 2>&1` 13177 fi 13178 # Put the nasty error message in config.log where it belongs 13179 echo "$FFT_PKG_ERRORS" >&5 13180 13181 as_fn_error $? "Package requirements (fftw3f) were not met: 13182 13183$FFT_PKG_ERRORS 13184 13185Consider adjusting the PKG_CONFIG_PATH environment variable if you 13186installed software in a non-standard prefix. 13187 13188Alternatively, you may set the environment variables FFT_CFLAGS 13189and FFT_LIBS to avoid the need to call pkg-config. 13190See the pkg-config man page for more details." "$LINENO" 5 13191elif test $pkg_failed = untried; then 13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13193$as_echo "no" >&6; } 13194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13195$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13196as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 13197is in your PATH or set the PKG_CONFIG environment variable to the full 13198path to pkg-config. 13199 13200Alternatively, you may set the environment variables FFT_CFLAGS 13201and FFT_LIBS to avoid the need to call pkg-config. 13202See the pkg-config man page for more details. 13203 13204To get pkg-config, see <http://pkg-config.freedesktop.org/>. 13205See \`config.log' for more details" "$LINENO" 5; } 13206else 13207 FFT_CFLAGS=$pkg_cv_FFT_CFLAGS 13208 FFT_LIBS=$pkg_cv_FFT_LIBS 13209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13210$as_echo "yes" >&6; } 13211 13212fi 13213 ;; #( 13214 proprietary-intel-mkl) : 13215 13216 13217$as_echo "#define USE_INTEL_MKL /**/" >>confdefs.h 13218 13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid MKL" >&5 13220$as_echo_n "checking for valid MKL... " >&6; } 13221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13222/* end confdefs.h. */ 13223 13224 13225#include <mkl.h> 13226void func() { 13227 DFTI_DESCRIPTOR_HANDLE h; 13228 MKL_LONG result=DftiCreateDescriptor(&h, DFTI_SINGLE, DFTI_REAL, 0); 13229} 13230int 13231main () 13232{ 13233 13234 ; 13235 return 0; 13236} 13237_ACEOF 13238if ac_fn_c_try_link "$LINENO"; then : 13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13240$as_echo "yes" >&6; } 13241else 13242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13244as_fn_error $? "Failed to compile MKL test program. Make sure you set CFLAGS to include the include directory and set LDFLAGS to include the library directory and all necesarry libraries. 13245See \`config.log' for more details" "$LINENO" 5; } 13246 13247fi 13248rm -f core conftest.err conftest.$ac_objext \ 13249 conftest$ac_exeext conftest.$ac_ext 13250 ;; #( 13251 *) : 13252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13253$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13254as_fn_error $? "Unknown FFT $FFT specified for --with-fft 13255See \`config.log' for more details" "$LINENO" 5; } 13256 ;; 13257esac 13258 if test "$FFT" = "kiss"; then 13259 BUILD_KISS_FFT_TRUE= 13260 BUILD_KISS_FFT_FALSE='#' 13261else 13262 BUILD_KISS_FFT_TRUE='#' 13263 BUILD_KISS_FFT_FALSE= 13264fi 13265 13266 if test "$FFT" = "smallft"; then 13267 BUILD_SMALLFT_TRUE= 13268 BUILD_SMALLFT_FALSE='#' 13269else 13270 BUILD_SMALLFT_TRUE='#' 13271 BUILD_SMALLFT_FALSE= 13272fi 13273 13274 13275 13276 13277# The cast to long int works around a bug in the HP C Compiler 13278# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13279# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13280# This bug is HP SR number 8606223364. 13281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5 13282$as_echo_n "checking size of int16_t... " >&6; } 13283if ${ac_cv_sizeof_int16_t+:} false; then : 13284 $as_echo_n "(cached) " >&6 13285else 13286 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t" "$ac_includes_default"; then : 13287 13288else 13289 if test "$ac_cv_type_int16_t" = yes; then 13290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13291$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13292as_fn_error 77 "cannot compute sizeof (int16_t) 13293See \`config.log' for more details" "$LINENO" 5; } 13294 else 13295 ac_cv_sizeof_int16_t=0 13296 fi 13297fi 13298 13299fi 13300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5 13301$as_echo "$ac_cv_sizeof_int16_t" >&6; } 13302 13303 13304 13305cat >>confdefs.h <<_ACEOF 13306#define SIZEOF_INT16_T $ac_cv_sizeof_int16_t 13307_ACEOF 13308 13309 13310# The cast to long int works around a bug in the HP C Compiler 13311# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13312# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13313# This bug is HP SR number 8606223364. 13314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5 13315$as_echo_n "checking size of uint16_t... " >&6; } 13316if ${ac_cv_sizeof_uint16_t+:} false; then : 13317 $as_echo_n "(cached) " >&6 13318else 13319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t" "$ac_includes_default"; then : 13320 13321else 13322 if test "$ac_cv_type_uint16_t" = yes; then 13323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13325as_fn_error 77 "cannot compute sizeof (uint16_t) 13326See \`config.log' for more details" "$LINENO" 5; } 13327 else 13328 ac_cv_sizeof_uint16_t=0 13329 fi 13330fi 13331 13332fi 13333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5 13334$as_echo "$ac_cv_sizeof_uint16_t" >&6; } 13335 13336 13337 13338cat >>confdefs.h <<_ACEOF 13339#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t 13340_ACEOF 13341 13342 13343# The cast to long int works around a bug in the HP C Compiler 13344# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13345# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13346# This bug is HP SR number 8606223364. 13347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int16_t" >&5 13348$as_echo_n "checking size of u_int16_t... " >&6; } 13349if ${ac_cv_sizeof_u_int16_t+:} false; then : 13350 $as_echo_n "(cached) " >&6 13351else 13352 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int16_t))" "ac_cv_sizeof_u_int16_t" "$ac_includes_default"; then : 13353 13354else 13355 if test "$ac_cv_type_u_int16_t" = yes; then 13356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13357$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13358as_fn_error 77 "cannot compute sizeof (u_int16_t) 13359See \`config.log' for more details" "$LINENO" 5; } 13360 else 13361 ac_cv_sizeof_u_int16_t=0 13362 fi 13363fi 13364 13365fi 13366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int16_t" >&5 13367$as_echo "$ac_cv_sizeof_u_int16_t" >&6; } 13368 13369 13370 13371cat >>confdefs.h <<_ACEOF 13372#define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t 13373_ACEOF 13374 13375 13376# The cast to long int works around a bug in the HP C Compiler 13377# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13378# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13379# This bug is HP SR number 8606223364. 13380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5 13381$as_echo_n "checking size of int32_t... " >&6; } 13382if ${ac_cv_sizeof_int32_t+:} false; then : 13383 $as_echo_n "(cached) " >&6 13384else 13385 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t" "$ac_includes_default"; then : 13386 13387else 13388 if test "$ac_cv_type_int32_t" = yes; then 13389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13390$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13391as_fn_error 77 "cannot compute sizeof (int32_t) 13392See \`config.log' for more details" "$LINENO" 5; } 13393 else 13394 ac_cv_sizeof_int32_t=0 13395 fi 13396fi 13397 13398fi 13399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5 13400$as_echo "$ac_cv_sizeof_int32_t" >&6; } 13401 13402 13403 13404cat >>confdefs.h <<_ACEOF 13405#define SIZEOF_INT32_T $ac_cv_sizeof_int32_t 13406_ACEOF 13407 13408 13409# The cast to long int works around a bug in the HP C Compiler 13410# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13411# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13412# This bug is HP SR number 8606223364. 13413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5 13414$as_echo_n "checking size of uint32_t... " >&6; } 13415if ${ac_cv_sizeof_uint32_t+:} false; then : 13416 $as_echo_n "(cached) " >&6 13417else 13418 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t" "$ac_includes_default"; then : 13419 13420else 13421 if test "$ac_cv_type_uint32_t" = yes; then 13422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13424as_fn_error 77 "cannot compute sizeof (uint32_t) 13425See \`config.log' for more details" "$LINENO" 5; } 13426 else 13427 ac_cv_sizeof_uint32_t=0 13428 fi 13429fi 13430 13431fi 13432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5 13433$as_echo "$ac_cv_sizeof_uint32_t" >&6; } 13434 13435 13436 13437cat >>confdefs.h <<_ACEOF 13438#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t 13439_ACEOF 13440 13441 13442# The cast to long int works around a bug in the HP C Compiler 13443# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13444# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13445# This bug is HP SR number 8606223364. 13446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of u_int32_t" >&5 13447$as_echo_n "checking size of u_int32_t... " >&6; } 13448if ${ac_cv_sizeof_u_int32_t+:} false; then : 13449 $as_echo_n "(cached) " >&6 13450else 13451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (u_int32_t))" "ac_cv_sizeof_u_int32_t" "$ac_includes_default"; then : 13452 13453else 13454 if test "$ac_cv_type_u_int32_t" = yes; then 13455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13457as_fn_error 77 "cannot compute sizeof (u_int32_t) 13458See \`config.log' for more details" "$LINENO" 5; } 13459 else 13460 ac_cv_sizeof_u_int32_t=0 13461 fi 13462fi 13463 13464fi 13465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_u_int32_t" >&5 13466$as_echo "$ac_cv_sizeof_u_int32_t" >&6; } 13467 13468 13469 13470cat >>confdefs.h <<_ACEOF 13471#define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t 13472_ACEOF 13473 13474 13475# The cast to long int works around a bug in the HP C Compiler 13476# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13477# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13478# This bug is HP SR number 8606223364. 13479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 13480$as_echo_n "checking size of short... " >&6; } 13481if ${ac_cv_sizeof_short+:} false; then : 13482 $as_echo_n "(cached) " >&6 13483else 13484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 13485 13486else 13487 if test "$ac_cv_type_short" = yes; then 13488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13490as_fn_error 77 "cannot compute sizeof (short) 13491See \`config.log' for more details" "$LINENO" 5; } 13492 else 13493 ac_cv_sizeof_short=0 13494 fi 13495fi 13496 13497fi 13498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 13499$as_echo "$ac_cv_sizeof_short" >&6; } 13500 13501 13502 13503cat >>confdefs.h <<_ACEOF 13504#define SIZEOF_SHORT $ac_cv_sizeof_short 13505_ACEOF 13506 13507 13508# The cast to long int works around a bug in the HP C Compiler 13509# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13510# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13511# This bug is HP SR number 8606223364. 13512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 13513$as_echo_n "checking size of int... " >&6; } 13514if ${ac_cv_sizeof_int+:} false; then : 13515 $as_echo_n "(cached) " >&6 13516else 13517 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 13518 13519else 13520 if test "$ac_cv_type_int" = yes; then 13521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13522$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13523as_fn_error 77 "cannot compute sizeof (int) 13524See \`config.log' for more details" "$LINENO" 5; } 13525 else 13526 ac_cv_sizeof_int=0 13527 fi 13528fi 13529 13530fi 13531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 13532$as_echo "$ac_cv_sizeof_int" >&6; } 13533 13534 13535 13536cat >>confdefs.h <<_ACEOF 13537#define SIZEOF_INT $ac_cv_sizeof_int 13538_ACEOF 13539 13540 13541# The cast to long int works around a bug in the HP C Compiler 13542# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13543# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13544# This bug is HP SR number 8606223364. 13545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 13546$as_echo_n "checking size of long... " >&6; } 13547if ${ac_cv_sizeof_long+:} false; then : 13548 $as_echo_n "(cached) " >&6 13549else 13550 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 13551 13552else 13553 if test "$ac_cv_type_long" = yes; then 13554 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13555$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13556as_fn_error 77 "cannot compute sizeof (long) 13557See \`config.log' for more details" "$LINENO" 5; } 13558 else 13559 ac_cv_sizeof_long=0 13560 fi 13561fi 13562 13563fi 13564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 13565$as_echo "$ac_cv_sizeof_long" >&6; } 13566 13567 13568 13569cat >>confdefs.h <<_ACEOF 13570#define SIZEOF_LONG $ac_cv_sizeof_long 13571_ACEOF 13572 13573 13574 13575if test "$has_char16" = "yes"; then : 13576 13577 SIZEOF16=1 13578 SIZEOF32=2 13579 13580else 13581 13582 SIZEOF16=2 13583 SIZEOF32=4 13584 13585fi 13586 13587case $SIZEOF16 in 13588 $ac_cv_sizeof_int16_t) SIZE16="int16_t";; 13589 $ac_cv_sizeof_short) SIZE16="short";; 13590 $ac_cv_sizeof_int) SIZE16="int";; 13591esac 13592 13593case $SIZEOF16 in 13594 $ac_cv_sizeof_uint16_t) USIZE16="uint16_t";; 13595 $ac_cv_sizeof_u_int16_t) USIZE16="u_int16_t";; 13596 $ac_cv_sizeof_short) USIZE16="unsigned short";; 13597 $ac_cv_sizeof_int) USIZE16="unsigned int";; 13598esac 13599 13600case $SIZEOF32 in 13601 $ac_cv_sizeof_int32_t) SIZE32="int32_t";; 13602 $ac_cv_sizeof_int) SIZE32="int";; 13603 $ac_cv_sizeof_long) SIZE32="long";; 13604 $ac_cv_sizeof_short) SIZE32="short";; 13605esac 13606 13607case $SIZEOF32 in 13608 $ac_cv_sizeof_uint32_t) USIZE32="uint32_t";; 13609 $ac_cv_sizeof_u_int32_t) USIZE32="u_int32_t";; 13610 $ac_cv_sizeof_short) USIZE32="unsigned short";; 13611 $ac_cv_sizeof_int) USIZE32="unsigned int";; 13612 $ac_cv_sizeof_long) USIZE32="unsigned long";; 13613esac 13614 13615if test -z "$SIZE16"; then : 13616 as_fn_error $? "No 16 bit type found on this platform!" "$LINENO" 5 13617fi 13618if test -z "$SIZE32"; then : 13619 as_fn_error $? "No 32 bit type found on this platform!" "$LINENO" 5 13620fi 13621if test -z "$USIZE16"; then : 13622 as_fn_error $? "No unsigned 16 bit type found on this platform!" "$LINENO" 5 13623fi 13624if test -z "$USIZE32"; then : 13625 as_fn_error $? "No unsigned 32 bit type found on this platform!" "$LINENO" 5 13626fi 13627 13628 13629 13630 13631 13632 13633ac_config_files="$ac_config_files Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec include/Makefile include/speex/Makefile speexdsp.pc win32/Makefile win32/libspeexdsp/Makefile symbian/Makefile win32/VS2003/Makefile win32/VS2003/libspeexdsp/Makefile win32/VS2003/tests/Makefile win32/VS2005/Makefile win32/VS2005/libspeexdsp/Makefile win32/VS2005/tests/Makefile win32/VS2008/Makefile win32/VS2008/libspeexdsp/Makefile win32/VS2008/tests/Makefile include/speex/speexdsp_config_types.h ti/Makefile ti/speex_C54_test/Makefile ti/speex_C55_test/Makefile ti/speex_C64_test/Makefile" 13634 13635 13636ac_config_headers="$ac_config_headers config.h" 13637 13638 13639cat >confcache <<\_ACEOF 13640# This file is a shell script that caches the results of configure 13641# tests run on this system so they can be shared between configure 13642# scripts and configure runs, see configure's option --config-cache. 13643# It is not useful on other systems. If it contains results you don't 13644# want to keep, you may remove or edit it. 13645# 13646# config.status only pays attention to the cache file if you give it 13647# the --recheck option to rerun configure. 13648# 13649# `ac_cv_env_foo' variables (set or unset) will be overridden when 13650# loading this file, other *unset* `ac_cv_foo' will be assigned the 13651# following values. 13652 13653_ACEOF 13654 13655# The following way of writing the cache mishandles newlines in values, 13656# but we know of no workaround that is simple, portable, and efficient. 13657# So, we kill variables containing newlines. 13658# Ultrix sh set writes to stderr and can't be redirected directly, 13659# and sets the high bit in the cache file unless we assign to the vars. 13660( 13661 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 13662 eval ac_val=\$$ac_var 13663 case $ac_val in #( 13664 *${as_nl}*) 13665 case $ac_var in #( 13666 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 13667$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 13668 esac 13669 case $ac_var in #( 13670 _ | IFS | as_nl) ;; #( 13671 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 13672 *) { eval $ac_var=; unset $ac_var;} ;; 13673 esac ;; 13674 esac 13675 done 13676 13677 (set) 2>&1 | 13678 case $as_nl`(ac_space=' '; set) 2>&1` in #( 13679 *${as_nl}ac_space=\ *) 13680 # `set' does not quote correctly, so add quotes: double-quote 13681 # substitution turns \\\\ into \\, and sed turns \\ into \. 13682 sed -n \ 13683 "s/'/'\\\\''/g; 13684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 13685 ;; #( 13686 *) 13687 # `set' quotes correctly as required by POSIX, so do not add quotes. 13688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 13689 ;; 13690 esac | 13691 sort 13692) | 13693 sed ' 13694 /^ac_cv_env_/b end 13695 t clear 13696 :clear 13697 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 13698 t end 13699 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 13700 :end' >>confcache 13701if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 13702 if test -w "$cache_file"; then 13703 if test "x$cache_file" != "x/dev/null"; then 13704 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 13705$as_echo "$as_me: updating cache $cache_file" >&6;} 13706 if test ! -f "$cache_file" || test -h "$cache_file"; then 13707 cat confcache >"$cache_file" 13708 else 13709 case $cache_file in #( 13710 */* | ?:*) 13711 mv -f confcache "$cache_file"$$ && 13712 mv -f "$cache_file"$$ "$cache_file" ;; #( 13713 *) 13714 mv -f confcache "$cache_file" ;; 13715 esac 13716 fi 13717 fi 13718 else 13719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 13720$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 13721 fi 13722fi 13723rm -f confcache 13724 13725test "x$prefix" = xNONE && prefix=$ac_default_prefix 13726# Let make expand exec_prefix. 13727test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 13728 13729DEFS=-DHAVE_CONFIG_H 13730 13731ac_libobjs= 13732ac_ltlibobjs= 13733U= 13734for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 13735 # 1. Remove the extension, and $U if already installed. 13736 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 13737 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 13738 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 13739 # will be set to the directory where LIBOBJS objects are built. 13740 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 13741 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 13742done 13743LIBOBJS=$ac_libobjs 13744 13745LTLIBOBJS=$ac_ltlibobjs 13746 13747 13748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 13749$as_echo_n "checking that generated files are newer than configure... " >&6; } 13750 if test -n "$am_sleep_pid"; then 13751 # Hide warnings about reused PIDs. 13752 wait $am_sleep_pid 2>/dev/null 13753 fi 13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 13755$as_echo "done" >&6; } 13756 if test -n "$EXEEXT"; then 13757 am__EXEEXT_TRUE= 13758 am__EXEEXT_FALSE='#' 13759else 13760 am__EXEEXT_TRUE='#' 13761 am__EXEEXT_FALSE= 13762fi 13763 13764if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 13765 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 13766Usually this means the macro was only invoked conditionally." "$LINENO" 5 13767fi 13768if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13769 as_fn_error $? "conditional \"AMDEP\" was never defined. 13770Usually this means the macro was only invoked conditionally." "$LINENO" 5 13771fi 13772if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13773 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13774Usually this means the macro was only invoked conditionally." "$LINENO" 5 13775fi 13776 13777if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 13778 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined. 13779Usually this means the macro was only invoked conditionally." "$LINENO" 5 13780fi 13781if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then 13782 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined. 13783Usually this means the macro was only invoked conditionally." "$LINENO" 5 13784fi 13785if test -z "${BUILD_KISS_FFT_TRUE}" && test -z "${BUILD_KISS_FFT_FALSE}"; then 13786 as_fn_error $? "conditional \"BUILD_KISS_FFT\" was never defined. 13787Usually this means the macro was only invoked conditionally." "$LINENO" 5 13788fi 13789if test -z "${BUILD_SMALLFT_TRUE}" && test -z "${BUILD_SMALLFT_FALSE}"; then 13790 as_fn_error $? "conditional \"BUILD_SMALLFT\" was never defined. 13791Usually this means the macro was only invoked conditionally." "$LINENO" 5 13792fi 13793 13794: "${CONFIG_STATUS=./config.status}" 13795ac_write_fail=0 13796ac_clean_files_save=$ac_clean_files 13797ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13798{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13799$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13800as_write_fail=0 13801cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 13802#! $SHELL 13803# Generated by $as_me. 13804# Run this file to recreate the current configuration. 13805# Compiler output produced by configure, useful for debugging 13806# configure, is in config.log if it exists. 13807 13808debug=false 13809ac_cs_recheck=false 13810ac_cs_silent=false 13811 13812SHELL=\${CONFIG_SHELL-$SHELL} 13813export SHELL 13814_ASEOF 13815cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 13816## -------------------- ## 13817## M4sh Initialization. ## 13818## -------------------- ## 13819 13820# Be more Bourne compatible 13821DUALCASE=1; export DUALCASE # for MKS sh 13822if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 13823 emulate sh 13824 NULLCMD=: 13825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 13826 # is contrary to our usage. Disable this feature. 13827 alias -g '${1+"$@"}'='"$@"' 13828 setopt NO_GLOB_SUBST 13829else 13830 case `(set -o) 2>/dev/null` in #( 13831 *posix*) : 13832 set -o posix ;; #( 13833 *) : 13834 ;; 13835esac 13836fi 13837 13838 13839as_nl=' 13840' 13841export as_nl 13842# Printing a long string crashes Solaris 7 /usr/bin/printf. 13843as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 13844as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 13845as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 13846# Prefer a ksh shell builtin over an external printf program on Solaris, 13847# but without wasting forks for bash or zsh. 13848if test -z "$BASH_VERSION$ZSH_VERSION" \ 13849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 13850 as_echo='print -r --' 13851 as_echo_n='print -rn --' 13852elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 13853 as_echo='printf %s\n' 13854 as_echo_n='printf %s' 13855else 13856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 13857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 13858 as_echo_n='/usr/ucb/echo -n' 13859 else 13860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 13861 as_echo_n_body='eval 13862 arg=$1; 13863 case $arg in #( 13864 *"$as_nl"*) 13865 expr "X$arg" : "X\\(.*\\)$as_nl"; 13866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 13867 esac; 13868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 13869 ' 13870 export as_echo_n_body 13871 as_echo_n='sh -c $as_echo_n_body as_echo' 13872 fi 13873 export as_echo_body 13874 as_echo='sh -c $as_echo_body as_echo' 13875fi 13876 13877# The user is always right. 13878if test "${PATH_SEPARATOR+set}" != set; then 13879 PATH_SEPARATOR=: 13880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 13881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 13882 PATH_SEPARATOR=';' 13883 } 13884fi 13885 13886 13887# IFS 13888# We need space, tab and new line, in precisely that order. Quoting is 13889# there to prevent editors from complaining about space-tab. 13890# (If _AS_PATH_WALK were called with IFS unset, it would disable word 13891# splitting by setting IFS to empty value.) 13892IFS=" "" $as_nl" 13893 13894# Find who we are. Look in the path if we contain no directory separator. 13895as_myself= 13896case $0 in #(( 13897 *[\\/]* ) as_myself=$0 ;; 13898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 13899for as_dir in $PATH 13900do 13901 IFS=$as_save_IFS 13902 test -z "$as_dir" && as_dir=. 13903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 13904 done 13905IFS=$as_save_IFS 13906 13907 ;; 13908esac 13909# We did not find ourselves, most probably we were run as `sh COMMAND' 13910# in which case we are not to be found in the path. 13911if test "x$as_myself" = x; then 13912 as_myself=$0 13913fi 13914if test ! -f "$as_myself"; then 13915 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 13916 exit 1 13917fi 13918 13919# Unset variables that we do not need and which cause bugs (e.g. in 13920# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 13921# suppresses any "Segmentation fault" message there. '((' could 13922# trigger a bug in pdksh 5.2.14. 13923for as_var in BASH_ENV ENV MAIL MAILPATH 13924do eval test x\${$as_var+set} = xset \ 13925 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 13926done 13927PS1='$ ' 13928PS2='> ' 13929PS4='+ ' 13930 13931# NLS nuisances. 13932LC_ALL=C 13933export LC_ALL 13934LANGUAGE=C 13935export LANGUAGE 13936 13937# CDPATH. 13938(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 13939 13940 13941# as_fn_error STATUS ERROR [LINENO LOG_FD] 13942# ---------------------------------------- 13943# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 13944# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 13945# script with STATUS, using 1 if that was 0. 13946as_fn_error () 13947{ 13948 as_status=$1; test $as_status -eq 0 && as_status=1 13949 if test "$4"; then 13950 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 13951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 13952 fi 13953 $as_echo "$as_me: error: $2" >&2 13954 as_fn_exit $as_status 13955} # as_fn_error 13956 13957 13958# as_fn_set_status STATUS 13959# ----------------------- 13960# Set $? to STATUS, without forking. 13961as_fn_set_status () 13962{ 13963 return $1 13964} # as_fn_set_status 13965 13966# as_fn_exit STATUS 13967# ----------------- 13968# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 13969as_fn_exit () 13970{ 13971 set +e 13972 as_fn_set_status $1 13973 exit $1 13974} # as_fn_exit 13975 13976# as_fn_unset VAR 13977# --------------- 13978# Portably unset VAR. 13979as_fn_unset () 13980{ 13981 { eval $1=; unset $1;} 13982} 13983as_unset=as_fn_unset 13984# as_fn_append VAR VALUE 13985# ---------------------- 13986# Append the text in VALUE to the end of the definition contained in VAR. Take 13987# advantage of any shell optimizations that allow amortized linear growth over 13988# repeated appends, instead of the typical quadratic growth present in naive 13989# implementations. 13990if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 13991 eval 'as_fn_append () 13992 { 13993 eval $1+=\$2 13994 }' 13995else 13996 as_fn_append () 13997 { 13998 eval $1=\$$1\$2 13999 } 14000fi # as_fn_append 14001 14002# as_fn_arith ARG... 14003# ------------------ 14004# Perform arithmetic evaluation on the ARGs, and store the result in the 14005# global $as_val. Take advantage of shells that can avoid forks. The arguments 14006# must be portable across $(()) and expr. 14007if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 14008 eval 'as_fn_arith () 14009 { 14010 as_val=$(( $* )) 14011 }' 14012else 14013 as_fn_arith () 14014 { 14015 as_val=`expr "$@" || test $? -eq 1` 14016 } 14017fi # as_fn_arith 14018 14019 14020if expr a : '\(a\)' >/dev/null 2>&1 && 14021 test "X`expr 00001 : '.*\(...\)'`" = X001; then 14022 as_expr=expr 14023else 14024 as_expr=false 14025fi 14026 14027if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 14028 as_basename=basename 14029else 14030 as_basename=false 14031fi 14032 14033if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 14034 as_dirname=dirname 14035else 14036 as_dirname=false 14037fi 14038 14039as_me=`$as_basename -- "$0" || 14040$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 14041 X"$0" : 'X\(//\)$' \| \ 14042 X"$0" : 'X\(/\)' \| . 2>/dev/null || 14043$as_echo X/"$0" | 14044 sed '/^.*\/\([^/][^/]*\)\/*$/{ 14045 s//\1/ 14046 q 14047 } 14048 /^X\/\(\/\/\)$/{ 14049 s//\1/ 14050 q 14051 } 14052 /^X\/\(\/\).*/{ 14053 s//\1/ 14054 q 14055 } 14056 s/.*/./; q'` 14057 14058# Avoid depending upon Character Ranges. 14059as_cr_letters='abcdefghijklmnopqrstuvwxyz' 14060as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 14061as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14062as_cr_digits='0123456789' 14063as_cr_alnum=$as_cr_Letters$as_cr_digits 14064 14065ECHO_C= ECHO_N= ECHO_T= 14066case `echo -n x` in #((((( 14067-n*) 14068 case `echo 'xy\c'` in 14069 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 14070 xy) ECHO_C='\c';; 14071 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 14072 ECHO_T=' ';; 14073 esac;; 14074*) 14075 ECHO_N='-n';; 14076esac 14077 14078rm -f conf$$ conf$$.exe conf$$.file 14079if test -d conf$$.dir; then 14080 rm -f conf$$.dir/conf$$.file 14081else 14082 rm -f conf$$.dir 14083 mkdir conf$$.dir 2>/dev/null 14084fi 14085if (echo >conf$$.file) 2>/dev/null; then 14086 if ln -s conf$$.file conf$$ 2>/dev/null; then 14087 as_ln_s='ln -s' 14088 # ... but there are two gotchas: 14089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 14090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 14091 # In both cases, we have to default to `cp -pR'. 14092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 14093 as_ln_s='cp -pR' 14094 elif ln conf$$.file conf$$ 2>/dev/null; then 14095 as_ln_s=ln 14096 else 14097 as_ln_s='cp -pR' 14098 fi 14099else 14100 as_ln_s='cp -pR' 14101fi 14102rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 14103rmdir conf$$.dir 2>/dev/null 14104 14105 14106# as_fn_mkdir_p 14107# ------------- 14108# Create "$as_dir" as a directory, including parents if necessary. 14109as_fn_mkdir_p () 14110{ 14111 14112 case $as_dir in #( 14113 -*) as_dir=./$as_dir;; 14114 esac 14115 test -d "$as_dir" || eval $as_mkdir_p || { 14116 as_dirs= 14117 while :; do 14118 case $as_dir in #( 14119 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 14120 *) as_qdir=$as_dir;; 14121 esac 14122 as_dirs="'$as_qdir' $as_dirs" 14123 as_dir=`$as_dirname -- "$as_dir" || 14124$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 14125 X"$as_dir" : 'X\(//\)[^/]' \| \ 14126 X"$as_dir" : 'X\(//\)$' \| \ 14127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 14128$as_echo X"$as_dir" | 14129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 14130 s//\1/ 14131 q 14132 } 14133 /^X\(\/\/\)[^/].*/{ 14134 s//\1/ 14135 q 14136 } 14137 /^X\(\/\/\)$/{ 14138 s//\1/ 14139 q 14140 } 14141 /^X\(\/\).*/{ 14142 s//\1/ 14143 q 14144 } 14145 s/.*/./; q'` 14146 test -d "$as_dir" && break 14147 done 14148 test -z "$as_dirs" || eval "mkdir $as_dirs" 14149 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 14150 14151 14152} # as_fn_mkdir_p 14153if mkdir -p . 2>/dev/null; then 14154 as_mkdir_p='mkdir -p "$as_dir"' 14155else 14156 test -d ./-p && rmdir ./-p 14157 as_mkdir_p=false 14158fi 14159 14160 14161# as_fn_executable_p FILE 14162# ----------------------- 14163# Test if FILE is an executable regular file. 14164as_fn_executable_p () 14165{ 14166 test -f "$1" && test -x "$1" 14167} # as_fn_executable_p 14168as_test_x='test -x' 14169as_executable_p=as_fn_executable_p 14170 14171# Sed expression to map a string onto a valid CPP name. 14172as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 14173 14174# Sed expression to map a string onto a valid variable name. 14175as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 14176 14177 14178exec 6>&1 14179## ----------------------------------- ## 14180## Main body of $CONFIG_STATUS script. ## 14181## ----------------------------------- ## 14182_ASEOF 14183test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 14184 14185cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14186# Save the log message, to keep $0 and so on meaningful, and to 14187# report actual input values of CONFIG_FILES etc. instead of their 14188# values after options handling. 14189ac_log=" 14190This file was extended by speexdsp $as_me 1.2rc3, which was 14191generated by GNU Autoconf 2.69. Invocation command line was 14192 14193 CONFIG_FILES = $CONFIG_FILES 14194 CONFIG_HEADERS = $CONFIG_HEADERS 14195 CONFIG_LINKS = $CONFIG_LINKS 14196 CONFIG_COMMANDS = $CONFIG_COMMANDS 14197 $ $0 $@ 14198 14199on `(hostname || uname -n) 2>/dev/null | sed 1q` 14200" 14201 14202_ACEOF 14203 14204case $ac_config_files in *" 14205"*) set x $ac_config_files; shift; ac_config_files=$*;; 14206esac 14207 14208case $ac_config_headers in *" 14209"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 14210esac 14211 14212 14213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14214# Files that config.status was made for. 14215config_files="$ac_config_files" 14216config_headers="$ac_config_headers" 14217config_commands="$ac_config_commands" 14218 14219_ACEOF 14220 14221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14222ac_cs_usage="\ 14223\`$as_me' instantiates files and other configuration actions 14224from templates according to the current configuration. Unless the files 14225and actions are specified as TAGs, all are instantiated by default. 14226 14227Usage: $0 [OPTION]... [TAG]... 14228 14229 -h, --help print this help, then exit 14230 -V, --version print version number and configuration settings, then exit 14231 --config print configuration, then exit 14232 -q, --quiet, --silent 14233 do not print progress messages 14234 -d, --debug don't remove temporary files 14235 --recheck update $as_me by reconfiguring in the same conditions 14236 --file=FILE[:TEMPLATE] 14237 instantiate the configuration file FILE 14238 --header=FILE[:TEMPLATE] 14239 instantiate the configuration header FILE 14240 14241Configuration files: 14242$config_files 14243 14244Configuration headers: 14245$config_headers 14246 14247Configuration commands: 14248$config_commands 14249 14250Report bugs to <speex-dev@xiph.org>." 14251 14252_ACEOF 14253cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14254ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 14255ac_cs_version="\\ 14256speexdsp config.status 1.2rc3 14257configured by $0, generated by GNU Autoconf 2.69, 14258 with options \\"\$ac_cs_config\\" 14259 14260Copyright (C) 2012 Free Software Foundation, Inc. 14261This config.status script is free software; the Free Software Foundation 14262gives unlimited permission to copy, distribute and modify it." 14263 14264ac_pwd='$ac_pwd' 14265srcdir='$srcdir' 14266INSTALL='$INSTALL' 14267MKDIR_P='$MKDIR_P' 14268AWK='$AWK' 14269test -n "\$AWK" || AWK=awk 14270_ACEOF 14271 14272cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14273# The default lists apply if the user does not specify any file. 14274ac_need_defaults=: 14275while test $# != 0 14276do 14277 case $1 in 14278 --*=?*) 14279 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14280 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 14281 ac_shift=: 14282 ;; 14283 --*=) 14284 ac_option=`expr "X$1" : 'X\([^=]*\)='` 14285 ac_optarg= 14286 ac_shift=: 14287 ;; 14288 *) 14289 ac_option=$1 14290 ac_optarg=$2 14291 ac_shift=shift 14292 ;; 14293 esac 14294 14295 case $ac_option in 14296 # Handling of the options. 14297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 14298 ac_cs_recheck=: ;; 14299 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 14300 $as_echo "$ac_cs_version"; exit ;; 14301 --config | --confi | --conf | --con | --co | --c ) 14302 $as_echo "$ac_cs_config"; exit ;; 14303 --debug | --debu | --deb | --de | --d | -d ) 14304 debug=: ;; 14305 --file | --fil | --fi | --f ) 14306 $ac_shift 14307 case $ac_optarg in 14308 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14309 '') as_fn_error $? "missing file argument" ;; 14310 esac 14311 as_fn_append CONFIG_FILES " '$ac_optarg'" 14312 ac_need_defaults=false;; 14313 --header | --heade | --head | --hea ) 14314 $ac_shift 14315 case $ac_optarg in 14316 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 14317 esac 14318 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 14319 ac_need_defaults=false;; 14320 --he | --h) 14321 # Conflict between --help and --header 14322 as_fn_error $? "ambiguous option: \`$1' 14323Try \`$0 --help' for more information.";; 14324 --help | --hel | -h ) 14325 $as_echo "$ac_cs_usage"; exit ;; 14326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14327 | -silent | --silent | --silen | --sile | --sil | --si | --s) 14328 ac_cs_silent=: ;; 14329 14330 # This is an error. 14331 -*) as_fn_error $? "unrecognized option: \`$1' 14332Try \`$0 --help' for more information." ;; 14333 14334 *) as_fn_append ac_config_targets " $1" 14335 ac_need_defaults=false ;; 14336 14337 esac 14338 shift 14339done 14340 14341ac_configure_extra_args= 14342 14343if $ac_cs_silent; then 14344 exec 6>/dev/null 14345 ac_configure_extra_args="$ac_configure_extra_args --silent" 14346fi 14347 14348_ACEOF 14349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14350if \$ac_cs_recheck; then 14351 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 14352 shift 14353 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 14354 CONFIG_SHELL='$SHELL' 14355 export CONFIG_SHELL 14356 exec "\$@" 14357fi 14358 14359_ACEOF 14360cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14361exec 5>>config.log 14362{ 14363 echo 14364 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 14365## Running $as_me. ## 14366_ASBOX 14367 $as_echo "$ac_log" 14368} >&5 14369 14370_ACEOF 14371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14372# 14373# INIT-COMMANDS 14374# 14375AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14376 14377 14378# The HP-UX ksh and POSIX shell print the target directory to stdout 14379# if CDPATH is set. 14380(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 14381 14382sed_quote_subst='$sed_quote_subst' 14383double_quote_subst='$double_quote_subst' 14384delay_variable_subst='$delay_variable_subst' 14385AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 14386DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 14387OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 14388macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 14389macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 14390enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 14391enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 14392pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 14393enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 14394SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 14395ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 14396PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 14397host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 14398host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 14399host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 14400build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 14401build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 14402build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 14403SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 14404Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 14405GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 14406EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 14407FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 14408LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 14409NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 14410LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 14411max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 14412ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 14413exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 14414lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 14415lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 14416lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 14417lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 14418lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 14419reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 14420reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 14421deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 14422file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 14423file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 14424want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 14425sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 14426AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 14427AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 14428archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 14429STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 14430RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 14431old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14432old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14433old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 14434lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 14435CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 14436CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 14437compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 14438GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 14439lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 14440lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 14441lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 14442lt_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"`' 14443nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 14444lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 14445objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 14446MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 14447lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 14448lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 14449lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 14450lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 14451lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 14452need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 14453MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 14454DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 14455NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 14456LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 14457OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 14458OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 14459libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 14460shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 14461extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14462archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 14463enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 14464export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 14465whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 14466compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 14467old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 14468old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 14469archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 14470archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14471module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 14472module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 14473with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 14474allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 14475no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 14476hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 14477hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 14478hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 14479hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 14480hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 14481hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 14482hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 14483inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 14484link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 14485always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 14486export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 14487exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 14488include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 14489prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 14490postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 14491file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 14492variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 14493need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 14494need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 14495version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 14496runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 14497shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 14498shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 14499libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 14500library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 14501soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 14502install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 14503postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 14504postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 14505finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 14506finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 14507hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 14508sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 14509sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 14510hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 14511enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 14512enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 14513enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 14514old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 14515striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 14516 14517LTCC='$LTCC' 14518LTCFLAGS='$LTCFLAGS' 14519compiler='$compiler_DEFAULT' 14520 14521# A function that is used when there is no print builtin or printf. 14522func_fallback_echo () 14523{ 14524 eval 'cat <<_LTECHO_EOF 14525\$1 14526_LTECHO_EOF' 14527} 14528 14529# Quote evaled strings. 14530for var in AS \ 14531DLLTOOL \ 14532OBJDUMP \ 14533SHELL \ 14534ECHO \ 14535PATH_SEPARATOR \ 14536SED \ 14537GREP \ 14538EGREP \ 14539FGREP \ 14540LD \ 14541NM \ 14542LN_S \ 14543lt_SP2NL \ 14544lt_NL2SP \ 14545reload_flag \ 14546deplibs_check_method \ 14547file_magic_cmd \ 14548file_magic_glob \ 14549want_nocaseglob \ 14550sharedlib_from_linklib_cmd \ 14551AR \ 14552AR_FLAGS \ 14553archiver_list_spec \ 14554STRIP \ 14555RANLIB \ 14556CC \ 14557CFLAGS \ 14558compiler \ 14559lt_cv_sys_global_symbol_pipe \ 14560lt_cv_sys_global_symbol_to_cdecl \ 14561lt_cv_sys_global_symbol_to_c_name_address \ 14562lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 14563nm_file_list_spec \ 14564lt_prog_compiler_no_builtin_flag \ 14565lt_prog_compiler_pic \ 14566lt_prog_compiler_wl \ 14567lt_prog_compiler_static \ 14568lt_cv_prog_compiler_c_o \ 14569need_locks \ 14570MANIFEST_TOOL \ 14571DSYMUTIL \ 14572NMEDIT \ 14573LIPO \ 14574OTOOL \ 14575OTOOL64 \ 14576shrext_cmds \ 14577export_dynamic_flag_spec \ 14578whole_archive_flag_spec \ 14579compiler_needs_object \ 14580with_gnu_ld \ 14581allow_undefined_flag \ 14582no_undefined_flag \ 14583hardcode_libdir_flag_spec \ 14584hardcode_libdir_separator \ 14585exclude_expsyms \ 14586include_expsyms \ 14587file_list_spec \ 14588variables_saved_for_relink \ 14589libname_spec \ 14590library_names_spec \ 14591soname_spec \ 14592install_override_mode \ 14593finish_eval \ 14594old_striplib \ 14595striplib; do 14596 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14597 *[\\\\\\\`\\"\\\$]*) 14598 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 14599 ;; 14600 *) 14601 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14602 ;; 14603 esac 14604done 14605 14606# Double-quote double-evaled strings. 14607for var in reload_cmds \ 14608old_postinstall_cmds \ 14609old_postuninstall_cmds \ 14610old_archive_cmds \ 14611extract_expsyms_cmds \ 14612old_archive_from_new_cmds \ 14613old_archive_from_expsyms_cmds \ 14614archive_cmds \ 14615archive_expsym_cmds \ 14616module_cmds \ 14617module_expsym_cmds \ 14618export_symbols_cmds \ 14619prelink_cmds \ 14620postlink_cmds \ 14621postinstall_cmds \ 14622postuninstall_cmds \ 14623finish_cmds \ 14624sys_lib_search_path_spec \ 14625sys_lib_dlsearch_path_spec; do 14626 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 14627 *[\\\\\\\`\\"\\\$]*) 14628 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 14629 ;; 14630 *) 14631 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 14632 ;; 14633 esac 14634done 14635 14636ac_aux_dir='$ac_aux_dir' 14637xsi_shell='$xsi_shell' 14638lt_shell_append='$lt_shell_append' 14639 14640# See if we are running on zsh, and set the options which allow our 14641# commands through without removal of \ escapes INIT. 14642if test -n "\${ZSH_VERSION+set}" ; then 14643 setopt NO_GLOB_SUBST 14644fi 14645 14646 14647 PACKAGE='$PACKAGE' 14648 VERSION='$VERSION' 14649 TIMESTAMP='$TIMESTAMP' 14650 RM='$RM' 14651 ofile='$ofile' 14652 14653 14654 14655 14656_ACEOF 14657 14658cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14659 14660# Handling of arguments. 14661for ac_config_target in $ac_config_targets 14662do 14663 case $ac_config_target in 14664 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14665 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14666 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14667 "libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES libspeexdsp/Makefile" ;; 14668 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14669 "SpeexDSP.spec") CONFIG_FILES="$CONFIG_FILES SpeexDSP.spec" ;; 14670 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 14671 "include/speex/Makefile") CONFIG_FILES="$CONFIG_FILES include/speex/Makefile" ;; 14672 "speexdsp.pc") CONFIG_FILES="$CONFIG_FILES speexdsp.pc" ;; 14673 "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;; 14674 "win32/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/libspeexdsp/Makefile" ;; 14675 "symbian/Makefile") CONFIG_FILES="$CONFIG_FILES symbian/Makefile" ;; 14676 "win32/VS2003/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/Makefile" ;; 14677 "win32/VS2003/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/libspeexdsp/Makefile" ;; 14678 "win32/VS2003/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2003/tests/Makefile" ;; 14679 "win32/VS2005/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/Makefile" ;; 14680 "win32/VS2005/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/libspeexdsp/Makefile" ;; 14681 "win32/VS2005/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2005/tests/Makefile" ;; 14682 "win32/VS2008/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/Makefile" ;; 14683 "win32/VS2008/libspeexdsp/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/libspeexdsp/Makefile" ;; 14684 "win32/VS2008/tests/Makefile") CONFIG_FILES="$CONFIG_FILES win32/VS2008/tests/Makefile" ;; 14685 "include/speex/speexdsp_config_types.h") CONFIG_FILES="$CONFIG_FILES include/speex/speexdsp_config_types.h" ;; 14686 "ti/Makefile") CONFIG_FILES="$CONFIG_FILES ti/Makefile" ;; 14687 "ti/speex_C54_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C54_test/Makefile" ;; 14688 "ti/speex_C55_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C55_test/Makefile" ;; 14689 "ti/speex_C64_test/Makefile") CONFIG_FILES="$CONFIG_FILES ti/speex_C64_test/Makefile" ;; 14690 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 14691 14692 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14693 esac 14694done 14695 14696 14697# If the user did not use the arguments to specify the items to instantiate, 14698# then the envvar interface is used. Set only those that are not. 14699# We use the long form for the default assignment because of an extremely 14700# bizarre bug on SunOS 4.1.3. 14701if $ac_need_defaults; then 14702 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 14703 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 14704 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 14705fi 14706 14707# Have a temporary directory for convenience. Make it in the build tree 14708# simply because there is no reason against having it here, and in addition, 14709# creating and moving files from /tmp can sometimes cause problems. 14710# Hook for its removal unless debugging. 14711# Note that there is a small window in which the directory will not be cleaned: 14712# after its creation but before its name has been assigned to `$tmp'. 14713$debug || 14714{ 14715 tmp= ac_tmp= 14716 trap 'exit_status=$? 14717 : "${ac_tmp:=$tmp}" 14718 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 14719' 0 14720 trap 'as_fn_exit 1' 1 2 13 15 14721} 14722# Create a (secure) tmp directory for tmp files. 14723 14724{ 14725 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 14726 test -d "$tmp" 14727} || 14728{ 14729 tmp=./conf$$-$RANDOM 14730 (umask 077 && mkdir "$tmp") 14731} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 14732ac_tmp=$tmp 14733 14734# Set up the scripts for CONFIG_FILES section. 14735# No need to generate them if there are no CONFIG_FILES. 14736# This happens for instance with `./config.status config.h'. 14737if test -n "$CONFIG_FILES"; then 14738 14739 14740ac_cr=`echo X | tr X '\015'` 14741# On cygwin, bash can eat \r inside `` if the user requested igncr. 14742# But we know of no other shell where ac_cr would be empty at this 14743# point, so we can use a bashism as a fallback. 14744if test "x$ac_cr" = x; then 14745 eval ac_cr=\$\'\\r\' 14746fi 14747ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 14748if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 14749 ac_cs_awk_cr='\\r' 14750else 14751 ac_cs_awk_cr=$ac_cr 14752fi 14753 14754echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 14755_ACEOF 14756 14757 14758{ 14759 echo "cat >conf$$subs.awk <<_ACEOF" && 14760 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 14761 echo "_ACEOF" 14762} >conf$$subs.sh || 14763 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14764ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 14765ac_delim='%!_!# ' 14766for ac_last_try in false false false false false :; do 14767 . ./conf$$subs.sh || 14768 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14769 14770 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 14771 if test $ac_delim_n = $ac_delim_num; then 14772 break 14773 elif $ac_last_try; then 14774 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 14775 else 14776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14777 fi 14778done 14779rm -f conf$$subs.sh 14780 14781cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14782cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 14783_ACEOF 14784sed -n ' 14785h 14786s/^/S["/; s/!.*/"]=/ 14787p 14788g 14789s/^[^!]*!// 14790:repl 14791t repl 14792s/'"$ac_delim"'$// 14793t delim 14794:nl 14795h 14796s/\(.\{148\}\)..*/\1/ 14797t more1 14798s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 14799p 14800n 14801b repl 14802:more1 14803s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14804p 14805g 14806s/.\{148\}// 14807t nl 14808:delim 14809h 14810s/\(.\{148\}\)..*/\1/ 14811t more2 14812s/["\\]/\\&/g; s/^/"/; s/$/"/ 14813p 14814b 14815:more2 14816s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 14817p 14818g 14819s/.\{148\}// 14820t delim 14821' <conf$$subs.awk | sed ' 14822/^[^""]/{ 14823 N 14824 s/\n// 14825} 14826' >>$CONFIG_STATUS || ac_write_fail=1 14827rm -f conf$$subs.awk 14828cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14829_ACAWK 14830cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 14831 for (key in S) S_is_set[key] = 1 14832 FS = "" 14833 14834} 14835{ 14836 line = $ 0 14837 nfields = split(line, field, "@") 14838 substed = 0 14839 len = length(field[1]) 14840 for (i = 2; i < nfields; i++) { 14841 key = field[i] 14842 keylen = length(key) 14843 if (S_is_set[key]) { 14844 value = S[key] 14845 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 14846 len += length(value) + length(field[++i]) 14847 substed = 1 14848 } else 14849 len += 1 + keylen 14850 } 14851 14852 print line 14853} 14854 14855_ACAWK 14856_ACEOF 14857cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14858if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 14859 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 14860else 14861 cat 14862fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 14863 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 14864_ACEOF 14865 14866# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 14867# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 14868# trailing colons and then remove the whole line if VPATH becomes empty 14869# (actually we leave an empty line to preserve line numbers). 14870if test "x$srcdir" = x.; then 14871 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 14872h 14873s/// 14874s/^/:/ 14875s/[ ]*$/:/ 14876s/:\$(srcdir):/:/g 14877s/:\${srcdir}:/:/g 14878s/:@srcdir@:/:/g 14879s/^:*// 14880s/:*$// 14881x 14882s/\(=[ ]*\).*/\1/ 14883G 14884s/\n// 14885s/^[^=]*=[ ]*$// 14886}' 14887fi 14888 14889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14890fi # test -n "$CONFIG_FILES" 14891 14892# Set up the scripts for CONFIG_HEADERS section. 14893# No need to generate them if there are no CONFIG_HEADERS. 14894# This happens for instance with `./config.status Makefile'. 14895if test -n "$CONFIG_HEADERS"; then 14896cat >"$ac_tmp/defines.awk" <<\_ACAWK || 14897BEGIN { 14898_ACEOF 14899 14900# Transform confdefs.h into an awk script `defines.awk', embedded as 14901# here-document in config.status, that substitutes the proper values into 14902# config.h.in to produce config.h. 14903 14904# Create a delimiter string that does not exist in confdefs.h, to ease 14905# handling of long lines. 14906ac_delim='%!_!# ' 14907for ac_last_try in false false :; do 14908 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 14909 if test -z "$ac_tt"; then 14910 break 14911 elif $ac_last_try; then 14912 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 14913 else 14914 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 14915 fi 14916done 14917 14918# For the awk script, D is an array of macro values keyed by name, 14919# likewise P contains macro parameters if any. Preserve backslash 14920# newline sequences. 14921 14922ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 14923sed -n ' 14924s/.\{148\}/&'"$ac_delim"'/g 14925t rset 14926:rset 14927s/^[ ]*#[ ]*define[ ][ ]*/ / 14928t def 14929d 14930:def 14931s/\\$// 14932t bsnl 14933s/["\\]/\\&/g 14934s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14935D["\1"]=" \3"/p 14936s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 14937d 14938:bsnl 14939s/["\\]/\\&/g 14940s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 14941D["\1"]=" \3\\\\\\n"\\/p 14942t cont 14943s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 14944t cont 14945d 14946:cont 14947n 14948s/.\{148\}/&'"$ac_delim"'/g 14949t clear 14950:clear 14951s/\\$// 14952t bsnlc 14953s/["\\]/\\&/g; s/^/"/; s/$/"/p 14954d 14955:bsnlc 14956s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 14957b cont 14958' <confdefs.h | sed ' 14959s/'"$ac_delim"'/"\\\ 14960"/g' >>$CONFIG_STATUS || ac_write_fail=1 14961 14962cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 14963 for (key in D) D_is_set[key] = 1 14964 FS = "" 14965} 14966/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 14967 line = \$ 0 14968 split(line, arg, " ") 14969 if (arg[1] == "#") { 14970 defundef = arg[2] 14971 mac1 = arg[3] 14972 } else { 14973 defundef = substr(arg[1], 2) 14974 mac1 = arg[2] 14975 } 14976 split(mac1, mac2, "(") #) 14977 macro = mac2[1] 14978 prefix = substr(line, 1, index(line, defundef) - 1) 14979 if (D_is_set[macro]) { 14980 # Preserve the white space surrounding the "#". 14981 print prefix "define", macro P[macro] D[macro] 14982 next 14983 } else { 14984 # Replace #undef with comments. This is necessary, for example, 14985 # in the case of _POSIX_SOURCE, which is predefined and required 14986 # on some systems where configure will not decide to define it. 14987 if (defundef == "undef") { 14988 print "/*", prefix defundef, macro, "*/" 14989 next 14990 } 14991 } 14992} 14993{ print } 14994_ACAWK 14995_ACEOF 14996cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14997 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 14998fi # test -n "$CONFIG_HEADERS" 14999 15000 15001eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 15002shift 15003for ac_tag 15004do 15005 case $ac_tag in 15006 :[FHLC]) ac_mode=$ac_tag; continue;; 15007 esac 15008 case $ac_mode$ac_tag in 15009 :[FHL]*:*);; 15010 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 15011 :[FH]-) ac_tag=-:-;; 15012 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 15013 esac 15014 ac_save_IFS=$IFS 15015 IFS=: 15016 set x $ac_tag 15017 IFS=$ac_save_IFS 15018 shift 15019 ac_file=$1 15020 shift 15021 15022 case $ac_mode in 15023 :L) ac_source=$1;; 15024 :[FH]) 15025 ac_file_inputs= 15026 for ac_f 15027 do 15028 case $ac_f in 15029 -) ac_f="$ac_tmp/stdin";; 15030 *) # Look for the file first in the build tree, then in the source tree 15031 # (if the path is not absolute). The absolute path cannot be DOS-style, 15032 # because $ac_f cannot contain `:'. 15033 test -f "$ac_f" || 15034 case $ac_f in 15035 [\\/$]*) false;; 15036 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 15037 esac || 15038 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 15039 esac 15040 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 15041 as_fn_append ac_file_inputs " '$ac_f'" 15042 done 15043 15044 # Let's still pretend it is `configure' which instantiates (i.e., don't 15045 # use $as_me), people would be surprised to read: 15046 # /* config.h. Generated by config.status. */ 15047 configure_input='Generated from '` 15048 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 15049 `' by configure.' 15050 if test x"$ac_file" != x-; then 15051 configure_input="$ac_file. $configure_input" 15052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 15053$as_echo "$as_me: creating $ac_file" >&6;} 15054 fi 15055 # Neutralize special characters interpreted by sed in replacement strings. 15056 case $configure_input in #( 15057 *\&* | *\|* | *\\* ) 15058 ac_sed_conf_input=`$as_echo "$configure_input" | 15059 sed 's/[\\\\&|]/\\\\&/g'`;; #( 15060 *) ac_sed_conf_input=$configure_input;; 15061 esac 15062 15063 case $ac_tag in 15064 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 15065 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 15066 esac 15067 ;; 15068 esac 15069 15070 ac_dir=`$as_dirname -- "$ac_file" || 15071$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15072 X"$ac_file" : 'X\(//\)[^/]' \| \ 15073 X"$ac_file" : 'X\(//\)$' \| \ 15074 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 15075$as_echo X"$ac_file" | 15076 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15077 s//\1/ 15078 q 15079 } 15080 /^X\(\/\/\)[^/].*/{ 15081 s//\1/ 15082 q 15083 } 15084 /^X\(\/\/\)$/{ 15085 s//\1/ 15086 q 15087 } 15088 /^X\(\/\).*/{ 15089 s//\1/ 15090 q 15091 } 15092 s/.*/./; q'` 15093 as_dir="$ac_dir"; as_fn_mkdir_p 15094 ac_builddir=. 15095 15096case "$ac_dir" in 15097.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 15098*) 15099 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 15100 # A ".." for each directory in $ac_dir_suffix. 15101 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 15102 case $ac_top_builddir_sub in 15103 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 15104 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 15105 esac ;; 15106esac 15107ac_abs_top_builddir=$ac_pwd 15108ac_abs_builddir=$ac_pwd$ac_dir_suffix 15109# for backward compatibility: 15110ac_top_builddir=$ac_top_build_prefix 15111 15112case $srcdir in 15113 .) # We are building in place. 15114 ac_srcdir=. 15115 ac_top_srcdir=$ac_top_builddir_sub 15116 ac_abs_top_srcdir=$ac_pwd ;; 15117 [\\/]* | ?:[\\/]* ) # Absolute name. 15118 ac_srcdir=$srcdir$ac_dir_suffix; 15119 ac_top_srcdir=$srcdir 15120 ac_abs_top_srcdir=$srcdir ;; 15121 *) # Relative name. 15122 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 15123 ac_top_srcdir=$ac_top_build_prefix$srcdir 15124 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 15125esac 15126ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 15127 15128 15129 case $ac_mode in 15130 :F) 15131 # 15132 # CONFIG_FILE 15133 # 15134 15135 case $INSTALL in 15136 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 15137 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 15138 esac 15139 ac_MKDIR_P=$MKDIR_P 15140 case $MKDIR_P in 15141 [\\/$]* | ?:[\\/]* ) ;; 15142 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 15143 esac 15144_ACEOF 15145 15146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15147# If the template does not know about datarootdir, expand it. 15148# FIXME: This hack should be removed a few years after 2.60. 15149ac_datarootdir_hack=; ac_datarootdir_seen= 15150ac_sed_dataroot=' 15151/datarootdir/ { 15152 p 15153 q 15154} 15155/@datadir@/p 15156/@docdir@/p 15157/@infodir@/p 15158/@localedir@/p 15159/@mandir@/p' 15160case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 15161*datarootdir*) ac_datarootdir_seen=yes;; 15162*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 15163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 15164$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 15165_ACEOF 15166cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15167 ac_datarootdir_hack=' 15168 s&@datadir@&$datadir&g 15169 s&@docdir@&$docdir&g 15170 s&@infodir@&$infodir&g 15171 s&@localedir@&$localedir&g 15172 s&@mandir@&$mandir&g 15173 s&\\\${datarootdir}&$datarootdir&g' ;; 15174esac 15175_ACEOF 15176 15177# Neutralize VPATH when `$srcdir' = `.'. 15178# Shell code in configure.ac might set extrasub. 15179# FIXME: do we really want to maintain this feature? 15180cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 15181ac_sed_extra="$ac_vpsub 15182$extrasub 15183_ACEOF 15184cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 15185:t 15186/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 15187s|@configure_input@|$ac_sed_conf_input|;t t 15188s&@top_builddir@&$ac_top_builddir_sub&;t t 15189s&@top_build_prefix@&$ac_top_build_prefix&;t t 15190s&@srcdir@&$ac_srcdir&;t t 15191s&@abs_srcdir@&$ac_abs_srcdir&;t t 15192s&@top_srcdir@&$ac_top_srcdir&;t t 15193s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 15194s&@builddir@&$ac_builddir&;t t 15195s&@abs_builddir@&$ac_abs_builddir&;t t 15196s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 15197s&@INSTALL@&$ac_INSTALL&;t t 15198s&@MKDIR_P@&$ac_MKDIR_P&;t t 15199$ac_datarootdir_hack 15200" 15201eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 15202 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15203 15204test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 15205 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 15206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 15207 "$ac_tmp/out"`; test -z "$ac_out"; } && 15208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15209which seems to be undefined. Please make sure it is defined" >&5 15210$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 15211which seems to be undefined. Please make sure it is defined" >&2;} 15212 15213 rm -f "$ac_tmp/stdin" 15214 case $ac_file in 15215 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 15216 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 15217 esac \ 15218 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15219 ;; 15220 :H) 15221 # 15222 # CONFIG_HEADER 15223 # 15224 if test x"$ac_file" != x-; then 15225 { 15226 $as_echo "/* $configure_input */" \ 15227 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 15228 } >"$ac_tmp/config.h" \ 15229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15230 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 15231 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 15232$as_echo "$as_me: $ac_file is unchanged" >&6;} 15233 else 15234 rm -f "$ac_file" 15235 mv "$ac_tmp/config.h" "$ac_file" \ 15236 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 15237 fi 15238 else 15239 $as_echo "/* $configure_input */" \ 15240 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 15241 || as_fn_error $? "could not create -" "$LINENO" 5 15242 fi 15243# Compute "$ac_file"'s index in $config_headers. 15244_am_arg="$ac_file" 15245_am_stamp_count=1 15246for _am_header in $config_headers :; do 15247 case $_am_header in 15248 $_am_arg | $_am_arg:* ) 15249 break ;; 15250 * ) 15251 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 15252 esac 15253done 15254echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 15255$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15256 X"$_am_arg" : 'X\(//\)[^/]' \| \ 15257 X"$_am_arg" : 'X\(//\)$' \| \ 15258 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 15259$as_echo X"$_am_arg" | 15260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15261 s//\1/ 15262 q 15263 } 15264 /^X\(\/\/\)[^/].*/{ 15265 s//\1/ 15266 q 15267 } 15268 /^X\(\/\/\)$/{ 15269 s//\1/ 15270 q 15271 } 15272 /^X\(\/\).*/{ 15273 s//\1/ 15274 q 15275 } 15276 s/.*/./; q'`/stamp-h$_am_stamp_count 15277 ;; 15278 15279 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 15280$as_echo "$as_me: executing $ac_file commands" >&6;} 15281 ;; 15282 esac 15283 15284 15285 case $ac_file$ac_mode in 15286 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 15287 # Older Autoconf quotes --file arguments for eval, but not when files 15288 # are listed without --file. Let's play safe and only enable the eval 15289 # if we detect the quoting. 15290 case $CONFIG_FILES in 15291 *\'*) eval set x "$CONFIG_FILES" ;; 15292 *) set x $CONFIG_FILES ;; 15293 esac 15294 shift 15295 for mf 15296 do 15297 # Strip MF so we end up with the name of the file. 15298 mf=`echo "$mf" | sed -e 's/:.*$//'` 15299 # Check whether this is an Automake generated Makefile or not. 15300 # We used to match only the files named 'Makefile.in', but 15301 # some people rename them; so instead we look at the file content. 15302 # Grep'ing the first line is not enough: some people post-process 15303 # each Makefile.in and add a new line on top of each file to say so. 15304 # Grep'ing the whole file is not good either: AIX grep has a line 15305 # limit of 2048, but all sed's we know have understand at least 4000. 15306 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 15307 dirpart=`$as_dirname -- "$mf" || 15308$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15309 X"$mf" : 'X\(//\)[^/]' \| \ 15310 X"$mf" : 'X\(//\)$' \| \ 15311 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 15312$as_echo X"$mf" | 15313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15314 s//\1/ 15315 q 15316 } 15317 /^X\(\/\/\)[^/].*/{ 15318 s//\1/ 15319 q 15320 } 15321 /^X\(\/\/\)$/{ 15322 s//\1/ 15323 q 15324 } 15325 /^X\(\/\).*/{ 15326 s//\1/ 15327 q 15328 } 15329 s/.*/./; q'` 15330 else 15331 continue 15332 fi 15333 # Extract the definition of DEPDIR, am__include, and am__quote 15334 # from the Makefile without running 'make'. 15335 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15336 test -z "$DEPDIR" && continue 15337 am__include=`sed -n 's/^am__include = //p' < "$mf"` 15338 test -z "$am__include" && continue 15339 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 15340 # Find all dependency output files, they are included files with 15341 # $(DEPDIR) in their names. We invoke sed twice because it is the 15342 # simplest approach to changing $(DEPDIR) to its actual value in the 15343 # expansion. 15344 for file in `sed -n " 15345 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 15346 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 15347 # Make sure the directory exists. 15348 test -f "$dirpart/$file" && continue 15349 fdir=`$as_dirname -- "$file" || 15350$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 15351 X"$file" : 'X\(//\)[^/]' \| \ 15352 X"$file" : 'X\(//\)$' \| \ 15353 X"$file" : 'X\(/\)' \| . 2>/dev/null || 15354$as_echo X"$file" | 15355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 15356 s//\1/ 15357 q 15358 } 15359 /^X\(\/\/\)[^/].*/{ 15360 s//\1/ 15361 q 15362 } 15363 /^X\(\/\/\)$/{ 15364 s//\1/ 15365 q 15366 } 15367 /^X\(\/\).*/{ 15368 s//\1/ 15369 q 15370 } 15371 s/.*/./; q'` 15372 as_dir=$dirpart/$fdir; as_fn_mkdir_p 15373 # echo "creating $dirpart/$file" 15374 echo '# dummy' > "$dirpart/$file" 15375 done 15376 done 15377} 15378 ;; 15379 "libtool":C) 15380 15381 # See if we are running on zsh, and set the options which allow our 15382 # commands through without removal of \ escapes. 15383 if test -n "${ZSH_VERSION+set}" ; then 15384 setopt NO_GLOB_SUBST 15385 fi 15386 15387 cfgfile="${ofile}T" 15388 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 15389 $RM "$cfgfile" 15390 15391 cat <<_LT_EOF >> "$cfgfile" 15392#! $SHELL 15393 15394# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 15395# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 15396# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 15397# NOTE: Changes made to this file will be lost: look at ltmain.sh. 15398# 15399# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 15400# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 15401# Foundation, Inc. 15402# Written by Gordon Matzigkeit, 1996 15403# 15404# This file is part of GNU Libtool. 15405# 15406# GNU Libtool is free software; you can redistribute it and/or 15407# modify it under the terms of the GNU General Public License as 15408# published by the Free Software Foundation; either version 2 of 15409# the License, or (at your option) any later version. 15410# 15411# As a special exception to the GNU General Public License, 15412# if you distribute this file as part of a program or library that 15413# is built using GNU Libtool, you may include this file under the 15414# same distribution terms that you use for the rest of that program. 15415# 15416# GNU Libtool is distributed in the hope that it will be useful, 15417# but WITHOUT ANY WARRANTY; without even the implied warranty of 15418# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15419# GNU General Public License for more details. 15420# 15421# You should have received a copy of the GNU General Public License 15422# along with GNU Libtool; see the file COPYING. If not, a copy 15423# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 15424# obtained by writing to the Free Software Foundation, Inc., 15425# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 15426 15427 15428# The names of the tagged configurations supported by this script. 15429available_tags="" 15430 15431# ### BEGIN LIBTOOL CONFIG 15432 15433# Assembler program. 15434AS=$lt_AS 15435 15436# DLL creation program. 15437DLLTOOL=$lt_DLLTOOL 15438 15439# Object dumper program. 15440OBJDUMP=$lt_OBJDUMP 15441 15442# Which release of libtool.m4 was used? 15443macro_version=$macro_version 15444macro_revision=$macro_revision 15445 15446# Whether or not to build shared libraries. 15447build_libtool_libs=$enable_shared 15448 15449# Whether or not to build static libraries. 15450build_old_libs=$enable_static 15451 15452# What type of objects to build. 15453pic_mode=$pic_mode 15454 15455# Whether or not to optimize for fast installation. 15456fast_install=$enable_fast_install 15457 15458# Shell to use when invoking shell scripts. 15459SHELL=$lt_SHELL 15460 15461# An echo program that protects backslashes. 15462ECHO=$lt_ECHO 15463 15464# The PATH separator for the build system. 15465PATH_SEPARATOR=$lt_PATH_SEPARATOR 15466 15467# The host system. 15468host_alias=$host_alias 15469host=$host 15470host_os=$host_os 15471 15472# The build system. 15473build_alias=$build_alias 15474build=$build 15475build_os=$build_os 15476 15477# A sed program that does not truncate output. 15478SED=$lt_SED 15479 15480# Sed that helps us avoid accidentally triggering echo(1) options like -n. 15481Xsed="\$SED -e 1s/^X//" 15482 15483# A grep program that handles long lines. 15484GREP=$lt_GREP 15485 15486# An ERE matcher. 15487EGREP=$lt_EGREP 15488 15489# A literal string matcher. 15490FGREP=$lt_FGREP 15491 15492# A BSD- or MS-compatible name lister. 15493NM=$lt_NM 15494 15495# Whether we need soft or hard links. 15496LN_S=$lt_LN_S 15497 15498# What is the maximum length of a command? 15499max_cmd_len=$max_cmd_len 15500 15501# Object file suffix (normally "o"). 15502objext=$ac_objext 15503 15504# Executable file suffix (normally ""). 15505exeext=$exeext 15506 15507# whether the shell understands "unset". 15508lt_unset=$lt_unset 15509 15510# turn spaces into newlines. 15511SP2NL=$lt_lt_SP2NL 15512 15513# turn newlines into spaces. 15514NL2SP=$lt_lt_NL2SP 15515 15516# convert \$build file names to \$host format. 15517to_host_file_cmd=$lt_cv_to_host_file_cmd 15518 15519# convert \$build files to toolchain format. 15520to_tool_file_cmd=$lt_cv_to_tool_file_cmd 15521 15522# Method to check whether dependent libraries are shared objects. 15523deplibs_check_method=$lt_deplibs_check_method 15524 15525# Command to use when deplibs_check_method = "file_magic". 15526file_magic_cmd=$lt_file_magic_cmd 15527 15528# How to find potential files when deplibs_check_method = "file_magic". 15529file_magic_glob=$lt_file_magic_glob 15530 15531# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 15532want_nocaseglob=$lt_want_nocaseglob 15533 15534# Command to associate shared and link libraries. 15535sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 15536 15537# The archiver. 15538AR=$lt_AR 15539 15540# Flags to create an archive. 15541AR_FLAGS=$lt_AR_FLAGS 15542 15543# How to feed a file listing to the archiver. 15544archiver_list_spec=$lt_archiver_list_spec 15545 15546# A symbol stripping program. 15547STRIP=$lt_STRIP 15548 15549# Commands used to install an old-style archive. 15550RANLIB=$lt_RANLIB 15551old_postinstall_cmds=$lt_old_postinstall_cmds 15552old_postuninstall_cmds=$lt_old_postuninstall_cmds 15553 15554# Whether to use a lock for old archive extraction. 15555lock_old_archive_extraction=$lock_old_archive_extraction 15556 15557# A C compiler. 15558LTCC=$lt_CC 15559 15560# LTCC compiler flags. 15561LTCFLAGS=$lt_CFLAGS 15562 15563# Take the output of nm and produce a listing of raw symbols and C names. 15564global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 15565 15566# Transform the output of nm in a proper C declaration. 15567global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 15568 15569# Transform the output of nm in a C name address pair. 15570global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 15571 15572# Transform the output of nm in a C name address pair when lib prefix is needed. 15573global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 15574 15575# Specify filename containing input files for \$NM. 15576nm_file_list_spec=$lt_nm_file_list_spec 15577 15578# The root where to search for dependent libraries,and in which our libraries should be installed. 15579lt_sysroot=$lt_sysroot 15580 15581# The name of the directory that contains temporary libtool files. 15582objdir=$objdir 15583 15584# Used to examine libraries when file_magic_cmd begins with "file". 15585MAGIC_CMD=$MAGIC_CMD 15586 15587# Must we lock files when doing compilation? 15588need_locks=$lt_need_locks 15589 15590# Manifest tool. 15591MANIFEST_TOOL=$lt_MANIFEST_TOOL 15592 15593# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 15594DSYMUTIL=$lt_DSYMUTIL 15595 15596# Tool to change global to local symbols on Mac OS X. 15597NMEDIT=$lt_NMEDIT 15598 15599# Tool to manipulate fat objects and archives on Mac OS X. 15600LIPO=$lt_LIPO 15601 15602# ldd/readelf like tool for Mach-O binaries on Mac OS X. 15603OTOOL=$lt_OTOOL 15604 15605# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 15606OTOOL64=$lt_OTOOL64 15607 15608# Old archive suffix (normally "a"). 15609libext=$libext 15610 15611# Shared library suffix (normally ".so"). 15612shrext_cmds=$lt_shrext_cmds 15613 15614# The commands to extract the exported symbol list from a shared archive. 15615extract_expsyms_cmds=$lt_extract_expsyms_cmds 15616 15617# Variables whose values should be saved in libtool wrapper scripts and 15618# restored at link time. 15619variables_saved_for_relink=$lt_variables_saved_for_relink 15620 15621# Do we need the "lib" prefix for modules? 15622need_lib_prefix=$need_lib_prefix 15623 15624# Do we need a version for libraries? 15625need_version=$need_version 15626 15627# Library versioning type. 15628version_type=$version_type 15629 15630# Shared library runtime path variable. 15631runpath_var=$runpath_var 15632 15633# Shared library path variable. 15634shlibpath_var=$shlibpath_var 15635 15636# Is shlibpath searched before the hard-coded library search path? 15637shlibpath_overrides_runpath=$shlibpath_overrides_runpath 15638 15639# Format of library name prefix. 15640libname_spec=$lt_libname_spec 15641 15642# List of archive names. First name is the real one, the rest are links. 15643# The last name is the one that the linker finds with -lNAME 15644library_names_spec=$lt_library_names_spec 15645 15646# The coded name of the library, if different from the real name. 15647soname_spec=$lt_soname_spec 15648 15649# Permission mode override for installation of shared libraries. 15650install_override_mode=$lt_install_override_mode 15651 15652# Command to use after installation of a shared archive. 15653postinstall_cmds=$lt_postinstall_cmds 15654 15655# Command to use after uninstallation of a shared archive. 15656postuninstall_cmds=$lt_postuninstall_cmds 15657 15658# Commands used to finish a libtool library installation in a directory. 15659finish_cmds=$lt_finish_cmds 15660 15661# As "finish_cmds", except a single script fragment to be evaled but 15662# not shown. 15663finish_eval=$lt_finish_eval 15664 15665# Whether we should hardcode library paths into libraries. 15666hardcode_into_libs=$hardcode_into_libs 15667 15668# Compile-time system search path for libraries. 15669sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 15670 15671# Run-time system search path for libraries. 15672sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 15673 15674# Whether dlopen is supported. 15675dlopen_support=$enable_dlopen 15676 15677# Whether dlopen of programs is supported. 15678dlopen_self=$enable_dlopen_self 15679 15680# Whether dlopen of statically linked programs is supported. 15681dlopen_self_static=$enable_dlopen_self_static 15682 15683# Commands to strip libraries. 15684old_striplib=$lt_old_striplib 15685striplib=$lt_striplib 15686 15687 15688# The linker used to build libraries. 15689LD=$lt_LD 15690 15691# How to create reloadable object files. 15692reload_flag=$lt_reload_flag 15693reload_cmds=$lt_reload_cmds 15694 15695# Commands used to build an old-style archive. 15696old_archive_cmds=$lt_old_archive_cmds 15697 15698# A language specific compiler. 15699CC=$lt_compiler 15700 15701# Is the compiler the GNU compiler? 15702with_gcc=$GCC 15703 15704# Compiler flag to turn off builtin functions. 15705no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 15706 15707# Additional compiler flags for building library objects. 15708pic_flag=$lt_lt_prog_compiler_pic 15709 15710# How to pass a linker flag through the compiler. 15711wl=$lt_lt_prog_compiler_wl 15712 15713# Compiler flag to prevent dynamic linking. 15714link_static_flag=$lt_lt_prog_compiler_static 15715 15716# Does compiler simultaneously support -c and -o options? 15717compiler_c_o=$lt_lt_cv_prog_compiler_c_o 15718 15719# Whether or not to add -lc for building shared libraries. 15720build_libtool_need_lc=$archive_cmds_need_lc 15721 15722# Whether or not to disallow shared libs when runtime libs are static. 15723allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 15724 15725# Compiler flag to allow reflexive dlopens. 15726export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 15727 15728# Compiler flag to generate shared objects directly from archives. 15729whole_archive_flag_spec=$lt_whole_archive_flag_spec 15730 15731# Whether the compiler copes with passing no objects directly. 15732compiler_needs_object=$lt_compiler_needs_object 15733 15734# Create an old-style archive from a shared archive. 15735old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 15736 15737# Create a temporary old-style archive to link instead of a shared archive. 15738old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 15739 15740# Commands used to build a shared archive. 15741archive_cmds=$lt_archive_cmds 15742archive_expsym_cmds=$lt_archive_expsym_cmds 15743 15744# Commands used to build a loadable module if different from building 15745# a shared archive. 15746module_cmds=$lt_module_cmds 15747module_expsym_cmds=$lt_module_expsym_cmds 15748 15749# Whether we are building with GNU ld or not. 15750with_gnu_ld=$lt_with_gnu_ld 15751 15752# Flag that allows shared libraries with undefined symbols to be built. 15753allow_undefined_flag=$lt_allow_undefined_flag 15754 15755# Flag that enforces no undefined symbols. 15756no_undefined_flag=$lt_no_undefined_flag 15757 15758# Flag to hardcode \$libdir into a binary during linking. 15759# This must work even if \$libdir does not exist 15760hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 15761 15762# Whether we need a single "-rpath" flag with a separated argument. 15763hardcode_libdir_separator=$lt_hardcode_libdir_separator 15764 15765# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15766# DIR into the resulting binary. 15767hardcode_direct=$hardcode_direct 15768 15769# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 15770# DIR into the resulting binary and the resulting library dependency is 15771# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 15772# library is relocated. 15773hardcode_direct_absolute=$hardcode_direct_absolute 15774 15775# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 15776# into the resulting binary. 15777hardcode_minus_L=$hardcode_minus_L 15778 15779# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 15780# into the resulting binary. 15781hardcode_shlibpath_var=$hardcode_shlibpath_var 15782 15783# Set to "yes" if building a shared library automatically hardcodes DIR 15784# into the library and all subsequent libraries and executables linked 15785# against it. 15786hardcode_automatic=$hardcode_automatic 15787 15788# Set to yes if linker adds runtime paths of dependent libraries 15789# to runtime path list. 15790inherit_rpath=$inherit_rpath 15791 15792# Whether libtool must link a program against all its dependency libraries. 15793link_all_deplibs=$link_all_deplibs 15794 15795# Set to "yes" if exported symbols are required. 15796always_export_symbols=$always_export_symbols 15797 15798# The commands to list exported symbols. 15799export_symbols_cmds=$lt_export_symbols_cmds 15800 15801# Symbols that should not be listed in the preloaded symbols. 15802exclude_expsyms=$lt_exclude_expsyms 15803 15804# Symbols that must always be exported. 15805include_expsyms=$lt_include_expsyms 15806 15807# Commands necessary for linking programs (against libraries) with templates. 15808prelink_cmds=$lt_prelink_cmds 15809 15810# Commands necessary for finishing linking programs. 15811postlink_cmds=$lt_postlink_cmds 15812 15813# Specify filename containing input files. 15814file_list_spec=$lt_file_list_spec 15815 15816# How to hardcode a shared library path into an executable. 15817hardcode_action=$hardcode_action 15818 15819# ### END LIBTOOL CONFIG 15820 15821_LT_EOF 15822 15823 case $host_os in 15824 aix3*) 15825 cat <<\_LT_EOF >> "$cfgfile" 15826# AIX sometimes has problems with the GCC collect2 program. For some 15827# reason, if we set the COLLECT_NAMES environment variable, the problems 15828# vanish in a puff of smoke. 15829if test "X${COLLECT_NAMES+set}" != Xset; then 15830 COLLECT_NAMES= 15831 export COLLECT_NAMES 15832fi 15833_LT_EOF 15834 ;; 15835 esac 15836 15837 15838ltmain="$ac_aux_dir/ltmain.sh" 15839 15840 15841 # We use sed instead of cat because bash on DJGPP gets confused if 15842 # if finds mixed CR/LF and LF-only lines. Since sed operates in 15843 # text mode, it properly converts lines to CR/LF. This bash problem 15844 # is reportedly fixed, but why not run on old versions too? 15845 sed '$q' "$ltmain" >> "$cfgfile" \ 15846 || (rm -f "$cfgfile"; exit 1) 15847 15848 if test x"$xsi_shell" = xyes; then 15849 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 15850func_dirname ()\ 15851{\ 15852\ case ${1} in\ 15853\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15854\ * ) func_dirname_result="${3}" ;;\ 15855\ esac\ 15856} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 15857 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15858 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15859test 0 -eq $? || _lt_function_replace_fail=: 15860 15861 15862 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 15863func_basename ()\ 15864{\ 15865\ func_basename_result="${1##*/}"\ 15866} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15867 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15868 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15869test 0 -eq $? || _lt_function_replace_fail=: 15870 15871 15872 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 15873func_dirname_and_basename ()\ 15874{\ 15875\ case ${1} in\ 15876\ */*) func_dirname_result="${1%/*}${2}" ;;\ 15877\ * ) func_dirname_result="${3}" ;;\ 15878\ esac\ 15879\ func_basename_result="${1##*/}"\ 15880} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 15881 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15882 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15883test 0 -eq $? || _lt_function_replace_fail=: 15884 15885 15886 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 15887func_stripname ()\ 15888{\ 15889\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 15890\ # positional parameters, so assign one to ordinary parameter first.\ 15891\ func_stripname_result=${3}\ 15892\ func_stripname_result=${func_stripname_result#"${1}"}\ 15893\ func_stripname_result=${func_stripname_result%"${2}"}\ 15894} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 15895 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15896 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15897test 0 -eq $? || _lt_function_replace_fail=: 15898 15899 15900 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 15901func_split_long_opt ()\ 15902{\ 15903\ func_split_long_opt_name=${1%%=*}\ 15904\ func_split_long_opt_arg=${1#*=}\ 15905} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15906 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15907 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15908test 0 -eq $? || _lt_function_replace_fail=: 15909 15910 15911 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 15912func_split_short_opt ()\ 15913{\ 15914\ func_split_short_opt_arg=${1#??}\ 15915\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 15916} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 15917 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15918 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15919test 0 -eq $? || _lt_function_replace_fail=: 15920 15921 15922 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 15923func_lo2o ()\ 15924{\ 15925\ case ${1} in\ 15926\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 15927\ *) func_lo2o_result=${1} ;;\ 15928\ esac\ 15929} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 15930 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15931 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15932test 0 -eq $? || _lt_function_replace_fail=: 15933 15934 15935 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 15936func_xform ()\ 15937{\ 15938 func_xform_result=${1%.*}.lo\ 15939} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 15940 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15941 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15942test 0 -eq $? || _lt_function_replace_fail=: 15943 15944 15945 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 15946func_arith ()\ 15947{\ 15948 func_arith_result=$(( $* ))\ 15949} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 15950 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15951 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15952test 0 -eq $? || _lt_function_replace_fail=: 15953 15954 15955 sed -e '/^func_len ()$/,/^} # func_len /c\ 15956func_len ()\ 15957{\ 15958 func_len_result=${#1}\ 15959} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 15960 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15961 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15962test 0 -eq $? || _lt_function_replace_fail=: 15963 15964fi 15965 15966if test x"$lt_shell_append" = xyes; then 15967 sed -e '/^func_append ()$/,/^} # func_append /c\ 15968func_append ()\ 15969{\ 15970 eval "${1}+=\\${2}"\ 15971} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 15972 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15973 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15974test 0 -eq $? || _lt_function_replace_fail=: 15975 15976 15977 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 15978func_append_quoted ()\ 15979{\ 15980\ func_quote_for_eval "${2}"\ 15981\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 15982} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 15983 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15984 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15985test 0 -eq $? || _lt_function_replace_fail=: 15986 15987 15988 # Save a `func_append' function call where possible by direct use of '+=' 15989 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 15990 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15991 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15992 test 0 -eq $? || _lt_function_replace_fail=: 15993else 15994 # Save a `func_append' function call even when '+=' is not available 15995 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 15996 && mv -f "$cfgfile.tmp" "$cfgfile" \ 15997 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 15998 test 0 -eq $? || _lt_function_replace_fail=: 15999fi 16000 16001if test x"$_lt_function_replace_fail" = x":"; then 16002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 16003$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 16004fi 16005 16006 16007 mv -f "$cfgfile" "$ofile" || 16008 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 16009 chmod +x "$ofile" 16010 16011 ;; 16012 16013 esac 16014done # for ac_tag 16015 16016 16017as_fn_exit 0 16018_ACEOF 16019ac_clean_files=$ac_clean_files_save 16020 16021test $ac_write_fail = 0 || 16022 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 16023 16024 16025# configure is writing to config.log, and then calls config.status. 16026# config.status does its own redirection, appending to config.log. 16027# Unfortunately, on DOS this fails, as config.log is still kept open 16028# by configure, so config.status won't be able to write to it; its 16029# output is simply discarded. So we exec the FD to /dev/null, 16030# effectively closing config.log, so it can be properly (re)opened and 16031# appended to by config.status. When coming back to configure, we 16032# need to make the FD available again. 16033if test "$no_create" != yes; then 16034 ac_cs_success=: 16035 ac_config_status_args= 16036 test "$silent" = yes && 16037 ac_config_status_args="$ac_config_status_args --quiet" 16038 exec 5>/dev/null 16039 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 16040 exec 5>>config.log 16041 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 16042 # would make configure fail if this is the last instruction. 16043 $ac_cs_success || as_fn_exit 1 16044fi 16045if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 16046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 16047$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 16048fi 16049 16050 16051echo "Type \"make; make install\" to compile and install Speex"; 16052