1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for vo-aacenc 0.1.3. 4# 5# Report bugs to <http://sourceforge.net/projects/opencore-amr/>. 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 278$0: http://sourceforge.net/projects/opencore-amr/ about 279$0: your system, including any error possibly output before 280$0: this message. Then install a modern shell, or manually 281$0: run the script under such a shell if you do 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='vo-aacenc' 592PACKAGE_TARNAME='vo-aacenc' 593PACKAGE_VERSION='0.1.3' 594PACKAGE_STRING='vo-aacenc 0.1.3' 595PACKAGE_BUGREPORT='http://sourceforge.net/projects/opencore-amr/' 596PACKAGE_URL='' 597 598# Factoring default headers for most tests. 599ac_includes_default="\ 600#include <stdio.h> 601#ifdef HAVE_SYS_TYPES_H 602# include <sys/types.h> 603#endif 604#ifdef HAVE_SYS_STAT_H 605# include <sys/stat.h> 606#endif 607#ifdef STDC_HEADERS 608# include <stdlib.h> 609# include <stddef.h> 610#else 611# ifdef HAVE_STDLIB_H 612# include <stdlib.h> 613# endif 614#endif 615#ifdef HAVE_STRING_H 616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 617# include <memory.h> 618# endif 619# include <string.h> 620#endif 621#ifdef HAVE_STRINGS_H 622# include <strings.h> 623#endif 624#ifdef HAVE_INTTYPES_H 625# include <inttypes.h> 626#endif 627#ifdef HAVE_STDINT_H 628# include <stdint.h> 629#endif 630#ifdef HAVE_UNISTD_H 631# include <unistd.h> 632#endif" 633 634ac_subst_vars='am__EXEEXT_FALSE 635am__EXEEXT_TRUE 636LTLIBOBJS 637LIBOBJS 638VO_AACENC_VERSION 639CPP 640OTOOL64 641OTOOL 642LIPO 643NMEDIT 644DSYMUTIL 645MANIFEST_TOOL 646RANLIB 647ac_ct_AR 648AR 649DLLTOOL 650OBJDUMP 651LN_S 652NM 653ac_ct_DUMPBIN 654DUMPBIN 655LD 656FGREP 657EGREP 658GREP 659SED 660host_os 661host_vendor 662host_cpu 663host 664build_os 665build_vendor 666build_cpu 667build 668LIBTOOL 669am__fastdepCCAS_FALSE 670am__fastdepCCAS_TRUE 671CCASDEPMODE 672CCASFLAGS 673CCAS 674am__fastdepCC_FALSE 675am__fastdepCC_TRUE 676CCDEPMODE 677am__nodep 678AMDEPBACKSLASH 679AMDEP_FALSE 680AMDEP_TRUE 681am__quote 682am__include 683DEPDIR 684OBJEXT 685EXEEXT 686ac_ct_CC 687CPPFLAGS 688LDFLAGS 689CFLAGS 690CC 691EXAMPLE_FALSE 692EXAMPLE_TRUE 693ARMV7NEON_FALSE 694ARMV7NEON_TRUE 695ARMV5E_FALSE 696ARMV5E_TRUE 697MAINT 698MAINTAINER_MODE_FALSE 699MAINTAINER_MODE_TRUE 700AM_BACKSLASH 701AM_DEFAULT_VERBOSITY 702AM_DEFAULT_V 703AM_V 704am__untar 705am__tar 706AMTAR 707am__leading_dot 708SET_MAKE 709AWK 710mkdir_p 711MKDIR_P 712INSTALL_STRIP_PROGRAM 713STRIP 714install_sh 715MAKEINFO 716AUTOHEADER 717AUTOMAKE 718AUTOCONF 719ACLOCAL 720VERSION 721PACKAGE 722CYGPATH_W 723am__isrc 724INSTALL_DATA 725INSTALL_SCRIPT 726INSTALL_PROGRAM 727target_alias 728host_alias 729build_alias 730LIBS 731ECHO_T 732ECHO_N 733ECHO_C 734DEFS 735mandir 736localedir 737libdir 738psdir 739pdfdir 740dvidir 741htmldir 742infodir 743docdir 744oldincludedir 745includedir 746localstatedir 747sharedstatedir 748sysconfdir 749datadir 750datarootdir 751libexecdir 752sbindir 753bindir 754program_transform_name 755prefix 756exec_prefix 757PACKAGE_URL 758PACKAGE_BUGREPORT 759PACKAGE_STRING 760PACKAGE_VERSION 761PACKAGE_TARNAME 762PACKAGE_NAME 763PATH_SEPARATOR 764SHELL' 765ac_subst_files='' 766ac_user_opts=' 767enable_option_checking 768enable_silent_rules 769enable_maintainer_mode 770enable_armv5e 771enable_armv7neon 772enable_example 773enable_dependency_tracking 774enable_shared 775enable_static 776with_pic 777enable_fast_install 778with_gnu_ld 779with_sysroot 780enable_libtool_lock 781' 782 ac_precious_vars='build_alias 783host_alias 784target_alias 785CC 786CFLAGS 787LDFLAGS 788LIBS 789CPPFLAGS 790CCAS 791CCASFLAGS 792CPP' 793 794 795# Initialize some variables set by options. 796ac_init_help= 797ac_init_version=false 798ac_unrecognized_opts= 799ac_unrecognized_sep= 800# The variables have the same names as the options, with 801# dashes changed to underlines. 802cache_file=/dev/null 803exec_prefix=NONE 804no_create= 805no_recursion= 806prefix=NONE 807program_prefix=NONE 808program_suffix=NONE 809program_transform_name=s,x,x, 810silent= 811site= 812srcdir= 813verbose= 814x_includes=NONE 815x_libraries=NONE 816 817# Installation directory options. 818# These are left unexpanded so users can "make install exec_prefix=/foo" 819# and all the variables that are supposed to be based on exec_prefix 820# by default will actually change. 821# Use braces instead of parens because sh, perl, etc. also accept them. 822# (The list follows the same order as the GNU Coding Standards.) 823bindir='${exec_prefix}/bin' 824sbindir='${exec_prefix}/sbin' 825libexecdir='${exec_prefix}/libexec' 826datarootdir='${prefix}/share' 827datadir='${datarootdir}' 828sysconfdir='${prefix}/etc' 829sharedstatedir='${prefix}/com' 830localstatedir='${prefix}/var' 831includedir='${prefix}/include' 832oldincludedir='/usr/include' 833docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 834infodir='${datarootdir}/info' 835htmldir='${docdir}' 836dvidir='${docdir}' 837pdfdir='${docdir}' 838psdir='${docdir}' 839libdir='${exec_prefix}/lib' 840localedir='${datarootdir}/locale' 841mandir='${datarootdir}/man' 842 843ac_prev= 844ac_dashdash= 845for ac_option 846do 847 # If the previous option needs an argument, assign it. 848 if test -n "$ac_prev"; then 849 eval $ac_prev=\$ac_option 850 ac_prev= 851 continue 852 fi 853 854 case $ac_option in 855 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 856 *=) ac_optarg= ;; 857 *) ac_optarg=yes ;; 858 esac 859 860 # Accept the important Cygnus configure options, so we can diagnose typos. 861 862 case $ac_dashdash$ac_option in 863 --) 864 ac_dashdash=yes ;; 865 866 -bindir | --bindir | --bindi | --bind | --bin | --bi) 867 ac_prev=bindir ;; 868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 869 bindir=$ac_optarg ;; 870 871 -build | --build | --buil | --bui | --bu) 872 ac_prev=build_alias ;; 873 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 874 build_alias=$ac_optarg ;; 875 876 -cache-file | --cache-file | --cache-fil | --cache-fi \ 877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 878 ac_prev=cache_file ;; 879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 881 cache_file=$ac_optarg ;; 882 883 --config-cache | -C) 884 cache_file=config.cache ;; 885 886 -datadir | --datadir | --datadi | --datad) 887 ac_prev=datadir ;; 888 -datadir=* | --datadir=* | --datadi=* | --datad=*) 889 datadir=$ac_optarg ;; 890 891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 892 | --dataroo | --dataro | --datar) 893 ac_prev=datarootdir ;; 894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 896 datarootdir=$ac_optarg ;; 897 898 -disable-* | --disable-*) 899 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 900 # Reject names that are not valid shell variable names. 901 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 902 as_fn_error $? "invalid feature name: $ac_useropt" 903 ac_useropt_orig=$ac_useropt 904 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 905 case $ac_user_opts in 906 *" 907"enable_$ac_useropt" 908"*) ;; 909 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 910 ac_unrecognized_sep=', ';; 911 esac 912 eval enable_$ac_useropt=no ;; 913 914 -docdir | --docdir | --docdi | --doc | --do) 915 ac_prev=docdir ;; 916 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 917 docdir=$ac_optarg ;; 918 919 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 920 ac_prev=dvidir ;; 921 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 922 dvidir=$ac_optarg ;; 923 924 -enable-* | --enable-*) 925 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 926 # Reject names that are not valid shell variable names. 927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 928 as_fn_error $? "invalid feature name: $ac_useropt" 929 ac_useropt_orig=$ac_useropt 930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 931 case $ac_user_opts in 932 *" 933"enable_$ac_useropt" 934"*) ;; 935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 936 ac_unrecognized_sep=', ';; 937 esac 938 eval enable_$ac_useropt=\$ac_optarg ;; 939 940 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 941 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 942 | --exec | --exe | --ex) 943 ac_prev=exec_prefix ;; 944 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 945 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 946 | --exec=* | --exe=* | --ex=*) 947 exec_prefix=$ac_optarg ;; 948 949 -gas | --gas | --ga | --g) 950 # Obsolete; use --with-gas. 951 with_gas=yes ;; 952 953 -help | --help | --hel | --he | -h) 954 ac_init_help=long ;; 955 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 956 ac_init_help=recursive ;; 957 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 958 ac_init_help=short ;; 959 960 -host | --host | --hos | --ho) 961 ac_prev=host_alias ;; 962 -host=* | --host=* | --hos=* | --ho=*) 963 host_alias=$ac_optarg ;; 964 965 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 966 ac_prev=htmldir ;; 967 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 968 | --ht=*) 969 htmldir=$ac_optarg ;; 970 971 -includedir | --includedir | --includedi | --included | --include \ 972 | --includ | --inclu | --incl | --inc) 973 ac_prev=includedir ;; 974 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 975 | --includ=* | --inclu=* | --incl=* | --inc=*) 976 includedir=$ac_optarg ;; 977 978 -infodir | --infodir | --infodi | --infod | --info | --inf) 979 ac_prev=infodir ;; 980 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 981 infodir=$ac_optarg ;; 982 983 -libdir | --libdir | --libdi | --libd) 984 ac_prev=libdir ;; 985 -libdir=* | --libdir=* | --libdi=* | --libd=*) 986 libdir=$ac_optarg ;; 987 988 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 989 | --libexe | --libex | --libe) 990 ac_prev=libexecdir ;; 991 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 992 | --libexe=* | --libex=* | --libe=*) 993 libexecdir=$ac_optarg ;; 994 995 -localedir | --localedir | --localedi | --localed | --locale) 996 ac_prev=localedir ;; 997 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 998 localedir=$ac_optarg ;; 999 1000 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1001 | --localstate | --localstat | --localsta | --localst | --locals) 1002 ac_prev=localstatedir ;; 1003 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1004 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1005 localstatedir=$ac_optarg ;; 1006 1007 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1008 ac_prev=mandir ;; 1009 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1010 mandir=$ac_optarg ;; 1011 1012 -nfp | --nfp | --nf) 1013 # Obsolete; use --without-fp. 1014 with_fp=no ;; 1015 1016 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1017 | --no-cr | --no-c | -n) 1018 no_create=yes ;; 1019 1020 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1021 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1022 no_recursion=yes ;; 1023 1024 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1025 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1026 | --oldin | --oldi | --old | --ol | --o) 1027 ac_prev=oldincludedir ;; 1028 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1029 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1030 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1031 oldincludedir=$ac_optarg ;; 1032 1033 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1034 ac_prev=prefix ;; 1035 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1036 prefix=$ac_optarg ;; 1037 1038 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1039 | --program-pre | --program-pr | --program-p) 1040 ac_prev=program_prefix ;; 1041 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1042 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1043 program_prefix=$ac_optarg ;; 1044 1045 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1046 | --program-suf | --program-su | --program-s) 1047 ac_prev=program_suffix ;; 1048 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1049 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1050 program_suffix=$ac_optarg ;; 1051 1052 -program-transform-name | --program-transform-name \ 1053 | --program-transform-nam | --program-transform-na \ 1054 | --program-transform-n | --program-transform- \ 1055 | --program-transform | --program-transfor \ 1056 | --program-transfo | --program-transf \ 1057 | --program-trans | --program-tran \ 1058 | --progr-tra | --program-tr | --program-t) 1059 ac_prev=program_transform_name ;; 1060 -program-transform-name=* | --program-transform-name=* \ 1061 | --program-transform-nam=* | --program-transform-na=* \ 1062 | --program-transform-n=* | --program-transform-=* \ 1063 | --program-transform=* | --program-transfor=* \ 1064 | --program-transfo=* | --program-transf=* \ 1065 | --program-trans=* | --program-tran=* \ 1066 | --progr-tra=* | --program-tr=* | --program-t=*) 1067 program_transform_name=$ac_optarg ;; 1068 1069 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1070 ac_prev=pdfdir ;; 1071 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1072 pdfdir=$ac_optarg ;; 1073 1074 -psdir | --psdir | --psdi | --psd | --ps) 1075 ac_prev=psdir ;; 1076 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1077 psdir=$ac_optarg ;; 1078 1079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1080 | -silent | --silent | --silen | --sile | --sil) 1081 silent=yes ;; 1082 1083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1084 ac_prev=sbindir ;; 1085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1086 | --sbi=* | --sb=*) 1087 sbindir=$ac_optarg ;; 1088 1089 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1091 | --sharedst | --shareds | --shared | --share | --shar \ 1092 | --sha | --sh) 1093 ac_prev=sharedstatedir ;; 1094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1097 | --sha=* | --sh=*) 1098 sharedstatedir=$ac_optarg ;; 1099 1100 -site | --site | --sit) 1101 ac_prev=site ;; 1102 -site=* | --site=* | --sit=*) 1103 site=$ac_optarg ;; 1104 1105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1106 ac_prev=srcdir ;; 1107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1108 srcdir=$ac_optarg ;; 1109 1110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1111 | --syscon | --sysco | --sysc | --sys | --sy) 1112 ac_prev=sysconfdir ;; 1113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1115 sysconfdir=$ac_optarg ;; 1116 1117 -target | --target | --targe | --targ | --tar | --ta | --t) 1118 ac_prev=target_alias ;; 1119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1120 target_alias=$ac_optarg ;; 1121 1122 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1123 verbose=yes ;; 1124 1125 -version | --version | --versio | --versi | --vers | -V) 1126 ac_init_version=: ;; 1127 1128 -with-* | --with-*) 1129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1130 # Reject names that are not valid shell variable names. 1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1132 as_fn_error $? "invalid package name: $ac_useropt" 1133 ac_useropt_orig=$ac_useropt 1134 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135 case $ac_user_opts in 1136 *" 1137"with_$ac_useropt" 1138"*) ;; 1139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1140 ac_unrecognized_sep=', ';; 1141 esac 1142 eval with_$ac_useropt=\$ac_optarg ;; 1143 1144 -without-* | --without-*) 1145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1146 # Reject names that are not valid shell variable names. 1147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1148 as_fn_error $? "invalid package name: $ac_useropt" 1149 ac_useropt_orig=$ac_useropt 1150 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1151 case $ac_user_opts in 1152 *" 1153"with_$ac_useropt" 1154"*) ;; 1155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1156 ac_unrecognized_sep=', ';; 1157 esac 1158 eval with_$ac_useropt=no ;; 1159 1160 --x) 1161 # Obsolete; use --with-x. 1162 with_x=yes ;; 1163 1164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1165 | --x-incl | --x-inc | --x-in | --x-i) 1166 ac_prev=x_includes ;; 1167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1169 x_includes=$ac_optarg ;; 1170 1171 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1173 ac_prev=x_libraries ;; 1174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1176 x_libraries=$ac_optarg ;; 1177 1178 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1179Try \`$0 --help' for more information" 1180 ;; 1181 1182 *=*) 1183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1184 # Reject names that are not valid shell variable names. 1185 case $ac_envvar in #( 1186 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1188 esac 1189 eval $ac_envvar=\$ac_optarg 1190 export $ac_envvar ;; 1191 1192 *) 1193 # FIXME: should be removed in autoconf 3.0. 1194 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1196 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1198 ;; 1199 1200 esac 1201done 1202 1203if test -n "$ac_prev"; then 1204 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1205 as_fn_error $? "missing argument to $ac_option" 1206fi 1207 1208if test -n "$ac_unrecognized_opts"; then 1209 case $enable_option_checking in 1210 no) ;; 1211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1212 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1213 esac 1214fi 1215 1216# Check all directory arguments for consistency. 1217for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1218 datadir sysconfdir sharedstatedir localstatedir includedir \ 1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1220 libdir localedir mandir 1221do 1222 eval ac_val=\$$ac_var 1223 # Remove trailing slashes. 1224 case $ac_val in 1225 */ ) 1226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1227 eval $ac_var=\$ac_val;; 1228 esac 1229 # Be sure to have absolute directory names. 1230 case $ac_val in 1231 [\\/$]* | ?:[\\/]* ) continue;; 1232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1233 esac 1234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1235done 1236 1237# There might be people who depend on the old broken behavior: `$host' 1238# used to hold the argument of --host etc. 1239# FIXME: To remove some day. 1240build=$build_alias 1241host=$host_alias 1242target=$target_alias 1243 1244# FIXME: To remove some day. 1245if test "x$host_alias" != x; then 1246 if test "x$build_alias" = x; then 1247 cross_compiling=maybe 1248 elif test "x$build_alias" != "x$host_alias"; then 1249 cross_compiling=yes 1250 fi 1251fi 1252 1253ac_tool_prefix= 1254test -n "$host_alias" && ac_tool_prefix=$host_alias- 1255 1256test "$silent" = yes && exec 6>/dev/null 1257 1258 1259ac_pwd=`pwd` && test -n "$ac_pwd" && 1260ac_ls_di=`ls -di .` && 1261ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1262 as_fn_error $? "working directory cannot be determined" 1263test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1264 as_fn_error $? "pwd does not report name of working directory" 1265 1266 1267# Find the source files, if location was not specified. 1268if test -z "$srcdir"; then 1269 ac_srcdir_defaulted=yes 1270 # Try the directory containing this script, then the parent directory. 1271 ac_confdir=`$as_dirname -- "$as_myself" || 1272$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1273 X"$as_myself" : 'X\(//\)[^/]' \| \ 1274 X"$as_myself" : 'X\(//\)$' \| \ 1275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1276$as_echo X"$as_myself" | 1277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1278 s//\1/ 1279 q 1280 } 1281 /^X\(\/\/\)[^/].*/{ 1282 s//\1/ 1283 q 1284 } 1285 /^X\(\/\/\)$/{ 1286 s//\1/ 1287 q 1288 } 1289 /^X\(\/\).*/{ 1290 s//\1/ 1291 q 1292 } 1293 s/.*/./; q'` 1294 srcdir=$ac_confdir 1295 if test ! -r "$srcdir/$ac_unique_file"; then 1296 srcdir=.. 1297 fi 1298else 1299 ac_srcdir_defaulted=no 1300fi 1301if test ! -r "$srcdir/$ac_unique_file"; then 1302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1304fi 1305ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1306ac_abs_confdir=`( 1307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1308 pwd)` 1309# When building in place, set srcdir=. 1310if test "$ac_abs_confdir" = "$ac_pwd"; then 1311 srcdir=. 1312fi 1313# Remove unnecessary trailing slashes from srcdir. 1314# Double slashes in file names in object file debugging info 1315# mess up M-x gdb in Emacs. 1316case $srcdir in 1317*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1318esac 1319for ac_var in $ac_precious_vars; do 1320 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1321 eval ac_env_${ac_var}_value=\$${ac_var} 1322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1323 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1324done 1325 1326# 1327# Report the --help message. 1328# 1329if test "$ac_init_help" = "long"; then 1330 # Omit some internal or obsolete options to make the list less imposing. 1331 # This message is too long to be a string in the A/UX 3.1 sh. 1332 cat <<_ACEOF 1333\`configure' configures vo-aacenc 0.1.3 to adapt to many kinds of systems. 1334 1335Usage: $0 [OPTION]... [VAR=VALUE]... 1336 1337To assign environment variables (e.g., CC, CFLAGS...), specify them as 1338VAR=VALUE. See below for descriptions of some of the useful variables. 1339 1340Defaults for the options are specified in brackets. 1341 1342Configuration: 1343 -h, --help display this help and exit 1344 --help=short display options specific to this package 1345 --help=recursive display the short help of all the included packages 1346 -V, --version display version information and exit 1347 -q, --quiet, --silent do not print \`checking ...' messages 1348 --cache-file=FILE cache test results in FILE [disabled] 1349 -C, --config-cache alias for \`--cache-file=config.cache' 1350 -n, --no-create do not create output files 1351 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1352 1353Installation directories: 1354 --prefix=PREFIX install architecture-independent files in PREFIX 1355 [$ac_default_prefix] 1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1357 [PREFIX] 1358 1359By default, \`make install' will install all the files in 1360\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1361an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1362for instance \`--prefix=\$HOME'. 1363 1364For better control, use the options below. 1365 1366Fine tuning of the installation directories: 1367 --bindir=DIR user executables [EPREFIX/bin] 1368 --sbindir=DIR system admin executables [EPREFIX/sbin] 1369 --libexecdir=DIR program executables [EPREFIX/libexec] 1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1373 --libdir=DIR object code libraries [EPREFIX/lib] 1374 --includedir=DIR C header files [PREFIX/include] 1375 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1378 --infodir=DIR info documentation [DATAROOTDIR/info] 1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1380 --mandir=DIR man documentation [DATAROOTDIR/man] 1381 --docdir=DIR documentation root [DATAROOTDIR/doc/vo-aacenc] 1382 --htmldir=DIR html documentation [DOCDIR] 1383 --dvidir=DIR dvi documentation [DOCDIR] 1384 --pdfdir=DIR pdf documentation [DOCDIR] 1385 --psdir=DIR ps documentation [DOCDIR] 1386_ACEOF 1387 1388 cat <<\_ACEOF 1389 1390Program names: 1391 --program-prefix=PREFIX prepend PREFIX to installed program names 1392 --program-suffix=SUFFIX append SUFFIX to installed program names 1393 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1394 1395System types: 1396 --build=BUILD configure for building on BUILD [guessed] 1397 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1398_ACEOF 1399fi 1400 1401if test -n "$ac_init_help"; then 1402 case $ac_init_help in 1403 short | recursive ) echo "Configuration of vo-aacenc 0.1.3:";; 1404 esac 1405 cat <<\_ACEOF 1406 1407Optional Features: 1408 --disable-option-checking ignore unrecognized --enable/--with options 1409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1411 --enable-silent-rules less verbose build output (undo: `make V=1') 1412 --disable-silent-rules verbose build output (undo: `make V=0') 1413 --enable-maintainer-mode enable make rules and dependencies not useful 1414 (and sometimes confusing) to the casual installer 1415 --enable-armv5e enable ARMV5E assembler (default is no) 1416 --enable-armv7neon enable ARMV7 neon assembler (default is no) 1417 --enable-example enable example encoding program (default is no) 1418 --disable-dependency-tracking speeds up one-time build 1419 --enable-dependency-tracking do not reject slow dependency extractors 1420 --enable-shared[=PKGS] build shared libraries [default=yes] 1421 --enable-static[=PKGS] build static libraries [default=yes] 1422 --enable-fast-install[=PKGS] 1423 optimize for fast installation [default=yes] 1424 --disable-libtool-lock avoid locking (might break parallel builds) 1425 1426Optional Packages: 1427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1429 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1430 both] 1431 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1432 --with-sysroot=DIR Search for dependent libraries within DIR 1433 (or the compiler's sysroot if not specified). 1434 1435Some influential environment variables: 1436 CC C compiler command 1437 CFLAGS C compiler flags 1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1439 nonstandard directory <lib dir> 1440 LIBS libraries to pass to the linker, e.g. -l<library> 1441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1442 you have headers in a nonstandard directory <include dir> 1443 CCAS assembler compiler command (defaults to CC) 1444 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1445 CPP C preprocessor 1446 1447Use these variables to override the choices made by `configure' or to help 1448it to find libraries and programs with nonstandard names/locations. 1449 1450Report bugs to <http://sourceforge.net/projects/opencore-amr/>. 1451_ACEOF 1452ac_status=$? 1453fi 1454 1455if test "$ac_init_help" = "recursive"; then 1456 # If there are subdirs, report their specific --help. 1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1458 test -d "$ac_dir" || 1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1460 continue 1461 ac_builddir=. 1462 1463case "$ac_dir" in 1464.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1465*) 1466 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1467 # A ".." for each directory in $ac_dir_suffix. 1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1469 case $ac_top_builddir_sub in 1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1472 esac ;; 1473esac 1474ac_abs_top_builddir=$ac_pwd 1475ac_abs_builddir=$ac_pwd$ac_dir_suffix 1476# for backward compatibility: 1477ac_top_builddir=$ac_top_build_prefix 1478 1479case $srcdir in 1480 .) # We are building in place. 1481 ac_srcdir=. 1482 ac_top_srcdir=$ac_top_builddir_sub 1483 ac_abs_top_srcdir=$ac_pwd ;; 1484 [\\/]* | ?:[\\/]* ) # Absolute name. 1485 ac_srcdir=$srcdir$ac_dir_suffix; 1486 ac_top_srcdir=$srcdir 1487 ac_abs_top_srcdir=$srcdir ;; 1488 *) # Relative name. 1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1490 ac_top_srcdir=$ac_top_build_prefix$srcdir 1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1492esac 1493ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1494 1495 cd "$ac_dir" || { ac_status=$?; continue; } 1496 # Check for guested configure. 1497 if test -f "$ac_srcdir/configure.gnu"; then 1498 echo && 1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1500 elif test -f "$ac_srcdir/configure"; then 1501 echo && 1502 $SHELL "$ac_srcdir/configure" --help=recursive 1503 else 1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1505 fi || ac_status=$? 1506 cd "$ac_pwd" || { ac_status=$?; break; } 1507 done 1508fi 1509 1510test -n "$ac_init_help" && exit $ac_status 1511if $ac_init_version; then 1512 cat <<\_ACEOF 1513vo-aacenc configure 0.1.3 1514generated by GNU Autoconf 2.69 1515 1516Copyright (C) 2012 Free Software Foundation, Inc. 1517This configure script is free software; the Free Software Foundation 1518gives unlimited permission to copy, distribute and modify it. 1519_ACEOF 1520 exit 1521fi 1522 1523## ------------------------ ## 1524## Autoconf initialization. ## 1525## ------------------------ ## 1526 1527# ac_fn_c_try_compile LINENO 1528# -------------------------- 1529# Try to compile conftest.$ac_ext, and return whether this succeeded. 1530ac_fn_c_try_compile () 1531{ 1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1533 rm -f conftest.$ac_objext 1534 if { { ac_try="$ac_compile" 1535case "(($ac_try" in 1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1537 *) ac_try_echo=$ac_try;; 1538esac 1539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1540$as_echo "$ac_try_echo"; } >&5 1541 (eval "$ac_compile") 2>conftest.err 1542 ac_status=$? 1543 if test -s conftest.err; then 1544 grep -v '^ *+' conftest.err >conftest.er1 1545 cat conftest.er1 >&5 1546 mv -f conftest.er1 conftest.err 1547 fi 1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1549 test $ac_status = 0; } && { 1550 test -z "$ac_c_werror_flag" || 1551 test ! -s conftest.err 1552 } && test -s conftest.$ac_objext; then : 1553 ac_retval=0 1554else 1555 $as_echo "$as_me: failed program was:" >&5 1556sed 's/^/| /' conftest.$ac_ext >&5 1557 1558 ac_retval=1 1559fi 1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1561 as_fn_set_status $ac_retval 1562 1563} # ac_fn_c_try_compile 1564 1565# ac_fn_c_try_link LINENO 1566# ----------------------- 1567# Try to link conftest.$ac_ext, and return whether this succeeded. 1568ac_fn_c_try_link () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 rm -f conftest.$ac_objext conftest$ac_exeext 1572 if { { ac_try="$ac_link" 1573case "(($ac_try" in 1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1575 *) ac_try_echo=$ac_try;; 1576esac 1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1578$as_echo "$ac_try_echo"; } >&5 1579 (eval "$ac_link") 2>conftest.err 1580 ac_status=$? 1581 if test -s conftest.err; then 1582 grep -v '^ *+' conftest.err >conftest.er1 1583 cat conftest.er1 >&5 1584 mv -f conftest.er1 conftest.err 1585 fi 1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1587 test $ac_status = 0; } && { 1588 test -z "$ac_c_werror_flag" || 1589 test ! -s conftest.err 1590 } && test -s conftest$ac_exeext && { 1591 test "$cross_compiling" = yes || 1592 test -x conftest$ac_exeext 1593 }; then : 1594 ac_retval=0 1595else 1596 $as_echo "$as_me: failed program was:" >&5 1597sed 's/^/| /' conftest.$ac_ext >&5 1598 1599 ac_retval=1 1600fi 1601 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1602 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1603 # interfere with the next link command; also delete a directory that is 1604 # left behind by Apple's compiler. We do this before executing the actions. 1605 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1607 as_fn_set_status $ac_retval 1608 1609} # ac_fn_c_try_link 1610 1611# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1612# ------------------------------------------------------- 1613# Tests whether HEADER exists and can be compiled using the include files in 1614# INCLUDES, setting the cache variable VAR accordingly. 1615ac_fn_c_check_header_compile () 1616{ 1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1619$as_echo_n "checking for $2... " >&6; } 1620if eval \${$3+:} false; then : 1621 $as_echo_n "(cached) " >&6 1622else 1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1624/* end confdefs.h. */ 1625$4 1626#include <$2> 1627_ACEOF 1628if ac_fn_c_try_compile "$LINENO"; then : 1629 eval "$3=yes" 1630else 1631 eval "$3=no" 1632fi 1633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1634fi 1635eval ac_res=\$$3 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1637$as_echo "$ac_res" >&6; } 1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 1640} # ac_fn_c_check_header_compile 1641 1642# ac_fn_c_try_cpp LINENO 1643# ---------------------- 1644# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1645ac_fn_c_try_cpp () 1646{ 1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1648 if { { ac_try="$ac_cpp conftest.$ac_ext" 1649case "(($ac_try" in 1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1651 *) ac_try_echo=$ac_try;; 1652esac 1653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1654$as_echo "$ac_try_echo"; } >&5 1655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1656 ac_status=$? 1657 if test -s conftest.err; then 1658 grep -v '^ *+' conftest.err >conftest.er1 1659 cat conftest.er1 >&5 1660 mv -f conftest.er1 conftest.err 1661 fi 1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1663 test $ac_status = 0; } > conftest.i && { 1664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1665 test ! -s conftest.err 1666 }; then : 1667 ac_retval=0 1668else 1669 $as_echo "$as_me: failed program was:" >&5 1670sed 's/^/| /' conftest.$ac_ext >&5 1671 1672 ac_retval=1 1673fi 1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1675 as_fn_set_status $ac_retval 1676 1677} # ac_fn_c_try_cpp 1678 1679# ac_fn_c_try_run LINENO 1680# ---------------------- 1681# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1682# that executables *can* be run. 1683ac_fn_c_try_run () 1684{ 1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1686 if { { ac_try="$ac_link" 1687case "(($ac_try" in 1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1689 *) ac_try_echo=$ac_try;; 1690esac 1691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1692$as_echo "$ac_try_echo"; } >&5 1693 (eval "$ac_link") 2>&5 1694 ac_status=$? 1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1696 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1697 { { case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700esac 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702$as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_try") 2>&5 1704 ac_status=$? 1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1706 test $ac_status = 0; }; }; then : 1707 ac_retval=0 1708else 1709 $as_echo "$as_me: program exited with status $ac_status" >&5 1710 $as_echo "$as_me: failed program was:" >&5 1711sed 's/^/| /' conftest.$ac_ext >&5 1712 1713 ac_retval=$ac_status 1714fi 1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1717 as_fn_set_status $ac_retval 1718 1719} # ac_fn_c_try_run 1720 1721# ac_fn_c_check_func LINENO FUNC VAR 1722# ---------------------------------- 1723# Tests whether FUNC exists, setting the cache variable VAR accordingly 1724ac_fn_c_check_func () 1725{ 1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1728$as_echo_n "checking for $2... " >&6; } 1729if eval \${$3+:} false; then : 1730 $as_echo_n "(cached) " >&6 1731else 1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1733/* end confdefs.h. */ 1734/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1735 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1736#define $2 innocuous_$2 1737 1738/* System header to define __stub macros and hopefully few prototypes, 1739 which can conflict with char $2 (); below. 1740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1741 <limits.h> exists even on freestanding compilers. */ 1742 1743#ifdef __STDC__ 1744# include <limits.h> 1745#else 1746# include <assert.h> 1747#endif 1748 1749#undef $2 1750 1751/* Override any GCC internal prototype to avoid an error. 1752 Use char because int might match the return type of a GCC 1753 builtin and then its argument prototype would still apply. */ 1754#ifdef __cplusplus 1755extern "C" 1756#endif 1757char $2 (); 1758/* The GNU C library defines this for functions which it implements 1759 to always fail with ENOSYS. Some functions are actually named 1760 something starting with __ and the normal name is an alias. */ 1761#if defined __stub_$2 || defined __stub___$2 1762choke me 1763#endif 1764 1765int 1766main () 1767{ 1768return $2 (); 1769 ; 1770 return 0; 1771} 1772_ACEOF 1773if ac_fn_c_try_link "$LINENO"; then : 1774 eval "$3=yes" 1775else 1776 eval "$3=no" 1777fi 1778rm -f core conftest.err conftest.$ac_objext \ 1779 conftest$ac_exeext conftest.$ac_ext 1780fi 1781eval ac_res=\$$3 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1783$as_echo "$ac_res" >&6; } 1784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1785 1786} # ac_fn_c_check_func 1787cat >config.log <<_ACEOF 1788This file contains any messages produced by compilers while 1789running configure, to aid debugging if configure makes a mistake. 1790 1791It was created by vo-aacenc $as_me 0.1.3, which was 1792generated by GNU Autoconf 2.69. Invocation command line was 1793 1794 $ $0 $@ 1795 1796_ACEOF 1797exec 5>>config.log 1798{ 1799cat <<_ASUNAME 1800## --------- ## 1801## Platform. ## 1802## --------- ## 1803 1804hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1805uname -m = `(uname -m) 2>/dev/null || echo unknown` 1806uname -r = `(uname -r) 2>/dev/null || echo unknown` 1807uname -s = `(uname -s) 2>/dev/null || echo unknown` 1808uname -v = `(uname -v) 2>/dev/null || echo unknown` 1809 1810/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1811/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1812 1813/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1814/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1815/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1816/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1817/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1818/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1819/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1820 1821_ASUNAME 1822 1823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1824for as_dir in $PATH 1825do 1826 IFS=$as_save_IFS 1827 test -z "$as_dir" && as_dir=. 1828 $as_echo "PATH: $as_dir" 1829 done 1830IFS=$as_save_IFS 1831 1832} >&5 1833 1834cat >&5 <<_ACEOF 1835 1836 1837## ----------- ## 1838## Core tests. ## 1839## ----------- ## 1840 1841_ACEOF 1842 1843 1844# Keep a trace of the command line. 1845# Strip out --no-create and --no-recursion so they do not pile up. 1846# Strip out --silent because we don't want to record it for future runs. 1847# Also quote any args containing shell meta-characters. 1848# Make two passes to allow for proper duplicate-argument suppression. 1849ac_configure_args= 1850ac_configure_args0= 1851ac_configure_args1= 1852ac_must_keep_next=false 1853for ac_pass in 1 2 1854do 1855 for ac_arg 1856 do 1857 case $ac_arg in 1858 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1859 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1860 | -silent | --silent | --silen | --sile | --sil) 1861 continue ;; 1862 *\'*) 1863 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1864 esac 1865 case $ac_pass in 1866 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1867 2) 1868 as_fn_append ac_configure_args1 " '$ac_arg'" 1869 if test $ac_must_keep_next = true; then 1870 ac_must_keep_next=false # Got value, back to normal. 1871 else 1872 case $ac_arg in 1873 *=* | --config-cache | -C | -disable-* | --disable-* \ 1874 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1875 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1876 | -with-* | --with-* | -without-* | --without-* | --x) 1877 case "$ac_configure_args0 " in 1878 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1879 esac 1880 ;; 1881 -* ) ac_must_keep_next=true ;; 1882 esac 1883 fi 1884 as_fn_append ac_configure_args " '$ac_arg'" 1885 ;; 1886 esac 1887 done 1888done 1889{ ac_configure_args0=; unset ac_configure_args0;} 1890{ ac_configure_args1=; unset ac_configure_args1;} 1891 1892# When interrupted or exit'd, cleanup temporary files, and complete 1893# config.log. We remove comments because anyway the quotes in there 1894# would cause problems or look ugly. 1895# WARNING: Use '\'' to represent an apostrophe within the trap. 1896# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1897trap 'exit_status=$? 1898 # Save into config.log some information that might help in debugging. 1899 { 1900 echo 1901 1902 $as_echo "## ---------------- ## 1903## Cache variables. ## 1904## ---------------- ##" 1905 echo 1906 # The following way of writing the cache mishandles newlines in values, 1907( 1908 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1909 eval ac_val=\$$ac_var 1910 case $ac_val in #( 1911 *${as_nl}*) 1912 case $ac_var in #( 1913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1914$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1915 esac 1916 case $ac_var in #( 1917 _ | IFS | as_nl) ;; #( 1918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1919 *) { eval $ac_var=; unset $ac_var;} ;; 1920 esac ;; 1921 esac 1922 done 1923 (set) 2>&1 | 1924 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1925 *${as_nl}ac_space=\ *) 1926 sed -n \ 1927 "s/'\''/'\''\\\\'\'''\''/g; 1928 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1929 ;; #( 1930 *) 1931 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1932 ;; 1933 esac | 1934 sort 1935) 1936 echo 1937 1938 $as_echo "## ----------------- ## 1939## Output variables. ## 1940## ----------------- ##" 1941 echo 1942 for ac_var in $ac_subst_vars 1943 do 1944 eval ac_val=\$$ac_var 1945 case $ac_val in 1946 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1947 esac 1948 $as_echo "$ac_var='\''$ac_val'\''" 1949 done | sort 1950 echo 1951 1952 if test -n "$ac_subst_files"; then 1953 $as_echo "## ------------------- ## 1954## File substitutions. ## 1955## ------------------- ##" 1956 echo 1957 for ac_var in $ac_subst_files 1958 do 1959 eval ac_val=\$$ac_var 1960 case $ac_val in 1961 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1962 esac 1963 $as_echo "$ac_var='\''$ac_val'\''" 1964 done | sort 1965 echo 1966 fi 1967 1968 if test -s confdefs.h; then 1969 $as_echo "## ----------- ## 1970## confdefs.h. ## 1971## ----------- ##" 1972 echo 1973 cat confdefs.h 1974 echo 1975 fi 1976 test "$ac_signal" != 0 && 1977 $as_echo "$as_me: caught signal $ac_signal" 1978 $as_echo "$as_me: exit $exit_status" 1979 } >&5 1980 rm -f core *.core core.conftest.* && 1981 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1982 exit $exit_status 1983' 0 1984for ac_signal in 1 2 13 15; do 1985 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1986done 1987ac_signal=0 1988 1989# confdefs.h avoids OS command line length limits that DEFS can exceed. 1990rm -f -r conftest* confdefs.h 1991 1992$as_echo "/* confdefs.h */" > confdefs.h 1993 1994# Predefined preprocessor variables. 1995 1996cat >>confdefs.h <<_ACEOF 1997#define PACKAGE_NAME "$PACKAGE_NAME" 1998_ACEOF 1999 2000cat >>confdefs.h <<_ACEOF 2001#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2002_ACEOF 2003 2004cat >>confdefs.h <<_ACEOF 2005#define PACKAGE_VERSION "$PACKAGE_VERSION" 2006_ACEOF 2007 2008cat >>confdefs.h <<_ACEOF 2009#define PACKAGE_STRING "$PACKAGE_STRING" 2010_ACEOF 2011 2012cat >>confdefs.h <<_ACEOF 2013#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2014_ACEOF 2015 2016cat >>confdefs.h <<_ACEOF 2017#define PACKAGE_URL "$PACKAGE_URL" 2018_ACEOF 2019 2020 2021# Let the site file select an alternate cache file if it wants to. 2022# Prefer an explicitly selected file to automatically selected ones. 2023ac_site_file1=NONE 2024ac_site_file2=NONE 2025if test -n "$CONFIG_SITE"; then 2026 # We do not want a PATH search for config.site. 2027 case $CONFIG_SITE in #(( 2028 -*) ac_site_file1=./$CONFIG_SITE;; 2029 */*) ac_site_file1=$CONFIG_SITE;; 2030 *) ac_site_file1=./$CONFIG_SITE;; 2031 esac 2032elif test "x$prefix" != xNONE; then 2033 ac_site_file1=$prefix/share/config.site 2034 ac_site_file2=$prefix/etc/config.site 2035else 2036 ac_site_file1=$ac_default_prefix/share/config.site 2037 ac_site_file2=$ac_default_prefix/etc/config.site 2038fi 2039for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2040do 2041 test "x$ac_site_file" = xNONE && continue 2042 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2043 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2044$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2045 sed 's/^/| /' "$ac_site_file" >&5 2046 . "$ac_site_file" \ 2047 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2048$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2049as_fn_error $? "failed to load site script $ac_site_file 2050See \`config.log' for more details" "$LINENO" 5; } 2051 fi 2052done 2053 2054if test -r "$cache_file"; then 2055 # Some versions of bash will fail to source /dev/null (special files 2056 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2057 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2058 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2059$as_echo "$as_me: loading cache $cache_file" >&6;} 2060 case $cache_file in 2061 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2062 *) . "./$cache_file";; 2063 esac 2064 fi 2065else 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2067$as_echo "$as_me: creating cache $cache_file" >&6;} 2068 >$cache_file 2069fi 2070 2071# Check that the precious variables saved in the cache have kept the same 2072# value. 2073ac_cache_corrupted=false 2074for ac_var in $ac_precious_vars; do 2075 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2076 eval ac_new_set=\$ac_env_${ac_var}_set 2077 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2078 eval ac_new_val=\$ac_env_${ac_var}_value 2079 case $ac_old_set,$ac_new_set in 2080 set,) 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2082$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2083 ac_cache_corrupted=: ;; 2084 ,set) 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2086$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2087 ac_cache_corrupted=: ;; 2088 ,);; 2089 *) 2090 if test "x$ac_old_val" != "x$ac_new_val"; then 2091 # differences in whitespace do not lead to failure. 2092 ac_old_val_w=`echo x $ac_old_val` 2093 ac_new_val_w=`echo x $ac_new_val` 2094 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2095 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2096$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2097 ac_cache_corrupted=: 2098 else 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2100$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2101 eval $ac_var=\$ac_old_val 2102 fi 2103 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2104$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2106$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2107 fi;; 2108 esac 2109 # Pass precious variables to config.status. 2110 if test "$ac_new_set" = set; then 2111 case $ac_new_val in 2112 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2113 *) ac_arg=$ac_var=$ac_new_val ;; 2114 esac 2115 case " $ac_configure_args " in 2116 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2117 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2118 esac 2119 fi 2120done 2121if $ac_cache_corrupted; then 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2125$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2126 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2127fi 2128## -------------------- ## 2129## Main body of script. ## 2130## -------------------- ## 2131 2132ac_ext=c 2133ac_cpp='$CPP $CPPFLAGS' 2134ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2135ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2136ac_compiler_gnu=$ac_cv_c_compiler_gnu 2137 2138 2139ac_aux_dir= 2140for ac_dir in . "$srcdir"/.; do 2141 if test -f "$ac_dir/install-sh"; then 2142 ac_aux_dir=$ac_dir 2143 ac_install_sh="$ac_aux_dir/install-sh -c" 2144 break 2145 elif test -f "$ac_dir/install.sh"; then 2146 ac_aux_dir=$ac_dir 2147 ac_install_sh="$ac_aux_dir/install.sh -c" 2148 break 2149 elif test -f "$ac_dir/shtool"; then 2150 ac_aux_dir=$ac_dir 2151 ac_install_sh="$ac_aux_dir/shtool install -c" 2152 break 2153 fi 2154done 2155if test -z "$ac_aux_dir"; then 2156 as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 2157fi 2158 2159# These three variables are undocumented and unsupported, 2160# and are intended to be withdrawn in a future Autoconf release. 2161# They can cause serious problems if a builder's source tree is in a directory 2162# whose full name contains unusual characters. 2163ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2164ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2165ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2166 2167 2168 2169am__api_version='1.11' 2170 2171# Find a good install program. We prefer a C program (faster), 2172# so one script is as good as another. But avoid the broken or 2173# incompatible versions: 2174# SysV /etc/install, /usr/sbin/install 2175# SunOS /usr/etc/install 2176# IRIX /sbin/install 2177# AIX /bin/install 2178# AmigaOS /C/install, which installs bootblocks on floppy discs 2179# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2180# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2181# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2182# OS/2's system install, which has a completely different semantic 2183# ./install, which can be erroneously created by make from ./install.sh. 2184# Reject install programs that cannot install multiple files. 2185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2186$as_echo_n "checking for a BSD-compatible install... " >&6; } 2187if test -z "$INSTALL"; then 2188if ${ac_cv_path_install+:} false; then : 2189 $as_echo_n "(cached) " >&6 2190else 2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2192for as_dir in $PATH 2193do 2194 IFS=$as_save_IFS 2195 test -z "$as_dir" && as_dir=. 2196 # Account for people who put trailing slashes in PATH elements. 2197case $as_dir/ in #(( 2198 ./ | .// | /[cC]/* | \ 2199 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2200 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2201 /usr/ucb/* ) ;; 2202 *) 2203 # OSF1 and SCO ODT 3.0 have their own names for install. 2204 # Don't use installbsd from OSF since it installs stuff as root 2205 # by default. 2206 for ac_prog in ginstall scoinst install; do 2207 for ac_exec_ext in '' $ac_executable_extensions; do 2208 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2209 if test $ac_prog = install && 2210 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2211 # AIX install. It has an incompatible calling convention. 2212 : 2213 elif test $ac_prog = install && 2214 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2215 # program-specific install script used by HP pwplus--don't use. 2216 : 2217 else 2218 rm -rf conftest.one conftest.two conftest.dir 2219 echo one > conftest.one 2220 echo two > conftest.two 2221 mkdir conftest.dir 2222 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2223 test -s conftest.one && test -s conftest.two && 2224 test -s conftest.dir/conftest.one && 2225 test -s conftest.dir/conftest.two 2226 then 2227 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2228 break 3 2229 fi 2230 fi 2231 fi 2232 done 2233 done 2234 ;; 2235esac 2236 2237 done 2238IFS=$as_save_IFS 2239 2240rm -rf conftest.one conftest.two conftest.dir 2241 2242fi 2243 if test "${ac_cv_path_install+set}" = set; then 2244 INSTALL=$ac_cv_path_install 2245 else 2246 # As a last resort, use the slow shell script. Don't cache a 2247 # value for INSTALL within a source directory, because that will 2248 # break other packages using the cache if that directory is 2249 # removed, or if the value is a relative name. 2250 INSTALL=$ac_install_sh 2251 fi 2252fi 2253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2254$as_echo "$INSTALL" >&6; } 2255 2256# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2257# It thinks the first close brace ends the variable substitution. 2258test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2259 2260test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2261 2262test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2263 2264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2265$as_echo_n "checking whether build environment is sane... " >&6; } 2266# Just in case 2267sleep 1 2268echo timestamp > conftest.file 2269# Reject unsafe characters in $srcdir or the absolute working directory 2270# name. Accept space and tab only in the latter. 2271am_lf=' 2272' 2273case `pwd` in 2274 *[\\\"\#\$\&\'\`$am_lf]*) 2275 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2276esac 2277case $srcdir in 2278 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2279 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2280esac 2281 2282# Do `set' in a subshell so we don't clobber the current shell's 2283# arguments. Must try -L first in case configure is actually a 2284# symlink; some systems play weird games with the mod time of symlinks 2285# (eg FreeBSD returns the mod time of the symlink's containing 2286# directory). 2287if ( 2288 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2289 if test "$*" = "X"; then 2290 # -L didn't work. 2291 set X `ls -t "$srcdir/configure" conftest.file` 2292 fi 2293 rm -f conftest.file 2294 if test "$*" != "X $srcdir/configure conftest.file" \ 2295 && test "$*" != "X conftest.file $srcdir/configure"; then 2296 2297 # If neither matched, then we have a broken ls. This can happen 2298 # if, for instance, CONFIG_SHELL is bash and it inherits a 2299 # broken ls alias from the environment. This has actually 2300 # happened. Such a system could not be considered "sane". 2301 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2302alias in your environment" "$LINENO" 5 2303 fi 2304 2305 test "$2" = conftest.file 2306 ) 2307then 2308 # Ok. 2309 : 2310else 2311 as_fn_error $? "newly created file is older than distributed files! 2312Check your system clock" "$LINENO" 5 2313fi 2314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2315$as_echo "yes" >&6; } 2316test "$program_prefix" != NONE && 2317 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2318# Use a double $ so make ignores it. 2319test "$program_suffix" != NONE && 2320 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2321# Double any \ or $. 2322# By default was `s,x,x', remove it if useless. 2323ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2324program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2325 2326# expand $ac_aux_dir to an absolute path 2327am_aux_dir=`cd $ac_aux_dir && pwd` 2328 2329if test x"${MISSING+set}" != xset; then 2330 case $am_aux_dir in 2331 *\ * | *\ *) 2332 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2333 *) 2334 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2335 esac 2336fi 2337# Use eval to expand $SHELL 2338if eval "$MISSING --run true"; then 2339 am_missing_run="$MISSING --run " 2340else 2341 am_missing_run= 2342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2343$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2344fi 2345 2346if test x"${install_sh}" != xset; then 2347 case $am_aux_dir in 2348 *\ * | *\ *) 2349 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2350 *) 2351 install_sh="\${SHELL} $am_aux_dir/install-sh" 2352 esac 2353fi 2354 2355# Installed binaries are usually stripped using `strip' when the user 2356# run `make install-strip'. However `strip' might not be the right 2357# tool to use in cross-compilation environments, therefore Automake 2358# will honor the `STRIP' environment variable to overrule this program. 2359if test "$cross_compiling" != no; then 2360 if test -n "$ac_tool_prefix"; then 2361 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2362set dummy ${ac_tool_prefix}strip; ac_word=$2 2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2364$as_echo_n "checking for $ac_word... " >&6; } 2365if ${ac_cv_prog_STRIP+:} false; then : 2366 $as_echo_n "(cached) " >&6 2367else 2368 if test -n "$STRIP"; then 2369 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2370else 2371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2372for as_dir in $PATH 2373do 2374 IFS=$as_save_IFS 2375 test -z "$as_dir" && as_dir=. 2376 for ac_exec_ext in '' $ac_executable_extensions; do 2377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2378 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2380 break 2 2381 fi 2382done 2383 done 2384IFS=$as_save_IFS 2385 2386fi 2387fi 2388STRIP=$ac_cv_prog_STRIP 2389if test -n "$STRIP"; then 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2391$as_echo "$STRIP" >&6; } 2392else 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2394$as_echo "no" >&6; } 2395fi 2396 2397 2398fi 2399if test -z "$ac_cv_prog_STRIP"; then 2400 ac_ct_STRIP=$STRIP 2401 # Extract the first word of "strip", so it can be a program name with args. 2402set dummy strip; ac_word=$2 2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2404$as_echo_n "checking for $ac_word... " >&6; } 2405if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2406 $as_echo_n "(cached) " >&6 2407else 2408 if test -n "$ac_ct_STRIP"; then 2409 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2410else 2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2412for as_dir in $PATH 2413do 2414 IFS=$as_save_IFS 2415 test -z "$as_dir" && as_dir=. 2416 for ac_exec_ext in '' $ac_executable_extensions; do 2417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2418 ac_cv_prog_ac_ct_STRIP="strip" 2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2420 break 2 2421 fi 2422done 2423 done 2424IFS=$as_save_IFS 2425 2426fi 2427fi 2428ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2429if test -n "$ac_ct_STRIP"; then 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2431$as_echo "$ac_ct_STRIP" >&6; } 2432else 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2434$as_echo "no" >&6; } 2435fi 2436 2437 if test "x$ac_ct_STRIP" = x; then 2438 STRIP=":" 2439 else 2440 case $cross_compiling:$ac_tool_warned in 2441yes:) 2442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2444ac_tool_warned=yes ;; 2445esac 2446 STRIP=$ac_ct_STRIP 2447 fi 2448else 2449 STRIP="$ac_cv_prog_STRIP" 2450fi 2451 2452fi 2453INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2454 2455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2456$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2457if test -z "$MKDIR_P"; then 2458 if ${ac_cv_path_mkdir+:} false; then : 2459 $as_echo_n "(cached) " >&6 2460else 2461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2462for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2463do 2464 IFS=$as_save_IFS 2465 test -z "$as_dir" && as_dir=. 2466 for ac_prog in mkdir gmkdir; do 2467 for ac_exec_ext in '' $ac_executable_extensions; do 2468 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2469 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2470 'mkdir (GNU coreutils) '* | \ 2471 'mkdir (coreutils) '* | \ 2472 'mkdir (fileutils) '4.1*) 2473 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2474 break 3;; 2475 esac 2476 done 2477 done 2478 done 2479IFS=$as_save_IFS 2480 2481fi 2482 2483 test -d ./--version && rmdir ./--version 2484 if test "${ac_cv_path_mkdir+set}" = set; then 2485 MKDIR_P="$ac_cv_path_mkdir -p" 2486 else 2487 # As a last resort, use the slow shell script. Don't cache a 2488 # value for MKDIR_P within a source directory, because that will 2489 # break other packages using the cache if that directory is 2490 # removed, or if the value is a relative name. 2491 MKDIR_P="$ac_install_sh -d" 2492 fi 2493fi 2494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2495$as_echo "$MKDIR_P" >&6; } 2496 2497mkdir_p="$MKDIR_P" 2498case $mkdir_p in 2499 [\\/$]* | ?:[\\/]*) ;; 2500 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2501esac 2502 2503for ac_prog in gawk mawk nawk awk 2504do 2505 # Extract the first word of "$ac_prog", so it can be a program name with args. 2506set dummy $ac_prog; ac_word=$2 2507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2508$as_echo_n "checking for $ac_word... " >&6; } 2509if ${ac_cv_prog_AWK+:} false; then : 2510 $as_echo_n "(cached) " >&6 2511else 2512 if test -n "$AWK"; then 2513 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2514else 2515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2516for as_dir in $PATH 2517do 2518 IFS=$as_save_IFS 2519 test -z "$as_dir" && as_dir=. 2520 for ac_exec_ext in '' $ac_executable_extensions; do 2521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2522 ac_cv_prog_AWK="$ac_prog" 2523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2524 break 2 2525 fi 2526done 2527 done 2528IFS=$as_save_IFS 2529 2530fi 2531fi 2532AWK=$ac_cv_prog_AWK 2533if test -n "$AWK"; then 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2535$as_echo "$AWK" >&6; } 2536else 2537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2538$as_echo "no" >&6; } 2539fi 2540 2541 2542 test -n "$AWK" && break 2543done 2544 2545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2546$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2547set x ${MAKE-make} 2548ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2549if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2550 $as_echo_n "(cached) " >&6 2551else 2552 cat >conftest.make <<\_ACEOF 2553SHELL = /bin/sh 2554all: 2555 @echo '@@@%%%=$(MAKE)=@@@%%%' 2556_ACEOF 2557# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2558case `${MAKE-make} -f conftest.make 2>/dev/null` in 2559 *@@@%%%=?*=@@@%%%*) 2560 eval ac_cv_prog_make_${ac_make}_set=yes;; 2561 *) 2562 eval ac_cv_prog_make_${ac_make}_set=no;; 2563esac 2564rm -f conftest.make 2565fi 2566if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2568$as_echo "yes" >&6; } 2569 SET_MAKE= 2570else 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2572$as_echo "no" >&6; } 2573 SET_MAKE="MAKE=${MAKE-make}" 2574fi 2575 2576rm -rf .tst 2>/dev/null 2577mkdir .tst 2>/dev/null 2578if test -d .tst; then 2579 am__leading_dot=. 2580else 2581 am__leading_dot=_ 2582fi 2583rmdir .tst 2>/dev/null 2584 2585if test "`cd $srcdir && pwd`" != "`pwd`"; then 2586 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2587 # is not polluted with repeated "-I." 2588 am__isrc=' -I$(srcdir)' 2589 # test to see if srcdir already configured 2590 if test -f $srcdir/config.status; then 2591 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2592 fi 2593fi 2594 2595# test whether we have cygpath 2596if test -z "$CYGPATH_W"; then 2597 if (cygpath --version) >/dev/null 2>/dev/null; then 2598 CYGPATH_W='cygpath -w' 2599 else 2600 CYGPATH_W=echo 2601 fi 2602fi 2603 2604 2605# Define the identity of the package. 2606 PACKAGE='vo-aacenc' 2607 VERSION='0.1.3' 2608 2609 2610cat >>confdefs.h <<_ACEOF 2611#define PACKAGE "$PACKAGE" 2612_ACEOF 2613 2614 2615cat >>confdefs.h <<_ACEOF 2616#define VERSION "$VERSION" 2617_ACEOF 2618 2619# Some tools Automake needs. 2620 2621ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2622 2623 2624AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2625 2626 2627AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2628 2629 2630AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2631 2632 2633MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2634 2635# We need awk for the "check" target. The system "awk" is bad on 2636# some platforms. 2637# Always define AMTAR for backward compatibility. Yes, it's still used 2638# in the wild :-( We should find a proper way to deprecate it ... 2639AMTAR='$${TAR-tar}' 2640 2641 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2643$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2644# Loop over all known methods to create a tar archive until one works. 2645_am_tools='gnutar plaintar pax cpio none' 2646_am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2647# Do not fold the above two line into one, because Tru64 sh and 2648# Solaris sh will not grok spaces in the rhs of `-'. 2649for _am_tool in $_am_tools 2650do 2651 case $_am_tool in 2652 gnutar) 2653 for _am_tar in tar gnutar gtar; 2654 do 2655 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2656 ($_am_tar --version) >&5 2>&5 2657 ac_status=$? 2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2659 (exit $ac_status); } && break 2660 done 2661 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2662 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2663 am__untar="$_am_tar -xf -" 2664 ;; 2665 plaintar) 2666 # Must skip GNU tar: if it does not support --format= it doesn't create 2667 # ustar tarball either. 2668 (tar --version) >/dev/null 2>&1 && continue 2669 am__tar='tar chf - "$$tardir"' 2670 am__tar_='tar chf - "$tardir"' 2671 am__untar='tar xf -' 2672 ;; 2673 pax) 2674 am__tar='pax -L -x ustar -w "$$tardir"' 2675 am__tar_='pax -L -x ustar -w "$tardir"' 2676 am__untar='pax -r' 2677 ;; 2678 cpio) 2679 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2680 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2681 am__untar='cpio -i -H ustar -d' 2682 ;; 2683 none) 2684 am__tar=false 2685 am__tar_=false 2686 am__untar=false 2687 ;; 2688 esac 2689 2690 # If the value was cached, stop now. We just wanted to have am__tar 2691 # and am__untar set. 2692 test -n "${am_cv_prog_tar_ustar}" && break 2693 2694 # tar/untar a dummy directory, and stop if the command works 2695 rm -rf conftest.dir 2696 mkdir conftest.dir 2697 echo GrepMe > conftest.dir/file 2698 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2699 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2700 ac_status=$? 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); } 2703 rm -rf conftest.dir 2704 if test -s conftest.tar; then 2705 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2706 ($am__untar <conftest.tar) >&5 2>&5 2707 ac_status=$? 2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2709 (exit $ac_status); } 2710 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2711 fi 2712done 2713rm -rf conftest.dir 2714 2715if ${am_cv_prog_tar_ustar+:} false; then : 2716 $as_echo_n "(cached) " >&6 2717else 2718 am_cv_prog_tar_ustar=$_am_tool 2719fi 2720 2721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2722$as_echo "$am_cv_prog_tar_ustar" >&6; } 2723 2724 2725 2726 2727 2728# Check whether --enable-silent-rules was given. 2729if test "${enable_silent_rules+set}" = set; then : 2730 enableval=$enable_silent_rules; 2731fi 2732 2733case $enable_silent_rules in 2734yes) AM_DEFAULT_VERBOSITY=0;; 2735no) AM_DEFAULT_VERBOSITY=1;; 2736*) AM_DEFAULT_VERBOSITY=0;; 2737esac 2738am_make=${MAKE-make} 2739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2740$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2741if ${am_cv_make_support_nested_variables+:} false; then : 2742 $as_echo_n "(cached) " >&6 2743else 2744 if $as_echo 'TRUE=$(BAR$(V)) 2745BAR0=false 2746BAR1=true 2747V=1 2748am__doit: 2749 @$(TRUE) 2750.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2751 am_cv_make_support_nested_variables=yes 2752else 2753 am_cv_make_support_nested_variables=no 2754fi 2755fi 2756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2757$as_echo "$am_cv_make_support_nested_variables" >&6; } 2758if test $am_cv_make_support_nested_variables = yes; then 2759 AM_V='$(V)' 2760 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2761else 2762 AM_V=$AM_DEFAULT_VERBOSITY 2763 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2764fi 2765AM_BACKSLASH='\' 2766 2767 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2769$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2770 # Check whether --enable-maintainer-mode was given. 2771if test "${enable_maintainer_mode+set}" = set; then : 2772 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2773else 2774 USE_MAINTAINER_MODE=no 2775fi 2776 2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2778$as_echo "$USE_MAINTAINER_MODE" >&6; } 2779 if test $USE_MAINTAINER_MODE = yes; then 2780 MAINTAINER_MODE_TRUE= 2781 MAINTAINER_MODE_FALSE='#' 2782else 2783 MAINTAINER_MODE_TRUE='#' 2784 MAINTAINER_MODE_FALSE= 2785fi 2786 2787 MAINT=$MAINTAINER_MODE_TRUE 2788 2789 2790 2791# Check whether --enable-armv5e was given. 2792if test "${enable_armv5e+set}" = set; then : 2793 enableval=$enable_armv5e; armv5e=$enableval 2794else 2795 armv5e=no 2796fi 2797 2798# Check whether --enable-armv7neon was given. 2799if test "${enable_armv7neon+set}" = set; then : 2800 enableval=$enable_armv7neon; armv7neon=$enableval 2801else 2802 armv7neon=no 2803fi 2804 2805 2806# Check whether --enable-example was given. 2807if test "${enable_example+set}" = set; then : 2808 enableval=$enable_example; example=$enableval 2809else 2810 example=no 2811fi 2812 2813 2814 if test x$armv5e = xyes; then 2815 ARMV5E_TRUE= 2816 ARMV5E_FALSE='#' 2817else 2818 ARMV5E_TRUE='#' 2819 ARMV5E_FALSE= 2820fi 2821 2822 if test x$armv7neon = xyes; then 2823 ARMV7NEON_TRUE= 2824 ARMV7NEON_FALSE='#' 2825else 2826 ARMV7NEON_TRUE='#' 2827 ARMV7NEON_FALSE= 2828fi 2829 2830 if test x$example = xyes; then 2831 EXAMPLE_TRUE= 2832 EXAMPLE_FALSE='#' 2833else 2834 EXAMPLE_TRUE='#' 2835 EXAMPLE_FALSE= 2836fi 2837 2838 2839DEPDIR="${am__leading_dot}deps" 2840 2841ac_config_commands="$ac_config_commands depfiles" 2842 2843 2844am_make=${MAKE-make} 2845cat > confinc << 'END' 2846am__doit: 2847 @echo this is the am__doit target 2848.PHONY: am__doit 2849END 2850# If we don't find an include directive, just comment out the code. 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2852$as_echo_n "checking for style of include used by $am_make... " >&6; } 2853am__include="#" 2854am__quote= 2855_am_result=none 2856# First try GNU make style include. 2857echo "include confinc" > confmf 2858# Ignore all kinds of additional output from `make'. 2859case `$am_make -s -f confmf 2> /dev/null` in #( 2860*the\ am__doit\ target*) 2861 am__include=include 2862 am__quote= 2863 _am_result=GNU 2864 ;; 2865esac 2866# Now try BSD make style include. 2867if test "$am__include" = "#"; then 2868 echo '.include "confinc"' > confmf 2869 case `$am_make -s -f confmf 2> /dev/null` in #( 2870 *the\ am__doit\ target*) 2871 am__include=.include 2872 am__quote="\"" 2873 _am_result=BSD 2874 ;; 2875 esac 2876fi 2877 2878 2879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2880$as_echo "$_am_result" >&6; } 2881rm -f confinc confmf 2882 2883# Check whether --enable-dependency-tracking was given. 2884if test "${enable_dependency_tracking+set}" = set; then : 2885 enableval=$enable_dependency_tracking; 2886fi 2887 2888if test "x$enable_dependency_tracking" != xno; then 2889 am_depcomp="$ac_aux_dir/depcomp" 2890 AMDEPBACKSLASH='\' 2891 am__nodep='_no' 2892fi 2893 if test "x$enable_dependency_tracking" != xno; then 2894 AMDEP_TRUE= 2895 AMDEP_FALSE='#' 2896else 2897 AMDEP_TRUE='#' 2898 AMDEP_FALSE= 2899fi 2900 2901 2902ac_ext=c 2903ac_cpp='$CPP $CPPFLAGS' 2904ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2905ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2906ac_compiler_gnu=$ac_cv_c_compiler_gnu 2907if test -n "$ac_tool_prefix"; then 2908 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2909set dummy ${ac_tool_prefix}gcc; ac_word=$2 2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2911$as_echo_n "checking for $ac_word... " >&6; } 2912if ${ac_cv_prog_CC+:} false; then : 2913 $as_echo_n "(cached) " >&6 2914else 2915 if test -n "$CC"; then 2916 ac_cv_prog_CC="$CC" # Let the user override the test. 2917else 2918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2919for as_dir in $PATH 2920do 2921 IFS=$as_save_IFS 2922 test -z "$as_dir" && as_dir=. 2923 for ac_exec_ext in '' $ac_executable_extensions; do 2924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2925 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2927 break 2 2928 fi 2929done 2930 done 2931IFS=$as_save_IFS 2932 2933fi 2934fi 2935CC=$ac_cv_prog_CC 2936if test -n "$CC"; then 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2938$as_echo "$CC" >&6; } 2939else 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2941$as_echo "no" >&6; } 2942fi 2943 2944 2945fi 2946if test -z "$ac_cv_prog_CC"; then 2947 ac_ct_CC=$CC 2948 # Extract the first word of "gcc", so it can be a program name with args. 2949set dummy gcc; ac_word=$2 2950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2951$as_echo_n "checking for $ac_word... " >&6; } 2952if ${ac_cv_prog_ac_ct_CC+:} false; then : 2953 $as_echo_n "(cached) " >&6 2954else 2955 if test -n "$ac_ct_CC"; then 2956 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2957else 2958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2959for as_dir in $PATH 2960do 2961 IFS=$as_save_IFS 2962 test -z "$as_dir" && as_dir=. 2963 for ac_exec_ext in '' $ac_executable_extensions; do 2964 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2965 ac_cv_prog_ac_ct_CC="gcc" 2966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2967 break 2 2968 fi 2969done 2970 done 2971IFS=$as_save_IFS 2972 2973fi 2974fi 2975ac_ct_CC=$ac_cv_prog_ac_ct_CC 2976if test -n "$ac_ct_CC"; then 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2978$as_echo "$ac_ct_CC" >&6; } 2979else 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2981$as_echo "no" >&6; } 2982fi 2983 2984 if test "x$ac_ct_CC" = x; then 2985 CC="" 2986 else 2987 case $cross_compiling:$ac_tool_warned in 2988yes:) 2989{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2990$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2991ac_tool_warned=yes ;; 2992esac 2993 CC=$ac_ct_CC 2994 fi 2995else 2996 CC="$ac_cv_prog_CC" 2997fi 2998 2999if test -z "$CC"; then 3000 if test -n "$ac_tool_prefix"; then 3001 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3002set dummy ${ac_tool_prefix}cc; ac_word=$2 3003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3004$as_echo_n "checking for $ac_word... " >&6; } 3005if ${ac_cv_prog_CC+:} false; then : 3006 $as_echo_n "(cached) " >&6 3007else 3008 if test -n "$CC"; then 3009 ac_cv_prog_CC="$CC" # Let the user override the test. 3010else 3011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3012for as_dir in $PATH 3013do 3014 IFS=$as_save_IFS 3015 test -z "$as_dir" && as_dir=. 3016 for ac_exec_ext in '' $ac_executable_extensions; do 3017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3018 ac_cv_prog_CC="${ac_tool_prefix}cc" 3019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3020 break 2 3021 fi 3022done 3023 done 3024IFS=$as_save_IFS 3025 3026fi 3027fi 3028CC=$ac_cv_prog_CC 3029if test -n "$CC"; then 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3031$as_echo "$CC" >&6; } 3032else 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3034$as_echo "no" >&6; } 3035fi 3036 3037 3038 fi 3039fi 3040if test -z "$CC"; then 3041 # Extract the first word of "cc", so it can be a program name with args. 3042set dummy cc; ac_word=$2 3043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3044$as_echo_n "checking for $ac_word... " >&6; } 3045if ${ac_cv_prog_CC+:} false; then : 3046 $as_echo_n "(cached) " >&6 3047else 3048 if test -n "$CC"; then 3049 ac_cv_prog_CC="$CC" # Let the user override the test. 3050else 3051 ac_prog_rejected=no 3052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3053for as_dir in $PATH 3054do 3055 IFS=$as_save_IFS 3056 test -z "$as_dir" && as_dir=. 3057 for ac_exec_ext in '' $ac_executable_extensions; do 3058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3059 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3060 ac_prog_rejected=yes 3061 continue 3062 fi 3063 ac_cv_prog_CC="cc" 3064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3065 break 2 3066 fi 3067done 3068 done 3069IFS=$as_save_IFS 3070 3071if test $ac_prog_rejected = yes; then 3072 # We found a bogon in the path, so make sure we never use it. 3073 set dummy $ac_cv_prog_CC 3074 shift 3075 if test $# != 0; then 3076 # We chose a different compiler from the bogus one. 3077 # However, it has the same basename, so the bogon will be chosen 3078 # first if we set CC to just the basename; use the full file name. 3079 shift 3080 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3081 fi 3082fi 3083fi 3084fi 3085CC=$ac_cv_prog_CC 3086if test -n "$CC"; then 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3088$as_echo "$CC" >&6; } 3089else 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3091$as_echo "no" >&6; } 3092fi 3093 3094 3095fi 3096if test -z "$CC"; then 3097 if test -n "$ac_tool_prefix"; then 3098 for ac_prog in cl.exe 3099 do 3100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3101set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3103$as_echo_n "checking for $ac_word... " >&6; } 3104if ${ac_cv_prog_CC+:} false; then : 3105 $as_echo_n "(cached) " >&6 3106else 3107 if test -n "$CC"; then 3108 ac_cv_prog_CC="$CC" # Let the user override the test. 3109else 3110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3111for as_dir in $PATH 3112do 3113 IFS=$as_save_IFS 3114 test -z "$as_dir" && as_dir=. 3115 for ac_exec_ext in '' $ac_executable_extensions; do 3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3117 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3119 break 2 3120 fi 3121done 3122 done 3123IFS=$as_save_IFS 3124 3125fi 3126fi 3127CC=$ac_cv_prog_CC 3128if test -n "$CC"; then 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3130$as_echo "$CC" >&6; } 3131else 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3133$as_echo "no" >&6; } 3134fi 3135 3136 3137 test -n "$CC" && break 3138 done 3139fi 3140if test -z "$CC"; then 3141 ac_ct_CC=$CC 3142 for ac_prog in cl.exe 3143do 3144 # Extract the first word of "$ac_prog", so it can be a program name with args. 3145set dummy $ac_prog; ac_word=$2 3146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3147$as_echo_n "checking for $ac_word... " >&6; } 3148if ${ac_cv_prog_ac_ct_CC+:} false; then : 3149 $as_echo_n "(cached) " >&6 3150else 3151 if test -n "$ac_ct_CC"; then 3152 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3153else 3154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3155for as_dir in $PATH 3156do 3157 IFS=$as_save_IFS 3158 test -z "$as_dir" && as_dir=. 3159 for ac_exec_ext in '' $ac_executable_extensions; do 3160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3161 ac_cv_prog_ac_ct_CC="$ac_prog" 3162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3163 break 2 3164 fi 3165done 3166 done 3167IFS=$as_save_IFS 3168 3169fi 3170fi 3171ac_ct_CC=$ac_cv_prog_ac_ct_CC 3172if test -n "$ac_ct_CC"; then 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3174$as_echo "$ac_ct_CC" >&6; } 3175else 3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3177$as_echo "no" >&6; } 3178fi 3179 3180 3181 test -n "$ac_ct_CC" && break 3182done 3183 3184 if test "x$ac_ct_CC" = x; then 3185 CC="" 3186 else 3187 case $cross_compiling:$ac_tool_warned in 3188yes:) 3189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3191ac_tool_warned=yes ;; 3192esac 3193 CC=$ac_ct_CC 3194 fi 3195fi 3196 3197fi 3198 3199 3200test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3201$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3202as_fn_error $? "no acceptable C compiler found in \$PATH 3203See \`config.log' for more details" "$LINENO" 5; } 3204 3205# Provide some information about the compiler. 3206$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3207set X $ac_compile 3208ac_compiler=$2 3209for ac_option in --version -v -V -qversion; do 3210 { { ac_try="$ac_compiler $ac_option >&5" 3211case "(($ac_try" in 3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3213 *) ac_try_echo=$ac_try;; 3214esac 3215eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3216$as_echo "$ac_try_echo"; } >&5 3217 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3218 ac_status=$? 3219 if test -s conftest.err; then 3220 sed '10a\ 3221... rest of stderr output deleted ... 3222 10q' conftest.err >conftest.er1 3223 cat conftest.er1 >&5 3224 fi 3225 rm -f conftest.er1 conftest.err 3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3227 test $ac_status = 0; } 3228done 3229 3230cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3231/* end confdefs.h. */ 3232 3233int 3234main () 3235{ 3236 3237 ; 3238 return 0; 3239} 3240_ACEOF 3241ac_clean_files_save=$ac_clean_files 3242ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3243# Try to create an executable without -o first, disregard a.out. 3244# It will help us diagnose broken compilers, and finding out an intuition 3245# of exeext. 3246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3247$as_echo_n "checking whether the C compiler works... " >&6; } 3248ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3249 3250# The possible output files: 3251ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3252 3253ac_rmfiles= 3254for ac_file in $ac_files 3255do 3256 case $ac_file in 3257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3258 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3259 esac 3260done 3261rm -f $ac_rmfiles 3262 3263if { { ac_try="$ac_link_default" 3264case "(($ac_try" in 3265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3266 *) ac_try_echo=$ac_try;; 3267esac 3268eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3269$as_echo "$ac_try_echo"; } >&5 3270 (eval "$ac_link_default") 2>&5 3271 ac_status=$? 3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3273 test $ac_status = 0; }; then : 3274 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3275# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3276# in a Makefile. We should not override ac_cv_exeext if it was cached, 3277# so that the user can short-circuit this test for compilers unknown to 3278# Autoconf. 3279for ac_file in $ac_files '' 3280do 3281 test -f "$ac_file" || continue 3282 case $ac_file in 3283 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3284 ;; 3285 [ab].out ) 3286 # We found the default executable, but exeext='' is most 3287 # certainly right. 3288 break;; 3289 *.* ) 3290 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3291 then :; else 3292 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3293 fi 3294 # We set ac_cv_exeext here because the later test for it is not 3295 # safe: cross compilers may not add the suffix if given an `-o' 3296 # argument, so we may need to know it at that point already. 3297 # Even if this section looks crufty: it has the advantage of 3298 # actually working. 3299 break;; 3300 * ) 3301 break;; 3302 esac 3303done 3304test "$ac_cv_exeext" = no && ac_cv_exeext= 3305 3306else 3307 ac_file='' 3308fi 3309if test -z "$ac_file"; then : 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3311$as_echo "no" >&6; } 3312$as_echo "$as_me: failed program was:" >&5 3313sed 's/^/| /' conftest.$ac_ext >&5 3314 3315{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3317as_fn_error 77 "C compiler cannot create executables 3318See \`config.log' for more details" "$LINENO" 5; } 3319else 3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3321$as_echo "yes" >&6; } 3322fi 3323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3324$as_echo_n "checking for C compiler default output file name... " >&6; } 3325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3326$as_echo "$ac_file" >&6; } 3327ac_exeext=$ac_cv_exeext 3328 3329rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3330ac_clean_files=$ac_clean_files_save 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3332$as_echo_n "checking for suffix of executables... " >&6; } 3333if { { ac_try="$ac_link" 3334case "(($ac_try" in 3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3336 *) ac_try_echo=$ac_try;; 3337esac 3338eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3339$as_echo "$ac_try_echo"; } >&5 3340 (eval "$ac_link") 2>&5 3341 ac_status=$? 3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3343 test $ac_status = 0; }; then : 3344 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3345# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3346# work properly (i.e., refer to `conftest.exe'), while it won't with 3347# `rm'. 3348for ac_file in conftest.exe conftest conftest.*; do 3349 test -f "$ac_file" || continue 3350 case $ac_file in 3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3352 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3353 break;; 3354 * ) break;; 3355 esac 3356done 3357else 3358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3359$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3360as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3361See \`config.log' for more details" "$LINENO" 5; } 3362fi 3363rm -f conftest conftest$ac_cv_exeext 3364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3365$as_echo "$ac_cv_exeext" >&6; } 3366 3367rm -f conftest.$ac_ext 3368EXEEXT=$ac_cv_exeext 3369ac_exeext=$EXEEXT 3370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3371/* end confdefs.h. */ 3372#include <stdio.h> 3373int 3374main () 3375{ 3376FILE *f = fopen ("conftest.out", "w"); 3377 return ferror (f) || fclose (f) != 0; 3378 3379 ; 3380 return 0; 3381} 3382_ACEOF 3383ac_clean_files="$ac_clean_files conftest.out" 3384# Check that the compiler produces executables we can run. If not, either 3385# the compiler is broken, or we cross compile. 3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3387$as_echo_n "checking whether we are cross compiling... " >&6; } 3388if test "$cross_compiling" != yes; then 3389 { { ac_try="$ac_link" 3390case "(($ac_try" in 3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3392 *) ac_try_echo=$ac_try;; 3393esac 3394eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3395$as_echo "$ac_try_echo"; } >&5 3396 (eval "$ac_link") 2>&5 3397 ac_status=$? 3398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3399 test $ac_status = 0; } 3400 if { ac_try='./conftest$ac_cv_exeext' 3401 { { case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404esac 3405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3406$as_echo "$ac_try_echo"; } >&5 3407 (eval "$ac_try") 2>&5 3408 ac_status=$? 3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3410 test $ac_status = 0; }; }; then 3411 cross_compiling=no 3412 else 3413 if test "$cross_compiling" = maybe; then 3414 cross_compiling=yes 3415 else 3416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3417$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3418as_fn_error $? "cannot run C compiled programs. 3419If you meant to cross compile, use \`--host'. 3420See \`config.log' for more details" "$LINENO" 5; } 3421 fi 3422 fi 3423fi 3424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3425$as_echo "$cross_compiling" >&6; } 3426 3427rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3428ac_clean_files=$ac_clean_files_save 3429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3430$as_echo_n "checking for suffix of object files... " >&6; } 3431if ${ac_cv_objext+:} false; then : 3432 $as_echo_n "(cached) " >&6 3433else 3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3435/* end confdefs.h. */ 3436 3437int 3438main () 3439{ 3440 3441 ; 3442 return 0; 3443} 3444_ACEOF 3445rm -f conftest.o conftest.obj 3446if { { ac_try="$ac_compile" 3447case "(($ac_try" in 3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3449 *) ac_try_echo=$ac_try;; 3450esac 3451eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3452$as_echo "$ac_try_echo"; } >&5 3453 (eval "$ac_compile") 2>&5 3454 ac_status=$? 3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3456 test $ac_status = 0; }; then : 3457 for ac_file in conftest.o conftest.obj conftest.*; do 3458 test -f "$ac_file" || continue; 3459 case $ac_file in 3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3462 break;; 3463 esac 3464done 3465else 3466 $as_echo "$as_me: failed program was:" >&5 3467sed 's/^/| /' conftest.$ac_ext >&5 3468 3469{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3470$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3471as_fn_error $? "cannot compute suffix of object files: cannot compile 3472See \`config.log' for more details" "$LINENO" 5; } 3473fi 3474rm -f conftest.$ac_cv_objext conftest.$ac_ext 3475fi 3476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3477$as_echo "$ac_cv_objext" >&6; } 3478OBJEXT=$ac_cv_objext 3479ac_objext=$OBJEXT 3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3481$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3482if ${ac_cv_c_compiler_gnu+:} false; then : 3483 $as_echo_n "(cached) " >&6 3484else 3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3486/* end confdefs.h. */ 3487 3488int 3489main () 3490{ 3491#ifndef __GNUC__ 3492 choke me 3493#endif 3494 3495 ; 3496 return 0; 3497} 3498_ACEOF 3499if ac_fn_c_try_compile "$LINENO"; then : 3500 ac_compiler_gnu=yes 3501else 3502 ac_compiler_gnu=no 3503fi 3504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3505ac_cv_c_compiler_gnu=$ac_compiler_gnu 3506 3507fi 3508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3509$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3510if test $ac_compiler_gnu = yes; then 3511 GCC=yes 3512else 3513 GCC= 3514fi 3515ac_test_CFLAGS=${CFLAGS+set} 3516ac_save_CFLAGS=$CFLAGS 3517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3518$as_echo_n "checking whether $CC accepts -g... " >&6; } 3519if ${ac_cv_prog_cc_g+:} false; then : 3520 $as_echo_n "(cached) " >&6 3521else 3522 ac_save_c_werror_flag=$ac_c_werror_flag 3523 ac_c_werror_flag=yes 3524 ac_cv_prog_cc_g=no 3525 CFLAGS="-g" 3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3527/* end confdefs.h. */ 3528 3529int 3530main () 3531{ 3532 3533 ; 3534 return 0; 3535} 3536_ACEOF 3537if ac_fn_c_try_compile "$LINENO"; then : 3538 ac_cv_prog_cc_g=yes 3539else 3540 CFLAGS="" 3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3542/* end confdefs.h. */ 3543 3544int 3545main () 3546{ 3547 3548 ; 3549 return 0; 3550} 3551_ACEOF 3552if ac_fn_c_try_compile "$LINENO"; then : 3553 3554else 3555 ac_c_werror_flag=$ac_save_c_werror_flag 3556 CFLAGS="-g" 3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3558/* end confdefs.h. */ 3559 3560int 3561main () 3562{ 3563 3564 ; 3565 return 0; 3566} 3567_ACEOF 3568if ac_fn_c_try_compile "$LINENO"; then : 3569 ac_cv_prog_cc_g=yes 3570fi 3571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3572fi 3573rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3574fi 3575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3576 ac_c_werror_flag=$ac_save_c_werror_flag 3577fi 3578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3579$as_echo "$ac_cv_prog_cc_g" >&6; } 3580if test "$ac_test_CFLAGS" = set; then 3581 CFLAGS=$ac_save_CFLAGS 3582elif test $ac_cv_prog_cc_g = yes; then 3583 if test "$GCC" = yes; then 3584 CFLAGS="-g -O2" 3585 else 3586 CFLAGS="-g" 3587 fi 3588else 3589 if test "$GCC" = yes; then 3590 CFLAGS="-O2" 3591 else 3592 CFLAGS= 3593 fi 3594fi 3595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3596$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3597if ${ac_cv_prog_cc_c89+:} false; then : 3598 $as_echo_n "(cached) " >&6 3599else 3600 ac_cv_prog_cc_c89=no 3601ac_save_CC=$CC 3602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3603/* end confdefs.h. */ 3604#include <stdarg.h> 3605#include <stdio.h> 3606struct stat; 3607/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3608struct buf { int x; }; 3609FILE * (*rcsopen) (struct buf *, struct stat *, int); 3610static char *e (p, i) 3611 char **p; 3612 int i; 3613{ 3614 return p[i]; 3615} 3616static char *f (char * (*g) (char **, int), char **p, ...) 3617{ 3618 char *s; 3619 va_list v; 3620 va_start (v,p); 3621 s = g (p, va_arg (v,int)); 3622 va_end (v); 3623 return s; 3624} 3625 3626/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3627 function prototypes and stuff, but not '\xHH' hex character constants. 3628 These don't provoke an error unfortunately, instead are silently treated 3629 as 'x'. The following induces an error, until -std is added to get 3630 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3631 array size at least. It's necessary to write '\x00'==0 to get something 3632 that's true only with -std. */ 3633int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3634 3635/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3636 inside strings and character constants. */ 3637#define FOO(x) 'x' 3638int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3639 3640int test (int i, double x); 3641struct s1 {int (*f) (int a);}; 3642struct s2 {int (*f) (double a);}; 3643int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3644int argc; 3645char **argv; 3646int 3647main () 3648{ 3649return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3650 ; 3651 return 0; 3652} 3653_ACEOF 3654for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3656do 3657 CC="$ac_save_CC $ac_arg" 3658 if ac_fn_c_try_compile "$LINENO"; then : 3659 ac_cv_prog_cc_c89=$ac_arg 3660fi 3661rm -f core conftest.err conftest.$ac_objext 3662 test "x$ac_cv_prog_cc_c89" != "xno" && break 3663done 3664rm -f conftest.$ac_ext 3665CC=$ac_save_CC 3666 3667fi 3668# AC_CACHE_VAL 3669case "x$ac_cv_prog_cc_c89" in 3670 x) 3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3672$as_echo "none needed" >&6; } ;; 3673 xno) 3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3675$as_echo "unsupported" >&6; } ;; 3676 *) 3677 CC="$CC $ac_cv_prog_cc_c89" 3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3679$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3680esac 3681if test "x$ac_cv_prog_cc_c89" != xno; then : 3682 3683fi 3684 3685ac_ext=c 3686ac_cpp='$CPP $CPPFLAGS' 3687ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3688ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3689ac_compiler_gnu=$ac_cv_c_compiler_gnu 3690 3691depcc="$CC" am_compiler_list= 3692 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3694$as_echo_n "checking dependency style of $depcc... " >&6; } 3695if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3696 $as_echo_n "(cached) " >&6 3697else 3698 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3699 # We make a subdir and do the tests there. Otherwise we can end up 3700 # making bogus files that we don't know about and never remove. For 3701 # instance it was reported that on HP-UX the gcc test will end up 3702 # making a dummy file named `D' -- because `-MD' means `put the output 3703 # in D'. 3704 rm -rf conftest.dir 3705 mkdir conftest.dir 3706 # Copy depcomp to subdir because otherwise we won't find it if we're 3707 # using a relative directory. 3708 cp "$am_depcomp" conftest.dir 3709 cd conftest.dir 3710 # We will build objects and dependencies in a subdirectory because 3711 # it helps to detect inapplicable dependency modes. For instance 3712 # both Tru64's cc and ICC support -MD to output dependencies as a 3713 # side effect of compilation, but ICC will put the dependencies in 3714 # the current directory while Tru64 will put them in the object 3715 # directory. 3716 mkdir sub 3717 3718 am_cv_CC_dependencies_compiler_type=none 3719 if test "$am_compiler_list" = ""; then 3720 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3721 fi 3722 am__universal=false 3723 case " $depcc " in #( 3724 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3725 esac 3726 3727 for depmode in $am_compiler_list; do 3728 # Setup a source with many dependencies, because some compilers 3729 # like to wrap large dependency lists on column 80 (with \), and 3730 # we should not choose a depcomp mode which is confused by this. 3731 # 3732 # We need to recreate these files for each test, as the compiler may 3733 # overwrite some of them when testing with obscure command lines. 3734 # This happens at least with the AIX C compiler. 3735 : > sub/conftest.c 3736 for i in 1 2 3 4 5 6; do 3737 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3738 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3739 # Solaris 8's {/usr,}/bin/sh. 3740 touch sub/conftst$i.h 3741 done 3742 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3743 3744 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3745 # mode. It turns out that the SunPro C++ compiler does not properly 3746 # handle `-M -o', and we need to detect this. Also, some Intel 3747 # versions had trouble with output in subdirs 3748 am__obj=sub/conftest.${OBJEXT-o} 3749 am__minus_obj="-o $am__obj" 3750 case $depmode in 3751 gcc) 3752 # This depmode causes a compiler race in universal mode. 3753 test "$am__universal" = false || continue 3754 ;; 3755 nosideeffect) 3756 # after this tag, mechanisms are not by side-effect, so they'll 3757 # only be used when explicitly requested 3758 if test "x$enable_dependency_tracking" = xyes; then 3759 continue 3760 else 3761 break 3762 fi 3763 ;; 3764 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3765 # This compiler won't grok `-c -o', but also, the minuso test has 3766 # not run yet. These depmodes are late enough in the game, and 3767 # so weak that their functioning should not be impacted. 3768 am__obj=conftest.${OBJEXT-o} 3769 am__minus_obj= 3770 ;; 3771 none) break ;; 3772 esac 3773 if depmode=$depmode \ 3774 source=sub/conftest.c object=$am__obj \ 3775 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3776 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3777 >/dev/null 2>conftest.err && 3778 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3779 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3780 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3781 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3782 # icc doesn't choke on unknown options, it will just issue warnings 3783 # or remarks (even with -Werror). So we grep stderr for any message 3784 # that says an option was ignored or not supported. 3785 # When given -MP, icc 7.0 and 7.1 complain thusly: 3786 # icc: Command line warning: ignoring option '-M'; no argument required 3787 # The diagnosis changed in icc 8.0: 3788 # icc: Command line remark: option '-MP' not supported 3789 if (grep 'ignoring option' conftest.err || 3790 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3791 am_cv_CC_dependencies_compiler_type=$depmode 3792 break 3793 fi 3794 fi 3795 done 3796 3797 cd .. 3798 rm -rf conftest.dir 3799else 3800 am_cv_CC_dependencies_compiler_type=none 3801fi 3802 3803fi 3804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3805$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3806CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3807 3808 if 3809 test "x$enable_dependency_tracking" != xno \ 3810 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3811 am__fastdepCC_TRUE= 3812 am__fastdepCC_FALSE='#' 3813else 3814 am__fastdepCC_TRUE='#' 3815 am__fastdepCC_FALSE= 3816fi 3817 3818 3819# By default we simply use the C compiler to build assembly code. 3820 3821test "${CCAS+set}" = set || CCAS=$CC 3822test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 3823 3824 3825 3826depcc="$CCAS" am_compiler_list= 3827 3828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3829$as_echo_n "checking dependency style of $depcc... " >&6; } 3830if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : 3831 $as_echo_n "(cached) " >&6 3832else 3833 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3834 # We make a subdir and do the tests there. Otherwise we can end up 3835 # making bogus files that we don't know about and never remove. For 3836 # instance it was reported that on HP-UX the gcc test will end up 3837 # making a dummy file named `D' -- because `-MD' means `put the output 3838 # in D'. 3839 rm -rf conftest.dir 3840 mkdir conftest.dir 3841 # Copy depcomp to subdir because otherwise we won't find it if we're 3842 # using a relative directory. 3843 cp "$am_depcomp" conftest.dir 3844 cd conftest.dir 3845 # We will build objects and dependencies in a subdirectory because 3846 # it helps to detect inapplicable dependency modes. For instance 3847 # both Tru64's cc and ICC support -MD to output dependencies as a 3848 # side effect of compilation, but ICC will put the dependencies in 3849 # the current directory while Tru64 will put them in the object 3850 # directory. 3851 mkdir sub 3852 3853 am_cv_CCAS_dependencies_compiler_type=none 3854 if test "$am_compiler_list" = ""; then 3855 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3856 fi 3857 am__universal=false 3858 3859 3860 for depmode in $am_compiler_list; do 3861 # Setup a source with many dependencies, because some compilers 3862 # like to wrap large dependency lists on column 80 (with \), and 3863 # we should not choose a depcomp mode which is confused by this. 3864 # 3865 # We need to recreate these files for each test, as the compiler may 3866 # overwrite some of them when testing with obscure command lines. 3867 # This happens at least with the AIX C compiler. 3868 : > sub/conftest.c 3869 for i in 1 2 3 4 5 6; do 3870 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3871 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3872 # Solaris 8's {/usr,}/bin/sh. 3873 touch sub/conftst$i.h 3874 done 3875 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3876 3877 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3878 # mode. It turns out that the SunPro C++ compiler does not properly 3879 # handle `-M -o', and we need to detect this. Also, some Intel 3880 # versions had trouble with output in subdirs 3881 am__obj=sub/conftest.${OBJEXT-o} 3882 am__minus_obj="-o $am__obj" 3883 case $depmode in 3884 gcc) 3885 # This depmode causes a compiler race in universal mode. 3886 test "$am__universal" = false || continue 3887 ;; 3888 nosideeffect) 3889 # after this tag, mechanisms are not by side-effect, so they'll 3890 # only be used when explicitly requested 3891 if test "x$enable_dependency_tracking" = xyes; then 3892 continue 3893 else 3894 break 3895 fi 3896 ;; 3897 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3898 # This compiler won't grok `-c -o', but also, the minuso test has 3899 # not run yet. These depmodes are late enough in the game, and 3900 # so weak that their functioning should not be impacted. 3901 am__obj=conftest.${OBJEXT-o} 3902 am__minus_obj= 3903 ;; 3904 none) break ;; 3905 esac 3906 if depmode=$depmode \ 3907 source=sub/conftest.c object=$am__obj \ 3908 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3909 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3910 >/dev/null 2>conftest.err && 3911 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3912 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3913 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3914 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3915 # icc doesn't choke on unknown options, it will just issue warnings 3916 # or remarks (even with -Werror). So we grep stderr for any message 3917 # that says an option was ignored or not supported. 3918 # When given -MP, icc 7.0 and 7.1 complain thusly: 3919 # icc: Command line warning: ignoring option '-M'; no argument required 3920 # The diagnosis changed in icc 8.0: 3921 # icc: Command line remark: option '-MP' not supported 3922 if (grep 'ignoring option' conftest.err || 3923 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3924 am_cv_CCAS_dependencies_compiler_type=$depmode 3925 break 3926 fi 3927 fi 3928 done 3929 3930 cd .. 3931 rm -rf conftest.dir 3932else 3933 am_cv_CCAS_dependencies_compiler_type=none 3934fi 3935 3936fi 3937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 3938$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 3939CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 3940 3941 if 3942 test "x$enable_dependency_tracking" != xno \ 3943 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 3944 am__fastdepCCAS_TRUE= 3945 am__fastdepCCAS_FALSE='#' 3946else 3947 am__fastdepCCAS_TRUE='#' 3948 am__fastdepCCAS_FALSE= 3949fi 3950 3951 3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 3953$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 3954if ${ac_cv_prog_cc_c99+:} false; then : 3955 $as_echo_n "(cached) " >&6 3956else 3957 ac_cv_prog_cc_c99=no 3958ac_save_CC=$CC 3959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3960/* end confdefs.h. */ 3961#include <stdarg.h> 3962#include <stdbool.h> 3963#include <stdlib.h> 3964#include <wchar.h> 3965#include <stdio.h> 3966 3967// Check varargs macros. These examples are taken from C99 6.10.3.5. 3968#define debug(...) fprintf (stderr, __VA_ARGS__) 3969#define showlist(...) puts (#__VA_ARGS__) 3970#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 3971static void 3972test_varargs_macros (void) 3973{ 3974 int x = 1234; 3975 int y = 5678; 3976 debug ("Flag"); 3977 debug ("X = %d\n", x); 3978 showlist (The first, second, and third items.); 3979 report (x>y, "x is %d but y is %d", x, y); 3980} 3981 3982// Check long long types. 3983#define BIG64 18446744073709551615ull 3984#define BIG32 4294967295ul 3985#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 3986#if !BIG_OK 3987 your preprocessor is broken; 3988#endif 3989#if BIG_OK 3990#else 3991 your preprocessor is broken; 3992#endif 3993static long long int bignum = -9223372036854775807LL; 3994static unsigned long long int ubignum = BIG64; 3995 3996struct incomplete_array 3997{ 3998 int datasize; 3999 double data[]; 4000}; 4001 4002struct named_init { 4003 int number; 4004 const wchar_t *name; 4005 double average; 4006}; 4007 4008typedef const char *ccp; 4009 4010static inline int 4011test_restrict (ccp restrict text) 4012{ 4013 // See if C++-style comments work. 4014 // Iterate through items via the restricted pointer. 4015 // Also check for declarations in for loops. 4016 for (unsigned int i = 0; *(text+i) != '\0'; ++i) 4017 continue; 4018 return 0; 4019} 4020 4021// Check varargs and va_copy. 4022static void 4023test_varargs (const char *format, ...) 4024{ 4025 va_list args; 4026 va_start (args, format); 4027 va_list args_copy; 4028 va_copy (args_copy, args); 4029 4030 const char *str; 4031 int number; 4032 float fnumber; 4033 4034 while (*format) 4035 { 4036 switch (*format++) 4037 { 4038 case 's': // string 4039 str = va_arg (args_copy, const char *); 4040 break; 4041 case 'd': // int 4042 number = va_arg (args_copy, int); 4043 break; 4044 case 'f': // float 4045 fnumber = va_arg (args_copy, double); 4046 break; 4047 default: 4048 break; 4049 } 4050 } 4051 va_end (args_copy); 4052 va_end (args); 4053} 4054 4055int 4056main () 4057{ 4058 4059 // Check bool. 4060 _Bool success = false; 4061 4062 // Check restrict. 4063 if (test_restrict ("String literal") == 0) 4064 success = true; 4065 char *restrict newvar = "Another string"; 4066 4067 // Check varargs. 4068 test_varargs ("s, d' f .", "string", 65, 34.234); 4069 test_varargs_macros (); 4070 4071 // Check flexible array members. 4072 struct incomplete_array *ia = 4073 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 4074 ia->datasize = 10; 4075 for (int i = 0; i < ia->datasize; ++i) 4076 ia->data[i] = i * 1.234; 4077 4078 // Check named initializers. 4079 struct named_init ni = { 4080 .number = 34, 4081 .name = L"Test wide string", 4082 .average = 543.34343, 4083 }; 4084 4085 ni.number = 58; 4086 4087 int dynamic_array[ni.number]; 4088 dynamic_array[ni.number - 1] = 543; 4089 4090 // work around unused variable warnings 4091 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 4092 || dynamic_array[ni.number - 1] != 543); 4093 4094 ; 4095 return 0; 4096} 4097_ACEOF 4098for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 4099do 4100 CC="$ac_save_CC $ac_arg" 4101 if ac_fn_c_try_compile "$LINENO"; then : 4102 ac_cv_prog_cc_c99=$ac_arg 4103fi 4104rm -f core conftest.err conftest.$ac_objext 4105 test "x$ac_cv_prog_cc_c99" != "xno" && break 4106done 4107rm -f conftest.$ac_ext 4108CC=$ac_save_CC 4109 4110fi 4111# AC_CACHE_VAL 4112case "x$ac_cv_prog_cc_c99" in 4113 x) 4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4115$as_echo "none needed" >&6; } ;; 4116 xno) 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4118$as_echo "unsupported" >&6; } ;; 4119 *) 4120 CC="$CC $ac_cv_prog_cc_c99" 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4122$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 4123esac 4124if test "x$ac_cv_prog_cc_c99" != xno; then : 4125 4126fi 4127 4128 4129 4130case `pwd` in 4131 *\ * | *\ *) 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 4133$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 4134esac 4135 4136 4137 4138macro_version='2.4.2' 4139macro_revision='1.3337' 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153ltmain="$ac_aux_dir/ltmain.sh" 4154 4155# Make sure we can run config.sub. 4156$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4157 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4158 4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4160$as_echo_n "checking build system type... " >&6; } 4161if ${ac_cv_build+:} false; then : 4162 $as_echo_n "(cached) " >&6 4163else 4164 ac_build_alias=$build_alias 4165test "x$ac_build_alias" = x && 4166 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4167test "x$ac_build_alias" = x && 4168 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4169ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4170 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4171 4172fi 4173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4174$as_echo "$ac_cv_build" >&6; } 4175case $ac_cv_build in 4176*-*-*) ;; 4177*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4178esac 4179build=$ac_cv_build 4180ac_save_IFS=$IFS; IFS='-' 4181set x $ac_cv_build 4182shift 4183build_cpu=$1 4184build_vendor=$2 4185shift; shift 4186# Remember, the first character of IFS is used to create $*, 4187# except with old shells: 4188build_os=$* 4189IFS=$ac_save_IFS 4190case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4191 4192 4193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4194$as_echo_n "checking host system type... " >&6; } 4195if ${ac_cv_host+:} false; then : 4196 $as_echo_n "(cached) " >&6 4197else 4198 if test "x$host_alias" = x; then 4199 ac_cv_host=$ac_cv_build 4200else 4201 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4202 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4203fi 4204 4205fi 4206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4207$as_echo "$ac_cv_host" >&6; } 4208case $ac_cv_host in 4209*-*-*) ;; 4210*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4211esac 4212host=$ac_cv_host 4213ac_save_IFS=$IFS; IFS='-' 4214set x $ac_cv_host 4215shift 4216host_cpu=$1 4217host_vendor=$2 4218shift; shift 4219# Remember, the first character of IFS is used to create $*, 4220# except with old shells: 4221host_os=$* 4222IFS=$ac_save_IFS 4223case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4224 4225 4226# Backslashify metacharacters that are still active within 4227# double-quoted strings. 4228sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 4229 4230# Same as above, but do not quote variable references. 4231double_quote_subst='s/\(["`\\]\)/\\\1/g' 4232 4233# Sed substitution to delay expansion of an escaped shell variable in a 4234# double_quote_subst'ed string. 4235delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 4236 4237# Sed substitution to delay expansion of an escaped single quote. 4238delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 4239 4240# Sed substitution to avoid accidental globbing in evaled expressions 4241no_glob_subst='s/\*/\\\*/g' 4242 4243ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4244ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 4245ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 4246 4247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 4248$as_echo_n "checking how to print strings... " >&6; } 4249# Test print first, because it will be a builtin if present. 4250if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 4251 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 4252 ECHO='print -r --' 4253elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 4254 ECHO='printf %s\n' 4255else 4256 # Use this function as a fallback that always works. 4257 func_fallback_echo () 4258 { 4259 eval 'cat <<_LTECHO_EOF 4260$1 4261_LTECHO_EOF' 4262 } 4263 ECHO='func_fallback_echo' 4264fi 4265 4266# func_echo_all arg... 4267# Invoke $ECHO with all args, space-separated. 4268func_echo_all () 4269{ 4270 $ECHO "" 4271} 4272 4273case "$ECHO" in 4274 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 4275$as_echo "printf" >&6; } ;; 4276 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 4277$as_echo "print -r" >&6; } ;; 4278 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 4279$as_echo "cat" >&6; } ;; 4280esac 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 4296$as_echo_n "checking for a sed that does not truncate output... " >&6; } 4297if ${ac_cv_path_SED+:} false; then : 4298 $as_echo_n "(cached) " >&6 4299else 4300 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 4301 for ac_i in 1 2 3 4 5 6 7; do 4302 ac_script="$ac_script$as_nl$ac_script" 4303 done 4304 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 4305 { ac_script=; unset ac_script;} 4306 if test -z "$SED"; then 4307 ac_path_SED_found=false 4308 # Loop through the user's path and test for each of PROGNAME-LIST 4309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4310for as_dir in $PATH 4311do 4312 IFS=$as_save_IFS 4313 test -z "$as_dir" && as_dir=. 4314 for ac_prog in sed gsed; do 4315 for ac_exec_ext in '' $ac_executable_extensions; do 4316 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 4317 as_fn_executable_p "$ac_path_SED" || continue 4318# Check for GNU ac_path_SED and select it if it is found. 4319 # Check for GNU $ac_path_SED 4320case `"$ac_path_SED" --version 2>&1` in 4321*GNU*) 4322 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 4323*) 4324 ac_count=0 4325 $as_echo_n 0123456789 >"conftest.in" 4326 while : 4327 do 4328 cat "conftest.in" "conftest.in" >"conftest.tmp" 4329 mv "conftest.tmp" "conftest.in" 4330 cp "conftest.in" "conftest.nl" 4331 $as_echo '' >> "conftest.nl" 4332 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 4333 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4334 as_fn_arith $ac_count + 1 && ac_count=$as_val 4335 if test $ac_count -gt ${ac_path_SED_max-0}; then 4336 # Best one so far, save it but keep looking for a better one 4337 ac_cv_path_SED="$ac_path_SED" 4338 ac_path_SED_max=$ac_count 4339 fi 4340 # 10*(2^10) chars as input seems more than enough 4341 test $ac_count -gt 10 && break 4342 done 4343 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4344esac 4345 4346 $ac_path_SED_found && break 3 4347 done 4348 done 4349 done 4350IFS=$as_save_IFS 4351 if test -z "$ac_cv_path_SED"; then 4352 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 4353 fi 4354else 4355 ac_cv_path_SED=$SED 4356fi 4357 4358fi 4359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 4360$as_echo "$ac_cv_path_SED" >&6; } 4361 SED="$ac_cv_path_SED" 4362 rm -f conftest.sed 4363 4364test -z "$SED" && SED=sed 4365Xsed="$SED -e 1s/^X//" 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4378$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4379if ${ac_cv_path_GREP+:} false; then : 4380 $as_echo_n "(cached) " >&6 4381else 4382 if test -z "$GREP"; then 4383 ac_path_GREP_found=false 4384 # Loop through the user's path and test for each of PROGNAME-LIST 4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4386for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4387do 4388 IFS=$as_save_IFS 4389 test -z "$as_dir" && as_dir=. 4390 for ac_prog in grep ggrep; do 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4393 as_fn_executable_p "$ac_path_GREP" || continue 4394# Check for GNU ac_path_GREP and select it if it is found. 4395 # Check for GNU $ac_path_GREP 4396case `"$ac_path_GREP" --version 2>&1` in 4397*GNU*) 4398 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4399*) 4400 ac_count=0 4401 $as_echo_n 0123456789 >"conftest.in" 4402 while : 4403 do 4404 cat "conftest.in" "conftest.in" >"conftest.tmp" 4405 mv "conftest.tmp" "conftest.in" 4406 cp "conftest.in" "conftest.nl" 4407 $as_echo 'GREP' >> "conftest.nl" 4408 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4410 as_fn_arith $ac_count + 1 && ac_count=$as_val 4411 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4412 # Best one so far, save it but keep looking for a better one 4413 ac_cv_path_GREP="$ac_path_GREP" 4414 ac_path_GREP_max=$ac_count 4415 fi 4416 # 10*(2^10) chars as input seems more than enough 4417 test $ac_count -gt 10 && break 4418 done 4419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4420esac 4421 4422 $ac_path_GREP_found && break 3 4423 done 4424 done 4425 done 4426IFS=$as_save_IFS 4427 if test -z "$ac_cv_path_GREP"; then 4428 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4429 fi 4430else 4431 ac_cv_path_GREP=$GREP 4432fi 4433 4434fi 4435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4436$as_echo "$ac_cv_path_GREP" >&6; } 4437 GREP="$ac_cv_path_GREP" 4438 4439 4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4441$as_echo_n "checking for egrep... " >&6; } 4442if ${ac_cv_path_EGREP+:} false; then : 4443 $as_echo_n "(cached) " >&6 4444else 4445 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4446 then ac_cv_path_EGREP="$GREP -E" 4447 else 4448 if test -z "$EGREP"; then 4449 ac_path_EGREP_found=false 4450 # Loop through the user's path and test for each of PROGNAME-LIST 4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4452for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4453do 4454 IFS=$as_save_IFS 4455 test -z "$as_dir" && as_dir=. 4456 for ac_prog in egrep; do 4457 for ac_exec_ext in '' $ac_executable_extensions; do 4458 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4459 as_fn_executable_p "$ac_path_EGREP" || continue 4460# Check for GNU ac_path_EGREP and select it if it is found. 4461 # Check for GNU $ac_path_EGREP 4462case `"$ac_path_EGREP" --version 2>&1` in 4463*GNU*) 4464 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4465*) 4466 ac_count=0 4467 $as_echo_n 0123456789 >"conftest.in" 4468 while : 4469 do 4470 cat "conftest.in" "conftest.in" >"conftest.tmp" 4471 mv "conftest.tmp" "conftest.in" 4472 cp "conftest.in" "conftest.nl" 4473 $as_echo 'EGREP' >> "conftest.nl" 4474 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4475 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4476 as_fn_arith $ac_count + 1 && ac_count=$as_val 4477 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4478 # Best one so far, save it but keep looking for a better one 4479 ac_cv_path_EGREP="$ac_path_EGREP" 4480 ac_path_EGREP_max=$ac_count 4481 fi 4482 # 10*(2^10) chars as input seems more than enough 4483 test $ac_count -gt 10 && break 4484 done 4485 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4486esac 4487 4488 $ac_path_EGREP_found && break 3 4489 done 4490 done 4491 done 4492IFS=$as_save_IFS 4493 if test -z "$ac_cv_path_EGREP"; then 4494 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4495 fi 4496else 4497 ac_cv_path_EGREP=$EGREP 4498fi 4499 4500 fi 4501fi 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4503$as_echo "$ac_cv_path_EGREP" >&6; } 4504 EGREP="$ac_cv_path_EGREP" 4505 4506 4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 4508$as_echo_n "checking for fgrep... " >&6; } 4509if ${ac_cv_path_FGREP+:} false; then : 4510 $as_echo_n "(cached) " >&6 4511else 4512 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 4513 then ac_cv_path_FGREP="$GREP -F" 4514 else 4515 if test -z "$FGREP"; then 4516 ac_path_FGREP_found=false 4517 # Loop through the user's path and test for each of PROGNAME-LIST 4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4519for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4520do 4521 IFS=$as_save_IFS 4522 test -z "$as_dir" && as_dir=. 4523 for ac_prog in fgrep; do 4524 for ac_exec_ext in '' $ac_executable_extensions; do 4525 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 4526 as_fn_executable_p "$ac_path_FGREP" || continue 4527# Check for GNU ac_path_FGREP and select it if it is found. 4528 # Check for GNU $ac_path_FGREP 4529case `"$ac_path_FGREP" --version 2>&1` in 4530*GNU*) 4531 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 4532*) 4533 ac_count=0 4534 $as_echo_n 0123456789 >"conftest.in" 4535 while : 4536 do 4537 cat "conftest.in" "conftest.in" >"conftest.tmp" 4538 mv "conftest.tmp" "conftest.in" 4539 cp "conftest.in" "conftest.nl" 4540 $as_echo 'FGREP' >> "conftest.nl" 4541 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 4542 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4543 as_fn_arith $ac_count + 1 && ac_count=$as_val 4544 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 4545 # Best one so far, save it but keep looking for a better one 4546 ac_cv_path_FGREP="$ac_path_FGREP" 4547 ac_path_FGREP_max=$ac_count 4548 fi 4549 # 10*(2^10) chars as input seems more than enough 4550 test $ac_count -gt 10 && break 4551 done 4552 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4553esac 4554 4555 $ac_path_FGREP_found && break 3 4556 done 4557 done 4558 done 4559IFS=$as_save_IFS 4560 if test -z "$ac_cv_path_FGREP"; then 4561 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4562 fi 4563else 4564 ac_cv_path_FGREP=$FGREP 4565fi 4566 4567 fi 4568fi 4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 4570$as_echo "$ac_cv_path_FGREP" >&6; } 4571 FGREP="$ac_cv_path_FGREP" 4572 4573 4574test -z "$GREP" && GREP=grep 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594# Check whether --with-gnu-ld was given. 4595if test "${with_gnu_ld+set}" = set; then : 4596 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4597else 4598 with_gnu_ld=no 4599fi 4600 4601ac_prog=ld 4602if test "$GCC" = yes; then 4603 # Check if gcc -print-prog-name=ld gives a path. 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 4605$as_echo_n "checking for ld used by $CC... " >&6; } 4606 case $host in 4607 *-*-mingw*) 4608 # gcc leaves a trailing carriage return which upsets mingw 4609 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4610 *) 4611 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4612 esac 4613 case $ac_prog in 4614 # Accept absolute paths. 4615 [\\/]* | ?:[\\/]*) 4616 re_direlt='/[^/][^/]*/\.\./' 4617 # Canonicalize the pathname of ld 4618 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 4619 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 4620 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 4621 done 4622 test -z "$LD" && LD="$ac_prog" 4623 ;; 4624 "") 4625 # If it fails, then pretend we aren't using GCC. 4626 ac_prog=ld 4627 ;; 4628 *) 4629 # If it is relative, then search for the first ld in PATH. 4630 with_gnu_ld=unknown 4631 ;; 4632 esac 4633elif test "$with_gnu_ld" = yes; then 4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4635$as_echo_n "checking for GNU ld... " >&6; } 4636else 4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4638$as_echo_n "checking for non-GNU ld... " >&6; } 4639fi 4640if ${lt_cv_path_LD+:} false; then : 4641 $as_echo_n "(cached) " >&6 4642else 4643 if test -z "$LD"; then 4644 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4645 for ac_dir in $PATH; do 4646 IFS="$lt_save_ifs" 4647 test -z "$ac_dir" && ac_dir=. 4648 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4649 lt_cv_path_LD="$ac_dir/$ac_prog" 4650 # Check to see if the program is GNU ld. I'd rather use --version, 4651 # but apparently some variants of GNU ld only accept -v. 4652 # Break only if it was the GNU/non-GNU ld that we prefer. 4653 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 4654 *GNU* | *'with BFD'*) 4655 test "$with_gnu_ld" != no && break 4656 ;; 4657 *) 4658 test "$with_gnu_ld" != yes && break 4659 ;; 4660 esac 4661 fi 4662 done 4663 IFS="$lt_save_ifs" 4664else 4665 lt_cv_path_LD="$LD" # Let the user override the test with a path. 4666fi 4667fi 4668 4669LD="$lt_cv_path_LD" 4670if test -n "$LD"; then 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4672$as_echo "$LD" >&6; } 4673else 4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4675$as_echo "no" >&6; } 4676fi 4677test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4679$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4680if ${lt_cv_prog_gnu_ld+:} false; then : 4681 $as_echo_n "(cached) " >&6 4682else 4683 # I'd rather use --version here, but apparently some GNU lds only accept -v. 4684case `$LD -v 2>&1 </dev/null` in 4685*GNU* | *'with BFD'*) 4686 lt_cv_prog_gnu_ld=yes 4687 ;; 4688*) 4689 lt_cv_prog_gnu_ld=no 4690 ;; 4691esac 4692fi 4693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 4694$as_echo "$lt_cv_prog_gnu_ld" >&6; } 4695with_gnu_ld=$lt_cv_prog_gnu_ld 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 4706$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 4707if ${lt_cv_path_NM+:} false; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 if test -n "$NM"; then 4711 # Let the user override the test. 4712 lt_cv_path_NM="$NM" 4713else 4714 lt_nm_to_check="${ac_tool_prefix}nm" 4715 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 4716 lt_nm_to_check="$lt_nm_to_check nm" 4717 fi 4718 for lt_tmp_nm in $lt_nm_to_check; do 4719 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 4720 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 4721 IFS="$lt_save_ifs" 4722 test -z "$ac_dir" && ac_dir=. 4723 tmp_nm="$ac_dir/$lt_tmp_nm" 4724 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then 4725 # Check to see if the nm accepts a BSD-compat flag. 4726 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 4727 # nm: unknown option "B" ignored 4728 # Tru64's nm complains that /dev/null is an invalid object file 4729 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in 4730 */dev/null* | *'Invalid file or object type'*) 4731 lt_cv_path_NM="$tmp_nm -B" 4732 break 4733 ;; 4734 *) 4735 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 4736 */dev/null*) 4737 lt_cv_path_NM="$tmp_nm -p" 4738 break 4739 ;; 4740 *) 4741 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 4742 continue # so that we can try to find one that supports BSD flags 4743 ;; 4744 esac 4745 ;; 4746 esac 4747 fi 4748 done 4749 IFS="$lt_save_ifs" 4750 done 4751 : ${lt_cv_path_NM=no} 4752fi 4753fi 4754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 4755$as_echo "$lt_cv_path_NM" >&6; } 4756if test "$lt_cv_path_NM" != "no"; then 4757 NM="$lt_cv_path_NM" 4758else 4759 # Didn't find any BSD compatible name lister, look for dumpbin. 4760 if test -n "$DUMPBIN"; then : 4761 # Let the user override the test. 4762 else 4763 if test -n "$ac_tool_prefix"; then 4764 for ac_prog in dumpbin "link -dump" 4765 do 4766 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4767set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4769$as_echo_n "checking for $ac_word... " >&6; } 4770if ${ac_cv_prog_DUMPBIN+:} false; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 if test -n "$DUMPBIN"; then 4774 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 4775else 4776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4777for as_dir in $PATH 4778do 4779 IFS=$as_save_IFS 4780 test -z "$as_dir" && as_dir=. 4781 for ac_exec_ext in '' $ac_executable_extensions; do 4782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4783 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4785 break 2 4786 fi 4787done 4788 done 4789IFS=$as_save_IFS 4790 4791fi 4792fi 4793DUMPBIN=$ac_cv_prog_DUMPBIN 4794if test -n "$DUMPBIN"; then 4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 4796$as_echo "$DUMPBIN" >&6; } 4797else 4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4799$as_echo "no" >&6; } 4800fi 4801 4802 4803 test -n "$DUMPBIN" && break 4804 done 4805fi 4806if test -z "$DUMPBIN"; then 4807 ac_ct_DUMPBIN=$DUMPBIN 4808 for ac_prog in dumpbin "link -dump" 4809do 4810 # Extract the first word of "$ac_prog", so it can be a program name with args. 4811set dummy $ac_prog; ac_word=$2 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4813$as_echo_n "checking for $ac_word... " >&6; } 4814if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 4815 $as_echo_n "(cached) " >&6 4816else 4817 if test -n "$ac_ct_DUMPBIN"; then 4818 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 4819else 4820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4821for as_dir in $PATH 4822do 4823 IFS=$as_save_IFS 4824 test -z "$as_dir" && as_dir=. 4825 for ac_exec_ext in '' $ac_executable_extensions; do 4826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4827 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4829 break 2 4830 fi 4831done 4832 done 4833IFS=$as_save_IFS 4834 4835fi 4836fi 4837ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 4838if test -n "$ac_ct_DUMPBIN"; then 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 4840$as_echo "$ac_ct_DUMPBIN" >&6; } 4841else 4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4843$as_echo "no" >&6; } 4844fi 4845 4846 4847 test -n "$ac_ct_DUMPBIN" && break 4848done 4849 4850 if test "x$ac_ct_DUMPBIN" = x; then 4851 DUMPBIN=":" 4852 else 4853 case $cross_compiling:$ac_tool_warned in 4854yes:) 4855{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4856$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4857ac_tool_warned=yes ;; 4858esac 4859 DUMPBIN=$ac_ct_DUMPBIN 4860 fi 4861fi 4862 4863 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in 4864 *COFF*) 4865 DUMPBIN="$DUMPBIN -symbols" 4866 ;; 4867 *) 4868 DUMPBIN=: 4869 ;; 4870 esac 4871 fi 4872 4873 if test "$DUMPBIN" != ":"; then 4874 NM="$DUMPBIN" 4875 fi 4876fi 4877test -z "$NM" && NM=nm 4878 4879 4880 4881 4882 4883 4884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 4885$as_echo_n "checking the name lister ($NM) interface... " >&6; } 4886if ${lt_cv_nm_interface+:} false; then : 4887 $as_echo_n "(cached) " >&6 4888else 4889 lt_cv_nm_interface="BSD nm" 4890 echo "int some_variable = 0;" > conftest.$ac_ext 4891 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 4892 (eval "$ac_compile" 2>conftest.err) 4893 cat conftest.err >&5 4894 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4895 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4896 cat conftest.err >&5 4897 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 4898 cat conftest.out >&5 4899 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4900 lt_cv_nm_interface="MS dumpbin" 4901 fi 4902 rm -f conftest* 4903fi 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 4905$as_echo "$lt_cv_nm_interface" >&6; } 4906 4907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 4908$as_echo_n "checking whether ln -s works... " >&6; } 4909LN_S=$as_ln_s 4910if test "$LN_S" = "ln -s"; then 4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4912$as_echo "yes" >&6; } 4913else 4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 4915$as_echo "no, using $LN_S" >&6; } 4916fi 4917 4918# find the maximum length of command line arguments 4919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 4920$as_echo_n "checking the maximum length of command line arguments... " >&6; } 4921if ${lt_cv_sys_max_cmd_len+:} false; then : 4922 $as_echo_n "(cached) " >&6 4923else 4924 i=0 4925 teststring="ABCD" 4926 4927 case $build_os in 4928 msdosdjgpp*) 4929 # On DJGPP, this test can blow up pretty badly due to problems in libc 4930 # (any single argument exceeding 2000 bytes causes a buffer overrun 4931 # during glob expansion). Even if it were fixed, the result of this 4932 # check would be larger than it should be. 4933 lt_cv_sys_max_cmd_len=12288; # 12K is about right 4934 ;; 4935 4936 gnu*) 4937 # Under GNU Hurd, this test is not required because there is 4938 # no limit to the length of command line arguments. 4939 # Libtool will interpret -1 as no limit whatsoever 4940 lt_cv_sys_max_cmd_len=-1; 4941 ;; 4942 4943 cygwin* | mingw* | cegcc*) 4944 # On Win9x/ME, this test blows up -- it succeeds, but takes 4945 # about 5 minutes as the teststring grows exponentially. 4946 # Worse, since 9x/ME are not pre-emptively multitasking, 4947 # you end up with a "frozen" computer, even though with patience 4948 # the test eventually succeeds (with a max line length of 256k). 4949 # Instead, let's just punt: use the minimum linelength reported by 4950 # all of the supported platforms: 8192 (on NT/2K/XP). 4951 lt_cv_sys_max_cmd_len=8192; 4952 ;; 4953 4954 mint*) 4955 # On MiNT this can take a long time and run out of memory. 4956 lt_cv_sys_max_cmd_len=8192; 4957 ;; 4958 4959 amigaos*) 4960 # On AmigaOS with pdksh, this test takes hours, literally. 4961 # So we just punt and use a minimum line length of 8192. 4962 lt_cv_sys_max_cmd_len=8192; 4963 ;; 4964 4965 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 4966 # This has been around since 386BSD, at least. Likely further. 4967 if test -x /sbin/sysctl; then 4968 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 4969 elif test -x /usr/sbin/sysctl; then 4970 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 4971 else 4972 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 4973 fi 4974 # And add a safety zone 4975 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 4976 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 4977 ;; 4978 4979 interix*) 4980 # We know the value 262144 and hardcode it with a safety zone (like BSD) 4981 lt_cv_sys_max_cmd_len=196608 4982 ;; 4983 4984 os2*) 4985 # The test takes a long time on OS/2. 4986 lt_cv_sys_max_cmd_len=8192 4987 ;; 4988 4989 osf*) 4990 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 4991 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 4992 # nice to cause kernel panics so lets avoid the loop below. 4993 # First set a reasonable default. 4994 lt_cv_sys_max_cmd_len=16384 4995 # 4996 if test -x /sbin/sysconfig; then 4997 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 4998 *1*) lt_cv_sys_max_cmd_len=-1 ;; 4999 esac 5000 fi 5001 ;; 5002 sco3.2v5*) 5003 lt_cv_sys_max_cmd_len=102400 5004 ;; 5005 sysv5* | sco5v6* | sysv4.2uw2*) 5006 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 5007 if test -n "$kargmax"; then 5008 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 5009 else 5010 lt_cv_sys_max_cmd_len=32768 5011 fi 5012 ;; 5013 *) 5014 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 5015 if test -n "$lt_cv_sys_max_cmd_len"; then 5016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 5017 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 5018 else 5019 # Make teststring a little bigger before we do anything with it. 5020 # a 1K string should be a reasonable start. 5021 for i in 1 2 3 4 5 6 7 8 ; do 5022 teststring=$teststring$teststring 5023 done 5024 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 5025 # If test is not a shell built-in, we'll probably end up computing a 5026 # maximum length that is only half of the actual maximum length, but 5027 # we can't tell. 5028 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ 5029 = "X$teststring$teststring"; } >/dev/null 2>&1 && 5030 test $i != 17 # 1/2 MB should be enough 5031 do 5032 i=`expr $i + 1` 5033 teststring=$teststring$teststring 5034 done 5035 # Only check the string length outside the loop. 5036 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 5037 teststring= 5038 # Add a significant safety factor because C++ compilers can tack on 5039 # massive amounts of additional arguments before passing them to the 5040 # linker. It appears as though 1/2 is a usable value. 5041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 5042 fi 5043 ;; 5044 esac 5045 5046fi 5047 5048if test -n $lt_cv_sys_max_cmd_len ; then 5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 5050$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 5051else 5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 5053$as_echo "none" >&6; } 5054fi 5055max_cmd_len=$lt_cv_sys_max_cmd_len 5056 5057 5058 5059 5060 5061 5062: ${CP="cp -f"} 5063: ${MV="mv -f"} 5064: ${RM="rm -f"} 5065 5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 5067$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } 5068# Try some XSI features 5069xsi_shell=no 5070( _lt_dummy="a/b/c" 5071 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ 5072 = c,a/b,b/c, \ 5073 && eval 'test $(( 1 + 1 )) -eq 2 \ 5074 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ 5075 && xsi_shell=yes 5076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 5077$as_echo "$xsi_shell" >&6; } 5078 5079 5080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 5081$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } 5082lt_shell_append=no 5083( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ 5084 >/dev/null 2>&1 \ 5085 && lt_shell_append=yes 5086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 5087$as_echo "$lt_shell_append" >&6; } 5088 5089 5090if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5091 lt_unset=unset 5092else 5093 lt_unset=false 5094fi 5095 5096 5097 5098 5099 5100# test EBCDIC or ASCII 5101case `echo X|tr X '\101'` in 5102 A) # ASCII based system 5103 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 5104 lt_SP2NL='tr \040 \012' 5105 lt_NL2SP='tr \015\012 \040\040' 5106 ;; 5107 *) # EBCDIC based system 5108 lt_SP2NL='tr \100 \n' 5109 lt_NL2SP='tr \r\n \100\100' 5110 ;; 5111esac 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 5122$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 5123if ${lt_cv_to_host_file_cmd+:} false; then : 5124 $as_echo_n "(cached) " >&6 5125else 5126 case $host in 5127 *-*-mingw* ) 5128 case $build in 5129 *-*-mingw* ) # actually msys 5130 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 5131 ;; 5132 *-*-cygwin* ) 5133 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 5134 ;; 5135 * ) # otherwise, assume *nix 5136 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 5137 ;; 5138 esac 5139 ;; 5140 *-*-cygwin* ) 5141 case $build in 5142 *-*-mingw* ) # actually msys 5143 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 5144 ;; 5145 *-*-cygwin* ) 5146 lt_cv_to_host_file_cmd=func_convert_file_noop 5147 ;; 5148 * ) # otherwise, assume *nix 5149 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 5150 ;; 5151 esac 5152 ;; 5153 * ) # unhandled hosts (and "normal" native builds) 5154 lt_cv_to_host_file_cmd=func_convert_file_noop 5155 ;; 5156esac 5157 5158fi 5159 5160to_host_file_cmd=$lt_cv_to_host_file_cmd 5161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 5162$as_echo "$lt_cv_to_host_file_cmd" >&6; } 5163 5164 5165 5166 5167 5168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 5169$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 5170if ${lt_cv_to_tool_file_cmd+:} false; then : 5171 $as_echo_n "(cached) " >&6 5172else 5173 #assume ordinary cross tools, or native build. 5174lt_cv_to_tool_file_cmd=func_convert_file_noop 5175case $host in 5176 *-*-mingw* ) 5177 case $build in 5178 *-*-mingw* ) # actually msys 5179 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 5180 ;; 5181 esac 5182 ;; 5183esac 5184 5185fi 5186 5187to_tool_file_cmd=$lt_cv_to_tool_file_cmd 5188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 5189$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 5190 5191 5192 5193 5194 5195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 5196$as_echo_n "checking for $LD option to reload object files... " >&6; } 5197if ${lt_cv_ld_reload_flag+:} false; then : 5198 $as_echo_n "(cached) " >&6 5199else 5200 lt_cv_ld_reload_flag='-r' 5201fi 5202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 5203$as_echo "$lt_cv_ld_reload_flag" >&6; } 5204reload_flag=$lt_cv_ld_reload_flag 5205case $reload_flag in 5206"" | " "*) ;; 5207*) reload_flag=" $reload_flag" ;; 5208esac 5209reload_cmds='$LD$reload_flag -o $output$reload_objs' 5210case $host_os in 5211 cygwin* | mingw* | pw32* | cegcc*) 5212 if test "$GCC" != yes; then 5213 reload_cmds=false 5214 fi 5215 ;; 5216 darwin*) 5217 if test "$GCC" = yes; then 5218 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 5219 else 5220 reload_cmds='$LD$reload_flag -o $output$reload_objs' 5221 fi 5222 ;; 5223esac 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233if test -n "$ac_tool_prefix"; then 5234 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 5235set dummy ${ac_tool_prefix}objdump; ac_word=$2 5236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5237$as_echo_n "checking for $ac_word... " >&6; } 5238if ${ac_cv_prog_OBJDUMP+:} false; then : 5239 $as_echo_n "(cached) " >&6 5240else 5241 if test -n "$OBJDUMP"; then 5242 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 5243else 5244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5245for as_dir in $PATH 5246do 5247 IFS=$as_save_IFS 5248 test -z "$as_dir" && as_dir=. 5249 for ac_exec_ext in '' $ac_executable_extensions; do 5250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5251 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 5252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5253 break 2 5254 fi 5255done 5256 done 5257IFS=$as_save_IFS 5258 5259fi 5260fi 5261OBJDUMP=$ac_cv_prog_OBJDUMP 5262if test -n "$OBJDUMP"; then 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 5264$as_echo "$OBJDUMP" >&6; } 5265else 5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5267$as_echo "no" >&6; } 5268fi 5269 5270 5271fi 5272if test -z "$ac_cv_prog_OBJDUMP"; then 5273 ac_ct_OBJDUMP=$OBJDUMP 5274 # Extract the first word of "objdump", so it can be a program name with args. 5275set dummy objdump; ac_word=$2 5276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5277$as_echo_n "checking for $ac_word... " >&6; } 5278if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 5279 $as_echo_n "(cached) " >&6 5280else 5281 if test -n "$ac_ct_OBJDUMP"; then 5282 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 5283else 5284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5285for as_dir in $PATH 5286do 5287 IFS=$as_save_IFS 5288 test -z "$as_dir" && as_dir=. 5289 for ac_exec_ext in '' $ac_executable_extensions; do 5290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5291 ac_cv_prog_ac_ct_OBJDUMP="objdump" 5292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5293 break 2 5294 fi 5295done 5296 done 5297IFS=$as_save_IFS 5298 5299fi 5300fi 5301ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 5302if test -n "$ac_ct_OBJDUMP"; then 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 5304$as_echo "$ac_ct_OBJDUMP" >&6; } 5305else 5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5307$as_echo "no" >&6; } 5308fi 5309 5310 if test "x$ac_ct_OBJDUMP" = x; then 5311 OBJDUMP="false" 5312 else 5313 case $cross_compiling:$ac_tool_warned in 5314yes:) 5315{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5316$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5317ac_tool_warned=yes ;; 5318esac 5319 OBJDUMP=$ac_ct_OBJDUMP 5320 fi 5321else 5322 OBJDUMP="$ac_cv_prog_OBJDUMP" 5323fi 5324 5325test -z "$OBJDUMP" && OBJDUMP=objdump 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 5336$as_echo_n "checking how to recognize dependent libraries... " >&6; } 5337if ${lt_cv_deplibs_check_method+:} false; then : 5338 $as_echo_n "(cached) " >&6 5339else 5340 lt_cv_file_magic_cmd='$MAGIC_CMD' 5341lt_cv_file_magic_test_file= 5342lt_cv_deplibs_check_method='unknown' 5343# Need to set the preceding variable on all platforms that support 5344# interlibrary dependencies. 5345# 'none' -- dependencies not supported. 5346# `unknown' -- same as none, but documents that we really don't know. 5347# 'pass_all' -- all dependencies passed with no checks. 5348# 'test_compile' -- check by making test program. 5349# 'file_magic [[regex]]' -- check by looking for files in library path 5350# which responds to the $file_magic_cmd with a given extended regex. 5351# If you have `file' or equivalent on your system and you're not sure 5352# whether `pass_all' will *always* work, you probably want this one. 5353 5354case $host_os in 5355aix[4-9]*) 5356 lt_cv_deplibs_check_method=pass_all 5357 ;; 5358 5359beos*) 5360 lt_cv_deplibs_check_method=pass_all 5361 ;; 5362 5363bsdi[45]*) 5364 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 5365 lt_cv_file_magic_cmd='/usr/bin/file -L' 5366 lt_cv_file_magic_test_file=/shlib/libc.so 5367 ;; 5368 5369cygwin*) 5370 # func_win32_libid is a shell function defined in ltmain.sh 5371 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5372 lt_cv_file_magic_cmd='func_win32_libid' 5373 ;; 5374 5375mingw* | pw32*) 5376 # Base MSYS/MinGW do not provide the 'file' command needed by 5377 # func_win32_libid shell function, so use a weaker test based on 'objdump', 5378 # unless we find 'file', for example because we are cross-compiling. 5379 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. 5380 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then 5381 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 5382 lt_cv_file_magic_cmd='func_win32_libid' 5383 else 5384 # Keep this pattern in sync with the one in func_win32_libid. 5385 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 5386 lt_cv_file_magic_cmd='$OBJDUMP -f' 5387 fi 5388 ;; 5389 5390cegcc*) 5391 # use the weaker test based on 'objdump'. See mingw*. 5392 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 5393 lt_cv_file_magic_cmd='$OBJDUMP -f' 5394 ;; 5395 5396darwin* | rhapsody*) 5397 lt_cv_deplibs_check_method=pass_all 5398 ;; 5399 5400freebsd* | dragonfly*) 5401 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5402 case $host_cpu in 5403 i*86 ) 5404 # Not sure whether the presence of OpenBSD here was a mistake. 5405 # Let's accept both of them until this is cleared up. 5406 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 5407 lt_cv_file_magic_cmd=/usr/bin/file 5408 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 5409 ;; 5410 esac 5411 else 5412 lt_cv_deplibs_check_method=pass_all 5413 fi 5414 ;; 5415 5416haiku*) 5417 lt_cv_deplibs_check_method=pass_all 5418 ;; 5419 5420hpux10.20* | hpux11*) 5421 lt_cv_file_magic_cmd=/usr/bin/file 5422 case $host_cpu in 5423 ia64*) 5424 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 5425 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 5426 ;; 5427 hppa*64*) 5428 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]' 5429 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 5430 ;; 5431 *) 5432 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 5433 lt_cv_file_magic_test_file=/usr/lib/libc.sl 5434 ;; 5435 esac 5436 ;; 5437 5438interix[3-9]*) 5439 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 5440 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 5441 ;; 5442 5443irix5* | irix6* | nonstopux*) 5444 case $LD in 5445 *-32|*"-32 ") libmagic=32-bit;; 5446 *-n32|*"-n32 ") libmagic=N32;; 5447 *-64|*"-64 ") libmagic=64-bit;; 5448 *) libmagic=never-match;; 5449 esac 5450 lt_cv_deplibs_check_method=pass_all 5451 ;; 5452 5453# This must be glibc/ELF. 5454linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 5455 lt_cv_deplibs_check_method=pass_all 5456 ;; 5457 5458netbsd* | netbsdelf*-gnu) 5459 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 5460 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5461 else 5462 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 5463 fi 5464 ;; 5465 5466newos6*) 5467 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 5468 lt_cv_file_magic_cmd=/usr/bin/file 5469 lt_cv_file_magic_test_file=/usr/lib/libnls.so 5470 ;; 5471 5472*nto* | *qnx*) 5473 lt_cv_deplibs_check_method=pass_all 5474 ;; 5475 5476openbsd*) 5477 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 5478 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 5479 else 5480 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 5481 fi 5482 ;; 5483 5484osf3* | osf4* | osf5*) 5485 lt_cv_deplibs_check_method=pass_all 5486 ;; 5487 5488rdos*) 5489 lt_cv_deplibs_check_method=pass_all 5490 ;; 5491 5492solaris*) 5493 lt_cv_deplibs_check_method=pass_all 5494 ;; 5495 5496sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 5497 lt_cv_deplibs_check_method=pass_all 5498 ;; 5499 5500sysv4 | sysv4.3*) 5501 case $host_vendor in 5502 motorola) 5503 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]' 5504 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 5505 ;; 5506 ncr) 5507 lt_cv_deplibs_check_method=pass_all 5508 ;; 5509 sequent) 5510 lt_cv_file_magic_cmd='/bin/file' 5511 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 5512 ;; 5513 sni) 5514 lt_cv_file_magic_cmd='/bin/file' 5515 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 5516 lt_cv_file_magic_test_file=/lib/libc.so 5517 ;; 5518 siemens) 5519 lt_cv_deplibs_check_method=pass_all 5520 ;; 5521 pc) 5522 lt_cv_deplibs_check_method=pass_all 5523 ;; 5524 esac 5525 ;; 5526 5527tpf*) 5528 lt_cv_deplibs_check_method=pass_all 5529 ;; 5530esac 5531 5532fi 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 5534$as_echo "$lt_cv_deplibs_check_method" >&6; } 5535 5536file_magic_glob= 5537want_nocaseglob=no 5538if test "$build" = "$host"; then 5539 case $host_os in 5540 mingw* | pw32*) 5541 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 5542 want_nocaseglob=yes 5543 else 5544 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 5545 fi 5546 ;; 5547 esac 5548fi 5549 5550file_magic_cmd=$lt_cv_file_magic_cmd 5551deplibs_check_method=$lt_cv_deplibs_check_method 5552test -z "$deplibs_check_method" && deplibs_check_method=unknown 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575if test -n "$ac_tool_prefix"; then 5576 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 5577set dummy ${ac_tool_prefix}dlltool; ac_word=$2 5578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5579$as_echo_n "checking for $ac_word... " >&6; } 5580if ${ac_cv_prog_DLLTOOL+:} false; then : 5581 $as_echo_n "(cached) " >&6 5582else 5583 if test -n "$DLLTOOL"; then 5584 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 5585else 5586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5587for as_dir in $PATH 5588do 5589 IFS=$as_save_IFS 5590 test -z "$as_dir" && as_dir=. 5591 for ac_exec_ext in '' $ac_executable_extensions; do 5592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5593 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 5594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5595 break 2 5596 fi 5597done 5598 done 5599IFS=$as_save_IFS 5600 5601fi 5602fi 5603DLLTOOL=$ac_cv_prog_DLLTOOL 5604if test -n "$DLLTOOL"; then 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 5606$as_echo "$DLLTOOL" >&6; } 5607else 5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5609$as_echo "no" >&6; } 5610fi 5611 5612 5613fi 5614if test -z "$ac_cv_prog_DLLTOOL"; then 5615 ac_ct_DLLTOOL=$DLLTOOL 5616 # Extract the first word of "dlltool", so it can be a program name with args. 5617set dummy dlltool; ac_word=$2 5618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5619$as_echo_n "checking for $ac_word... " >&6; } 5620if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 5621 $as_echo_n "(cached) " >&6 5622else 5623 if test -n "$ac_ct_DLLTOOL"; then 5624 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 5625else 5626as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5627for as_dir in $PATH 5628do 5629 IFS=$as_save_IFS 5630 test -z "$as_dir" && as_dir=. 5631 for ac_exec_ext in '' $ac_executable_extensions; do 5632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5633 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 5634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5635 break 2 5636 fi 5637done 5638 done 5639IFS=$as_save_IFS 5640 5641fi 5642fi 5643ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 5644if test -n "$ac_ct_DLLTOOL"; then 5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 5646$as_echo "$ac_ct_DLLTOOL" >&6; } 5647else 5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5649$as_echo "no" >&6; } 5650fi 5651 5652 if test "x$ac_ct_DLLTOOL" = x; then 5653 DLLTOOL="false" 5654 else 5655 case $cross_compiling:$ac_tool_warned in 5656yes:) 5657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5659ac_tool_warned=yes ;; 5660esac 5661 DLLTOOL=$ac_ct_DLLTOOL 5662 fi 5663else 5664 DLLTOOL="$ac_cv_prog_DLLTOOL" 5665fi 5666 5667test -z "$DLLTOOL" && DLLTOOL=dlltool 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 5679$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 5680if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 5681 $as_echo_n "(cached) " >&6 5682else 5683 lt_cv_sharedlib_from_linklib_cmd='unknown' 5684 5685case $host_os in 5686cygwin* | mingw* | pw32* | cegcc*) 5687 # two different shell functions defined in ltmain.sh 5688 # decide which to use based on capabilities of $DLLTOOL 5689 case `$DLLTOOL --help 2>&1` in 5690 *--identify-strict*) 5691 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 5692 ;; 5693 *) 5694 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 5695 ;; 5696 esac 5697 ;; 5698*) 5699 # fallback: assume linklib IS sharedlib 5700 lt_cv_sharedlib_from_linklib_cmd="$ECHO" 5701 ;; 5702esac 5703 5704fi 5705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 5706$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 5707sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 5708test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 5709 5710 5711 5712 5713 5714 5715 5716 5717if test -n "$ac_tool_prefix"; then 5718 for ac_prog in ar 5719 do 5720 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5721set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5723$as_echo_n "checking for $ac_word... " >&6; } 5724if ${ac_cv_prog_AR+:} false; then : 5725 $as_echo_n "(cached) " >&6 5726else 5727 if test -n "$AR"; then 5728 ac_cv_prog_AR="$AR" # Let the user override the test. 5729else 5730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5731for as_dir in $PATH 5732do 5733 IFS=$as_save_IFS 5734 test -z "$as_dir" && as_dir=. 5735 for ac_exec_ext in '' $ac_executable_extensions; do 5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5737 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5739 break 2 5740 fi 5741done 5742 done 5743IFS=$as_save_IFS 5744 5745fi 5746fi 5747AR=$ac_cv_prog_AR 5748if test -n "$AR"; then 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5750$as_echo "$AR" >&6; } 5751else 5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5753$as_echo "no" >&6; } 5754fi 5755 5756 5757 test -n "$AR" && break 5758 done 5759fi 5760if test -z "$AR"; then 5761 ac_ct_AR=$AR 5762 for ac_prog in ar 5763do 5764 # Extract the first word of "$ac_prog", so it can be a program name with args. 5765set dummy $ac_prog; ac_word=$2 5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5767$as_echo_n "checking for $ac_word... " >&6; } 5768if ${ac_cv_prog_ac_ct_AR+:} false; then : 5769 $as_echo_n "(cached) " >&6 5770else 5771 if test -n "$ac_ct_AR"; then 5772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5773else 5774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5775for as_dir in $PATH 5776do 5777 IFS=$as_save_IFS 5778 test -z "$as_dir" && as_dir=. 5779 for ac_exec_ext in '' $ac_executable_extensions; do 5780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5781 ac_cv_prog_ac_ct_AR="$ac_prog" 5782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5783 break 2 5784 fi 5785done 5786 done 5787IFS=$as_save_IFS 5788 5789fi 5790fi 5791ac_ct_AR=$ac_cv_prog_ac_ct_AR 5792if test -n "$ac_ct_AR"; then 5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5794$as_echo "$ac_ct_AR" >&6; } 5795else 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5797$as_echo "no" >&6; } 5798fi 5799 5800 5801 test -n "$ac_ct_AR" && break 5802done 5803 5804 if test "x$ac_ct_AR" = x; then 5805 AR="false" 5806 else 5807 case $cross_compiling:$ac_tool_warned in 5808yes:) 5809{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5810$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5811ac_tool_warned=yes ;; 5812esac 5813 AR=$ac_ct_AR 5814 fi 5815fi 5816 5817: ${AR=ar} 5818: ${AR_FLAGS=cru} 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 5831$as_echo_n "checking for archiver @FILE support... " >&6; } 5832if ${lt_cv_ar_at_file+:} false; then : 5833 $as_echo_n "(cached) " >&6 5834else 5835 lt_cv_ar_at_file=no 5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5837/* end confdefs.h. */ 5838 5839int 5840main () 5841{ 5842 5843 ; 5844 return 0; 5845} 5846_ACEOF 5847if ac_fn_c_try_compile "$LINENO"; then : 5848 echo conftest.$ac_objext > conftest.lst 5849 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 5850 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5851 (eval $lt_ar_try) 2>&5 5852 ac_status=$? 5853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5854 test $ac_status = 0; } 5855 if test "$ac_status" -eq 0; then 5856 # Ensure the archiver fails upon bogus file names. 5857 rm -f conftest.$ac_objext libconftest.a 5858 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 5859 (eval $lt_ar_try) 2>&5 5860 ac_status=$? 5861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5862 test $ac_status = 0; } 5863 if test "$ac_status" -ne 0; then 5864 lt_cv_ar_at_file=@ 5865 fi 5866 fi 5867 rm -f conftest.* libconftest.a 5868 5869fi 5870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5871 5872fi 5873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 5874$as_echo "$lt_cv_ar_at_file" >&6; } 5875 5876if test "x$lt_cv_ar_at_file" = xno; then 5877 archiver_list_spec= 5878else 5879 archiver_list_spec=$lt_cv_ar_at_file 5880fi 5881 5882 5883 5884 5885 5886 5887 5888if test -n "$ac_tool_prefix"; then 5889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 5890set dummy ${ac_tool_prefix}strip; ac_word=$2 5891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5892$as_echo_n "checking for $ac_word... " >&6; } 5893if ${ac_cv_prog_STRIP+:} false; then : 5894 $as_echo_n "(cached) " >&6 5895else 5896 if test -n "$STRIP"; then 5897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 5898else 5899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5900for as_dir in $PATH 5901do 5902 IFS=$as_save_IFS 5903 test -z "$as_dir" && as_dir=. 5904 for ac_exec_ext in '' $ac_executable_extensions; do 5905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5906 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 5907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5908 break 2 5909 fi 5910done 5911 done 5912IFS=$as_save_IFS 5913 5914fi 5915fi 5916STRIP=$ac_cv_prog_STRIP 5917if test -n "$STRIP"; then 5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 5919$as_echo "$STRIP" >&6; } 5920else 5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5922$as_echo "no" >&6; } 5923fi 5924 5925 5926fi 5927if test -z "$ac_cv_prog_STRIP"; then 5928 ac_ct_STRIP=$STRIP 5929 # Extract the first word of "strip", so it can be a program name with args. 5930set dummy strip; ac_word=$2 5931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5932$as_echo_n "checking for $ac_word... " >&6; } 5933if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 5934 $as_echo_n "(cached) " >&6 5935else 5936 if test -n "$ac_ct_STRIP"; then 5937 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 5938else 5939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5940for as_dir in $PATH 5941do 5942 IFS=$as_save_IFS 5943 test -z "$as_dir" && as_dir=. 5944 for ac_exec_ext in '' $ac_executable_extensions; do 5945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5946 ac_cv_prog_ac_ct_STRIP="strip" 5947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5948 break 2 5949 fi 5950done 5951 done 5952IFS=$as_save_IFS 5953 5954fi 5955fi 5956ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 5957if test -n "$ac_ct_STRIP"; then 5958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 5959$as_echo "$ac_ct_STRIP" >&6; } 5960else 5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5962$as_echo "no" >&6; } 5963fi 5964 5965 if test "x$ac_ct_STRIP" = x; then 5966 STRIP=":" 5967 else 5968 case $cross_compiling:$ac_tool_warned in 5969yes:) 5970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5972ac_tool_warned=yes ;; 5973esac 5974 STRIP=$ac_ct_STRIP 5975 fi 5976else 5977 STRIP="$ac_cv_prog_STRIP" 5978fi 5979 5980test -z "$STRIP" && STRIP=: 5981 5982 5983 5984 5985 5986 5987if test -n "$ac_tool_prefix"; then 5988 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5989set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5991$as_echo_n "checking for $ac_word... " >&6; } 5992if ${ac_cv_prog_RANLIB+:} false; then : 5993 $as_echo_n "(cached) " >&6 5994else 5995 if test -n "$RANLIB"; then 5996 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5997else 5998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5999for as_dir in $PATH 6000do 6001 IFS=$as_save_IFS 6002 test -z "$as_dir" && as_dir=. 6003 for ac_exec_ext in '' $ac_executable_extensions; do 6004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6005 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6007 break 2 6008 fi 6009done 6010 done 6011IFS=$as_save_IFS 6012 6013fi 6014fi 6015RANLIB=$ac_cv_prog_RANLIB 6016if test -n "$RANLIB"; then 6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6018$as_echo "$RANLIB" >&6; } 6019else 6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6021$as_echo "no" >&6; } 6022fi 6023 6024 6025fi 6026if test -z "$ac_cv_prog_RANLIB"; then 6027 ac_ct_RANLIB=$RANLIB 6028 # Extract the first word of "ranlib", so it can be a program name with args. 6029set dummy ranlib; ac_word=$2 6030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6031$as_echo_n "checking for $ac_word... " >&6; } 6032if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6033 $as_echo_n "(cached) " >&6 6034else 6035 if test -n "$ac_ct_RANLIB"; then 6036 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6037else 6038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6039for as_dir in $PATH 6040do 6041 IFS=$as_save_IFS 6042 test -z "$as_dir" && as_dir=. 6043 for ac_exec_ext in '' $ac_executable_extensions; do 6044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6045 ac_cv_prog_ac_ct_RANLIB="ranlib" 6046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6047 break 2 6048 fi 6049done 6050 done 6051IFS=$as_save_IFS 6052 6053fi 6054fi 6055ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6056if test -n "$ac_ct_RANLIB"; then 6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6058$as_echo "$ac_ct_RANLIB" >&6; } 6059else 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6061$as_echo "no" >&6; } 6062fi 6063 6064 if test "x$ac_ct_RANLIB" = x; then 6065 RANLIB=":" 6066 else 6067 case $cross_compiling:$ac_tool_warned in 6068yes:) 6069{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6070$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6071ac_tool_warned=yes ;; 6072esac 6073 RANLIB=$ac_ct_RANLIB 6074 fi 6075else 6076 RANLIB="$ac_cv_prog_RANLIB" 6077fi 6078 6079test -z "$RANLIB" && RANLIB=: 6080 6081 6082 6083 6084 6085 6086# Determine commands to create old-style static archives. 6087old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 6088old_postinstall_cmds='chmod 644 $oldlib' 6089old_postuninstall_cmds= 6090 6091if test -n "$RANLIB"; then 6092 case $host_os in 6093 openbsd*) 6094 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 6095 ;; 6096 *) 6097 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 6098 ;; 6099 esac 6100 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 6101fi 6102 6103case $host_os in 6104 darwin*) 6105 lock_old_archive_extraction=yes ;; 6106 *) 6107 lock_old_archive_extraction=no ;; 6108esac 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148# If no C compiler was specified, use CC. 6149LTCC=${LTCC-"$CC"} 6150 6151# If no C compiler flags were specified, use CFLAGS. 6152LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 6153 6154# Allow CC to be a program name with arguments. 6155compiler=$CC 6156 6157 6158# Check for command to grab the raw symbol name followed by C symbol from nm. 6159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 6160$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 6161if ${lt_cv_sys_global_symbol_pipe+:} false; then : 6162 $as_echo_n "(cached) " >&6 6163else 6164 6165# These are sane defaults that work on at least a few old systems. 6166# [They come from Ultrix. What could be older than Ultrix?!! ;)] 6167 6168# Character class describing NM global symbol codes. 6169symcode='[BCDEGRST]' 6170 6171# Regexp to match symbols that can be accessed directly from C. 6172sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 6173 6174# Define system-specific variables. 6175case $host_os in 6176aix*) 6177 symcode='[BCDT]' 6178 ;; 6179cygwin* | mingw* | pw32* | cegcc*) 6180 symcode='[ABCDGISTW]' 6181 ;; 6182hpux*) 6183 if test "$host_cpu" = ia64; then 6184 symcode='[ABCDEGRST]' 6185 fi 6186 ;; 6187irix* | nonstopux*) 6188 symcode='[BCDEGRST]' 6189 ;; 6190osf*) 6191 symcode='[BCDEGQRST]' 6192 ;; 6193solaris*) 6194 symcode='[BDRT]' 6195 ;; 6196sco3.2v5*) 6197 symcode='[DT]' 6198 ;; 6199sysv4.2uw2*) 6200 symcode='[DT]' 6201 ;; 6202sysv5* | sco5v6* | unixware* | OpenUNIX*) 6203 symcode='[ABDT]' 6204 ;; 6205sysv4) 6206 symcode='[DFNSTU]' 6207 ;; 6208esac 6209 6210# If we're using GNU nm, then use its standard symbol codes. 6211case `$NM -V 2>&1` in 6212*GNU* | *'with BFD'*) 6213 symcode='[ABCDGIRSTW]' ;; 6214esac 6215 6216# Transform an extracted symbol line into a proper C declaration. 6217# Some systems (esp. on ia64) link data and code symbols differently, 6218# so use this general approach. 6219lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" 6220 6221# Transform an extracted symbol line into symbol name and symbol address 6222lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" 6223lt_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'" 6224 6225# Handle CRLF in mingw tool chain 6226opt_cr= 6227case $build_os in 6228mingw*) 6229 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 6230 ;; 6231esac 6232 6233# Try without a prefix underscore, then with it. 6234for ac_symprfx in "" "_"; do 6235 6236 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 6237 symxfrm="\\1 $ac_symprfx\\2 \\2" 6238 6239 # Write the raw and C identifiers. 6240 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6241 # Fake it for dumpbin and say T for any non-static function 6242 # and D for any global variable. 6243 # Also find C++ and __fastcall symbols from MSVC++, 6244 # which start with @ or ?. 6245 lt_cv_sys_global_symbol_pipe="$AWK '"\ 6246" {last_section=section; section=\$ 3};"\ 6247" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 6248" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 6249" \$ 0!~/External *\|/{next};"\ 6250" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 6251" {if(hide[section]) next};"\ 6252" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ 6253" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ 6254" s[1]~/^[@?]/{print s[1], s[1]; next};"\ 6255" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ 6256" ' prfx=^$ac_symprfx" 6257 else 6258 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 6259 fi 6260 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 6261 6262 # Check to see that the pipe works correctly. 6263 pipe_works=no 6264 6265 rm -f conftest* 6266 cat > conftest.$ac_ext <<_LT_EOF 6267#ifdef __cplusplus 6268extern "C" { 6269#endif 6270char nm_test_var; 6271void nm_test_func(void); 6272void nm_test_func(void){} 6273#ifdef __cplusplus 6274} 6275#endif 6276int main(){nm_test_var='a';nm_test_func();return(0);} 6277_LT_EOF 6278 6279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6280 (eval $ac_compile) 2>&5 6281 ac_status=$? 6282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6283 test $ac_status = 0; }; then 6284 # Now try to grab the symbols. 6285 nlist=conftest.nm 6286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 6287 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 6288 ac_status=$? 6289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6290 test $ac_status = 0; } && test -s "$nlist"; then 6291 # Try sorting and uniquifying the output. 6292 if sort "$nlist" | uniq > "$nlist"T; then 6293 mv -f "$nlist"T "$nlist" 6294 else 6295 rm -f "$nlist"T 6296 fi 6297 6298 # Make sure that we snagged all the symbols we need. 6299 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 6300 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 6301 cat <<_LT_EOF > conftest.$ac_ext 6302/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 6303#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) 6304/* DATA imports from DLLs on WIN32 con't be const, because runtime 6305 relocations are performed -- see ld's documentation on pseudo-relocs. */ 6306# define LT_DLSYM_CONST 6307#elif defined(__osf__) 6308/* This system does not cope well with relocations in const data. */ 6309# define LT_DLSYM_CONST 6310#else 6311# define LT_DLSYM_CONST const 6312#endif 6313 6314#ifdef __cplusplus 6315extern "C" { 6316#endif 6317 6318_LT_EOF 6319 # Now generate the symbol file. 6320 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 6321 6322 cat <<_LT_EOF >> conftest.$ac_ext 6323 6324/* The mapping between symbol names and symbols. */ 6325LT_DLSYM_CONST struct { 6326 const char *name; 6327 void *address; 6328} 6329lt__PROGRAM__LTX_preloaded_symbols[] = 6330{ 6331 { "@PROGRAM@", (void *) 0 }, 6332_LT_EOF 6333 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 6334 cat <<\_LT_EOF >> conftest.$ac_ext 6335 {0, (void *) 0} 6336}; 6337 6338/* This works around a problem in FreeBSD linker */ 6339#ifdef FREEBSD_WORKAROUND 6340static const void *lt_preloaded_setup() { 6341 return lt__PROGRAM__LTX_preloaded_symbols; 6342} 6343#endif 6344 6345#ifdef __cplusplus 6346} 6347#endif 6348_LT_EOF 6349 # Now try linking the two files. 6350 mv conftest.$ac_objext conftstm.$ac_objext 6351 lt_globsym_save_LIBS=$LIBS 6352 lt_globsym_save_CFLAGS=$CFLAGS 6353 LIBS="conftstm.$ac_objext" 6354 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 6355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 6356 (eval $ac_link) 2>&5 6357 ac_status=$? 6358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6359 test $ac_status = 0; } && test -s conftest${ac_exeext}; then 6360 pipe_works=yes 6361 fi 6362 LIBS=$lt_globsym_save_LIBS 6363 CFLAGS=$lt_globsym_save_CFLAGS 6364 else 6365 echo "cannot find nm_test_func in $nlist" >&5 6366 fi 6367 else 6368 echo "cannot find nm_test_var in $nlist" >&5 6369 fi 6370 else 6371 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 6372 fi 6373 else 6374 echo "$progname: failed program was:" >&5 6375 cat conftest.$ac_ext >&5 6376 fi 6377 rm -rf conftest* conftst* 6378 6379 # Do not use the global_symbol_pipe unless it works. 6380 if test "$pipe_works" = yes; then 6381 break 6382 else 6383 lt_cv_sys_global_symbol_pipe= 6384 fi 6385done 6386 6387fi 6388 6389if test -z "$lt_cv_sys_global_symbol_pipe"; then 6390 lt_cv_sys_global_symbol_to_cdecl= 6391fi 6392if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 6394$as_echo "failed" >&6; } 6395else 6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6397$as_echo "ok" >&6; } 6398fi 6399 6400# Response file support. 6401if test "$lt_cv_nm_interface" = "MS dumpbin"; then 6402 nm_file_list_spec='@' 6403elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 6404 nm_file_list_spec='@' 6405fi 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 6434$as_echo_n "checking for sysroot... " >&6; } 6435 6436# Check whether --with-sysroot was given. 6437if test "${with_sysroot+set}" = set; then : 6438 withval=$with_sysroot; 6439else 6440 with_sysroot=no 6441fi 6442 6443 6444lt_sysroot= 6445case ${with_sysroot} in #( 6446 yes) 6447 if test "$GCC" = yes; then 6448 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 6449 fi 6450 ;; #( 6451 /*) 6452 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 6453 ;; #( 6454 no|'') 6455 ;; #( 6456 *) 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 6458$as_echo "${with_sysroot}" >&6; } 6459 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 6460 ;; 6461esac 6462 6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 6464$as_echo "${lt_sysroot:-no}" >&6; } 6465 6466 6467 6468 6469 6470# Check whether --enable-libtool-lock was given. 6471if test "${enable_libtool_lock+set}" = set; then : 6472 enableval=$enable_libtool_lock; 6473fi 6474 6475test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 6476 6477# Some flags need to be propagated to the compiler or linker for good 6478# libtool support. 6479case $host in 6480ia64-*-hpux*) 6481 # Find out which ABI we are using. 6482 echo 'int i;' > conftest.$ac_ext 6483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6484 (eval $ac_compile) 2>&5 6485 ac_status=$? 6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6487 test $ac_status = 0; }; then 6488 case `/usr/bin/file conftest.$ac_objext` in 6489 *ELF-32*) 6490 HPUX_IA64_MODE="32" 6491 ;; 6492 *ELF-64*) 6493 HPUX_IA64_MODE="64" 6494 ;; 6495 esac 6496 fi 6497 rm -rf conftest* 6498 ;; 6499*-*-irix6*) 6500 # Find out which ABI we are using. 6501 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 6502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6503 (eval $ac_compile) 2>&5 6504 ac_status=$? 6505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6506 test $ac_status = 0; }; then 6507 if test "$lt_cv_prog_gnu_ld" = yes; then 6508 case `/usr/bin/file conftest.$ac_objext` in 6509 *32-bit*) 6510 LD="${LD-ld} -melf32bsmip" 6511 ;; 6512 *N32*) 6513 LD="${LD-ld} -melf32bmipn32" 6514 ;; 6515 *64-bit*) 6516 LD="${LD-ld} -melf64bmip" 6517 ;; 6518 esac 6519 else 6520 case `/usr/bin/file conftest.$ac_objext` in 6521 *32-bit*) 6522 LD="${LD-ld} -32" 6523 ;; 6524 *N32*) 6525 LD="${LD-ld} -n32" 6526 ;; 6527 *64-bit*) 6528 LD="${LD-ld} -64" 6529 ;; 6530 esac 6531 fi 6532 fi 6533 rm -rf conftest* 6534 ;; 6535 6536x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 6537s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 6538 # Find out which ABI we are using. 6539 echo 'int i;' > conftest.$ac_ext 6540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6541 (eval $ac_compile) 2>&5 6542 ac_status=$? 6543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6544 test $ac_status = 0; }; then 6545 case `/usr/bin/file conftest.o` in 6546 *32-bit*) 6547 case $host in 6548 x86_64-*kfreebsd*-gnu) 6549 LD="${LD-ld} -m elf_i386_fbsd" 6550 ;; 6551 x86_64-*linux*) 6552 LD="${LD-ld} -m elf_i386" 6553 ;; 6554 ppc64-*linux*|powerpc64-*linux*) 6555 LD="${LD-ld} -m elf32ppclinux" 6556 ;; 6557 s390x-*linux*) 6558 LD="${LD-ld} -m elf_s390" 6559 ;; 6560 sparc64-*linux*) 6561 LD="${LD-ld} -m elf32_sparc" 6562 ;; 6563 esac 6564 ;; 6565 *64-bit*) 6566 case $host in 6567 x86_64-*kfreebsd*-gnu) 6568 LD="${LD-ld} -m elf_x86_64_fbsd" 6569 ;; 6570 x86_64-*linux*) 6571 LD="${LD-ld} -m elf_x86_64" 6572 ;; 6573 ppc*-*linux*|powerpc*-*linux*) 6574 LD="${LD-ld} -m elf64ppc" 6575 ;; 6576 s390*-*linux*|s390*-*tpf*) 6577 LD="${LD-ld} -m elf64_s390" 6578 ;; 6579 sparc*-*linux*) 6580 LD="${LD-ld} -m elf64_sparc" 6581 ;; 6582 esac 6583 ;; 6584 esac 6585 fi 6586 rm -rf conftest* 6587 ;; 6588 6589*-*-sco3.2v5*) 6590 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 6591 SAVE_CFLAGS="$CFLAGS" 6592 CFLAGS="$CFLAGS -belf" 6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 6594$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 6595if ${lt_cv_cc_needs_belf+:} false; then : 6596 $as_echo_n "(cached) " >&6 6597else 6598 ac_ext=c 6599ac_cpp='$CPP $CPPFLAGS' 6600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6602ac_compiler_gnu=$ac_cv_c_compiler_gnu 6603 6604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6605/* end confdefs.h. */ 6606 6607int 6608main () 6609{ 6610 6611 ; 6612 return 0; 6613} 6614_ACEOF 6615if ac_fn_c_try_link "$LINENO"; then : 6616 lt_cv_cc_needs_belf=yes 6617else 6618 lt_cv_cc_needs_belf=no 6619fi 6620rm -f core conftest.err conftest.$ac_objext \ 6621 conftest$ac_exeext conftest.$ac_ext 6622 ac_ext=c 6623ac_cpp='$CPP $CPPFLAGS' 6624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6626ac_compiler_gnu=$ac_cv_c_compiler_gnu 6627 6628fi 6629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 6630$as_echo "$lt_cv_cc_needs_belf" >&6; } 6631 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 6632 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 6633 CFLAGS="$SAVE_CFLAGS" 6634 fi 6635 ;; 6636*-*solaris*) 6637 # Find out which ABI we are using. 6638 echo 'int i;' > conftest.$ac_ext 6639 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6640 (eval $ac_compile) 2>&5 6641 ac_status=$? 6642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6643 test $ac_status = 0; }; then 6644 case `/usr/bin/file conftest.o` in 6645 *64-bit*) 6646 case $lt_cv_prog_gnu_ld in 6647 yes*) 6648 case $host in 6649 i?86-*-solaris*) 6650 LD="${LD-ld} -m elf_x86_64" 6651 ;; 6652 sparc*-*-solaris*) 6653 LD="${LD-ld} -m elf64_sparc" 6654 ;; 6655 esac 6656 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 6657 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 6658 LD="${LD-ld}_sol2" 6659 fi 6660 ;; 6661 *) 6662 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 6663 LD="${LD-ld} -64" 6664 fi 6665 ;; 6666 esac 6667 ;; 6668 esac 6669 fi 6670 rm -rf conftest* 6671 ;; 6672esac 6673 6674need_locks="$enable_libtool_lock" 6675 6676if test -n "$ac_tool_prefix"; then 6677 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 6678set dummy ${ac_tool_prefix}mt; ac_word=$2 6679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6680$as_echo_n "checking for $ac_word... " >&6; } 6681if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 6682 $as_echo_n "(cached) " >&6 6683else 6684 if test -n "$MANIFEST_TOOL"; then 6685 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 6686else 6687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6688for as_dir in $PATH 6689do 6690 IFS=$as_save_IFS 6691 test -z "$as_dir" && as_dir=. 6692 for ac_exec_ext in '' $ac_executable_extensions; do 6693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6694 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 6695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6696 break 2 6697 fi 6698done 6699 done 6700IFS=$as_save_IFS 6701 6702fi 6703fi 6704MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 6705if test -n "$MANIFEST_TOOL"; then 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 6707$as_echo "$MANIFEST_TOOL" >&6; } 6708else 6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6710$as_echo "no" >&6; } 6711fi 6712 6713 6714fi 6715if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 6716 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 6717 # Extract the first word of "mt", so it can be a program name with args. 6718set dummy mt; ac_word=$2 6719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6720$as_echo_n "checking for $ac_word... " >&6; } 6721if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 6722 $as_echo_n "(cached) " >&6 6723else 6724 if test -n "$ac_ct_MANIFEST_TOOL"; then 6725 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 6726else 6727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6728for as_dir in $PATH 6729do 6730 IFS=$as_save_IFS 6731 test -z "$as_dir" && as_dir=. 6732 for ac_exec_ext in '' $ac_executable_extensions; do 6733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6734 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 6735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6736 break 2 6737 fi 6738done 6739 done 6740IFS=$as_save_IFS 6741 6742fi 6743fi 6744ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 6745if test -n "$ac_ct_MANIFEST_TOOL"; then 6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 6747$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 6748else 6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6750$as_echo "no" >&6; } 6751fi 6752 6753 if test "x$ac_ct_MANIFEST_TOOL" = x; then 6754 MANIFEST_TOOL=":" 6755 else 6756 case $cross_compiling:$ac_tool_warned in 6757yes:) 6758{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6759$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6760ac_tool_warned=yes ;; 6761esac 6762 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 6763 fi 6764else 6765 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 6766fi 6767 6768test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 6769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 6770$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 6771if ${lt_cv_path_mainfest_tool+:} false; then : 6772 $as_echo_n "(cached) " >&6 6773else 6774 lt_cv_path_mainfest_tool=no 6775 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 6776 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 6777 cat conftest.err >&5 6778 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 6779 lt_cv_path_mainfest_tool=yes 6780 fi 6781 rm -f conftest* 6782fi 6783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 6784$as_echo "$lt_cv_path_mainfest_tool" >&6; } 6785if test "x$lt_cv_path_mainfest_tool" != xyes; then 6786 MANIFEST_TOOL=: 6787fi 6788 6789 6790 6791 6792 6793 6794 case $host_os in 6795 rhapsody* | darwin*) 6796 if test -n "$ac_tool_prefix"; then 6797 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 6798set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 6799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6800$as_echo_n "checking for $ac_word... " >&6; } 6801if ${ac_cv_prog_DSYMUTIL+:} false; then : 6802 $as_echo_n "(cached) " >&6 6803else 6804 if test -n "$DSYMUTIL"; then 6805 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 6806else 6807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6808for as_dir in $PATH 6809do 6810 IFS=$as_save_IFS 6811 test -z "$as_dir" && as_dir=. 6812 for ac_exec_ext in '' $ac_executable_extensions; do 6813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6814 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 6815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6816 break 2 6817 fi 6818done 6819 done 6820IFS=$as_save_IFS 6821 6822fi 6823fi 6824DSYMUTIL=$ac_cv_prog_DSYMUTIL 6825if test -n "$DSYMUTIL"; then 6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 6827$as_echo "$DSYMUTIL" >&6; } 6828else 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6830$as_echo "no" >&6; } 6831fi 6832 6833 6834fi 6835if test -z "$ac_cv_prog_DSYMUTIL"; then 6836 ac_ct_DSYMUTIL=$DSYMUTIL 6837 # Extract the first word of "dsymutil", so it can be a program name with args. 6838set dummy dsymutil; ac_word=$2 6839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6840$as_echo_n "checking for $ac_word... " >&6; } 6841if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 6842 $as_echo_n "(cached) " >&6 6843else 6844 if test -n "$ac_ct_DSYMUTIL"; then 6845 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 6846else 6847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6848for as_dir in $PATH 6849do 6850 IFS=$as_save_IFS 6851 test -z "$as_dir" && as_dir=. 6852 for ac_exec_ext in '' $ac_executable_extensions; do 6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6854 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 6855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6856 break 2 6857 fi 6858done 6859 done 6860IFS=$as_save_IFS 6861 6862fi 6863fi 6864ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 6865if test -n "$ac_ct_DSYMUTIL"; then 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 6867$as_echo "$ac_ct_DSYMUTIL" >&6; } 6868else 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6870$as_echo "no" >&6; } 6871fi 6872 6873 if test "x$ac_ct_DSYMUTIL" = x; then 6874 DSYMUTIL=":" 6875 else 6876 case $cross_compiling:$ac_tool_warned in 6877yes:) 6878{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6879$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6880ac_tool_warned=yes ;; 6881esac 6882 DSYMUTIL=$ac_ct_DSYMUTIL 6883 fi 6884else 6885 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 6886fi 6887 6888 if test -n "$ac_tool_prefix"; then 6889 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 6890set dummy ${ac_tool_prefix}nmedit; ac_word=$2 6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6892$as_echo_n "checking for $ac_word... " >&6; } 6893if ${ac_cv_prog_NMEDIT+:} false; then : 6894 $as_echo_n "(cached) " >&6 6895else 6896 if test -n "$NMEDIT"; then 6897 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 6898else 6899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6900for as_dir in $PATH 6901do 6902 IFS=$as_save_IFS 6903 test -z "$as_dir" && as_dir=. 6904 for ac_exec_ext in '' $ac_executable_extensions; do 6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6906 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6908 break 2 6909 fi 6910done 6911 done 6912IFS=$as_save_IFS 6913 6914fi 6915fi 6916NMEDIT=$ac_cv_prog_NMEDIT 6917if test -n "$NMEDIT"; then 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 6919$as_echo "$NMEDIT" >&6; } 6920else 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6922$as_echo "no" >&6; } 6923fi 6924 6925 6926fi 6927if test -z "$ac_cv_prog_NMEDIT"; then 6928 ac_ct_NMEDIT=$NMEDIT 6929 # Extract the first word of "nmedit", so it can be a program name with args. 6930set dummy nmedit; ac_word=$2 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6932$as_echo_n "checking for $ac_word... " >&6; } 6933if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 6934 $as_echo_n "(cached) " >&6 6935else 6936 if test -n "$ac_ct_NMEDIT"; then 6937 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 6938else 6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6940for as_dir in $PATH 6941do 6942 IFS=$as_save_IFS 6943 test -z "$as_dir" && as_dir=. 6944 for ac_exec_ext in '' $ac_executable_extensions; do 6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6946 ac_cv_prog_ac_ct_NMEDIT="nmedit" 6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6948 break 2 6949 fi 6950done 6951 done 6952IFS=$as_save_IFS 6953 6954fi 6955fi 6956ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 6957if test -n "$ac_ct_NMEDIT"; then 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 6959$as_echo "$ac_ct_NMEDIT" >&6; } 6960else 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6962$as_echo "no" >&6; } 6963fi 6964 6965 if test "x$ac_ct_NMEDIT" = x; then 6966 NMEDIT=":" 6967 else 6968 case $cross_compiling:$ac_tool_warned in 6969yes:) 6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6972ac_tool_warned=yes ;; 6973esac 6974 NMEDIT=$ac_ct_NMEDIT 6975 fi 6976else 6977 NMEDIT="$ac_cv_prog_NMEDIT" 6978fi 6979 6980 if test -n "$ac_tool_prefix"; then 6981 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 6982set dummy ${ac_tool_prefix}lipo; ac_word=$2 6983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6984$as_echo_n "checking for $ac_word... " >&6; } 6985if ${ac_cv_prog_LIPO+:} false; then : 6986 $as_echo_n "(cached) " >&6 6987else 6988 if test -n "$LIPO"; then 6989 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 6990else 6991as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6992for as_dir in $PATH 6993do 6994 IFS=$as_save_IFS 6995 test -z "$as_dir" && as_dir=. 6996 for ac_exec_ext in '' $ac_executable_extensions; do 6997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6998 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 6999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7000 break 2 7001 fi 7002done 7003 done 7004IFS=$as_save_IFS 7005 7006fi 7007fi 7008LIPO=$ac_cv_prog_LIPO 7009if test -n "$LIPO"; then 7010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 7011$as_echo "$LIPO" >&6; } 7012else 7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7014$as_echo "no" >&6; } 7015fi 7016 7017 7018fi 7019if test -z "$ac_cv_prog_LIPO"; then 7020 ac_ct_LIPO=$LIPO 7021 # Extract the first word of "lipo", so it can be a program name with args. 7022set dummy lipo; ac_word=$2 7023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7024$as_echo_n "checking for $ac_word... " >&6; } 7025if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 7026 $as_echo_n "(cached) " >&6 7027else 7028 if test -n "$ac_ct_LIPO"; then 7029 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 7030else 7031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7032for as_dir in $PATH 7033do 7034 IFS=$as_save_IFS 7035 test -z "$as_dir" && as_dir=. 7036 for ac_exec_ext in '' $ac_executable_extensions; do 7037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7038 ac_cv_prog_ac_ct_LIPO="lipo" 7039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7040 break 2 7041 fi 7042done 7043 done 7044IFS=$as_save_IFS 7045 7046fi 7047fi 7048ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 7049if test -n "$ac_ct_LIPO"; then 7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 7051$as_echo "$ac_ct_LIPO" >&6; } 7052else 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7054$as_echo "no" >&6; } 7055fi 7056 7057 if test "x$ac_ct_LIPO" = x; then 7058 LIPO=":" 7059 else 7060 case $cross_compiling:$ac_tool_warned in 7061yes:) 7062{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7063$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7064ac_tool_warned=yes ;; 7065esac 7066 LIPO=$ac_ct_LIPO 7067 fi 7068else 7069 LIPO="$ac_cv_prog_LIPO" 7070fi 7071 7072 if test -n "$ac_tool_prefix"; then 7073 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 7074set dummy ${ac_tool_prefix}otool; ac_word=$2 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7076$as_echo_n "checking for $ac_word... " >&6; } 7077if ${ac_cv_prog_OTOOL+:} false; then : 7078 $as_echo_n "(cached) " >&6 7079else 7080 if test -n "$OTOOL"; then 7081 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 7082else 7083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7084for as_dir in $PATH 7085do 7086 IFS=$as_save_IFS 7087 test -z "$as_dir" && as_dir=. 7088 for ac_exec_ext in '' $ac_executable_extensions; do 7089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7090 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 7091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7092 break 2 7093 fi 7094done 7095 done 7096IFS=$as_save_IFS 7097 7098fi 7099fi 7100OTOOL=$ac_cv_prog_OTOOL 7101if test -n "$OTOOL"; then 7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 7103$as_echo "$OTOOL" >&6; } 7104else 7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7106$as_echo "no" >&6; } 7107fi 7108 7109 7110fi 7111if test -z "$ac_cv_prog_OTOOL"; then 7112 ac_ct_OTOOL=$OTOOL 7113 # Extract the first word of "otool", so it can be a program name with args. 7114set dummy otool; 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_ac_ct_OTOOL+:} false; then : 7118 $as_echo_n "(cached) " >&6 7119else 7120 if test -n "$ac_ct_OTOOL"; then 7121 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # 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_ac_ct_OTOOL="otool" 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 7140ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 7141if test -n "$ac_ct_OTOOL"; then 7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 7143$as_echo "$ac_ct_OTOOL" >&6; } 7144else 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7146$as_echo "no" >&6; } 7147fi 7148 7149 if test "x$ac_ct_OTOOL" = x; then 7150 OTOOL=":" 7151 else 7152 case $cross_compiling:$ac_tool_warned in 7153yes:) 7154{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7155$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7156ac_tool_warned=yes ;; 7157esac 7158 OTOOL=$ac_ct_OTOOL 7159 fi 7160else 7161 OTOOL="$ac_cv_prog_OTOOL" 7162fi 7163 7164 if test -n "$ac_tool_prefix"; then 7165 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 7166set dummy ${ac_tool_prefix}otool64; ac_word=$2 7167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7168$as_echo_n "checking for $ac_word... " >&6; } 7169if ${ac_cv_prog_OTOOL64+:} false; then : 7170 $as_echo_n "(cached) " >&6 7171else 7172 if test -n "$OTOOL64"; then 7173 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 7174else 7175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7176for as_dir in $PATH 7177do 7178 IFS=$as_save_IFS 7179 test -z "$as_dir" && as_dir=. 7180 for ac_exec_ext in '' $ac_executable_extensions; do 7181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7182 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 7183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7184 break 2 7185 fi 7186done 7187 done 7188IFS=$as_save_IFS 7189 7190fi 7191fi 7192OTOOL64=$ac_cv_prog_OTOOL64 7193if test -n "$OTOOL64"; then 7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 7195$as_echo "$OTOOL64" >&6; } 7196else 7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7198$as_echo "no" >&6; } 7199fi 7200 7201 7202fi 7203if test -z "$ac_cv_prog_OTOOL64"; then 7204 ac_ct_OTOOL64=$OTOOL64 7205 # Extract the first word of "otool64", so it can be a program name with args. 7206set dummy otool64; 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_ac_ct_OTOOL64+:} false; then : 7210 $as_echo_n "(cached) " >&6 7211else 7212 if test -n "$ac_ct_OTOOL64"; then 7213 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # 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_ac_ct_OTOOL64="otool64" 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 7232ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 7233if test -n "$ac_ct_OTOOL64"; then 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 7235$as_echo "$ac_ct_OTOOL64" >&6; } 7236else 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7238$as_echo "no" >&6; } 7239fi 7240 7241 if test "x$ac_ct_OTOOL64" = x; then 7242 OTOOL64=":" 7243 else 7244 case $cross_compiling:$ac_tool_warned in 7245yes:) 7246{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7247$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7248ac_tool_warned=yes ;; 7249esac 7250 OTOOL64=$ac_ct_OTOOL64 7251 fi 7252else 7253 OTOOL64="$ac_cv_prog_OTOOL64" 7254fi 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 7283$as_echo_n "checking for -single_module linker flag... " >&6; } 7284if ${lt_cv_apple_cc_single_mod+:} false; then : 7285 $as_echo_n "(cached) " >&6 7286else 7287 lt_cv_apple_cc_single_mod=no 7288 if test -z "${LT_MULTI_MODULE}"; then 7289 # By default we will add the -single_module flag. You can override 7290 # by either setting the environment variable LT_MULTI_MODULE 7291 # non-empty at configure time, or by adding -multi_module to the 7292 # link flags. 7293 rm -rf libconftest.dylib* 7294 echo "int foo(void){return 1;}" > conftest.c 7295 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7296-dynamiclib -Wl,-single_module conftest.c" >&5 7297 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 7298 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 7299 _lt_result=$? 7300 # If there is a non-empty error log, and "single_module" 7301 # appears in it, assume the flag caused a linker warning 7302 if test -s conftest.err && $GREP single_module conftest.err; then 7303 cat conftest.err >&5 7304 # Otherwise, if the output was created with a 0 exit code from 7305 # the compiler, it worked. 7306 elif test -f libconftest.dylib && test $_lt_result -eq 0; then 7307 lt_cv_apple_cc_single_mod=yes 7308 else 7309 cat conftest.err >&5 7310 fi 7311 rm -rf libconftest.dylib* 7312 rm -f conftest.* 7313 fi 7314fi 7315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 7316$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 7317 7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 7319$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 7320if ${lt_cv_ld_exported_symbols_list+:} false; then : 7321 $as_echo_n "(cached) " >&6 7322else 7323 lt_cv_ld_exported_symbols_list=no 7324 save_LDFLAGS=$LDFLAGS 7325 echo "_main" > conftest.sym 7326 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7328/* end confdefs.h. */ 7329 7330int 7331main () 7332{ 7333 7334 ; 7335 return 0; 7336} 7337_ACEOF 7338if ac_fn_c_try_link "$LINENO"; then : 7339 lt_cv_ld_exported_symbols_list=yes 7340else 7341 lt_cv_ld_exported_symbols_list=no 7342fi 7343rm -f core conftest.err conftest.$ac_objext \ 7344 conftest$ac_exeext conftest.$ac_ext 7345 LDFLAGS="$save_LDFLAGS" 7346 7347fi 7348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 7349$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 7350 7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 7352$as_echo_n "checking for -force_load linker flag... " >&6; } 7353if ${lt_cv_ld_force_load+:} false; then : 7354 $as_echo_n "(cached) " >&6 7355else 7356 lt_cv_ld_force_load=no 7357 cat > conftest.c << _LT_EOF 7358int forced_loaded() { return 2;} 7359_LT_EOF 7360 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 7361 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 7362 echo "$AR cru libconftest.a conftest.o" >&5 7363 $AR cru libconftest.a conftest.o 2>&5 7364 echo "$RANLIB libconftest.a" >&5 7365 $RANLIB libconftest.a 2>&5 7366 cat > conftest.c << _LT_EOF 7367int main() { return 0;} 7368_LT_EOF 7369 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 7370 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 7371 _lt_result=$? 7372 if test -s conftest.err && $GREP force_load conftest.err; then 7373 cat conftest.err >&5 7374 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then 7375 lt_cv_ld_force_load=yes 7376 else 7377 cat conftest.err >&5 7378 fi 7379 rm -f conftest.err libconftest.a conftest conftest.c 7380 rm -rf conftest.dSYM 7381 7382fi 7383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 7384$as_echo "$lt_cv_ld_force_load" >&6; } 7385 case $host_os in 7386 rhapsody* | darwin1.[012]) 7387 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; 7388 darwin1.*) 7389 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7390 darwin*) # darwin 5.x on 7391 # if running on 10.5 or later, the deployment target defaults 7392 # to the OS version, if on x86, and 10.4, the deployment 7393 # target defaults to 10.4. Don't you love it? 7394 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 7395 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 7396 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7397 10.[012]*) 7398 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 7399 10.*) 7400 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 7401 esac 7402 ;; 7403 esac 7404 if test "$lt_cv_apple_cc_single_mod" = "yes"; then 7405 _lt_dar_single_mod='$single_module' 7406 fi 7407 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then 7408 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' 7409 else 7410 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' 7411 fi 7412 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then 7413 _lt_dsymutil='~$DSYMUTIL $lib || :' 7414 else 7415 _lt_dsymutil= 7416 fi 7417 ;; 7418 esac 7419 7420ac_ext=c 7421ac_cpp='$CPP $CPPFLAGS' 7422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7423ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7424ac_compiler_gnu=$ac_cv_c_compiler_gnu 7425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7426$as_echo_n "checking how to run the C preprocessor... " >&6; } 7427# On Suns, sometimes $CPP names a directory. 7428if test -n "$CPP" && test -d "$CPP"; then 7429 CPP= 7430fi 7431if test -z "$CPP"; then 7432 if ${ac_cv_prog_CPP+:} false; then : 7433 $as_echo_n "(cached) " >&6 7434else 7435 # Double quotes because CPP needs to be expanded 7436 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 7437 do 7438 ac_preproc_ok=false 7439for ac_c_preproc_warn_flag in '' yes 7440do 7441 # Use a header file that comes with gcc, so configuring glibc 7442 # with a fresh cross-compiler works. 7443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7444 # <limits.h> exists even on freestanding compilers. 7445 # On the NeXT, cc -E runs the code through the compiler's parser, 7446 # not just through cpp. "Syntax error" is here to catch this case. 7447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7448/* end confdefs.h. */ 7449#ifdef __STDC__ 7450# include <limits.h> 7451#else 7452# include <assert.h> 7453#endif 7454 Syntax error 7455_ACEOF 7456if ac_fn_c_try_cpp "$LINENO"; then : 7457 7458else 7459 # Broken: fails on valid input. 7460continue 7461fi 7462rm -f conftest.err conftest.i conftest.$ac_ext 7463 7464 # OK, works on sane cases. Now check whether nonexistent headers 7465 # can be detected and how. 7466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7467/* end confdefs.h. */ 7468#include <ac_nonexistent.h> 7469_ACEOF 7470if ac_fn_c_try_cpp "$LINENO"; then : 7471 # Broken: success on invalid input. 7472continue 7473else 7474 # Passes both tests. 7475ac_preproc_ok=: 7476break 7477fi 7478rm -f conftest.err conftest.i conftest.$ac_ext 7479 7480done 7481# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7482rm -f conftest.i conftest.err conftest.$ac_ext 7483if $ac_preproc_ok; then : 7484 break 7485fi 7486 7487 done 7488 ac_cv_prog_CPP=$CPP 7489 7490fi 7491 CPP=$ac_cv_prog_CPP 7492else 7493 ac_cv_prog_CPP=$CPP 7494fi 7495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7496$as_echo "$CPP" >&6; } 7497ac_preproc_ok=false 7498for ac_c_preproc_warn_flag in '' yes 7499do 7500 # Use a header file that comes with gcc, so configuring glibc 7501 # with a fresh cross-compiler works. 7502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7503 # <limits.h> exists even on freestanding compilers. 7504 # On the NeXT, cc -E runs the code through the compiler's parser, 7505 # not just through cpp. "Syntax error" is here to catch this case. 7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7507/* end confdefs.h. */ 7508#ifdef __STDC__ 7509# include <limits.h> 7510#else 7511# include <assert.h> 7512#endif 7513 Syntax error 7514_ACEOF 7515if ac_fn_c_try_cpp "$LINENO"; then : 7516 7517else 7518 # Broken: fails on valid input. 7519continue 7520fi 7521rm -f conftest.err conftest.i conftest.$ac_ext 7522 7523 # OK, works on sane cases. Now check whether nonexistent headers 7524 # can be detected and how. 7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7526/* end confdefs.h. */ 7527#include <ac_nonexistent.h> 7528_ACEOF 7529if ac_fn_c_try_cpp "$LINENO"; then : 7530 # Broken: success on invalid input. 7531continue 7532else 7533 # Passes both tests. 7534ac_preproc_ok=: 7535break 7536fi 7537rm -f conftest.err conftest.i conftest.$ac_ext 7538 7539done 7540# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7541rm -f conftest.i conftest.err conftest.$ac_ext 7542if $ac_preproc_ok; then : 7543 7544else 7545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7547as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 7548See \`config.log' for more details" "$LINENO" 5; } 7549fi 7550 7551ac_ext=c 7552ac_cpp='$CPP $CPPFLAGS' 7553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7555ac_compiler_gnu=$ac_cv_c_compiler_gnu 7556 7557 7558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7559$as_echo_n "checking for ANSI C header files... " >&6; } 7560if ${ac_cv_header_stdc+:} false; then : 7561 $as_echo_n "(cached) " >&6 7562else 7563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7564/* end confdefs.h. */ 7565#include <stdlib.h> 7566#include <stdarg.h> 7567#include <string.h> 7568#include <float.h> 7569 7570int 7571main () 7572{ 7573 7574 ; 7575 return 0; 7576} 7577_ACEOF 7578if ac_fn_c_try_compile "$LINENO"; then : 7579 ac_cv_header_stdc=yes 7580else 7581 ac_cv_header_stdc=no 7582fi 7583rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7584 7585if test $ac_cv_header_stdc = yes; then 7586 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 7587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7588/* end confdefs.h. */ 7589#include <string.h> 7590 7591_ACEOF 7592if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7593 $EGREP "memchr" >/dev/null 2>&1; then : 7594 7595else 7596 ac_cv_header_stdc=no 7597fi 7598rm -f conftest* 7599 7600fi 7601 7602if test $ac_cv_header_stdc = yes; then 7603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 7604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7605/* end confdefs.h. */ 7606#include <stdlib.h> 7607 7608_ACEOF 7609if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 7610 $EGREP "free" >/dev/null 2>&1; then : 7611 7612else 7613 ac_cv_header_stdc=no 7614fi 7615rm -f conftest* 7616 7617fi 7618 7619if test $ac_cv_header_stdc = yes; then 7620 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 7621 if test "$cross_compiling" = yes; then : 7622 : 7623else 7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7625/* end confdefs.h. */ 7626#include <ctype.h> 7627#include <stdlib.h> 7628#if ((' ' & 0x0FF) == 0x020) 7629# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 7630# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 7631#else 7632# define ISLOWER(c) \ 7633 (('a' <= (c) && (c) <= 'i') \ 7634 || ('j' <= (c) && (c) <= 'r') \ 7635 || ('s' <= (c) && (c) <= 'z')) 7636# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 7637#endif 7638 7639#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 7640int 7641main () 7642{ 7643 int i; 7644 for (i = 0; i < 256; i++) 7645 if (XOR (islower (i), ISLOWER (i)) 7646 || toupper (i) != TOUPPER (i)) 7647 return 2; 7648 return 0; 7649} 7650_ACEOF 7651if ac_fn_c_try_run "$LINENO"; then : 7652 7653else 7654 ac_cv_header_stdc=no 7655fi 7656rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7657 conftest.$ac_objext conftest.beam conftest.$ac_ext 7658fi 7659 7660fi 7661fi 7662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 7663$as_echo "$ac_cv_header_stdc" >&6; } 7664if test $ac_cv_header_stdc = yes; then 7665 7666$as_echo "#define STDC_HEADERS 1" >>confdefs.h 7667 7668fi 7669 7670# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7671for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7672 inttypes.h stdint.h unistd.h 7673do : 7674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7675ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7676" 7677if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7678 cat >>confdefs.h <<_ACEOF 7679#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7680_ACEOF 7681 7682fi 7683 7684done 7685 7686 7687for ac_header in dlfcn.h 7688do : 7689 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 7690" 7691if test "x$ac_cv_header_dlfcn_h" = xyes; then : 7692 cat >>confdefs.h <<_ACEOF 7693#define HAVE_DLFCN_H 1 7694_ACEOF 7695 7696fi 7697 7698done 7699 7700 7701 7702 7703 7704# Set options 7705 7706 7707 7708 enable_dlopen=no 7709 7710 7711 enable_win32_dll=no 7712 7713 7714 # Check whether --enable-shared was given. 7715if test "${enable_shared+set}" = set; then : 7716 enableval=$enable_shared; p=${PACKAGE-default} 7717 case $enableval in 7718 yes) enable_shared=yes ;; 7719 no) enable_shared=no ;; 7720 *) 7721 enable_shared=no 7722 # Look at the argument we got. We use all the common list separators. 7723 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7724 for pkg in $enableval; do 7725 IFS="$lt_save_ifs" 7726 if test "X$pkg" = "X$p"; then 7727 enable_shared=yes 7728 fi 7729 done 7730 IFS="$lt_save_ifs" 7731 ;; 7732 esac 7733else 7734 enable_shared=yes 7735fi 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 # Check whether --enable-static was given. 7746if test "${enable_static+set}" = set; then : 7747 enableval=$enable_static; p=${PACKAGE-default} 7748 case $enableval in 7749 yes) enable_static=yes ;; 7750 no) enable_static=no ;; 7751 *) 7752 enable_static=no 7753 # Look at the argument we got. We use all the common list separators. 7754 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7755 for pkg in $enableval; do 7756 IFS="$lt_save_ifs" 7757 if test "X$pkg" = "X$p"; then 7758 enable_static=yes 7759 fi 7760 done 7761 IFS="$lt_save_ifs" 7762 ;; 7763 esac 7764else 7765 enable_static=yes 7766fi 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777# Check whether --with-pic was given. 7778if test "${with_pic+set}" = set; then : 7779 withval=$with_pic; lt_p=${PACKAGE-default} 7780 case $withval in 7781 yes|no) pic_mode=$withval ;; 7782 *) 7783 pic_mode=default 7784 # Look at the argument we got. We use all the common list separators. 7785 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7786 for lt_pkg in $withval; do 7787 IFS="$lt_save_ifs" 7788 if test "X$lt_pkg" = "X$lt_p"; then 7789 pic_mode=yes 7790 fi 7791 done 7792 IFS="$lt_save_ifs" 7793 ;; 7794 esac 7795else 7796 pic_mode=default 7797fi 7798 7799 7800test -z "$pic_mode" && pic_mode=default 7801 7802 7803 7804 7805 7806 7807 7808 # Check whether --enable-fast-install was given. 7809if test "${enable_fast_install+set}" = set; then : 7810 enableval=$enable_fast_install; p=${PACKAGE-default} 7811 case $enableval in 7812 yes) enable_fast_install=yes ;; 7813 no) enable_fast_install=no ;; 7814 *) 7815 enable_fast_install=no 7816 # Look at the argument we got. We use all the common list separators. 7817 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 7818 for pkg in $enableval; do 7819 IFS="$lt_save_ifs" 7820 if test "X$pkg" = "X$p"; then 7821 enable_fast_install=yes 7822 fi 7823 done 7824 IFS="$lt_save_ifs" 7825 ;; 7826 esac 7827else 7828 enable_fast_install=yes 7829fi 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841# This can be used to rebuild libtool when needed 7842LIBTOOL_DEPS="$ltmain" 7843 7844# Always use our own libtool. 7845LIBTOOL='$(SHELL) $(top_builddir)/libtool' 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876test -z "$LN_S" && LN_S="ln -s" 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891if test -n "${ZSH_VERSION+set}" ; then 7892 setopt NO_GLOB_SUBST 7893fi 7894 7895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 7896$as_echo_n "checking for objdir... " >&6; } 7897if ${lt_cv_objdir+:} false; then : 7898 $as_echo_n "(cached) " >&6 7899else 7900 rm -f .libs 2>/dev/null 7901mkdir .libs 2>/dev/null 7902if test -d .libs; then 7903 lt_cv_objdir=.libs 7904else 7905 # MS-DOS does not allow filenames that begin with a dot. 7906 lt_cv_objdir=_libs 7907fi 7908rmdir .libs 2>/dev/null 7909fi 7910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 7911$as_echo "$lt_cv_objdir" >&6; } 7912objdir=$lt_cv_objdir 7913 7914 7915 7916 7917 7918cat >>confdefs.h <<_ACEOF 7919#define LT_OBJDIR "$lt_cv_objdir/" 7920_ACEOF 7921 7922 7923 7924 7925case $host_os in 7926aix3*) 7927 # AIX sometimes has problems with the GCC collect2 program. For some 7928 # reason, if we set the COLLECT_NAMES environment variable, the problems 7929 # vanish in a puff of smoke. 7930 if test "X${COLLECT_NAMES+set}" != Xset; then 7931 COLLECT_NAMES= 7932 export COLLECT_NAMES 7933 fi 7934 ;; 7935esac 7936 7937# Global variables: 7938ofile=libtool 7939can_build_shared=yes 7940 7941# All known linkers require a `.a' archive for static linking (except MSVC, 7942# which needs '.lib'). 7943libext=a 7944 7945with_gnu_ld="$lt_cv_prog_gnu_ld" 7946 7947old_CC="$CC" 7948old_CFLAGS="$CFLAGS" 7949 7950# Set sane defaults for various variables 7951test -z "$CC" && CC=cc 7952test -z "$LTCC" && LTCC=$CC 7953test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 7954test -z "$LD" && LD=ld 7955test -z "$ac_objext" && ac_objext=o 7956 7957for cc_temp in $compiler""; do 7958 case $cc_temp in 7959 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 7960 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 7961 \-*) ;; 7962 *) break;; 7963 esac 7964done 7965cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 7966 7967 7968# Only perform the check for file, if the check method requires it 7969test -z "$MAGIC_CMD" && MAGIC_CMD=file 7970case $deplibs_check_method in 7971file_magic*) 7972 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 7974$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 7975if ${lt_cv_path_MAGIC_CMD+:} false; then : 7976 $as_echo_n "(cached) " >&6 7977else 7978 case $MAGIC_CMD in 7979[\\/*] | ?:[\\/]*) 7980 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 7981 ;; 7982*) 7983 lt_save_MAGIC_CMD="$MAGIC_CMD" 7984 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 7985 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 7986 for ac_dir in $ac_dummy; do 7987 IFS="$lt_save_ifs" 7988 test -z "$ac_dir" && ac_dir=. 7989 if test -f $ac_dir/${ac_tool_prefix}file; then 7990 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" 7991 if test -n "$file_magic_test_file"; then 7992 case $deplibs_check_method in 7993 "file_magic "*) 7994 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 7995 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 7996 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 7997 $EGREP "$file_magic_regex" > /dev/null; then 7998 : 7999 else 8000 cat <<_LT_EOF 1>&2 8001 8002*** Warning: the command libtool uses to detect shared libraries, 8003*** $file_magic_cmd, produces output that libtool cannot recognize. 8004*** The result is that libtool may fail to recognize shared libraries 8005*** as such. This will affect the creation of libtool libraries that 8006*** depend on shared libraries, but programs linked with such libtool 8007*** libraries will work regardless of this problem. Nevertheless, you 8008*** may want to report the problem to your system manager and/or to 8009*** bug-libtool@gnu.org 8010 8011_LT_EOF 8012 fi ;; 8013 esac 8014 fi 8015 break 8016 fi 8017 done 8018 IFS="$lt_save_ifs" 8019 MAGIC_CMD="$lt_save_MAGIC_CMD" 8020 ;; 8021esac 8022fi 8023 8024MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8025if test -n "$MAGIC_CMD"; then 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8027$as_echo "$MAGIC_CMD" >&6; } 8028else 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8030$as_echo "no" >&6; } 8031fi 8032 8033 8034 8035 8036 8037if test -z "$lt_cv_path_MAGIC_CMD"; then 8038 if test -n "$ac_tool_prefix"; then 8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 8040$as_echo_n "checking for file... " >&6; } 8041if ${lt_cv_path_MAGIC_CMD+:} false; then : 8042 $as_echo_n "(cached) " >&6 8043else 8044 case $MAGIC_CMD in 8045[\\/*] | ?:[\\/]*) 8046 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 8047 ;; 8048*) 8049 lt_save_MAGIC_CMD="$MAGIC_CMD" 8050 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 8051 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 8052 for ac_dir in $ac_dummy; do 8053 IFS="$lt_save_ifs" 8054 test -z "$ac_dir" && ac_dir=. 8055 if test -f $ac_dir/file; then 8056 lt_cv_path_MAGIC_CMD="$ac_dir/file" 8057 if test -n "$file_magic_test_file"; then 8058 case $deplibs_check_method in 8059 "file_magic "*) 8060 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 8061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8062 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 8063 $EGREP "$file_magic_regex" > /dev/null; then 8064 : 8065 else 8066 cat <<_LT_EOF 1>&2 8067 8068*** Warning: the command libtool uses to detect shared libraries, 8069*** $file_magic_cmd, produces output that libtool cannot recognize. 8070*** The result is that libtool may fail to recognize shared libraries 8071*** as such. This will affect the creation of libtool libraries that 8072*** depend on shared libraries, but programs linked with such libtool 8073*** libraries will work regardless of this problem. Nevertheless, you 8074*** may want to report the problem to your system manager and/or to 8075*** bug-libtool@gnu.org 8076 8077_LT_EOF 8078 fi ;; 8079 esac 8080 fi 8081 break 8082 fi 8083 done 8084 IFS="$lt_save_ifs" 8085 MAGIC_CMD="$lt_save_MAGIC_CMD" 8086 ;; 8087esac 8088fi 8089 8090MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 8091if test -n "$MAGIC_CMD"; then 8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 8093$as_echo "$MAGIC_CMD" >&6; } 8094else 8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8096$as_echo "no" >&6; } 8097fi 8098 8099 8100 else 8101 MAGIC_CMD=: 8102 fi 8103fi 8104 8105 fi 8106 ;; 8107esac 8108 8109# Use C for the default configuration in the libtool script 8110 8111lt_save_CC="$CC" 8112ac_ext=c 8113ac_cpp='$CPP $CPPFLAGS' 8114ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8115ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8116ac_compiler_gnu=$ac_cv_c_compiler_gnu 8117 8118 8119# Source file extension for C test sources. 8120ac_ext=c 8121 8122# Object file extension for compiled C test sources. 8123objext=o 8124objext=$objext 8125 8126# Code to be used in simple compile tests 8127lt_simple_compile_test_code="int some_variable = 0;" 8128 8129# Code to be used in simple link tests 8130lt_simple_link_test_code='int main(){return(0);}' 8131 8132 8133 8134 8135 8136 8137 8138# If no C compiler was specified, use CC. 8139LTCC=${LTCC-"$CC"} 8140 8141# If no C compiler flags were specified, use CFLAGS. 8142LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 8143 8144# Allow CC to be a program name with arguments. 8145compiler=$CC 8146 8147# Save the default compiler, since it gets overwritten when the other 8148# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 8149compiler_DEFAULT=$CC 8150 8151# save warnings/boilerplate of simple test code 8152ac_outfile=conftest.$ac_objext 8153echo "$lt_simple_compile_test_code" >conftest.$ac_ext 8154eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8155_lt_compiler_boilerplate=`cat conftest.err` 8156$RM conftest* 8157 8158ac_outfile=conftest.$ac_objext 8159echo "$lt_simple_link_test_code" >conftest.$ac_ext 8160eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 8161_lt_linker_boilerplate=`cat conftest.err` 8162$RM -r conftest* 8163 8164 8165## CAVEAT EMPTOR: 8166## There is no encapsulation within the following macros, do not change 8167## the running order or otherwise move them around unless you know exactly 8168## what you are doing... 8169if test -n "$compiler"; then 8170 8171lt_prog_compiler_no_builtin_flag= 8172 8173if test "$GCC" = yes; then 8174 case $cc_basename in 8175 nvcc*) 8176 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 8177 *) 8178 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 8179 esac 8180 8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 8182$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 8183if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 8184 $as_echo_n "(cached) " >&6 8185else 8186 lt_cv_prog_compiler_rtti_exceptions=no 8187 ac_outfile=conftest.$ac_objext 8188 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8189 lt_compiler_flag="-fno-rtti -fno-exceptions" 8190 # Insert the option either (1) after the last *FLAGS variable, or 8191 # (2) before a word containing "conftest.", or (3) at the end. 8192 # Note that $ac_compile itself does not contain backslashes and begins 8193 # with a dollar sign (not a hyphen), so the echo should work correctly. 8194 # The option is referenced via a variable to avoid confusing sed. 8195 lt_compile=`echo "$ac_compile" | $SED \ 8196 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8197 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8198 -e 's:$: $lt_compiler_flag:'` 8199 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8200 (eval "$lt_compile" 2>conftest.err) 8201 ac_status=$? 8202 cat conftest.err >&5 8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8204 if (exit $ac_status) && test -s "$ac_outfile"; then 8205 # The compiler can only warn and ignore the option if not recognized 8206 # So say no if there are warnings other than the usual output. 8207 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8208 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8209 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8210 lt_cv_prog_compiler_rtti_exceptions=yes 8211 fi 8212 fi 8213 $RM conftest* 8214 8215fi 8216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 8217$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 8218 8219if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then 8220 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 8221else 8222 : 8223fi 8224 8225fi 8226 8227 8228 8229 8230 8231 8232 lt_prog_compiler_wl= 8233lt_prog_compiler_pic= 8234lt_prog_compiler_static= 8235 8236 8237 if test "$GCC" = yes; then 8238 lt_prog_compiler_wl='-Wl,' 8239 lt_prog_compiler_static='-static' 8240 8241 case $host_os in 8242 aix*) 8243 # All AIX code is PIC. 8244 if test "$host_cpu" = ia64; then 8245 # AIX 5 now supports IA64 processor 8246 lt_prog_compiler_static='-Bstatic' 8247 fi 8248 ;; 8249 8250 amigaos*) 8251 case $host_cpu in 8252 powerpc) 8253 # see comment about AmigaOS4 .so support 8254 lt_prog_compiler_pic='-fPIC' 8255 ;; 8256 m68k) 8257 # FIXME: we need at least 68020 code to build shared libraries, but 8258 # adding the `-m68020' flag to GCC prevents building anything better, 8259 # like `-m68040'. 8260 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 8261 ;; 8262 esac 8263 ;; 8264 8265 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 8266 # PIC is the default for these OSes. 8267 ;; 8268 8269 mingw* | cygwin* | pw32* | os2* | cegcc*) 8270 # This hack is so that the source file can tell whether it is being 8271 # built for inclusion in a dll (and should export symbols for example). 8272 # Although the cygwin gcc ignores -fPIC, still need this for old-style 8273 # (--disable-auto-import) libraries 8274 lt_prog_compiler_pic='-DDLL_EXPORT' 8275 ;; 8276 8277 darwin* | rhapsody*) 8278 # PIC is the default on this platform 8279 # Common symbols not allowed in MH_DYLIB files 8280 lt_prog_compiler_pic='-fno-common' 8281 ;; 8282 8283 haiku*) 8284 # PIC is the default for Haiku. 8285 # The "-static" flag exists, but is broken. 8286 lt_prog_compiler_static= 8287 ;; 8288 8289 hpux*) 8290 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 8291 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 8292 # sets the default TLS model and affects inlining. 8293 case $host_cpu in 8294 hppa*64*) 8295 # +Z the default 8296 ;; 8297 *) 8298 lt_prog_compiler_pic='-fPIC' 8299 ;; 8300 esac 8301 ;; 8302 8303 interix[3-9]*) 8304 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 8305 # Instead, we relocate shared libraries at runtime. 8306 ;; 8307 8308 msdosdjgpp*) 8309 # Just because we use GCC doesn't mean we suddenly get shared libraries 8310 # on systems that don't support them. 8311 lt_prog_compiler_can_build_shared=no 8312 enable_shared=no 8313 ;; 8314 8315 *nto* | *qnx*) 8316 # QNX uses GNU C++, but need to define -shared option too, otherwise 8317 # it will coredump. 8318 lt_prog_compiler_pic='-fPIC -shared' 8319 ;; 8320 8321 sysv4*MP*) 8322 if test -d /usr/nec; then 8323 lt_prog_compiler_pic=-Kconform_pic 8324 fi 8325 ;; 8326 8327 *) 8328 lt_prog_compiler_pic='-fPIC' 8329 ;; 8330 esac 8331 8332 case $cc_basename in 8333 nvcc*) # Cuda Compiler Driver 2.2 8334 lt_prog_compiler_wl='-Xlinker ' 8335 if test -n "$lt_prog_compiler_pic"; then 8336 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 8337 fi 8338 ;; 8339 esac 8340 else 8341 # PORTME Check for flag to pass linker flags through the system compiler. 8342 case $host_os in 8343 aix*) 8344 lt_prog_compiler_wl='-Wl,' 8345 if test "$host_cpu" = ia64; then 8346 # AIX 5 now supports IA64 processor 8347 lt_prog_compiler_static='-Bstatic' 8348 else 8349 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 8350 fi 8351 ;; 8352 8353 mingw* | cygwin* | pw32* | os2* | cegcc*) 8354 # This hack is so that the source file can tell whether it is being 8355 # built for inclusion in a dll (and should export symbols for example). 8356 lt_prog_compiler_pic='-DDLL_EXPORT' 8357 ;; 8358 8359 hpux9* | hpux10* | hpux11*) 8360 lt_prog_compiler_wl='-Wl,' 8361 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 8362 # not for PA HP-UX. 8363 case $host_cpu in 8364 hppa*64*|ia64*) 8365 # +Z the default 8366 ;; 8367 *) 8368 lt_prog_compiler_pic='+Z' 8369 ;; 8370 esac 8371 # Is there a better lt_prog_compiler_static that works with the bundled CC? 8372 lt_prog_compiler_static='${wl}-a ${wl}archive' 8373 ;; 8374 8375 irix5* | irix6* | nonstopux*) 8376 lt_prog_compiler_wl='-Wl,' 8377 # PIC (with -KPIC) is the default. 8378 lt_prog_compiler_static='-non_shared' 8379 ;; 8380 8381 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 8382 case $cc_basename in 8383 # old Intel for x86_64 which still supported -KPIC. 8384 ecc*) 8385 lt_prog_compiler_wl='-Wl,' 8386 lt_prog_compiler_pic='-KPIC' 8387 lt_prog_compiler_static='-static' 8388 ;; 8389 # icc used to be incompatible with GCC. 8390 # ICC 10 doesn't accept -KPIC any more. 8391 icc* | ifort*) 8392 lt_prog_compiler_wl='-Wl,' 8393 lt_prog_compiler_pic='-fPIC' 8394 lt_prog_compiler_static='-static' 8395 ;; 8396 # Lahey Fortran 8.1. 8397 lf95*) 8398 lt_prog_compiler_wl='-Wl,' 8399 lt_prog_compiler_pic='--shared' 8400 lt_prog_compiler_static='--static' 8401 ;; 8402 nagfor*) 8403 # NAG Fortran compiler 8404 lt_prog_compiler_wl='-Wl,-Wl,,' 8405 lt_prog_compiler_pic='-PIC' 8406 lt_prog_compiler_static='-Bstatic' 8407 ;; 8408 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 8409 # Portland Group compilers (*not* the Pentium gcc compiler, 8410 # which looks to be a dead project) 8411 lt_prog_compiler_wl='-Wl,' 8412 lt_prog_compiler_pic='-fpic' 8413 lt_prog_compiler_static='-Bstatic' 8414 ;; 8415 ccc*) 8416 lt_prog_compiler_wl='-Wl,' 8417 # All Alpha code is PIC. 8418 lt_prog_compiler_static='-non_shared' 8419 ;; 8420 xl* | bgxl* | bgf* | mpixl*) 8421 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 8422 lt_prog_compiler_wl='-Wl,' 8423 lt_prog_compiler_pic='-qpic' 8424 lt_prog_compiler_static='-qstaticlink' 8425 ;; 8426 *) 8427 case `$CC -V 2>&1 | sed 5q` in 8428 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 8429 # Sun Fortran 8.3 passes all unrecognized flags to the linker 8430 lt_prog_compiler_pic='-KPIC' 8431 lt_prog_compiler_static='-Bstatic' 8432 lt_prog_compiler_wl='' 8433 ;; 8434 *Sun\ F* | *Sun*Fortran*) 8435 lt_prog_compiler_pic='-KPIC' 8436 lt_prog_compiler_static='-Bstatic' 8437 lt_prog_compiler_wl='-Qoption ld ' 8438 ;; 8439 *Sun\ C*) 8440 # Sun C 5.9 8441 lt_prog_compiler_pic='-KPIC' 8442 lt_prog_compiler_static='-Bstatic' 8443 lt_prog_compiler_wl='-Wl,' 8444 ;; 8445 *Intel*\ [CF]*Compiler*) 8446 lt_prog_compiler_wl='-Wl,' 8447 lt_prog_compiler_pic='-fPIC' 8448 lt_prog_compiler_static='-static' 8449 ;; 8450 *Portland\ Group*) 8451 lt_prog_compiler_wl='-Wl,' 8452 lt_prog_compiler_pic='-fpic' 8453 lt_prog_compiler_static='-Bstatic' 8454 ;; 8455 esac 8456 ;; 8457 esac 8458 ;; 8459 8460 newsos6) 8461 lt_prog_compiler_pic='-KPIC' 8462 lt_prog_compiler_static='-Bstatic' 8463 ;; 8464 8465 *nto* | *qnx*) 8466 # QNX uses GNU C++, but need to define -shared option too, otherwise 8467 # it will coredump. 8468 lt_prog_compiler_pic='-fPIC -shared' 8469 ;; 8470 8471 osf3* | osf4* | osf5*) 8472 lt_prog_compiler_wl='-Wl,' 8473 # All OSF/1 code is PIC. 8474 lt_prog_compiler_static='-non_shared' 8475 ;; 8476 8477 rdos*) 8478 lt_prog_compiler_static='-non_shared' 8479 ;; 8480 8481 solaris*) 8482 lt_prog_compiler_pic='-KPIC' 8483 lt_prog_compiler_static='-Bstatic' 8484 case $cc_basename in 8485 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 8486 lt_prog_compiler_wl='-Qoption ld ';; 8487 *) 8488 lt_prog_compiler_wl='-Wl,';; 8489 esac 8490 ;; 8491 8492 sunos4*) 8493 lt_prog_compiler_wl='-Qoption ld ' 8494 lt_prog_compiler_pic='-PIC' 8495 lt_prog_compiler_static='-Bstatic' 8496 ;; 8497 8498 sysv4 | sysv4.2uw2* | sysv4.3*) 8499 lt_prog_compiler_wl='-Wl,' 8500 lt_prog_compiler_pic='-KPIC' 8501 lt_prog_compiler_static='-Bstatic' 8502 ;; 8503 8504 sysv4*MP*) 8505 if test -d /usr/nec ;then 8506 lt_prog_compiler_pic='-Kconform_pic' 8507 lt_prog_compiler_static='-Bstatic' 8508 fi 8509 ;; 8510 8511 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 8512 lt_prog_compiler_wl='-Wl,' 8513 lt_prog_compiler_pic='-KPIC' 8514 lt_prog_compiler_static='-Bstatic' 8515 ;; 8516 8517 unicos*) 8518 lt_prog_compiler_wl='-Wl,' 8519 lt_prog_compiler_can_build_shared=no 8520 ;; 8521 8522 uts4*) 8523 lt_prog_compiler_pic='-pic' 8524 lt_prog_compiler_static='-Bstatic' 8525 ;; 8526 8527 *) 8528 lt_prog_compiler_can_build_shared=no 8529 ;; 8530 esac 8531 fi 8532 8533case $host_os in 8534 # For platforms which do not support PIC, -DPIC is meaningless: 8535 *djgpp*) 8536 lt_prog_compiler_pic= 8537 ;; 8538 *) 8539 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 8540 ;; 8541esac 8542 8543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 8544$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 8545if ${lt_cv_prog_compiler_pic+:} false; then : 8546 $as_echo_n "(cached) " >&6 8547else 8548 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 8549fi 8550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 8551$as_echo "$lt_cv_prog_compiler_pic" >&6; } 8552lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 8553 8554# 8555# Check to make sure the PIC flag actually works. 8556# 8557if test -n "$lt_prog_compiler_pic"; then 8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 8559$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 8560if ${lt_cv_prog_compiler_pic_works+:} false; then : 8561 $as_echo_n "(cached) " >&6 8562else 8563 lt_cv_prog_compiler_pic_works=no 8564 ac_outfile=conftest.$ac_objext 8565 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8566 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" 8567 # Insert the option either (1) after the last *FLAGS variable, or 8568 # (2) before a word containing "conftest.", or (3) at the end. 8569 # Note that $ac_compile itself does not contain backslashes and begins 8570 # with a dollar sign (not a hyphen), so the echo should work correctly. 8571 # The option is referenced via a variable to avoid confusing sed. 8572 lt_compile=`echo "$ac_compile" | $SED \ 8573 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8574 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8575 -e 's:$: $lt_compiler_flag:'` 8576 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8577 (eval "$lt_compile" 2>conftest.err) 8578 ac_status=$? 8579 cat conftest.err >&5 8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8581 if (exit $ac_status) && test -s "$ac_outfile"; then 8582 # The compiler can only warn and ignore the option if not recognized 8583 # So say no if there are warnings other than the usual output. 8584 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 8585 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8586 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 8587 lt_cv_prog_compiler_pic_works=yes 8588 fi 8589 fi 8590 $RM conftest* 8591 8592fi 8593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 8594$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 8595 8596if test x"$lt_cv_prog_compiler_pic_works" = xyes; then 8597 case $lt_prog_compiler_pic in 8598 "" | " "*) ;; 8599 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 8600 esac 8601else 8602 lt_prog_compiler_pic= 8603 lt_prog_compiler_can_build_shared=no 8604fi 8605 8606fi 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618# 8619# Check to make sure the static flag actually works. 8620# 8621wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 8622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 8623$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 8624if ${lt_cv_prog_compiler_static_works+:} false; then : 8625 $as_echo_n "(cached) " >&6 8626else 8627 lt_cv_prog_compiler_static_works=no 8628 save_LDFLAGS="$LDFLAGS" 8629 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 8630 echo "$lt_simple_link_test_code" > conftest.$ac_ext 8631 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 8632 # The linker can only warn and ignore the option if not recognized 8633 # So say no if there are warnings 8634 if test -s conftest.err; then 8635 # Append any errors to the config.log. 8636 cat conftest.err 1>&5 8637 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 8638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8639 if diff conftest.exp conftest.er2 >/dev/null; then 8640 lt_cv_prog_compiler_static_works=yes 8641 fi 8642 else 8643 lt_cv_prog_compiler_static_works=yes 8644 fi 8645 fi 8646 $RM -r conftest* 8647 LDFLAGS="$save_LDFLAGS" 8648 8649fi 8650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 8651$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 8652 8653if test x"$lt_cv_prog_compiler_static_works" = xyes; then 8654 : 8655else 8656 lt_prog_compiler_static= 8657fi 8658 8659 8660 8661 8662 8663 8664 8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8666$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8667if ${lt_cv_prog_compiler_c_o+:} false; then : 8668 $as_echo_n "(cached) " >&6 8669else 8670 lt_cv_prog_compiler_c_o=no 8671 $RM -r conftest 2>/dev/null 8672 mkdir conftest 8673 cd conftest 8674 mkdir out 8675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8676 8677 lt_compiler_flag="-o out/conftest2.$ac_objext" 8678 # Insert the option either (1) after the last *FLAGS variable, or 8679 # (2) before a word containing "conftest.", or (3) at the end. 8680 # Note that $ac_compile itself does not contain backslashes and begins 8681 # with a dollar sign (not a hyphen), so the echo should work correctly. 8682 lt_compile=`echo "$ac_compile" | $SED \ 8683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8685 -e 's:$: $lt_compiler_flag:'` 8686 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8687 (eval "$lt_compile" 2>out/conftest.err) 8688 ac_status=$? 8689 cat out/conftest.err >&5 8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8691 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8692 then 8693 # The compiler can only warn and ignore the option if not recognized 8694 # So say no if there are warnings 8695 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8696 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8697 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8698 lt_cv_prog_compiler_c_o=yes 8699 fi 8700 fi 8701 chmod u+w . 2>&5 8702 $RM conftest* 8703 # SGI C++ compiler will create directory out/ii_files/ for 8704 # template instantiation 8705 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8706 $RM out/* && rmdir out 8707 cd .. 8708 $RM -r conftest 8709 $RM conftest* 8710 8711fi 8712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8713$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8714 8715 8716 8717 8718 8719 8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 8721$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 8722if ${lt_cv_prog_compiler_c_o+:} false; then : 8723 $as_echo_n "(cached) " >&6 8724else 8725 lt_cv_prog_compiler_c_o=no 8726 $RM -r conftest 2>/dev/null 8727 mkdir conftest 8728 cd conftest 8729 mkdir out 8730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 8731 8732 lt_compiler_flag="-o out/conftest2.$ac_objext" 8733 # Insert the option either (1) after the last *FLAGS variable, or 8734 # (2) before a word containing "conftest.", or (3) at the end. 8735 # Note that $ac_compile itself does not contain backslashes and begins 8736 # with a dollar sign (not a hyphen), so the echo should work correctly. 8737 lt_compile=`echo "$ac_compile" | $SED \ 8738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8740 -e 's:$: $lt_compiler_flag:'` 8741 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 8742 (eval "$lt_compile" 2>out/conftest.err) 8743 ac_status=$? 8744 cat out/conftest.err >&5 8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8746 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8747 then 8748 # The compiler can only warn and ignore the option if not recognized 8749 # So say no if there are warnings 8750 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 8751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 8752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 8753 lt_cv_prog_compiler_c_o=yes 8754 fi 8755 fi 8756 chmod u+w . 2>&5 8757 $RM conftest* 8758 # SGI C++ compiler will create directory out/ii_files/ for 8759 # template instantiation 8760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 8761 $RM out/* && rmdir out 8762 cd .. 8763 $RM -r conftest 8764 $RM conftest* 8765 8766fi 8767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 8768$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 8769 8770 8771 8772 8773hard_links="nottested" 8774if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then 8775 # do not overwrite the value of need_locks provided by the user 8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 8777$as_echo_n "checking if we can lock with hard links... " >&6; } 8778 hard_links=yes 8779 $RM conftest* 8780 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8781 touch conftest.a 8782 ln conftest.a conftest.b 2>&5 || hard_links=no 8783 ln conftest.a conftest.b 2>/dev/null && hard_links=no 8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 8785$as_echo "$hard_links" >&6; } 8786 if test "$hard_links" = no; then 8787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 8788$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} 8789 need_locks=warn 8790 fi 8791else 8792 need_locks=no 8793fi 8794 8795 8796 8797 8798 8799 8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 8801$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 8802 8803 runpath_var= 8804 allow_undefined_flag= 8805 always_export_symbols=no 8806 archive_cmds= 8807 archive_expsym_cmds= 8808 compiler_needs_object=no 8809 enable_shared_with_static_runtimes=no 8810 export_dynamic_flag_spec= 8811 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 8812 hardcode_automatic=no 8813 hardcode_direct=no 8814 hardcode_direct_absolute=no 8815 hardcode_libdir_flag_spec= 8816 hardcode_libdir_separator= 8817 hardcode_minus_L=no 8818 hardcode_shlibpath_var=unsupported 8819 inherit_rpath=no 8820 link_all_deplibs=unknown 8821 module_cmds= 8822 module_expsym_cmds= 8823 old_archive_from_new_cmds= 8824 old_archive_from_expsyms_cmds= 8825 thread_safe_flag_spec= 8826 whole_archive_flag_spec= 8827 # include_expsyms should be a list of space-separated symbols to be *always* 8828 # included in the symbol list 8829 include_expsyms= 8830 # exclude_expsyms can be an extended regexp of symbols to exclude 8831 # it will be wrapped by ` (' and `)$', so one must not match beginning or 8832 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 8833 # as well as any symbol that contains `d'. 8834 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 8835 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 8836 # platforms (ab)use it in PIC code, but their linkers get confused if 8837 # the symbol is explicitly referenced. Since portable code cannot 8838 # rely on this symbol name, it's probably fine to never include it in 8839 # preloaded symbol tables. 8840 # Exclude shared library initialization/finalization symbols. 8841 extract_expsyms_cmds= 8842 8843 case $host_os in 8844 cygwin* | mingw* | pw32* | cegcc*) 8845 # FIXME: the MSVC++ port hasn't been tested in a loooong time 8846 # When not using gcc, we currently assume that we are using 8847 # Microsoft Visual C++. 8848 if test "$GCC" != yes; then 8849 with_gnu_ld=no 8850 fi 8851 ;; 8852 interix*) 8853 # we just hope/assume this is gcc and not c89 (= MSVC++) 8854 with_gnu_ld=yes 8855 ;; 8856 openbsd*) 8857 with_gnu_ld=no 8858 ;; 8859 linux* | k*bsd*-gnu | gnu*) 8860 link_all_deplibs=no 8861 ;; 8862 esac 8863 8864 ld_shlibs=yes 8865 8866 # On some targets, GNU ld is compatible enough with the native linker 8867 # that we're better off using the native interface for both. 8868 lt_use_gnu_ld_interface=no 8869 if test "$with_gnu_ld" = yes; then 8870 case $host_os in 8871 aix*) 8872 # The AIX port of GNU ld has always aspired to compatibility 8873 # with the native linker. However, as the warning in the GNU ld 8874 # block says, versions before 2.19.5* couldn't really create working 8875 # shared libraries, regardless of the interface used. 8876 case `$LD -v 2>&1` in 8877 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 8878 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 8879 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 8880 *) 8881 lt_use_gnu_ld_interface=yes 8882 ;; 8883 esac 8884 ;; 8885 *) 8886 lt_use_gnu_ld_interface=yes 8887 ;; 8888 esac 8889 fi 8890 8891 if test "$lt_use_gnu_ld_interface" = yes; then 8892 # If archive_cmds runs LD, not CC, wlarc should be empty 8893 wlarc='${wl}' 8894 8895 # Set some defaults for GNU ld with shared library support. These 8896 # are reset later if shared libraries are not supported. Putting them 8897 # here allows them to be overridden if necessary. 8898 runpath_var=LD_RUN_PATH 8899 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 8900 export_dynamic_flag_spec='${wl}--export-dynamic' 8901 # ancient GNU ld didn't support --whole-archive et. al. 8902 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 8903 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' 8904 else 8905 whole_archive_flag_spec= 8906 fi 8907 supports_anon_versioning=no 8908 case `$LD -v 2>&1` in 8909 *GNU\ gold*) supports_anon_versioning=yes ;; 8910 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 8911 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 8912 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 8913 *\ 2.11.*) ;; # other 2.11 versions 8914 *) supports_anon_versioning=yes ;; 8915 esac 8916 8917 # See if GNU ld supports shared libraries. 8918 case $host_os in 8919 aix[3-9]*) 8920 # On AIX/PPC, the GNU linker is very broken 8921 if test "$host_cpu" != ia64; then 8922 ld_shlibs=no 8923 cat <<_LT_EOF 1>&2 8924 8925*** Warning: the GNU linker, at least up to release 2.19, is reported 8926*** to be unable to reliably create shared libraries on AIX. 8927*** Therefore, libtool is disabling shared libraries support. If you 8928*** really care for shared libraries, you may want to install binutils 8929*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 8930*** You will then need to restart the configuration process. 8931 8932_LT_EOF 8933 fi 8934 ;; 8935 8936 amigaos*) 8937 case $host_cpu in 8938 powerpc) 8939 # see comment about AmigaOS4 .so support 8940 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8941 archive_expsym_cmds='' 8942 ;; 8943 m68k) 8944 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)' 8945 hardcode_libdir_flag_spec='-L$libdir' 8946 hardcode_minus_L=yes 8947 ;; 8948 esac 8949 ;; 8950 8951 beos*) 8952 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 8953 allow_undefined_flag=unsupported 8954 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 8955 # support --undefined. This deserves some investigation. FIXME 8956 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8957 else 8958 ld_shlibs=no 8959 fi 8960 ;; 8961 8962 cygwin* | mingw* | pw32* | cegcc*) 8963 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 8964 # as there is no search path for DLLs. 8965 hardcode_libdir_flag_spec='-L$libdir' 8966 export_dynamic_flag_spec='${wl}--export-all-symbols' 8967 allow_undefined_flag=unsupported 8968 always_export_symbols=no 8969 enable_shared_with_static_runtimes=yes 8970 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' 8971 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 8972 8973 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 8974 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8975 # If the export-symbols file already is a .def file (1st line 8976 # is EXPORTS), use it as is; otherwise, prepend... 8977 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 8978 cp $export_symbols $output_objdir/$soname.def; 8979 else 8980 echo EXPORTS > $output_objdir/$soname.def; 8981 cat $export_symbols >> $output_objdir/$soname.def; 8982 fi~ 8983 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 8984 else 8985 ld_shlibs=no 8986 fi 8987 ;; 8988 8989 haiku*) 8990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 8991 link_all_deplibs=yes 8992 ;; 8993 8994 interix[3-9]*) 8995 hardcode_direct=no 8996 hardcode_shlibpath_var=no 8997 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 8998 export_dynamic_flag_spec='${wl}-E' 8999 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 9000 # Instead, shared libraries are loaded at an image base (0x10000000 by 9001 # default) and relocated if they conflict, which is a slow very memory 9002 # consuming and fragmenting process. To avoid this, we pick a random, 9003 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 9004 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 9005 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 9006 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' 9007 ;; 9008 9009 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 9010 tmp_diet=no 9011 if test "$host_os" = linux-dietlibc; then 9012 case $cc_basename in 9013 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 9014 esac 9015 fi 9016 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 9017 && test "$tmp_diet" = no 9018 then 9019 tmp_addflag=' $pic_flag' 9020 tmp_sharedflag='-shared' 9021 case $cc_basename,$host_cpu in 9022 pgcc*) # Portland Group C compiler 9023 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' 9024 tmp_addflag=' $pic_flag' 9025 ;; 9026 pgf77* | pgf90* | pgf95* | pgfortran*) 9027 # Portland Group f77 and f90 compilers 9028 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' 9029 tmp_addflag=' $pic_flag -Mnomain' ;; 9030 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 9031 tmp_addflag=' -i_dynamic' ;; 9032 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 9033 tmp_addflag=' -i_dynamic -nofor_main' ;; 9034 ifc* | ifort*) # Intel Fortran compiler 9035 tmp_addflag=' -nofor_main' ;; 9036 lf95*) # Lahey Fortran 8.1 9037 whole_archive_flag_spec= 9038 tmp_sharedflag='--shared' ;; 9039 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 9040 tmp_sharedflag='-qmkshrobj' 9041 tmp_addflag= ;; 9042 nvcc*) # Cuda Compiler Driver 2.2 9043 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' 9044 compiler_needs_object=yes 9045 ;; 9046 esac 9047 case `$CC -V 2>&1 | sed 5q` in 9048 *Sun\ C*) # Sun C 5.9 9049 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' 9050 compiler_needs_object=yes 9051 tmp_sharedflag='-G' ;; 9052 *Sun\ F*) # Sun Fortran 8.3 9053 tmp_sharedflag='-G' ;; 9054 esac 9055 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9056 9057 if test "x$supports_anon_versioning" = xyes; then 9058 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9059 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9060 echo "local: *; };" >> $output_objdir/$libname.ver~ 9061 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' 9062 fi 9063 9064 case $cc_basename in 9065 xlf* | bgf* | bgxlf* | mpixlf*) 9066 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 9067 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 9068 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9069 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 9070 if test "x$supports_anon_versioning" = xyes; then 9071 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 9072 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 9073 echo "local: *; };" >> $output_objdir/$libname.ver~ 9074 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 9075 fi 9076 ;; 9077 esac 9078 else 9079 ld_shlibs=no 9080 fi 9081 ;; 9082 9083 netbsd* | netbsdelf*-gnu) 9084 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9085 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 9086 wlarc= 9087 else 9088 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9089 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9090 fi 9091 ;; 9092 9093 solaris*) 9094 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 9095 ld_shlibs=no 9096 cat <<_LT_EOF 1>&2 9097 9098*** Warning: The releases 2.8.* of the GNU linker cannot reliably 9099*** create shared libraries on Solaris systems. Therefore, libtool 9100*** is disabling shared libraries support. We urge you to upgrade GNU 9101*** binutils to release 2.9.1 or newer. Another option is to modify 9102*** your PATH or compiler configuration so that the native linker is 9103*** used, and then restart. 9104 9105_LT_EOF 9106 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9107 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9108 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9109 else 9110 ld_shlibs=no 9111 fi 9112 ;; 9113 9114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 9115 case `$LD -v 2>&1` in 9116 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 9117 ld_shlibs=no 9118 cat <<_LT_EOF 1>&2 9119 9120*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not 9121*** reliably create shared libraries on SCO systems. Therefore, libtool 9122*** is disabling shared libraries support. We urge you to upgrade GNU 9123*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 9124*** your PATH or compiler configuration so that the native linker is 9125*** used, and then restart. 9126 9127_LT_EOF 9128 ;; 9129 *) 9130 # For security reasons, it is highly recommended that you always 9131 # use absolute paths for naming shared libraries, and exclude the 9132 # DT_RUNPATH tag from executables and libraries. But doing so 9133 # requires that you compile everything twice, which is a pain. 9134 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9136 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9137 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9138 else 9139 ld_shlibs=no 9140 fi 9141 ;; 9142 esac 9143 ;; 9144 9145 sunos4*) 9146 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9147 wlarc= 9148 hardcode_direct=yes 9149 hardcode_shlibpath_var=no 9150 ;; 9151 9152 *) 9153 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 9154 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9155 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 9156 else 9157 ld_shlibs=no 9158 fi 9159 ;; 9160 esac 9161 9162 if test "$ld_shlibs" = no; then 9163 runpath_var= 9164 hardcode_libdir_flag_spec= 9165 export_dynamic_flag_spec= 9166 whole_archive_flag_spec= 9167 fi 9168 else 9169 # PORTME fill in a description of your system's linker (not GNU ld) 9170 case $host_os in 9171 aix3*) 9172 allow_undefined_flag=unsupported 9173 always_export_symbols=yes 9174 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' 9175 # Note: this linker hardcodes the directories in LIBPATH if there 9176 # are no directories specified by -L. 9177 hardcode_minus_L=yes 9178 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 9179 # Neither direct hardcoding nor static linking is supported with a 9180 # broken collect2. 9181 hardcode_direct=unsupported 9182 fi 9183 ;; 9184 9185 aix[4-9]*) 9186 if test "$host_cpu" = ia64; then 9187 # On IA64, the linker does run time linking by default, so we don't 9188 # have to do anything special. 9189 aix_use_runtimelinking=no 9190 exp_sym_flag='-Bexport' 9191 no_entry_flag="" 9192 else 9193 # If we're using GNU nm, then we don't want the "-C" option. 9194 # -C means demangle to AIX nm, but means don't demangle with GNU nm 9195 # Also, AIX nm treats weak defined symbols like other global 9196 # defined symbols, whereas GNU nm marks them as "W". 9197 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 9198 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' 9199 else 9200 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' 9201 fi 9202 aix_use_runtimelinking=no 9203 9204 # Test if we are trying to use run time linking or normal 9205 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 9206 # need to do runtime linking. 9207 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 9208 for ld_flag in $LDFLAGS; do 9209 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 9210 aix_use_runtimelinking=yes 9211 break 9212 fi 9213 done 9214 ;; 9215 esac 9216 9217 exp_sym_flag='-bexport' 9218 no_entry_flag='-bnoentry' 9219 fi 9220 9221 # When large executables or shared objects are built, AIX ld can 9222 # have problems creating the table of contents. If linking a library 9223 # or program results in "error TOC overflow" add -mminimal-toc to 9224 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 9225 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 9226 9227 archive_cmds='' 9228 hardcode_direct=yes 9229 hardcode_direct_absolute=yes 9230 hardcode_libdir_separator=':' 9231 link_all_deplibs=yes 9232 file_list_spec='${wl}-f,' 9233 9234 if test "$GCC" = yes; then 9235 case $host_os in aix4.[012]|aix4.[012].*) 9236 # We only want to do this on AIX 4.2 and lower, the check 9237 # below for broken collect2 doesn't work under 4.3+ 9238 collect2name=`${CC} -print-prog-name=collect2` 9239 if test -f "$collect2name" && 9240 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 9241 then 9242 # We have reworked collect2 9243 : 9244 else 9245 # We have old collect2 9246 hardcode_direct=unsupported 9247 # It fails to find uninstalled libraries when the uninstalled 9248 # path is not listed in the libpath. Setting hardcode_minus_L 9249 # to unsupported forces relinking 9250 hardcode_minus_L=yes 9251 hardcode_libdir_flag_spec='-L$libdir' 9252 hardcode_libdir_separator= 9253 fi 9254 ;; 9255 esac 9256 shared_flag='-shared' 9257 if test "$aix_use_runtimelinking" = yes; then 9258 shared_flag="$shared_flag "'${wl}-G' 9259 fi 9260 link_all_deplibs=no 9261 else 9262 # not using gcc 9263 if test "$host_cpu" = ia64; then 9264 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 9265 # chokes on -Wl,-G. The following line is correct: 9266 shared_flag='-G' 9267 else 9268 if test "$aix_use_runtimelinking" = yes; then 9269 shared_flag='${wl}-G' 9270 else 9271 shared_flag='${wl}-bM:SRE' 9272 fi 9273 fi 9274 fi 9275 9276 export_dynamic_flag_spec='${wl}-bexpall' 9277 # It seems that -bexpall does not export symbols beginning with 9278 # underscore (_), so it is better to generate a list of symbols to export. 9279 always_export_symbols=yes 9280 if test "$aix_use_runtimelinking" = yes; then 9281 # Warning - without using the other runtime loading flags (-brtl), 9282 # -berok will link without error, but may produce a broken library. 9283 allow_undefined_flag='-berok' 9284 # Determine the default libpath from the value encoded in an 9285 # empty executable. 9286 if test "${lt_cv_aix_libpath+set}" = set; then 9287 aix_libpath=$lt_cv_aix_libpath 9288else 9289 if ${lt_cv_aix_libpath_+:} false; then : 9290 $as_echo_n "(cached) " >&6 9291else 9292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9293/* end confdefs.h. */ 9294 9295int 9296main () 9297{ 9298 9299 ; 9300 return 0; 9301} 9302_ACEOF 9303if ac_fn_c_try_link "$LINENO"; then : 9304 9305 lt_aix_libpath_sed=' 9306 /Import File Strings/,/^$/ { 9307 /^0/ { 9308 s/^0 *\([^ ]*\) *$/\1/ 9309 p 9310 } 9311 }' 9312 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9313 # Check for a 64-bit object if we didn't find anything. 9314 if test -z "$lt_cv_aix_libpath_"; then 9315 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9316 fi 9317fi 9318rm -f core conftest.err conftest.$ac_objext \ 9319 conftest$ac_exeext conftest.$ac_ext 9320 if test -z "$lt_cv_aix_libpath_"; then 9321 lt_cv_aix_libpath_="/usr/lib:/lib" 9322 fi 9323 9324fi 9325 9326 aix_libpath=$lt_cv_aix_libpath_ 9327fi 9328 9329 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9330 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" 9331 else 9332 if test "$host_cpu" = ia64; then 9333 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' 9334 allow_undefined_flag="-z nodefs" 9335 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" 9336 else 9337 # Determine the default libpath from the value encoded in an 9338 # empty executable. 9339 if test "${lt_cv_aix_libpath+set}" = set; then 9340 aix_libpath=$lt_cv_aix_libpath 9341else 9342 if ${lt_cv_aix_libpath_+:} false; then : 9343 $as_echo_n "(cached) " >&6 9344else 9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9346/* end confdefs.h. */ 9347 9348int 9349main () 9350{ 9351 9352 ; 9353 return 0; 9354} 9355_ACEOF 9356if ac_fn_c_try_link "$LINENO"; then : 9357 9358 lt_aix_libpath_sed=' 9359 /Import File Strings/,/^$/ { 9360 /^0/ { 9361 s/^0 *\([^ ]*\) *$/\1/ 9362 p 9363 } 9364 }' 9365 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9366 # Check for a 64-bit object if we didn't find anything. 9367 if test -z "$lt_cv_aix_libpath_"; then 9368 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 9369 fi 9370fi 9371rm -f core conftest.err conftest.$ac_objext \ 9372 conftest$ac_exeext conftest.$ac_ext 9373 if test -z "$lt_cv_aix_libpath_"; then 9374 lt_cv_aix_libpath_="/usr/lib:/lib" 9375 fi 9376 9377fi 9378 9379 aix_libpath=$lt_cv_aix_libpath_ 9380fi 9381 9382 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" 9383 # Warning - without using the other run time loading flags, 9384 # -berok will link without error, but may produce a broken library. 9385 no_undefined_flag=' ${wl}-bernotok' 9386 allow_undefined_flag=' ${wl}-berok' 9387 if test "$with_gnu_ld" = yes; then 9388 # We only use this code for GNU lds that support --whole-archive. 9389 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 9390 else 9391 # Exported symbols can be pulled into shared objects from archives 9392 whole_archive_flag_spec='$convenience' 9393 fi 9394 archive_cmds_need_lc=yes 9395 # This is similar to how AIX traditionally builds its shared libraries. 9396 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' 9397 fi 9398 fi 9399 ;; 9400 9401 amigaos*) 9402 case $host_cpu in 9403 powerpc) 9404 # see comment about AmigaOS4 .so support 9405 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' 9406 archive_expsym_cmds='' 9407 ;; 9408 m68k) 9409 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)' 9410 hardcode_libdir_flag_spec='-L$libdir' 9411 hardcode_minus_L=yes 9412 ;; 9413 esac 9414 ;; 9415 9416 bsdi[45]*) 9417 export_dynamic_flag_spec=-rdynamic 9418 ;; 9419 9420 cygwin* | mingw* | pw32* | cegcc*) 9421 # When not using gcc, we currently assume that we are using 9422 # Microsoft Visual C++. 9423 # hardcode_libdir_flag_spec is actually meaningless, as there is 9424 # no search path for DLLs. 9425 case $cc_basename in 9426 cl*) 9427 # Native MSVC 9428 hardcode_libdir_flag_spec=' ' 9429 allow_undefined_flag=unsupported 9430 always_export_symbols=yes 9431 file_list_spec='@' 9432 # Tell ltmain to make .lib files, not .a files. 9433 libext=lib 9434 # Tell ltmain to make .dll files, not .so files. 9435 shrext_cmds=".dll" 9436 # FIXME: Setting linknames here is a bad hack. 9437 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' 9438 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then 9439 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; 9440 else 9441 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; 9442 fi~ 9443 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 9444 linknames=' 9445 # The linker will not automatically build a static lib if we build a DLL. 9446 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 9447 enable_shared_with_static_runtimes=yes 9448 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 9449 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 9450 # Don't use ranlib 9451 old_postinstall_cmds='chmod 644 $oldlib' 9452 postlink_cmds='lt_outputfile="@OUTPUT@"~ 9453 lt_tool_outputfile="@TOOL_OUTPUT@"~ 9454 case $lt_outputfile in 9455 *.exe|*.EXE) ;; 9456 *) 9457 lt_outputfile="$lt_outputfile.exe" 9458 lt_tool_outputfile="$lt_tool_outputfile.exe" 9459 ;; 9460 esac~ 9461 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then 9462 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 9463 $RM "$lt_outputfile.manifest"; 9464 fi' 9465 ;; 9466 *) 9467 # Assume MSVC wrapper 9468 hardcode_libdir_flag_spec=' ' 9469 allow_undefined_flag=unsupported 9470 # Tell ltmain to make .lib files, not .a files. 9471 libext=lib 9472 # Tell ltmain to make .dll files, not .so files. 9473 shrext_cmds=".dll" 9474 # FIXME: Setting linknames here is a bad hack. 9475 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 9476 # The linker will automatically build a .lib file if we build a DLL. 9477 old_archive_from_new_cmds='true' 9478 # FIXME: Should let the user specify the lib program. 9479 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 9480 enable_shared_with_static_runtimes=yes 9481 ;; 9482 esac 9483 ;; 9484 9485 darwin* | rhapsody*) 9486 9487 9488 archive_cmds_need_lc=no 9489 hardcode_direct=no 9490 hardcode_automatic=yes 9491 hardcode_shlibpath_var=unsupported 9492 if test "$lt_cv_ld_force_load" = "yes"; then 9493 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\"`' 9494 9495 else 9496 whole_archive_flag_spec='' 9497 fi 9498 link_all_deplibs=yes 9499 allow_undefined_flag="$_lt_dar_allow_undefined" 9500 case $cc_basename in 9501 ifort*) _lt_dar_can_shared=yes ;; 9502 *) _lt_dar_can_shared=$GCC ;; 9503 esac 9504 if test "$_lt_dar_can_shared" = "yes"; then 9505 output_verbose_link_cmd=func_echo_all 9506 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" 9507 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 9508 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}" 9509 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}" 9510 9511 else 9512 ld_shlibs=no 9513 fi 9514 9515 ;; 9516 9517 dgux*) 9518 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9519 hardcode_libdir_flag_spec='-L$libdir' 9520 hardcode_shlibpath_var=no 9521 ;; 9522 9523 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 9524 # support. Future versions do this automatically, but an explicit c++rt0.o 9525 # does not break anything, and helps significantly (at the cost of a little 9526 # extra space). 9527 freebsd2.2*) 9528 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 9529 hardcode_libdir_flag_spec='-R$libdir' 9530 hardcode_direct=yes 9531 hardcode_shlibpath_var=no 9532 ;; 9533 9534 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 9535 freebsd2.*) 9536 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9537 hardcode_direct=yes 9538 hardcode_minus_L=yes 9539 hardcode_shlibpath_var=no 9540 ;; 9541 9542 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 9543 freebsd* | dragonfly*) 9544 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9545 hardcode_libdir_flag_spec='-R$libdir' 9546 hardcode_direct=yes 9547 hardcode_shlibpath_var=no 9548 ;; 9549 9550 hpux9*) 9551 if test "$GCC" = yes; then 9552 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' 9553 else 9554 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' 9555 fi 9556 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9557 hardcode_libdir_separator=: 9558 hardcode_direct=yes 9559 9560 # hardcode_minus_L: Not really in the search PATH, 9561 # but as the default location of the library. 9562 hardcode_minus_L=yes 9563 export_dynamic_flag_spec='${wl}-E' 9564 ;; 9565 9566 hpux10*) 9567 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9568 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9569 else 9570 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9571 fi 9572 if test "$with_gnu_ld" = no; then 9573 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9574 hardcode_libdir_separator=: 9575 hardcode_direct=yes 9576 hardcode_direct_absolute=yes 9577 export_dynamic_flag_spec='${wl}-E' 9578 # hardcode_minus_L: Not really in the search PATH, 9579 # but as the default location of the library. 9580 hardcode_minus_L=yes 9581 fi 9582 ;; 9583 9584 hpux11*) 9585 if test "$GCC" = yes && test "$with_gnu_ld" = no; then 9586 case $host_cpu in 9587 hppa*64*) 9588 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9589 ;; 9590 ia64*) 9591 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9592 ;; 9593 *) 9594 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9595 ;; 9596 esac 9597 else 9598 case $host_cpu in 9599 hppa*64*) 9600 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9601 ;; 9602 ia64*) 9603 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 9604 ;; 9605 *) 9606 9607 # Older versions of the 11.00 compiler do not understand -b yet 9608 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 9610$as_echo_n "checking if $CC understands -b... " >&6; } 9611if ${lt_cv_prog_compiler__b+:} false; then : 9612 $as_echo_n "(cached) " >&6 9613else 9614 lt_cv_prog_compiler__b=no 9615 save_LDFLAGS="$LDFLAGS" 9616 LDFLAGS="$LDFLAGS -b" 9617 echo "$lt_simple_link_test_code" > conftest.$ac_ext 9618 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 9619 # The linker can only warn and ignore the option if not recognized 9620 # So say no if there are warnings 9621 if test -s conftest.err; then 9622 # Append any errors to the config.log. 9623 cat conftest.err 1>&5 9624 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 9625 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9626 if diff conftest.exp conftest.er2 >/dev/null; then 9627 lt_cv_prog_compiler__b=yes 9628 fi 9629 else 9630 lt_cv_prog_compiler__b=yes 9631 fi 9632 fi 9633 $RM -r conftest* 9634 LDFLAGS="$save_LDFLAGS" 9635 9636fi 9637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 9638$as_echo "$lt_cv_prog_compiler__b" >&6; } 9639 9640if test x"$lt_cv_prog_compiler__b" = xyes; then 9641 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 9642else 9643 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 9644fi 9645 9646 ;; 9647 esac 9648 fi 9649 if test "$with_gnu_ld" = no; then 9650 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' 9651 hardcode_libdir_separator=: 9652 9653 case $host_cpu in 9654 hppa*64*|ia64*) 9655 hardcode_direct=no 9656 hardcode_shlibpath_var=no 9657 ;; 9658 *) 9659 hardcode_direct=yes 9660 hardcode_direct_absolute=yes 9661 export_dynamic_flag_spec='${wl}-E' 9662 9663 # hardcode_minus_L: Not really in the search PATH, 9664 # but as the default location of the library. 9665 hardcode_minus_L=yes 9666 ;; 9667 esac 9668 fi 9669 ;; 9670 9671 irix5* | irix6* | nonstopux*) 9672 if test "$GCC" = yes; then 9673 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' 9674 # Try to use the -exported_symbol ld option, if it does not 9675 # work, assume that -exports_file does not work either and 9676 # implicitly export all symbols. 9677 # This should be the same for all languages, so no per-tag cache variable. 9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 9679$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 9680if ${lt_cv_irix_exported_symbol+:} false; then : 9681 $as_echo_n "(cached) " >&6 9682else 9683 save_LDFLAGS="$LDFLAGS" 9684 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" 9685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9686/* end confdefs.h. */ 9687int foo (void) { return 0; } 9688_ACEOF 9689if ac_fn_c_try_link "$LINENO"; then : 9690 lt_cv_irix_exported_symbol=yes 9691else 9692 lt_cv_irix_exported_symbol=no 9693fi 9694rm -f core conftest.err conftest.$ac_objext \ 9695 conftest$ac_exeext conftest.$ac_ext 9696 LDFLAGS="$save_LDFLAGS" 9697fi 9698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 9699$as_echo "$lt_cv_irix_exported_symbol" >&6; } 9700 if test "$lt_cv_irix_exported_symbol" = yes; then 9701 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' 9702 fi 9703 else 9704 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' 9705 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' 9706 fi 9707 archive_cmds_need_lc='no' 9708 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9709 hardcode_libdir_separator=: 9710 inherit_rpath=yes 9711 link_all_deplibs=yes 9712 ;; 9713 9714 netbsd* | netbsdelf*-gnu) 9715 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 9716 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 9717 else 9718 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 9719 fi 9720 hardcode_libdir_flag_spec='-R$libdir' 9721 hardcode_direct=yes 9722 hardcode_shlibpath_var=no 9723 ;; 9724 9725 newsos6) 9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9727 hardcode_direct=yes 9728 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9729 hardcode_libdir_separator=: 9730 hardcode_shlibpath_var=no 9731 ;; 9732 9733 *nto* | *qnx*) 9734 ;; 9735 9736 openbsd*) 9737 if test -f /usr/libexec/ld.so; then 9738 hardcode_direct=yes 9739 hardcode_shlibpath_var=no 9740 hardcode_direct_absolute=yes 9741 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 9742 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9743 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' 9744 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9745 export_dynamic_flag_spec='${wl}-E' 9746 else 9747 case $host_os in 9748 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) 9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 9750 hardcode_libdir_flag_spec='-R$libdir' 9751 ;; 9752 *) 9753 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 9754 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 9755 ;; 9756 esac 9757 fi 9758 else 9759 ld_shlibs=no 9760 fi 9761 ;; 9762 9763 os2*) 9764 hardcode_libdir_flag_spec='-L$libdir' 9765 hardcode_minus_L=yes 9766 allow_undefined_flag=unsupported 9767 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' 9768 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' 9769 ;; 9770 9771 osf3*) 9772 if test "$GCC" = yes; then 9773 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9774 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' 9775 else 9776 allow_undefined_flag=' -expect_unresolved \*' 9777 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' 9778 fi 9779 archive_cmds_need_lc='no' 9780 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9781 hardcode_libdir_separator=: 9782 ;; 9783 9784 osf4* | osf5*) # as osf3* with the addition of -msym flag 9785 if test "$GCC" = yes; then 9786 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' 9787 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' 9788 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 9789 else 9790 allow_undefined_flag=' -expect_unresolved \*' 9791 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' 9792 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~ 9793 $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' 9794 9795 # Both c and cxx compiler support -rpath directly 9796 hardcode_libdir_flag_spec='-rpath $libdir' 9797 fi 9798 archive_cmds_need_lc='no' 9799 hardcode_libdir_separator=: 9800 ;; 9801 9802 solaris*) 9803 no_undefined_flag=' -z defs' 9804 if test "$GCC" = yes; then 9805 wlarc='${wl}' 9806 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' 9807 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9808 $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' 9809 else 9810 case `$CC -V 2>&1` in 9811 *"Compilers 5.0"*) 9812 wlarc='' 9813 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' 9814 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9815 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 9816 ;; 9817 *) 9818 wlarc='${wl}' 9819 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' 9820 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 9821 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 9822 ;; 9823 esac 9824 fi 9825 hardcode_libdir_flag_spec='-R$libdir' 9826 hardcode_shlibpath_var=no 9827 case $host_os in 9828 solaris2.[0-5] | solaris2.[0-5].*) ;; 9829 *) 9830 # The compiler driver will combine and reorder linker options, 9831 # but understands `-z linker_flag'. GCC discards it without `$wl', 9832 # but is careful enough not to reorder. 9833 # Supported since Solaris 2.6 (maybe 2.5.1?) 9834 if test "$GCC" = yes; then 9835 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' 9836 else 9837 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 9838 fi 9839 ;; 9840 esac 9841 link_all_deplibs=yes 9842 ;; 9843 9844 sunos4*) 9845 if test "x$host_vendor" = xsequent; then 9846 # Use $CC to link under sequent, because it throws in some extra .o 9847 # files that make .init and .fini sections work. 9848 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' 9849 else 9850 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 9851 fi 9852 hardcode_libdir_flag_spec='-L$libdir' 9853 hardcode_direct=yes 9854 hardcode_minus_L=yes 9855 hardcode_shlibpath_var=no 9856 ;; 9857 9858 sysv4) 9859 case $host_vendor in 9860 sni) 9861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9862 hardcode_direct=yes # is this really true??? 9863 ;; 9864 siemens) 9865 ## LD is ld it makes a PLAMLIB 9866 ## CC just makes a GrossModule. 9867 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 9868 reload_cmds='$CC -r -o $output$reload_objs' 9869 hardcode_direct=no 9870 ;; 9871 motorola) 9872 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9873 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 9874 ;; 9875 esac 9876 runpath_var='LD_RUN_PATH' 9877 hardcode_shlibpath_var=no 9878 ;; 9879 9880 sysv4.3*) 9881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9882 hardcode_shlibpath_var=no 9883 export_dynamic_flag_spec='-Bexport' 9884 ;; 9885 9886 sysv4*MP*) 9887 if test -d /usr/nec; then 9888 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9889 hardcode_shlibpath_var=no 9890 runpath_var=LD_RUN_PATH 9891 hardcode_runpath_var=yes 9892 ld_shlibs=yes 9893 fi 9894 ;; 9895 9896 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 9897 no_undefined_flag='${wl}-z,text' 9898 archive_cmds_need_lc=no 9899 hardcode_shlibpath_var=no 9900 runpath_var='LD_RUN_PATH' 9901 9902 if test "$GCC" = yes; then 9903 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9904 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9905 else 9906 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9907 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9908 fi 9909 ;; 9910 9911 sysv5* | sco3.2v5* | sco5v6*) 9912 # Note: We can NOT use -z defs as we might desire, because we do not 9913 # link with -lc, and that would cause any symbols used from libc to 9914 # always be unresolved, which means just about no library would 9915 # ever link correctly. If we're not using GNU ld we use -z text 9916 # though, which does catch some bad symbols but isn't as heavy-handed 9917 # as -z defs. 9918 no_undefined_flag='${wl}-z,text' 9919 allow_undefined_flag='${wl}-z,nodefs' 9920 archive_cmds_need_lc=no 9921 hardcode_shlibpath_var=no 9922 hardcode_libdir_flag_spec='${wl}-R,$libdir' 9923 hardcode_libdir_separator=':' 9924 link_all_deplibs=yes 9925 export_dynamic_flag_spec='${wl}-Bexport' 9926 runpath_var='LD_RUN_PATH' 9927 9928 if test "$GCC" = yes; then 9929 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9930 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9931 else 9932 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9933 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 9934 fi 9935 ;; 9936 9937 uts4*) 9938 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 9939 hardcode_libdir_flag_spec='-L$libdir' 9940 hardcode_shlibpath_var=no 9941 ;; 9942 9943 *) 9944 ld_shlibs=no 9945 ;; 9946 esac 9947 9948 if test x$host_vendor = xsni; then 9949 case $host in 9950 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 9951 export_dynamic_flag_spec='${wl}-Blargedynsym' 9952 ;; 9953 esac 9954 fi 9955 fi 9956 9957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 9958$as_echo "$ld_shlibs" >&6; } 9959test "$ld_shlibs" = no && can_build_shared=no 9960 9961with_gnu_ld=$with_gnu_ld 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977# 9978# Do we need to explicitly link libc? 9979# 9980case "x$archive_cmds_need_lc" in 9981x|xyes) 9982 # Assume -lc should be added 9983 archive_cmds_need_lc=yes 9984 9985 if test "$enable_shared" = yes && test "$GCC" = yes; then 9986 case $archive_cmds in 9987 *'~'*) 9988 # FIXME: we may have to deal with multi-command sequences. 9989 ;; 9990 '$CC '*) 9991 # Test whether the compiler implicitly links with -lc since on some 9992 # systems, -lgcc has to come before -lc. If gcc already passes -lc 9993 # to ld, don't add -lc before -lgcc. 9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 9995$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 9996if ${lt_cv_archive_cmds_need_lc+:} false; then : 9997 $as_echo_n "(cached) " >&6 9998else 9999 $RM conftest* 10000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10001 10002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 10003 (eval $ac_compile) 2>&5 10004 ac_status=$? 10005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10006 test $ac_status = 0; } 2>conftest.err; then 10007 soname=conftest 10008 lib=conftest 10009 libobjs=conftest.$ac_objext 10010 deplibs= 10011 wl=$lt_prog_compiler_wl 10012 pic_flag=$lt_prog_compiler_pic 10013 compiler_flags=-v 10014 linker_flags=-v 10015 verstring= 10016 output_objdir=. 10017 libname=conftest 10018 lt_save_allow_undefined_flag=$allow_undefined_flag 10019 allow_undefined_flag= 10020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 10021 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 10022 ac_status=$? 10023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 10024 test $ac_status = 0; } 10025 then 10026 lt_cv_archive_cmds_need_lc=no 10027 else 10028 lt_cv_archive_cmds_need_lc=yes 10029 fi 10030 allow_undefined_flag=$lt_save_allow_undefined_flag 10031 else 10032 cat conftest.err 1>&5 10033 fi 10034 $RM conftest* 10035 10036fi 10037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 10038$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 10039 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 10040 ;; 10041 esac 10042 fi 10043 ;; 10044esac 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 10198$as_echo_n "checking dynamic linker characteristics... " >&6; } 10199 10200if test "$GCC" = yes; then 10201 case $host_os in 10202 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; 10203 *) lt_awk_arg="/^libraries:/" ;; 10204 esac 10205 case $host_os in 10206 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; 10207 *) lt_sed_strip_eq="s,=/,/,g" ;; 10208 esac 10209 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 10210 case $lt_search_path_spec in 10211 *\;*) 10212 # if the path contains ";" then we assume it to be the separator 10213 # otherwise default to the standard path separator (i.e. ":") - it is 10214 # assumed that no part of a normal pathname contains ";" but that should 10215 # okay in the real world where ";" in dirpaths is itself problematic. 10216 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 10217 ;; 10218 *) 10219 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 10220 ;; 10221 esac 10222 # Ok, now we have the path, separated by spaces, we can step through it 10223 # and add multilib dir if necessary. 10224 lt_tmp_lt_search_path_spec= 10225 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 10226 for lt_sys_path in $lt_search_path_spec; do 10227 if test -d "$lt_sys_path/$lt_multi_os_dir"; then 10228 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" 10229 else 10230 test -d "$lt_sys_path" && \ 10231 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 10232 fi 10233 done 10234 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 10235BEGIN {RS=" "; FS="/|\n";} { 10236 lt_foo=""; 10237 lt_count=0; 10238 for (lt_i = NF; lt_i > 0; lt_i--) { 10239 if ($lt_i != "" && $lt_i != ".") { 10240 if ($lt_i == "..") { 10241 lt_count++; 10242 } else { 10243 if (lt_count == 0) { 10244 lt_foo="/" $lt_i lt_foo; 10245 } else { 10246 lt_count--; 10247 } 10248 } 10249 } 10250 } 10251 if (lt_foo != "") { lt_freq[lt_foo]++; } 10252 if (lt_freq[lt_foo] == 1) { print lt_foo; } 10253}'` 10254 # AWK program above erroneously prepends '/' to C:/dos/paths 10255 # for these hosts. 10256 case $host_os in 10257 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 10258 $SED 's,/\([A-Za-z]:\),\1,g'` ;; 10259 esac 10260 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 10261else 10262 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 10263fi 10264library_names_spec= 10265libname_spec='lib$name' 10266soname_spec= 10267shrext_cmds=".so" 10268postinstall_cmds= 10269postuninstall_cmds= 10270finish_cmds= 10271finish_eval= 10272shlibpath_var= 10273shlibpath_overrides_runpath=unknown 10274version_type=none 10275dynamic_linker="$host_os ld.so" 10276sys_lib_dlsearch_path_spec="/lib /usr/lib" 10277need_lib_prefix=unknown 10278hardcode_into_libs=no 10279 10280# when you set need_version to no, make sure it does not cause -set_version 10281# flags to be left without arguments 10282need_version=unknown 10283 10284case $host_os in 10285aix3*) 10286 version_type=linux # correct to gnu/linux during the next big refactor 10287 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 10288 shlibpath_var=LIBPATH 10289 10290 # AIX 3 has no versioning support, so we append a major version to the name. 10291 soname_spec='${libname}${release}${shared_ext}$major' 10292 ;; 10293 10294aix[4-9]*) 10295 version_type=linux # correct to gnu/linux during the next big refactor 10296 need_lib_prefix=no 10297 need_version=no 10298 hardcode_into_libs=yes 10299 if test "$host_cpu" = ia64; then 10300 # AIX 5 supports IA64 10301 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 10302 shlibpath_var=LD_LIBRARY_PATH 10303 else 10304 # With GCC up to 2.95.x, collect2 would create an import file 10305 # for dependence libraries. The import file would start with 10306 # the line `#! .'. This would cause the generated library to 10307 # depend on `.', always an invalid library. This was fixed in 10308 # development snapshots of GCC prior to 3.0. 10309 case $host_os in 10310 aix4 | aix4.[01] | aix4.[01].*) 10311 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 10312 echo ' yes ' 10313 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then 10314 : 10315 else 10316 can_build_shared=no 10317 fi 10318 ;; 10319 esac 10320 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 10321 # soname into executable. Probably we can add versioning support to 10322 # collect2, so additional links can be useful in future. 10323 if test "$aix_use_runtimelinking" = yes; then 10324 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 10325 # instead of lib<name>.a to let people know that these are not 10326 # typical AIX shared libraries. 10327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10328 else 10329 # We preserve .a as extension for shared libraries through AIX4.2 10330 # and later when we are not doing run time linking. 10331 library_names_spec='${libname}${release}.a $libname.a' 10332 soname_spec='${libname}${release}${shared_ext}$major' 10333 fi 10334 shlibpath_var=LIBPATH 10335 fi 10336 ;; 10337 10338amigaos*) 10339 case $host_cpu in 10340 powerpc) 10341 # Since July 2007 AmigaOS4 officially supports .so libraries. 10342 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 10343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10344 ;; 10345 m68k) 10346 library_names_spec='$libname.ixlibrary $libname.a' 10347 # Create ${libname}_ixlibrary.a entries in /sys/libs. 10348 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' 10349 ;; 10350 esac 10351 ;; 10352 10353beos*) 10354 library_names_spec='${libname}${shared_ext}' 10355 dynamic_linker="$host_os ld.so" 10356 shlibpath_var=LIBRARY_PATH 10357 ;; 10358 10359bsdi[45]*) 10360 version_type=linux # correct to gnu/linux during the next big refactor 10361 need_version=no 10362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10363 soname_spec='${libname}${release}${shared_ext}$major' 10364 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 10365 shlibpath_var=LD_LIBRARY_PATH 10366 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 10367 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 10368 # the default ld.so.conf also contains /usr/contrib/lib and 10369 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 10370 # libtool to hard-code these into programs 10371 ;; 10372 10373cygwin* | mingw* | pw32* | cegcc*) 10374 version_type=windows 10375 shrext_cmds=".dll" 10376 need_version=no 10377 need_lib_prefix=no 10378 10379 case $GCC,$cc_basename in 10380 yes,*) 10381 # gcc 10382 library_names_spec='$libname.dll.a' 10383 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10384 postinstall_cmds='base_file=`basename \${file}`~ 10385 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10386 dldir=$destdir/`dirname \$dlpath`~ 10387 test -d \$dldir || mkdir -p \$dldir~ 10388 $install_prog $dir/$dlname \$dldir/$dlname~ 10389 chmod a+x \$dldir/$dlname~ 10390 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 10391 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 10392 fi' 10393 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10394 dlpath=$dir/\$dldll~ 10395 $RM \$dlpath' 10396 shlibpath_overrides_runpath=yes 10397 10398 case $host_os in 10399 cygwin*) 10400 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 10401 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10402 10403 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 10404 ;; 10405 mingw* | cegcc*) 10406 # MinGW DLLs use traditional 'lib' prefix 10407 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10408 ;; 10409 pw32*) 10410 # pw32 DLLs use 'pw' prefix rather than 'lib' 10411 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10412 ;; 10413 esac 10414 dynamic_linker='Win32 ld.exe' 10415 ;; 10416 10417 *,cl*) 10418 # Native MSVC 10419 libname_spec='$name' 10420 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' 10421 library_names_spec='${libname}.dll.lib' 10422 10423 case $build_os in 10424 mingw*) 10425 sys_lib_search_path_spec= 10426 lt_save_ifs=$IFS 10427 IFS=';' 10428 for lt_path in $LIB 10429 do 10430 IFS=$lt_save_ifs 10431 # Let DOS variable expansion print the short 8.3 style file name. 10432 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 10433 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 10434 done 10435 IFS=$lt_save_ifs 10436 # Convert to MSYS style. 10437 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 10438 ;; 10439 cygwin*) 10440 # Convert to unix form, then to dos form, then back to unix form 10441 # but this time dos style (no spaces!) so that the unix form looks 10442 # like /cygdrive/c/PROGRA~1:/cygdr... 10443 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 10444 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 10445 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10446 ;; 10447 *) 10448 sys_lib_search_path_spec="$LIB" 10449 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 10450 # It is most probably a Windows format PATH. 10451 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 10452 else 10453 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 10454 fi 10455 # FIXME: find the short name or the path components, as spaces are 10456 # common. (e.g. "Program Files" -> "PROGRA~1") 10457 ;; 10458 esac 10459 10460 # DLL is installed to $(libdir)/../bin by postinstall_cmds 10461 postinstall_cmds='base_file=`basename \${file}`~ 10462 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ 10463 dldir=$destdir/`dirname \$dlpath`~ 10464 test -d \$dldir || mkdir -p \$dldir~ 10465 $install_prog $dir/$dlname \$dldir/$dlname' 10466 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 10467 dlpath=$dir/\$dldll~ 10468 $RM \$dlpath' 10469 shlibpath_overrides_runpath=yes 10470 dynamic_linker='Win32 link.exe' 10471 ;; 10472 10473 *) 10474 # Assume MSVC wrapper 10475 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' 10476 dynamic_linker='Win32 ld.exe' 10477 ;; 10478 esac 10479 # FIXME: first we should search . and the directory the executable is in 10480 shlibpath_var=PATH 10481 ;; 10482 10483darwin* | rhapsody*) 10484 dynamic_linker="$host_os dyld" 10485 version_type=darwin 10486 need_lib_prefix=no 10487 need_version=no 10488 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' 10489 soname_spec='${libname}${release}${major}$shared_ext' 10490 shlibpath_overrides_runpath=yes 10491 shlibpath_var=DYLD_LIBRARY_PATH 10492 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 10493 10494 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 10495 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 10496 ;; 10497 10498dgux*) 10499 version_type=linux # correct to gnu/linux during the next big refactor 10500 need_lib_prefix=no 10501 need_version=no 10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 10503 soname_spec='${libname}${release}${shared_ext}$major' 10504 shlibpath_var=LD_LIBRARY_PATH 10505 ;; 10506 10507freebsd* | dragonfly*) 10508 # DragonFly does not have aout. When/if they implement a new 10509 # versioning mechanism, adjust this. 10510 if test -x /usr/bin/objformat; then 10511 objformat=`/usr/bin/objformat` 10512 else 10513 case $host_os in 10514 freebsd[23].*) objformat=aout ;; 10515 *) objformat=elf ;; 10516 esac 10517 fi 10518 version_type=freebsd-$objformat 10519 case $version_type in 10520 freebsd-elf*) 10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10522 need_version=no 10523 need_lib_prefix=no 10524 ;; 10525 freebsd-*) 10526 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 10527 need_version=yes 10528 ;; 10529 esac 10530 shlibpath_var=LD_LIBRARY_PATH 10531 case $host_os in 10532 freebsd2.*) 10533 shlibpath_overrides_runpath=yes 10534 ;; 10535 freebsd3.[01]* | freebsdelf3.[01]*) 10536 shlibpath_overrides_runpath=yes 10537 hardcode_into_libs=yes 10538 ;; 10539 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 10540 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 10541 shlibpath_overrides_runpath=no 10542 hardcode_into_libs=yes 10543 ;; 10544 *) # from 4.6 on, and DragonFly 10545 shlibpath_overrides_runpath=yes 10546 hardcode_into_libs=yes 10547 ;; 10548 esac 10549 ;; 10550 10551haiku*) 10552 version_type=linux # correct to gnu/linux during the next big refactor 10553 need_lib_prefix=no 10554 need_version=no 10555 dynamic_linker="$host_os runtime_loader" 10556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 10557 soname_spec='${libname}${release}${shared_ext}$major' 10558 shlibpath_var=LIBRARY_PATH 10559 shlibpath_overrides_runpath=yes 10560 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 10561 hardcode_into_libs=yes 10562 ;; 10563 10564hpux9* | hpux10* | hpux11*) 10565 # Give a soname corresponding to the major version so that dld.sl refuses to 10566 # link against other versions. 10567 version_type=sunos 10568 need_lib_prefix=no 10569 need_version=no 10570 case $host_cpu in 10571 ia64*) 10572 shrext_cmds='.so' 10573 hardcode_into_libs=yes 10574 dynamic_linker="$host_os dld.so" 10575 shlibpath_var=LD_LIBRARY_PATH 10576 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10578 soname_spec='${libname}${release}${shared_ext}$major' 10579 if test "X$HPUX_IA64_MODE" = X32; then 10580 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 10581 else 10582 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 10583 fi 10584 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10585 ;; 10586 hppa*64*) 10587 shrext_cmds='.sl' 10588 hardcode_into_libs=yes 10589 dynamic_linker="$host_os dld.sl" 10590 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 10591 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 10592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10593 soname_spec='${libname}${release}${shared_ext}$major' 10594 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 10595 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 10596 ;; 10597 *) 10598 shrext_cmds='.sl' 10599 dynamic_linker="$host_os dld.sl" 10600 shlibpath_var=SHLIB_PATH 10601 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10603 soname_spec='${libname}${release}${shared_ext}$major' 10604 ;; 10605 esac 10606 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 10607 postinstall_cmds='chmod 555 $lib' 10608 # or fails outright, so override atomically: 10609 install_override_mode=555 10610 ;; 10611 10612interix[3-9]*) 10613 version_type=linux # correct to gnu/linux during the next big refactor 10614 need_lib_prefix=no 10615 need_version=no 10616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10617 soname_spec='${libname}${release}${shared_ext}$major' 10618 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 10619 shlibpath_var=LD_LIBRARY_PATH 10620 shlibpath_overrides_runpath=no 10621 hardcode_into_libs=yes 10622 ;; 10623 10624irix5* | irix6* | nonstopux*) 10625 case $host_os in 10626 nonstopux*) version_type=nonstopux ;; 10627 *) 10628 if test "$lt_cv_prog_gnu_ld" = yes; then 10629 version_type=linux # correct to gnu/linux during the next big refactor 10630 else 10631 version_type=irix 10632 fi ;; 10633 esac 10634 need_lib_prefix=no 10635 need_version=no 10636 soname_spec='${libname}${release}${shared_ext}$major' 10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 10638 case $host_os in 10639 irix5* | nonstopux*) 10640 libsuff= shlibsuff= 10641 ;; 10642 *) 10643 case $LD in # libtool.m4 will add one of these switches to LD 10644 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 10645 libsuff= shlibsuff= libmagic=32-bit;; 10646 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 10647 libsuff=32 shlibsuff=N32 libmagic=N32;; 10648 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 10649 libsuff=64 shlibsuff=64 libmagic=64-bit;; 10650 *) libsuff= shlibsuff= libmagic=never-match;; 10651 esac 10652 ;; 10653 esac 10654 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 10655 shlibpath_overrides_runpath=no 10656 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 10657 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 10658 hardcode_into_libs=yes 10659 ;; 10660 10661# No shared lib support for Linux oldld, aout, or coff. 10662linux*oldld* | linux*aout* | linux*coff*) 10663 dynamic_linker=no 10664 ;; 10665 10666# This must be glibc/ELF. 10667linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10668 version_type=linux # correct to gnu/linux during the next big refactor 10669 need_lib_prefix=no 10670 need_version=no 10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10672 soname_spec='${libname}${release}${shared_ext}$major' 10673 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 10674 shlibpath_var=LD_LIBRARY_PATH 10675 shlibpath_overrides_runpath=no 10676 10677 # Some binutils ld are patched to set DT_RUNPATH 10678 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 10679 $as_echo_n "(cached) " >&6 10680else 10681 lt_cv_shlibpath_overrides_runpath=no 10682 save_LDFLAGS=$LDFLAGS 10683 save_libdir=$libdir 10684 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 10685 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10687/* end confdefs.h. */ 10688 10689int 10690main () 10691{ 10692 10693 ; 10694 return 0; 10695} 10696_ACEOF 10697if ac_fn_c_try_link "$LINENO"; then : 10698 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 10699 lt_cv_shlibpath_overrides_runpath=yes 10700fi 10701fi 10702rm -f core conftest.err conftest.$ac_objext \ 10703 conftest$ac_exeext conftest.$ac_ext 10704 LDFLAGS=$save_LDFLAGS 10705 libdir=$save_libdir 10706 10707fi 10708 10709 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 10710 10711 # This implies no fast_install, which is unacceptable. 10712 # Some rework will be needed to allow for fast_install 10713 # before this can be enabled. 10714 hardcode_into_libs=yes 10715 10716 # Append ld.so.conf contents to the search path 10717 if test -f /etc/ld.so.conf; then 10718 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' ' '` 10719 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 10720 fi 10721 10722 # We used to test for /lib/ld.so.1 and disable shared libraries on 10723 # powerpc, because MkLinux only supported shared libraries with the 10724 # GNU dynamic linker. Since this was broken with cross compilers, 10725 # most powerpc-linux boxes support dynamic linking these days and 10726 # people can always --disable-shared, the test was removed, and we 10727 # assume the GNU/Linux dynamic linker is in use. 10728 dynamic_linker='GNU/Linux ld.so' 10729 ;; 10730 10731netbsdelf*-gnu) 10732 version_type=linux 10733 need_lib_prefix=no 10734 need_version=no 10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10736 soname_spec='${libname}${release}${shared_ext}$major' 10737 shlibpath_var=LD_LIBRARY_PATH 10738 shlibpath_overrides_runpath=no 10739 hardcode_into_libs=yes 10740 dynamic_linker='NetBSD ld.elf_so' 10741 ;; 10742 10743netbsd*) 10744 version_type=sunos 10745 need_lib_prefix=no 10746 need_version=no 10747 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10750 dynamic_linker='NetBSD (a.out) ld.so' 10751 else 10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 10753 soname_spec='${libname}${release}${shared_ext}$major' 10754 dynamic_linker='NetBSD ld.elf_so' 10755 fi 10756 shlibpath_var=LD_LIBRARY_PATH 10757 shlibpath_overrides_runpath=yes 10758 hardcode_into_libs=yes 10759 ;; 10760 10761newsos6) 10762 version_type=linux # correct to gnu/linux during the next big refactor 10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10764 shlibpath_var=LD_LIBRARY_PATH 10765 shlibpath_overrides_runpath=yes 10766 ;; 10767 10768*nto* | *qnx*) 10769 version_type=qnx 10770 need_lib_prefix=no 10771 need_version=no 10772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10773 soname_spec='${libname}${release}${shared_ext}$major' 10774 shlibpath_var=LD_LIBRARY_PATH 10775 shlibpath_overrides_runpath=no 10776 hardcode_into_libs=yes 10777 dynamic_linker='ldqnx.so' 10778 ;; 10779 10780openbsd*) 10781 version_type=sunos 10782 sys_lib_dlsearch_path_spec="/usr/lib" 10783 need_lib_prefix=no 10784 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 10785 case $host_os in 10786 openbsd3.3 | openbsd3.3.*) need_version=yes ;; 10787 *) need_version=no ;; 10788 esac 10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 10791 shlibpath_var=LD_LIBRARY_PATH 10792 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 10793 case $host_os in 10794 openbsd2.[89] | openbsd2.[89].*) 10795 shlibpath_overrides_runpath=no 10796 ;; 10797 *) 10798 shlibpath_overrides_runpath=yes 10799 ;; 10800 esac 10801 else 10802 shlibpath_overrides_runpath=yes 10803 fi 10804 ;; 10805 10806os2*) 10807 libname_spec='$name' 10808 shrext_cmds=".dll" 10809 need_lib_prefix=no 10810 library_names_spec='$libname${shared_ext} $libname.a' 10811 dynamic_linker='OS/2 ld.exe' 10812 shlibpath_var=LIBPATH 10813 ;; 10814 10815osf3* | osf4* | osf5*) 10816 version_type=osf 10817 need_lib_prefix=no 10818 need_version=no 10819 soname_spec='${libname}${release}${shared_ext}$major' 10820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10821 shlibpath_var=LD_LIBRARY_PATH 10822 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 10823 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 10824 ;; 10825 10826rdos*) 10827 dynamic_linker=no 10828 ;; 10829 10830solaris*) 10831 version_type=linux # correct to gnu/linux during the next big refactor 10832 need_lib_prefix=no 10833 need_version=no 10834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10835 soname_spec='${libname}${release}${shared_ext}$major' 10836 shlibpath_var=LD_LIBRARY_PATH 10837 shlibpath_overrides_runpath=yes 10838 hardcode_into_libs=yes 10839 # ldd complains unless libraries are executable 10840 postinstall_cmds='chmod +x $lib' 10841 ;; 10842 10843sunos4*) 10844 version_type=sunos 10845 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 10846 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 10847 shlibpath_var=LD_LIBRARY_PATH 10848 shlibpath_overrides_runpath=yes 10849 if test "$with_gnu_ld" = yes; then 10850 need_lib_prefix=no 10851 fi 10852 need_version=yes 10853 ;; 10854 10855sysv4 | sysv4.3*) 10856 version_type=linux # correct to gnu/linux during the next big refactor 10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10858 soname_spec='${libname}${release}${shared_ext}$major' 10859 shlibpath_var=LD_LIBRARY_PATH 10860 case $host_vendor in 10861 sni) 10862 shlibpath_overrides_runpath=no 10863 need_lib_prefix=no 10864 runpath_var=LD_RUN_PATH 10865 ;; 10866 siemens) 10867 need_lib_prefix=no 10868 ;; 10869 motorola) 10870 need_lib_prefix=no 10871 need_version=no 10872 shlibpath_overrides_runpath=no 10873 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 10874 ;; 10875 esac 10876 ;; 10877 10878sysv4*MP*) 10879 if test -d /usr/nec ;then 10880 version_type=linux # correct to gnu/linux during the next big refactor 10881 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 10882 soname_spec='$libname${shared_ext}.$major' 10883 shlibpath_var=LD_LIBRARY_PATH 10884 fi 10885 ;; 10886 10887sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 10888 version_type=freebsd-elf 10889 need_lib_prefix=no 10890 need_version=no 10891 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 10892 soname_spec='${libname}${release}${shared_ext}$major' 10893 shlibpath_var=LD_LIBRARY_PATH 10894 shlibpath_overrides_runpath=yes 10895 hardcode_into_libs=yes 10896 if test "$with_gnu_ld" = yes; then 10897 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 10898 else 10899 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 10900 case $host_os in 10901 sco3.2v5*) 10902 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 10903 ;; 10904 esac 10905 fi 10906 sys_lib_dlsearch_path_spec='/usr/lib' 10907 ;; 10908 10909tpf*) 10910 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 10911 version_type=linux # correct to gnu/linux during the next big refactor 10912 need_lib_prefix=no 10913 need_version=no 10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10915 shlibpath_var=LD_LIBRARY_PATH 10916 shlibpath_overrides_runpath=no 10917 hardcode_into_libs=yes 10918 ;; 10919 10920uts4*) 10921 version_type=linux # correct to gnu/linux during the next big refactor 10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 10923 soname_spec='${libname}${release}${shared_ext}$major' 10924 shlibpath_var=LD_LIBRARY_PATH 10925 ;; 10926 10927*) 10928 dynamic_linker=no 10929 ;; 10930esac 10931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 10932$as_echo "$dynamic_linker" >&6; } 10933test "$dynamic_linker" = no && can_build_shared=no 10934 10935variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 10936if test "$GCC" = yes; then 10937 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 10938fi 10939 10940if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then 10941 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 10942fi 10943if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then 10944 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 10945fi 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 11039$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 11040hardcode_action= 11041if test -n "$hardcode_libdir_flag_spec" || 11042 test -n "$runpath_var" || 11043 test "X$hardcode_automatic" = "Xyes" ; then 11044 11045 # We can hardcode non-existent directories. 11046 if test "$hardcode_direct" != no && 11047 # If the only mechanism to avoid hardcoding is shlibpath_var, we 11048 # have to relink, otherwise we might link with an installed library 11049 # when we should be linking with a yet-to-be-installed one 11050 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && 11051 test "$hardcode_minus_L" != no; then 11052 # Linking always hardcodes the temporary library directory. 11053 hardcode_action=relink 11054 else 11055 # We can link without hardcoding, and we can hardcode nonexisting dirs. 11056 hardcode_action=immediate 11057 fi 11058else 11059 # We cannot hardcode anything, or else we can only hardcode existing 11060 # directories. 11061 hardcode_action=unsupported 11062fi 11063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 11064$as_echo "$hardcode_action" >&6; } 11065 11066if test "$hardcode_action" = relink || 11067 test "$inherit_rpath" = yes; then 11068 # Fast installation is not supported 11069 enable_fast_install=no 11070elif test "$shlibpath_overrides_runpath" = yes || 11071 test "$enable_shared" = no; then 11072 # Fast installation is not necessary 11073 enable_fast_install=needless 11074fi 11075 11076 11077 11078 11079 11080 11081 if test "x$enable_dlopen" != xyes; then 11082 enable_dlopen=unknown 11083 enable_dlopen_self=unknown 11084 enable_dlopen_self_static=unknown 11085else 11086 lt_cv_dlopen=no 11087 lt_cv_dlopen_libs= 11088 11089 case $host_os in 11090 beos*) 11091 lt_cv_dlopen="load_add_on" 11092 lt_cv_dlopen_libs= 11093 lt_cv_dlopen_self=yes 11094 ;; 11095 11096 mingw* | pw32* | cegcc*) 11097 lt_cv_dlopen="LoadLibrary" 11098 lt_cv_dlopen_libs= 11099 ;; 11100 11101 cygwin*) 11102 lt_cv_dlopen="dlopen" 11103 lt_cv_dlopen_libs= 11104 ;; 11105 11106 darwin*) 11107 # if libdl is installed we need to link against it 11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11109$as_echo_n "checking for dlopen in -ldl... " >&6; } 11110if ${ac_cv_lib_dl_dlopen+:} false; then : 11111 $as_echo_n "(cached) " >&6 11112else 11113 ac_check_lib_save_LIBS=$LIBS 11114LIBS="-ldl $LIBS" 11115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11116/* end confdefs.h. */ 11117 11118/* Override any GCC internal prototype to avoid an error. 11119 Use char because int might match the return type of a GCC 11120 builtin and then its argument prototype would still apply. */ 11121#ifdef __cplusplus 11122extern "C" 11123#endif 11124char dlopen (); 11125int 11126main () 11127{ 11128return dlopen (); 11129 ; 11130 return 0; 11131} 11132_ACEOF 11133if ac_fn_c_try_link "$LINENO"; then : 11134 ac_cv_lib_dl_dlopen=yes 11135else 11136 ac_cv_lib_dl_dlopen=no 11137fi 11138rm -f core conftest.err conftest.$ac_objext \ 11139 conftest$ac_exeext conftest.$ac_ext 11140LIBS=$ac_check_lib_save_LIBS 11141fi 11142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11143$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11144if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11145 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11146else 11147 11148 lt_cv_dlopen="dyld" 11149 lt_cv_dlopen_libs= 11150 lt_cv_dlopen_self=yes 11151 11152fi 11153 11154 ;; 11155 11156 *) 11157 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 11158if test "x$ac_cv_func_shl_load" = xyes; then : 11159 lt_cv_dlopen="shl_load" 11160else 11161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 11162$as_echo_n "checking for shl_load in -ldld... " >&6; } 11163if ${ac_cv_lib_dld_shl_load+:} false; then : 11164 $as_echo_n "(cached) " >&6 11165else 11166 ac_check_lib_save_LIBS=$LIBS 11167LIBS="-ldld $LIBS" 11168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11169/* end confdefs.h. */ 11170 11171/* Override any GCC internal prototype to avoid an error. 11172 Use char because int might match the return type of a GCC 11173 builtin and then its argument prototype would still apply. */ 11174#ifdef __cplusplus 11175extern "C" 11176#endif 11177char shl_load (); 11178int 11179main () 11180{ 11181return shl_load (); 11182 ; 11183 return 0; 11184} 11185_ACEOF 11186if ac_fn_c_try_link "$LINENO"; then : 11187 ac_cv_lib_dld_shl_load=yes 11188else 11189 ac_cv_lib_dld_shl_load=no 11190fi 11191rm -f core conftest.err conftest.$ac_objext \ 11192 conftest$ac_exeext conftest.$ac_ext 11193LIBS=$ac_check_lib_save_LIBS 11194fi 11195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 11196$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 11197if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 11198 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" 11199else 11200 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 11201if test "x$ac_cv_func_dlopen" = xyes; then : 11202 lt_cv_dlopen="dlopen" 11203else 11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 11205$as_echo_n "checking for dlopen in -ldl... " >&6; } 11206if ${ac_cv_lib_dl_dlopen+:} false; then : 11207 $as_echo_n "(cached) " >&6 11208else 11209 ac_check_lib_save_LIBS=$LIBS 11210LIBS="-ldl $LIBS" 11211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11212/* end confdefs.h. */ 11213 11214/* Override any GCC internal prototype to avoid an error. 11215 Use char because int might match the return type of a GCC 11216 builtin and then its argument prototype would still apply. */ 11217#ifdef __cplusplus 11218extern "C" 11219#endif 11220char dlopen (); 11221int 11222main () 11223{ 11224return dlopen (); 11225 ; 11226 return 0; 11227} 11228_ACEOF 11229if ac_fn_c_try_link "$LINENO"; then : 11230 ac_cv_lib_dl_dlopen=yes 11231else 11232 ac_cv_lib_dl_dlopen=no 11233fi 11234rm -f core conftest.err conftest.$ac_objext \ 11235 conftest$ac_exeext conftest.$ac_ext 11236LIBS=$ac_check_lib_save_LIBS 11237fi 11238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 11239$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 11240if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 11241 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" 11242else 11243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 11244$as_echo_n "checking for dlopen in -lsvld... " >&6; } 11245if ${ac_cv_lib_svld_dlopen+:} false; then : 11246 $as_echo_n "(cached) " >&6 11247else 11248 ac_check_lib_save_LIBS=$LIBS 11249LIBS="-lsvld $LIBS" 11250cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11251/* end confdefs.h. */ 11252 11253/* Override any GCC internal prototype to avoid an error. 11254 Use char because int might match the return type of a GCC 11255 builtin and then its argument prototype would still apply. */ 11256#ifdef __cplusplus 11257extern "C" 11258#endif 11259char dlopen (); 11260int 11261main () 11262{ 11263return dlopen (); 11264 ; 11265 return 0; 11266} 11267_ACEOF 11268if ac_fn_c_try_link "$LINENO"; then : 11269 ac_cv_lib_svld_dlopen=yes 11270else 11271 ac_cv_lib_svld_dlopen=no 11272fi 11273rm -f core conftest.err conftest.$ac_objext \ 11274 conftest$ac_exeext conftest.$ac_ext 11275LIBS=$ac_check_lib_save_LIBS 11276fi 11277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 11278$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 11279if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 11280 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" 11281else 11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 11283$as_echo_n "checking for dld_link in -ldld... " >&6; } 11284if ${ac_cv_lib_dld_dld_link+:} false; then : 11285 $as_echo_n "(cached) " >&6 11286else 11287 ac_check_lib_save_LIBS=$LIBS 11288LIBS="-ldld $LIBS" 11289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11290/* end confdefs.h. */ 11291 11292/* Override any GCC internal prototype to avoid an error. 11293 Use char because int might match the return type of a GCC 11294 builtin and then its argument prototype would still apply. */ 11295#ifdef __cplusplus 11296extern "C" 11297#endif 11298char dld_link (); 11299int 11300main () 11301{ 11302return dld_link (); 11303 ; 11304 return 0; 11305} 11306_ACEOF 11307if ac_fn_c_try_link "$LINENO"; then : 11308 ac_cv_lib_dld_dld_link=yes 11309else 11310 ac_cv_lib_dld_dld_link=no 11311fi 11312rm -f core conftest.err conftest.$ac_objext \ 11313 conftest$ac_exeext conftest.$ac_ext 11314LIBS=$ac_check_lib_save_LIBS 11315fi 11316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 11317$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 11318if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 11319 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" 11320fi 11321 11322 11323fi 11324 11325 11326fi 11327 11328 11329fi 11330 11331 11332fi 11333 11334 11335fi 11336 11337 ;; 11338 esac 11339 11340 if test "x$lt_cv_dlopen" != xno; then 11341 enable_dlopen=yes 11342 else 11343 enable_dlopen=no 11344 fi 11345 11346 case $lt_cv_dlopen in 11347 dlopen) 11348 save_CPPFLAGS="$CPPFLAGS" 11349 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 11350 11351 save_LDFLAGS="$LDFLAGS" 11352 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 11353 11354 save_LIBS="$LIBS" 11355 LIBS="$lt_cv_dlopen_libs $LIBS" 11356 11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 11358$as_echo_n "checking whether a program can dlopen itself... " >&6; } 11359if ${lt_cv_dlopen_self+:} false; then : 11360 $as_echo_n "(cached) " >&6 11361else 11362 if test "$cross_compiling" = yes; then : 11363 lt_cv_dlopen_self=cross 11364else 11365 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11366 lt_status=$lt_dlunknown 11367 cat > conftest.$ac_ext <<_LT_EOF 11368#line $LINENO "configure" 11369#include "confdefs.h" 11370 11371#if HAVE_DLFCN_H 11372#include <dlfcn.h> 11373#endif 11374 11375#include <stdio.h> 11376 11377#ifdef RTLD_GLOBAL 11378# define LT_DLGLOBAL RTLD_GLOBAL 11379#else 11380# ifdef DL_GLOBAL 11381# define LT_DLGLOBAL DL_GLOBAL 11382# else 11383# define LT_DLGLOBAL 0 11384# endif 11385#endif 11386 11387/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11388 find out it does not work in some platform. */ 11389#ifndef LT_DLLAZY_OR_NOW 11390# ifdef RTLD_LAZY 11391# define LT_DLLAZY_OR_NOW RTLD_LAZY 11392# else 11393# ifdef DL_LAZY 11394# define LT_DLLAZY_OR_NOW DL_LAZY 11395# else 11396# ifdef RTLD_NOW 11397# define LT_DLLAZY_OR_NOW RTLD_NOW 11398# else 11399# ifdef DL_NOW 11400# define LT_DLLAZY_OR_NOW DL_NOW 11401# else 11402# define LT_DLLAZY_OR_NOW 0 11403# endif 11404# endif 11405# endif 11406# endif 11407#endif 11408 11409/* When -fvisbility=hidden is used, assume the code has been annotated 11410 correspondingly for the symbols needed. */ 11411#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11412int fnord () __attribute__((visibility("default"))); 11413#endif 11414 11415int fnord () { return 42; } 11416int main () 11417{ 11418 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11419 int status = $lt_dlunknown; 11420 11421 if (self) 11422 { 11423 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11424 else 11425 { 11426 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11427 else puts (dlerror ()); 11428 } 11429 /* dlclose (self); */ 11430 } 11431 else 11432 puts (dlerror ()); 11433 11434 return status; 11435} 11436_LT_EOF 11437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11438 (eval $ac_link) 2>&5 11439 ac_status=$? 11440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11441 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11442 (./conftest; exit; ) >&5 2>/dev/null 11443 lt_status=$? 11444 case x$lt_status in 11445 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 11446 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 11447 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 11448 esac 11449 else : 11450 # compilation failed 11451 lt_cv_dlopen_self=no 11452 fi 11453fi 11454rm -fr conftest* 11455 11456 11457fi 11458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 11459$as_echo "$lt_cv_dlopen_self" >&6; } 11460 11461 if test "x$lt_cv_dlopen_self" = xyes; then 11462 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 11464$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 11465if ${lt_cv_dlopen_self_static+:} false; then : 11466 $as_echo_n "(cached) " >&6 11467else 11468 if test "$cross_compiling" = yes; then : 11469 lt_cv_dlopen_self_static=cross 11470else 11471 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 11472 lt_status=$lt_dlunknown 11473 cat > conftest.$ac_ext <<_LT_EOF 11474#line $LINENO "configure" 11475#include "confdefs.h" 11476 11477#if HAVE_DLFCN_H 11478#include <dlfcn.h> 11479#endif 11480 11481#include <stdio.h> 11482 11483#ifdef RTLD_GLOBAL 11484# define LT_DLGLOBAL RTLD_GLOBAL 11485#else 11486# ifdef DL_GLOBAL 11487# define LT_DLGLOBAL DL_GLOBAL 11488# else 11489# define LT_DLGLOBAL 0 11490# endif 11491#endif 11492 11493/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 11494 find out it does not work in some platform. */ 11495#ifndef LT_DLLAZY_OR_NOW 11496# ifdef RTLD_LAZY 11497# define LT_DLLAZY_OR_NOW RTLD_LAZY 11498# else 11499# ifdef DL_LAZY 11500# define LT_DLLAZY_OR_NOW DL_LAZY 11501# else 11502# ifdef RTLD_NOW 11503# define LT_DLLAZY_OR_NOW RTLD_NOW 11504# else 11505# ifdef DL_NOW 11506# define LT_DLLAZY_OR_NOW DL_NOW 11507# else 11508# define LT_DLLAZY_OR_NOW 0 11509# endif 11510# endif 11511# endif 11512# endif 11513#endif 11514 11515/* When -fvisbility=hidden is used, assume the code has been annotated 11516 correspondingly for the symbols needed. */ 11517#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 11518int fnord () __attribute__((visibility("default"))); 11519#endif 11520 11521int fnord () { return 42; } 11522int main () 11523{ 11524 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 11525 int status = $lt_dlunknown; 11526 11527 if (self) 11528 { 11529 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 11530 else 11531 { 11532 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 11533 else puts (dlerror ()); 11534 } 11535 /* dlclose (self); */ 11536 } 11537 else 11538 puts (dlerror ()); 11539 11540 return status; 11541} 11542_LT_EOF 11543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 11544 (eval $ac_link) 2>&5 11545 ac_status=$? 11546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11547 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then 11548 (./conftest; exit; ) >&5 2>/dev/null 11549 lt_status=$? 11550 case x$lt_status in 11551 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 11552 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 11553 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 11554 esac 11555 else : 11556 # compilation failed 11557 lt_cv_dlopen_self_static=no 11558 fi 11559fi 11560rm -fr conftest* 11561 11562 11563fi 11564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 11565$as_echo "$lt_cv_dlopen_self_static" >&6; } 11566 fi 11567 11568 CPPFLAGS="$save_CPPFLAGS" 11569 LDFLAGS="$save_LDFLAGS" 11570 LIBS="$save_LIBS" 11571 ;; 11572 esac 11573 11574 case $lt_cv_dlopen_self in 11575 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 11576 *) enable_dlopen_self=unknown ;; 11577 esac 11578 11579 case $lt_cv_dlopen_self_static in 11580 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 11581 *) enable_dlopen_self_static=unknown ;; 11582 esac 11583fi 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601striplib= 11602old_striplib= 11603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 11604$as_echo_n "checking whether stripping libraries is possible... " >&6; } 11605if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 11606 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 11607 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11609$as_echo "yes" >&6; } 11610else 11611# FIXME - insert some real tests, host_os isn't really good enough 11612 case $host_os in 11613 darwin*) 11614 if test -n "$STRIP" ; then 11615 striplib="$STRIP -x" 11616 old_striplib="$STRIP -S" 11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11618$as_echo "yes" >&6; } 11619 else 11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11621$as_echo "no" >&6; } 11622 fi 11623 ;; 11624 *) 11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 11626$as_echo "no" >&6; } 11627 ;; 11628 esac 11629fi 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 # Report which library types will actually be built 11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 11644$as_echo_n "checking if libtool supports shared libraries... " >&6; } 11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 11646$as_echo "$can_build_shared" >&6; } 11647 11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 11649$as_echo_n "checking whether to build shared libraries... " >&6; } 11650 test "$can_build_shared" = "no" && enable_shared=no 11651 11652 # On AIX, shared libraries and static libraries use the same namespace, and 11653 # are all built from PIC. 11654 case $host_os in 11655 aix3*) 11656 test "$enable_shared" = yes && enable_static=no 11657 if test -n "$RANLIB"; then 11658 archive_cmds="$archive_cmds~\$RANLIB \$lib" 11659 postinstall_cmds='$RANLIB $lib' 11660 fi 11661 ;; 11662 11663 aix[4-9]*) 11664 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 11665 test "$enable_shared" = yes && enable_static=no 11666 fi 11667 ;; 11668 esac 11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 11670$as_echo "$enable_shared" >&6; } 11671 11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 11673$as_echo_n "checking whether to build static libraries... " >&6; } 11674 # Make sure either enable_shared or enable_static is yes. 11675 test "$enable_shared" = yes || enable_static=yes 11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 11677$as_echo "$enable_static" >&6; } 11678 11679 11680 11681 11682fi 11683ac_ext=c 11684ac_cpp='$CPP $CPPFLAGS' 11685ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 11686ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 11687ac_compiler_gnu=$ac_cv_c_compiler_gnu 11688 11689CC="$lt_save_CC" 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 ac_config_commands="$ac_config_commands libtool" 11706 11707 11708 11709 11710# Only expand once: 11711 11712 11713 11714VO_AACENC_VERSION=0:4:0 11715 11716 11717ac_config_files="$ac_config_files Makefile vo-aacenc.pc" 11718 11719cat >confcache <<\_ACEOF 11720# This file is a shell script that caches the results of configure 11721# tests run on this system so they can be shared between configure 11722# scripts and configure runs, see configure's option --config-cache. 11723# It is not useful on other systems. If it contains results you don't 11724# want to keep, you may remove or edit it. 11725# 11726# config.status only pays attention to the cache file if you give it 11727# the --recheck option to rerun configure. 11728# 11729# `ac_cv_env_foo' variables (set or unset) will be overridden when 11730# loading this file, other *unset* `ac_cv_foo' will be assigned the 11731# following values. 11732 11733_ACEOF 11734 11735# The following way of writing the cache mishandles newlines in values, 11736# but we know of no workaround that is simple, portable, and efficient. 11737# So, we kill variables containing newlines. 11738# Ultrix sh set writes to stderr and can't be redirected directly, 11739# and sets the high bit in the cache file unless we assign to the vars. 11740( 11741 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11742 eval ac_val=\$$ac_var 11743 case $ac_val in #( 11744 *${as_nl}*) 11745 case $ac_var in #( 11746 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 11747$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 11748 esac 11749 case $ac_var in #( 11750 _ | IFS | as_nl) ;; #( 11751 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 11752 *) { eval $ac_var=; unset $ac_var;} ;; 11753 esac ;; 11754 esac 11755 done 11756 11757 (set) 2>&1 | 11758 case $as_nl`(ac_space=' '; set) 2>&1` in #( 11759 *${as_nl}ac_space=\ *) 11760 # `set' does not quote correctly, so add quotes: double-quote 11761 # substitution turns \\\\ into \\, and sed turns \\ into \. 11762 sed -n \ 11763 "s/'/'\\\\''/g; 11764 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11765 ;; #( 11766 *) 11767 # `set' quotes correctly as required by POSIX, so do not add quotes. 11768 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11769 ;; 11770 esac | 11771 sort 11772) | 11773 sed ' 11774 /^ac_cv_env_/b end 11775 t clear 11776 :clear 11777 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11778 t end 11779 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11780 :end' >>confcache 11781if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11782 if test -w "$cache_file"; then 11783 if test "x$cache_file" != "x/dev/null"; then 11784 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 11785$as_echo "$as_me: updating cache $cache_file" >&6;} 11786 if test ! -f "$cache_file" || test -h "$cache_file"; then 11787 cat confcache >"$cache_file" 11788 else 11789 case $cache_file in #( 11790 */* | ?:*) 11791 mv -f confcache "$cache_file"$$ && 11792 mv -f "$cache_file"$$ "$cache_file" ;; #( 11793 *) 11794 mv -f confcache "$cache_file" ;; 11795 esac 11796 fi 11797 fi 11798 else 11799 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 11800$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11801 fi 11802fi 11803rm -f confcache 11804 11805test "x$prefix" = xNONE && prefix=$ac_default_prefix 11806# Let make expand exec_prefix. 11807test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11808 11809# Transform confdefs.h into DEFS. 11810# Protect against shell expansion while executing Makefile rules. 11811# Protect against Makefile macro expansion. 11812# 11813# If the first sed substitution is executed (which looks for macros that 11814# take arguments), then branch to the quote section. Otherwise, 11815# look for a macro that doesn't take arguments. 11816ac_script=' 11817:mline 11818/\\$/{ 11819 N 11820 s,\\\n,, 11821 b mline 11822} 11823t clear 11824:clear 11825s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 11826t quote 11827s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 11828t quote 11829b any 11830:quote 11831s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 11832s/\[/\\&/g 11833s/\]/\\&/g 11834s/\$/$$/g 11835H 11836:any 11837${ 11838 g 11839 s/^\n// 11840 s/\n/ /g 11841 p 11842} 11843' 11844DEFS=`sed -n "$ac_script" confdefs.h` 11845 11846 11847ac_libobjs= 11848ac_ltlibobjs= 11849U= 11850for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11851 # 1. Remove the extension, and $U if already installed. 11852 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11853 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 11854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11855 # will be set to the directory where LIBOBJS objects are built. 11856 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11857 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 11858done 11859LIBOBJS=$ac_libobjs 11860 11861LTLIBOBJS=$ac_ltlibobjs 11862 11863 11864 if test -n "$EXEEXT"; then 11865 am__EXEEXT_TRUE= 11866 am__EXEEXT_FALSE='#' 11867else 11868 am__EXEEXT_TRUE='#' 11869 am__EXEEXT_FALSE= 11870fi 11871 11872if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 11873 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 11874Usually this means the macro was only invoked conditionally." "$LINENO" 5 11875fi 11876if test -z "${ARMV5E_TRUE}" && test -z "${ARMV5E_FALSE}"; then 11877 as_fn_error $? "conditional \"ARMV5E\" was never defined. 11878Usually this means the macro was only invoked conditionally." "$LINENO" 5 11879fi 11880if test -z "${ARMV7NEON_TRUE}" && test -z "${ARMV7NEON_FALSE}"; then 11881 as_fn_error $? "conditional \"ARMV7NEON\" was never defined. 11882Usually this means the macro was only invoked conditionally." "$LINENO" 5 11883fi 11884if test -z "${EXAMPLE_TRUE}" && test -z "${EXAMPLE_FALSE}"; then 11885 as_fn_error $? "conditional \"EXAMPLE\" was never defined. 11886Usually this means the macro was only invoked conditionally." "$LINENO" 5 11887fi 11888if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 11889 as_fn_error $? "conditional \"AMDEP\" was never defined. 11890Usually this means the macro was only invoked conditionally." "$LINENO" 5 11891fi 11892if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 11893 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 11894Usually this means the macro was only invoked conditionally." "$LINENO" 5 11895fi 11896if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 11897 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. 11898Usually this means the macro was only invoked conditionally." "$LINENO" 5 11899fi 11900 11901: "${CONFIG_STATUS=./config.status}" 11902ac_write_fail=0 11903ac_clean_files_save=$ac_clean_files 11904ac_clean_files="$ac_clean_files $CONFIG_STATUS" 11905{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 11906$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 11907as_write_fail=0 11908cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 11909#! $SHELL 11910# Generated by $as_me. 11911# Run this file to recreate the current configuration. 11912# Compiler output produced by configure, useful for debugging 11913# configure, is in config.log if it exists. 11914 11915debug=false 11916ac_cs_recheck=false 11917ac_cs_silent=false 11918 11919SHELL=\${CONFIG_SHELL-$SHELL} 11920export SHELL 11921_ASEOF 11922cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 11923## -------------------- ## 11924## M4sh Initialization. ## 11925## -------------------- ## 11926 11927# Be more Bourne compatible 11928DUALCASE=1; export DUALCASE # for MKS sh 11929if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 11930 emulate sh 11931 NULLCMD=: 11932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 11933 # is contrary to our usage. Disable this feature. 11934 alias -g '${1+"$@"}'='"$@"' 11935 setopt NO_GLOB_SUBST 11936else 11937 case `(set -o) 2>/dev/null` in #( 11938 *posix*) : 11939 set -o posix ;; #( 11940 *) : 11941 ;; 11942esac 11943fi 11944 11945 11946as_nl=' 11947' 11948export as_nl 11949# Printing a long string crashes Solaris 7 /usr/bin/printf. 11950as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 11951as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 11952as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 11953# Prefer a ksh shell builtin over an external printf program on Solaris, 11954# but without wasting forks for bash or zsh. 11955if test -z "$BASH_VERSION$ZSH_VERSION" \ 11956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 11957 as_echo='print -r --' 11958 as_echo_n='print -rn --' 11959elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 11960 as_echo='printf %s\n' 11961 as_echo_n='printf %s' 11962else 11963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 11964 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 11965 as_echo_n='/usr/ucb/echo -n' 11966 else 11967 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 11968 as_echo_n_body='eval 11969 arg=$1; 11970 case $arg in #( 11971 *"$as_nl"*) 11972 expr "X$arg" : "X\\(.*\\)$as_nl"; 11973 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 11974 esac; 11975 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 11976 ' 11977 export as_echo_n_body 11978 as_echo_n='sh -c $as_echo_n_body as_echo' 11979 fi 11980 export as_echo_body 11981 as_echo='sh -c $as_echo_body as_echo' 11982fi 11983 11984# The user is always right. 11985if test "${PATH_SEPARATOR+set}" != set; then 11986 PATH_SEPARATOR=: 11987 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 11988 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 11989 PATH_SEPARATOR=';' 11990 } 11991fi 11992 11993 11994# IFS 11995# We need space, tab and new line, in precisely that order. Quoting is 11996# there to prevent editors from complaining about space-tab. 11997# (If _AS_PATH_WALK were called with IFS unset, it would disable word 11998# splitting by setting IFS to empty value.) 11999IFS=" "" $as_nl" 12000 12001# Find who we are. Look in the path if we contain no directory separator. 12002as_myself= 12003case $0 in #(( 12004 *[\\/]* ) as_myself=$0 ;; 12005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12006for as_dir in $PATH 12007do 12008 IFS=$as_save_IFS 12009 test -z "$as_dir" && as_dir=. 12010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 12011 done 12012IFS=$as_save_IFS 12013 12014 ;; 12015esac 12016# We did not find ourselves, most probably we were run as `sh COMMAND' 12017# in which case we are not to be found in the path. 12018if test "x$as_myself" = x; then 12019 as_myself=$0 12020fi 12021if test ! -f "$as_myself"; then 12022 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12023 exit 1 12024fi 12025 12026# Unset variables that we do not need and which cause bugs (e.g. in 12027# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 12028# suppresses any "Segmentation fault" message there. '((' could 12029# trigger a bug in pdksh 5.2.14. 12030for as_var in BASH_ENV ENV MAIL MAILPATH 12031do eval test x\${$as_var+set} = xset \ 12032 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12033done 12034PS1='$ ' 12035PS2='> ' 12036PS4='+ ' 12037 12038# NLS nuisances. 12039LC_ALL=C 12040export LC_ALL 12041LANGUAGE=C 12042export LANGUAGE 12043 12044# CDPATH. 12045(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12046 12047 12048# as_fn_error STATUS ERROR [LINENO LOG_FD] 12049# ---------------------------------------- 12050# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 12051# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 12052# script with STATUS, using 1 if that was 0. 12053as_fn_error () 12054{ 12055 as_status=$1; test $as_status -eq 0 && as_status=1 12056 if test "$4"; then 12057 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 12058 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 12059 fi 12060 $as_echo "$as_me: error: $2" >&2 12061 as_fn_exit $as_status 12062} # as_fn_error 12063 12064 12065# as_fn_set_status STATUS 12066# ----------------------- 12067# Set $? to STATUS, without forking. 12068as_fn_set_status () 12069{ 12070 return $1 12071} # as_fn_set_status 12072 12073# as_fn_exit STATUS 12074# ----------------- 12075# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 12076as_fn_exit () 12077{ 12078 set +e 12079 as_fn_set_status $1 12080 exit $1 12081} # as_fn_exit 12082 12083# as_fn_unset VAR 12084# --------------- 12085# Portably unset VAR. 12086as_fn_unset () 12087{ 12088 { eval $1=; unset $1;} 12089} 12090as_unset=as_fn_unset 12091# as_fn_append VAR VALUE 12092# ---------------------- 12093# Append the text in VALUE to the end of the definition contained in VAR. Take 12094# advantage of any shell optimizations that allow amortized linear growth over 12095# repeated appends, instead of the typical quadratic growth present in naive 12096# implementations. 12097if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 12098 eval 'as_fn_append () 12099 { 12100 eval $1+=\$2 12101 }' 12102else 12103 as_fn_append () 12104 { 12105 eval $1=\$$1\$2 12106 } 12107fi # as_fn_append 12108 12109# as_fn_arith ARG... 12110# ------------------ 12111# Perform arithmetic evaluation on the ARGs, and store the result in the 12112# global $as_val. Take advantage of shells that can avoid forks. The arguments 12113# must be portable across $(()) and expr. 12114if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 12115 eval 'as_fn_arith () 12116 { 12117 as_val=$(( $* )) 12118 }' 12119else 12120 as_fn_arith () 12121 { 12122 as_val=`expr "$@" || test $? -eq 1` 12123 } 12124fi # as_fn_arith 12125 12126 12127if expr a : '\(a\)' >/dev/null 2>&1 && 12128 test "X`expr 00001 : '.*\(...\)'`" = X001; then 12129 as_expr=expr 12130else 12131 as_expr=false 12132fi 12133 12134if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 12135 as_basename=basename 12136else 12137 as_basename=false 12138fi 12139 12140if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12141 as_dirname=dirname 12142else 12143 as_dirname=false 12144fi 12145 12146as_me=`$as_basename -- "$0" || 12147$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 12148 X"$0" : 'X\(//\)$' \| \ 12149 X"$0" : 'X\(/\)' \| . 2>/dev/null || 12150$as_echo X/"$0" | 12151 sed '/^.*\/\([^/][^/]*\)\/*$/{ 12152 s//\1/ 12153 q 12154 } 12155 /^X\/\(\/\/\)$/{ 12156 s//\1/ 12157 q 12158 } 12159 /^X\/\(\/\).*/{ 12160 s//\1/ 12161 q 12162 } 12163 s/.*/./; q'` 12164 12165# Avoid depending upon Character Ranges. 12166as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12167as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12168as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12169as_cr_digits='0123456789' 12170as_cr_alnum=$as_cr_Letters$as_cr_digits 12171 12172ECHO_C= ECHO_N= ECHO_T= 12173case `echo -n x` in #((((( 12174-n*) 12175 case `echo 'xy\c'` in 12176 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12177 xy) ECHO_C='\c';; 12178 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 12179 ECHO_T=' ';; 12180 esac;; 12181*) 12182 ECHO_N='-n';; 12183esac 12184 12185rm -f conf$$ conf$$.exe conf$$.file 12186if test -d conf$$.dir; then 12187 rm -f conf$$.dir/conf$$.file 12188else 12189 rm -f conf$$.dir 12190 mkdir conf$$.dir 2>/dev/null 12191fi 12192if (echo >conf$$.file) 2>/dev/null; then 12193 if ln -s conf$$.file conf$$ 2>/dev/null; then 12194 as_ln_s='ln -s' 12195 # ... but there are two gotchas: 12196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 12197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 12198 # In both cases, we have to default to `cp -pR'. 12199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 12200 as_ln_s='cp -pR' 12201 elif ln conf$$.file conf$$ 2>/dev/null; then 12202 as_ln_s=ln 12203 else 12204 as_ln_s='cp -pR' 12205 fi 12206else 12207 as_ln_s='cp -pR' 12208fi 12209rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 12210rmdir conf$$.dir 2>/dev/null 12211 12212 12213# as_fn_mkdir_p 12214# ------------- 12215# Create "$as_dir" as a directory, including parents if necessary. 12216as_fn_mkdir_p () 12217{ 12218 12219 case $as_dir in #( 12220 -*) as_dir=./$as_dir;; 12221 esac 12222 test -d "$as_dir" || eval $as_mkdir_p || { 12223 as_dirs= 12224 while :; do 12225 case $as_dir in #( 12226 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 12227 *) as_qdir=$as_dir;; 12228 esac 12229 as_dirs="'$as_qdir' $as_dirs" 12230 as_dir=`$as_dirname -- "$as_dir" || 12231$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12232 X"$as_dir" : 'X\(//\)[^/]' \| \ 12233 X"$as_dir" : 'X\(//\)$' \| \ 12234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12235$as_echo X"$as_dir" | 12236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12237 s//\1/ 12238 q 12239 } 12240 /^X\(\/\/\)[^/].*/{ 12241 s//\1/ 12242 q 12243 } 12244 /^X\(\/\/\)$/{ 12245 s//\1/ 12246 q 12247 } 12248 /^X\(\/\).*/{ 12249 s//\1/ 12250 q 12251 } 12252 s/.*/./; q'` 12253 test -d "$as_dir" && break 12254 done 12255 test -z "$as_dirs" || eval "mkdir $as_dirs" 12256 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 12257 12258 12259} # as_fn_mkdir_p 12260if mkdir -p . 2>/dev/null; then 12261 as_mkdir_p='mkdir -p "$as_dir"' 12262else 12263 test -d ./-p && rmdir ./-p 12264 as_mkdir_p=false 12265fi 12266 12267 12268# as_fn_executable_p FILE 12269# ----------------------- 12270# Test if FILE is an executable regular file. 12271as_fn_executable_p () 12272{ 12273 test -f "$1" && test -x "$1" 12274} # as_fn_executable_p 12275as_test_x='test -x' 12276as_executable_p=as_fn_executable_p 12277 12278# Sed expression to map a string onto a valid CPP name. 12279as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 12280 12281# Sed expression to map a string onto a valid variable name. 12282as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 12283 12284 12285exec 6>&1 12286## ----------------------------------- ## 12287## Main body of $CONFIG_STATUS script. ## 12288## ----------------------------------- ## 12289_ASEOF 12290test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 12291 12292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12293# Save the log message, to keep $0 and so on meaningful, and to 12294# report actual input values of CONFIG_FILES etc. instead of their 12295# values after options handling. 12296ac_log=" 12297This file was extended by vo-aacenc $as_me 0.1.3, which was 12298generated by GNU Autoconf 2.69. Invocation command line was 12299 12300 CONFIG_FILES = $CONFIG_FILES 12301 CONFIG_HEADERS = $CONFIG_HEADERS 12302 CONFIG_LINKS = $CONFIG_LINKS 12303 CONFIG_COMMANDS = $CONFIG_COMMANDS 12304 $ $0 $@ 12305 12306on `(hostname || uname -n) 2>/dev/null | sed 1q` 12307" 12308 12309_ACEOF 12310 12311case $ac_config_files in *" 12312"*) set x $ac_config_files; shift; ac_config_files=$*;; 12313esac 12314 12315 12316 12317cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12318# Files that config.status was made for. 12319config_files="$ac_config_files" 12320config_commands="$ac_config_commands" 12321 12322_ACEOF 12323 12324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12325ac_cs_usage="\ 12326\`$as_me' instantiates files and other configuration actions 12327from templates according to the current configuration. Unless the files 12328and actions are specified as TAGs, all are instantiated by default. 12329 12330Usage: $0 [OPTION]... [TAG]... 12331 12332 -h, --help print this help, then exit 12333 -V, --version print version number and configuration settings, then exit 12334 --config print configuration, then exit 12335 -q, --quiet, --silent 12336 do not print progress messages 12337 -d, --debug don't remove temporary files 12338 --recheck update $as_me by reconfiguring in the same conditions 12339 --file=FILE[:TEMPLATE] 12340 instantiate the configuration file FILE 12341 12342Configuration files: 12343$config_files 12344 12345Configuration commands: 12346$config_commands 12347 12348Report bugs to <http://sourceforge.net/projects/opencore-amr/>." 12349 12350_ACEOF 12351cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12352ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 12353ac_cs_version="\\ 12354vo-aacenc config.status 0.1.3 12355configured by $0, generated by GNU Autoconf 2.69, 12356 with options \\"\$ac_cs_config\\" 12357 12358Copyright (C) 2012 Free Software Foundation, Inc. 12359This config.status script is free software; the Free Software Foundation 12360gives unlimited permission to copy, distribute and modify it." 12361 12362ac_pwd='$ac_pwd' 12363srcdir='$srcdir' 12364INSTALL='$INSTALL' 12365MKDIR_P='$MKDIR_P' 12366AWK='$AWK' 12367test -n "\$AWK" || AWK=awk 12368_ACEOF 12369 12370cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12371# The default lists apply if the user does not specify any file. 12372ac_need_defaults=: 12373while test $# != 0 12374do 12375 case $1 in 12376 --*=?*) 12377 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12378 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 12379 ac_shift=: 12380 ;; 12381 --*=) 12382 ac_option=`expr "X$1" : 'X\([^=]*\)='` 12383 ac_optarg= 12384 ac_shift=: 12385 ;; 12386 *) 12387 ac_option=$1 12388 ac_optarg=$2 12389 ac_shift=shift 12390 ;; 12391 esac 12392 12393 case $ac_option in 12394 # Handling of the options. 12395 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 12396 ac_cs_recheck=: ;; 12397 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 12398 $as_echo "$ac_cs_version"; exit ;; 12399 --config | --confi | --conf | --con | --co | --c ) 12400 $as_echo "$ac_cs_config"; exit ;; 12401 --debug | --debu | --deb | --de | --d | -d ) 12402 debug=: ;; 12403 --file | --fil | --fi | --f ) 12404 $ac_shift 12405 case $ac_optarg in 12406 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12407 '') as_fn_error $? "missing file argument" ;; 12408 esac 12409 as_fn_append CONFIG_FILES " '$ac_optarg'" 12410 ac_need_defaults=false;; 12411 --he | --h | --help | --hel | -h ) 12412 $as_echo "$ac_cs_usage"; exit ;; 12413 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 12414 | -silent | --silent | --silen | --sile | --sil | --si | --s) 12415 ac_cs_silent=: ;; 12416 12417 # This is an error. 12418 -*) as_fn_error $? "unrecognized option: \`$1' 12419Try \`$0 --help' for more information." ;; 12420 12421 *) as_fn_append ac_config_targets " $1" 12422 ac_need_defaults=false ;; 12423 12424 esac 12425 shift 12426done 12427 12428ac_configure_extra_args= 12429 12430if $ac_cs_silent; then 12431 exec 6>/dev/null 12432 ac_configure_extra_args="$ac_configure_extra_args --silent" 12433fi 12434 12435_ACEOF 12436cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12437if \$ac_cs_recheck; then 12438 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 12439 shift 12440 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 12441 CONFIG_SHELL='$SHELL' 12442 export CONFIG_SHELL 12443 exec "\$@" 12444fi 12445 12446_ACEOF 12447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12448exec 5>>config.log 12449{ 12450 echo 12451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 12452## Running $as_me. ## 12453_ASBOX 12454 $as_echo "$ac_log" 12455} >&5 12456 12457_ACEOF 12458cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12459# 12460# INIT-COMMANDS 12461# 12462AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 12463 12464 12465# The HP-UX ksh and POSIX shell print the target directory to stdout 12466# if CDPATH is set. 12467(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 12468 12469sed_quote_subst='$sed_quote_subst' 12470double_quote_subst='$double_quote_subst' 12471delay_variable_subst='$delay_variable_subst' 12472macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 12473macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 12474enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 12475enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 12476pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 12477enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 12478SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 12479ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 12480PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 12481host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 12482host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 12483host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 12484build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 12485build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 12486build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 12487SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 12488Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 12489GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 12490EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 12491FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 12492LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 12493NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 12494LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 12495max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 12496ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 12497exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 12498lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 12499lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 12500lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 12501lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 12502lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 12503reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 12504reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 12505OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 12506deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 12507file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 12508file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 12509want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 12510DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 12511sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 12512AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 12513AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 12514archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 12515STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 12516RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 12517old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12518old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12519old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 12520lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 12521CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 12522CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 12523compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 12524GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 12525lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 12526lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 12527lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 12528lt_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"`' 12529nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 12530lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 12531objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 12532MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 12533lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 12534lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 12535lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 12536lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 12537lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 12538need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 12539MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 12540DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 12541NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 12542LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 12543OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 12544OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 12545libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 12546shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 12547extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12548archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 12549enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 12550export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 12551whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 12552compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 12553old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 12554old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 12555archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 12556archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12557module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 12558module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 12559with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 12560allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 12561no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 12562hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 12563hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 12564hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 12565hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 12566hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 12567hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 12568hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 12569inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 12570link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 12571always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 12572export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 12573exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 12574include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 12575prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 12576postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 12577file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 12578variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 12579need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 12580need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 12581version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 12582runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 12583shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 12584shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 12585libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 12586library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 12587soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 12588install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 12589postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 12590postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 12591finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 12592finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 12593hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 12594sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 12595sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' 12596hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 12597enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 12598enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 12599enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 12600old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 12601striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 12602 12603LTCC='$LTCC' 12604LTCFLAGS='$LTCFLAGS' 12605compiler='$compiler_DEFAULT' 12606 12607# A function that is used when there is no print builtin or printf. 12608func_fallback_echo () 12609{ 12610 eval 'cat <<_LTECHO_EOF 12611\$1 12612_LTECHO_EOF' 12613} 12614 12615# Quote evaled strings. 12616for var in SHELL \ 12617ECHO \ 12618PATH_SEPARATOR \ 12619SED \ 12620GREP \ 12621EGREP \ 12622FGREP \ 12623LD \ 12624NM \ 12625LN_S \ 12626lt_SP2NL \ 12627lt_NL2SP \ 12628reload_flag \ 12629OBJDUMP \ 12630deplibs_check_method \ 12631file_magic_cmd \ 12632file_magic_glob \ 12633want_nocaseglob \ 12634DLLTOOL \ 12635sharedlib_from_linklib_cmd \ 12636AR \ 12637AR_FLAGS \ 12638archiver_list_spec \ 12639STRIP \ 12640RANLIB \ 12641CC \ 12642CFLAGS \ 12643compiler \ 12644lt_cv_sys_global_symbol_pipe \ 12645lt_cv_sys_global_symbol_to_cdecl \ 12646lt_cv_sys_global_symbol_to_c_name_address \ 12647lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 12648nm_file_list_spec \ 12649lt_prog_compiler_no_builtin_flag \ 12650lt_prog_compiler_pic \ 12651lt_prog_compiler_wl \ 12652lt_prog_compiler_static \ 12653lt_cv_prog_compiler_c_o \ 12654need_locks \ 12655MANIFEST_TOOL \ 12656DSYMUTIL \ 12657NMEDIT \ 12658LIPO \ 12659OTOOL \ 12660OTOOL64 \ 12661shrext_cmds \ 12662export_dynamic_flag_spec \ 12663whole_archive_flag_spec \ 12664compiler_needs_object \ 12665with_gnu_ld \ 12666allow_undefined_flag \ 12667no_undefined_flag \ 12668hardcode_libdir_flag_spec \ 12669hardcode_libdir_separator \ 12670exclude_expsyms \ 12671include_expsyms \ 12672file_list_spec \ 12673variables_saved_for_relink \ 12674libname_spec \ 12675library_names_spec \ 12676soname_spec \ 12677install_override_mode \ 12678finish_eval \ 12679old_striplib \ 12680striplib; do 12681 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12682 *[\\\\\\\`\\"\\\$]*) 12683 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" 12684 ;; 12685 *) 12686 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12687 ;; 12688 esac 12689done 12690 12691# Double-quote double-evaled strings. 12692for var in reload_cmds \ 12693old_postinstall_cmds \ 12694old_postuninstall_cmds \ 12695old_archive_cmds \ 12696extract_expsyms_cmds \ 12697old_archive_from_new_cmds \ 12698old_archive_from_expsyms_cmds \ 12699archive_cmds \ 12700archive_expsym_cmds \ 12701module_cmds \ 12702module_expsym_cmds \ 12703export_symbols_cmds \ 12704prelink_cmds \ 12705postlink_cmds \ 12706postinstall_cmds \ 12707postuninstall_cmds \ 12708finish_cmds \ 12709sys_lib_search_path_spec \ 12710sys_lib_dlsearch_path_spec; do 12711 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 12712 *[\\\\\\\`\\"\\\$]*) 12713 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" 12714 ;; 12715 *) 12716 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 12717 ;; 12718 esac 12719done 12720 12721ac_aux_dir='$ac_aux_dir' 12722xsi_shell='$xsi_shell' 12723lt_shell_append='$lt_shell_append' 12724 12725# See if we are running on zsh, and set the options which allow our 12726# commands through without removal of \ escapes INIT. 12727if test -n "\${ZSH_VERSION+set}" ; then 12728 setopt NO_GLOB_SUBST 12729fi 12730 12731 12732 PACKAGE='$PACKAGE' 12733 VERSION='$VERSION' 12734 TIMESTAMP='$TIMESTAMP' 12735 RM='$RM' 12736 ofile='$ofile' 12737 12738 12739 12740 12741_ACEOF 12742 12743cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12744 12745# Handling of arguments. 12746for ac_config_target in $ac_config_targets 12747do 12748 case $ac_config_target in 12749 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 12750 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 12751 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12752 "vo-aacenc.pc") CONFIG_FILES="$CONFIG_FILES vo-aacenc.pc" ;; 12753 12754 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12755 esac 12756done 12757 12758 12759# If the user did not use the arguments to specify the items to instantiate, 12760# then the envvar interface is used. Set only those that are not. 12761# We use the long form for the default assignment because of an extremely 12762# bizarre bug on SunOS 4.1.3. 12763if $ac_need_defaults; then 12764 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 12765 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 12766fi 12767 12768# Have a temporary directory for convenience. Make it in the build tree 12769# simply because there is no reason against having it here, and in addition, 12770# creating and moving files from /tmp can sometimes cause problems. 12771# Hook for its removal unless debugging. 12772# Note that there is a small window in which the directory will not be cleaned: 12773# after its creation but before its name has been assigned to `$tmp'. 12774$debug || 12775{ 12776 tmp= ac_tmp= 12777 trap 'exit_status=$? 12778 : "${ac_tmp:=$tmp}" 12779 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 12780' 0 12781 trap 'as_fn_exit 1' 1 2 13 15 12782} 12783# Create a (secure) tmp directory for tmp files. 12784 12785{ 12786 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 12787 test -d "$tmp" 12788} || 12789{ 12790 tmp=./conf$$-$RANDOM 12791 (umask 077 && mkdir "$tmp") 12792} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 12793ac_tmp=$tmp 12794 12795# Set up the scripts for CONFIG_FILES section. 12796# No need to generate them if there are no CONFIG_FILES. 12797# This happens for instance with `./config.status config.h'. 12798if test -n "$CONFIG_FILES"; then 12799 12800 12801ac_cr=`echo X | tr X '\015'` 12802# On cygwin, bash can eat \r inside `` if the user requested igncr. 12803# But we know of no other shell where ac_cr would be empty at this 12804# point, so we can use a bashism as a fallback. 12805if test "x$ac_cr" = x; then 12806 eval ac_cr=\$\'\\r\' 12807fi 12808ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12809if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12810 ac_cs_awk_cr='\\r' 12811else 12812 ac_cs_awk_cr=$ac_cr 12813fi 12814 12815echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 12816_ACEOF 12817 12818 12819{ 12820 echo "cat >conf$$subs.awk <<_ACEOF" && 12821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 12822 echo "_ACEOF" 12823} >conf$$subs.sh || 12824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12825ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 12826ac_delim='%!_!# ' 12827for ac_last_try in false false false false false :; do 12828 . ./conf$$subs.sh || 12829 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12830 12831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 12832 if test $ac_delim_n = $ac_delim_num; then 12833 break 12834 elif $ac_last_try; then 12835 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 12836 else 12837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 12838 fi 12839done 12840rm -f conf$$subs.sh 12841 12842cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12843cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 12844_ACEOF 12845sed -n ' 12846h 12847s/^/S["/; s/!.*/"]=/ 12848p 12849g 12850s/^[^!]*!// 12851:repl 12852t repl 12853s/'"$ac_delim"'$// 12854t delim 12855:nl 12856h 12857s/\(.\{148\}\)..*/\1/ 12858t more1 12859s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 12860p 12861n 12862b repl 12863:more1 12864s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12865p 12866g 12867s/.\{148\}// 12868t nl 12869:delim 12870h 12871s/\(.\{148\}\)..*/\1/ 12872t more2 12873s/["\\]/\\&/g; s/^/"/; s/$/"/ 12874p 12875b 12876:more2 12877s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 12878p 12879g 12880s/.\{148\}// 12881t delim 12882' <conf$$subs.awk | sed ' 12883/^[^""]/{ 12884 N 12885 s/\n// 12886} 12887' >>$CONFIG_STATUS || ac_write_fail=1 12888rm -f conf$$subs.awk 12889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12890_ACAWK 12891cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 12892 for (key in S) S_is_set[key] = 1 12893 FS = "" 12894 12895} 12896{ 12897 line = $ 0 12898 nfields = split(line, field, "@") 12899 substed = 0 12900 len = length(field[1]) 12901 for (i = 2; i < nfields; i++) { 12902 key = field[i] 12903 keylen = length(key) 12904 if (S_is_set[key]) { 12905 value = S[key] 12906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 12907 len += length(value) + length(field[++i]) 12908 substed = 1 12909 } else 12910 len += 1 + keylen 12911 } 12912 12913 print line 12914} 12915 12916_ACAWK 12917_ACEOF 12918cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12919if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 12920 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 12921else 12922 cat 12923fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 12924 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 12925_ACEOF 12926 12927# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 12928# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 12929# trailing colons and then remove the whole line if VPATH becomes empty 12930# (actually we leave an empty line to preserve line numbers). 12931if test "x$srcdir" = x.; then 12932 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 12933h 12934s/// 12935s/^/:/ 12936s/[ ]*$/:/ 12937s/:\$(srcdir):/:/g 12938s/:\${srcdir}:/:/g 12939s/:@srcdir@:/:/g 12940s/^:*// 12941s/:*$// 12942x 12943s/\(=[ ]*\).*/\1/ 12944G 12945s/\n// 12946s/^[^=]*=[ ]*$// 12947}' 12948fi 12949 12950cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12951fi # test -n "$CONFIG_FILES" 12952 12953 12954eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 12955shift 12956for ac_tag 12957do 12958 case $ac_tag in 12959 :[FHLC]) ac_mode=$ac_tag; continue;; 12960 esac 12961 case $ac_mode$ac_tag in 12962 :[FHL]*:*);; 12963 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 12964 :[FH]-) ac_tag=-:-;; 12965 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12966 esac 12967 ac_save_IFS=$IFS 12968 IFS=: 12969 set x $ac_tag 12970 IFS=$ac_save_IFS 12971 shift 12972 ac_file=$1 12973 shift 12974 12975 case $ac_mode in 12976 :L) ac_source=$1;; 12977 :[FH]) 12978 ac_file_inputs= 12979 for ac_f 12980 do 12981 case $ac_f in 12982 -) ac_f="$ac_tmp/stdin";; 12983 *) # Look for the file first in the build tree, then in the source tree 12984 # (if the path is not absolute). The absolute path cannot be DOS-style, 12985 # because $ac_f cannot contain `:'. 12986 test -f "$ac_f" || 12987 case $ac_f in 12988 [\\/$]*) false;; 12989 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12990 esac || 12991 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 12992 esac 12993 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 12994 as_fn_append ac_file_inputs " '$ac_f'" 12995 done 12996 12997 # Let's still pretend it is `configure' which instantiates (i.e., don't 12998 # use $as_me), people would be surprised to read: 12999 # /* config.h. Generated by config.status. */ 13000 configure_input='Generated from '` 13001 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 13002 `' by configure.' 13003 if test x"$ac_file" != x-; then 13004 configure_input="$ac_file. $configure_input" 13005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13006$as_echo "$as_me: creating $ac_file" >&6;} 13007 fi 13008 # Neutralize special characters interpreted by sed in replacement strings. 13009 case $configure_input in #( 13010 *\&* | *\|* | *\\* ) 13011 ac_sed_conf_input=`$as_echo "$configure_input" | 13012 sed 's/[\\\\&|]/\\\\&/g'`;; #( 13013 *) ac_sed_conf_input=$configure_input;; 13014 esac 13015 13016 case $ac_tag in 13017 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 13018 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 13019 esac 13020 ;; 13021 esac 13022 13023 ac_dir=`$as_dirname -- "$ac_file" || 13024$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13025 X"$ac_file" : 'X\(//\)[^/]' \| \ 13026 X"$ac_file" : 'X\(//\)$' \| \ 13027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 13028$as_echo X"$ac_file" | 13029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13030 s//\1/ 13031 q 13032 } 13033 /^X\(\/\/\)[^/].*/{ 13034 s//\1/ 13035 q 13036 } 13037 /^X\(\/\/\)$/{ 13038 s//\1/ 13039 q 13040 } 13041 /^X\(\/\).*/{ 13042 s//\1/ 13043 q 13044 } 13045 s/.*/./; q'` 13046 as_dir="$ac_dir"; as_fn_mkdir_p 13047 ac_builddir=. 13048 13049case "$ac_dir" in 13050.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13051*) 13052 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 13053 # A ".." for each directory in $ac_dir_suffix. 13054 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 13055 case $ac_top_builddir_sub in 13056 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13057 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13058 esac ;; 13059esac 13060ac_abs_top_builddir=$ac_pwd 13061ac_abs_builddir=$ac_pwd$ac_dir_suffix 13062# for backward compatibility: 13063ac_top_builddir=$ac_top_build_prefix 13064 13065case $srcdir in 13066 .) # We are building in place. 13067 ac_srcdir=. 13068 ac_top_srcdir=$ac_top_builddir_sub 13069 ac_abs_top_srcdir=$ac_pwd ;; 13070 [\\/]* | ?:[\\/]* ) # Absolute name. 13071 ac_srcdir=$srcdir$ac_dir_suffix; 13072 ac_top_srcdir=$srcdir 13073 ac_abs_top_srcdir=$srcdir ;; 13074 *) # Relative name. 13075 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13076 ac_top_srcdir=$ac_top_build_prefix$srcdir 13077 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13078esac 13079ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13080 13081 13082 case $ac_mode in 13083 :F) 13084 # 13085 # CONFIG_FILE 13086 # 13087 13088 case $INSTALL in 13089 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 13090 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 13091 esac 13092 ac_MKDIR_P=$MKDIR_P 13093 case $MKDIR_P in 13094 [\\/$]* | ?:[\\/]* ) ;; 13095 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 13096 esac 13097_ACEOF 13098 13099cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13100# If the template does not know about datarootdir, expand it. 13101# FIXME: This hack should be removed a few years after 2.60. 13102ac_datarootdir_hack=; ac_datarootdir_seen= 13103ac_sed_dataroot=' 13104/datarootdir/ { 13105 p 13106 q 13107} 13108/@datadir@/p 13109/@docdir@/p 13110/@infodir@/p 13111/@localedir@/p 13112/@mandir@/p' 13113case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13114*datarootdir*) ac_datarootdir_seen=yes;; 13115*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13117$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13118_ACEOF 13119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13120 ac_datarootdir_hack=' 13121 s&@datadir@&$datadir&g 13122 s&@docdir@&$docdir&g 13123 s&@infodir@&$infodir&g 13124 s&@localedir@&$localedir&g 13125 s&@mandir@&$mandir&g 13126 s&\\\${datarootdir}&$datarootdir&g' ;; 13127esac 13128_ACEOF 13129 13130# Neutralize VPATH when `$srcdir' = `.'. 13131# Shell code in configure.ac might set extrasub. 13132# FIXME: do we really want to maintain this feature? 13133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13134ac_sed_extra="$ac_vpsub 13135$extrasub 13136_ACEOF 13137cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13138:t 13139/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 13140s|@configure_input@|$ac_sed_conf_input|;t t 13141s&@top_builddir@&$ac_top_builddir_sub&;t t 13142s&@top_build_prefix@&$ac_top_build_prefix&;t t 13143s&@srcdir@&$ac_srcdir&;t t 13144s&@abs_srcdir@&$ac_abs_srcdir&;t t 13145s&@top_srcdir@&$ac_top_srcdir&;t t 13146s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 13147s&@builddir@&$ac_builddir&;t t 13148s&@abs_builddir@&$ac_abs_builddir&;t t 13149s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 13150s&@INSTALL@&$ac_INSTALL&;t t 13151s&@MKDIR_P@&$ac_MKDIR_P&;t t 13152$ac_datarootdir_hack 13153" 13154eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 13155 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13156 13157test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13158 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 13159 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 13160 "$ac_tmp/out"`; test -z "$ac_out"; } && 13161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13162which seems to be undefined. Please make sure it is defined" >&5 13163$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13164which seems to be undefined. Please make sure it is defined" >&2;} 13165 13166 rm -f "$ac_tmp/stdin" 13167 case $ac_file in 13168 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 13169 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 13170 esac \ 13171 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 13172 ;; 13173 13174 13175 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 13176$as_echo "$as_me: executing $ac_file commands" >&6;} 13177 ;; 13178 esac 13179 13180 13181 case $ac_file$ac_mode in 13182 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 13183 # Autoconf 2.62 quotes --file arguments for eval, but not when files 13184 # are listed without --file. Let's play safe and only enable the eval 13185 # if we detect the quoting. 13186 case $CONFIG_FILES in 13187 *\'*) eval set x "$CONFIG_FILES" ;; 13188 *) set x $CONFIG_FILES ;; 13189 esac 13190 shift 13191 for mf 13192 do 13193 # Strip MF so we end up with the name of the file. 13194 mf=`echo "$mf" | sed -e 's/:.*$//'` 13195 # Check whether this is an Automake generated Makefile or not. 13196 # We used to match only the files named `Makefile.in', but 13197 # some people rename them; so instead we look at the file content. 13198 # Grep'ing the first line is not enough: some people post-process 13199 # each Makefile.in and add a new line on top of each file to say so. 13200 # Grep'ing the whole file is not good either: AIX grep has a line 13201 # limit of 2048, but all sed's we know have understand at least 4000. 13202 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 13203 dirpart=`$as_dirname -- "$mf" || 13204$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13205 X"$mf" : 'X\(//\)[^/]' \| \ 13206 X"$mf" : 'X\(//\)$' \| \ 13207 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 13208$as_echo X"$mf" | 13209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13210 s//\1/ 13211 q 13212 } 13213 /^X\(\/\/\)[^/].*/{ 13214 s//\1/ 13215 q 13216 } 13217 /^X\(\/\/\)$/{ 13218 s//\1/ 13219 q 13220 } 13221 /^X\(\/\).*/{ 13222 s//\1/ 13223 q 13224 } 13225 s/.*/./; q'` 13226 else 13227 continue 13228 fi 13229 # Extract the definition of DEPDIR, am__include, and am__quote 13230 # from the Makefile without running `make'. 13231 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 13232 test -z "$DEPDIR" && continue 13233 am__include=`sed -n 's/^am__include = //p' < "$mf"` 13234 test -z "am__include" && continue 13235 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 13236 # When using ansi2knr, U may be empty or an underscore; expand it 13237 U=`sed -n 's/^U = //p' < "$mf"` 13238 # Find all dependency output files, they are included files with 13239 # $(DEPDIR) in their names. We invoke sed twice because it is the 13240 # simplest approach to changing $(DEPDIR) to its actual value in the 13241 # expansion. 13242 for file in `sed -n " 13243 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 13244 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 13245 # Make sure the directory exists. 13246 test -f "$dirpart/$file" && continue 13247 fdir=`$as_dirname -- "$file" || 13248$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13249 X"$file" : 'X\(//\)[^/]' \| \ 13250 X"$file" : 'X\(//\)$' \| \ 13251 X"$file" : 'X\(/\)' \| . 2>/dev/null || 13252$as_echo X"$file" | 13253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13254 s//\1/ 13255 q 13256 } 13257 /^X\(\/\/\)[^/].*/{ 13258 s//\1/ 13259 q 13260 } 13261 /^X\(\/\/\)$/{ 13262 s//\1/ 13263 q 13264 } 13265 /^X\(\/\).*/{ 13266 s//\1/ 13267 q 13268 } 13269 s/.*/./; q'` 13270 as_dir=$dirpart/$fdir; as_fn_mkdir_p 13271 # echo "creating $dirpart/$file" 13272 echo '# dummy' > "$dirpart/$file" 13273 done 13274 done 13275} 13276 ;; 13277 "libtool":C) 13278 13279 # See if we are running on zsh, and set the options which allow our 13280 # commands through without removal of \ escapes. 13281 if test -n "${ZSH_VERSION+set}" ; then 13282 setopt NO_GLOB_SUBST 13283 fi 13284 13285 cfgfile="${ofile}T" 13286 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 13287 $RM "$cfgfile" 13288 13289 cat <<_LT_EOF >> "$cfgfile" 13290#! $SHELL 13291 13292# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 13293# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION 13294# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 13295# NOTE: Changes made to this file will be lost: look at ltmain.sh. 13296# 13297# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 13298# 2006, 2007, 2008, 2009, 2010, 2011 Free Software 13299# Foundation, Inc. 13300# Written by Gordon Matzigkeit, 1996 13301# 13302# This file is part of GNU Libtool. 13303# 13304# GNU Libtool is free software; you can redistribute it and/or 13305# modify it under the terms of the GNU General Public License as 13306# published by the Free Software Foundation; either version 2 of 13307# the License, or (at your option) any later version. 13308# 13309# As a special exception to the GNU General Public License, 13310# if you distribute this file as part of a program or library that 13311# is built using GNU Libtool, you may include this file under the 13312# same distribution terms that you use for the rest of that program. 13313# 13314# GNU Libtool is distributed in the hope that it will be useful, 13315# but WITHOUT ANY WARRANTY; without even the implied warranty of 13316# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13317# GNU General Public License for more details. 13318# 13319# You should have received a copy of the GNU General Public License 13320# along with GNU Libtool; see the file COPYING. If not, a copy 13321# can be downloaded from http://www.gnu.org/licenses/gpl.html, or 13322# obtained by writing to the Free Software Foundation, Inc., 13323# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 13324 13325 13326# The names of the tagged configurations supported by this script. 13327available_tags="" 13328 13329# ### BEGIN LIBTOOL CONFIG 13330 13331# Which release of libtool.m4 was used? 13332macro_version=$macro_version 13333macro_revision=$macro_revision 13334 13335# Whether or not to build shared libraries. 13336build_libtool_libs=$enable_shared 13337 13338# Whether or not to build static libraries. 13339build_old_libs=$enable_static 13340 13341# What type of objects to build. 13342pic_mode=$pic_mode 13343 13344# Whether or not to optimize for fast installation. 13345fast_install=$enable_fast_install 13346 13347# Shell to use when invoking shell scripts. 13348SHELL=$lt_SHELL 13349 13350# An echo program that protects backslashes. 13351ECHO=$lt_ECHO 13352 13353# The PATH separator for the build system. 13354PATH_SEPARATOR=$lt_PATH_SEPARATOR 13355 13356# The host system. 13357host_alias=$host_alias 13358host=$host 13359host_os=$host_os 13360 13361# The build system. 13362build_alias=$build_alias 13363build=$build 13364build_os=$build_os 13365 13366# A sed program that does not truncate output. 13367SED=$lt_SED 13368 13369# Sed that helps us avoid accidentally triggering echo(1) options like -n. 13370Xsed="\$SED -e 1s/^X//" 13371 13372# A grep program that handles long lines. 13373GREP=$lt_GREP 13374 13375# An ERE matcher. 13376EGREP=$lt_EGREP 13377 13378# A literal string matcher. 13379FGREP=$lt_FGREP 13380 13381# A BSD- or MS-compatible name lister. 13382NM=$lt_NM 13383 13384# Whether we need soft or hard links. 13385LN_S=$lt_LN_S 13386 13387# What is the maximum length of a command? 13388max_cmd_len=$max_cmd_len 13389 13390# Object file suffix (normally "o"). 13391objext=$ac_objext 13392 13393# Executable file suffix (normally ""). 13394exeext=$exeext 13395 13396# whether the shell understands "unset". 13397lt_unset=$lt_unset 13398 13399# turn spaces into newlines. 13400SP2NL=$lt_lt_SP2NL 13401 13402# turn newlines into spaces. 13403NL2SP=$lt_lt_NL2SP 13404 13405# convert \$build file names to \$host format. 13406to_host_file_cmd=$lt_cv_to_host_file_cmd 13407 13408# convert \$build files to toolchain format. 13409to_tool_file_cmd=$lt_cv_to_tool_file_cmd 13410 13411# An object symbol dumper. 13412OBJDUMP=$lt_OBJDUMP 13413 13414# Method to check whether dependent libraries are shared objects. 13415deplibs_check_method=$lt_deplibs_check_method 13416 13417# Command to use when deplibs_check_method = "file_magic". 13418file_magic_cmd=$lt_file_magic_cmd 13419 13420# How to find potential files when deplibs_check_method = "file_magic". 13421file_magic_glob=$lt_file_magic_glob 13422 13423# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 13424want_nocaseglob=$lt_want_nocaseglob 13425 13426# DLL creation program. 13427DLLTOOL=$lt_DLLTOOL 13428 13429# Command to associate shared and link libraries. 13430sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 13431 13432# The archiver. 13433AR=$lt_AR 13434 13435# Flags to create an archive. 13436AR_FLAGS=$lt_AR_FLAGS 13437 13438# How to feed a file listing to the archiver. 13439archiver_list_spec=$lt_archiver_list_spec 13440 13441# A symbol stripping program. 13442STRIP=$lt_STRIP 13443 13444# Commands used to install an old-style archive. 13445RANLIB=$lt_RANLIB 13446old_postinstall_cmds=$lt_old_postinstall_cmds 13447old_postuninstall_cmds=$lt_old_postuninstall_cmds 13448 13449# Whether to use a lock for old archive extraction. 13450lock_old_archive_extraction=$lock_old_archive_extraction 13451 13452# A C compiler. 13453LTCC=$lt_CC 13454 13455# LTCC compiler flags. 13456LTCFLAGS=$lt_CFLAGS 13457 13458# Take the output of nm and produce a listing of raw symbols and C names. 13459global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 13460 13461# Transform the output of nm in a proper C declaration. 13462global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 13463 13464# Transform the output of nm in a C name address pair. 13465global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 13466 13467# Transform the output of nm in a C name address pair when lib prefix is needed. 13468global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 13469 13470# Specify filename containing input files for \$NM. 13471nm_file_list_spec=$lt_nm_file_list_spec 13472 13473# The root where to search for dependent libraries,and in which our libraries should be installed. 13474lt_sysroot=$lt_sysroot 13475 13476# The name of the directory that contains temporary libtool files. 13477objdir=$objdir 13478 13479# Used to examine libraries when file_magic_cmd begins with "file". 13480MAGIC_CMD=$MAGIC_CMD 13481 13482# Must we lock files when doing compilation? 13483need_locks=$lt_need_locks 13484 13485# Manifest tool. 13486MANIFEST_TOOL=$lt_MANIFEST_TOOL 13487 13488# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 13489DSYMUTIL=$lt_DSYMUTIL 13490 13491# Tool to change global to local symbols on Mac OS X. 13492NMEDIT=$lt_NMEDIT 13493 13494# Tool to manipulate fat objects and archives on Mac OS X. 13495LIPO=$lt_LIPO 13496 13497# ldd/readelf like tool for Mach-O binaries on Mac OS X. 13498OTOOL=$lt_OTOOL 13499 13500# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 13501OTOOL64=$lt_OTOOL64 13502 13503# Old archive suffix (normally "a"). 13504libext=$libext 13505 13506# Shared library suffix (normally ".so"). 13507shrext_cmds=$lt_shrext_cmds 13508 13509# The commands to extract the exported symbol list from a shared archive. 13510extract_expsyms_cmds=$lt_extract_expsyms_cmds 13511 13512# Variables whose values should be saved in libtool wrapper scripts and 13513# restored at link time. 13514variables_saved_for_relink=$lt_variables_saved_for_relink 13515 13516# Do we need the "lib" prefix for modules? 13517need_lib_prefix=$need_lib_prefix 13518 13519# Do we need a version for libraries? 13520need_version=$need_version 13521 13522# Library versioning type. 13523version_type=$version_type 13524 13525# Shared library runtime path variable. 13526runpath_var=$runpath_var 13527 13528# Shared library path variable. 13529shlibpath_var=$shlibpath_var 13530 13531# Is shlibpath searched before the hard-coded library search path? 13532shlibpath_overrides_runpath=$shlibpath_overrides_runpath 13533 13534# Format of library name prefix. 13535libname_spec=$lt_libname_spec 13536 13537# List of archive names. First name is the real one, the rest are links. 13538# The last name is the one that the linker finds with -lNAME 13539library_names_spec=$lt_library_names_spec 13540 13541# The coded name of the library, if different from the real name. 13542soname_spec=$lt_soname_spec 13543 13544# Permission mode override for installation of shared libraries. 13545install_override_mode=$lt_install_override_mode 13546 13547# Command to use after installation of a shared archive. 13548postinstall_cmds=$lt_postinstall_cmds 13549 13550# Command to use after uninstallation of a shared archive. 13551postuninstall_cmds=$lt_postuninstall_cmds 13552 13553# Commands used to finish a libtool library installation in a directory. 13554finish_cmds=$lt_finish_cmds 13555 13556# As "finish_cmds", except a single script fragment to be evaled but 13557# not shown. 13558finish_eval=$lt_finish_eval 13559 13560# Whether we should hardcode library paths into libraries. 13561hardcode_into_libs=$hardcode_into_libs 13562 13563# Compile-time system search path for libraries. 13564sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 13565 13566# Run-time system search path for libraries. 13567sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec 13568 13569# Whether dlopen is supported. 13570dlopen_support=$enable_dlopen 13571 13572# Whether dlopen of programs is supported. 13573dlopen_self=$enable_dlopen_self 13574 13575# Whether dlopen of statically linked programs is supported. 13576dlopen_self_static=$enable_dlopen_self_static 13577 13578# Commands to strip libraries. 13579old_striplib=$lt_old_striplib 13580striplib=$lt_striplib 13581 13582 13583# The linker used to build libraries. 13584LD=$lt_LD 13585 13586# How to create reloadable object files. 13587reload_flag=$lt_reload_flag 13588reload_cmds=$lt_reload_cmds 13589 13590# Commands used to build an old-style archive. 13591old_archive_cmds=$lt_old_archive_cmds 13592 13593# A language specific compiler. 13594CC=$lt_compiler 13595 13596# Is the compiler the GNU compiler? 13597with_gcc=$GCC 13598 13599# Compiler flag to turn off builtin functions. 13600no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 13601 13602# Additional compiler flags for building library objects. 13603pic_flag=$lt_lt_prog_compiler_pic 13604 13605# How to pass a linker flag through the compiler. 13606wl=$lt_lt_prog_compiler_wl 13607 13608# Compiler flag to prevent dynamic linking. 13609link_static_flag=$lt_lt_prog_compiler_static 13610 13611# Does compiler simultaneously support -c and -o options? 13612compiler_c_o=$lt_lt_cv_prog_compiler_c_o 13613 13614# Whether or not to add -lc for building shared libraries. 13615build_libtool_need_lc=$archive_cmds_need_lc 13616 13617# Whether or not to disallow shared libs when runtime libs are static. 13618allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 13619 13620# Compiler flag to allow reflexive dlopens. 13621export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 13622 13623# Compiler flag to generate shared objects directly from archives. 13624whole_archive_flag_spec=$lt_whole_archive_flag_spec 13625 13626# Whether the compiler copes with passing no objects directly. 13627compiler_needs_object=$lt_compiler_needs_object 13628 13629# Create an old-style archive from a shared archive. 13630old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 13631 13632# Create a temporary old-style archive to link instead of a shared archive. 13633old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 13634 13635# Commands used to build a shared archive. 13636archive_cmds=$lt_archive_cmds 13637archive_expsym_cmds=$lt_archive_expsym_cmds 13638 13639# Commands used to build a loadable module if different from building 13640# a shared archive. 13641module_cmds=$lt_module_cmds 13642module_expsym_cmds=$lt_module_expsym_cmds 13643 13644# Whether we are building with GNU ld or not. 13645with_gnu_ld=$lt_with_gnu_ld 13646 13647# Flag that allows shared libraries with undefined symbols to be built. 13648allow_undefined_flag=$lt_allow_undefined_flag 13649 13650# Flag that enforces no undefined symbols. 13651no_undefined_flag=$lt_no_undefined_flag 13652 13653# Flag to hardcode \$libdir into a binary during linking. 13654# This must work even if \$libdir does not exist 13655hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 13656 13657# Whether we need a single "-rpath" flag with a separated argument. 13658hardcode_libdir_separator=$lt_hardcode_libdir_separator 13659 13660# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13661# DIR into the resulting binary. 13662hardcode_direct=$hardcode_direct 13663 13664# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes 13665# DIR into the resulting binary and the resulting library dependency is 13666# "absolute",i.e impossible to change by setting \${shlibpath_var} if the 13667# library is relocated. 13668hardcode_direct_absolute=$hardcode_direct_absolute 13669 13670# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 13671# into the resulting binary. 13672hardcode_minus_L=$hardcode_minus_L 13673 13674# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 13675# into the resulting binary. 13676hardcode_shlibpath_var=$hardcode_shlibpath_var 13677 13678# Set to "yes" if building a shared library automatically hardcodes DIR 13679# into the library and all subsequent libraries and executables linked 13680# against it. 13681hardcode_automatic=$hardcode_automatic 13682 13683# Set to yes if linker adds runtime paths of dependent libraries 13684# to runtime path list. 13685inherit_rpath=$inherit_rpath 13686 13687# Whether libtool must link a program against all its dependency libraries. 13688link_all_deplibs=$link_all_deplibs 13689 13690# Set to "yes" if exported symbols are required. 13691always_export_symbols=$always_export_symbols 13692 13693# The commands to list exported symbols. 13694export_symbols_cmds=$lt_export_symbols_cmds 13695 13696# Symbols that should not be listed in the preloaded symbols. 13697exclude_expsyms=$lt_exclude_expsyms 13698 13699# Symbols that must always be exported. 13700include_expsyms=$lt_include_expsyms 13701 13702# Commands necessary for linking programs (against libraries) with templates. 13703prelink_cmds=$lt_prelink_cmds 13704 13705# Commands necessary for finishing linking programs. 13706postlink_cmds=$lt_postlink_cmds 13707 13708# Specify filename containing input files. 13709file_list_spec=$lt_file_list_spec 13710 13711# How to hardcode a shared library path into an executable. 13712hardcode_action=$hardcode_action 13713 13714# ### END LIBTOOL CONFIG 13715 13716_LT_EOF 13717 13718 case $host_os in 13719 aix3*) 13720 cat <<\_LT_EOF >> "$cfgfile" 13721# AIX sometimes has problems with the GCC collect2 program. For some 13722# reason, if we set the COLLECT_NAMES environment variable, the problems 13723# vanish in a puff of smoke. 13724if test "X${COLLECT_NAMES+set}" != Xset; then 13725 COLLECT_NAMES= 13726 export COLLECT_NAMES 13727fi 13728_LT_EOF 13729 ;; 13730 esac 13731 13732 13733ltmain="$ac_aux_dir/ltmain.sh" 13734 13735 13736 # We use sed instead of cat because bash on DJGPP gets confused if 13737 # if finds mixed CR/LF and LF-only lines. Since sed operates in 13738 # text mode, it properly converts lines to CR/LF. This bash problem 13739 # is reportedly fixed, but why not run on old versions too? 13740 sed '$q' "$ltmain" >> "$cfgfile" \ 13741 || (rm -f "$cfgfile"; exit 1) 13742 13743 if test x"$xsi_shell" = xyes; then 13744 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ 13745func_dirname ()\ 13746{\ 13747\ case ${1} in\ 13748\ */*) func_dirname_result="${1%/*}${2}" ;;\ 13749\ * ) func_dirname_result="${3}" ;;\ 13750\ esac\ 13751} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ 13752 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13753 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13754test 0 -eq $? || _lt_function_replace_fail=: 13755 13756 13757 sed -e '/^func_basename ()$/,/^} # func_basename /c\ 13758func_basename ()\ 13759{\ 13760\ func_basename_result="${1##*/}"\ 13761} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ 13762 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13763 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13764test 0 -eq $? || _lt_function_replace_fail=: 13765 13766 13767 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ 13768func_dirname_and_basename ()\ 13769{\ 13770\ case ${1} in\ 13771\ */*) func_dirname_result="${1%/*}${2}" ;;\ 13772\ * ) func_dirname_result="${3}" ;;\ 13773\ esac\ 13774\ func_basename_result="${1##*/}"\ 13775} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ 13776 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13777 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13778test 0 -eq $? || _lt_function_replace_fail=: 13779 13780 13781 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ 13782func_stripname ()\ 13783{\ 13784\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ 13785\ # positional parameters, so assign one to ordinary parameter first.\ 13786\ func_stripname_result=${3}\ 13787\ func_stripname_result=${func_stripname_result#"${1}"}\ 13788\ func_stripname_result=${func_stripname_result%"${2}"}\ 13789} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ 13790 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13791 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13792test 0 -eq $? || _lt_function_replace_fail=: 13793 13794 13795 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ 13796func_split_long_opt ()\ 13797{\ 13798\ func_split_long_opt_name=${1%%=*}\ 13799\ func_split_long_opt_arg=${1#*=}\ 13800} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ 13801 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13802 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13803test 0 -eq $? || _lt_function_replace_fail=: 13804 13805 13806 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ 13807func_split_short_opt ()\ 13808{\ 13809\ func_split_short_opt_arg=${1#??}\ 13810\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ 13811} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ 13812 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13813 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13814test 0 -eq $? || _lt_function_replace_fail=: 13815 13816 13817 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ 13818func_lo2o ()\ 13819{\ 13820\ case ${1} in\ 13821\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ 13822\ *) func_lo2o_result=${1} ;;\ 13823\ esac\ 13824} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ 13825 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13826 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13827test 0 -eq $? || _lt_function_replace_fail=: 13828 13829 13830 sed -e '/^func_xform ()$/,/^} # func_xform /c\ 13831func_xform ()\ 13832{\ 13833 func_xform_result=${1%.*}.lo\ 13834} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ 13835 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13836 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13837test 0 -eq $? || _lt_function_replace_fail=: 13838 13839 13840 sed -e '/^func_arith ()$/,/^} # func_arith /c\ 13841func_arith ()\ 13842{\ 13843 func_arith_result=$(( $* ))\ 13844} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ 13845 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13847test 0 -eq $? || _lt_function_replace_fail=: 13848 13849 13850 sed -e '/^func_len ()$/,/^} # func_len /c\ 13851func_len ()\ 13852{\ 13853 func_len_result=${#1}\ 13854} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ 13855 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13856 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13857test 0 -eq $? || _lt_function_replace_fail=: 13858 13859fi 13860 13861if test x"$lt_shell_append" = xyes; then 13862 sed -e '/^func_append ()$/,/^} # func_append /c\ 13863func_append ()\ 13864{\ 13865 eval "${1}+=\\${2}"\ 13866} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ 13867 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13868 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13869test 0 -eq $? || _lt_function_replace_fail=: 13870 13871 13872 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ 13873func_append_quoted ()\ 13874{\ 13875\ func_quote_for_eval "${2}"\ 13876\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ 13877} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ 13878 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13879 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13880test 0 -eq $? || _lt_function_replace_fail=: 13881 13882 13883 # Save a `func_append' function call where possible by direct use of '+=' 13884 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ 13885 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13886 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13887 test 0 -eq $? || _lt_function_replace_fail=: 13888else 13889 # Save a `func_append' function call even when '+=' is not available 13890 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ 13891 && mv -f "$cfgfile.tmp" "$cfgfile" \ 13892 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") 13893 test 0 -eq $? || _lt_function_replace_fail=: 13894fi 13895 13896if test x"$_lt_function_replace_fail" = x":"; then 13897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 13898$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} 13899fi 13900 13901 13902 mv -f "$cfgfile" "$ofile" || 13903 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 13904 chmod +x "$ofile" 13905 13906 ;; 13907 13908 esac 13909done # for ac_tag 13910 13911 13912as_fn_exit 0 13913_ACEOF 13914ac_clean_files=$ac_clean_files_save 13915 13916test $ac_write_fail = 0 || 13917 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 13918 13919 13920# configure is writing to config.log, and then calls config.status. 13921# config.status does its own redirection, appending to config.log. 13922# Unfortunately, on DOS this fails, as config.log is still kept open 13923# by configure, so config.status won't be able to write to it; its 13924# output is simply discarded. So we exec the FD to /dev/null, 13925# effectively closing config.log, so it can be properly (re)opened and 13926# appended to by config.status. When coming back to configure, we 13927# need to make the FD available again. 13928if test "$no_create" != yes; then 13929 ac_cs_success=: 13930 ac_config_status_args= 13931 test "$silent" = yes && 13932 ac_config_status_args="$ac_config_status_args --quiet" 13933 exec 5>/dev/null 13934 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 13935 exec 5>>config.log 13936 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13937 # would make configure fail if this is the last instruction. 13938 $ac_cs_success || as_fn_exit 1 13939fi 13940if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 13942$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 13943fi 13944 13945